]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls.cpp
wxPython 2.1b1:
[wxWidgets.git] / utils / wxPython / src / gtk / controls.cpp
1 /*
2 * FILE : gtk/controls.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 initcontrolsc
53
54 #define SWIG_name "controlsc"
55
56 #include "helpers.h"
57 #include <wx/slider.h>
58 #include <wx/spinbutt.h>
59 #include <wx/dynarray.h>
60 #include <wx/statline.h>
61
62 #ifdef __WXMSW__
63 #if wxUSE_OWNER_DRAWN
64 #include <wx/checklst.h>
65 #endif
66 #endif
67
68 #ifdef __WXGTK__
69 #include <wx/checklst.h>
70 #endif
71
72
73 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
74 PyObject* o2;
75 PyObject* o3;
76 if (!target) {
77 target = o;
78 } else if (target == Py_None) {
79 Py_DECREF(Py_None);
80 target = o;
81 } else {
82 if (!PyList_Check(target)) {
83 o2 = target;
84 target = PyList_New(0);
85 PyList_Append(target, o2);
86 Py_XDECREF(o2);
87 }
88 PyList_Append(target,o);
89 Py_XDECREF(o);
90 }
91 return target;
92 }
93
94 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
95 PyObject* o2;
96 PyObject* o3;
97
98 if (!target) {
99 target = o;
100 } else if (target == Py_None) {
101 Py_DECREF(Py_None);
102 target = o;
103 } else {
104 if (!PyTuple_Check(target)) {
105 o2 = target;
106 target = PyTuple_New(1);
107 PyTuple_SetItem(target, 0, o2);
108 }
109 o3 = PyTuple_New(1);
110 PyTuple_SetItem(o3, 0, o);
111
112 o2 = target;
113 target = PySequence_Concat(o2, o3);
114 Py_DECREF(o2);
115 Py_DECREF(o3);
116 }
117 return target;
118 }
119
120
121 extern byte* byte_LIST_helper(PyObject* source);
122 extern int* int_LIST_helper(PyObject* source);
123 extern long* long_LIST_helper(PyObject* source);
124 extern char** string_LIST_helper(PyObject* source);
125 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
126 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
127 extern wxString* wxString_LIST_helper(PyObject* source);
128 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
129
130
131 static char* wxStringErrorMsg = "string type is required for parameter";
132
133 wxValidator wxPyDefaultValidator; // Non-const default because of SWIG
134 static void *SwigwxControlTowxWindow(void *ptr) {
135 wxControl *src;
136 wxWindow *dest;
137 src = (wxControl *) ptr;
138 dest = (wxWindow *) src;
139 return (void *) dest;
140 }
141
142 static void *SwigwxControlTowxEvtHandler(void *ptr) {
143 wxControl *src;
144 wxEvtHandler *dest;
145 src = (wxControl *) ptr;
146 dest = (wxEvtHandler *) src;
147 return (void *) dest;
148 }
149
150 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
151 static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args) {
152 PyObject * _resultobj;
153 wxString * _result;
154 wxControl * _arg0;
155 char * _argc0 = 0;
156
157 self = self;
158 if(!PyArg_ParseTuple(args,"s:wxControl_GetLabel",&_argc0))
159 return NULL;
160 if (_argc0) {
161 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxControl_p")) {
162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
163 return NULL;
164 }
165 }
166 {
167 wxPy_BEGIN_ALLOW_THREADS;
168 _result = new wxString (wxControl_GetLabel(_arg0));
169
170 wxPy_END_ALLOW_THREADS;
171 }{
172 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
173 }
174 {
175 delete _result;
176 }
177 return _resultobj;
178 }
179
180 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
181 static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args) {
182 PyObject * _resultobj;
183 wxControl * _arg0;
184 wxString * _arg1;
185 char * _argc0 = 0;
186 PyObject * _obj1 = 0;
187
188 self = self;
189 if(!PyArg_ParseTuple(args,"sO:wxControl_SetLabel",&_argc0,&_obj1))
190 return NULL;
191 if (_argc0) {
192 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxControl_p")) {
193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
194 return NULL;
195 }
196 }
197 {
198 if (!PyString_Check(_obj1)) {
199 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
200 return NULL;
201 }
202 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
203 }
204 {
205 wxPy_BEGIN_ALLOW_THREADS;
206 wxControl_SetLabel(_arg0,*_arg1);
207
208 wxPy_END_ALLOW_THREADS;
209 } Py_INCREF(Py_None);
210 _resultobj = Py_None;
211 {
212 if (_obj1)
213 delete _arg1;
214 }
215 return _resultobj;
216 }
217
218 static void *SwigwxButtonTowxControl(void *ptr) {
219 wxButton *src;
220 wxControl *dest;
221 src = (wxButton *) ptr;
222 dest = (wxControl *) src;
223 return (void *) dest;
224 }
225
226 static void *SwigwxButtonTowxWindow(void *ptr) {
227 wxButton *src;
228 wxWindow *dest;
229 src = (wxButton *) ptr;
230 dest = (wxWindow *) src;
231 return (void *) dest;
232 }
233
234 static void *SwigwxButtonTowxEvtHandler(void *ptr) {
235 wxButton *src;
236 wxEvtHandler *dest;
237 src = (wxButton *) ptr;
238 dest = (wxEvtHandler *) src;
239 return (void *) dest;
240 }
241
242 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
243 static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args) {
244 PyObject * _resultobj;
245 wxButton * _result;
246 wxWindow * _arg0;
247 wxWindowID _arg1;
248 wxString * _arg2;
249 wxPoint * _arg3 = &wxPyDefaultPosition;
250 wxSize * _arg4 = &wxPyDefaultSize;
251 long _arg5 = 0;
252 wxValidator * _arg6 = &wxPyDefaultValidator;
253 char * _arg7 = "button";
254 char * _argc0 = 0;
255 PyObject * _obj2 = 0;
256 char * _argc3 = 0;
257 char * _argc4 = 0;
258 char * _argc6 = 0;
259 char _ptemp[128];
260
261 self = self;
262 if(!PyArg_ParseTuple(args,"siO|sslss:new_wxButton",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
263 return NULL;
264 if (_argc0) {
265 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
267 return NULL;
268 }
269 }
270 {
271 if (!PyString_Check(_obj2)) {
272 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
273 return NULL;
274 }
275 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
276 }
277 if (_argc3) {
278 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
279 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxButton. Expected _wxPoint_p.");
280 return NULL;
281 }
282 }
283 if (_argc4) {
284 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
285 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxButton. Expected _wxSize_p.");
286 return NULL;
287 }
288 }
289 if (_argc6) {
290 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
291 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
292 return NULL;
293 }
294 }
295 {
296 wxPy_BEGIN_ALLOW_THREADS;
297 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
298
299 wxPy_END_ALLOW_THREADS;
300 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
301 _resultobj = Py_BuildValue("s",_ptemp);
302 {
303 if (_obj2)
304 delete _arg2;
305 }
306 return _resultobj;
307 }
308
309 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
310 static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args) {
311 PyObject * _resultobj;
312 wxButton * _arg0;
313 char * _argc0 = 0;
314
315 self = self;
316 if(!PyArg_ParseTuple(args,"s:wxButton_SetDefault",&_argc0))
317 return NULL;
318 if (_argc0) {
319 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxButton_p")) {
320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
321 return NULL;
322 }
323 }
324 {
325 wxPy_BEGIN_ALLOW_THREADS;
326 wxButton_SetDefault(_arg0);
327
328 wxPy_END_ALLOW_THREADS;
329 } Py_INCREF(Py_None);
330 _resultobj = Py_None;
331 return _resultobj;
332 }
333
334 static void *SwigwxBitmapButtonTowxButton(void *ptr) {
335 wxBitmapButton *src;
336 wxButton *dest;
337 src = (wxBitmapButton *) ptr;
338 dest = (wxButton *) src;
339 return (void *) dest;
340 }
341
342 static void *SwigwxBitmapButtonTowxControl(void *ptr) {
343 wxBitmapButton *src;
344 wxControl *dest;
345 src = (wxBitmapButton *) ptr;
346 dest = (wxControl *) src;
347 return (void *) dest;
348 }
349
350 static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
351 wxBitmapButton *src;
352 wxWindow *dest;
353 src = (wxBitmapButton *) ptr;
354 dest = (wxWindow *) src;
355 return (void *) dest;
356 }
357
358 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
359 wxBitmapButton *src;
360 wxEvtHandler *dest;
361 src = (wxBitmapButton *) ptr;
362 dest = (wxEvtHandler *) src;
363 return (void *) dest;
364 }
365
366 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
367 static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args) {
368 PyObject * _resultobj;
369 wxBitmapButton * _result;
370 wxWindow * _arg0;
371 wxWindowID _arg1;
372 wxBitmap * _arg2;
373 wxPoint * _arg3 = &wxPyDefaultPosition;
374 wxSize * _arg4 = &wxPyDefaultSize;
375 long _arg5 = (wxBU_AUTODRAW);
376 wxValidator * _arg6 = &wxPyDefaultValidator;
377 char * _arg7 = "button";
378 char * _argc0 = 0;
379 char * _argc2 = 0;
380 char * _argc3 = 0;
381 char * _argc4 = 0;
382 char * _argc6 = 0;
383 char _ptemp[128];
384
385 self = self;
386 if(!PyArg_ParseTuple(args,"sis|sslss:new_wxBitmapButton",&_argc0,&_arg1,&_argc2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
387 return NULL;
388 if (_argc0) {
389 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
391 return NULL;
392 }
393 }
394 if (_argc2) {
395 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
397 return NULL;
398 }
399 }
400 if (_argc3) {
401 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
402 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxBitmapButton. Expected _wxPoint_p.");
403 return NULL;
404 }
405 }
406 if (_argc4) {
407 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
408 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxBitmapButton. Expected _wxSize_p.");
409 return NULL;
410 }
411 }
412 if (_argc6) {
413 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
414 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
415 return NULL;
416 }
417 }
418 {
419 wxPy_BEGIN_ALLOW_THREADS;
420 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
421
422 wxPy_END_ALLOW_THREADS;
423 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
424 _resultobj = Py_BuildValue("s",_ptemp);
425 return _resultobj;
426 }
427
428 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
429 static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args) {
430 PyObject * _resultobj;
431 wxBitmap * _result;
432 wxBitmapButton * _arg0;
433 char * _argc0 = 0;
434 char _ptemp[128];
435
436 self = self;
437 if(!PyArg_ParseTuple(args,"s:wxBitmapButton_GetBitmapLabel",&_argc0))
438 return NULL;
439 if (_argc0) {
440 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
442 return NULL;
443 }
444 }
445 {
446 wxPy_BEGIN_ALLOW_THREADS;
447 wxBitmap & _result_ref = wxBitmapButton_GetBitmapLabel(_arg0);
448 _result = (wxBitmap *) &_result_ref;
449
450 wxPy_END_ALLOW_THREADS;
451 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
452 _resultobj = Py_BuildValue("s",_ptemp);
453 return _resultobj;
454 }
455
456 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
457 static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args) {
458 PyObject * _resultobj;
459 wxBitmap * _result;
460 wxBitmapButton * _arg0;
461 char * _argc0 = 0;
462 char _ptemp[128];
463
464 self = self;
465 if(!PyArg_ParseTuple(args,"s:wxBitmapButton_GetBitmapDisabled",&_argc0))
466 return NULL;
467 if (_argc0) {
468 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
470 return NULL;
471 }
472 }
473 {
474 wxPy_BEGIN_ALLOW_THREADS;
475 wxBitmap & _result_ref = wxBitmapButton_GetBitmapDisabled(_arg0);
476 _result = (wxBitmap *) &_result_ref;
477
478 wxPy_END_ALLOW_THREADS;
479 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
480 _resultobj = Py_BuildValue("s",_ptemp);
481 return _resultobj;
482 }
483
484 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
485 static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args) {
486 PyObject * _resultobj;
487 wxBitmap * _result;
488 wxBitmapButton * _arg0;
489 char * _argc0 = 0;
490 char _ptemp[128];
491
492 self = self;
493 if(!PyArg_ParseTuple(args,"s:wxBitmapButton_GetBitmapFocus",&_argc0))
494 return NULL;
495 if (_argc0) {
496 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
498 return NULL;
499 }
500 }
501 {
502 wxPy_BEGIN_ALLOW_THREADS;
503 wxBitmap & _result_ref = wxBitmapButton_GetBitmapFocus(_arg0);
504 _result = (wxBitmap *) &_result_ref;
505
506 wxPy_END_ALLOW_THREADS;
507 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
508 _resultobj = Py_BuildValue("s",_ptemp);
509 return _resultobj;
510 }
511
512 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
513 static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args) {
514 PyObject * _resultobj;
515 wxBitmap * _result;
516 wxBitmapButton * _arg0;
517 char * _argc0 = 0;
518 char _ptemp[128];
519
520 self = self;
521 if(!PyArg_ParseTuple(args,"s:wxBitmapButton_GetBitmapSelected",&_argc0))
522 return NULL;
523 if (_argc0) {
524 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
526 return NULL;
527 }
528 }
529 {
530 wxPy_BEGIN_ALLOW_THREADS;
531 wxBitmap & _result_ref = wxBitmapButton_GetBitmapSelected(_arg0);
532 _result = (wxBitmap *) &_result_ref;
533
534 wxPy_END_ALLOW_THREADS;
535 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
536 _resultobj = Py_BuildValue("s",_ptemp);
537 return _resultobj;
538 }
539
540 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
541 static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args) {
542 PyObject * _resultobj;
543 wxBitmapButton * _arg0;
544 wxBitmap * _arg1;
545 char * _argc0 = 0;
546 char * _argc1 = 0;
547
548 self = self;
549 if(!PyArg_ParseTuple(args,"ss:wxBitmapButton_SetBitmapDisabled",&_argc0,&_argc1))
550 return NULL;
551 if (_argc0) {
552 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
554 return NULL;
555 }
556 }
557 if (_argc1) {
558 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
559 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
560 return NULL;
561 }
562 }
563 {
564 wxPy_BEGIN_ALLOW_THREADS;
565 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
566
567 wxPy_END_ALLOW_THREADS;
568 } Py_INCREF(Py_None);
569 _resultobj = Py_None;
570 return _resultobj;
571 }
572
573 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
574 static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args) {
575 PyObject * _resultobj;
576 wxBitmapButton * _arg0;
577 wxBitmap * _arg1;
578 char * _argc0 = 0;
579 char * _argc1 = 0;
580
581 self = self;
582 if(!PyArg_ParseTuple(args,"ss:wxBitmapButton_SetBitmapFocus",&_argc0,&_argc1))
583 return NULL;
584 if (_argc0) {
585 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
587 return NULL;
588 }
589 }
590 if (_argc1) {
591 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
592 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
593 return NULL;
594 }
595 }
596 {
597 wxPy_BEGIN_ALLOW_THREADS;
598 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
599
600 wxPy_END_ALLOW_THREADS;
601 } Py_INCREF(Py_None);
602 _resultobj = Py_None;
603 return _resultobj;
604 }
605
606 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
607 static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args) {
608 PyObject * _resultobj;
609 wxBitmapButton * _arg0;
610 wxBitmap * _arg1;
611 char * _argc0 = 0;
612 char * _argc1 = 0;
613
614 self = self;
615 if(!PyArg_ParseTuple(args,"ss:wxBitmapButton_SetBitmapSelected",&_argc0,&_argc1))
616 return NULL;
617 if (_argc0) {
618 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
620 return NULL;
621 }
622 }
623 if (_argc1) {
624 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
625 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
626 return NULL;
627 }
628 }
629 {
630 wxPy_BEGIN_ALLOW_THREADS;
631 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
632
633 wxPy_END_ALLOW_THREADS;
634 } Py_INCREF(Py_None);
635 _resultobj = Py_None;
636 return _resultobj;
637 }
638
639 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
640 static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args) {
641 PyObject * _resultobj;
642 wxBitmapButton * _arg0;
643 wxBitmap * _arg1;
644 char * _argc0 = 0;
645 char * _argc1 = 0;
646
647 self = self;
648 if(!PyArg_ParseTuple(args,"ss:wxBitmapButton_SetBitmapLabel",&_argc0,&_argc1))
649 return NULL;
650 if (_argc0) {
651 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
653 return NULL;
654 }
655 }
656 if (_argc1) {
657 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
658 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
659 return NULL;
660 }
661 }
662 {
663 wxPy_BEGIN_ALLOW_THREADS;
664 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
665
666 wxPy_END_ALLOW_THREADS;
667 } Py_INCREF(Py_None);
668 _resultobj = Py_None;
669 return _resultobj;
670 }
671
672 static void *SwigwxCheckBoxTowxControl(void *ptr) {
673 wxCheckBox *src;
674 wxControl *dest;
675 src = (wxCheckBox *) ptr;
676 dest = (wxControl *) src;
677 return (void *) dest;
678 }
679
680 static void *SwigwxCheckBoxTowxWindow(void *ptr) {
681 wxCheckBox *src;
682 wxWindow *dest;
683 src = (wxCheckBox *) ptr;
684 dest = (wxWindow *) src;
685 return (void *) dest;
686 }
687
688 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
689 wxCheckBox *src;
690 wxEvtHandler *dest;
691 src = (wxCheckBox *) ptr;
692 dest = (wxEvtHandler *) src;
693 return (void *) dest;
694 }
695
696 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
697 static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args) {
698 PyObject * _resultobj;
699 wxCheckBox * _result;
700 wxWindow * _arg0;
701 wxWindowID _arg1;
702 wxString * _arg2;
703 wxPoint * _arg3 = &wxPyDefaultPosition;
704 wxSize * _arg4 = &wxPyDefaultSize;
705 long _arg5 = 0;
706 wxValidator * _arg6 = &wxPyDefaultValidator;
707 char * _arg7 = "checkBox";
708 char * _argc0 = 0;
709 PyObject * _obj2 = 0;
710 char * _argc3 = 0;
711 char * _argc4 = 0;
712 char * _argc6 = 0;
713 char _ptemp[128];
714
715 self = self;
716 if(!PyArg_ParseTuple(args,"siO|sslss:new_wxCheckBox",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
717 return NULL;
718 if (_argc0) {
719 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
721 return NULL;
722 }
723 }
724 {
725 if (!PyString_Check(_obj2)) {
726 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
727 return NULL;
728 }
729 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
730 }
731 if (_argc3) {
732 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
733 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxCheckBox. Expected _wxPoint_p.");
734 return NULL;
735 }
736 }
737 if (_argc4) {
738 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
739 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxCheckBox. Expected _wxSize_p.");
740 return NULL;
741 }
742 }
743 if (_argc6) {
744 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
745 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
746 return NULL;
747 }
748 }
749 {
750 wxPy_BEGIN_ALLOW_THREADS;
751 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
752
753 wxPy_END_ALLOW_THREADS;
754 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
755 _resultobj = Py_BuildValue("s",_ptemp);
756 {
757 if (_obj2)
758 delete _arg2;
759 }
760 return _resultobj;
761 }
762
763 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
764 static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args) {
765 PyObject * _resultobj;
766 bool _result;
767 wxCheckBox * _arg0;
768 char * _argc0 = 0;
769
770 self = self;
771 if(!PyArg_ParseTuple(args,"s:wxCheckBox_GetValue",&_argc0))
772 return NULL;
773 if (_argc0) {
774 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckBox_p")) {
775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
776 return NULL;
777 }
778 }
779 {
780 wxPy_BEGIN_ALLOW_THREADS;
781 _result = (bool )wxCheckBox_GetValue(_arg0);
782
783 wxPy_END_ALLOW_THREADS;
784 } _resultobj = Py_BuildValue("i",_result);
785 return _resultobj;
786 }
787
788 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
789 static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args) {
790 PyObject * _resultobj;
791 wxCheckBox * _arg0;
792 bool _arg1;
793 char * _argc0 = 0;
794 int tempbool1;
795
796 self = self;
797 if(!PyArg_ParseTuple(args,"si:wxCheckBox_SetValue",&_argc0,&tempbool1))
798 return NULL;
799 if (_argc0) {
800 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckBox_p")) {
801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
802 return NULL;
803 }
804 }
805 _arg1 = (bool ) tempbool1;
806 {
807 wxPy_BEGIN_ALLOW_THREADS;
808 wxCheckBox_SetValue(_arg0,_arg1);
809
810 wxPy_END_ALLOW_THREADS;
811 } Py_INCREF(Py_None);
812 _resultobj = Py_None;
813 return _resultobj;
814 }
815
816 static void *SwigwxChoiceTowxControl(void *ptr) {
817 wxChoice *src;
818 wxControl *dest;
819 src = (wxChoice *) ptr;
820 dest = (wxControl *) src;
821 return (void *) dest;
822 }
823
824 static void *SwigwxChoiceTowxWindow(void *ptr) {
825 wxChoice *src;
826 wxWindow *dest;
827 src = (wxChoice *) ptr;
828 dest = (wxWindow *) src;
829 return (void *) dest;
830 }
831
832 static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
833 wxChoice *src;
834 wxEvtHandler *dest;
835 src = (wxChoice *) ptr;
836 dest = (wxEvtHandler *) src;
837 return (void *) dest;
838 }
839
840 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
841 static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args) {
842 PyObject * _resultobj;
843 wxChoice * _result;
844 wxWindow * _arg0;
845 wxWindowID _arg1;
846 wxPoint * _arg2 = &wxPyDefaultPosition;
847 wxSize * _arg3 = &wxPyDefaultSize;
848 int _arg4 = 0;
849 wxString * _arg5 = NULL;
850 long _arg6 = 0;
851 wxValidator * _arg7 = &wxPyDefaultValidator;
852 char * _arg8 = "choice";
853 char * _argc0 = 0;
854 char * _argc2 = 0;
855 char * _argc3 = 0;
856 PyObject * _obj5 = 0;
857 char * _argc7 = 0;
858 char _ptemp[128];
859
860 self = self;
861 if(!PyArg_ParseTuple(args,"si|ssOlss:new_wxChoice",&_argc0,&_arg1,&_argc2,&_argc3,&_obj5,&_arg6,&_argc7,&_arg8))
862 return NULL;
863 if (_argc0) {
864 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
866 return NULL;
867 }
868 }
869 if (_argc2) {
870 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
871 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxChoice. Expected _wxPoint_p.");
872 return NULL;
873 }
874 }
875 if (_argc3) {
876 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
877 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxChoice. Expected _wxSize_p.");
878 return NULL;
879 }
880 }
881 if (_obj5)
882 {
883 _arg5 = wxString_LIST_helper(_obj5);
884 if (_arg5 == NULL) {
885 return NULL;
886 }
887 }
888 if (_argc7) {
889 if (SWIG_GetPtr(_argc7,(void **) &_arg7,"_wxValidator_p")) {
890 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
891 return NULL;
892 }
893 }
894 {
895 if (_obj5) {
896 _arg4 = PyList_Size(_obj5);
897 }
898 else {
899 _arg4 = 0;
900 }
901 }
902 {
903 wxPy_BEGIN_ALLOW_THREADS;
904 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
905
906 wxPy_END_ALLOW_THREADS;
907 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
908 _resultobj = Py_BuildValue("s",_ptemp);
909 {
910 delete [] _arg5;
911 }
912 return _resultobj;
913 }
914
915 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
916 static PyObject *_wrap_wxChoice_Append(PyObject *self, PyObject *args) {
917 PyObject * _resultobj;
918 wxChoice * _arg0;
919 wxString * _arg1;
920 char * _argc0 = 0;
921 PyObject * _obj1 = 0;
922
923 self = self;
924 if(!PyArg_ParseTuple(args,"sO:wxChoice_Append",&_argc0,&_obj1))
925 return NULL;
926 if (_argc0) {
927 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
929 return NULL;
930 }
931 }
932 {
933 if (!PyString_Check(_obj1)) {
934 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
935 return NULL;
936 }
937 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
938 }
939 {
940 wxPy_BEGIN_ALLOW_THREADS;
941 wxChoice_Append(_arg0,*_arg1);
942
943 wxPy_END_ALLOW_THREADS;
944 } Py_INCREF(Py_None);
945 _resultobj = Py_None;
946 {
947 if (_obj1)
948 delete _arg1;
949 }
950 return _resultobj;
951 }
952
953 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
954 static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args) {
955 PyObject * _resultobj;
956 wxChoice * _arg0;
957 char * _argc0 = 0;
958
959 self = self;
960 if(!PyArg_ParseTuple(args,"s:wxChoice_Clear",&_argc0))
961 return NULL;
962 if (_argc0) {
963 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
965 return NULL;
966 }
967 }
968 {
969 wxPy_BEGIN_ALLOW_THREADS;
970 wxChoice_Clear(_arg0);
971
972 wxPy_END_ALLOW_THREADS;
973 } Py_INCREF(Py_None);
974 _resultobj = Py_None;
975 return _resultobj;
976 }
977
978 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
979 static PyObject *_wrap_wxChoice_FindString(PyObject *self, PyObject *args) {
980 PyObject * _resultobj;
981 int _result;
982 wxChoice * _arg0;
983 wxString * _arg1;
984 char * _argc0 = 0;
985 PyObject * _obj1 = 0;
986
987 self = self;
988 if(!PyArg_ParseTuple(args,"sO:wxChoice_FindString",&_argc0,&_obj1))
989 return NULL;
990 if (_argc0) {
991 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
993 return NULL;
994 }
995 }
996 {
997 if (!PyString_Check(_obj1)) {
998 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
999 return NULL;
1000 }
1001 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1002 }
1003 {
1004 wxPy_BEGIN_ALLOW_THREADS;
1005 _result = (int )wxChoice_FindString(_arg0,*_arg1);
1006
1007 wxPy_END_ALLOW_THREADS;
1008 } _resultobj = Py_BuildValue("i",_result);
1009 {
1010 if (_obj1)
1011 delete _arg1;
1012 }
1013 return _resultobj;
1014 }
1015
1016 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1017 static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args) {
1018 PyObject * _resultobj;
1019 int _result;
1020 wxChoice * _arg0;
1021 char * _argc0 = 0;
1022
1023 self = self;
1024 if(!PyArg_ParseTuple(args,"s:wxChoice_GetColumns",&_argc0))
1025 return NULL;
1026 if (_argc0) {
1027 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1029 return NULL;
1030 }
1031 }
1032 {
1033 wxPy_BEGIN_ALLOW_THREADS;
1034 _result = (int )wxChoice_GetColumns(_arg0);
1035
1036 wxPy_END_ALLOW_THREADS;
1037 } _resultobj = Py_BuildValue("i",_result);
1038 return _resultobj;
1039 }
1040
1041 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1042 static PyObject *_wrap_wxChoice_GetSelection(PyObject *self, PyObject *args) {
1043 PyObject * _resultobj;
1044 int _result;
1045 wxChoice * _arg0;
1046 char * _argc0 = 0;
1047
1048 self = self;
1049 if(!PyArg_ParseTuple(args,"s:wxChoice_GetSelection",&_argc0))
1050 return NULL;
1051 if (_argc0) {
1052 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1054 return NULL;
1055 }
1056 }
1057 {
1058 wxPy_BEGIN_ALLOW_THREADS;
1059 _result = (int )wxChoice_GetSelection(_arg0);
1060
1061 wxPy_END_ALLOW_THREADS;
1062 } _resultobj = Py_BuildValue("i",_result);
1063 return _resultobj;
1064 }
1065
1066 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1067 static PyObject *_wrap_wxChoice_GetString(PyObject *self, PyObject *args) {
1068 PyObject * _resultobj;
1069 wxString * _result;
1070 wxChoice * _arg0;
1071 int _arg1;
1072 char * _argc0 = 0;
1073
1074 self = self;
1075 if(!PyArg_ParseTuple(args,"si:wxChoice_GetString",&_argc0,&_arg1))
1076 return NULL;
1077 if (_argc0) {
1078 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1080 return NULL;
1081 }
1082 }
1083 {
1084 wxPy_BEGIN_ALLOW_THREADS;
1085 _result = new wxString (wxChoice_GetString(_arg0,_arg1));
1086
1087 wxPy_END_ALLOW_THREADS;
1088 }{
1089 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1090 }
1091 {
1092 delete _result;
1093 }
1094 return _resultobj;
1095 }
1096
1097 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1098 static PyObject *_wrap_wxChoice_GetStringSelection(PyObject *self, PyObject *args) {
1099 PyObject * _resultobj;
1100 wxString * _result;
1101 wxChoice * _arg0;
1102 char * _argc0 = 0;
1103
1104 self = self;
1105 if(!PyArg_ParseTuple(args,"s:wxChoice_GetStringSelection",&_argc0))
1106 return NULL;
1107 if (_argc0) {
1108 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1110 return NULL;
1111 }
1112 }
1113 {
1114 wxPy_BEGIN_ALLOW_THREADS;
1115 _result = new wxString (wxChoice_GetStringSelection(_arg0));
1116
1117 wxPy_END_ALLOW_THREADS;
1118 }{
1119 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1120 }
1121 {
1122 delete _result;
1123 }
1124 return _resultobj;
1125 }
1126
1127 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1128 static PyObject *_wrap_wxChoice_Number(PyObject *self, PyObject *args) {
1129 PyObject * _resultobj;
1130 int _result;
1131 wxChoice * _arg0;
1132 char * _argc0 = 0;
1133
1134 self = self;
1135 if(!PyArg_ParseTuple(args,"s:wxChoice_Number",&_argc0))
1136 return NULL;
1137 if (_argc0) {
1138 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1140 return NULL;
1141 }
1142 }
1143 {
1144 wxPy_BEGIN_ALLOW_THREADS;
1145 _result = (int )wxChoice_Number(_arg0);
1146
1147 wxPy_END_ALLOW_THREADS;
1148 } _resultobj = Py_BuildValue("i",_result);
1149 return _resultobj;
1150 }
1151
1152 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1153 static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args) {
1154 PyObject * _resultobj;
1155 wxChoice * _arg0;
1156 int _arg1 = 1;
1157 char * _argc0 = 0;
1158
1159 self = self;
1160 if(!PyArg_ParseTuple(args,"s|i:wxChoice_SetColumns",&_argc0,&_arg1))
1161 return NULL;
1162 if (_argc0) {
1163 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1165 return NULL;
1166 }
1167 }
1168 {
1169 wxPy_BEGIN_ALLOW_THREADS;
1170 wxChoice_SetColumns(_arg0,_arg1);
1171
1172 wxPy_END_ALLOW_THREADS;
1173 } Py_INCREF(Py_None);
1174 _resultobj = Py_None;
1175 return _resultobj;
1176 }
1177
1178 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1179 static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args) {
1180 PyObject * _resultobj;
1181 wxChoice * _arg0;
1182 int _arg1;
1183 char * _argc0 = 0;
1184
1185 self = self;
1186 if(!PyArg_ParseTuple(args,"si:wxChoice_SetSelection",&_argc0,&_arg1))
1187 return NULL;
1188 if (_argc0) {
1189 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1191 return NULL;
1192 }
1193 }
1194 {
1195 wxPy_BEGIN_ALLOW_THREADS;
1196 wxChoice_SetSelection(_arg0,_arg1);
1197
1198 wxPy_END_ALLOW_THREADS;
1199 } Py_INCREF(Py_None);
1200 _resultobj = Py_None;
1201 return _resultobj;
1202 }
1203
1204 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1205 static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args) {
1206 PyObject * _resultobj;
1207 wxChoice * _arg0;
1208 wxString * _arg1;
1209 char * _argc0 = 0;
1210 PyObject * _obj1 = 0;
1211
1212 self = self;
1213 if(!PyArg_ParseTuple(args,"sO:wxChoice_SetStringSelection",&_argc0,&_obj1))
1214 return NULL;
1215 if (_argc0) {
1216 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
1217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1218 return NULL;
1219 }
1220 }
1221 {
1222 if (!PyString_Check(_obj1)) {
1223 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1224 return NULL;
1225 }
1226 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1227 }
1228 {
1229 wxPy_BEGIN_ALLOW_THREADS;
1230 wxChoice_SetStringSelection(_arg0,*_arg1);
1231
1232 wxPy_END_ALLOW_THREADS;
1233 } Py_INCREF(Py_None);
1234 _resultobj = Py_None;
1235 {
1236 if (_obj1)
1237 delete _arg1;
1238 }
1239 return _resultobj;
1240 }
1241
1242 static void *SwigwxComboBoxTowxChoice(void *ptr) {
1243 wxComboBox *src;
1244 wxChoice *dest;
1245 src = (wxComboBox *) ptr;
1246 dest = (wxChoice *) src;
1247 return (void *) dest;
1248 }
1249
1250 static void *SwigwxComboBoxTowxControl(void *ptr) {
1251 wxComboBox *src;
1252 wxControl *dest;
1253 src = (wxComboBox *) ptr;
1254 dest = (wxControl *) src;
1255 return (void *) dest;
1256 }
1257
1258 static void *SwigwxComboBoxTowxWindow(void *ptr) {
1259 wxComboBox *src;
1260 wxWindow *dest;
1261 src = (wxComboBox *) ptr;
1262 dest = (wxWindow *) src;
1263 return (void *) dest;
1264 }
1265
1266 static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
1267 wxComboBox *src;
1268 wxEvtHandler *dest;
1269 src = (wxComboBox *) ptr;
1270 dest = (wxEvtHandler *) src;
1271 return (void *) dest;
1272 }
1273
1274 #define new_wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
1275 static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args) {
1276 PyObject * _resultobj;
1277 wxComboBox * _result;
1278 wxWindow * _arg0;
1279 wxWindowID _arg1;
1280 char * _arg2 = "";
1281 wxPoint * _arg3 = &wxPyDefaultPosition;
1282 wxSize * _arg4 = &wxPyDefaultSize;
1283 int _arg5 = 0;
1284 wxString * _arg6 = NULL;
1285 long _arg7 = 0;
1286 wxValidator * _arg8 = &wxPyDefaultValidator;
1287 char * _arg9 = "comboBox";
1288 char * _argc0 = 0;
1289 char * _argc3 = 0;
1290 char * _argc4 = 0;
1291 PyObject * _obj6 = 0;
1292 char * _argc8 = 0;
1293 char _ptemp[128];
1294
1295 self = self;
1296 if(!PyArg_ParseTuple(args,"si|sssOlss:new_wxComboBox",&_argc0,&_arg1,&_arg2,&_argc3,&_argc4,&_obj6,&_arg7,&_argc8,&_arg9))
1297 return NULL;
1298 if (_argc0) {
1299 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1301 return NULL;
1302 }
1303 }
1304 if (_argc3) {
1305 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
1306 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxComboBox. Expected _wxPoint_p.");
1307 return NULL;
1308 }
1309 }
1310 if (_argc4) {
1311 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
1312 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxComboBox. Expected _wxSize_p.");
1313 return NULL;
1314 }
1315 }
1316 if (_obj6)
1317 {
1318 _arg6 = wxString_LIST_helper(_obj6);
1319 if (_arg6 == NULL) {
1320 return NULL;
1321 }
1322 }
1323 if (_argc8) {
1324 if (SWIG_GetPtr(_argc8,(void **) &_arg8,"_wxValidator_p")) {
1325 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1326 return NULL;
1327 }
1328 }
1329 {
1330 if (_obj6) {
1331 _arg5 = PyList_Size(_obj6);
1332 }
1333 else {
1334 _arg5 = 0;
1335 }
1336 }
1337 {
1338 wxPy_BEGIN_ALLOW_THREADS;
1339 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
1340
1341 wxPy_END_ALLOW_THREADS;
1342 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
1343 _resultobj = Py_BuildValue("s",_ptemp);
1344 {
1345 delete [] _arg6;
1346 }
1347 return _resultobj;
1348 }
1349
1350 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1351 static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args) {
1352 PyObject * _resultobj;
1353 wxComboBox * _arg0;
1354 wxString * _arg1;
1355 char * _argc0 = 0;
1356 PyObject * _obj1 = 0;
1357
1358 self = self;
1359 if(!PyArg_ParseTuple(args,"sO:wxComboBox_Append",&_argc0,&_obj1))
1360 return NULL;
1361 if (_argc0) {
1362 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1364 return NULL;
1365 }
1366 }
1367 {
1368 if (!PyString_Check(_obj1)) {
1369 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1370 return NULL;
1371 }
1372 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1373 }
1374 {
1375 wxPy_BEGIN_ALLOW_THREADS;
1376 wxComboBox_Append(_arg0,*_arg1);
1377
1378 wxPy_END_ALLOW_THREADS;
1379 } Py_INCREF(Py_None);
1380 _resultobj = Py_None;
1381 {
1382 if (_obj1)
1383 delete _arg1;
1384 }
1385 return _resultobj;
1386 }
1387
1388 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1389 static PyObject *_wrap_wxComboBox_Clear(PyObject *self, PyObject *args) {
1390 PyObject * _resultobj;
1391 wxComboBox * _arg0;
1392 char * _argc0 = 0;
1393
1394 self = self;
1395 if(!PyArg_ParseTuple(args,"s:wxComboBox_Clear",&_argc0))
1396 return NULL;
1397 if (_argc0) {
1398 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1400 return NULL;
1401 }
1402 }
1403 {
1404 wxPy_BEGIN_ALLOW_THREADS;
1405 wxComboBox_Clear(_arg0);
1406
1407 wxPy_END_ALLOW_THREADS;
1408 } Py_INCREF(Py_None);
1409 _resultobj = Py_None;
1410 return _resultobj;
1411 }
1412
1413 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1414 static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args) {
1415 PyObject * _resultobj;
1416 wxComboBox * _arg0;
1417 char * _argc0 = 0;
1418
1419 self = self;
1420 if(!PyArg_ParseTuple(args,"s:wxComboBox_Copy",&_argc0))
1421 return NULL;
1422 if (_argc0) {
1423 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1425 return NULL;
1426 }
1427 }
1428 {
1429 wxPy_BEGIN_ALLOW_THREADS;
1430 wxComboBox_Copy(_arg0);
1431
1432 wxPy_END_ALLOW_THREADS;
1433 } Py_INCREF(Py_None);
1434 _resultobj = Py_None;
1435 return _resultobj;
1436 }
1437
1438 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1439 static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args) {
1440 PyObject * _resultobj;
1441 wxComboBox * _arg0;
1442 char * _argc0 = 0;
1443
1444 self = self;
1445 if(!PyArg_ParseTuple(args,"s:wxComboBox_Cut",&_argc0))
1446 return NULL;
1447 if (_argc0) {
1448 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1450 return NULL;
1451 }
1452 }
1453 {
1454 wxPy_BEGIN_ALLOW_THREADS;
1455 wxComboBox_Cut(_arg0);
1456
1457 wxPy_END_ALLOW_THREADS;
1458 } Py_INCREF(Py_None);
1459 _resultobj = Py_None;
1460 return _resultobj;
1461 }
1462
1463 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1464 static PyObject *_wrap_wxComboBox_Delete(PyObject *self, PyObject *args) {
1465 PyObject * _resultobj;
1466 wxComboBox * _arg0;
1467 int _arg1;
1468 char * _argc0 = 0;
1469
1470 self = self;
1471 if(!PyArg_ParseTuple(args,"si:wxComboBox_Delete",&_argc0,&_arg1))
1472 return NULL;
1473 if (_argc0) {
1474 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
1476 return NULL;
1477 }
1478 }
1479 {
1480 wxPy_BEGIN_ALLOW_THREADS;
1481 wxComboBox_Delete(_arg0,_arg1);
1482
1483 wxPy_END_ALLOW_THREADS;
1484 } Py_INCREF(Py_None);
1485 _resultobj = Py_None;
1486 return _resultobj;
1487 }
1488
1489 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1490 static PyObject *_wrap_wxComboBox_FindString(PyObject *self, PyObject *args) {
1491 PyObject * _resultobj;
1492 int _result;
1493 wxComboBox * _arg0;
1494 wxString * _arg1;
1495 char * _argc0 = 0;
1496 PyObject * _obj1 = 0;
1497
1498 self = self;
1499 if(!PyArg_ParseTuple(args,"sO:wxComboBox_FindString",&_argc0,&_obj1))
1500 return NULL;
1501 if (_argc0) {
1502 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
1504 return NULL;
1505 }
1506 }
1507 {
1508 if (!PyString_Check(_obj1)) {
1509 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1510 return NULL;
1511 }
1512 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1513 }
1514 {
1515 wxPy_BEGIN_ALLOW_THREADS;
1516 _result = (int )wxComboBox_FindString(_arg0,*_arg1);
1517
1518 wxPy_END_ALLOW_THREADS;
1519 } _resultobj = Py_BuildValue("i",_result);
1520 {
1521 if (_obj1)
1522 delete _arg1;
1523 }
1524 return _resultobj;
1525 }
1526
1527 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
1528 static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args) {
1529 PyObject * _resultobj;
1530 long _result;
1531 wxComboBox * _arg0;
1532 char * _argc0 = 0;
1533
1534 self = self;
1535 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetInsertionPoint",&_argc0))
1536 return NULL;
1537 if (_argc0) {
1538 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
1540 return NULL;
1541 }
1542 }
1543 {
1544 wxPy_BEGIN_ALLOW_THREADS;
1545 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
1546
1547 wxPy_END_ALLOW_THREADS;
1548 } _resultobj = Py_BuildValue("l",_result);
1549 return _resultobj;
1550 }
1551
1552 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
1553 static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args) {
1554 PyObject * _resultobj;
1555 long _result;
1556 wxComboBox * _arg0;
1557 char * _argc0 = 0;
1558
1559 self = self;
1560 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetLastPosition",&_argc0))
1561 return NULL;
1562 if (_argc0) {
1563 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
1565 return NULL;
1566 }
1567 }
1568 {
1569 wxPy_BEGIN_ALLOW_THREADS;
1570 _result = (long )wxComboBox_GetLastPosition(_arg0);
1571
1572 wxPy_END_ALLOW_THREADS;
1573 } _resultobj = Py_BuildValue("l",_result);
1574 return _resultobj;
1575 }
1576
1577 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
1578 static PyObject *_wrap_wxComboBox_GetSelection(PyObject *self, PyObject *args) {
1579 PyObject * _resultobj;
1580 int _result;
1581 wxComboBox * _arg0;
1582 char * _argc0 = 0;
1583
1584 self = self;
1585 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetSelection",&_argc0))
1586 return NULL;
1587 if (_argc0) {
1588 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
1590 return NULL;
1591 }
1592 }
1593 {
1594 wxPy_BEGIN_ALLOW_THREADS;
1595 _result = (int )wxComboBox_GetSelection(_arg0);
1596
1597 wxPy_END_ALLOW_THREADS;
1598 } _resultobj = Py_BuildValue("i",_result);
1599 return _resultobj;
1600 }
1601
1602 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1603 static PyObject *_wrap_wxComboBox_GetString(PyObject *self, PyObject *args) {
1604 PyObject * _resultobj;
1605 wxString * _result;
1606 wxComboBox * _arg0;
1607 int _arg1;
1608 char * _argc0 = 0;
1609
1610 self = self;
1611 if(!PyArg_ParseTuple(args,"si:wxComboBox_GetString",&_argc0,&_arg1))
1612 return NULL;
1613 if (_argc0) {
1614 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
1616 return NULL;
1617 }
1618 }
1619 {
1620 wxPy_BEGIN_ALLOW_THREADS;
1621 _result = new wxString (wxComboBox_GetString(_arg0,_arg1));
1622
1623 wxPy_END_ALLOW_THREADS;
1624 }{
1625 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1626 }
1627 {
1628 delete _result;
1629 }
1630 return _resultobj;
1631 }
1632
1633 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1634 static PyObject *_wrap_wxComboBox_GetStringSelection(PyObject *self, PyObject *args) {
1635 PyObject * _resultobj;
1636 wxString * _result;
1637 wxComboBox * _arg0;
1638 char * _argc0 = 0;
1639
1640 self = self;
1641 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetStringSelection",&_argc0))
1642 return NULL;
1643 if (_argc0) {
1644 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
1646 return NULL;
1647 }
1648 }
1649 {
1650 wxPy_BEGIN_ALLOW_THREADS;
1651 _result = new wxString (wxComboBox_GetStringSelection(_arg0));
1652
1653 wxPy_END_ALLOW_THREADS;
1654 }{
1655 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1656 }
1657 {
1658 delete _result;
1659 }
1660 return _resultobj;
1661 }
1662
1663 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
1664 static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args) {
1665 PyObject * _resultobj;
1666 wxString * _result;
1667 wxComboBox * _arg0;
1668 char * _argc0 = 0;
1669
1670 self = self;
1671 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetValue",&_argc0))
1672 return NULL;
1673 if (_argc0) {
1674 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
1676 return NULL;
1677 }
1678 }
1679 {
1680 wxPy_BEGIN_ALLOW_THREADS;
1681 _result = new wxString (wxComboBox_GetValue(_arg0));
1682
1683 wxPy_END_ALLOW_THREADS;
1684 }{
1685 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1686 }
1687 {
1688 delete _result;
1689 }
1690 return _resultobj;
1691 }
1692
1693 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
1694 static PyObject *_wrap_wxComboBox_Number(PyObject *self, PyObject *args) {
1695 PyObject * _resultobj;
1696 int _result;
1697 wxComboBox * _arg0;
1698 char * _argc0 = 0;
1699
1700 self = self;
1701 if(!PyArg_ParseTuple(args,"s:wxComboBox_Number",&_argc0))
1702 return NULL;
1703 if (_argc0) {
1704 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
1706 return NULL;
1707 }
1708 }
1709 {
1710 wxPy_BEGIN_ALLOW_THREADS;
1711 _result = (int )wxComboBox_Number(_arg0);
1712
1713 wxPy_END_ALLOW_THREADS;
1714 } _resultobj = Py_BuildValue("i",_result);
1715 return _resultobj;
1716 }
1717
1718 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
1719 static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args) {
1720 PyObject * _resultobj;
1721 wxComboBox * _arg0;
1722 char * _argc0 = 0;
1723
1724 self = self;
1725 if(!PyArg_ParseTuple(args,"s:wxComboBox_Paste",&_argc0))
1726 return NULL;
1727 if (_argc0) {
1728 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
1730 return NULL;
1731 }
1732 }
1733 {
1734 wxPy_BEGIN_ALLOW_THREADS;
1735 wxComboBox_Paste(_arg0);
1736
1737 wxPy_END_ALLOW_THREADS;
1738 } Py_INCREF(Py_None);
1739 _resultobj = Py_None;
1740 return _resultobj;
1741 }
1742
1743 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
1744 static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args) {
1745 PyObject * _resultobj;
1746 wxComboBox * _arg0;
1747 long _arg1;
1748 long _arg2;
1749 wxString * _arg3;
1750 char * _argc0 = 0;
1751 PyObject * _obj3 = 0;
1752
1753 self = self;
1754 if(!PyArg_ParseTuple(args,"sllO:wxComboBox_Replace",&_argc0,&_arg1,&_arg2,&_obj3))
1755 return NULL;
1756 if (_argc0) {
1757 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
1759 return NULL;
1760 }
1761 }
1762 {
1763 if (!PyString_Check(_obj3)) {
1764 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1765 return NULL;
1766 }
1767 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
1768 }
1769 {
1770 wxPy_BEGIN_ALLOW_THREADS;
1771 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
1772
1773 wxPy_END_ALLOW_THREADS;
1774 } Py_INCREF(Py_None);
1775 _resultobj = Py_None;
1776 {
1777 if (_obj3)
1778 delete _arg3;
1779 }
1780 return _resultobj;
1781 }
1782
1783 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
1784 static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args) {
1785 PyObject * _resultobj;
1786 wxComboBox * _arg0;
1787 long _arg1;
1788 long _arg2;
1789 char * _argc0 = 0;
1790
1791 self = self;
1792 if(!PyArg_ParseTuple(args,"sll:wxComboBox_Remove",&_argc0,&_arg1,&_arg2))
1793 return NULL;
1794 if (_argc0) {
1795 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
1797 return NULL;
1798 }
1799 }
1800 {
1801 wxPy_BEGIN_ALLOW_THREADS;
1802 wxComboBox_Remove(_arg0,_arg1,_arg2);
1803
1804 wxPy_END_ALLOW_THREADS;
1805 } Py_INCREF(Py_None);
1806 _resultobj = Py_None;
1807 return _resultobj;
1808 }
1809
1810 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
1811 static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args) {
1812 PyObject * _resultobj;
1813 wxComboBox * _arg0;
1814 long _arg1;
1815 char * _argc0 = 0;
1816
1817 self = self;
1818 if(!PyArg_ParseTuple(args,"sl:wxComboBox_SetInsertionPoint",&_argc0,&_arg1))
1819 return NULL;
1820 if (_argc0) {
1821 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
1823 return NULL;
1824 }
1825 }
1826 {
1827 wxPy_BEGIN_ALLOW_THREADS;
1828 wxComboBox_SetInsertionPoint(_arg0,_arg1);
1829
1830 wxPy_END_ALLOW_THREADS;
1831 } Py_INCREF(Py_None);
1832 _resultobj = Py_None;
1833 return _resultobj;
1834 }
1835
1836 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
1837 static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args) {
1838 PyObject * _resultobj;
1839 wxComboBox * _arg0;
1840 char * _argc0 = 0;
1841
1842 self = self;
1843 if(!PyArg_ParseTuple(args,"s:wxComboBox_SetInsertionPointEnd",&_argc0))
1844 return NULL;
1845 if (_argc0) {
1846 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
1848 return NULL;
1849 }
1850 }
1851 {
1852 wxPy_BEGIN_ALLOW_THREADS;
1853 wxComboBox_SetInsertionPointEnd(_arg0);
1854
1855 wxPy_END_ALLOW_THREADS;
1856 } Py_INCREF(Py_None);
1857 _resultobj = Py_None;
1858 return _resultobj;
1859 }
1860
1861 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
1862 static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args) {
1863 PyObject * _resultobj;
1864 wxComboBox * _arg0;
1865 long _arg1;
1866 long _arg2;
1867 char * _argc0 = 0;
1868
1869 self = self;
1870 if(!PyArg_ParseTuple(args,"sll:wxComboBox_SetMark",&_argc0,&_arg1,&_arg2))
1871 return NULL;
1872 if (_argc0) {
1873 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
1875 return NULL;
1876 }
1877 }
1878 {
1879 wxPy_BEGIN_ALLOW_THREADS;
1880 wxComboBox_SetMark(_arg0,_arg1,_arg2);
1881
1882 wxPy_END_ALLOW_THREADS;
1883 } Py_INCREF(Py_None);
1884 _resultobj = Py_None;
1885 return _resultobj;
1886 }
1887
1888 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1889 static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args) {
1890 PyObject * _resultobj;
1891 wxComboBox * _arg0;
1892 wxString * _arg1;
1893 char * _argc0 = 0;
1894 PyObject * _obj1 = 0;
1895
1896 self = self;
1897 if(!PyArg_ParseTuple(args,"sO:wxComboBox_SetValue",&_argc0,&_obj1))
1898 return NULL;
1899 if (_argc0) {
1900 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
1902 return NULL;
1903 }
1904 }
1905 {
1906 if (!PyString_Check(_obj1)) {
1907 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1908 return NULL;
1909 }
1910 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1911 }
1912 {
1913 wxPy_BEGIN_ALLOW_THREADS;
1914 wxComboBox_SetValue(_arg0,*_arg1);
1915
1916 wxPy_END_ALLOW_THREADS;
1917 } Py_INCREF(Py_None);
1918 _resultobj = Py_None;
1919 {
1920 if (_obj1)
1921 delete _arg1;
1922 }
1923 return _resultobj;
1924 }
1925
1926 static void *SwigwxGaugeTowxControl(void *ptr) {
1927 wxGauge *src;
1928 wxControl *dest;
1929 src = (wxGauge *) ptr;
1930 dest = (wxControl *) src;
1931 return (void *) dest;
1932 }
1933
1934 static void *SwigwxGaugeTowxWindow(void *ptr) {
1935 wxGauge *src;
1936 wxWindow *dest;
1937 src = (wxGauge *) ptr;
1938 dest = (wxWindow *) src;
1939 return (void *) dest;
1940 }
1941
1942 static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
1943 wxGauge *src;
1944 wxEvtHandler *dest;
1945 src = (wxGauge *) ptr;
1946 dest = (wxEvtHandler *) src;
1947 return (void *) dest;
1948 }
1949
1950 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1951 static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args) {
1952 PyObject * _resultobj;
1953 wxGauge * _result;
1954 wxWindow * _arg0;
1955 wxWindowID _arg1;
1956 int _arg2;
1957 wxPoint * _arg3 = &wxPyDefaultPosition;
1958 wxSize * _arg4 = &wxPyDefaultSize;
1959 long _arg5 = (wxGA_HORIZONTAL);
1960 wxValidator * _arg6 = &wxPyDefaultValidator;
1961 char * _arg7 = "gauge";
1962 char * _argc0 = 0;
1963 char * _argc3 = 0;
1964 char * _argc4 = 0;
1965 char * _argc6 = 0;
1966 char _ptemp[128];
1967
1968 self = self;
1969 if(!PyArg_ParseTuple(args,"sii|sslss:new_wxGauge",&_argc0,&_arg1,&_arg2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
1970 return NULL;
1971 if (_argc0) {
1972 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
1974 return NULL;
1975 }
1976 }
1977 if (_argc3) {
1978 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
1979 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGauge. Expected _wxPoint_p.");
1980 return NULL;
1981 }
1982 }
1983 if (_argc4) {
1984 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
1985 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxGauge. Expected _wxSize_p.");
1986 return NULL;
1987 }
1988 }
1989 if (_argc6) {
1990 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
1991 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
1992 return NULL;
1993 }
1994 }
1995 {
1996 wxPy_BEGIN_ALLOW_THREADS;
1997 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
1998
1999 wxPy_END_ALLOW_THREADS;
2000 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
2001 _resultobj = Py_BuildValue("s",_ptemp);
2002 return _resultobj;
2003 }
2004
2005 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2006 static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args) {
2007 PyObject * _resultobj;
2008 int _result;
2009 wxGauge * _arg0;
2010 char * _argc0 = 0;
2011
2012 self = self;
2013 if(!PyArg_ParseTuple(args,"s:wxGauge_GetBezelFace",&_argc0))
2014 return NULL;
2015 if (_argc0) {
2016 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2018 return NULL;
2019 }
2020 }
2021 {
2022 wxPy_BEGIN_ALLOW_THREADS;
2023 _result = (int )wxGauge_GetBezelFace(_arg0);
2024
2025 wxPy_END_ALLOW_THREADS;
2026 } _resultobj = Py_BuildValue("i",_result);
2027 return _resultobj;
2028 }
2029
2030 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2031 static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args) {
2032 PyObject * _resultobj;
2033 int _result;
2034 wxGauge * _arg0;
2035 char * _argc0 = 0;
2036
2037 self = self;
2038 if(!PyArg_ParseTuple(args,"s:wxGauge_GetRange",&_argc0))
2039 return NULL;
2040 if (_argc0) {
2041 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2043 return NULL;
2044 }
2045 }
2046 {
2047 wxPy_BEGIN_ALLOW_THREADS;
2048 _result = (int )wxGauge_GetRange(_arg0);
2049
2050 wxPy_END_ALLOW_THREADS;
2051 } _resultobj = Py_BuildValue("i",_result);
2052 return _resultobj;
2053 }
2054
2055 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2056 static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args) {
2057 PyObject * _resultobj;
2058 int _result;
2059 wxGauge * _arg0;
2060 char * _argc0 = 0;
2061
2062 self = self;
2063 if(!PyArg_ParseTuple(args,"s:wxGauge_GetShadowWidth",&_argc0))
2064 return NULL;
2065 if (_argc0) {
2066 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2068 return NULL;
2069 }
2070 }
2071 {
2072 wxPy_BEGIN_ALLOW_THREADS;
2073 _result = (int )wxGauge_GetShadowWidth(_arg0);
2074
2075 wxPy_END_ALLOW_THREADS;
2076 } _resultobj = Py_BuildValue("i",_result);
2077 return _resultobj;
2078 }
2079
2080 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2081 static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args) {
2082 PyObject * _resultobj;
2083 int _result;
2084 wxGauge * _arg0;
2085 char * _argc0 = 0;
2086
2087 self = self;
2088 if(!PyArg_ParseTuple(args,"s:wxGauge_GetValue",&_argc0))
2089 return NULL;
2090 if (_argc0) {
2091 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2093 return NULL;
2094 }
2095 }
2096 {
2097 wxPy_BEGIN_ALLOW_THREADS;
2098 _result = (int )wxGauge_GetValue(_arg0);
2099
2100 wxPy_END_ALLOW_THREADS;
2101 } _resultobj = Py_BuildValue("i",_result);
2102 return _resultobj;
2103 }
2104
2105 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2106 static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args) {
2107 PyObject * _resultobj;
2108 wxGauge * _arg0;
2109 int _arg1;
2110 char * _argc0 = 0;
2111
2112 self = self;
2113 if(!PyArg_ParseTuple(args,"si:wxGauge_SetBezelFace",&_argc0,&_arg1))
2114 return NULL;
2115 if (_argc0) {
2116 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2118 return NULL;
2119 }
2120 }
2121 {
2122 wxPy_BEGIN_ALLOW_THREADS;
2123 wxGauge_SetBezelFace(_arg0,_arg1);
2124
2125 wxPy_END_ALLOW_THREADS;
2126 } Py_INCREF(Py_None);
2127 _resultobj = Py_None;
2128 return _resultobj;
2129 }
2130
2131 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2132 static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args) {
2133 PyObject * _resultobj;
2134 wxGauge * _arg0;
2135 int _arg1;
2136 char * _argc0 = 0;
2137
2138 self = self;
2139 if(!PyArg_ParseTuple(args,"si:wxGauge_SetRange",&_argc0,&_arg1))
2140 return NULL;
2141 if (_argc0) {
2142 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2144 return NULL;
2145 }
2146 }
2147 {
2148 wxPy_BEGIN_ALLOW_THREADS;
2149 wxGauge_SetRange(_arg0,_arg1);
2150
2151 wxPy_END_ALLOW_THREADS;
2152 } Py_INCREF(Py_None);
2153 _resultobj = Py_None;
2154 return _resultobj;
2155 }
2156
2157 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2158 static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args) {
2159 PyObject * _resultobj;
2160 wxGauge * _arg0;
2161 int _arg1;
2162 char * _argc0 = 0;
2163
2164 self = self;
2165 if(!PyArg_ParseTuple(args,"si:wxGauge_SetShadowWidth",&_argc0,&_arg1))
2166 return NULL;
2167 if (_argc0) {
2168 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2170 return NULL;
2171 }
2172 }
2173 {
2174 wxPy_BEGIN_ALLOW_THREADS;
2175 wxGauge_SetShadowWidth(_arg0,_arg1);
2176
2177 wxPy_END_ALLOW_THREADS;
2178 } Py_INCREF(Py_None);
2179 _resultobj = Py_None;
2180 return _resultobj;
2181 }
2182
2183 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2184 static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args) {
2185 PyObject * _resultobj;
2186 wxGauge * _arg0;
2187 int _arg1;
2188 char * _argc0 = 0;
2189
2190 self = self;
2191 if(!PyArg_ParseTuple(args,"si:wxGauge_SetValue",&_argc0,&_arg1))
2192 return NULL;
2193 if (_argc0) {
2194 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
2195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2196 return NULL;
2197 }
2198 }
2199 {
2200 wxPy_BEGIN_ALLOW_THREADS;
2201 wxGauge_SetValue(_arg0,_arg1);
2202
2203 wxPy_END_ALLOW_THREADS;
2204 } Py_INCREF(Py_None);
2205 _resultobj = Py_None;
2206 return _resultobj;
2207 }
2208
2209 static void *SwigwxStaticBoxTowxControl(void *ptr) {
2210 wxStaticBox *src;
2211 wxControl *dest;
2212 src = (wxStaticBox *) ptr;
2213 dest = (wxControl *) src;
2214 return (void *) dest;
2215 }
2216
2217 static void *SwigwxStaticBoxTowxWindow(void *ptr) {
2218 wxStaticBox *src;
2219 wxWindow *dest;
2220 src = (wxStaticBox *) ptr;
2221 dest = (wxWindow *) src;
2222 return (void *) dest;
2223 }
2224
2225 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
2226 wxStaticBox *src;
2227 wxEvtHandler *dest;
2228 src = (wxStaticBox *) ptr;
2229 dest = (wxEvtHandler *) src;
2230 return (void *) dest;
2231 }
2232
2233 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2234 static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args) {
2235 PyObject * _resultobj;
2236 wxStaticBox * _result;
2237 wxWindow * _arg0;
2238 wxWindowID _arg1;
2239 wxString * _arg2;
2240 wxPoint * _arg3 = &wxPyDefaultPosition;
2241 wxSize * _arg4 = &wxPyDefaultSize;
2242 long _arg5 = 0;
2243 char * _arg6 = "staticBox";
2244 char * _argc0 = 0;
2245 PyObject * _obj2 = 0;
2246 char * _argc3 = 0;
2247 char * _argc4 = 0;
2248 char _ptemp[128];
2249
2250 self = self;
2251 if(!PyArg_ParseTuple(args,"siO|ssls:new_wxStaticBox",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6))
2252 return NULL;
2253 if (_argc0) {
2254 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2256 return NULL;
2257 }
2258 }
2259 {
2260 if (!PyString_Check(_obj2)) {
2261 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2262 return NULL;
2263 }
2264 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2265 }
2266 if (_argc3) {
2267 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
2268 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticBox. Expected _wxPoint_p.");
2269 return NULL;
2270 }
2271 }
2272 if (_argc4) {
2273 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
2274 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxStaticBox. Expected _wxSize_p.");
2275 return NULL;
2276 }
2277 }
2278 {
2279 wxPy_BEGIN_ALLOW_THREADS;
2280 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
2281
2282 wxPy_END_ALLOW_THREADS;
2283 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
2284 _resultobj = Py_BuildValue("s",_ptemp);
2285 {
2286 if (_obj2)
2287 delete _arg2;
2288 }
2289 return _resultobj;
2290 }
2291
2292 static void *SwigwxStaticLineTowxControl(void *ptr) {
2293 wxStaticLine *src;
2294 wxControl *dest;
2295 src = (wxStaticLine *) ptr;
2296 dest = (wxControl *) src;
2297 return (void *) dest;
2298 }
2299
2300 static void *SwigwxStaticLineTowxWindow(void *ptr) {
2301 wxStaticLine *src;
2302 wxWindow *dest;
2303 src = (wxStaticLine *) ptr;
2304 dest = (wxWindow *) src;
2305 return (void *) dest;
2306 }
2307
2308 static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
2309 wxStaticLine *src;
2310 wxEvtHandler *dest;
2311 src = (wxStaticLine *) ptr;
2312 dest = (wxEvtHandler *) src;
2313 return (void *) dest;
2314 }
2315
2316 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2317 static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args) {
2318 PyObject * _resultobj;
2319 wxStaticLine * _result;
2320 wxWindow * _arg0;
2321 wxWindowID _arg1;
2322 wxPoint * _arg2 = &wxPyDefaultPosition;
2323 wxSize * _arg3 = &wxPyDefaultSize;
2324 long _arg4 = wxLI_HORIZONTAL;
2325 char * _arg5 = "staticLine";
2326 char * _argc0 = 0;
2327 char * _argc2 = 0;
2328 char * _argc3 = 0;
2329 char _ptemp[128];
2330
2331 self = self;
2332 if(!PyArg_ParseTuple(args,"si|ssls:new_wxStaticLine",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
2333 return NULL;
2334 if (_argc0) {
2335 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
2337 return NULL;
2338 }
2339 }
2340 if (_argc2) {
2341 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2342 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticLine. Expected _wxPoint_p.");
2343 return NULL;
2344 }
2345 }
2346 if (_argc3) {
2347 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2348 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticLine. Expected _wxSize_p.");
2349 return NULL;
2350 }
2351 }
2352 {
2353 wxPy_BEGIN_ALLOW_THREADS;
2354 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
2355
2356 wxPy_END_ALLOW_THREADS;
2357 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
2358 _resultobj = Py_BuildValue("s",_ptemp);
2359 return _resultobj;
2360 }
2361
2362 static void *SwigwxStaticTextTowxControl(void *ptr) {
2363 wxStaticText *src;
2364 wxControl *dest;
2365 src = (wxStaticText *) ptr;
2366 dest = (wxControl *) src;
2367 return (void *) dest;
2368 }
2369
2370 static void *SwigwxStaticTextTowxWindow(void *ptr) {
2371 wxStaticText *src;
2372 wxWindow *dest;
2373 src = (wxStaticText *) ptr;
2374 dest = (wxWindow *) src;
2375 return (void *) dest;
2376 }
2377
2378 static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
2379 wxStaticText *src;
2380 wxEvtHandler *dest;
2381 src = (wxStaticText *) ptr;
2382 dest = (wxEvtHandler *) src;
2383 return (void *) dest;
2384 }
2385
2386 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2387 static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args) {
2388 PyObject * _resultobj;
2389 wxStaticText * _result;
2390 wxWindow * _arg0;
2391 wxWindowID _arg1;
2392 wxString * _arg2;
2393 wxPoint * _arg3 = &wxPyDefaultPosition;
2394 wxSize * _arg4 = &wxPyDefaultSize;
2395 long _arg5 = 0;
2396 char * _arg6 = "staticText";
2397 char * _argc0 = 0;
2398 PyObject * _obj2 = 0;
2399 char * _argc3 = 0;
2400 char * _argc4 = 0;
2401 char _ptemp[128];
2402
2403 self = self;
2404 if(!PyArg_ParseTuple(args,"siO|ssls:new_wxStaticText",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6))
2405 return NULL;
2406 if (_argc0) {
2407 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
2409 return NULL;
2410 }
2411 }
2412 {
2413 if (!PyString_Check(_obj2)) {
2414 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2415 return NULL;
2416 }
2417 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
2418 }
2419 if (_argc3) {
2420 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
2421 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticText. Expected _wxPoint_p.");
2422 return NULL;
2423 }
2424 }
2425 if (_argc4) {
2426 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
2427 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxStaticText. Expected _wxSize_p.");
2428 return NULL;
2429 }
2430 }
2431 {
2432 wxPy_BEGIN_ALLOW_THREADS;
2433 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
2434
2435 wxPy_END_ALLOW_THREADS;
2436 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
2437 _resultobj = Py_BuildValue("s",_ptemp);
2438 {
2439 if (_obj2)
2440 delete _arg2;
2441 }
2442 return _resultobj;
2443 }
2444
2445 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
2446 static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args) {
2447 PyObject * _resultobj;
2448 wxString * _result;
2449 wxStaticText * _arg0;
2450 char * _argc0 = 0;
2451
2452 self = self;
2453 if(!PyArg_ParseTuple(args,"s:wxStaticText_GetLabel",&_argc0))
2454 return NULL;
2455 if (_argc0) {
2456 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticText_p")) {
2457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
2458 return NULL;
2459 }
2460 }
2461 {
2462 wxPy_BEGIN_ALLOW_THREADS;
2463 _result = new wxString (wxStaticText_GetLabel(_arg0));
2464
2465 wxPy_END_ALLOW_THREADS;
2466 }{
2467 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2468 }
2469 {
2470 delete _result;
2471 }
2472 return _resultobj;
2473 }
2474
2475 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2476 static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args) {
2477 PyObject * _resultobj;
2478 wxStaticText * _arg0;
2479 wxString * _arg1;
2480 char * _argc0 = 0;
2481 PyObject * _obj1 = 0;
2482
2483 self = self;
2484 if(!PyArg_ParseTuple(args,"sO:wxStaticText_SetLabel",&_argc0,&_obj1))
2485 return NULL;
2486 if (_argc0) {
2487 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticText_p")) {
2488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
2489 return NULL;
2490 }
2491 }
2492 {
2493 if (!PyString_Check(_obj1)) {
2494 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2495 return NULL;
2496 }
2497 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2498 }
2499 {
2500 wxPy_BEGIN_ALLOW_THREADS;
2501 wxStaticText_SetLabel(_arg0,*_arg1);
2502
2503 wxPy_END_ALLOW_THREADS;
2504 } Py_INCREF(Py_None);
2505 _resultobj = Py_None;
2506 {
2507 if (_obj1)
2508 delete _arg1;
2509 }
2510 return _resultobj;
2511 }
2512
2513 static void *SwigwxListBoxTowxControl(void *ptr) {
2514 wxListBox *src;
2515 wxControl *dest;
2516 src = (wxListBox *) ptr;
2517 dest = (wxControl *) src;
2518 return (void *) dest;
2519 }
2520
2521 static void *SwigwxListBoxTowxWindow(void *ptr) {
2522 wxListBox *src;
2523 wxWindow *dest;
2524 src = (wxListBox *) ptr;
2525 dest = (wxWindow *) src;
2526 return (void *) dest;
2527 }
2528
2529 static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
2530 wxListBox *src;
2531 wxEvtHandler *dest;
2532 src = (wxListBox *) ptr;
2533 dest = (wxEvtHandler *) src;
2534 return (void *) dest;
2535 }
2536
2537 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2538 static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args) {
2539 PyObject * _resultobj;
2540 wxListBox * _result;
2541 wxWindow * _arg0;
2542 wxWindowID _arg1;
2543 wxPoint * _arg2 = &wxPyDefaultPosition;
2544 wxSize * _arg3 = &wxPyDefaultSize;
2545 int _arg4;
2546 wxString * _arg5 = NULL;
2547 long _arg6 = 0;
2548 wxValidator * _arg7 = &wxPyDefaultValidator;
2549 char * _arg8 = "listBox";
2550 char * _argc0 = 0;
2551 char * _argc2 = 0;
2552 char * _argc3 = 0;
2553 PyObject * _obj5 = 0;
2554 char * _argc7 = 0;
2555 char _ptemp[128];
2556
2557 self = self;
2558 if(!PyArg_ParseTuple(args,"si|ssOlss:new_wxListBox",&_argc0,&_arg1,&_argc2,&_argc3,&_obj5,&_arg6,&_argc7,&_arg8))
2559 return NULL;
2560 if (_argc0) {
2561 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
2563 return NULL;
2564 }
2565 }
2566 if (_argc2) {
2567 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2568 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListBox. Expected _wxPoint_p.");
2569 return NULL;
2570 }
2571 }
2572 if (_argc3) {
2573 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2574 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxListBox. Expected _wxSize_p.");
2575 return NULL;
2576 }
2577 }
2578 if (_obj5)
2579 {
2580 _arg5 = wxString_LIST_helper(_obj5);
2581 if (_arg5 == NULL) {
2582 return NULL;
2583 }
2584 }
2585 if (_argc7) {
2586 if (SWIG_GetPtr(_argc7,(void **) &_arg7,"_wxValidator_p")) {
2587 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
2588 return NULL;
2589 }
2590 }
2591 {
2592 if (_obj5) {
2593 _arg4 = PyList_Size(_obj5);
2594 }
2595 else {
2596 _arg4 = 0;
2597 }
2598 }
2599 {
2600 wxPy_BEGIN_ALLOW_THREADS;
2601 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
2602
2603 wxPy_END_ALLOW_THREADS;
2604 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
2605 _resultobj = Py_BuildValue("s",_ptemp);
2606 {
2607 delete [] _arg5;
2608 }
2609 return _resultobj;
2610 }
2611
2612 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
2613 static PyObject *_wrap_wxListBox_Append(PyObject *self, PyObject *args) {
2614 PyObject * _resultobj;
2615 wxListBox * _arg0;
2616 wxString * _arg1;
2617 char * _argc0 = 0;
2618 PyObject * _obj1 = 0;
2619
2620 self = self;
2621 if(!PyArg_ParseTuple(args,"sO:wxListBox_Append",&_argc0,&_obj1))
2622 return NULL;
2623 if (_argc0) {
2624 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
2626 return NULL;
2627 }
2628 }
2629 {
2630 if (!PyString_Check(_obj1)) {
2631 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2632 return NULL;
2633 }
2634 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2635 }
2636 {
2637 wxPy_BEGIN_ALLOW_THREADS;
2638 wxListBox_Append(_arg0,*_arg1);
2639
2640 wxPy_END_ALLOW_THREADS;
2641 } Py_INCREF(Py_None);
2642 _resultobj = Py_None;
2643 {
2644 if (_obj1)
2645 delete _arg1;
2646 }
2647 return _resultobj;
2648 }
2649
2650 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
2651 static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args) {
2652 PyObject * _resultobj;
2653 wxListBox * _arg0;
2654 char * _argc0 = 0;
2655
2656 self = self;
2657 if(!PyArg_ParseTuple(args,"s:wxListBox_Clear",&_argc0))
2658 return NULL;
2659 if (_argc0) {
2660 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
2662 return NULL;
2663 }
2664 }
2665 {
2666 wxPy_BEGIN_ALLOW_THREADS;
2667 wxListBox_Clear(_arg0);
2668
2669 wxPy_END_ALLOW_THREADS;
2670 } Py_INCREF(Py_None);
2671 _resultobj = Py_None;
2672 return _resultobj;
2673 }
2674
2675 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2676 static PyObject *_wrap_wxListBox_Delete(PyObject *self, PyObject *args) {
2677 PyObject * _resultobj;
2678 wxListBox * _arg0;
2679 int _arg1;
2680 char * _argc0 = 0;
2681
2682 self = self;
2683 if(!PyArg_ParseTuple(args,"si:wxListBox_Delete",&_argc0,&_arg1))
2684 return NULL;
2685 if (_argc0) {
2686 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
2688 return NULL;
2689 }
2690 }
2691 {
2692 wxPy_BEGIN_ALLOW_THREADS;
2693 wxListBox_Delete(_arg0,_arg1);
2694
2695 wxPy_END_ALLOW_THREADS;
2696 } Py_INCREF(Py_None);
2697 _resultobj = Py_None;
2698 return _resultobj;
2699 }
2700
2701 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
2702 static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args) {
2703 PyObject * _resultobj;
2704 wxListBox * _arg0;
2705 int _arg1;
2706 char * _argc0 = 0;
2707
2708 self = self;
2709 if(!PyArg_ParseTuple(args,"si:wxListBox_Deselect",&_argc0,&_arg1))
2710 return NULL;
2711 if (_argc0) {
2712 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
2714 return NULL;
2715 }
2716 }
2717 {
2718 wxPy_BEGIN_ALLOW_THREADS;
2719 wxListBox_Deselect(_arg0,_arg1);
2720
2721 wxPy_END_ALLOW_THREADS;
2722 } Py_INCREF(Py_None);
2723 _resultobj = Py_None;
2724 return _resultobj;
2725 }
2726
2727 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2728 static PyObject *_wrap_wxListBox_FindString(PyObject *self, PyObject *args) {
2729 PyObject * _resultobj;
2730 int _result;
2731 wxListBox * _arg0;
2732 wxString * _arg1;
2733 char * _argc0 = 0;
2734 PyObject * _obj1 = 0;
2735
2736 self = self;
2737 if(!PyArg_ParseTuple(args,"sO:wxListBox_FindString",&_argc0,&_obj1))
2738 return NULL;
2739 if (_argc0) {
2740 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
2742 return NULL;
2743 }
2744 }
2745 {
2746 if (!PyString_Check(_obj1)) {
2747 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2748 return NULL;
2749 }
2750 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
2751 }
2752 {
2753 wxPy_BEGIN_ALLOW_THREADS;
2754 _result = (int )wxListBox_FindString(_arg0,*_arg1);
2755
2756 wxPy_END_ALLOW_THREADS;
2757 } _resultobj = Py_BuildValue("i",_result);
2758 {
2759 if (_obj1)
2760 delete _arg1;
2761 }
2762 return _resultobj;
2763 }
2764
2765 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2766 static PyObject *_wrap_wxListBox_GetSelection(PyObject *self, PyObject *args) {
2767 PyObject * _resultobj;
2768 int _result;
2769 wxListBox * _arg0;
2770 char * _argc0 = 0;
2771
2772 self = self;
2773 if(!PyArg_ParseTuple(args,"s:wxListBox_GetSelection",&_argc0))
2774 return NULL;
2775 if (_argc0) {
2776 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
2778 return NULL;
2779 }
2780 }
2781 {
2782 wxPy_BEGIN_ALLOW_THREADS;
2783 _result = (int )wxListBox_GetSelection(_arg0);
2784
2785 wxPy_END_ALLOW_THREADS;
2786 } _resultobj = Py_BuildValue("i",_result);
2787 return _resultobj;
2788 }
2789
2790 static PyObject * wxListBox_GetSelections(wxListBox *self) {
2791 wxArrayInt lst;
2792 self->GetSelections(lst);
2793 PyObject *tup = PyTuple_New(lst.GetCount());
2794 for(int i=0; i<lst.GetCount(); i++) {
2795 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
2796 }
2797 return tup;
2798 }
2799 static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args) {
2800 PyObject * _resultobj;
2801 PyObject * _result;
2802 wxListBox * _arg0;
2803 char * _argc0 = 0;
2804
2805 self = self;
2806 if(!PyArg_ParseTuple(args,"s:wxListBox_GetSelections",&_argc0))
2807 return NULL;
2808 if (_argc0) {
2809 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
2811 return NULL;
2812 }
2813 }
2814 {
2815 wxPy_BEGIN_ALLOW_THREADS;
2816 _result = (PyObject *)wxListBox_GetSelections(_arg0);
2817
2818 wxPy_END_ALLOW_THREADS;
2819 }{
2820 _resultobj = _result;
2821 }
2822 return _resultobj;
2823 }
2824
2825 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2826 static PyObject *_wrap_wxListBox_GetString(PyObject *self, PyObject *args) {
2827 PyObject * _resultobj;
2828 wxString * _result;
2829 wxListBox * _arg0;
2830 int _arg1;
2831 char * _argc0 = 0;
2832
2833 self = self;
2834 if(!PyArg_ParseTuple(args,"si:wxListBox_GetString",&_argc0,&_arg1))
2835 return NULL;
2836 if (_argc0) {
2837 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
2839 return NULL;
2840 }
2841 }
2842 {
2843 wxPy_BEGIN_ALLOW_THREADS;
2844 _result = new wxString (wxListBox_GetString(_arg0,_arg1));
2845
2846 wxPy_END_ALLOW_THREADS;
2847 }{
2848 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2849 }
2850 {
2851 delete _result;
2852 }
2853 return _resultobj;
2854 }
2855
2856 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2857 static PyObject *_wrap_wxListBox_GetStringSelection(PyObject *self, PyObject *args) {
2858 PyObject * _resultobj;
2859 wxString * _result;
2860 wxListBox * _arg0;
2861 char * _argc0 = 0;
2862
2863 self = self;
2864 if(!PyArg_ParseTuple(args,"s:wxListBox_GetStringSelection",&_argc0))
2865 return NULL;
2866 if (_argc0) {
2867 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
2869 return NULL;
2870 }
2871 }
2872 {
2873 wxPy_BEGIN_ALLOW_THREADS;
2874 _result = new wxString (wxListBox_GetStringSelection(_arg0));
2875
2876 wxPy_END_ALLOW_THREADS;
2877 }{
2878 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2879 }
2880 {
2881 delete _result;
2882 }
2883 return _resultobj;
2884 }
2885
2886 #define wxListBox_Number(_swigobj) (_swigobj->Number())
2887 static PyObject *_wrap_wxListBox_Number(PyObject *self, PyObject *args) {
2888 PyObject * _resultobj;
2889 int _result;
2890 wxListBox * _arg0;
2891 char * _argc0 = 0;
2892
2893 self = self;
2894 if(!PyArg_ParseTuple(args,"s:wxListBox_Number",&_argc0))
2895 return NULL;
2896 if (_argc0) {
2897 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
2899 return NULL;
2900 }
2901 }
2902 {
2903 wxPy_BEGIN_ALLOW_THREADS;
2904 _result = (int )wxListBox_Number(_arg0);
2905
2906 wxPy_END_ALLOW_THREADS;
2907 } _resultobj = Py_BuildValue("i",_result);
2908 return _resultobj;
2909 }
2910
2911 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
2912 static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args) {
2913 PyObject * _resultobj;
2914 bool _result;
2915 wxListBox * _arg0;
2916 int _arg1;
2917 char * _argc0 = 0;
2918
2919 self = self;
2920 if(!PyArg_ParseTuple(args,"si:wxListBox_Selected",&_argc0,&_arg1))
2921 return NULL;
2922 if (_argc0) {
2923 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
2925 return NULL;
2926 }
2927 }
2928 {
2929 wxPy_BEGIN_ALLOW_THREADS;
2930 _result = (bool )wxListBox_Selected(_arg0,_arg1);
2931
2932 wxPy_END_ALLOW_THREADS;
2933 } _resultobj = Py_BuildValue("i",_result);
2934 return _resultobj;
2935 }
2936
2937 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
2938 static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args) {
2939 PyObject * _resultobj;
2940 wxListBox * _arg0;
2941 int _arg1;
2942 wxString * _arg2;
2943 char * _argc0 = 0;
2944 PyObject * _obj2 = 0;
2945
2946 self = self;
2947 if(!PyArg_ParseTuple(args,"sO:wxListBox_Set",&_argc0,&_obj2))
2948 return NULL;
2949 if (_argc0) {
2950 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
2952 return NULL;
2953 }
2954 }
2955 if (_obj2)
2956 {
2957 _arg2 = wxString_LIST_helper(_obj2);
2958 if (_arg2 == NULL) {
2959 return NULL;
2960 }
2961 }
2962 {
2963 if (_obj2) {
2964 _arg1 = PyList_Size(_obj2);
2965 }
2966 else {
2967 _arg1 = 0;
2968 }
2969 }
2970 {
2971 wxPy_BEGIN_ALLOW_THREADS;
2972 wxListBox_Set(_arg0,_arg1,_arg2);
2973
2974 wxPy_END_ALLOW_THREADS;
2975 } Py_INCREF(Py_None);
2976 _resultobj = Py_None;
2977 {
2978 delete [] _arg2;
2979 }
2980 return _resultobj;
2981 }
2982
2983 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
2984 static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args) {
2985 PyObject * _resultobj;
2986 wxListBox * _arg0;
2987 int _arg1;
2988 char * _argc0 = 0;
2989
2990 self = self;
2991 if(!PyArg_ParseTuple(args,"si:wxListBox_SetFirstItem",&_argc0,&_arg1))
2992 return NULL;
2993 if (_argc0) {
2994 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
2996 return NULL;
2997 }
2998 }
2999 {
3000 wxPy_BEGIN_ALLOW_THREADS;
3001 wxListBox_SetFirstItem(_arg0,_arg1);
3002
3003 wxPy_END_ALLOW_THREADS;
3004 } Py_INCREF(Py_None);
3005 _resultobj = Py_None;
3006 return _resultobj;
3007 }
3008
3009 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3010 static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args) {
3011 PyObject * _resultobj;
3012 wxListBox * _arg0;
3013 wxString * _arg1;
3014 char * _argc0 = 0;
3015 PyObject * _obj1 = 0;
3016
3017 self = self;
3018 if(!PyArg_ParseTuple(args,"sO:wxListBox_SetFirstItemStr",&_argc0,&_obj1))
3019 return NULL;
3020 if (_argc0) {
3021 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
3022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3023 return NULL;
3024 }
3025 }
3026 {
3027 if (!PyString_Check(_obj1)) {
3028 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3029 return NULL;
3030 }
3031 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3032 }
3033 {
3034 wxPy_BEGIN_ALLOW_THREADS;
3035 wxListBox_SetFirstItemStr(_arg0,*_arg1);
3036
3037 wxPy_END_ALLOW_THREADS;
3038 } Py_INCREF(Py_None);
3039 _resultobj = Py_None;
3040 {
3041 if (_obj1)
3042 delete _arg1;
3043 }
3044 return _resultobj;
3045 }
3046
3047 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3048 static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args) {
3049 PyObject * _resultobj;
3050 wxListBox * _arg0;
3051 int _arg1;
3052 bool _arg2 = (1);
3053 char * _argc0 = 0;
3054 int tempbool2;
3055
3056 self = self;
3057 if(!PyArg_ParseTuple(args,"si|i:wxListBox_SetSelection",&_argc0,&_arg1,&tempbool2))
3058 return NULL;
3059 if (_argc0) {
3060 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
3061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
3062 return NULL;
3063 }
3064 }
3065 _arg2 = (bool ) tempbool2;
3066 {
3067 wxPy_BEGIN_ALLOW_THREADS;
3068 wxListBox_SetSelection(_arg0,_arg1,_arg2);
3069
3070 wxPy_END_ALLOW_THREADS;
3071 } Py_INCREF(Py_None);
3072 _resultobj = Py_None;
3073 return _resultobj;
3074 }
3075
3076 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
3077 static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args) {
3078 PyObject * _resultobj;
3079 wxListBox * _arg0;
3080 int _arg1;
3081 wxString * _arg2;
3082 char * _argc0 = 0;
3083 PyObject * _obj2 = 0;
3084
3085 self = self;
3086 if(!PyArg_ParseTuple(args,"siO:wxListBox_SetString",&_argc0,&_arg1,&_obj2))
3087 return NULL;
3088 if (_argc0) {
3089 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
3090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
3091 return NULL;
3092 }
3093 }
3094 {
3095 if (!PyString_Check(_obj2)) {
3096 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3097 return NULL;
3098 }
3099 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
3100 }
3101 {
3102 wxPy_BEGIN_ALLOW_THREADS;
3103 wxListBox_SetString(_arg0,_arg1,*_arg2);
3104
3105 wxPy_END_ALLOW_THREADS;
3106 } Py_INCREF(Py_None);
3107 _resultobj = Py_None;
3108 {
3109 if (_obj2)
3110 delete _arg2;
3111 }
3112 return _resultobj;
3113 }
3114
3115 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
3116 static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args) {
3117 PyObject * _resultobj;
3118 wxListBox * _arg0;
3119 wxString * _arg1;
3120 bool _arg2 = (1);
3121 char * _argc0 = 0;
3122 PyObject * _obj1 = 0;
3123 int tempbool2;
3124
3125 self = self;
3126 if(!PyArg_ParseTuple(args,"sO|i:wxListBox_SetStringSelection",&_argc0,&_obj1,&tempbool2))
3127 return NULL;
3128 if (_argc0) {
3129 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
3130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
3131 return NULL;
3132 }
3133 }
3134 {
3135 if (!PyString_Check(_obj1)) {
3136 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3137 return NULL;
3138 }
3139 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3140 }
3141 _arg2 = (bool ) tempbool2;
3142 {
3143 wxPy_BEGIN_ALLOW_THREADS;
3144 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
3145
3146 wxPy_END_ALLOW_THREADS;
3147 } Py_INCREF(Py_None);
3148 _resultobj = Py_None;
3149 {
3150 if (_obj1)
3151 delete _arg1;
3152 }
3153 return _resultobj;
3154 }
3155
3156 static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
3157 wxCheckListBox *src;
3158 wxListBox *dest;
3159 src = (wxCheckListBox *) ptr;
3160 dest = (wxListBox *) src;
3161 return (void *) dest;
3162 }
3163
3164 static void *SwigwxCheckListBoxTowxControl(void *ptr) {
3165 wxCheckListBox *src;
3166 wxControl *dest;
3167 src = (wxCheckListBox *) ptr;
3168 dest = (wxControl *) src;
3169 return (void *) dest;
3170 }
3171
3172 static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
3173 wxCheckListBox *src;
3174 wxWindow *dest;
3175 src = (wxCheckListBox *) ptr;
3176 dest = (wxWindow *) src;
3177 return (void *) dest;
3178 }
3179
3180 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
3181 wxCheckListBox *src;
3182 wxEvtHandler *dest;
3183 src = (wxCheckListBox *) ptr;
3184 dest = (wxEvtHandler *) src;
3185 return (void *) dest;
3186 }
3187
3188 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3189 static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args) {
3190 PyObject * _resultobj;
3191 wxCheckListBox * _result;
3192 wxWindow * _arg0;
3193 wxWindowID _arg1;
3194 wxPoint * _arg2 = &wxPyDefaultPosition;
3195 wxSize * _arg3 = &wxPyDefaultSize;
3196 int _arg4 = 0;
3197 wxString * _arg5 = NULL;
3198 long _arg6 = 0;
3199 wxValidator * _arg7 = &wxPyDefaultValidator;
3200 char * _arg8 = "listBox";
3201 char * _argc0 = 0;
3202 char * _argc2 = 0;
3203 char * _argc3 = 0;
3204 PyObject * _obj5 = 0;
3205 char * _argc7 = 0;
3206 char _ptemp[128];
3207
3208 self = self;
3209 if(!PyArg_ParseTuple(args,"si|ssOlss:new_wxCheckListBox",&_argc0,&_arg1,&_argc2,&_argc3,&_obj5,&_arg6,&_argc7,&_arg8))
3210 return NULL;
3211 if (_argc0) {
3212 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
3214 return NULL;
3215 }
3216 }
3217 if (_argc2) {
3218 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3219 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxCheckListBox. Expected _wxPoint_p.");
3220 return NULL;
3221 }
3222 }
3223 if (_argc3) {
3224 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3225 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxCheckListBox. Expected _wxSize_p.");
3226 return NULL;
3227 }
3228 }
3229 if (_obj5)
3230 {
3231 _arg5 = wxString_LIST_helper(_obj5);
3232 if (_arg5 == NULL) {
3233 return NULL;
3234 }
3235 }
3236 if (_argc7) {
3237 if (SWIG_GetPtr(_argc7,(void **) &_arg7,"_wxValidator_p")) {
3238 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
3239 return NULL;
3240 }
3241 }
3242 {
3243 if (_obj5) {
3244 _arg4 = PyList_Size(_obj5);
3245 }
3246 else {
3247 _arg4 = 0;
3248 }
3249 }
3250 {
3251 wxPy_BEGIN_ALLOW_THREADS;
3252 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
3253
3254 wxPy_END_ALLOW_THREADS;
3255 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
3256 _resultobj = Py_BuildValue("s",_ptemp);
3257 {
3258 delete [] _arg5;
3259 }
3260 return _resultobj;
3261 }
3262
3263 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
3264 static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args) {
3265 PyObject * _resultobj;
3266 bool _result;
3267 wxCheckListBox * _arg0;
3268 int _arg1;
3269 char * _argc0 = 0;
3270
3271 self = self;
3272 if(!PyArg_ParseTuple(args,"si:wxCheckListBox_IsChecked",&_argc0,&_arg1))
3273 return NULL;
3274 if (_argc0) {
3275 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckListBox_p")) {
3276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
3277 return NULL;
3278 }
3279 }
3280 {
3281 wxPy_BEGIN_ALLOW_THREADS;
3282 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
3283
3284 wxPy_END_ALLOW_THREADS;
3285 } _resultobj = Py_BuildValue("i",_result);
3286 return _resultobj;
3287 }
3288
3289 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
3290 static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args) {
3291 PyObject * _resultobj;
3292 wxCheckListBox * _arg0;
3293 int _arg1;
3294 bool _arg2 = (1);
3295 char * _argc0 = 0;
3296 int tempbool2;
3297
3298 self = self;
3299 if(!PyArg_ParseTuple(args,"si|i:wxCheckListBox_Check",&_argc0,&_arg1,&tempbool2))
3300 return NULL;
3301 if (_argc0) {
3302 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckListBox_p")) {
3303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
3304 return NULL;
3305 }
3306 }
3307 _arg2 = (bool ) tempbool2;
3308 {
3309 wxPy_BEGIN_ALLOW_THREADS;
3310 wxCheckListBox_Check(_arg0,_arg1,_arg2);
3311
3312 wxPy_END_ALLOW_THREADS;
3313 } Py_INCREF(Py_None);
3314 _resultobj = Py_None;
3315 return _resultobj;
3316 }
3317
3318 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
3319 static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args) {
3320 PyObject * _resultobj;
3321 int _result;
3322 wxCheckListBox * _arg0;
3323 char * _argc0 = 0;
3324
3325 self = self;
3326 if(!PyArg_ParseTuple(args,"s:wxCheckListBox_GetItemHeight",&_argc0))
3327 return NULL;
3328 if (_argc0) {
3329 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckListBox_p")) {
3330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
3331 return NULL;
3332 }
3333 }
3334 {
3335 wxPy_BEGIN_ALLOW_THREADS;
3336 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
3337
3338 wxPy_END_ALLOW_THREADS;
3339 } _resultobj = Py_BuildValue("i",_result);
3340 return _resultobj;
3341 }
3342
3343 static void *SwigwxTextCtrlTowxControl(void *ptr) {
3344 wxTextCtrl *src;
3345 wxControl *dest;
3346 src = (wxTextCtrl *) ptr;
3347 dest = (wxControl *) src;
3348 return (void *) dest;
3349 }
3350
3351 static void *SwigwxTextCtrlTowxWindow(void *ptr) {
3352 wxTextCtrl *src;
3353 wxWindow *dest;
3354 src = (wxTextCtrl *) ptr;
3355 dest = (wxWindow *) src;
3356 return (void *) dest;
3357 }
3358
3359 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
3360 wxTextCtrl *src;
3361 wxEvtHandler *dest;
3362 src = (wxTextCtrl *) ptr;
3363 dest = (wxEvtHandler *) src;
3364 return (void *) dest;
3365 }
3366
3367 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3368 static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args) {
3369 PyObject * _resultobj;
3370 wxTextCtrl * _result;
3371 wxWindow * _arg0;
3372 wxWindowID _arg1;
3373 char * _arg2 = "";
3374 wxPoint * _arg3 = &wxPyDefaultPosition;
3375 wxSize * _arg4 = &wxPyDefaultSize;
3376 long _arg5 = 0;
3377 wxValidator * _arg6 = &wxPyDefaultValidator;
3378 char * _arg7 = "text";
3379 char * _argc0 = 0;
3380 char * _argc3 = 0;
3381 char * _argc4 = 0;
3382 char * _argc6 = 0;
3383 char _ptemp[128];
3384
3385 self = self;
3386 if(!PyArg_ParseTuple(args,"si|ssslss:new_wxTextCtrl",&_argc0,&_arg1,&_arg2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
3387 return NULL;
3388 if (_argc0) {
3389 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
3391 return NULL;
3392 }
3393 }
3394 if (_argc3) {
3395 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
3396 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTextCtrl. Expected _wxPoint_p.");
3397 return NULL;
3398 }
3399 }
3400 if (_argc4) {
3401 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
3402 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxTextCtrl. Expected _wxSize_p.");
3403 return NULL;
3404 }
3405 }
3406 if (_argc6) {
3407 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
3408 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
3409 return NULL;
3410 }
3411 }
3412 {
3413 wxPy_BEGIN_ALLOW_THREADS;
3414 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3415
3416 wxPy_END_ALLOW_THREADS;
3417 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
3418 _resultobj = Py_BuildValue("s",_ptemp);
3419 return _resultobj;
3420 }
3421
3422 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
3423 static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args) {
3424 PyObject * _resultobj;
3425 wxTextCtrl * _arg0;
3426 char * _argc0 = 0;
3427
3428 self = self;
3429 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Clear",&_argc0))
3430 return NULL;
3431 if (_argc0) {
3432 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
3434 return NULL;
3435 }
3436 }
3437 {
3438 wxPy_BEGIN_ALLOW_THREADS;
3439 wxTextCtrl_Clear(_arg0);
3440
3441 wxPy_END_ALLOW_THREADS;
3442 } Py_INCREF(Py_None);
3443 _resultobj = Py_None;
3444 return _resultobj;
3445 }
3446
3447 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
3448 static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args) {
3449 PyObject * _resultobj;
3450 wxTextCtrl * _arg0;
3451 char * _argc0 = 0;
3452
3453 self = self;
3454 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Copy",&_argc0))
3455 return NULL;
3456 if (_argc0) {
3457 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
3459 return NULL;
3460 }
3461 }
3462 {
3463 wxPy_BEGIN_ALLOW_THREADS;
3464 wxTextCtrl_Copy(_arg0);
3465
3466 wxPy_END_ALLOW_THREADS;
3467 } Py_INCREF(Py_None);
3468 _resultobj = Py_None;
3469 return _resultobj;
3470 }
3471
3472 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
3473 static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args) {
3474 PyObject * _resultobj;
3475 wxTextCtrl * _arg0;
3476 char * _argc0 = 0;
3477
3478 self = self;
3479 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Cut",&_argc0))
3480 return NULL;
3481 if (_argc0) {
3482 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
3484 return NULL;
3485 }
3486 }
3487 {
3488 wxPy_BEGIN_ALLOW_THREADS;
3489 wxTextCtrl_Cut(_arg0);
3490
3491 wxPy_END_ALLOW_THREADS;
3492 } Py_INCREF(Py_None);
3493 _resultobj = Py_None;
3494 return _resultobj;
3495 }
3496
3497 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
3498 static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args) {
3499 PyObject * _resultobj;
3500 wxTextCtrl * _arg0;
3501 char * _argc0 = 0;
3502
3503 self = self;
3504 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_DiscardEdits",&_argc0))
3505 return NULL;
3506 if (_argc0) {
3507 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
3509 return NULL;
3510 }
3511 }
3512 {
3513 wxPy_BEGIN_ALLOW_THREADS;
3514 wxTextCtrl_DiscardEdits(_arg0);
3515
3516 wxPy_END_ALLOW_THREADS;
3517 } Py_INCREF(Py_None);
3518 _resultobj = Py_None;
3519 return _resultobj;
3520 }
3521
3522 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
3523 static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args) {
3524 PyObject * _resultobj;
3525 long _result;
3526 wxTextCtrl * _arg0;
3527 char * _argc0 = 0;
3528
3529 self = self;
3530 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetInsertionPoint",&_argc0))
3531 return NULL;
3532 if (_argc0) {
3533 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
3535 return NULL;
3536 }
3537 }
3538 {
3539 wxPy_BEGIN_ALLOW_THREADS;
3540 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
3541
3542 wxPy_END_ALLOW_THREADS;
3543 } _resultobj = Py_BuildValue("l",_result);
3544 return _resultobj;
3545 }
3546
3547 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3548 static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args) {
3549 PyObject * _resultobj;
3550 long _result;
3551 wxTextCtrl * _arg0;
3552 char * _argc0 = 0;
3553
3554 self = self;
3555 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetLastPosition",&_argc0))
3556 return NULL;
3557 if (_argc0) {
3558 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
3560 return NULL;
3561 }
3562 }
3563 {
3564 wxPy_BEGIN_ALLOW_THREADS;
3565 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
3566
3567 wxPy_END_ALLOW_THREADS;
3568 } _resultobj = Py_BuildValue("l",_result);
3569 return _resultobj;
3570 }
3571
3572 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
3573 static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args) {
3574 PyObject * _resultobj;
3575 int _result;
3576 wxTextCtrl * _arg0;
3577 long _arg1;
3578 char * _argc0 = 0;
3579
3580 self = self;
3581 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_GetLineLength",&_argc0,&_arg1))
3582 return NULL;
3583 if (_argc0) {
3584 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
3586 return NULL;
3587 }
3588 }
3589 {
3590 wxPy_BEGIN_ALLOW_THREADS;
3591 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
3592
3593 wxPy_END_ALLOW_THREADS;
3594 } _resultobj = Py_BuildValue("i",_result);
3595 return _resultobj;
3596 }
3597
3598 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
3599 static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args) {
3600 PyObject * _resultobj;
3601 wxString * _result;
3602 wxTextCtrl * _arg0;
3603 long _arg1;
3604 char * _argc0 = 0;
3605
3606 self = self;
3607 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_GetLineText",&_argc0,&_arg1))
3608 return NULL;
3609 if (_argc0) {
3610 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
3612 return NULL;
3613 }
3614 }
3615 {
3616 wxPy_BEGIN_ALLOW_THREADS;
3617 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
3618
3619 wxPy_END_ALLOW_THREADS;
3620 }{
3621 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3622 }
3623 {
3624 delete _result;
3625 }
3626 return _resultobj;
3627 }
3628
3629 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
3630 static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args) {
3631 PyObject * _resultobj;
3632 int _result;
3633 wxTextCtrl * _arg0;
3634 char * _argc0 = 0;
3635
3636 self = self;
3637 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetNumberOfLines",&_argc0))
3638 return NULL;
3639 if (_argc0) {
3640 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
3642 return NULL;
3643 }
3644 }
3645 {
3646 wxPy_BEGIN_ALLOW_THREADS;
3647 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
3648
3649 wxPy_END_ALLOW_THREADS;
3650 } _resultobj = Py_BuildValue("i",_result);
3651 return _resultobj;
3652 }
3653
3654 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
3655 static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args) {
3656 PyObject * _resultobj;
3657 wxString * _result;
3658 wxTextCtrl * _arg0;
3659 char * _argc0 = 0;
3660
3661 self = self;
3662 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetValue",&_argc0))
3663 return NULL;
3664 if (_argc0) {
3665 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
3667 return NULL;
3668 }
3669 }
3670 {
3671 wxPy_BEGIN_ALLOW_THREADS;
3672 _result = new wxString (wxTextCtrl_GetValue(_arg0));
3673
3674 wxPy_END_ALLOW_THREADS;
3675 }{
3676 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3677 }
3678 {
3679 delete _result;
3680 }
3681 return _resultobj;
3682 }
3683
3684 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
3685 static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args) {
3686 PyObject * _resultobj;
3687 bool _result;
3688 wxTextCtrl * _arg0;
3689 char * _argc0 = 0;
3690
3691 self = self;
3692 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_IsModified",&_argc0))
3693 return NULL;
3694 if (_argc0) {
3695 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
3697 return NULL;
3698 }
3699 }
3700 {
3701 wxPy_BEGIN_ALLOW_THREADS;
3702 _result = (bool )wxTextCtrl_IsModified(_arg0);
3703
3704 wxPy_END_ALLOW_THREADS;
3705 } _resultobj = Py_BuildValue("i",_result);
3706 return _resultobj;
3707 }
3708
3709 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
3710 static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args) {
3711 PyObject * _resultobj;
3712 bool _result;
3713 wxTextCtrl * _arg0;
3714 wxString * _arg1;
3715 char * _argc0 = 0;
3716 PyObject * _obj1 = 0;
3717
3718 self = self;
3719 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_LoadFile",&_argc0,&_obj1))
3720 return NULL;
3721 if (_argc0) {
3722 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
3724 return NULL;
3725 }
3726 }
3727 {
3728 if (!PyString_Check(_obj1)) {
3729 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3730 return NULL;
3731 }
3732 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3733 }
3734 {
3735 wxPy_BEGIN_ALLOW_THREADS;
3736 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
3737
3738 wxPy_END_ALLOW_THREADS;
3739 } _resultobj = Py_BuildValue("i",_result);
3740 {
3741 if (_obj1)
3742 delete _arg1;
3743 }
3744 return _resultobj;
3745 }
3746
3747 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
3748 static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args) {
3749 PyObject * _resultobj;
3750 wxTextCtrl * _arg0;
3751 char * _argc0 = 0;
3752
3753 self = self;
3754 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Paste",&_argc0))
3755 return NULL;
3756 if (_argc0) {
3757 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
3759 return NULL;
3760 }
3761 }
3762 {
3763 wxPy_BEGIN_ALLOW_THREADS;
3764 wxTextCtrl_Paste(_arg0);
3765
3766 wxPy_END_ALLOW_THREADS;
3767 } Py_INCREF(Py_None);
3768 _resultobj = Py_None;
3769 return _resultobj;
3770 }
3771
3772 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
3773 static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args) {
3774 PyObject * _resultobj;
3775 wxTextCtrl * _arg0;
3776 long _arg1;
3777 long * _arg2;
3778 long temp;
3779 long * _arg3;
3780 long temp0;
3781 char * _argc0 = 0;
3782
3783 self = self;
3784 {
3785 _arg2 = &temp;
3786 }
3787 {
3788 _arg3 = &temp0;
3789 }
3790 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_PositionToXY",&_argc0,&_arg1))
3791 return NULL;
3792 if (_argc0) {
3793 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
3795 return NULL;
3796 }
3797 }
3798 {
3799 wxPy_BEGIN_ALLOW_THREADS;
3800 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
3801
3802 wxPy_END_ALLOW_THREADS;
3803 } Py_INCREF(Py_None);
3804 _resultobj = Py_None;
3805 {
3806 PyObject *o;
3807 o = PyInt_FromLong((long) (*_arg2));
3808 _resultobj = t_output_helper(_resultobj, o);
3809 }
3810 {
3811 PyObject *o;
3812 o = PyInt_FromLong((long) (*_arg3));
3813 _resultobj = t_output_helper(_resultobj, o);
3814 }
3815 return _resultobj;
3816 }
3817
3818 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3819 static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args) {
3820 PyObject * _resultobj;
3821 wxTextCtrl * _arg0;
3822 long _arg1;
3823 long _arg2;
3824 char * _argc0 = 0;
3825
3826 self = self;
3827 if(!PyArg_ParseTuple(args,"sll:wxTextCtrl_Remove",&_argc0,&_arg1,&_arg2))
3828 return NULL;
3829 if (_argc0) {
3830 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
3832 return NULL;
3833 }
3834 }
3835 {
3836 wxPy_BEGIN_ALLOW_THREADS;
3837 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
3838
3839 wxPy_END_ALLOW_THREADS;
3840 } Py_INCREF(Py_None);
3841 _resultobj = Py_None;
3842 return _resultobj;
3843 }
3844
3845 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3846 static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args) {
3847 PyObject * _resultobj;
3848 wxTextCtrl * _arg0;
3849 long _arg1;
3850 long _arg2;
3851 wxString * _arg3;
3852 char * _argc0 = 0;
3853 PyObject * _obj3 = 0;
3854
3855 self = self;
3856 if(!PyArg_ParseTuple(args,"sllO:wxTextCtrl_Replace",&_argc0,&_arg1,&_arg2,&_obj3))
3857 return NULL;
3858 if (_argc0) {
3859 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
3861 return NULL;
3862 }
3863 }
3864 {
3865 if (!PyString_Check(_obj3)) {
3866 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3867 return NULL;
3868 }
3869 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
3870 }
3871 {
3872 wxPy_BEGIN_ALLOW_THREADS;
3873 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
3874
3875 wxPy_END_ALLOW_THREADS;
3876 } Py_INCREF(Py_None);
3877 _resultobj = Py_None;
3878 {
3879 if (_obj3)
3880 delete _arg3;
3881 }
3882 return _resultobj;
3883 }
3884
3885 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
3886 static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args) {
3887 PyObject * _resultobj;
3888 bool _result;
3889 wxTextCtrl * _arg0;
3890 wxString * _arg1;
3891 char * _argc0 = 0;
3892 PyObject * _obj1 = 0;
3893
3894 self = self;
3895 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_SaveFile",&_argc0,&_obj1))
3896 return NULL;
3897 if (_argc0) {
3898 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
3900 return NULL;
3901 }
3902 }
3903 {
3904 if (!PyString_Check(_obj1)) {
3905 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3906 return NULL;
3907 }
3908 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3909 }
3910 {
3911 wxPy_BEGIN_ALLOW_THREADS;
3912 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
3913
3914 wxPy_END_ALLOW_THREADS;
3915 } _resultobj = Py_BuildValue("i",_result);
3916 {
3917 if (_obj1)
3918 delete _arg1;
3919 }
3920 return _resultobj;
3921 }
3922
3923 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3924 static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args) {
3925 PyObject * _resultobj;
3926 wxTextCtrl * _arg0;
3927 bool _arg1;
3928 char * _argc0 = 0;
3929 int tempbool1;
3930
3931 self = self;
3932 if(!PyArg_ParseTuple(args,"si:wxTextCtrl_SetEditable",&_argc0,&tempbool1))
3933 return NULL;
3934 if (_argc0) {
3935 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
3937 return NULL;
3938 }
3939 }
3940 _arg1 = (bool ) tempbool1;
3941 {
3942 wxPy_BEGIN_ALLOW_THREADS;
3943 wxTextCtrl_SetEditable(_arg0,_arg1);
3944
3945 wxPy_END_ALLOW_THREADS;
3946 } Py_INCREF(Py_None);
3947 _resultobj = Py_None;
3948 return _resultobj;
3949 }
3950
3951 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3952 static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args) {
3953 PyObject * _resultobj;
3954 wxTextCtrl * _arg0;
3955 long _arg1;
3956 char * _argc0 = 0;
3957
3958 self = self;
3959 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_SetInsertionPoint",&_argc0,&_arg1))
3960 return NULL;
3961 if (_argc0) {
3962 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
3964 return NULL;
3965 }
3966 }
3967 {
3968 wxPy_BEGIN_ALLOW_THREADS;
3969 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
3970
3971 wxPy_END_ALLOW_THREADS;
3972 } Py_INCREF(Py_None);
3973 _resultobj = Py_None;
3974 return _resultobj;
3975 }
3976
3977 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3978 static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args) {
3979 PyObject * _resultobj;
3980 wxTextCtrl * _arg0;
3981 char * _argc0 = 0;
3982
3983 self = self;
3984 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_SetInsertionPointEnd",&_argc0))
3985 return NULL;
3986 if (_argc0) {
3987 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
3989 return NULL;
3990 }
3991 }
3992 {
3993 wxPy_BEGIN_ALLOW_THREADS;
3994 wxTextCtrl_SetInsertionPointEnd(_arg0);
3995
3996 wxPy_END_ALLOW_THREADS;
3997 } Py_INCREF(Py_None);
3998 _resultobj = Py_None;
3999 return _resultobj;
4000 }
4001
4002 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4003 static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args) {
4004 PyObject * _resultobj;
4005 wxTextCtrl * _arg0;
4006 long _arg1;
4007 long _arg2;
4008 char * _argc0 = 0;
4009
4010 self = self;
4011 if(!PyArg_ParseTuple(args,"sll:wxTextCtrl_SetSelection",&_argc0,&_arg1,&_arg2))
4012 return NULL;
4013 if (_argc0) {
4014 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
4016 return NULL;
4017 }
4018 }
4019 {
4020 wxPy_BEGIN_ALLOW_THREADS;
4021 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
4022
4023 wxPy_END_ALLOW_THREADS;
4024 } Py_INCREF(Py_None);
4025 _resultobj = Py_None;
4026 return _resultobj;
4027 }
4028
4029 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4030 static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args) {
4031 PyObject * _resultobj;
4032 wxTextCtrl * _arg0;
4033 wxString * _arg1;
4034 char * _argc0 = 0;
4035 PyObject * _obj1 = 0;
4036
4037 self = self;
4038 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_SetValue",&_argc0,&_obj1))
4039 return NULL;
4040 if (_argc0) {
4041 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
4043 return NULL;
4044 }
4045 }
4046 {
4047 if (!PyString_Check(_obj1)) {
4048 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4049 return NULL;
4050 }
4051 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4052 }
4053 {
4054 wxPy_BEGIN_ALLOW_THREADS;
4055 wxTextCtrl_SetValue(_arg0,*_arg1);
4056
4057 wxPy_END_ALLOW_THREADS;
4058 } Py_INCREF(Py_None);
4059 _resultobj = Py_None;
4060 {
4061 if (_obj1)
4062 delete _arg1;
4063 }
4064 return _resultobj;
4065 }
4066
4067 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
4068 static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args) {
4069 PyObject * _resultobj;
4070 wxTextCtrl * _arg0;
4071 long _arg1;
4072 char * _argc0 = 0;
4073
4074 self = self;
4075 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_ShowPosition",&_argc0,&_arg1))
4076 return NULL;
4077 if (_argc0) {
4078 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
4080 return NULL;
4081 }
4082 }
4083 {
4084 wxPy_BEGIN_ALLOW_THREADS;
4085 wxTextCtrl_ShowPosition(_arg0,_arg1);
4086
4087 wxPy_END_ALLOW_THREADS;
4088 } Py_INCREF(Py_None);
4089 _resultobj = Py_None;
4090 return _resultobj;
4091 }
4092
4093 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
4094 static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args) {
4095 PyObject * _resultobj;
4096 wxTextCtrl * _arg0;
4097 wxString * _arg1;
4098 char * _argc0 = 0;
4099 PyObject * _obj1 = 0;
4100
4101 self = self;
4102 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_WriteText",&_argc0,&_obj1))
4103 return NULL;
4104 if (_argc0) {
4105 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
4107 return NULL;
4108 }
4109 }
4110 {
4111 if (!PyString_Check(_obj1)) {
4112 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4113 return NULL;
4114 }
4115 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4116 }
4117 {
4118 wxPy_BEGIN_ALLOW_THREADS;
4119 wxTextCtrl_WriteText(_arg0,*_arg1);
4120
4121 wxPy_END_ALLOW_THREADS;
4122 } Py_INCREF(Py_None);
4123 _resultobj = Py_None;
4124 {
4125 if (_obj1)
4126 delete _arg1;
4127 }
4128 return _resultobj;
4129 }
4130
4131 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
4132 static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args) {
4133 PyObject * _resultobj;
4134 wxTextCtrl * _arg0;
4135 wxString * _arg1;
4136 char * _argc0 = 0;
4137 PyObject * _obj1 = 0;
4138
4139 self = self;
4140 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_AppendText",&_argc0,&_obj1))
4141 return NULL;
4142 if (_argc0) {
4143 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
4145 return NULL;
4146 }
4147 }
4148 {
4149 if (!PyString_Check(_obj1)) {
4150 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4151 return NULL;
4152 }
4153 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4154 }
4155 {
4156 wxPy_BEGIN_ALLOW_THREADS;
4157 wxTextCtrl_AppendText(_arg0,*_arg1);
4158
4159 wxPy_END_ALLOW_THREADS;
4160 } Py_INCREF(Py_None);
4161 _resultobj = Py_None;
4162 {
4163 if (_obj1)
4164 delete _arg1;
4165 }
4166 return _resultobj;
4167 }
4168
4169 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
4170 static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args) {
4171 PyObject * _resultobj;
4172 long _result;
4173 wxTextCtrl * _arg0;
4174 long _arg1;
4175 long _arg2;
4176 char * _argc0 = 0;
4177
4178 self = self;
4179 if(!PyArg_ParseTuple(args,"sll:wxTextCtrl_XYToPosition",&_argc0,&_arg1,&_arg2))
4180 return NULL;
4181 if (_argc0) {
4182 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
4184 return NULL;
4185 }
4186 }
4187 {
4188 wxPy_BEGIN_ALLOW_THREADS;
4189 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
4190
4191 wxPy_END_ALLOW_THREADS;
4192 } _resultobj = Py_BuildValue("l",_result);
4193 return _resultobj;
4194 }
4195
4196 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
4197 static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args) {
4198 PyObject * _resultobj;
4199 bool _result;
4200 wxTextCtrl * _arg0;
4201 char * _argc0 = 0;
4202
4203 self = self;
4204 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanCopy",&_argc0))
4205 return NULL;
4206 if (_argc0) {
4207 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
4209 return NULL;
4210 }
4211 }
4212 {
4213 wxPy_BEGIN_ALLOW_THREADS;
4214 _result = (bool )wxTextCtrl_CanCopy(_arg0);
4215
4216 wxPy_END_ALLOW_THREADS;
4217 } _resultobj = Py_BuildValue("i",_result);
4218 return _resultobj;
4219 }
4220
4221 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
4222 static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args) {
4223 PyObject * _resultobj;
4224 bool _result;
4225 wxTextCtrl * _arg0;
4226 char * _argc0 = 0;
4227
4228 self = self;
4229 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanCut",&_argc0))
4230 return NULL;
4231 if (_argc0) {
4232 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
4234 return NULL;
4235 }
4236 }
4237 {
4238 wxPy_BEGIN_ALLOW_THREADS;
4239 _result = (bool )wxTextCtrl_CanCut(_arg0);
4240
4241 wxPy_END_ALLOW_THREADS;
4242 } _resultobj = Py_BuildValue("i",_result);
4243 return _resultobj;
4244 }
4245
4246 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
4247 static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args) {
4248 PyObject * _resultobj;
4249 bool _result;
4250 wxTextCtrl * _arg0;
4251 char * _argc0 = 0;
4252
4253 self = self;
4254 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanPaste",&_argc0))
4255 return NULL;
4256 if (_argc0) {
4257 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
4259 return NULL;
4260 }
4261 }
4262 {
4263 wxPy_BEGIN_ALLOW_THREADS;
4264 _result = (bool )wxTextCtrl_CanPaste(_arg0);
4265
4266 wxPy_END_ALLOW_THREADS;
4267 } _resultobj = Py_BuildValue("i",_result);
4268 return _resultobj;
4269 }
4270
4271 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
4272 static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args) {
4273 PyObject * _resultobj;
4274 bool _result;
4275 wxTextCtrl * _arg0;
4276 char * _argc0 = 0;
4277
4278 self = self;
4279 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanRedo",&_argc0))
4280 return NULL;
4281 if (_argc0) {
4282 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
4284 return NULL;
4285 }
4286 }
4287 {
4288 wxPy_BEGIN_ALLOW_THREADS;
4289 _result = (bool )wxTextCtrl_CanRedo(_arg0);
4290
4291 wxPy_END_ALLOW_THREADS;
4292 } _resultobj = Py_BuildValue("i",_result);
4293 return _resultobj;
4294 }
4295
4296 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
4297 static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args) {
4298 PyObject * _resultobj;
4299 bool _result;
4300 wxTextCtrl * _arg0;
4301 char * _argc0 = 0;
4302
4303 self = self;
4304 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanUndo",&_argc0))
4305 return NULL;
4306 if (_argc0) {
4307 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
4309 return NULL;
4310 }
4311 }
4312 {
4313 wxPy_BEGIN_ALLOW_THREADS;
4314 _result = (bool )wxTextCtrl_CanUndo(_arg0);
4315
4316 wxPy_END_ALLOW_THREADS;
4317 } _resultobj = Py_BuildValue("i",_result);
4318 return _resultobj;
4319 }
4320
4321 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
4322 static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args) {
4323 PyObject * _resultobj;
4324 wxTextCtrl * _arg0;
4325 long * _arg1;
4326 long temp;
4327 long * _arg2;
4328 long temp0;
4329 char * _argc0 = 0;
4330
4331 self = self;
4332 {
4333 _arg1 = &temp;
4334 }
4335 {
4336 _arg2 = &temp0;
4337 }
4338 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetSelection",&_argc0))
4339 return NULL;
4340 if (_argc0) {
4341 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
4343 return NULL;
4344 }
4345 }
4346 {
4347 wxPy_BEGIN_ALLOW_THREADS;
4348 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
4349
4350 wxPy_END_ALLOW_THREADS;
4351 } Py_INCREF(Py_None);
4352 _resultobj = Py_None;
4353 {
4354 PyObject *o;
4355 o = PyInt_FromLong((long) (*_arg1));
4356 _resultobj = t_output_helper(_resultobj, o);
4357 }
4358 {
4359 PyObject *o;
4360 o = PyInt_FromLong((long) (*_arg2));
4361 _resultobj = t_output_helper(_resultobj, o);
4362 }
4363 return _resultobj;
4364 }
4365
4366 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
4367 static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args) {
4368 PyObject * _resultobj;
4369 bool _result;
4370 wxTextCtrl * _arg0;
4371 char * _argc0 = 0;
4372
4373 self = self;
4374 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_IsEditable",&_argc0))
4375 return NULL;
4376 if (_argc0) {
4377 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
4379 return NULL;
4380 }
4381 }
4382 {
4383 wxPy_BEGIN_ALLOW_THREADS;
4384 _result = (bool )wxTextCtrl_IsEditable(_arg0);
4385
4386 wxPy_END_ALLOW_THREADS;
4387 } _resultobj = Py_BuildValue("i",_result);
4388 return _resultobj;
4389 }
4390
4391 static void *SwigwxScrollBarTowxControl(void *ptr) {
4392 wxScrollBar *src;
4393 wxControl *dest;
4394 src = (wxScrollBar *) ptr;
4395 dest = (wxControl *) src;
4396 return (void *) dest;
4397 }
4398
4399 static void *SwigwxScrollBarTowxWindow(void *ptr) {
4400 wxScrollBar *src;
4401 wxWindow *dest;
4402 src = (wxScrollBar *) ptr;
4403 dest = (wxWindow *) src;
4404 return (void *) dest;
4405 }
4406
4407 static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
4408 wxScrollBar *src;
4409 wxEvtHandler *dest;
4410 src = (wxScrollBar *) ptr;
4411 dest = (wxEvtHandler *) src;
4412 return (void *) dest;
4413 }
4414
4415 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4416 static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args) {
4417 PyObject * _resultobj;
4418 wxScrollBar * _result;
4419 wxWindow * _arg0;
4420 wxWindowID _arg1 = -1;
4421 wxPoint * _arg2 = &wxPyDefaultPosition;
4422 wxSize * _arg3 = &wxPyDefaultSize;
4423 long _arg4 = (wxSB_HORIZONTAL);
4424 wxValidator * _arg5 = &wxPyDefaultValidator;
4425 char * _arg6 = "scrollBar";
4426 char * _argc0 = 0;
4427 char * _argc2 = 0;
4428 char * _argc3 = 0;
4429 char * _argc5 = 0;
4430 char _ptemp[128];
4431
4432 self = self;
4433 if(!PyArg_ParseTuple(args,"s|isslss:new_wxScrollBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6))
4434 return NULL;
4435 if (_argc0) {
4436 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
4438 return NULL;
4439 }
4440 }
4441 if (_argc2) {
4442 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
4443 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxScrollBar. Expected _wxPoint_p.");
4444 return NULL;
4445 }
4446 }
4447 if (_argc3) {
4448 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
4449 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxScrollBar. Expected _wxSize_p.");
4450 return NULL;
4451 }
4452 }
4453 if (_argc5) {
4454 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxValidator_p")) {
4455 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
4456 return NULL;
4457 }
4458 }
4459 {
4460 wxPy_BEGIN_ALLOW_THREADS;
4461 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
4462
4463 wxPy_END_ALLOW_THREADS;
4464 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
4465 _resultobj = Py_BuildValue("s",_ptemp);
4466 return _resultobj;
4467 }
4468
4469 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
4470 static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args) {
4471 PyObject * _resultobj;
4472 int _result;
4473 wxScrollBar * _arg0;
4474 char * _argc0 = 0;
4475
4476 self = self;
4477 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetRange",&_argc0))
4478 return NULL;
4479 if (_argc0) {
4480 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
4482 return NULL;
4483 }
4484 }
4485 {
4486 wxPy_BEGIN_ALLOW_THREADS;
4487 _result = (int )wxScrollBar_GetRange(_arg0);
4488
4489 wxPy_END_ALLOW_THREADS;
4490 } _resultobj = Py_BuildValue("i",_result);
4491 return _resultobj;
4492 }
4493
4494 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
4495 static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args) {
4496 PyObject * _resultobj;
4497 int _result;
4498 wxScrollBar * _arg0;
4499 char * _argc0 = 0;
4500
4501 self = self;
4502 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetPageSize",&_argc0))
4503 return NULL;
4504 if (_argc0) {
4505 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
4507 return NULL;
4508 }
4509 }
4510 {
4511 wxPy_BEGIN_ALLOW_THREADS;
4512 _result = (int )wxScrollBar_GetPageSize(_arg0);
4513
4514 wxPy_END_ALLOW_THREADS;
4515 } _resultobj = Py_BuildValue("i",_result);
4516 return _resultobj;
4517 }
4518
4519 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
4520 static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args) {
4521 PyObject * _resultobj;
4522 int _result;
4523 wxScrollBar * _arg0;
4524 char * _argc0 = 0;
4525
4526 self = self;
4527 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetThumbPosition",&_argc0))
4528 return NULL;
4529 if (_argc0) {
4530 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
4532 return NULL;
4533 }
4534 }
4535 {
4536 wxPy_BEGIN_ALLOW_THREADS;
4537 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
4538
4539 wxPy_END_ALLOW_THREADS;
4540 } _resultobj = Py_BuildValue("i",_result);
4541 return _resultobj;
4542 }
4543
4544 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
4545 static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args) {
4546 PyObject * _resultobj;
4547 int _result;
4548 wxScrollBar * _arg0;
4549 char * _argc0 = 0;
4550
4551 self = self;
4552 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetThumbSize",&_argc0))
4553 return NULL;
4554 if (_argc0) {
4555 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
4557 return NULL;
4558 }
4559 }
4560 {
4561 wxPy_BEGIN_ALLOW_THREADS;
4562 _result = (int )wxScrollBar_GetThumbSize(_arg0);
4563
4564 wxPy_END_ALLOW_THREADS;
4565 } _resultobj = Py_BuildValue("i",_result);
4566 return _resultobj;
4567 }
4568
4569 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
4570 static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args) {
4571 PyObject * _resultobj;
4572 wxScrollBar * _arg0;
4573 int _arg1;
4574 char * _argc0 = 0;
4575
4576 self = self;
4577 if(!PyArg_ParseTuple(args,"si:wxScrollBar_SetThumbPosition",&_argc0,&_arg1))
4578 return NULL;
4579 if (_argc0) {
4580 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
4582 return NULL;
4583 }
4584 }
4585 {
4586 wxPy_BEGIN_ALLOW_THREADS;
4587 wxScrollBar_SetThumbPosition(_arg0,_arg1);
4588
4589 wxPy_END_ALLOW_THREADS;
4590 } Py_INCREF(Py_None);
4591 _resultobj = Py_None;
4592 return _resultobj;
4593 }
4594
4595 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4596 static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args) {
4597 PyObject * _resultobj;
4598 wxScrollBar * _arg0;
4599 int _arg1;
4600 int _arg2;
4601 int _arg3;
4602 int _arg4;
4603 bool _arg5 = (1);
4604 char * _argc0 = 0;
4605 int tempbool5;
4606
4607 self = self;
4608 if(!PyArg_ParseTuple(args,"siiii|i:wxScrollBar_SetScrollbar",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
4609 return NULL;
4610 if (_argc0) {
4611 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
4613 return NULL;
4614 }
4615 }
4616 _arg5 = (bool ) tempbool5;
4617 {
4618 wxPy_BEGIN_ALLOW_THREADS;
4619 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4620
4621 wxPy_END_ALLOW_THREADS;
4622 } Py_INCREF(Py_None);
4623 _resultobj = Py_None;
4624 return _resultobj;
4625 }
4626
4627 static void *SwigwxSpinButtonTowxControl(void *ptr) {
4628 wxSpinButton *src;
4629 wxControl *dest;
4630 src = (wxSpinButton *) ptr;
4631 dest = (wxControl *) src;
4632 return (void *) dest;
4633 }
4634
4635 static void *SwigwxSpinButtonTowxWindow(void *ptr) {
4636 wxSpinButton *src;
4637 wxWindow *dest;
4638 src = (wxSpinButton *) ptr;
4639 dest = (wxWindow *) src;
4640 return (void *) dest;
4641 }
4642
4643 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
4644 wxSpinButton *src;
4645 wxEvtHandler *dest;
4646 src = (wxSpinButton *) ptr;
4647 dest = (wxEvtHandler *) src;
4648 return (void *) dest;
4649 }
4650
4651 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4652 static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args) {
4653 PyObject * _resultobj;
4654 wxSpinButton * _result;
4655 wxWindow * _arg0;
4656 wxWindowID _arg1 = -1;
4657 wxPoint * _arg2 = &wxPyDefaultPosition;
4658 wxSize * _arg3 = &wxPyDefaultSize;
4659 long _arg4 = (wxSP_HORIZONTAL);
4660 char * _arg5 = "spinButton";
4661 char * _argc0 = 0;
4662 char * _argc2 = 0;
4663 char * _argc3 = 0;
4664 char _ptemp[128];
4665
4666 self = self;
4667 if(!PyArg_ParseTuple(args,"s|issls:new_wxSpinButton",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
4668 return NULL;
4669 if (_argc0) {
4670 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
4672 return NULL;
4673 }
4674 }
4675 if (_argc2) {
4676 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
4677 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSpinButton. Expected _wxPoint_p.");
4678 return NULL;
4679 }
4680 }
4681 if (_argc3) {
4682 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
4683 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSpinButton. Expected _wxSize_p.");
4684 return NULL;
4685 }
4686 }
4687 {
4688 wxPy_BEGIN_ALLOW_THREADS;
4689 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4690
4691 wxPy_END_ALLOW_THREADS;
4692 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
4693 _resultobj = Py_BuildValue("s",_ptemp);
4694 return _resultobj;
4695 }
4696
4697 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
4698 static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args) {
4699 PyObject * _resultobj;
4700 int _result;
4701 wxSpinButton * _arg0;
4702 char * _argc0 = 0;
4703
4704 self = self;
4705 if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetMax",&_argc0))
4706 return NULL;
4707 if (_argc0) {
4708 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
4710 return NULL;
4711 }
4712 }
4713 {
4714 wxPy_BEGIN_ALLOW_THREADS;
4715 _result = (int )wxSpinButton_GetMax(_arg0);
4716
4717 wxPy_END_ALLOW_THREADS;
4718 } _resultobj = Py_BuildValue("i",_result);
4719 return _resultobj;
4720 }
4721
4722 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
4723 static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args) {
4724 PyObject * _resultobj;
4725 int _result;
4726 wxSpinButton * _arg0;
4727 char * _argc0 = 0;
4728
4729 self = self;
4730 if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetMin",&_argc0))
4731 return NULL;
4732 if (_argc0) {
4733 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
4735 return NULL;
4736 }
4737 }
4738 {
4739 wxPy_BEGIN_ALLOW_THREADS;
4740 _result = (int )wxSpinButton_GetMin(_arg0);
4741
4742 wxPy_END_ALLOW_THREADS;
4743 } _resultobj = Py_BuildValue("i",_result);
4744 return _resultobj;
4745 }
4746
4747 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
4748 static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args) {
4749 PyObject * _resultobj;
4750 int _result;
4751 wxSpinButton * _arg0;
4752 char * _argc0 = 0;
4753
4754 self = self;
4755 if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetValue",&_argc0))
4756 return NULL;
4757 if (_argc0) {
4758 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
4760 return NULL;
4761 }
4762 }
4763 {
4764 wxPy_BEGIN_ALLOW_THREADS;
4765 _result = (int )wxSpinButton_GetValue(_arg0);
4766
4767 wxPy_END_ALLOW_THREADS;
4768 } _resultobj = Py_BuildValue("i",_result);
4769 return _resultobj;
4770 }
4771
4772 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
4773 static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args) {
4774 PyObject * _resultobj;
4775 wxSpinButton * _arg0;
4776 int _arg1;
4777 int _arg2;
4778 char * _argc0 = 0;
4779
4780 self = self;
4781 if(!PyArg_ParseTuple(args,"sii:wxSpinButton_SetRange",&_argc0,&_arg1,&_arg2))
4782 return NULL;
4783 if (_argc0) {
4784 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
4786 return NULL;
4787 }
4788 }
4789 {
4790 wxPy_BEGIN_ALLOW_THREADS;
4791 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
4792
4793 wxPy_END_ALLOW_THREADS;
4794 } Py_INCREF(Py_None);
4795 _resultobj = Py_None;
4796 return _resultobj;
4797 }
4798
4799 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4800 static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args) {
4801 PyObject * _resultobj;
4802 wxSpinButton * _arg0;
4803 int _arg1;
4804 char * _argc0 = 0;
4805
4806 self = self;
4807 if(!PyArg_ParseTuple(args,"si:wxSpinButton_SetValue",&_argc0,&_arg1))
4808 return NULL;
4809 if (_argc0) {
4810 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
4812 return NULL;
4813 }
4814 }
4815 {
4816 wxPy_BEGIN_ALLOW_THREADS;
4817 wxSpinButton_SetValue(_arg0,_arg1);
4818
4819 wxPy_END_ALLOW_THREADS;
4820 } Py_INCREF(Py_None);
4821 _resultobj = Py_None;
4822 return _resultobj;
4823 }
4824
4825 static void *SwigwxStaticBitmapTowxControl(void *ptr) {
4826 wxStaticBitmap *src;
4827 wxControl *dest;
4828 src = (wxStaticBitmap *) ptr;
4829 dest = (wxControl *) src;
4830 return (void *) dest;
4831 }
4832
4833 static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
4834 wxStaticBitmap *src;
4835 wxWindow *dest;
4836 src = (wxStaticBitmap *) ptr;
4837 dest = (wxWindow *) src;
4838 return (void *) dest;
4839 }
4840
4841 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
4842 wxStaticBitmap *src;
4843 wxEvtHandler *dest;
4844 src = (wxStaticBitmap *) ptr;
4845 dest = (wxEvtHandler *) src;
4846 return (void *) dest;
4847 }
4848
4849 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4850 static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args) {
4851 PyObject * _resultobj;
4852 wxStaticBitmap * _result;
4853 wxWindow * _arg0;
4854 wxWindowID _arg1;
4855 wxBitmap * _arg2;
4856 wxPoint * _arg3 = &wxPyDefaultPosition;
4857 wxSize * _arg4 = &wxPyDefaultSize;
4858 long _arg5 = 0;
4859 char * _arg6 = "staticBitmap";
4860 char * _argc0 = 0;
4861 char * _argc2 = 0;
4862 char * _argc3 = 0;
4863 char * _argc4 = 0;
4864 char _ptemp[128];
4865
4866 self = self;
4867 if(!PyArg_ParseTuple(args,"sis|ssls:new_wxStaticBitmap",&_argc0,&_arg1,&_argc2,&_argc3,&_argc4,&_arg5,&_arg6))
4868 return NULL;
4869 if (_argc0) {
4870 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
4872 return NULL;
4873 }
4874 }
4875 if (_argc2) {
4876 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
4877 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
4878 return NULL;
4879 }
4880 }
4881 if (_argc3) {
4882 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
4883 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticBitmap. Expected _wxPoint_p.");
4884 return NULL;
4885 }
4886 }
4887 if (_argc4) {
4888 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
4889 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxStaticBitmap. Expected _wxSize_p.");
4890 return NULL;
4891 }
4892 }
4893 {
4894 wxPy_BEGIN_ALLOW_THREADS;
4895 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4896
4897 wxPy_END_ALLOW_THREADS;
4898 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
4899 _resultobj = Py_BuildValue("s",_ptemp);
4900 return _resultobj;
4901 }
4902
4903 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
4904 static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args) {
4905 PyObject * _resultobj;
4906 wxBitmap * _result;
4907 wxStaticBitmap * _arg0;
4908 char * _argc0 = 0;
4909 char _ptemp[128];
4910
4911 self = self;
4912 if(!PyArg_ParseTuple(args,"s:wxStaticBitmap_GetBitmap",&_argc0))
4913 return NULL;
4914 if (_argc0) {
4915 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticBitmap_p")) {
4916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
4917 return NULL;
4918 }
4919 }
4920 {
4921 wxPy_BEGIN_ALLOW_THREADS;
4922 const wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0);
4923 _result = (wxBitmap *) &_result_ref;
4924
4925 wxPy_END_ALLOW_THREADS;
4926 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4927 _resultobj = Py_BuildValue("s",_ptemp);
4928 return _resultobj;
4929 }
4930
4931 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
4932 static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args) {
4933 PyObject * _resultobj;
4934 wxStaticBitmap * _arg0;
4935 wxBitmap * _arg1;
4936 char * _argc0 = 0;
4937 char * _argc1 = 0;
4938
4939 self = self;
4940 if(!PyArg_ParseTuple(args,"ss:wxStaticBitmap_SetBitmap",&_argc0,&_argc1))
4941 return NULL;
4942 if (_argc0) {
4943 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticBitmap_p")) {
4944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
4945 return NULL;
4946 }
4947 }
4948 if (_argc1) {
4949 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
4950 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
4951 return NULL;
4952 }
4953 }
4954 {
4955 wxPy_BEGIN_ALLOW_THREADS;
4956 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
4957
4958 wxPy_END_ALLOW_THREADS;
4959 } Py_INCREF(Py_None);
4960 _resultobj = Py_None;
4961 return _resultobj;
4962 }
4963
4964 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
4965 static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args) {
4966 PyObject * _resultobj;
4967 wxStaticBitmap * _arg0;
4968 wxIcon * _arg1;
4969 char * _argc0 = 0;
4970 char * _argc1 = 0;
4971
4972 self = self;
4973 if(!PyArg_ParseTuple(args,"ss:wxStaticBitmap_SetIcon",&_argc0,&_argc1))
4974 return NULL;
4975 if (_argc0) {
4976 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticBitmap_p")) {
4977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
4978 return NULL;
4979 }
4980 }
4981 if (_argc1) {
4982 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxIcon_p")) {
4983 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
4984 return NULL;
4985 }
4986 }
4987 {
4988 wxPy_BEGIN_ALLOW_THREADS;
4989 wxStaticBitmap_SetIcon(_arg0,*_arg1);
4990
4991 wxPy_END_ALLOW_THREADS;
4992 } Py_INCREF(Py_None);
4993 _resultobj = Py_None;
4994 return _resultobj;
4995 }
4996
4997 static void *SwigwxRadioBoxTowxControl(void *ptr) {
4998 wxRadioBox *src;
4999 wxControl *dest;
5000 src = (wxRadioBox *) ptr;
5001 dest = (wxControl *) src;
5002 return (void *) dest;
5003 }
5004
5005 static void *SwigwxRadioBoxTowxWindow(void *ptr) {
5006 wxRadioBox *src;
5007 wxWindow *dest;
5008 src = (wxRadioBox *) ptr;
5009 dest = (wxWindow *) src;
5010 return (void *) dest;
5011 }
5012
5013 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
5014 wxRadioBox *src;
5015 wxEvtHandler *dest;
5016 src = (wxRadioBox *) ptr;
5017 dest = (wxEvtHandler *) src;
5018 return (void *) dest;
5019 }
5020
5021 #define new_wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (new wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10))
5022 static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args) {
5023 PyObject * _resultobj;
5024 wxRadioBox * _result;
5025 wxWindow * _arg0;
5026 wxWindowID _arg1;
5027 wxString * _arg2;
5028 wxPoint * _arg3 = &wxPyDefaultPosition;
5029 wxSize * _arg4 = &wxPyDefaultSize;
5030 int _arg5 = 0;
5031 wxString * _arg6 = NULL;
5032 int _arg7 = 0;
5033 long _arg8 = (wxRA_HORIZONTAL);
5034 wxValidator * _arg9 = &wxPyDefaultValidator;
5035 char * _arg10 = "radioBox";
5036 char * _argc0 = 0;
5037 PyObject * _obj2 = 0;
5038 char * _argc3 = 0;
5039 char * _argc4 = 0;
5040 PyObject * _obj6 = 0;
5041 char * _argc9 = 0;
5042 char _ptemp[128];
5043
5044 self = self;
5045 if(!PyArg_ParseTuple(args,"siO|ssOilss:new_wxRadioBox",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_obj6,&_arg7,&_arg8,&_argc9,&_arg10))
5046 return NULL;
5047 if (_argc0) {
5048 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
5049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
5050 return NULL;
5051 }
5052 }
5053 {
5054 if (!PyString_Check(_obj2)) {
5055 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5056 return NULL;
5057 }
5058 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5059 }
5060 if (_argc3) {
5061 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
5062 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxRadioBox. Expected _wxPoint_p.");
5063 return NULL;
5064 }
5065 }
5066 if (_argc4) {
5067 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
5068 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxRadioBox. Expected _wxSize_p.");
5069 return NULL;
5070 }
5071 }
5072 if (_obj6)
5073 {
5074 _arg6 = wxString_LIST_helper(_obj6);
5075 if (_arg6 == NULL) {
5076 return NULL;
5077 }
5078 }
5079 if (_argc9) {
5080 if (SWIG_GetPtr(_argc9,(void **) &_arg9,"_wxValidator_p")) {
5081 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
5082 return NULL;
5083 }
5084 }
5085 {
5086 if (_obj6) {
5087 _arg5 = PyList_Size(_obj6);
5088 }
5089 else {
5090 _arg5 = 0;
5091 }
5092 }
5093 {
5094 wxPy_BEGIN_ALLOW_THREADS;
5095 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
5096
5097 wxPy_END_ALLOW_THREADS;
5098 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
5099 _resultobj = Py_BuildValue("s",_ptemp);
5100 {
5101 if (_obj2)
5102 delete _arg2;
5103 }
5104 {
5105 delete [] _arg6;
5106 }
5107 return _resultobj;
5108 }
5109
5110 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5111 static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args) {
5112 PyObject * _resultobj;
5113 wxRadioBox * _arg0;
5114 bool _arg1;
5115 char * _argc0 = 0;
5116 int tempbool1;
5117
5118 self = self;
5119 if(!PyArg_ParseTuple(args,"si:wxRadioBox_Enable",&_argc0,&tempbool1))
5120 return NULL;
5121 if (_argc0) {
5122 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
5124 return NULL;
5125 }
5126 }
5127 _arg1 = (bool ) tempbool1;
5128 {
5129 wxPy_BEGIN_ALLOW_THREADS;
5130 wxRadioBox_Enable(_arg0,_arg1);
5131
5132 wxPy_END_ALLOW_THREADS;
5133 } Py_INCREF(Py_None);
5134 _resultobj = Py_None;
5135 return _resultobj;
5136 }
5137
5138 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5139 static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args) {
5140 PyObject * _resultobj;
5141 wxRadioBox * _arg0;
5142 int _arg1;
5143 bool _arg2;
5144 char * _argc0 = 0;
5145 int tempbool2;
5146
5147 self = self;
5148 if(!PyArg_ParseTuple(args,"sii:wxRadioBox_EnableItem",&_argc0,&_arg1,&tempbool2))
5149 return NULL;
5150 if (_argc0) {
5151 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
5153 return NULL;
5154 }
5155 }
5156 _arg2 = (bool ) tempbool2;
5157 {
5158 wxPy_BEGIN_ALLOW_THREADS;
5159 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
5160
5161 wxPy_END_ALLOW_THREADS;
5162 } Py_INCREF(Py_None);
5163 _resultobj = Py_None;
5164 return _resultobj;
5165 }
5166
5167 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
5168 static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args) {
5169 PyObject * _resultobj;
5170 int _result;
5171 wxRadioBox * _arg0;
5172 wxString * _arg1;
5173 char * _argc0 = 0;
5174 PyObject * _obj1 = 0;
5175
5176 self = self;
5177 if(!PyArg_ParseTuple(args,"sO:wxRadioBox_FindString",&_argc0,&_obj1))
5178 return NULL;
5179 if (_argc0) {
5180 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
5182 return NULL;
5183 }
5184 }
5185 {
5186 if (!PyString_Check(_obj1)) {
5187 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5188 return NULL;
5189 }
5190 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5191 }
5192 {
5193 wxPy_BEGIN_ALLOW_THREADS;
5194 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
5195
5196 wxPy_END_ALLOW_THREADS;
5197 } _resultobj = Py_BuildValue("i",_result);
5198 {
5199 if (_obj1)
5200 delete _arg1;
5201 }
5202 return _resultobj;
5203 }
5204
5205 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5206 static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args) {
5207 PyObject * _resultobj;
5208 wxString * _result;
5209 wxRadioBox * _arg0;
5210 int _arg1;
5211 char * _argc0 = 0;
5212
5213 self = self;
5214 if(!PyArg_ParseTuple(args,"si:wxRadioBox_GetItemLabel",&_argc0,&_arg1))
5215 return NULL;
5216 if (_argc0) {
5217 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
5219 return NULL;
5220 }
5221 }
5222 {
5223 wxPy_BEGIN_ALLOW_THREADS;
5224 _result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1));
5225
5226 wxPy_END_ALLOW_THREADS;
5227 }{
5228 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5229 }
5230 {
5231 delete _result;
5232 }
5233 return _resultobj;
5234 }
5235
5236 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
5237 static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args) {
5238 PyObject * _resultobj;
5239 int _result;
5240 wxRadioBox * _arg0;
5241 char * _argc0 = 0;
5242
5243 self = self;
5244 if(!PyArg_ParseTuple(args,"s:wxRadioBox_GetSelection",&_argc0))
5245 return NULL;
5246 if (_argc0) {
5247 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
5249 return NULL;
5250 }
5251 }
5252 {
5253 wxPy_BEGIN_ALLOW_THREADS;
5254 _result = (int )wxRadioBox_GetSelection(_arg0);
5255
5256 wxPy_END_ALLOW_THREADS;
5257 } _resultobj = Py_BuildValue("i",_result);
5258 return _resultobj;
5259 }
5260
5261 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
5262 static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args) {
5263 PyObject * _resultobj;
5264 wxString * _result;
5265 wxRadioBox * _arg0;
5266 int _arg1;
5267 char * _argc0 = 0;
5268
5269 self = self;
5270 if(!PyArg_ParseTuple(args,"si:wxRadioBox_GetString",&_argc0,&_arg1))
5271 return NULL;
5272 if (_argc0) {
5273 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
5275 return NULL;
5276 }
5277 }
5278 {
5279 wxPy_BEGIN_ALLOW_THREADS;
5280 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
5281
5282 wxPy_END_ALLOW_THREADS;
5283 }{
5284 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5285 }
5286 {
5287 delete _result;
5288 }
5289 return _resultobj;
5290 }
5291
5292 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
5293 static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args) {
5294 PyObject * _resultobj;
5295 wxString * _result;
5296 wxRadioBox * _arg0;
5297 char * _argc0 = 0;
5298
5299 self = self;
5300 if(!PyArg_ParseTuple(args,"s:wxRadioBox_GetStringSelection",&_argc0))
5301 return NULL;
5302 if (_argc0) {
5303 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
5305 return NULL;
5306 }
5307 }
5308 {
5309 wxPy_BEGIN_ALLOW_THREADS;
5310 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
5311
5312 wxPy_END_ALLOW_THREADS;
5313 }{
5314 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5315 }
5316 {
5317 delete _result;
5318 }
5319 return _resultobj;
5320 }
5321
5322 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
5323 static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args) {
5324 PyObject * _resultobj;
5325 int _result;
5326 wxRadioBox * _arg0;
5327 char * _argc0 = 0;
5328
5329 self = self;
5330 if(!PyArg_ParseTuple(args,"s:wxRadioBox_Number",&_argc0))
5331 return NULL;
5332 if (_argc0) {
5333 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
5335 return NULL;
5336 }
5337 }
5338 {
5339 wxPy_BEGIN_ALLOW_THREADS;
5340 _result = (int )wxRadioBox_Number(_arg0);
5341
5342 wxPy_END_ALLOW_THREADS;
5343 } _resultobj = Py_BuildValue("i",_result);
5344 return _resultobj;
5345 }
5346
5347 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5348 static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args) {
5349 PyObject * _resultobj;
5350 wxRadioBox * _arg0;
5351 int _arg1;
5352 wxString * _arg2;
5353 char * _argc0 = 0;
5354 PyObject * _obj2 = 0;
5355
5356 self = self;
5357 if(!PyArg_ParseTuple(args,"siO:wxRadioBox_SetItemLabel",&_argc0,&_arg1,&_obj2))
5358 return NULL;
5359 if (_argc0) {
5360 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
5362 return NULL;
5363 }
5364 }
5365 {
5366 if (!PyString_Check(_obj2)) {
5367 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5368 return NULL;
5369 }
5370 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5371 }
5372 {
5373 wxPy_BEGIN_ALLOW_THREADS;
5374 wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2);
5375
5376 wxPy_END_ALLOW_THREADS;
5377 } Py_INCREF(Py_None);
5378 _resultobj = Py_None;
5379 {
5380 if (_obj2)
5381 delete _arg2;
5382 }
5383 return _resultobj;
5384 }
5385
5386 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
5387 static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args) {
5388 PyObject * _resultobj;
5389 wxRadioBox * _arg0;
5390 int _arg1;
5391 char * _argc0 = 0;
5392
5393 self = self;
5394 if(!PyArg_ParseTuple(args,"si:wxRadioBox_SetSelection",&_argc0,&_arg1))
5395 return NULL;
5396 if (_argc0) {
5397 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
5399 return NULL;
5400 }
5401 }
5402 {
5403 wxPy_BEGIN_ALLOW_THREADS;
5404 wxRadioBox_SetSelection(_arg0,_arg1);
5405
5406 wxPy_END_ALLOW_THREADS;
5407 } Py_INCREF(Py_None);
5408 _resultobj = Py_None;
5409 return _resultobj;
5410 }
5411
5412 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
5413 static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args) {
5414 PyObject * _resultobj;
5415 wxRadioBox * _arg0;
5416 wxString * _arg1;
5417 char * _argc0 = 0;
5418 PyObject * _obj1 = 0;
5419
5420 self = self;
5421 if(!PyArg_ParseTuple(args,"sO:wxRadioBox_SetStringSelection",&_argc0,&_obj1))
5422 return NULL;
5423 if (_argc0) {
5424 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
5426 return NULL;
5427 }
5428 }
5429 {
5430 if (!PyString_Check(_obj1)) {
5431 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5432 return NULL;
5433 }
5434 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5435 }
5436 {
5437 wxPy_BEGIN_ALLOW_THREADS;
5438 wxRadioBox_SetStringSelection(_arg0,*_arg1);
5439
5440 wxPy_END_ALLOW_THREADS;
5441 } Py_INCREF(Py_None);
5442 _resultobj = Py_None;
5443 {
5444 if (_obj1)
5445 delete _arg1;
5446 }
5447 return _resultobj;
5448 }
5449
5450 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5451 static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args) {
5452 PyObject * _resultobj;
5453 wxRadioBox * _arg0;
5454 bool _arg1;
5455 char * _argc0 = 0;
5456 int tempbool1;
5457
5458 self = self;
5459 if(!PyArg_ParseTuple(args,"si:wxRadioBox_Show",&_argc0,&tempbool1))
5460 return NULL;
5461 if (_argc0) {
5462 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
5464 return NULL;
5465 }
5466 }
5467 _arg1 = (bool ) tempbool1;
5468 {
5469 wxPy_BEGIN_ALLOW_THREADS;
5470 wxRadioBox_Show(_arg0,_arg1);
5471
5472 wxPy_END_ALLOW_THREADS;
5473 } Py_INCREF(Py_None);
5474 _resultobj = Py_None;
5475 return _resultobj;
5476 }
5477
5478 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
5479 static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args) {
5480 PyObject * _resultobj;
5481 wxRadioBox * _arg0;
5482 int _arg1;
5483 bool _arg2;
5484 char * _argc0 = 0;
5485 int tempbool2;
5486
5487 self = self;
5488 if(!PyArg_ParseTuple(args,"sii:wxRadioBox_ShowItem",&_argc0,&_arg1,&tempbool2))
5489 return NULL;
5490 if (_argc0) {
5491 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
5493 return NULL;
5494 }
5495 }
5496 _arg2 = (bool ) tempbool2;
5497 {
5498 wxPy_BEGIN_ALLOW_THREADS;
5499 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
5500
5501 wxPy_END_ALLOW_THREADS;
5502 } Py_INCREF(Py_None);
5503 _resultobj = Py_None;
5504 return _resultobj;
5505 }
5506
5507 static void *SwigwxRadioButtonTowxControl(void *ptr) {
5508 wxRadioButton *src;
5509 wxControl *dest;
5510 src = (wxRadioButton *) ptr;
5511 dest = (wxControl *) src;
5512 return (void *) dest;
5513 }
5514
5515 static void *SwigwxRadioButtonTowxWindow(void *ptr) {
5516 wxRadioButton *src;
5517 wxWindow *dest;
5518 src = (wxRadioButton *) ptr;
5519 dest = (wxWindow *) src;
5520 return (void *) dest;
5521 }
5522
5523 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
5524 wxRadioButton *src;
5525 wxEvtHandler *dest;
5526 src = (wxRadioButton *) ptr;
5527 dest = (wxEvtHandler *) src;
5528 return (void *) dest;
5529 }
5530
5531 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5532 static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args) {
5533 PyObject * _resultobj;
5534 wxRadioButton * _result;
5535 wxWindow * _arg0;
5536 wxWindowID _arg1;
5537 wxString * _arg2;
5538 wxPoint * _arg3 = &wxPyDefaultPosition;
5539 wxSize * _arg4 = &wxPyDefaultSize;
5540 long _arg5 = 0;
5541 wxValidator * _arg6 = &wxPyDefaultValidator;
5542 char * _arg7 = "radioButton";
5543 char * _argc0 = 0;
5544 PyObject * _obj2 = 0;
5545 char * _argc3 = 0;
5546 char * _argc4 = 0;
5547 char * _argc6 = 0;
5548 char _ptemp[128];
5549
5550 self = self;
5551 if(!PyArg_ParseTuple(args,"siO|sslss:new_wxRadioButton",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
5552 return NULL;
5553 if (_argc0) {
5554 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
5555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
5556 return NULL;
5557 }
5558 }
5559 {
5560 if (!PyString_Check(_obj2)) {
5561 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5562 return NULL;
5563 }
5564 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5565 }
5566 if (_argc3) {
5567 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
5568 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxRadioButton. Expected _wxPoint_p.");
5569 return NULL;
5570 }
5571 }
5572 if (_argc4) {
5573 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
5574 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxRadioButton. Expected _wxSize_p.");
5575 return NULL;
5576 }
5577 }
5578 if (_argc6) {
5579 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
5580 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
5581 return NULL;
5582 }
5583 }
5584 {
5585 wxPy_BEGIN_ALLOW_THREADS;
5586 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
5587
5588 wxPy_END_ALLOW_THREADS;
5589 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
5590 _resultobj = Py_BuildValue("s",_ptemp);
5591 {
5592 if (_obj2)
5593 delete _arg2;
5594 }
5595 return _resultobj;
5596 }
5597
5598 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
5599 static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args) {
5600 PyObject * _resultobj;
5601 bool _result;
5602 wxRadioButton * _arg0;
5603 char * _argc0 = 0;
5604
5605 self = self;
5606 if(!PyArg_ParseTuple(args,"s:wxRadioButton_GetValue",&_argc0))
5607 return NULL;
5608 if (_argc0) {
5609 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioButton_p")) {
5610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
5611 return NULL;
5612 }
5613 }
5614 {
5615 wxPy_BEGIN_ALLOW_THREADS;
5616 _result = (bool )wxRadioButton_GetValue(_arg0);
5617
5618 wxPy_END_ALLOW_THREADS;
5619 } _resultobj = Py_BuildValue("i",_result);
5620 return _resultobj;
5621 }
5622
5623 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5624 static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args) {
5625 PyObject * _resultobj;
5626 wxRadioButton * _arg0;
5627 bool _arg1;
5628 char * _argc0 = 0;
5629 int tempbool1;
5630
5631 self = self;
5632 if(!PyArg_ParseTuple(args,"si:wxRadioButton_SetValue",&_argc0,&tempbool1))
5633 return NULL;
5634 if (_argc0) {
5635 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioButton_p")) {
5636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
5637 return NULL;
5638 }
5639 }
5640 _arg1 = (bool ) tempbool1;
5641 {
5642 wxPy_BEGIN_ALLOW_THREADS;
5643 wxRadioButton_SetValue(_arg0,_arg1);
5644
5645 wxPy_END_ALLOW_THREADS;
5646 } Py_INCREF(Py_None);
5647 _resultobj = Py_None;
5648 return _resultobj;
5649 }
5650
5651 static void *SwigwxSliderTowxControl(void *ptr) {
5652 wxSlider *src;
5653 wxControl *dest;
5654 src = (wxSlider *) ptr;
5655 dest = (wxControl *) src;
5656 return (void *) dest;
5657 }
5658
5659 static void *SwigwxSliderTowxWindow(void *ptr) {
5660 wxSlider *src;
5661 wxWindow *dest;
5662 src = (wxSlider *) ptr;
5663 dest = (wxWindow *) src;
5664 return (void *) dest;
5665 }
5666
5667 static void *SwigwxSliderTowxEvtHandler(void *ptr) {
5668 wxSlider *src;
5669 wxEvtHandler *dest;
5670 src = (wxSlider *) ptr;
5671 dest = (wxEvtHandler *) src;
5672 return (void *) dest;
5673 }
5674
5675 #define new_wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
5676 static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args) {
5677 PyObject * _resultobj;
5678 wxSlider * _result;
5679 wxWindow * _arg0;
5680 wxWindowID _arg1;
5681 int _arg2;
5682 int _arg3;
5683 int _arg4;
5684 wxPoint * _arg5 = &wxPyDefaultPosition;
5685 wxSize * _arg6 = &wxPyDefaultSize;
5686 long _arg7 = (wxSL_HORIZONTAL);
5687 wxValidator * _arg8 = &wxPyDefaultValidator;
5688 char * _arg9 = "slider";
5689 char * _argc0 = 0;
5690 char * _argc5 = 0;
5691 char * _argc6 = 0;
5692 char * _argc8 = 0;
5693 char _ptemp[128];
5694
5695 self = self;
5696 if(!PyArg_ParseTuple(args,"siiii|sslss:new_wxSlider",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_argc5,&_argc6,&_arg7,&_argc8,&_arg9))
5697 return NULL;
5698 if (_argc0) {
5699 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
5700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
5701 return NULL;
5702 }
5703 }
5704 if (_argc5) {
5705 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxPoint_p")) {
5706 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxSlider. Expected _wxPoint_p.");
5707 return NULL;
5708 }
5709 }
5710 if (_argc6) {
5711 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxSize_p")) {
5712 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxSlider. Expected _wxSize_p.");
5713 return NULL;
5714 }
5715 }
5716 if (_argc8) {
5717 if (SWIG_GetPtr(_argc8,(void **) &_arg8,"_wxValidator_p")) {
5718 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
5719 return NULL;
5720 }
5721 }
5722 {
5723 wxPy_BEGIN_ALLOW_THREADS;
5724 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
5725
5726 wxPy_END_ALLOW_THREADS;
5727 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
5728 _resultobj = Py_BuildValue("s",_ptemp);
5729 return _resultobj;
5730 }
5731
5732 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
5733 static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args) {
5734 PyObject * _resultobj;
5735 wxSlider * _arg0;
5736 char * _argc0 = 0;
5737
5738 self = self;
5739 if(!PyArg_ParseTuple(args,"s:wxSlider_ClearSel",&_argc0))
5740 return NULL;
5741 if (_argc0) {
5742 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
5744 return NULL;
5745 }
5746 }
5747 {
5748 wxPy_BEGIN_ALLOW_THREADS;
5749 wxSlider_ClearSel(_arg0);
5750
5751 wxPy_END_ALLOW_THREADS;
5752 } Py_INCREF(Py_None);
5753 _resultobj = Py_None;
5754 return _resultobj;
5755 }
5756
5757 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
5758 static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args) {
5759 PyObject * _resultobj;
5760 wxSlider * _arg0;
5761 char * _argc0 = 0;
5762
5763 self = self;
5764 if(!PyArg_ParseTuple(args,"s:wxSlider_ClearTicks",&_argc0))
5765 return NULL;
5766 if (_argc0) {
5767 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
5769 return NULL;
5770 }
5771 }
5772 {
5773 wxPy_BEGIN_ALLOW_THREADS;
5774 wxSlider_ClearTicks(_arg0);
5775
5776 wxPy_END_ALLOW_THREADS;
5777 } Py_INCREF(Py_None);
5778 _resultobj = Py_None;
5779 return _resultobj;
5780 }
5781
5782 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
5783 static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args) {
5784 PyObject * _resultobj;
5785 int _result;
5786 wxSlider * _arg0;
5787 char * _argc0 = 0;
5788
5789 self = self;
5790 if(!PyArg_ParseTuple(args,"s:wxSlider_GetLineSize",&_argc0))
5791 return NULL;
5792 if (_argc0) {
5793 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
5795 return NULL;
5796 }
5797 }
5798 {
5799 wxPy_BEGIN_ALLOW_THREADS;
5800 _result = (int )wxSlider_GetLineSize(_arg0);
5801
5802 wxPy_END_ALLOW_THREADS;
5803 } _resultobj = Py_BuildValue("i",_result);
5804 return _resultobj;
5805 }
5806
5807 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
5808 static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args) {
5809 PyObject * _resultobj;
5810 int _result;
5811 wxSlider * _arg0;
5812 char * _argc0 = 0;
5813
5814 self = self;
5815 if(!PyArg_ParseTuple(args,"s:wxSlider_GetMax",&_argc0))
5816 return NULL;
5817 if (_argc0) {
5818 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
5820 return NULL;
5821 }
5822 }
5823 {
5824 wxPy_BEGIN_ALLOW_THREADS;
5825 _result = (int )wxSlider_GetMax(_arg0);
5826
5827 wxPy_END_ALLOW_THREADS;
5828 } _resultobj = Py_BuildValue("i",_result);
5829 return _resultobj;
5830 }
5831
5832 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
5833 static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args) {
5834 PyObject * _resultobj;
5835 int _result;
5836 wxSlider * _arg0;
5837 char * _argc0 = 0;
5838
5839 self = self;
5840 if(!PyArg_ParseTuple(args,"s:wxSlider_GetMin",&_argc0))
5841 return NULL;
5842 if (_argc0) {
5843 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
5845 return NULL;
5846 }
5847 }
5848 {
5849 wxPy_BEGIN_ALLOW_THREADS;
5850 _result = (int )wxSlider_GetMin(_arg0);
5851
5852 wxPy_END_ALLOW_THREADS;
5853 } _resultobj = Py_BuildValue("i",_result);
5854 return _resultobj;
5855 }
5856
5857 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5858 static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args) {
5859 PyObject * _resultobj;
5860 int _result;
5861 wxSlider * _arg0;
5862 char * _argc0 = 0;
5863
5864 self = self;
5865 if(!PyArg_ParseTuple(args,"s:wxSlider_GetPageSize",&_argc0))
5866 return NULL;
5867 if (_argc0) {
5868 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
5870 return NULL;
5871 }
5872 }
5873 {
5874 wxPy_BEGIN_ALLOW_THREADS;
5875 _result = (int )wxSlider_GetPageSize(_arg0);
5876
5877 wxPy_END_ALLOW_THREADS;
5878 } _resultobj = Py_BuildValue("i",_result);
5879 return _resultobj;
5880 }
5881
5882 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
5883 static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args) {
5884 PyObject * _resultobj;
5885 int _result;
5886 wxSlider * _arg0;
5887 char * _argc0 = 0;
5888
5889 self = self;
5890 if(!PyArg_ParseTuple(args,"s:wxSlider_GetSelEnd",&_argc0))
5891 return NULL;
5892 if (_argc0) {
5893 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
5895 return NULL;
5896 }
5897 }
5898 {
5899 wxPy_BEGIN_ALLOW_THREADS;
5900 _result = (int )wxSlider_GetSelEnd(_arg0);
5901
5902 wxPy_END_ALLOW_THREADS;
5903 } _resultobj = Py_BuildValue("i",_result);
5904 return _resultobj;
5905 }
5906
5907 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
5908 static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args) {
5909 PyObject * _resultobj;
5910 int _result;
5911 wxSlider * _arg0;
5912 char * _argc0 = 0;
5913
5914 self = self;
5915 if(!PyArg_ParseTuple(args,"s:wxSlider_GetSelStart",&_argc0))
5916 return NULL;
5917 if (_argc0) {
5918 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
5920 return NULL;
5921 }
5922 }
5923 {
5924 wxPy_BEGIN_ALLOW_THREADS;
5925 _result = (int )wxSlider_GetSelStart(_arg0);
5926
5927 wxPy_END_ALLOW_THREADS;
5928 } _resultobj = Py_BuildValue("i",_result);
5929 return _resultobj;
5930 }
5931
5932 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
5933 static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args) {
5934 PyObject * _resultobj;
5935 int _result;
5936 wxSlider * _arg0;
5937 char * _argc0 = 0;
5938
5939 self = self;
5940 if(!PyArg_ParseTuple(args,"s:wxSlider_GetThumbLength",&_argc0))
5941 return NULL;
5942 if (_argc0) {
5943 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
5945 return NULL;
5946 }
5947 }
5948 {
5949 wxPy_BEGIN_ALLOW_THREADS;
5950 _result = (int )wxSlider_GetThumbLength(_arg0);
5951
5952 wxPy_END_ALLOW_THREADS;
5953 } _resultobj = Py_BuildValue("i",_result);
5954 return _resultobj;
5955 }
5956
5957 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
5958 static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args) {
5959 PyObject * _resultobj;
5960 int _result;
5961 wxSlider * _arg0;
5962 char * _argc0 = 0;
5963
5964 self = self;
5965 if(!PyArg_ParseTuple(args,"s:wxSlider_GetTickFreq",&_argc0))
5966 return NULL;
5967 if (_argc0) {
5968 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
5970 return NULL;
5971 }
5972 }
5973 {
5974 wxPy_BEGIN_ALLOW_THREADS;
5975 _result = (int )wxSlider_GetTickFreq(_arg0);
5976
5977 wxPy_END_ALLOW_THREADS;
5978 } _resultobj = Py_BuildValue("i",_result);
5979 return _resultobj;
5980 }
5981
5982 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
5983 static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args) {
5984 PyObject * _resultobj;
5985 int _result;
5986 wxSlider * _arg0;
5987 char * _argc0 = 0;
5988
5989 self = self;
5990 if(!PyArg_ParseTuple(args,"s:wxSlider_GetValue",&_argc0))
5991 return NULL;
5992 if (_argc0) {
5993 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
5995 return NULL;
5996 }
5997 }
5998 {
5999 wxPy_BEGIN_ALLOW_THREADS;
6000 _result = (int )wxSlider_GetValue(_arg0);
6001
6002 wxPy_END_ALLOW_THREADS;
6003 } _resultobj = Py_BuildValue("i",_result);
6004 return _resultobj;
6005 }
6006
6007 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
6008 static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args) {
6009 PyObject * _resultobj;
6010 wxSlider * _arg0;
6011 int _arg1;
6012 int _arg2;
6013 char * _argc0 = 0;
6014
6015 self = self;
6016 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetRange",&_argc0,&_arg1,&_arg2))
6017 return NULL;
6018 if (_argc0) {
6019 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
6021 return NULL;
6022 }
6023 }
6024 {
6025 wxPy_BEGIN_ALLOW_THREADS;
6026 wxSlider_SetRange(_arg0,_arg1,_arg2);
6027
6028 wxPy_END_ALLOW_THREADS;
6029 } Py_INCREF(Py_None);
6030 _resultobj = Py_None;
6031 return _resultobj;
6032 }
6033
6034 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
6035 static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args) {
6036 PyObject * _resultobj;
6037 wxSlider * _arg0;
6038 int _arg1;
6039 int _arg2;
6040 char * _argc0 = 0;
6041
6042 self = self;
6043 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetTickFreq",&_argc0,&_arg1,&_arg2))
6044 return NULL;
6045 if (_argc0) {
6046 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
6048 return NULL;
6049 }
6050 }
6051 {
6052 wxPy_BEGIN_ALLOW_THREADS;
6053 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
6054
6055 wxPy_END_ALLOW_THREADS;
6056 } Py_INCREF(Py_None);
6057 _resultobj = Py_None;
6058 return _resultobj;
6059 }
6060
6061 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
6062 static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args) {
6063 PyObject * _resultobj;
6064 wxSlider * _arg0;
6065 int _arg1;
6066 char * _argc0 = 0;
6067
6068 self = self;
6069 if(!PyArg_ParseTuple(args,"si:wxSlider_SetLineSize",&_argc0,&_arg1))
6070 return NULL;
6071 if (_argc0) {
6072 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
6074 return NULL;
6075 }
6076 }
6077 {
6078 wxPy_BEGIN_ALLOW_THREADS;
6079 wxSlider_SetLineSize(_arg0,_arg1);
6080
6081 wxPy_END_ALLOW_THREADS;
6082 } Py_INCREF(Py_None);
6083 _resultobj = Py_None;
6084 return _resultobj;
6085 }
6086
6087 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
6088 static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args) {
6089 PyObject * _resultobj;
6090 wxSlider * _arg0;
6091 int _arg1;
6092 char * _argc0 = 0;
6093
6094 self = self;
6095 if(!PyArg_ParseTuple(args,"si:wxSlider_SetPageSize",&_argc0,&_arg1))
6096 return NULL;
6097 if (_argc0) {
6098 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
6100 return NULL;
6101 }
6102 }
6103 {
6104 wxPy_BEGIN_ALLOW_THREADS;
6105 wxSlider_SetPageSize(_arg0,_arg1);
6106
6107 wxPy_END_ALLOW_THREADS;
6108 } Py_INCREF(Py_None);
6109 _resultobj = Py_None;
6110 return _resultobj;
6111 }
6112
6113 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
6114 static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args) {
6115 PyObject * _resultobj;
6116 wxSlider * _arg0;
6117 int _arg1;
6118 int _arg2;
6119 char * _argc0 = 0;
6120
6121 self = self;
6122 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetSelection",&_argc0,&_arg1,&_arg2))
6123 return NULL;
6124 if (_argc0) {
6125 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
6127 return NULL;
6128 }
6129 }
6130 {
6131 wxPy_BEGIN_ALLOW_THREADS;
6132 wxSlider_SetSelection(_arg0,_arg1,_arg2);
6133
6134 wxPy_END_ALLOW_THREADS;
6135 } Py_INCREF(Py_None);
6136 _resultobj = Py_None;
6137 return _resultobj;
6138 }
6139
6140 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
6141 static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args) {
6142 PyObject * _resultobj;
6143 wxSlider * _arg0;
6144 int _arg1;
6145 char * _argc0 = 0;
6146
6147 self = self;
6148 if(!PyArg_ParseTuple(args,"si:wxSlider_SetThumbLength",&_argc0,&_arg1))
6149 return NULL;
6150 if (_argc0) {
6151 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
6153 return NULL;
6154 }
6155 }
6156 {
6157 wxPy_BEGIN_ALLOW_THREADS;
6158 wxSlider_SetThumbLength(_arg0,_arg1);
6159
6160 wxPy_END_ALLOW_THREADS;
6161 } Py_INCREF(Py_None);
6162 _resultobj = Py_None;
6163 return _resultobj;
6164 }
6165
6166 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
6167 static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args) {
6168 PyObject * _resultobj;
6169 wxSlider * _arg0;
6170 int _arg1;
6171 char * _argc0 = 0;
6172
6173 self = self;
6174 if(!PyArg_ParseTuple(args,"si:wxSlider_SetTick",&_argc0,&_arg1))
6175 return NULL;
6176 if (_argc0) {
6177 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
6179 return NULL;
6180 }
6181 }
6182 {
6183 wxPy_BEGIN_ALLOW_THREADS;
6184 wxSlider_SetTick(_arg0,_arg1);
6185
6186 wxPy_END_ALLOW_THREADS;
6187 } Py_INCREF(Py_None);
6188 _resultobj = Py_None;
6189 return _resultobj;
6190 }
6191
6192 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6193 static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args) {
6194 PyObject * _resultobj;
6195 wxSlider * _arg0;
6196 int _arg1;
6197 char * _argc0 = 0;
6198
6199 self = self;
6200 if(!PyArg_ParseTuple(args,"si:wxSlider_SetValue",&_argc0,&_arg1))
6201 return NULL;
6202 if (_argc0) {
6203 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
6205 return NULL;
6206 }
6207 }
6208 {
6209 wxPy_BEGIN_ALLOW_THREADS;
6210 wxSlider_SetValue(_arg0,_arg1);
6211
6212 wxPy_END_ALLOW_THREADS;
6213 } Py_INCREF(Py_None);
6214 _resultobj = Py_None;
6215 return _resultobj;
6216 }
6217
6218 static PyMethodDef controlscMethods[] = {
6219 { "wxSlider_SetValue", _wrap_wxSlider_SetValue, 1 },
6220 { "wxSlider_SetTick", _wrap_wxSlider_SetTick, 1 },
6221 { "wxSlider_SetThumbLength", _wrap_wxSlider_SetThumbLength, 1 },
6222 { "wxSlider_SetSelection", _wrap_wxSlider_SetSelection, 1 },
6223 { "wxSlider_SetPageSize", _wrap_wxSlider_SetPageSize, 1 },
6224 { "wxSlider_SetLineSize", _wrap_wxSlider_SetLineSize, 1 },
6225 { "wxSlider_SetTickFreq", _wrap_wxSlider_SetTickFreq, 1 },
6226 { "wxSlider_SetRange", _wrap_wxSlider_SetRange, 1 },
6227 { "wxSlider_GetValue", _wrap_wxSlider_GetValue, 1 },
6228 { "wxSlider_GetTickFreq", _wrap_wxSlider_GetTickFreq, 1 },
6229 { "wxSlider_GetThumbLength", _wrap_wxSlider_GetThumbLength, 1 },
6230 { "wxSlider_GetSelStart", _wrap_wxSlider_GetSelStart, 1 },
6231 { "wxSlider_GetSelEnd", _wrap_wxSlider_GetSelEnd, 1 },
6232 { "wxSlider_GetPageSize", _wrap_wxSlider_GetPageSize, 1 },
6233 { "wxSlider_GetMin", _wrap_wxSlider_GetMin, 1 },
6234 { "wxSlider_GetMax", _wrap_wxSlider_GetMax, 1 },
6235 { "wxSlider_GetLineSize", _wrap_wxSlider_GetLineSize, 1 },
6236 { "wxSlider_ClearTicks", _wrap_wxSlider_ClearTicks, 1 },
6237 { "wxSlider_ClearSel", _wrap_wxSlider_ClearSel, 1 },
6238 { "new_wxSlider", _wrap_new_wxSlider, 1 },
6239 { "wxRadioButton_SetValue", _wrap_wxRadioButton_SetValue, 1 },
6240 { "wxRadioButton_GetValue", _wrap_wxRadioButton_GetValue, 1 },
6241 { "new_wxRadioButton", _wrap_new_wxRadioButton, 1 },
6242 { "wxRadioBox_ShowItem", _wrap_wxRadioBox_ShowItem, 1 },
6243 { "wxRadioBox_Show", _wrap_wxRadioBox_Show, 1 },
6244 { "wxRadioBox_SetStringSelection", _wrap_wxRadioBox_SetStringSelection, 1 },
6245 { "wxRadioBox_SetSelection", _wrap_wxRadioBox_SetSelection, 1 },
6246 { "wxRadioBox_SetItemLabel", _wrap_wxRadioBox_SetItemLabel, 1 },
6247 { "wxRadioBox_Number", _wrap_wxRadioBox_Number, 1 },
6248 { "wxRadioBox_GetStringSelection", _wrap_wxRadioBox_GetStringSelection, 1 },
6249 { "wxRadioBox_GetString", _wrap_wxRadioBox_GetString, 1 },
6250 { "wxRadioBox_GetSelection", _wrap_wxRadioBox_GetSelection, 1 },
6251 { "wxRadioBox_GetItemLabel", _wrap_wxRadioBox_GetItemLabel, 1 },
6252 { "wxRadioBox_FindString", _wrap_wxRadioBox_FindString, 1 },
6253 { "wxRadioBox_EnableItem", _wrap_wxRadioBox_EnableItem, 1 },
6254 { "wxRadioBox_Enable", _wrap_wxRadioBox_Enable, 1 },
6255 { "new_wxRadioBox", _wrap_new_wxRadioBox, 1 },
6256 { "wxStaticBitmap_SetIcon", _wrap_wxStaticBitmap_SetIcon, 1 },
6257 { "wxStaticBitmap_SetBitmap", _wrap_wxStaticBitmap_SetBitmap, 1 },
6258 { "wxStaticBitmap_GetBitmap", _wrap_wxStaticBitmap_GetBitmap, 1 },
6259 { "new_wxStaticBitmap", _wrap_new_wxStaticBitmap, 1 },
6260 { "wxSpinButton_SetValue", _wrap_wxSpinButton_SetValue, 1 },
6261 { "wxSpinButton_SetRange", _wrap_wxSpinButton_SetRange, 1 },
6262 { "wxSpinButton_GetValue", _wrap_wxSpinButton_GetValue, 1 },
6263 { "wxSpinButton_GetMin", _wrap_wxSpinButton_GetMin, 1 },
6264 { "wxSpinButton_GetMax", _wrap_wxSpinButton_GetMax, 1 },
6265 { "new_wxSpinButton", _wrap_new_wxSpinButton, 1 },
6266 { "wxScrollBar_SetScrollbar", _wrap_wxScrollBar_SetScrollbar, 1 },
6267 { "wxScrollBar_SetThumbPosition", _wrap_wxScrollBar_SetThumbPosition, 1 },
6268 { "wxScrollBar_GetThumbSize", _wrap_wxScrollBar_GetThumbSize, 1 },
6269 { "wxScrollBar_GetThumbPosition", _wrap_wxScrollBar_GetThumbPosition, 1 },
6270 { "wxScrollBar_GetPageSize", _wrap_wxScrollBar_GetPageSize, 1 },
6271 { "wxScrollBar_GetRange", _wrap_wxScrollBar_GetRange, 1 },
6272 { "new_wxScrollBar", _wrap_new_wxScrollBar, 1 },
6273 { "wxTextCtrl_IsEditable", _wrap_wxTextCtrl_IsEditable, 1 },
6274 { "wxTextCtrl_GetSelection", _wrap_wxTextCtrl_GetSelection, 1 },
6275 { "wxTextCtrl_CanUndo", _wrap_wxTextCtrl_CanUndo, 1 },
6276 { "wxTextCtrl_CanRedo", _wrap_wxTextCtrl_CanRedo, 1 },
6277 { "wxTextCtrl_CanPaste", _wrap_wxTextCtrl_CanPaste, 1 },
6278 { "wxTextCtrl_CanCut", _wrap_wxTextCtrl_CanCut, 1 },
6279 { "wxTextCtrl_CanCopy", _wrap_wxTextCtrl_CanCopy, 1 },
6280 { "wxTextCtrl_XYToPosition", _wrap_wxTextCtrl_XYToPosition, 1 },
6281 { "wxTextCtrl_AppendText", _wrap_wxTextCtrl_AppendText, 1 },
6282 { "wxTextCtrl_WriteText", _wrap_wxTextCtrl_WriteText, 1 },
6283 { "wxTextCtrl_ShowPosition", _wrap_wxTextCtrl_ShowPosition, 1 },
6284 { "wxTextCtrl_SetValue", _wrap_wxTextCtrl_SetValue, 1 },
6285 { "wxTextCtrl_SetSelection", _wrap_wxTextCtrl_SetSelection, 1 },
6286 { "wxTextCtrl_SetInsertionPointEnd", _wrap_wxTextCtrl_SetInsertionPointEnd, 1 },
6287 { "wxTextCtrl_SetInsertionPoint", _wrap_wxTextCtrl_SetInsertionPoint, 1 },
6288 { "wxTextCtrl_SetEditable", _wrap_wxTextCtrl_SetEditable, 1 },
6289 { "wxTextCtrl_SaveFile", _wrap_wxTextCtrl_SaveFile, 1 },
6290 { "wxTextCtrl_Replace", _wrap_wxTextCtrl_Replace, 1 },
6291 { "wxTextCtrl_Remove", _wrap_wxTextCtrl_Remove, 1 },
6292 { "wxTextCtrl_PositionToXY", _wrap_wxTextCtrl_PositionToXY, 1 },
6293 { "wxTextCtrl_Paste", _wrap_wxTextCtrl_Paste, 1 },
6294 { "wxTextCtrl_LoadFile", _wrap_wxTextCtrl_LoadFile, 1 },
6295 { "wxTextCtrl_IsModified", _wrap_wxTextCtrl_IsModified, 1 },
6296 { "wxTextCtrl_GetValue", _wrap_wxTextCtrl_GetValue, 1 },
6297 { "wxTextCtrl_GetNumberOfLines", _wrap_wxTextCtrl_GetNumberOfLines, 1 },
6298 { "wxTextCtrl_GetLineText", _wrap_wxTextCtrl_GetLineText, 1 },
6299 { "wxTextCtrl_GetLineLength", _wrap_wxTextCtrl_GetLineLength, 1 },
6300 { "wxTextCtrl_GetLastPosition", _wrap_wxTextCtrl_GetLastPosition, 1 },
6301 { "wxTextCtrl_GetInsertionPoint", _wrap_wxTextCtrl_GetInsertionPoint, 1 },
6302 { "wxTextCtrl_DiscardEdits", _wrap_wxTextCtrl_DiscardEdits, 1 },
6303 { "wxTextCtrl_Cut", _wrap_wxTextCtrl_Cut, 1 },
6304 { "wxTextCtrl_Copy", _wrap_wxTextCtrl_Copy, 1 },
6305 { "wxTextCtrl_Clear", _wrap_wxTextCtrl_Clear, 1 },
6306 { "new_wxTextCtrl", _wrap_new_wxTextCtrl, 1 },
6307 { "wxCheckListBox_GetItemHeight", _wrap_wxCheckListBox_GetItemHeight, 1 },
6308 { "wxCheckListBox_Check", _wrap_wxCheckListBox_Check, 1 },
6309 { "wxCheckListBox_IsChecked", _wrap_wxCheckListBox_IsChecked, 1 },
6310 { "new_wxCheckListBox", _wrap_new_wxCheckListBox, 1 },
6311 { "wxListBox_SetStringSelection", _wrap_wxListBox_SetStringSelection, 1 },
6312 { "wxListBox_SetString", _wrap_wxListBox_SetString, 1 },
6313 { "wxListBox_SetSelection", _wrap_wxListBox_SetSelection, 1 },
6314 { "wxListBox_SetFirstItemStr", _wrap_wxListBox_SetFirstItemStr, 1 },
6315 { "wxListBox_SetFirstItem", _wrap_wxListBox_SetFirstItem, 1 },
6316 { "wxListBox_Set", _wrap_wxListBox_Set, 1 },
6317 { "wxListBox_Selected", _wrap_wxListBox_Selected, 1 },
6318 { "wxListBox_Number", _wrap_wxListBox_Number, 1 },
6319 { "wxListBox_GetStringSelection", _wrap_wxListBox_GetStringSelection, 1 },
6320 { "wxListBox_GetString", _wrap_wxListBox_GetString, 1 },
6321 { "wxListBox_GetSelections", _wrap_wxListBox_GetSelections, 1 },
6322 { "wxListBox_GetSelection", _wrap_wxListBox_GetSelection, 1 },
6323 { "wxListBox_FindString", _wrap_wxListBox_FindString, 1 },
6324 { "wxListBox_Deselect", _wrap_wxListBox_Deselect, 1 },
6325 { "wxListBox_Delete", _wrap_wxListBox_Delete, 1 },
6326 { "wxListBox_Clear", _wrap_wxListBox_Clear, 1 },
6327 { "wxListBox_Append", _wrap_wxListBox_Append, 1 },
6328 { "new_wxListBox", _wrap_new_wxListBox, 1 },
6329 { "wxStaticText_SetLabel", _wrap_wxStaticText_SetLabel, 1 },
6330 { "wxStaticText_GetLabel", _wrap_wxStaticText_GetLabel, 1 },
6331 { "new_wxStaticText", _wrap_new_wxStaticText, 1 },
6332 { "new_wxStaticLine", _wrap_new_wxStaticLine, 1 },
6333 { "new_wxStaticBox", _wrap_new_wxStaticBox, 1 },
6334 { "wxGauge_SetValue", _wrap_wxGauge_SetValue, 1 },
6335 { "wxGauge_SetShadowWidth", _wrap_wxGauge_SetShadowWidth, 1 },
6336 { "wxGauge_SetRange", _wrap_wxGauge_SetRange, 1 },
6337 { "wxGauge_SetBezelFace", _wrap_wxGauge_SetBezelFace, 1 },
6338 { "wxGauge_GetValue", _wrap_wxGauge_GetValue, 1 },
6339 { "wxGauge_GetShadowWidth", _wrap_wxGauge_GetShadowWidth, 1 },
6340 { "wxGauge_GetRange", _wrap_wxGauge_GetRange, 1 },
6341 { "wxGauge_GetBezelFace", _wrap_wxGauge_GetBezelFace, 1 },
6342 { "new_wxGauge", _wrap_new_wxGauge, 1 },
6343 { "wxComboBox_SetValue", _wrap_wxComboBox_SetValue, 1 },
6344 { "wxComboBox_SetMark", _wrap_wxComboBox_SetMark, 1 },
6345 { "wxComboBox_SetInsertionPointEnd", _wrap_wxComboBox_SetInsertionPointEnd, 1 },
6346 { "wxComboBox_SetInsertionPoint", _wrap_wxComboBox_SetInsertionPoint, 1 },
6347 { "wxComboBox_Remove", _wrap_wxComboBox_Remove, 1 },
6348 { "wxComboBox_Replace", _wrap_wxComboBox_Replace, 1 },
6349 { "wxComboBox_Paste", _wrap_wxComboBox_Paste, 1 },
6350 { "wxComboBox_Number", _wrap_wxComboBox_Number, 1 },
6351 { "wxComboBox_GetValue", _wrap_wxComboBox_GetValue, 1 },
6352 { "wxComboBox_GetStringSelection", _wrap_wxComboBox_GetStringSelection, 1 },
6353 { "wxComboBox_GetString", _wrap_wxComboBox_GetString, 1 },
6354 { "wxComboBox_GetSelection", _wrap_wxComboBox_GetSelection, 1 },
6355 { "wxComboBox_GetLastPosition", _wrap_wxComboBox_GetLastPosition, 1 },
6356 { "wxComboBox_GetInsertionPoint", _wrap_wxComboBox_GetInsertionPoint, 1 },
6357 { "wxComboBox_FindString", _wrap_wxComboBox_FindString, 1 },
6358 { "wxComboBox_Delete", _wrap_wxComboBox_Delete, 1 },
6359 { "wxComboBox_Cut", _wrap_wxComboBox_Cut, 1 },
6360 { "wxComboBox_Copy", _wrap_wxComboBox_Copy, 1 },
6361 { "wxComboBox_Clear", _wrap_wxComboBox_Clear, 1 },
6362 { "wxComboBox_Append", _wrap_wxComboBox_Append, 1 },
6363 { "new_wxComboBox", _wrap_new_wxComboBox, 1 },
6364 { "wxChoice_SetStringSelection", _wrap_wxChoice_SetStringSelection, 1 },
6365 { "wxChoice_SetSelection", _wrap_wxChoice_SetSelection, 1 },
6366 { "wxChoice_SetColumns", _wrap_wxChoice_SetColumns, 1 },
6367 { "wxChoice_Number", _wrap_wxChoice_Number, 1 },
6368 { "wxChoice_GetStringSelection", _wrap_wxChoice_GetStringSelection, 1 },
6369 { "wxChoice_GetString", _wrap_wxChoice_GetString, 1 },
6370 { "wxChoice_GetSelection", _wrap_wxChoice_GetSelection, 1 },
6371 { "wxChoice_GetColumns", _wrap_wxChoice_GetColumns, 1 },
6372 { "wxChoice_FindString", _wrap_wxChoice_FindString, 1 },
6373 { "wxChoice_Clear", _wrap_wxChoice_Clear, 1 },
6374 { "wxChoice_Append", _wrap_wxChoice_Append, 1 },
6375 { "new_wxChoice", _wrap_new_wxChoice, 1 },
6376 { "wxCheckBox_SetValue", _wrap_wxCheckBox_SetValue, 1 },
6377 { "wxCheckBox_GetValue", _wrap_wxCheckBox_GetValue, 1 },
6378 { "new_wxCheckBox", _wrap_new_wxCheckBox, 1 },
6379 { "wxBitmapButton_SetBitmapLabel", _wrap_wxBitmapButton_SetBitmapLabel, 1 },
6380 { "wxBitmapButton_SetBitmapSelected", _wrap_wxBitmapButton_SetBitmapSelected, 1 },
6381 { "wxBitmapButton_SetBitmapFocus", _wrap_wxBitmapButton_SetBitmapFocus, 1 },
6382 { "wxBitmapButton_SetBitmapDisabled", _wrap_wxBitmapButton_SetBitmapDisabled, 1 },
6383 { "wxBitmapButton_GetBitmapSelected", _wrap_wxBitmapButton_GetBitmapSelected, 1 },
6384 { "wxBitmapButton_GetBitmapFocus", _wrap_wxBitmapButton_GetBitmapFocus, 1 },
6385 { "wxBitmapButton_GetBitmapDisabled", _wrap_wxBitmapButton_GetBitmapDisabled, 1 },
6386 { "wxBitmapButton_GetBitmapLabel", _wrap_wxBitmapButton_GetBitmapLabel, 1 },
6387 { "new_wxBitmapButton", _wrap_new_wxBitmapButton, 1 },
6388 { "wxButton_SetDefault", _wrap_wxButton_SetDefault, 1 },
6389 { "new_wxButton", _wrap_new_wxButton, 1 },
6390 { "wxControl_SetLabel", _wrap_wxControl_SetLabel, 1 },
6391 { "wxControl_GetLabel", _wrap_wxControl_GetLabel, 1 },
6392 { NULL, NULL }
6393 };
6394 static PyObject *SWIG_globals;
6395 #ifdef __cplusplus
6396 extern "C"
6397 #endif
6398 SWIGEXPORT(void,initcontrolsc)() {
6399 PyObject *m, *d;
6400 SWIG_globals = SWIG_newvarlink();
6401 m = Py_InitModule("controlsc", controlscMethods);
6402 d = PyModule_GetDict(m);
6403 /*
6404 * These are the pointer type-equivalency mappings.
6405 * (Used by the SWIG pointer type-checker).
6406 */
6407 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
6408 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
6409 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
6410 SWIG_RegisterMapping("_signed_long","_long",0);
6411 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
6412 SWIG_RegisterMapping("_wxPrintQuality","_int",0);
6413 SWIG_RegisterMapping("_wxPrintQuality","_signed_int",0);
6414 SWIG_RegisterMapping("_wxPrintQuality","_unsigned_int",0);
6415 SWIG_RegisterMapping("_wxPrintQuality","_wxWindowID",0);
6416 SWIG_RegisterMapping("_wxPrintQuality","_uint",0);
6417 SWIG_RegisterMapping("_wxPrintQuality","_EBool",0);
6418 SWIG_RegisterMapping("_wxPrintQuality","_size_t",0);
6419 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
6420 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
6421 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler);
6422 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler);
6423 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6424 SWIG_RegisterMapping("_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6425 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6426 SWIG_RegisterMapping("_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6427 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6428 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6429 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6430 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6431 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6432 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6433 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6434 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6435 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6436 SWIG_RegisterMapping("_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6437 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler);
6438 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler);
6439 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6440 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6441 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
6442 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
6443 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6444 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6445 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler);
6446 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler);
6447 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6448 SWIG_RegisterMapping("_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6449 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler);
6450 SWIG_RegisterMapping("_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler);
6451 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6452 SWIG_RegisterMapping("_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6453 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6454 SWIG_RegisterMapping("_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6455 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler);
6456 SWIG_RegisterMapping("_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler);
6457 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler);
6458 SWIG_RegisterMapping("_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler);
6459 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
6460 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
6461 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
6462 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
6463 SWIG_RegisterMapping("_wxNotifyEvent","_class_wxNotifyEvent",0);
6464 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
6465 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6466 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
6467 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6468 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
6469 SWIG_RegisterMapping("_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice);
6470 SWIG_RegisterMapping("_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice);
6471 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
6472 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
6473 SWIG_RegisterMapping("_long","_wxDash",0);
6474 SWIG_RegisterMapping("_long","_unsigned_long",0);
6475 SWIG_RegisterMapping("_long","_signed_long",0);
6476 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
6477 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
6478 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
6479 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6480 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
6481 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
6482 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
6483 SWIG_RegisterMapping("_size_t","_wxPrintQuality",0);
6484 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
6485 SWIG_RegisterMapping("_size_t","_int",0);
6486 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
6487 SWIG_RegisterMapping("_size_t","_uint",0);
6488 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6489 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
6490 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
6491 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
6492 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
6493 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
6494 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
6495 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
6496 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
6497 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
6498 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6499 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
6500 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6501 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
6502 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
6503 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
6504 SWIG_RegisterMapping("_wxStaticLine","_class_wxStaticLine",0);
6505 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
6506 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
6507 SWIG_RegisterMapping("_uint","_wxPrintQuality",0);
6508 SWIG_RegisterMapping("_uint","_size_t",0);
6509 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6510 SWIG_RegisterMapping("_uint","_int",0);
6511 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6512 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
6513 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
6514 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6515 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
6516 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
6517 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6518 SWIG_RegisterMapping("_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6519 SWIG_RegisterMapping("_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6520 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
6521 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
6522 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6523 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
6524 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
6525 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
6526 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
6527 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
6528 SWIG_RegisterMapping("_class_wxNotifyEvent","_wxNotifyEvent",0);
6529 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
6530 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
6531 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
6532 SWIG_RegisterMapping("_class_wxStaticLine","_wxStaticLine",0);
6533 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
6534 SWIG_RegisterMapping("_EBool","_wxPrintQuality",0);
6535 SWIG_RegisterMapping("_EBool","_signed_int",0);
6536 SWIG_RegisterMapping("_EBool","_int",0);
6537 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
6538 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
6539 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
6540 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
6541 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6542 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
6543 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6544 SWIG_RegisterMapping("_unsigned_long","_long",0);
6545 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6546 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6547 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6548 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
6549 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
6550 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
6551 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
6552 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
6553 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
6554 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
6555 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
6556 SWIG_RegisterMapping("_signed_int","_wxPrintQuality",0);
6557 SWIG_RegisterMapping("_signed_int","_EBool",0);
6558 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6559 SWIG_RegisterMapping("_signed_int","_int",0);
6560 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
6561 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6562 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
6563 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
6564 SWIG_RegisterMapping("_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6565 SWIG_RegisterMapping("_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6566 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
6567 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6568 SWIG_RegisterMapping("_WXTYPE","_short",0);
6569 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6570 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6571 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6572 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6573 SWIG_RegisterMapping("_unsigned_short","_short",0);
6574 SWIG_RegisterMapping("_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow);
6575 SWIG_RegisterMapping("_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow);
6576 SWIG_RegisterMapping("_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow);
6577 SWIG_RegisterMapping("_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow);
6578 SWIG_RegisterMapping("_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow);
6579 SWIG_RegisterMapping("_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow);
6580 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6581 SWIG_RegisterMapping("_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6582 SWIG_RegisterMapping("_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow);
6583 SWIG_RegisterMapping("_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow);
6584 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow);
6585 SWIG_RegisterMapping("_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow);
6586 SWIG_RegisterMapping("_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6587 SWIG_RegisterMapping("_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6588 SWIG_RegisterMapping("_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6589 SWIG_RegisterMapping("_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6590 SWIG_RegisterMapping("_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow);
6591 SWIG_RegisterMapping("_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow);
6592 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow);
6593 SWIG_RegisterMapping("_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow);
6594 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow);
6595 SWIG_RegisterMapping("_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow);
6596 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow);
6597 SWIG_RegisterMapping("_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow);
6598 SWIG_RegisterMapping("_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow);
6599 SWIG_RegisterMapping("_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow);
6600 SWIG_RegisterMapping("_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow);
6601 SWIG_RegisterMapping("_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow);
6602 SWIG_RegisterMapping("_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow);
6603 SWIG_RegisterMapping("_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow);
6604 SWIG_RegisterMapping("_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow);
6605 SWIG_RegisterMapping("_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow);
6606 SWIG_RegisterMapping("_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6607 SWIG_RegisterMapping("_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6608 SWIG_RegisterMapping("_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow);
6609 SWIG_RegisterMapping("_class_wxWindow","_wxButton",SwigwxButtonTowxWindow);
6610 SWIG_RegisterMapping("_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow);
6611 SWIG_RegisterMapping("_class_wxWindow","_wxControl",SwigwxControlTowxWindow);
6612 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
6613 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
6614 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6615 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
6616 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
6617 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6618 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
6619 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6620 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6621 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
6622 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6623 SWIG_RegisterMapping("_signed_short","_short",0);
6624 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6625 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
6626 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
6627 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
6628 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
6629 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6630 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
6631 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
6632 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
6633 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6634 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
6635 SWIG_RegisterMapping("_wxControl","_class_wxSlider",SwigwxSliderTowxControl);
6636 SWIG_RegisterMapping("_wxControl","_wxSlider",SwigwxSliderTowxControl);
6637 SWIG_RegisterMapping("_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl);
6638 SWIG_RegisterMapping("_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl);
6639 SWIG_RegisterMapping("_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl);
6640 SWIG_RegisterMapping("_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl);
6641 SWIG_RegisterMapping("_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6642 SWIG_RegisterMapping("_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6643 SWIG_RegisterMapping("_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl);
6644 SWIG_RegisterMapping("_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl);
6645 SWIG_RegisterMapping("_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl);
6646 SWIG_RegisterMapping("_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl);
6647 SWIG_RegisterMapping("_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl);
6648 SWIG_RegisterMapping("_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl);
6649 SWIG_RegisterMapping("_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6650 SWIG_RegisterMapping("_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6651 SWIG_RegisterMapping("_wxControl","_class_wxListBox",SwigwxListBoxTowxControl);
6652 SWIG_RegisterMapping("_wxControl","_wxListBox",SwigwxListBoxTowxControl);
6653 SWIG_RegisterMapping("_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl);
6654 SWIG_RegisterMapping("_wxControl","_wxStaticText",SwigwxStaticTextTowxControl);
6655 SWIG_RegisterMapping("_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl);
6656 SWIG_RegisterMapping("_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl);
6657 SWIG_RegisterMapping("_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl);
6658 SWIG_RegisterMapping("_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl);
6659 SWIG_RegisterMapping("_wxControl","_class_wxGauge",SwigwxGaugeTowxControl);
6660 SWIG_RegisterMapping("_wxControl","_wxGauge",SwigwxGaugeTowxControl);
6661 SWIG_RegisterMapping("_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl);
6662 SWIG_RegisterMapping("_wxControl","_wxComboBox",SwigwxComboBoxTowxControl);
6663 SWIG_RegisterMapping("_wxControl","_class_wxChoice",SwigwxChoiceTowxControl);
6664 SWIG_RegisterMapping("_wxControl","_wxChoice",SwigwxChoiceTowxControl);
6665 SWIG_RegisterMapping("_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl);
6666 SWIG_RegisterMapping("_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl);
6667 SWIG_RegisterMapping("_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6668 SWIG_RegisterMapping("_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6669 SWIG_RegisterMapping("_wxControl","_class_wxButton",SwigwxButtonTowxControl);
6670 SWIG_RegisterMapping("_wxControl","_wxButton",SwigwxButtonTowxControl);
6671 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
6672 SWIG_RegisterMapping("_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6673 SWIG_RegisterMapping("_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6674 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
6675 SWIG_RegisterMapping("_unsigned_int","_wxPrintQuality",0);
6676 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
6677 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6678 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6679 SWIG_RegisterMapping("_unsigned_int","_int",0);
6680 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6681 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
6682 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6683 SWIG_RegisterMapping("_short","_WXTYPE",0);
6684 SWIG_RegisterMapping("_short","_unsigned_short",0);
6685 SWIG_RegisterMapping("_short","_signed_short",0);
6686 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
6687 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
6688 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
6689 SWIG_RegisterMapping("_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice);
6690 SWIG_RegisterMapping("_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice);
6691 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
6692 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
6693 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
6694 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
6695 SWIG_RegisterMapping("_wxWindowID","_wxPrintQuality",0);
6696 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
6697 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6698 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6699 SWIG_RegisterMapping("_wxWindowID","_int",0);
6700 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6701 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
6702 SWIG_RegisterMapping("_int","_wxPrintQuality",0);
6703 SWIG_RegisterMapping("_int","_size_t",0);
6704 SWIG_RegisterMapping("_int","_EBool",0);
6705 SWIG_RegisterMapping("_int","_uint",0);
6706 SWIG_RegisterMapping("_int","_wxWindowID",0);
6707 SWIG_RegisterMapping("_int","_unsigned_int",0);
6708 SWIG_RegisterMapping("_int","_signed_int",0);
6709 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
6710 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
6711 SWIG_RegisterMapping("_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6712 SWIG_RegisterMapping("_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6713 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
6714 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
6715 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
6716 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6717 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
6718 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
6719 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
6720 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
6721 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6722 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
6723 SWIG_RegisterMapping("_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl);
6724 SWIG_RegisterMapping("_class_wxControl","_wxSlider",SwigwxSliderTowxControl);
6725 SWIG_RegisterMapping("_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl);
6726 SWIG_RegisterMapping("_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl);
6727 SWIG_RegisterMapping("_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl);
6728 SWIG_RegisterMapping("_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl);
6729 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6730 SWIG_RegisterMapping("_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6731 SWIG_RegisterMapping("_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl);
6732 SWIG_RegisterMapping("_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl);
6733 SWIG_RegisterMapping("_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl);
6734 SWIG_RegisterMapping("_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl);
6735 SWIG_RegisterMapping("_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl);
6736 SWIG_RegisterMapping("_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl);
6737 SWIG_RegisterMapping("_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6738 SWIG_RegisterMapping("_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6739 SWIG_RegisterMapping("_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl);
6740 SWIG_RegisterMapping("_class_wxControl","_wxListBox",SwigwxListBoxTowxControl);
6741 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl);
6742 SWIG_RegisterMapping("_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl);
6743 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl);
6744 SWIG_RegisterMapping("_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl);
6745 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl);
6746 SWIG_RegisterMapping("_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl);
6747 SWIG_RegisterMapping("_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl);
6748 SWIG_RegisterMapping("_class_wxControl","_wxGauge",SwigwxGaugeTowxControl);
6749 SWIG_RegisterMapping("_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl);
6750 SWIG_RegisterMapping("_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl);
6751 SWIG_RegisterMapping("_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl);
6752 SWIG_RegisterMapping("_class_wxControl","_wxChoice",SwigwxChoiceTowxControl);
6753 SWIG_RegisterMapping("_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl);
6754 SWIG_RegisterMapping("_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl);
6755 SWIG_RegisterMapping("_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6756 SWIG_RegisterMapping("_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6757 SWIG_RegisterMapping("_class_wxControl","_class_wxButton",SwigwxButtonTowxControl);
6758 SWIG_RegisterMapping("_class_wxControl","_wxButton",SwigwxButtonTowxControl);
6759 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
6760 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
6761 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6762 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6763 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
6764 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
6765 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
6766 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
6767 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
6768 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
6769 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
6770 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
6771 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
6772 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
6773 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
6774 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6775 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
6776 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6777 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6778 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6779 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
6780 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler);
6781 SWIG_RegisterMapping("_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler);
6782 SWIG_RegisterMapping("_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6783 SWIG_RegisterMapping("_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6784 SWIG_RegisterMapping("_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6785 SWIG_RegisterMapping("_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6786 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6787 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6788 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6789 SWIG_RegisterMapping("_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6790 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6791 SWIG_RegisterMapping("_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6792 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6793 SWIG_RegisterMapping("_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6794 SWIG_RegisterMapping("_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6795 SWIG_RegisterMapping("_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6796 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler);
6797 SWIG_RegisterMapping("_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler);
6798 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6799 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6800 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
6801 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler);
6802 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6803 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6804 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler);
6805 SWIG_RegisterMapping("_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler);
6806 SWIG_RegisterMapping("_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6807 SWIG_RegisterMapping("_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6808 SWIG_RegisterMapping("_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler);
6809 SWIG_RegisterMapping("_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler);
6810 SWIG_RegisterMapping("_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6811 SWIG_RegisterMapping("_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6812 SWIG_RegisterMapping("_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6813 SWIG_RegisterMapping("_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6814 SWIG_RegisterMapping("_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler);
6815 SWIG_RegisterMapping("_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler);
6816 SWIG_RegisterMapping("_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler);
6817 SWIG_RegisterMapping("_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler);
6818 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
6819 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
6820 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
6821 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6822 SWIG_RegisterMapping("_wxDash","_long",0);
6823 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
6824 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
6825 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
6826 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
6827 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
6828 SWIG_RegisterMapping("_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow);
6829 SWIG_RegisterMapping("_wxWindow","_wxSlider",SwigwxSliderTowxWindow);
6830 SWIG_RegisterMapping("_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow);
6831 SWIG_RegisterMapping("_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow);
6832 SWIG_RegisterMapping("_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow);
6833 SWIG_RegisterMapping("_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow);
6834 SWIG_RegisterMapping("_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6835 SWIG_RegisterMapping("_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6836 SWIG_RegisterMapping("_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow);
6837 SWIG_RegisterMapping("_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow);
6838 SWIG_RegisterMapping("_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow);
6839 SWIG_RegisterMapping("_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow);
6840 SWIG_RegisterMapping("_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6841 SWIG_RegisterMapping("_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6842 SWIG_RegisterMapping("_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6843 SWIG_RegisterMapping("_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6844 SWIG_RegisterMapping("_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow);
6845 SWIG_RegisterMapping("_wxWindow","_wxListBox",SwigwxListBoxTowxWindow);
6846 SWIG_RegisterMapping("_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow);
6847 SWIG_RegisterMapping("_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow);
6848 SWIG_RegisterMapping("_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow);
6849 SWIG_RegisterMapping("_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow);
6850 SWIG_RegisterMapping("_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow);
6851 SWIG_RegisterMapping("_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow);
6852 SWIG_RegisterMapping("_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow);
6853 SWIG_RegisterMapping("_wxWindow","_wxGauge",SwigwxGaugeTowxWindow);
6854 SWIG_RegisterMapping("_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow);
6855 SWIG_RegisterMapping("_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow);
6856 SWIG_RegisterMapping("_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow);
6857 SWIG_RegisterMapping("_wxWindow","_wxChoice",SwigwxChoiceTowxWindow);
6858 SWIG_RegisterMapping("_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow);
6859 SWIG_RegisterMapping("_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow);
6860 SWIG_RegisterMapping("_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6861 SWIG_RegisterMapping("_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6862 SWIG_RegisterMapping("_wxWindow","_class_wxButton",SwigwxButtonTowxWindow);
6863 SWIG_RegisterMapping("_wxWindow","_wxButton",SwigwxButtonTowxWindow);
6864 SWIG_RegisterMapping("_wxWindow","_class_wxControl",SwigwxControlTowxWindow);
6865 SWIG_RegisterMapping("_wxWindow","_wxControl",SwigwxControlTowxWindow);
6866 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
6867 }