Misc / Unicode
Francois Gouget
fgouget at free.fr
Mon Feb 5 22:51:45 CST 2001
I noticed a patch that was replacing things like #define xxx L"xxx"
with the declaration of a const array in commctrl.h. So I looked for
similar things and made the corresponding changes.
Changelog:
* include/richedit.h
Declare RICHEDIT_CLASS20W using a WCHAR array
* dlls/shell32/shlview.c
Remove TOOLBAR_ID and WM_SETTINGCHANGE, they are not used
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
We are Pentium of Borg. You will be approximated. Division is futile.
-------------- next part --------------
Index: include/richedit.h
===================================================================
RCS file: /home/cvs/wine/wine/include/richedit.h,v
retrieving revision 1.4
diff -u -r1.4 richedit.h
--- include/richedit.h 2001/01/22 19:25:27 1.4
+++ include/richedit.h 2001/01/29 11:01:27
@@ -15,7 +15,7 @@
#define cchTextLimitDefault 0x7fff
#define RICHEDIT_CLASS20A "RichEdit20A"
-#define RICHEDIT_CLASS20W L"RichEdit20W"
+static const WCHAR RICHEDIT_CLASS20W[] = { 'R','i','c','h','E','d','i','t','2','0','W' };
#define RICHEDIT_CLASS10A "RICHEDIT"
#if (_RICHEDIT_VER >= 0x0200 )
Index: dlls/shell32/shlview.c
===================================================================
RCS file: /home/cvs/wine/wine/dlls/shell32/shlview.c,v
retrieving revision 1.56
diff -u -r1.56 shlview.c
--- dlls/shell32/shlview.c 2000/11/28 22:40:58 1.56
+++ dlls/shell32/shlview.c 2001/01/29 11:01:14
@@ -105,13 +105,11 @@
#define SHV_CHANGE_NOTIFY WM_USER + 0x1111
-#define TOOLBAR_ID (L"SHELLDLL_DefView")
/*windowsx.h */
#define GET_WM_COMMAND_ID(wp, lp) LOWORD(wp)
#define GET_WM_COMMAND_HWND(wp, lp) (HWND)(lp)
#define GET_WM_COMMAND_CMD(wp, lp) HIWORD(wp)
-/* winuser.h */
-#define WM_SETTINGCHANGE WM_WININICHANGE
+
extern void WINAPI _InsertMenuItem (HMENU hmenu, UINT indexMenu, BOOL fByPosition,
UINT wID, UINT fType, LPSTR dwTypeData, UINT fState);
More information about the wine-patches
mailing list