Changeset 5968 for trunk/src/user32/menu.cpp
- Timestamp:
- Jun 11, 2001, 10:08:26 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/menu.cpp
r5935 r5968 1 /* $Id: menu.cpp,v 1.3 2 2001-06-09 14:50:18sandervl Exp $*/1 /* $Id: menu.cpp,v 1.33 2001-06-11 20:08:23 sandervl Exp $*/ 2 2 /* 3 3 * Menu functions … … 983 983 lppop->Width = lppop->Height = 0; 984 984 if (lppop->nItems == 0) return; 985 #ifdef __WIN32OS2__ 986 hdc = CreateCompatibleDC( 0 ); 987 #else 985 988 hdc = GetDC( 0 ); 989 #endif 986 990 987 991 SelectObject( hdc, hMenuFont); … … 1034 1038 lppop->Width += 2; 1035 1039 1040 #ifdef __WIN32OS2__ 1041 DeleteDC(hdc); 1042 #else 1036 1043 ReleaseDC( 0, hdc ); 1044 #endif 1037 1045 } 1038 1046
Note:
See TracChangeset
for help on using the changeset viewer.