]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/debugrpt.h
fixed memory leak in wxXmlResource introduced when fixing wxVector<> usage (patch...
[wxWidgets.git] / include / wx / debugrpt.h
index 0337633e9fe21af715e35c26ec2f451bdc5646ce..86ecdb5ab31edc8d65b22702635d61017c6956c1 100644 (file)
 
 #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_
-