fixing non-unicode build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2009-05-27 19:20:22 +00:00
parent 575cf8b134
commit e3d6cbb9aa

View File

@ -670,7 +670,7 @@ wxString wxCFStringRef::AsString(wxFontEncoding WXUNUSED_IN_UNICODE(encoding))
#error "unsupported unicode representation"
#endif
#else
wxString result(buf, cStrLen) ;
result = wxString(buf, cStrLen) ;
#endif
delete[] buf ;