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