Changeset 6605 for trunk/src/user32/button.cpp
- Timestamp:
- Aug 29, 2001, 12:37:25 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/button.cpp
r6586 r6605 1 /* $Id: button.cpp,v 1.4 2 2001-08-25 10:54:18 sandervlExp $ */1 /* $Id: button.cpp,v 1.43 2001-08-29 10:37:25 phaller Exp $ */ 2 2 /* File: button.cpp -- Button type widgets 3 3 * … … 79 79 }; 80 80 81 82 // 2001-08-29 PH 83 // Microsoft ACMSETUP has a OWNERDRAW pushbutton dialog. After finishing 84 // the dialog, the pushbuttons are de-initialized immediately. 85 // However, OSLibWinDestroyWindow sent WM_SETFOCUS causing the (invisible) 86 // buttons to be drawn, resulting in immediate crash. 87 // -> IsWindowVisible() check introduced as is in WINE. 88 81 89 #define PAINT_BUTTON(hwnd,style,action) \ 82 if (btnPaintFunc[style] ) { \90 if (btnPaintFunc[style] && IsWindowVisible(hwnd) ) { \ 83 91 HDC hdc = GetDC(hwnd); \ 84 92 (btnPaintFunc[style])(hwnd,hdc,action); \
Note:
See TracChangeset
for help on using the changeset viewer.