X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2daa5d2c99cce01b7f7f7e17d9f0e6892b02183b..a21175918ecedbae7d04a58acca5e90a6b59633d:/src/osx/core/cfstring.cpp 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 ;