X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e49079b2ab0a113c397b4efce31e1fceea7fe592..84e7f94cb078e98b31c5ba592e10d8311b24f65b:/src/mac/utils.cpp diff --git a/src/mac/utils.cpp b/src/mac/utils.cpp index 014225901c..7e7a9c99b8 100644 --- a/src/mac/utils.cpp +++ b/src/mac/utils.cpp @@ -761,7 +761,7 @@ wxString wxMacCFStringHolder::AsString() #if wxUSE_UNICODE CFStringGetCharacters( m_cfs , CFRangeMake( 0 , len ) , (UniChar*) buf ) ; #else - CFStringGetCString( m_cfs , buf , len+1 , s_macDefaultEncodingIsPC ? + CFStringGetCString( m_cfs , buf , len+1 , wxApp::s_macDefaultEncodingIsPC ? kCFStringEncodingWindowsLatin1 : CFStringGetSystemEncoding() ) ; #endif buf[len] = 0 ;