X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1d5aa9361ecbbe6715ef29d8c69ddaa8a00d4ba..53c43278a9d71e15f43cbe359abea50d3775d8ad:/src/common/combocmn.cpp diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index c3a2334c47..5df0a61af5 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -1874,7 +1874,7 @@ void wxComboCtrlBase::OnButtonClick() { wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_DROPDOWN, GetId()); event.SetEventObject(this); - ProcessCommand(event); + HandleWindowEvent(event); ShowPopup(); } @@ -2157,7 +2157,7 @@ void wxComboCtrlBase::OnPopupDismiss(bool generateEvent) { wxCommandEvent event(wxEVT_COMMAND_COMBOBOX_CLOSEUP, GetId()); event.SetEventObject(this); - ProcessCommand(event); + HandleWindowEvent(event); } }