X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93bfe54527a7a64ea87cdc03be3015f7963fd227..39987096b3aa3e1bec4f69a5793780f7ea2dd914:/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