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