Some things needed in the base class of OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -134,6 +134,9 @@ void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
|
||||
{
|
||||
if ( child )
|
||||
{
|
||||
#ifdef __WXPM__
|
||||
AlterChildPos();
|
||||
#endif
|
||||
return; // it's our second subwindow - nothing to do
|
||||
}
|
||||
|
||||
@@ -157,6 +160,10 @@ void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
|
||||
#endif
|
||||
|
||||
child->SetSize(ofs, ofs, clientW - 2*ofs, clientH - 2*ofs);
|
||||
#ifdef __WXPM__
|
||||
child->MoveChildren(m_vSwpClient.cy - clientH);
|
||||
::WinQueryWindowPos(GetHwnd(), &m_vSwpClient);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user