Opentk/Source/OpenTK/Platform/Windows
Fraser Waters 33c06d4b35 [Win32] Fix leaks in Win32 Cursor property
GetIconInfo
(https://msdn.microsoft.com/en-us/library/windows/desktop/ms648070(v=vs.85).aspx)
creates bitmaps that must be deleted after the call to
CreateIconIndirect, which copies the bitmaps to the icon it creates.

bmpIcon created by Bitmap.GetHicon is now destroyed after being used.

The return value of SetCursor was used to retrieve the last cursor, as
it could have been set by another library (Some UI libraries change the
cursor using the .net Cursor) this could of leaked the cursor we created
and now lost track of. We now delete the handle we had set, not the one
returned by SetCursor.
2015-08-10 21:57:05 +01:00
..
Bindings Add #pragma warning disable for unused field warnings. 2014-11-03 01:39:45 +01:00
API.cs [Win32] Fix leaks in Win32 Cursor property 2015-08-10 21:57:05 +01:00
WglHelper.cs [Win] Fixed warnings 2014-04-26 18:22:50 +02:00
WinDisplayDevice.cs Fixed compilation warnings on Mono 3.4.0 2014-07-21 17:46:39 +02:00
WinFactory.cs [Win] Avoid NRE in WinFactory.Dispose() 2014-09-23 08:55:02 +02:00
WinGLContext.cs [OpenTK] Reduce duplication in GraphicsContextBase 2014-07-23 10:08:57 +02:00
WinGLNative.cs [Win32] Fix leaks in Win32 Cursor property 2015-08-10 21:57:05 +01:00
WinGraphicsMode.cs Fixed compilation warnings on Mono 3.4.0 2014-07-21 17:46:39 +02:00
WinInputBase.cs [Win] Initial implementation of WinRawJoystick 2014-09-11 12:51:46 +02:00
WinKeyMap.cs [Windows] Fix detection of KeyboardDivide key 2015-04-10 23:29:20 +01:00
WinRawInput.cs [Win] Raw input parsing moved to input drivers 2014-09-11 12:51:48 +02:00
WinRawJoystick.cs Remove unused fields/variables. 2014-11-03 01:36:36 +01:00
WinRawKeyboard.cs [Win] Raw input parsing moved to input drivers 2014-09-11 12:51:48 +02:00
WinRawMouse.cs [Win] Raw input parsing moved to input drivers 2014-09-11 12:51:48 +02:00
WinWindowInfo.cs Re-added WindowHandle property 2013-11-13 18:25:49 +01:00
XInputJoystick.cs Fix wrap around bug in XInput. 2015-01-09 12:50:50 +00:00