From d9138d0539c3ec9a9dc813f859b5905a270b6711 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 26 Apr 2007 21:18:24 +0000 Subject: [PATCH] Don't emit EVT_TEXT after wxComboBox::SetValue() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/combobox.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gtk/combobox.cpp b/src/gtk/combobox.cpp index 8dc1c7a820..ba38afe937 100644 --- a/src/gtk/combobox.cpp +++ b/src/gtk/combobox.cpp @@ -954,9 +954,11 @@ void wxComboBox::SetValue( const wxString& value ) #endif entry = GTK_ENTRY( GTK_COMBO(m_widget)->entry ); + DisableEvents(); wxString tmp; if (!value.IsNull()) tmp = value; gtk_entry_set_text( entry, wxGTK_CONV( tmp ) ); + EnableEvents(); InvalidateBestSize(); }