X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80ceadc1652cf1ca6c93cf0f6657634233a6bcde..ba0cf6af6d19a7a91ed5087f20bf9b93b7a4f911:/src/msw/notebook.cpp diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index d51c996daf..6b171c7a74 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -1325,11 +1325,11 @@ bool wxNotebook::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM* result) NMHDR* hdr = (NMHDR *)lParam; switch ( hdr->code ) { case TCN_SELCHANGE: - event.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED); + event.SetEventType(wxEVT_NOTEBOOK_PAGE_CHANGED); break; case TCN_SELCHANGING: - event.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING); + event.SetEventType(wxEVT_NOTEBOOK_PAGE_CHANGING); break; default: