X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c78da4eb62485da28440568518be112c9baa2c0a..616c0d1f3ac084bb92f0a75dc48812e8647f1b22:/include/wx/bookctrl.h diff --git a/include/wx/bookctrl.h b/include/wx/bookctrl.h index 163dd8efa0..50087a2526 100644 --- a/include/wx/bookctrl.h +++ b/include/wx/bookctrl.h @@ -95,7 +95,7 @@ public: virtual size_t GetPageCount() const { return m_pages.size(); } // get the panel which represents the given page - wxWindow *GetPage(size_t n) const { return m_pages[n]; } + virtual wxWindow *GetPage(size_t n) const { return m_pages[n]; } // get the current page or NULL if none wxWindow *GetCurrentPage() const