wxWidgets/tests/controls
Vadim Zeitlin 93f6e00d7b Destroy the in-place edit control in wxGenericListCtrl dtor.
If the in-place text control was still alive when wxGenericListCtrl was
destroyed, it resulted in asserts from wxWindow dtor about child windows still
being alive, so explicitly destroy it from wxListMainWindow dtor.

As this required a slightly different behaviour from wxListTextCtrlWrapper::
EndEdit(), replace its bool argument with an enum one which can take more than
2 values. Not using bool values when calling it also made the code more clear.

Finally, added a unit test verifying that the in-place control is indeed
destroyed correctly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-05 13:38:05 +00:00
..
bitmapcomboboxtest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
bitmaptogglebuttontest.cpp Add wxHAS_BITMAPTOGGLEBUTTON and test for it in the unit test. 2010-10-01 13:05:36 +00:00
bookctrlbasetest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
bookctrlbasetest.h Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
buttontest.cpp Simplify ButtonTestCase::Bitmap. The old test was not correct as it tested all bitmaps to see if they were valid, however these do not get set by SetBitmap and so the tests only passed if the platform set valid defaults. 2010-09-05 13:31:13 +00:00
checkboxtest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
checklistboxtest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
choicebooktest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
choicetest.cpp Reenable sorting tests for GTK 2010-08-24 17:22:12 +00:00
comboboxtest.cpp Reenable sorting tests for GTK 2010-08-24 17:22:12 +00:00
frametest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
gaugetest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
gridtest.cpp Remove an assert that was not backed up by the documentation and so failed on some platforms but not on others. Re-enable some tests that were disabled in wxGTK as they now pass. 2010-09-23 17:02:08 +00:00
headerctrltest.cpp allow using CPPUNIT_ASSERT_EQUAL(int,unsigned) even on 64 bit platforms (see r59576) 2009-03-17 22:02:56 +00:00
hyperlinkctrltest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
itemcontainertest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
itemcontainertest.h Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
label.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
listbasetest.cpp Disable ItemClick() unit test for wxListCtrl under wxMSW. 2010-10-01 13:05:30 +00:00
listbasetest.h Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
listbooktest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
listboxtest.cpp Fix typo from previous commit. 2010-09-05 13:14:14 +00:00
listctrltest.cpp Destroy the in-place edit control in wxGenericListCtrl dtor. 2010-10-05 13:38:05 +00:00
listviewtest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
notebooktest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
pickerbasetest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
pickerbasetest.h Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
pickertest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
radioboxtest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
radiobuttontest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
rearrangelisttest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
richtextctrltest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
slidertest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
spinctrldbltest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
spinctrltest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
textctrltest.cpp Use "C" locale for locale-dependent part of TextCtrlTestCase. 2010-08-22 23:46:02 +00:00
textentrytest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
textentrytest.h Compilation fix: forward declare wxTextEntry in unit tests code. 2010-08-23 18:54:59 +00:00
togglebuttontest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
toolbooktest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
treebooktest.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
treectrltest.cpp Increase the number of expected events in TreeCtrlTestCase::KeyDown and ListBaseTestCase::KeyDown from four to six as this is the number of events seen when testing using their samples. This also stops the tests failing after the recent keyboard event improvements. 2010-09-19 10:02:57 +00:00
windowtest.cpp Fix tests compilation with wxUSE_TOOLTIPS==0 as in wxX11. 2010-10-04 10:41:39 +00:00