use correct string in wxEVT_COMMAND_COMBOBOX_SELECTED events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-03-17 02:38:58 +00:00
parent 3abaf18160
commit f5a45ee2e9

View File

@@ -332,7 +332,7 @@ bool wxComboBox::MSWCommand(WXUINT param, WXWORD id)
// set these variables so that they could be also fixed in
// CBN_EDITCHANGE below
sel = GetSelection();
value = GetValue();
value = GetStringSelection();
{
wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_SELECTED, GetId());
event.SetEventObject(this);