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 *SwigwxMDIParentFrameTowxWindow(void *ptr
) {
104 wxMDIParentFrame
*src
;
106 src
= (wxMDIParentFrame
*) ptr
;
107 dest
= (wxWindow
*) src
;
108 return (void *) dest
;
111 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr
) {
112 wxMDIParentFrame
*src
;
114 src
= (wxMDIParentFrame
*) ptr
;
115 dest
= (wxEvtHandler
*) src
;
116 return (void *) dest
;
119 static void *SwigwxMDIParentFrameTowxObject(void *ptr
) {
120 wxMDIParentFrame
*src
;
122 src
= (wxMDIParentFrame
*) ptr
;
123 dest
= (wxObject
*) src
;
124 return (void *) dest
;
127 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
128 static PyObject
*_wrap_new_wxMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
129 PyObject
* _resultobj
;
130 wxMDIParentFrame
* _result
;
134 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
135 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
136 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
137 char * _arg6
= (char *) "frame";
138 PyObject
* _argo0
= 0;
139 PyObject
* _obj2
= 0;
141 PyObject
* _obj3
= 0;
143 PyObject
* _obj4
= 0;
144 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIParentFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
158 #if PYTHON_API_VERSION >= 1009
159 char* tmpPtr
; int tmpSize
;
160 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
161 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
164 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
166 _arg2
= new wxString(tmpPtr
, tmpSize
);
168 if (!PyString_Check(_obj2
)) {
169 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
172 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
178 if (! wxPoint_helper(_obj3
, &_arg3
))
184 if (! wxSize_helper(_obj4
, &_arg4
))
188 wxPy_BEGIN_ALLOW_THREADS
;
189 _result
= (wxMDIParentFrame
*)new_wxMDIParentFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
191 wxPy_END_ALLOW_THREADS
;
192 if (PyErr_Occurred()) return NULL
;
194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
195 _resultobj
= Py_BuildValue("s",_ptemp
);
198 _resultobj
= Py_None
;
207 #define new_wxPreMDIParentFrame() (new wxMDIParentFrame())
208 static PyObject
*_wrap_new_wxPreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
209 PyObject
* _resultobj
;
210 wxMDIParentFrame
* _result
;
211 char *_kwnames
[] = { NULL
};
215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIParentFrame",_kwnames
))
218 wxPy_BEGIN_ALLOW_THREADS
;
219 _result
= (wxMDIParentFrame
*)new_wxPreMDIParentFrame();
221 wxPy_END_ALLOW_THREADS
;
222 if (PyErr_Occurred()) return NULL
;
224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
225 _resultobj
= Py_BuildValue("s",_ptemp
);
228 _resultobj
= Py_None
;
233 #define wxMDIParentFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
234 static PyObject
*_wrap_wxMDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
235 PyObject
* _resultobj
;
237 wxMDIParentFrame
* _arg0
;
241 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
242 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
243 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
244 char * _arg7
= (char *) "frame";
245 PyObject
* _argo0
= 0;
246 PyObject
* _argo1
= 0;
247 PyObject
* _obj3
= 0;
249 PyObject
* _obj4
= 0;
251 PyObject
* _obj5
= 0;
252 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMDIParentFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Create. Expected _wxMDIParentFrame_p.");
265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_Create. Expected _wxWindow_p.");
272 #if PYTHON_API_VERSION >= 1009
273 char* tmpPtr
; int tmpSize
;
274 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
278 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
280 _arg3
= new wxString(tmpPtr
, tmpSize
);
282 if (!PyString_Check(_obj3
)) {
283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
286 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
292 if (! wxPoint_helper(_obj4
, &_arg4
))
298 if (! wxSize_helper(_obj5
, &_arg5
))
302 wxPy_BEGIN_ALLOW_THREADS
;
303 _result
= (bool )wxMDIParentFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
305 wxPy_END_ALLOW_THREADS
;
306 if (PyErr_Occurred()) return NULL
;
307 } _resultobj
= Py_BuildValue("i",_result
);
315 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
316 static PyObject
*_wrap_wxMDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
317 PyObject
* _resultobj
;
318 wxMDIParentFrame
* _arg0
;
319 PyObject
* _argo0
= 0;
320 char *_kwnames
[] = { "self", NULL
};
323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ActivateNext",_kwnames
,&_argo0
))
326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
333 wxPy_BEGIN_ALLOW_THREADS
;
334 wxMDIParentFrame_ActivateNext(_arg0
);
336 wxPy_END_ALLOW_THREADS
;
337 if (PyErr_Occurred()) return NULL
;
338 } Py_INCREF(Py_None
);
339 _resultobj
= Py_None
;
343 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
344 static PyObject
*_wrap_wxMDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
345 PyObject
* _resultobj
;
346 wxMDIParentFrame
* _arg0
;
347 PyObject
* _argo0
= 0;
348 char *_kwnames
[] = { "self", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ActivatePrevious",_kwnames
,&_argo0
))
354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p.");
361 wxPy_BEGIN_ALLOW_THREADS
;
362 wxMDIParentFrame_ActivatePrevious(_arg0
);
364 wxPy_END_ALLOW_THREADS
;
365 if (PyErr_Occurred()) return NULL
;
366 } Py_INCREF(Py_None
);
367 _resultobj
= Py_None
;
371 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
372 static PyObject
*_wrap_wxMDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
373 PyObject
* _resultobj
;
374 wxMDIParentFrame
* _arg0
;
375 PyObject
* _argo0
= 0;
376 char *_kwnames
[] = { "self", NULL
};
379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ArrangeIcons",_kwnames
,&_argo0
))
382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p.");
389 wxPy_BEGIN_ALLOW_THREADS
;
390 wxMDIParentFrame_ArrangeIcons(_arg0
);
392 wxPy_END_ALLOW_THREADS
;
393 if (PyErr_Occurred()) return NULL
;
394 } Py_INCREF(Py_None
);
395 _resultobj
= Py_None
;
399 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
400 static PyObject
*_wrap_wxMDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
401 PyObject
* _resultobj
;
402 wxMDIParentFrame
* _arg0
;
403 PyObject
* _argo0
= 0;
404 char *_kwnames
[] = { "self", NULL
};
407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Cascade",_kwnames
,&_argo0
))
410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
417 wxPy_BEGIN_ALLOW_THREADS
;
418 wxMDIParentFrame_Cascade(_arg0
);
420 wxPy_END_ALLOW_THREADS
;
421 if (PyErr_Occurred()) return NULL
;
422 } Py_INCREF(Py_None
);
423 _resultobj
= Py_None
;
427 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
428 static PyObject
*_wrap_wxMDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
430 wxMDIChildFrame
* _result
;
431 wxMDIParentFrame
* _arg0
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self", NULL
};
436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetActiveChild",_kwnames
,&_argo0
))
439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
446 wxPy_BEGIN_ALLOW_THREADS
;
447 _result
= (wxMDIChildFrame
*)wxMDIParentFrame_GetActiveChild(_arg0
);
449 wxPy_END_ALLOW_THREADS
;
450 if (PyErr_Occurred()) return NULL
;
451 }{ _resultobj
= wxPyMake_wxObject(_result
); }
455 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
456 static PyObject
*_wrap_wxMDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
457 PyObject
* _resultobj
;
458 wxMDIClientWindow
* _result
;
459 wxMDIParentFrame
* _arg0
;
460 PyObject
* _argo0
= 0;
461 char *_kwnames
[] = { "self", NULL
};
464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetClientWindow",_kwnames
,&_argo0
))
467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
474 wxPy_BEGIN_ALLOW_THREADS
;
475 _result
= (wxMDIClientWindow
*)wxMDIParentFrame_GetClientWindow(_arg0
);
477 wxPy_END_ALLOW_THREADS
;
478 if (PyErr_Occurred()) return NULL
;
479 }{ _resultobj
= wxPyMake_wxObject(_result
); }
483 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
484 static PyObject
*_wrap_wxMDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
485 PyObject
* _resultobj
;
487 wxMDIParentFrame
* _arg0
;
488 PyObject
* _argo0
= 0;
489 char *_kwnames
[] = { "self", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetToolBar",_kwnames
,&_argo0
))
495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
502 wxPy_BEGIN_ALLOW_THREADS
;
503 _result
= (wxWindow
*)wxMDIParentFrame_GetToolBar(_arg0
);
505 wxPy_END_ALLOW_THREADS
;
506 if (PyErr_Occurred()) return NULL
;
507 }{ _resultobj
= wxPyMake_wxObject(_result
); }
511 #define wxMDIParentFrame_GetWindowMenu(_swigobj) (_swigobj->GetWindowMenu())
512 static PyObject
*_wrap_wxMDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
513 PyObject
* _resultobj
;
515 wxMDIParentFrame
* _arg0
;
516 PyObject
* _argo0
= 0;
517 char *_kwnames
[] = { "self", NULL
};
520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetWindowMenu",_kwnames
,&_argo0
))
523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetWindowMenu. Expected _wxMDIParentFrame_p.");
530 wxPy_BEGIN_ALLOW_THREADS
;
531 _result
= (wxMenu
*)wxMDIParentFrame_GetWindowMenu(_arg0
);
533 wxPy_END_ALLOW_THREADS
;
534 if (PyErr_Occurred()) return NULL
;
535 }{ _resultobj
= wxPyMake_wxObject(_result
); }
539 #define wxMDIParentFrame_SetWindowMenu(_swigobj,_swigarg0) (_swigobj->SetWindowMenu(_swigarg0))
540 static PyObject
*_wrap_wxMDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
541 PyObject
* _resultobj
;
542 wxMDIParentFrame
* _arg0
;
544 PyObject
* _argo0
= 0;
545 PyObject
* _argo1
= 0;
546 char *_kwnames
[] = { "self","menu", NULL
};
549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMDIParentFrame_SetWindowMenu",_kwnames
,&_argo0
,&_argo1
))
552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetWindowMenu. Expected _wxMDIParentFrame_p.");
559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetWindowMenu. Expected _wxMenu_p.");
566 wxPy_BEGIN_ALLOW_THREADS
;
567 wxMDIParentFrame_SetWindowMenu(_arg0
,_arg1
);
569 wxPy_END_ALLOW_THREADS
;
570 if (PyErr_Occurred()) return NULL
;
571 } Py_INCREF(Py_None
);
572 _resultobj
= Py_None
;
576 #define wxMDIParentFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
577 static PyObject
*_wrap_wxMDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
578 PyObject
* _resultobj
;
579 wxMDIParentFrame
* _arg0
;
581 PyObject
* _argo0
= 0;
582 PyObject
* _argo1
= 0;
583 char *_kwnames
[] = { "self","toolbar", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMDIParentFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetToolBar. Expected _wxMDIParentFrame_p.");
596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetToolBar. Expected _wxToolBar_p.");
603 wxPy_BEGIN_ALLOW_THREADS
;
604 wxMDIParentFrame_SetToolBar(_arg0
,_arg1
);
606 wxPy_END_ALLOW_THREADS
;
607 if (PyErr_Occurred()) return NULL
;
608 } Py_INCREF(Py_None
);
609 _resultobj
= Py_None
;
613 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
614 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
615 PyObject
* _resultobj
;
616 wxMDIParentFrame
* _arg0
;
617 PyObject
* _argo0
= 0;
618 char *_kwnames
[] = { "self", NULL
};
621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Tile",_kwnames
,&_argo0
))
624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
631 wxPy_BEGIN_ALLOW_THREADS
;
632 wxMDIParentFrame_Tile(_arg0
);
634 wxPy_END_ALLOW_THREADS
;
635 if (PyErr_Occurred()) return NULL
;
636 } Py_INCREF(Py_None
);
637 _resultobj
= Py_None
;
641 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
642 wxMDIChildFrame
*src
;
644 src
= (wxMDIChildFrame
*) ptr
;
645 dest
= (wxFrame
*) src
;
646 return (void *) dest
;
649 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
650 wxMDIChildFrame
*src
;
652 src
= (wxMDIChildFrame
*) ptr
;
653 dest
= (wxWindow
*) src
;
654 return (void *) dest
;
657 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
658 wxMDIChildFrame
*src
;
660 src
= (wxMDIChildFrame
*) ptr
;
661 dest
= (wxEvtHandler
*) src
;
662 return (void *) dest
;
665 static void *SwigwxMDIChildFrameTowxObject(void *ptr
) {
666 wxMDIChildFrame
*src
;
668 src
= (wxMDIChildFrame
*) ptr
;
669 dest
= (wxObject
*) src
;
670 return (void *) dest
;
673 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
674 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
675 PyObject
* _resultobj
;
676 wxMDIChildFrame
* _result
;
677 wxMDIParentFrame
* _arg0
;
680 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
681 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
682 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
683 char * _arg6
= (char *) "frame";
684 PyObject
* _argo0
= 0;
685 PyObject
* _obj2
= 0;
687 PyObject
* _obj3
= 0;
689 PyObject
* _obj4
= 0;
690 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIChildFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
704 #if PYTHON_API_VERSION >= 1009
705 char* tmpPtr
; int tmpSize
;
706 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
710 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
712 _arg2
= new wxString(tmpPtr
, tmpSize
);
714 if (!PyString_Check(_obj2
)) {
715 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
718 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
724 if (! wxPoint_helper(_obj3
, &_arg3
))
730 if (! wxSize_helper(_obj4
, &_arg4
))
734 wxPy_BEGIN_ALLOW_THREADS
;
735 _result
= (wxMDIChildFrame
*)new_wxMDIChildFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
737 wxPy_END_ALLOW_THREADS
;
738 if (PyErr_Occurred()) return NULL
;
740 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
741 _resultobj
= Py_BuildValue("s",_ptemp
);
744 _resultobj
= Py_None
;
753 #define new_wxPreMDIChildFrame() (new wxMDIChildFrame())
754 static PyObject
*_wrap_new_wxPreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
755 PyObject
* _resultobj
;
756 wxMDIChildFrame
* _result
;
757 char *_kwnames
[] = { NULL
};
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIChildFrame",_kwnames
))
764 wxPy_BEGIN_ALLOW_THREADS
;
765 _result
= (wxMDIChildFrame
*)new_wxPreMDIChildFrame();
767 wxPy_END_ALLOW_THREADS
;
768 if (PyErr_Occurred()) return NULL
;
770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
771 _resultobj
= Py_BuildValue("s",_ptemp
);
774 _resultobj
= Py_None
;
779 #define wxMDIChildFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
780 static PyObject
*_wrap_wxMDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
781 PyObject
* _resultobj
;
783 wxMDIChildFrame
* _arg0
;
784 wxMDIParentFrame
* _arg1
;
787 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
788 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
789 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
790 char * _arg7
= (char *) "frame";
791 PyObject
* _argo0
= 0;
792 PyObject
* _argo1
= 0;
793 PyObject
* _obj3
= 0;
795 PyObject
* _obj4
= 0;
797 PyObject
* _obj5
= 0;
798 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMDIChildFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Create. Expected _wxMDIChildFrame_p.");
811 if (_argo1
== Py_None
) { _arg1
= NULL
; }
812 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIChildFrame_Create. Expected _wxMDIParentFrame_p.");
818 #if PYTHON_API_VERSION >= 1009
819 char* tmpPtr
; int tmpSize
;
820 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
821 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
824 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
826 _arg3
= new wxString(tmpPtr
, tmpSize
);
828 if (!PyString_Check(_obj3
)) {
829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
832 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
838 if (! wxPoint_helper(_obj4
, &_arg4
))
844 if (! wxSize_helper(_obj5
, &_arg5
))
848 wxPy_BEGIN_ALLOW_THREADS
;
849 _result
= (bool )wxMDIChildFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
851 wxPy_END_ALLOW_THREADS
;
852 if (PyErr_Occurred()) return NULL
;
853 } _resultobj
= Py_BuildValue("i",_result
);
861 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
862 static PyObject
*_wrap_wxMDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
863 PyObject
* _resultobj
;
864 wxMDIChildFrame
* _arg0
;
865 PyObject
* _argo0
= 0;
866 char *_kwnames
[] = { "self", NULL
};
869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Activate",_kwnames
,&_argo0
))
872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
879 wxPy_BEGIN_ALLOW_THREADS
;
880 wxMDIChildFrame_Activate(_arg0
);
882 wxPy_END_ALLOW_THREADS
;
883 if (PyErr_Occurred()) return NULL
;
884 } Py_INCREF(Py_None
);
885 _resultobj
= Py_None
;
889 #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
890 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
891 PyObject
* _resultobj
;
892 wxMDIChildFrame
* _arg0
;
894 PyObject
* _argo0
= 0;
896 char *_kwnames
[] = { "self","maximize", NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMDIChildFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
908 _arg1
= (bool ) tempbool1
;
910 wxPy_BEGIN_ALLOW_THREADS
;
911 wxMDIChildFrame_Maximize(_arg0
,_arg1
);
913 wxPy_END_ALLOW_THREADS
;
914 if (PyErr_Occurred()) return NULL
;
915 } Py_INCREF(Py_None
);
916 _resultobj
= Py_None
;
920 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
921 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
922 PyObject
* _resultobj
;
923 wxMDIChildFrame
* _arg0
;
924 PyObject
* _argo0
= 0;
925 char *_kwnames
[] = { "self", NULL
};
928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Restore",_kwnames
,&_argo0
))
931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
938 wxPy_BEGIN_ALLOW_THREADS
;
939 wxMDIChildFrame_Restore(_arg0
);
941 wxPy_END_ALLOW_THREADS
;
942 if (PyErr_Occurred()) return NULL
;
943 } Py_INCREF(Py_None
);
944 _resultobj
= Py_None
;
948 static void *SwigwxMDIClientWindowTowxWindow(void *ptr
) {
949 wxMDIClientWindow
*src
;
951 src
= (wxMDIClientWindow
*) ptr
;
952 dest
= (wxWindow
*) src
;
953 return (void *) dest
;
956 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr
) {
957 wxMDIClientWindow
*src
;
959 src
= (wxMDIClientWindow
*) ptr
;
960 dest
= (wxEvtHandler
*) src
;
961 return (void *) dest
;
964 static void *SwigwxMDIClientWindowTowxObject(void *ptr
) {
965 wxMDIClientWindow
*src
;
967 src
= (wxMDIClientWindow
*) ptr
;
968 dest
= (wxObject
*) src
;
969 return (void *) dest
;
972 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
973 static PyObject
*_wrap_new_wxMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
975 wxMDIClientWindow
* _result
;
976 wxMDIParentFrame
* _arg0
;
977 long _arg1
= (long ) 0;
978 PyObject
* _argo0
= 0;
979 char *_kwnames
[] = { "parent","style", NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:new_wxMDIClientWindow",_kwnames
,&_argo0
,&_arg1
))
986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
993 wxPy_BEGIN_ALLOW_THREADS
;
994 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
996 wxPy_END_ALLOW_THREADS
;
997 if (PyErr_Occurred()) return NULL
;
999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
1000 _resultobj
= Py_BuildValue("s",_ptemp
);
1003 _resultobj
= Py_None
;
1008 #define new_wxPreMDIClientWindow() (new wxMDIClientWindow())
1009 static PyObject
*_wrap_new_wxPreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1010 PyObject
* _resultobj
;
1011 wxMDIClientWindow
* _result
;
1012 char *_kwnames
[] = { NULL
};
1016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIClientWindow",_kwnames
))
1019 wxPy_BEGIN_ALLOW_THREADS
;
1020 _result
= (wxMDIClientWindow
*)new_wxPreMDIClientWindow();
1022 wxPy_END_ALLOW_THREADS
;
1023 if (PyErr_Occurred()) return NULL
;
1025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
1026 _resultobj
= Py_BuildValue("s",_ptemp
);
1029 _resultobj
= Py_None
;
1034 #define wxMDIClientWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
1035 static PyObject
*_wrap_wxMDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1036 PyObject
* _resultobj
;
1038 wxMDIClientWindow
* _arg0
;
1039 wxMDIParentFrame
* _arg1
;
1040 long _arg2
= (long ) 0;
1041 PyObject
* _argo0
= 0;
1042 PyObject
* _argo1
= 0;
1043 char *_kwnames
[] = { "self","parent","style", NULL
};
1046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxMDIClientWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIClientWindow_p")) {
1051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIClientWindow_Create. Expected _wxMDIClientWindow_p.");
1056 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1057 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIClientWindow_Create. Expected _wxMDIParentFrame_p.");
1063 wxPy_BEGIN_ALLOW_THREADS
;
1064 _result
= (bool )wxMDIClientWindow_Create(_arg0
,_arg1
,_arg2
);
1066 wxPy_END_ALLOW_THREADS
;
1067 if (PyErr_Occurred()) return NULL
;
1068 } _resultobj
= Py_BuildValue("i",_result
);
1072 static PyMethodDef mdicMethods
[] = {
1073 { "wxMDIClientWindow_Create", (PyCFunction
) _wrap_wxMDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
1074 { "new_wxPreMDIClientWindow", (PyCFunction
) _wrap_new_wxPreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
1075 { "new_wxMDIClientWindow", (PyCFunction
) _wrap_new_wxMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
1076 { "wxMDIChildFrame_Restore", (PyCFunction
) _wrap_wxMDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
1077 { "wxMDIChildFrame_Maximize", (PyCFunction
) _wrap_wxMDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
1078 { "wxMDIChildFrame_Activate", (PyCFunction
) _wrap_wxMDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
1079 { "wxMDIChildFrame_Create", (PyCFunction
) _wrap_wxMDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
1080 { "new_wxPreMDIChildFrame", (PyCFunction
) _wrap_new_wxPreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
1081 { "new_wxMDIChildFrame", (PyCFunction
) _wrap_new_wxMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
1082 { "wxMDIParentFrame_Tile", (PyCFunction
) _wrap_wxMDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
1083 { "wxMDIParentFrame_SetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1084 { "wxMDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_wxMDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
1085 { "wxMDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_wxMDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
1086 { "wxMDIParentFrame_GetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1087 { "wxMDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_wxMDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
1088 { "wxMDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_wxMDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
1089 { "wxMDIParentFrame_Cascade", (PyCFunction
) _wrap_wxMDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
1090 { "wxMDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_wxMDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
1091 { "wxMDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_wxMDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
1092 { "wxMDIParentFrame_ActivateNext", (PyCFunction
) _wrap_wxMDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
1093 { "wxMDIParentFrame_Create", (PyCFunction
) _wrap_wxMDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
1094 { "new_wxPreMDIParentFrame", (PyCFunction
) _wrap_new_wxPreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
1095 { "new_wxMDIParentFrame", (PyCFunction
) _wrap_new_wxMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
1102 * This table is used by the pointer type-checker
1104 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1105 { "_signed_long","_long",0},
1106 { "_wxPrintQuality","_wxCoord",0},
1107 { "_wxPrintQuality","_int",0},
1108 { "_wxPrintQuality","_signed_int",0},
1109 { "_wxPrintQuality","_unsigned_int",0},
1110 { "_wxPrintQuality","_wxWindowID",0},
1111 { "_wxPrintQuality","_uint",0},
1112 { "_wxPrintQuality","_EBool",0},
1113 { "_wxPrintQuality","_size_t",0},
1114 { "_wxPrintQuality","_time_t",0},
1115 { "_byte","_unsigned_char",0},
1116 { "_long","_unsigned_long",0},
1117 { "_long","_signed_long",0},
1118 { "_size_t","_wxCoord",0},
1119 { "_size_t","_wxPrintQuality",0},
1120 { "_size_t","_time_t",0},
1121 { "_size_t","_unsigned_int",0},
1122 { "_size_t","_int",0},
1123 { "_size_t","_wxWindowID",0},
1124 { "_size_t","_uint",0},
1125 { "_uint","_wxCoord",0},
1126 { "_uint","_wxPrintQuality",0},
1127 { "_uint","_time_t",0},
1128 { "_uint","_size_t",0},
1129 { "_uint","_unsigned_int",0},
1130 { "_uint","_int",0},
1131 { "_uint","_wxWindowID",0},
1132 { "_wxChar","_char",0},
1133 { "_char","_wxChar",0},
1134 { "_EBool","_wxCoord",0},
1135 { "_EBool","_wxPrintQuality",0},
1136 { "_EBool","_signed_int",0},
1137 { "_EBool","_int",0},
1138 { "_EBool","_wxWindowID",0},
1139 { "_unsigned_long","_long",0},
1140 { "_signed_int","_wxCoord",0},
1141 { "_signed_int","_wxPrintQuality",0},
1142 { "_signed_int","_EBool",0},
1143 { "_signed_int","_wxWindowID",0},
1144 { "_signed_int","_int",0},
1145 { "_WXTYPE","_short",0},
1146 { "_WXTYPE","_signed_short",0},
1147 { "_WXTYPE","_unsigned_short",0},
1148 { "_unsigned_short","_WXTYPE",0},
1149 { "_unsigned_short","_short",0},
1150 { "_wxObject","_wxMDIClientWindow",SwigwxMDIClientWindowTowxObject
},
1151 { "_wxObject","_wxMDIChildFrame",SwigwxMDIChildFrameTowxObject
},
1152 { "_wxObject","_wxMDIParentFrame",SwigwxMDIParentFrameTowxObject
},
1153 { "_signed_short","_WXTYPE",0},
1154 { "_signed_short","_short",0},
1155 { "_unsigned_char","_byte",0},
1156 { "_unsigned_int","_wxCoord",0},
1157 { "_unsigned_int","_wxPrintQuality",0},
1158 { "_unsigned_int","_time_t",0},
1159 { "_unsigned_int","_size_t",0},
1160 { "_unsigned_int","_uint",0},
1161 { "_unsigned_int","_wxWindowID",0},
1162 { "_unsigned_int","_int",0},
1163 { "_short","_WXTYPE",0},
1164 { "_short","_unsigned_short",0},
1165 { "_short","_signed_short",0},
1166 { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1167 { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1168 { "_wxWindowID","_wxCoord",0},
1169 { "_wxWindowID","_wxPrintQuality",0},
1170 { "_wxWindowID","_time_t",0},
1171 { "_wxWindowID","_size_t",0},
1172 { "_wxWindowID","_EBool",0},
1173 { "_wxWindowID","_uint",0},
1174 { "_wxWindowID","_int",0},
1175 { "_wxWindowID","_signed_int",0},
1176 { "_wxWindowID","_unsigned_int",0},
1177 { "_int","_wxCoord",0},
1178 { "_int","_wxPrintQuality",0},
1179 { "_int","_time_t",0},
1180 { "_int","_size_t",0},
1181 { "_int","_EBool",0},
1182 { "_int","_uint",0},
1183 { "_int","_wxWindowID",0},
1184 { "_int","_unsigned_int",0},
1185 { "_int","_signed_int",0},
1186 { "_time_t","_wxCoord",0},
1187 { "_time_t","_wxPrintQuality",0},
1188 { "_time_t","_unsigned_int",0},
1189 { "_time_t","_int",0},
1190 { "_time_t","_wxWindowID",0},
1191 { "_time_t","_uint",0},
1192 { "_time_t","_size_t",0},
1193 { "_wxCoord","_int",0},
1194 { "_wxCoord","_signed_int",0},
1195 { "_wxCoord","_unsigned_int",0},
1196 { "_wxCoord","_wxWindowID",0},
1197 { "_wxCoord","_uint",0},
1198 { "_wxCoord","_EBool",0},
1199 { "_wxCoord","_size_t",0},
1200 { "_wxCoord","_time_t",0},
1201 { "_wxCoord","_wxPrintQuality",0},
1202 { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
1203 { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
1204 { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
1205 { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1206 { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1207 { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1210 static PyObject
*SWIG_globals
;
1214 SWIGEXPORT(void) initmdic() {
1216 SWIG_globals
= SWIG_newvarlink();
1217 m
= Py_InitModule("mdic", mdicMethods
);
1218 d
= PyModule_GetDict(m
);
1221 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1222 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);