changed Mac Mouse Moved Hysteresis (area in which mouse movements do NOT generate a moved event) to a single point region for platform compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -981,7 +981,7 @@ void wxApp::MacDoOneEvent()
|
||||
wxTheApp->ProcessIdle() ;
|
||||
}
|
||||
if ( event.what != kHighLevelEvent )
|
||||
SetRectRgn( s_macCursorRgn , event.where.h - 1 , event.where.v - 1, event.where.h + 1 , event.where.v + 1 ) ;
|
||||
SetRectRgn( s_macCursorRgn , event.where.h , event.where.v , event.where.h + 1 , event.where.v + 1 ) ;
|
||||
|
||||
// repeaters
|
||||
|
||||
|
@@ -981,7 +981,7 @@ void wxApp::MacDoOneEvent()
|
||||
wxTheApp->ProcessIdle() ;
|
||||
}
|
||||
if ( event.what != kHighLevelEvent )
|
||||
SetRectRgn( s_macCursorRgn , event.where.h - 1 , event.where.v - 1, event.where.h + 1 , event.where.v + 1 ) ;
|
||||
SetRectRgn( s_macCursorRgn , event.where.h , event.where.v , event.where.h + 1 , event.where.v + 1 ) ;
|
||||
|
||||
// repeaters
|
||||
|
||||
|
Reference in New Issue
Block a user