From 48971280a53a34c6de6b00a575f36ce600a2fc60 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 24 Jan 2014 20:27:19 +0000 Subject: [PATCH] make things work as advertised git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75698 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 384bf88e72..612dc39a5d 100644 --- a/src/osx/core/cfstring.cpp +++ b/src/osx/core/cfstring.cpp @@ -638,7 +638,7 @@ wxString wxCFStringRef::AsStringWithNormalizationFormC( CFStringRef ref, wxFontE CFMutableStringRef cfMutableString = CFStringCreateMutableCopy(NULL, 0, ref); CFStringNormalize(cfMutableString,kCFStringNormalizationFormC); - wxString str = wxCFStringRef::AsString(ref,encoding); + wxString str = wxCFStringRef::AsString(cfMutableString,encoding); CFRelease(cfMutableString); return str; }