]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/mdi.cpp
suppress compilation warning
[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
61 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
63 PyObject* o3;
64
65 if (!target) {
66 target = o;
67 } else if (target == Py_None) {
68 Py_DECREF(Py_None);
69 target = o;
70 } else {
71 if (!PyTuple_Check(target)) {
72 o2 = target;
73 target = PyTuple_New(1);
74 PyTuple_SetItem(target, 0, o2);
75 }
76 o3 = PyTuple_New(1);
77 PyTuple_SetItem(o3, 0, o);
78
79 o2 = target;
80 target = PySequence_Concat(o2, o3);
81 Py_DECREF(o2);
82 Py_DECREF(o3);
83 }
84 return target;
85 }
86
87 #if PYTHON_API_VERSION >= 1009
88 static char* wxStringErrorMsg = "String or Unicode type required";
89 #else
90 static char* wxStringErrorMsg = "String type required";
91 #endif
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95 static void *SwigwxMDIParentFrameTowxFrame(void *ptr) {
96 wxMDIParentFrame *src;
97 wxFrame *dest;
98 src = (wxMDIParentFrame *) ptr;
99 dest = (wxFrame *) src;
100 return (void *) dest;
101 }
102
103 static void *SwigwxMDIParentFrameTowxTopLevelWindow(void *ptr) {
104 wxMDIParentFrame *src;
105 wxTopLevelWindow *dest;
106 src = (wxMDIParentFrame *) ptr;
107 dest = (wxTopLevelWindow *) src;
108 return (void *) dest;
109 }
110
111 static void *SwigwxMDIParentFrameTowxWindow(void *ptr) {
112 wxMDIParentFrame *src;
113 wxWindow *dest;
114 src = (wxMDIParentFrame *) ptr;
115 dest = (wxWindow *) src;
116 return (void *) dest;
117 }
118
119 static void *SwigwxMDIParentFrameTowxEvtHandler(void *ptr) {
120 wxMDIParentFrame *src;
121 wxEvtHandler *dest;
122 src = (wxMDIParentFrame *) ptr;
123 dest = (wxEvtHandler *) src;
124 return (void *) dest;
125 }
126
127 static void *SwigwxMDIParentFrameTowxObject(void *ptr) {
128 wxMDIParentFrame *src;
129 wxObject *dest;
130 src = (wxMDIParentFrame *) ptr;
131 dest = (wxObject *) src;
132 return (void *) dest;
133 }
134
135 #define new_wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIParentFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
136 static PyObject *_wrap_new_wxMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
137 PyObject * _resultobj;
138 wxMDIParentFrame * _result;
139 wxWindow * _arg0;
140 wxWindowID _arg1;
141 wxString * _arg2;
142 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
143 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
144 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL;
145 char * _arg6 = (char *) "frame";
146 PyObject * _argo0 = 0;
147 PyObject * _obj2 = 0;
148 wxPoint temp;
149 PyObject * _obj3 = 0;
150 wxSize temp0;
151 PyObject * _obj4 = 0;
152 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
153 char _ptemp[128];
154
155 self = self;
156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMDIParentFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
157 return NULL;
158 if (_argo0) {
159 if (_argo0 == Py_None) { _arg0 = NULL; }
160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMDIParentFrame. Expected _wxWindow_p.");
162 return NULL;
163 }
164 }
165 {
166 #if PYTHON_API_VERSION >= 1009
167 char* tmpPtr; int tmpSize;
168 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
169 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
170 return NULL;
171 }
172 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
173 return NULL;
174 _arg2 = new wxString(tmpPtr, tmpSize);
175 #else
176 if (!PyString_Check(_obj2)) {
177 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
178 return NULL;
179 }
180 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
181 #endif
182 }
183 if (_obj3)
184 {
185 _arg3 = &temp;
186 if (! wxPoint_helper(_obj3, &_arg3))
187 return NULL;
188 }
189 if (_obj4)
190 {
191 _arg4 = &temp0;
192 if (! wxSize_helper(_obj4, &_arg4))
193 return NULL;
194 }
195 {
196 wxPy_BEGIN_ALLOW_THREADS;
197 _result = (wxMDIParentFrame *)new_wxMDIParentFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
198
199 wxPy_END_ALLOW_THREADS;
200 if (PyErr_Occurred()) return NULL;
201 } if (_result) {
202 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIParentFrame_p");
203 _resultobj = Py_BuildValue("s",_ptemp);
204 } else {
205 Py_INCREF(Py_None);
206 _resultobj = Py_None;
207 }
208 {
209 if (_obj2)
210 delete _arg2;
211 }
212 return _resultobj;
213 }
214
215 #define new_wxPreMDIParentFrame() (new wxMDIParentFrame())
216 static PyObject *_wrap_new_wxPreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
217 PyObject * _resultobj;
218 wxMDIParentFrame * _result;
219 char *_kwnames[] = { NULL };
220 char _ptemp[128];
221
222 self = self;
223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMDIParentFrame",_kwnames))
224 return NULL;
225 {
226 wxPy_BEGIN_ALLOW_THREADS;
227 _result = (wxMDIParentFrame *)new_wxPreMDIParentFrame();
228
229 wxPy_END_ALLOW_THREADS;
230 if (PyErr_Occurred()) return NULL;
231 } if (_result) {
232 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIParentFrame_p");
233 _resultobj = Py_BuildValue("s",_ptemp);
234 } else {
235 Py_INCREF(Py_None);
236 _resultobj = Py_None;
237 }
238 return _resultobj;
239 }
240
241 #define wxMDIParentFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
242 static PyObject *_wrap_wxMDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
243 PyObject * _resultobj;
244 bool _result;
245 wxMDIParentFrame * _arg0;
246 wxWindow * _arg1;
247 wxWindowID _arg2;
248 wxString * _arg3;
249 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
250 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
251 long _arg6 = (long ) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL;
252 char * _arg7 = (char *) "frame";
253 PyObject * _argo0 = 0;
254 PyObject * _argo1 = 0;
255 PyObject * _obj3 = 0;
256 wxPoint temp;
257 PyObject * _obj4 = 0;
258 wxSize temp0;
259 PyObject * _obj5 = 0;
260 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
261
262 self = self;
263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxMDIParentFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
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_Create. Expected _wxMDIParentFrame_p.");
269 return NULL;
270 }
271 }
272 if (_argo1) {
273 if (_argo1 == Py_None) { _arg1 = NULL; }
274 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
275 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMDIParentFrame_Create. Expected _wxWindow_p.");
276 return NULL;
277 }
278 }
279 {
280 #if PYTHON_API_VERSION >= 1009
281 char* tmpPtr; int tmpSize;
282 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
283 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
284 return NULL;
285 }
286 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
287 return NULL;
288 _arg3 = new wxString(tmpPtr, tmpSize);
289 #else
290 if (!PyString_Check(_obj3)) {
291 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
292 return NULL;
293 }
294 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
295 #endif
296 }
297 if (_obj4)
298 {
299 _arg4 = &temp;
300 if (! wxPoint_helper(_obj4, &_arg4))
301 return NULL;
302 }
303 if (_obj5)
304 {
305 _arg5 = &temp0;
306 if (! wxSize_helper(_obj5, &_arg5))
307 return NULL;
308 }
309 {
310 wxPy_BEGIN_ALLOW_THREADS;
311 _result = (bool )wxMDIParentFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
312
313 wxPy_END_ALLOW_THREADS;
314 if (PyErr_Occurred()) return NULL;
315 } _resultobj = Py_BuildValue("i",_result);
316 {
317 if (_obj3)
318 delete _arg3;
319 }
320 return _resultobj;
321 }
322
323 #define wxMDIParentFrame_ActivateNext(_swigobj) (_swigobj->ActivateNext())
324 static PyObject *_wrap_wxMDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
325 PyObject * _resultobj;
326 wxMDIParentFrame * _arg0;
327 PyObject * _argo0 = 0;
328 char *_kwnames[] = { "self", NULL };
329
330 self = self;
331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ActivateNext",_kwnames,&_argo0))
332 return NULL;
333 if (_argo0) {
334 if (_argo0 == Py_None) { _arg0 = NULL; }
335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_ActivateNext. Expected _wxMDIParentFrame_p.");
337 return NULL;
338 }
339 }
340 {
341 wxPy_BEGIN_ALLOW_THREADS;
342 wxMDIParentFrame_ActivateNext(_arg0);
343
344 wxPy_END_ALLOW_THREADS;
345 if (PyErr_Occurred()) return NULL;
346 } Py_INCREF(Py_None);
347 _resultobj = Py_None;
348 return _resultobj;
349 }
350
351 #define wxMDIParentFrame_ActivatePrevious(_swigobj) (_swigobj->ActivatePrevious())
352 static PyObject *_wrap_wxMDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
353 PyObject * _resultobj;
354 wxMDIParentFrame * _arg0;
355 PyObject * _argo0 = 0;
356 char *_kwnames[] = { "self", NULL };
357
358 self = self;
359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ActivatePrevious",_kwnames,&_argo0))
360 return NULL;
361 if (_argo0) {
362 if (_argo0 == Py_None) { _arg0 = NULL; }
363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_ActivatePrevious. Expected _wxMDIParentFrame_p.");
365 return NULL;
366 }
367 }
368 {
369 wxPy_BEGIN_ALLOW_THREADS;
370 wxMDIParentFrame_ActivatePrevious(_arg0);
371
372 wxPy_END_ALLOW_THREADS;
373 if (PyErr_Occurred()) return NULL;
374 } Py_INCREF(Py_None);
375 _resultobj = Py_None;
376 return _resultobj;
377 }
378
379 #define wxMDIParentFrame_ArrangeIcons(_swigobj) (_swigobj->ArrangeIcons())
380 static PyObject *_wrap_wxMDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
381 PyObject * _resultobj;
382 wxMDIParentFrame * _arg0;
383 PyObject * _argo0 = 0;
384 char *_kwnames[] = { "self", NULL };
385
386 self = self;
387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_ArrangeIcons",_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_ArrangeIcons. Expected _wxMDIParentFrame_p.");
393 return NULL;
394 }
395 }
396 {
397 wxPy_BEGIN_ALLOW_THREADS;
398 wxMDIParentFrame_ArrangeIcons(_arg0);
399
400 wxPy_END_ALLOW_THREADS;
401 if (PyErr_Occurred()) return NULL;
402 } Py_INCREF(Py_None);
403 _resultobj = Py_None;
404 return _resultobj;
405 }
406
407 #define wxMDIParentFrame_Cascade(_swigobj) (_swigobj->Cascade())
408 static PyObject *_wrap_wxMDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
409 PyObject * _resultobj;
410 wxMDIParentFrame * _arg0;
411 PyObject * _argo0 = 0;
412 char *_kwnames[] = { "self", NULL };
413
414 self = self;
415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_Cascade",_kwnames,&_argo0))
416 return NULL;
417 if (_argo0) {
418 if (_argo0 == Py_None) { _arg0 = NULL; }
419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_Cascade. Expected _wxMDIParentFrame_p.");
421 return NULL;
422 }
423 }
424 {
425 wxPy_BEGIN_ALLOW_THREADS;
426 wxMDIParentFrame_Cascade(_arg0);
427
428 wxPy_END_ALLOW_THREADS;
429 if (PyErr_Occurred()) return NULL;
430 } Py_INCREF(Py_None);
431 _resultobj = Py_None;
432 return _resultobj;
433 }
434
435 #define wxMDIParentFrame_GetActiveChild(_swigobj) (_swigobj->GetActiveChild())
436 static PyObject *_wrap_wxMDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
437 PyObject * _resultobj;
438 wxMDIChildFrame * _result;
439 wxMDIParentFrame * _arg0;
440 PyObject * _argo0 = 0;
441 char *_kwnames[] = { "self", NULL };
442
443 self = self;
444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetActiveChild",_kwnames,&_argo0))
445 return NULL;
446 if (_argo0) {
447 if (_argo0 == Py_None) { _arg0 = NULL; }
448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_GetActiveChild. Expected _wxMDIParentFrame_p.");
450 return NULL;
451 }
452 }
453 {
454 wxPy_BEGIN_ALLOW_THREADS;
455 _result = (wxMDIChildFrame *)wxMDIParentFrame_GetActiveChild(_arg0);
456
457 wxPy_END_ALLOW_THREADS;
458 if (PyErr_Occurred()) return NULL;
459 }{ _resultobj = wxPyMake_wxObject(_result); }
460 return _resultobj;
461 }
462
463 #define wxMDIParentFrame_GetClientWindow(_swigobj) (_swigobj->GetClientWindow())
464 static PyObject *_wrap_wxMDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
465 PyObject * _resultobj;
466 wxMDIClientWindow * _result;
467 wxMDIParentFrame * _arg0;
468 PyObject * _argo0 = 0;
469 char *_kwnames[] = { "self", NULL };
470
471 self = self;
472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetClientWindow",_kwnames,&_argo0))
473 return NULL;
474 if (_argo0) {
475 if (_argo0 == Py_None) { _arg0 = NULL; }
476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_GetClientWindow. Expected _wxMDIParentFrame_p.");
478 return NULL;
479 }
480 }
481 {
482 wxPy_BEGIN_ALLOW_THREADS;
483 _result = (wxMDIClientWindow *)wxMDIParentFrame_GetClientWindow(_arg0);
484
485 wxPy_END_ALLOW_THREADS;
486 if (PyErr_Occurred()) return NULL;
487 }{ _resultobj = wxPyMake_wxObject(_result); }
488 return _resultobj;
489 }
490
491 #define wxMDIParentFrame_GetToolBar(_swigobj) (_swigobj->GetToolBar())
492 static PyObject *_wrap_wxMDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
493 PyObject * _resultobj;
494 wxWindow * _result;
495 wxMDIParentFrame * _arg0;
496 PyObject * _argo0 = 0;
497 char *_kwnames[] = { "self", NULL };
498
499 self = self;
500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_GetToolBar",_kwnames,&_argo0))
501 return NULL;
502 if (_argo0) {
503 if (_argo0 == Py_None) { _arg0 = NULL; }
504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_GetToolBar. Expected _wxMDIParentFrame_p.");
506 return NULL;
507 }
508 }
509 {
510 wxPy_BEGIN_ALLOW_THREADS;
511 _result = (wxWindow *)wxMDIParentFrame_GetToolBar(_arg0);
512
513 wxPy_END_ALLOW_THREADS;
514 if (PyErr_Occurred()) return NULL;
515 }{ _resultobj = wxPyMake_wxObject(_result); }
516 return _resultobj;
517 }
518
519 #define wxMDIParentFrame_Tile(_swigobj) (_swigobj->Tile())
520 static PyObject *_wrap_wxMDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
521 PyObject * _resultobj;
522 wxMDIParentFrame * _arg0;
523 PyObject * _argo0 = 0;
524 char *_kwnames[] = { "self", NULL };
525
526 self = self;
527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIParentFrame_Tile",_kwnames,&_argo0))
528 return NULL;
529 if (_argo0) {
530 if (_argo0 == Py_None) { _arg0 = NULL; }
531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIParentFrame_Tile. Expected _wxMDIParentFrame_p.");
533 return NULL;
534 }
535 }
536 {
537 wxPy_BEGIN_ALLOW_THREADS;
538 wxMDIParentFrame_Tile(_arg0);
539
540 wxPy_END_ALLOW_THREADS;
541 if (PyErr_Occurred()) return NULL;
542 } Py_INCREF(Py_None);
543 _resultobj = Py_None;
544 return _resultobj;
545 }
546
547 static void *SwigwxMDIChildFrameTowxFrame(void *ptr) {
548 wxMDIChildFrame *src;
549 wxFrame *dest;
550 src = (wxMDIChildFrame *) ptr;
551 dest = (wxFrame *) src;
552 return (void *) dest;
553 }
554
555 static void *SwigwxMDIChildFrameTowxTopLevelWindow(void *ptr) {
556 wxMDIChildFrame *src;
557 wxTopLevelWindow *dest;
558 src = (wxMDIChildFrame *) ptr;
559 dest = (wxTopLevelWindow *) src;
560 return (void *) dest;
561 }
562
563 static void *SwigwxMDIChildFrameTowxWindow(void *ptr) {
564 wxMDIChildFrame *src;
565 wxWindow *dest;
566 src = (wxMDIChildFrame *) ptr;
567 dest = (wxWindow *) src;
568 return (void *) dest;
569 }
570
571 static void *SwigwxMDIChildFrameTowxEvtHandler(void *ptr) {
572 wxMDIChildFrame *src;
573 wxEvtHandler *dest;
574 src = (wxMDIChildFrame *) ptr;
575 dest = (wxEvtHandler *) src;
576 return (void *) dest;
577 }
578
579 static void *SwigwxMDIChildFrameTowxObject(void *ptr) {
580 wxMDIChildFrame *src;
581 wxObject *dest;
582 src = (wxMDIChildFrame *) ptr;
583 dest = (wxObject *) src;
584 return (void *) dest;
585 }
586
587 #define new_wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxMDIChildFrame(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
588 static PyObject *_wrap_new_wxMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
589 PyObject * _resultobj;
590 wxMDIChildFrame * _result;
591 wxMDIParentFrame * _arg0;
592 wxWindowID _arg1;
593 wxString * _arg2;
594 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
595 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
596 long _arg5 = (long ) wxDEFAULT_FRAME_STYLE;
597 char * _arg6 = (char *) "frame";
598 PyObject * _argo0 = 0;
599 PyObject * _obj2 = 0;
600 wxPoint temp;
601 PyObject * _obj3 = 0;
602 wxSize temp0;
603 PyObject * _obj4 = 0;
604 char *_kwnames[] = { "parent","id","title","pos","size","style","name", NULL };
605 char _ptemp[128];
606
607 self = self;
608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxMDIChildFrame",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
609 return NULL;
610 if (_argo0) {
611 if (_argo0 == Py_None) { _arg0 = NULL; }
612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMDIChildFrame. Expected _wxMDIParentFrame_p.");
614 return NULL;
615 }
616 }
617 {
618 #if PYTHON_API_VERSION >= 1009
619 char* tmpPtr; int tmpSize;
620 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
621 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
622 return NULL;
623 }
624 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
625 return NULL;
626 _arg2 = new wxString(tmpPtr, tmpSize);
627 #else
628 if (!PyString_Check(_obj2)) {
629 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
630 return NULL;
631 }
632 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
633 #endif
634 }
635 if (_obj3)
636 {
637 _arg3 = &temp;
638 if (! wxPoint_helper(_obj3, &_arg3))
639 return NULL;
640 }
641 if (_obj4)
642 {
643 _arg4 = &temp0;
644 if (! wxSize_helper(_obj4, &_arg4))
645 return NULL;
646 }
647 {
648 wxPy_BEGIN_ALLOW_THREADS;
649 _result = (wxMDIChildFrame *)new_wxMDIChildFrame(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
650
651 wxPy_END_ALLOW_THREADS;
652 if (PyErr_Occurred()) return NULL;
653 } if (_result) {
654 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIChildFrame_p");
655 _resultobj = Py_BuildValue("s",_ptemp);
656 } else {
657 Py_INCREF(Py_None);
658 _resultobj = Py_None;
659 }
660 {
661 if (_obj2)
662 delete _arg2;
663 }
664 return _resultobj;
665 }
666
667 #define new_wxPreMDIChildFrame() (new wxMDIChildFrame())
668 static PyObject *_wrap_new_wxPreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
669 PyObject * _resultobj;
670 wxMDIChildFrame * _result;
671 char *_kwnames[] = { NULL };
672 char _ptemp[128];
673
674 self = self;
675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMDIChildFrame",_kwnames))
676 return NULL;
677 {
678 wxPy_BEGIN_ALLOW_THREADS;
679 _result = (wxMDIChildFrame *)new_wxPreMDIChildFrame();
680
681 wxPy_END_ALLOW_THREADS;
682 if (PyErr_Occurred()) return NULL;
683 } if (_result) {
684 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIChildFrame_p");
685 _resultobj = Py_BuildValue("s",_ptemp);
686 } else {
687 Py_INCREF(Py_None);
688 _resultobj = Py_None;
689 }
690 return _resultobj;
691 }
692
693 #define wxMDIChildFrame_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
694 static PyObject *_wrap_wxMDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
695 PyObject * _resultobj;
696 bool _result;
697 wxMDIChildFrame * _arg0;
698 wxMDIParentFrame * _arg1;
699 wxWindowID _arg2;
700 wxString * _arg3;
701 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
702 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
703 long _arg6 = (long ) wxDEFAULT_FRAME_STYLE;
704 char * _arg7 = (char *) "frame";
705 PyObject * _argo0 = 0;
706 PyObject * _argo1 = 0;
707 PyObject * _obj3 = 0;
708 wxPoint temp;
709 PyObject * _obj4 = 0;
710 wxSize temp0;
711 PyObject * _obj5 = 0;
712 char *_kwnames[] = { "self","parent","id","title","pos","size","style","name", NULL };
713
714 self = self;
715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxMDIChildFrame_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
716 return NULL;
717 if (_argo0) {
718 if (_argo0 == Py_None) { _arg0 = NULL; }
719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) {
720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Create. Expected _wxMDIChildFrame_p.");
721 return NULL;
722 }
723 }
724 if (_argo1) {
725 if (_argo1 == Py_None) { _arg1 = NULL; }
726 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) {
727 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMDIChildFrame_Create. Expected _wxMDIParentFrame_p.");
728 return NULL;
729 }
730 }
731 {
732 #if PYTHON_API_VERSION >= 1009
733 char* tmpPtr; int tmpSize;
734 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
735 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
736 return NULL;
737 }
738 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
739 return NULL;
740 _arg3 = new wxString(tmpPtr, tmpSize);
741 #else
742 if (!PyString_Check(_obj3)) {
743 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
744 return NULL;
745 }
746 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
747 #endif
748 }
749 if (_obj4)
750 {
751 _arg4 = &temp;
752 if (! wxPoint_helper(_obj4, &_arg4))
753 return NULL;
754 }
755 if (_obj5)
756 {
757 _arg5 = &temp0;
758 if (! wxSize_helper(_obj5, &_arg5))
759 return NULL;
760 }
761 {
762 wxPy_BEGIN_ALLOW_THREADS;
763 _result = (bool )wxMDIChildFrame_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
764
765 wxPy_END_ALLOW_THREADS;
766 if (PyErr_Occurred()) return NULL;
767 } _resultobj = Py_BuildValue("i",_result);
768 {
769 if (_obj3)
770 delete _arg3;
771 }
772 return _resultobj;
773 }
774
775 #define wxMDIChildFrame_Activate(_swigobj) (_swigobj->Activate())
776 static PyObject *_wrap_wxMDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
777 PyObject * _resultobj;
778 wxMDIChildFrame * _arg0;
779 PyObject * _argo0 = 0;
780 char *_kwnames[] = { "self", NULL };
781
782 self = self;
783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIChildFrame_Activate",_kwnames,&_argo0))
784 return NULL;
785 if (_argo0) {
786 if (_argo0 == Py_None) { _arg0 = NULL; }
787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) {
788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Activate. Expected _wxMDIChildFrame_p.");
789 return NULL;
790 }
791 }
792 {
793 wxPy_BEGIN_ALLOW_THREADS;
794 wxMDIChildFrame_Activate(_arg0);
795
796 wxPy_END_ALLOW_THREADS;
797 if (PyErr_Occurred()) return NULL;
798 } Py_INCREF(Py_None);
799 _resultobj = Py_None;
800 return _resultobj;
801 }
802
803 #define wxMDIChildFrame_Maximize(_swigobj,_swigarg0) (_swigobj->Maximize(_swigarg0))
804 static PyObject *_wrap_wxMDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
805 PyObject * _resultobj;
806 wxMDIChildFrame * _arg0;
807 bool _arg1;
808 PyObject * _argo0 = 0;
809 int tempbool1;
810 char *_kwnames[] = { "self","maximize", NULL };
811
812 self = self;
813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxMDIChildFrame_Maximize",_kwnames,&_argo0,&tempbool1))
814 return NULL;
815 if (_argo0) {
816 if (_argo0 == Py_None) { _arg0 = NULL; }
817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) {
818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Maximize. Expected _wxMDIChildFrame_p.");
819 return NULL;
820 }
821 }
822 _arg1 = (bool ) tempbool1;
823 {
824 wxPy_BEGIN_ALLOW_THREADS;
825 wxMDIChildFrame_Maximize(_arg0,_arg1);
826
827 wxPy_END_ALLOW_THREADS;
828 if (PyErr_Occurred()) return NULL;
829 } Py_INCREF(Py_None);
830 _resultobj = Py_None;
831 return _resultobj;
832 }
833
834 #define wxMDIChildFrame_Restore(_swigobj) (_swigobj->Restore())
835 static PyObject *_wrap_wxMDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
836 PyObject * _resultobj;
837 wxMDIChildFrame * _arg0;
838 PyObject * _argo0 = 0;
839 char *_kwnames[] = { "self", NULL };
840
841 self = self;
842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxMDIChildFrame_Restore",_kwnames,&_argo0))
843 return NULL;
844 if (_argo0) {
845 if (_argo0 == Py_None) { _arg0 = NULL; }
846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIChildFrame_p")) {
847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIChildFrame_Restore. Expected _wxMDIChildFrame_p.");
848 return NULL;
849 }
850 }
851 {
852 wxPy_BEGIN_ALLOW_THREADS;
853 wxMDIChildFrame_Restore(_arg0);
854
855 wxPy_END_ALLOW_THREADS;
856 if (PyErr_Occurred()) return NULL;
857 } Py_INCREF(Py_None);
858 _resultobj = Py_None;
859 return _resultobj;
860 }
861
862 static void *SwigwxMDIClientWindowTowxWindow(void *ptr) {
863 wxMDIClientWindow *src;
864 wxWindow *dest;
865 src = (wxMDIClientWindow *) ptr;
866 dest = (wxWindow *) src;
867 return (void *) dest;
868 }
869
870 static void *SwigwxMDIClientWindowTowxEvtHandler(void *ptr) {
871 wxMDIClientWindow *src;
872 wxEvtHandler *dest;
873 src = (wxMDIClientWindow *) ptr;
874 dest = (wxEvtHandler *) src;
875 return (void *) dest;
876 }
877
878 static void *SwigwxMDIClientWindowTowxObject(void *ptr) {
879 wxMDIClientWindow *src;
880 wxObject *dest;
881 src = (wxMDIClientWindow *) ptr;
882 dest = (wxObject *) src;
883 return (void *) dest;
884 }
885
886 #define new_wxMDIClientWindow(_swigarg0,_swigarg1) (new wxMDIClientWindow(_swigarg0,_swigarg1))
887 static PyObject *_wrap_new_wxMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
888 PyObject * _resultobj;
889 wxMDIClientWindow * _result;
890 wxMDIParentFrame * _arg0;
891 long _arg1 = (long ) 0;
892 PyObject * _argo0 = 0;
893 char *_kwnames[] = { "parent","style", NULL };
894 char _ptemp[128];
895
896 self = self;
897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|l:new_wxMDIClientWindow",_kwnames,&_argo0,&_arg1))
898 return NULL;
899 if (_argo0) {
900 if (_argo0 == Py_None) { _arg0 = NULL; }
901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIParentFrame_p")) {
902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxMDIClientWindow. Expected _wxMDIParentFrame_p.");
903 return NULL;
904 }
905 }
906 {
907 wxPy_BEGIN_ALLOW_THREADS;
908 _result = (wxMDIClientWindow *)new_wxMDIClientWindow(_arg0,_arg1);
909
910 wxPy_END_ALLOW_THREADS;
911 if (PyErr_Occurred()) return NULL;
912 } if (_result) {
913 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIClientWindow_p");
914 _resultobj = Py_BuildValue("s",_ptemp);
915 } else {
916 Py_INCREF(Py_None);
917 _resultobj = Py_None;
918 }
919 return _resultobj;
920 }
921
922 #define new_wxPreMDIClientWindow() (new wxMDIClientWindow())
923 static PyObject *_wrap_new_wxPreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
924 PyObject * _resultobj;
925 wxMDIClientWindow * _result;
926 char *_kwnames[] = { NULL };
927 char _ptemp[128];
928
929 self = self;
930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreMDIClientWindow",_kwnames))
931 return NULL;
932 {
933 wxPy_BEGIN_ALLOW_THREADS;
934 _result = (wxMDIClientWindow *)new_wxPreMDIClientWindow();
935
936 wxPy_END_ALLOW_THREADS;
937 if (PyErr_Occurred()) return NULL;
938 } if (_result) {
939 SWIG_MakePtr(_ptemp, (char *) _result,"_wxMDIClientWindow_p");
940 _resultobj = Py_BuildValue("s",_ptemp);
941 } else {
942 Py_INCREF(Py_None);
943 _resultobj = Py_None;
944 }
945 return _resultobj;
946 }
947
948 #define wxMDIClientWindow_Create(_swigobj,_swigarg0,_swigarg1) (_swigobj->Create(_swigarg0,_swigarg1))
949 static PyObject *_wrap_wxMDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
950 PyObject * _resultobj;
951 bool _result;
952 wxMDIClientWindow * _arg0;
953 wxMDIParentFrame * _arg1;
954 long _arg2 = (long ) 0;
955 PyObject * _argo0 = 0;
956 PyObject * _argo1 = 0;
957 char *_kwnames[] = { "self","parent","style", NULL };
958
959 self = self;
960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|l:wxMDIClientWindow_Create",_kwnames,&_argo0,&_argo1,&_arg2))
961 return NULL;
962 if (_argo0) {
963 if (_argo0 == Py_None) { _arg0 = NULL; }
964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxMDIClientWindow_p")) {
965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxMDIClientWindow_Create. Expected _wxMDIClientWindow_p.");
966 return NULL;
967 }
968 }
969 if (_argo1) {
970 if (_argo1 == Py_None) { _arg1 = NULL; }
971 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxMDIParentFrame_p")) {
972 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxMDIClientWindow_Create. Expected _wxMDIParentFrame_p.");
973 return NULL;
974 }
975 }
976 {
977 wxPy_BEGIN_ALLOW_THREADS;
978 _result = (bool )wxMDIClientWindow_Create(_arg0,_arg1,_arg2);
979
980 wxPy_END_ALLOW_THREADS;
981 if (PyErr_Occurred()) return NULL;
982 } _resultobj = Py_BuildValue("i",_result);
983 return _resultobj;
984 }
985
986 static PyMethodDef mdicMethods[] = {
987 { "wxMDIClientWindow_Create", (PyCFunction) _wrap_wxMDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
988 { "new_wxPreMDIClientWindow", (PyCFunction) _wrap_new_wxPreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
989 { "new_wxMDIClientWindow", (PyCFunction) _wrap_new_wxMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
990 { "wxMDIChildFrame_Restore", (PyCFunction) _wrap_wxMDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
991 { "wxMDIChildFrame_Maximize", (PyCFunction) _wrap_wxMDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
992 { "wxMDIChildFrame_Activate", (PyCFunction) _wrap_wxMDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
993 { "wxMDIChildFrame_Create", (PyCFunction) _wrap_wxMDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
994 { "new_wxPreMDIChildFrame", (PyCFunction) _wrap_new_wxPreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
995 { "new_wxMDIChildFrame", (PyCFunction) _wrap_new_wxMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
996 { "wxMDIParentFrame_Tile", (PyCFunction) _wrap_wxMDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
997 { "wxMDIParentFrame_GetToolBar", (PyCFunction) _wrap_wxMDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
998 { "wxMDIParentFrame_GetClientWindow", (PyCFunction) _wrap_wxMDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
999 { "wxMDIParentFrame_GetActiveChild", (PyCFunction) _wrap_wxMDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
1000 { "wxMDIParentFrame_Cascade", (PyCFunction) _wrap_wxMDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
1001 { "wxMDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_wxMDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
1002 { "wxMDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_wxMDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
1003 { "wxMDIParentFrame_ActivateNext", (PyCFunction) _wrap_wxMDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
1004 { "wxMDIParentFrame_Create", (PyCFunction) _wrap_wxMDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
1005 { "new_wxPreMDIParentFrame", (PyCFunction) _wrap_new_wxPreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
1006 { "new_wxMDIParentFrame", (PyCFunction) _wrap_new_wxMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
1007 { NULL, NULL }
1008 };
1009 #ifdef __cplusplus
1010 }
1011 #endif
1012 /*
1013 * This table is used by the pointer type-checker
1014 */
1015 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1016 { "_signed_long","_long",0},
1017 { "_wxPrintQuality","_wxCoord",0},
1018 { "_wxPrintQuality","_int",0},
1019 { "_wxPrintQuality","_signed_int",0},
1020 { "_wxPrintQuality","_unsigned_int",0},
1021 { "_wxPrintQuality","_wxWindowID",0},
1022 { "_wxPrintQuality","_uint",0},
1023 { "_wxPrintQuality","_EBool",0},
1024 { "_wxPrintQuality","_size_t",0},
1025 { "_wxPrintQuality","_time_t",0},
1026 { "_byte","_unsigned_char",0},
1027 { "_long","_unsigned_long",0},
1028 { "_long","_signed_long",0},
1029 { "_size_t","_wxCoord",0},
1030 { "_size_t","_wxPrintQuality",0},
1031 { "_size_t","_time_t",0},
1032 { "_size_t","_unsigned_int",0},
1033 { "_size_t","_int",0},
1034 { "_size_t","_wxWindowID",0},
1035 { "_size_t","_uint",0},
1036 { "_wxTopLevelWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxTopLevelWindow},
1037 { "_wxTopLevelWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxTopLevelWindow},
1038 { "_uint","_wxCoord",0},
1039 { "_uint","_wxPrintQuality",0},
1040 { "_uint","_time_t",0},
1041 { "_uint","_size_t",0},
1042 { "_uint","_unsigned_int",0},
1043 { "_uint","_int",0},
1044 { "_uint","_wxWindowID",0},
1045 { "_wxChar","_char",0},
1046 { "_char","_wxChar",0},
1047 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
1048 { "_EBool","_wxCoord",0},
1049 { "_EBool","_wxPrintQuality",0},
1050 { "_EBool","_signed_int",0},
1051 { "_EBool","_int",0},
1052 { "_EBool","_wxWindowID",0},
1053 { "_unsigned_long","_long",0},
1054 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
1055 { "_signed_int","_wxCoord",0},
1056 { "_signed_int","_wxPrintQuality",0},
1057 { "_signed_int","_EBool",0},
1058 { "_signed_int","_wxWindowID",0},
1059 { "_signed_int","_int",0},
1060 { "_WXTYPE","_short",0},
1061 { "_WXTYPE","_signed_short",0},
1062 { "_WXTYPE","_unsigned_short",0},
1063 { "_unsigned_short","_WXTYPE",0},
1064 { "_unsigned_short","_short",0},
1065 { "_wxObject","_wxMDIClientWindow",SwigwxMDIClientWindowTowxObject},
1066 { "_wxObject","_wxMDIChildFrame",SwigwxMDIChildFrameTowxObject},
1067 { "_wxObject","_wxMDIParentFrame",SwigwxMDIParentFrameTowxObject},
1068 { "_signed_short","_WXTYPE",0},
1069 { "_signed_short","_short",0},
1070 { "_unsigned_char","_byte",0},
1071 { "_unsigned_int","_wxCoord",0},
1072 { "_unsigned_int","_wxPrintQuality",0},
1073 { "_unsigned_int","_time_t",0},
1074 { "_unsigned_int","_size_t",0},
1075 { "_unsigned_int","_uint",0},
1076 { "_unsigned_int","_wxWindowID",0},
1077 { "_unsigned_int","_int",0},
1078 { "_short","_WXTYPE",0},
1079 { "_short","_unsigned_short",0},
1080 { "_short","_signed_short",0},
1081 { "_wxFrame","_wxMDIChildFrame",SwigwxMDIChildFrameTowxFrame},
1082 { "_wxFrame","_wxMDIParentFrame",SwigwxMDIParentFrameTowxFrame},
1083 { "_wxWindowID","_wxCoord",0},
1084 { "_wxWindowID","_wxPrintQuality",0},
1085 { "_wxWindowID","_time_t",0},
1086 { "_wxWindowID","_size_t",0},
1087 { "_wxWindowID","_EBool",0},
1088 { "_wxWindowID","_uint",0},
1089 { "_wxWindowID","_int",0},
1090 { "_wxWindowID","_signed_int",0},
1091 { "_wxWindowID","_unsigned_int",0},
1092 { "_int","_wxCoord",0},
1093 { "_int","_wxPrintQuality",0},
1094 { "_int","_time_t",0},
1095 { "_int","_size_t",0},
1096 { "_int","_EBool",0},
1097 { "_int","_uint",0},
1098 { "_int","_wxWindowID",0},
1099 { "_int","_unsigned_int",0},
1100 { "_int","_signed_int",0},
1101 { "_time_t","_wxCoord",0},
1102 { "_time_t","_wxPrintQuality",0},
1103 { "_time_t","_unsigned_int",0},
1104 { "_time_t","_int",0},
1105 { "_time_t","_wxWindowID",0},
1106 { "_time_t","_uint",0},
1107 { "_time_t","_size_t",0},
1108 { "_wxCoord","_int",0},
1109 { "_wxCoord","_signed_int",0},
1110 { "_wxCoord","_unsigned_int",0},
1111 { "_wxCoord","_wxWindowID",0},
1112 { "_wxCoord","_uint",0},
1113 { "_wxCoord","_EBool",0},
1114 { "_wxCoord","_size_t",0},
1115 { "_wxCoord","_time_t",0},
1116 { "_wxCoord","_wxPrintQuality",0},
1117 { "_wxEvtHandler","_wxMDIClientWindow",SwigwxMDIClientWindowTowxEvtHandler},
1118 { "_wxEvtHandler","_wxMDIChildFrame",SwigwxMDIChildFrameTowxEvtHandler},
1119 { "_wxEvtHandler","_wxMDIParentFrame",SwigwxMDIParentFrameTowxEvtHandler},
1120 { "_wxWindow","_wxMDIClientWindow",SwigwxMDIClientWindowTowxWindow},
1121 { "_wxWindow","_wxMDIChildFrame",SwigwxMDIChildFrameTowxWindow},
1122 { "_wxWindow","_wxMDIParentFrame",SwigwxMDIParentFrameTowxWindow},
1123 {0,0,0}};
1124
1125 static PyObject *SWIG_globals;
1126 #ifdef __cplusplus
1127 extern "C"
1128 #endif
1129 SWIGEXPORT(void) initmdic() {
1130 PyObject *m, *d;
1131 SWIG_globals = SWIG_newvarlink();
1132 m = Py_InitModule("mdic", mdicMethods);
1133 d = PyModule_GetDict(m);
1134 {
1135 int i;
1136 for (i = 0; _swig_mapping[i].n1; i++)
1137 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1138 }
1139 }