Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31646/include
Modified Files:
strutil.h
Log Message:
use wxConvUTF7 for recent wx; unfortunately had to duplicate code a bit
Index: strutil.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/strutil.h,v
retrieving revision 1.74
retrieving revision 1.75
diff -b -u -2 -r1.74 -r1.75
--- strutil.h 22 Sep 2004 22:03:27 -0000 1.74
+++ strutil.h 22 Mar 2005 01:42:07 -0000 1.75
@@ -342,5 +342,5 @@
/**
- Try to convert text in UTF-8 or 7 to a multibye encoding.
+ Try to convert text in UTF-8 or 7 to a multibyte encoding.
The conversion is done in place, i.e. the str parameter is read and written
@@ -357,6 +357,6 @@
@return the encoding of the returned string
*/
-extern wxFontEncoding
-ConvertUTFToMB(wxString *str, wxFontEncoding utfEnc = wxFONTENCODING_UTF8);
+extern wxFontEncoding ConvertUTFToMB(wxString *str, wxFontEncoding utfEnc);
+extern wxFontEncoding ConvertUTF8ToMB(wxString *str);
// return the length of the line terminator if we're at the end of line or 0
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates