From fbb9eac06c9a927d84e36c89ecc4266acc126ede Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 19 Nov 2004 20:03:06 +0000 Subject: [PATCH] Added GetCurrentPage git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_notebook.i | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/wxPython/src/_notebook.i b/wxPython/src/_notebook.i index 0e14515827..555e2997b2 100644 --- a/wxPython/src/_notebook.i +++ b/wxPython/src/_notebook.i @@ -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); }; -- 2.50.0