]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dlimpexp.h
Semicolon fixes according to Vadim's note about being danger (OW,BCC,MinGW,DMC tested).
[wxWidgets.git] / include / wx / dlimpexp.h
index f0b6eb861fa7280426a57a475ba94e007065daf7..fd823a514436d4be9d094d50fb73a1d9c181d5e5 100644 (file)
@@ -78,6 +78,7 @@
 #    define WXMAKINGDLL_DBGRID
 #    define WXMAKINGDLL_HTML
 #    define WXMAKINGDLL_XML
+#    define WXMAKINGDLL_XRC
 #endif /* WXMAKINGDLL */
 
 /*
 #    define WXDLLIMPEXP_XML
 #endif
 
+#ifdef WXMAKINGDLL_XRC
+#    define WXDLLIMPEXP_XRC WXEXPORT
+#elif defined(WXUSINGDLL)
+#    define WXDLLIMPEXP_XRC WXIMPORT
+#else /* not making nor using DLL */
+#    define WXDLLIMPEXP_XRC
+#endif
+
 /* for backwards compatibility, define suffix-less versions too */
 #define WXDLLEXPORT WXDLLIMPEXP_CORE
 #define WXDLLEXPORT_DATA WXDLLIMPEXP_DATA_CORE