зеркало из https://github.com/mozilla/pjs.git
r=pedemont, sr=blizzard (platform specific code), a=dbaron OS/2 only - set owner of frame windows
This commit is contained in:
Родитель
fbdc42b6de
Коммит
b7f9148a9c
|
@ -148,6 +148,11 @@ void nsFrameWindow::RealDoCreate( HWND hwndP, nsWindow *aParent,
|
|||
0,
|
||||
&mWnd);
|
||||
|
||||
|
||||
/* Because WinCreateStdWindow doesn't take an owner, we have to set it */
|
||||
if (hwndP)
|
||||
WinSetOwner(mFrameWnd, hwndP);
|
||||
|
||||
|
||||
/* Set some HWNDs and style into properties for fullscreen mode */
|
||||
HWND hwndTitleBar = WinWindowFromID(mFrameWnd, FID_TITLEBAR);
|
||||
|
|
Загрузка…
Ссылка в новой задаче