From a465e2c410c1ae5098d2e073442219bb07a31b9d Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 7 May 2022 18:39:51 +0800 Subject: ... --- demos/input_method/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demos/input_method/main.cpp') 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( -- cgit v1.2.3