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