compilation fix for wxUSE_INTL=0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-05-02 20:35:03 +00:00
parent c8b1fdc0b5
commit 4aae00c69c

View File

@@ -544,7 +544,10 @@ 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();
// if !wxUSE_INTL, we fall back to UTF-8 or ISO-8859-1 below
#endif
} }
else else
{ {