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
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;
if ( to )
*to = GetSelectionEnd();
}
-
+
// kept for compatibility only
void GetSelection(int *from, int *to)
{
*to = t;
}
#endif
-
+
virtual bool IsEditable() const { return !GetReadOnly(); }
virtual void SetEditable(bool editable) { SetReadOnly(!editable); }