X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa70ec2b51af8dfab9053ec57757a883c93d6712..53107283f366d1d4950559afcbf056e901e778fd:/include/wx/stc/stc.h diff --git a/include/wx/stc/stc.h b/include/wx/stc/stc.h index 985e10df14..e701ed9881 100644 --- a/include/wx/stc/stc.h +++ b/include/wx/stc/stc.h @@ -1978,7 +1978,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 @@ -2643,7 +2643,7 @@ public: void SetReadOnly(bool readOnly); // Will a paste succeed? - bool CanPaste(); + bool CanPaste() const; // Are there any undoable actions in the undo history? bool CanUndo() const; @@ -3703,7 +3703,7 @@ public: if ( to ) *to = GetSelectionEnd(); } - + // kept for compatibility only void GetSelection(int *from, int *to) { @@ -3715,7 +3715,7 @@ public: *to = t; } #endif - + virtual bool IsEditable() const { return !GetReadOnly(); } virtual void SetEditable(bool editable) { SetReadOnly(!editable); }