From: <kr_...@us...> - 2003-03-26 00:41:50
|
Update of /cvsroot/htoolkit/port/src/cbits/Win32 In directory sc8-pr-cvs1:/tmp/cvs-serv7613/src/cbits/Win32 Modified Files: Window.c Log Message: BUGFIX: handleButtonClick function is replaced with handleControlCommand Index: Window.c =================================================================== RCS file: /cvsroot/htoolkit/port/src/cbits/Win32/Window.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** Window.c 24 Mar 2003 17:07:09 -0000 1.10 --- Window.c 26 Mar 2003 00:41:46 -0000 1.11 *************** *** 204,216 **** else if (_stricmp(buffer, "Button") == 0) ! { ! if ((GetWindowLong(hCtrl,GWL_STYLE) & BS_AUTORADIOBUTTON) == BS_AUTORADIOBUTTON) ! handleControlCommand(hCtrl); ! else ! if ((GetWindowLong(hCtrl,GWL_STYLE) & BS_AUTOCHECKBOX) == BS_AUTOCHECKBOX) ! handleControlCommand(hCtrl); ! else ! handleButtonClick(hCtrl); ! } } else --- 204,208 ---- else if (_stricmp(buffer, "Button") == 0) ! handleControlCommand(hCtrl); } else |