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