comparison src/glbl_ime.cpp @ 16196:973070a30381 v8.1.1103

patch 8.1.1103: MS-Windows: old API calls are no longer needed commit https://github.com/vim/vim/commit/0eb035c974c47e65d32439b48e5a056b370ad429 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 2 22:15:55 2019 +0200 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 https://github.com/vim/vim/issues/4199)
author Bram Moolenaar <Bram@vim.org>
date Tue, 02 Apr 2019 22:30:04 +0200
parents 7fad90423bd2
children
comparison
equal deleted inserted replaced
16195:4d55a37f8b1b 16196:973070a30381
131 { 131 {
132 LRESULT lResult; 132 LRESULT lResult;
133 133
134 if (pIApp == NULL || pIApp->OnDefWindowProc(hWnd, Msg, 134 if (pIApp == NULL || pIApp->OnDefWindowProc(hWnd, Msg,
135 wParam, lParam, &lResult) != S_OK) 135 wParam, lParam, &lResult) != S_OK)
136 { 136 lResult = DefWindowProcW(hWnd, Msg, wParam, lParam);
137 #if defined(MSWIN)
138 if (wide_WindowProc)
139 lResult = DefWindowProcW(hWnd, Msg, wParam, lParam);
140 else
141 #endif
142 lResult = DefWindowProc(hWnd, Msg, wParam, lParam);
143 }
144 return lResult; 137 return lResult;
145 } 138 }
146 139
147 /* 140 /*
148 * Replace with TranslateMessage() 141 * Replace with TranslateMessage()