X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eac90854bd92def117248aa59927289b7e1d5c6a..e14d10b039e68a701a447043a4031cf43e9fa90b:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index f2e95d4aff..ff6a1e99fa 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -403,6 +403,17 @@ typedef int wxWindowID; #define WXDLLIMPEXP_DATA_CORE(type) type #endif +#ifdef WXMAKINGDLL_HTML + #define WXDLLIMPEXP_HTML WXEXPORT + #define WXDLLIMPEXP_DATA_HTML(type) WXEXPORT type +#elif defined(WXUSINGDLL) + #define WXDLLIMPEXP_HTML WXIMPORT + #define WXDLLIMPEXP_DATA_HTML(type) WXIMPORT type +#else // not making nor using DLL + #define WXDLLIMPEXP_HTML + #define WXDLLIMPEXP_DATA_HTML(type) type +#endif + #ifdef WXMAKINGDLL_GL #define WXDLLIMPEXP_GL WXEXPORT #elif defined(WXUSINGDLL)