Ignore:
Timestamp:
Dec 27, 1999, 11:54:49 PM (26 years ago)
Author:
cbratschi
Message:

* empty log message *

File:
1 edited

Legend:

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

    r2204 r2221  
    1 /* $Id: button.cpp,v 1.25 1999-12-26 17:30:14 cbratschi Exp $ */
     1/* $Id: button.cpp,v 1.26 1999-12-27 22:53:51 cbratschi Exp $ */
    22/* File: button.cpp -- Button type widgets
    33 *
     
    466466  DWORD dwStyle = GetWindowLongA(hwnd,GWL_STYLE),newStyle;
    467467
    468   if ((wParam & 0x0f) >= MAX_BTN_TYPE) return 0;
    469   newStyle = (dwStyle & 0xfffffff0) | (wParam & 0x0000000f);
     468  if ((wParam & 0x0F) >= MAX_BTN_TYPE) return 0;
     469  newStyle = (dwStyle & 0xFFFFFFF0) | (wParam & 0x0000000F);
    470470
    471471  if (newStyle != dwStyle)
    472472  {
    473473    SetWindowLongA(hwnd,GWL_STYLE,newStyle);
    474     PAINT_BUTTON(hwnd,newStyle & 0x0f,ODA_DRAWENTIRE);
     474    PAINT_BUTTON(hwnd,newStyle & 0x0F,ODA_DRAWENTIRE);
    475475  }
    476476
Note: See TracChangeset for help on using the changeset viewer.