X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f4880a451af5b982e775acae7f316793c3df0b5..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/os2/notebook.cpp diff --git a/src/os2/notebook.cpp b/src/os2/notebook.cpp index f1c52e8ed4..de5fbf8e7a 100644 --- a/src/os2/notebook.cpp +++ b/src/os2/notebook.cpp @@ -208,7 +208,7 @@ int wxNotebook::SetSelection( size_t nPage ) if (nPage != (size_t)m_selection) { - wxBookCtrlEvent vEvent( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING + wxBookCtrlEvent vEvent( wxEVT_NOTEBOOK_PAGE_CHANGING ,m_windowId ); @@ -221,7 +221,7 @@ int wxNotebook::SetSelection( size_t nPage ) // // Program allows the page change // - vEvent.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED); + vEvent.SetEventType(wxEVT_NOTEBOOK_PAGE_CHANGED); HandleWindowEvent(vEvent); ::WinSendMsg( GetHWND()