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:
@@ -168,8 +168,9 @@ public:
|
||||
/**
|
||||
Delete the undo history.
|
||||
|
||||
Currently only implemented under macOS and only for multiline text
|
||||
controls, does nothing in the other ports.
|
||||
Currently only implemented in wxMSW (for controls using wxTE_RICH2
|
||||
style only) and wxOSX (for multiline text controls only), does nothing
|
||||
in the other ports or for the controls not using the appropriate styles.
|
||||
|
||||
@since 3.1.6
|
||||
*/
|
||||
|
Reference in New Issue
Block a user