diff options
Diffstat (limited to 'include/cru/ui/window.hpp')
-rw-r--r-- | include/cru/ui/window.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/cru/ui/window.hpp b/include/cru/ui/window.hpp index ae54d006..86112189 100644 --- a/include/cru/ui/window.hpp +++ b/include/cru/ui/window.hpp @@ -94,8 +94,9 @@ class Window final : public ContentControl, public SelfResolvable<Window> { const platform::native::NativeMouseButtonEventArgs& args); void OnNativeKeyDown(platform::native::INativeWindow* window, - int virtual_code); - void OnNativeKeyUp(platform::native::INativeWindow* window, int virtual_code); + const platform::native::NativeKeyEventArgs& args); + void OnNativeKeyUp(platform::native::INativeWindow* window, + const platform::native::NativeKeyEventArgs& args); void OnNativeChar(platform::native::INativeWindow* window, std::string c); //*************** region: event dispatcher helper *************** |