From fa9d617ba4e2f6c360713ef8a7873676de076f91 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sun, 6 Jan 2002 15:42:13 +0000 Subject: [PATCH] moved TARGET_CARBON define to private include for MacOS X git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/private.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 : -- 2.45.2