+ // get/set size of area between book control area and page area
+ inline unsigned int GetInternalBorder() const
+ {
+ return m_internalBorder;
+ }
+ void SetInternalBorder(unsigned int internalBorder)
+ {
+ m_internalBorder = internalBorder;
+ }
+
+ // returns true if we have wxCHB_TOP or wxCHB_BOTTOM style
+ 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; }
+ bool GetFitToCurrentPage() const { return m_fitToCurrentPage; }