X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..3225a4b8b8656f25dac6cb20684a3c2c273cf796:/src/gtk1/combobox.cpp diff --git a/src/gtk1/combobox.cpp b/src/gtk1/combobox.cpp index 515f0c8c65..48221babd6 100644 --- a/src/gtk1/combobox.cpp +++ b/src/gtk1/combobox.cpp @@ -744,7 +744,7 @@ void wxComboBox::Replace( long from, long to, const wxString& value ) GtkWidget *entry = GTK_COMBO(m_widget)->entry; gtk_editable_delete_text( GTK_EDITABLE(entry), (gint)from, (gint)to ); - if (value.IsNull()) return; + if ( value.empty() ) return; gint pos = (gint)to; #if wxUSE_UNICODE