]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bookctrl.h
1. use a manifest constant wxNO_LEN instead of -1 for lengths everywhere
[wxWidgets.git] / include / wx / bookctrl.h
index ea8784a5db03c4758882ff04cc211a83ede184f4..5d09ad2d9a06acce8233943b80abe5f812d4f371 100644 (file)
@@ -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: