Dylan Smith : wordpad: Use richedit class string macro from public headers.

Alexandre Julliard julliard at winehq.org
Mon Aug 10 10:36:49 CDT 2009


Module: wine
Branch: master
Commit: 0c862dea009a97eb83fb000136042fdd6b9d8c3b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0c862dea009a97eb83fb000136042fdd6b9d8c3b

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Mon Aug 10 10:53:30 2009 -0400

wordpad: Use richedit class string macro from public headers.

---

 programs/wordpad/wordpad.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c
index 022b9b1..80a6a07 100644
--- a/programs/wordpad/wordpad.c
+++ b/programs/wordpad/wordpad.c
@@ -52,7 +52,6 @@
 /* use LoadString */
 static const WCHAR wszAppTitle[] = {'W','i','n','e',' ','W','o','r','d','p','a','d',0};
 
-static const WCHAR wszRichEditClass[] = {'R','I','C','H','E','D','I','T','2','0','W',0};
 static const WCHAR wszMainWndClass[] = {'W','O','R','D','P','A','D','T','O','P',0};
 
 static const WCHAR stringFormat[] = {'%','2','d','\0'};
@@ -1867,7 +1866,7 @@ static LRESULT OnCreate( HWND hWnd )
         PostQuitMessage(1);
     }
 
-    hEditorWnd = CreateWindowExW(WS_EX_CLIENTEDGE, wszRichEditClass, NULL,
+    hEditorWnd = CreateWindowExW(WS_EX_CLIENTEDGE, RICHEDIT_CLASS20W, NULL,
       WS_CHILD|WS_VISIBLE|ES_SELECTIONBAR|ES_MULTILINE|ES_AUTOVSCROLL
       |ES_WANTRETURN|WS_VSCROLL|ES_NOHIDESEL|WS_HSCROLL,
       0, 0, 1000, 100, hWnd, (HMENU)IDC_EDITOR, hInstance, NULL);




More information about the wine-cvs mailing list