X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43a18898651f71010606d8682fdf88cfc1c02193..169935ad4ed842421ef24470a06d1aa298f90fbe:/src/gtk/bmpbuttn.cpp?ds=inline diff --git a/src/gtk/bmpbuttn.cpp b/src/gtk/bmpbuttn.cpp index bf155fb4fc..49f84d1698 100644 --- a/src/gtk/bmpbuttn.cpp +++ b/src/gtk/bmpbuttn.cpp @@ -13,6 +13,9 @@ #include "wx/bmpbuttn.h" +#include "gdk/gdk.h" +#include "gtk/gtk.h" + //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- @@ -102,6 +105,7 @@ bool wxBitmapButton::Create( wxWindow *parent, wxWindowID id, const wxBitmap &bi long style, const wxValidator& validator, const wxString &name ) { m_needParent = TRUE; + m_acceptsFocus = TRUE; wxSize newSize = size;