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"
56 /////////////////////////////////////////////////////////////////////////////
58 // Purpose: MDI related class definitions for wxPython
64 // Copyright: (c) 1998 by Total Control Software
65 // Licence: wxWindows license
66 /////////////////////////////////////////////////////////////////////////////
71 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
75 } else if (target
== Py_None
) {
79 if (!PyList_Check(target
)) {
81 target
= PyList_New(0);
82 PyList_Append(target
, o2
);
85 PyList_Append(target
,o
);
91 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
97 } else if (target
== Py_None
) {
101 if (!PyTuple_Check(target
)) {
103 target
= PyTuple_New(1);
104 PyTuple_SetItem(target
, 0, o2
);
107 PyTuple_SetItem(o3
, 0, o
);
110 target
= PySequence_Concat(o2
, o3
);
118 extern int* int_LIST_helper(PyObject
* source
);
119 extern long* long_LIST_helper(PyObject
* source
);
120 extern char** string_LIST_helper(PyObject
* source
);
121 extern wxPoint
* wxPoint_LIST_helper(PyObject
* source
);
122 extern wxBitmap
** wxBitmap_LIST_helper(PyObject
* source
);
123 extern wxString
* wxString_LIST_helper(PyObject
* source
);
124 extern wxAcceleratorEntry
* wxAcceleratorEntry_LIST_helper(PyObject
* source
);
127 static char* wxStringErrorMsg
= "string type is required for parameter";
128 static void *SwigwxMDIParentFrameTowxFrame(void *ptr
) {
129 wxMDIParentFrame
*src
;
131 src
= (wxMDIParentFrame
*) ptr
;
132 dest
= (wxFrame
*) src
;
133 return (void *) dest
;
136 static void *SwigwxMDIParentFrameTowxWindow(void *ptr
) {
137 wxMDIParentFrame
*src
;
139 src
= (wxMDIParentFrame
*) ptr
;
140 dest
= (wxWindow
*) src
;
141 return (void *) dest
;
144 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr
) {
145 wxMDIParentFrame
*src
;
147 src
= (wxMDIParentFrame
*) ptr
;
148 dest
= (wxEvtHandler
*) src
;
149 return (void *) dest
;
152 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
153 static PyObject
*_wrap_new_wxMDIParentFrame(PyObject
*self
, PyObject
*args
) {
154 PyObject
* _resultobj
;
155 wxMDIParentFrame
* _result
;
159 wxPoint
* _arg3
= &wxPyDefaultPosition
;
160 wxSize
* _arg4
= &wxPyDefaultSize
;
161 long _arg5
= (wxDEFAULT_FRAME_STYLE
)|(wxVSCROLL
)|(wxHSCROLL
);
162 char * _arg6
= "frame";
164 PyObject
* _obj2
= 0;
170 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxMDIParentFrame",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
173 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxWindow_p")) {
174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
179 if (!PyString_Check(_obj2
)) {
180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
183 _arg2
= new wxString(PyString_AsString(_obj2
));
186 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxMDIParentFrame. Expected _wxPoint_p.");
192 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMDIParentFrame. Expected _wxSize_p.");
197 _result
= (wxMDIParentFrame
*)new_wxMDIParentFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
198 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
199 _resultobj
= Py_BuildValue("s",_ptemp
);
207 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
208 static PyObject
*_wrap_wxMDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
) {
209 PyObject
* _resultobj
;
210 wxMDIParentFrame
* _arg0
;
214 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_ActivateNext",&_argc0
))
217 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
222 wxMDIParentFrame_ActivateNext(_arg0
);
224 _resultobj
= Py_None
;
228 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
229 static PyObject
*_wrap_wxMDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
) {
230 PyObject
* _resultobj
;
231 wxMDIParentFrame
* _arg0
;
235 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_ActivatePrevious",&_argc0
))
238 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p.");
243 wxMDIParentFrame_ActivatePrevious(_arg0
);
245 _resultobj
= Py_None
;
249 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
250 static PyObject
*_wrap_wxMDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
) {
251 PyObject
* _resultobj
;
252 wxMDIParentFrame
* _arg0
;
256 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_ArrangeIcons",&_argc0
))
259 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p.");
264 wxMDIParentFrame_ArrangeIcons(_arg0
);
266 _resultobj
= Py_None
;
270 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
271 static PyObject
*_wrap_wxMDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
) {
272 PyObject
* _resultobj
;
273 wxMDIParentFrame
* _arg0
;
277 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_Cascade",&_argc0
))
280 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
285 wxMDIParentFrame_Cascade(_arg0
);
287 _resultobj
= Py_None
;
291 #define wxMDIParentFrame_GetClientSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetClientSize(_swigarg0,_swigarg1))
292 static PyObject
*_wrap_wxMDIParentFrame_GetClientSize(PyObject
*self
, PyObject
*args
) {
293 PyObject
* _resultobj
;
294 wxMDIParentFrame
* _arg0
;
308 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetClientSize",&_argc0
))
311 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientSize. Expected _wxMDIParentFrame_p.");
316 wxMDIParentFrame_GetClientSize(_arg0
,_arg1
,_arg2
);
318 _resultobj
= Py_None
;
321 o
= PyInt_FromLong((long) (*_arg1
));
322 _resultobj
= t_output_helper(_resultobj
, o
);
326 o
= PyInt_FromLong((long) (*_arg2
));
327 _resultobj
= t_output_helper(_resultobj
, o
);
332 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
333 static PyObject
*_wrap_wxMDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
) {
334 PyObject
* _resultobj
;
335 wxMDIChildFrame
* _result
;
336 wxMDIParentFrame
* _arg0
;
341 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetActiveChild",&_argc0
))
344 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
349 _result
= (wxMDIChildFrame
*)wxMDIParentFrame_GetActiveChild(_arg0
);
350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
351 _resultobj
= Py_BuildValue("s",_ptemp
);
355 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
356 static PyObject
*_wrap_wxMDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
) {
357 PyObject
* _resultobj
;
358 wxMDIClientWindow
* _result
;
359 wxMDIParentFrame
* _arg0
;
364 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetClientWindow",&_argc0
))
367 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
372 _result
= (wxMDIClientWindow
*)wxMDIParentFrame_GetClientWindow(_arg0
);
373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
374 _resultobj
= Py_BuildValue("s",_ptemp
);
378 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
379 static PyObject
*_wrap_wxMDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
) {
380 PyObject
* _resultobj
;
382 wxMDIParentFrame
* _arg0
;
387 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_GetToolBar",&_argc0
))
390 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
395 _result
= (wxWindow
*)wxMDIParentFrame_GetToolBar(_arg0
);
396 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
397 _resultobj
= Py_BuildValue("s",_ptemp
);
401 #define wxMDIParentFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
402 static PyObject
*_wrap_wxMDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
) {
403 PyObject
* _resultobj
;
404 wxMDIParentFrame
* _arg0
;
410 if(!PyArg_ParseTuple(args
,"ss:wxMDIParentFrame_SetToolBar",&_argc0
,&_argc1
))
413 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetToolBar. Expected _wxMDIParentFrame_p.");
419 if (SWIG_GetPtr(_argc1
,(void **) &_arg1
,"_wxToolBar_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetToolBar. Expected _wxToolBar_p.");
424 wxMDIParentFrame_SetToolBar(_arg0
,_arg1
);
426 _resultobj
= Py_None
;
430 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
431 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
) {
432 PyObject
* _resultobj
;
433 wxMDIParentFrame
* _arg0
;
437 if(!PyArg_ParseTuple(args
,"s:wxMDIParentFrame_Tile",&_argc0
))
440 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
445 wxMDIParentFrame_Tile(_arg0
);
447 _resultobj
= Py_None
;
451 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
452 wxMDIChildFrame
*src
;
454 src
= (wxMDIChildFrame
*) ptr
;
455 dest
= (wxFrame
*) src
;
456 return (void *) dest
;
459 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
460 wxMDIChildFrame
*src
;
462 src
= (wxMDIChildFrame
*) ptr
;
463 dest
= (wxWindow
*) src
;
464 return (void *) dest
;
467 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
468 wxMDIChildFrame
*src
;
470 src
= (wxMDIChildFrame
*) ptr
;
471 dest
= (wxEvtHandler
*) src
;
472 return (void *) dest
;
475 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
476 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
) {
477 PyObject
* _resultobj
;
478 wxMDIChildFrame
* _result
;
479 wxMDIParentFrame
* _arg0
;
482 wxPoint
* _arg3
= &wxPyDefaultPosition
;
483 wxSize
* _arg4
= &wxPyDefaultSize
;
484 long _arg5
= (wxDEFAULT_FRAME_STYLE
);
485 char * _arg6
= "frame";
487 PyObject
* _obj2
= 0;
493 if(!PyArg_ParseTuple(args
,"siO|ssls:new_wxMDIChildFrame",&_argc0
,&_arg1
,&_obj2
,&_argc3
,&_argc4
,&_arg5
,&_arg6
))
496 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
502 if (!PyString_Check(_obj2
)) {
503 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
506 _arg2
= new wxString(PyString_AsString(_obj2
));
509 if (SWIG_GetPtr(_argc3
,(void **) &_arg3
,"_wxPoint_p")) {
510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of new_wxMDIChildFrame. Expected _wxPoint_p.");
515 if (SWIG_GetPtr(_argc4
,(void **) &_arg4
,"_wxSize_p")) {
516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of new_wxMDIChildFrame. Expected _wxSize_p.");
520 _result
= (wxMDIChildFrame
*)new_wxMDIChildFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
522 _resultobj
= Py_BuildValue("s",_ptemp
);
530 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
531 static PyObject
*_wrap_wxMDIChildFrame_Activate(PyObject
*self
, PyObject
*args
) {
532 PyObject
* _resultobj
;
533 wxMDIChildFrame
* _arg0
;
537 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_Activate",&_argc0
))
540 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
545 wxMDIChildFrame_Activate(_arg0
);
547 _resultobj
= Py_None
;
551 #define wxMDIChildFrame_Maximize(_swigobj) (_swigobj->Maximize())
552 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
) {
553 PyObject
* _resultobj
;
554 wxMDIChildFrame
* _arg0
;
558 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_Maximize",&_argc0
))
561 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
566 wxMDIChildFrame_Maximize(_arg0
);
568 _resultobj
= Py_None
;
572 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
573 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
) {
574 PyObject
* _resultobj
;
575 wxMDIChildFrame
* _arg0
;
579 if(!PyArg_ParseTuple(args
,"s:wxMDIChildFrame_Restore",&_argc0
))
582 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
587 wxMDIChildFrame_Restore(_arg0
);
589 _resultobj
= Py_None
;
593 static void *SwigwxMDIClientWindowTowxWindow(void *ptr
) {
594 wxMDIClientWindow
*src
;
596 src
= (wxMDIClientWindow
*) ptr
;
597 dest
= (wxWindow
*) src
;
598 return (void *) dest
;
601 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr
) {
602 wxMDIClientWindow
*src
;
604 src
= (wxMDIClientWindow
*) ptr
;
605 dest
= (wxEvtHandler
*) src
;
606 return (void *) dest
;
609 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
610 static PyObject
*_wrap_new_wxMDIClientWindow(PyObject
*self
, PyObject
*args
) {
611 PyObject
* _resultobj
;
612 wxMDIClientWindow
* _result
;
613 wxMDIParentFrame
* _arg0
;
619 if(!PyArg_ParseTuple(args
,"s|l:new_wxMDIClientWindow",&_argc0
,&_arg1
))
622 if (SWIG_GetPtr(_argc0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
627 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
629 _resultobj
= Py_BuildValue("s",_ptemp
);
633 static PyMethodDef mdicMethods
[] = {
634 { "new_wxMDIClientWindow", _wrap_new_wxMDIClientWindow
, 1 },
635 { "wxMDIChildFrame_Restore", _wrap_wxMDIChildFrame_Restore
, 1 },
636 { "wxMDIChildFrame_Maximize", _wrap_wxMDIChildFrame_Maximize
, 1 },
637 { "wxMDIChildFrame_Activate", _wrap_wxMDIChildFrame_Activate
, 1 },
638 { "new_wxMDIChildFrame", _wrap_new_wxMDIChildFrame
, 1 },
639 { "wxMDIParentFrame_Tile", _wrap_wxMDIParentFrame_Tile
, 1 },
640 { "wxMDIParentFrame_SetToolBar", _wrap_wxMDIParentFrame_SetToolBar
, 1 },
641 { "wxMDIParentFrame_GetToolBar", _wrap_wxMDIParentFrame_GetToolBar
, 1 },
642 { "wxMDIParentFrame_GetClientWindow", _wrap_wxMDIParentFrame_GetClientWindow
, 1 },
643 { "wxMDIParentFrame_GetActiveChild", _wrap_wxMDIParentFrame_GetActiveChild
, 1 },
644 { "wxMDIParentFrame_GetClientSize", _wrap_wxMDIParentFrame_GetClientSize
, 1 },
645 { "wxMDIParentFrame_Cascade", _wrap_wxMDIParentFrame_Cascade
, 1 },
646 { "wxMDIParentFrame_ArrangeIcons", _wrap_wxMDIParentFrame_ArrangeIcons
, 1 },
647 { "wxMDIParentFrame_ActivatePrevious", _wrap_wxMDIParentFrame_ActivatePrevious
, 1 },
648 { "wxMDIParentFrame_ActivateNext", _wrap_wxMDIParentFrame_ActivateNext
, 1 },
649 { "new_wxMDIParentFrame", _wrap_new_wxMDIParentFrame
, 1 },
652 static PyObject
*SWIG_globals
;
656 SWIGEXPORT(void,initmdic
)() {
658 SWIG_globals
= SWIG_newvarlink();
659 m
= Py_InitModule("mdic", mdicMethods
);
660 d
= PyModule_GetDict(m
);
662 * These are the pointer type-equivalency mappings.
663 * (Used by the SWIG pointer type-checker).
665 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
666 SWIG_RegisterMapping("_signed_long","_long",0);
667 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
668 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
669 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
670 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
671 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
672 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
673 SWIG_RegisterMapping("_class_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
674 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
675 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
676 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
677 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
678 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
679 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
680 SWIG_RegisterMapping("_byte","_unsigned_char",0);
681 SWIG_RegisterMapping("_long","_wxDash",0);
682 SWIG_RegisterMapping("_long","_unsigned_long",0);
683 SWIG_RegisterMapping("_long","_signed_long",0);
684 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
685 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
686 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
687 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
688 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
689 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
690 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
691 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
692 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
693 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
694 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
695 SWIG_RegisterMapping("_wxMiniFrame","_class_wxMiniFrame",0);
696 SWIG_RegisterMapping("_uint","_unsigned_int",0);
697 SWIG_RegisterMapping("_uint","_int",0);
698 SWIG_RegisterMapping("_uint","_wxWindowID",0);
699 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
700 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
701 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
702 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
703 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
704 SWIG_RegisterMapping("_wxMDIChildFrame","_class_wxMDIChildFrame",0);
705 SWIG_RegisterMapping("_EBool","_signed_int",0);
706 SWIG_RegisterMapping("_EBool","_int",0);
707 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
708 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
709 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
710 SWIG_RegisterMapping("_unsigned_long","_long",0);
711 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
712 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
713 SWIG_RegisterMapping("_wxMDIParentFrame","_class_wxMDIParentFrame",0);
714 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
715 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
716 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
717 SWIG_RegisterMapping("_signed_int","_EBool",0);
718 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
719 SWIG_RegisterMapping("_signed_int","_int",0);
720 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
721 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
722 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
723 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
724 SWIG_RegisterMapping("_class_wxMDIChildFrame","_wxMDIChildFrame",0);
725 SWIG_RegisterMapping("_WXTYPE","_short",0);
726 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
727 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
728 SWIG_RegisterMapping("_class_wxMDIClientWindow","_wxMDIClientWindow",0);
729 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
730 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
731 SWIG_RegisterMapping("_unsigned_short","_short",0);
732 SWIG_RegisterMapping("_class_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
733 SWIG_RegisterMapping("_class_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
734 SWIG_RegisterMapping("_class_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
735 SWIG_RegisterMapping("_class_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
736 SWIG_RegisterMapping("_class_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
737 SWIG_RegisterMapping("_class_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
738 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
739 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
740 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
741 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
742 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
743 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
744 SWIG_RegisterMapping("_signed_short","_short",0);
745 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
746 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
747 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
748 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
749 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
750 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
751 SWIG_RegisterMapping("_unsigned_char","_byte",0);
752 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
753 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
754 SWIG_RegisterMapping("_unsigned_int","_uint",0);
755 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
756 SWIG_RegisterMapping("_unsigned_int","_int",0);
757 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
758 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
759 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
760 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
761 SWIG_RegisterMapping("_short","_WXTYPE",0);
762 SWIG_RegisterMapping("_short","_unsigned_short",0);
763 SWIG_RegisterMapping("_short","_signed_short",0);
764 SWIG_RegisterMapping("_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
765 SWIG_RegisterMapping("_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
766 SWIG_RegisterMapping("_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
767 SWIG_RegisterMapping("_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
768 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
769 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
770 SWIG_RegisterMapping("_wxWindowID","_uint",0);
771 SWIG_RegisterMapping("_wxWindowID","_int",0);
772 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
773 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
774 SWIG_RegisterMapping("_int","_EBool",0);
775 SWIG_RegisterMapping("_int","_uint",0);
776 SWIG_RegisterMapping("_int","_wxWindowID",0);
777 SWIG_RegisterMapping("_int","_unsigned_int",0);
778 SWIG_RegisterMapping("_int","_signed_int",0);
779 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
780 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
781 SWIG_RegisterMapping("_class_wxMDIParentFrame","_wxMDIParentFrame",0);
782 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
783 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
784 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
785 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
786 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
787 SWIG_RegisterMapping("_class_wxMiniFrame","_wxMiniFrame",0);
788 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
789 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
790 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
791 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
792 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
793 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
794 SWIG_RegisterMapping("_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
);
795 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
796 SWIG_RegisterMapping("_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
);
797 SWIG_RegisterMapping("_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
798 SWIG_RegisterMapping("_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
);
799 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
800 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
801 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
802 SWIG_RegisterMapping("_wxDash","_long",0);
803 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
804 SWIG_RegisterMapping("_wxMDIClientWindow","_class_wxMDIClientWindow",0);
805 SWIG_RegisterMapping("_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
806 SWIG_RegisterMapping("_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
);
807 SWIG_RegisterMapping("_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
808 SWIG_RegisterMapping("_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
);
809 SWIG_RegisterMapping("_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
810 SWIG_RegisterMapping("_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
);
811 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
812 SWIG_RegisterMapping("_class_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
813 SWIG_RegisterMapping("_class_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
);
814 SWIG_RegisterMapping("_class_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
815 SWIG_RegisterMapping("_class_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
);
816 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);