From c78da4eb62485da28440568518be112c9baa2c0a Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Wed, 14 Sep 2011 08:24:06 +0000 Subject: [PATCH] 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 --- include/wx/bookctrl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.0