X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..a4f6fe43c33bd7933645d110ad2719871dab043d:/include/wx/osx/private.h?ds=sidebyside diff --git a/include/wx/osx/private.h b/include/wx/osx/private.h index ba09d40872..5b33475f99 100644 --- a/include/wx/osx/private.h +++ b/include/wx/osx/private.h @@ -1,18 +1,16 @@ -/* common warning snippet for all osx direct includes */ - -#ifndef wxOSX_USE_CARBON -#error "this files should only be included after platform.h was included -#endif - #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 \ No newline at end of file +#endif