]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/event.cpp
Define wxEntry() with WinMain-compatible signature for all Windows ports.
[wxWidgets.git] / src / common / event.cpp
index ce1e145c79fe1fa53133b4a975af7d5a60083a13..59f6bc004a03e635d88a36949f45d6c2e388dcda 100644 (file)
@@ -554,10 +554,10 @@ wxMouseEvent::wxMouseEvent(wxEventType commandType)
 
     m_clickCount = -1;
 
+    m_wheelAxis = wxMOUSE_WHEEL_VERTICAL;
     m_wheelRotation = 0;
     m_wheelDelta = 0;
     m_linesPerAction = 0;
-    m_wheelAxis = 0;
 }
 
 void wxMouseEvent::Assign(const wxMouseEvent& event)
@@ -1162,6 +1162,8 @@ wxEventFilter* wxEvtHandler::ms_filterList = NULL;
             // Skip the assert below.
             return;
         }
+
+        prev = f;
     }
 
     wxFAIL_MSG( "Filter not found" );