Changeset 9765 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Feb 6, 2003, 9:28:42 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r9741 r9765 1 /* $Id: pmwindow.cpp,v 1.19 4 2003-01-29 13:07:30sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.195 2003-02-06 20:28:39 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 257 257 } /* End of main */ 258 258 //****************************************************************************** 259 #ifdef NEW_WGSS260 259 HBITMAP OPEN32API _O32_CreateBitmapFromPMHandle(HBITMAP hPMBitmap); 261 260 … … 270 269 return yyrc; 271 270 } 272 #endif273 271 //****************************************************************************** 274 272 static void QueryPMMenuBitmaps() … … 300 298 hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN] = GpiLoadBitmap(hdc, hModDisplay, SBMP_CLOSEDEP, 0, 0); 301 299 302 #ifdef NEW_WGSS303 300 //Create win32 bitmap handles of the OS/2 min, max and restore buttons 304 301 hBmpMinButton = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_MINBUTTON]); … … 310 307 hBmpCloseButton = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTON]); 311 308 hBmpCloseButtonDown = O32_CreateBitmapFromPMHandle(hbmFrameMenu[PMMENU_CLOSEBUTTONDOWN]); 312 #endif313 309 DevCloseDC(hdc); 314 310 } … … 881 877 case WM_REALIZEPALETTE: 882 878 { 883 dprintf(("OS2: WM_REALIZEPALETTE")); 884 goto RunDefWndProc; 879 dprintf(("OS2: WM_REALIZEPALETTE %x", win32wnd->getWindowHandle())); 880 win32wnd->DispatchMsgA(pWinMsg); 881 break; 885 882 } 886 883 … … 1577 1574 // -> problems with update region if we don't do it 1578 1575 // todo: rewrite whole handling 1576 dprintf(("PMFRAME: WM_WINDOWPOSCHANGED invalidate all")); 1579 1577 WinInvalidateRect(hwnd,NULL,TRUE); 1580 1578 }
Note:
See TracChangeset
for help on using the changeset viewer.