Update of /cvsroot/mahogany/M/include/adb
In directory sc8-pr-cvs1:/tmp/cvs-serv6042/include/adb
Modified Files:
AdbModule.h
Log Message:
unicode fixes
Index: AdbModule.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/adb/AdbModule.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -u -2 -r1.9 -r1.10
--- AdbModule.h 22 Jul 2003 22:01:38 -0000 1.9
+++ AdbModule.h 12 Oct 2003 22:03:37 -0000 1.10
@@ -120,11 +120,11 @@
// author - the module author/copyright string
#define IMPLEMENT_ADB_MODULE(modint, cname, desc, format, Author) \
- MMODULE_BEGIN_IMPLEMENT(cname, #cname, modint, "", "1.00") \
- MMODULE_PROP("author", Author) \
- MMODULE_PROP("adbformat", format) \
+ MMODULE_BEGIN_IMPLEMENT(cname, _T(#cname), modint, _T(""), _T("1.00")) \
+ MMODULE_PROP(_T("author"), Author) \
+ MMODULE_PROP(_T("adbformat"), format) \
MMODULE_END_IMPLEMENT(cname) \
const wxChar *cname::GetFormatDesc() const \
{ \
- return GetMModuleProperty(ms_properties, "adbformat"); \
+ return GetMModuleProperty(ms_properties, _T("adbformat")); \
} \
MModule *cname::Init(int /* version_major */, \
@@ -146,5 +146,5 @@
#define IMPLEMENT_ADB_MODULE(modint, name, desc, format, author) \
- const wxChar *name::GetName() const { return #name; } \
+ const wxChar *name::GetName() const { return _T(#name); } \
const wxChar *name::GetFormatDesc() const { return _(format); } \
const wxChar *name::GetDescription() const { return _(desc); } \
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates