From c41e7e63a3d0a4ebe90a536d4c7e7956a3581f02 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 12 Sep 2020 00:53:51 +0800 Subject: ... --- demos/input_method/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos') diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp index 215eba16..bff0e1d3 100644 --- a/demos/input_method/main.cpp +++ b/demos/input_method/main.cpp @@ -102,7 +102,7 @@ int main() { window->KeyDownEvent()->AddHandler( [&input_method_context](const NativeKeyEventArgs& args) { - if (args.modifier & key_modifiers::alt) { + if (args.modifier & KeyModifiers::alt) { switch (args.key) { case KeyCode::F1: input_method_context->EnableIME(); -- cgit v1.2.3