- 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; }
+
+ // returns the sizer containing the control, if any
+ wxSizer* GetControlSizer() const { return m_controlSizer; }