patch 8.1.1103: MS-Windows: old API calls are no longer needed
Problem: MS-Windows: old API calls are no longer needed.
Solution: Always use the wide functions. (Ken Takata, closes #4199)
diff --git a/src/glbl_ime.cpp b/src/glbl_ime.cpp
index 1661990..6fd84ec 100644
--- a/src/glbl_ime.cpp
+++ b/src/glbl_ime.cpp
@@ -133,14 +133,7 @@
if (pIApp == NULL || pIApp->OnDefWindowProc(hWnd, Msg,
wParam, lParam, &lResult) != S_OK)
- {
-#if defined(MSWIN)
- if (wide_WindowProc)
- lResult = DefWindowProcW(hWnd, Msg, wParam, lParam);
- else
-#endif
- lResult = DefWindowProc(hWnd, Msg, wParam, lParam);
- }
+ lResult = DefWindowProcW(hWnd, Msg, wParam, lParam);
return lResult;
}