X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93bfe54527a7a64ea87cdc03be3015f7963fd227..b7e5ba8f2d676583c790c59388eba8bfa9bd33c2:/include/wx/bookctrl.h?ds=sidebyside diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index ea8784a5db..5d09ad2d9a 100644 --- a/include/wx/bookctrl.h +++ b/include/wx/bookctrl.h @@ -132,8 +132,8 @@ public: bool IsVertical() const { return HasFlag(wxBK_BOTTOM | wxBK_TOP); } // set/get option to shrink to fit current page - void SetShrinkMode(bool shrink) { m_shrinkToFit = shrink; } - bool GetShrinkMode() const { return m_shrinkToFit; } + void SetFitToCurrentPage(bool fit) { m_fitToCurrentPage = fit; } + bool GetFitToCurrentPage() const { return m_fitToCurrentPage; } // operations // ---------- @@ -234,7 +234,7 @@ protected: wxControl *m_bookctrl; // Whether to shrink to fit current page - bool m_shrinkToFit; + bool m_fitToCurrentPage; private: