2 * FILE : contrib/xrc/xrc.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initxrcc
56 #define SWIG_name "xrcc"
59 #include "wx/xrc/xmlres.h"
62 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
68 } else if (target
== Py_None
) {
72 if (!PyTuple_Check(target
)) {
74 target
= PyTuple_New(1);
75 PyTuple_SetItem(target
, 0, o2
);
78 PyTuple_SetItem(o3
, 0, o
);
81 target
= PySequence_Concat(o2
, o3
);
90 static void *SwigwxXmlResourceTowxObject(void *ptr
) {
93 src
= (wxXmlResource
*) ptr
;
94 dest
= (wxObject
*) src
;
98 #define new_wxXmlResourceEmpty(_swigarg0) (new wxXmlResource(_swigarg0))
99 static PyObject
*_wrap_new_wxXmlResourceEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
100 PyObject
* _resultobj
;
101 wxXmlResource
* _result
;
102 int _arg0
= (int ) (wxXRC_USE_LOCALE
);
103 char *_kwnames
[] = { "flags", NULL
};
107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxXmlResourceEmpty",_kwnames
,&_arg0
))
110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
111 _result
= (wxXmlResource
*)new_wxXmlResourceEmpty(_arg0
);
113 wxPyEndAllowThreads(__tstate
);
114 if (PyErr_Occurred()) return NULL
;
116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxXmlResource_p");
117 _resultobj
= Py_BuildValue("s",_ptemp
);
120 _resultobj
= Py_None
;
125 static wxXmlResource
*new_wxXmlResource(const wxString
*filemask
,int flags
) {
126 wxXmlResource
* res
= new wxXmlResource(*filemask
, flags
);
127 res
->InitAllHandlers();
131 static PyObject
*_wrap_new_wxXmlResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
132 PyObject
* _resultobj
;
133 wxXmlResource
* _result
;
135 int _arg1
= (int ) (wxXRC_USE_LOCALE
);
136 PyObject
* _obj0
= 0;
137 char *_kwnames
[] = { "filemask","flags", NULL
};
141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxXmlResource",_kwnames
,&_obj0
,&_arg1
))
144 _arg0
= wxString_in_helper(_obj0
);
149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
150 _result
= (wxXmlResource
*)new_wxXmlResource(_arg0
,_arg1
);
152 wxPyEndAllowThreads(__tstate
);
153 if (PyErr_Occurred()) return NULL
;
155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxXmlResource_p");
156 _resultobj
= Py_BuildValue("s",_ptemp
);
159 _resultobj
= Py_None
;
168 #define delete_wxXmlResource(_swigobj) (delete _swigobj)
169 static PyObject
*_wrap_delete_wxXmlResource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
170 PyObject
* _resultobj
;
171 wxXmlResource
* _arg0
;
172 PyObject
* _argo0
= 0;
173 char *_kwnames
[] = { "self", NULL
};
176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxXmlResource",_kwnames
,&_argo0
))
179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxXmlResource. Expected _wxXmlResource_p.");
186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
187 delete_wxXmlResource(_arg0
);
189 wxPyEndAllowThreads(__tstate
);
190 if (PyErr_Occurred()) return NULL
;
191 } Py_INCREF(Py_None
);
192 _resultobj
= Py_None
;
196 #define wxXmlResource_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
197 static PyObject
*_wrap_wxXmlResource_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
200 wxXmlResource
* _arg0
;
202 PyObject
* _argo0
= 0;
203 PyObject
* _obj1
= 0;
204 char *_kwnames
[] = { "self","filemask", NULL
};
207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxXmlResource_Load",_kwnames
,&_argo0
,&_obj1
))
210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_Load. Expected _wxXmlResource_p.");
217 _arg1
= wxString_in_helper(_obj1
);
222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
223 _result
= (bool )wxXmlResource_Load(_arg0
,*_arg1
);
225 wxPyEndAllowThreads(__tstate
);
226 if (PyErr_Occurred()) return NULL
;
227 } _resultobj
= Py_BuildValue("i",_result
);
235 #define wxXmlResource_InitAllHandlers(_swigobj) (_swigobj->InitAllHandlers())
236 static PyObject
*_wrap_wxXmlResource_InitAllHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
237 PyObject
* _resultobj
;
238 wxXmlResource
* _arg0
;
239 PyObject
* _argo0
= 0;
240 char *_kwnames
[] = { "self", NULL
};
243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxXmlResource_InitAllHandlers",_kwnames
,&_argo0
))
246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_InitAllHandlers. Expected _wxXmlResource_p.");
253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
254 wxXmlResource_InitAllHandlers(_arg0
);
256 wxPyEndAllowThreads(__tstate
);
257 if (PyErr_Occurred()) return NULL
;
258 } Py_INCREF(Py_None
);
259 _resultobj
= Py_None
;
263 #define wxXmlResource_AddHandler(_swigobj,_swigarg0) (_swigobj->AddHandler(_swigarg0))
264 static PyObject
*_wrap_wxXmlResource_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
266 wxXmlResource
* _arg0
;
267 wxXmlResourceHandler
* _arg1
;
268 PyObject
* _argo0
= 0;
269 PyObject
* _argo1
= 0;
270 char *_kwnames
[] = { "self","handler", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxXmlResource_AddHandler",_kwnames
,&_argo0
,&_argo1
))
276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_AddHandler. Expected _wxXmlResource_p.");
283 if (_argo1
== Py_None
) { _arg1
= NULL
; }
284 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxXmlResourceHandler_p")) {
285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxXmlResource_AddHandler. Expected _wxXmlResourceHandler_p.");
290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
291 wxXmlResource_AddHandler(_arg0
,_arg1
);
293 wxPyEndAllowThreads(__tstate
);
294 if (PyErr_Occurred()) return NULL
;
295 } Py_INCREF(Py_None
);
296 _resultobj
= Py_None
;
300 #define wxXmlResource_ClearHandlers(_swigobj) (_swigobj->ClearHandlers())
301 static PyObject
*_wrap_wxXmlResource_ClearHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
302 PyObject
* _resultobj
;
303 wxXmlResource
* _arg0
;
304 PyObject
* _argo0
= 0;
305 char *_kwnames
[] = { "self", NULL
};
308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxXmlResource_ClearHandlers",_kwnames
,&_argo0
))
311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_ClearHandlers. Expected _wxXmlResource_p.");
318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
319 wxXmlResource_ClearHandlers(_arg0
);
321 wxPyEndAllowThreads(__tstate
);
322 if (PyErr_Occurred()) return NULL
;
323 } Py_INCREF(Py_None
);
324 _resultobj
= Py_None
;
328 #define wxXmlResource_LoadMenu(_swigobj,_swigarg0) (_swigobj->LoadMenu(_swigarg0))
329 static PyObject
*_wrap_wxXmlResource_LoadMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
330 PyObject
* _resultobj
;
332 wxXmlResource
* _arg0
;
334 PyObject
* _argo0
= 0;
335 PyObject
* _obj1
= 0;
336 char *_kwnames
[] = { "self","name", NULL
};
339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxXmlResource_LoadMenu",_kwnames
,&_argo0
,&_obj1
))
342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadMenu. Expected _wxXmlResource_p.");
349 _arg1
= wxString_in_helper(_obj1
);
354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
355 _result
= (wxMenu
*)wxXmlResource_LoadMenu(_arg0
,*_arg1
);
357 wxPyEndAllowThreads(__tstate
);
358 if (PyErr_Occurred()) return NULL
;
359 }{ _resultobj
= wxPyMake_wxObject(_result
); }
367 #define wxXmlResource_LoadMenuBar(_swigobj,_swigarg0) (_swigobj->LoadMenuBar(_swigarg0))
368 static PyObject
*_wrap_wxXmlResource_LoadMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
371 wxXmlResource
* _arg0
;
373 PyObject
* _argo0
= 0;
374 PyObject
* _obj1
= 0;
375 char *_kwnames
[] = { "self","name", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxXmlResource_LoadMenuBar",_kwnames
,&_argo0
,&_obj1
))
381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadMenuBar. Expected _wxXmlResource_p.");
388 _arg1
= wxString_in_helper(_obj1
);
393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
394 _result
= (wxMenuBar
*)wxXmlResource_LoadMenuBar(_arg0
,*_arg1
);
396 wxPyEndAllowThreads(__tstate
);
397 if (PyErr_Occurred()) return NULL
;
398 }{ _resultobj
= wxPyMake_wxObject(_result
); }
406 #define wxXmlResource_LoadMenuBarOnFrame(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadMenuBar(_swigarg0,_swigarg1))
407 static PyObject
*_wrap_wxXmlResource_LoadMenuBarOnFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
408 PyObject
* _resultobj
;
410 wxXmlResource
* _arg0
;
413 PyObject
* _argo0
= 0;
414 PyObject
* _argo1
= 0;
415 PyObject
* _obj2
= 0;
416 char *_kwnames
[] = { "self","parent","name", NULL
};
419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxXmlResource_LoadMenuBarOnFrame",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadMenuBarOnFrame. Expected _wxXmlResource_p.");
429 if (_argo1
== Py_None
) { _arg1
= NULL
; }
430 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxXmlResource_LoadMenuBarOnFrame. Expected _wxWindow_p.");
436 _arg2
= wxString_in_helper(_obj2
);
441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
442 _result
= (wxMenuBar
*)wxXmlResource_LoadMenuBarOnFrame(_arg0
,_arg1
,*_arg2
);
444 wxPyEndAllowThreads(__tstate
);
445 if (PyErr_Occurred()) return NULL
;
446 }{ _resultobj
= wxPyMake_wxObject(_result
); }
454 #define wxXmlResource_LoadToolBar(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadToolBar(_swigarg0,_swigarg1))
455 static PyObject
*_wrap_wxXmlResource_LoadToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
456 PyObject
* _resultobj
;
458 wxXmlResource
* _arg0
;
461 PyObject
* _argo0
= 0;
462 PyObject
* _argo1
= 0;
463 PyObject
* _obj2
= 0;
464 char *_kwnames
[] = { "self","parent","name", NULL
};
467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxXmlResource_LoadToolBar",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadToolBar. Expected _wxXmlResource_p.");
477 if (_argo1
== Py_None
) { _arg1
= NULL
; }
478 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxXmlResource_LoadToolBar. Expected _wxWindow_p.");
484 _arg2
= wxString_in_helper(_obj2
);
489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
490 _result
= (wxToolBar
*)wxXmlResource_LoadToolBar(_arg0
,_arg1
,*_arg2
);
492 wxPyEndAllowThreads(__tstate
);
493 if (PyErr_Occurred()) return NULL
;
494 }{ _resultobj
= wxPyMake_wxObject(_result
); }
502 #define wxXmlResource_LoadDialog(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadDialog(_swigarg0,_swigarg1))
503 static PyObject
*_wrap_wxXmlResource_LoadDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
504 PyObject
* _resultobj
;
506 wxXmlResource
* _arg0
;
509 PyObject
* _argo0
= 0;
510 PyObject
* _argo1
= 0;
511 PyObject
* _obj2
= 0;
512 char *_kwnames
[] = { "self","parent","name", NULL
};
516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxXmlResource_LoadDialog",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadDialog. Expected _wxXmlResource_p.");
526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxXmlResource_LoadDialog. Expected _wxWindow_p.");
533 _arg2
= wxString_in_helper(_obj2
);
538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
539 _result
= (wxDialog
*)wxXmlResource_LoadDialog(_arg0
,_arg1
,*_arg2
);
541 wxPyEndAllowThreads(__tstate
);
542 if (PyErr_Occurred()) return NULL
;
544 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxDialog_p");
545 _resultobj
= Py_BuildValue("s",_ptemp
);
548 _resultobj
= Py_None
;
557 #define wxXmlResource_LoadOnDialog(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadDialog(_swigarg0,_swigarg1,_swigarg2))
558 static PyObject
*_wrap_wxXmlResource_LoadOnDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
559 PyObject
* _resultobj
;
561 wxXmlResource
* _arg0
;
565 PyObject
* _argo0
= 0;
566 PyObject
* _argo1
= 0;
567 PyObject
* _argo2
= 0;
568 PyObject
* _obj3
= 0;
569 char *_kwnames
[] = { "self","dlg","parent","name", NULL
};
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxXmlResource_LoadOnDialog",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
))
575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadOnDialog. Expected _wxXmlResource_p.");
582 if (_argo1
== Py_None
) { _arg1
= NULL
; }
583 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxDialog_p")) {
584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxXmlResource_LoadOnDialog. Expected _wxDialog_p.");
589 if (_argo2
== Py_None
) { _arg2
= NULL
; }
590 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxXmlResource_LoadOnDialog. Expected _wxWindow_p.");
596 _arg3
= wxString_in_helper(_obj3
);
601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
602 _result
= (bool )wxXmlResource_LoadOnDialog(_arg0
,_arg1
,_arg2
,*_arg3
);
604 wxPyEndAllowThreads(__tstate
);
605 if (PyErr_Occurred()) return NULL
;
606 } _resultobj
= Py_BuildValue("i",_result
);
614 #define wxXmlResource_LoadPanel(_swigobj,_swigarg0,_swigarg1) (_swigobj->LoadPanel(_swigarg0,_swigarg1))
615 static PyObject
*_wrap_wxXmlResource_LoadPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
616 PyObject
* _resultobj
;
618 wxXmlResource
* _arg0
;
621 PyObject
* _argo0
= 0;
622 PyObject
* _argo1
= 0;
623 PyObject
* _obj2
= 0;
624 char *_kwnames
[] = { "self","parent","name", NULL
};
628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxXmlResource_LoadPanel",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadPanel. Expected _wxXmlResource_p.");
638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxXmlResource_LoadPanel. Expected _wxWindow_p.");
645 _arg2
= wxString_in_helper(_obj2
);
650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
651 _result
= (wxPanel
*)wxXmlResource_LoadPanel(_arg0
,_arg1
,*_arg2
);
653 wxPyEndAllowThreads(__tstate
);
654 if (PyErr_Occurred()) return NULL
;
656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPanel_p");
657 _resultobj
= Py_BuildValue("s",_ptemp
);
660 _resultobj
= Py_None
;
669 #define wxXmlResource_LoadOnPanel(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadPanel(_swigarg0,_swigarg1,_swigarg2))
670 static PyObject
*_wrap_wxXmlResource_LoadOnPanel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
671 PyObject
* _resultobj
;
673 wxXmlResource
* _arg0
;
677 PyObject
* _argo0
= 0;
678 PyObject
* _argo1
= 0;
679 PyObject
* _argo2
= 0;
680 PyObject
* _obj3
= 0;
681 char *_kwnames
[] = { "self","panel","parent","name", NULL
};
684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxXmlResource_LoadOnPanel",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
))
687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadOnPanel. Expected _wxXmlResource_p.");
694 if (_argo1
== Py_None
) { _arg1
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxPanel_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxXmlResource_LoadOnPanel. Expected _wxPanel_p.");
701 if (_argo2
== Py_None
) { _arg2
= NULL
; }
702 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxXmlResource_LoadOnPanel. Expected _wxWindow_p.");
708 _arg3
= wxString_in_helper(_obj3
);
713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
714 _result
= (bool )wxXmlResource_LoadOnPanel(_arg0
,_arg1
,_arg2
,*_arg3
);
716 wxPyEndAllowThreads(__tstate
);
717 if (PyErr_Occurred()) return NULL
;
718 } _resultobj
= Py_BuildValue("i",_result
);
726 #define wxXmlResource_LoadFrame(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFrame(_swigarg0,_swigarg1,_swigarg2))
727 static PyObject
*_wrap_wxXmlResource_LoadFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
728 PyObject
* _resultobj
;
730 wxXmlResource
* _arg0
;
734 PyObject
* _argo0
= 0;
735 PyObject
* _argo1
= 0;
736 PyObject
* _argo2
= 0;
737 PyObject
* _obj3
= 0;
738 char *_kwnames
[] = { "self","frame","parent","name", NULL
};
741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxXmlResource_LoadFrame",_kwnames
,&_argo0
,&_argo1
,&_argo2
,&_obj3
))
744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadFrame. Expected _wxXmlResource_p.");
751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFrame_p")) {
753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxXmlResource_LoadFrame. Expected _wxFrame_p.");
758 if (_argo2
== Py_None
) { _arg2
= NULL
; }
759 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxXmlResource_LoadFrame. Expected _wxWindow_p.");
765 _arg3
= wxString_in_helper(_obj3
);
770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
771 _result
= (bool )wxXmlResource_LoadFrame(_arg0
,_arg1
,_arg2
,*_arg3
);
773 wxPyEndAllowThreads(__tstate
);
774 if (PyErr_Occurred()) return NULL
;
775 } _resultobj
= Py_BuildValue("i",_result
);
783 #define wxXmlResource_LoadBitmap(_swigobj,_swigarg0) (_swigobj->LoadBitmap(_swigarg0))
784 static PyObject
*_wrap_wxXmlResource_LoadBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
785 PyObject
* _resultobj
;
787 wxXmlResource
* _arg0
;
789 PyObject
* _argo0
= 0;
790 PyObject
* _obj1
= 0;
791 char *_kwnames
[] = { "self","name", NULL
};
795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxXmlResource_LoadBitmap",_kwnames
,&_argo0
,&_obj1
))
798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadBitmap. Expected _wxXmlResource_p.");
805 _arg1
= wxString_in_helper(_obj1
);
810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
811 _result
= new wxBitmap (wxXmlResource_LoadBitmap(_arg0
,*_arg1
));
813 wxPyEndAllowThreads(__tstate
);
814 if (PyErr_Occurred()) return NULL
;
815 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
816 _resultobj
= Py_BuildValue("s",_ptemp
);
824 #define wxXmlResource_LoadIcon(_swigobj,_swigarg0) (_swigobj->LoadIcon(_swigarg0))
825 static PyObject
*_wrap_wxXmlResource_LoadIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
826 PyObject
* _resultobj
;
828 wxXmlResource
* _arg0
;
830 PyObject
* _argo0
= 0;
831 PyObject
* _obj1
= 0;
832 char *_kwnames
[] = { "self","name", NULL
};
836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxXmlResource_LoadIcon",_kwnames
,&_argo0
,&_obj1
))
839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_LoadIcon. Expected _wxXmlResource_p.");
846 _arg1
= wxString_in_helper(_obj1
);
851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
852 _result
= new wxIcon (wxXmlResource_LoadIcon(_arg0
,*_arg1
));
854 wxPyEndAllowThreads(__tstate
);
855 if (PyErr_Occurred()) return NULL
;
856 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
857 _resultobj
= Py_BuildValue("s",_ptemp
);
865 #define wxXmlResource_AttachUnknownControl(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachUnknownControl(_swigarg0,_swigarg1,_swigarg2))
866 static PyObject
*_wrap_wxXmlResource_AttachUnknownControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 PyObject
* _resultobj
;
869 wxXmlResource
* _arg0
;
872 wxWindow
* _arg3
= (wxWindow
*) NULL
;
873 PyObject
* _argo0
= 0;
874 PyObject
* _obj1
= 0;
875 PyObject
* _argo2
= 0;
876 PyObject
* _argo3
= 0;
877 char *_kwnames
[] = { "self","name","control","parent", NULL
};
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|O:wxXmlResource_AttachUnknownControl",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_AttachUnknownControl. Expected _wxXmlResource_p.");
890 _arg1
= wxString_in_helper(_obj1
);
895 if (_argo2
== Py_None
) { _arg2
= NULL
; }
896 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxXmlResource_AttachUnknownControl. Expected _wxWindow_p.");
902 if (_argo3
== Py_None
) { _arg3
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxXmlResource_AttachUnknownControl. Expected _wxWindow_p.");
909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
910 _result
= (bool )wxXmlResource_AttachUnknownControl(_arg0
,*_arg1
,_arg2
,_arg3
);
912 wxPyEndAllowThreads(__tstate
);
913 if (PyErr_Occurred()) return NULL
;
914 } _resultobj
= Py_BuildValue("i",_result
);
922 static PyObject
*_wrap_wxXmlResource_GetXRCID(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 PyObject
* _resultobj
;
926 PyObject
* _obj0
= 0;
927 char *_kwnames
[] = { "str_id", NULL
};
930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxXmlResource_GetXRCID",_kwnames
,&_obj0
))
933 _arg0
= wxString_in_helper(_obj0
);
938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
939 _result
= (int )wxXmlResource::GetXRCID(*_arg0
);
941 wxPyEndAllowThreads(__tstate
);
942 if (PyErr_Occurred()) return NULL
;
943 } _resultobj
= Py_BuildValue("i",_result
);
951 #define wxXmlResource_GetVersion(_swigobj) (_swigobj->GetVersion())
952 static PyObject
*_wrap_wxXmlResource_GetVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
953 PyObject
* _resultobj
;
955 wxXmlResource
* _arg0
;
956 PyObject
* _argo0
= 0;
957 char *_kwnames
[] = { "self", NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxXmlResource_GetVersion",_kwnames
,&_argo0
))
963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_GetVersion. Expected _wxXmlResource_p.");
970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
971 _result
= (long )wxXmlResource_GetVersion(_arg0
);
973 wxPyEndAllowThreads(__tstate
);
974 if (PyErr_Occurred()) return NULL
;
975 } _resultobj
= Py_BuildValue("l",_result
);
979 #define wxXmlResource_CompareVersion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->CompareVersion(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
980 static PyObject
*_wrap_wxXmlResource_CompareVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
981 PyObject
* _resultobj
;
983 wxXmlResource
* _arg0
;
988 PyObject
* _argo0
= 0;
989 char *_kwnames
[] = { "self","major","minor","release","revision", NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii:wxXmlResource_CompareVersion",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
))
995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_CompareVersion. Expected _wxXmlResource_p.");
1002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1003 _result
= (int )wxXmlResource_CompareVersion(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
);
1005 wxPyEndAllowThreads(__tstate
);
1006 if (PyErr_Occurred()) return NULL
;
1007 } _resultobj
= Py_BuildValue("i",_result
);
1011 static PyObject
*_wrap_wxXmlResource_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
* _resultobj
;
1013 wxXmlResource
* _result
;
1014 char *_kwnames
[] = { NULL
};
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxXmlResource_Get",_kwnames
))
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 _result
= (wxXmlResource
*)wxXmlResource::Get();
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxXmlResource_p");
1028 _resultobj
= Py_BuildValue("s",_ptemp
);
1031 _resultobj
= Py_None
;
1036 static PyObject
*_wrap_wxXmlResource_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1037 PyObject
* _resultobj
;
1038 wxXmlResource
* _result
;
1039 wxXmlResource
* _arg0
;
1040 PyObject
* _argo0
= 0;
1041 char *_kwnames
[] = { "res", NULL
};
1045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxXmlResource_Set",_kwnames
,&_argo0
))
1048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxXmlResource_p")) {
1050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxXmlResource_Set. Expected _wxXmlResource_p.");
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1056 _result
= (wxXmlResource
*)wxXmlResource::Set(_arg0
);
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) return NULL
;
1061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxXmlResource_p");
1062 _resultobj
= Py_BuildValue("s",_ptemp
);
1065 _resultobj
= Py_None
;
1070 static PyMethodDef xrccMethods
[] = {
1071 { "wxXmlResource_Set", (PyCFunction
) _wrap_wxXmlResource_Set
, METH_VARARGS
| METH_KEYWORDS
},
1072 { "wxXmlResource_Get", (PyCFunction
) _wrap_wxXmlResource_Get
, METH_VARARGS
| METH_KEYWORDS
},
1073 { "wxXmlResource_CompareVersion", (PyCFunction
) _wrap_wxXmlResource_CompareVersion
, METH_VARARGS
| METH_KEYWORDS
},
1074 { "wxXmlResource_GetVersion", (PyCFunction
) _wrap_wxXmlResource_GetVersion
, METH_VARARGS
| METH_KEYWORDS
},
1075 { "wxXmlResource_GetXRCID", (PyCFunction
) _wrap_wxXmlResource_GetXRCID
, METH_VARARGS
| METH_KEYWORDS
},
1076 { "wxXmlResource_AttachUnknownControl", (PyCFunction
) _wrap_wxXmlResource_AttachUnknownControl
, METH_VARARGS
| METH_KEYWORDS
},
1077 { "wxXmlResource_LoadIcon", (PyCFunction
) _wrap_wxXmlResource_LoadIcon
, METH_VARARGS
| METH_KEYWORDS
},
1078 { "wxXmlResource_LoadBitmap", (PyCFunction
) _wrap_wxXmlResource_LoadBitmap
, METH_VARARGS
| METH_KEYWORDS
},
1079 { "wxXmlResource_LoadFrame", (PyCFunction
) _wrap_wxXmlResource_LoadFrame
, METH_VARARGS
| METH_KEYWORDS
},
1080 { "wxXmlResource_LoadOnPanel", (PyCFunction
) _wrap_wxXmlResource_LoadOnPanel
, METH_VARARGS
| METH_KEYWORDS
},
1081 { "wxXmlResource_LoadPanel", (PyCFunction
) _wrap_wxXmlResource_LoadPanel
, METH_VARARGS
| METH_KEYWORDS
},
1082 { "wxXmlResource_LoadOnDialog", (PyCFunction
) _wrap_wxXmlResource_LoadOnDialog
, METH_VARARGS
| METH_KEYWORDS
},
1083 { "wxXmlResource_LoadDialog", (PyCFunction
) _wrap_wxXmlResource_LoadDialog
, METH_VARARGS
| METH_KEYWORDS
},
1084 { "wxXmlResource_LoadToolBar", (PyCFunction
) _wrap_wxXmlResource_LoadToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1085 { "wxXmlResource_LoadMenuBarOnFrame", (PyCFunction
) _wrap_wxXmlResource_LoadMenuBarOnFrame
, METH_VARARGS
| METH_KEYWORDS
},
1086 { "wxXmlResource_LoadMenuBar", (PyCFunction
) _wrap_wxXmlResource_LoadMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
1087 { "wxXmlResource_LoadMenu", (PyCFunction
) _wrap_wxXmlResource_LoadMenu
, METH_VARARGS
| METH_KEYWORDS
},
1088 { "wxXmlResource_ClearHandlers", (PyCFunction
) _wrap_wxXmlResource_ClearHandlers
, METH_VARARGS
| METH_KEYWORDS
},
1089 { "wxXmlResource_AddHandler", (PyCFunction
) _wrap_wxXmlResource_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
1090 { "wxXmlResource_InitAllHandlers", (PyCFunction
) _wrap_wxXmlResource_InitAllHandlers
, METH_VARARGS
| METH_KEYWORDS
},
1091 { "wxXmlResource_Load", (PyCFunction
) _wrap_wxXmlResource_Load
, METH_VARARGS
| METH_KEYWORDS
},
1092 { "delete_wxXmlResource", (PyCFunction
) _wrap_delete_wxXmlResource
, METH_VARARGS
| METH_KEYWORDS
},
1093 { "new_wxXmlResource", (PyCFunction
) _wrap_new_wxXmlResource
, METH_VARARGS
| METH_KEYWORDS
},
1094 { "new_wxXmlResourceEmpty", (PyCFunction
) _wrap_new_wxXmlResourceEmpty
, METH_VARARGS
| METH_KEYWORDS
},
1101 * This table is used by the pointer type-checker
1103 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1104 { "_signed_long","_long",0},
1105 { "_wxPrintQuality","_wxCoord",0},
1106 { "_wxPrintQuality","_int",0},
1107 { "_wxPrintQuality","_signed_int",0},
1108 { "_wxPrintQuality","_unsigned_int",0},
1109 { "_wxPrintQuality","_wxWindowID",0},
1110 { "_wxPrintQuality","_uint",0},
1111 { "_wxPrintQuality","_EBool",0},
1112 { "_wxPrintQuality","_size_t",0},
1113 { "_wxPrintQuality","_time_t",0},
1114 { "_byte","_unsigned_char",0},
1115 { "_long","_unsigned_long",0},
1116 { "_long","_signed_long",0},
1117 { "_size_t","_wxCoord",0},
1118 { "_size_t","_wxPrintQuality",0},
1119 { "_size_t","_time_t",0},
1120 { "_size_t","_unsigned_int",0},
1121 { "_size_t","_int",0},
1122 { "_size_t","_wxWindowID",0},
1123 { "_size_t","_uint",0},
1124 { "_uint","_wxCoord",0},
1125 { "_uint","_wxPrintQuality",0},
1126 { "_uint","_time_t",0},
1127 { "_uint","_size_t",0},
1128 { "_uint","_unsigned_int",0},
1129 { "_uint","_int",0},
1130 { "_uint","_wxWindowID",0},
1131 { "_wxChar","_char",0},
1132 { "_char","_wxChar",0},
1133 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1134 { "_EBool","_wxCoord",0},
1135 { "_EBool","_wxPrintQuality",0},
1136 { "_EBool","_signed_int",0},
1137 { "_EBool","_int",0},
1138 { "_EBool","_wxWindowID",0},
1139 { "_unsigned_long","_long",0},
1140 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1141 { "_signed_int","_wxCoord",0},
1142 { "_signed_int","_wxPrintQuality",0},
1143 { "_signed_int","_EBool",0},
1144 { "_signed_int","_wxWindowID",0},
1145 { "_signed_int","_int",0},
1146 { "_WXTYPE","_wxDateTime_t",0},
1147 { "_WXTYPE","_short",0},
1148 { "_WXTYPE","_signed_short",0},
1149 { "_WXTYPE","_unsigned_short",0},
1150 { "_unsigned_short","_wxDateTime_t",0},
1151 { "_unsigned_short","_WXTYPE",0},
1152 { "_unsigned_short","_short",0},
1153 { "_wxObject","_wxXmlResource",SwigwxXmlResourceTowxObject
},
1154 { "_signed_short","_WXTYPE",0},
1155 { "_signed_short","_short",0},
1156 { "_unsigned_char","_byte",0},
1157 { "_unsigned_int","_wxCoord",0},
1158 { "_unsigned_int","_wxPrintQuality",0},
1159 { "_unsigned_int","_time_t",0},
1160 { "_unsigned_int","_size_t",0},
1161 { "_unsigned_int","_uint",0},
1162 { "_unsigned_int","_wxWindowID",0},
1163 { "_unsigned_int","_int",0},
1164 { "_short","_wxDateTime_t",0},
1165 { "_short","_WXTYPE",0},
1166 { "_short","_unsigned_short",0},
1167 { "_short","_signed_short",0},
1168 { "_wxWindowID","_wxCoord",0},
1169 { "_wxWindowID","_wxPrintQuality",0},
1170 { "_wxWindowID","_time_t",0},
1171 { "_wxWindowID","_size_t",0},
1172 { "_wxWindowID","_EBool",0},
1173 { "_wxWindowID","_uint",0},
1174 { "_wxWindowID","_int",0},
1175 { "_wxWindowID","_signed_int",0},
1176 { "_wxWindowID","_unsigned_int",0},
1177 { "_int","_wxCoord",0},
1178 { "_int","_wxPrintQuality",0},
1179 { "_int","_time_t",0},
1180 { "_int","_size_t",0},
1181 { "_int","_EBool",0},
1182 { "_int","_uint",0},
1183 { "_int","_wxWindowID",0},
1184 { "_int","_unsigned_int",0},
1185 { "_int","_signed_int",0},
1186 { "_wxDateTime_t","_unsigned_short",0},
1187 { "_wxDateTime_t","_short",0},
1188 { "_wxDateTime_t","_WXTYPE",0},
1189 { "_time_t","_wxCoord",0},
1190 { "_time_t","_wxPrintQuality",0},
1191 { "_time_t","_unsigned_int",0},
1192 { "_time_t","_int",0},
1193 { "_time_t","_wxWindowID",0},
1194 { "_time_t","_uint",0},
1195 { "_time_t","_size_t",0},
1196 { "_wxCoord","_int",0},
1197 { "_wxCoord","_signed_int",0},
1198 { "_wxCoord","_unsigned_int",0},
1199 { "_wxCoord","_wxWindowID",0},
1200 { "_wxCoord","_uint",0},
1201 { "_wxCoord","_EBool",0},
1202 { "_wxCoord","_size_t",0},
1203 { "_wxCoord","_time_t",0},
1204 { "_wxCoord","_wxPrintQuality",0},
1207 static PyObject
*SWIG_globals
;
1211 SWIGEXPORT(void) initxrcc() {
1213 SWIG_globals
= SWIG_newvarlink();
1214 m
= Py_InitModule("xrcc", xrccMethods
);
1215 d
= PyModule_GetDict(m
);
1216 PyDict_SetItemString(d
,"wxXRC_USE_LOCALE", PyInt_FromLong((long) wxXRC_USE_LOCALE
));
1217 PyDict_SetItemString(d
,"wxXRC_NO_SUBCLASSING", PyInt_FromLong((long) wxXRC_NO_SUBCLASSING
));
1220 wxClassInfo::CleanUpClasses();
1221 wxClassInfo::InitializeClasses();
1223 wxXmlInitResourceModule();
1224 wxXmlResource::Get()->InitAllHandlers();
1228 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1229 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);