X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b07d7130880c63b7f7908606a10f885e2719efc..b976323b04593bf2f642d8bdf36b39a346d840dc:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index c202ba56eb..1fa5e3336d 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,63 +7,196 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "combobox.h" -#endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#if wxUSE_COMBOBOX #include "wx/combobox.h" -#include +#include "wx/settings.h" +#include "wx/arrstr.h" +#include "wx/intl.h" -#include "gdk/gdk.h" -#include "gtk/gtk.h" +#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