Wrap some deprecation wrappers around newly deprecated items

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-04-15 05:02:59 +00:00
parent e6f85a8554
commit 1564807335
9 changed files with 26 additions and 16 deletions

View File

@@ -27,7 +27,8 @@ enum {
wxBK_BOTTOM,
wxBK_LEFT,
wxBK_RIGHT,
wxBK_ALIGN_MASK
wxBK_ALIGN_MASK,
wxBK_BUTTONBAR
};
@@ -106,10 +107,17 @@ public:
// returns true if we have wxCHB_TOP or wxCHB_BOTTOM style
bool IsVertical() const;
// Sets/gets the margin around the controller
void SetControlMargin(int margin);
int GetControlMargin() const;
// set/get option to shrink to fit current page
void SetFitToCurrentPage(bool fit);
bool GetFitToCurrentPage() const;
// returns the sizer containing the control, if any
wxSizer* GetControlSizer() const;
// remove one page from the control and delete it
virtual bool DeletePage(size_t n);