]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/combobox.cpp
Fixed bug #9856: wxSizer::Replace( size_t, wxSizerItem *) doesn't call SetContainingSizer
[wxWidgets.git] / src / gtk1 / combobox.cpp
index 515f0c8c6576e2598e72289ed3b06fb94a7b6036..48221babd63a7cea9b50e5b67423dcda9f983fcc 100644 (file)
@@ -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