wxSize size = wxDefaultSize)
{ return wxXmlResourceHandler::GetIcon(param, defaultArtClient, size); }
+ wxAnimation GetAnimation(const wxString& param = wxT("animation"))
+ { return wxXmlResourceHandler::GetAnimation(param); }
+
wxFont GetFont(const wxString& param = wxT("font"))
{ return wxXmlResourceHandler::GetFont(param); }
// Gets a font.
wxFont GetFont(const wxString& param = wxPyFontString);
+ // Gets an animation.
+ wxAnimation GetAnimation(const wxString& param = wxPyAnimationString);
+
// Sets common window options.
void SetupWindow(wxWindow *wnd);
~wxXmlResource();
-
+ //wxXmlNode* GetFirstRoot(); ** Link error
+
// Loads resources from XML files that match given filemask.
// This method understands VFS (see filesys.h).
bool Load(const wxString& filemask);
MAKE_CONST_WXSTRING_NOSWIG(EmptyString);
-MAKE_CONST_WXSTRING2(UTF8String, wxT("UTF-8"));
-MAKE_CONST_WXSTRING2(StyleString, wxT("style"));
-MAKE_CONST_WXSTRING2(SizeString, wxT("size"));
-MAKE_CONST_WXSTRING2(PosString, wxT("pos"));
-MAKE_CONST_WXSTRING2(BitmapString, wxT("bitmap"));
-MAKE_CONST_WXSTRING2(IconString, wxT("icon"));
-MAKE_CONST_WXSTRING2(FontString, wxT("font"));
-
+MAKE_CONST_WXSTRING2(UTF8String, wxT("UTF-8"));
+MAKE_CONST_WXSTRING2(StyleString, wxT("style"));
+MAKE_CONST_WXSTRING2(SizeString, wxT("size"));
+MAKE_CONST_WXSTRING2(PosString, wxT("pos"));
+MAKE_CONST_WXSTRING2(BitmapString, wxT("bitmap"));
+MAKE_CONST_WXSTRING2(IconString, wxT("icon"));
+MAKE_CONST_WXSTRING2(FontString, wxT("font"));
+MAKE_CONST_WXSTRING2(AnimationString, wxT("animation"));
// Include all the files that make up this module