From f5a45ee2e97427619168792ccf5abb62401ee53a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 17 Mar 2006 02:38:58 +0000 Subject: [PATCH] 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 --- src/msw/combobox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 8b1841fb2e..be00b321fe 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -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); -- 2.50.0