Changeset 52

Show
Ignore:
Timestamp:
05/15/07 21:30:58 (2 years ago)
Author:
lindquist
Message:

win32 radiobutton update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/bughunt/minwin/button.d

    r51 r52  
    3434        // only command is action command 
    3535        version(LOG) log.writefln("calling action delegate"); 
    36         if (cmd == ButtonClickedCommand) { 
     36        int c = cmd; 
     37        version(MinWin32) { 
     38            int c = HIWORD(cmd); 
     39        } 
     40        if (c == ButtonClickedCommand) { 
    3741            actionDelegate(cast(Component)this); 
    3842            if (this.cmd != 0) {