]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/classic/stattext.cpp
use GTK-specific GUI lock
[wxWidgets.git] / src / mac / classic / stattext.cpp
index d748041bec3da0431c785868e3dca5a229d178ce..26bcaf3344b85d0452a2198db91ef97258f37217 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/app.h"
     #include "wx/utils.h"
+    #include "wx/dc.h"
+    #include "wx/dcclient.h"
+    #include "wx/settings.h"
 #endif
 
 #include "wx/notebook.h"
 #include "wx/tabctrl.h"
-#include "wx/dc.h"
-#include "wx/dcclient.h"
-#include "wx/settings.h"
 
 #include <stdio.h>
 
@@ -49,7 +49,7 @@ bool wxStaticText::Create(wxWindow *parent, wxWindowID id,
         return false;
     }
 
-    SetBestSize( size ) ;
+    SetInitialSize( size ) ;
 
     return true;
 }