]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied patch [ 1341085 ] richtext xml build fix
authorJulian Smart <julian@anthemion.co.uk>
Mon, 31 Oct 2005 14:27:53 +0000 (14:27 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 31 Oct 2005 14:27:53 +0000 (14:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/richtext/richtextxml.h
src/richtext/richtextxml.cpp

index 175c51a31d9053a6ea9dc357a6b30d7c7d6fdd4b..9f4cf24533b25eafa7c73aafaeb62b9ad9ddbaa8 100644 (file)
@@ -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_
index fec4b97f10c0f5c46418fd445cc4aaf02d2b59b5..555ceac23c46da4e86234d202e940671f173df81 100644 (file)
@@ -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