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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user