diff --git a/include/wx/mac/private.h b/include/wx/mac/private.h index 1e2aa805d5..a0f211607a 100644 --- a/include/wx/mac/private.h +++ b/include/wx/mac/private.h @@ -15,17 +15,19 @@ #define _WX_PRIVATE_H_ #include "wx/defs.h" -#include "wx/window.h" #if defined(__POWERPC__) && defined(__DARWIN__) - #include +# include +# define TARGET_CARBON 1 #else - #include "MacHeaders.c" +# include "MacHeaders.c" #endif #if UNIVERSAL_INTERFACES_VERSION < 0x0340 #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/" #endif +#include "wx/window.h" + class wxMacPortStateHelper { public :