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