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:
Vadim Zeitlin
2007-04-23 00:45:38 +00:00
parent d75c9b05c8
commit f28f0531b9

View File

@@ -544,7 +544,9 @@ bool wxRichTextXMLHandler::DoSaveFile(wxRichTextBuffer *buffer, wxOutputStream&
{
if (m_encoding == wxT("<System>"))
{
#if wxUSE_INTL
fileEncoding = wxLocale::GetSystemEncodingName();
#endif // wxUSE_INTL
}
else
{