Update of /cvsroot/mahogany/M/include/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3204/include/gui

Modified Files:
        wxComposeView.h 
Log Message:
set the internal editor encoding to be the same used by the viewer, not UTF-8, for 
Unicode messages

Index: wxComposeView.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxComposeView.h,v
retrieving revision 1.98
retrieving revision 1.99
diff -b -u -2 -r1.98 -r1.99
--- wxComposeView.h     16 Jul 2004 22:42:00 -0000      1.98
+++ wxComposeView.h     28 Sep 2004 10:36:02 -0000      1.99
@@ -296,9 +296,15 @@
    void DoInsertAttachment(EditorContentPart *mc, const wxChar *mimetype);
 
-   /// set encoding to use
-   void SetEncoding(wxFontEncoding encoding);
+   /// set encoding to use and pass it on to composer (by default same one)
+   void SetEncoding(wxFontEncoding encoding,
+                    wxFontEncoding encodingEditor = wxFONTENCODING_SYSTEM);
+
+   /// set the message encoding to be equal to the encoding of this part and
+   /// its subparts, returns true if encoding was set, false if no text part
+   /// with non default encoding found
+   bool SetEncodingToSameAs(const MimePart *part);
 
    /// set the message encoding to be equal to the encoding of this msg
-   void SetEncodingToSameAs(Message *msg);
+   void SetEncodingToSameAs(const Message *msg);
 
    /// set the draft message we were started with



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to