Changeset 84 in dev for ProjectEditor/menu.cpp
- Timestamp:
- Mar 29, 2007, 3:28:28 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ProjectEditor/menu.cpp
r3 r84 210 210 if(ppobj_MenuItemData[item_index]->str){ 211 211 HDC hdc; 212 hdc = GetDC( hOwner);212 hdc = GetDC(GetDesktopWindow()); 213 213 HFONT hOldFont; 214 214 hOldFont = (HFONT)SelectObject(hdc, hMenuFont); … … 220 220 221 221 SelectObject(hdc,hOldFont); 222 DeleteDC(hdc);222 ReleaseDC(GetDesktopWindow(),hdc); 223 223 } 224 224 else{ … … 347 347 if(ppobj_MenuItemData[item_index]->str){ 348 348 HDC hdc; 349 hdc = GetDC( hOwner);349 hdc = GetDC(GetDesktopWindow()); 350 350 HFONT hOldFont; 351 351 hOldFont = (HFONT)SelectObject(hdc, hMenuFont); … … 357 357 358 358 SelectObject(hdc,hOldFont); 359 DeleteDC(hdc);359 ReleaseDC(GetDesktopWindow(),hdc); 360 360 361 361 pSize->cx+=50;
Note:
See TracChangeset
for help on using the changeset viewer.