]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/utils.cpp
bitmap button size was too small when uxtheme functions were used to get the margins
[wxWidgets.git] / src / mac / carbon / utils.cpp
index a0ccab3f282f1ef3916c6fca3dc774a124878253..e903a7d4d479af4f9066777387d6c70c1443b068 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/intl.h"
     #include "wx/app.h"
+    #if wxUSE_GUI
+        #include "wx/toplevel.h"
+        #include "wx/font.h"
+    #endif
 #endif
 
 #include "wx/apptrait.h"
 
 #if wxUSE_GUI
     #include "wx/mac/uma.h"
-    #include "wx/font.h"
-    #include "wx/toplevel.h"
 #endif
 
 #include <ctype.h>