Re: message takes very long time to display
Nerijus Baliunas <[email protected]> Tue, 29 Apr 2008 17:43:18 +0300
| Newsgroups | gmane.mail.mahogany.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 28 Apr 2008 15:14:14 +0300 Nerijus Baliunas <[email protected]> wrote: NB> .src/mail/SendMessageCC.cpp: In function 'long int write_stream_output(void*, char*)': NB> .src/mail/SendMessageCC.cpp:1922: error: request for member 'data' in 'wxString::From8BitData(const char*)().wxString::ToUTF8()', which is of non-class type 'const char*' I silenced it by: --- SendMessageCC.cpp (revision 7434) +++ SendMessageCC.cpp (working copy) @@ -1919,7 +1919,7 @@ static long write_stream_output(void *stream, char *string) { ostream *o = (ostream *)stream; - *o << wxString::From8BitData(string).ToUTF8().data(); + *o << wxString::From8BitData(string).ToUTF8(); if ( o->fail() ) return NIL; is it ok? Regards, Nerijus ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone