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