]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dlimpexp.h
(blind) compilation fixes after latest changes
[wxWidgets.git] / include / wx / dlimpexp.h
index f3ac1f085b4aefade3b62afb4a55d6958dd3ca10..b3e4258db8773b89c640cc2cf5c7324ee30e6e8a 100644 (file)
@@ -87,6 +87,7 @@
 #    define WXMAKINGDLL_AUI
 #    define WXMAKINGDLL_RICHTEXT
 #    define WXMAKINGDLL_MEDIA
+#    define WXMAKINGDLL_STC
 #endif /* WXMAKINGDLL */
 
 /*
 #    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