]> git.saurik.com Git - wxWidgets.git/commitdiff
wxEVT_MOUSEWHEEL is always defined, no #if needed
authorRobin Dunn <robin@alldunn.com>
Fri, 28 Jan 2005 16:38:06 +0000 (16:38 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 28 Jan 2005 16:38:06 +0000 (16:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index bb0b69bc1b47eda01bb178e6edf4c88039cee938..def1d4591a4c89bed1d9b70936fe79d10bf7ccfb 100644 (file)
@@ -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;