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