X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a3bdee6a979146c426cd058e9bfe6b58135b124..036971cc8c5282769c60b3c5afed80ccb50e8a14:/contrib/include/wx/deprecated/setup.h diff --git a/contrib/include/wx/deprecated/setup.h b/contrib/include/wx/deprecated/setup.h index 5196376f80..dfac4804c6 100644 --- a/contrib/include/wx/deprecated/setup.h +++ b/contrib/include/wx/deprecated/setup.h @@ -19,19 +19,53 @@ // Default is 0 // // Recommended setting: 0 unless you have legacy code which uses these classes +#ifdef wxUSE_TIMEDATE +#undef wxUSE_TIMEDATE +#endif + #define wxUSE_TIMEDATE 0 // wxProperty[Value/Form/List] classes, used by Dialog Editor +#ifdef wxUSE_PROPSHEET +#undef wxUSE_PROPSHEET +#endif #define wxUSE_PROPSHEET 1 // wxTreeLayout class +#ifdef wxUSE_TREELAYOUT +#undef wxUSE_TREELAYOUT +#endif #define wxUSE_TREELAYOUT 1 // use wxExpr (a.k.a. PrologIO) +#ifdef wxUSE_PROLOGIO +#undef wxUSE_PROLOGIO +#endif #define wxUSE_PROLOGIO 1 // Use .wxr resource mechanism (requires PrologIO library) +#ifdef wxUSE_WX_RESOURCES +#undef wxUSE_WX_RESOURCES +#endif #define wxUSE_WX_RESOURCES 1 +// Use simple, generic toolbar +#ifdef wxUSE_TOOLBAR_SIMPLE +#undef wxUSE_TOOLBAR_SIMPLE +#endif +#define wxUSE_TOOLBAR_SIMPLE 1 + + +#ifdef WXMAKINGDLL_DEPRECATED + #define WXDLLIMPEXP_DEPRECATED WXEXPORT + #define WXDLLIMPEXP_DATA_DEPRECATED(type) WXEXPORT type +#elif defined(WXUSINGDLL) + #define WXDLLIMPEXP_DEPRECATED WXIMPORT + #define WXDLLIMPEXP_DATA_DEPRECATED(type) WXIMPORT type +#else // not making nor using DLL + #define WXDLLIMPEXP_DEPRECATED + #define WXDLLIMPEXP_DATA_DEPRECATED(type) type +#endif + #endif // _WX_DEPRECATED_SETUP_H_