X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cf8cb48f85cb82dceaff60b7cb8f3f05e479e5f..a44a646b7e4036b55871da474e5277442560e6f8:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 5ab1cd7b75..8dc1c7a820 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,69 +7,202 @@ // 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 +#ifndef WX_PRECOMP + #include "wx/intl.h" + #include "wx/settings.h" + #include "wx/textctrl.h" // for wxEVT_COMMAND_TEXT_UPDATED + #include "wx/arrstr.h" +#endif -#include "gdk/gdk.h" -#include "gtk/gtk.h" +// We use GtkCombo which has been deprecated since GTK+ 2.3.0 +// in favour of GtkComboBox for