X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03cf4aa61da039f4331bfc788cc07850a50a0df5..0ca422ef4c7cfffd54d4b53d950362d00ae7b5d9:/include/wx/xrc/xmlres.h diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index 877dc1237d..8bffb9f548 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -17,6 +17,7 @@ #include "wx/string.h" #include "wx/dynarray.h" +#include "wx/arrstr.h" #include "wx/datetime.h" #include "wx/list.h" #include "wx/gdicmn.h" @@ -107,8 +108,6 @@ public: // Destructor. virtual ~wxXmlResource(); - wxXmlNode *GetFirstRoot(); - // Loads resources from XML files that match given filemask. // This method understands VFS (see filesys.h). bool Load(const wxString& filemask); @@ -273,7 +272,7 @@ private: long m_version; int m_flags; - class WXDLLIMPEXP_FWD_XRC wxVector m_handlers; + wxVector m_handlers; wxXmlResourceDataRecords *m_data; #if wxUSE_FILESYSTEM wxFileSystem m_curFileSystem; @@ -461,6 +460,10 @@ protected: // Gets a font. wxFont GetFont(const wxString& param = wxT("font")); + // Gets the value of a boolean attribute (only "0" and "1" are valid values) + bool GetBoolAttr(const wxString& attr, bool defaultv); + + // Sets common window options. void SetupWindow(wxWindow *wnd);