From e3d6cbb9aa8ba6fbd05066be093ee2b5f14fcea6 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 27 May 2009 19:20:22 +0000 Subject: [PATCH] fixing non-unicode build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/core/cfstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ; -- 2.45.2