]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/toplvcmn.cpp
Always send an erase event to satisfy some users...
[wxWidgets.git] / src / common / toplvcmn.cpp
index a67959b9f08d57bed7dd0dc3339c6805d4f01919..6c9f3d89f93f900afebe73228983d133f9f1c4c2 100644 (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
         }
     }
 }