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