]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/toplevel.cpp
fixed the wrong custom build messages
[wxWidgets.git] / src / mac / toplevel.cpp
index 1c5d96ed76ea25fadf821161f42e04b37f01868b..8db3f7e902143b929de3273c07e21413c9e0cef5 100644 (file)
@@ -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 )