X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..e723991bb039f024b414c42e48c6534301ecc9b7:/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