Changeset 6011 for trunk/src/user32/button.cpp
- Timestamp:
- Jun 14, 2001, 2:56:51 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/button.cpp
r5648 r6011 1 /* $Id: button.cpp,v 1. 39 2001-05-03 18:13:10sandervl Exp $ */1 /* $Id: button.cpp,v 1.40 2001-06-14 12:56:51 sandervl Exp $ */ 2 2 /* File: button.cpp -- Button type widgets 3 3 * … … 552 552 553 553 if (wParam > maxCheckState[style]) wParam = maxCheckState[style]; 554 #ifndef __WIN32OS2__ 555 //Must clear WS_TABSTOP of control that is already disabled or else 556 //multiple control can have this style ((auto)radiobutton) and 557 //GetNextDlgTabItem will return the wrong one 558 //Happens in Opera preferences dialog (multimedia) where all autoradio 559 //buttons have the WS_TABSTOP style. 554 560 if ((infoPtr->state & 3) != wParam) 555 561 { 562 #endif 556 563 if ((style == BS_RADIOBUTTON) || (style == BS_AUTORADIOBUTTON)) 557 564 { … … 565 572 if (oldStyle != dwStyle) SetWindowLongA(hwnd,GWL_STYLE,dwStyle); 566 573 } 574 #ifdef __WIN32OS2__ 575 if ((infoPtr->state & 3) != wParam) 576 { 577 #endif 567 578 infoPtr->state = (infoPtr->state & ~3) | wParam; 568 579 PAINT_BUTTON(hwnd,style,ODA_SELECT);
Note:
See TracChangeset
for help on using the changeset viewer.