]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/richtext/richtextxml.h
add missing header to allow ../src/common/docview.cpp to compile
[wxWidgets.git] / include / wx / richtext / richtextxml.h
index c83df661461c05922dec67611ff72902eca7fe8f..9f4cf24533b25eafa7c73aafaeb62b9ad9ddbaa8 100644 (file)
  * Includes
  */
 
-#include "wx/defs.h"
-
-#if wxUSE_RICHTEXT
-
 #include "wx/richtext/richtextbuffer.h"
 
+#if wxUSE_RICHTEXT && wxUSE_XML
+
 /*!
  * wxRichTextXMLHandler
  */
@@ -108,7 +106,7 @@ protected:
 };
 
 #endif
-    // wxUSE_RICHTEXT
+    // wxUSE_RICHTEXT && wxUSE_XML
 
 #endif
     // _WX_RICHTEXTXML_H_