Strange Laziness

From the wxPropertyGrid implementation:
// value = 2 means toggle (sorry, too lazy to do constants)
void wxSimpleCheckBox::SetValue( int value
Hm, wouldn't it been faster to write down a constant instead of that comment saying he is too lazy to do it? Hm. :)

two comments, already:

lool
nice comment
pyro - 20 09 06 - 21:58

Hmmm, why not make a method called “toggle”?
Matthias - 20 09 06 - 22:59


Name:  
Remember personal info?
yes
no
Email (optional):
URL (optional):
Enter "layered" (antispam):
Comment:Emoticons / Textile

  ( Register your username / Log in )

Notify: Yes, send me email when someone replies.  

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.
Note: If you type in your email adress above, it will be visible to other visitors, although it will be hidden for bots using javaScript.