X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef0e92205a01c7d0ca6f381cc690cb5d4fa595c9..c564ca3c975aba89f8b911ace0f240c0aaf4cf73:/include/wx/osx/private/timer.h diff --git a/include/wx/osx/private/timer.h b/include/wx/osx/private/timer.h index 024f6d88ee..cd990764c3 100644 --- a/include/wx/osx/private/timer.h +++ b/include/wx/osx/private/timer.h @@ -1,5 +1,11 @@ -#ifdef __WXMAC_CLASSIC__ -#include "wx/osx/classic/private/timer.h" -#else -#include "wx/osx/carbon/private/timer.h" +/* 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 + +#if 1 // revert to wxOSX_USE_COCOA_OR_IPHONE in case of problems + #include "wx/osx/core/private/timer.h" +#elif wxOSX_USE_CARBON + #include "wx/osx/carbon/private/timer.h" #endif