]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
[start of] cleanup uxtheme support code
[wxWidgets.git] / include / wx / defs.h
index 87282cf37508682cc9cd429c00dbe2f3044cc82d..06eff5caa1a1adeeddaaf3155060cb05d17e6b75 100644 (file)
@@ -395,6 +395,7 @@ typedef int wxWindowID;
         #define WXMAKINGDLL_BASE
     #endif
 
+    #define WXMAKINGDLL_NET
     #define WXMAKINGDLL_CORE
     #define WXMAKINGDLL_HTML
     #define WXMAKINGDLL_XML
@@ -413,6 +414,17 @@ typedef int wxWindowID;
     #define WXDLLIMPEXP_DATA_BASE(type) type
 #endif
 
+#ifdef WXMAKINGDLL_NET
+    #define WXDLLIMPEXP_NET WXEXPORT
+    #define WXDLLIMPEXP_DATA_NET(type) WXEXPORT type
+#elif defined(WXUSINGDLL)
+    #define WXDLLIMPEXP_NET WXIMPORT
+    #define WXDLLIMPEXP_DATA_NET(type) WXIMPORT type
+#else // not making nor using DLL
+    #define WXDLLIMPEXP_NET
+    #define WXDLLIMPEXP_DATA_NET(type) type
+#endif
+
 #ifdef WXMAKINGDLL_CORE
     #define WXDLLIMPEXP_CORE WXEXPORT
     #define WXDLLIMPEXP_DATA_CORE(type) WXEXPORT type