git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73636
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
while ( cursorTarget && !cursorTarget->MacSetupCursor( cursorPoint ) )
{
+ // at least in GTK cursor events are not propagated either ...
+#if 1
+ cursorTarget = NULL;
+#else
cursorTarget = cursorTarget->GetParent() ;
if ( cursorTarget )
cursorPoint += cursorTarget->GetPosition();
+#endif
}
return cursorTarget != NULL;
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() )