]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dialog.mm
Add missing WXK constants for the control keys
[wxWidgets.git] / src / cocoa / dialog.mm
index 1f412b0a3335df116d049f185e4a3de0dde73515..7c5d51690741e22826b894a59b4894309aff3251 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2002/12/15
 // RCS-ID:      $Id$
 // Copyright:   2002 David Elliott
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
@@ -99,6 +99,10 @@ bool wxDialog::Show(bool show)
     if(show)
     {
         wxAutoNSAutoreleasePool pool;
+
+       if (CanDoLayoutAdaptation())
+               DoLayoutAdaptation();
+
         InitDialog();
         if(IsModal())
         {   // ShowModal() will show the dialog