]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bookctrl.h
supporting clang memory management annotations
[wxWidgets.git] / 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;