X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b62c3631c9d769f3cd8e85c0f1298d9f09a919d2..01f242e264802fb8cd8c8491830e82b1d97dc79d:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 366ea1b8e1..e2d7b48e24 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: combobox.cpp +// Name: src/gtk/combobox.cpp // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -7,71 +7,174 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "combobox.h" -#endif - -#include "wx/combobox.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" #if wxUSE_COMBOBOX -#include "wx/settings.h" -#include "wx/intl.h" +#include "wx/combobox.h" -#include "gdk/gdk.h" -#include "gtk/gtk.h" +#ifndef WX_PRECOMP + #include "wx/intl.h" + #include "wx/settings.h" +#endif -//----------------------------------------------------------------------------- -// idle system -//----------------------------------------------------------------------------- +#include "wx/arrstr.h" -extern void wxapp_install_idle_handler(); -extern bool g_isIdle; +#include "wx/textctrl.h" // for wxEVT_COMMAND_TEXT_UPDATED + +// We use GtkCombo which has been deprecated since GTK+ 2.3.0 +// in favour of GtkComboBox for