Posted on 2012-11-22 10:47
虚空骄阳 阅读(614)
评论(0) 编辑 收藏 引用 所属分类:
wxWidgets
CString to wxString
CString cstr = "Hello world";
wxString mystring( (LPCTSTR)cstr, ,wxConvUTF8 );
wxString to CString
wxString wxstr = wxT("Hello world");
CString mystring ( wxstr.c_str() );