X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb41dcbe3a1ee4df0cd6a44e9cfb6a55b5d94fd6..1ce0cc20cda3969b3033354f77871d712b89eae6:/include/wx/defs.h?ds=sidebyside diff --git a/include/wx/defs.h b/include/wx/defs.h index e59c210063..cc0edcaa38 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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