]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/combobox.cpp
generate wxEVT_COMMAND_TEXT_ENTER for multiline controls too
[wxWidgets.git] / src / gtk / combobox.cpp
index 07d6d0a77771986fb53f9459587562f436c531b8..b5f70f7a9e0f02ad5d0762599e921f7e8035c767 100644 (file)
@@ -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