Add wxTextCtrl::EmptyUndoBuffer()

This is implemented for multi-line controls under macOS only currently.
This commit is contained in:
Dan Korn
2021-08-18 23:14:14 +02:00
committed by Vadim Zeitlin
parent 9b27eaad43
commit 3c9bb69d6e
10 changed files with 37 additions and 1 deletions

View File

@@ -165,6 +165,16 @@ public:
*/
virtual bool CanUndo() const;
/**
Delete the undo history.
Currently only implemented under macOS and only for multiline text
controls, does nothing in the other ports.
@since 3.1.6
*/
virtual void EmptyUndoBuffer();
/**
Sets the new text control value.