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