no changes, just remove comments which don't make sense any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1728,7 +1728,6 @@ gtk_window_motion_notify_callback( GtkWidget *widget,
|
|||||||
wxSetCursorEvent cevent( event.m_x, event.m_y );
|
wxSetCursorEvent cevent( event.m_x, event.m_y );
|
||||||
if (win->GetEventHandler()->ProcessEvent( cevent ))
|
if (win->GetEventHandler()->ProcessEvent( cevent ))
|
||||||
{
|
{
|
||||||
// Rewrite cursor handling here (away from idle).
|
|
||||||
win->SetCursor( cevent.GetCursor() );
|
win->SetCursor( cevent.GetCursor() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1944,7 +1943,6 @@ gtk_window_enter_callback( GtkWidget *widget,
|
|||||||
wxSetCursorEvent cevent( event.m_x, event.m_y );
|
wxSetCursorEvent cevent( event.m_x, event.m_y );
|
||||||
if (win->GetEventHandler()->ProcessEvent( cevent ))
|
if (win->GetEventHandler()->ProcessEvent( cevent ))
|
||||||
{
|
{
|
||||||
// Rewrite cursor handling here (away from idle).
|
|
||||||
win->SetCursor( cevent.GetCursor() );
|
win->SetCursor( cevent.GetCursor() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3534,7 +3532,7 @@ void wxWindowGTK::Lower()
|
|||||||
|
|
||||||
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;
|
return false;
|
||||||
|
|
||||||
GTKUpdateCursor();
|
GTKUpdateCursor();
|
||||||
|
Reference in New Issue
Block a user