#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 <GTK2.4 runtime
+// We also use GtkList
+#ifdef GTK_DISABLE_DEPRECATED
+#undef GTK_DISABLE_DEPRECATED
+#endif
#include "wx/gtk/private.h"
//-----------------------------------------------------------------------------
{
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