Implement EmptyUndoBuffer() for wxTextCtrl in wxMSW too
The relevant code was already present in MSWCreateText(), so just extract it into its own function.
This commit is contained in:
@@ -64,6 +64,9 @@ public:
|
||||
|
||||
virtual void Redo() wxOVERRIDE;
|
||||
virtual bool CanRedo() const wxOVERRIDE;
|
||||
#if wxUSE_RICHEDIT
|
||||
virtual void EmptyUndoBuffer() wxOVERRIDE;
|
||||
#endif // wxUSE_RICHEDIT
|
||||
|
||||
virtual void SetInsertionPointEnd() wxOVERRIDE;
|
||||
virtual long GetInsertionPoint() const wxOVERRIDE;
|
||||
|
Reference in New Issue
Block a user