wxEVT_MOUSEWHEEL is always defined, no #if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2874,14 +2874,12 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event )
|
|||||||
if ( GetParent()->GetEventHandler()->ProcessEvent( event) )
|
if ( GetParent()->GetEventHandler()->ProcessEvent( event) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#if wxUSE_MOUSEWHEEL
|
|
||||||
if (event.GetEventType() == wxEVT_MOUSEWHEEL)
|
if (event.GetEventType() == wxEVT_MOUSEWHEEL)
|
||||||
{
|
{
|
||||||
// let the base handle mouse wheel events.
|
// let the base handle mouse wheel events.
|
||||||
event.Skip();
|
event.Skip();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
if ( !HasCurrent() || IsEmpty() )
|
if ( !HasCurrent() || IsEmpty() )
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user