X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2daa5d2c99cce01b7f7f7e17d9f0e6892b02183b..e77cba1a9c2085b15789bbdc3d38697c4670d2a7:/src/osx/core/cfstring.cpp?ds=inline diff --git a/src/osx/core/cfstring.cpp b/src/osx/core/cfstring.cpp index d067feaa1e..3d10e29b7e 100644 --- a/src/osx/core/cfstring.cpp +++ b/src/osx/core/cfstring.cpp @@ -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 ;