Richedit classes should be global.

This commit is contained in:
Robert Shearman 2005-06-13 10:01:32 +00:00 committed by Alexandre Julliard
parent 4fee52683b
commit 65284aab20
1 changed files with 2 additions and 2 deletions

View File

@ -1479,7 +1479,7 @@ void ME_RegisterEditorClass(HINSTANCE hInstance)
WNDCLASSW wcW; WNDCLASSW wcW;
WNDCLASSA wcA; WNDCLASSA wcA;
wcW.style = CS_HREDRAW | CS_VREDRAW; wcW.style = CS_HREDRAW | CS_VREDRAW | CS_GLOBALCLASS;
wcW.lpfnWndProc = RichEditANSIWndProc; wcW.lpfnWndProc = RichEditANSIWndProc;
wcW.cbClsExtra = 0; wcW.cbClsExtra = 0;
wcW.cbWndExtra = 4; wcW.cbWndExtra = 4;
@ -1495,7 +1495,7 @@ void ME_RegisterEditorClass(HINSTANCE hInstance)
bResult = RegisterClassW(&wcW); bResult = RegisterClassW(&wcW);
assert(bResult); assert(bResult);
wcA.style = CS_HREDRAW | CS_VREDRAW; wcA.style = CS_HREDRAW | CS_VREDRAW | CS_GLOBALCLASS;
wcA.lpfnWndProc = RichEditANSIWndProc; wcA.lpfnWndProc = RichEditANSIWndProc;
wcA.cbClsExtra = 0; wcA.cbClsExtra = 0;
wcA.cbWndExtra = 4; wcA.cbWndExtra = 4;