]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/uma.h
Added a SetFont method that behaves like SetLabel does with respect to
[wxWidgets.git] / include / wx / mac / uma.h
index 85ad8863b126c7b0ea63d08d8b59f7e15a5b5877..0898dc057a32919702ef22f4cbf65a08a4c60cd5 100644 (file)
 #define UMA_USE_8_6 1 
 #endif
 
-#if defined(__POWERPC__) || defined(__MACH__)
-#define UMA_USE_APPEARANCE 1
-#define UMA_USE_WINDOWMGR 1
+#if defined(__POWERPC__) || defined(__APPLE__)
+    #define UMA_USE_APPEARANCE 1
+    #define UMA_USE_WINDOWMGR 1
+    #if defined(__APPLE__)
+        #include <Carbon/Carbon.h>
+    #endif
 #else
-#define UMA_USE_APPEARANCE 0
-#define UMA_USE_WINDOWMGR 0
+    #define UMA_USE_APPEARANCE 0
+    #define UMA_USE_WINDOWMGR 0
 #endif
 
 #if !UMA_USE_8_6 && UMA_USE_WINDOWMGR
@@ -242,4 +245,4 @@ void UMAHighlightAndActivateWindow( WindowRef inWindowRef , bool inActivate ) ;
 
 OSStatus UMADrawThemePlacard( const Rect *inRect , ThemeDrawState inState ) ;
 
-#endif
\ No newline at end of file
+#endif