]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/xrc/xrc.py
call wxApp::OnExit() when wxExit() is called and don't do wxLogError from it (replace...
[wxWidgets.git] / wxPython / contrib / xrc / xrc.py
1 # This file was created automatically by SWIG.
2 import xrcc
3
4 from misc import *
5
6 from misc2 import *
7
8 from windows import *
9
10 from gdi import *
11
12 from fonts import *
13
14 from clip_dnd import *
15
16 from events import *
17
18 from streams import *
19
20 from utils import *
21
22 from mdi import *
23
24 from frames import *
25
26 from stattool import *
27
28 from controls import *
29
30 from controls2 import *
31
32 from windows2 import *
33
34 from cmndlgs import *
35
36 from windows3 import *
37
38 from image import *
39
40 from printfw import *
41
42 from sizers import *
43
44 from filesys import *
45
46 def XRCID(str_id):
47 return wxXmlResource_GetXRCID(str_id)
48
49 def XRCCTRL(window, str_id, *ignoreargs):
50 return window.FindWindowById(XRCID(str_id))
51
52 XMLID = XRCID
53 XMLCTRL = XRCCTRL
54
55 class wxXmlResourcePtr(wxObjectPtr):
56 def __init__(self,this):
57 self.this = this
58 self.thisown = 0
59 def __del__(self,xrcc=xrcc):
60 if self.thisown == 1 :
61 xrcc.delete_wxXmlResource(self)
62 def Load(self, *_args, **_kwargs):
63 val = apply(xrcc.wxXmlResource_Load,(self,) + _args, _kwargs)
64 return val
65 def LoadFromString(self, *_args, **_kwargs):
66 val = apply(xrcc.wxXmlResource_LoadFromString,(self,) + _args, _kwargs)
67 return val
68 def InitAllHandlers(self, *_args, **_kwargs):
69 val = apply(xrcc.wxXmlResource_InitAllHandlers,(self,) + _args, _kwargs)
70 return val
71 def AddHandler(self, *_args, **_kwargs):
72 val = apply(xrcc.wxXmlResource_AddHandler,(self,) + _args, _kwargs)
73 return val
74 def InsertHandler(self, *_args, **_kwargs):
75 val = apply(xrcc.wxXmlResource_InsertHandler,(self,) + _args, _kwargs)
76 return val
77 def ClearHandlers(self, *_args, **_kwargs):
78 val = apply(xrcc.wxXmlResource_ClearHandlers,(self,) + _args, _kwargs)
79 return val
80 def LoadMenu(self, *_args, **_kwargs):
81 val = apply(xrcc.wxXmlResource_LoadMenu,(self,) + _args, _kwargs)
82 return val
83 def LoadMenuBar(self, *_args, **_kwargs):
84 val = apply(xrcc.wxXmlResource_LoadMenuBar,(self,) + _args, _kwargs)
85 return val
86 def LoadMenuBarOnFrame(self, *_args, **_kwargs):
87 val = apply(xrcc.wxXmlResource_LoadMenuBarOnFrame,(self,) + _args, _kwargs)
88 return val
89 def LoadToolBar(self, *_args, **_kwargs):
90 val = apply(xrcc.wxXmlResource_LoadToolBar,(self,) + _args, _kwargs)
91 return val
92 def LoadDialog(self, *_args, **_kwargs):
93 val = apply(xrcc.wxXmlResource_LoadDialog,(self,) + _args, _kwargs)
94 if val: val = wxDialogPtr(val)
95 return val
96 def LoadOnDialog(self, *_args, **_kwargs):
97 val = apply(xrcc.wxXmlResource_LoadOnDialog,(self,) + _args, _kwargs)
98 return val
99 def LoadPanel(self, *_args, **_kwargs):
100 val = apply(xrcc.wxXmlResource_LoadPanel,(self,) + _args, _kwargs)
101 if val: val = wxPanelPtr(val)
102 return val
103 def LoadOnPanel(self, *_args, **_kwargs):
104 val = apply(xrcc.wxXmlResource_LoadOnPanel,(self,) + _args, _kwargs)
105 return val
106 def LoadFrame(self, *_args, **_kwargs):
107 val = apply(xrcc.wxXmlResource_LoadFrame,(self,) + _args, _kwargs)
108 return val
109 def LoadOnFrame(self, *_args, **_kwargs):
110 val = apply(xrcc.wxXmlResource_LoadOnFrame,(self,) + _args, _kwargs)
111 return val
112 def LoadObject(self, *_args, **_kwargs):
113 val = apply(xrcc.wxXmlResource_LoadObject,(self,) + _args, _kwargs)
114 return val
115 def LoadOnObject(self, *_args, **_kwargs):
116 val = apply(xrcc.wxXmlResource_LoadOnObject,(self,) + _args, _kwargs)
117 return val
118 def LoadBitmap(self, *_args, **_kwargs):
119 val = apply(xrcc.wxXmlResource_LoadBitmap,(self,) + _args, _kwargs)
120 if val: val = wxBitmapPtr(val) ; val.thisown = 1
121 return val
122 def LoadIcon(self, *_args, **_kwargs):
123 val = apply(xrcc.wxXmlResource_LoadIcon,(self,) + _args, _kwargs)
124 if val: val = wxIconPtr(val) ; val.thisown = 1
125 return val
126 def AttachUnknownControl(self, *_args, **_kwargs):
127 val = apply(xrcc.wxXmlResource_AttachUnknownControl,(self,) + _args, _kwargs)
128 return val
129 def GetVersion(self, *_args, **_kwargs):
130 val = apply(xrcc.wxXmlResource_GetVersion,(self,) + _args, _kwargs)
131 return val
132 def CompareVersion(self, *_args, **_kwargs):
133 val = apply(xrcc.wxXmlResource_CompareVersion,(self,) + _args, _kwargs)
134 return val
135 def GetFlags(self, *_args, **_kwargs):
136 val = apply(xrcc.wxXmlResource_GetFlags,(self,) + _args, _kwargs)
137 return val
138 def __repr__(self):
139 return "<C wxXmlResource instance at %s>" % (self.this,)
140 class wxXmlResource(wxXmlResourcePtr):
141 def __init__(self,*_args,**_kwargs):
142 self.this = apply(xrcc.new_wxXmlResource,_args,_kwargs)
143 self.thisown = 1
144 self.InitAllHandlers()
145
146
147
148 def wxEmptyXmlResource(*_args,**_kwargs):
149 val = wxXmlResourcePtr(apply(xrcc.new_wxEmptyXmlResource,_args,_kwargs))
150 val.thisown = 1
151 val.InitAllHandlers()
152 return val
153
154
155 class wxXmlPropertyPtr :
156 def __init__(self,this):
157 self.this = this
158 self.thisown = 0
159 def GetName(self, *_args, **_kwargs):
160 val = apply(xrcc.wxXmlProperty_GetName,(self,) + _args, _kwargs)
161 return val
162 def GetValue(self, *_args, **_kwargs):
163 val = apply(xrcc.wxXmlProperty_GetValue,(self,) + _args, _kwargs)
164 return val
165 def GetNext(self, *_args, **_kwargs):
166 val = apply(xrcc.wxXmlProperty_GetNext,(self,) + _args, _kwargs)
167 if val: val = wxXmlPropertyPtr(val)
168 return val
169 def SetName(self, *_args, **_kwargs):
170 val = apply(xrcc.wxXmlProperty_SetName,(self,) + _args, _kwargs)
171 return val
172 def SetValue(self, *_args, **_kwargs):
173 val = apply(xrcc.wxXmlProperty_SetValue,(self,) + _args, _kwargs)
174 return val
175 def SetNext(self, *_args, **_kwargs):
176 val = apply(xrcc.wxXmlProperty_SetNext,(self,) + _args, _kwargs)
177 return val
178 def __repr__(self):
179 return "<C wxXmlProperty instance at %s>" % (self.this,)
180 class wxXmlProperty(wxXmlPropertyPtr):
181 def __init__(self,*_args,**_kwargs):
182 self.this = apply(xrcc.new_wxXmlProperty,_args,_kwargs)
183 self.thisown = 1
184
185
186
187
188 class wxXmlNodePtr :
189 def __init__(self,this):
190 self.this = this
191 self.thisown = 0
192 def __del__(self,xrcc=xrcc):
193 if self.thisown == 1 :
194 xrcc.delete_wxXmlNode(self)
195 def AddChild(self, *_args, **_kwargs):
196 val = apply(xrcc.wxXmlNode_AddChild,(self,) + _args, _kwargs)
197 return val
198 def InsertChild(self, *_args, **_kwargs):
199 val = apply(xrcc.wxXmlNode_InsertChild,(self,) + _args, _kwargs)
200 return val
201 def RemoveChild(self, *_args, **_kwargs):
202 val = apply(xrcc.wxXmlNode_RemoveChild,(self,) + _args, _kwargs)
203 return val
204 def AddProperty(self, *_args, **_kwargs):
205 val = apply(xrcc.wxXmlNode_AddProperty,(self,) + _args, _kwargs)
206 return val
207 def AddPropertyName(self, *_args, **_kwargs):
208 val = apply(xrcc.wxXmlNode_AddPropertyName,(self,) + _args, _kwargs)
209 return val
210 def DeleteProperty(self, *_args, **_kwargs):
211 val = apply(xrcc.wxXmlNode_DeleteProperty,(self,) + _args, _kwargs)
212 return val
213 def GetType(self, *_args, **_kwargs):
214 val = apply(xrcc.wxXmlNode_GetType,(self,) + _args, _kwargs)
215 return val
216 def GetName(self, *_args, **_kwargs):
217 val = apply(xrcc.wxXmlNode_GetName,(self,) + _args, _kwargs)
218 return val
219 def GetContent(self, *_args, **_kwargs):
220 val = apply(xrcc.wxXmlNode_GetContent,(self,) + _args, _kwargs)
221 return val
222 def GetParent(self, *_args, **_kwargs):
223 val = apply(xrcc.wxXmlNode_GetParent,(self,) + _args, _kwargs)
224 if val: val = wxXmlNodePtr(val)
225 return val
226 def GetNext(self, *_args, **_kwargs):
227 val = apply(xrcc.wxXmlNode_GetNext,(self,) + _args, _kwargs)
228 if val: val = wxXmlNodePtr(val)
229 return val
230 def GetChildren(self, *_args, **_kwargs):
231 val = apply(xrcc.wxXmlNode_GetChildren,(self,) + _args, _kwargs)
232 if val: val = wxXmlNodePtr(val)
233 return val
234 def GetProperties(self, *_args, **_kwargs):
235 val = apply(xrcc.wxXmlNode_GetProperties,(self,) + _args, _kwargs)
236 if val: val = wxXmlPropertyPtr(val)
237 return val
238 def GetPropVal(self, *_args, **_kwargs):
239 val = apply(xrcc.wxXmlNode_GetPropVal,(self,) + _args, _kwargs)
240 return val
241 def HasProp(self, *_args, **_kwargs):
242 val = apply(xrcc.wxXmlNode_HasProp,(self,) + _args, _kwargs)
243 return val
244 def SetType(self, *_args, **_kwargs):
245 val = apply(xrcc.wxXmlNode_SetType,(self,) + _args, _kwargs)
246 return val
247 def SetName(self, *_args, **_kwargs):
248 val = apply(xrcc.wxXmlNode_SetName,(self,) + _args, _kwargs)
249 return val
250 def SetContent(self, *_args, **_kwargs):
251 val = apply(xrcc.wxXmlNode_SetContent,(self,) + _args, _kwargs)
252 return val
253 def SetParent(self, *_args, **_kwargs):
254 val = apply(xrcc.wxXmlNode_SetParent,(self,) + _args, _kwargs)
255 return val
256 def SetNext(self, *_args, **_kwargs):
257 val = apply(xrcc.wxXmlNode_SetNext,(self,) + _args, _kwargs)
258 return val
259 def SetChildren(self, *_args, **_kwargs):
260 val = apply(xrcc.wxXmlNode_SetChildren,(self,) + _args, _kwargs)
261 return val
262 def SetProperties(self, *_args, **_kwargs):
263 val = apply(xrcc.wxXmlNode_SetProperties,(self,) + _args, _kwargs)
264 return val
265 def __repr__(self):
266 return "<C wxXmlNode instance at %s>" % (self.this,)
267 class wxXmlNode(wxXmlNodePtr):
268 def __init__(self,*_args,**_kwargs):
269 self.this = apply(xrcc.new_wxXmlNode,_args,_kwargs)
270 self.thisown = 1
271
272
273
274 def wxXmlNodeEasy(*_args,**_kwargs):
275 val = wxXmlNodePtr(apply(xrcc.new_wxXmlNodeEasy,_args,_kwargs))
276 val.thisown = 1
277 return val
278
279
280 class wxXmlDocumentPtr(wxObjectPtr):
281 def __init__(self,this):
282 self.this = this
283 self.thisown = 0
284 def __del__(self,xrcc=xrcc):
285 if self.thisown == 1 :
286 xrcc.delete_wxXmlDocument(self)
287 def Load(self, *_args, **_kwargs):
288 val = apply(xrcc.wxXmlDocument_Load,(self,) + _args, _kwargs)
289 return val
290 def LoadFromStream(self, *_args, **_kwargs):
291 val = apply(xrcc.wxXmlDocument_LoadFromStream,(self,) + _args, _kwargs)
292 return val
293 def Save(self, *_args, **_kwargs):
294 val = apply(xrcc.wxXmlDocument_Save,(self,) + _args, _kwargs)
295 return val
296 def SaveToStream(self, *_args, **_kwargs):
297 val = apply(xrcc.wxXmlDocument_SaveToStream,(self,) + _args, _kwargs)
298 return val
299 def IsOk(self, *_args, **_kwargs):
300 val = apply(xrcc.wxXmlDocument_IsOk,(self,) + _args, _kwargs)
301 return val
302 def GetRoot(self, *_args, **_kwargs):
303 val = apply(xrcc.wxXmlDocument_GetRoot,(self,) + _args, _kwargs)
304 if val: val = wxXmlNodePtr(val)
305 return val
306 def GetVersion(self, *_args, **_kwargs):
307 val = apply(xrcc.wxXmlDocument_GetVersion,(self,) + _args, _kwargs)
308 return val
309 def GetFileEncoding(self, *_args, **_kwargs):
310 val = apply(xrcc.wxXmlDocument_GetFileEncoding,(self,) + _args, _kwargs)
311 return val
312 def SetRoot(self, *_args, **_kwargs):
313 val = apply(xrcc.wxXmlDocument_SetRoot,(self,) + _args, _kwargs)
314 return val
315 def SetVersion(self, *_args, **_kwargs):
316 val = apply(xrcc.wxXmlDocument_SetVersion,(self,) + _args, _kwargs)
317 return val
318 def SetFileEncoding(self, *_args, **_kwargs):
319 val = apply(xrcc.wxXmlDocument_SetFileEncoding,(self,) + _args, _kwargs)
320 return val
321 def GetEncoding(self, *_args, **_kwargs):
322 val = apply(xrcc.wxXmlDocument_GetEncoding,(self,) + _args, _kwargs)
323 return val
324 def __repr__(self):
325 return "<C wxXmlDocument instance at %s>" % (self.this,)
326 class wxXmlDocument(wxXmlDocumentPtr):
327 def __init__(self,*_args,**_kwargs):
328 self.this = apply(xrcc.new_wxXmlDocument,_args,_kwargs)
329 self.thisown = 1
330
331
332
333 def wxXmlDocumentFromStream(*_args,**_kwargs):
334 val = wxXmlDocumentPtr(apply(xrcc.new_wxXmlDocumentFromStream,_args,_kwargs))
335 val.thisown = 1
336 return val
337
338 def wxEmptyXmlDocument(*_args,**_kwargs):
339 val = wxXmlDocumentPtr(apply(xrcc.new_wxEmptyXmlDocument,_args,_kwargs))
340 val.thisown = 1
341 return val
342
343
344 class wxXmlResourceHandlerPtr(wxObjectPtr):
345 def __init__(self,this):
346 self.this = this
347 self.thisown = 0
348 def _setCallbackInfo(self, *_args, **_kwargs):
349 val = apply(xrcc.wxXmlResourceHandler__setCallbackInfo,(self,) + _args, _kwargs)
350 return val
351 def CreateResource(self, *_args, **_kwargs):
352 val = apply(xrcc.wxXmlResourceHandler_CreateResource,(self,) + _args, _kwargs)
353 return val
354 def SetParentResource(self, *_args, **_kwargs):
355 val = apply(xrcc.wxXmlResourceHandler_SetParentResource,(self,) + _args, _kwargs)
356 return val
357 def GetResource(self, *_args, **_kwargs):
358 val = apply(xrcc.wxXmlResourceHandler_GetResource,(self,) + _args, _kwargs)
359 if val: val = wxXmlResourcePtr(val)
360 return val
361 def GetNode(self, *_args, **_kwargs):
362 val = apply(xrcc.wxXmlResourceHandler_GetNode,(self,) + _args, _kwargs)
363 if val: val = wxXmlNodePtr(val)
364 return val
365 def GetClass(self, *_args, **_kwargs):
366 val = apply(xrcc.wxXmlResourceHandler_GetClass,(self,) + _args, _kwargs)
367 return val
368 def GetParent(self, *_args, **_kwargs):
369 val = apply(xrcc.wxXmlResourceHandler_GetParent,(self,) + _args, _kwargs)
370 return val
371 def GetInstance(self, *_args, **_kwargs):
372 val = apply(xrcc.wxXmlResourceHandler_GetInstance,(self,) + _args, _kwargs)
373 return val
374 def GetParentAsWindow(self, *_args, **_kwargs):
375 val = apply(xrcc.wxXmlResourceHandler_GetParentAsWindow,(self,) + _args, _kwargs)
376 return val
377 def GetInstanceAsWindow(self, *_args, **_kwargs):
378 val = apply(xrcc.wxXmlResourceHandler_GetInstanceAsWindow,(self,) + _args, _kwargs)
379 return val
380 def IsOfClass(self, *_args, **_kwargs):
381 val = apply(xrcc.wxXmlResourceHandler_IsOfClass,(self,) + _args, _kwargs)
382 return val
383 def GetNodeContent(self, *_args, **_kwargs):
384 val = apply(xrcc.wxXmlResourceHandler_GetNodeContent,(self,) + _args, _kwargs)
385 return val
386 def HasParam(self, *_args, **_kwargs):
387 val = apply(xrcc.wxXmlResourceHandler_HasParam,(self,) + _args, _kwargs)
388 return val
389 def GetParamNode(self, *_args, **_kwargs):
390 val = apply(xrcc.wxXmlResourceHandler_GetParamNode,(self,) + _args, _kwargs)
391 if val: val = wxXmlNodePtr(val)
392 return val
393 def GetParamValue(self, *_args, **_kwargs):
394 val = apply(xrcc.wxXmlResourceHandler_GetParamValue,(self,) + _args, _kwargs)
395 return val
396 def AddStyle(self, *_args, **_kwargs):
397 val = apply(xrcc.wxXmlResourceHandler_AddStyle,(self,) + _args, _kwargs)
398 return val
399 def AddWindowStyles(self, *_args, **_kwargs):
400 val = apply(xrcc.wxXmlResourceHandler_AddWindowStyles,(self,) + _args, _kwargs)
401 return val
402 def GetStyle(self, *_args, **_kwargs):
403 val = apply(xrcc.wxXmlResourceHandler_GetStyle,(self,) + _args, _kwargs)
404 return val
405 def GetText(self, *_args, **_kwargs):
406 val = apply(xrcc.wxXmlResourceHandler_GetText,(self,) + _args, _kwargs)
407 return val
408 def GetID(self, *_args, **_kwargs):
409 val = apply(xrcc.wxXmlResourceHandler_GetID,(self,) + _args, _kwargs)
410 return val
411 def GetName(self, *_args, **_kwargs):
412 val = apply(xrcc.wxXmlResourceHandler_GetName,(self,) + _args, _kwargs)
413 return val
414 def GetBool(self, *_args, **_kwargs):
415 val = apply(xrcc.wxXmlResourceHandler_GetBool,(self,) + _args, _kwargs)
416 return val
417 def GetLong(self, *_args, **_kwargs):
418 val = apply(xrcc.wxXmlResourceHandler_GetLong,(self,) + _args, _kwargs)
419 return val
420 def GetColour(self, *_args, **_kwargs):
421 val = apply(xrcc.wxXmlResourceHandler_GetColour,(self,) + _args, _kwargs)
422 if val: val = wxColourPtr(val) ; val.thisown = 1
423 return val
424 def GetSize(self, *_args, **_kwargs):
425 val = apply(xrcc.wxXmlResourceHandler_GetSize,(self,) + _args, _kwargs)
426 if val: val = wxSizePtr(val) ; val.thisown = 1
427 return val
428 def GetPosition(self, *_args, **_kwargs):
429 val = apply(xrcc.wxXmlResourceHandler_GetPosition,(self,) + _args, _kwargs)
430 if val: val = wxPointPtr(val) ; val.thisown = 1
431 return val
432 def GetDimension(self, *_args, **_kwargs):
433 val = apply(xrcc.wxXmlResourceHandler_GetDimension,(self,) + _args, _kwargs)
434 return val
435 def GetBitmap(self, *_args, **_kwargs):
436 val = apply(xrcc.wxXmlResourceHandler_GetBitmap,(self,) + _args, _kwargs)
437 if val: val = wxBitmapPtr(val) ; val.thisown = 1
438 return val
439 def GetIcon(self, *_args, **_kwargs):
440 val = apply(xrcc.wxXmlResourceHandler_GetIcon,(self,) + _args, _kwargs)
441 if val: val = wxIconPtr(val) ; val.thisown = 1
442 return val
443 def GetFont(self, *_args, **_kwargs):
444 val = apply(xrcc.wxXmlResourceHandler_GetFont,(self,) + _args, _kwargs)
445 if val: val = wxFontPtr(val) ; val.thisown = 1
446 return val
447 def SetupWindow(self, *_args, **_kwargs):
448 val = apply(xrcc.wxXmlResourceHandler_SetupWindow,(self,) + _args, _kwargs)
449 return val
450 def CreateChildren(self, *_args, **_kwargs):
451 val = apply(xrcc.wxXmlResourceHandler_CreateChildren,(self,) + _args, _kwargs)
452 return val
453 def CreateChildrenPrivately(self, *_args, **_kwargs):
454 val = apply(xrcc.wxXmlResourceHandler_CreateChildrenPrivately,(self,) + _args, _kwargs)
455 return val
456 def CreateResFromNode(self, *_args, **_kwargs):
457 val = apply(xrcc.wxXmlResourceHandler_CreateResFromNode,(self,) + _args, _kwargs)
458 return val
459 def GetCurFileSystem(self, *_args, **_kwargs):
460 val = apply(xrcc.wxXmlResourceHandler_GetCurFileSystem,(self,) + _args, _kwargs)
461 return val
462 def __repr__(self):
463 return "<C wxXmlResourceHandler instance at %s>" % (self.this,)
464 class wxXmlResourceHandler(wxXmlResourceHandlerPtr):
465 def __init__(self,*_args,**_kwargs):
466 self.this = apply(xrcc.new_wxXmlResourceHandler,_args,_kwargs)
467 self.thisown = 1
468 self._setCallbackInfo(self, wxXmlResourceHandler)
469
470
471
472
473
474
475 #-------------- FUNCTION WRAPPERS ------------------
476
477 wxXmlResource_GetXRCID = xrcc.wxXmlResource_GetXRCID
478
479 def wxXmlResource_Get(*_args, **_kwargs):
480 val = apply(xrcc.wxXmlResource_Get,_args,_kwargs)
481 if val: val = wxXmlResourcePtr(val)
482 return val
483
484 def wxXmlResource_Set(*_args, **_kwargs):
485 val = apply(xrcc.wxXmlResource_Set,_args,_kwargs)
486 if val: val = wxXmlResourcePtr(val)
487 return val
488
489
490
491 #-------------- VARIABLE WRAPPERS ------------------
492
493 wxXRC_USE_LOCALE = xrcc.wxXRC_USE_LOCALE
494 wxXRC_NO_SUBCLASSING = xrcc.wxXRC_NO_SUBCLASSING
495 wxXML_ELEMENT_NODE = xrcc.wxXML_ELEMENT_NODE
496 wxXML_ATTRIBUTE_NODE = xrcc.wxXML_ATTRIBUTE_NODE
497 wxXML_TEXT_NODE = xrcc.wxXML_TEXT_NODE
498 wxXML_CDATA_SECTION_NODE = xrcc.wxXML_CDATA_SECTION_NODE
499 wxXML_ENTITY_REF_NODE = xrcc.wxXML_ENTITY_REF_NODE
500 wxXML_ENTITY_NODE = xrcc.wxXML_ENTITY_NODE
501 wxXML_PI_NODE = xrcc.wxXML_PI_NODE
502 wxXML_COMMENT_NODE = xrcc.wxXML_COMMENT_NODE
503 wxXML_DOCUMENT_NODE = xrcc.wxXML_DOCUMENT_NODE
504 wxXML_DOCUMENT_TYPE_NODE = xrcc.wxXML_DOCUMENT_TYPE_NODE
505 wxXML_DOCUMENT_FRAG_NODE = xrcc.wxXML_DOCUMENT_FRAG_NODE
506 wxXML_NOTATION_NODE = xrcc.wxXML_NOTATION_NODE
507 wxXML_HTML_DOCUMENT_NODE = xrcc.wxXML_HTML_DOCUMENT_NODE
508
509
510 #-------------- USER INCLUDE -----------------------
511
512
513 # The global was removed in favor of static accessor functions. This is for
514 # backwards compatibility:
515 wxTheXmlResource = wxXmlResource_Get()
516
517 wx.wxXmlNodePtr = wxXmlNodePtr