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