Added GetCurrentPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -51,6 +51,9 @@ public:
|
|||||||
// get the panel which represents the given page
|
// get the panel which represents the given page
|
||||||
virtual wxWindow *GetPage(size_t n);
|
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
|
// get the currently selected page or wxNOT_FOUND if none
|
||||||
virtual int GetSelection() const/* = 0*/;
|
virtual int GetSelection() const/* = 0*/;
|
||||||
|
|
||||||
@@ -210,11 +213,6 @@ wx.NB_HITTEST flags.", "");
|
|||||||
// implement some base class functions
|
// implement some base class functions
|
||||||
virtual wxSize CalcSizeFromPage(const wxSize& sizePage) const;
|
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
|
static wxVisualAttributes
|
||||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user