From: Steve Lamerton Date: Wed, 14 Sep 2011 08:24:06 +0000 (+0000) Subject: Make wxBookCtrlBase::GetSelection virtual, as per the documentation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c78da4eb62485da28440568518be112c9baa2c0a Make wxBookCtrlBase::GetSelection virtual, as per the documentation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index e42d904871..163dd8efa0 100644 --- a/include/wx/bookctrl.h +++ b/include/wx/bookctrl.h @@ -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;