]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dialog.cpp
make XPM data pointer parameter fully const
[wxWidgets.git] / src / mac / carbon / dialog.cpp
index 966b6001baab09493d96f813cb563ae159c3e573..858736fd33b960265b67d24b4fbca90d59dc3a6c 100644 (file)
@@ -103,6 +103,9 @@ bool wxDialog::Show(bool show)
         // nothing to do
         return false;
 
         // nothing to do
         return false;
 
+    if (show && CanDoLayoutAdaptation())
+        DoLayoutAdaptation();
+
     if ( show )
         // usually will result in TransferDataToWindow() being called
         InitDialog();
     if ( show )
         // usually will result in TransferDataToWindow() being called
         InitDialog();