From: Julian Smart <julian@anthemion.co.uk> Date: Mon, 31 Oct 2005 14:27:53 +0000 (+0000) Subject: Applied patch [ 1341085 ] richtext xml build fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fcdbeefa4e1f033a8c1d0e2a0d4fb521e5e47450 Applied patch [ 1341085 ] richtext xml build fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/richtext/richtextxml.h b/include/wx/richtext/richtextxml.h index 175c51a31d..9f4cf24533 100644 --- a/include/wx/richtext/richtextxml.h +++ b/include/wx/richtext/richtextxml.h @@ -18,7 +18,7 @@ #include "wx/richtext/richtextbuffer.h" -#if wxUSE_RICHTEXT +#if wxUSE_RICHTEXT && wxUSE_XML /*! * wxRichTextXMLHandler @@ -106,7 +106,7 @@ protected: }; #endif - // wxUSE_RICHTEXT + // wxUSE_RICHTEXT && wxUSE_XML #endif // _WX_RICHTEXTXML_H_ diff --git a/src/richtext/richtextxml.cpp b/src/richtext/richtextxml.cpp index fec4b97f10..555ceac23c 100644 --- a/src/richtext/richtextxml.cpp +++ b/src/richtext/richtextxml.cpp @@ -16,7 +16,7 @@ #pragma hdrstop #endif -#if wxUSE_RICHTEXT +#if wxUSE_RICHTEXT && wxUSE_XML #include "wx/richtext/richtextxml.h" @@ -818,4 +818,4 @@ void wxRichTextHTMLHandler::OutputParagraphFormatting(const wxTextAttrEx& WXUNUS #endif #endif - // wxUSE_RICHTEXT + // wxUSE_RICHTEXT && wxUSE_XML