X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bdb4b8320d066a0931ad66a40bca30a0500d3b65..18ca66650a894a39b19e5b88ae9facee76071552:/include/wx/xrc/xmlreshandler.h diff --git a/include/wx/xrc/xmlreshandler.h b/include/wx/xrc/xmlreshandler.h index d0ad233519..d581299cb0 100644 --- a/include/wx/xrc/xmlreshandler.h +++ b/include/wx/xrc/xmlreshandler.h @@ -20,6 +20,7 @@ #include "wx/colour.h" #include "wx/filesys.h" #include "wx/imaglist.h" +#include "wx/window.h" class WXDLLIMPEXP_FWD_ADV wxAnimation; @@ -184,15 +185,15 @@ protected: // Everything else is simply forwarded to wxXmlResourceHandlerImpl. void ReportError(wxXmlNode *context, const wxString& message) { - return GetImpl()->ReportError(context, message); + GetImpl()->ReportError(context, message); } void ReportError(const wxString& message) { - return GetImpl()->ReportError(message); + GetImpl()->ReportError(message); } void ReportParamError(const wxString& param, const wxString& message) { - return GetImpl()->ReportParamError(param, message); + GetImpl()->ReportParamError(param, message); } bool IsOfClass(wxXmlNode *node, const wxString& classname) const @@ -353,6 +354,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;