X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00dc9772321d7539fd155cdf529821f2fbfc82fb..936f635341e9b92b37db93cc7781d564babbe25f:/src/gtk/spinbutt.cpp diff --git a/src/gtk/spinbutt.cpp b/src/gtk/spinbutt.cpp index ea7478c519..b886fbc324 100644 --- a/src/gtk/spinbutt.cpp +++ b/src/gtk/spinbutt.cpp @@ -48,7 +48,7 @@ gtk_value_changed(GtkSpinButton* spinbutton, wxSpinButton* win) event.SetPosition(pos); event.SetEventObject(win); - if ((win->GetEventHandler()->ProcessEvent( event )) && + if ((win->HandleWindowEvent( event )) && !event.IsAllowed() ) { /* program has vetoed */ @@ -64,7 +64,7 @@ gtk_value_changed(GtkSpinButton* spinbutton, wxSpinButton* win) wxSpinEvent event2(wxEVT_SCROLL_THUMBTRACK, win->GetId()); event2.SetPosition(pos); event2.SetEventObject(win); - win->GetEventHandler()->ProcessEvent(event2); + win->HandleWindowEvent(event2); } }