X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e70b4d2db930a297f0625b7d43109f793fd3338a..9e477492e29e03c02827b1e42a16cb09a13f5149:/wxPython/src/_xmlhandler.i diff --git a/wxPython/src/_xmlhandler.i b/wxPython/src/_xmlhandler.i index 9ae1038f41..bf0a5d970b 100644 --- a/wxPython/src/_xmlhandler.i +++ b/wxPython/src/_xmlhandler.i @@ -24,7 +24,7 @@ class wxPyXmlResourceHandler : public wxXmlResourceHandler { public: wxPyXmlResourceHandler() : wxXmlResourceHandler() {} - //~wxPyXmlResourceHandler(); + ~wxPyXmlResourceHandler() {} // Base class virtuals @@ -105,6 +105,9 @@ public: 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); } @@ -140,7 +143,7 @@ IMP_PYCALLBACK_BOOL_NODE_pure(wxPyXmlResourceHandler, wxXmlResourceHandler, CanH %rename(XmlResourceHandler) wxPyXmlResourceHandler; class wxPyXmlResourceHandler : public wxObject { public: - %pythonAppend wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)" + %pythonAppend wxPyXmlResourceHandler setCallbackInfo(XmlResourceHandler) wxPyXmlResourceHandler() : wxXmlResourceHandler() {} ~wxPyXmlResourceHandler(); @@ -243,6 +246,9 @@ public: // 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);