X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1efb5db8961ac308d16ed3ae7930bd0b48c0520e..3b38e2a022d97b2afae69cb5f322f96a6a0140f3:/src/gtk/combobox.cpp diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index fdb640143f..467a6ce586 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -22,19 +22,12 @@ // We use GtkCombo which has been deprecated since GTK+ 2.3.0 // in favour of GtkComboBox for -#if defined(GTK_DISABLE_DEPRECATED) && GTK_CHECK_VERSION(2,3,0) +// We also use GtkList +#ifdef GTK_DISABLE_DEPRECATED #undef GTK_DISABLE_DEPRECATED #endif #include "wx/gtk/private.h" -//----------------------------------------------------------------------------- -// idle system -//----------------------------------------------------------------------------- - -extern void wxapp_install_idle_handler(); -extern bool g_isIdle; - //----------------------------------------------------------------------------- // data //----------------------------------------------------------------------------- @@ -573,7 +566,7 @@ void wxComboBox::Clear() { GtkComboBox* combobox = GTK_COMBO_BOX( m_widget ); int i; - for (i = 0; i++; i < GetCount()) + for (i = 0; i < GetCount(); i++) gtk_combo_box_remove_text( combobox, 0 ); } else