]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
File for notes about publicity, incl. newsgroups for announcements.
[wxWidgets.git] / src / os2 / window.cpp
index ce34797831607c4a650dbb6e9572c1e65aba87b1..6382bbee261d87bdb45bef13d119c555f5b2c025 100644 (file)
@@ -27,6 +27,8 @@
     #include "wx/app.h"
     #include "wx/panel.h"
     #include "wx/layout.h"
+    #include "wx/checkbox.h"
+    #include "wx/combobox.h"
     #include "wx/dialog.h"
     #include "wx/frame.h"
     #include "wx/listbox.h"
@@ -34,6 +36,7 @@
     #include "wx/msgdlg.h"
     #include "wx/scrolwin.h"
     #include "wx/radiobox.h"
+    #include "wx/radiobut.h"
     #include "wx/slider.h"
     #include "wx/statbox.h"
     #include "wx/statusbr.h"
@@ -4593,7 +4596,10 @@ void wxWindowOS2::MoveChildren(
   int                               nDiff
 )
 {
-    if (GetAutoLayout())
+    //
+    // We want to handle top levels ourself, manually
+    //
+    if (!IsTopLevel() && GetAutoLayout())
     {
         Layout();
     }