fixed wxConvLocal to work with C locale (and probably some others)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-11-09 12:27:42 +00:00
parent a58d4f4d49
commit 4d312c222e

View File

@@ -1454,7 +1454,7 @@ void wxCSConv::CreateConvIfNeeded() const
// encoding for this system
if ( !m_name && m_encoding == wxFONTENCODING_SYSTEM )
{
self->m_encoding = wxLocale::GetSystemEncoding();
self->m_name = wxStrdup(wxLocale::GetSystemEncodingName());
}
#endif // wxUSE_INTL