From 4aae00c69cf6e44c52e1a9e39f60c5d6a3498b02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 2 May 2007 20:35:03 +0000 Subject: [PATCH] compilation fix for wxUSE_INTL=0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextxml.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/richtext/richtextxml.cpp b/src/richtext/richtextxml.cpp index bcff1aa074..2d6df34af1 100644 --- a/src/richtext/richtextxml.cpp +++ b/src/richtext/richtextxml.cpp @@ -544,7 +544,10 @@ bool wxRichTextXMLHandler::DoSaveFile(wxRichTextBuffer *buffer, wxOutputStream& { if (m_encoding == wxT("")) { +#if wxUSE_INTL fileEncoding = wxLocale::GetSystemEncodingName(); + // if !wxUSE_INTL, we fall back to UTF-8 or ISO-8859-1 below +#endif } else { -- 2.47.2