Ignore:
Timestamp:
Jun 10, 2002, 11:12:35 AM (23 years ago)
Author:
sandervl
Message:

Don't repaint groupbox in WM_SETFONT if control isn't visible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/button.cpp

    r7683 r8629  
    1 /* $Id: button.cpp,v 1.45 2001-12-26 11:35:38 sandervl Exp $ */
     1/* $Id: button.cpp,v 1.46 2002-06-10 09:12:35 sandervl Exp $ */
    22/* File: button.cpp -- Button type widgets
    33 *
     
    376376
    377377#ifdef __WIN32OS2__
    378   if ((dwStyle & 0x0f) == BS_GROUPBOX) {
     378  if ((dwStyle & 0x0f) == BS_GROUPBOX && IsWindowVisible(hwnd)) {
    379379    RECT rc;
    380380    TEXTMETRICA tm;
     
    11291129    //@YD: bugfix
    11301130    //CB: doesn't work!
    1131     start = sibling = GetNextDlgGroupItem( parent, hwnd, FALSE );
     1131    start = sibling = GetNextDlgGroupItem( parent, hwnd, TRUE );
    11321132    do
    11331133    {
Note: See TracChangeset for help on using the changeset viewer.