Respond to WM_SETCURSOR messages.
authorFraser <frassle@gmail.com>
Fri, 21 Feb 2014 19:46:13 +0000 (19:46 +0000)
committerthefiddler <stapostol@gmail.com>
Sun, 27 Apr 2014 08:53:33 +0000 (10:53 +0200)
commit10112da9764f80cef4d6e021aa72f1b2034c232f
tree9a8c2ec26362ac6d0cc4e106a6dc89d0aa716d7e
parent251a6e813eddb8bb49f6cc40c58106a26a07d89f
Respond to WM_SETCURSOR messages.

Calling SetCursor on mouse moves is not enough, we need to respond to
SETCURSOR messages. If we have a custom cursor we need to call SetCursor
and then NOT call DefWindowProc, otherwise we just call DefWindowProc
for the forms default cursor.
Source/OpenTK/Platform/Windows/WinGLNative.cs