2 * FILE : src/gtk/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_Tile(_swigobj) (_swigobj->Tile())
520 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
522 wxMDIParentFrame
* _arg0
;
523 PyObject
* _argo0
= 0;
524 char *_kwnames
[] = { "self", NULL
};
527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Tile",_kwnames
,&_argo0
))
530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
537 wxPy_BEGIN_ALLOW_THREADS
;
538 wxMDIParentFrame_Tile(_arg0
);
540 wxPy_END_ALLOW_THREADS
;
541 if (PyErr_Occurred()) return NULL
;
542 } Py_INCREF(Py_None
);
543 _resultobj
= Py_None
;
547 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
548 wxMDIChildFrame
*src
;
550 src
= (wxMDIChildFrame
*) ptr
;
551 dest
= (wxFrame
*) src
;
552 return (void *) dest
;
555 static void *SwigwxMDIChildFrameTowxTopLevelWindow(void *ptr
) {
556 wxMDIChildFrame
*src
;
557 wxTopLevelWindow
*dest
;
558 src
= (wxMDIChildFrame
*) ptr
;
559 dest
= (wxTopLevelWindow
*) src
;
560 return (void *) dest
;
563 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
564 wxMDIChildFrame
*src
;
566 src
= (wxMDIChildFrame
*) ptr
;
567 dest
= (wxWindow
*) src
;
568 return (void *) dest
;
571 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
572 wxMDIChildFrame
*src
;
574 src
= (wxMDIChildFrame
*) ptr
;
575 dest
= (wxEvtHandler
*) src
;
576 return (void *) dest
;
579 static void *SwigwxMDIChildFrameTowxObject(void *ptr
) {
580 wxMDIChildFrame
*src
;
582 src
= (wxMDIChildFrame
*) ptr
;
583 dest
= (wxObject
*) src
;
584 return (void *) dest
;
587 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
588 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
590 wxMDIChildFrame
* _result
;
591 wxMDIParentFrame
* _arg0
;
594 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
595 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
596 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
597 char * _arg6
= (char *) "frame";
598 PyObject
* _argo0
= 0;
599 PyObject
* _obj2
= 0;
601 PyObject
* _obj3
= 0;
603 PyObject
* _obj4
= 0;
604 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIChildFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
618 #if PYTHON_API_VERSION >= 1009
619 char* tmpPtr
; int tmpSize
;
620 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
624 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
626 _arg2
= new wxString(tmpPtr
, tmpSize
);
628 if (!PyString_Check(_obj2
)) {
629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
632 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
638 if (! wxPoint_helper(_obj3
, &_arg3
))
644 if (! wxSize_helper(_obj4
, &_arg4
))
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= (wxMDIChildFrame
*)new_wxMDIChildFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
651 wxPy_END_ALLOW_THREADS
;
652 if (PyErr_Occurred()) return NULL
;
654 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
655 _resultobj
= Py_BuildValue("s",_ptemp
);
658 _resultobj
= Py_None
;
667 #define new_wxPreMDIChildFrame() (new wxMDIChildFrame())
668 static PyObject
*_wrap_new_wxPreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
669 PyObject
* _resultobj
;
670 wxMDIChildFrame
* _result
;
671 char *_kwnames
[] = { NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIChildFrame",_kwnames
))
678 wxPy_BEGIN_ALLOW_THREADS
;
679 _result
= (wxMDIChildFrame
*)new_wxPreMDIChildFrame();
681 wxPy_END_ALLOW_THREADS
;
682 if (PyErr_Occurred()) return NULL
;
684 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
685 _resultobj
= Py_BuildValue("s",_ptemp
);
688 _resultobj
= Py_None
;
693 #define wxMDIChildFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
694 static PyObject
*_wrap_wxMDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
695 PyObject
* _resultobj
;
697 wxMDIChildFrame
* _arg0
;
698 wxMDIParentFrame
* _arg1
;
701 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
702 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
703 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
704 char * _arg7
= (char *) "frame";
705 PyObject
* _argo0
= 0;
706 PyObject
* _argo1
= 0;
707 PyObject
* _obj3
= 0;
709 PyObject
* _obj4
= 0;
711 PyObject
* _obj5
= 0;
712 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMDIChildFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Create. Expected _wxMDIChildFrame_p.");
725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIChildFrame_Create. Expected _wxMDIParentFrame_p.");
732 #if PYTHON_API_VERSION >= 1009
733 char* tmpPtr
; int tmpSize
;
734 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
735 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
738 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
740 _arg3
= new wxString(tmpPtr
, tmpSize
);
742 if (!PyString_Check(_obj3
)) {
743 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
746 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
752 if (! wxPoint_helper(_obj4
, &_arg4
))
758 if (! wxSize_helper(_obj5
, &_arg5
))
762 wxPy_BEGIN_ALLOW_THREADS
;
763 _result
= (bool )wxMDIChildFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
765 wxPy_END_ALLOW_THREADS
;
766 if (PyErr_Occurred()) return NULL
;
767 } _resultobj
= Py_BuildValue("i",_result
);
775 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
776 static PyObject
*_wrap_wxMDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
777 PyObject
* _resultobj
;
778 wxMDIChildFrame
* _arg0
;
779 PyObject
* _argo0
= 0;
780 char *_kwnames
[] = { "self", NULL
};
783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Activate",_kwnames
,&_argo0
))
786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
793 wxPy_BEGIN_ALLOW_THREADS
;
794 wxMDIChildFrame_Activate(_arg0
);
796 wxPy_END_ALLOW_THREADS
;
797 if (PyErr_Occurred()) return NULL
;
798 } Py_INCREF(Py_None
);
799 _resultobj
= Py_None
;
803 #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
804 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
805 PyObject
* _resultobj
;
806 wxMDIChildFrame
* _arg0
;
808 PyObject
* _argo0
= 0;
810 char *_kwnames
[] = { "self","maximize", NULL
};
813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMDIChildFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
822 _arg1
= (bool ) tempbool1
;
824 wxPy_BEGIN_ALLOW_THREADS
;
825 wxMDIChildFrame_Maximize(_arg0
,_arg1
);
827 wxPy_END_ALLOW_THREADS
;
828 if (PyErr_Occurred()) return NULL
;
829 } Py_INCREF(Py_None
);
830 _resultobj
= Py_None
;
834 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
835 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
837 wxMDIChildFrame
* _arg0
;
838 PyObject
* _argo0
= 0;
839 char *_kwnames
[] = { "self", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Restore",_kwnames
,&_argo0
))
845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
852 wxPy_BEGIN_ALLOW_THREADS
;
853 wxMDIChildFrame_Restore(_arg0
);
855 wxPy_END_ALLOW_THREADS
;
856 if (PyErr_Occurred()) return NULL
;
857 } Py_INCREF(Py_None
);
858 _resultobj
= Py_None
;
862 static void *SwigwxMDIClientWindowTowxWindow(void *ptr
) {
863 wxMDIClientWindow
*src
;
865 src
= (wxMDIClientWindow
*) ptr
;
866 dest
= (wxWindow
*) src
;
867 return (void *) dest
;
870 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr
) {
871 wxMDIClientWindow
*src
;
873 src
= (wxMDIClientWindow
*) ptr
;
874 dest
= (wxEvtHandler
*) src
;
875 return (void *) dest
;
878 static void *SwigwxMDIClientWindowTowxObject(void *ptr
) {
879 wxMDIClientWindow
*src
;
881 src
= (wxMDIClientWindow
*) ptr
;
882 dest
= (wxObject
*) src
;
883 return (void *) dest
;
886 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
887 static PyObject
*_wrap_new_wxMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
888 PyObject
* _resultobj
;
889 wxMDIClientWindow
* _result
;
890 wxMDIParentFrame
* _arg0
;
891 long _arg1
= (long ) 0;
892 PyObject
* _argo0
= 0;
893 char *_kwnames
[] = { "parent","style", NULL
};
897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:new_wxMDIClientWindow",_kwnames
,&_argo0
,&_arg1
))
900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
907 wxPy_BEGIN_ALLOW_THREADS
;
908 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
910 wxPy_END_ALLOW_THREADS
;
911 if (PyErr_Occurred()) return NULL
;
913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
914 _resultobj
= Py_BuildValue("s",_ptemp
);
917 _resultobj
= Py_None
;
922 #define new_wxPreMDIClientWindow() (new wxMDIClientWindow())
923 static PyObject
*_wrap_new_wxPreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 PyObject
* _resultobj
;
925 wxMDIClientWindow
* _result
;
926 char *_kwnames
[] = { NULL
};
930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIClientWindow",_kwnames
))
933 wxPy_BEGIN_ALLOW_THREADS
;
934 _result
= (wxMDIClientWindow
*)new_wxPreMDIClientWindow();
936 wxPy_END_ALLOW_THREADS
;
937 if (PyErr_Occurred()) return NULL
;
939 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
940 _resultobj
= Py_BuildValue("s",_ptemp
);
943 _resultobj
= Py_None
;
948 #define wxMDIClientWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
949 static PyObject
*_wrap_wxMDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
950 PyObject
* _resultobj
;
952 wxMDIClientWindow
* _arg0
;
953 wxMDIParentFrame
* _arg1
;
954 long _arg2
= (long ) 0;
955 PyObject
* _argo0
= 0;
956 PyObject
* _argo1
= 0;
957 char *_kwnames
[] = { "self","parent","style", NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxMDIClientWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIClientWindow_p")) {
965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIClientWindow_Create. Expected _wxMDIClientWindow_p.");
970 if (_argo1
== Py_None
) { _arg1
= NULL
; }
971 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIClientWindow_Create. Expected _wxMDIParentFrame_p.");
977 wxPy_BEGIN_ALLOW_THREADS
;
978 _result
= (bool )wxMDIClientWindow_Create(_arg0
,_arg1
,_arg2
);
980 wxPy_END_ALLOW_THREADS
;
981 if (PyErr_Occurred()) return NULL
;
982 } _resultobj
= Py_BuildValue("i",_result
);
986 static PyMethodDef mdicMethods
[] = {
987 { "wxMDIClientWindow_Create", (PyCFunction
) _wrap_wxMDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
988 { "new_wxPreMDIClientWindow", (PyCFunction
) _wrap_new_wxPreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
989 { "new_wxMDIClientWindow", (PyCFunction
) _wrap_new_wxMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
990 { "wxMDIChildFrame_Restore", (PyCFunction
) _wrap_wxMDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
991 { "wxMDIChildFrame_Maximize", (PyCFunction
) _wrap_wxMDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
992 { "wxMDIChildFrame_Activate", (PyCFunction
) _wrap_wxMDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
993 { "wxMDIChildFrame_Create", (PyCFunction
) _wrap_wxMDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
994 { "new_wxPreMDIChildFrame", (PyCFunction
) _wrap_new_wxPreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
995 { "new_wxMDIChildFrame", (PyCFunction
) _wrap_new_wxMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
996 { "wxMDIParentFrame_Tile", (PyCFunction
) _wrap_wxMDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
997 { "wxMDIParentFrame_GetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
998 { "wxMDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_wxMDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
999 { "wxMDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_wxMDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
1000 { "wxMDIParentFrame_Cascade", (PyCFunction
) _wrap_wxMDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
1001 { "wxMDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_wxMDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
1002 { "wxMDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_wxMDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
1003 { "wxMDIParentFrame_ActivateNext", (PyCFunction
) _wrap_wxMDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
1004 { "wxMDIParentFrame_Create", (PyCFunction
) _wrap_wxMDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
1005 { "new_wxPreMDIParentFrame", (PyCFunction
) _wrap_new_wxPreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
1006 { "new_wxMDIParentFrame", (PyCFunction
) _wrap_new_wxMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
1013 * This table is used by the pointer type-checker
1015 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1016 { "_signed_long","_long",0},
1017 { "_wxPrintQuality","_wxCoord",0},
1018 { "_wxPrintQuality","_int",0},
1019 { "_wxPrintQuality","_signed_int",0},
1020 { "_wxPrintQuality","_unsigned_int",0},
1021 { "_wxPrintQuality","_wxWindowID",0},
1022 { "_wxPrintQuality","_uint",0},
1023 { "_wxPrintQuality","_EBool",0},
1024 { "_wxPrintQuality","_size_t",0},
1025 { "_wxPrintQuality","_time_t",0},
1026 { "_class_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
1027 { "_class_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
1028 { "_class_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
1029 { "_class_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
1030 { "_class_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
1031 { "_class_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
1032 { "_byte","_unsigned_char",0},
1033 { "_long","_unsigned_long",0},
1034 { "_long","_signed_long",0},
1035 { "_class_wxObject","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxObject
},
1036 { "_class_wxObject","_wxMDIClientWindow",SwigwxMDIClientWindowTowxObject
},
1037 { "_class_wxObject","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxObject
},
1038 { "_class_wxObject","_wxMDIChildFrame",SwigwxMDIChildFrameTowxObject
},
1039 { "_class_wxObject","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxObject
},
1040 { "_class_wxObject","_wxMDIParentFrame",SwigwxMDIParentFrameTowxObject
},
1041 { "_size_t","_wxCoord",0},
1042 { "_size_t","_wxPrintQuality",0},
1043 { "_size_t","_time_t",0},
1044 { "_size_t","_unsigned_int",0},
1045 { "_size_t","_int",0},
1046 { "_size_t","_wxWindowID",0},
1047 { "_size_t","_uint",0},
1048 { "_wxTopLevelWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxTopLevelWindow
},
1049 { "_wxTopLevelWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxTopLevelWindow
},
1050 { "_wxTopLevelWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxTopLevelWindow
},
1051 { "_wxTopLevelWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxTopLevelWindow
},
1052 { "_uint","_wxCoord",0},
1053 { "_uint","_wxPrintQuality",0},
1054 { "_uint","_time_t",0},
1055 { "_uint","_size_t",0},
1056 { "_uint","_unsigned_int",0},
1057 { "_uint","_int",0},
1058 { "_uint","_wxWindowID",0},
1059 { "_wxChar","_char",0},
1060 { "_char","_wxChar",0},
1061 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1062 { "_EBool","_wxCoord",0},
1063 { "_EBool","_wxPrintQuality",0},
1064 { "_EBool","_signed_int",0},
1065 { "_EBool","_int",0},
1066 { "_EBool","_wxWindowID",0},
1067 { "_unsigned_long","_long",0},
1068 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1069 { "_signed_int","_wxCoord",0},
1070 { "_signed_int","_wxPrintQuality",0},
1071 { "_signed_int","_EBool",0},
1072 { "_signed_int","_wxWindowID",0},
1073 { "_signed_int","_int",0},
1074 { "_class_wxTopLevelWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxTopLevelWindow
},
1075 { "_class_wxTopLevelWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxTopLevelWindow
},
1076 { "_class_wxTopLevelWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxTopLevelWindow
},
1077 { "_class_wxTopLevelWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxTopLevelWindow
},
1078 { "_WXTYPE","_short",0},
1079 { "_WXTYPE","_signed_short",0},
1080 { "_WXTYPE","_unsigned_short",0},
1081 { "_unsigned_short","_WXTYPE",0},
1082 { "_unsigned_short","_short",0},
1083 { "_class_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1084 { "_class_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1085 { "_class_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1086 { "_class_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1087 { "_class_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1088 { "_class_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1089 { "_wxObject","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxObject
},
1090 { "_wxObject","_wxMDIClientWindow",SwigwxMDIClientWindowTowxObject
},
1091 { "_wxObject","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxObject
},
1092 { "_wxObject","_wxMDIChildFrame",SwigwxMDIChildFrameTowxObject
},
1093 { "_wxObject","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxObject
},
1094 { "_wxObject","_wxMDIParentFrame",SwigwxMDIParentFrameTowxObject
},
1095 { "_signed_short","_WXTYPE",0},
1096 { "_signed_short","_short",0},
1097 { "_unsigned_char","_byte",0},
1098 { "_unsigned_int","_wxCoord",0},
1099 { "_unsigned_int","_wxPrintQuality",0},
1100 { "_unsigned_int","_time_t",0},
1101 { "_unsigned_int","_size_t",0},
1102 { "_unsigned_int","_uint",0},
1103 { "_unsigned_int","_wxWindowID",0},
1104 { "_unsigned_int","_int",0},
1105 { "_short","_WXTYPE",0},
1106 { "_short","_unsigned_short",0},
1107 { "_short","_signed_short",0},
1108 { "_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1109 { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1110 { "_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1111 { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1112 { "_wxWindowID","_wxCoord",0},
1113 { "_wxWindowID","_wxPrintQuality",0},
1114 { "_wxWindowID","_time_t",0},
1115 { "_wxWindowID","_size_t",0},
1116 { "_wxWindowID","_EBool",0},
1117 { "_wxWindowID","_uint",0},
1118 { "_wxWindowID","_int",0},
1119 { "_wxWindowID","_signed_int",0},
1120 { "_wxWindowID","_unsigned_int",0},
1121 { "_int","_wxCoord",0},
1122 { "_int","_wxPrintQuality",0},
1123 { "_int","_time_t",0},
1124 { "_int","_size_t",0},
1125 { "_int","_EBool",0},
1126 { "_int","_uint",0},
1127 { "_int","_wxWindowID",0},
1128 { "_int","_unsigned_int",0},
1129 { "_int","_signed_int",0},
1130 { "_time_t","_wxCoord",0},
1131 { "_time_t","_wxPrintQuality",0},
1132 { "_time_t","_unsigned_int",0},
1133 { "_time_t","_int",0},
1134 { "_time_t","_wxWindowID",0},
1135 { "_time_t","_uint",0},
1136 { "_time_t","_size_t",0},
1137 { "_wxCoord","_int",0},
1138 { "_wxCoord","_signed_int",0},
1139 { "_wxCoord","_unsigned_int",0},
1140 { "_wxCoord","_wxWindowID",0},
1141 { "_wxCoord","_uint",0},
1142 { "_wxCoord","_EBool",0},
1143 { "_wxCoord","_size_t",0},
1144 { "_wxCoord","_time_t",0},
1145 { "_wxCoord","_wxPrintQuality",0},
1146 { "_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
1147 { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
1148 { "_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
1149 { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
1150 { "_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
1151 { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
1152 { "_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1153 { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1154 { "_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1155 { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1156 { "_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1157 { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1158 { "_class_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1159 { "_class_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1160 { "_class_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1161 { "_class_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1164 static PyObject
*SWIG_globals
;
1168 SWIGEXPORT(void) initmdic() {
1170 SWIG_globals
= SWIG_newvarlink();
1171 m
= Py_InitModule("mdic", mdicMethods
);
1172 d
= PyModule_GetDict(m
);
1175 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1176 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);