Changeset 10396 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Jan 15, 2004, 11:28:42 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r10379 r10396 1 /* $Id: win32wbase.cpp,v 1.38 3 2004-01-11 12:03:18sandervl Exp $ */1 /* $Id: win32wbase.cpp,v 1.384 2004-01-15 10:28:42 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 251 251 } 252 252 253 // Decrement class window counter 253 // Decrement class window counter 254 254 // NOTE: Must be done before ReleaseDC call for ownDC! 255 255 if(windowClass) { … … 892 892 Win32Hwnd = 0; 893 893 } 894 // Decrement class window counter 894 // Decrement class window counter 895 895 // NOTE: Must be done before ReleaseDC call for ownDC! 896 896 if(windowClass) { … … 2552 2552 } 2553 2553 2554 // Hack alert: This makes sure the tooltips windows in OpenOffice don't 2554 // Hack alert: This makes sure the tooltips windows in OpenOffice don't 2555 2555 // activate the owner windows too. 2556 2556 // First condition takes care of SetWindowPos during window 2557 2557 // creation. The 2nd one for calls made by OpenOffice 2558 if(((getStyle() & WS_POPUP) && (getExStyle() & WS_EX_TOPMOST)) || (fuFlags & SWP_NOOWNERZORDER)) 2559 { 2558 if(((getStyle() & WS_POPUP) && (getExStyle() & WS_EX_TOPMOST)) || (fuFlags & SWP_NOOWNERZORDER)) 2559 { 2560 2560 //SWP_NOOWNERZORDER means only the z-order of this window changes; it 2561 2561 //should not affect the owner … … 3196 3196 { 3197 3197 wnd = GetWindowFromOS2FrameHandle(hwnd); 3198 if(wnd == NULL) {3199 hwnd = OSLibWinQueryClientWindow(hwnd);3200 if(hwnd) wnd = GetWindowFromOS2Handle(hwnd);3201 }3202 3198 if(wnd) { 3203 3199 hwndWin32 = wnd->getWindowHandle(); … … 3343 3339 { 3344 3340 wnd = GetWindowFromOS2FrameHandle(hwnd); 3345 if(wnd == NULL) {3346 hwnd = OSLibWinQueryClientWindow(hwnd);3347 if(hwnd) wnd = GetWindowFromOS2Handle(hwnd);3348 }3349 3350 3341 if(wnd) { 3351 3342 //According to Wine, the class doesn't need to be specified
Note:
See TracChangeset
for help on using the changeset viewer.