wxSetCursorEvent cevent( event.m_x, event.m_y );
if (win->GetEventHandler()->ProcessEvent( cevent ))
{
- // Rewrite cursor handling here (away from idle).
win->SetCursor( cevent.GetCursor() );
}
}
wxSetCursorEvent cevent( event.m_x, event.m_y );
if (win->GetEventHandler()->ProcessEvent( cevent ))
{
- // Rewrite cursor handling here (away from idle).
win->SetCursor( cevent.GetCursor() );
}
}
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();