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:
@@ -1454,7 +1454,7 @@ void wxCSConv::CreateConvIfNeeded() const
|
|||||||
// encoding for this system
|
// encoding for this system
|
||||||
if ( !m_name && m_encoding == wxFONTENCODING_SYSTEM )
|
if ( !m_name && m_encoding == wxFONTENCODING_SYSTEM )
|
||||||
{
|
{
|
||||||
self->m_encoding = wxLocale::GetSystemEncoding();
|
self->m_name = wxStrdup(wxLocale::GetSystemEncodingName());
|
||||||
}
|
}
|
||||||
#endif // wxUSE_INTL
|
#endif // wxUSE_INTL
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user