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