Files
wxWidgets/tests
Vadim Zeitlin b0c417db36 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.
2022-08-29 19:06:43 +02:00
..
…
…
…
2022-08-02 08:26:29 +02:00
2022-08-02 08:26:29 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…

Tests

This directory contains tests for the library and is mostly useful for the library developers. See the samples subdirectory for the examples that are more useful to the application developers using the library.

If you do work on the library itself and would like to modify an existing or add a new test, please see docs/contributing/how-to-write-unit-tests.md for more information.

This file also contains the instructions for running the tests if you'd just like to do it to confirm that the library works correctly.