X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e78c47e3b870f520fb541fd448a66608bd332806..7bd30a12ade503fd135c686ecc98a6f6d5fecbeb:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 2d570db1a4..b81aa52a4e 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -182,6 +182,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.