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
);
112 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
115 static char* wxStringErrorMsg
= "string type is required for parameter";
116 static void *SwigwxMDIParentFrameTowxFrame(void *ptr
) {
117 wxMDIParentFrame
*src
;
119 src
= (wxMDIParentFrame
*) ptr
;
120 dest
= (wxFrame
*) src
;
121 return (void *) dest
;
124 static void *SwigwxMDIParentFrameTowxWindow(void *ptr
) {
125 wxMDIParentFrame
*src
;
127 src
= (wxMDIParentFrame
*) ptr
;
128 dest
= (wxWindow
*) src
;
129 return (void *) dest
;
132 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr
) {
133 wxMDIParentFrame
*src
;
135 src
= (wxMDIParentFrame
*) ptr
;
136 dest
= (wxEvtHandler
*) src
;
137 return (void *) dest
;
140 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
141 static PyObject
*_wrap_new_wxMDIParentFrame(PyObject
*self
, PyObject
*args
) {
142 PyObject
* _resultobj
;
143 wxMDIParentFrame
* _result
;
147 wxPoint
* _arg3
= &wxPyDefaultPosition
;
148 wxSize
* _arg4
= &wxPyDefaultSize
;
149 long _arg5
= (wxDEFAULT_FRAME_STYLE
)|(wxVSCROLL
)|(wxHSCROLL
);
150 char * _arg6
= "frame";
152 PyObject
* _obj2
= 0;
158 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxMDIParentFrame",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
161 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
167 if (!PyString_Check(_obj2
)) {
168 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
171 _arg2
= new wxString(PyString_AsString(_obj2
));
174 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxMDIParentFrame. Expected _wxPoint_p.");
180 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMDIParentFrame. Expected _wxSize_p.");
185 _result
= (wxMDIParentFrame
*)new_wxMDIParentFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
187 _resultobj
= Py_BuildValue("s",_ptemp
);
195 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
196 static PyObject
*_wrap_wxMDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
) {
197 PyObject
* _resultobj
;
198 wxMDIParentFrame
* _arg0
;
202 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_ActivateNext",&_argc0
))
205 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
210 wxMDIParentFrame_ActivateNext(_arg0
);
212 _resultobj
= Py_None
;
216 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
217 static PyObject
*_wrap_wxMDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
) {
218 PyObject
* _resultobj
;
219 wxMDIParentFrame
* _arg0
;
223 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_ActivatePrevious",&_argc0
))
226 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p.");
231 wxMDIParentFrame_ActivatePrevious(_arg0
);
233 _resultobj
= Py_None
;
237 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
238 static PyObject
*_wrap_wxMDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
) {
239 PyObject
* _resultobj
;
240 wxMDIParentFrame
* _arg0
;
244 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_ArrangeIcons",&_argc0
))
247 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p.");
252 wxMDIParentFrame_ArrangeIcons(_arg0
);
254 _resultobj
= Py_None
;
258 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
259 static PyObject
*_wrap_wxMDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
) {
260 PyObject
* _resultobj
;
261 wxMDIParentFrame
* _arg0
;
265 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_Cascade",&_argc0
))
268 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
273 wxMDIParentFrame_Cascade(_arg0
);
275 _resultobj
= Py_None
;
279 #define wxMDIParentFrame_GetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
280 static PyObject
*_wrap_wxMDIParentFrame_GetClientSize(PyObject
*self
, PyObject
*args
) {
281 PyObject
* _resultobj
;
282 wxMDIParentFrame
* _arg0
;
296 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetClientSize",&_argc0
))
299 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientSize. Expected _wxMDIParentFrame_p.");
304 wxMDIParentFrame_GetClientSize(_arg0
,_arg1
,_arg2
);
306 _resultobj
= Py_None
;
309 o
= PyInt_FromLong((long) (*_arg1
));
310 _resultobj
= t_output_helper(_resultobj
, o
);
314 o
= PyInt_FromLong((long) (*_arg2
));
315 _resultobj
= t_output_helper(_resultobj
, o
);
320 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
321 static PyObject
*_wrap_wxMDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
) {
322 PyObject
* _resultobj
;
323 wxMDIChildFrame
* _result
;
324 wxMDIParentFrame
* _arg0
;
329 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetActiveChild",&_argc0
))
332 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
337 _result
= (wxMDIChildFrame
*)wxMDIParentFrame_GetActiveChild(_arg0
);
338 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
339 _resultobj
= Py_BuildValue("s",_ptemp
);
343 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
344 static PyObject
*_wrap_wxMDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
) {
345 PyObject
* _resultobj
;
346 wxMDIClientWindow
* _result
;
347 wxMDIParentFrame
* _arg0
;
352 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetClientWindow",&_argc0
))
355 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
360 _result
= (wxMDIClientWindow
*)wxMDIParentFrame_GetClientWindow(_arg0
);
361 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
362 _resultobj
= Py_BuildValue("s",_ptemp
);
366 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
367 static PyObject
*_wrap_wxMDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
) {
368 PyObject
* _resultobj
;
370 wxMDIParentFrame
* _arg0
;
375 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetToolBar",&_argc0
))
378 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
383 _result
= (wxWindow
*)wxMDIParentFrame_GetToolBar(_arg0
);
384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
385 _resultobj
= Py_BuildValue("s",_ptemp
);
389 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
390 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
) {
391 PyObject
* _resultobj
;
392 wxMDIParentFrame
* _arg0
;
396 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_Tile",&_argc0
))
399 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
404 wxMDIParentFrame_Tile(_arg0
);
406 _resultobj
= Py_None
;
410 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
411 wxMDIChildFrame
*src
;
413 src
= (wxMDIChildFrame
*) ptr
;
414 dest
= (wxFrame
*) src
;
415 return (void *) dest
;
418 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
419 wxMDIChildFrame
*src
;
421 src
= (wxMDIChildFrame
*) ptr
;
422 dest
= (wxWindow
*) src
;
423 return (void *) dest
;
426 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
427 wxMDIChildFrame
*src
;
429 src
= (wxMDIChildFrame
*) ptr
;
430 dest
= (wxEvtHandler
*) src
;
431 return (void *) dest
;
434 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
435 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
) {
436 PyObject
* _resultobj
;
437 wxMDIChildFrame
* _result
;
438 wxMDIParentFrame
* _arg0
;
441 wxPoint
* _arg3
= &wxPyDefaultPosition
;
442 wxSize
* _arg4
= &wxPyDefaultSize
;
443 long _arg5
= (wxDEFAULT_FRAME_STYLE
);
444 char * _arg6
= "frame";
446 PyObject
* _obj2
= 0;
452 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxMDIChildFrame",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
455 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
461 if (!PyString_Check(_obj2
)) {
462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
465 _arg2
= new wxString(PyString_AsString(_obj2
));
468 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxMDIChildFrame. Expected _wxPoint_p.");
474 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMDIChildFrame. Expected _wxSize_p.");
479 _result
= (wxMDIChildFrame
*)new_wxMDIChildFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
481 _resultobj
= Py_BuildValue("s",_ptemp
);
489 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
490 static PyObject
*_wrap_wxMDIChildFrame_Activate(PyObject
*self
, PyObject
*args
) {
491 PyObject
* _resultobj
;
492 wxMDIChildFrame
* _arg0
;
496 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_Activate",&_argc0
))
499 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
504 wxMDIChildFrame_Activate(_arg0
);
506 _resultobj
= Py_None
;
510 #define wxMDIChildFrame_Maximize(_swigobj) (_swigobj->Maximize())
511 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
) {
512 PyObject
* _resultobj
;
513 wxMDIChildFrame
* _arg0
;
517 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_Maximize",&_argc0
))
520 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
525 wxMDIChildFrame_Maximize(_arg0
);
527 _resultobj
= Py_None
;
531 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
532 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
) {
533 PyObject
* _resultobj
;
534 wxMDIChildFrame
* _arg0
;
538 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_Restore",&_argc0
))
541 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
546 wxMDIChildFrame_Restore(_arg0
);
548 _resultobj
= Py_None
;
552 #define wxMDIChildFrame_SetMenuBar(_swigobj,_swigarg0) (_swigobj->SetMenuBar(_swigarg0))
553 static PyObject
*_wrap_wxMDIChildFrame_SetMenuBar(PyObject
*self
, PyObject
*args
) {
554 PyObject
* _resultobj
;
555 wxMDIChildFrame
* _arg0
;
561 if(!PyArg_ParseTuple(args
,"ss:wxMDIChildFrame_SetMenuBar",&_argc0
,&_argc1
))
564 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_SetMenuBar. Expected _wxMDIChildFrame_p.");
570 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxMenuBar_p")) {
571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIChildFrame_SetMenuBar. Expected _wxMenuBar_p.");
575 wxMDIChildFrame_SetMenuBar(_arg0
,_arg1
);
577 _resultobj
= Py_None
;
581 #define wxMDIChildFrame_SetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetClientSize(_swigarg0,_swigarg1))
582 static PyObject
*_wrap_wxMDIChildFrame_SetClientSize(PyObject
*self
, PyObject
*args
) {
583 PyObject
* _resultobj
;
584 wxMDIChildFrame
* _arg0
;
590 if(!PyArg_ParseTuple(args
,"sii:wxMDIChildFrame_SetClientSize",&_argc0
,&_arg1
,&_arg2
))
593 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_SetClientSize. Expected _wxMDIChildFrame_p.");
598 wxMDIChildFrame_SetClientSize(_arg0
,_arg1
,_arg2
);
600 _resultobj
= Py_None
;
604 #define wxMDIChildFrame_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
605 static PyObject
*_wrap_wxMDIChildFrame_GetPosition(PyObject
*self
, PyObject
*args
) {
606 PyObject
* _resultobj
;
607 wxMDIChildFrame
* _arg0
;
621 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_GetPosition",&_argc0
))
624 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_GetPosition. Expected _wxMDIChildFrame_p.");
629 wxMDIChildFrame_GetPosition(_arg0
,_arg1
,_arg2
);
631 _resultobj
= Py_None
;
634 o
= PyInt_FromLong((long) (*_arg1
));
635 _resultobj
= t_output_helper(_resultobj
, o
);
639 o
= PyInt_FromLong((long) (*_arg2
));
640 _resultobj
= t_output_helper(_resultobj
, o
);
645 static void *SwigwxMDIClientWindowTowxWindow(void *ptr
) {
646 wxMDIClientWindow
*src
;
648 src
= (wxMDIClientWindow
*) ptr
;
649 dest
= (wxWindow
*) src
;
650 return (void *) dest
;
653 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr
) {
654 wxMDIClientWindow
*src
;
656 src
= (wxMDIClientWindow
*) ptr
;
657 dest
= (wxEvtHandler
*) src
;
658 return (void *) dest
;
661 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
662 static PyObject
*_wrap_new_wxMDIClientWindow(PyObject
*self
, PyObject
*args
) {
663 PyObject
* _resultobj
;
664 wxMDIClientWindow
* _result
;
665 wxMDIParentFrame
* _arg0
;
671 if(!PyArg_ParseTuple(args
,"s|l:new_wxMDIClientWindow",&_argc0
,&_arg1
))
674 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
679 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
681 _resultobj
= Py_BuildValue("s",_ptemp
);
685 static PyMethodDef mdicMethods
[] = {
686 { "new_wxMDIClientWindow", _wrap_new_wxMDIClientWindow
, 1 },
687 { "wxMDIChildFrame_GetPosition", _wrap_wxMDIChildFrame_GetPosition
, 1 },
688 { "wxMDIChildFrame_SetClientSize", _wrap_wxMDIChildFrame_SetClientSize
, 1 },
689 { "wxMDIChildFrame_SetMenuBar", _wrap_wxMDIChildFrame_SetMenuBar
, 1 },
690 { "wxMDIChildFrame_Restore", _wrap_wxMDIChildFrame_Restore
, 1 },
691 { "wxMDIChildFrame_Maximize", _wrap_wxMDIChildFrame_Maximize
, 1 },
692 { "wxMDIChildFrame_Activate", _wrap_wxMDIChildFrame_Activate
, 1 },
693 { "new_wxMDIChildFrame", _wrap_new_wxMDIChildFrame
, 1 },
694 { "wxMDIParentFrame_Tile", _wrap_wxMDIParentFrame_Tile
, 1 },
695 { "wxMDIParentFrame_GetToolBar", _wrap_wxMDIParentFrame_GetToolBar
, 1 },
696 { "wxMDIParentFrame_GetClientWindow", _wrap_wxMDIParentFrame_GetClientWindow
, 1 },
697 { "wxMDIParentFrame_GetActiveChild", _wrap_wxMDIParentFrame_GetActiveChild
, 1 },
698 { "wxMDIParentFrame_GetClientSize", _wrap_wxMDIParentFrame_GetClientSize
, 1 },
699 { "wxMDIParentFrame_Cascade", _wrap_wxMDIParentFrame_Cascade
, 1 },
700 { "wxMDIParentFrame_ArrangeIcons", _wrap_wxMDIParentFrame_ArrangeIcons
, 1 },
701 { "wxMDIParentFrame_ActivatePrevious", _wrap_wxMDIParentFrame_ActivatePrevious
, 1 },
702 { "wxMDIParentFrame_ActivateNext", _wrap_wxMDIParentFrame_ActivateNext
, 1 },
703 { "new_wxMDIParentFrame", _wrap_new_wxMDIParentFrame
, 1 },
706 static PyObject
*SWIG_globals
;
710 SWIGEXPORT(void,initmdic
)() {
712 SWIG_globals
= SWIG_newvarlink();
713 m
= Py_InitModule("mdic", mdicMethods
);
714 d
= PyModule_GetDict(m
);
716 * These are the pointer type-equivalency mappings.
717 * (Used by the SWIG pointer type-checker).
719 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
720 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
721 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
722 SWIG_RegisterMapping("_signed_long","_long",0);
723 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
724 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
725 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
726 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
727 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
728 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
729 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
730 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
731 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
732 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
733 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
734 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
735 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
736 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
737 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
738 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
739 SWIG_RegisterMapping("_byte","_unsigned_char",0);
740 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
741 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
742 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
743 SWIG_RegisterMapping("_long","_wxDash",0);
744 SWIG_RegisterMapping("_long","_unsigned_long",0);
745 SWIG_RegisterMapping("_long","_signed_long",0);
746 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
747 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
748 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",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("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
806 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
807 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
808 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
809 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
810 SWIG_RegisterMapping("_signed_int","_EBool",0);
811 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
812 SWIG_RegisterMapping("_signed_int","_int",0);
813 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
814 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
815 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
816 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
817 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
818 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
819 SWIG_RegisterMapping("_class_wxMDIChildFrame","_wxMDIChildFrame",0);
820 SWIG_RegisterMapping("_WXTYPE","_short",0);
821 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
822 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
823 SWIG_RegisterMapping("_class_wxMDIClientWindow","_wxMDIClientWindow",0);
824 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
825 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
826 SWIG_RegisterMapping("_unsigned_short","_short",0);
827 SWIG_RegisterMapping("_class_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
828 SWIG_RegisterMapping("_class_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
829 SWIG_RegisterMapping("_class_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
830 SWIG_RegisterMapping("_class_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
831 SWIG_RegisterMapping("_class_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
832 SWIG_RegisterMapping("_class_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
833 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
834 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
835 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
836 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
837 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
838 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
839 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
840 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
841 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
842 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
843 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
844 SWIG_RegisterMapping("_signed_short","_short",0);
845 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
846 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
847 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
848 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
849 SWIG_RegisterMapping("_wxStatusBar","_class_wxStatusBar",0);
850 SWIG_RegisterMapping("_class_wxToolBarTool","_wxToolBarTool",0);
851 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
852 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
853 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
854 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
855 SWIG_RegisterMapping("_unsigned_char","_byte",0);
856 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
857 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
858 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
859 SWIG_RegisterMapping("_unsigned_int","_uint",0);
860 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
861 SWIG_RegisterMapping("_unsigned_int","_int",0);
862 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
863 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
864 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
865 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
866 SWIG_RegisterMapping("_short","_WXTYPE",0);
867 SWIG_RegisterMapping("_short","_unsigned_short",0);
868 SWIG_RegisterMapping("_short","_signed_short",0);
869 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
870 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
871 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
872 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
873 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
874 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
875 SWIG_RegisterMapping("_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
876 SWIG_RegisterMapping("_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
877 SWIG_RegisterMapping("_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
878 SWIG_RegisterMapping("_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
879 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
880 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
881 SWIG_RegisterMapping("_wxWindowID","_uint",0);
882 SWIG_RegisterMapping("_wxWindowID","_int",0);
883 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
884 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
885 SWIG_RegisterMapping("_int","_EBool",0);
886 SWIG_RegisterMapping("_int","_uint",0);
887 SWIG_RegisterMapping("_int","_wxWindowID",0);
888 SWIG_RegisterMapping("_int","_unsigned_int",0);
889 SWIG_RegisterMapping("_int","_signed_int",0);
890 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
891 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
892 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
893 SWIG_RegisterMapping("_class_wxMDIParentFrame","_wxMDIParentFrame",0);
894 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
895 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
896 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
897 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
898 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
899 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
900 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
901 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
902 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
903 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
904 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
905 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
906 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
907 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
908 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
909 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
910 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
911 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
912 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
913 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
914 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
915 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
916 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
917 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
918 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
919 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
920 SWIG_RegisterMapping("_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
921 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
922 SWIG_RegisterMapping("_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
923 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
924 SWIG_RegisterMapping("_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
925 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
926 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
927 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
928 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
929 SWIG_RegisterMapping("_wxDash","_long",0);
930 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
931 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
932 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
933 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
934 SWIG_RegisterMapping("_wxMDIClientWindow","_class_wxMDIClientWindow",0);
935 SWIG_RegisterMapping("_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
936 SWIG_RegisterMapping("_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
937 SWIG_RegisterMapping("_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
938 SWIG_RegisterMapping("_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
939 SWIG_RegisterMapping("_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
940 SWIG_RegisterMapping("_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
941 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
942 SWIG_RegisterMapping("_class_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
943 SWIG_RegisterMapping("_class_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
944 SWIG_RegisterMapping("_class_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
945 SWIG_RegisterMapping("_class_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
946 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);