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"
60 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
64 } else if (target
== Py_None
) {
68 if (!PyList_Check(target
)) {
70 target
= PyList_New(0);
71 PyList_Append(target
, o2
);
74 PyList_Append(target
,o
);
80 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
86 } else if (target
== Py_None
) {
90 if (!PyTuple_Check(target
)) {
92 target
= PyTuple_New(1);
93 PyTuple_SetItem(target
, 0, o2
);
96 PyTuple_SetItem(o3
, 0, o
);
99 target
= PySequence_Concat(o2
, o3
);
106 #if PYTHON_API_VERSION >= 1009
107 static char* wxStringErrorMsg
= "String or Unicode type required";
109 static char* wxStringErrorMsg
= "string type is required for parameter";
114 static void *SwigwxMDIParentFrameTowxFrame(void *ptr
) {
115 wxMDIParentFrame
*src
;
117 src
= (wxMDIParentFrame
*) ptr
;
118 dest
= (wxFrame
*) src
;
119 return (void *) dest
;
122 static void *SwigwxMDIParentFrameTowxWindow(void *ptr
) {
123 wxMDIParentFrame
*src
;
125 src
= (wxMDIParentFrame
*) ptr
;
126 dest
= (wxWindow
*) src
;
127 return (void *) dest
;
130 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr
) {
131 wxMDIParentFrame
*src
;
133 src
= (wxMDIParentFrame
*) ptr
;
134 dest
= (wxEvtHandler
*) src
;
135 return (void *) dest
;
138 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
139 static PyObject
*_wrap_new_wxMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
140 PyObject
* _resultobj
;
141 wxMDIParentFrame
* _result
;
145 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
146 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
147 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
148 char * _arg6
= (char *) "frame";
149 PyObject
* _argo0
= 0;
150 PyObject
* _obj2
= 0;
152 PyObject
* _obj3
= 0;
154 PyObject
* _obj4
= 0;
155 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIParentFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
169 #if PYTHON_API_VERSION >= 1009
170 char* tmpPtr
; int tmpSize
;
171 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
172 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
175 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
177 _arg2
= new wxString(tmpPtr
, tmpSize
);
179 if (!PyString_Check(_obj2
)) {
180 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
183 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
189 if (! wxPoint_helper(_obj3
, &_arg3
))
195 if (! wxSize_helper(_obj4
, &_arg4
))
199 wxPy_BEGIN_ALLOW_THREADS
;
200 _result
= (wxMDIParentFrame
*)new_wxMDIParentFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
202 wxPy_END_ALLOW_THREADS
;
204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
205 _resultobj
= Py_BuildValue("s",_ptemp
);
208 _resultobj
= Py_None
;
217 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
218 static PyObject
*_wrap_wxMDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
219 PyObject
* _resultobj
;
220 wxMDIParentFrame
* _arg0
;
221 PyObject
* _argo0
= 0;
222 char *_kwnames
[] = { "self", NULL
};
225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ActivateNext",_kwnames
,&_argo0
))
228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
235 wxPy_BEGIN_ALLOW_THREADS
;
236 wxMDIParentFrame_ActivateNext(_arg0
);
238 wxPy_END_ALLOW_THREADS
;
239 } Py_INCREF(Py_None
);
240 _resultobj
= Py_None
;
244 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
245 static PyObject
*_wrap_wxMDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
246 PyObject
* _resultobj
;
247 wxMDIParentFrame
* _arg0
;
248 PyObject
* _argo0
= 0;
249 char *_kwnames
[] = { "self", NULL
};
252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ActivatePrevious",_kwnames
,&_argo0
))
255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p.");
262 wxPy_BEGIN_ALLOW_THREADS
;
263 wxMDIParentFrame_ActivatePrevious(_arg0
);
265 wxPy_END_ALLOW_THREADS
;
266 } Py_INCREF(Py_None
);
267 _resultobj
= Py_None
;
271 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
272 static PyObject
*_wrap_wxMDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
273 PyObject
* _resultobj
;
274 wxMDIParentFrame
* _arg0
;
275 PyObject
* _argo0
= 0;
276 char *_kwnames
[] = { "self", NULL
};
279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ArrangeIcons",_kwnames
,&_argo0
))
282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p.");
289 wxPy_BEGIN_ALLOW_THREADS
;
290 wxMDIParentFrame_ArrangeIcons(_arg0
);
292 wxPy_END_ALLOW_THREADS
;
293 } Py_INCREF(Py_None
);
294 _resultobj
= Py_None
;
298 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
299 static PyObject
*_wrap_wxMDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
300 PyObject
* _resultobj
;
301 wxMDIParentFrame
* _arg0
;
302 PyObject
* _argo0
= 0;
303 char *_kwnames
[] = { "self", NULL
};
306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Cascade",_kwnames
,&_argo0
))
309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
316 wxPy_BEGIN_ALLOW_THREADS
;
317 wxMDIParentFrame_Cascade(_arg0
);
319 wxPy_END_ALLOW_THREADS
;
320 } Py_INCREF(Py_None
);
321 _resultobj
= Py_None
;
325 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
326 static PyObject
*_wrap_wxMDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
327 PyObject
* _resultobj
;
328 wxMDIChildFrame
* _result
;
329 wxMDIParentFrame
* _arg0
;
330 PyObject
* _argo0
= 0;
331 char *_kwnames
[] = { "self", NULL
};
335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetActiveChild",_kwnames
,&_argo0
))
338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
345 wxPy_BEGIN_ALLOW_THREADS
;
346 _result
= (wxMDIChildFrame
*)wxMDIParentFrame_GetActiveChild(_arg0
);
348 wxPy_END_ALLOW_THREADS
;
350 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
351 _resultobj
= Py_BuildValue("s",_ptemp
);
354 _resultobj
= Py_None
;
359 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
360 static PyObject
*_wrap_wxMDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
361 PyObject
* _resultobj
;
362 wxMDIClientWindow
* _result
;
363 wxMDIParentFrame
* _arg0
;
364 PyObject
* _argo0
= 0;
365 char *_kwnames
[] = { "self", NULL
};
369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetClientWindow",_kwnames
,&_argo0
))
372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
379 wxPy_BEGIN_ALLOW_THREADS
;
380 _result
= (wxMDIClientWindow
*)wxMDIParentFrame_GetClientWindow(_arg0
);
382 wxPy_END_ALLOW_THREADS
;
384 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
385 _resultobj
= Py_BuildValue("s",_ptemp
);
388 _resultobj
= Py_None
;
393 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
394 static PyObject
*_wrap_wxMDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
395 PyObject
* _resultobj
;
397 wxMDIParentFrame
* _arg0
;
398 PyObject
* _argo0
= 0;
399 char *_kwnames
[] = { "self", NULL
};
403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetToolBar",_kwnames
,&_argo0
))
406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
413 wxPy_BEGIN_ALLOW_THREADS
;
414 _result
= (wxWindow
*)wxMDIParentFrame_GetToolBar(_arg0
);
416 wxPy_END_ALLOW_THREADS
;
418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
419 _resultobj
= Py_BuildValue("s",_ptemp
);
422 _resultobj
= Py_None
;
427 #define wxMDIParentFrame_GetWindowMenu(_swigobj) (_swigobj->GetWindowMenu())
428 static PyObject
*_wrap_wxMDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
429 PyObject
* _resultobj
;
431 wxMDIParentFrame
* _arg0
;
432 PyObject
* _argo0
= 0;
433 char *_kwnames
[] = { "self", NULL
};
437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetWindowMenu",_kwnames
,&_argo0
))
440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetWindowMenu. Expected _wxMDIParentFrame_p.");
447 wxPy_BEGIN_ALLOW_THREADS
;
448 _result
= (wxMenu
*)wxMDIParentFrame_GetWindowMenu(_arg0
);
450 wxPy_END_ALLOW_THREADS
;
452 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenu_p");
453 _resultobj
= Py_BuildValue("s",_ptemp
);
456 _resultobj
= Py_None
;
461 #define wxMDIParentFrame_SetWindowMenu(_swigobj,_swigarg0) (_swigobj->SetWindowMenu(_swigarg0))
462 static PyObject
*_wrap_wxMDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
463 PyObject
* _resultobj
;
464 wxMDIParentFrame
* _arg0
;
466 PyObject
* _argo0
= 0;
467 PyObject
* _argo1
= 0;
468 char *_kwnames
[] = { "self","menu", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMDIParentFrame_SetWindowMenu",_kwnames
,&_argo0
,&_argo1
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetWindowMenu. Expected _wxMDIParentFrame_p.");
481 if (_argo1
== Py_None
) { _arg1
= NULL
; }
482 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetWindowMenu. Expected _wxMenu_p.");
488 wxPy_BEGIN_ALLOW_THREADS
;
489 wxMDIParentFrame_SetWindowMenu(_arg0
,_arg1
);
491 wxPy_END_ALLOW_THREADS
;
492 } Py_INCREF(Py_None
);
493 _resultobj
= Py_None
;
497 #define wxMDIParentFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
498 static PyObject
*_wrap_wxMDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
499 PyObject
* _resultobj
;
500 wxMDIParentFrame
* _arg0
;
502 PyObject
* _argo0
= 0;
503 PyObject
* _argo1
= 0;
504 char *_kwnames
[] = { "self","toolbar", NULL
};
507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMDIParentFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetToolBar. Expected _wxMDIParentFrame_p.");
517 if (_argo1
== Py_None
) { _arg1
= NULL
; }
518 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetToolBar. Expected _wxToolBar_p.");
524 wxPy_BEGIN_ALLOW_THREADS
;
525 wxMDIParentFrame_SetToolBar(_arg0
,_arg1
);
527 wxPy_END_ALLOW_THREADS
;
528 } Py_INCREF(Py_None
);
529 _resultobj
= Py_None
;
533 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
534 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
535 PyObject
* _resultobj
;
536 wxMDIParentFrame
* _arg0
;
537 PyObject
* _argo0
= 0;
538 char *_kwnames
[] = { "self", NULL
};
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Tile",_kwnames
,&_argo0
))
544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
551 wxPy_BEGIN_ALLOW_THREADS
;
552 wxMDIParentFrame_Tile(_arg0
);
554 wxPy_END_ALLOW_THREADS
;
555 } Py_INCREF(Py_None
);
556 _resultobj
= Py_None
;
560 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
561 wxMDIChildFrame
*src
;
563 src
= (wxMDIChildFrame
*) ptr
;
564 dest
= (wxFrame
*) src
;
565 return (void *) dest
;
568 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
569 wxMDIChildFrame
*src
;
571 src
= (wxMDIChildFrame
*) ptr
;
572 dest
= (wxWindow
*) src
;
573 return (void *) dest
;
576 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
577 wxMDIChildFrame
*src
;
579 src
= (wxMDIChildFrame
*) ptr
;
580 dest
= (wxEvtHandler
*) src
;
581 return (void *) dest
;
584 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
585 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
586 PyObject
* _resultobj
;
587 wxMDIChildFrame
* _result
;
588 wxMDIParentFrame
* _arg0
;
591 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
592 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
593 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
594 char * _arg6
= (char *) "frame";
595 PyObject
* _argo0
= 0;
596 PyObject
* _obj2
= 0;
598 PyObject
* _obj3
= 0;
600 PyObject
* _obj4
= 0;
601 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIChildFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
615 #if PYTHON_API_VERSION >= 1009
616 char* tmpPtr
; int tmpSize
;
617 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
621 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
623 _arg2
= new wxString(tmpPtr
, tmpSize
);
625 if (!PyString_Check(_obj2
)) {
626 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
629 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
635 if (! wxPoint_helper(_obj3
, &_arg3
))
641 if (! wxSize_helper(_obj4
, &_arg4
))
645 wxPy_BEGIN_ALLOW_THREADS
;
646 _result
= (wxMDIChildFrame
*)new_wxMDIChildFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
648 wxPy_END_ALLOW_THREADS
;
650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
651 _resultobj
= Py_BuildValue("s",_ptemp
);
654 _resultobj
= Py_None
;
663 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
664 static PyObject
*_wrap_wxMDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
666 wxMDIChildFrame
* _arg0
;
667 PyObject
* _argo0
= 0;
668 char *_kwnames
[] = { "self", NULL
};
671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Activate",_kwnames
,&_argo0
))
674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
681 wxPy_BEGIN_ALLOW_THREADS
;
682 wxMDIChildFrame_Activate(_arg0
);
684 wxPy_END_ALLOW_THREADS
;
685 } Py_INCREF(Py_None
);
686 _resultobj
= Py_None
;
690 #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
691 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
692 PyObject
* _resultobj
;
693 wxMDIChildFrame
* _arg0
;
695 PyObject
* _argo0
= 0;
697 char *_kwnames
[] = { "self","maximize", NULL
};
700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMDIChildFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
709 _arg1
= (bool ) tempbool1
;
711 wxPy_BEGIN_ALLOW_THREADS
;
712 wxMDIChildFrame_Maximize(_arg0
,_arg1
);
714 wxPy_END_ALLOW_THREADS
;
715 } Py_INCREF(Py_None
);
716 _resultobj
= Py_None
;
720 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
721 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
722 PyObject
* _resultobj
;
723 wxMDIChildFrame
* _arg0
;
724 PyObject
* _argo0
= 0;
725 char *_kwnames
[] = { "self", NULL
};
728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Restore",_kwnames
,&_argo0
))
731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
738 wxPy_BEGIN_ALLOW_THREADS
;
739 wxMDIChildFrame_Restore(_arg0
);
741 wxPy_END_ALLOW_THREADS
;
742 } Py_INCREF(Py_None
);
743 _resultobj
= Py_None
;
747 static void *SwigwxMDIClientWindowTowxWindow(void *ptr
) {
748 wxMDIClientWindow
*src
;
750 src
= (wxMDIClientWindow
*) ptr
;
751 dest
= (wxWindow
*) src
;
752 return (void *) dest
;
755 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr
) {
756 wxMDIClientWindow
*src
;
758 src
= (wxMDIClientWindow
*) ptr
;
759 dest
= (wxEvtHandler
*) src
;
760 return (void *) dest
;
763 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
764 static PyObject
*_wrap_new_wxMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
765 PyObject
* _resultobj
;
766 wxMDIClientWindow
* _result
;
767 wxMDIParentFrame
* _arg0
;
768 long _arg1
= (long ) 0;
769 PyObject
* _argo0
= 0;
770 char *_kwnames
[] = { "parent","style", NULL
};
774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:new_wxMDIClientWindow",_kwnames
,&_argo0
,&_arg1
))
777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
784 wxPy_BEGIN_ALLOW_THREADS
;
785 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
787 wxPy_END_ALLOW_THREADS
;
789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
790 _resultobj
= Py_BuildValue("s",_ptemp
);
793 _resultobj
= Py_None
;
798 static PyMethodDef mdicMethods
[] = {
799 { "new_wxMDIClientWindow", (PyCFunction
) _wrap_new_wxMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
800 { "wxMDIChildFrame_Restore", (PyCFunction
) _wrap_wxMDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
801 { "wxMDIChildFrame_Maximize", (PyCFunction
) _wrap_wxMDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
802 { "wxMDIChildFrame_Activate", (PyCFunction
) _wrap_wxMDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
803 { "new_wxMDIChildFrame", (PyCFunction
) _wrap_new_wxMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
804 { "wxMDIParentFrame_Tile", (PyCFunction
) _wrap_wxMDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
805 { "wxMDIParentFrame_SetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
806 { "wxMDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_wxMDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
807 { "wxMDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_wxMDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
808 { "wxMDIParentFrame_GetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
809 { "wxMDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_wxMDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
810 { "wxMDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_wxMDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
811 { "wxMDIParentFrame_Cascade", (PyCFunction
) _wrap_wxMDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
812 { "wxMDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_wxMDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
813 { "wxMDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_wxMDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
814 { "wxMDIParentFrame_ActivateNext", (PyCFunction
) _wrap_wxMDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
815 { "new_wxMDIParentFrame", (PyCFunction
) _wrap_new_wxMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
822 * This table is used by the pointer type-checker
824 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
825 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
826 { "_wxEvent","_class_wxEvent",0},
827 { "_class_wxActivateEvent","_wxActivateEvent",0},
828 { "_signed_long","_long",0},
829 { "_wxMenuEvent","_class_wxMenuEvent",0},
830 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
831 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
832 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
833 { "_wxPrintQuality","_wxCoord",0},
834 { "_wxPrintQuality","_int",0},
835 { "_wxPrintQuality","_signed_int",0},
836 { "_wxPrintQuality","_unsigned_int",0},
837 { "_wxPrintQuality","_wxWindowID",0},
838 { "_wxPrintQuality","_uint",0},
839 { "_wxPrintQuality","_EBool",0},
840 { "_wxPrintQuality","_size_t",0},
841 { "_wxPrintQuality","_time_t",0},
842 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
843 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
844 { "_class_wxRegionIterator","_wxRegionIterator",0},
845 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
846 { "_class_wxMenuBar","_wxMenuBar",0},
847 { "_class_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
848 { "_class_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
849 { "_class_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
850 { "_class_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
851 { "_class_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
852 { "_class_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
853 { "_class_wxEvtHandler","_wxEvtHandler",0},
854 { "_wxPaintEvent","_class_wxPaintEvent",0},
855 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
856 { "_wxCursor","_class_wxCursor",0},
857 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
858 { "_class_wxToolBarBase","_wxToolBarBase",0},
859 { "_wxMask","_class_wxMask",0},
860 { "_wxPen","_class_wxPen",0},
861 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
862 { "_byte","_unsigned_char",0},
863 { "_wxDataObject","_class_wxDataObject",0},
864 { "_wxStaticBox","_class_wxStaticBox",0},
865 { "_wxColourDatabase","_class_wxColourDatabase",0},
866 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
867 { "_wxPyDropSource","_class_wxPyDropSource",0},
868 { "_wxChoice","_class_wxChoice",0},
869 { "_wxSlider","_class_wxSlider",0},
870 { "_long","_unsigned_long",0},
871 { "_long","_signed_long",0},
872 { "_wxImageList","_class_wxImageList",0},
873 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
874 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
875 { "_wxBitmapButton","_class_wxBitmapButton",0},
876 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
877 { "_class_wxClipboard","_wxClipboard",0},
878 { "_class_wxGauge","_wxGauge",0},
879 { "_wxDC","_class_wxDC",0},
880 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
881 { "_wxSpinEvent","_class_wxSpinEvent",0},
882 { "_size_t","_wxCoord",0},
883 { "_size_t","_wxPrintQuality",0},
884 { "_size_t","_time_t",0},
885 { "_size_t","_unsigned_int",0},
886 { "_size_t","_int",0},
887 { "_size_t","_wxWindowID",0},
888 { "_size_t","_uint",0},
889 { "_class_wxRealPoint","_wxRealPoint",0},
890 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
891 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
892 { "_class_wxMenuItem","_wxMenuItem",0},
893 { "_class_wxPaintEvent","_wxPaintEvent",0},
894 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
895 { "_class_wxStatusBar","_wxStatusBar",0},
896 { "_wxPanel","_class_wxPanel",0},
897 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
898 { "_wxCheckBox","_class_wxCheckBox",0},
899 { "_wxPyEvent","_class_wxPyEvent",0},
900 { "_wxTextCtrl","_class_wxTextCtrl",0},
901 { "_class_wxMask","_wxMask",0},
902 { "_wxTextDataObject","_class_wxTextDataObject",0},
903 { "_class_wxKeyEvent","_wxKeyEvent",0},
904 { "_wxColour","_class_wxColour",0},
905 { "_class_wxDialog","_wxDialog",0},
906 { "_class_wxFileDataObject","_wxFileDataObject",0},
907 { "_wxIdleEvent","_class_wxIdleEvent",0},
908 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
909 { "_wxToolBar","_class_wxToolBar",0},
910 { "_class_wxDataObject","_wxDataObject",0},
911 { "_wxStaticLine","_class_wxStaticLine",0},
912 { "_wxBrush","_class_wxBrush",0},
913 { "_wxToggleButton","_class_wxToggleButton",0},
914 { "_wxMiniFrame","_class_wxMiniFrame",0},
915 { "_wxDataFormat","_class_wxDataFormat",0},
916 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
917 { "_wxShowEvent","_class_wxShowEvent",0},
918 { "_uint","_wxCoord",0},
919 { "_uint","_wxPrintQuality",0},
920 { "_uint","_time_t",0},
921 { "_uint","_size_t",0},
922 { "_uint","_unsigned_int",0},
924 { "_uint","_wxWindowID",0},
925 { "_wxChar","_char",0},
926 { "_wxPyValidator","_class_wxPyValidator",0},
927 { "_class_wxEvent","_wxEvent",0},
928 { "_wxCheckListBox","_class_wxCheckListBox",0},
929 { "_wxRect","_class_wxRect",0},
930 { "_wxCommandEvent","_class_wxCommandEvent",0},
931 { "_wxSizeEvent","_class_wxSizeEvent",0},
932 { "_wxPoint","_class_wxPoint",0},
933 { "_class_wxButton","_wxButton",0},
934 { "_wxRadioBox","_class_wxRadioBox",0},
935 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
936 { "_char","_wxChar",0},
937 { "_wxBitmap","_class_wxBitmap",0},
938 { "_wxPenList","_class_wxPenList",0},
939 { "_wxWindowDC","_class_wxWindowDC",0},
940 { "_wxTimerEvent","_class_wxTimerEvent",0},
941 { "_wxScrollBar","_class_wxScrollBar",0},
942 { "_wxSpinButton","_class_wxSpinButton",0},
943 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
944 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
945 { "_class_wxValidator","_wxValidator",0},
946 { "_class_wxPyEvent","_wxPyEvent",0},
947 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
948 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
949 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
950 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
951 { "_class_wxToolBar","_wxToolBar",0},
952 { "_wxDropTarget","_class_wxDropTarget",0},
953 { "_class_wxStaticLine","_wxStaticLine",0},
954 { "_class_wxColourDatabase","_wxColourDatabase",0},
955 { "_wxScrollEvent","_class_wxScrollEvent",0},
956 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
957 { "_EBool","_wxCoord",0},
958 { "_EBool","_wxPrintQuality",0},
959 { "_EBool","_signed_int",0},
960 { "_EBool","_int",0},
961 { "_EBool","_wxWindowID",0},
962 { "_class_wxRegion","_wxRegion",0},
963 { "_class_wxDataFormat","_wxDataFormat",0},
964 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
965 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
966 { "_wxStaticText","_class_wxStaticText",0},
967 { "_wxFont","_class_wxFont",0},
968 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
969 { "_wxCloseEvent","_class_wxCloseEvent",0},
970 { "_unsigned_long","_long",0},
971 { "_class_wxRect","_wxRect",0},
972 { "_class_wxDC","_wxDC",0},
973 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
974 { "_class_wxBrushList","_wxBrushList",0},
975 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
976 { "_class_wxPenList","_wxPenList",0},
977 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
978 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
979 { "_wxFocusEvent","_class_wxFocusEvent",0},
980 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
981 { "_class_wxTimerEvent","_wxTimerEvent",0},
982 { "_class_wxSpinButton","_wxSpinButton",0},
983 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
984 { "_class_wxPanel","_wxPanel",0},
985 { "_class_wxCheckBox","_wxCheckBox",0},
986 { "_wxComboBox","_class_wxComboBox",0},
987 { "_wxRadioButton","_class_wxRadioButton",0},
988 { "_signed_int","_wxCoord",0},
989 { "_signed_int","_wxPrintQuality",0},
990 { "_signed_int","_EBool",0},
991 { "_signed_int","_wxWindowID",0},
992 { "_signed_int","_int",0},
993 { "_class_wxTextCtrl","_wxTextCtrl",0},
994 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
995 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
996 { "_class_wxTextDataObject","_wxTextDataObject",0},
997 { "_wxMenu","_class_wxMenu",0},
998 { "_class_wxMoveEvent","_wxMoveEvent",0},
999 { "_wxListBox","_class_wxListBox",0},
1000 { "_wxScreenDC","_class_wxScreenDC",0},
1001 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
1002 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
1003 { "_WXTYPE","_short",0},
1004 { "_WXTYPE","_signed_short",0},
1005 { "_WXTYPE","_unsigned_short",0},
1006 { "_class_wxDropTarget","_wxDropTarget",0},
1007 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
1008 { "_class_wxBrush","_wxBrush",0},
1009 { "_unsigned_short","_WXTYPE",0},
1010 { "_unsigned_short","_short",0},
1011 { "_class_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1012 { "_class_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1013 { "_class_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1014 { "_class_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1015 { "_class_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1016 { "_class_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1017 { "_class_wxWindow","_wxWindow",0},
1018 { "_class_wxStaticText","_wxStaticText",0},
1019 { "_class_wxFont","_wxFont",0},
1020 { "_wxClipboard","_class_wxClipboard",0},
1021 { "_class_wxPyValidator","_wxPyValidator",0},
1022 { "_class_wxCloseEvent","_wxCloseEvent",0},
1023 { "_wxBusyInfo","_class_wxBusyInfo",0},
1024 { "_wxFontList","_class_wxFontList",0},
1025 { "_class_wxMenuEvent","_wxMenuEvent",0},
1026 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
1027 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
1028 { "_wxClientDC","_class_wxClientDC",0},
1029 { "_wxMouseEvent","_class_wxMouseEvent",0},
1030 { "_class_wxPoint","_wxPoint",0},
1031 { "_wxRealPoint","_class_wxRealPoint",0},
1032 { "_class_wxRadioBox","_wxRadioBox",0},
1033 { "_signed_short","_WXTYPE",0},
1034 { "_signed_short","_short",0},
1035 { "_wxMemoryDC","_class_wxMemoryDC",0},
1036 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
1037 { "_wxPaintDC","_class_wxPaintDC",0},
1038 { "_class_wxWindowDC","_wxWindowDC",0},
1039 { "_class_wxFocusEvent","_wxFocusEvent",0},
1040 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
1041 { "_wxStatusBar","_class_wxStatusBar",0},
1042 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
1043 { "_class_wxCursor","_wxCursor",0},
1044 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
1045 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
1046 { "_unsigned_char","_byte",0},
1047 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
1048 { "_class_wxMenu","_wxMenu",0},
1049 { "_wxControl","_class_wxControl",0},
1050 { "_class_wxListBox","_wxListBox",0},
1051 { "_unsigned_int","_wxCoord",0},
1052 { "_unsigned_int","_wxPrintQuality",0},
1053 { "_unsigned_int","_time_t",0},
1054 { "_unsigned_int","_size_t",0},
1055 { "_unsigned_int","_uint",0},
1056 { "_unsigned_int","_wxWindowID",0},
1057 { "_unsigned_int","_int",0},
1058 { "_wxIcon","_class_wxIcon",0},
1059 { "_wxDialog","_class_wxDialog",0},
1060 { "_class_wxPen","_wxPen",0},
1061 { "_short","_WXTYPE",0},
1062 { "_short","_unsigned_short",0},
1063 { "_short","_signed_short",0},
1064 { "_class_wxStaticBox","_wxStaticBox",0},
1065 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
1066 { "_class_wxPyDropSource","_wxPyDropSource",0},
1067 { "_class_wxScrollEvent","_wxScrollEvent",0},
1068 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
1069 { "_class_wxChoice","_wxChoice",0},
1070 { "_class_wxSlider","_wxSlider",0},
1071 { "_class_wxImageList","_wxImageList",0},
1072 { "_class_wxBitmapButton","_wxBitmapButton",0},
1073 { "_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1074 { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1075 { "_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1076 { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1077 { "_wxFrame","_class_wxFrame",0},
1078 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
1079 { "_wxWindowID","_wxCoord",0},
1080 { "_wxWindowID","_wxPrintQuality",0},
1081 { "_wxWindowID","_time_t",0},
1082 { "_wxWindowID","_size_t",0},
1083 { "_wxWindowID","_EBool",0},
1084 { "_wxWindowID","_uint",0},
1085 { "_wxWindowID","_int",0},
1086 { "_wxWindowID","_signed_int",0},
1087 { "_wxWindowID","_unsigned_int",0},
1088 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
1089 { "_int","_wxCoord",0},
1090 { "_int","_wxPrintQuality",0},
1091 { "_int","_time_t",0},
1092 { "_int","_size_t",0},
1093 { "_int","_EBool",0},
1094 { "_int","_uint",0},
1095 { "_int","_wxWindowID",0},
1096 { "_int","_unsigned_int",0},
1097 { "_int","_signed_int",0},
1098 { "_class_wxMouseEvent","_wxMouseEvent",0},
1099 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
1100 { "_class_wxSpinEvent","_wxSpinEvent",0},
1101 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
1102 { "_time_t","_wxCoord",0},
1103 { "_time_t","_wxPrintQuality",0},
1104 { "_time_t","_unsigned_int",0},
1105 { "_time_t","_int",0},
1106 { "_time_t","_wxWindowID",0},
1107 { "_time_t","_uint",0},
1108 { "_time_t","_size_t",0},
1109 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
1110 { "_wxButton","_class_wxButton",0},
1111 { "_wxSize","_class_wxSize",0},
1112 { "_wxRegionIterator","_class_wxRegionIterator",0},
1113 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
1114 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
1115 { "_class_wxPaintDC","_wxPaintDC",0},
1116 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
1117 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
1118 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
1119 { "_class_wxComboBox","_wxComboBox",0},
1120 { "_class_wxRadioButton","_wxRadioButton",0},
1121 { "_wxValidator","_class_wxValidator",0},
1122 { "_wxToolBarBase","_class_wxToolBarBase",0},
1123 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
1124 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
1125 { "_class_wxControl","_wxControl",0},
1126 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
1127 { "_class_wxIcon","_wxIcon",0},
1128 { "_class_wxColour","_wxColour",0},
1129 { "_class_wxScreenDC","_wxScreenDC",0},
1130 { "_wxPalette","_class_wxPalette",0},
1131 { "_class_wxIdleEvent","_wxIdleEvent",0},
1132 { "_wxCoord","_int",0},
1133 { "_wxCoord","_signed_int",0},
1134 { "_wxCoord","_unsigned_int",0},
1135 { "_wxCoord","_wxWindowID",0},
1136 { "_wxCoord","_uint",0},
1137 { "_wxCoord","_EBool",0},
1138 { "_wxCoord","_size_t",0},
1139 { "_wxCoord","_time_t",0},
1140 { "_wxCoord","_wxPrintQuality",0},
1141 { "_wxEraseEvent","_class_wxEraseEvent",0},
1142 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
1143 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
1144 { "_class_wxToggleButton","_wxToggleButton",0},
1145 { "_class_wxMiniFrame","_wxMiniFrame",0},
1146 { "_wxRegion","_class_wxRegion",0},
1147 { "_class_wxShowEvent","_wxShowEvent",0},
1148 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
1149 { "_wxActivateEvent","_class_wxActivateEvent",0},
1150 { "_wxGauge","_class_wxGauge",0},
1151 { "_class_wxCheckListBox","_wxCheckListBox",0},
1152 { "_class_wxBusyInfo","_wxBusyInfo",0},
1153 { "_class_wxFontList","_wxFontList",0},
1154 { "_class_wxCommandEvent","_wxCommandEvent",0},
1155 { "_class_wxClientDC","_wxClientDC",0},
1156 { "_class_wxSizeEvent","_wxSizeEvent",0},
1157 { "_wxBrushList","_class_wxBrushList",0},
1158 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
1159 { "_class_wxSize","_wxSize",0},
1160 { "_class_wxBitmap","_wxBitmap",0},
1161 { "_class_wxMemoryDC","_wxMemoryDC",0},
1162 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
1163 { "_wxMenuBar","_class_wxMenuBar",0},
1164 { "_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
1165 { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
1166 { "_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
1167 { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
1168 { "_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
1169 { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
1170 { "_wxEvtHandler","_class_wxEvtHandler",0},
1171 { "_wxMenuItem","_class_wxMenuItem",0},
1172 { "_class_wxScrollBar","_wxScrollBar",0},
1173 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
1174 { "_wxKeyEvent","_class_wxKeyEvent",0},
1175 { "_wxMoveEvent","_class_wxMoveEvent",0},
1176 { "_class_wxPalette","_wxPalette",0},
1177 { "_wxFileDataObject","_class_wxFileDataObject",0},
1178 { "_class_wxEraseEvent","_wxEraseEvent",0},
1179 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
1180 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
1181 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
1182 { "_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1183 { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1184 { "_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1185 { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1186 { "_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1187 { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1188 { "_wxWindow","_class_wxWindow",0},
1189 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
1190 { "_class_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1191 { "_class_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1192 { "_class_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1193 { "_class_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1194 { "_class_wxFrame","_wxFrame",0},
1197 static PyObject
*SWIG_globals
;
1201 SWIGEXPORT(void) initmdic() {
1203 SWIG_globals
= SWIG_newvarlink();
1204 m
= Py_InitModule("mdic", mdicMethods
);
1205 d
= PyModule_GetDict(m
);
1208 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1209 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);