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