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