]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/combobox.cpp
use C++ compiler for va_copy test, at least under IRIX the C99 C compiler has it...
[wxWidgets.git] / src / gtk / combobox.cpp
index 10f20fbd1a0181edb5f3c1c77a524a1201075d80..00792deb148bf25ceeae1858051050ef937fcaea 100644 (file)
@@ -946,7 +946,10 @@ void wxComboBox::SetValue( const wxString& value )
 
     wxString tmp;
     if (!value.IsNull()) tmp = value;
+    
+    DisableEvents();
     gtk_entry_set_text( entry, wxGTK_CONV( tmp ) );
+    EnableEvents();
 
     InvalidateBestSize();
 }