]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls.cpp
fixes for GetReturnCode/SetReturnCode
[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 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
4179 static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args) {
4180 PyObject * _resultobj;
4181 bool _result;
4182 wxTextCtrl * _arg0;
4183 char * _argc0 = 0;
4184
4185 self = self;
4186 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanCopy",&_argc0))
4187 return NULL;
4188 if (_argc0) {
4189 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
4191 return NULL;
4192 }
4193 }
4194 {
4195 wxPy_BEGIN_ALLOW_THREADS;
4196 _result = (bool )wxTextCtrl_CanCopy(_arg0);
4197
4198 wxPy_END_ALLOW_THREADS;
4199 } _resultobj = Py_BuildValue("i",_result);
4200 return _resultobj;
4201 }
4202
4203 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
4204 static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args) {
4205 PyObject * _resultobj;
4206 bool _result;
4207 wxTextCtrl * _arg0;
4208 char * _argc0 = 0;
4209
4210 self = self;
4211 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanCut",&_argc0))
4212 return NULL;
4213 if (_argc0) {
4214 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
4216 return NULL;
4217 }
4218 }
4219 {
4220 wxPy_BEGIN_ALLOW_THREADS;
4221 _result = (bool )wxTextCtrl_CanCut(_arg0);
4222
4223 wxPy_END_ALLOW_THREADS;
4224 } _resultobj = Py_BuildValue("i",_result);
4225 return _resultobj;
4226 }
4227
4228 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
4229 static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args) {
4230 PyObject * _resultobj;
4231 bool _result;
4232 wxTextCtrl * _arg0;
4233 char * _argc0 = 0;
4234
4235 self = self;
4236 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanPaste",&_argc0))
4237 return NULL;
4238 if (_argc0) {
4239 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
4241 return NULL;
4242 }
4243 }
4244 {
4245 wxPy_BEGIN_ALLOW_THREADS;
4246 _result = (bool )wxTextCtrl_CanPaste(_arg0);
4247
4248 wxPy_END_ALLOW_THREADS;
4249 } _resultobj = Py_BuildValue("i",_result);
4250 return _resultobj;
4251 }
4252
4253 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
4254 static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args) {
4255 PyObject * _resultobj;
4256 bool _result;
4257 wxTextCtrl * _arg0;
4258 char * _argc0 = 0;
4259
4260 self = self;
4261 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanRedo",&_argc0))
4262 return NULL;
4263 if (_argc0) {
4264 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
4266 return NULL;
4267 }
4268 }
4269 {
4270 wxPy_BEGIN_ALLOW_THREADS;
4271 _result = (bool )wxTextCtrl_CanRedo(_arg0);
4272
4273 wxPy_END_ALLOW_THREADS;
4274 } _resultobj = Py_BuildValue("i",_result);
4275 return _resultobj;
4276 }
4277
4278 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
4279 static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args) {
4280 PyObject * _resultobj;
4281 bool _result;
4282 wxTextCtrl * _arg0;
4283 char * _argc0 = 0;
4284
4285 self = self;
4286 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_CanUndo",&_argc0))
4287 return NULL;
4288 if (_argc0) {
4289 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
4291 return NULL;
4292 }
4293 }
4294 {
4295 wxPy_BEGIN_ALLOW_THREADS;
4296 _result = (bool )wxTextCtrl_CanUndo(_arg0);
4297
4298 wxPy_END_ALLOW_THREADS;
4299 } _resultobj = Py_BuildValue("i",_result);
4300 return _resultobj;
4301 }
4302
4303 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
4304 static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args) {
4305 PyObject * _resultobj;
4306 wxTextCtrl * _arg0;
4307 long * _arg1;
4308 long temp;
4309 long * _arg2;
4310 long temp0;
4311 char * _argc0 = 0;
4312
4313 self = self;
4314 {
4315 _arg1 = &temp;
4316 }
4317 {
4318 _arg2 = &temp0;
4319 }
4320 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetSelection",&_argc0))
4321 return NULL;
4322 if (_argc0) {
4323 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
4325 return NULL;
4326 }
4327 }
4328 {
4329 wxPy_BEGIN_ALLOW_THREADS;
4330 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
4331
4332 wxPy_END_ALLOW_THREADS;
4333 } Py_INCREF(Py_None);
4334 _resultobj = Py_None;
4335 {
4336 PyObject *o;
4337 o = PyInt_FromLong((long) (*_arg1));
4338 _resultobj = t_output_helper(_resultobj, o);
4339 }
4340 {
4341 PyObject *o;
4342 o = PyInt_FromLong((long) (*_arg2));
4343 _resultobj = t_output_helper(_resultobj, o);
4344 }
4345 return _resultobj;
4346 }
4347
4348 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
4349 static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args) {
4350 PyObject * _resultobj;
4351 bool _result;
4352 wxTextCtrl * _arg0;
4353 char * _argc0 = 0;
4354
4355 self = self;
4356 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_IsEditable",&_argc0))
4357 return NULL;
4358 if (_argc0) {
4359 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
4360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
4361 return NULL;
4362 }
4363 }
4364 {
4365 wxPy_BEGIN_ALLOW_THREADS;
4366 _result = (bool )wxTextCtrl_IsEditable(_arg0);
4367
4368 wxPy_END_ALLOW_THREADS;
4369 } _resultobj = Py_BuildValue("i",_result);
4370 return _resultobj;
4371 }
4372
4373 static void *SwigwxScrollBarTowxControl(void *ptr) {
4374 wxScrollBar *src;
4375 wxControl *dest;
4376 src = (wxScrollBar *) ptr;
4377 dest = (wxControl *) src;
4378 return (void *) dest;
4379 }
4380
4381 static void *SwigwxScrollBarTowxWindow(void *ptr) {
4382 wxScrollBar *src;
4383 wxWindow *dest;
4384 src = (wxScrollBar *) ptr;
4385 dest = (wxWindow *) src;
4386 return (void *) dest;
4387 }
4388
4389 static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
4390 wxScrollBar *src;
4391 wxEvtHandler *dest;
4392 src = (wxScrollBar *) ptr;
4393 dest = (wxEvtHandler *) src;
4394 return (void *) dest;
4395 }
4396
4397 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4398 static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args) {
4399 PyObject * _resultobj;
4400 wxScrollBar * _result;
4401 wxWindow * _arg0;
4402 wxWindowID _arg1 = -1;
4403 wxPoint * _arg2 = &wxPyDefaultPosition;
4404 wxSize * _arg3 = &wxPyDefaultSize;
4405 long _arg4 = (wxSB_HORIZONTAL);
4406 wxValidator * _arg5 = &wxPyDefaultValidator;
4407 char * _arg6 = "scrollBar";
4408 char * _argc0 = 0;
4409 char * _argc2 = 0;
4410 char * _argc3 = 0;
4411 char * _argc5 = 0;
4412 char _ptemp[128];
4413
4414 self = self;
4415 if(!PyArg_ParseTuple(args,"s|isslss:new_wxScrollBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6))
4416 return NULL;
4417 if (_argc0) {
4418 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
4420 return NULL;
4421 }
4422 }
4423 if (_argc2) {
4424 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
4425 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxScrollBar. Expected _wxPoint_p.");
4426 return NULL;
4427 }
4428 }
4429 if (_argc3) {
4430 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
4431 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxScrollBar. Expected _wxSize_p.");
4432 return NULL;
4433 }
4434 }
4435 if (_argc5) {
4436 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxValidator_p")) {
4437 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
4438 return NULL;
4439 }
4440 }
4441 {
4442 wxPy_BEGIN_ALLOW_THREADS;
4443 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
4444
4445 wxPy_END_ALLOW_THREADS;
4446 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
4447 _resultobj = Py_BuildValue("s",_ptemp);
4448 return _resultobj;
4449 }
4450
4451 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
4452 static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args) {
4453 PyObject * _resultobj;
4454 int _result;
4455 wxScrollBar * _arg0;
4456 char * _argc0 = 0;
4457
4458 self = self;
4459 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetRange",&_argc0))
4460 return NULL;
4461 if (_argc0) {
4462 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
4464 return NULL;
4465 }
4466 }
4467 {
4468 wxPy_BEGIN_ALLOW_THREADS;
4469 _result = (int )wxScrollBar_GetRange(_arg0);
4470
4471 wxPy_END_ALLOW_THREADS;
4472 } _resultobj = Py_BuildValue("i",_result);
4473 return _resultobj;
4474 }
4475
4476 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
4477 static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args) {
4478 PyObject * _resultobj;
4479 int _result;
4480 wxScrollBar * _arg0;
4481 char * _argc0 = 0;
4482
4483 self = self;
4484 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetPageSize",&_argc0))
4485 return NULL;
4486 if (_argc0) {
4487 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
4489 return NULL;
4490 }
4491 }
4492 {
4493 wxPy_BEGIN_ALLOW_THREADS;
4494 _result = (int )wxScrollBar_GetPageSize(_arg0);
4495
4496 wxPy_END_ALLOW_THREADS;
4497 } _resultobj = Py_BuildValue("i",_result);
4498 return _resultobj;
4499 }
4500
4501 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
4502 static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args) {
4503 PyObject * _resultobj;
4504 int _result;
4505 wxScrollBar * _arg0;
4506 char * _argc0 = 0;
4507
4508 self = self;
4509 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetThumbPosition",&_argc0))
4510 return NULL;
4511 if (_argc0) {
4512 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
4514 return NULL;
4515 }
4516 }
4517 {
4518 wxPy_BEGIN_ALLOW_THREADS;
4519 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
4520
4521 wxPy_END_ALLOW_THREADS;
4522 } _resultobj = Py_BuildValue("i",_result);
4523 return _resultobj;
4524 }
4525
4526 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
4527 static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args) {
4528 PyObject * _resultobj;
4529 int _result;
4530 wxScrollBar * _arg0;
4531 char * _argc0 = 0;
4532
4533 self = self;
4534 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetThumbSize",&_argc0))
4535 return NULL;
4536 if (_argc0) {
4537 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
4539 return NULL;
4540 }
4541 }
4542 {
4543 wxPy_BEGIN_ALLOW_THREADS;
4544 _result = (int )wxScrollBar_GetThumbSize(_arg0);
4545
4546 wxPy_END_ALLOW_THREADS;
4547 } _resultobj = Py_BuildValue("i",_result);
4548 return _resultobj;
4549 }
4550
4551 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
4552 static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args) {
4553 PyObject * _resultobj;
4554 wxScrollBar * _arg0;
4555 int _arg1;
4556 char * _argc0 = 0;
4557
4558 self = self;
4559 if(!PyArg_ParseTuple(args,"si:wxScrollBar_SetThumbPosition",&_argc0,&_arg1))
4560 return NULL;
4561 if (_argc0) {
4562 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
4564 return NULL;
4565 }
4566 }
4567 {
4568 wxPy_BEGIN_ALLOW_THREADS;
4569 wxScrollBar_SetThumbPosition(_arg0,_arg1);
4570
4571 wxPy_END_ALLOW_THREADS;
4572 } Py_INCREF(Py_None);
4573 _resultobj = Py_None;
4574 return _resultobj;
4575 }
4576
4577 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4578 static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args) {
4579 PyObject * _resultobj;
4580 wxScrollBar * _arg0;
4581 int _arg1;
4582 int _arg2;
4583 int _arg3;
4584 int _arg4;
4585 bool _arg5 = (1);
4586 char * _argc0 = 0;
4587 int tempbool5;
4588
4589 self = self;
4590 if(!PyArg_ParseTuple(args,"siiii|i:wxScrollBar_SetScrollbar",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
4591 return NULL;
4592 if (_argc0) {
4593 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
4594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
4595 return NULL;
4596 }
4597 }
4598 _arg5 = (bool ) tempbool5;
4599 {
4600 wxPy_BEGIN_ALLOW_THREADS;
4601 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4602
4603 wxPy_END_ALLOW_THREADS;
4604 } Py_INCREF(Py_None);
4605 _resultobj = Py_None;
4606 return _resultobj;
4607 }
4608
4609 static void *SwigwxSpinButtonTowxControl(void *ptr) {
4610 wxSpinButton *src;
4611 wxControl *dest;
4612 src = (wxSpinButton *) ptr;
4613 dest = (wxControl *) src;
4614 return (void *) dest;
4615 }
4616
4617 static void *SwigwxSpinButtonTowxWindow(void *ptr) {
4618 wxSpinButton *src;
4619 wxWindow *dest;
4620 src = (wxSpinButton *) ptr;
4621 dest = (wxWindow *) src;
4622 return (void *) dest;
4623 }
4624
4625 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
4626 wxSpinButton *src;
4627 wxEvtHandler *dest;
4628 src = (wxSpinButton *) ptr;
4629 dest = (wxEvtHandler *) src;
4630 return (void *) dest;
4631 }
4632
4633 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4634 static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args) {
4635 PyObject * _resultobj;
4636 wxSpinButton * _result;
4637 wxWindow * _arg0;
4638 wxWindowID _arg1 = -1;
4639 wxPoint * _arg2 = &wxPyDefaultPosition;
4640 wxSize * _arg3 = &wxPyDefaultSize;
4641 long _arg4 = (wxSP_HORIZONTAL);
4642 char * _arg5 = "spinButton";
4643 char * _argc0 = 0;
4644 char * _argc2 = 0;
4645 char * _argc3 = 0;
4646 char _ptemp[128];
4647
4648 self = self;
4649 if(!PyArg_ParseTuple(args,"s|issls:new_wxSpinButton",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_arg5))
4650 return NULL;
4651 if (_argc0) {
4652 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
4654 return NULL;
4655 }
4656 }
4657 if (_argc2) {
4658 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
4659 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxSpinButton. Expected _wxPoint_p.");
4660 return NULL;
4661 }
4662 }
4663 if (_argc3) {
4664 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
4665 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxSpinButton. Expected _wxSize_p.");
4666 return NULL;
4667 }
4668 }
4669 {
4670 wxPy_BEGIN_ALLOW_THREADS;
4671 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4672
4673 wxPy_END_ALLOW_THREADS;
4674 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
4675 _resultobj = Py_BuildValue("s",_ptemp);
4676 return _resultobj;
4677 }
4678
4679 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
4680 static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args) {
4681 PyObject * _resultobj;
4682 int _result;
4683 wxSpinButton * _arg0;
4684 char * _argc0 = 0;
4685
4686 self = self;
4687 if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetMax",&_argc0))
4688 return NULL;
4689 if (_argc0) {
4690 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
4692 return NULL;
4693 }
4694 }
4695 {
4696 wxPy_BEGIN_ALLOW_THREADS;
4697 _result = (int )wxSpinButton_GetMax(_arg0);
4698
4699 wxPy_END_ALLOW_THREADS;
4700 } _resultobj = Py_BuildValue("i",_result);
4701 return _resultobj;
4702 }
4703
4704 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
4705 static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args) {
4706 PyObject * _resultobj;
4707 int _result;
4708 wxSpinButton * _arg0;
4709 char * _argc0 = 0;
4710
4711 self = self;
4712 if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetMin",&_argc0))
4713 return NULL;
4714 if (_argc0) {
4715 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
4717 return NULL;
4718 }
4719 }
4720 {
4721 wxPy_BEGIN_ALLOW_THREADS;
4722 _result = (int )wxSpinButton_GetMin(_arg0);
4723
4724 wxPy_END_ALLOW_THREADS;
4725 } _resultobj = Py_BuildValue("i",_result);
4726 return _resultobj;
4727 }
4728
4729 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
4730 static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args) {
4731 PyObject * _resultobj;
4732 int _result;
4733 wxSpinButton * _arg0;
4734 char * _argc0 = 0;
4735
4736 self = self;
4737 if(!PyArg_ParseTuple(args,"s:wxSpinButton_GetValue",&_argc0))
4738 return NULL;
4739 if (_argc0) {
4740 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
4742 return NULL;
4743 }
4744 }
4745 {
4746 wxPy_BEGIN_ALLOW_THREADS;
4747 _result = (int )wxSpinButton_GetValue(_arg0);
4748
4749 wxPy_END_ALLOW_THREADS;
4750 } _resultobj = Py_BuildValue("i",_result);
4751 return _resultobj;
4752 }
4753
4754 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
4755 static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args) {
4756 PyObject * _resultobj;
4757 wxSpinButton * _arg0;
4758 int _arg1;
4759 int _arg2;
4760 char * _argc0 = 0;
4761
4762 self = self;
4763 if(!PyArg_ParseTuple(args,"sii:wxSpinButton_SetRange",&_argc0,&_arg1,&_arg2))
4764 return NULL;
4765 if (_argc0) {
4766 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
4768 return NULL;
4769 }
4770 }
4771 {
4772 wxPy_BEGIN_ALLOW_THREADS;
4773 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
4774
4775 wxPy_END_ALLOW_THREADS;
4776 } Py_INCREF(Py_None);
4777 _resultobj = Py_None;
4778 return _resultobj;
4779 }
4780
4781 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4782 static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args) {
4783 PyObject * _resultobj;
4784 wxSpinButton * _arg0;
4785 int _arg1;
4786 char * _argc0 = 0;
4787
4788 self = self;
4789 if(!PyArg_ParseTuple(args,"si:wxSpinButton_SetValue",&_argc0,&_arg1))
4790 return NULL;
4791 if (_argc0) {
4792 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSpinButton_p")) {
4793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
4794 return NULL;
4795 }
4796 }
4797 {
4798 wxPy_BEGIN_ALLOW_THREADS;
4799 wxSpinButton_SetValue(_arg0,_arg1);
4800
4801 wxPy_END_ALLOW_THREADS;
4802 } Py_INCREF(Py_None);
4803 _resultobj = Py_None;
4804 return _resultobj;
4805 }
4806
4807 static void *SwigwxStaticBitmapTowxControl(void *ptr) {
4808 wxStaticBitmap *src;
4809 wxControl *dest;
4810 src = (wxStaticBitmap *) ptr;
4811 dest = (wxControl *) src;
4812 return (void *) dest;
4813 }
4814
4815 static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
4816 wxStaticBitmap *src;
4817 wxWindow *dest;
4818 src = (wxStaticBitmap *) ptr;
4819 dest = (wxWindow *) src;
4820 return (void *) dest;
4821 }
4822
4823 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
4824 wxStaticBitmap *src;
4825 wxEvtHandler *dest;
4826 src = (wxStaticBitmap *) ptr;
4827 dest = (wxEvtHandler *) src;
4828 return (void *) dest;
4829 }
4830
4831 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4832 static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args) {
4833 PyObject * _resultobj;
4834 wxStaticBitmap * _result;
4835 wxWindow * _arg0;
4836 wxWindowID _arg1;
4837 wxBitmap * _arg2;
4838 wxPoint * _arg3 = &wxPyDefaultPosition;
4839 wxSize * _arg4 = &wxPyDefaultSize;
4840 long _arg5 = 0;
4841 char * _arg6 = "staticBitmap";
4842 char * _argc0 = 0;
4843 char * _argc2 = 0;
4844 char * _argc3 = 0;
4845 char * _argc4 = 0;
4846 char _ptemp[128];
4847
4848 self = self;
4849 if(!PyArg_ParseTuple(args,"sis|ssls:new_wxStaticBitmap",&_argc0,&_arg1,&_argc2,&_argc3,&_argc4,&_arg5,&_arg6))
4850 return NULL;
4851 if (_argc0) {
4852 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
4854 return NULL;
4855 }
4856 }
4857 if (_argc2) {
4858 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
4859 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
4860 return NULL;
4861 }
4862 }
4863 if (_argc3) {
4864 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
4865 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticBitmap. Expected _wxPoint_p.");
4866 return NULL;
4867 }
4868 }
4869 if (_argc4) {
4870 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
4871 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxStaticBitmap. Expected _wxSize_p.");
4872 return NULL;
4873 }
4874 }
4875 {
4876 wxPy_BEGIN_ALLOW_THREADS;
4877 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4878
4879 wxPy_END_ALLOW_THREADS;
4880 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
4881 _resultobj = Py_BuildValue("s",_ptemp);
4882 return _resultobj;
4883 }
4884
4885 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
4886 static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args) {
4887 PyObject * _resultobj;
4888 wxBitmap * _result;
4889 wxStaticBitmap * _arg0;
4890 char * _argc0 = 0;
4891 char _ptemp[128];
4892
4893 self = self;
4894 if(!PyArg_ParseTuple(args,"s:wxStaticBitmap_GetBitmap",&_argc0))
4895 return NULL;
4896 if (_argc0) {
4897 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticBitmap_p")) {
4898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
4899 return NULL;
4900 }
4901 }
4902 {
4903 wxPy_BEGIN_ALLOW_THREADS;
4904 const wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0);
4905 _result = (wxBitmap *) &_result_ref;
4906
4907 wxPy_END_ALLOW_THREADS;
4908 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4909 _resultobj = Py_BuildValue("s",_ptemp);
4910 return _resultobj;
4911 }
4912
4913 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
4914 static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args) {
4915 PyObject * _resultobj;
4916 wxStaticBitmap * _arg0;
4917 wxBitmap * _arg1;
4918 char * _argc0 = 0;
4919 char * _argc1 = 0;
4920
4921 self = self;
4922 if(!PyArg_ParseTuple(args,"ss:wxStaticBitmap_SetBitmap",&_argc0,&_argc1))
4923 return NULL;
4924 if (_argc0) {
4925 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticBitmap_p")) {
4926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
4927 return NULL;
4928 }
4929 }
4930 if (_argc1) {
4931 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
4932 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
4933 return NULL;
4934 }
4935 }
4936 {
4937 wxPy_BEGIN_ALLOW_THREADS;
4938 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
4939
4940 wxPy_END_ALLOW_THREADS;
4941 } Py_INCREF(Py_None);
4942 _resultobj = Py_None;
4943 return _resultobj;
4944 }
4945
4946 static void *SwigwxRadioBoxTowxControl(void *ptr) {
4947 wxRadioBox *src;
4948 wxControl *dest;
4949 src = (wxRadioBox *) ptr;
4950 dest = (wxControl *) src;
4951 return (void *) dest;
4952 }
4953
4954 static void *SwigwxRadioBoxTowxWindow(void *ptr) {
4955 wxRadioBox *src;
4956 wxWindow *dest;
4957 src = (wxRadioBox *) ptr;
4958 dest = (wxWindow *) src;
4959 return (void *) dest;
4960 }
4961
4962 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
4963 wxRadioBox *src;
4964 wxEvtHandler *dest;
4965 src = (wxRadioBox *) ptr;
4966 dest = (wxEvtHandler *) src;
4967 return (void *) dest;
4968 }
4969
4970 #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))
4971 static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args) {
4972 PyObject * _resultobj;
4973 wxRadioBox * _result;
4974 wxWindow * _arg0;
4975 wxWindowID _arg1;
4976 wxString * _arg2;
4977 wxPoint * _arg3 = &wxPyDefaultPosition;
4978 wxSize * _arg4 = &wxPyDefaultSize;
4979 int _arg5 = 0;
4980 wxString * _arg6 = NULL;
4981 int _arg7 = 0;
4982 long _arg8 = (wxRA_HORIZONTAL);
4983 wxValidator * _arg9 = &wxPyDefaultValidator;
4984 char * _arg10 = "radioBox";
4985 char * _argc0 = 0;
4986 PyObject * _obj2 = 0;
4987 char * _argc3 = 0;
4988 char * _argc4 = 0;
4989 PyObject * _obj6 = 0;
4990 char * _argc9 = 0;
4991 char _ptemp[128];
4992
4993 self = self;
4994 if(!PyArg_ParseTuple(args,"siO|ssOilss:new_wxRadioBox",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_obj6,&_arg7,&_arg8,&_argc9,&_arg10))
4995 return NULL;
4996 if (_argc0) {
4997 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
4999 return NULL;
5000 }
5001 }
5002 {
5003 if (!PyString_Check(_obj2)) {
5004 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5005 return NULL;
5006 }
5007 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5008 }
5009 if (_argc3) {
5010 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
5011 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxRadioBox. Expected _wxPoint_p.");
5012 return NULL;
5013 }
5014 }
5015 if (_argc4) {
5016 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
5017 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxRadioBox. Expected _wxSize_p.");
5018 return NULL;
5019 }
5020 }
5021 if (_obj6)
5022 {
5023 _arg6 = wxString_LIST_helper(_obj6);
5024 if (_arg6 == NULL) {
5025 return NULL;
5026 }
5027 }
5028 if (_argc9) {
5029 if (SWIG_GetPtr(_argc9,(void **) &_arg9,"_wxValidator_p")) {
5030 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
5031 return NULL;
5032 }
5033 }
5034 {
5035 if (_obj6) {
5036 _arg5 = PyList_Size(_obj6);
5037 }
5038 else {
5039 _arg5 = 0;
5040 }
5041 }
5042 {
5043 wxPy_BEGIN_ALLOW_THREADS;
5044 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
5045
5046 wxPy_END_ALLOW_THREADS;
5047 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
5048 _resultobj = Py_BuildValue("s",_ptemp);
5049 {
5050 if (_obj2)
5051 delete _arg2;
5052 }
5053 {
5054 delete [] _arg6;
5055 }
5056 return _resultobj;
5057 }
5058
5059 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5060 static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args) {
5061 PyObject * _resultobj;
5062 wxRadioBox * _arg0;
5063 bool _arg1;
5064 char * _argc0 = 0;
5065 int tempbool1;
5066
5067 self = self;
5068 if(!PyArg_ParseTuple(args,"si:wxRadioBox_Enable",&_argc0,&tempbool1))
5069 return NULL;
5070 if (_argc0) {
5071 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
5073 return NULL;
5074 }
5075 }
5076 _arg1 = (bool ) tempbool1;
5077 {
5078 wxPy_BEGIN_ALLOW_THREADS;
5079 wxRadioBox_Enable(_arg0,_arg1);
5080
5081 wxPy_END_ALLOW_THREADS;
5082 } Py_INCREF(Py_None);
5083 _resultobj = Py_None;
5084 return _resultobj;
5085 }
5086
5087 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5088 static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args) {
5089 PyObject * _resultobj;
5090 wxRadioBox * _arg0;
5091 int _arg1;
5092 bool _arg2;
5093 char * _argc0 = 0;
5094 int tempbool2;
5095
5096 self = self;
5097 if(!PyArg_ParseTuple(args,"sii:wxRadioBox_EnableItem",&_argc0,&_arg1,&tempbool2))
5098 return NULL;
5099 if (_argc0) {
5100 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
5102 return NULL;
5103 }
5104 }
5105 _arg2 = (bool ) tempbool2;
5106 {
5107 wxPy_BEGIN_ALLOW_THREADS;
5108 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
5109
5110 wxPy_END_ALLOW_THREADS;
5111 } Py_INCREF(Py_None);
5112 _resultobj = Py_None;
5113 return _resultobj;
5114 }
5115
5116 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
5117 static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args) {
5118 PyObject * _resultobj;
5119 int _result;
5120 wxRadioBox * _arg0;
5121 wxString * _arg1;
5122 char * _argc0 = 0;
5123 PyObject * _obj1 = 0;
5124
5125 self = self;
5126 if(!PyArg_ParseTuple(args,"sO:wxRadioBox_FindString",&_argc0,&_obj1))
5127 return NULL;
5128 if (_argc0) {
5129 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
5131 return NULL;
5132 }
5133 }
5134 {
5135 if (!PyString_Check(_obj1)) {
5136 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5137 return NULL;
5138 }
5139 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5140 }
5141 {
5142 wxPy_BEGIN_ALLOW_THREADS;
5143 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
5144
5145 wxPy_END_ALLOW_THREADS;
5146 } _resultobj = Py_BuildValue("i",_result);
5147 {
5148 if (_obj1)
5149 delete _arg1;
5150 }
5151 return _resultobj;
5152 }
5153
5154 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5155 static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args) {
5156 PyObject * _resultobj;
5157 wxString * _result;
5158 wxRadioBox * _arg0;
5159 int _arg1;
5160 char * _argc0 = 0;
5161
5162 self = self;
5163 if(!PyArg_ParseTuple(args,"si:wxRadioBox_GetItemLabel",&_argc0,&_arg1))
5164 return NULL;
5165 if (_argc0) {
5166 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
5168 return NULL;
5169 }
5170 }
5171 {
5172 wxPy_BEGIN_ALLOW_THREADS;
5173 _result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1));
5174
5175 wxPy_END_ALLOW_THREADS;
5176 }{
5177 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5178 }
5179 {
5180 delete _result;
5181 }
5182 return _resultobj;
5183 }
5184
5185 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
5186 static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args) {
5187 PyObject * _resultobj;
5188 int _result;
5189 wxRadioBox * _arg0;
5190 char * _argc0 = 0;
5191
5192 self = self;
5193 if(!PyArg_ParseTuple(args,"s:wxRadioBox_GetSelection",&_argc0))
5194 return NULL;
5195 if (_argc0) {
5196 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
5198 return NULL;
5199 }
5200 }
5201 {
5202 wxPy_BEGIN_ALLOW_THREADS;
5203 _result = (int )wxRadioBox_GetSelection(_arg0);
5204
5205 wxPy_END_ALLOW_THREADS;
5206 } _resultobj = Py_BuildValue("i",_result);
5207 return _resultobj;
5208 }
5209
5210 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
5211 static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args) {
5212 PyObject * _resultobj;
5213 wxString * _result;
5214 wxRadioBox * _arg0;
5215 int _arg1;
5216 char * _argc0 = 0;
5217
5218 self = self;
5219 if(!PyArg_ParseTuple(args,"si:wxRadioBox_GetString",&_argc0,&_arg1))
5220 return NULL;
5221 if (_argc0) {
5222 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
5224 return NULL;
5225 }
5226 }
5227 {
5228 wxPy_BEGIN_ALLOW_THREADS;
5229 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
5230
5231 wxPy_END_ALLOW_THREADS;
5232 }{
5233 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5234 }
5235 {
5236 delete _result;
5237 }
5238 return _resultobj;
5239 }
5240
5241 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
5242 static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args) {
5243 PyObject * _resultobj;
5244 wxString * _result;
5245 wxRadioBox * _arg0;
5246 char * _argc0 = 0;
5247
5248 self = self;
5249 if(!PyArg_ParseTuple(args,"s:wxRadioBox_GetStringSelection",&_argc0))
5250 return NULL;
5251 if (_argc0) {
5252 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
5254 return NULL;
5255 }
5256 }
5257 {
5258 wxPy_BEGIN_ALLOW_THREADS;
5259 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
5260
5261 wxPy_END_ALLOW_THREADS;
5262 }{
5263 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5264 }
5265 {
5266 delete _result;
5267 }
5268 return _resultobj;
5269 }
5270
5271 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
5272 static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args) {
5273 PyObject * _resultobj;
5274 int _result;
5275 wxRadioBox * _arg0;
5276 char * _argc0 = 0;
5277
5278 self = self;
5279 if(!PyArg_ParseTuple(args,"s:wxRadioBox_Number",&_argc0))
5280 return NULL;
5281 if (_argc0) {
5282 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
5284 return NULL;
5285 }
5286 }
5287 {
5288 wxPy_BEGIN_ALLOW_THREADS;
5289 _result = (int )wxRadioBox_Number(_arg0);
5290
5291 wxPy_END_ALLOW_THREADS;
5292 } _resultobj = Py_BuildValue("i",_result);
5293 return _resultobj;
5294 }
5295
5296 #define wxRadioBox_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
5297 static PyObject *_wrap_wxRadioBox_SetLabel(PyObject *self, PyObject *args) {
5298 PyObject * _resultobj;
5299 wxRadioBox * _arg0;
5300 wxString * _arg1;
5301 char * _argc0 = 0;
5302 PyObject * _obj1 = 0;
5303
5304 self = self;
5305 if(!PyArg_ParseTuple(args,"sO:wxRadioBox_SetLabel",&_argc0,&_obj1))
5306 return NULL;
5307 if (_argc0) {
5308 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetLabel. Expected _wxRadioBox_p.");
5310 return NULL;
5311 }
5312 }
5313 {
5314 if (!PyString_Check(_obj1)) {
5315 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5316 return NULL;
5317 }
5318 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5319 }
5320 {
5321 wxPy_BEGIN_ALLOW_THREADS;
5322 wxRadioBox_SetLabel(_arg0,*_arg1);
5323
5324 wxPy_END_ALLOW_THREADS;
5325 } Py_INCREF(Py_None);
5326 _resultobj = Py_None;
5327 {
5328 if (_obj1)
5329 delete _arg1;
5330 }
5331 return _resultobj;
5332 }
5333
5334 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5335 static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args) {
5336 PyObject * _resultobj;
5337 wxRadioBox * _arg0;
5338 int _arg1;
5339 wxString * _arg2;
5340 char * _argc0 = 0;
5341 PyObject * _obj2 = 0;
5342
5343 self = self;
5344 if(!PyArg_ParseTuple(args,"siO:wxRadioBox_SetItemLabel",&_argc0,&_arg1,&_obj2))
5345 return NULL;
5346 if (_argc0) {
5347 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
5349 return NULL;
5350 }
5351 }
5352 {
5353 if (!PyString_Check(_obj2)) {
5354 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5355 return NULL;
5356 }
5357 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5358 }
5359 {
5360 wxPy_BEGIN_ALLOW_THREADS;
5361 wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2);
5362
5363 wxPy_END_ALLOW_THREADS;
5364 } Py_INCREF(Py_None);
5365 _resultobj = Py_None;
5366 {
5367 if (_obj2)
5368 delete _arg2;
5369 }
5370 return _resultobj;
5371 }
5372
5373 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
5374 static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args) {
5375 PyObject * _resultobj;
5376 wxRadioBox * _arg0;
5377 int _arg1;
5378 char * _argc0 = 0;
5379
5380 self = self;
5381 if(!PyArg_ParseTuple(args,"si:wxRadioBox_SetSelection",&_argc0,&_arg1))
5382 return NULL;
5383 if (_argc0) {
5384 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
5386 return NULL;
5387 }
5388 }
5389 {
5390 wxPy_BEGIN_ALLOW_THREADS;
5391 wxRadioBox_SetSelection(_arg0,_arg1);
5392
5393 wxPy_END_ALLOW_THREADS;
5394 } Py_INCREF(Py_None);
5395 _resultobj = Py_None;
5396 return _resultobj;
5397 }
5398
5399 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
5400 static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args) {
5401 PyObject * _resultobj;
5402 wxRadioBox * _arg0;
5403 wxString * _arg1;
5404 char * _argc0 = 0;
5405 PyObject * _obj1 = 0;
5406
5407 self = self;
5408 if(!PyArg_ParseTuple(args,"sO:wxRadioBox_SetStringSelection",&_argc0,&_obj1))
5409 return NULL;
5410 if (_argc0) {
5411 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
5413 return NULL;
5414 }
5415 }
5416 {
5417 if (!PyString_Check(_obj1)) {
5418 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5419 return NULL;
5420 }
5421 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5422 }
5423 {
5424 wxPy_BEGIN_ALLOW_THREADS;
5425 wxRadioBox_SetStringSelection(_arg0,*_arg1);
5426
5427 wxPy_END_ALLOW_THREADS;
5428 } Py_INCREF(Py_None);
5429 _resultobj = Py_None;
5430 {
5431 if (_obj1)
5432 delete _arg1;
5433 }
5434 return _resultobj;
5435 }
5436
5437 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5438 static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args) {
5439 PyObject * _resultobj;
5440 wxRadioBox * _arg0;
5441 bool _arg1;
5442 char * _argc0 = 0;
5443 int tempbool1;
5444
5445 self = self;
5446 if(!PyArg_ParseTuple(args,"si:wxRadioBox_Show",&_argc0,&tempbool1))
5447 return NULL;
5448 if (_argc0) {
5449 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
5451 return NULL;
5452 }
5453 }
5454 _arg1 = (bool ) tempbool1;
5455 {
5456 wxPy_BEGIN_ALLOW_THREADS;
5457 wxRadioBox_Show(_arg0,_arg1);
5458
5459 wxPy_END_ALLOW_THREADS;
5460 } Py_INCREF(Py_None);
5461 _resultobj = Py_None;
5462 return _resultobj;
5463 }
5464
5465 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
5466 static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args) {
5467 PyObject * _resultobj;
5468 wxRadioBox * _arg0;
5469 int _arg1;
5470 bool _arg2;
5471 char * _argc0 = 0;
5472 int tempbool2;
5473
5474 self = self;
5475 if(!PyArg_ParseTuple(args,"sii:wxRadioBox_ShowItem",&_argc0,&_arg1,&tempbool2))
5476 return NULL;
5477 if (_argc0) {
5478 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
5479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
5480 return NULL;
5481 }
5482 }
5483 _arg2 = (bool ) tempbool2;
5484 {
5485 wxPy_BEGIN_ALLOW_THREADS;
5486 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
5487
5488 wxPy_END_ALLOW_THREADS;
5489 } Py_INCREF(Py_None);
5490 _resultobj = Py_None;
5491 return _resultobj;
5492 }
5493
5494 static void *SwigwxRadioButtonTowxControl(void *ptr) {
5495 wxRadioButton *src;
5496 wxControl *dest;
5497 src = (wxRadioButton *) ptr;
5498 dest = (wxControl *) src;
5499 return (void *) dest;
5500 }
5501
5502 static void *SwigwxRadioButtonTowxWindow(void *ptr) {
5503 wxRadioButton *src;
5504 wxWindow *dest;
5505 src = (wxRadioButton *) ptr;
5506 dest = (wxWindow *) src;
5507 return (void *) dest;
5508 }
5509
5510 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
5511 wxRadioButton *src;
5512 wxEvtHandler *dest;
5513 src = (wxRadioButton *) ptr;
5514 dest = (wxEvtHandler *) src;
5515 return (void *) dest;
5516 }
5517
5518 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5519 static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args) {
5520 PyObject * _resultobj;
5521 wxRadioButton * _result;
5522 wxWindow * _arg0;
5523 wxWindowID _arg1;
5524 wxString * _arg2;
5525 wxPoint * _arg3 = &wxPyDefaultPosition;
5526 wxSize * _arg4 = &wxPyDefaultSize;
5527 long _arg5 = 0;
5528 wxValidator * _arg6 = &wxPyDefaultValidator;
5529 char * _arg7 = "radioButton";
5530 char * _argc0 = 0;
5531 PyObject * _obj2 = 0;
5532 char * _argc3 = 0;
5533 char * _argc4 = 0;
5534 char * _argc6 = 0;
5535 char _ptemp[128];
5536
5537 self = self;
5538 if(!PyArg_ParseTuple(args,"siO|sslss:new_wxRadioButton",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
5539 return NULL;
5540 if (_argc0) {
5541 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
5542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
5543 return NULL;
5544 }
5545 }
5546 {
5547 if (!PyString_Check(_obj2)) {
5548 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5549 return NULL;
5550 }
5551 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5552 }
5553 if (_argc3) {
5554 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
5555 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxRadioButton. Expected _wxPoint_p.");
5556 return NULL;
5557 }
5558 }
5559 if (_argc4) {
5560 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
5561 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxRadioButton. Expected _wxSize_p.");
5562 return NULL;
5563 }
5564 }
5565 if (_argc6) {
5566 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
5567 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
5568 return NULL;
5569 }
5570 }
5571 {
5572 wxPy_BEGIN_ALLOW_THREADS;
5573 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
5574
5575 wxPy_END_ALLOW_THREADS;
5576 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
5577 _resultobj = Py_BuildValue("s",_ptemp);
5578 {
5579 if (_obj2)
5580 delete _arg2;
5581 }
5582 return _resultobj;
5583 }
5584
5585 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
5586 static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args) {
5587 PyObject * _resultobj;
5588 bool _result;
5589 wxRadioButton * _arg0;
5590 char * _argc0 = 0;
5591
5592 self = self;
5593 if(!PyArg_ParseTuple(args,"s:wxRadioButton_GetValue",&_argc0))
5594 return NULL;
5595 if (_argc0) {
5596 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioButton_p")) {
5597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
5598 return NULL;
5599 }
5600 }
5601 {
5602 wxPy_BEGIN_ALLOW_THREADS;
5603 _result = (bool )wxRadioButton_GetValue(_arg0);
5604
5605 wxPy_END_ALLOW_THREADS;
5606 } _resultobj = Py_BuildValue("i",_result);
5607 return _resultobj;
5608 }
5609
5610 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5611 static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args) {
5612 PyObject * _resultobj;
5613 wxRadioButton * _arg0;
5614 bool _arg1;
5615 char * _argc0 = 0;
5616 int tempbool1;
5617
5618 self = self;
5619 if(!PyArg_ParseTuple(args,"si:wxRadioButton_SetValue",&_argc0,&tempbool1))
5620 return NULL;
5621 if (_argc0) {
5622 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioButton_p")) {
5623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
5624 return NULL;
5625 }
5626 }
5627 _arg1 = (bool ) tempbool1;
5628 {
5629 wxPy_BEGIN_ALLOW_THREADS;
5630 wxRadioButton_SetValue(_arg0,_arg1);
5631
5632 wxPy_END_ALLOW_THREADS;
5633 } Py_INCREF(Py_None);
5634 _resultobj = Py_None;
5635 return _resultobj;
5636 }
5637
5638 static void *SwigwxSliderTowxControl(void *ptr) {
5639 wxSlider *src;
5640 wxControl *dest;
5641 src = (wxSlider *) ptr;
5642 dest = (wxControl *) src;
5643 return (void *) dest;
5644 }
5645
5646 static void *SwigwxSliderTowxWindow(void *ptr) {
5647 wxSlider *src;
5648 wxWindow *dest;
5649 src = (wxSlider *) ptr;
5650 dest = (wxWindow *) src;
5651 return (void *) dest;
5652 }
5653
5654 static void *SwigwxSliderTowxEvtHandler(void *ptr) {
5655 wxSlider *src;
5656 wxEvtHandler *dest;
5657 src = (wxSlider *) ptr;
5658 dest = (wxEvtHandler *) src;
5659 return (void *) dest;
5660 }
5661
5662 #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))
5663 static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args) {
5664 PyObject * _resultobj;
5665 wxSlider * _result;
5666 wxWindow * _arg0;
5667 wxWindowID _arg1;
5668 int _arg2;
5669 int _arg3;
5670 int _arg4;
5671 wxPoint * _arg5 = &wxPyDefaultPosition;
5672 wxSize * _arg6 = &wxPyDefaultSize;
5673 long _arg7 = (wxSL_HORIZONTAL);
5674 wxValidator * _arg8 = &wxPyDefaultValidator;
5675 char * _arg9 = "slider";
5676 char * _argc0 = 0;
5677 char * _argc5 = 0;
5678 char * _argc6 = 0;
5679 char * _argc8 = 0;
5680 char _ptemp[128];
5681
5682 self = self;
5683 if(!PyArg_ParseTuple(args,"siiii|sslss:new_wxSlider",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_argc5,&_argc6,&_arg7,&_argc8,&_arg9))
5684 return NULL;
5685 if (_argc0) {
5686 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
5687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
5688 return NULL;
5689 }
5690 }
5691 if (_argc5) {
5692 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxPoint_p")) {
5693 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxSlider. Expected _wxPoint_p.");
5694 return NULL;
5695 }
5696 }
5697 if (_argc6) {
5698 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxSize_p")) {
5699 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxSlider. Expected _wxSize_p.");
5700 return NULL;
5701 }
5702 }
5703 if (_argc8) {
5704 if (SWIG_GetPtr(_argc8,(void **) &_arg8,"_wxValidator_p")) {
5705 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
5706 return NULL;
5707 }
5708 }
5709 {
5710 wxPy_BEGIN_ALLOW_THREADS;
5711 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
5712
5713 wxPy_END_ALLOW_THREADS;
5714 } SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
5715 _resultobj = Py_BuildValue("s",_ptemp);
5716 return _resultobj;
5717 }
5718
5719 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
5720 static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args) {
5721 PyObject * _resultobj;
5722 wxSlider * _arg0;
5723 char * _argc0 = 0;
5724
5725 self = self;
5726 if(!PyArg_ParseTuple(args,"s:wxSlider_ClearSel",&_argc0))
5727 return NULL;
5728 if (_argc0) {
5729 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
5731 return NULL;
5732 }
5733 }
5734 {
5735 wxPy_BEGIN_ALLOW_THREADS;
5736 wxSlider_ClearSel(_arg0);
5737
5738 wxPy_END_ALLOW_THREADS;
5739 } Py_INCREF(Py_None);
5740 _resultobj = Py_None;
5741 return _resultobj;
5742 }
5743
5744 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
5745 static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args) {
5746 PyObject * _resultobj;
5747 wxSlider * _arg0;
5748 char * _argc0 = 0;
5749
5750 self = self;
5751 if(!PyArg_ParseTuple(args,"s:wxSlider_ClearTicks",&_argc0))
5752 return NULL;
5753 if (_argc0) {
5754 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
5756 return NULL;
5757 }
5758 }
5759 {
5760 wxPy_BEGIN_ALLOW_THREADS;
5761 wxSlider_ClearTicks(_arg0);
5762
5763 wxPy_END_ALLOW_THREADS;
5764 } Py_INCREF(Py_None);
5765 _resultobj = Py_None;
5766 return _resultobj;
5767 }
5768
5769 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
5770 static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args) {
5771 PyObject * _resultobj;
5772 int _result;
5773 wxSlider * _arg0;
5774 char * _argc0 = 0;
5775
5776 self = self;
5777 if(!PyArg_ParseTuple(args,"s:wxSlider_GetLineSize",&_argc0))
5778 return NULL;
5779 if (_argc0) {
5780 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
5782 return NULL;
5783 }
5784 }
5785 {
5786 wxPy_BEGIN_ALLOW_THREADS;
5787 _result = (int )wxSlider_GetLineSize(_arg0);
5788
5789 wxPy_END_ALLOW_THREADS;
5790 } _resultobj = Py_BuildValue("i",_result);
5791 return _resultobj;
5792 }
5793
5794 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
5795 static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args) {
5796 PyObject * _resultobj;
5797 int _result;
5798 wxSlider * _arg0;
5799 char * _argc0 = 0;
5800
5801 self = self;
5802 if(!PyArg_ParseTuple(args,"s:wxSlider_GetMax",&_argc0))
5803 return NULL;
5804 if (_argc0) {
5805 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
5807 return NULL;
5808 }
5809 }
5810 {
5811 wxPy_BEGIN_ALLOW_THREADS;
5812 _result = (int )wxSlider_GetMax(_arg0);
5813
5814 wxPy_END_ALLOW_THREADS;
5815 } _resultobj = Py_BuildValue("i",_result);
5816 return _resultobj;
5817 }
5818
5819 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
5820 static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args) {
5821 PyObject * _resultobj;
5822 int _result;
5823 wxSlider * _arg0;
5824 char * _argc0 = 0;
5825
5826 self = self;
5827 if(!PyArg_ParseTuple(args,"s:wxSlider_GetMin",&_argc0))
5828 return NULL;
5829 if (_argc0) {
5830 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
5832 return NULL;
5833 }
5834 }
5835 {
5836 wxPy_BEGIN_ALLOW_THREADS;
5837 _result = (int )wxSlider_GetMin(_arg0);
5838
5839 wxPy_END_ALLOW_THREADS;
5840 } _resultobj = Py_BuildValue("i",_result);
5841 return _resultobj;
5842 }
5843
5844 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5845 static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args) {
5846 PyObject * _resultobj;
5847 int _result;
5848 wxSlider * _arg0;
5849 char * _argc0 = 0;
5850
5851 self = self;
5852 if(!PyArg_ParseTuple(args,"s:wxSlider_GetPageSize",&_argc0))
5853 return NULL;
5854 if (_argc0) {
5855 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
5857 return NULL;
5858 }
5859 }
5860 {
5861 wxPy_BEGIN_ALLOW_THREADS;
5862 _result = (int )wxSlider_GetPageSize(_arg0);
5863
5864 wxPy_END_ALLOW_THREADS;
5865 } _resultobj = Py_BuildValue("i",_result);
5866 return _resultobj;
5867 }
5868
5869 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
5870 static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args) {
5871 PyObject * _resultobj;
5872 int _result;
5873 wxSlider * _arg0;
5874 char * _argc0 = 0;
5875
5876 self = self;
5877 if(!PyArg_ParseTuple(args,"s:wxSlider_GetSelEnd",&_argc0))
5878 return NULL;
5879 if (_argc0) {
5880 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
5882 return NULL;
5883 }
5884 }
5885 {
5886 wxPy_BEGIN_ALLOW_THREADS;
5887 _result = (int )wxSlider_GetSelEnd(_arg0);
5888
5889 wxPy_END_ALLOW_THREADS;
5890 } _resultobj = Py_BuildValue("i",_result);
5891 return _resultobj;
5892 }
5893
5894 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
5895 static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args) {
5896 PyObject * _resultobj;
5897 int _result;
5898 wxSlider * _arg0;
5899 char * _argc0 = 0;
5900
5901 self = self;
5902 if(!PyArg_ParseTuple(args,"s:wxSlider_GetSelStart",&_argc0))
5903 return NULL;
5904 if (_argc0) {
5905 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
5907 return NULL;
5908 }
5909 }
5910 {
5911 wxPy_BEGIN_ALLOW_THREADS;
5912 _result = (int )wxSlider_GetSelStart(_arg0);
5913
5914 wxPy_END_ALLOW_THREADS;
5915 } _resultobj = Py_BuildValue("i",_result);
5916 return _resultobj;
5917 }
5918
5919 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
5920 static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args) {
5921 PyObject * _resultobj;
5922 int _result;
5923 wxSlider * _arg0;
5924 char * _argc0 = 0;
5925
5926 self = self;
5927 if(!PyArg_ParseTuple(args,"s:wxSlider_GetThumbLength",&_argc0))
5928 return NULL;
5929 if (_argc0) {
5930 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
5932 return NULL;
5933 }
5934 }
5935 {
5936 wxPy_BEGIN_ALLOW_THREADS;
5937 _result = (int )wxSlider_GetThumbLength(_arg0);
5938
5939 wxPy_END_ALLOW_THREADS;
5940 } _resultobj = Py_BuildValue("i",_result);
5941 return _resultobj;
5942 }
5943
5944 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
5945 static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args) {
5946 PyObject * _resultobj;
5947 int _result;
5948 wxSlider * _arg0;
5949 char * _argc0 = 0;
5950
5951 self = self;
5952 if(!PyArg_ParseTuple(args,"s:wxSlider_GetTickFreq",&_argc0))
5953 return NULL;
5954 if (_argc0) {
5955 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
5957 return NULL;
5958 }
5959 }
5960 {
5961 wxPy_BEGIN_ALLOW_THREADS;
5962 _result = (int )wxSlider_GetTickFreq(_arg0);
5963
5964 wxPy_END_ALLOW_THREADS;
5965 } _resultobj = Py_BuildValue("i",_result);
5966 return _resultobj;
5967 }
5968
5969 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
5970 static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args) {
5971 PyObject * _resultobj;
5972 int _result;
5973 wxSlider * _arg0;
5974 char * _argc0 = 0;
5975
5976 self = self;
5977 if(!PyArg_ParseTuple(args,"s:wxSlider_GetValue",&_argc0))
5978 return NULL;
5979 if (_argc0) {
5980 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
5981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
5982 return NULL;
5983 }
5984 }
5985 {
5986 wxPy_BEGIN_ALLOW_THREADS;
5987 _result = (int )wxSlider_GetValue(_arg0);
5988
5989 wxPy_END_ALLOW_THREADS;
5990 } _resultobj = Py_BuildValue("i",_result);
5991 return _resultobj;
5992 }
5993
5994 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
5995 static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args) {
5996 PyObject * _resultobj;
5997 wxSlider * _arg0;
5998 int _arg1;
5999 int _arg2;
6000 char * _argc0 = 0;
6001
6002 self = self;
6003 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetRange",&_argc0,&_arg1,&_arg2))
6004 return NULL;
6005 if (_argc0) {
6006 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
6008 return NULL;
6009 }
6010 }
6011 {
6012 wxPy_BEGIN_ALLOW_THREADS;
6013 wxSlider_SetRange(_arg0,_arg1,_arg2);
6014
6015 wxPy_END_ALLOW_THREADS;
6016 } Py_INCREF(Py_None);
6017 _resultobj = Py_None;
6018 return _resultobj;
6019 }
6020
6021 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
6022 static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args) {
6023 PyObject * _resultobj;
6024 wxSlider * _arg0;
6025 int _arg1;
6026 int _arg2;
6027 char * _argc0 = 0;
6028
6029 self = self;
6030 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetTickFreq",&_argc0,&_arg1,&_arg2))
6031 return NULL;
6032 if (_argc0) {
6033 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
6035 return NULL;
6036 }
6037 }
6038 {
6039 wxPy_BEGIN_ALLOW_THREADS;
6040 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
6041
6042 wxPy_END_ALLOW_THREADS;
6043 } Py_INCREF(Py_None);
6044 _resultobj = Py_None;
6045 return _resultobj;
6046 }
6047
6048 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
6049 static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args) {
6050 PyObject * _resultobj;
6051 wxSlider * _arg0;
6052 int _arg1;
6053 char * _argc0 = 0;
6054
6055 self = self;
6056 if(!PyArg_ParseTuple(args,"si:wxSlider_SetLineSize",&_argc0,&_arg1))
6057 return NULL;
6058 if (_argc0) {
6059 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
6061 return NULL;
6062 }
6063 }
6064 {
6065 wxPy_BEGIN_ALLOW_THREADS;
6066 wxSlider_SetLineSize(_arg0,_arg1);
6067
6068 wxPy_END_ALLOW_THREADS;
6069 } Py_INCREF(Py_None);
6070 _resultobj = Py_None;
6071 return _resultobj;
6072 }
6073
6074 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
6075 static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args) {
6076 PyObject * _resultobj;
6077 wxSlider * _arg0;
6078 int _arg1;
6079 char * _argc0 = 0;
6080
6081 self = self;
6082 if(!PyArg_ParseTuple(args,"si:wxSlider_SetPageSize",&_argc0,&_arg1))
6083 return NULL;
6084 if (_argc0) {
6085 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
6087 return NULL;
6088 }
6089 }
6090 {
6091 wxPy_BEGIN_ALLOW_THREADS;
6092 wxSlider_SetPageSize(_arg0,_arg1);
6093
6094 wxPy_END_ALLOW_THREADS;
6095 } Py_INCREF(Py_None);
6096 _resultobj = Py_None;
6097 return _resultobj;
6098 }
6099
6100 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
6101 static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args) {
6102 PyObject * _resultobj;
6103 wxSlider * _arg0;
6104 int _arg1;
6105 int _arg2;
6106 char * _argc0 = 0;
6107
6108 self = self;
6109 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetSelection",&_argc0,&_arg1,&_arg2))
6110 return NULL;
6111 if (_argc0) {
6112 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
6114 return NULL;
6115 }
6116 }
6117 {
6118 wxPy_BEGIN_ALLOW_THREADS;
6119 wxSlider_SetSelection(_arg0,_arg1,_arg2);
6120
6121 wxPy_END_ALLOW_THREADS;
6122 } Py_INCREF(Py_None);
6123 _resultobj = Py_None;
6124 return _resultobj;
6125 }
6126
6127 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
6128 static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args) {
6129 PyObject * _resultobj;
6130 wxSlider * _arg0;
6131 int _arg1;
6132 char * _argc0 = 0;
6133
6134 self = self;
6135 if(!PyArg_ParseTuple(args,"si:wxSlider_SetThumbLength",&_argc0,&_arg1))
6136 return NULL;
6137 if (_argc0) {
6138 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
6140 return NULL;
6141 }
6142 }
6143 {
6144 wxPy_BEGIN_ALLOW_THREADS;
6145 wxSlider_SetThumbLength(_arg0,_arg1);
6146
6147 wxPy_END_ALLOW_THREADS;
6148 } Py_INCREF(Py_None);
6149 _resultobj = Py_None;
6150 return _resultobj;
6151 }
6152
6153 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
6154 static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args) {
6155 PyObject * _resultobj;
6156 wxSlider * _arg0;
6157 int _arg1;
6158 char * _argc0 = 0;
6159
6160 self = self;
6161 if(!PyArg_ParseTuple(args,"si:wxSlider_SetTick",&_argc0,&_arg1))
6162 return NULL;
6163 if (_argc0) {
6164 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
6166 return NULL;
6167 }
6168 }
6169 {
6170 wxPy_BEGIN_ALLOW_THREADS;
6171 wxSlider_SetTick(_arg0,_arg1);
6172
6173 wxPy_END_ALLOW_THREADS;
6174 } Py_INCREF(Py_None);
6175 _resultobj = Py_None;
6176 return _resultobj;
6177 }
6178
6179 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6180 static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args) {
6181 PyObject * _resultobj;
6182 wxSlider * _arg0;
6183 int _arg1;
6184 char * _argc0 = 0;
6185
6186 self = self;
6187 if(!PyArg_ParseTuple(args,"si:wxSlider_SetValue",&_argc0,&_arg1))
6188 return NULL;
6189 if (_argc0) {
6190 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
6191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
6192 return NULL;
6193 }
6194 }
6195 {
6196 wxPy_BEGIN_ALLOW_THREADS;
6197 wxSlider_SetValue(_arg0,_arg1);
6198
6199 wxPy_END_ALLOW_THREADS;
6200 } Py_INCREF(Py_None);
6201 _resultobj = Py_None;
6202 return _resultobj;
6203 }
6204
6205 static PyMethodDef controlscMethods[] = {
6206 { "wxSlider_SetValue", _wrap_wxSlider_SetValue, 1 },
6207 { "wxSlider_SetTick", _wrap_wxSlider_SetTick, 1 },
6208 { "wxSlider_SetThumbLength", _wrap_wxSlider_SetThumbLength, 1 },
6209 { "wxSlider_SetSelection", _wrap_wxSlider_SetSelection, 1 },
6210 { "wxSlider_SetPageSize", _wrap_wxSlider_SetPageSize, 1 },
6211 { "wxSlider_SetLineSize", _wrap_wxSlider_SetLineSize, 1 },
6212 { "wxSlider_SetTickFreq", _wrap_wxSlider_SetTickFreq, 1 },
6213 { "wxSlider_SetRange", _wrap_wxSlider_SetRange, 1 },
6214 { "wxSlider_GetValue", _wrap_wxSlider_GetValue, 1 },
6215 { "wxSlider_GetTickFreq", _wrap_wxSlider_GetTickFreq, 1 },
6216 { "wxSlider_GetThumbLength", _wrap_wxSlider_GetThumbLength, 1 },
6217 { "wxSlider_GetSelStart", _wrap_wxSlider_GetSelStart, 1 },
6218 { "wxSlider_GetSelEnd", _wrap_wxSlider_GetSelEnd, 1 },
6219 { "wxSlider_GetPageSize", _wrap_wxSlider_GetPageSize, 1 },
6220 { "wxSlider_GetMin", _wrap_wxSlider_GetMin, 1 },
6221 { "wxSlider_GetMax", _wrap_wxSlider_GetMax, 1 },
6222 { "wxSlider_GetLineSize", _wrap_wxSlider_GetLineSize, 1 },
6223 { "wxSlider_ClearTicks", _wrap_wxSlider_ClearTicks, 1 },
6224 { "wxSlider_ClearSel", _wrap_wxSlider_ClearSel, 1 },
6225 { "new_wxSlider", _wrap_new_wxSlider, 1 },
6226 { "wxRadioButton_SetValue", _wrap_wxRadioButton_SetValue, 1 },
6227 { "wxRadioButton_GetValue", _wrap_wxRadioButton_GetValue, 1 },
6228 { "new_wxRadioButton", _wrap_new_wxRadioButton, 1 },
6229 { "wxRadioBox_ShowItem", _wrap_wxRadioBox_ShowItem, 1 },
6230 { "wxRadioBox_Show", _wrap_wxRadioBox_Show, 1 },
6231 { "wxRadioBox_SetStringSelection", _wrap_wxRadioBox_SetStringSelection, 1 },
6232 { "wxRadioBox_SetSelection", _wrap_wxRadioBox_SetSelection, 1 },
6233 { "wxRadioBox_SetItemLabel", _wrap_wxRadioBox_SetItemLabel, 1 },
6234 { "wxRadioBox_SetLabel", _wrap_wxRadioBox_SetLabel, 1 },
6235 { "wxRadioBox_Number", _wrap_wxRadioBox_Number, 1 },
6236 { "wxRadioBox_GetStringSelection", _wrap_wxRadioBox_GetStringSelection, 1 },
6237 { "wxRadioBox_GetString", _wrap_wxRadioBox_GetString, 1 },
6238 { "wxRadioBox_GetSelection", _wrap_wxRadioBox_GetSelection, 1 },
6239 { "wxRadioBox_GetItemLabel", _wrap_wxRadioBox_GetItemLabel, 1 },
6240 { "wxRadioBox_FindString", _wrap_wxRadioBox_FindString, 1 },
6241 { "wxRadioBox_EnableItem", _wrap_wxRadioBox_EnableItem, 1 },
6242 { "wxRadioBox_Enable", _wrap_wxRadioBox_Enable, 1 },
6243 { "new_wxRadioBox", _wrap_new_wxRadioBox, 1 },
6244 { "wxStaticBitmap_SetBitmap", _wrap_wxStaticBitmap_SetBitmap, 1 },
6245 { "wxStaticBitmap_GetBitmap", _wrap_wxStaticBitmap_GetBitmap, 1 },
6246 { "new_wxStaticBitmap", _wrap_new_wxStaticBitmap, 1 },
6247 { "wxSpinButton_SetValue", _wrap_wxSpinButton_SetValue, 1 },
6248 { "wxSpinButton_SetRange", _wrap_wxSpinButton_SetRange, 1 },
6249 { "wxSpinButton_GetValue", _wrap_wxSpinButton_GetValue, 1 },
6250 { "wxSpinButton_GetMin", _wrap_wxSpinButton_GetMin, 1 },
6251 { "wxSpinButton_GetMax", _wrap_wxSpinButton_GetMax, 1 },
6252 { "new_wxSpinButton", _wrap_new_wxSpinButton, 1 },
6253 { "wxScrollBar_SetScrollbar", _wrap_wxScrollBar_SetScrollbar, 1 },
6254 { "wxScrollBar_SetThumbPosition", _wrap_wxScrollBar_SetThumbPosition, 1 },
6255 { "wxScrollBar_GetThumbSize", _wrap_wxScrollBar_GetThumbSize, 1 },
6256 { "wxScrollBar_GetThumbPosition", _wrap_wxScrollBar_GetThumbPosition, 1 },
6257 { "wxScrollBar_GetPageSize", _wrap_wxScrollBar_GetPageSize, 1 },
6258 { "wxScrollBar_GetRange", _wrap_wxScrollBar_GetRange, 1 },
6259 { "new_wxScrollBar", _wrap_new_wxScrollBar, 1 },
6260 { "wxTextCtrl_IsEditable", _wrap_wxTextCtrl_IsEditable, 1 },
6261 { "wxTextCtrl_GetSelection", _wrap_wxTextCtrl_GetSelection, 1 },
6262 { "wxTextCtrl_CanUndo", _wrap_wxTextCtrl_CanUndo, 1 },
6263 { "wxTextCtrl_CanRedo", _wrap_wxTextCtrl_CanRedo, 1 },
6264 { "wxTextCtrl_CanPaste", _wrap_wxTextCtrl_CanPaste, 1 },
6265 { "wxTextCtrl_CanCut", _wrap_wxTextCtrl_CanCut, 1 },
6266 { "wxTextCtrl_CanCopy", _wrap_wxTextCtrl_CanCopy, 1 },
6267 { "wxTextCtrl_XYToPosition", _wrap_wxTextCtrl_XYToPosition, 1 },
6268 { "wxTextCtrl_AppendText", _wrap_wxTextCtrl_AppendText, 1 },
6269 { "wxTextCtrl_WriteText", _wrap_wxTextCtrl_WriteText, 1 },
6270 { "wxTextCtrl_ShowPosition", _wrap_wxTextCtrl_ShowPosition, 1 },
6271 { "wxTextCtrl_SetValue", _wrap_wxTextCtrl_SetValue, 1 },
6272 { "wxTextCtrl_SetSelection", _wrap_wxTextCtrl_SetSelection, 1 },
6273 { "wxTextCtrl_SetInsertionPointEnd", _wrap_wxTextCtrl_SetInsertionPointEnd, 1 },
6274 { "wxTextCtrl_SetInsertionPoint", _wrap_wxTextCtrl_SetInsertionPoint, 1 },
6275 { "wxTextCtrl_SetEditable", _wrap_wxTextCtrl_SetEditable, 1 },
6276 { "wxTextCtrl_SaveFile", _wrap_wxTextCtrl_SaveFile, 1 },
6277 { "wxTextCtrl_Replace", _wrap_wxTextCtrl_Replace, 1 },
6278 { "wxTextCtrl_Remove", _wrap_wxTextCtrl_Remove, 1 },
6279 { "wxTextCtrl_PositionToXY", _wrap_wxTextCtrl_PositionToXY, 1 },
6280 { "wxTextCtrl_Paste", _wrap_wxTextCtrl_Paste, 1 },
6281 { "wxTextCtrl_LoadFile", _wrap_wxTextCtrl_LoadFile, 1 },
6282 { "wxTextCtrl_IsModified", _wrap_wxTextCtrl_IsModified, 1 },
6283 { "wxTextCtrl_GetValue", _wrap_wxTextCtrl_GetValue, 1 },
6284 { "wxTextCtrl_GetNumberOfLines", _wrap_wxTextCtrl_GetNumberOfLines, 1 },
6285 { "wxTextCtrl_GetLineText", _wrap_wxTextCtrl_GetLineText, 1 },
6286 { "wxTextCtrl_GetLineLength", _wrap_wxTextCtrl_GetLineLength, 1 },
6287 { "wxTextCtrl_GetLastPosition", _wrap_wxTextCtrl_GetLastPosition, 1 },
6288 { "wxTextCtrl_GetInsertionPoint", _wrap_wxTextCtrl_GetInsertionPoint, 1 },
6289 { "wxTextCtrl_DiscardEdits", _wrap_wxTextCtrl_DiscardEdits, 1 },
6290 { "wxTextCtrl_Cut", _wrap_wxTextCtrl_Cut, 1 },
6291 { "wxTextCtrl_Copy", _wrap_wxTextCtrl_Copy, 1 },
6292 { "wxTextCtrl_Clear", _wrap_wxTextCtrl_Clear, 1 },
6293 { "new_wxTextCtrl", _wrap_new_wxTextCtrl, 1 },
6294 { "wxCheckListBox_GetItemHeight", _wrap_wxCheckListBox_GetItemHeight, 1 },
6295 { "wxCheckListBox_Check", _wrap_wxCheckListBox_Check, 1 },
6296 { "wxCheckListBox_IsChecked", _wrap_wxCheckListBox_IsChecked, 1 },
6297 { "new_wxCheckListBox", _wrap_new_wxCheckListBox, 1 },
6298 { "wxListBox_SetStringSelection", _wrap_wxListBox_SetStringSelection, 1 },
6299 { "wxListBox_SetString", _wrap_wxListBox_SetString, 1 },
6300 { "wxListBox_SetSelection", _wrap_wxListBox_SetSelection, 1 },
6301 { "wxListBox_SetFirstItemStr", _wrap_wxListBox_SetFirstItemStr, 1 },
6302 { "wxListBox_SetFirstItem", _wrap_wxListBox_SetFirstItem, 1 },
6303 { "wxListBox_Set", _wrap_wxListBox_Set, 1 },
6304 { "wxListBox_Selected", _wrap_wxListBox_Selected, 1 },
6305 { "wxListBox_Number", _wrap_wxListBox_Number, 1 },
6306 { "wxListBox_GetStringSelection", _wrap_wxListBox_GetStringSelection, 1 },
6307 { "wxListBox_GetString", _wrap_wxListBox_GetString, 1 },
6308 { "wxListBox_GetSelections", _wrap_wxListBox_GetSelections, 1 },
6309 { "wxListBox_GetSelection", _wrap_wxListBox_GetSelection, 1 },
6310 { "wxListBox_FindString", _wrap_wxListBox_FindString, 1 },
6311 { "wxListBox_Deselect", _wrap_wxListBox_Deselect, 1 },
6312 { "wxListBox_Delete", _wrap_wxListBox_Delete, 1 },
6313 { "wxListBox_Clear", _wrap_wxListBox_Clear, 1 },
6314 { "wxListBox_Append", _wrap_wxListBox_Append, 1 },
6315 { "new_wxListBox", _wrap_new_wxListBox, 1 },
6316 { "wxStaticText_SetLabel", _wrap_wxStaticText_SetLabel, 1 },
6317 { "wxStaticText_GetLabel", _wrap_wxStaticText_GetLabel, 1 },
6318 { "new_wxStaticText", _wrap_new_wxStaticText, 1 },
6319 { "new_wxStaticBox", _wrap_new_wxStaticBox, 1 },
6320 { "wxGauge_SetValue", _wrap_wxGauge_SetValue, 1 },
6321 { "wxGauge_SetShadowWidth", _wrap_wxGauge_SetShadowWidth, 1 },
6322 { "wxGauge_SetRange", _wrap_wxGauge_SetRange, 1 },
6323 { "wxGauge_SetBezelFace", _wrap_wxGauge_SetBezelFace, 1 },
6324 { "wxGauge_GetValue", _wrap_wxGauge_GetValue, 1 },
6325 { "wxGauge_GetShadowWidth", _wrap_wxGauge_GetShadowWidth, 1 },
6326 { "wxGauge_GetRange", _wrap_wxGauge_GetRange, 1 },
6327 { "wxGauge_GetBezelFace", _wrap_wxGauge_GetBezelFace, 1 },
6328 { "new_wxGauge", _wrap_new_wxGauge, 1 },
6329 { "wxComboBox_SetValue", _wrap_wxComboBox_SetValue, 1 },
6330 { "wxComboBox_SetMark", _wrap_wxComboBox_SetMark, 1 },
6331 { "wxComboBox_SetSelection", _wrap_wxComboBox_SetSelection, 1 },
6332 { "wxComboBox_SetInsertionPointEnd", _wrap_wxComboBox_SetInsertionPointEnd, 1 },
6333 { "wxComboBox_SetInsertionPoint", _wrap_wxComboBox_SetInsertionPoint, 1 },
6334 { "wxComboBox_Remove", _wrap_wxComboBox_Remove, 1 },
6335 { "wxComboBox_Replace", _wrap_wxComboBox_Replace, 1 },
6336 { "wxComboBox_Paste", _wrap_wxComboBox_Paste, 1 },
6337 { "wxComboBox_Number", _wrap_wxComboBox_Number, 1 },
6338 { "wxComboBox_GetValue", _wrap_wxComboBox_GetValue, 1 },
6339 { "wxComboBox_GetStringSelection", _wrap_wxComboBox_GetStringSelection, 1 },
6340 { "wxComboBox_GetString", _wrap_wxComboBox_GetString, 1 },
6341 { "wxComboBox_GetSelection", _wrap_wxComboBox_GetSelection, 1 },
6342 { "wxComboBox_GetLastPosition", _wrap_wxComboBox_GetLastPosition, 1 },
6343 { "wxComboBox_GetInsertionPoint", _wrap_wxComboBox_GetInsertionPoint, 1 },
6344 { "wxComboBox_FindString", _wrap_wxComboBox_FindString, 1 },
6345 { "wxComboBox_Delete", _wrap_wxComboBox_Delete, 1 },
6346 { "wxComboBox_Cut", _wrap_wxComboBox_Cut, 1 },
6347 { "wxComboBox_Copy", _wrap_wxComboBox_Copy, 1 },
6348 { "wxComboBox_Clear", _wrap_wxComboBox_Clear, 1 },
6349 { "wxComboBox_Append", _wrap_wxComboBox_Append, 1 },
6350 { "new_wxComboBox", _wrap_new_wxComboBox, 1 },
6351 { "wxChoice_SetStringSelection", _wrap_wxChoice_SetStringSelection, 1 },
6352 { "wxChoice_SetSelection", _wrap_wxChoice_SetSelection, 1 },
6353 { "wxChoice_SetColumns", _wrap_wxChoice_SetColumns, 1 },
6354 { "wxChoice_Number", _wrap_wxChoice_Number, 1 },
6355 { "wxChoice_GetStringSelection", _wrap_wxChoice_GetStringSelection, 1 },
6356 { "wxChoice_GetString", _wrap_wxChoice_GetString, 1 },
6357 { "wxChoice_GetSelection", _wrap_wxChoice_GetSelection, 1 },
6358 { "wxChoice_GetColumns", _wrap_wxChoice_GetColumns, 1 },
6359 { "wxChoice_FindString", _wrap_wxChoice_FindString, 1 },
6360 { "wxChoice_Clear", _wrap_wxChoice_Clear, 1 },
6361 { "wxChoice_Append", _wrap_wxChoice_Append, 1 },
6362 { "new_wxChoice", _wrap_new_wxChoice, 1 },
6363 { "wxCheckBox_SetValue", _wrap_wxCheckBox_SetValue, 1 },
6364 { "wxCheckBox_GetValue", _wrap_wxCheckBox_GetValue, 1 },
6365 { "new_wxCheckBox", _wrap_new_wxCheckBox, 1 },
6366 { "wxBitmapButton_SetBitmapLabel", _wrap_wxBitmapButton_SetBitmapLabel, 1 },
6367 { "wxBitmapButton_SetBitmapSelected", _wrap_wxBitmapButton_SetBitmapSelected, 1 },
6368 { "wxBitmapButton_SetBitmapFocus", _wrap_wxBitmapButton_SetBitmapFocus, 1 },
6369 { "wxBitmapButton_SetBitmapDisabled", _wrap_wxBitmapButton_SetBitmapDisabled, 1 },
6370 { "wxBitmapButton_GetBitmapSelected", _wrap_wxBitmapButton_GetBitmapSelected, 1 },
6371 { "wxBitmapButton_GetBitmapFocus", _wrap_wxBitmapButton_GetBitmapFocus, 1 },
6372 { "wxBitmapButton_GetBitmapDisabled", _wrap_wxBitmapButton_GetBitmapDisabled, 1 },
6373 { "wxBitmapButton_GetBitmapLabel", _wrap_wxBitmapButton_GetBitmapLabel, 1 },
6374 { "new_wxBitmapButton", _wrap_new_wxBitmapButton, 1 },
6375 { "wxButton_SetDefault", _wrap_wxButton_SetDefault, 1 },
6376 { "new_wxButton", _wrap_new_wxButton, 1 },
6377 { "wxControl_SetLabel", _wrap_wxControl_SetLabel, 1 },
6378 { "wxControl_GetLabel", _wrap_wxControl_GetLabel, 1 },
6379 { "wxControl_Command", _wrap_wxControl_Command, 1 },
6380 { NULL, NULL }
6381 };
6382 static PyObject *SWIG_globals;
6383 #ifdef __cplusplus
6384 extern "C"
6385 #endif
6386 SWIGEXPORT(void,initcontrolsc)() {
6387 PyObject *m, *d;
6388 SWIG_globals = SWIG_newvarlink();
6389 m = Py_InitModule("controlsc", controlscMethods);
6390 d = PyModule_GetDict(m);
6391 /*
6392 * These are the pointer type-equivalency mappings.
6393 * (Used by the SWIG pointer type-checker).
6394 */
6395 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
6396 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
6397 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
6398 SWIG_RegisterMapping("_signed_long","_long",0);
6399 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
6400 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
6401 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
6402 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler);
6403 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler);
6404 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6405 SWIG_RegisterMapping("_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6406 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6407 SWIG_RegisterMapping("_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6408 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6409 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6410 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6411 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6412 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6413 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6414 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6415 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6416 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6417 SWIG_RegisterMapping("_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6418 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler);
6419 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler);
6420 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6421 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6422 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6423 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6424 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler);
6425 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler);
6426 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6427 SWIG_RegisterMapping("_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6428 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler);
6429 SWIG_RegisterMapping("_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler);
6430 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6431 SWIG_RegisterMapping("_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6432 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6433 SWIG_RegisterMapping("_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6434 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler);
6435 SWIG_RegisterMapping("_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler);
6436 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler);
6437 SWIG_RegisterMapping("_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler);
6438 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
6439 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
6440 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
6441 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
6442 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
6443 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
6444 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
6445 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
6446 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
6447 SWIG_RegisterMapping("_byte","_unsigned_char",0);
6448 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
6449 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
6450 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
6451 SWIG_RegisterMapping("_long","_wxDash",0);
6452 SWIG_RegisterMapping("_long","_unsigned_long",0);
6453 SWIG_RegisterMapping("_long","_signed_long",0);
6454 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
6455 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
6456 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
6457 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
6458 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
6459 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
6460 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
6461 SWIG_RegisterMapping("_size_t","_unsigned_int",0);
6462 SWIG_RegisterMapping("_size_t","_int",0);
6463 SWIG_RegisterMapping("_size_t","_wxWindowID",0);
6464 SWIG_RegisterMapping("_size_t","_uint",0);
6465 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
6466 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
6467 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
6468 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
6469 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
6470 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
6471 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
6472 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
6473 SWIG_RegisterMapping("_wxPyEvent","_class_wxPyEvent",0);
6474 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
6475 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
6476 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
6477 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
6478 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
6479 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
6480 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
6481 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
6482 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
6483 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
6484 SWIG_RegisterMapping("_uint","_size_t",0);
6485 SWIG_RegisterMapping("_uint","_unsigned_int",0);
6486 SWIG_RegisterMapping("_uint","_int",0);
6487 SWIG_RegisterMapping("_uint","_wxWindowID",0);
6488 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
6489 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
6490 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
6491 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
6492 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
6493 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
6494 SWIG_RegisterMapping("_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6495 SWIG_RegisterMapping("_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6496 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
6497 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
6498 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
6499 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
6500 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
6501 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
6502 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
6503 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
6504 SWIG_RegisterMapping("_class_wxPyEvent","_wxPyEvent",0);
6505 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
6506 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
6507 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
6508 SWIG_RegisterMapping("_EBool","_signed_int",0);
6509 SWIG_RegisterMapping("_EBool","_int",0);
6510 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
6511 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
6512 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
6513 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
6514 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
6515 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
6516 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
6517 SWIG_RegisterMapping("_unsigned_long","_long",0);
6518 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
6519 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
6520 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
6521 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
6522 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
6523 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
6524 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
6525 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
6526 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
6527 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
6528 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
6529 SWIG_RegisterMapping("_signed_int","_EBool",0);
6530 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
6531 SWIG_RegisterMapping("_signed_int","_int",0);
6532 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
6533 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
6534 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
6535 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
6536 SWIG_RegisterMapping("_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6537 SWIG_RegisterMapping("_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6538 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
6539 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
6540 SWIG_RegisterMapping("_WXTYPE","_short",0);
6541 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
6542 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
6543 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
6544 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
6545 SWIG_RegisterMapping("_unsigned_short","_short",0);
6546 SWIG_RegisterMapping("_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow);
6547 SWIG_RegisterMapping("_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow);
6548 SWIG_RegisterMapping("_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow);
6549 SWIG_RegisterMapping("_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow);
6550 SWIG_RegisterMapping("_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow);
6551 SWIG_RegisterMapping("_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow);
6552 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6553 SWIG_RegisterMapping("_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6554 SWIG_RegisterMapping("_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow);
6555 SWIG_RegisterMapping("_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow);
6556 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow);
6557 SWIG_RegisterMapping("_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow);
6558 SWIG_RegisterMapping("_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6559 SWIG_RegisterMapping("_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6560 SWIG_RegisterMapping("_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6561 SWIG_RegisterMapping("_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6562 SWIG_RegisterMapping("_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow);
6563 SWIG_RegisterMapping("_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow);
6564 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow);
6565 SWIG_RegisterMapping("_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow);
6566 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow);
6567 SWIG_RegisterMapping("_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow);
6568 SWIG_RegisterMapping("_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow);
6569 SWIG_RegisterMapping("_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow);
6570 SWIG_RegisterMapping("_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow);
6571 SWIG_RegisterMapping("_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow);
6572 SWIG_RegisterMapping("_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow);
6573 SWIG_RegisterMapping("_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow);
6574 SWIG_RegisterMapping("_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow);
6575 SWIG_RegisterMapping("_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow);
6576 SWIG_RegisterMapping("_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6577 SWIG_RegisterMapping("_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6578 SWIG_RegisterMapping("_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow);
6579 SWIG_RegisterMapping("_class_wxWindow","_wxButton",SwigwxButtonTowxWindow);
6580 SWIG_RegisterMapping("_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow);
6581 SWIG_RegisterMapping("_class_wxWindow","_wxControl",SwigwxControlTowxWindow);
6582 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
6583 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
6584 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
6585 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
6586 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
6587 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
6588 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
6589 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
6590 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
6591 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
6592 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
6593 SWIG_RegisterMapping("_signed_short","_short",0);
6594 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
6595 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
6596 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
6597 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
6598 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
6599 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
6600 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
6601 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
6602 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
6603 SWIG_RegisterMapping("_unsigned_char","_byte",0);
6604 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
6605 SWIG_RegisterMapping("_wxControl","_class_wxSlider",SwigwxSliderTowxControl);
6606 SWIG_RegisterMapping("_wxControl","_wxSlider",SwigwxSliderTowxControl);
6607 SWIG_RegisterMapping("_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl);
6608 SWIG_RegisterMapping("_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl);
6609 SWIG_RegisterMapping("_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl);
6610 SWIG_RegisterMapping("_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl);
6611 SWIG_RegisterMapping("_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6612 SWIG_RegisterMapping("_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6613 SWIG_RegisterMapping("_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl);
6614 SWIG_RegisterMapping("_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl);
6615 SWIG_RegisterMapping("_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl);
6616 SWIG_RegisterMapping("_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl);
6617 SWIG_RegisterMapping("_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl);
6618 SWIG_RegisterMapping("_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl);
6619 SWIG_RegisterMapping("_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6620 SWIG_RegisterMapping("_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6621 SWIG_RegisterMapping("_wxControl","_class_wxListBox",SwigwxListBoxTowxControl);
6622 SWIG_RegisterMapping("_wxControl","_wxListBox",SwigwxListBoxTowxControl);
6623 SWIG_RegisterMapping("_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl);
6624 SWIG_RegisterMapping("_wxControl","_wxStaticText",SwigwxStaticTextTowxControl);
6625 SWIG_RegisterMapping("_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl);
6626 SWIG_RegisterMapping("_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl);
6627 SWIG_RegisterMapping("_wxControl","_class_wxGauge",SwigwxGaugeTowxControl);
6628 SWIG_RegisterMapping("_wxControl","_wxGauge",SwigwxGaugeTowxControl);
6629 SWIG_RegisterMapping("_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl);
6630 SWIG_RegisterMapping("_wxControl","_wxComboBox",SwigwxComboBoxTowxControl);
6631 SWIG_RegisterMapping("_wxControl","_class_wxChoice",SwigwxChoiceTowxControl);
6632 SWIG_RegisterMapping("_wxControl","_wxChoice",SwigwxChoiceTowxControl);
6633 SWIG_RegisterMapping("_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl);
6634 SWIG_RegisterMapping("_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl);
6635 SWIG_RegisterMapping("_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6636 SWIG_RegisterMapping("_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6637 SWIG_RegisterMapping("_wxControl","_class_wxButton",SwigwxButtonTowxControl);
6638 SWIG_RegisterMapping("_wxControl","_wxButton",SwigwxButtonTowxControl);
6639 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
6640 SWIG_RegisterMapping("_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6641 SWIG_RegisterMapping("_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox);
6642 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
6643 SWIG_RegisterMapping("_unsigned_int","_size_t",0);
6644 SWIG_RegisterMapping("_unsigned_int","_uint",0);
6645 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
6646 SWIG_RegisterMapping("_unsigned_int","_int",0);
6647 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
6648 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
6649 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
6650 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
6651 SWIG_RegisterMapping("_short","_WXTYPE",0);
6652 SWIG_RegisterMapping("_short","_unsigned_short",0);
6653 SWIG_RegisterMapping("_short","_signed_short",0);
6654 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
6655 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
6656 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
6657 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
6658 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
6659 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
6660 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
6661 SWIG_RegisterMapping("_wxWindowID","_size_t",0);
6662 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
6663 SWIG_RegisterMapping("_wxWindowID","_uint",0);
6664 SWIG_RegisterMapping("_wxWindowID","_int",0);
6665 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
6666 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
6667 SWIG_RegisterMapping("_int","_size_t",0);
6668 SWIG_RegisterMapping("_int","_EBool",0);
6669 SWIG_RegisterMapping("_int","_uint",0);
6670 SWIG_RegisterMapping("_int","_wxWindowID",0);
6671 SWIG_RegisterMapping("_int","_unsigned_int",0);
6672 SWIG_RegisterMapping("_int","_signed_int",0);
6673 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
6674 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
6675 SWIG_RegisterMapping("_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6676 SWIG_RegisterMapping("_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton);
6677 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
6678 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
6679 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
6680 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
6681 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
6682 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
6683 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
6684 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
6685 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
6686 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
6687 SWIG_RegisterMapping("_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl);
6688 SWIG_RegisterMapping("_class_wxControl","_wxSlider",SwigwxSliderTowxControl);
6689 SWIG_RegisterMapping("_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl);
6690 SWIG_RegisterMapping("_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl);
6691 SWIG_RegisterMapping("_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl);
6692 SWIG_RegisterMapping("_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl);
6693 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6694 SWIG_RegisterMapping("_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
6695 SWIG_RegisterMapping("_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl);
6696 SWIG_RegisterMapping("_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl);
6697 SWIG_RegisterMapping("_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl);
6698 SWIG_RegisterMapping("_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl);
6699 SWIG_RegisterMapping("_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl);
6700 SWIG_RegisterMapping("_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl);
6701 SWIG_RegisterMapping("_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6702 SWIG_RegisterMapping("_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl);
6703 SWIG_RegisterMapping("_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl);
6704 SWIG_RegisterMapping("_class_wxControl","_wxListBox",SwigwxListBoxTowxControl);
6705 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl);
6706 SWIG_RegisterMapping("_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl);
6707 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl);
6708 SWIG_RegisterMapping("_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl);
6709 SWIG_RegisterMapping("_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl);
6710 SWIG_RegisterMapping("_class_wxControl","_wxGauge",SwigwxGaugeTowxControl);
6711 SWIG_RegisterMapping("_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl);
6712 SWIG_RegisterMapping("_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl);
6713 SWIG_RegisterMapping("_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl);
6714 SWIG_RegisterMapping("_class_wxControl","_wxChoice",SwigwxChoiceTowxControl);
6715 SWIG_RegisterMapping("_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl);
6716 SWIG_RegisterMapping("_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl);
6717 SWIG_RegisterMapping("_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6718 SWIG_RegisterMapping("_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl);
6719 SWIG_RegisterMapping("_class_wxControl","_class_wxButton",SwigwxButtonTowxControl);
6720 SWIG_RegisterMapping("_class_wxControl","_wxButton",SwigwxButtonTowxControl);
6721 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
6722 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
6723 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
6724 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
6725 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
6726 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
6727 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
6728 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
6729 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
6730 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
6731 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
6732 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
6733 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
6734 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
6735 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
6736 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
6737 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
6738 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
6739 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
6740 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
6741 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
6742 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler);
6743 SWIG_RegisterMapping("_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler);
6744 SWIG_RegisterMapping("_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6745 SWIG_RegisterMapping("_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
6746 SWIG_RegisterMapping("_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6747 SWIG_RegisterMapping("_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
6748 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6749 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
6750 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6751 SWIG_RegisterMapping("_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler);
6752 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6753 SWIG_RegisterMapping("_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
6754 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6755 SWIG_RegisterMapping("_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
6756 SWIG_RegisterMapping("_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6757 SWIG_RegisterMapping("_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler);
6758 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler);
6759 SWIG_RegisterMapping("_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler);
6760 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6761 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler);
6762 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6763 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
6764 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler);
6765 SWIG_RegisterMapping("_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler);
6766 SWIG_RegisterMapping("_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6767 SWIG_RegisterMapping("_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler);
6768 SWIG_RegisterMapping("_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler);
6769 SWIG_RegisterMapping("_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler);
6770 SWIG_RegisterMapping("_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6771 SWIG_RegisterMapping("_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
6772 SWIG_RegisterMapping("_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6773 SWIG_RegisterMapping("_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
6774 SWIG_RegisterMapping("_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler);
6775 SWIG_RegisterMapping("_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler);
6776 SWIG_RegisterMapping("_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler);
6777 SWIG_RegisterMapping("_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler);
6778 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
6779 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
6780 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
6781 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
6782 SWIG_RegisterMapping("_wxDash","_long",0);
6783 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
6784 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
6785 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
6786 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
6787 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
6788 SWIG_RegisterMapping("_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow);
6789 SWIG_RegisterMapping("_wxWindow","_wxSlider",SwigwxSliderTowxWindow);
6790 SWIG_RegisterMapping("_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow);
6791 SWIG_RegisterMapping("_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow);
6792 SWIG_RegisterMapping("_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow);
6793 SWIG_RegisterMapping("_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow);
6794 SWIG_RegisterMapping("_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6795 SWIG_RegisterMapping("_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
6796 SWIG_RegisterMapping("_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow);
6797 SWIG_RegisterMapping("_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow);
6798 SWIG_RegisterMapping("_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow);
6799 SWIG_RegisterMapping("_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow);
6800 SWIG_RegisterMapping("_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6801 SWIG_RegisterMapping("_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow);
6802 SWIG_RegisterMapping("_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6803 SWIG_RegisterMapping("_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow);
6804 SWIG_RegisterMapping("_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow);
6805 SWIG_RegisterMapping("_wxWindow","_wxListBox",SwigwxListBoxTowxWindow);
6806 SWIG_RegisterMapping("_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow);
6807 SWIG_RegisterMapping("_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow);
6808 SWIG_RegisterMapping("_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow);
6809 SWIG_RegisterMapping("_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow);
6810 SWIG_RegisterMapping("_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow);
6811 SWIG_RegisterMapping("_wxWindow","_wxGauge",SwigwxGaugeTowxWindow);
6812 SWIG_RegisterMapping("_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow);
6813 SWIG_RegisterMapping("_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow);
6814 SWIG_RegisterMapping("_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow);
6815 SWIG_RegisterMapping("_wxWindow","_wxChoice",SwigwxChoiceTowxWindow);
6816 SWIG_RegisterMapping("_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow);
6817 SWIG_RegisterMapping("_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow);
6818 SWIG_RegisterMapping("_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6819 SWIG_RegisterMapping("_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
6820 SWIG_RegisterMapping("_wxWindow","_class_wxButton",SwigwxButtonTowxWindow);
6821 SWIG_RegisterMapping("_wxWindow","_wxButton",SwigwxButtonTowxWindow);
6822 SWIG_RegisterMapping("_wxWindow","_class_wxControl",SwigwxControlTowxWindow);
6823 SWIG_RegisterMapping("_wxWindow","_wxControl",SwigwxControlTowxWindow);
6824 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
6825 }