Files
wxWidgets/tests/controls
Andreas Falkenhahn a59901f8f1 Fix bug in CanUndo() returning true after wxTextCtrl creation
For wxMSW text controls with wxTE_RICH2 style, calling SetFont() counts
as an undoable operation, resulting in CanUndo() returning true even if
no "real" changes have been made yet.

Fix this by resetting the undo stack after creating the control using
ITextDocument::Undo().

Unfortunately this interface is not available in MinGW-32, so this fix
can't be used with it.

Closes https://github.com/wxWidgets/wxWidgets/pull/2010

Closes #17524.
2020-08-25 18:10:20 +02:00
..
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-09-22 14:44:07 +02:00
2018-07-29 12:08:53 +02:00
2020-07-25 16:09:50 +01:00
2018-07-29 12:08:53 +02:00