From 96aaec9dea2d2b03ef88ef8c83a32ec26d307fca Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Mon, 7 Sep 2015 17:49:07 +1000 Subject: [PATCH] We have to actually indicate that we handled MouseWheel window message, fixes #57. --- OpenTK/Platform/Windows/WinGLNative.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenTK/Platform/Windows/WinGLNative.cs b/OpenTK/Platform/Windows/WinGLNative.cs index 689148d33..b3e1bed2a 100644 --- a/OpenTK/Platform/Windows/WinGLNative.cs +++ b/OpenTK/Platform/Windows/WinGLNative.cs @@ -212,7 +212,7 @@ namespace OpenTK.Platform.Windows // This is due to inconsistent behavior of the WParam value on 64bit arch, whese // wparam = 0xffffffffff880000 or wparam = 0x00000000ff100000 mouse.WheelPrecise += ((long)wParam << 32 >> 48) / 120.0f; - break; + return IntPtr.Zero; case WindowMessage.LBUTTONDOWN: mouse[MouseButton.Left] = true;