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_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
415 static PyObject
*_wrap_wxMDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
) {
416 PyObject
* _resultobj
;
417 wxMDIParentFrame
* _arg0
;
419 PyObject
* _argo0
= 0;
420 PyObject
* _argo1
= 0;
423 if(!PyArg_ParseTuple(args
,"OO:wxMDIParentFrame_SetToolBar",&_argo0
,&_argo1
))
426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetToolBar. Expected _wxMDIParentFrame_p.");
433 if (_argo1
== Py_None
) { _arg1
= NULL
; }
434 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetToolBar. Expected _wxToolBar_p.");
440 wxPy_BEGIN_ALLOW_THREADS
;
441 wxMDIParentFrame_SetToolBar(_arg0
,_arg1
);
443 wxPy_END_ALLOW_THREADS
;
444 } Py_INCREF(Py_None
);
445 _resultobj
= Py_None
;
449 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
450 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
) {
451 PyObject
* _resultobj
;
452 wxMDIParentFrame
* _arg0
;
453 PyObject
* _argo0
= 0;
456 if(!PyArg_ParseTuple(args
,"O:wxMDIParentFrame_Tile",&_argo0
))
459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
466 wxPy_BEGIN_ALLOW_THREADS
;
467 wxMDIParentFrame_Tile(_arg0
);
469 wxPy_END_ALLOW_THREADS
;
470 } Py_INCREF(Py_None
);
471 _resultobj
= Py_None
;
475 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
476 wxMDIChildFrame
*src
;
478 src
= (wxMDIChildFrame
*) ptr
;
479 dest
= (wxFrame
*) src
;
480 return (void *) dest
;
483 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
484 wxMDIChildFrame
*src
;
486 src
= (wxMDIChildFrame
*) ptr
;
487 dest
= (wxWindow
*) src
;
488 return (void *) dest
;
491 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
492 wxMDIChildFrame
*src
;
494 src
= (wxMDIChildFrame
*) ptr
;
495 dest
= (wxEvtHandler
*) src
;
496 return (void *) dest
;
499 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
500 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
) {
501 PyObject
* _resultobj
;
502 wxMDIChildFrame
* _result
;
503 wxMDIParentFrame
* _arg0
;
506 wxPoint
* _arg3
= (wxPoint
*) &wxPyDefaultPosition
;
507 wxSize
* _arg4
= (wxSize
*) &wxPyDefaultSize
;
508 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
509 char * _arg6
= (char *) "frame";
510 PyObject
* _argo0
= 0;
511 PyObject
* _obj2
= 0;
512 PyObject
* _argo3
= 0;
513 PyObject
* _argo4
= 0;
517 if(!PyArg_ParseTuple(args
,"OiO|OOls:new_wxMDIChildFrame",&_argo0
,&_arg1
,&_obj2
,&_argo3
,&_argo4
,&_arg5
,&_arg6
))
520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
527 if (!PyString_Check(_obj2
)) {
528 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
531 _arg2
= new wxString(PyString_AsString(_obj2
), PyString_Size(_obj2
));
534 if (_argo3
== Py_None
) { _arg3
= NULL
; }
535 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxPoint_p")) {
536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxMDIChildFrame. Expected _wxPoint_p.");
541 if (_argo4
== Py_None
) { _arg4
= NULL
; }
542 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxSize_p")) {
543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMDIChildFrame. Expected _wxSize_p.");
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
) {
568 PyObject
* _resultobj
;
569 wxMDIChildFrame
* _arg0
;
570 PyObject
* _argo0
= 0;
573 if(!PyArg_ParseTuple(args
,"O:wxMDIChildFrame_Activate",&_argo0
))
576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
583 wxPy_BEGIN_ALLOW_THREADS
;
584 wxMDIChildFrame_Activate(_arg0
);
586 wxPy_END_ALLOW_THREADS
;
587 } Py_INCREF(Py_None
);
588 _resultobj
= Py_None
;
592 #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
593 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
) {
594 PyObject
* _resultobj
;
595 wxMDIChildFrame
* _arg0
;
597 PyObject
* _argo0
= 0;
601 if(!PyArg_ParseTuple(args
,"Oi:wxMDIChildFrame_Maximize",&_argo0
,&tempbool1
))
604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
610 _arg1
= (bool ) tempbool1
;
612 wxPy_BEGIN_ALLOW_THREADS
;
613 wxMDIChildFrame_Maximize(_arg0
,_arg1
);
615 wxPy_END_ALLOW_THREADS
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
621 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
622 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
) {
623 PyObject
* _resultobj
;
624 wxMDIChildFrame
* _arg0
;
625 PyObject
* _argo0
= 0;
628 if(!PyArg_ParseTuple(args
,"O:wxMDIChildFrame_Restore",&_argo0
))
631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
638 wxPy_BEGIN_ALLOW_THREADS
;
639 wxMDIChildFrame_Restore(_arg0
);
641 wxPy_END_ALLOW_THREADS
;
642 } Py_INCREF(Py_None
);
643 _resultobj
= Py_None
;
647 static void *SwigwxMDIClientWindowTowxWindow(void *ptr
) {
648 wxMDIClientWindow
*src
;
650 src
= (wxMDIClientWindow
*) ptr
;
651 dest
= (wxWindow
*) src
;
652 return (void *) dest
;
655 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr
) {
656 wxMDIClientWindow
*src
;
658 src
= (wxMDIClientWindow
*) ptr
;
659 dest
= (wxEvtHandler
*) src
;
660 return (void *) dest
;
663 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
664 static PyObject
*_wrap_new_wxMDIClientWindow(PyObject
*self
, PyObject
*args
) {
665 PyObject
* _resultobj
;
666 wxMDIClientWindow
* _result
;
667 wxMDIParentFrame
* _arg0
;
668 long _arg1
= (long ) 0;
669 PyObject
* _argo0
= 0;
673 if(!PyArg_ParseTuple(args
,"O|l:new_wxMDIClientWindow",&_argo0
,&_arg1
))
676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
683 wxPy_BEGIN_ALLOW_THREADS
;
684 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
686 wxPy_END_ALLOW_THREADS
;
688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
689 _resultobj
= Py_BuildValue("s",_ptemp
);
692 _resultobj
= Py_None
;
697 static PyMethodDef mdicMethods
[] = {
698 { "new_wxMDIClientWindow", _wrap_new_wxMDIClientWindow
, METH_VARARGS
},
699 { "wxMDIChildFrame_Restore", _wrap_wxMDIChildFrame_Restore
, METH_VARARGS
},
700 { "wxMDIChildFrame_Maximize", _wrap_wxMDIChildFrame_Maximize
, METH_VARARGS
},
701 { "wxMDIChildFrame_Activate", _wrap_wxMDIChildFrame_Activate
, METH_VARARGS
},
702 { "new_wxMDIChildFrame", _wrap_new_wxMDIChildFrame
, METH_VARARGS
},
703 { "wxMDIParentFrame_Tile", _wrap_wxMDIParentFrame_Tile
, METH_VARARGS
},
704 { "wxMDIParentFrame_SetToolBar", _wrap_wxMDIParentFrame_SetToolBar
, METH_VARARGS
},
705 { "wxMDIParentFrame_GetToolBar", _wrap_wxMDIParentFrame_GetToolBar
, METH_VARARGS
},
706 { "wxMDIParentFrame_GetClientWindow", _wrap_wxMDIParentFrame_GetClientWindow
, METH_VARARGS
},
707 { "wxMDIParentFrame_GetActiveChild", _wrap_wxMDIParentFrame_GetActiveChild
, METH_VARARGS
},
708 { "wxMDIParentFrame_Cascade", _wrap_wxMDIParentFrame_Cascade
, METH_VARARGS
},
709 { "wxMDIParentFrame_ArrangeIcons", _wrap_wxMDIParentFrame_ArrangeIcons
, METH_VARARGS
},
710 { "wxMDIParentFrame_ActivatePrevious", _wrap_wxMDIParentFrame_ActivatePrevious
, METH_VARARGS
},
711 { "wxMDIParentFrame_ActivateNext", _wrap_wxMDIParentFrame_ActivateNext
, METH_VARARGS
},
712 { "new_wxMDIParentFrame", _wrap_new_wxMDIParentFrame
, METH_VARARGS
},
719 * This table is used by the pointer type-checker
721 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
722 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
723 { "_wxEvent","_class_wxEvent",0},
724 { "_class_wxActivateEvent","_wxActivateEvent",0},
725 { "_signed_long","_long",0},
726 { "_wxMenuEvent","_class_wxMenuEvent",0},
727 { "_wxPrintQuality","_int",0},
728 { "_wxPrintQuality","_signed_int",0},
729 { "_wxPrintQuality","_unsigned_int",0},
730 { "_wxPrintQuality","_wxWindowID",0},
731 { "_wxPrintQuality","_uint",0},
732 { "_wxPrintQuality","_EBool",0},
733 { "_wxPrintQuality","_size_t",0},
734 { "_class_wxRegionIterator","_wxRegionIterator",0},
735 { "_class_wxMenuBar","_wxMenuBar",0},
736 { "_class_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
737 { "_class_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
738 { "_class_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
739 { "_class_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
740 { "_class_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
741 { "_class_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
742 { "_class_wxEvtHandler","_wxEvtHandler",0},
743 { "_wxPaintEvent","_class_wxPaintEvent",0},
744 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
745 { "_wxCursor","_class_wxCursor",0},
746 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
747 { "_wxMask","_class_wxMask",0},
748 { "_wxPen","_class_wxPen",0},
749 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
750 { "_byte","_unsigned_char",0},
751 { "_wxStaticBox","_class_wxStaticBox",0},
752 { "_wxChoice","_class_wxChoice",0},
753 { "_wxSlider","_class_wxSlider",0},
754 { "_long","_wxDash",0},
755 { "_long","_unsigned_long",0},
756 { "_long","_signed_long",0},
757 { "_wxImageList","_class_wxImageList",0},
758 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
759 { "_wxBitmapButton","_class_wxBitmapButton",0},
760 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
761 { "_class_wxGauge","_wxGauge",0},
762 { "_wxDC","_class_wxDC",0},
763 { "_wxSpinEvent","_class_wxSpinEvent",0},
764 { "_size_t","_wxPrintQuality",0},
765 { "_size_t","_unsigned_int",0},
766 { "_size_t","_int",0},
767 { "_size_t","_wxWindowID",0},
768 { "_size_t","_uint",0},
769 { "_class_wxRealPoint","_wxRealPoint",0},
770 { "_wxPrinterDC","_class_wxPrinterDC",0},
771 { "_class_wxMenuItem","_wxMenuItem",0},
772 { "_class_wxPaintEvent","_wxPaintEvent",0},
773 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
774 { "_class_wxStatusBar","_wxStatusBar",0},
775 { "_wxPanel","_class_wxPanel",0},
776 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
777 { "_wxCheckBox","_class_wxCheckBox",0},
778 { "_wxPyEvent","_class_wxPyEvent",0},
779 { "_wxTextCtrl","_class_wxTextCtrl",0},
780 { "_class_wxMask","_wxMask",0},
781 { "_class_wxKeyEvent","_wxKeyEvent",0},
782 { "_wxColour","_class_wxColour",0},
783 { "_class_wxDialog","_wxDialog",0},
784 { "_wxIdleEvent","_class_wxIdleEvent",0},
785 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
786 { "_wxToolBar","_class_wxToolBar",0},
787 { "_wxStaticLine","_class_wxStaticLine",0},
788 { "_wxBrush","_class_wxBrush",0},
789 { "_wxMiniFrame","_class_wxMiniFrame",0},
790 { "_wxShowEvent","_class_wxShowEvent",0},
791 { "_uint","_wxPrintQuality",0},
792 { "_uint","_size_t",0},
793 { "_uint","_unsigned_int",0},
795 { "_uint","_wxWindowID",0},
796 { "_class_wxEvent","_wxEvent",0},
797 { "_wxCheckListBox","_class_wxCheckListBox",0},
798 { "_wxRect","_class_wxRect",0},
799 { "_wxCommandEvent","_class_wxCommandEvent",0},
800 { "_wxSizeEvent","_class_wxSizeEvent",0},
801 { "_wxPoint","_class_wxPoint",0},
802 { "_class_wxButton","_wxButton",0},
803 { "_wxRadioBox","_class_wxRadioBox",0},
804 { "_wxBitmap","_class_wxBitmap",0},
805 { "_wxPyTimer","_class_wxPyTimer",0},
806 { "_wxWindowDC","_class_wxWindowDC",0},
807 { "_wxScrollBar","_class_wxScrollBar",0},
808 { "_wxSpinButton","_class_wxSpinButton",0},
809 { "_wxToolBarTool","_class_wxToolBarTool",0},
810 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
811 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
812 { "_class_wxPyEvent","_wxPyEvent",0},
813 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
814 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
815 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
816 { "_class_wxToolBar","_wxToolBar",0},
817 { "_class_wxStaticLine","_wxStaticLine",0},
818 { "_wxScrollEvent","_class_wxScrollEvent",0},
819 { "_EBool","_wxPrintQuality",0},
820 { "_EBool","_signed_int",0},
821 { "_EBool","_int",0},
822 { "_EBool","_wxWindowID",0},
823 { "_class_wxRegion","_wxRegion",0},
824 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
825 { "_wxStaticText","_class_wxStaticText",0},
826 { "_wxFont","_class_wxFont",0},
827 { "_wxCloseEvent","_class_wxCloseEvent",0},
828 { "_unsigned_long","_wxDash",0},
829 { "_unsigned_long","_long",0},
830 { "_class_wxRect","_wxRect",0},
831 { "_class_wxDC","_wxDC",0},
832 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
833 { "_class_wxPyTimer","_wxPyTimer",0},
834 { "_wxFocusEvent","_class_wxFocusEvent",0},
835 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
836 { "_class_wxSpinButton","_wxSpinButton",0},
837 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
838 { "_class_wxPanel","_wxPanel",0},
839 { "_class_wxCheckBox","_wxCheckBox",0},
840 { "_wxComboBox","_class_wxComboBox",0},
841 { "_wxRadioButton","_class_wxRadioButton",0},
842 { "_signed_int","_wxPrintQuality",0},
843 { "_signed_int","_EBool",0},
844 { "_signed_int","_wxWindowID",0},
845 { "_signed_int","_int",0},
846 { "_class_wxTextCtrl","_wxTextCtrl",0},
847 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
848 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
849 { "_wxMenu","_class_wxMenu",0},
850 { "_class_wxMoveEvent","_wxMoveEvent",0},
851 { "_wxListBox","_class_wxListBox",0},
852 { "_wxScreenDC","_class_wxScreenDC",0},
853 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
854 { "_WXTYPE","_short",0},
855 { "_WXTYPE","_signed_short",0},
856 { "_WXTYPE","_unsigned_short",0},
857 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
858 { "_class_wxBrush","_wxBrush",0},
859 { "_unsigned_short","_WXTYPE",0},
860 { "_unsigned_short","_short",0},
861 { "_class_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
862 { "_class_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
863 { "_class_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
864 { "_class_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
865 { "_class_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
866 { "_class_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
867 { "_class_wxWindow","_wxWindow",0},
868 { "_class_wxStaticText","_wxStaticText",0},
869 { "_class_wxFont","_wxFont",0},
870 { "_class_wxCloseEvent","_wxCloseEvent",0},
871 { "_class_wxMenuEvent","_wxMenuEvent",0},
872 { "_wxClientDC","_class_wxClientDC",0},
873 { "_wxMouseEvent","_class_wxMouseEvent",0},
874 { "_class_wxPoint","_wxPoint",0},
875 { "_wxRealPoint","_class_wxRealPoint",0},
876 { "_class_wxRadioBox","_wxRadioBox",0},
877 { "_signed_short","_WXTYPE",0},
878 { "_signed_short","_short",0},
879 { "_wxMemoryDC","_class_wxMemoryDC",0},
880 { "_wxPaintDC","_class_wxPaintDC",0},
881 { "_class_wxWindowDC","_wxWindowDC",0},
882 { "_class_wxFocusEvent","_wxFocusEvent",0},
883 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
884 { "_wxStatusBar","_class_wxStatusBar",0},
885 { "_class_wxToolBarTool","_wxToolBarTool",0},
886 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
887 { "_class_wxCursor","_wxCursor",0},
888 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
889 { "_unsigned_char","_byte",0},
890 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
891 { "_class_wxMenu","_wxMenu",0},
892 { "_wxControl","_class_wxControl",0},
893 { "_class_wxListBox","_wxListBox",0},
894 { "_unsigned_int","_wxPrintQuality",0},
895 { "_unsigned_int","_size_t",0},
896 { "_unsigned_int","_uint",0},
897 { "_unsigned_int","_wxWindowID",0},
898 { "_unsigned_int","_int",0},
899 { "_wxIcon","_class_wxIcon",0},
900 { "_wxDialog","_class_wxDialog",0},
901 { "_class_wxPen","_wxPen",0},
902 { "_short","_WXTYPE",0},
903 { "_short","_unsigned_short",0},
904 { "_short","_signed_short",0},
905 { "_class_wxStaticBox","_wxStaticBox",0},
906 { "_class_wxScrollEvent","_wxScrollEvent",0},
907 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
908 { "_class_wxChoice","_wxChoice",0},
909 { "_class_wxSlider","_wxSlider",0},
910 { "_class_wxImageList","_wxImageList",0},
911 { "_class_wxBitmapButton","_wxBitmapButton",0},
912 { "_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
913 { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
914 { "_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
915 { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
916 { "_wxFrame","_class_wxFrame",0},
917 { "_wxWindowID","_wxPrintQuality",0},
918 { "_wxWindowID","_size_t",0},
919 { "_wxWindowID","_EBool",0},
920 { "_wxWindowID","_uint",0},
921 { "_wxWindowID","_int",0},
922 { "_wxWindowID","_signed_int",0},
923 { "_wxWindowID","_unsigned_int",0},
924 { "_int","_wxPrintQuality",0},
925 { "_int","_size_t",0},
926 { "_int","_EBool",0},
928 { "_int","_wxWindowID",0},
929 { "_int","_unsigned_int",0},
930 { "_int","_signed_int",0},
931 { "_class_wxMouseEvent","_wxMouseEvent",0},
932 { "_class_wxSpinEvent","_wxSpinEvent",0},
933 { "_wxButton","_class_wxButton",0},
934 { "_wxSize","_class_wxSize",0},
935 { "_wxRegionIterator","_class_wxRegionIterator",0},
936 { "_class_wxPrinterDC","_wxPrinterDC",0},
937 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
938 { "_class_wxPaintDC","_wxPaintDC",0},
939 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
940 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
941 { "_class_wxComboBox","_wxComboBox",0},
942 { "_class_wxRadioButton","_wxRadioButton",0},
943 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
944 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
945 { "_class_wxControl","_wxControl",0},
946 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
947 { "_class_wxIcon","_wxIcon",0},
948 { "_class_wxColour","_wxColour",0},
949 { "_class_wxScreenDC","_wxScreenDC",0},
950 { "_wxPalette","_class_wxPalette",0},
951 { "_class_wxIdleEvent","_wxIdleEvent",0},
952 { "_wxEraseEvent","_class_wxEraseEvent",0},
953 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
954 { "_class_wxMiniFrame","_wxMiniFrame",0},
955 { "_wxRegion","_class_wxRegion",0},
956 { "_class_wxShowEvent","_wxShowEvent",0},
957 { "_wxActivateEvent","_class_wxActivateEvent",0},
958 { "_wxGauge","_class_wxGauge",0},
959 { "_class_wxCheckListBox","_wxCheckListBox",0},
960 { "_class_wxCommandEvent","_wxCommandEvent",0},
961 { "_class_wxClientDC","_wxClientDC",0},
962 { "_class_wxSizeEvent","_wxSizeEvent",0},
963 { "_class_wxSize","_wxSize",0},
964 { "_class_wxBitmap","_wxBitmap",0},
965 { "_class_wxMemoryDC","_wxMemoryDC",0},
966 { "_wxMenuBar","_class_wxMenuBar",0},
967 { "_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
968 { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
969 { "_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
970 { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
971 { "_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
972 { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
973 { "_wxEvtHandler","_class_wxEvtHandler",0},
974 { "_wxMenuItem","_class_wxMenuItem",0},
975 { "_class_wxScrollBar","_wxScrollBar",0},
976 { "_wxDash","_unsigned_long",0},
977 { "_wxDash","_long",0},
978 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
979 { "_wxKeyEvent","_class_wxKeyEvent",0},
980 { "_wxMoveEvent","_class_wxMoveEvent",0},
981 { "_class_wxPalette","_wxPalette",0},
982 { "_class_wxEraseEvent","_wxEraseEvent",0},
983 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
984 { "_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
985 { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
986 { "_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
987 { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
988 { "_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
989 { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
990 { "_wxWindow","_class_wxWindow",0},
991 { "_class_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
992 { "_class_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
993 { "_class_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
994 { "_class_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
995 { "_class_wxFrame","_wxFrame",0},
998 static PyObject
*SWIG_globals
;
1002 SWIGEXPORT(void) initmdic() {
1004 SWIG_globals
= SWIG_newvarlink();
1005 m
= Py_InitModule("mdic", mdicMethods
);
1006 d
= PyModule_GetDict(m
);
1009 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1010 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);