fix WXDLLIMPEXP_STC definition when building all wx libraries as DLLs (patch 1704527)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-04-21 15:13:37 +00:00
parent 6ad0a7d52f
commit c079af66c8
3 changed files with 10 additions and 16 deletions

View File

@@ -30,15 +30,6 @@
class WXDLLIMPEXP_CORE wxScrollBar;
#ifdef WXMAKINGDLL_STC
#define WXDLLIMPEXP_STC WXEXPORT
#elif defined(WXUSINGDLL)
#define WXDLLIMPEXP_STC WXIMPORT
#else // not making nor using DLL
#define WXDLLIMPEXP_STC
#endif
// SWIG can't handle "#if" type of conditionals, only "#ifdef"
#ifdef SWIG
#define STC_USE_DND 1