X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/926395e16b8ee7a2988078e9cf6ea5c7e88500e0..1832043f93af07af3f4891d9a95c4d4e1f70eec5:/include/wx/bookctrl.h diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index d1dfe04f50..4cea68ba31 100644 --- a/include/wx/bookctrl.h +++ b/include/wx/bookctrl.h @@ -118,9 +118,6 @@ public: // calculate the size of the control from the size of its page virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const = 0; - // get the default alignment - virtual int GetDefaultAlignment() const { return wxBK_TOP; } - // get/set size of area between book control area and page area unsigned int GetInternalBorder() const { return m_internalBorder; } void SetInternalBorder(unsigned int border) { m_internalBorder = border; } @@ -130,7 +127,7 @@ public: int GetControlMargin() const { return m_controlMargin; } // returns true if we have wxBK_TOP or wxBK_BOTTOM style - bool IsVertical() const { return HasFlag(wxBK_ALIGN_MASK) ? HasFlag(wxBK_BOTTOM | wxBK_TOP) : (0 != (GetDefaultAlignment() & (wxBK_BOTTOM | wxBK_TOP))); } + bool IsVertical() const { return HasFlag(wxBK_BOTTOM | wxBK_TOP); } // set/get option to shrink to fit current page void SetFitToCurrentPage(bool fit) { m_fitToCurrentPage = fit; }