aboutsummaryrefslogtreecommitdiff
path: root/demos/input_method
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-07 18:39:51 +0800
committercrupest <crupest@outlook.com>2022-05-07 18:39:51 +0800
commita465e2c410c1ae5098d2e073442219bb07a31b9d (patch)
treed60e6692e8dad6d4df2b9709819bf65f0f797422 /demos/input_method
parent23e68dc785d274327efeecb22cfc712c71cfbfc0 (diff)
downloadcru-a465e2c410c1ae5098d2e073442219bb07a31b9d.tar.gz
cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.tar.bz2
cru-a465e2c410c1ae5098d2e073442219bb07a31b9d.zip
...
Diffstat (limited to 'demos/input_method')
-rw-r--r--demos/input_method/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/input_method/main.cpp b/demos/input_method/main.cpp
index 7d55f2db..abbbed2c 100644
--- a/demos/input_method/main.cpp
+++ b/demos/input_method/main.cpp
@@ -99,6 +99,8 @@ int main() {
cursor_lefttop.height},
brush.get());
}
+
+ painter->EndDraw();
});
window->KeyDownEvent()->AddHandler(