On Sat, 4 Oct 2003 20:09:17 +0300 (EEST) Nerijus Baliunas <[EMAIL PROTECTED]> wrote:
NB> On Sat, 4 Oct 2003 17:54:57 +0300 (EEST) Nerijus Baliunas <[EMAIL PROTECTED]> wrote: NB> NB> NB> can I change chars to wxChars in MessageCC.h? NB> NB> OK, not all. I don't know... which ones you can't change? I think that all chars in public interfaces should be wxChars and that the conversion must only be done when speaking with c-client. NB> Can I use wxChar *text at line 142? If I do this, NB> I still get error: NB> NB> In file included from .src/classes/MessageView.cpp:55: NB> /a/M/M/include/MessageCC.h: In static member function `static MessageCC* NB> MessageCC::Create(const wxChar*, long unsigned int, Profile*)': NB> /a/M/M/include/MessageCC.h:146: cannot allocate an object of type `MessageCC' NB> /a/M/M/include/MessageCC.h:146: because the following virtual functions are NB> abstract: NB> /a/M/M/include/Message.h:151: virtual wxArrayString NB> Message::GetHeaderLines(const wxChar**, wxArrayInt* = 0) const This just means that you forgot to change GetHeaderLines() declaration in MessageCC (it still has char, not wxChar, but it must be wxChar to define the pure virtual function taking wxChar in the base class). Thanks, VZ ------------------------------------------------------- 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-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
