X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/26e83d4ff19f1e03bee1c70b920ae9ff89a62b3b..8f5d910492b0ffbccf3caf4b57eec434377a1314:/include/wx/mac/private.h diff --git a/include/wx/mac/private.h b/include/wx/mac/private.h index 1e2aa805d5..1f9e0b0c41 100644 --- a/include/wx/mac/private.h +++ b/include/wx/mac/private.h @@ -15,17 +15,26 @@ #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 +# include +# include +# include +# include +# include +# include #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 : @@ -56,6 +65,7 @@ public : ~wxMacPortSetter() ; private : wxMacPortStateHelper m_ph ; + const wxDC* m_dc ; } ; class wxMacDrawingHelper