]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/combobox.cpp
no message
[wxWidgets.git] / src / gtk / combobox.cpp
index 7a1e8412b9ea07b3ad2027c33f8c7f0e60c920af..45cf031ba1ff53c26cb78dcd90681c4ebe36b59e 100644 (file)
 #pragma implementation "combobox.h"
 #endif
 
+
 #include "wx/combobox.h"
+
+#if wxUSE_COMBOBOX
+
 #include <wx/intl.h>
 
+#include "gdk/gdk.h"
+#include "gtk/gtk.h"
+
 //-----------------------------------------------------------------------------
 // data
 //-----------------------------------------------------------------------------
@@ -63,6 +70,7 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value,
 {
     m_alreadySent = FALSE;
     m_needParent = TRUE;
+    m_acceptsFocus = TRUE;
   
     PreCreation( parent, id, pos, size, style, name );
   
@@ -534,3 +542,7 @@ bool wxComboBox::IsOwnGtkWindow( GdkWindow *window )
     return ( (window == GTK_ENTRY( GTK_COMBO(m_widget)->entry )->text_area) ||
              (window == GTK_COMBO(m_widget)->button->window ) );
 }
+
+#endif
+
+  // wxUSE_COMBOBOX
\ No newline at end of file