]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/xrc/_xmlres.i
added wxStaticCast, moved wxConstCast from wx/object.h to wx/defs.h for consistency
[wxWidgets.git] / wxPython / contrib / xrc / _xmlres.i
index 03d75a364c0203430874e5284e30c53fc1582c54..fca287e729688026e6dc188f0042844d2b01c746 100644 (file)
@@ -44,9 +44,9 @@ class wxXmlResource : public wxObject
 {
 public:
 
 {
 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
 
     // Ctors.
     // Flags: wxXRC_USE_LOCALE
@@ -195,7 +195,7 @@ public:
 
 %pythoncode {
 def XRCID(str_id):
 
 %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))
 
 def XRCCTRL(window, str_id, *ignoreargs):
     return window.FindWindowById(XRCID(str_id))