X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d4a724d4075418ccaea166925c33242a338249c7..41b76acdc7cad34f4bcdd43e3440544fe714e6d5:/include/wx/xrc/xmlres.h diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h index 715133b2cb..c581aafc8b 100644 --- a/include/wx/xrc/xmlres.h +++ b/include/wx/xrc/xmlres.h @@ -25,6 +25,7 @@ #include "wx/icon.h" #include "wx/artprov.h" #include "wx/colour.h" +#include "wx/animate.h" #include "wx/xml/xml.h" @@ -125,8 +126,10 @@ public: const wxString& domain=wxEmptyString); // Destructor. - ~wxXmlResource(); + 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); @@ -450,6 +453,11 @@ protected: const wxArtClient& defaultArtClient = wxART_OTHER, wxSize size = wxDefaultSize); +#if wxUSE_ANIMATIONCTRL + // Gets an animation. + wxAnimation GetAnimation(const wxString& param = wxT("animation")); +#endif + // Gets a font. wxFont GetFont(const wxString& param = wxT("font"));