]> git.saurik.com Git - wxWidgets.git/commitdiff
moved TARGET_CARBON define to private include for MacOS X
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 6 Jan 2002 15:42:13 +0000 (15:42 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 6 Jan 2002 15:42:13 +0000 (15:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/private.h

index 1e2aa805d589d6db862950fa17772c74cd8c925f..a0f211607a25bf9f5b9531fad0b30f9f3913ecce 100644 (file)
 #define _WX_PRIVATE_H_
 
 #include "wx/defs.h"
-#include "wx/window.h"
 
 #if defined(__POWERPC__) && defined(__DARWIN__)
-        #include <Carbon/Carbon.h>
+#    include <Carbon/Carbon.h>
+#    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 :