- // writing text inserts it at the current position, appending always
- // inserts it at the end
- virtual void WriteText(const wxString& text);
- virtual void AppendText(const wxString& text);
+ virtual void Copy(void);
+ virtual void Cut(void);
+ virtual void Paste(void);
+
+ virtual bool CanCopy(void) const;
+ virtual bool CanCut(void) const;
+ virtual bool CanPaste(void) const;
+
+ virtual void Undo(void);
+ virtual void Redo();
+
+ virtual bool CanUndo(void) const;
+ virtual bool CanRedo(void) const;
+
+ virtual void SetInsertionPoint(long lPos);
+ virtual void SetInsertionPointEnd(void);
+ virtual long GetInsertionPoint(void) const;
+ virtual wxTextPos GetLastPosition(void) const;
+
+ virtual void SetSelection( long lFrom
+ ,long lTo
+ );
+ virtual void SetEditable(bool bEditable);
+ virtual void SetWindowStyleFlag(long lStyle);
+
+ // implement base class pure virtuals
+ // ----------------------------------
+
+ virtual bool IsModified() const;
+ virtual bool IsEditable(void) const;