Correcteded wxComboBox::Clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -573,7 +573,7 @@ void wxComboBox::Clear()
|
|||||||
{
|
{
|
||||||
GtkComboBox* combobox = GTK_COMBO_BOX( m_widget );
|
GtkComboBox* combobox = GTK_COMBO_BOX( m_widget );
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i++; i < GetCount())
|
for (i = 0; i < GetCount(); i++)
|
||||||
gtk_combo_box_remove_text( combobox, 0 );
|
gtk_combo_box_remove_text( combobox, 0 );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user