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
);
89 static void *SwigwxMDIParentFrameTowxFrame(void *ptr
) {
90 wxMDIParentFrame
*src
;
92 src
= (wxMDIParentFrame
*) ptr
;
93 dest
= (wxFrame
*) src
;
97 static void *SwigwxMDIParentFrameTowxTopLevelWindow(void *ptr
) {
98 wxMDIParentFrame
*src
;
99 wxTopLevelWindow
*dest
;
100 src
= (wxMDIParentFrame
*) ptr
;
101 dest
= (wxTopLevelWindow
*) src
;
102 return (void *) dest
;
105 static void *SwigwxMDIParentFrameTowxWindow(void *ptr
) {
106 wxMDIParentFrame
*src
;
108 src
= (wxMDIParentFrame
*) ptr
;
109 dest
= (wxWindow
*) src
;
110 return (void *) dest
;
113 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr
) {
114 wxMDIParentFrame
*src
;
116 src
= (wxMDIParentFrame
*) ptr
;
117 dest
= (wxEvtHandler
*) src
;
118 return (void *) dest
;
121 static void *SwigwxMDIParentFrameTowxObject(void *ptr
) {
122 wxMDIParentFrame
*src
;
124 src
= (wxMDIParentFrame
*) ptr
;
125 dest
= (wxObject
*) src
;
126 return (void *) dest
;
129 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
130 static PyObject
*_wrap_new_wxMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
131 PyObject
* _resultobj
;
132 wxMDIParentFrame
* _result
;
136 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
137 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
138 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
139 char * _arg6
= (char *) "frame";
140 PyObject
* _argo0
= 0;
141 PyObject
* _obj2
= 0;
143 PyObject
* _obj3
= 0;
145 PyObject
* _obj4
= 0;
146 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIParentFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
160 _arg2
= wxString_in_helper(_obj2
);
167 if (! wxPoint_helper(_obj3
, &_arg3
))
173 if (! wxSize_helper(_obj4
, &_arg4
))
177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
178 _result
= (wxMDIParentFrame
*)new_wxMDIParentFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
180 wxPyEndAllowThreads(__tstate
);
181 if (PyErr_Occurred()) return NULL
;
183 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
184 _resultobj
= Py_BuildValue("s",_ptemp
);
187 _resultobj
= Py_None
;
196 #define new_wxPreMDIParentFrame() (new wxMDIParentFrame())
197 static PyObject
*_wrap_new_wxPreMDIParentFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
198 PyObject
* _resultobj
;
199 wxMDIParentFrame
* _result
;
200 char *_kwnames
[] = { NULL
};
204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIParentFrame",_kwnames
))
207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
208 _result
= (wxMDIParentFrame
*)new_wxPreMDIParentFrame();
210 wxPyEndAllowThreads(__tstate
);
211 if (PyErr_Occurred()) return NULL
;
213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIParentFrame_p");
214 _resultobj
= Py_BuildValue("s",_ptemp
);
217 _resultobj
= Py_None
;
222 #define wxMDIParentFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
223 static PyObject
*_wrap_wxMDIParentFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
224 PyObject
* _resultobj
;
226 wxMDIParentFrame
* _arg0
;
230 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
231 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
232 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
233 char * _arg7
= (char *) "frame";
234 PyObject
* _argo0
= 0;
235 PyObject
* _argo1
= 0;
236 PyObject
* _obj3
= 0;
238 PyObject
* _obj4
= 0;
240 PyObject
* _obj5
= 0;
241 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMDIParentFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Create. Expected _wxMDIParentFrame_p.");
254 if (_argo1
== Py_None
) { _arg1
= NULL
; }
255 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_Create. Expected _wxWindow_p.");
261 _arg3
= wxString_in_helper(_obj3
);
268 if (! wxPoint_helper(_obj4
, &_arg4
))
274 if (! wxSize_helper(_obj5
, &_arg5
))
278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
279 _result
= (bool )wxMDIParentFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
281 wxPyEndAllowThreads(__tstate
);
282 if (PyErr_Occurred()) return NULL
;
283 } _resultobj
= Py_BuildValue("i",_result
);
291 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
292 static PyObject
*_wrap_wxMDIParentFrame_ActivateNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
293 PyObject
* _resultobj
;
294 wxMDIParentFrame
* _arg0
;
295 PyObject
* _argo0
= 0;
296 char *_kwnames
[] = { "self", NULL
};
299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ActivateNext",_kwnames
,&_argo0
))
302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
310 wxMDIParentFrame_ActivateNext(_arg0
);
312 wxPyEndAllowThreads(__tstate
);
313 if (PyErr_Occurred()) return NULL
;
314 } Py_INCREF(Py_None
);
315 _resultobj
= Py_None
;
319 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
320 static PyObject
*_wrap_wxMDIParentFrame_ActivatePrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
321 PyObject
* _resultobj
;
322 wxMDIParentFrame
* _arg0
;
323 PyObject
* _argo0
= 0;
324 char *_kwnames
[] = { "self", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ActivatePrevious",_kwnames
,&_argo0
))
330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p.");
337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
338 wxMDIParentFrame_ActivatePrevious(_arg0
);
340 wxPyEndAllowThreads(__tstate
);
341 if (PyErr_Occurred()) return NULL
;
342 } Py_INCREF(Py_None
);
343 _resultobj
= Py_None
;
347 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
348 static PyObject
*_wrap_wxMDIParentFrame_ArrangeIcons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
349 PyObject
* _resultobj
;
350 wxMDIParentFrame
* _arg0
;
351 PyObject
* _argo0
= 0;
352 char *_kwnames
[] = { "self", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_ArrangeIcons",_kwnames
,&_argo0
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p.");
365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
366 wxMDIParentFrame_ArrangeIcons(_arg0
);
368 wxPyEndAllowThreads(__tstate
);
369 if (PyErr_Occurred()) return NULL
;
370 } Py_INCREF(Py_None
);
371 _resultobj
= Py_None
;
375 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
376 static PyObject
*_wrap_wxMDIParentFrame_Cascade(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
377 PyObject
* _resultobj
;
378 wxMDIParentFrame
* _arg0
;
379 PyObject
* _argo0
= 0;
380 char *_kwnames
[] = { "self", NULL
};
383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Cascade",_kwnames
,&_argo0
))
386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
394 wxMDIParentFrame_Cascade(_arg0
);
396 wxPyEndAllowThreads(__tstate
);
397 if (PyErr_Occurred()) return NULL
;
398 } Py_INCREF(Py_None
);
399 _resultobj
= Py_None
;
403 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
404 static PyObject
*_wrap_wxMDIParentFrame_GetActiveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
405 PyObject
* _resultobj
;
406 wxMDIChildFrame
* _result
;
407 wxMDIParentFrame
* _arg0
;
408 PyObject
* _argo0
= 0;
409 char *_kwnames
[] = { "self", NULL
};
412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetActiveChild",_kwnames
,&_argo0
))
415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
423 _result
= (wxMDIChildFrame
*)wxMDIParentFrame_GetActiveChild(_arg0
);
425 wxPyEndAllowThreads(__tstate
);
426 if (PyErr_Occurred()) return NULL
;
427 }{ _resultobj
= wxPyMake_wxObject(_result
); }
431 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
432 static PyObject
*_wrap_wxMDIParentFrame_GetClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
433 PyObject
* _resultobj
;
434 wxMDIClientWindow
* _result
;
435 wxMDIParentFrame
* _arg0
;
436 PyObject
* _argo0
= 0;
437 char *_kwnames
[] = { "self", NULL
};
440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetClientWindow",_kwnames
,&_argo0
))
443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
451 _result
= (wxMDIClientWindow
*)wxMDIParentFrame_GetClientWindow(_arg0
);
453 wxPyEndAllowThreads(__tstate
);
454 if (PyErr_Occurred()) return NULL
;
455 }{ _resultobj
= wxPyMake_wxObject(_result
); }
459 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
460 static PyObject
*_wrap_wxMDIParentFrame_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
463 wxMDIParentFrame
* _arg0
;
464 PyObject
* _argo0
= 0;
465 char *_kwnames
[] = { "self", NULL
};
468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetToolBar",_kwnames
,&_argo0
))
471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
479 _result
= (wxWindow
*)wxMDIParentFrame_GetToolBar(_arg0
);
481 wxPyEndAllowThreads(__tstate
);
482 if (PyErr_Occurred()) return NULL
;
483 }{ _resultobj
= wxPyMake_wxObject(_result
); }
487 #define wxMDIParentFrame_GetWindowMenu(_swigobj) (_swigobj->GetWindowMenu())
488 static PyObject
*_wrap_wxMDIParentFrame_GetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
489 PyObject
* _resultobj
;
491 wxMDIParentFrame
* _arg0
;
492 PyObject
* _argo0
= 0;
493 char *_kwnames
[] = { "self", NULL
};
496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_GetWindowMenu",_kwnames
,&_argo0
))
499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_GetWindowMenu. Expected _wxMDIParentFrame_p.");
506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
507 _result
= (wxMenu
*)wxMDIParentFrame_GetWindowMenu(_arg0
);
509 wxPyEndAllowThreads(__tstate
);
510 if (PyErr_Occurred()) return NULL
;
511 }{ _resultobj
= wxPyMake_wxObject(_result
); }
515 #define wxMDIParentFrame_SetWindowMenu(_swigobj,_swigarg0) (_swigobj->SetWindowMenu(_swigarg0))
516 static PyObject
*_wrap_wxMDIParentFrame_SetWindowMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
517 PyObject
* _resultobj
;
518 wxMDIParentFrame
* _arg0
;
520 PyObject
* _argo0
= 0;
521 PyObject
* _argo1
= 0;
522 char *_kwnames
[] = { "self","menu", NULL
};
525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMDIParentFrame_SetWindowMenu",_kwnames
,&_argo0
,&_argo1
))
528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetWindowMenu. Expected _wxMDIParentFrame_p.");
535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetWindowMenu. Expected _wxMenu_p.");
542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
543 wxMDIParentFrame_SetWindowMenu(_arg0
,_arg1
);
545 wxPyEndAllowThreads(__tstate
);
546 if (PyErr_Occurred()) return NULL
;
547 } Py_INCREF(Py_None
);
548 _resultobj
= Py_None
;
552 #define wxMDIParentFrame_SetToolBar(_swigobj,_swigarg0) (_swigobj->SetToolBar(_swigarg0))
553 static PyObject
*_wrap_wxMDIParentFrame_SetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
554 PyObject
* _resultobj
;
555 wxMDIParentFrame
* _arg0
;
557 PyObject
* _argo0
= 0;
558 PyObject
* _argo1
= 0;
559 char *_kwnames
[] = { "self","toolbar", NULL
};
562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMDIParentFrame_SetToolBar",_kwnames
,&_argo0
,&_argo1
))
565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_SetToolBar. Expected _wxMDIParentFrame_p.");
572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxToolBar_p")) {
574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIParentFrame_SetToolBar. Expected _wxToolBar_p.");
579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
580 wxMDIParentFrame_SetToolBar(_arg0
,_arg1
);
582 wxPyEndAllowThreads(__tstate
);
583 if (PyErr_Occurred()) return NULL
;
584 } Py_INCREF(Py_None
);
585 _resultobj
= Py_None
;
589 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
590 static PyObject
*_wrap_wxMDIParentFrame_Tile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
591 PyObject
* _resultobj
;
592 wxMDIParentFrame
* _arg0
;
593 PyObject
* _argo0
= 0;
594 char *_kwnames
[] = { "self", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIParentFrame_Tile",_kwnames
,&_argo0
))
600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
608 wxMDIParentFrame_Tile(_arg0
);
610 wxPyEndAllowThreads(__tstate
);
611 if (PyErr_Occurred()) return NULL
;
612 } Py_INCREF(Py_None
);
613 _resultobj
= Py_None
;
617 static void *SwigwxMDIChildFrameTowxFrame(void *ptr
) {
618 wxMDIChildFrame
*src
;
620 src
= (wxMDIChildFrame
*) ptr
;
621 dest
= (wxFrame
*) src
;
622 return (void *) dest
;
625 static void *SwigwxMDIChildFrameTowxTopLevelWindow(void *ptr
) {
626 wxMDIChildFrame
*src
;
627 wxTopLevelWindow
*dest
;
628 src
= (wxMDIChildFrame
*) ptr
;
629 dest
= (wxTopLevelWindow
*) src
;
630 return (void *) dest
;
633 static void *SwigwxMDIChildFrameTowxWindow(void *ptr
) {
634 wxMDIChildFrame
*src
;
636 src
= (wxMDIChildFrame
*) ptr
;
637 dest
= (wxWindow
*) src
;
638 return (void *) dest
;
641 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr
) {
642 wxMDIChildFrame
*src
;
644 src
= (wxMDIChildFrame
*) ptr
;
645 dest
= (wxEvtHandler
*) src
;
646 return (void *) dest
;
649 static void *SwigwxMDIChildFrameTowxObject(void *ptr
) {
650 wxMDIChildFrame
*src
;
652 src
= (wxMDIChildFrame
*) ptr
;
653 dest
= (wxObject
*) src
;
654 return (void *) dest
;
657 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
658 static PyObject
*_wrap_new_wxMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
659 PyObject
* _resultobj
;
660 wxMDIChildFrame
* _result
;
661 wxMDIParentFrame
* _arg0
;
664 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
665 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
666 long _arg5
= (long ) wxDEFAULT_FRAME_STYLE
;
667 char * _arg6
= (char *) "frame";
668 PyObject
* _argo0
= 0;
669 PyObject
* _obj2
= 0;
671 PyObject
* _obj3
= 0;
673 PyObject
* _obj4
= 0;
674 char *_kwnames
[] = { "parent","id","title","pos","size","style","name", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxMDIChildFrame",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
688 _arg2
= wxString_in_helper(_obj2
);
695 if (! wxPoint_helper(_obj3
, &_arg3
))
701 if (! wxSize_helper(_obj4
, &_arg4
))
705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
706 _result
= (wxMDIChildFrame
*)new_wxMDIChildFrame(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
708 wxPyEndAllowThreads(__tstate
);
709 if (PyErr_Occurred()) return NULL
;
711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
712 _resultobj
= Py_BuildValue("s",_ptemp
);
715 _resultobj
= Py_None
;
724 #define new_wxPreMDIChildFrame() (new wxMDIChildFrame())
725 static PyObject
*_wrap_new_wxPreMDIChildFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
726 PyObject
* _resultobj
;
727 wxMDIChildFrame
* _result
;
728 char *_kwnames
[] = { NULL
};
732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIChildFrame",_kwnames
))
735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 _result
= (wxMDIChildFrame
*)new_wxPreMDIChildFrame();
738 wxPyEndAllowThreads(__tstate
);
739 if (PyErr_Occurred()) return NULL
;
741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIChildFrame_p");
742 _resultobj
= Py_BuildValue("s",_ptemp
);
745 _resultobj
= Py_None
;
750 #define wxMDIChildFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
751 static PyObject
*_wrap_wxMDIChildFrame_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
754 wxMDIChildFrame
* _arg0
;
755 wxMDIParentFrame
* _arg1
;
758 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
759 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
760 long _arg6
= (long ) wxDEFAULT_FRAME_STYLE
;
761 char * _arg7
= (char *) "frame";
762 PyObject
* _argo0
= 0;
763 PyObject
* _argo1
= 0;
764 PyObject
* _obj3
= 0;
766 PyObject
* _obj4
= 0;
768 PyObject
* _obj5
= 0;
769 char *_kwnames
[] = { "self","parent","id","title","pos","size","style","name", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxMDIChildFrame_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Create. Expected _wxMDIChildFrame_p.");
782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIChildFrame_Create. Expected _wxMDIParentFrame_p.");
789 _arg3
= wxString_in_helper(_obj3
);
796 if (! wxPoint_helper(_obj4
, &_arg4
))
802 if (! wxSize_helper(_obj5
, &_arg5
))
806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
807 _result
= (bool )wxMDIChildFrame_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
809 wxPyEndAllowThreads(__tstate
);
810 if (PyErr_Occurred()) return NULL
;
811 } _resultobj
= Py_BuildValue("i",_result
);
819 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
820 static PyObject
*_wrap_wxMDIChildFrame_Activate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
821 PyObject
* _resultobj
;
822 wxMDIChildFrame
* _arg0
;
823 PyObject
* _argo0
= 0;
824 char *_kwnames
[] = { "self", NULL
};
827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Activate",_kwnames
,&_argo0
))
830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
838 wxMDIChildFrame_Activate(_arg0
);
840 wxPyEndAllowThreads(__tstate
);
841 if (PyErr_Occurred()) return NULL
;
842 } Py_INCREF(Py_None
);
843 _resultobj
= Py_None
;
847 #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
848 static PyObject
*_wrap_wxMDIChildFrame_Maximize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
849 PyObject
* _resultobj
;
850 wxMDIChildFrame
* _arg0
;
852 PyObject
* _argo0
= 0;
854 char *_kwnames
[] = { "self","maximize", NULL
};
857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxMDIChildFrame_Maximize",_kwnames
,&_argo0
,&tempbool1
))
860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
866 _arg1
= (bool ) tempbool1
;
868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
869 wxMDIChildFrame_Maximize(_arg0
,_arg1
);
871 wxPyEndAllowThreads(__tstate
);
872 if (PyErr_Occurred()) return NULL
;
873 } Py_INCREF(Py_None
);
874 _resultobj
= Py_None
;
878 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
879 static PyObject
*_wrap_wxMDIChildFrame_Restore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
880 PyObject
* _resultobj
;
881 wxMDIChildFrame
* _arg0
;
882 PyObject
* _argo0
= 0;
883 char *_kwnames
[] = { "self", NULL
};
886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMDIChildFrame_Restore",_kwnames
,&_argo0
))
889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIChildFrame_p")) {
891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
897 wxMDIChildFrame_Restore(_arg0
);
899 wxPyEndAllowThreads(__tstate
);
900 if (PyErr_Occurred()) return NULL
;
901 } Py_INCREF(Py_None
);
902 _resultobj
= Py_None
;
906 static void *SwigwxMDIClientWindowTowxWindow(void *ptr
) {
907 wxMDIClientWindow
*src
;
909 src
= (wxMDIClientWindow
*) ptr
;
910 dest
= (wxWindow
*) src
;
911 return (void *) dest
;
914 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr
) {
915 wxMDIClientWindow
*src
;
917 src
= (wxMDIClientWindow
*) ptr
;
918 dest
= (wxEvtHandler
*) src
;
919 return (void *) dest
;
922 static void *SwigwxMDIClientWindowTowxObject(void *ptr
) {
923 wxMDIClientWindow
*src
;
925 src
= (wxMDIClientWindow
*) ptr
;
926 dest
= (wxObject
*) src
;
927 return (void *) dest
;
930 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
931 static PyObject
*_wrap_new_wxMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
932 PyObject
* _resultobj
;
933 wxMDIClientWindow
* _result
;
934 wxMDIParentFrame
* _arg0
;
935 long _arg1
= (long ) 0;
936 PyObject
* _argo0
= 0;
937 char *_kwnames
[] = { "parent","style", NULL
};
941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:new_wxMDIClientWindow",_kwnames
,&_argo0
,&_arg1
))
944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIParentFrame_p")) {
946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 _result
= (wxMDIClientWindow
*)new_wxMDIClientWindow(_arg0
,_arg1
);
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) return NULL
;
957 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
958 _resultobj
= Py_BuildValue("s",_ptemp
);
961 _resultobj
= Py_None
;
966 #define new_wxPreMDIClientWindow() (new wxMDIClientWindow())
967 static PyObject
*_wrap_new_wxPreMDIClientWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
969 wxMDIClientWindow
* _result
;
970 char *_kwnames
[] = { NULL
};
974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreMDIClientWindow",_kwnames
))
977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
978 _result
= (wxMDIClientWindow
*)new_wxPreMDIClientWindow();
980 wxPyEndAllowThreads(__tstate
);
981 if (PyErr_Occurred()) return NULL
;
983 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMDIClientWindow_p");
984 _resultobj
= Py_BuildValue("s",_ptemp
);
987 _resultobj
= Py_None
;
992 #define wxMDIClientWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
993 static PyObject
*_wrap_wxMDIClientWindow_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
994 PyObject
* _resultobj
;
996 wxMDIClientWindow
* _arg0
;
997 wxMDIParentFrame
* _arg1
;
998 long _arg2
= (long ) 0;
999 PyObject
* _argo0
= 0;
1000 PyObject
* _argo1
= 0;
1001 char *_kwnames
[] = { "self","parent","style", NULL
};
1004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|l:wxMDIClientWindow_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
1007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMDIClientWindow_p")) {
1009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMDIClientWindow_Create. Expected _wxMDIClientWindow_p.");
1014 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1015 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMDIParentFrame_p")) {
1016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMDIClientWindow_Create. Expected _wxMDIParentFrame_p.");
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 _result
= (bool )wxMDIClientWindow_Create(_arg0
,_arg1
,_arg2
);
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1026 } _resultobj
= Py_BuildValue("i",_result
);
1030 static PyMethodDef mdicMethods
[] = {
1031 { "wxMDIClientWindow_Create", (PyCFunction
) _wrap_wxMDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
},
1032 { "new_wxPreMDIClientWindow", (PyCFunction
) _wrap_new_wxPreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
1033 { "new_wxMDIClientWindow", (PyCFunction
) _wrap_new_wxMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
1034 { "wxMDIChildFrame_Restore", (PyCFunction
) _wrap_wxMDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
},
1035 { "wxMDIChildFrame_Maximize", (PyCFunction
) _wrap_wxMDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
},
1036 { "wxMDIChildFrame_Activate", (PyCFunction
) _wrap_wxMDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
},
1037 { "wxMDIChildFrame_Create", (PyCFunction
) _wrap_wxMDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
1038 { "new_wxPreMDIChildFrame", (PyCFunction
) _wrap_new_wxPreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
1039 { "new_wxMDIChildFrame", (PyCFunction
) _wrap_new_wxMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
},
1040 { "wxMDIParentFrame_Tile", (PyCFunction
) _wrap_wxMDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
},
1041 { "wxMDIParentFrame_SetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1042 { "wxMDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_wxMDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
1043 { "wxMDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_wxMDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
},
1044 { "wxMDIParentFrame_GetToolBar", (PyCFunction
) _wrap_wxMDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
1045 { "wxMDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_wxMDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
},
1046 { "wxMDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_wxMDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
},
1047 { "wxMDIParentFrame_Cascade", (PyCFunction
) _wrap_wxMDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
},
1048 { "wxMDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_wxMDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
},
1049 { "wxMDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_wxMDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
},
1050 { "wxMDIParentFrame_ActivateNext", (PyCFunction
) _wrap_wxMDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
},
1051 { "wxMDIParentFrame_Create", (PyCFunction
) _wrap_wxMDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
},
1052 { "new_wxPreMDIParentFrame", (PyCFunction
) _wrap_new_wxPreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
1053 { "new_wxMDIParentFrame", (PyCFunction
) _wrap_new_wxMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
},
1060 * This table is used by the pointer type-checker
1062 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
1063 { "_signed_long","_long",0},
1064 { "_wxPrintQuality","_wxCoord",0},
1065 { "_wxPrintQuality","_int",0},
1066 { "_wxPrintQuality","_signed_int",0},
1067 { "_wxPrintQuality","_unsigned_int",0},
1068 { "_wxPrintQuality","_wxWindowID",0},
1069 { "_wxPrintQuality","_uint",0},
1070 { "_wxPrintQuality","_EBool",0},
1071 { "_wxPrintQuality","_size_t",0},
1072 { "_wxPrintQuality","_time_t",0},
1073 { "_byte","_unsigned_char",0},
1074 { "_long","_unsigned_long",0},
1075 { "_long","_signed_long",0},
1076 { "_size_t","_wxCoord",0},
1077 { "_size_t","_wxPrintQuality",0},
1078 { "_size_t","_time_t",0},
1079 { "_size_t","_unsigned_int",0},
1080 { "_size_t","_int",0},
1081 { "_size_t","_wxWindowID",0},
1082 { "_size_t","_uint",0},
1083 { "_wxTopLevelWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxTopLevelWindow
},
1084 { "_wxTopLevelWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxTopLevelWindow
},
1085 { "_uint","_wxCoord",0},
1086 { "_uint","_wxPrintQuality",0},
1087 { "_uint","_time_t",0},
1088 { "_uint","_size_t",0},
1089 { "_uint","_unsigned_int",0},
1090 { "_uint","_int",0},
1091 { "_uint","_wxWindowID",0},
1092 { "_wxChar","_char",0},
1093 { "_char","_wxChar",0},
1094 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1095 { "_EBool","_wxCoord",0},
1096 { "_EBool","_wxPrintQuality",0},
1097 { "_EBool","_signed_int",0},
1098 { "_EBool","_int",0},
1099 { "_EBool","_wxWindowID",0},
1100 { "_unsigned_long","_long",0},
1101 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1102 { "_signed_int","_wxCoord",0},
1103 { "_signed_int","_wxPrintQuality",0},
1104 { "_signed_int","_EBool",0},
1105 { "_signed_int","_wxWindowID",0},
1106 { "_signed_int","_int",0},
1107 { "_WXTYPE","_short",0},
1108 { "_WXTYPE","_signed_short",0},
1109 { "_WXTYPE","_unsigned_short",0},
1110 { "_unsigned_short","_WXTYPE",0},
1111 { "_unsigned_short","_short",0},
1112 { "_wxObject","_wxMDIClientWindow",SwigwxMDIClientWindowTowxObject
},
1113 { "_wxObject","_wxMDIChildFrame",SwigwxMDIChildFrameTowxObject
},
1114 { "_wxObject","_wxMDIParentFrame",SwigwxMDIParentFrameTowxObject
},
1115 { "_signed_short","_WXTYPE",0},
1116 { "_signed_short","_short",0},
1117 { "_unsigned_char","_byte",0},
1118 { "_unsigned_int","_wxCoord",0},
1119 { "_unsigned_int","_wxPrintQuality",0},
1120 { "_unsigned_int","_time_t",0},
1121 { "_unsigned_int","_size_t",0},
1122 { "_unsigned_int","_uint",0},
1123 { "_unsigned_int","_wxWindowID",0},
1124 { "_unsigned_int","_int",0},
1125 { "_short","_WXTYPE",0},
1126 { "_short","_unsigned_short",0},
1127 { "_short","_signed_short",0},
1128 { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame
},
1129 { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame
},
1130 { "_wxWindowID","_wxCoord",0},
1131 { "_wxWindowID","_wxPrintQuality",0},
1132 { "_wxWindowID","_time_t",0},
1133 { "_wxWindowID","_size_t",0},
1134 { "_wxWindowID","_EBool",0},
1135 { "_wxWindowID","_uint",0},
1136 { "_wxWindowID","_int",0},
1137 { "_wxWindowID","_signed_int",0},
1138 { "_wxWindowID","_unsigned_int",0},
1139 { "_int","_wxCoord",0},
1140 { "_int","_wxPrintQuality",0},
1141 { "_int","_time_t",0},
1142 { "_int","_size_t",0},
1143 { "_int","_EBool",0},
1144 { "_int","_uint",0},
1145 { "_int","_wxWindowID",0},
1146 { "_int","_unsigned_int",0},
1147 { "_int","_signed_int",0},
1148 { "_time_t","_wxCoord",0},
1149 { "_time_t","_wxPrintQuality",0},
1150 { "_time_t","_unsigned_int",0},
1151 { "_time_t","_int",0},
1152 { "_time_t","_wxWindowID",0},
1153 { "_time_t","_uint",0},
1154 { "_time_t","_size_t",0},
1155 { "_wxCoord","_int",0},
1156 { "_wxCoord","_signed_int",0},
1157 { "_wxCoord","_unsigned_int",0},
1158 { "_wxCoord","_wxWindowID",0},
1159 { "_wxCoord","_uint",0},
1160 { "_wxCoord","_EBool",0},
1161 { "_wxCoord","_size_t",0},
1162 { "_wxCoord","_time_t",0},
1163 { "_wxCoord","_wxPrintQuality",0},
1164 { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler
},
1165 { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler
},
1166 { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler
},
1167 { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow
},
1168 { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow
},
1169 { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow
},
1172 static PyObject
*SWIG_globals
;
1176 SWIGEXPORT(void) initmdic() {
1178 SWIG_globals
= SWIG_newvarlink();
1179 m
= Py_InitModule("mdic", mdicMethods
);
1180 d
= PyModule_GetDict(m
);
1181 PyDict_SetItemString(d
,"IDM_WINDOWTILE", PyInt_FromLong((long) 4001));
1182 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", PyInt_FromLong((long) 4001));
1183 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", PyInt_FromLong((long) 4002));
1184 PyDict_SetItemString(d
,"IDM_WINDOWICONS", PyInt_FromLong((long) 4003));
1185 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", PyInt_FromLong((long) 4004));
1186 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", PyInt_FromLong((long) 4005));
1187 PyDict_SetItemString(d
,"wxFIRST_MDI_CHILD", PyInt_FromLong((long) 4100));
1188 PyDict_SetItemString(d
,"wxLAST_MDI_CHILD", PyInt_FromLong((long) 4600));
1191 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
1192 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);