Changeset 9607 for trunk/src/user32/menu.c
- Timestamp:
- Jan 4, 2003, 1:21:44 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/menu.c
r9605 r9607 1234 1234 if (lpitem->fState & MF_HILITE) 1235 1235 { 1236 #ifdef __WIN32OS2__ 1237 if(!fOS2Look) 1238 #else 1236 1239 if(TWEAK_WineLook == WIN98_LOOK) 1240 #endif 1237 1241 { 1238 1242 if(menuBar) 1239 1243 DrawEdge(hdc, &rect, BDR_SUNKENOUTER, BF_RECT); 1240 1244 else 1241 #if 0 //def __WIN32OS2__1242 if(!fOS2Look)1243 FillRect( hdc, &rect, GetOS2ColorBrush(PMSYSCLR_MENUHILITEBGND) );1244 else FillRect( hdc, &rect, GetSysColorBrush(COLOR_HIGHLIGHT) );1245 #else1246 1245 FillRect(hdc, &rect, GetSysColorBrush(COLOR_HIGHLIGHT)); 1247 #endif1248 1246 } 1249 1247 else /* Not Win98 Look */ … … 1304 1302 if (lpitem->fState & MF_HILITE) 1305 1303 { 1304 #ifdef __WIN32OS2__ 1305 if(!fOS2Look) 1306 #else 1306 1307 if(TWEAK_WineLook == WIN98_LOOK) 1308 #endif 1307 1309 { 1308 1310 if(menuBar) { … … 1314 1316 else 1315 1317 SetTextColor(hdc, GetSysColor(COLOR_HIGHLIGHTTEXT)); 1316 #if 0 //def __WIN32OS2__1317 if(!fOS2Look)1318 SetBkColor(hdc, GetOS2Color(PMSYSCLR_MENUHILITEBGND));1319 else SetBkColor(hdc, GetSysColor(COLOR_HIGHLIGHT));1320 #else1321 1318 SetBkColor(hdc, GetSysColor(COLOR_HIGHLIGHT)); 1322 #endif1323 1319 } 1324 1320 }
Note:
See TracChangeset
for help on using the changeset viewer.