class wxPyXmlResourceHandler : public wxXmlResourceHandler {
public:
wxPyXmlResourceHandler() : wxXmlResourceHandler() {}
- //~wxPyXmlResourceHandler();
+ ~wxPyXmlResourceHandler() {}
// Base class virtuals
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); }
%rename(XmlResourceHandler) wxPyXmlResourceHandler;
class wxPyXmlResourceHandler : public wxObject {
public:
- %pythonAppend wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)"
+ %pythonAppend wxPyXmlResourceHandler setCallbackInfo(XmlResourceHandler)
wxPyXmlResourceHandler() : wxXmlResourceHandler() {}
~wxPyXmlResourceHandler();
// 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);