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