]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/bmpbuttn.cpp
updated i18n sample, french translations are now in the "fr" subdirectory.
[wxWidgets.git] / src / gtk1 / bmpbuttn.cpp
index bf155fb4fc1540140ea5bbf7ea5d17290692ad5c..49f84d1698e5a948b4240a39c6bfa08b35c94dee 100644 (file)
@@ -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;