wxRichTextCtrl is funky when inputting Japanese characters using input method

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
beneficii
Earned some good credits
Earned some good credits
Posts: 111
Joined: Fri Nov 27, 2009 2:49 am

wxRichTextCtrl is funky when inputting Japanese characters using input method

Post by beneficii » Fri Feb 08, 2019 5:50 am

I'm using Windows 10 Home 64-bit, and normally when I enter Japanese characters in a textbox, it works like this:
スクリーンショット (5).png
As you type it and the suggestions pop up, the text you're typing (underlined with a wavy green line) is inside the textbox.

But with wxRichTextCtrl, when you're typing it in, it doesn't appear in the textbox; instead it appears way up on the upper left-hand corner of the screen. This happened as I typed in the wxRichTextCtrl which is in the small window in the middle of the screen:
スクリーンショット (7).png
What is causing this, and how can I fix it?

Post Reply