X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a8909371b50c92753af2ab6d432aa8124122ec1..622f7a49ef5ddf9a47096e14bf1f8d93be3c8668:/src/common/popupcmn.cpp diff --git a/src/common/popupcmn.cpp b/src/common/popupcmn.cpp index bef08770aa..1e789810b1 100644 --- a/src/common/popupcmn.cpp +++ b/src/common/popupcmn.cpp @@ -507,7 +507,7 @@ void wxPopupWindowHandler::OnLeftDown(wxMouseEvent& event) winUnder->ScreenToClient(&event2.m_x, &event2.m_y); event2.SetEventObject(winUnder); - wxPostEvent(winUnder, event2); + wxPostEvent(winUnder->GetEventHandler(), event2); } } break;