git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40952
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxSetCursorEvent cevent( event.m_x, event.m_y );
if (win->GetEventHandler()->ProcessEvent( cevent ))
{
wxSetCursorEvent cevent( event.m_x, event.m_y );
if (win->GetEventHandler()->ProcessEvent( cevent ))
{
- // Rewrite cursor handling here (away from idle).
win->SetCursor( cevent.GetCursor() );
}
}
win->SetCursor( cevent.GetCursor() );
}
}
wxSetCursorEvent cevent( event.m_x, event.m_y );
if (win->GetEventHandler()->ProcessEvent( cevent ))
{
wxSetCursorEvent cevent( event.m_x, event.m_y );
if (win->GetEventHandler()->ProcessEvent( cevent ))
{
- // Rewrite cursor handling here (away from idle).
win->SetCursor( cevent.GetCursor() );
}
}
win->SetCursor( cevent.GetCursor() );
}
}
bool wxWindowGTK::SetCursor( const wxCursor &cursor )
{
bool wxWindowGTK::SetCursor( const wxCursor &cursor )
{
- if ( !wxWindowBase::SetCursor( cursor.Ok() ? cursor : *wxSTANDARD_CURSOR) )
+ if ( !wxWindowBase::SetCursor(cursor.Ok() ? cursor : *wxSTANDARD_CURSOR) )
return false;
GTKUpdateCursor();
return false;
GTKUpdateCursor();