]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xmlreshandler.h
Initialize wxXmlResourceHandler members in its ctor.
[wxWidgets.git] / include / wx / xrc / xmlreshandler.h
index d581299cb0c8e010006946757fb97150bd5c59f6..7aa12b7bc6fe006c6f38ae72db92d3e492ee593c 100644 (file)
@@ -131,6 +131,12 @@ public:
     // it, SetImpl() needs to be called as done by wxXmlResource::AddHandler().
     wxXmlResourceHandler()
     {
+        m_node = NULL;
+        m_parent =
+        m_instance = NULL;
+        m_parentAsWindow = NULL;
+        m_resource = NULL;
+
         m_impl = NULL;
     }