4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
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
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initmdic
54 #define SWIG_name "mdic"
58 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
63 } else if (target
== Py_None
) {
67 if (!PyList_Check(target
)) {
69 target
= PyList_New(0);
70 PyList_Append(target
, o2
);
73 PyList_Append(target
,o
);
79 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
85 } else if (target
== Py_None
) {
89 if (!PyTuple_Check(target
)) {
91 target
= PyTuple_New(1);
92 PyTuple_SetItem(target
, 0, o2
);
95 PyTuple_SetItem(o3
, 0, o
);
98 target
= PySequence_Concat(o2
, o3
);
105 static char* wxStringErrorMsg
= "string type is required for parameter";
109 static void *SwigwxMDIParentFrameTowxFrame(void *ptr
) {
110 wxMDIParentFrame
*src
;
112 src
= (wxMDIParentFrame
*) ptr
;
113 dest
= (wxFrame
*) src
;
114 return (void *) dest
;
117 static void *SwigwxMDIParentFrameTowxWindow(void *ptr
) {
118 wxMDIParentFrame
*src
;
120 src
= (wxMDIParentFrame
*) ptr
;
121 dest
= (wxWindow
*) src
;
122 return (void *) dest
;
125 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr
) {
126 wxMDIParentFrame
*src
;
128 src
= (wxMDIParentFrame
*) ptr
;
129 dest
= (wxEvtHandler
*) src
;
130 return (void *) dest
;
133 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
134 static PyObject
*_wrap_new_wxMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
135 PyObject
* _resultobj
;
136 wxMDIParentFrame
* _result
;
140 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
141 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
142 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
143 char * _arg6
= (char *) "frame";
144 PyObject
* _argo0
= 0;
145 PyObject
* _obj2
= 0;
147 PyObject
* _obj3
= 0;
149 PyObject
* _obj4
= 0;
150 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIParentFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
164 if (!PyString_Check(_obj2
)) {
165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
168 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
173 if (! wxPoint_helper(_obj3
, &_arg3
))
179 if (! wxSize_helper(_obj4
, &_arg4
))
183 wxPy_BEGIN_ALLOW_THREADS
;
184 _result
= (wxMDIParentFrame
*)new_wxMDIParentFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
186 wxPy_END_ALLOW_THREADS
;
188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
189 _resultobj
= Py_BuildValue("s",_ptemp
);
192 _resultobj
= Py_None
;
201 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
202 static PyObject
*_wrap_wxMDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
203 PyObject
* _resultobj
;
204 wxMDIParentFrame
* _arg0
;
205 PyObject
* _argo0
= 0;
206 char *_kwnames
[] = { "self", NULL
};
209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ActivateNext",_kwnames
,&_argo0
))
212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
219 wxPy_BEGIN_ALLOW_THREADS
;
220 wxMDIParentFrame_ActivateNext(_arg0
);
222 wxPy_END_ALLOW_THREADS
;
223 } Py_INCREF(Py_None
);
224 _resultobj
= Py_None
;
228 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
229 static PyObject
*_wrap_wxMDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
230 PyObject
* _resultobj
;
231 wxMDIParentFrame
* _arg0
;
232 PyObject
* _argo0
= 0;
233 char *_kwnames
[] = { "self", NULL
};
236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ActivatePrevious",_kwnames
,&_argo0
))
239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p.");
246 wxPy_BEGIN_ALLOW_THREADS
;
247 wxMDIParentFrame_ActivatePrevious(_arg0
);
249 wxPy_END_ALLOW_THREADS
;
250 } Py_INCREF(Py_None
);
251 _resultobj
= Py_None
;
255 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
256 static PyObject
*_wrap_wxMDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
257 PyObject
* _resultobj
;
258 wxMDIParentFrame
* _arg0
;
259 PyObject
* _argo0
= 0;
260 char *_kwnames
[] = { "self", NULL
};
263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ArrangeIcons",_kwnames
,&_argo0
))
266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p.");
273 wxPy_BEGIN_ALLOW_THREADS
;
274 wxMDIParentFrame_ArrangeIcons(_arg0
);
276 wxPy_END_ALLOW_THREADS
;
277 } Py_INCREF(Py_None
);
278 _resultobj
= Py_None
;
282 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
283 static PyObject
*_wrap_wxMDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
284 PyObject
* _resultobj
;
285 wxMDIParentFrame
* _arg0
;
286 PyObject
* _argo0
= 0;
287 char *_kwnames
[] = { "self", NULL
};
290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Cascade",_kwnames
,&_argo0
))
293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
300 wxPy_BEGIN_ALLOW_THREADS
;
301 wxMDIParentFrame_Cascade(_arg0
);
303 wxPy_END_ALLOW_THREADS
;
304 } Py_INCREF(Py_None
);
305 _resultobj
= Py_None
;
309 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
310 static PyObject
*_wrap_wxMDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
312 wxMDIChildFrame
* _result
;
313 wxMDIParentFrame
* _arg0
;
314 PyObject
* _argo0
= 0;
315 char *_kwnames
[] = { "self", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetActiveChild",_kwnames
,&_argo0
))
322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
329 wxPy_BEGIN_ALLOW_THREADS
;
330 _result
= (wxMDIChildFrame
*)wxMDIParentFrame_GetActiveChild(_arg0
);
332 wxPy_END_ALLOW_THREADS
;
334 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
335 _resultobj
= Py_BuildValue("s",_ptemp
);
338 _resultobj
= Py_None
;
343 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
344 static PyObject
*_wrap_wxMDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
345 PyObject
* _resultobj
;
346 wxMDIClientWindow
* _result
;
347 wxMDIParentFrame
* _arg0
;
348 PyObject
* _argo0
= 0;
349 char *_kwnames
[] = { "self", NULL
};
353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetClientWindow",_kwnames
,&_argo0
))
356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
363 wxPy_BEGIN_ALLOW_THREADS
;
364 _result
= (wxMDIClientWindow
*)wxMDIParentFrame_GetClientWindow(_arg0
);
366 wxPy_END_ALLOW_THREADS
;
368 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
369 _resultobj
= Py_BuildValue("s",_ptemp
);
372 _resultobj
= Py_None
;
377 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
378 static PyObject
*_wrap_wxMDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
381 wxMDIParentFrame
* _arg0
;
382 PyObject
* _argo0
= 0;
383 char *_kwnames
[] = { "self", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetToolBar",_kwnames
,&_argo0
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
397 wxPy_BEGIN_ALLOW_THREADS
;
398 _result
= (wxWindow
*)wxMDIParentFrame_GetToolBar(_arg0
);
400 wxPy_END_ALLOW_THREADS
;
402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
403 _resultobj
= Py_BuildValue("s",_ptemp
);
406 _resultobj
= Py_None
;
411 #define wxMDIParentFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
412 static PyObject
*_wrap_wxMDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
413 PyObject
* _resultobj
;
414 wxMDIParentFrame
* _arg0
;
416 PyObject
* _argo0
= 0;
417 PyObject
* _argo1
= 0;
418 char *_kwnames
[] = { "self","toolbar", NULL
};
421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMDIParentFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetToolBar. Expected _wxMDIParentFrame_p.");
431 if (_argo1
== Py_None
) { _arg1
= NULL
; }
432 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetToolBar. Expected _wxToolBar_p.");
438 wxPy_BEGIN_ALLOW_THREADS
;
439 wxMDIParentFrame_SetToolBar(_arg0
,_arg1
);
441 wxPy_END_ALLOW_THREADS
;
442 } Py_INCREF(Py_None
);
443 _resultobj
= Py_None
;
447 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
448 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
450 wxMDIParentFrame
* _arg0
;
451 PyObject
* _argo0
= 0;
452 char *_kwnames
[] = { "self", NULL
};
455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Tile",_kwnames
,&_argo0
))
458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
465 wxPy_BEGIN_ALLOW_THREADS
;
466 wxMDIParentFrame_Tile(_arg0
);
468 wxPy_END_ALLOW_THREADS
;
469 } Py_INCREF(Py_None
);
470 _resultobj
= Py_None
;
474 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
475 wxMDIChildFrame
*src
;
477 src
= (wxMDIChildFrame
*) ptr
;
478 dest
= (wxFrame
*) src
;
479 return (void *) dest
;
482 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
483 wxMDIChildFrame
*src
;
485 src
= (wxMDIChildFrame
*) ptr
;
486 dest
= (wxWindow
*) src
;
487 return (void *) dest
;
490 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
491 wxMDIChildFrame
*src
;
493 src
= (wxMDIChildFrame
*) ptr
;
494 dest
= (wxEvtHandler
*) src
;
495 return (void *) dest
;
498 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
499 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
500 PyObject
* _resultobj
;
501 wxMDIChildFrame
* _result
;
502 wxMDIParentFrame
* _arg0
;
505 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
506 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
507 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
508 char * _arg6
= (char *) "frame";
509 PyObject
* _argo0
= 0;
510 PyObject
* _obj2
= 0;
512 PyObject
* _obj3
= 0;
514 PyObject
* _obj4
= 0;
515 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIChildFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
529 if (!PyString_Check(_obj2
)) {
530 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
533 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
538 if (! wxPoint_helper(_obj3
, &_arg3
))
544 if (! wxSize_helper(_obj4
, &_arg4
))
548 wxPy_BEGIN_ALLOW_THREADS
;
549 _result
= (wxMDIChildFrame
*)new_wxMDIChildFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
551 wxPy_END_ALLOW_THREADS
;
553 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
554 _resultobj
= Py_BuildValue("s",_ptemp
);
557 _resultobj
= Py_None
;
566 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
567 static PyObject
*_wrap_wxMDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
568 PyObject
* _resultobj
;
569 wxMDIChildFrame
* _arg0
;
570 PyObject
* _argo0
= 0;
571 char *_kwnames
[] = { "self", NULL
};
574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Activate",_kwnames
,&_argo0
))
577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
584 wxPy_BEGIN_ALLOW_THREADS
;
585 wxMDIChildFrame_Activate(_arg0
);
587 wxPy_END_ALLOW_THREADS
;
588 } Py_INCREF(Py_None
);
589 _resultobj
= Py_None
;
593 #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
594 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
596 wxMDIChildFrame
* _arg0
;
598 PyObject
* _argo0
= 0;
600 char *_kwnames
[] = { "self","maximize", NULL
};
603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMDIChildFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
612 _arg1
= (bool ) tempbool1
;
614 wxPy_BEGIN_ALLOW_THREADS
;
615 wxMDIChildFrame_Maximize(_arg0
,_arg1
);
617 wxPy_END_ALLOW_THREADS
;
618 } Py_INCREF(Py_None
);
619 _resultobj
= Py_None
;
623 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
624 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
625 PyObject
* _resultobj
;
626 wxMDIChildFrame
* _arg0
;
627 PyObject
* _argo0
= 0;
628 char *_kwnames
[] = { "self", NULL
};
631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Restore",_kwnames
,&_argo0
))
634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
641 wxPy_BEGIN_ALLOW_THREADS
;
642 wxMDIChildFrame_Restore(_arg0
);
644 wxPy_END_ALLOW_THREADS
;
645 } Py_INCREF(Py_None
);
646 _resultobj
= Py_None
;
650 static void *SwigwxMDIClientWindowTowxWindow(void *ptr
) {
651 wxMDIClientWindow
*src
;
653 src
= (wxMDIClientWindow
*) ptr
;
654 dest
= (wxWindow
*) src
;
655 return (void *) dest
;
658 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr
) {
659 wxMDIClientWindow
*src
;
661 src
= (wxMDIClientWindow
*) ptr
;
662 dest
= (wxEvtHandler
*) src
;
663 return (void *) dest
;
666 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
667 static PyObject
*_wrap_new_wxMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
668 PyObject
* _resultobj
;
669 wxMDIClientWindow
* _result
;
670 wxMDIParentFrame
* _arg0
;
671 long _arg1
= (long ) 0;
672 PyObject
* _argo0
= 0;
673 char *_kwnames
[] = { "parent","style", NULL
};
677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:new_wxMDIClientWindow",_kwnames
,&_argo0
,&_arg1
))
680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
687 wxPy_BEGIN_ALLOW_THREADS
;
688 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
690 wxPy_END_ALLOW_THREADS
;
692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
693 _resultobj
= Py_BuildValue("s",_ptemp
);
696 _resultobj
= Py_None
;
701 static PyMethodDef mdicMethods
[] = {
702 { "new_wxMDIClientWindow", (PyCFunction
) _wrap_new_wxMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
703 { "wxMDIChildFrame_Restore", (PyCFunction
) _wrap_wxMDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
704 { "wxMDIChildFrame_Maximize", (PyCFunction
) _wrap_wxMDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
705 { "wxMDIChildFrame_Activate", (PyCFunction
) _wrap_wxMDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
706 { "new_wxMDIChildFrame", (PyCFunction
) _wrap_new_wxMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
707 { "wxMDIParentFrame_Tile", (PyCFunction
) _wrap_wxMDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
708 { "wxMDIParentFrame_SetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
709 { "wxMDIParentFrame_GetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
710 { "wxMDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_wxMDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
711 { "wxMDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_wxMDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
712 { "wxMDIParentFrame_Cascade", (PyCFunction
) _wrap_wxMDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
713 { "wxMDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_wxMDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
714 { "wxMDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_wxMDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
715 { "wxMDIParentFrame_ActivateNext", (PyCFunction
) _wrap_wxMDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
716 { "new_wxMDIParentFrame", (PyCFunction
) _wrap_new_wxMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
723 * This table is used by the pointer type-checker
725 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
726 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
727 { "_wxEvent","_class_wxEvent",0},
728 { "_class_wxActivateEvent","_wxActivateEvent",0},
729 { "_signed_long","_long",0},
730 { "_wxMenuEvent","_class_wxMenuEvent",0},
731 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
732 { "_wxPrintQuality","_int",0},
733 { "_wxPrintQuality","_signed_int",0},
734 { "_wxPrintQuality","_unsigned_int",0},
735 { "_wxPrintQuality","_wxWindowID",0},
736 { "_wxPrintQuality","_uint",0},
737 { "_wxPrintQuality","_EBool",0},
738 { "_wxPrintQuality","_size_t",0},
739 { "_class_wxRegionIterator","_wxRegionIterator",0},
740 { "_class_wxMenuBar","_wxMenuBar",0},
741 { "_class_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
742 { "_class_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
743 { "_class_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
744 { "_class_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
745 { "_class_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
746 { "_class_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
747 { "_class_wxEvtHandler","_wxEvtHandler",0},
748 { "_wxPaintEvent","_class_wxPaintEvent",0},
749 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
750 { "_wxCursor","_class_wxCursor",0},
751 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
752 { "_wxMask","_class_wxMask",0},
753 { "_wxPen","_class_wxPen",0},
754 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
755 { "_byte","_unsigned_char",0},
756 { "_wxStaticBox","_class_wxStaticBox",0},
757 { "_wxChoice","_class_wxChoice",0},
758 { "_wxSlider","_class_wxSlider",0},
759 { "_long","_wxDash",0},
760 { "_long","_unsigned_long",0},
761 { "_long","_signed_long",0},
762 { "_wxImageList","_class_wxImageList",0},
763 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
764 { "_wxBitmapButton","_class_wxBitmapButton",0},
765 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
766 { "_class_wxGauge","_wxGauge",0},
767 { "_wxDC","_class_wxDC",0},
768 { "_wxSpinEvent","_class_wxSpinEvent",0},
769 { "_size_t","_wxPrintQuality",0},
770 { "_size_t","_unsigned_int",0},
771 { "_size_t","_int",0},
772 { "_size_t","_wxWindowID",0},
773 { "_size_t","_uint",0},
774 { "_class_wxRealPoint","_wxRealPoint",0},
775 { "_wxPrinterDC","_class_wxPrinterDC",0},
776 { "_class_wxMenuItem","_wxMenuItem",0},
777 { "_class_wxPaintEvent","_wxPaintEvent",0},
778 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
779 { "_class_wxStatusBar","_wxStatusBar",0},
780 { "_wxPanel","_class_wxPanel",0},
781 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
782 { "_wxCheckBox","_class_wxCheckBox",0},
783 { "_wxPyEvent","_class_wxPyEvent",0},
784 { "_wxTextCtrl","_class_wxTextCtrl",0},
785 { "_class_wxMask","_wxMask",0},
786 { "_class_wxKeyEvent","_wxKeyEvent",0},
787 { "_wxColour","_class_wxColour",0},
788 { "_class_wxDialog","_wxDialog",0},
789 { "_wxIdleEvent","_class_wxIdleEvent",0},
790 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
791 { "_wxToolBar","_class_wxToolBar",0},
792 { "_wxStaticLine","_class_wxStaticLine",0},
793 { "_wxBrush","_class_wxBrush",0},
794 { "_wxMiniFrame","_class_wxMiniFrame",0},
795 { "_wxShowEvent","_class_wxShowEvent",0},
796 { "_uint","_wxPrintQuality",0},
797 { "_uint","_size_t",0},
798 { "_uint","_unsigned_int",0},
800 { "_uint","_wxWindowID",0},
801 { "_wxPyValidator","_class_wxPyValidator",0},
802 { "_class_wxEvent","_wxEvent",0},
803 { "_wxCheckListBox","_class_wxCheckListBox",0},
804 { "_wxRect","_class_wxRect",0},
805 { "_wxCommandEvent","_class_wxCommandEvent",0},
806 { "_wxSizeEvent","_class_wxSizeEvent",0},
807 { "_wxPoint","_class_wxPoint",0},
808 { "_class_wxButton","_wxButton",0},
809 { "_wxRadioBox","_class_wxRadioBox",0},
810 { "_wxBitmap","_class_wxBitmap",0},
811 { "_wxPyTimer","_class_wxPyTimer",0},
812 { "_wxWindowDC","_class_wxWindowDC",0},
813 { "_wxScrollBar","_class_wxScrollBar",0},
814 { "_wxSpinButton","_class_wxSpinButton",0},
815 { "_wxToolBarTool","_class_wxToolBarTool",0},
816 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
817 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
818 { "_class_wxValidator","_wxValidator",0},
819 { "_class_wxPyEvent","_wxPyEvent",0},
820 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
821 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
822 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
823 { "_class_wxToolBar","_wxToolBar",0},
824 { "_class_wxStaticLine","_wxStaticLine",0},
825 { "_wxScrollEvent","_class_wxScrollEvent",0},
826 { "_EBool","_wxPrintQuality",0},
827 { "_EBool","_signed_int",0},
828 { "_EBool","_int",0},
829 { "_EBool","_wxWindowID",0},
830 { "_class_wxRegion","_wxRegion",0},
831 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
832 { "_wxStaticText","_class_wxStaticText",0},
833 { "_wxFont","_class_wxFont",0},
834 { "_wxCloseEvent","_class_wxCloseEvent",0},
835 { "_unsigned_long","_wxDash",0},
836 { "_unsigned_long","_long",0},
837 { "_class_wxRect","_wxRect",0},
838 { "_class_wxDC","_wxDC",0},
839 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
840 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
841 { "_class_wxPyTimer","_wxPyTimer",0},
842 { "_wxFocusEvent","_class_wxFocusEvent",0},
843 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
844 { "_class_wxSpinButton","_wxSpinButton",0},
845 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
846 { "_class_wxPanel","_wxPanel",0},
847 { "_class_wxCheckBox","_wxCheckBox",0},
848 { "_wxComboBox","_class_wxComboBox",0},
849 { "_wxRadioButton","_class_wxRadioButton",0},
850 { "_signed_int","_wxPrintQuality",0},
851 { "_signed_int","_EBool",0},
852 { "_signed_int","_wxWindowID",0},
853 { "_signed_int","_int",0},
854 { "_class_wxTextCtrl","_wxTextCtrl",0},
855 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
856 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
857 { "_wxMenu","_class_wxMenu",0},
858 { "_class_wxMoveEvent","_wxMoveEvent",0},
859 { "_wxListBox","_class_wxListBox",0},
860 { "_wxScreenDC","_class_wxScreenDC",0},
861 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
862 { "_WXTYPE","_short",0},
863 { "_WXTYPE","_signed_short",0},
864 { "_WXTYPE","_unsigned_short",0},
865 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
866 { "_class_wxBrush","_wxBrush",0},
867 { "_unsigned_short","_WXTYPE",0},
868 { "_unsigned_short","_short",0},
869 { "_class_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
870 { "_class_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
871 { "_class_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
872 { "_class_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
873 { "_class_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
874 { "_class_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
875 { "_class_wxWindow","_wxWindow",0},
876 { "_class_wxStaticText","_wxStaticText",0},
877 { "_class_wxFont","_wxFont",0},
878 { "_class_wxPyValidator","_wxPyValidator",0},
879 { "_class_wxCloseEvent","_wxCloseEvent",0},
880 { "_class_wxMenuEvent","_wxMenuEvent",0},
881 { "_wxClientDC","_class_wxClientDC",0},
882 { "_wxMouseEvent","_class_wxMouseEvent",0},
883 { "_class_wxPoint","_wxPoint",0},
884 { "_wxRealPoint","_class_wxRealPoint",0},
885 { "_class_wxRadioBox","_wxRadioBox",0},
886 { "_signed_short","_WXTYPE",0},
887 { "_signed_short","_short",0},
888 { "_wxMemoryDC","_class_wxMemoryDC",0},
889 { "_wxPaintDC","_class_wxPaintDC",0},
890 { "_class_wxWindowDC","_wxWindowDC",0},
891 { "_class_wxFocusEvent","_wxFocusEvent",0},
892 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
893 { "_wxStatusBar","_class_wxStatusBar",0},
894 { "_class_wxToolBarTool","_wxToolBarTool",0},
895 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
896 { "_class_wxCursor","_wxCursor",0},
897 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
898 { "_unsigned_char","_byte",0},
899 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
900 { "_class_wxMenu","_wxMenu",0},
901 { "_wxControl","_class_wxControl",0},
902 { "_class_wxListBox","_wxListBox",0},
903 { "_unsigned_int","_wxPrintQuality",0},
904 { "_unsigned_int","_size_t",0},
905 { "_unsigned_int","_uint",0},
906 { "_unsigned_int","_wxWindowID",0},
907 { "_unsigned_int","_int",0},
908 { "_wxIcon","_class_wxIcon",0},
909 { "_wxDialog","_class_wxDialog",0},
910 { "_class_wxPen","_wxPen",0},
911 { "_short","_WXTYPE",0},
912 { "_short","_unsigned_short",0},
913 { "_short","_signed_short",0},
914 { "_class_wxStaticBox","_wxStaticBox",0},
915 { "_class_wxScrollEvent","_wxScrollEvent",0},
916 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
917 { "_class_wxChoice","_wxChoice",0},
918 { "_class_wxSlider","_wxSlider",0},
919 { "_class_wxImageList","_wxImageList",0},
920 { "_class_wxBitmapButton","_wxBitmapButton",0},
921 { "_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
922 { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
923 { "_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
924 { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
925 { "_wxFrame","_class_wxFrame",0},
926 { "_wxWindowID","_wxPrintQuality",0},
927 { "_wxWindowID","_size_t",0},
928 { "_wxWindowID","_EBool",0},
929 { "_wxWindowID","_uint",0},
930 { "_wxWindowID","_int",0},
931 { "_wxWindowID","_signed_int",0},
932 { "_wxWindowID","_unsigned_int",0},
933 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
934 { "_int","_wxPrintQuality",0},
935 { "_int","_size_t",0},
936 { "_int","_EBool",0},
938 { "_int","_wxWindowID",0},
939 { "_int","_unsigned_int",0},
940 { "_int","_signed_int",0},
941 { "_class_wxMouseEvent","_wxMouseEvent",0},
942 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
943 { "_class_wxSpinEvent","_wxSpinEvent",0},
944 { "_wxButton","_class_wxButton",0},
945 { "_wxSize","_class_wxSize",0},
946 { "_wxRegionIterator","_class_wxRegionIterator",0},
947 { "_class_wxPrinterDC","_wxPrinterDC",0},
948 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
949 { "_class_wxPaintDC","_wxPaintDC",0},
950 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
951 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
952 { "_class_wxComboBox","_wxComboBox",0},
953 { "_class_wxRadioButton","_wxRadioButton",0},
954 { "_wxValidator","_class_wxValidator",0},
955 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
956 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
957 { "_class_wxControl","_wxControl",0},
958 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
959 { "_class_wxIcon","_wxIcon",0},
960 { "_class_wxColour","_wxColour",0},
961 { "_class_wxScreenDC","_wxScreenDC",0},
962 { "_wxPalette","_class_wxPalette",0},
963 { "_class_wxIdleEvent","_wxIdleEvent",0},
964 { "_wxEraseEvent","_class_wxEraseEvent",0},
965 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
966 { "_class_wxMiniFrame","_wxMiniFrame",0},
967 { "_wxRegion","_class_wxRegion",0},
968 { "_class_wxShowEvent","_wxShowEvent",0},
969 { "_wxActivateEvent","_class_wxActivateEvent",0},
970 { "_wxGauge","_class_wxGauge",0},
971 { "_class_wxCheckListBox","_wxCheckListBox",0},
972 { "_class_wxCommandEvent","_wxCommandEvent",0},
973 { "_class_wxClientDC","_wxClientDC",0},
974 { "_class_wxSizeEvent","_wxSizeEvent",0},
975 { "_class_wxSize","_wxSize",0},
976 { "_class_wxBitmap","_wxBitmap",0},
977 { "_class_wxMemoryDC","_wxMemoryDC",0},
978 { "_wxMenuBar","_class_wxMenuBar",0},
979 { "_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
980 { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
981 { "_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
982 { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
983 { "_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
984 { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
985 { "_wxEvtHandler","_class_wxEvtHandler",0},
986 { "_wxMenuItem","_class_wxMenuItem",0},
987 { "_class_wxScrollBar","_wxScrollBar",0},
988 { "_wxDash","_unsigned_long",0},
989 { "_wxDash","_long",0},
990 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
991 { "_wxKeyEvent","_class_wxKeyEvent",0},
992 { "_wxMoveEvent","_class_wxMoveEvent",0},
993 { "_class_wxPalette","_wxPalette",0},
994 { "_class_wxEraseEvent","_wxEraseEvent",0},
995 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
996 { "_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
997 { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
998 { "_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
999 { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1000 { "_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1001 { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1002 { "_wxWindow","_class_wxWindow",0},
1003 { "_class_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1004 { "_class_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1005 { "_class_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1006 { "_class_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1007 { "_class_wxFrame","_wxFrame",0},
1010 static PyObject
*SWIG_globals
;
1014 SWIGEXPORT(void) initmdic() {
1016 SWIG_globals
= SWIG_newvarlink();
1017 m
= Py_InitModule("mdic", mdicMethods
);
1018 d
= PyModule_GetDict(m
);
1021 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1022 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);