X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b781a6729859abc77e6ca5b1f81cbaad974a78f..486fd225d4942c852b913636bdc81d9a0a27f7d5:/include/wx/mac/uma.h diff --git a/include/wx/mac/uma.h b/include/wx/mac/uma.h index 85ad8863b1..0898dc057a 100644 --- a/include/wx/mac/uma.h +++ b/include/wx/mac/uma.h @@ -21,12 +21,15 @@ #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 + #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