std::string to wxString

Milan Babuskov milanb at panonnet.net
Thu Jul 5 09:59:06 PDT 2007


Lloyd wrote:
>   How can I convert a STL string to wxString?

We do it like this:

http://flamerobin.svn.sourceforge.net/viewvc/flamerobin/trunk/flamerobin/src/core/StringUtils.cpp?revision=HEAD

It's a long URL, so watch for line wraps.


Here's a .h file as well:
http://flamerobin.svn.sourceforge.net/viewvc/flamerobin/trunk/flamerobin/src/core/StringUtils.h?revision=HEAD


-- 
Milan Babuskov
http://fbexport.sourceforge.net





More information about the wx-users mailing list