X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45e0dc94770d598a1cc84d83730d470dd1cfbcca..c2d516f26095ca280536afa9867286f9244c7aef:/src/common/toplvcmn.cpp diff --git a/src/common/toplvcmn.cpp b/src/common/toplvcmn.cpp index a67959b9f0..6c9f3d89f9 100644 --- a/src/common/toplvcmn.cpp +++ b/src/common/toplvcmn.cpp @@ -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 } } }