std::string to wxString

-Patrick CaptainMorganRawks at gmail.com
Thu Jul 5 09:14:12 PDT 2007


Lloyd wrote:
> Hi,
>   How can I convert a STL string to wxString?
>
> Thanks,
>   Lloyd
>
>
> ______________________________________
> Scanned and protected by Email scanner
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
>   



Lloyd, someone will correct me if I'm wrong, but doesn't wxString along 
with other similar STL functions inherit C++'s std::string? Thus, I 
thought wxString would be an improvement on std::string or that wxString 
gets all the attributes of std:string, so I thought it would just be a 
matter of resetting your string to a wxString defined string.

-Patrick




More information about the wx-users mailing list