Changeset 1311 for trunk/src/user32/pmwindow.cpp
- Timestamp:
- Oct 15, 1999, 3:52:56 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/pmwindow.cpp
r1306 r1311 1 /* $Id: pmwindow.cpp,v 1. 29 1999-10-15 09:26:22sandervl Exp $ */1 /* $Id: pmwindow.cpp,v 1.30 1999-10-15 13:52:54 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Managment Code for OS/2 … … 261 261 262 262 if(pswp->fl & (SWP_MOVE | SWP_SIZE)) { 263 if (win32wnd->isChild()) 264 hParent = win32wnd->getParent()->getOS2WindowHandle(); 263 if (win32wnd->isChild()) { 264 if(win32wnd->getParent()) { 265 hParent = win32wnd->getParent()->getOS2WindowHandle(); 266 } 267 else break; 268 } 265 269 else 266 270 hFrame = win32wnd->getOS2FrameWindowHandle(); … … 294 298 295 299 if(pswp->fl & (SWP_MOVE | SWP_SIZE)) { 296 if (win32wnd->isChild()) 297 hParent = win32wnd->getParent()->getOS2WindowHandle(); 300 if (win32wnd->isChild()) { 301 if(win32wnd->getParent()) { 302 hParent = win32wnd->getParent()->getOS2WindowHandle(); 303 } 304 else goto RunDefWndProc; //parent has just been destroyed 305 } 298 306 else 299 307 hFrame = WinQueryWindow(hwnd, QW_PARENT);
Note:
See TracChangeset
for help on using the changeset viewer.