]> git.saurik.com Git - wxWidgets.git/commitdiff
Make wxBookCtrlBase::GetSelection virtual, as per the documentation.
authorSteve Lamerton <steve.lamerton@gmail.com>
Wed, 14 Sep 2011 08:24:06 +0000 (08:24 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Wed, 14 Sep 2011 08:24:06 +0000 (08:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/bookctrl.h

index e42d90487179d86ff7ec050b9c7a52f7c8437f5d..163dd8efa080557af17b095e486f212ad68afb06 100644 (file)
@@ -105,7 +105,7 @@ public:
     }
 
     // get the currently selected page or wxNOT_FOUND if none
-    int GetSelection() const { return m_selection; }
+    virtual int GetSelection() const { return m_selection; }
 
     // set/get the title of a page
     virtual bool SetPageText(size_t n, const wxString& strText) = 0;