From: Vadim Zeitlin Date: Tue, 14 Apr 2009 14:35:20 +0000 (+0000) Subject: mention that SetValue() does generate a wxEVT_COMMAND_TEXT_UPDATED event X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/35b9a07827b8097e86b4045b51b65b28d77a3a73?ds=sidebyside mention that SetValue() does generate a wxEVT_COMMAND_TEXT_UPDATED event git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/interface/wx/combobox.h b/interface/wx/combobox.h index 1e344758af..59abf17bb6 100644 --- a/interface/wx/combobox.h +++ b/interface/wx/combobox.h @@ -224,6 +224,9 @@ public: /** Sets the text for the combobox text field. + Notice that this method will generate a wxEVT_COMMAND_TEXT_UPDATED + event, use wxTextEntry::ChangeValue() if this is undesirable. + @note For a combobox with @c wxCB_READONLY style the string must be in the combobox choices list, otherwise the call to SetValue() is ignored.