wxWidgets/tests/controls
Vadim Zeitlin 9660c80430 Fix crash when using a wxRadioBox without items in wxOSX
wxRadioBox::m_radioButtonCycle is never null -- except when it is, when
there are no items at all in the radio box. Handle this case without
crashing too by checking for the pointer being valid before using it.

Also add a unit test checking that this works correctly.

See #22751.

(cherry picked from commit b0c417db36b7daca3b9b6731588f5b7b3f19ca6a)
2022-08-30 12:36:27 +02:00
..
auitest.cpp Make wxAuiNotebook::FindPage() work correctly 2022-04-16 23:01:57 +01:00
bitmapcomboboxtest.cpp
bitmaptogglebuttontest.cpp
bookctrlbasetest.cpp
bookctrlbasetest.h
buttontest.cpp Return empty bitmaps from wxButton if not explicitly set in wxMSW 2021-09-03 21:22:05 +02:00
checkboxtest.cpp
checklistboxtest.cpp
choicebooktest.cpp
choicetest.cpp
comboboxtest.cpp support required compilation failure for comboboxtest on platforms with wxUSE_COMBOBOX==0 2022-04-18 19:29:45 +02:00
dataviewctrltest.cpp Don't require overriding wxDataViewModel::GetColumn{Count,Type}() 2022-06-18 19:19:16 +02:00
datepickerctrltest.cpp
dialogtest.cpp
frametest.cpp
gaugetest.cpp
gridtest.cpp Allow cloning client data stored in wxGrid attributes etc 2022-04-28 00:28:58 +02:00
headerctrltest.cpp
htmllboxtest.cpp
hyperlinkctrltest.cpp
itemcontainertest.cpp
itemcontainertest.h
label.cpp
listbasetest.cpp
listbasetest.h
listbooktest.cpp
listboxtest.cpp Adjust point to be tested in wxListBox::HitTest for macOS 11 2021-09-22 22:19:45 +02:00
listctrltest.cpp Fix double negatives used with 'neither' in docs and comments 2022-08-19 16:30:25 +02:00
listviewtest.cpp
markuptest.cpp
notebooktest.cpp Revert addition of MSW-only test for notebook pages wxEVT_SHOW 2022-01-11 02:10:36 +01:00
ownerdrawncomboboxtest.cpp
pickerbasetest.cpp
pickerbasetest.h
pickertest.cpp
radioboxtest.cpp Fix crash when using a wxRadioBox without items in wxOSX 2022-08-30 12:36:27 +02:00
radiobuttontest.cpp
rearrangelisttest.cpp
richtextctrltest.cpp
searchctrltest.cpp
simplebooktest.cpp
slidertest.cpp
spinctrldbltest.cpp
spinctrltest.cpp Add wxSpinCtrl::SetIncrement() and implement it for all ports 2022-02-04 02:16:06 +01:00
styledtextctrltest.cpp
textctrltest.cpp Fix double negatives used with 'neither' in docs and comments 2022-08-19 16:30:25 +02:00
textentrytest.cpp Fix double negatives used with 'neither' in docs and comments 2022-08-19 16:30:25 +02:00
textentrytest.h
togglebuttontest.cpp
toolbooktest.cpp
treebooktest.cpp
treectrltest.cpp
treelistctrltest.cpp
virtlistctrltest.cpp
webtest.cpp Add tests for wxWebView::RunScriptAsync() 2021-11-03 14:04:24 +01:00
windowtest.cpp Enable test for wxEVT_SHOW for non-MSW platforms too 2022-01-11 02:36:46 +01:00