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