diff options
author | crupest <crupest@outlook.com> | 2020-04-21 17:08:43 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-04-21 17:08:43 +0800 |
commit | 2898b68fc4f7ff40844ddf5a1d0b59f76b06290f (patch) | |
tree | 167ba0bff2d995a6f68337bb83cc9e3648dc720a /demos/input_method/main.cpp | |
parent | 857adcb7ee2d45b2e29d4250fa4246bb8861a8f9 (diff) | |
download | cru-2898b68fc4f7ff40844ddf5a1d0b59f76b06290f.tar.gz cru-2898b68fc4f7ff40844ddf5a1d0b59f76b06290f.tar.bz2 cru-2898b68fc4f7ff40844ddf5a1d0b59f76b06290f.zip |
...
Diffstat (limited to 'demos/input_method/main.cpp')
-rw-r--r-- | demos/input_method/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp index 01a1a695..ce96a8c1 100644 --- a/demos/input_method/main.cpp +++ b/demos/input_method/main.cpp @@ -111,7 +111,7 @@ int main() { } }); - window->CharEvent()->AddHandler( + input_method_context->TextEvent()->AddHandler( [window, &committed_text](const std::string_view& c) { committed_text += c; window->RequestRepaint(); |