Files
wxWidgets/tests
Vadim Zeitlin b88d5e08ce Fix adding pages without associated window to wxTreebook
wxTreebook is supposed to allow not specifying any valid window for the
top-level pages, but this didn't work any longer, probably since the
changes of 02a92e23f3 (see #4379), as a
possibly null page was dereferenced without checking, resulting in a
crash.

Fix this by adding a missing check.

Also rename DoGetNonNullPage() to TryGetNonNullPage() to make it more
clear that this function can return null and add a unit test checking
that calling AddPage(NULL) really works (or at least doesn't crash).

See https://github.com/wxWidgets/wxWidgets/pull/921
2018-09-18 00:33:59 +02:00
..
2018-07-29 12:08:53 +02:00
2018-09-17 22:34:32 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-08-25 21:16:55 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-01-29 00:48:56 +01:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2018-07-29 12:08:53 +02:00
2015-03-19 21:46:05 +01:00
2018-09-17 22:34:32 +02:00
2018-07-29 12:08:53 +02:00