git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20759
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxNotebookEvent changing(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId,
::GetControl32BitValue(control) - 1, m_nSelection);
changing.SetEventObject(this);
wxNotebookEvent changing(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId,
::GetControl32BitValue(control) - 1, m_nSelection);
changing.SetEventObject(this);
- ProcessEvent(changing);
+ GetEventHandler()->ProcessEvent(changing);
if(changing.IsAllowed())
{
if(changing.IsAllowed())
{
::GetControl32BitValue(control) - 1, m_nSelection);
event.SetEventObject(this);
::GetControl32BitValue(control) - 1, m_nSelection);
event.SetEventObject(this);
+ GetEventHandler()->ProcessEvent(event);
wxNotebookEvent changing(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId,
::GetControl32BitValue(control) - 1, m_nSelection);
changing.SetEventObject(this);
wxNotebookEvent changing(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, m_windowId,
::GetControl32BitValue(control) - 1, m_nSelection);
changing.SetEventObject(this);
- ProcessEvent(changing);
+ GetEventHandler()->ProcessEvent(changing);
if(changing.IsAllowed())
{
if(changing.IsAllowed())
{
::GetControl32BitValue(control) - 1, m_nSelection);
event.SetEventObject(this);
::GetControl32BitValue(control) - 1, m_nSelection);
event.SetEventObject(this);
+ GetEventHandler()->ProcessEvent(event);