зеркало из https://github.com/mozilla/gecko-dev.git
Fixing a problem with undocking the NavCenter window.
This commit is contained in:
Родитель
4aaeb57d7e
Коммит
0f8a279579
|
@ -527,6 +527,7 @@ void CNSNavFrame::ForceFloat(BOOL show)
|
|||
else SetWindowPos(&wndNoTopMost, 0, 0, 0, 0, SWP_FRAMECHANGED
|
||||
| SWP_NOMOVE | SWP_NOACTIVATE | SWP_NOSIZE | SWP_HIDEWINDOW);
|
||||
|
||||
CFrameWnd *pLayout = GetParentFrame();
|
||||
SetParent(NULL);
|
||||
|
||||
if (m_DragWnd)
|
||||
|
@ -545,8 +546,7 @@ void CNSNavFrame::ForceFloat(BOOL show)
|
|||
XP_UndockNavCenter(GetHTPane());
|
||||
|
||||
// Tell ParentFrame that we are not docked anymore.
|
||||
CFrameWnd *pLayout = GetParentFrame();
|
||||
if (pLayout)
|
||||
if (pLayout)
|
||||
pLayout->RecalcLayout();
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче