Re[2]: Compile error in SpamFilter.cpp

Vadim Zeitlin <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
On Sun, 27 Feb 2005 15:48:02 +0200 (EET) Nerijus Baliunas <[email protected]> wrote:

NB> On Sun, 27 Feb 2005 10:53:53 +1000 Mark Livingstone <[email protected]> wrote:
NB> 
NB> ML> .src/mail/SpamFilter.cpp:382: error: cannot convert `wxFrame*' to `wxWindow*' 
NB> ML> for argument `6' to `bool MDialog_GetSelectionsInOrder(const wxString&, const 
NB> ML> wxString&, wxArrayString*, wxArrayInt*, const wxString&, wxWindow*)'
NB> 
NB> I committed a fix, but don't know if it's a correct one.

 Well, it does work but it's not really correct: correct one would be to
include wx/frame.h (which would define wxFrame so that compiler knows that
it derives from wxWindow). I'll do it when I rebuild M under Unix the next
time.

 Regards,
VZ



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.