From: Robert Roebling Date: Wed, 22 Feb 2006 22:37:15 +0000 (+0000) Subject: Correcteded wxComboBox::Clear X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9b0d12e94f076e43a0bdb9d3cad2aba17f304882?ds=inline Correcteded wxComboBox::Clear git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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