make things work as advertised

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2014-01-24 20:27:19 +00:00
parent 3ad6684b63
commit 48971280a5

View File

@ -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;
}