]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
added wxprec.h
[wxWidgets.git] / include / wx / defs.h
index bcbb1856e686d12283ece241f4e1829d4eef7c59..74e04440bf745f62c6f35352ccbaaa367c96525d 100644 (file)
@@ -381,6 +381,7 @@ typedef int wxWindowID;
 #ifdef WXUSINGDLL
     #define WXUSINGDLL_BASE
     #define WXUSINGDLL_CORE
+    #define WXUSINGDLL_HTML
 #endif // WXUSINGDLL
 
 
@@ -408,6 +409,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_HTML)
+    #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
+
 // for backwards compatibility, define suffix-less versions too
 #define WXDLLEXPORT WXDLLIMPEXP_CORE
 #define WXDLLEXPORT_DATA WXDLLIMPEXP_DATA_CORE