+ def __del__(self, destroy=_xrc.delete_XmlResource):
+ """__del__()"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def Load(*args, **kwargs):
+ """Load(String filemask) -> bool"""
+ return _xrc.XmlResource_Load(*args, **kwargs)
+
+ def LoadFromString(*args, **kwargs):
+ """LoadFromString(String data) -> bool"""
+ return _xrc.XmlResource_LoadFromString(*args, **kwargs)
+
+ def InitAllHandlers(*args, **kwargs):
+ """InitAllHandlers()"""
+ return _xrc.XmlResource_InitAllHandlers(*args, **kwargs)
+
+ def AddHandler(*args, **kwargs):
+ """AddHandler(XmlResourceHandler handler)"""
+ return _xrc.XmlResource_AddHandler(*args, **kwargs)
+
+ def InsertHandler(*args, **kwargs):
+ """InsertHandler(XmlResourceHandler handler)"""
+ return _xrc.XmlResource_InsertHandler(*args, **kwargs)
+
+ def ClearHandlers(*args, **kwargs):
+ """ClearHandlers()"""
+ return _xrc.XmlResource_ClearHandlers(*args, **kwargs)
+
+ def AddSubclassFactory(*args, **kwargs):
+ """AddSubclassFactory(XmlSubclassFactory factory)"""
+ return _xrc.XmlResource_AddSubclassFactory(*args, **kwargs)
+
+ AddSubclassFactory = staticmethod(AddSubclassFactory)
+ def LoadMenu(*args, **kwargs):
+ """LoadMenu(String name) -> Menu"""
+ return _xrc.XmlResource_LoadMenu(*args, **kwargs)
+
+ def LoadMenuBar(*args, **kwargs):
+ """LoadMenuBar(String name) -> MenuBar"""
+ return _xrc.XmlResource_LoadMenuBar(*args, **kwargs)
+
+ def LoadMenuBarOnFrame(*args, **kwargs):
+ """LoadMenuBarOnFrame(Window parent, String name) -> MenuBar"""
+ return _xrc.XmlResource_LoadMenuBarOnFrame(*args, **kwargs)
+
+ def LoadToolBar(*args, **kwargs):
+ """LoadToolBar(Window parent, String name) -> wxToolBar"""
+ return _xrc.XmlResource_LoadToolBar(*args, **kwargs)
+
+ def LoadDialog(*args, **kwargs):
+ """LoadDialog(Window parent, String name) -> wxDialog"""
+ return _xrc.XmlResource_LoadDialog(*args, **kwargs)
+
+ def LoadOnDialog(*args, **kwargs):
+ """LoadOnDialog(wxDialog dlg, Window parent, String name) -> bool"""
+ return _xrc.XmlResource_LoadOnDialog(*args, **kwargs)
+
+ def LoadPanel(*args, **kwargs):
+ """LoadPanel(Window parent, String name) -> wxPanel"""
+ return _xrc.XmlResource_LoadPanel(*args, **kwargs)
+
+ def LoadOnPanel(*args, **kwargs):
+ """LoadOnPanel(wxPanel panel, Window parent, String name) -> bool"""
+ return _xrc.XmlResource_LoadOnPanel(*args, **kwargs)
+
+ def LoadFrame(*args, **kwargs):
+ """LoadFrame(Window parent, String name) -> wxFrame"""
+ return _xrc.XmlResource_LoadFrame(*args, **kwargs)
+
+ def LoadOnFrame(*args, **kwargs):
+ """LoadOnFrame(wxFrame frame, Window parent, String name) -> bool"""
+ return _xrc.XmlResource_LoadOnFrame(*args, **kwargs)
+
+ def LoadObject(*args, **kwargs):
+ """LoadObject(Window parent, String name, String classname) -> Object"""
+ return _xrc.XmlResource_LoadObject(*args, **kwargs)
+
+ def LoadOnObject(*args, **kwargs):
+ """LoadOnObject(Object instance, Window parent, String name, String classname) -> bool"""
+ return _xrc.XmlResource_LoadOnObject(*args, **kwargs)
+
+ def LoadBitmap(*args, **kwargs):
+ """LoadBitmap(String name) -> Bitmap"""
+ return _xrc.XmlResource_LoadBitmap(*args, **kwargs)
+
+ def LoadIcon(*args, **kwargs):
+ """LoadIcon(String name) -> Icon"""
+ return _xrc.XmlResource_LoadIcon(*args, **kwargs)
+
+ def AttachUnknownControl(*args, **kwargs):
+ """AttachUnknownControl(String name, Window control, Window parent=None) -> bool"""
+ return _xrc.XmlResource_AttachUnknownControl(*args, **kwargs)
+
+ def GetXRCID(*args, **kwargs):
+ """GetXRCID(String str_id) -> int"""
+ return _xrc.XmlResource_GetXRCID(*args, **kwargs)