]> 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 06a071c237598a74f11ba0edf616634aa89ed420..0414d0d2f02786b9b0289843c2c95072d75186d4 100644 (file)
@@ -17,6 +17,7 @@
 #if wxUSE_CHOICEBOOK
 
 #include "wx/bookctrl.h"
+#include "wx/choice.h"
 
 class WXDLLEXPORT wxChoice;
 
@@ -83,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);