Convert MessageBox family functions to unicode
Dmitry Timoshkov
dmitry at baikal.ru
Sat Oct 19 21:15:19 CDT 2002
Hello.
Changelog:
Actually use language identifier.
--- cvs/hq/wine/windows/msgbox.c Sun Oct 20 11:08:07 2002
+++ wine/windows/msgbox.c Sun Oct 20 11:08:29 2002
@@ -427,7 +427,7 @@
HMODULE hUser32 = GetModuleHandleA("user32.dll");
static const WCHAR msg_box_res_nameW[] = { 'M','S','G','B','O','X',0 };
- if (!(hRes = FindResourceW(hUser32, msg_box_res_nameW, RT_DIALOGW)))
+ if (!(hRes = FindResourceExW(hUser32, msg_box_res_nameW, RT_DIALOGW, msgbox->dwLanguageId)))
return 0;
if (!(tmplate = (LPVOID)LoadResource(hUser32, hRes)))
return 0;
More information about the wine-patches
mailing list