X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d9b77552eeb78e0c7ee903aa265dc187651ff57..3b3dc8019a520ce5e166c8ae9098ba020f8b3f94:/src/gtk/combobox.cpp?ds=sidebyside diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index a52c0d6124..382b52a18e 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,68 +7,171 @@ // 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" -#if wxUSE_COMBOBOX +#ifndef WX_PRECOMP + #include "wx/intl.h" +#endif #include "wx/settings.h" -#include "wx/intl.h" - -#include -#include +#include "wx/arrstr.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