]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
initialize the image list size in default ctor
[wxWidgets.git] / include / wx / defs.h
index e59c210063c98950a3ee18acd5b2f8b4d28da713..cc0edcaa3897aad8be40d31f438c3b0af76475e0 100644 (file)
@@ -401,6 +401,7 @@ typedef int wxWindowID;
     #define WXMAKINGDLL_CORE
     #define WXMAKINGDLL_ADV
     #define WXMAKINGDLL_ODBC
+    #define WXMAKINGDLL_DBGRID
     #define WXMAKINGDLL_HTML
     #define WXMAKINGDLL_XML
 #endif // WXMAKINGDLL
@@ -462,6 +463,17 @@ typedef int wxWindowID;
     #define WXDLLIMPEXP_DATA_ODBC(type) type
 #endif
 
+#ifdef WXMAKINGDLL_DBGRID
+    #define WXDLLIMPEXP_DBGRID WXEXPORT
+    #define WXDLLIMPEXP_DATA_DBGRID(type) WXEXPORT type
+#elif defined(WXUSINGDLL)
+    #define WXDLLIMPEXP_DBGRID WXIMPORT
+    #define WXDLLIMPEXP_DATA_DBGRID(type) WXIMPORT type
+#else // not making nor using DLL
+    #define WXDLLIMPEXP_DBGRID
+    #define WXDLLIMPEXP_DATA_DBGRID(type) type
+#endif
+
 #ifdef WXMAKINGDLL_HTML
     #define WXDLLIMPEXP_HTML WXEXPORT
     #define WXDLLIMPEXP_DATA_HTML(type) WXEXPORT type