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