From: Václav Slavík Date: Wed, 2 Jul 2003 11:59:14 +0000 (+0000) Subject: don't required all WXMAKINGDLL_FOO defines X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3d41c708014c46ce00eb058886de5dc381c0680f?ds=sidebyside don't required all WXMAKINGDLL_FOO defines git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/defs.h b/include/wx/defs.h index bcbb1856e6..f5f2d18659 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -387,6 +387,7 @@ typedef int wxWindowID; // WXDLLEXPORT maps to export declaration when building the DLL, to import // declaration if using it or to nothing at all if we don't use wxWin as DLL #ifdef WXMAKINGDLL_BASE + #undef WXUSINGDLL_BASE #define WXDLLIMPEXP_BASE WXEXPORT #define WXDLLIMPEXP_DATA_BASE(type) WXEXPORT type #elif defined(WXUSINGDLL_BASE) @@ -398,6 +399,7 @@ typedef int wxWindowID; #endif #ifdef WXMAKINGDLL_CORE + #undef WXUSINGDLL_CORE #define WXDLLIMPEXP_CORE WXEXPORT #define WXDLLIMPEXP_DATA_CORE(type) WXEXPORT type #elif defined(WXUSINGDLL_CORE)