X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c6eb3a84be918dcfed2496d014549e13af0f0e9..598fe99d56158319f6b5f817c4670748f98bc70a:/include/wx/osx/private.h diff --git a/include/wx/osx/private.h b/include/wx/osx/private.h index 75cf558a22..5b33475f99 100644 --- a/include/wx/osx/private.h +++ b/include/wx/osx/private.h @@ -1,7 +1,16 @@ -#ifdef __WXMAC_CLASSIC__ -#include "wx/mac/classic/private.h" -#elif defined(__WXOSX_IPHONE__) -#include "wx/mac/corefoundation/private.h" -#else -#include "wx/mac/carbon/private.h" +#ifndef _WX_PRIVATE_OSX_H_ +#define _WX_PRIVATE_OSX_H_ + +#include "wx/osx/core/private.h" + +#if wxOSX_USE_IPHONE + #include "wx/osx/iphone/private.h" +#elif wxOSX_USE_CARBON + #include "wx/osx/carbon/private.h" +#elif wxOSX_USE_COCOA + #include "wx/osx/cocoa/private.h" +#elif wxUSE_GUI + #error "Must include wx/defs.h first" +#endif + #endif