Fix generic collapsible pane best size determination. See https://github.com/wxWidgets/wxWidgets/pull/1580