X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93bfe54527a7a64ea87cdc03be3015f7963fd227..acc476c530e1730d9202b404ec0b0b87ae44ced6:/src/common/bookctrl.cpp diff --git a/src/common/bookctrl.cpp b/src/common/bookctrl.cpp index b0a8dea974..f22559cb98 100644 --- a/src/common/bookctrl.cpp +++ b/src/common/bookctrl.cpp @@ -53,7 +53,7 @@ void wxBookCtrlBase::Init() m_bookctrl = NULL; m_imageList = NULL; m_ownsImageList = false; - m_shrinkToFit = false; + m_fitToCurrentPage = false; #if defined(__WXWINCE__) m_internalBorder = 1; @@ -145,7 +145,7 @@ wxSize wxBookCtrlBase::DoGetBestSize() const } } - if (m_shrinkToFit && GetCurrentPage()) + if (m_fitToCurrentPage && GetCurrentPage()) bestSize = GetCurrentPage()->GetBestSize(); // convert display area to window area, adding the size necessary for the