if (nPage != (size_t)m_selection)
{
- wxBookCtrlEvent vEvent( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
+ wxBookCtrlEvent vEvent( wxEVT_NOTEBOOK_PAGE_CHANGING
,m_windowId
);
//
// Program allows the page change
//
- vEvent.SetEventType(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED);
+ vEvent.SetEventType(wxEVT_NOTEBOOK_PAGE_CHANGED);
HandleWindowEvent(vEvent);
::WinSendMsg( GetHWND()