Fix pressing alt + [numpad numbers] raising OnKeyPress with '?'
This commit is contained in:
parent
f505808c8b
commit
f17fa4bc2d
1 changed files with 3 additions and 3 deletions
|
@ -354,7 +354,7 @@ namespace OpenTK.Platform.Windows
|
|||
/// To get extended error information, call GetLastError.
|
||||
/// </returns>
|
||||
[System.Security.SuppressUnmanagedCodeSecurity]
|
||||
[DllImport("User32.dll"), CLSCompliant(false)]
|
||||
[DllImport("User32.dll", CharSet = CharSet.Auto), CLSCompliant(false)]
|
||||
//[return: MarshalAs(UnmanagedType.Bool)]
|
||||
internal static extern INT GetMessage(ref MSG msg,
|
||||
IntPtr windowHandle, int messageFilterMin, int messageFilterMax);
|
||||
|
@ -388,11 +388,11 @@ namespace OpenTK.Platform.Windows
|
|||
internal static extern void PostQuitMessage(int exitCode);
|
||||
|
||||
[SuppressUnmanagedCodeSecurity]
|
||||
[DllImport("User32.dll"), CLSCompliant(false)]
|
||||
[DllImport("User32.dll", CharSet = CharSet.Auto), CLSCompliant(false)]
|
||||
internal static extern LRESULT DispatchMessage(ref MSG msg);
|
||||
|
||||
[SuppressUnmanagedCodeSecurity]
|
||||
[DllImport("User32.dll"), CLSCompliant(false)]
|
||||
[DllImport("User32.dll", CharSet = CharSet.Auto), CLSCompliant(false)]
|
||||
internal static extern BOOL TranslateMessage(ref MSG lpMsg);
|
||||
|
||||
/// <summary>
|
||||
|
|
Loading…
Reference in a new issue