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:
@@ -137,10 +137,13 @@ bool wxVarScrollHelperEvtHandler::ProcessEvent(wxEvent& event)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if wxUSE_MOUSEWHEEL
|
#if wxUSE_MOUSEWHEEL
|
||||||
|
// Use GTK's own scroll wheel handling in GtkScrolledWindow
|
||||||
|
#ifndef __WXGTK20__
|
||||||
else if ( evType == wxEVT_MOUSEWHEEL )
|
else if ( evType == wxEVT_MOUSEWHEEL )
|
||||||
{
|
{
|
||||||
m_scrollHelper->HandleOnMouseWheel((wxMouseEvent &)event);
|
m_scrollHelper->HandleOnMouseWheel((wxMouseEvent &)event);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif // wxUSE_MOUSEWHEEL
|
#endif // wxUSE_MOUSEWHEEL
|
||||||
else if ( evType == wxEVT_CHAR &&
|
else if ( evType == wxEVT_CHAR &&
|
||||||
(m_scrollHelper->GetOrientation() == wxVERTICAL) )
|
(m_scrollHelper->GetOrientation() == wxVERTICAL) )
|
||||||
|
Reference in New Issue
Block a user