X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c1182328f1bcc577cb6771f8d743b91b75086d8..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/xrc/xmlreshandler.h?ds=sidebyside diff --git a/include/wx/xrc/xmlreshandler.h b/include/wx/xrc/xmlreshandler.h index 7c7f3fece3..7aa12b7bc6 100644 --- a/include/wx/xrc/xmlreshandler.h +++ b/include/wx/xrc/xmlreshandler.h @@ -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; } @@ -354,6 +360,15 @@ protected: wxWindow *m_parentAsWindow; wxXmlResource *m_resource; + // provide method access to those member variables + wxXmlResource* GetResource() const { return m_resource; } + wxXmlNode* GetNode() const { return m_node; } + wxString GetClass() const { return m_class; } + wxObject* GetParent() const { return m_parent; } + wxObject* GetInstance() const { return m_instance; } + wxWindow* GetParentAsWindow() const { return m_parentAsWindow; } + + wxArrayString m_styleNames; wxArrayInt m_styleValues;