4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
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
);
106 extern byte
* byte_LIST_helper(PyObject
* source
);
107 extern int* int_LIST_helper(PyObject
* source
);
108 extern long* long_LIST_helper(PyObject
* source
);
109 extern char** string_LIST_helper(PyObject
* source
);
110 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
111 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
112 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
116 static char* wxStringErrorMsg
= "string type is required for parameter";
120 static void *SwigwxMDIParentFrameTowxFrame(void *ptr
) {
121 wxMDIParentFrame
*src
;
123 src
= (wxMDIParentFrame
*) ptr
;
124 dest
= (wxFrame
*) src
;
125 return (void *) dest
;
128 static void *SwigwxMDIParentFrameTowxWindow(void *ptr
) {
129 wxMDIParentFrame
*src
;
131 src
= (wxMDIParentFrame
*) ptr
;
132 dest
= (wxWindow
*) src
;
133 return (void *) dest
;
136 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr
) {
137 wxMDIParentFrame
*src
;
139 src
= (wxMDIParentFrame
*) ptr
;
140 dest
= (wxEvtHandler
*) src
;
141 return (void *) dest
;
144 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
145 static PyObject
*_wrap_new_wxMDIParentFrame(PyObject
*self
, PyObject
*args
) {
146 PyObject
* _resultobj
;
147 wxMDIParentFrame
* _result
;
151 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
152 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
153 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
154 char * _arg6
= (char *) "frame";
155 PyObject
* _argo0
= 0;
156 PyObject
* _obj2
= 0;
157 PyObject
* _argo3
= 0;
158 PyObject
* _argo4
= 0;
162 if(!PyArg_ParseTuple(args
,"OiO|OOls:new_wxMDIParentFrame",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
172 if (!PyString_Check(_obj2
)) {
173 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
176 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
179 if (_argo3
== Py_None
) { _arg3
= NULL
; }
180 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxMDIParentFrame. Expected _wxPoint_p.");
186 if (_argo4
== Py_None
) { _arg4
= NULL
; }
187 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMDIParentFrame. Expected _wxSize_p.");
193 wxPy_BEGIN_ALLOW_THREADS
;
194 _result
= (wxMDIParentFrame
*)new_wxMDIParentFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
196 wxPy_END_ALLOW_THREADS
;
198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
199 _resultobj
= Py_BuildValue("s",_ptemp
);
202 _resultobj
= Py_None
;
211 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
212 static PyObject
*_wrap_wxMDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
) {
213 PyObject
* _resultobj
;
214 wxMDIParentFrame
* _arg0
;
215 PyObject
* _argo0
= 0;
218 if(!PyArg_ParseTuple(args
,"O:wxMDIParentFrame_ActivateNext",&_argo0
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
228 wxPy_BEGIN_ALLOW_THREADS
;
229 wxMDIParentFrame_ActivateNext(_arg0
);
231 wxPy_END_ALLOW_THREADS
;
232 } Py_INCREF(Py_None
);
233 _resultobj
= Py_None
;
237 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
238 static PyObject
*_wrap_wxMDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
) {
239 PyObject
* _resultobj
;
240 wxMDIParentFrame
* _arg0
;
241 PyObject
* _argo0
= 0;
244 if(!PyArg_ParseTuple(args
,"O:wxMDIParentFrame_ActivatePrevious",&_argo0
))
247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p.");
254 wxPy_BEGIN_ALLOW_THREADS
;
255 wxMDIParentFrame_ActivatePrevious(_arg0
);
257 wxPy_END_ALLOW_THREADS
;
258 } Py_INCREF(Py_None
);
259 _resultobj
= Py_None
;
263 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
264 static PyObject
*_wrap_wxMDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
) {
265 PyObject
* _resultobj
;
266 wxMDIParentFrame
* _arg0
;
267 PyObject
* _argo0
= 0;
270 if(!PyArg_ParseTuple(args
,"O:wxMDIParentFrame_ArrangeIcons",&_argo0
))
273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p.");
280 wxPy_BEGIN_ALLOW_THREADS
;
281 wxMDIParentFrame_ArrangeIcons(_arg0
);
283 wxPy_END_ALLOW_THREADS
;
284 } Py_INCREF(Py_None
);
285 _resultobj
= Py_None
;
289 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
290 static PyObject
*_wrap_wxMDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
) {
291 PyObject
* _resultobj
;
292 wxMDIParentFrame
* _arg0
;
293 PyObject
* _argo0
= 0;
296 if(!PyArg_ParseTuple(args
,"O:wxMDIParentFrame_Cascade",&_argo0
))
299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
306 wxPy_BEGIN_ALLOW_THREADS
;
307 wxMDIParentFrame_Cascade(_arg0
);
309 wxPy_END_ALLOW_THREADS
;
310 } Py_INCREF(Py_None
);
311 _resultobj
= Py_None
;
315 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
316 static PyObject
*_wrap_wxMDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
) {
317 PyObject
* _resultobj
;
318 wxMDIChildFrame
* _result
;
319 wxMDIParentFrame
* _arg0
;
320 PyObject
* _argo0
= 0;
324 if(!PyArg_ParseTuple(args
,"O:wxMDIParentFrame_GetActiveChild",&_argo0
))
327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
334 wxPy_BEGIN_ALLOW_THREADS
;
335 _result
= (wxMDIChildFrame
*)wxMDIParentFrame_GetActiveChild(_arg0
);
337 wxPy_END_ALLOW_THREADS
;
339 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
340 _resultobj
= Py_BuildValue("s",_ptemp
);
343 _resultobj
= Py_None
;
348 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
349 static PyObject
*_wrap_wxMDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
) {
350 PyObject
* _resultobj
;
351 wxMDIClientWindow
* _result
;
352 wxMDIParentFrame
* _arg0
;
353 PyObject
* _argo0
= 0;
357 if(!PyArg_ParseTuple(args
,"O:wxMDIParentFrame_GetClientWindow",&_argo0
))
360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
367 wxPy_BEGIN_ALLOW_THREADS
;
368 _result
= (wxMDIClientWindow
*)wxMDIParentFrame_GetClientWindow(_arg0
);
370 wxPy_END_ALLOW_THREADS
;
372 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
373 _resultobj
= Py_BuildValue("s",_ptemp
);
376 _resultobj
= Py_None
;
381 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
382 static PyObject
*_wrap_wxMDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
) {
383 PyObject
* _resultobj
;
385 wxMDIParentFrame
* _arg0
;
386 PyObject
* _argo0
= 0;
390 if(!PyArg_ParseTuple(args
,"O:wxMDIParentFrame_GetToolBar",&_argo0
))
393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
400 wxPy_BEGIN_ALLOW_THREADS
;
401 _result
= (wxWindow
*)wxMDIParentFrame_GetToolBar(_arg0
);
403 wxPy_END_ALLOW_THREADS
;
405 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
406 _resultobj
= Py_BuildValue("s",_ptemp
);
409 _resultobj
= Py_None
;
414 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
415 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
) {
416 PyObject
* _resultobj
;
417 wxMDIParentFrame
* _arg0
;
418 PyObject
* _argo0
= 0;
421 if(!PyArg_ParseTuple(args
,"O:wxMDIParentFrame_Tile",&_argo0
))
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_Tile. Expected _wxMDIParentFrame_p.");
431 wxPy_BEGIN_ALLOW_THREADS
;
432 wxMDIParentFrame_Tile(_arg0
);
434 wxPy_END_ALLOW_THREADS
;
435 } Py_INCREF(Py_None
);
436 _resultobj
= Py_None
;
440 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
441 wxMDIChildFrame
*src
;
443 src
= (wxMDIChildFrame
*) ptr
;
444 dest
= (wxFrame
*) src
;
445 return (void *) dest
;
448 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
449 wxMDIChildFrame
*src
;
451 src
= (wxMDIChildFrame
*) ptr
;
452 dest
= (wxWindow
*) src
;
453 return (void *) dest
;
456 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
457 wxMDIChildFrame
*src
;
459 src
= (wxMDIChildFrame
*) ptr
;
460 dest
= (wxEvtHandler
*) src
;
461 return (void *) dest
;
464 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
465 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
) {
466 PyObject
* _resultobj
;
467 wxMDIChildFrame
* _result
;
468 wxMDIParentFrame
* _arg0
;
471 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
472 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
473 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
474 char * _arg6
= (char *) "frame";
475 PyObject
* _argo0
= 0;
476 PyObject
* _obj2
= 0;
477 PyObject
* _argo3
= 0;
478 PyObject
* _argo4
= 0;
482 if(!PyArg_ParseTuple(args
,"OiO|OOls:new_wxMDIChildFrame",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
492 if (!PyString_Check(_obj2
)) {
493 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
496 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
499 if (_argo3
== Py_None
) { _arg3
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxMDIChildFrame. Expected _wxPoint_p.");
506 if (_argo4
== Py_None
) { _arg4
= NULL
; }
507 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMDIChildFrame. Expected _wxSize_p.");
513 wxPy_BEGIN_ALLOW_THREADS
;
514 _result
= (wxMDIChildFrame
*)new_wxMDIChildFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
516 wxPy_END_ALLOW_THREADS
;
518 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
519 _resultobj
= Py_BuildValue("s",_ptemp
);
522 _resultobj
= Py_None
;
531 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
532 static PyObject
*_wrap_wxMDIChildFrame_Activate(PyObject
*self
, PyObject
*args
) {
533 PyObject
* _resultobj
;
534 wxMDIChildFrame
* _arg0
;
535 PyObject
* _argo0
= 0;
538 if(!PyArg_ParseTuple(args
,"O:wxMDIChildFrame_Activate",&_argo0
))
541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
548 wxPy_BEGIN_ALLOW_THREADS
;
549 wxMDIChildFrame_Activate(_arg0
);
551 wxPy_END_ALLOW_THREADS
;
552 } Py_INCREF(Py_None
);
553 _resultobj
= Py_None
;
557 #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
558 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
) {
559 PyObject
* _resultobj
;
560 wxMDIChildFrame
* _arg0
;
562 PyObject
* _argo0
= 0;
566 if(!PyArg_ParseTuple(args
,"Oi:wxMDIChildFrame_Maximize",&_argo0
,&tempbool1
))
569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
575 _arg1
= (bool ) tempbool1
;
577 wxPy_BEGIN_ALLOW_THREADS
;
578 wxMDIChildFrame_Maximize(_arg0
,_arg1
);
580 wxPy_END_ALLOW_THREADS
;
581 } Py_INCREF(Py_None
);
582 _resultobj
= Py_None
;
586 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
587 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
) {
588 PyObject
* _resultobj
;
589 wxMDIChildFrame
* _arg0
;
590 PyObject
* _argo0
= 0;
593 if(!PyArg_ParseTuple(args
,"O:wxMDIChildFrame_Restore",&_argo0
))
596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
603 wxPy_BEGIN_ALLOW_THREADS
;
604 wxMDIChildFrame_Restore(_arg0
);
606 wxPy_END_ALLOW_THREADS
;
607 } Py_INCREF(Py_None
);
608 _resultobj
= Py_None
;
612 static void *SwigwxMDIClientWindowTowxWindow(void *ptr
) {
613 wxMDIClientWindow
*src
;
615 src
= (wxMDIClientWindow
*) ptr
;
616 dest
= (wxWindow
*) src
;
617 return (void *) dest
;
620 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr
) {
621 wxMDIClientWindow
*src
;
623 src
= (wxMDIClientWindow
*) ptr
;
624 dest
= (wxEvtHandler
*) src
;
625 return (void *) dest
;
628 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
629 static PyObject
*_wrap_new_wxMDIClientWindow(PyObject
*self
, PyObject
*args
) {
630 PyObject
* _resultobj
;
631 wxMDIClientWindow
* _result
;
632 wxMDIParentFrame
* _arg0
;
633 long _arg1
= (long ) 0;
634 PyObject
* _argo0
= 0;
638 if(!PyArg_ParseTuple(args
,"O|l:new_wxMDIClientWindow",&_argo0
,&_arg1
))
641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
651 wxPy_END_ALLOW_THREADS
;
653 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
654 _resultobj
= Py_BuildValue("s",_ptemp
);
657 _resultobj
= Py_None
;
662 static PyMethodDef mdicMethods
[] = {
663 { "new_wxMDIClientWindow", _wrap_new_wxMDIClientWindow
, METH_VARARGS
},
664 { "wxMDIChildFrame_Restore", _wrap_wxMDIChildFrame_Restore
, METH_VARARGS
},
665 { "wxMDIChildFrame_Maximize", _wrap_wxMDIChildFrame_Maximize
, METH_VARARGS
},
666 { "wxMDIChildFrame_Activate", _wrap_wxMDIChildFrame_Activate
, METH_VARARGS
},
667 { "new_wxMDIChildFrame", _wrap_new_wxMDIChildFrame
, METH_VARARGS
},
668 { "wxMDIParentFrame_Tile", _wrap_wxMDIParentFrame_Tile
, METH_VARARGS
},
669 { "wxMDIParentFrame_GetToolBar", _wrap_wxMDIParentFrame_GetToolBar
, METH_VARARGS
},
670 { "wxMDIParentFrame_GetClientWindow", _wrap_wxMDIParentFrame_GetClientWindow
, METH_VARARGS
},
671 { "wxMDIParentFrame_GetActiveChild", _wrap_wxMDIParentFrame_GetActiveChild
, METH_VARARGS
},
672 { "wxMDIParentFrame_Cascade", _wrap_wxMDIParentFrame_Cascade
, METH_VARARGS
},
673 { "wxMDIParentFrame_ArrangeIcons", _wrap_wxMDIParentFrame_ArrangeIcons
, METH_VARARGS
},
674 { "wxMDIParentFrame_ActivatePrevious", _wrap_wxMDIParentFrame_ActivatePrevious
, METH_VARARGS
},
675 { "wxMDIParentFrame_ActivateNext", _wrap_wxMDIParentFrame_ActivateNext
, METH_VARARGS
},
676 { "new_wxMDIParentFrame", _wrap_new_wxMDIParentFrame
, METH_VARARGS
},
683 * This table is used by the pointer type-checker
685 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
686 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
687 { "_wxEvent","_class_wxEvent",0},
688 { "_class_wxActivateEvent","_wxActivateEvent",0},
689 { "_signed_long","_long",0},
690 { "_wxMenuEvent","_class_wxMenuEvent",0},
691 { "_wxPrintQuality","_int",0},
692 { "_wxPrintQuality","_signed_int",0},
693 { "_wxPrintQuality","_unsigned_int",0},
694 { "_wxPrintQuality","_wxWindowID",0},
695 { "_wxPrintQuality","_uint",0},
696 { "_wxPrintQuality","_EBool",0},
697 { "_wxPrintQuality","_size_t",0},
698 { "_class_wxRegionIterator","_wxRegionIterator",0},
699 { "_class_wxMenuBar","_wxMenuBar",0},
700 { "_class_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
701 { "_class_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
702 { "_class_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
703 { "_class_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
704 { "_class_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
705 { "_class_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
706 { "_class_wxEvtHandler","_wxEvtHandler",0},
707 { "_wxPaintEvent","_class_wxPaintEvent",0},
708 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
709 { "_wxCursor","_class_wxCursor",0},
710 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
711 { "_wxMask","_class_wxMask",0},
712 { "_wxPen","_class_wxPen",0},
713 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
714 { "_byte","_unsigned_char",0},
715 { "_wxStaticBox","_class_wxStaticBox",0},
716 { "_wxChoice","_class_wxChoice",0},
717 { "_wxSlider","_class_wxSlider",0},
718 { "_long","_wxDash",0},
719 { "_long","_unsigned_long",0},
720 { "_long","_signed_long",0},
721 { "_wxImageList","_class_wxImageList",0},
722 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
723 { "_wxBitmapButton","_class_wxBitmapButton",0},
724 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
725 { "_class_wxGauge","_wxGauge",0},
726 { "_wxDC","_class_wxDC",0},
727 { "_wxSpinEvent","_class_wxSpinEvent",0},
728 { "_size_t","_wxPrintQuality",0},
729 { "_size_t","_unsigned_int",0},
730 { "_size_t","_int",0},
731 { "_size_t","_wxWindowID",0},
732 { "_size_t","_uint",0},
733 { "_class_wxRealPoint","_wxRealPoint",0},
734 { "_class_wxMenuItem","_wxMenuItem",0},
735 { "_class_wxPaintEvent","_wxPaintEvent",0},
736 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
737 { "_class_wxStatusBar","_wxStatusBar",0},
738 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
739 { "_wxPanel","_class_wxPanel",0},
740 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
741 { "_wxCheckBox","_class_wxCheckBox",0},
742 { "_wxPyEvent","_class_wxPyEvent",0},
743 { "_wxTextCtrl","_class_wxTextCtrl",0},
744 { "_class_wxMask","_wxMask",0},
745 { "_class_wxKeyEvent","_wxKeyEvent",0},
746 { "_wxColour","_class_wxColour",0},
747 { "_class_wxDialog","_wxDialog",0},
748 { "_wxIdleEvent","_class_wxIdleEvent",0},
749 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
750 { "_wxToolBar","_class_wxToolBar",0},
751 { "_wxStaticLine","_class_wxStaticLine",0},
752 { "_wxBrush","_class_wxBrush",0},
753 { "_wxMiniFrame","_class_wxMiniFrame",0},
754 { "_wxShowEvent","_class_wxShowEvent",0},
755 { "_uint","_wxPrintQuality",0},
756 { "_uint","_size_t",0},
757 { "_uint","_unsigned_int",0},
759 { "_uint","_wxWindowID",0},
760 { "_class_wxEvent","_wxEvent",0},
761 { "_wxCheckListBox","_class_wxCheckListBox",0},
762 { "_wxRect","_class_wxRect",0},
763 { "_wxCommandEvent","_class_wxCommandEvent",0},
764 { "_wxSizeEvent","_class_wxSizeEvent",0},
765 { "_wxPoint","_class_wxPoint",0},
766 { "_class_wxButton","_wxButton",0},
767 { "_wxRadioBox","_class_wxRadioBox",0},
768 { "_wxBitmap","_class_wxBitmap",0},
769 { "_wxPyTimer","_class_wxPyTimer",0},
770 { "_wxWindowDC","_class_wxWindowDC",0},
771 { "_wxScrollBar","_class_wxScrollBar",0},
772 { "_wxSpinButton","_class_wxSpinButton",0},
773 { "_wxToolBarTool","_class_wxToolBarTool",0},
774 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
775 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
776 { "_class_wxPyEvent","_wxPyEvent",0},
777 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
778 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
779 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
780 { "_class_wxToolBar","_wxToolBar",0},
781 { "_class_wxStaticLine","_wxStaticLine",0},
782 { "_wxScrollEvent","_class_wxScrollEvent",0},
783 { "_EBool","_wxPrintQuality",0},
784 { "_EBool","_signed_int",0},
785 { "_EBool","_int",0},
786 { "_EBool","_wxWindowID",0},
787 { "_class_wxRegion","_wxRegion",0},
788 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
789 { "_wxStaticText","_class_wxStaticText",0},
790 { "_wxFont","_class_wxFont",0},
791 { "_wxCloseEvent","_class_wxCloseEvent",0},
792 { "_unsigned_long","_wxDash",0},
793 { "_unsigned_long","_long",0},
794 { "_class_wxRect","_wxRect",0},
795 { "_class_wxDC","_wxDC",0},
796 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
797 { "_class_wxPyTimer","_wxPyTimer",0},
798 { "_wxFocusEvent","_class_wxFocusEvent",0},
799 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
800 { "_class_wxSpinButton","_wxSpinButton",0},
801 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
802 { "_class_wxPanel","_wxPanel",0},
803 { "_class_wxCheckBox","_wxCheckBox",0},
804 { "_wxComboBox","_class_wxComboBox",0},
805 { "_wxRadioButton","_class_wxRadioButton",0},
806 { "_signed_int","_wxPrintQuality",0},
807 { "_signed_int","_EBool",0},
808 { "_signed_int","_wxWindowID",0},
809 { "_signed_int","_int",0},
810 { "_class_wxTextCtrl","_wxTextCtrl",0},
811 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
812 { "_wxMenu","_class_wxMenu",0},
813 { "_class_wxMoveEvent","_wxMoveEvent",0},
814 { "_wxListBox","_class_wxListBox",0},
815 { "_wxScreenDC","_class_wxScreenDC",0},
816 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
817 { "_WXTYPE","_short",0},
818 { "_WXTYPE","_signed_short",0},
819 { "_WXTYPE","_unsigned_short",0},
820 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
821 { "_class_wxBrush","_wxBrush",0},
822 { "_unsigned_short","_WXTYPE",0},
823 { "_unsigned_short","_short",0},
824 { "_class_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
825 { "_class_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
826 { "_class_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
827 { "_class_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
828 { "_class_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
829 { "_class_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
830 { "_class_wxWindow","_wxWindow",0},
831 { "_class_wxStaticText","_wxStaticText",0},
832 { "_class_wxFont","_wxFont",0},
833 { "_class_wxCloseEvent","_wxCloseEvent",0},
834 { "_class_wxMenuEvent","_wxMenuEvent",0},
835 { "_wxClientDC","_class_wxClientDC",0},
836 { "_wxMouseEvent","_class_wxMouseEvent",0},
837 { "_class_wxPoint","_wxPoint",0},
838 { "_wxRealPoint","_class_wxRealPoint",0},
839 { "_class_wxRadioBox","_wxRadioBox",0},
840 { "_signed_short","_WXTYPE",0},
841 { "_signed_short","_short",0},
842 { "_wxMemoryDC","_class_wxMemoryDC",0},
843 { "_wxPaintDC","_class_wxPaintDC",0},
844 { "_class_wxWindowDC","_wxWindowDC",0},
845 { "_class_wxFocusEvent","_wxFocusEvent",0},
846 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
847 { "_wxStatusBar","_class_wxStatusBar",0},
848 { "_class_wxToolBarTool","_wxToolBarTool",0},
849 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
850 { "_class_wxCursor","_wxCursor",0},
851 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
852 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
853 { "_unsigned_char","_byte",0},
854 { "_class_wxMenu","_wxMenu",0},
855 { "_wxControl","_class_wxControl",0},
856 { "_class_wxListBox","_wxListBox",0},
857 { "_unsigned_int","_wxPrintQuality",0},
858 { "_unsigned_int","_size_t",0},
859 { "_unsigned_int","_uint",0},
860 { "_unsigned_int","_wxWindowID",0},
861 { "_unsigned_int","_int",0},
862 { "_wxIcon","_class_wxIcon",0},
863 { "_wxDialog","_class_wxDialog",0},
864 { "_class_wxPen","_wxPen",0},
865 { "_short","_WXTYPE",0},
866 { "_short","_unsigned_short",0},
867 { "_short","_signed_short",0},
868 { "_class_wxStaticBox","_wxStaticBox",0},
869 { "_class_wxScrollEvent","_wxScrollEvent",0},
870 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
871 { "_class_wxChoice","_wxChoice",0},
872 { "_class_wxSlider","_wxSlider",0},
873 { "_class_wxImageList","_wxImageList",0},
874 { "_class_wxBitmapButton","_wxBitmapButton",0},
875 { "_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
876 { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
877 { "_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
878 { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
879 { "_wxFrame","_class_wxFrame",0},
880 { "_wxWindowID","_wxPrintQuality",0},
881 { "_wxWindowID","_size_t",0},
882 { "_wxWindowID","_EBool",0},
883 { "_wxWindowID","_uint",0},
884 { "_wxWindowID","_int",0},
885 { "_wxWindowID","_signed_int",0},
886 { "_wxWindowID","_unsigned_int",0},
887 { "_int","_wxPrintQuality",0},
888 { "_int","_size_t",0},
889 { "_int","_EBool",0},
891 { "_int","_wxWindowID",0},
892 { "_int","_unsigned_int",0},
893 { "_int","_signed_int",0},
894 { "_class_wxMouseEvent","_wxMouseEvent",0},
895 { "_class_wxSpinEvent","_wxSpinEvent",0},
896 { "_wxButton","_class_wxButton",0},
897 { "_wxSize","_class_wxSize",0},
898 { "_wxRegionIterator","_class_wxRegionIterator",0},
899 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
900 { "_class_wxPaintDC","_wxPaintDC",0},
901 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
902 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
903 { "_class_wxComboBox","_wxComboBox",0},
904 { "_class_wxRadioButton","_wxRadioButton",0},
905 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
906 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
907 { "_class_wxControl","_wxControl",0},
908 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
909 { "_class_wxIcon","_wxIcon",0},
910 { "_class_wxColour","_wxColour",0},
911 { "_class_wxScreenDC","_wxScreenDC",0},
912 { "_wxPalette","_class_wxPalette",0},
913 { "_class_wxIdleEvent","_wxIdleEvent",0},
914 { "_wxEraseEvent","_class_wxEraseEvent",0},
915 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
916 { "_class_wxMiniFrame","_wxMiniFrame",0},
917 { "_wxRegion","_class_wxRegion",0},
918 { "_class_wxShowEvent","_wxShowEvent",0},
919 { "_wxActivateEvent","_class_wxActivateEvent",0},
920 { "_wxGauge","_class_wxGauge",0},
921 { "_class_wxCheckListBox","_wxCheckListBox",0},
922 { "_class_wxCommandEvent","_wxCommandEvent",0},
923 { "_class_wxClientDC","_wxClientDC",0},
924 { "_class_wxSizeEvent","_wxSizeEvent",0},
925 { "_class_wxSize","_wxSize",0},
926 { "_class_wxBitmap","_wxBitmap",0},
927 { "_class_wxMemoryDC","_wxMemoryDC",0},
928 { "_wxMenuBar","_class_wxMenuBar",0},
929 { "_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
930 { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
931 { "_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
932 { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
933 { "_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
934 { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
935 { "_wxEvtHandler","_class_wxEvtHandler",0},
936 { "_wxMenuItem","_class_wxMenuItem",0},
937 { "_class_wxScrollBar","_wxScrollBar",0},
938 { "_wxDash","_unsigned_long",0},
939 { "_wxDash","_long",0},
940 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
941 { "_wxKeyEvent","_class_wxKeyEvent",0},
942 { "_wxMoveEvent","_class_wxMoveEvent",0},
943 { "_class_wxPalette","_wxPalette",0},
944 { "_class_wxEraseEvent","_wxEraseEvent",0},
945 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
946 { "_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
947 { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
948 { "_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
949 { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
950 { "_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
951 { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
952 { "_wxWindow","_class_wxWindow",0},
953 { "_class_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
954 { "_class_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
955 { "_class_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
956 { "_class_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
957 { "_class_wxFrame","_wxFrame",0},
960 static PyObject
*SWIG_globals
;
964 SWIGEXPORT(void) initmdic() {
966 SWIG_globals
= SWIG_newvarlink();
967 m
= Py_InitModule("mdic", mdicMethods
);
968 d
= PyModule_GetDict(m
);
971 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
972 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);