gtk_widget_get_preferred_size() return zero size if the GTK widget is hidden, so show it temporarily in order to find its real preferred size. Add a unit test checking that the best size of a hidden wxChoice is now determined correctly. Closes https://github.com/wxWidgets/wxWidgets/pull/1587
3.0 KiB
3.0 KiB