[PATCH 14/18] [Include]: added msftedit support in richedit.h

Eric Pouech eric.pouech at orange.fr
Sun Mar 16 15:47:49 CDT 2008




A+
---

 include/richedit.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)


diff --git a/include/richedit.h b/include/richedit.h
index cb278f6..3213a75 100644
--- a/include/richedit.h
+++ b/include/richedit.h
@@ -32,6 +32,14 @@ extern "C" {
 
 #define cchTextLimitDefault 0x7fff
 
+#if defined(__GNUC__)
+# define MSFTEDIT_CLASS (const WCHAR []){ 'R','i','c','h','E','d','i','t','5','0','W',0 }
+#elif defined(_MSC_VER)
+# define MSFTEDIT_CLASS L"RichEdit50W"
+#else
+static const WCHAR MSFTEDIT_CLASS[] = { 'R','i','c','h','E','d','i','t','5','0','W',0 };
+#endif
+
 #define RICHEDIT_CLASS20A	"RichEdit20A"
 #if defined(__GNUC__)
 # define RICHEDIT_CLASS20W (const WCHAR []){ 'R','i','c','h','E','d','i','t','2','0','W',0 }





More information about the wine-patches mailing list