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:
@@ -544,7 +544,10 @@ bool wxRichTextXMLHandler::DoSaveFile(wxRichTextBuffer *buffer, wxOutputStream&
|
||||
{
|
||||
if (m_encoding == wxT("<System>"))
|
||||
{
|
||||
#if wxUSE_INTL
|
||||
fileEncoding = wxLocale::GetSystemEncodingName();
|
||||
// if !wxUSE_INTL, we fall back to UTF-8 or ISO-8859-1 below
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user