]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dialog.mm
compilation fix for PCH-less compilation after the last change
[wxWidgets.git] / src / cocoa / dialog.mm
index 1f412b0a3335df116d049f185e4a3de0dde73515..9c2be1a64fec2a949afa99364479c8fccbc01a77 100644 (file)
@@ -99,6 +99,10 @@ bool wxDialog::Show(bool show)
     if(show)
     {
         wxAutoNSAutoreleasePool pool;
+
+       if (CanDoLayoutAdaptation())
+               DoLayoutAdaptation();
+
         InitDialog();
         if(IsModal())
         {   // ShowModal() will show the dialog