]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/choicebk.h
fix warnings about calling an inline function before it is defined inline
[wxWidgets.git] / include / wx / choicebk.h
index cbb17693f8825ad28ebb4d80717efd427fdbc0fc..0414d0d2f02786b9b0289843c2c95072d75186d4 100644 (file)
@@ -84,18 +84,14 @@ protected:
     // get the size which the choice control should have
     virtual wxSize GetControllerSize() const;
 
-    int DoSetSelection(size_t nPage, int flags = 0);
-
     void UpdateSelectedPage(size_t newsel)
     {
         m_selection = newsel;
         GetChoiceCtrl()->Select(newsel);
     }
 
-    void MakeChangedEvent(wxBookCtrlBaseEvent &event)
-    {
-        event.SetEventType(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED);
-    }
+    wxBookCtrlBaseEvent* CreatePageChangingEvent() const;
+    void MakeChangedEvent(wxBookCtrlBaseEvent &event);
 
     // event handlers
     void OnChoiceSelected(wxCommandEvent& event);