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
This commit is contained in:
@@ -15,17 +15,19 @@
|
|||||||
#define _WX_PRIVATE_H_
|
#define _WX_PRIVATE_H_
|
||||||
|
|
||||||
#include "wx/defs.h"
|
#include "wx/defs.h"
|
||||||
#include "wx/window.h"
|
|
||||||
|
|
||||||
#if defined(__POWERPC__) && defined(__DARWIN__)
|
#if defined(__POWERPC__) && defined(__DARWIN__)
|
||||||
#include <Carbon/Carbon.h>
|
# include <Carbon/Carbon.h>
|
||||||
|
# define TARGET_CARBON 1
|
||||||
#else
|
#else
|
||||||
#include "MacHeaders.c"
|
# include "MacHeaders.c"
|
||||||
#endif
|
#endif
|
||||||
#if UNIVERSAL_INTERFACES_VERSION < 0x0340
|
#if UNIVERSAL_INTERFACES_VERSION < 0x0340
|
||||||
#error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
|
#error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/window.h"
|
||||||
|
|
||||||
class wxMacPortStateHelper
|
class wxMacPortStateHelper
|
||||||
{
|
{
|
||||||
public :
|
public :
|
||||||
|
Reference in New Issue
Block a user