wxCommandEvent event(wxEVT_COMMAND_SPINCTRL_UPDATED, m_spin->GetId());
event.SetEventObject(m_spin);
event.SetInt(l);
- m_spin->GetEventHandler()->ProcessEvent(event);
+ m_spin->HandleWindowEvent(event);
m_spin->m_oldValue = l;
}
event.SetString(m_spin->GetText()->GetValue());
event.SetInt(val);
- m_spin->GetEventHandler()->ProcessEvent(event);
+ m_spin->HandleWindowEvent(event);
}
event.Skip();
event.SetEventObject(m_spin);
event.SetInt(pos);
- m_spin->GetEventHandler()->ProcessEvent(event);
+ m_spin->HandleWindowEvent(event);
m_spin->m_oldValue = pos;
}