X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b008dd712dc781933629f19039587076094ed8a..9a3952fad895c37a0ae8c34a968b7ae7ff8b9a55:/src/gtk/combobox.cpp?ds=sidebyside diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 07d6d0a777..b5f70f7a9e 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -573,7 +573,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