X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3b2cb4316b4deca34ae451493449e97e4bdb3f3b..353a4edc6ebdb88d0040de2f13aabfa8accf014b:/include/wx/dlimpexp.h diff --git a/include/wx/dlimpexp.h b/include/wx/dlimpexp.h index f3ac1f085b..b3e4258db8 100644 --- a/include/wx/dlimpexp.h +++ b/include/wx/dlimpexp.h @@ -87,6 +87,7 @@ # define WXMAKINGDLL_AUI # define WXMAKINGDLL_RICHTEXT # define WXMAKINGDLL_MEDIA +# define WXMAKINGDLL_STC #endif /* WXMAKINGDLL */ /* @@ -229,6 +230,14 @@ # define WXDLLIMPEXP_MEDIA #endif +#ifdef WXMAKINGDLL_STC + #define WXDLLIMPEXP_STC WXEXPORT +#elif defined(WXUSINGDLL) + #define WXDLLIMPEXP_STC WXIMPORT +#else /* not making nor using DLL */ + #define WXDLLIMPEXP_STC +#endif + /* for backwards compatibility, define suffix-less versions too */ #define WXDLLEXPORT WXDLLIMPEXP_CORE #define WXDLLEXPORT_DATA WXDLLIMPEXP_DATA_CORE