]> git.saurik.com Git - wxWidgets.git/commitdiff
add the mac specific encodings correctly
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 25 Mar 2005 17:31:38 +0000 (17:31 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 25 Mar 2005 17:31:38 +0000 (17:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/strconv.cpp

index 1d4068611277bb97ffd62b4bd44bdc26fa2e885f..792d2caa50795435846292a88d69facd6146399b 100644 (file)
@@ -2396,7 +2396,9 @@ wxMBConv *wxCSConv::DoCreate() const
 #endif // wxHAVE_WIN32_MB2WC
 #if defined(__WXMAC__)
     {
-        if ( m_name || ( m_encoding < wxFONTENCODING_UTF16BE ) )
+        // leave UTF16 and UTF32 to the built-ins of wx
+        if ( m_name || ( m_encoding < wxFONTENCODING_UTF16BE || 
+            ( m_encoding >= wxFONTENCODING_MACMIN && m_encoding <= wxFONTENCODING_MACMAX ) ) )
         {
 
 #if wxUSE_FONTMAP