http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d136f0
)
Register the IME class when imm32.dll is loaded.
author
Ivan Leo Puoti
<puoti@inwind.it>
Mon, 6 Dec 2004 20:39:07 +0000
(20:39 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 6 Dec 2004 20:39:07 +0000
(20:39 +0000)
dlls/imm32/imm.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/imm32/imm.c
b/dlls/imm32/imm.c
index 1749db4f0b70f148ce89eadc518aea458643df82..0267a443cade28b88a6335d96a8de6ef692ee01f 100644
(file)
--- a/
dlls/imm32/imm.c
+++ b/
dlls/imm32/imm.c
@@
-142,6
+142,7
@@
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved)
IMM_RegisterMessages();
x11drv = GetModuleHandleA("x11drv.dll");
if (x11drv) pX11DRV_ForceXIMReset = (void *)GetProcAddress( x11drv, "ForceXIMReset");
+ IMM_Register();
break;
case DLL_PROCESS_DETACH:
if (hwndDefault)
@@
-735,7
+736,6
@@
HWND WINAPI ImmGetDefaultIMEWnd(HWND hWnd)
{
static const WCHAR the_name[] = {'I','M','E','\0'};
- IMM_Register();
hwndDefault = CreateWindowExW( WS_EX_CLIENTEDGE, WC_IMECLASSNAME,
the_name, WS_POPUPWINDOW|WS_CAPTION, 0, 0, 120, 55, 0, 0,
hImeInst, 0);