summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/controls/textfield/native_textfield_win.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/controls/textfield/native_textfield_win.cc b/views/controls/textfield/native_textfield_win.cc
index 2010a7c..279777f 100644
--- a/views/controls/textfield/native_textfield_win.cc
+++ b/views/controls/textfield/native_textfield_win.cc
@@ -900,10 +900,13 @@ void NativeTextfieldWin::HandleKeystroke(UINT message,
Event::EventType type;
switch (message) {
case WM_KEYDOWN:
+ case WM_SYSKEYDOWN:
case WM_CHAR:
+ case WM_SYSCHAR:
type = Event::ET_KEY_PRESSED;
break;
case WM_KEYUP:
+ case WM_SYSKEYUP:
type = Event::ET_KEY_RELEASED;
break;
default: