X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc699de848bcead97528901420ee975df1b9442a..7ddb15416407390de67cc26b04e91ea99a521f57:/include/wx/simplebook.h diff --git a/include/wx/simplebook.h b/include/wx/simplebook.h index e99f44d370..9b6474b0c4 100644 --- a/include/wx/simplebook.h +++ b/include/wx/simplebook.h @@ -145,13 +145,13 @@ protected: virtual wxBookCtrlEvent* CreatePageChangingEvent() const { - return new wxBookCtrlEvent(wxEVT_COMMAND_BOOKCTRL_PAGE_CHANGING, + return new wxBookCtrlEvent(wxEVT_BOOKCTRL_PAGE_CHANGING, GetId()); } virtual void MakeChangedEvent(wxBookCtrlEvent& event) { - event.SetEventType(wxEVT_COMMAND_BOOKCTRL_PAGE_CHANGED); + event.SetEventType(wxEVT_BOOKCTRL_PAGE_CHANGED); } virtual wxWindow *DoRemovePage(size_t page)