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:
Mariano Reingart
2015-01-19 03:03:59 +00:00
parent c8e56fa2cf
commit e01005e27c

View File

@@ -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 );
}
}