X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/456bc6d9b83882a3b0e919fc733898d9d331ecd6..6443de026310552cacd68a6d0318e73d14929680:/src/gtk1/window.cpp?ds=sidebyside diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 9dac9b8c8f..8a1f5c0cb9 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -1694,8 +1694,8 @@ static gint gtk_window_focus_in_callback( GtkWidget *widget, // notify the parent keeping track of focus for the kbd navigation // purposes that we got it - wxChildFocusEvent eventFocus(this); - (void)GetEventHandler()->ProcessEvent(eventFocus); + wxChildFocusEvent eventFocus(win); + (void)win->GetEventHandler()->ProcessEvent(eventFocus); #ifdef HAVE_XIM if (win->m_ic)