]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/debugrpt.h
common event code
[wxWidgets.git] / include / wx / debugrpt.h
index aa3787e1c794423d3a08f0f7974be0d045f8acd8..86ecdb5ab31edc8d65b22702635d61017c6956c1 100644 (file)
 
 #include "wx/defs.h"
 
-#if wxUSE_DEBUGREPORT
+#if wxUSE_DEBUGREPORT && wxUSE_XML
 
-class WXDLLIMPEXP_XML wxXmlNode;
+#include "wx/string.h"
+#include "wx/arrstr.h"
+
+class WXDLLIMPEXP_FWD_XML wxXmlNode;
 
 // ----------------------------------------------------------------------------
 // wxDebugReport: generate a debug report, processing is done in derived class
@@ -227,7 +230,6 @@ public:
 
 #endif // wxUSE_GUI
 
-#endif // wxUSE_DEBUGREPORT
+#endif // wxUSE_DEBUGREPORT && wxUSE_XML
 
 #endif // _WX_DEBUGRPT_H_
-