X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ce7b1e43fdf835a77a78765fe73de707b89e85f..7212d15556e87f73ff5ea8c3211a0e8e8811426b:/src/gtk/fontpicker.cpp diff --git a/src/gtk/fontpicker.cpp b/src/gtk/fontpicker.cpp index 5c7f24b383..88e2b93c7c 100644 --- a/src/gtk/fontpicker.cpp +++ b/src/gtk/fontpicker.cpp @@ -24,9 +24,6 @@ #include "wx/fontutil.h" // for wxNativeFontInfo #include "wx/gtk/private.h" -#include -#include - // ============================================================================ // implementation // ============================================================================ @@ -64,6 +61,7 @@ bool wxFontButton::Create( wxWindow *parent, wxWindowID id, if (!gtk_check_version(2,4,0)) { m_needParent = true; + m_acceptsFocus = true; if (!PreCreation( parent, pos, size ) || !wxControl::CreateBase(parent, id, pos, size, style, validator, name))