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