comparison src/os_mswin.c @ 3010:e5b17a5f6516 v7.3.277

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)
author Bram Moolenaar <bram@vim.org>
date Wed, 10 Aug 2011 17:08:03 +0200
parents 4e21fd3cfc30
children 38a7fd904347
comparison
equal deleted inserted replaced
3009:3db29c251bb7 3010:e5b17a5f6516
1854 static BOOL CALLBACK 1854 static BOOL CALLBACK
1855 AbortProc(HDC hdcPrn, int iCode) 1855 AbortProc(HDC hdcPrn, int iCode)
1856 { 1856 {
1857 MSG msg; 1857 MSG msg;
1858 1858
1859 while (!*bUserAbort && PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) 1859 while (!*bUserAbort && pPeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
1860 { 1860 {
1861 if (!hDlgPrint || !IsDialogMessage(hDlgPrint, &msg)) 1861 if (!hDlgPrint || !pIsDialogMessage(hDlgPrint, &msg))
1862 { 1862 {
1863 TranslateMessage(&msg); 1863 TranslateMessage(&msg);
1864 DispatchMessage(&msg); 1864 pDispatchMessage(&msg);
1865 } 1865 }
1866 } 1866 }
1867 return !*bUserAbort; 1867 return !*bUserAbort;
1868 } 1868 }
1869 1869
3130 void 3130 void
3131 serverProcessPendingMessages(void) 3131 serverProcessPendingMessages(void)
3132 { 3132 {
3133 MSG msg; 3133 MSG msg;
3134 3134
3135 while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE)) 3135 while (pPeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
3136 { 3136 {
3137 TranslateMessage(&msg); 3137 TranslateMessage(&msg);
3138 DispatchMessage(&msg); 3138 pDispatchMessage(&msg);
3139 } 3139 }
3140 } 3140 }
3141 3141
3142 #endif /* FEAT_CLIENTSERVER */ 3142 #endif /* FEAT_CLIENTSERVER */
3143 3143