From 76f35c31321538fce9554d14e6f2a47c10bc2ad2 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Thu, 28 May 2009 10:52:39 +0000 Subject: [PATCH] backport of fix for non-unicode builds git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_9_0_BRANCH@60781 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 ;