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