Added GetCurrentPage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-11-19 20:03:06 +00:00
parent 6f7ecb3bee
commit fbb9eac06c

View File

@@ -51,6 +51,9 @@ public:
// get the panel which represents the given page
virtual wxWindow *GetPage(size_t n);
// get the current page or NULL if none
wxWindow* GetCurrentPage() const;
// get the currently selected page or wxNOT_FOUND if none
virtual int GetSelection() const/* = 0*/;
@@ -210,11 +213,6 @@ wx.NB_HITTEST flags.", "");
// implement some base class functions
virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;
#ifdef __WXMSW__
// Windows only: attempts to apply the UX theme page background to this page
void ApplyThemeBackground(wxWindow* window, const wxColour& colour);
#endif
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};