From 65284aab208f985515bc9a74db2de26c774fc3c8 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Mon, 13 Jun 2005 10:01:32 +0000 Subject: [PATCH] Richedit classes should be global. --- dlls/riched20/editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c index 4d8717c36ef..1ead8f8827b 100644 --- a/dlls/riched20/editor.c +++ b/dlls/riched20/editor.c @@ -1479,7 +1479,7 @@ void ME_RegisterEditorClass(HINSTANCE hInstance) WNDCLASSW wcW; WNDCLASSA wcA; - wcW.style = CS_HREDRAW | CS_VREDRAW; + wcW.style = CS_HREDRAW | CS_VREDRAW | CS_GLOBALCLASS; wcW.lpfnWndProc = RichEditANSIWndProc; wcW.cbClsExtra = 0; wcW.cbWndExtra = 4; @@ -1495,7 +1495,7 @@ void ME_RegisterEditorClass(HINSTANCE hInstance) bResult = RegisterClassW(&wcW); assert(bResult); - wcA.style = CS_HREDRAW | CS_VREDRAW; + wcA.style = CS_HREDRAW | CS_VREDRAW | CS_GLOBALCLASS; wcA.lpfnWndProc = RichEditANSIWndProc; wcA.cbClsExtra = 0; wcA.cbWndExtra = 4;