]> 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 0e21ec247b808ce94154ce991a6b915c2be2853c..6c9f3d89f93f900afebe73228983d133f9f1c4c2 100644 (file)
@@ -137,9 +137,6 @@ void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
             {
                 if ( child )
                 {
             {
                 if ( child )
                 {
-#ifdef __WXPM__
-                    AlterChildPos();
-#endif
                     return;     // it's our second subwindow - nothing to do
                 }
 
                     return;     // it's our second subwindow - nothing to do
                 }
 
@@ -163,9 +160,6 @@ void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
 #endif
 
             child->SetSize(ofs, ofs, clientW - 2*ofs, clientH - 2*ofs);
 #endif
 
             child->SetSize(ofs, ofs, clientW - 2*ofs, clientH - 2*ofs);
-#ifdef __WXPM__
-            UpdateInternalSize(child, clientH);
-#endif
         }
     }
 }
         }
     }
 }