Set default class cursor to avoid invalid cursors when entering the window.
This commit is contained in:
parent
f1fc4b5b4e
commit
a7ccef9ae8
1 changed files with 1 additions and 0 deletions
|
@ -546,6 +546,7 @@ namespace OpenTK.Platform.Windows
|
|||
wc.WndProc = WindowProcedureDelegate;
|
||||
wc.ClassName = ClassName;
|
||||
wc.Icon = Icon != null ? Icon.Handle : IntPtr.Zero;
|
||||
wc.Cursor = Functions.LoadCursor(CursorName.Arrow);
|
||||
//wc.Background = Functions.GetStockObject(5);
|
||||
ushort atom = Functions.RegisterClassEx(ref wc);
|
||||
|
||||
|
|
Loading…
Reference in a new issue