wxObject* GetParent() { return m_parent; }
wxObject* GetInstance() { return m_instance; }
wxWindow* GetParentAsWindow() { return m_parentAsWindow; }
- wxWindow* GetInstanceAsWindow() { return m_instanceAsWindow; }
// turn some protected methods into public via delegation
// Now the version that will be SWIGged.
-%name(XmlResourceHandler) class wxPyXmlResourceHandler : public wxObject {
+%rename(XmlResourceHandler) wxPyXmlResourceHandler;
+class wxPyXmlResourceHandler : public wxObject {
public:
%pythonAppend wxPyXmlResourceHandler "self._setCallbackInfo(self, XmlResourceHandler)"
wxPyXmlResourceHandler() : wxXmlResourceHandler() {}
- //~wxPyXmlResourceHandler();
+ ~wxPyXmlResourceHandler();
void _setCallbackInfo(PyObject* self, PyObject* _class);
wxObject* GetParent() { return m_parent; }
wxObject* GetInstance() { return m_instance; }
wxWindow* GetParentAsWindow() { return m_parentAsWindow; }
- wxWindow* GetInstanceAsWindow() { return m_instanceAsWindow; }
+// wxWindow* GetInstanceAsWindow() { return m_instanceAsWindow; }
// Returns true if the node has a property class equal to classname,
// helper
wxFileSystem& GetCurFileSystem();
+
+ %property(Class, GetClass, doc="See `GetClass`");
+ %property(CurFileSystem, GetCurFileSystem, doc="See `GetCurFileSystem`");
+ %property(ID, GetID, doc="See `GetID`");
+ %property(Instance, GetInstance, doc="See `GetInstance`");
+ %property(Name, GetName, doc="See `GetName`");
+ %property(Node, GetNode, doc="See `GetNode`");
+ %property(Parent, GetParent, doc="See `GetParent`");
+ %property(ParentAsWindow, GetParentAsWindow, doc="See `GetParentAsWindow`");
+ %property(Resource, GetResource, doc="See `GetResource`");
};