wxwidgets/tests/controls
Vadim Zeitlin d031ef154a Simplify wxGrid::SetSelectionMode() selection updating logic
Don't try to extend the existing selected blocks to rows/columns, this
contradicts the documented behaviour which is to discard the selected
blocks that become invalid in the new mode.

Do handle switching to wxGridSelectRowsOrColumns mode, as there doesn't
seem to be any reason not to.

Update the tests to check for the expected selection update behaviour.
2020-04-05 02:11:04 +02:00
..
auitest.cpp Implement wxAuiNotebook::GetBestSize() 2018-12-23 17:05:09 +01:00
bitmapcomboboxtest.cpp Add a common tag for wxItemContainer-derived classes tests 2018-12-15 23:04:30 +01:00
bitmaptogglebuttontest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
bookctrlbasetest.cpp Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
bookctrlbasetest.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
buttontest.cpp Fix use of dangling pointer in ButtonTestCase::Disabled() 2018-12-13 00:39:25 +01:00
checkboxtest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02: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 Replace a single function with a class in Enter processing tests 2019-09-10 18:48:20 +02: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 Add more wxOVERRIDE 2018-09-22 14:44:07 +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 Simplify wxGrid::SetSelectionMode() selection updating logic 2020-04-05 02:11:04 +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 Add wxOVERRIDE to test files 2018-07-29 12:08:53 +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 Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02: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 Add wxOVERRIDE to test files 2018-07-29 12:08:53 +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 Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
pickerbasetest.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
pickertest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
radioboxtest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
radiobuttontest.cpp Make wxRadioButton focus test MSW-specific 2019-07-18 17:45:20 +02:00
rearrangelisttest.cpp Add a common tag for wxItemContainer-derived classes tests 2018-12-15 23:04:30 +01:00
richtextctrltest.cpp Fix initial value returned from wxRichTextCtrl::IsModified() 2019-11-17 17:04:15 +01: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 Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
spinctrldbltest.cpp Add guards around test cases 2018-09-19 22:01:17 +02:00
spinctrltest.cpp Make updating the value in wxEVT_SPINCTRL work in wxMSW 2018-12-08 19:51:56 +01:00
styledtextctrltest.cpp Fix checking WXUSINGDLL in conditional block 2019-09-10 22:52:23 +02:00
textctrltest.cpp Add a unit test for wxTextCtrl event generation on creation 2020-04-02 09:10:36 -07:00
textentrytest.cpp Don't activate default button on Enter in multiline wxTextCtrl 2019-09-10 18:48:20 +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 Keep children of collapsed item selected in wxGenericTreeCtrl 2019-10-05 15:03:20 +02:00
treelistctrltest.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
virtlistctrltest.cpp Add more wxOVERRIDE 2018-09-22 14:44:07 +02:00
webtest.cpp Add a test for C++ comments in code passed to RunScript() 2020-02-05 15:55:50 +01:00
windowtest.cpp Add unit test for wxWindow::IsThisEnabled() 2019-10-27 01:31:21 +02:00