From 3e172c2019dcec3e589c58c3c0290f9641400bae Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 28 Jan 2005 16:38:06 +0000 Subject: [PATCH] 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 --- src/generic/listctrl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index bb0b69bc1b..def1d4591a 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2874,14 +2874,12 @@ void wxListMainWindow::OnMouse( wxMouseEvent &event ) if ( GetParent()->GetEventHandler()->ProcessEvent( event) ) return; -#if wxUSE_MOUSEWHEEL if (event.GetEventType() == wxEVT_MOUSEWHEEL) { // let the base handle mouse wheel events. event.Skip(); return; } -#endif if ( !HasCurrent() || IsEmpty() ) return; -- 2.45.2