Browse Source

[WindowsDriver] Fix the EventType type

miguel 7 years ago
parent
commit
aa2ffb06ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/Drivers/WindowsDriver.cs

+ 1 - 1
Terminal.Gui/Drivers/WindowsDriver.cs

@@ -221,7 +221,7 @@ namespace Terminal.Gui {
 			public uint bSetFocus;
 		}
 
-		public enum EventType {
+		public enum EventType : ushort {
 			Focus = 0x10,
 			Key = 0x1,
 			Menu = 0x8,