Fix problem with scrollbar events in wxQT
the local variable event shadowed the parameter which caused the incorrect value to be sent Thanks @seandepagnier git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -607,8 +607,8 @@ void wxWindowQt::QtOnScrollBarEvent( wxScrollEvent& event )
|
||||
|
||||
if ( windowEventType != 0 )
|
||||
{
|
||||
wxScrollWinEvent event( windowEventType, event.GetPosition(), event.GetOrientation() );
|
||||
ProcessWindowEvent( event );
|
||||
wxScrollWinEvent e( windowEventType, event.GetPosition(), event.GetOrientation() );
|
||||
ProcessWindowEvent( e );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user