Removing OS/2 specific positioning methods, no longer needed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-02-10 04:33:20 +00:00
parent b513212d2e
commit 1b7735e10f
6 changed files with 2 additions and 32 deletions

View File

@@ -137,9 +137,6 @@ void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
{
if ( child )
{
#ifdef __WXPM__
AlterChildPos();
#endif
return; // it's our second subwindow - nothing to do
}
@@ -162,14 +159,7 @@ void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
static const int ofs = 0;
#endif
#ifdef __WXPM__
// OS/2 PM has to do a LOT of stuff to get things
// positioned right, especially if the child is a
// scrolled window.
UpdateInternalSize(child, clientW, clientH);
#else
child->SetSize(ofs, ofs, clientW - 2*ofs, clientH - 2*ofs);
#endif
}
}
}