Let GtkScrolledWindow handle scroll wheel events.
Reset visible range in wxListCtrl after scrolling. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -277,10 +277,14 @@ bool wxScrollHelperEvtHandler::ProcessEvent(wxEvent& event)
|
||||
m_scrollHelper->HandleOnMouseLeave((wxMouseEvent &)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);
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
#endif // wxUSE_MOUSEWHEEL
|
||||
else if ( evType == wxEVT_CHAR )
|
||||
{
|
||||
|
Reference in New Issue
Block a user