]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
simplified and cleaned up wxGTK's focus handling
[wxWidgets.git] / src / msw / dialog.cpp
index 0b4174a8d04c0dc97ec9e5919b1edba9e19b106f..4fce3f8d479dff61bf79002bca691849a1e51862 100644 (file)
@@ -237,6 +237,9 @@ bool wxDialog::Show(bool show)
 
     if ( show )
     {
+        if (CanDoLayoutAdaptation())
+            DoLayoutAdaptation();
+
         // this usually will result in TransferDataToWindow() being called
         // which will change the controls values so do it before showing as
         // otherwise we could have some flicker