4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
32 # define SWIGEXPORT(a,b) a b
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
47 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 int* int_LIST_helper(PyObject
* source
);
107 extern long* long_LIST_helper(PyObject
* source
);
108 extern char** string_LIST_helper(PyObject
* source
);
109 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
110 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
111 extern wxString
* wxString_LIST_helper(PyObject
* source
);
113 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
117 static char* wxStringErrorMsg
= "string type is required for parameter";
118 static void *SwigwxMDIParentFrameTowxFrame(void *ptr
) {
119 wxMDIParentFrame
*src
;
121 src
= (wxMDIParentFrame
*) ptr
;
122 dest
= (wxFrame
*) src
;
123 return (void *) dest
;
126 static void *SwigwxMDIParentFrameTowxWindow(void *ptr
) {
127 wxMDIParentFrame
*src
;
129 src
= (wxMDIParentFrame
*) ptr
;
130 dest
= (wxWindow
*) src
;
131 return (void *) dest
;
134 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr
) {
135 wxMDIParentFrame
*src
;
137 src
= (wxMDIParentFrame
*) ptr
;
138 dest
= (wxEvtHandler
*) src
;
139 return (void *) dest
;
142 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
143 static PyObject
*_wrap_new_wxMDIParentFrame(PyObject
*self
, PyObject
*args
) {
144 PyObject
* _resultobj
;
145 wxMDIParentFrame
* _result
;
149 wxPoint
* _arg3
= &wxPyDefaultPosition
;
150 wxSize
* _arg4
= &wxPyDefaultSize
;
151 long _arg5
= (wxDEFAULT_FRAME_STYLE
)|(wxVSCROLL
)|(wxHSCROLL
);
152 char * _arg6
= "frame";
154 PyObject
* _obj2
= 0;
160 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxMDIParentFrame",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
163 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
169 if (!PyString_Check(_obj2
)) {
170 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
173 _arg2
= new wxString(PyString_AsString(_obj2
));
176 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxMDIParentFrame. Expected _wxPoint_p.");
182 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMDIParentFrame. Expected _wxSize_p.");
187 _result
= (wxMDIParentFrame
*)new_wxMDIParentFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
189 _resultobj
= Py_BuildValue("s",_ptemp
);
197 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
198 static PyObject
*_wrap_wxMDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
) {
199 PyObject
* _resultobj
;
200 wxMDIParentFrame
* _arg0
;
204 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_ActivateNext",&_argc0
))
207 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
212 wxMDIParentFrame_ActivateNext(_arg0
);
214 _resultobj
= Py_None
;
218 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
219 static PyObject
*_wrap_wxMDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
) {
220 PyObject
* _resultobj
;
221 wxMDIParentFrame
* _arg0
;
225 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_ActivatePrevious",&_argc0
))
228 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p.");
233 wxMDIParentFrame_ActivatePrevious(_arg0
);
235 _resultobj
= Py_None
;
239 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
240 static PyObject
*_wrap_wxMDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
) {
241 PyObject
* _resultobj
;
242 wxMDIParentFrame
* _arg0
;
246 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_ArrangeIcons",&_argc0
))
249 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p.");
254 wxMDIParentFrame_ArrangeIcons(_arg0
);
256 _resultobj
= Py_None
;
260 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
261 static PyObject
*_wrap_wxMDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
) {
262 PyObject
* _resultobj
;
263 wxMDIParentFrame
* _arg0
;
267 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_Cascade",&_argc0
))
270 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
275 wxMDIParentFrame_Cascade(_arg0
);
277 _resultobj
= Py_None
;
281 #define wxMDIParentFrame_GetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
282 static PyObject
*_wrap_wxMDIParentFrame_GetClientSize(PyObject
*self
, PyObject
*args
) {
283 PyObject
* _resultobj
;
284 wxMDIParentFrame
* _arg0
;
298 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetClientSize",&_argc0
))
301 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientSize. Expected _wxMDIParentFrame_p.");
306 wxMDIParentFrame_GetClientSize(_arg0
,_arg1
,_arg2
);
308 _resultobj
= Py_None
;
311 o
= PyInt_FromLong((long) (*_arg1
));
312 _resultobj
= t_output_helper(_resultobj
, o
);
316 o
= PyInt_FromLong((long) (*_arg2
));
317 _resultobj
= t_output_helper(_resultobj
, o
);
322 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
323 static PyObject
*_wrap_wxMDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
) {
324 PyObject
* _resultobj
;
325 wxMDIChildFrame
* _result
;
326 wxMDIParentFrame
* _arg0
;
331 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetActiveChild",&_argc0
))
334 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
339 _result
= (wxMDIChildFrame
*)wxMDIParentFrame_GetActiveChild(_arg0
);
340 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
341 _resultobj
= Py_BuildValue("s",_ptemp
);
345 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
346 static PyObject
*_wrap_wxMDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
) {
347 PyObject
* _resultobj
;
348 wxMDIClientWindow
* _result
;
349 wxMDIParentFrame
* _arg0
;
354 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetClientWindow",&_argc0
))
357 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
362 _result
= (wxMDIClientWindow
*)wxMDIParentFrame_GetClientWindow(_arg0
);
363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
364 _resultobj
= Py_BuildValue("s",_ptemp
);
368 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
369 static PyObject
*_wrap_wxMDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
) {
370 PyObject
* _resultobj
;
372 wxMDIParentFrame
* _arg0
;
377 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetToolBar",&_argc0
))
380 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
385 _result
= (wxWindow
*)wxMDIParentFrame_GetToolBar(_arg0
);
386 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
387 _resultobj
= Py_BuildValue("s",_ptemp
);
391 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
392 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
) {
393 PyObject
* _resultobj
;
394 wxMDIParentFrame
* _arg0
;
398 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_Tile",&_argc0
))
401 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
406 wxMDIParentFrame_Tile(_arg0
);
408 _resultobj
= Py_None
;
412 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
413 wxMDIChildFrame
*src
;
415 src
= (wxMDIChildFrame
*) ptr
;
416 dest
= (wxFrame
*) src
;
417 return (void *) dest
;
420 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
421 wxMDIChildFrame
*src
;
423 src
= (wxMDIChildFrame
*) ptr
;
424 dest
= (wxWindow
*) src
;
425 return (void *) dest
;
428 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
429 wxMDIChildFrame
*src
;
431 src
= (wxMDIChildFrame
*) ptr
;
432 dest
= (wxEvtHandler
*) src
;
433 return (void *) dest
;
436 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
437 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
) {
438 PyObject
* _resultobj
;
439 wxMDIChildFrame
* _result
;
440 wxMDIParentFrame
* _arg0
;
443 wxPoint
* _arg3
= &wxPyDefaultPosition
;
444 wxSize
* _arg4
= &wxPyDefaultSize
;
445 long _arg5
= (wxDEFAULT_FRAME_STYLE
);
446 char * _arg6
= "frame";
448 PyObject
* _obj2
= 0;
454 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxMDIChildFrame",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
457 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
463 if (!PyString_Check(_obj2
)) {
464 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
467 _arg2
= new wxString(PyString_AsString(_obj2
));
470 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxMDIChildFrame. Expected _wxPoint_p.");
476 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMDIChildFrame. Expected _wxSize_p.");
481 _result
= (wxMDIChildFrame
*)new_wxMDIChildFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
483 _resultobj
= Py_BuildValue("s",_ptemp
);
491 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
492 static PyObject
*_wrap_wxMDIChildFrame_Activate(PyObject
*self
, PyObject
*args
) {
493 PyObject
* _resultobj
;
494 wxMDIChildFrame
* _arg0
;
498 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_Activate",&_argc0
))
501 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
506 wxMDIChildFrame_Activate(_arg0
);
508 _resultobj
= Py_None
;
512 #define wxMDIChildFrame_Maximize(_swigobj) (_swigobj->Maximize())
513 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
) {
514 PyObject
* _resultobj
;
515 wxMDIChildFrame
* _arg0
;
519 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_Maximize",&_argc0
))
522 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
527 wxMDIChildFrame_Maximize(_arg0
);
529 _resultobj
= Py_None
;
533 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
534 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
) {
535 PyObject
* _resultobj
;
536 wxMDIChildFrame
* _arg0
;
540 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_Restore",&_argc0
))
543 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
548 wxMDIChildFrame_Restore(_arg0
);
550 _resultobj
= Py_None
;
554 #define wxMDIChildFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
555 static PyObject
*_wrap_wxMDIChildFrame_SetMenuBar(PyObject
*self
, PyObject
*args
) {
556 PyObject
* _resultobj
;
557 wxMDIChildFrame
* _arg0
;
563 if(!PyArg_ParseTuple(args
,"ss:wxMDIChildFrame_SetMenuBar",&_argc0
,&_argc1
))
566 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_SetMenuBar. Expected _wxMDIChildFrame_p.");
572 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenuBar_p")) {
573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIChildFrame_SetMenuBar. Expected _wxMenuBar_p.");
577 wxMDIChildFrame_SetMenuBar(_arg0
,_arg1
);
579 _resultobj
= Py_None
;
583 #define wxMDIChildFrame_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
584 static PyObject
*_wrap_wxMDIChildFrame_SetClientSize(PyObject
*self
, PyObject
*args
) {
585 PyObject
* _resultobj
;
586 wxMDIChildFrame
* _arg0
;
592 if(!PyArg_ParseTuple(args
,"sii:wxMDIChildFrame_SetClientSize",&_argc0
,&_arg1
,&_arg2
))
595 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_SetClientSize. Expected _wxMDIChildFrame_p.");
600 wxMDIChildFrame_SetClientSize(_arg0
,_arg1
,_arg2
);
602 _resultobj
= Py_None
;
606 #define wxMDIChildFrame_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
607 static PyObject
*_wrap_wxMDIChildFrame_GetPosition(PyObject
*self
, PyObject
*args
) {
608 PyObject
* _resultobj
;
609 wxMDIChildFrame
* _arg0
;
623 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_GetPosition",&_argc0
))
626 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_GetPosition. Expected _wxMDIChildFrame_p.");
631 wxMDIChildFrame_GetPosition(_arg0
,_arg1
,_arg2
);
633 _resultobj
= Py_None
;
636 o
= PyInt_FromLong((long) (*_arg1
));
637 _resultobj
= t_output_helper(_resultobj
, o
);
641 o
= PyInt_FromLong((long) (*_arg2
));
642 _resultobj
= t_output_helper(_resultobj
, o
);
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
;
673 if(!PyArg_ParseTuple(args
,"s|l:new_wxMDIClientWindow",&_argc0
,&_arg1
))
676 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
681 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
683 _resultobj
= Py_BuildValue("s",_ptemp
);
687 static PyMethodDef mdicMethods
[] = {
688 { "new_wxMDIClientWindow", _wrap_new_wxMDIClientWindow
, 1 },
689 { "wxMDIChildFrame_GetPosition", _wrap_wxMDIChildFrame_GetPosition
, 1 },
690 { "wxMDIChildFrame_SetClientSize", _wrap_wxMDIChildFrame_SetClientSize
, 1 },
691 { "wxMDIChildFrame_SetMenuBar", _wrap_wxMDIChildFrame_SetMenuBar
, 1 },
692 { "wxMDIChildFrame_Restore", _wrap_wxMDIChildFrame_Restore
, 1 },
693 { "wxMDIChildFrame_Maximize", _wrap_wxMDIChildFrame_Maximize
, 1 },
694 { "wxMDIChildFrame_Activate", _wrap_wxMDIChildFrame_Activate
, 1 },
695 { "new_wxMDIChildFrame", _wrap_new_wxMDIChildFrame
, 1 },
696 { "wxMDIParentFrame_Tile", _wrap_wxMDIParentFrame_Tile
, 1 },
697 { "wxMDIParentFrame_GetToolBar", _wrap_wxMDIParentFrame_GetToolBar
, 1 },
698 { "wxMDIParentFrame_GetClientWindow", _wrap_wxMDIParentFrame_GetClientWindow
, 1 },
699 { "wxMDIParentFrame_GetActiveChild", _wrap_wxMDIParentFrame_GetActiveChild
, 1 },
700 { "wxMDIParentFrame_GetClientSize", _wrap_wxMDIParentFrame_GetClientSize
, 1 },
701 { "wxMDIParentFrame_Cascade", _wrap_wxMDIParentFrame_Cascade
, 1 },
702 { "wxMDIParentFrame_ArrangeIcons", _wrap_wxMDIParentFrame_ArrangeIcons
, 1 },
703 { "wxMDIParentFrame_ActivatePrevious", _wrap_wxMDIParentFrame_ActivatePrevious
, 1 },
704 { "wxMDIParentFrame_ActivateNext", _wrap_wxMDIParentFrame_ActivateNext
, 1 },
705 { "new_wxMDIParentFrame", _wrap_new_wxMDIParentFrame
, 1 },
708 static PyObject
*SWIG_globals
;
712 SWIGEXPORT(void,initmdic
)() {
714 SWIG_globals
= SWIG_newvarlink();
715 m
= Py_InitModule("mdic", mdicMethods
);
716 d
= PyModule_GetDict(m
);
718 * These are the pointer type-equivalency mappings.
719 * (Used by the SWIG pointer type-checker).
721 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
722 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
723 SWIG_RegisterMapping("_signed_long","_long",0);
724 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
725 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
726 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
727 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
728 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
729 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
730 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
731 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
732 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
733 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
734 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
735 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
736 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
737 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
738 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
739 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
740 SWIG_RegisterMapping("_byte","_unsigned_char",0);
741 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
742 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
743 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
744 SWIG_RegisterMapping("_long","_wxDash",0);
745 SWIG_RegisterMapping("_long","_unsigned_long",0);
746 SWIG_RegisterMapping("_long","_signed_long",0);
747 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
748 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
749 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
750 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
751 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
752 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
753 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
754 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
755 SWIG_RegisterMapping("_class_wxStatusBar","_wxStatusBar",0);
756 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
757 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
758 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
759 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
760 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
761 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
762 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
763 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
764 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
765 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
766 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
767 SWIG_RegisterMapping("_wxToolBar","_class_wxToolBar",0);
768 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
769 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
770 SWIG_RegisterMapping("_uint","_unsigned_int",0);
771 SWIG_RegisterMapping("_uint","_int",0);
772 SWIG_RegisterMapping("_uint","_wxWindowID",0);
773 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
774 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
775 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
776 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
777 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
778 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
779 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
780 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
781 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
782 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
783 SWIG_RegisterMapping("_wxToolBarTool","_class_wxToolBarTool",0);
784 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
785 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
786 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
787 SWIG_RegisterMapping("_wxMDIChildFrame","_class_wxMDIChildFrame",0);
788 SWIG_RegisterMapping("_class_wxToolBar","_wxToolBar",0);
789 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
790 SWIG_RegisterMapping("_EBool","_signed_int",0);
791 SWIG_RegisterMapping("_EBool","_int",0);
792 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
793 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
794 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
795 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
796 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
797 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
798 SWIG_RegisterMapping("_unsigned_long","_long",0);
799 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
800 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
801 SWIG_RegisterMapping("_wxMDIParentFrame","_class_wxMDIParentFrame",0);
802 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
803 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
804 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
805 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
806 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
807 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
808 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
809 SWIG_RegisterMapping("_signed_int","_EBool",0);
810 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
811 SWIG_RegisterMapping("_signed_int","_int",0);
812 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
813 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
814 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
815 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
816 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
817 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
818 SWIG_RegisterMapping("_class_wxMDIChildFrame","_wxMDIChildFrame",0);
819 SWIG_RegisterMapping("_WXTYPE","_short",0);
820 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
821 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
822 SWIG_RegisterMapping("_class_wxMDIClientWindow","_wxMDIClientWindow",0);
823 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
824 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
825 SWIG_RegisterMapping("_unsigned_short","_short",0);
826 SWIG_RegisterMapping("_class_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
827 SWIG_RegisterMapping("_class_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
828 SWIG_RegisterMapping("_class_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
829 SWIG_RegisterMapping("_class_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
830 SWIG_RegisterMapping("_class_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
831 SWIG_RegisterMapping("_class_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
832 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
833 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
834 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
835 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
836 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
837 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
838 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
839 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
840 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
841 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
842 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
843 SWIG_RegisterMapping("_signed_short","_short",0);
844 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
845 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
846 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
847 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
848 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
849 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
850 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
851 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
852 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
853 SWIG_RegisterMapping("_unsigned_char","_byte",0);
854 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
855 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
856 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
857 SWIG_RegisterMapping("_unsigned_int","_uint",0);
858 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
859 SWIG_RegisterMapping("_unsigned_int","_int",0);
860 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
861 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
862 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
863 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
864 SWIG_RegisterMapping("_short","_WXTYPE",0);
865 SWIG_RegisterMapping("_short","_unsigned_short",0);
866 SWIG_RegisterMapping("_short","_signed_short",0);
867 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
868 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
869 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
870 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
871 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
872 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
873 SWIG_RegisterMapping("_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
874 SWIG_RegisterMapping("_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
875 SWIG_RegisterMapping("_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
876 SWIG_RegisterMapping("_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
877 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
878 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
879 SWIG_RegisterMapping("_wxWindowID","_uint",0);
880 SWIG_RegisterMapping("_wxWindowID","_int",0);
881 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
882 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
883 SWIG_RegisterMapping("_int","_EBool",0);
884 SWIG_RegisterMapping("_int","_uint",0);
885 SWIG_RegisterMapping("_int","_wxWindowID",0);
886 SWIG_RegisterMapping("_int","_unsigned_int",0);
887 SWIG_RegisterMapping("_int","_signed_int",0);
888 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
889 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
890 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
891 SWIG_RegisterMapping("_class_wxMDIParentFrame","_wxMDIParentFrame",0);
892 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
893 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
894 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
895 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
896 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
897 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
898 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
899 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
900 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
901 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
902 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
903 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
904 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
905 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
906 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
907 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
908 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
909 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
910 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
911 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
912 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
913 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
914 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
915 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
916 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
917 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
918 SWIG_RegisterMapping("_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
919 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
920 SWIG_RegisterMapping("_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
921 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
922 SWIG_RegisterMapping("_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
923 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
924 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
925 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
926 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
927 SWIG_RegisterMapping("_wxDash","_long",0);
928 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
929 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
930 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
931 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
932 SWIG_RegisterMapping("_wxMDIClientWindow","_class_wxMDIClientWindow",0);
933 SWIG_RegisterMapping("_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
934 SWIG_RegisterMapping("_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
935 SWIG_RegisterMapping("_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
936 SWIG_RegisterMapping("_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
937 SWIG_RegisterMapping("_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
938 SWIG_RegisterMapping("_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
939 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
940 SWIG_RegisterMapping("_class_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
941 SWIG_RegisterMapping("_class_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
942 SWIG_RegisterMapping("_class_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
943 SWIG_RegisterMapping("_class_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
944 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);