diff options
Diffstat (limited to 'ui/events/event.h')
-rw-r--r-- | ui/events/event.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ui/events/event.h b/ui/events/event.h index 51d73f8..17cad8b 100644 --- a/ui/events/event.h +++ b/ui/events/event.h @@ -416,11 +416,9 @@ class EVENTS_EXPORT MouseWheelEvent : public MouseEvent { template <class T> MouseWheelEvent(const MouseWheelEvent& model, T* source, - T* target, - EventType type, - int flags) - : MouseEvent(model, source, target, type, flags), - offset_(model.x_offset(), model.y_offset()){ + T* target) + : MouseEvent(model, source, target, model.type(), model.flags()), + offset_(model.x_offset(), model.y_offset()) { } // The amount to scroll. This is in multiples of kWheelDelta. |