forked from aniani/vim
updated for version 7.3.277
Problem: MS-Windows: some characters do not show in dialogs. Solution: Use the wide methods when available. (Yanwei Jia)
This commit is contained in:
@@ -1856,12 +1856,12 @@ AbortProc(HDC hdcPrn, int iCode)
|
||||
{
|
||||
MSG msg;
|
||||
|
||||
while (!*bUserAbort && PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
||||
while (!*bUserAbort && pPeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
||||
{
|
||||
if (!hDlgPrint || !IsDialogMessage(hDlgPrint, &msg))
|
||||
if (!hDlgPrint || !pIsDialogMessage(hDlgPrint, &msg))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
pDispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
return !*bUserAbort;
|
||||
@@ -3132,10 +3132,10 @@ serverProcessPendingMessages(void)
|
||||
{
|
||||
MSG msg;
|
||||
|
||||
while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
||||
while (pPeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
pDispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user