Disable handling of wxEVT_MOUSEWHEEL in wxVarScrollHelperEvtHandler in wxGTK.
Just for consistency with wxScrollHelperBase, not really sure what problem exactly does this solve. See #15357. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4706252347
commit
39c0d6d6b6
@ -137,10 +137,13 @@ bool wxVarScrollHelperEvtHandler::ProcessEvent(wxEvent& event)
|
||||
}
|
||||
}
|
||||
#if wxUSE_MOUSEWHEEL
|
||||
// Use GTK's own scroll wheel handling in GtkScrolledWindow
|
||||
#ifndef __WXGTK20__
|
||||
else if ( evType == wxEVT_MOUSEWHEEL )
|
||||
{
|
||||
m_scrollHelper->HandleOnMouseWheel((wxMouseEvent &)event);
|
||||
}
|
||||
#endif
|
||||
#endif // wxUSE_MOUSEWHEEL
|
||||
else if ( evType == wxEVT_CHAR &&
|
||||
(m_scrollHelper->GetOrientation() == wxVERTICAL) )
|
||||
|
Loading…
Reference in New Issue
Block a user