don't use wxLocale if wxUSE_INTL==0 (fixes 2nd part of bug 1692898)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -544,7 +544,9 @@ bool wxRichTextXMLHandler::DoSaveFile(wxRichTextBuffer *buffer, wxOutputStream&
|
|||||||
{
|
{
|
||||||
if (m_encoding == wxT("<System>"))
|
if (m_encoding == wxT("<System>"))
|
||||||
{
|
{
|
||||||
|
#if wxUSE_INTL
|
||||||
fileEncoding = wxLocale::GetSystemEncodingName();
|
fileEncoding = wxLocale::GetSystemEncodingName();
|
||||||
|
#endif // wxUSE_INTL
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user