]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/strconv.cpp
added test for wxScopeGuard
[wxWidgets.git] / src / common / strconv.cpp
index 5c75db40983c10e9ef7bc5f76f91e15ae521258a..40bc93d8716be48732e200d33fc2425bc5123e4f 100644 (file)
@@ -2513,7 +2513,7 @@ wxMBConv *wxCSConv::DoCreate() const
 
 #if wxUSE_FONTMAP
         if ( name.empty() )
-            name = wxFontMapperBase::Get()->GetEncodingName(m_encoding);
+            name = wxFontMapperBase::GetEncodingName(m_encoding);
 #endif // wxUSE_FONTMAP
 
         wxMBConv_iconv *conv = new wxMBConv_iconv(name);