X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8193d807ff5d2eae0c5621a38c4fce1173ed265..df08bf5ab3a0eb24d53b2c002f473799c5622bbb:/include/wx/stc/stc.h?ds=sidebyside diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index dde5aa02b6..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 @@ -2157,10 +2153,10 @@ public: void SetCaretLineVisible(bool show); // Get the colour of the background of the line containing the caret. - wxColour GetCaretLineBack(); + wxColour GetCaretLineBackground(); // Set the colour of the background of the line containing the caret. - void SetCaretLineBack(const wxColour& back); + void SetCaretLineBackground(const wxColour& back); // Set a style to be changeable or not (read only). // Experimental feature, currently buggy. @@ -3618,4 +3614,4 @@ inline const wxWX2MBbuf wx2stc(const wxString& str) { //---------------------------------------------------------------------- #endif - +#endif // wxUSE_STC