Ignore:
Timestamp:
Jul 20, 1999, 10:24:54 PM (26 years ago)
Author:
cbratschi
Message:

Added static control

File:
1 edited

Legend:

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

    r346 r351  
    910910
    911911    ZeroMemory (&wndClass, sizeof(WNDCLASSA));
    912     wndClass.style         = CS_GLOBALCLASS;
     912    wndClass.style         = CS_GLOBALCLASS | CS_HREDRAW | CS_VREDRAW | CS_PARENTDC;
    913913    wndClass.lpfnWndProc   = (WNDPROC)ButtonWndProc;
    914914    wndClass.cbClsExtra    = 0;
    915     wndClass.cbWndExtra    = sizeof(BUTTONINFO*);
     915    wndClass.cbWndExtra    = sizeof(BUTTONINFO);
    916916    wndClass.hCursor       = LoadCursorA (0, IDC_ARROWA);
    917917    wndClass.hbrBackground = (HBRUSH)(COLOR_3DFACE + 1);
Note: See TracChangeset for help on using the changeset viewer.