From 2898b68fc4f7ff40844ddf5a1d0b59f76b06290f Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 21 Apr 2020 17:08:43 +0800 Subject: ... --- include/cru/win/native/window.hpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/cru/win/native/window.hpp') diff --git a/include/cru/win/native/window.hpp b/include/cru/win/native/window.hpp index 83497fa6..59b38ab5 100644 --- a/include/cru/win/native/window.hpp +++ b/include/cru/win/native/window.hpp @@ -72,7 +72,6 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow { IEvent* KeyUpEvent() override { return &key_up_event_; } - IEvent* CharEvent() override { return &char_event_; }; IEvent* NativeMessageEvent() { return &native_message_event_; @@ -109,7 +108,6 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow { void OnMouseWheelInternal(short delta, POINT point); void OnKeyDownInternal(int virtual_code); void OnKeyUpInternal(int virtual_code); - void OnCharInternal(wchar_t c); void OnActivatedInternal(); void OnDeactivatedInternal(); @@ -146,14 +144,8 @@ class WinNativeWindow : public WinNativeResource, public virtual INativeWindow { Event mouse_up_event_; Event key_down_event_; Event key_up_event_; - Event char_event_; Event native_message_event_; - - // WM_CHAR may be sent twice successively with two utf-16 code units of - // surrogate pair when character is from supplementary planes. This field is - // used to save the previous one. - wchar_t last_wm_char_event_wparam_; }; class WinNativeWindowResolver : public WinNativeResource, -- cgit v1.2.3