]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/window_osx.cpp
trying to solve cursor update problems with AUI, refs #15072
[wxWidgets.git] / src / osx / window_osx.cpp
index 7fd9f067d95a2537e3d709688b5062669d085148..d7ef17acce5cb39ae1806f35152d747c74b49a15 100644 (file)
@@ -1814,6 +1814,8 @@ bool wxWindowMac::MacSetupCursor( const wxPoint& pt )
     if ( wxRect2DInt( clientorigin.x , clientorigin.y , clientsize.x , clientsize.y ).Contains( wxPoint2DInt( pt ) ) )
     {
         wxSetCursorEvent event( pt.x , pt.y );
+        event.SetId(GetId());
+        event.SetEventObject(this);
 
         bool processedEvtSetCursor = HandleWindowEvent(event);
         if ( processedEvtSetCursor && event.HasCursor() )