X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e78c47e3b870f520fb541fd448a66608bd332806..1e40bd4c74cd63318b41adebd5afe63e56b54a5e:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 2d570db1a4..59b553c909 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -15,6 +15,7 @@ #define _WX_PLATFORM_H_ + /* Codewarrior doesn't define any Windows symbols until some headers are included @@ -32,6 +33,12 @@ # include # include # include "wx/osx/config_xcode.h" +# ifndef __WXOSX__ +# define __WXOSX__ 1 +# endif +# ifndef __WXMAC__ +# define __WXMAC__ 1 +# endif #endif /* @@ -182,6 +189,13 @@ #include "wx/setup_gccxml.h" #endif +/* + Convenience for any optional classes that use the wxAnyButton base class. + */ +#if wxUSE_TOGGLEBTN || wxUSE_BUTTON + #define wxHAS_ANY_BUTTON +#endif + /* Hardware platform detection.