X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a93571daf0f1dc47ac37951852b895153cbd779..2c17722ec8a15d93ef9ec4a4ff390a0db9a34d9d:/include/wx/stc/stc.h?ds=inline

diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h
index a48accc7f4..bd36f73a31 100644
--- a/include/wx/stc/stc.h
+++ b/include/wx/stc/stc.h
@@ -20,19 +20,15 @@
 #ifndef __stc_h__
 #define __stc_h__
 
+#include "wx/defs.h"
 
-#include "wx/wx.h"
-#include "wx/dnd.h"
-
+#if wxUSE_STC
 
-#ifdef WXMAKINGDLL_STC
-    #define WXDLLIMPEXP_STC WXEXPORT
-#elif defined(WXUSINGDLL)
-    #define WXDLLIMPEXP_STC WXIMPORT
-#else // not making nor using DLL
-    #define WXDLLIMPEXP_STC
-#endif
+#include "wx/control.h"
+#include "wx/dnd.h"
+#include "wx/stopwatch.h"
 
+class WXDLLIMPEXP_CORE wxScrollBar;
 
 // SWIG can't handle "#if" type of conditionals, only "#ifdef"
 #ifdef SWIG
@@ -3618,4 +3614,4 @@ inline const wxWX2MBbuf wx2stc(const wxString& str) {
 //----------------------------------------------------------------------
 #endif
 
-
+#endif // wxUSE_STC