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:
David Webster
2002-01-07 00:45:57 +00:00
parent 3011bf2bdc
commit bdb2ce96bb

View File

@@ -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
}
}
}