X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbcdf8bc7ca806d8278c7cb6d09d5590378b67d8..02e8b2f9fbdfcd25080c42082d637da257c20094:/src/msw/combobox.cpp?ds=sidebyside diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 146d1bd5a7..1b795f43e6 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -50,6 +50,7 @@ bool wxComboBox::MSWCommand(WXUINT param, WXWORD WXUNUSED(id)) { wxCommandEvent event(wxEVT_COMMAND_TEXT_UPDATED, m_windowId); event.SetString(copystring(GetValue())); + event.SetEventObject(this); ProcessCommand(event); delete[] event.GetString(); return TRUE;