- self.thisown = 0
- def __del__(self,xrcc=xrcc):
- if self.thisown == 1 :
- xrcc.delete_wxXmlResource(self)
- def Load(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_Load,(self,) + _args, _kwargs)
- return val
- def LoadFromString(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadFromString,(self,) + _args, _kwargs)
- return val
- def InitAllHandlers(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_InitAllHandlers,(self,) + _args, _kwargs)
- return val
- def AddHandler(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_AddHandler,(self,) + _args, _kwargs)
- return val
- def ClearHandlers(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_ClearHandlers,(self,) + _args, _kwargs)
- return val
- def LoadMenu(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadMenu,(self,) + _args, _kwargs)
- return val
- def LoadMenuBar(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadMenuBar,(self,) + _args, _kwargs)
- return val
- def LoadMenuBarOnFrame(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadMenuBarOnFrame,(self,) + _args, _kwargs)
- return val
- def LoadToolBar(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadToolBar,(self,) + _args, _kwargs)
- return val
- def LoadDialog(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadDialog,(self,) + _args, _kwargs)
- if val: val = wxDialogPtr(val)
- return val
- def LoadOnDialog(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadOnDialog,(self,) + _args, _kwargs)
- return val
- def LoadPanel(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadPanel,(self,) + _args, _kwargs)
- if val: val = wxPanelPtr(val)
- return val
- def LoadOnPanel(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadOnPanel,(self,) + _args, _kwargs)
- return val
- def LoadFrame(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadFrame,(self,) + _args, _kwargs)
- return val
- def LoadBitmap(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadBitmap,(self,) + _args, _kwargs)
- if val: val = wxBitmapPtr(val) ; val.thisown = 1
- return val
- def LoadIcon(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_LoadIcon,(self,) + _args, _kwargs)
- if val: val = wxIconPtr(val) ; val.thisown = 1
- return val
- def AttachUnknownControl(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_AttachUnknownControl,(self,) + _args, _kwargs)
- return val
- def GetVersion(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_GetVersion,(self,) + _args, _kwargs)
- return val
- def CompareVersion(self, *_args, **_kwargs):
- val = apply(xrcc.wxXmlResource_CompareVersion,(self,) + _args, _kwargs)
- return val
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = XmlSubclassFactory
+_xrc.XmlSubclassFactory_swigregister(XmlSubclassFactoryPtr)
+
+#---------------------------------------------------------------------------
+
+XML_ELEMENT_NODE = _xrc.XML_ELEMENT_NODE
+XML_ATTRIBUTE_NODE = _xrc.XML_ATTRIBUTE_NODE
+XML_TEXT_NODE = _xrc.XML_TEXT_NODE
+XML_CDATA_SECTION_NODE = _xrc.XML_CDATA_SECTION_NODE
+XML_ENTITY_REF_NODE = _xrc.XML_ENTITY_REF_NODE
+XML_ENTITY_NODE = _xrc.XML_ENTITY_NODE
+XML_PI_NODE = _xrc.XML_PI_NODE
+XML_COMMENT_NODE = _xrc.XML_COMMENT_NODE
+XML_DOCUMENT_NODE = _xrc.XML_DOCUMENT_NODE
+XML_DOCUMENT_TYPE_NODE = _xrc.XML_DOCUMENT_TYPE_NODE
+XML_DOCUMENT_FRAG_NODE = _xrc.XML_DOCUMENT_FRAG_NODE
+XML_NOTATION_NODE = _xrc.XML_NOTATION_NODE
+XML_HTML_DOCUMENT_NODE = _xrc.XML_HTML_DOCUMENT_NODE
+class XmlProperty(object):