X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19da43267e410c8acdd57a31d89b6c5ecce8c36f..3271d7376a34a73139db3d9d3d2f23426539e50e:/src/gtk/combobox.cpp?ds=inline diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 5283eed694..9f631e21d8 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,74 +7,196 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "combobox.h" -#endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" -#include "wx/combobox.h" -#include "wx/settings.h" +#if wxUSE_COMBOBOX -#include +#include "wx/combobox.h" -#include "gdk/gdk.h" -#include "gtk/gtk.h" +#include "wx/settings.h" +#include "wx/arrstr.h" +#include "wx/intl.h" -//----------------------------------------------------------------------------- -// idle system -//----------------------------------------------------------------------------- +#include "wx/textctrl.h" // for wxEVT_COMMAND_TEXT_UPDATED -extern void wxapp_install_idle_handler(); -extern bool g_isIdle; +// We use GtkCombo which has been deprecated since GTK+ 2.3.0 +// in favour of GtkComboBox for