git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26281
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
processed = HandleNotify((int)wParam, lParam, &rc.result);
break;
processed = HandleNotify((int)wParam, lParam, &rc.result);
break;
+ // we only need to reply to WM_NOTIFYFORMAT manually when using MSLU,
+ // otherwise DefWindowProc() does it perfectly fine for us, but MSLU
+ // apparently doesn't always behave properly and needs some help
+#if wxUSE_UNICODE_MSLU && defined(NF_QUERY)
+ case WM_NOTIFYFORMAT:
+ if ( lParam == NF_QUERY )
+ {
+ processed = true;
+ rc.result = NFR_UNICODE;
+ }
+ break;
+#endif // wxUSE_UNICODE_MSLU
+
// for these messages we must return true if process the message
#ifdef WM_DRAWITEM
case WM_DRAWITEM:
// for these messages we must return true if process the message
#ifdef WM_DRAWITEM
case WM_DRAWITEM: