Changeset 7500 for trunk/src/user32/menu.cpp
- Timestamp:
- Nov 30, 2001, 2:53:50 PM (24 years ago)
- File:
-
- 1 edited
-
trunk/src/user32/menu.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/menu.cpp
r7446 r7500 1 /* $Id: menu.cpp,v 1.4 1 2001-11-24 13:55:13sandervl Exp $*/1 /* $Id: menu.cpp,v 1.42 2001-11-30 13:53:49 sandervl Exp $*/ 2 2 /* 3 3 * Menu functions … … 36 36 #include "win32wmisc.h" 37 37 #include "oslibmsg.h" 38 #include "oslibwin.h" 39 #include "syscolor.h" 38 40 39 41 #define DBG_LOCALLOG DBG_menu … … 1150 1152 1151 1153 if ((lpitem->fState & MF_HILITE) && !(IS_BITMAP_ITEM(lpitem->fType))) 1154 #ifdef __WIN32OS2__ 1155 if(fOS2Look) 1156 FillRect( hdc, &rect, GetOS2ColorBrush(PMSYSCLR_MENUHILITEBGND) ); 1157 else FillRect( hdc, &rect, GetSysColorBrush(COLOR_HIGHLIGHT) ); 1158 #else 1152 1159 FillRect( hdc, &rect, GetSysColorBrush(COLOR_HIGHLIGHT) ); 1160 #endif 1153 1161 else { 1154 1162 //SvL: TODO: Bug in GDI32; draws black rectangle instead of menu color
Note:
See TracChangeset
for help on using the changeset viewer.
