git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51480
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
if (dialog->GetSizer())
{
{
if (dialog->GetSizer())
{
wxBookCtrlBase* bookContentWindow = wxDynamicCast(dialog->GetContentWindow(), wxBookCtrlBase);
if (bookContentWindow)
wxBookCtrlBase* bookContentWindow = wxDynamicCast(dialog->GetContentWindow(), wxBookCtrlBase);
if (bookContentWindow)
FitWithScrolling(dialog, windows);
}
else
FitWithScrolling(dialog, windows);
}
else
+#endif // wxUSE_BOOKCTRL
{
// If we have an arbitrary dialog, create a scrolling area for the main content, and a button sizer
// for the main buttons.
{
// If we have an arbitrary dialog, create a scrolling area for the main content, and a button sizer
// for the main buttons.