X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..73adcb015064cf4276cb38dc394011f1b4c82036:/wxPython/contrib/xrc/_xmlres.i?ds=sidebyside diff --git a/wxPython/contrib/xrc/_xmlres.i b/wxPython/contrib/xrc/_xmlres.i index 03d75a364c..fca287e729 100644 --- a/wxPython/contrib/xrc/_xmlres.i +++ b/wxPython/contrib/xrc/_xmlres.i @@ -44,9 +44,9 @@ class wxXmlResource : public wxObject { public: - %addtofunc wxXmlResource(const wxString& filemask, int flags) "self.InitAllHandlers()" + %pythonAppend wxXmlResource(const wxString& filemask, int flags) "self.InitAllHandlers()" - %addtofunc wxXmlResource(int flags) "val.InitAllHandlers()" + %pythonAppend wxXmlResource(int flags) "val.InitAllHandlers()" // Ctors. // Flags: wxXRC_USE_LOCALE @@ -195,7 +195,7 @@ public: %pythoncode { def XRCID(str_id): - return wxXmlResource_GetXRCID(str_id) + return XmlResource_GetXRCID(str_id) def XRCCTRL(window, str_id, *ignoreargs): return window.FindWindowById(XRCID(str_id))