[wx-dev] wxFileDialog Build Errors in CVS HEAD on wxMac
Stefan Csomor
csomor at advancedconcepts.ch
Sun Apr 8 07:20:23 PDT 2007
sorry, yes the was an old leftover from char* strings, thanks,
Stefan
> -----Original Message-----
> From: Vadim Zeitlin [mailto:vadim at wxwindows.org]
> Sent: Freitag, 6. April 2007 23:25
> To: wx-dev at lists.wxwidgets.org
> Subject: Re: [wx-dev] wxFileDialog Build Errors in CVS HEAD on wxMac
>
> On Fri, 06 Apr 2007 15:20:54 -0600 Bryan Petty <bryan at ibaku.net>
> wrote:
>
> BP> A new build problem has popped up on wxMac likely related to
> recent
> BP> wxString changes:
> BP>
> BP> ../src/mac/carbon/filedlg.cpp: In function 'void
> BP> MakeUserDataRec(OpenUserDataRec*, const wxString&)':
> BP> ../src/mac/carbon/filedlg.cpp:129: error: conversion from 'const
> BP> wxString' to 'bool' is ambiguous
> BP> ../include/wx/string.h:914: note: candidates are:
> wxString::operator
> BP> const wchar_t*() const
> BP> ../include/wx/string.h:913: note:
> wxString::operator
> BP> const char*() const
>
> Should be fixed too, thanks,
> VZ
>
> P.S. While this did compile, the test "if ( s )" never worked as
> expected
> (it always passed) so actually it's a good thing it doesn't
> compile
> any more
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-dev-help at lists.wxwidgets.org
More information about the wx-dev
mailing list