ime input event windows ok,but macos not can't find event code?

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
dfgkaswkw
In need of some credit
In need of some credit
Posts: 1
Joined: Thu Jun 01, 2023 8:55 am

ime input event windows ok,but macos not can't find event code?

Post by dfgkaswkw »

ime input event windows ok,but macos not can't find event code?
class CFileText_EditCtrl : public wxPanel {
#if _WIN32
WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) override{
if(nMsg == WM_IME_COMPOSITION){
HIMC hImc = ImmGetContext(this->m_hWnd);
ImmGetCompositionString(hImc, GCS_RESULTSTR, str, MAX_PATH)
}
.....
}
#elif __APPLE__
#error can't find ime input event code
#endif
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7449
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: ime input event windows ok,but macos not can't find event code?

Post by ONEEYEMAN »

Hi,
What is the purpose of this code?
Why do you need to invoke it on the panel and on text control?

Thank you.
Post Reply