X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa70ec2b51af8dfab9053ec57757a883c93d6712..6756186271a8394db23bc817e1aa36c27c52076a:/src/stc/stc.h.in diff --git a/src/stc/stc.h.in b/src/stc/stc.h.in index 1f2622784f..d15a2c0822 100644 --- a/src/stc/stc.h.in +++ b/src/stc/stc.h.in @@ -77,7 +77,7 @@ class WordList; struct SCNotification; #ifndef SWIG -extern WXDLLIMPEXP_STC const wxChar* wxSTCNameStr; +extern WXDLLIMPEXP_DATA_STC(const char) wxSTCNameStr[]; class WXDLLIMPEXP_FWD_STC wxStyledTextCtrl; class WXDLLIMPEXP_FWD_STC wxStyledTextEvent; #endif @@ -339,7 +339,7 @@ public: if ( to ) *to = GetSelectionEnd(); } - + // kept for compatibility only void GetSelection(int *from, int *to) { @@ -351,7 +351,7 @@ public: *to = t; } #endif - + virtual bool IsEditable() const { return !GetReadOnly(); } virtual void SetEditable(bool editable) { SetReadOnly(!editable); }