X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/81d66cf39f810503baed79213bc3122fda0ccc7b..83626bfa72bd7f0147392818846242a846d12063:/src/msw/choice.cpp diff --git a/src/msw/choice.cpp b/src/msw/choice.cpp index c1d7f28406..18949f0212 100644 --- a/src/msw/choice.cpp +++ b/src/msw/choice.cpp @@ -34,7 +34,7 @@ bool wxChoice::MSWCommand(WXUINT param, WXWORD WXUNUSED(id)) { if (param == CBN_SELCHANGE) { - wxCommandEvent event(wxEVENT_TYPE_CHOICE_COMMAND, m_windowId); + wxCommandEvent event(wxEVT_COMMAND_CHOICE_SELECTED, m_windowId); event.SetInt(GetSelection()); event.SetEventObject(this); event.SetString(copystring(GetStringSelection()));