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