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