]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix for child window positioning
authorDavid Webster <Dave.Webster@bhmi.com>
Thu, 5 Sep 2002 13:54:24 +0000 (13:54 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Thu, 5 Sep 2002 13:54:24 +0000 (13:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/window.cpp

index ce34797831607c4a650dbb6e9572c1e65aba87b1..f17d44952ad63cb58e1294fb0cce02e251e529f5 100644 (file)
@@ -4593,7 +4593,10 @@ void wxWindowOS2::MoveChildren(
   int                               nDiff
 )
 {
-    if (GetAutoLayout())
+    //
+    // We want to handle top levels ourself, manually
+    //
+    if (!IsTopLevel() && GetAutoLayout())
     {
         Layout();
     }