2 * FILE : src/msw/mdi.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmdic
56 #define SWIG_name "mdic"
61 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
67 } else if (target
== Py_None
) {
71 if (!PyTuple_Check(target
)) {
73 target
= PyTuple_New(1);
74 PyTuple_SetItem(target
, 0, o2
);
77 PyTuple_SetItem(o3
, 0, o
);
80 target
= PySequence_Concat(o2
, o3
);
87 #if PYTHON_API_VERSION >= 1009
88 static char* wxStringErrorMsg
= "String or Unicode type required";
90 static char* wxStringErrorMsg
= "string type is required for parameter";
95 static void *SwigwxMDIParentFrameTowxFrame(void *ptr
) {
96 wxMDIParentFrame
*src
;
98 src
= (wxMDIParentFrame
*) ptr
;
99 dest
= (wxFrame
*) src
;
100 return (void *) dest
;
103 static void *SwigwxMDIParentFrameTowxTopLevelWindow(void *ptr
) {
104 wxMDIParentFrame
*src
;
105 wxTopLevelWindow
*dest
;
106 src
= (wxMDIParentFrame
*) ptr
;
107 dest
= (wxTopLevelWindow
*) src
;
108 return (void *) dest
;
111 static void *SwigwxMDIParentFrameTowxWindow(void *ptr
) {
112 wxMDIParentFrame
*src
;
114 src
= (wxMDIParentFrame
*) ptr
;
115 dest
= (wxWindow
*) src
;
116 return (void *) dest
;
119 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr
) {
120 wxMDIParentFrame
*src
;
122 src
= (wxMDIParentFrame
*) ptr
;
123 dest
= (wxEvtHandler
*) src
;
124 return (void *) dest
;
127 static void *SwigwxMDIParentFrameTowxObject(void *ptr
) {
128 wxMDIParentFrame
*src
;
130 src
= (wxMDIParentFrame
*) ptr
;
131 dest
= (wxObject
*) src
;
132 return (void *) dest
;
135 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
136 static PyObject
*_wrap_new_wxMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
137 PyObject
* _resultobj
;
138 wxMDIParentFrame
* _result
;
142 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
143 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
144 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
145 char * _arg6
= (char *) "frame";
146 PyObject
* _argo0
= 0;
147 PyObject
* _obj2
= 0;
149 PyObject
* _obj3
= 0;
151 PyObject
* _obj4
= 0;
152 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIParentFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
166 #if PYTHON_API_VERSION >= 1009
167 char* tmpPtr
; int tmpSize
;
168 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
172 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
174 _arg2
= new wxString(tmpPtr
, tmpSize
);
176 if (!PyString_Check(_obj2
)) {
177 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
180 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
186 if (! wxPoint_helper(_obj3
, &_arg3
))
192 if (! wxSize_helper(_obj4
, &_arg4
))
196 wxPy_BEGIN_ALLOW_THREADS
;
197 _result
= (wxMDIParentFrame
*)new_wxMDIParentFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
199 wxPy_END_ALLOW_THREADS
;
200 if (PyErr_Occurred()) return NULL
;
202 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
203 _resultobj
= Py_BuildValue("s",_ptemp
);
206 _resultobj
= Py_None
;
215 #define new_wxPreMDIParentFrame() (new wxMDIParentFrame())
216 static PyObject
*_wrap_new_wxPreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
218 wxMDIParentFrame
* _result
;
219 char *_kwnames
[] = { NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIParentFrame",_kwnames
))
226 wxPy_BEGIN_ALLOW_THREADS
;
227 _result
= (wxMDIParentFrame
*)new_wxPreMDIParentFrame();
229 wxPy_END_ALLOW_THREADS
;
230 if (PyErr_Occurred()) return NULL
;
232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
233 _resultobj
= Py_BuildValue("s",_ptemp
);
236 _resultobj
= Py_None
;
241 #define wxMDIParentFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
242 static PyObject
*_wrap_wxMDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
243 PyObject
* _resultobj
;
245 wxMDIParentFrame
* _arg0
;
249 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
250 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
251 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
252 char * _arg7
= (char *) "frame";
253 PyObject
* _argo0
= 0;
254 PyObject
* _argo1
= 0;
255 PyObject
* _obj3
= 0;
257 PyObject
* _obj4
= 0;
259 PyObject
* _obj5
= 0;
260 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMDIParentFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Create. Expected _wxMDIParentFrame_p.");
273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_Create. Expected _wxWindow_p.");
280 #if PYTHON_API_VERSION >= 1009
281 char* tmpPtr
; int tmpSize
;
282 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
286 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
288 _arg3
= new wxString(tmpPtr
, tmpSize
);
290 if (!PyString_Check(_obj3
)) {
291 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
294 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
300 if (! wxPoint_helper(_obj4
, &_arg4
))
306 if (! wxSize_helper(_obj5
, &_arg5
))
310 wxPy_BEGIN_ALLOW_THREADS
;
311 _result
= (bool )wxMDIParentFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
313 wxPy_END_ALLOW_THREADS
;
314 if (PyErr_Occurred()) return NULL
;
315 } _resultobj
= Py_BuildValue("i",_result
);
323 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
324 static PyObject
*_wrap_wxMDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
326 wxMDIParentFrame
* _arg0
;
327 PyObject
* _argo0
= 0;
328 char *_kwnames
[] = { "self", NULL
};
331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ActivateNext",_kwnames
,&_argo0
))
334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
341 wxPy_BEGIN_ALLOW_THREADS
;
342 wxMDIParentFrame_ActivateNext(_arg0
);
344 wxPy_END_ALLOW_THREADS
;
345 if (PyErr_Occurred()) return NULL
;
346 } Py_INCREF(Py_None
);
347 _resultobj
= Py_None
;
351 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
352 static PyObject
*_wrap_wxMDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
353 PyObject
* _resultobj
;
354 wxMDIParentFrame
* _arg0
;
355 PyObject
* _argo0
= 0;
356 char *_kwnames
[] = { "self", NULL
};
359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ActivatePrevious",_kwnames
,&_argo0
))
362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p.");
369 wxPy_BEGIN_ALLOW_THREADS
;
370 wxMDIParentFrame_ActivatePrevious(_arg0
);
372 wxPy_END_ALLOW_THREADS
;
373 if (PyErr_Occurred()) return NULL
;
374 } Py_INCREF(Py_None
);
375 _resultobj
= Py_None
;
379 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
380 static PyObject
*_wrap_wxMDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
382 wxMDIParentFrame
* _arg0
;
383 PyObject
* _argo0
= 0;
384 char *_kwnames
[] = { "self", NULL
};
387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ArrangeIcons",_kwnames
,&_argo0
))
390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p.");
397 wxPy_BEGIN_ALLOW_THREADS
;
398 wxMDIParentFrame_ArrangeIcons(_arg0
);
400 wxPy_END_ALLOW_THREADS
;
401 if (PyErr_Occurred()) return NULL
;
402 } Py_INCREF(Py_None
);
403 _resultobj
= Py_None
;
407 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
408 static PyObject
*_wrap_wxMDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
409 PyObject
* _resultobj
;
410 wxMDIParentFrame
* _arg0
;
411 PyObject
* _argo0
= 0;
412 char *_kwnames
[] = { "self", NULL
};
415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Cascade",_kwnames
,&_argo0
))
418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
425 wxPy_BEGIN_ALLOW_THREADS
;
426 wxMDIParentFrame_Cascade(_arg0
);
428 wxPy_END_ALLOW_THREADS
;
429 if (PyErr_Occurred()) return NULL
;
430 } Py_INCREF(Py_None
);
431 _resultobj
= Py_None
;
435 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
436 static PyObject
*_wrap_wxMDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
437 PyObject
* _resultobj
;
438 wxMDIChildFrame
* _result
;
439 wxMDIParentFrame
* _arg0
;
440 PyObject
* _argo0
= 0;
441 char *_kwnames
[] = { "self", NULL
};
444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetActiveChild",_kwnames
,&_argo0
))
447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
454 wxPy_BEGIN_ALLOW_THREADS
;
455 _result
= (wxMDIChildFrame
*)wxMDIParentFrame_GetActiveChild(_arg0
);
457 wxPy_END_ALLOW_THREADS
;
458 if (PyErr_Occurred()) return NULL
;
459 }{ _resultobj
= wxPyMake_wxObject(_result
); }
463 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
464 static PyObject
*_wrap_wxMDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
466 wxMDIClientWindow
* _result
;
467 wxMDIParentFrame
* _arg0
;
468 PyObject
* _argo0
= 0;
469 char *_kwnames
[] = { "self", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetClientWindow",_kwnames
,&_argo0
))
475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
482 wxPy_BEGIN_ALLOW_THREADS
;
483 _result
= (wxMDIClientWindow
*)wxMDIParentFrame_GetClientWindow(_arg0
);
485 wxPy_END_ALLOW_THREADS
;
486 if (PyErr_Occurred()) return NULL
;
487 }{ _resultobj
= wxPyMake_wxObject(_result
); }
491 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
492 static PyObject
*_wrap_wxMDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
495 wxMDIParentFrame
* _arg0
;
496 PyObject
* _argo0
= 0;
497 char *_kwnames
[] = { "self", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetToolBar",_kwnames
,&_argo0
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
510 wxPy_BEGIN_ALLOW_THREADS
;
511 _result
= (wxWindow
*)wxMDIParentFrame_GetToolBar(_arg0
);
513 wxPy_END_ALLOW_THREADS
;
514 if (PyErr_Occurred()) return NULL
;
515 }{ _resultobj
= wxPyMake_wxObject(_result
); }
519 #define wxMDIParentFrame_GetWindowMenu(_swigobj) (_swigobj->GetWindowMenu())
520 static PyObject
*_wrap_wxMDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 wxMDIParentFrame
* _arg0
;
524 PyObject
* _argo0
= 0;
525 char *_kwnames
[] = { "self", NULL
};
528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetWindowMenu",_kwnames
,&_argo0
))
531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetWindowMenu. Expected _wxMDIParentFrame_p.");
538 wxPy_BEGIN_ALLOW_THREADS
;
539 _result
= (wxMenu
*)wxMDIParentFrame_GetWindowMenu(_arg0
);
541 wxPy_END_ALLOW_THREADS
;
542 if (PyErr_Occurred()) return NULL
;
543 }{ _resultobj
= wxPyMake_wxObject(_result
); }
547 #define wxMDIParentFrame_SetWindowMenu(_swigobj,_swigarg0) (_swigobj->SetWindowMenu(_swigarg0))
548 static PyObject
*_wrap_wxMDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
550 wxMDIParentFrame
* _arg0
;
552 PyObject
* _argo0
= 0;
553 PyObject
* _argo1
= 0;
554 char *_kwnames
[] = { "self","menu", NULL
};
557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMDIParentFrame_SetWindowMenu",_kwnames
,&_argo0
,&_argo1
))
560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetWindowMenu. Expected _wxMDIParentFrame_p.");
567 if (_argo1
== Py_None
) { _arg1
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetWindowMenu. Expected _wxMenu_p.");
574 wxPy_BEGIN_ALLOW_THREADS
;
575 wxMDIParentFrame_SetWindowMenu(_arg0
,_arg1
);
577 wxPy_END_ALLOW_THREADS
;
578 if (PyErr_Occurred()) return NULL
;
579 } Py_INCREF(Py_None
);
580 _resultobj
= Py_None
;
584 #define wxMDIParentFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
585 static PyObject
*_wrap_wxMDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
587 wxMDIParentFrame
* _arg0
;
589 PyObject
* _argo0
= 0;
590 PyObject
* _argo1
= 0;
591 char *_kwnames
[] = { "self","toolbar", NULL
};
594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMDIParentFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetToolBar. Expected _wxMDIParentFrame_p.");
604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetToolBar. Expected _wxToolBar_p.");
611 wxPy_BEGIN_ALLOW_THREADS
;
612 wxMDIParentFrame_SetToolBar(_arg0
,_arg1
);
614 wxPy_END_ALLOW_THREADS
;
615 if (PyErr_Occurred()) return NULL
;
616 } Py_INCREF(Py_None
);
617 _resultobj
= Py_None
;
621 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
622 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
623 PyObject
* _resultobj
;
624 wxMDIParentFrame
* _arg0
;
625 PyObject
* _argo0
= 0;
626 char *_kwnames
[] = { "self", NULL
};
629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Tile",_kwnames
,&_argo0
))
632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
639 wxPy_BEGIN_ALLOW_THREADS
;
640 wxMDIParentFrame_Tile(_arg0
);
642 wxPy_END_ALLOW_THREADS
;
643 if (PyErr_Occurred()) return NULL
;
644 } Py_INCREF(Py_None
);
645 _resultobj
= Py_None
;
649 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
650 wxMDIChildFrame
*src
;
652 src
= (wxMDIChildFrame
*) ptr
;
653 dest
= (wxFrame
*) src
;
654 return (void *) dest
;
657 static void *SwigwxMDIChildFrameTowxTopLevelWindow(void *ptr
) {
658 wxMDIChildFrame
*src
;
659 wxTopLevelWindow
*dest
;
660 src
= (wxMDIChildFrame
*) ptr
;
661 dest
= (wxTopLevelWindow
*) src
;
662 return (void *) dest
;
665 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
666 wxMDIChildFrame
*src
;
668 src
= (wxMDIChildFrame
*) ptr
;
669 dest
= (wxWindow
*) src
;
670 return (void *) dest
;
673 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
674 wxMDIChildFrame
*src
;
676 src
= (wxMDIChildFrame
*) ptr
;
677 dest
= (wxEvtHandler
*) src
;
678 return (void *) dest
;
681 static void *SwigwxMDIChildFrameTowxObject(void *ptr
) {
682 wxMDIChildFrame
*src
;
684 src
= (wxMDIChildFrame
*) ptr
;
685 dest
= (wxObject
*) src
;
686 return (void *) dest
;
689 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
690 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
691 PyObject
* _resultobj
;
692 wxMDIChildFrame
* _result
;
693 wxMDIParentFrame
* _arg0
;
696 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
697 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
698 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
699 char * _arg6
= (char *) "frame";
700 PyObject
* _argo0
= 0;
701 PyObject
* _obj2
= 0;
703 PyObject
* _obj3
= 0;
705 PyObject
* _obj4
= 0;
706 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIChildFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
720 #if PYTHON_API_VERSION >= 1009
721 char* tmpPtr
; int tmpSize
;
722 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
723 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
726 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
728 _arg2
= new wxString(tmpPtr
, tmpSize
);
730 if (!PyString_Check(_obj2
)) {
731 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
734 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
740 if (! wxPoint_helper(_obj3
, &_arg3
))
746 if (! wxSize_helper(_obj4
, &_arg4
))
750 wxPy_BEGIN_ALLOW_THREADS
;
751 _result
= (wxMDIChildFrame
*)new_wxMDIChildFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
753 wxPy_END_ALLOW_THREADS
;
754 if (PyErr_Occurred()) return NULL
;
756 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
757 _resultobj
= Py_BuildValue("s",_ptemp
);
760 _resultobj
= Py_None
;
769 #define new_wxPreMDIChildFrame() (new wxMDIChildFrame())
770 static PyObject
*_wrap_new_wxPreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
771 PyObject
* _resultobj
;
772 wxMDIChildFrame
* _result
;
773 char *_kwnames
[] = { NULL
};
777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIChildFrame",_kwnames
))
780 wxPy_BEGIN_ALLOW_THREADS
;
781 _result
= (wxMDIChildFrame
*)new_wxPreMDIChildFrame();
783 wxPy_END_ALLOW_THREADS
;
784 if (PyErr_Occurred()) return NULL
;
786 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
787 _resultobj
= Py_BuildValue("s",_ptemp
);
790 _resultobj
= Py_None
;
795 #define wxMDIChildFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
796 static PyObject
*_wrap_wxMDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
797 PyObject
* _resultobj
;
799 wxMDIChildFrame
* _arg0
;
800 wxMDIParentFrame
* _arg1
;
803 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
804 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
805 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
806 char * _arg7
= (char *) "frame";
807 PyObject
* _argo0
= 0;
808 PyObject
* _argo1
= 0;
809 PyObject
* _obj3
= 0;
811 PyObject
* _obj4
= 0;
813 PyObject
* _obj5
= 0;
814 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMDIChildFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Create. Expected _wxMDIChildFrame_p.");
827 if (_argo1
== Py_None
) { _arg1
= NULL
; }
828 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIChildFrame_Create. Expected _wxMDIParentFrame_p.");
834 #if PYTHON_API_VERSION >= 1009
835 char* tmpPtr
; int tmpSize
;
836 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
837 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
840 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
842 _arg3
= new wxString(tmpPtr
, tmpSize
);
844 if (!PyString_Check(_obj3
)) {
845 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
848 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
854 if (! wxPoint_helper(_obj4
, &_arg4
))
860 if (! wxSize_helper(_obj5
, &_arg5
))
864 wxPy_BEGIN_ALLOW_THREADS
;
865 _result
= (bool )wxMDIChildFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
867 wxPy_END_ALLOW_THREADS
;
868 if (PyErr_Occurred()) return NULL
;
869 } _resultobj
= Py_BuildValue("i",_result
);
877 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
878 static PyObject
*_wrap_wxMDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
879 PyObject
* _resultobj
;
880 wxMDIChildFrame
* _arg0
;
881 PyObject
* _argo0
= 0;
882 char *_kwnames
[] = { "self", NULL
};
885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Activate",_kwnames
,&_argo0
))
888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
895 wxPy_BEGIN_ALLOW_THREADS
;
896 wxMDIChildFrame_Activate(_arg0
);
898 wxPy_END_ALLOW_THREADS
;
899 if (PyErr_Occurred()) return NULL
;
900 } Py_INCREF(Py_None
);
901 _resultobj
= Py_None
;
905 #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
906 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 PyObject
* _resultobj
;
908 wxMDIChildFrame
* _arg0
;
910 PyObject
* _argo0
= 0;
912 char *_kwnames
[] = { "self","maximize", NULL
};
915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMDIChildFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
924 _arg1
= (bool ) tempbool1
;
926 wxPy_BEGIN_ALLOW_THREADS
;
927 wxMDIChildFrame_Maximize(_arg0
,_arg1
);
929 wxPy_END_ALLOW_THREADS
;
930 if (PyErr_Occurred()) return NULL
;
931 } Py_INCREF(Py_None
);
932 _resultobj
= Py_None
;
936 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
937 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
938 PyObject
* _resultobj
;
939 wxMDIChildFrame
* _arg0
;
940 PyObject
* _argo0
= 0;
941 char *_kwnames
[] = { "self", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Restore",_kwnames
,&_argo0
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
954 wxPy_BEGIN_ALLOW_THREADS
;
955 wxMDIChildFrame_Restore(_arg0
);
957 wxPy_END_ALLOW_THREADS
;
958 if (PyErr_Occurred()) return NULL
;
959 } Py_INCREF(Py_None
);
960 _resultobj
= Py_None
;
964 static void *SwigwxMDIClientWindowTowxWindow(void *ptr
) {
965 wxMDIClientWindow
*src
;
967 src
= (wxMDIClientWindow
*) ptr
;
968 dest
= (wxWindow
*) src
;
969 return (void *) dest
;
972 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr
) {
973 wxMDIClientWindow
*src
;
975 src
= (wxMDIClientWindow
*) ptr
;
976 dest
= (wxEvtHandler
*) src
;
977 return (void *) dest
;
980 static void *SwigwxMDIClientWindowTowxObject(void *ptr
) {
981 wxMDIClientWindow
*src
;
983 src
= (wxMDIClientWindow
*) ptr
;
984 dest
= (wxObject
*) src
;
985 return (void *) dest
;
988 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
989 static PyObject
*_wrap_new_wxMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
990 PyObject
* _resultobj
;
991 wxMDIClientWindow
* _result
;
992 wxMDIParentFrame
* _arg0
;
993 long _arg1
= (long ) 0;
994 PyObject
* _argo0
= 0;
995 char *_kwnames
[] = { "parent","style", NULL
};
999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:new_wxMDIClientWindow",_kwnames
,&_argo0
,&_arg1
))
1002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
1004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
1009 wxPy_BEGIN_ALLOW_THREADS
;
1010 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
1012 wxPy_END_ALLOW_THREADS
;
1013 if (PyErr_Occurred()) return NULL
;
1015 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
1016 _resultobj
= Py_BuildValue("s",_ptemp
);
1019 _resultobj
= Py_None
;
1024 #define new_wxPreMDIClientWindow() (new wxMDIClientWindow())
1025 static PyObject
*_wrap_new_wxPreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1026 PyObject
* _resultobj
;
1027 wxMDIClientWindow
* _result
;
1028 char *_kwnames
[] = { NULL
};
1032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIClientWindow",_kwnames
))
1035 wxPy_BEGIN_ALLOW_THREADS
;
1036 _result
= (wxMDIClientWindow
*)new_wxPreMDIClientWindow();
1038 wxPy_END_ALLOW_THREADS
;
1039 if (PyErr_Occurred()) return NULL
;
1041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
1042 _resultobj
= Py_BuildValue("s",_ptemp
);
1045 _resultobj
= Py_None
;
1050 #define wxMDIClientWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
1051 static PyObject
*_wrap_wxMDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1054 wxMDIClientWindow
* _arg0
;
1055 wxMDIParentFrame
* _arg1
;
1056 long _arg2
= (long ) 0;
1057 PyObject
* _argo0
= 0;
1058 PyObject
* _argo1
= 0;
1059 char *_kwnames
[] = { "self","parent","style", NULL
};
1062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxMDIClientWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIClientWindow_p")) {
1067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIClientWindow_Create. Expected _wxMDIClientWindow_p.");
1072 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1073 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIClientWindow_Create. Expected _wxMDIParentFrame_p.");
1079 wxPy_BEGIN_ALLOW_THREADS
;
1080 _result
= (bool )wxMDIClientWindow_Create(_arg0
,_arg1
,_arg2
);
1082 wxPy_END_ALLOW_THREADS
;
1083 if (PyErr_Occurred()) return NULL
;
1084 } _resultobj
= Py_BuildValue("i",_result
);
1088 static PyMethodDef mdicMethods
[] = {
1089 { "wxMDIClientWindow_Create", (PyCFunction
) _wrap_wxMDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
1090 { "new_wxPreMDIClientWindow", (PyCFunction
) _wrap_new_wxPreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
1091 { "new_wxMDIClientWindow", (PyCFunction
) _wrap_new_wxMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
1092 { "wxMDIChildFrame_Restore", (PyCFunction
) _wrap_wxMDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
1093 { "wxMDIChildFrame_Maximize", (PyCFunction
) _wrap_wxMDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
1094 { "wxMDIChildFrame_Activate", (PyCFunction
) _wrap_wxMDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
1095 { "wxMDIChildFrame_Create", (PyCFunction
) _wrap_wxMDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
1096 { "new_wxPreMDIChildFrame", (PyCFunction
) _wrap_new_wxPreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
1097 { "new_wxMDIChildFrame", (PyCFunction
) _wrap_new_wxMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
1098 { "wxMDIParentFrame_Tile", (PyCFunction
) _wrap_wxMDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
1099 { "wxMDIParentFrame_SetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1100 { "wxMDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_wxMDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
1101 { "wxMDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_wxMDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
1102 { "wxMDIParentFrame_GetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1103 { "wxMDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_wxMDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
1104 { "wxMDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_wxMDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
1105 { "wxMDIParentFrame_Cascade", (PyCFunction
) _wrap_wxMDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
1106 { "wxMDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_wxMDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
1107 { "wxMDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_wxMDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
1108 { "wxMDIParentFrame_ActivateNext", (PyCFunction
) _wrap_wxMDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
1109 { "wxMDIParentFrame_Create", (PyCFunction
) _wrap_wxMDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
1110 { "new_wxPreMDIParentFrame", (PyCFunction
) _wrap_new_wxPreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
1111 { "new_wxMDIParentFrame", (PyCFunction
) _wrap_new_wxMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
1118 * This table is used by the pointer type-checker
1120 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1121 { "_signed_long","_long",0},
1122 { "_wxPrintQuality","_wxCoord",0},
1123 { "_wxPrintQuality","_int",0},
1124 { "_wxPrintQuality","_signed_int",0},
1125 { "_wxPrintQuality","_unsigned_int",0},
1126 { "_wxPrintQuality","_wxWindowID",0},
1127 { "_wxPrintQuality","_uint",0},
1128 { "_wxPrintQuality","_EBool",0},
1129 { "_wxPrintQuality","_size_t",0},
1130 { "_wxPrintQuality","_time_t",0},
1131 { "_byte","_unsigned_char",0},
1132 { "_long","_unsigned_long",0},
1133 { "_long","_signed_long",0},
1134 { "_size_t","_wxCoord",0},
1135 { "_size_t","_wxPrintQuality",0},
1136 { "_size_t","_time_t",0},
1137 { "_size_t","_unsigned_int",0},
1138 { "_size_t","_int",0},
1139 { "_size_t","_wxWindowID",0},
1140 { "_size_t","_uint",0},
1141 { "_wxTopLevelWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxTopLevelWindow
},
1142 { "_wxTopLevelWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxTopLevelWindow
},
1143 { "_uint","_wxCoord",0},
1144 { "_uint","_wxPrintQuality",0},
1145 { "_uint","_time_t",0},
1146 { "_uint","_size_t",0},
1147 { "_uint","_unsigned_int",0},
1148 { "_uint","_int",0},
1149 { "_uint","_wxWindowID",0},
1150 { "_wxChar","_char",0},
1151 { "_char","_wxChar",0},
1152 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1153 { "_EBool","_wxCoord",0},
1154 { "_EBool","_wxPrintQuality",0},
1155 { "_EBool","_signed_int",0},
1156 { "_EBool","_int",0},
1157 { "_EBool","_wxWindowID",0},
1158 { "_unsigned_long","_long",0},
1159 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1160 { "_signed_int","_wxCoord",0},
1161 { "_signed_int","_wxPrintQuality",0},
1162 { "_signed_int","_EBool",0},
1163 { "_signed_int","_wxWindowID",0},
1164 { "_signed_int","_int",0},
1165 { "_WXTYPE","_short",0},
1166 { "_WXTYPE","_signed_short",0},
1167 { "_WXTYPE","_unsigned_short",0},
1168 { "_unsigned_short","_WXTYPE",0},
1169 { "_unsigned_short","_short",0},
1170 { "_wxObject","_wxMDIClientWindow",SwigwxMDIClientWindowTowxObject
},
1171 { "_wxObject","_wxMDIChildFrame",SwigwxMDIChildFrameTowxObject
},
1172 { "_wxObject","_wxMDIParentFrame",SwigwxMDIParentFrameTowxObject
},
1173 { "_signed_short","_WXTYPE",0},
1174 { "_signed_short","_short",0},
1175 { "_unsigned_char","_byte",0},
1176 { "_unsigned_int","_wxCoord",0},
1177 { "_unsigned_int","_wxPrintQuality",0},
1178 { "_unsigned_int","_time_t",0},
1179 { "_unsigned_int","_size_t",0},
1180 { "_unsigned_int","_uint",0},
1181 { "_unsigned_int","_wxWindowID",0},
1182 { "_unsigned_int","_int",0},
1183 { "_short","_WXTYPE",0},
1184 { "_short","_unsigned_short",0},
1185 { "_short","_signed_short",0},
1186 { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1187 { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1188 { "_wxWindowID","_wxCoord",0},
1189 { "_wxWindowID","_wxPrintQuality",0},
1190 { "_wxWindowID","_time_t",0},
1191 { "_wxWindowID","_size_t",0},
1192 { "_wxWindowID","_EBool",0},
1193 { "_wxWindowID","_uint",0},
1194 { "_wxWindowID","_int",0},
1195 { "_wxWindowID","_signed_int",0},
1196 { "_wxWindowID","_unsigned_int",0},
1197 { "_int","_wxCoord",0},
1198 { "_int","_wxPrintQuality",0},
1199 { "_int","_time_t",0},
1200 { "_int","_size_t",0},
1201 { "_int","_EBool",0},
1202 { "_int","_uint",0},
1203 { "_int","_wxWindowID",0},
1204 { "_int","_unsigned_int",0},
1205 { "_int","_signed_int",0},
1206 { "_time_t","_wxCoord",0},
1207 { "_time_t","_wxPrintQuality",0},
1208 { "_time_t","_unsigned_int",0},
1209 { "_time_t","_int",0},
1210 { "_time_t","_wxWindowID",0},
1211 { "_time_t","_uint",0},
1212 { "_time_t","_size_t",0},
1213 { "_wxCoord","_int",0},
1214 { "_wxCoord","_signed_int",0},
1215 { "_wxCoord","_unsigned_int",0},
1216 { "_wxCoord","_wxWindowID",0},
1217 { "_wxCoord","_uint",0},
1218 { "_wxCoord","_EBool",0},
1219 { "_wxCoord","_size_t",0},
1220 { "_wxCoord","_time_t",0},
1221 { "_wxCoord","_wxPrintQuality",0},
1222 { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
1223 { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
1224 { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
1225 { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1226 { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1227 { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1230 static PyObject
*SWIG_globals
;
1234 SWIGEXPORT(void) initmdic() {
1236 SWIG_globals
= SWIG_newvarlink();
1237 m
= Py_InitModule("mdic", mdicMethods
);
1238 d
= PyModule_GetDict(m
);
1241 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1242 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);