X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15506ffe1551b1c830eea6d4808abf2a942b55b8..db6634e0d53fce875c78a089f4237a88ae206335:/src/gtk1/window.cpp diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 9e328dbcde..f9934ba15e 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -1475,7 +1475,7 @@ static gint gtk_window_button_press_callback( GtkWidget *widget, g_lastButtonNumber = gdk_event->button; - if (win->m_wxwindow && (g_focusWindow != win) && win->AcceptsFocus()) + if (win->m_wxwindow && (g_focusWindow != win) && win->CanAcceptFocus()) { gtk_widget_grab_focus( win->m_wxwindow ); /*