X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60fcb5849bd079b14a15c2950e7950c0b5fab25b..b763ff43863beb0d416e1f492d4cbbaa915b479d:/src/mac/toplevel.cpp diff --git a/src/mac/toplevel.cpp b/src/mac/toplevel.cpp index 1c5d96ed76..8db3f7e902 100644 --- a/src/mac/toplevel.cpp +++ b/src/mac/toplevel.cpp @@ -429,6 +429,7 @@ void wxTopLevelWindowMac::MacFireMouseEvent( WXEVENTREF evr ) wxTheApp->s_captureWindow->ScreenToClient( &x , &y ) ; event.m_x = x ; event.m_y = y ; + event.SetEventObject( wxTheApp->s_captureWindow ) ; wxTheApp->s_captureWindow->GetEventHandler()->ProcessEvent( event ) ; if ( ev->what == mouseUp )