How do you use __WXFUNCTION__?

Bob wxwidgets at gmail.com
Mon Apr 21 04:35:24 PDT 2008


>
>
> In 2.8 Unicode build you must pass Unicode strings to wxLogVerbose() but
> __WXFUNCTION__ is ASCII.


This worked:

wxLogVerbose( wxT( "File: %s Function: %s Line: %d" ), wxT(__FILE__),
wxString::FromAscii(__WXFUNCTION__).c_str(), __LINE__ );


Regards,
> VZ


Thank you for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080421/6ab=
64caf/attachment.htm


More information about the wx-users mailing list