X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/456bc6d9b83882a3b0e919fc733898d9d331ecd6..9cf99fc093f9c45b6b5d8d8b357699d826c9916a:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 9dac9b8c8f..8a1f5c0cb9 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/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)