X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7aada1e05a7ed29ee5a0afb5f3464b803e966d7c..32485259c1342115488d219776dfebeb3d4d81b1:/wxPython/src/_xmlhandler.i diff --git a/wxPython/src/_xmlhandler.i b/wxPython/src/_xmlhandler.i index ba007253a1..cdf52dae8b 100644 --- a/wxPython/src/_xmlhandler.i +++ b/wxPython/src/_xmlhandler.i @@ -40,7 +40,6 @@ public: 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 @@ -138,7 +137,8 @@ IMP_PYCALLBACK_BOOL_NODE_pure(wxPyXmlResourceHandler, wxXmlResourceHandler, CanH // 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() {}