diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index e2626da0a8..5b92e38224 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2140,6 +2140,8 @@ bool wxWindowGTK::Create( wxWindow *parent, m_focusWidget = m_wxwindow; + SetCanFocus(AcceptsFocus()); + PostCreation(); return true;