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
..
auitest.cpp adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
bitmapcomboboxtest.cpp remove workaround from BitmapComboBoxTestCase 2020-07-25 12:14:42 +01:00
bitmaptogglebuttontest.cpp Make wxUIActionSimulator works more reliably on GTK/X11 2020-05-15 00:36:00 +02:00
bookctrlbasetest.cpp adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
bookctrlbasetest.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
buttontest.cpp Add a unit test for using bitmaps with image and empty label 2020-08-21 20:21:17 -07:00
checkboxtest.cpp Get rid of redundant call to wxDELETE (no real change) 2020-07-25 12:34:25 +01:00
checklistboxtest.cpp Add a common tag for wxItemContainer-derived classes tests 2018-12-15 23:04:30 +01:00
choicebooktest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
choicetest.cpp Fix GetBestSize() for hidden controls in wxGTK 2019-10-09 14:56:49 +02:00
comboboxtest.cpp the assertion was mistakenly placed in the wrong place 2020-07-25 18:09:55 +01:00
dataviewctrltest.cpp Merge branch 'dataview_cocoa' of https://github.com/thesiv/wxWidgets 2019-11-01 00:49:29 +01:00
datepickerctrltest.cpp Improve checks for dates range in wxQt wxCalendarCtrl 2019-01-03 00:18:37 +01:00
dialogtest.cpp Fix building GUI tests with MSVC 2020-05-10 02:15:52 +02:00
frametest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
gaugetest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
gridtest.cpp Improve wxGrid selection test slightly 2020-08-14 12:41:10 +02:00
headerctrltest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
htmllboxtest.cpp Add a common tag for wxItemContainer-derived classes tests 2018-12-15 23:04:30 +01:00
hyperlinkctrltest.cpp Make wxUIActionSimulator works more reliably on GTK/X11 2020-05-15 00:36:00 +02:00
itemcontainertest.cpp Document and test wxItemContainer::Delete() selection handling 2018-12-15 23:47:26 +01:00
itemcontainertest.h Document and test wxItemContainer::Delete() selection handling 2018-12-15 23:47:26 +01:00
label.cpp Run label unit tests for ellipsized wxStaticText too 2019-06-20 01:45:26 +02:00
listbasetest.cpp Test DESELECTED events in both virtual and non-virtual listctrls. 2020-05-28 10:51:58 +03:00
listbasetest.h Added a unit test for wxListCtrl::HitTest() 2017-05-14 22:32:08 +02:00
listbooktest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
listboxtest.cpp Add a common tag for wxItemContainer-derived classes tests 2018-12-15 23:04:30 +01:00
listctrltest.cpp Add a test case for wxListCtrl::GetSubItemRect() 2019-08-27 17:12:47 +02:00
listviewtest.cpp adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
markuptest.cpp Add more wxOVERRIDE 2018-09-22 14:44:07 +02:00
notebooktest.cpp Ensure that test notebook is destroyed after the end of its test 2019-02-02 17:40:33 +01:00
ownerdrawncomboboxtest.cpp Add a common tag for wxItemContainer-derived classes tests 2018-12-15 23:04:30 +01:00
pickerbasetest.cpp adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
pickerbasetest.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
pickertest.cpp adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
radioboxtest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
radiobuttontest.cpp Make wxUIActionSimulator works more reliably on GTK/X11 2020-05-15 00:36:00 +02:00
rearrangelisttest.cpp adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
richtextctrltest.cpp Make wxUIActionSimulator works more reliably on GTK/X11 2020-05-15 00:36:00 +02:00
searchctrltest.cpp Provide more information for failures involving FindFocus() 2019-07-18 17:45:20 +02:00
simplebooktest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
slidertest.cpp Enable wxSlider "Thumb" unit test under GTK too 2020-08-05 22:46:04 +02:00
spinctrldbltest.cpp Fix displaying wxSpinCtrlDouble values with default precision 2020-05-18 20:39:05 +02:00
spinctrltest.cpp fix typo 2020-07-25 16:09:50 +01:00
styledtextctrltest.cpp Fix checking WXUSINGDLL in conditional block 2019-09-10 22:52:23 +02:00
textctrltest.cpp Fix bug in CanUndo() returning true after wxTextCtrl creation 2020-08-25 18:10:20 +02:00
textentrytest.cpp Make wxUIActionSimulator works more reliably on GTK/X11 2020-05-15 00:36:00 +02:00
textentrytest.h Don't send EVT_TEXT_ENTER to controls without wxTE_PROCESS_ENTER 2019-09-10 18:48:20 +02:00
togglebuttontest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
toolbooktest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
treebooktest.cpp Fix adding pages without associated window to wxTreebook 2018-09-18 00:33:59 +02:00
treectrltest.cpp Make wxUIActionSimulator works more reliably on GTK/X11 2020-05-15 00:36:00 +02:00
treelistctrltest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
virtlistctrltest.cpp Remove hard TAB from the recently added test 2020-06-13 22:50:36 +02:00
webtest.cpp Skip tests for functions unsupported on WebKit2 2020-07-23 21:49:14 -04:00
windowtest.cpp Make wxUIActionSimulator works more reliably on GTK/X11 2020-05-15 00:36:00 +02:00