Changeset 9605 for trunk/src/user32/menu.c
- Timestamp:
- Jan 3, 2003, 10:43:17 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/menu.c
r9601 r9605 46 46 47 47 HBRUSH WIN32API GetOS2ColorBrush(int nIndex); 48 COLORREF WIN32API GetOS2Color(int nIndex); 48 49 49 50 static BOOL fDisableOdinSysMenuItems = FALSE; … … 1238 1239 DrawEdge(hdc, &rect, BDR_SUNKENOUTER, BF_RECT); 1239 1240 else 1240 #if def __WIN32OS2__1241 if( fOS2Look)1241 #if 0 //def __WIN32OS2__ 1242 if(!fOS2Look) 1242 1243 FillRect( hdc, &rect, GetOS2ColorBrush(PMSYSCLR_MENUHILITEBGND) ); 1243 1244 else FillRect( hdc, &rect, GetSysColorBrush(COLOR_HIGHLIGHT) ); … … 1313 1314 else 1314 1315 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 #else 1315 1321 SetBkColor(hdc, GetSysColor(COLOR_HIGHLIGHT)); 1322 #endif 1316 1323 } 1317 1324 } … … 1359 1366 BitBlt( hdc, rect.left, (y - check_bitmap_height) / 2, 1360 1367 check_bitmap_width, check_bitmap_height, 1361 #ifdef __WIN32OS2__1362 //how can SRCCOPY work in Wine??1363 hdcMem, 0, 0, (lpitem->fState & MF_HILITE) ? MERGEPAINT : SRCAND );1364 #else1365 1368 hdcMem, 0, 0, SRCCOPY ); 1366 #endif1367 1369 DeleteDC( hdcMem ); 1368 1370 } … … 1378 1380 DFCS_MENUBULLET : DFCS_MENUCHECK ); 1379 1381 BitBlt( hdc, rect.left, (y - r.bottom) / 2, r.right, r.bottom, 1380 #ifdef __WIN32OS2__1381 //how can SRCCOPY work in Wine??1382 hdcMem, 0, 0, (lpitem->fState & MF_HILITE) ? MERGEPAINT : SRCAND );1383 #else1384 1382 hdcMem, 0, 0, SRCCOPY ); 1385 #endif1386 1383 DeleteDC( hdcMem ); 1387 1384 DeleteObject( bm ); … … 1399 1396 (y - arrow_bitmap_height) / 2, 1400 1397 arrow_bitmap_width, arrow_bitmap_height, 1401 #ifdef __WIN32OS2__1402 //how can SRCCOPY work in Wine??1403 hdcMem, 0, 0, (lpitem->fState & MF_HILITE) ? MERGEPAINT : SRCAND );1404 #else1405 1398 hdcMem, 0, 0, SRCCOPY ); 1406 #endif1407 1399 SelectObject( hdcMem, hOrigBitmap ); 1408 1400 DeleteDC( hdcMem );
Note:
See TracChangeset
for help on using the changeset viewer.