]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/window.cpp
Made OnInit() and OnRun() logic like MSW when it
[wxWidgets.git] / src / mac / window.cpp
index fd36642550f9751c6951f1ce355407c378a3077a..9d9fdb5cc6e1a2208b6bf25cb708a92df80dd327 100644 (file)
@@ -1417,6 +1417,7 @@ bool wxWindowMac::MacDispatchMouseEvent(wxMouseEvent& event)
 
     event.m_x = x ;
     event.m_y = y ;
 
     event.m_x = x ;
     event.m_y = y ;
+    event.SetEventObject( this ) ;
     
     if ( wxBusyCursorCount == 0 )
     {
     
     if ( wxBusyCursorCount == 0 )
     {