]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/mdi.cpp
Using a new version of SWIG
[wxWidgets.git] / utils / wxPython / src / gtk / mdi.cpp
1 /*
2 * FILE : gtk/mdi.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 6)
7 *
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.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initmdic
53
54 #define SWIG_name "mdic"
55
56 #include "helpers.h"
57
58 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
59 PyObject* o2;
60 PyObject* o3;
61 if (!target) {
62 target = o;
63 } else if (target == Py_None) {
64 Py_DECREF(Py_None);
65 target = o;
66 } else {
67 if (!PyList_Check(target)) {
68 o2 = target;
69 target = PyList_New(0);
70 PyList_Append(target, o2);
71 Py_XDECREF(o2);
72 }
73 PyList_Append(target,o);
74 Py_XDECREF(o);
75 }
76 return target;
77 }
78
79 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
83 if (!target) {
84 target = o;
85 } else if (target == Py_None) {
86 Py_DECREF(Py_None);
87 target = o;
88 } else {
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
96
97 o2 = target;
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
100 Py_DECREF(o3);
101 }
102 return target;
103 }
104
105
106 extern byte* byte_LIST_helper(PyObject* source);
107 extern int* int_LIST_helper(PyObject* source);
108 extern long* long_LIST_helper(PyObject* source);
109 extern char** string_LIST_helper(PyObject* source);
110 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
111 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
112 extern wxString* wxString_LIST_helper(PyObject* source);
113 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
114
115
116 static char* wxStringErrorMsg = "string type is required for parameter";
117 #ifdef __cplusplus
118 extern "C" {
119 #endif
120 static void *SwigwxMDIParentFrameTowxFrame(void *ptr) {
121 wxMDIParentFrame *src;
122 wxFrame *dest;
123 src = (wxMDIParentFrame *) ptr;
124 dest = (wxFrame *) src;
125 return (void *) dest;
126 }
127
128 static void *SwigwxMDIParentFrameTowxWindow(void *ptr) {
129 wxMDIParentFrame *src;
130 wxWindow *dest;
131 src = (wxMDIParentFrame *) ptr;
132 dest = (wxWindow *) src;
133 return (void *) dest;
134 }
135
136 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr) {
137 wxMDIParentFrame *src;
138 wxEvtHandler *dest;
139 src = (wxMDIParentFrame *) ptr;
140 dest = (wxEvtHandler *) src;
141 return (void *) dest;
142 }
143
144 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
145 static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args) {
146 PyObject * _resultobj;
147 wxMDIParentFrame * _result;
148 wxWindow * _arg0;
149 wxWindowID _arg1;
150 wxString * _arg2;
151 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
152 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
153 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL;
154 char * _arg6 = (char *) "frame";
155 PyObject * _argo0 = 0;
156 PyObject * _obj2 = 0;
157 PyObject * _argo3 = 0;
158 PyObject * _argo4 = 0;
159 char _ptemp[128];
160
161 self = self;
162 if(!PyArg_ParseTuple(args,"OiO|OOls:new_wxMDIParentFrame",&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
163 return NULL;
164 if (_argo0) {
165 if (_argo0 == Py_None) { _arg0 = NULL; }
166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
168 return NULL;
169 }
170 }
171 {
172 if (!PyString_Check(_obj2)) {
173 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
174 return NULL;
175 }
176 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
177 }
178 if (_argo3) {
179 if (_argo3 == Py_None) { _arg3 = NULL; }
180 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
181 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxMDIParentFrame. Expected _wxPoint_p.");
182 return NULL;
183 }
184 }
185 if (_argo4) {
186 if (_argo4 == Py_None) { _arg4 = NULL; }
187 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxSize_p")) {
188 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxMDIParentFrame. Expected _wxSize_p.");
189 return NULL;
190 }
191 }
192 {
193 wxPy_BEGIN_ALLOW_THREADS;
194 _result = (wxMDIParentFrame *)new_wxMDIParentFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
195
196 wxPy_END_ALLOW_THREADS;
197 } if (_result) {
198 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIParentFrame_p");
199 _resultobj = Py_BuildValue("s",_ptemp);
200 } else {
201 Py_INCREF(Py_None);
202 _resultobj = Py_None;
203 }
204 {
205 if (_obj2)
206 delete _arg2;
207 }
208 return _resultobj;
209 }
210
211 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
212 static PyObject *_wrap_wxMDIParentFrame_ActivateNext(PyObject *self, PyObject *args) {
213 PyObject * _resultobj;
214 wxMDIParentFrame * _arg0;
215 PyObject * _argo0 = 0;
216
217 self = self;
218 if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_ActivateNext",&_argo0))
219 return NULL;
220 if (_argo0) {
221 if (_argo0 == Py_None) { _arg0 = NULL; }
222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
224 return NULL;
225 }
226 }
227 {
228 wxPy_BEGIN_ALLOW_THREADS;
229 wxMDIParentFrame_ActivateNext(_arg0);
230
231 wxPy_END_ALLOW_THREADS;
232 } Py_INCREF(Py_None);
233 _resultobj = Py_None;
234 return _resultobj;
235 }
236
237 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
238 static PyObject *_wrap_wxMDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args) {
239 PyObject * _resultobj;
240 wxMDIParentFrame * _arg0;
241 PyObject * _argo0 = 0;
242
243 self = self;
244 if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_ActivatePrevious",&_argo0))
245 return NULL;
246 if (_argo0) {
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_ActivatePrevious. Expected _wxMDIParentFrame_p.");
250 return NULL;
251 }
252 }
253 {
254 wxPy_BEGIN_ALLOW_THREADS;
255 wxMDIParentFrame_ActivatePrevious(_arg0);
256
257 wxPy_END_ALLOW_THREADS;
258 } Py_INCREF(Py_None);
259 _resultobj = Py_None;
260 return _resultobj;
261 }
262
263 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
264 static PyObject *_wrap_wxMDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args) {
265 PyObject * _resultobj;
266 wxMDIParentFrame * _arg0;
267 PyObject * _argo0 = 0;
268
269 self = self;
270 if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_ArrangeIcons",&_argo0))
271 return NULL;
272 if (_argo0) {
273 if (_argo0 == Py_None) { _arg0 = NULL; }
274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_ArrangeIcons. Expected _wxMDIParentFrame_p.");
276 return NULL;
277 }
278 }
279 {
280 wxPy_BEGIN_ALLOW_THREADS;
281 wxMDIParentFrame_ArrangeIcons(_arg0);
282
283 wxPy_END_ALLOW_THREADS;
284 } Py_INCREF(Py_None);
285 _resultobj = Py_None;
286 return _resultobj;
287 }
288
289 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
290 static PyObject *_wrap_wxMDIParentFrame_Cascade(PyObject *self, PyObject *args) {
291 PyObject * _resultobj;
292 wxMDIParentFrame * _arg0;
293 PyObject * _argo0 = 0;
294
295 self = self;
296 if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_Cascade",&_argo0))
297 return NULL;
298 if (_argo0) {
299 if (_argo0 == Py_None) { _arg0 = NULL; }
300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
302 return NULL;
303 }
304 }
305 {
306 wxPy_BEGIN_ALLOW_THREADS;
307 wxMDIParentFrame_Cascade(_arg0);
308
309 wxPy_END_ALLOW_THREADS;
310 } Py_INCREF(Py_None);
311 _resultobj = Py_None;
312 return _resultobj;
313 }
314
315 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
316 static PyObject *_wrap_wxMDIParentFrame_GetActiveChild(PyObject *self, PyObject *args) {
317 PyObject * _resultobj;
318 wxMDIChildFrame * _result;
319 wxMDIParentFrame * _arg0;
320 PyObject * _argo0 = 0;
321 char _ptemp[128];
322
323 self = self;
324 if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_GetActiveChild",&_argo0))
325 return NULL;
326 if (_argo0) {
327 if (_argo0 == Py_None) { _arg0 = NULL; }
328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
330 return NULL;
331 }
332 }
333 {
334 wxPy_BEGIN_ALLOW_THREADS;
335 _result = (wxMDIChildFrame *)wxMDIParentFrame_GetActiveChild(_arg0);
336
337 wxPy_END_ALLOW_THREADS;
338 } if (_result) {
339 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIChildFrame_p");
340 _resultobj = Py_BuildValue("s",_ptemp);
341 } else {
342 Py_INCREF(Py_None);
343 _resultobj = Py_None;
344 }
345 return _resultobj;
346 }
347
348 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
349 static PyObject *_wrap_wxMDIParentFrame_GetClientWindow(PyObject *self, PyObject *args) {
350 PyObject * _resultobj;
351 wxMDIClientWindow * _result;
352 wxMDIParentFrame * _arg0;
353 PyObject * _argo0 = 0;
354 char _ptemp[128];
355
356 self = self;
357 if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_GetClientWindow",&_argo0))
358 return NULL;
359 if (_argo0) {
360 if (_argo0 == Py_None) { _arg0 = NULL; }
361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
363 return NULL;
364 }
365 }
366 {
367 wxPy_BEGIN_ALLOW_THREADS;
368 _result = (wxMDIClientWindow *)wxMDIParentFrame_GetClientWindow(_arg0);
369
370 wxPy_END_ALLOW_THREADS;
371 } if (_result) {
372 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIClientWindow_p");
373 _resultobj = Py_BuildValue("s",_ptemp);
374 } else {
375 Py_INCREF(Py_None);
376 _resultobj = Py_None;
377 }
378 return _resultobj;
379 }
380
381 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
382 static PyObject *_wrap_wxMDIParentFrame_GetToolBar(PyObject *self, PyObject *args) {
383 PyObject * _resultobj;
384 wxWindow * _result;
385 wxMDIParentFrame * _arg0;
386 PyObject * _argo0 = 0;
387 char _ptemp[128];
388
389 self = self;
390 if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_GetToolBar",&_argo0))
391 return NULL;
392 if (_argo0) {
393 if (_argo0 == Py_None) { _arg0 = NULL; }
394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
396 return NULL;
397 }
398 }
399 {
400 wxPy_BEGIN_ALLOW_THREADS;
401 _result = (wxWindow *)wxMDIParentFrame_GetToolBar(_arg0);
402
403 wxPy_END_ALLOW_THREADS;
404 } if (_result) {
405 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
406 _resultobj = Py_BuildValue("s",_ptemp);
407 } else {
408 Py_INCREF(Py_None);
409 _resultobj = Py_None;
410 }
411 return _resultobj;
412 }
413
414 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
415 static PyObject *_wrap_wxMDIParentFrame_Tile(PyObject *self, PyObject *args) {
416 PyObject * _resultobj;
417 wxMDIParentFrame * _arg0;
418 PyObject * _argo0 = 0;
419
420 self = self;
421 if(!PyArg_ParseTuple(args,"O:wxMDIParentFrame_Tile",&_argo0))
422 return NULL;
423 if (_argo0) {
424 if (_argo0 == Py_None) { _arg0 = NULL; }
425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
427 return NULL;
428 }
429 }
430 {
431 wxPy_BEGIN_ALLOW_THREADS;
432 wxMDIParentFrame_Tile(_arg0);
433
434 wxPy_END_ALLOW_THREADS;
435 } Py_INCREF(Py_None);
436 _resultobj = Py_None;
437 return _resultobj;
438 }
439
440 static void *SwigwxMDIChildFrameTowxFrame(void *ptr) {
441 wxMDIChildFrame *src;
442 wxFrame *dest;
443 src = (wxMDIChildFrame *) ptr;
444 dest = (wxFrame *) src;
445 return (void *) dest;
446 }
447
448 static void *SwigwxMDIChildFrameTowxWindow(void *ptr) {
449 wxMDIChildFrame *src;
450 wxWindow *dest;
451 src = (wxMDIChildFrame *) ptr;
452 dest = (wxWindow *) src;
453 return (void *) dest;
454 }
455
456 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr) {
457 wxMDIChildFrame *src;
458 wxEvtHandler *dest;
459 src = (wxMDIChildFrame *) ptr;
460 dest = (wxEvtHandler *) src;
461 return (void *) dest;
462 }
463
464 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
465 static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args) {
466 PyObject * _resultobj;
467 wxMDIChildFrame * _result;
468 wxMDIParentFrame * _arg0;
469 wxWindowID _arg1;
470 wxString * _arg2;
471 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
472 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
473 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
474 char * _arg6 = (char *) "frame";
475 PyObject * _argo0 = 0;
476 PyObject * _obj2 = 0;
477 PyObject * _argo3 = 0;
478 PyObject * _argo4 = 0;
479 char _ptemp[128];
480
481 self = self;
482 if(!PyArg_ParseTuple(args,"OiO|OOls:new_wxMDIChildFrame",&_argo0,&_arg1,&_obj2,&_argo3,&_argo4,&_arg5,&_arg6))
483 return NULL;
484 if (_argo0) {
485 if (_argo0 == Py_None) { _arg0 = NULL; }
486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
488 return NULL;
489 }
490 }
491 {
492 if (!PyString_Check(_obj2)) {
493 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
494 return NULL;
495 }
496 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
497 }
498 if (_argo3) {
499 if (_argo3 == Py_None) { _arg3 = NULL; }
500 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
501 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxMDIChildFrame. Expected _wxPoint_p.");
502 return NULL;
503 }
504 }
505 if (_argo4) {
506 if (_argo4 == Py_None) { _arg4 = NULL; }
507 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxSize_p")) {
508 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxMDIChildFrame. Expected _wxSize_p.");
509 return NULL;
510 }
511 }
512 {
513 wxPy_BEGIN_ALLOW_THREADS;
514 _result = (wxMDIChildFrame *)new_wxMDIChildFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
515
516 wxPy_END_ALLOW_THREADS;
517 } if (_result) {
518 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIChildFrame_p");
519 _resultobj = Py_BuildValue("s",_ptemp);
520 } else {
521 Py_INCREF(Py_None);
522 _resultobj = Py_None;
523 }
524 {
525 if (_obj2)
526 delete _arg2;
527 }
528 return _resultobj;
529 }
530
531 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
532 static PyObject *_wrap_wxMDIChildFrame_Activate(PyObject *self, PyObject *args) {
533 PyObject * _resultobj;
534 wxMDIChildFrame * _arg0;
535 PyObject * _argo0 = 0;
536
537 self = self;
538 if(!PyArg_ParseTuple(args,"O:wxMDIChildFrame_Activate",&_argo0))
539 return NULL;
540 if (_argo0) {
541 if (_argo0 == Py_None) { _arg0 = NULL; }
542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) {
543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
544 return NULL;
545 }
546 }
547 {
548 wxPy_BEGIN_ALLOW_THREADS;
549 wxMDIChildFrame_Activate(_arg0);
550
551 wxPy_END_ALLOW_THREADS;
552 } Py_INCREF(Py_None);
553 _resultobj = Py_None;
554 return _resultobj;
555 }
556
557 #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
558 static PyObject *_wrap_wxMDIChildFrame_Maximize(PyObject *self, PyObject *args) {
559 PyObject * _resultobj;
560 wxMDIChildFrame * _arg0;
561 bool _arg1;
562 PyObject * _argo0 = 0;
563 int tempbool1;
564
565 self = self;
566 if(!PyArg_ParseTuple(args,"Oi:wxMDIChildFrame_Maximize",&_argo0,&tempbool1))
567 return NULL;
568 if (_argo0) {
569 if (_argo0 == Py_None) { _arg0 = NULL; }
570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) {
571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
572 return NULL;
573 }
574 }
575 _arg1 = (bool ) tempbool1;
576 {
577 wxPy_BEGIN_ALLOW_THREADS;
578 wxMDIChildFrame_Maximize(_arg0,_arg1);
579
580 wxPy_END_ALLOW_THREADS;
581 } Py_INCREF(Py_None);
582 _resultobj = Py_None;
583 return _resultobj;
584 }
585
586 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
587 static PyObject *_wrap_wxMDIChildFrame_Restore(PyObject *self, PyObject *args) {
588 PyObject * _resultobj;
589 wxMDIChildFrame * _arg0;
590 PyObject * _argo0 = 0;
591
592 self = self;
593 if(!PyArg_ParseTuple(args,"O:wxMDIChildFrame_Restore",&_argo0))
594 return NULL;
595 if (_argo0) {
596 if (_argo0 == Py_None) { _arg0 = NULL; }
597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) {
598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
599 return NULL;
600 }
601 }
602 {
603 wxPy_BEGIN_ALLOW_THREADS;
604 wxMDIChildFrame_Restore(_arg0);
605
606 wxPy_END_ALLOW_THREADS;
607 } Py_INCREF(Py_None);
608 _resultobj = Py_None;
609 return _resultobj;
610 }
611
612 static void *SwigwxMDIClientWindowTowxWindow(void *ptr) {
613 wxMDIClientWindow *src;
614 wxWindow *dest;
615 src = (wxMDIClientWindow *) ptr;
616 dest = (wxWindow *) src;
617 return (void *) dest;
618 }
619
620 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr) {
621 wxMDIClientWindow *src;
622 wxEvtHandler *dest;
623 src = (wxMDIClientWindow *) ptr;
624 dest = (wxEvtHandler *) src;
625 return (void *) dest;
626 }
627
628 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
629 static PyObject *_wrap_new_wxMDIClientWindow(PyObject *self, PyObject *args) {
630 PyObject * _resultobj;
631 wxMDIClientWindow * _result;
632 wxMDIParentFrame * _arg0;
633 long _arg1 = (long ) 0;
634 PyObject * _argo0 = 0;
635 char _ptemp[128];
636
637 self = self;
638 if(!PyArg_ParseTuple(args,"O|l:new_wxMDIClientWindow",&_argo0,&_arg1))
639 return NULL;
640 if (_argo0) {
641 if (_argo0 == Py_None) { _arg0 = NULL; }
642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
644 return NULL;
645 }
646 }
647 {
648 wxPy_BEGIN_ALLOW_THREADS;
649 _result = (wxMDIClientWindow *)new_wxMDIClientWindow(_arg0,_arg1);
650
651 wxPy_END_ALLOW_THREADS;
652 } if (_result) {
653 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIClientWindow_p");
654 _resultobj = Py_BuildValue("s",_ptemp);
655 } else {
656 Py_INCREF(Py_None);
657 _resultobj = Py_None;
658 }
659 return _resultobj;
660 }
661
662 static PyMethodDef mdicMethods[] = {
663 { "new_wxMDIClientWindow", _wrap_new_wxMDIClientWindow, METH_VARARGS },
664 { "wxMDIChildFrame_Restore", _wrap_wxMDIChildFrame_Restore, METH_VARARGS },
665 { "wxMDIChildFrame_Maximize", _wrap_wxMDIChildFrame_Maximize, METH_VARARGS },
666 { "wxMDIChildFrame_Activate", _wrap_wxMDIChildFrame_Activate, METH_VARARGS },
667 { "new_wxMDIChildFrame", _wrap_new_wxMDIChildFrame, METH_VARARGS },
668 { "wxMDIParentFrame_Tile", _wrap_wxMDIParentFrame_Tile, METH_VARARGS },
669 { "wxMDIParentFrame_GetToolBar", _wrap_wxMDIParentFrame_GetToolBar, METH_VARARGS },
670 { "wxMDIParentFrame_GetClientWindow", _wrap_wxMDIParentFrame_GetClientWindow, METH_VARARGS },
671 { "wxMDIParentFrame_GetActiveChild", _wrap_wxMDIParentFrame_GetActiveChild, METH_VARARGS },
672 { "wxMDIParentFrame_Cascade", _wrap_wxMDIParentFrame_Cascade, METH_VARARGS },
673 { "wxMDIParentFrame_ArrangeIcons", _wrap_wxMDIParentFrame_ArrangeIcons, METH_VARARGS },
674 { "wxMDIParentFrame_ActivatePrevious", _wrap_wxMDIParentFrame_ActivatePrevious, METH_VARARGS },
675 { "wxMDIParentFrame_ActivateNext", _wrap_wxMDIParentFrame_ActivateNext, METH_VARARGS },
676 { "new_wxMDIParentFrame", _wrap_new_wxMDIParentFrame, METH_VARARGS },
677 { NULL, NULL }
678 };
679 #ifdef __cplusplus
680 }
681 #endif
682 /*
683 * This table is used by the pointer type-checker
684 */
685 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
686 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
687 { "_wxEvent","_class_wxEvent",0},
688 { "_class_wxActivateEvent","_wxActivateEvent",0},
689 { "_signed_long","_long",0},
690 { "_wxMenuEvent","_class_wxMenuEvent",0},
691 { "_wxPrintQuality","_int",0},
692 { "_wxPrintQuality","_signed_int",0},
693 { "_wxPrintQuality","_unsigned_int",0},
694 { "_wxPrintQuality","_wxWindowID",0},
695 { "_wxPrintQuality","_uint",0},
696 { "_wxPrintQuality","_EBool",0},
697 { "_wxPrintQuality","_size_t",0},
698 { "_class_wxRegionIterator","_wxRegionIterator",0},
699 { "_class_wxMenuBar","_wxMenuBar",0},
700 { "_class_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler},
701 { "_class_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler},
702 { "_class_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler},
703 { "_class_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler},
704 { "_class_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler},
705 { "_class_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler},
706 { "_class_wxEvtHandler","_wxEvtHandler",0},
707 { "_wxPaintEvent","_class_wxPaintEvent",0},
708 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
709 { "_wxCursor","_class_wxCursor",0},
710 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
711 { "_wxMask","_class_wxMask",0},
712 { "_wxPen","_class_wxPen",0},
713 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
714 { "_byte","_unsigned_char",0},
715 { "_wxStaticBox","_class_wxStaticBox",0},
716 { "_wxChoice","_class_wxChoice",0},
717 { "_wxSlider","_class_wxSlider",0},
718 { "_long","_wxDash",0},
719 { "_long","_unsigned_long",0},
720 { "_long","_signed_long",0},
721 { "_wxImageList","_class_wxImageList",0},
722 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
723 { "_wxBitmapButton","_class_wxBitmapButton",0},
724 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
725 { "_class_wxGauge","_wxGauge",0},
726 { "_wxDC","_class_wxDC",0},
727 { "_wxSpinEvent","_class_wxSpinEvent",0},
728 { "_size_t","_wxPrintQuality",0},
729 { "_size_t","_unsigned_int",0},
730 { "_size_t","_int",0},
731 { "_size_t","_wxWindowID",0},
732 { "_size_t","_uint",0},
733 { "_class_wxRealPoint","_wxRealPoint",0},
734 { "_class_wxMenuItem","_wxMenuItem",0},
735 { "_class_wxPaintEvent","_wxPaintEvent",0},
736 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
737 { "_class_wxStatusBar","_wxStatusBar",0},
738 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
739 { "_wxPanel","_class_wxPanel",0},
740 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
741 { "_wxCheckBox","_class_wxCheckBox",0},
742 { "_wxPyEvent","_class_wxPyEvent",0},
743 { "_wxTextCtrl","_class_wxTextCtrl",0},
744 { "_class_wxMask","_wxMask",0},
745 { "_class_wxKeyEvent","_wxKeyEvent",0},
746 { "_wxColour","_class_wxColour",0},
747 { "_class_wxDialog","_wxDialog",0},
748 { "_wxIdleEvent","_class_wxIdleEvent",0},
749 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
750 { "_wxToolBar","_class_wxToolBar",0},
751 { "_wxStaticLine","_class_wxStaticLine",0},
752 { "_wxBrush","_class_wxBrush",0},
753 { "_wxMiniFrame","_class_wxMiniFrame",0},
754 { "_wxShowEvent","_class_wxShowEvent",0},
755 { "_uint","_wxPrintQuality",0},
756 { "_uint","_size_t",0},
757 { "_uint","_unsigned_int",0},
758 { "_uint","_int",0},
759 { "_uint","_wxWindowID",0},
760 { "_class_wxEvent","_wxEvent",0},
761 { "_wxCheckListBox","_class_wxCheckListBox",0},
762 { "_wxRect","_class_wxRect",0},
763 { "_wxCommandEvent","_class_wxCommandEvent",0},
764 { "_wxSizeEvent","_class_wxSizeEvent",0},
765 { "_wxPoint","_class_wxPoint",0},
766 { "_class_wxButton","_wxButton",0},
767 { "_wxRadioBox","_class_wxRadioBox",0},
768 { "_wxBitmap","_class_wxBitmap",0},
769 { "_wxPyTimer","_class_wxPyTimer",0},
770 { "_wxWindowDC","_class_wxWindowDC",0},
771 { "_wxScrollBar","_class_wxScrollBar",0},
772 { "_wxSpinButton","_class_wxSpinButton",0},
773 { "_wxToolBarTool","_class_wxToolBarTool",0},
774 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
775 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
776 { "_class_wxPyEvent","_wxPyEvent",0},
777 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
778 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
779 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
780 { "_class_wxToolBar","_wxToolBar",0},
781 { "_class_wxStaticLine","_wxStaticLine",0},
782 { "_wxScrollEvent","_class_wxScrollEvent",0},
783 { "_EBool","_wxPrintQuality",0},
784 { "_EBool","_signed_int",0},
785 { "_EBool","_int",0},
786 { "_EBool","_wxWindowID",0},
787 { "_class_wxRegion","_wxRegion",0},
788 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
789 { "_wxStaticText","_class_wxStaticText",0},
790 { "_wxFont","_class_wxFont",0},
791 { "_wxCloseEvent","_class_wxCloseEvent",0},
792 { "_unsigned_long","_wxDash",0},
793 { "_unsigned_long","_long",0},
794 { "_class_wxRect","_wxRect",0},
795 { "_class_wxDC","_wxDC",0},
796 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
797 { "_class_wxPyTimer","_wxPyTimer",0},
798 { "_wxFocusEvent","_class_wxFocusEvent",0},
799 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
800 { "_class_wxSpinButton","_wxSpinButton",0},
801 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
802 { "_class_wxPanel","_wxPanel",0},
803 { "_class_wxCheckBox","_wxCheckBox",0},
804 { "_wxComboBox","_class_wxComboBox",0},
805 { "_wxRadioButton","_class_wxRadioButton",0},
806 { "_signed_int","_wxPrintQuality",0},
807 { "_signed_int","_EBool",0},
808 { "_signed_int","_wxWindowID",0},
809 { "_signed_int","_int",0},
810 { "_class_wxTextCtrl","_wxTextCtrl",0},
811 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
812 { "_wxMenu","_class_wxMenu",0},
813 { "_class_wxMoveEvent","_wxMoveEvent",0},
814 { "_wxListBox","_class_wxListBox",0},
815 { "_wxScreenDC","_class_wxScreenDC",0},
816 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
817 { "_WXTYPE","_short",0},
818 { "_WXTYPE","_signed_short",0},
819 { "_WXTYPE","_unsigned_short",0},
820 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
821 { "_class_wxBrush","_wxBrush",0},
822 { "_unsigned_short","_WXTYPE",0},
823 { "_unsigned_short","_short",0},
824 { "_class_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow},
825 { "_class_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow},
826 { "_class_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow},
827 { "_class_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow},
828 { "_class_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow},
829 { "_class_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow},
830 { "_class_wxWindow","_wxWindow",0},
831 { "_class_wxStaticText","_wxStaticText",0},
832 { "_class_wxFont","_wxFont",0},
833 { "_class_wxCloseEvent","_wxCloseEvent",0},
834 { "_class_wxMenuEvent","_wxMenuEvent",0},
835 { "_wxClientDC","_class_wxClientDC",0},
836 { "_wxMouseEvent","_class_wxMouseEvent",0},
837 { "_class_wxPoint","_wxPoint",0},
838 { "_wxRealPoint","_class_wxRealPoint",0},
839 { "_class_wxRadioBox","_wxRadioBox",0},
840 { "_signed_short","_WXTYPE",0},
841 { "_signed_short","_short",0},
842 { "_wxMemoryDC","_class_wxMemoryDC",0},
843 { "_wxPaintDC","_class_wxPaintDC",0},
844 { "_class_wxWindowDC","_wxWindowDC",0},
845 { "_class_wxFocusEvent","_wxFocusEvent",0},
846 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
847 { "_wxStatusBar","_class_wxStatusBar",0},
848 { "_class_wxToolBarTool","_wxToolBarTool",0},
849 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
850 { "_class_wxCursor","_wxCursor",0},
851 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
852 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
853 { "_unsigned_char","_byte",0},
854 { "_class_wxMenu","_wxMenu",0},
855 { "_wxControl","_class_wxControl",0},
856 { "_class_wxListBox","_wxListBox",0},
857 { "_unsigned_int","_wxPrintQuality",0},
858 { "_unsigned_int","_size_t",0},
859 { "_unsigned_int","_uint",0},
860 { "_unsigned_int","_wxWindowID",0},
861 { "_unsigned_int","_int",0},
862 { "_wxIcon","_class_wxIcon",0},
863 { "_wxDialog","_class_wxDialog",0},
864 { "_class_wxPen","_wxPen",0},
865 { "_short","_WXTYPE",0},
866 { "_short","_unsigned_short",0},
867 { "_short","_signed_short",0},
868 { "_class_wxStaticBox","_wxStaticBox",0},
869 { "_class_wxScrollEvent","_wxScrollEvent",0},
870 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
871 { "_class_wxChoice","_wxChoice",0},
872 { "_class_wxSlider","_wxSlider",0},
873 { "_class_wxImageList","_wxImageList",0},
874 { "_class_wxBitmapButton","_wxBitmapButton",0},
875 { "_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame},
876 { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame},
877 { "_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame},
878 { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame},
879 { "_wxFrame","_class_wxFrame",0},
880 { "_wxWindowID","_wxPrintQuality",0},
881 { "_wxWindowID","_size_t",0},
882 { "_wxWindowID","_EBool",0},
883 { "_wxWindowID","_uint",0},
884 { "_wxWindowID","_int",0},
885 { "_wxWindowID","_signed_int",0},
886 { "_wxWindowID","_unsigned_int",0},
887 { "_int","_wxPrintQuality",0},
888 { "_int","_size_t",0},
889 { "_int","_EBool",0},
890 { "_int","_uint",0},
891 { "_int","_wxWindowID",0},
892 { "_int","_unsigned_int",0},
893 { "_int","_signed_int",0},
894 { "_class_wxMouseEvent","_wxMouseEvent",0},
895 { "_class_wxSpinEvent","_wxSpinEvent",0},
896 { "_wxButton","_class_wxButton",0},
897 { "_wxSize","_class_wxSize",0},
898 { "_wxRegionIterator","_class_wxRegionIterator",0},
899 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
900 { "_class_wxPaintDC","_wxPaintDC",0},
901 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
902 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
903 { "_class_wxComboBox","_wxComboBox",0},
904 { "_class_wxRadioButton","_wxRadioButton",0},
905 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
906 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
907 { "_class_wxControl","_wxControl",0},
908 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
909 { "_class_wxIcon","_wxIcon",0},
910 { "_class_wxColour","_wxColour",0},
911 { "_class_wxScreenDC","_wxScreenDC",0},
912 { "_wxPalette","_class_wxPalette",0},
913 { "_class_wxIdleEvent","_wxIdleEvent",0},
914 { "_wxEraseEvent","_class_wxEraseEvent",0},
915 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
916 { "_class_wxMiniFrame","_wxMiniFrame",0},
917 { "_wxRegion","_class_wxRegion",0},
918 { "_class_wxShowEvent","_wxShowEvent",0},
919 { "_wxActivateEvent","_class_wxActivateEvent",0},
920 { "_wxGauge","_class_wxGauge",0},
921 { "_class_wxCheckListBox","_wxCheckListBox",0},
922 { "_class_wxCommandEvent","_wxCommandEvent",0},
923 { "_class_wxClientDC","_wxClientDC",0},
924 { "_class_wxSizeEvent","_wxSizeEvent",0},
925 { "_class_wxSize","_wxSize",0},
926 { "_class_wxBitmap","_wxBitmap",0},
927 { "_class_wxMemoryDC","_wxMemoryDC",0},
928 { "_wxMenuBar","_class_wxMenuBar",0},
929 { "_wxEvtHandler","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler},
930 { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler},
931 { "_wxEvtHandler","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler},
932 { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler},
933 { "_wxEvtHandler","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler},
934 { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler},
935 { "_wxEvtHandler","_class_wxEvtHandler",0},
936 { "_wxMenuItem","_class_wxMenuItem",0},
937 { "_class_wxScrollBar","_wxScrollBar",0},
938 { "_wxDash","_unsigned_long",0},
939 { "_wxDash","_long",0},
940 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
941 { "_wxKeyEvent","_class_wxKeyEvent",0},
942 { "_wxMoveEvent","_class_wxMoveEvent",0},
943 { "_class_wxPalette","_wxPalette",0},
944 { "_class_wxEraseEvent","_wxEraseEvent",0},
945 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
946 { "_wxWindow","_class_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow},
947 { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow},
948 { "_wxWindow","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow},
949 { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow},
950 { "_wxWindow","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow},
951 { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow},
952 { "_wxWindow","_class_wxWindow",0},
953 { "_class_wxFrame","_class_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame},
954 { "_class_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame},
955 { "_class_wxFrame","_class_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame},
956 { "_class_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame},
957 { "_class_wxFrame","_wxFrame",0},
958 {0,0,0}};
959
960 static PyObject *SWIG_globals;
961 #ifdef __cplusplus
962 extern "C"
963 #endif
964 SWIGEXPORT(void) initmdic() {
965 PyObject *m, *d;
966 SWIG_globals = SWIG_newvarlink();
967 m = Py_InitModule("mdic", mdicMethods);
968 d = PyModule_GetDict(m);
969 {
970 int i;
971 for (i = 0; _swig_mapping[i].n1; i++)
972 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
973 }
974 }