]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls.cpp
Fixed compilation error
[wxWidgets.git] / wxPython / src / gtk / controls.cpp
CommitLineData
70551f47 1/*
2cd2fac8 2 * FILE : src/gtk/controls.cpp
70551f47
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
70551f47
RD
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)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
70551f47
RD
28# else
29# if defined(__BORLANDC__)
1c09ae54 30# define SWIGEXPORT(a) a _export
70551f47 31# else
1c09ae54 32# define SWIGEXPORT(a) a
70551f47
RD
33# endif
34# endif
35#else
1c09ae54 36# define SWIGEXPORT(a) a
70551f47
RD
37#endif
38
1c09ae54
RD
39#include "Python.h"
40
70551f47
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
1c09ae54 44
70551f47
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
70551f47
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
70551f47
RD
54#define SWIG_init initcontrolsc
55
56#define SWIG_name "controlsc"
57
58#include "helpers.h"
59#include <wx/slider.h>
62bd0874 60#include <wx/spinbutt.h>
f6bcfd97 61#include <wx/spinctrl.h>
ab9bc19b 62#include <wx/dynarray.h>
8bf5d46e 63#include <wx/statline.h>
7a446686 64#include <wx/tglbtn.h>
70551f47
RD
65
66#ifdef __WXMSW__
b26e2dc4
RD
67#if wxUSE_OWNER_DRAWN
68#include <wx/checklst.h>
69#endif
70551f47
RD
70#endif
71
c95e68d8
RD
72#ifdef __WXGTK__
73#include <wx/checklst.h>
74#endif
75
d24a34bb 76
70551f47
RD
77
78static PyObject* t_output_helper(PyObject* target, PyObject* o) {
79 PyObject* o2;
80 PyObject* o3;
81
1c09ae54 82 if (!target) {
70551f47 83 target = o;
1c09ae54 84 } else if (target == Py_None) {
70551f47
RD
85 Py_DECREF(Py_None);
86 target = o;
1c09ae54 87 } else {
70551f47
RD
88 if (!PyTuple_Check(target)) {
89 o2 = target;
90 target = PyTuple_New(1);
91 PyTuple_SetItem(target, 0, o2);
92 }
1c09ae54
RD
93 o3 = PyTuple_New(1);
94 PyTuple_SetItem(o3, 0, o);
70551f47
RD
95
96 o2 = target;
1c09ae54
RD
97 target = PySequence_Concat(o2, o3);
98 Py_DECREF(o2);
70551f47
RD
99 Py_DECREF(o3);
100 }
101 return target;
102}
103
7a446686
RD
104#if PYTHON_API_VERSION >= 1009
105 static char* wxStringErrorMsg = "String or Unicode type required";
106#else
107 static char* wxStringErrorMsg = "string type is required for parameter";
108#endif
2d091820
RD
109#ifdef __cplusplus
110extern "C" {
111#endif
37f6a977
RD
112static int _wrap_wxDefaultValidator_set(PyObject *val) {
113
114 PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only.");
115 return 1;
116}
117
118static PyObject *_wrap_wxDefaultValidator_get() {
119 PyObject * pyobj;
120 char ptemp[128];
121
122 SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p");
123 pyobj = PyString_FromString(ptemp);
124 return pyobj;
125}
126
70551f47
RD
127static void *SwigwxControlTowxWindow(void *ptr) {
128 wxControl *src;
129 wxWindow *dest;
130 src = (wxControl *) ptr;
131 dest = (wxWindow *) src;
132 return (void *) dest;
133}
134
135static void *SwigwxControlTowxEvtHandler(void *ptr) {
136 wxControl *src;
137 wxEvtHandler *dest;
138 src = (wxControl *) ptr;
139 dest = (wxEvtHandler *) src;
140 return (void *) dest;
141}
142
9df61a29
RD
143static void *SwigwxControlTowxObject(void *ptr) {
144 wxControl *src;
145 wxObject *dest;
146 src = (wxControl *) ptr;
147 dest = (wxObject *) src;
148 return (void *) dest;
149}
150
ab2208b5 151#define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
56f5d962
RD
152static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
153 PyObject * _resultobj;
154 wxControl * _result;
ab2208b5
RD
155 wxWindow * _arg0;
156 wxWindowID _arg1;
b68dc582
RD
157 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
158 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
ab2208b5 159 long _arg4 = (long ) 0;
b68dc582 160 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
ab2208b5 161 char * _arg6 = (char *) "control";
56f5d962 162 PyObject * _argo0 = 0;
56f5d962 163 wxPoint temp;
ab2208b5 164 PyObject * _obj2 = 0;
56f5d962 165 wxSize temp0;
ab2208b5
RD
166 PyObject * _obj3 = 0;
167 PyObject * _argo5 = 0;
168 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
169 char _ptemp[128];
56f5d962
RD
170
171 self = self;
ab2208b5 172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
56f5d962
RD
173 return NULL;
174 if (_argo0) {
175 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
56f5d962
RD
178 return NULL;
179 }
180 }
ab2208b5 181 if (_obj2)
56f5d962 182{
ab2208b5
RD
183 _arg2 = &temp;
184 if (! wxPoint_helper(_obj2, &_arg2))
56f5d962
RD
185 return NULL;
186}
ab2208b5 187 if (_obj3)
56f5d962 188{
ab2208b5
RD
189 _arg3 = &temp0;
190 if (! wxSize_helper(_obj3, &_arg3))
56f5d962
RD
191 return NULL;
192}
ab2208b5
RD
193 if (_argo5) {
194 if (_argo5 == Py_None) { _arg5 = NULL; }
195 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
196 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
56f5d962
RD
197 return NULL;
198 }
199 }
200{
201 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 202 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
56f5d962
RD
203
204 wxPy_END_ALLOW_THREADS;
4dfaa61e 205 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
206} if (_result) {
207 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
208 _resultobj = Py_BuildValue("s",_ptemp);
209 } else {
210 Py_INCREF(Py_None);
211 _resultobj = Py_None;
212 }
56f5d962
RD
213 return _resultobj;
214}
215
aa2a5b86
RD
216#define new_wxPreControl() (new wxControl())
217static PyObject *_wrap_new_wxPreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
218 PyObject * _resultobj;
219 wxControl * _result;
220 char *_kwnames[] = { NULL };
221 char _ptemp[128];
222
223 self = self;
224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreControl",_kwnames))
225 return NULL;
226{
227 wxPy_BEGIN_ALLOW_THREADS;
228 _result = (wxControl *)new_wxPreControl();
229
230 wxPy_END_ALLOW_THREADS;
231 if (PyErr_Occurred()) return NULL;
232} if (_result) {
233 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
234 _resultobj = Py_BuildValue("s",_ptemp);
235 } else {
236 Py_INCREF(Py_None);
237 _resultobj = Py_None;
238 }
239 return _resultobj;
240}
241
242#define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
243static PyObject *_wrap_wxControl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
244 PyObject * _resultobj;
245 bool _result;
246 wxControl * _arg0;
247 wxWindow * _arg1;
248 wxWindowID _arg2;
249 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
250 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
251 long _arg5 = (long ) 0;
252 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
253 char * _arg7 = (char *) "control";
254 PyObject * _argo0 = 0;
255 PyObject * _argo1 = 0;
256 wxPoint temp;
257 PyObject * _obj3 = 0;
258 wxSize temp0;
259 PyObject * _obj4 = 0;
260 PyObject * _argo6 = 0;
261 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
262
263 self = self;
264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOs:wxControl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
265 return NULL;
266 if (_argo0) {
267 if (_argo0 == Py_None) { _arg0 = NULL; }
268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
270 return NULL;
271 }
272 }
273 if (_argo1) {
274 if (_argo1 == Py_None) { _arg1 = NULL; }
275 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
276 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
277 return NULL;
278 }
279 }
280 if (_obj3)
281{
282 _arg3 = &temp;
283 if (! wxPoint_helper(_obj3, &_arg3))
284 return NULL;
285}
286 if (_obj4)
287{
288 _arg4 = &temp0;
289 if (! wxSize_helper(_obj4, &_arg4))
290 return NULL;
291}
292 if (_argo6) {
293 if (_argo6 == Py_None) { _arg6 = NULL; }
294 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
295 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
296 return NULL;
297 }
298 }
299{
300 wxPy_BEGIN_ALLOW_THREADS;
301 _result = (bool )wxControl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
302
303 wxPy_END_ALLOW_THREADS;
304 if (PyErr_Occurred()) return NULL;
305} _resultobj = Py_BuildValue("i",_result);
306 return _resultobj;
307}
308
56f5d962
RD
309#define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
310static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
311 PyObject * _resultobj;
312 wxControl * _arg0;
313 wxCommandEvent * _arg1;
314 PyObject * _argo0 = 0;
315 PyObject * _argo1 = 0;
316 char *_kwnames[] = { "self","event", NULL };
317
318 self = self;
319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1))
320 return NULL;
321 if (_argo0) {
322 if (_argo0 == Py_None) { _arg0 = NULL; }
323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
325 return NULL;
326 }
327 }
328 if (_argo1) {
329 if (_argo1 == Py_None) { _arg1 = NULL; }
330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
332 return NULL;
333 }
334 }
335{
336 wxPy_BEGIN_ALLOW_THREADS;
337 wxControl_Command(_arg0,*_arg1);
338
339 wxPy_END_ALLOW_THREADS;
4dfaa61e 340 if (PyErr_Occurred()) return NULL;
56f5d962
RD
341} Py_INCREF(Py_None);
342 _resultobj = Py_None;
343 return _resultobj;
344}
345
70551f47 346#define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
107e4716 347static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
348 PyObject * _resultobj;
349 wxString * _result;
350 wxControl * _arg0;
2d091820 351 PyObject * _argo0 = 0;
107e4716 352 char *_kwnames[] = { "self", NULL };
70551f47
RD
353
354 self = self;
107e4716 355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
70551f47 356 return NULL;
2d091820
RD
357 if (_argo0) {
358 if (_argo0 == Py_None) { _arg0 = NULL; }
359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
70551f47
RD
360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
361 return NULL;
362 }
363 }
70551f47 364{
ab9bc19b
RD
365 wxPy_BEGIN_ALLOW_THREADS;
366 _result = new wxString (wxControl_GetLabel(_arg0));
367
368 wxPy_END_ALLOW_THREADS;
4dfaa61e 369 if (PyErr_Occurred()) return NULL;
ab9bc19b 370}{
e02c03a4 371 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
372}
373{
374 delete _result;
375}
376 return _resultobj;
377}
378
379#define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
107e4716 380static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
381 PyObject * _resultobj;
382 wxControl * _arg0;
383 wxString * _arg1;
2d091820 384 PyObject * _argo0 = 0;
70551f47 385 PyObject * _obj1 = 0;
107e4716 386 char *_kwnames[] = { "self","label", NULL };
70551f47
RD
387
388 self = self;
107e4716 389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
70551f47 390 return NULL;
2d091820
RD
391 if (_argo0) {
392 if (_argo0 == Py_None) { _arg0 = NULL; }
393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
70551f47
RD
394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
395 return NULL;
396 }
397 }
398{
2cd2fac8
RD
399#if PYTHON_API_VERSION >= 1009
400 char* tmpPtr; int tmpSize;
401 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 402 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
403 return NULL;
404 }
405 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
406 return NULL;
407 _arg1 = new wxString(tmpPtr, tmpSize);
408#else
70551f47
RD
409 if (!PyString_Check(_obj1)) {
410 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
411 return NULL;
412 }
2cd2fac8
RD
413 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
414#endif
70551f47 415}
ab9bc19b
RD
416{
417 wxPy_BEGIN_ALLOW_THREADS;
418 wxControl_SetLabel(_arg0,*_arg1);
419
420 wxPy_END_ALLOW_THREADS;
4dfaa61e 421 if (PyErr_Occurred()) return NULL;
ab9bc19b 422} Py_INCREF(Py_None);
70551f47
RD
423 _resultobj = Py_None;
424{
425 if (_obj1)
426 delete _arg1;
427}
428 return _resultobj;
429}
430
431static void *SwigwxButtonTowxControl(void *ptr) {
432 wxButton *src;
433 wxControl *dest;
434 src = (wxButton *) ptr;
435 dest = (wxControl *) src;
436 return (void *) dest;
437}
438
439static void *SwigwxButtonTowxWindow(void *ptr) {
440 wxButton *src;
441 wxWindow *dest;
442 src = (wxButton *) ptr;
443 dest = (wxWindow *) src;
444 return (void *) dest;
445}
446
447static void *SwigwxButtonTowxEvtHandler(void *ptr) {
448 wxButton *src;
449 wxEvtHandler *dest;
450 src = (wxButton *) ptr;
451 dest = (wxEvtHandler *) src;
452 return (void *) dest;
453}
454
9df61a29
RD
455static void *SwigwxButtonTowxObject(void *ptr) {
456 wxButton *src;
457 wxObject *dest;
458 src = (wxButton *) ptr;
459 dest = (wxObject *) src;
460 return (void *) dest;
461}
462
70551f47 463#define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 464static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
465 PyObject * _resultobj;
466 wxButton * _result;
467 wxWindow * _arg0;
468 wxWindowID _arg1;
469 wxString * _arg2;
b68dc582
RD
470 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
471 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 472 long _arg5 = (long ) 0;
b68dc582 473 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
474 char * _arg7 = (char *) "button";
475 PyObject * _argo0 = 0;
70551f47 476 PyObject * _obj2 = 0;
37f6a977
RD
477 wxPoint temp;
478 PyObject * _obj3 = 0;
479 wxSize temp0;
480 PyObject * _obj4 = 0;
2d091820 481 PyObject * _argo6 = 0;
107e4716 482 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
70551f47
RD
483 char _ptemp[128];
484
485 self = self;
37f6a977 486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 487 return NULL;
2d091820
RD
488 if (_argo0) {
489 if (_argo0 == Py_None) { _arg0 = NULL; }
490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
492 return NULL;
493 }
494 }
495{
2cd2fac8
RD
496#if PYTHON_API_VERSION >= 1009
497 char* tmpPtr; int tmpSize;
498 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 499 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
500 return NULL;
501 }
502 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
503 return NULL;
504 _arg2 = new wxString(tmpPtr, tmpSize);
505#else
70551f47
RD
506 if (!PyString_Check(_obj2)) {
507 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
508 return NULL;
509 }
2cd2fac8
RD
510 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
511#endif
70551f47 512}
37f6a977
RD
513 if (_obj3)
514{
515 _arg3 = &temp;
516 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 517 return NULL;
37f6a977
RD
518}
519 if (_obj4)
520{
521 _arg4 = &temp0;
522 if (! wxSize_helper(_obj4, &_arg4))
70551f47 523 return NULL;
37f6a977 524}
2d091820
RD
525 if (_argo6) {
526 if (_argo6 == Py_None) { _arg6 = NULL; }
527 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
528 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
529 return NULL;
530 }
531 }
ab9bc19b
RD
532{
533 wxPy_BEGIN_ALLOW_THREADS;
534 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
535
536 wxPy_END_ALLOW_THREADS;
4dfaa61e 537 if (PyErr_Occurred()) return NULL;
2d091820
RD
538} if (_result) {
539 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
540 _resultobj = Py_BuildValue("s",_ptemp);
541 } else {
542 Py_INCREF(Py_None);
543 _resultobj = Py_None;
544 }
70551f47
RD
545{
546 if (_obj2)
547 delete _arg2;
548}
549 return _resultobj;
550}
551
aa2a5b86
RD
552#define new_wxPreButton() (new wxButton())
553static PyObject *_wrap_new_wxPreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
554 PyObject * _resultobj;
555 wxButton * _result;
556 char *_kwnames[] = { NULL };
557 char _ptemp[128];
558
559 self = self;
560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreButton",_kwnames))
561 return NULL;
562{
563 wxPy_BEGIN_ALLOW_THREADS;
564 _result = (wxButton *)new_wxPreButton();
565
566 wxPy_END_ALLOW_THREADS;
567 if (PyErr_Occurred()) return NULL;
568} if (_result) {
569 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
570 _resultobj = Py_BuildValue("s",_ptemp);
571 } else {
572 Py_INCREF(Py_None);
573 _resultobj = Py_None;
574 }
575 return _resultobj;
576}
577
578#define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
579static PyObject *_wrap_wxButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
580 PyObject * _resultobj;
581 bool _result;
582 wxButton * _arg0;
583 wxWindow * _arg1;
584 wxWindowID _arg2;
585 wxString * _arg3;
586 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
587 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
588 long _arg6 = (long ) 0;
589 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
590 char * _arg8 = (char *) "button";
591 PyObject * _argo0 = 0;
592 PyObject * _argo1 = 0;
593 PyObject * _obj3 = 0;
594 wxPoint temp;
595 PyObject * _obj4 = 0;
596 wxSize temp0;
597 PyObject * _obj5 = 0;
598 PyObject * _argo7 = 0;
599 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
600
601 self = self;
602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
603 return NULL;
604 if (_argo0) {
605 if (_argo0 == Py_None) { _arg0 = NULL; }
606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
608 return NULL;
609 }
610 }
611 if (_argo1) {
612 if (_argo1 == Py_None) { _arg1 = NULL; }
613 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
614 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
615 return NULL;
616 }
617 }
618{
619#if PYTHON_API_VERSION >= 1009
620 char* tmpPtr; int tmpSize;
621 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
622 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
623 return NULL;
624 }
625 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
626 return NULL;
627 _arg3 = new wxString(tmpPtr, tmpSize);
628#else
629 if (!PyString_Check(_obj3)) {
630 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
631 return NULL;
632 }
633 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
634#endif
635}
636 if (_obj4)
637{
638 _arg4 = &temp;
639 if (! wxPoint_helper(_obj4, &_arg4))
640 return NULL;
641}
642 if (_obj5)
643{
644 _arg5 = &temp0;
645 if (! wxSize_helper(_obj5, &_arg5))
646 return NULL;
647}
648 if (_argo7) {
649 if (_argo7 == Py_None) { _arg7 = NULL; }
650 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
651 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
652 return NULL;
653 }
654 }
655{
656 wxPy_BEGIN_ALLOW_THREADS;
657 _result = (bool )wxButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
658
659 wxPy_END_ALLOW_THREADS;
660 if (PyErr_Occurred()) return NULL;
661} _resultobj = Py_BuildValue("i",_result);
662{
663 if (_obj3)
664 delete _arg3;
665}
666 return _resultobj;
667}
668
70551f47 669#define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
107e4716 670static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
671 PyObject * _resultobj;
672 wxButton * _arg0;
2d091820 673 PyObject * _argo0 = 0;
107e4716 674 char *_kwnames[] = { "self", NULL };
70551f47
RD
675
676 self = self;
107e4716 677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
70551f47 678 return NULL;
2d091820
RD
679 if (_argo0) {
680 if (_argo0 == Py_None) { _arg0 = NULL; }
681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
70551f47
RD
682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
683 return NULL;
684 }
685 }
ab9bc19b
RD
686{
687 wxPy_BEGIN_ALLOW_THREADS;
688 wxButton_SetDefault(_arg0);
689
690 wxPy_END_ALLOW_THREADS;
4dfaa61e 691 if (PyErr_Occurred()) return NULL;
ab9bc19b 692} Py_INCREF(Py_None);
70551f47
RD
693 _resultobj = Py_None;
694 return _resultobj;
695}
696
ab2208b5
RD
697#define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
698static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
699 PyObject * _resultobj;
700 wxButton * _arg0;
701 wxColour * _arg1;
702 PyObject * _argo0 = 0;
f6bcfd97
BP
703 wxColour temp;
704 PyObject * _obj1 = 0;
ab2208b5
RD
705 char *_kwnames[] = { "self","colour", NULL };
706
707 self = self;
f6bcfd97 708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
ab2208b5
RD
709 return NULL;
710 if (_argo0) {
711 if (_argo0 == Py_None) { _arg0 = NULL; }
712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
714 return NULL;
715 }
716 }
f6bcfd97
BP
717{
718 _arg1 = &temp;
719 if (! wxColour_helper(_obj1, &_arg1))
ab2208b5 720 return NULL;
f6bcfd97 721}
ab2208b5
RD
722{
723 wxPy_BEGIN_ALLOW_THREADS;
724 wxButton_SetBackgroundColour(_arg0,*_arg1);
725
726 wxPy_END_ALLOW_THREADS;
4dfaa61e 727 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
728} Py_INCREF(Py_None);
729 _resultobj = Py_None;
730 return _resultobj;
731}
732
733#define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
734static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
735 PyObject * _resultobj;
736 wxButton * _arg0;
737 wxColour * _arg1;
738 PyObject * _argo0 = 0;
f6bcfd97
BP
739 wxColour temp;
740 PyObject * _obj1 = 0;
ab2208b5
RD
741 char *_kwnames[] = { "self","colour", NULL };
742
743 self = self;
f6bcfd97 744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
ab2208b5
RD
745 return NULL;
746 if (_argo0) {
747 if (_argo0 == Py_None) { _arg0 = NULL; }
748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
750 return NULL;
751 }
752 }
f6bcfd97
BP
753{
754 _arg1 = &temp;
755 if (! wxColour_helper(_obj1, &_arg1))
ab2208b5 756 return NULL;
f6bcfd97 757}
ab2208b5
RD
758{
759 wxPy_BEGIN_ALLOW_THREADS;
760 wxButton_SetForegroundColour(_arg0,*_arg1);
761
762 wxPy_END_ALLOW_THREADS;
4dfaa61e 763 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
764} Py_INCREF(Py_None);
765 _resultobj = Py_None;
766 return _resultobj;
767}
768
aa2a5b86
RD
769static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
770 PyObject * _resultobj;
771 wxSize * _result;
772 char *_kwnames[] = { NULL };
773 char _ptemp[128];
774
775 self = self;
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames))
777 return NULL;
778{
779 wxPy_BEGIN_ALLOW_THREADS;
780 _result = new wxSize (wxButton::GetDefaultSize());
781
782 wxPy_END_ALLOW_THREADS;
783 if (PyErr_Occurred()) return NULL;
784} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
785 _resultobj = Py_BuildValue("s",_ptemp);
786 return _resultobj;
787}
788
789static void *SwigwxBitmapButtonTowxButton(void *ptr) {
790 wxBitmapButton *src;
791 wxButton *dest;
792 src = (wxBitmapButton *) ptr;
793 dest = (wxButton *) src;
794 return (void *) dest;
795}
796
797static void *SwigwxBitmapButtonTowxControl(void *ptr) {
798 wxBitmapButton *src;
799 wxControl *dest;
800 src = (wxBitmapButton *) ptr;
801 dest = (wxControl *) src;
802 return (void *) dest;
803}
804
805static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
806 wxBitmapButton *src;
807 wxWindow *dest;
808 src = (wxBitmapButton *) ptr;
809 dest = (wxWindow *) src;
810 return (void *) dest;
811}
812
813static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
814 wxBitmapButton *src;
815 wxEvtHandler *dest;
816 src = (wxBitmapButton *) ptr;
817 dest = (wxEvtHandler *) src;
818 return (void *) dest;
819}
820
821static void *SwigwxBitmapButtonTowxObject(void *ptr) {
822 wxBitmapButton *src;
823 wxObject *dest;
824 src = (wxBitmapButton *) ptr;
825 dest = (wxObject *) src;
9df61a29
RD
826 return (void *) dest;
827}
828
70551f47 829#define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 830static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
831 PyObject * _resultobj;
832 wxBitmapButton * _result;
833 wxWindow * _arg0;
834 wxWindowID _arg1;
835 wxBitmap * _arg2;
b68dc582
RD
836 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
837 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 838 long _arg5 = (long ) wxBU_AUTODRAW;
b68dc582 839 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
840 char * _arg7 = (char *) "button";
841 PyObject * _argo0 = 0;
842 PyObject * _argo2 = 0;
37f6a977
RD
843 wxPoint temp;
844 PyObject * _obj3 = 0;
845 wxSize temp0;
846 PyObject * _obj4 = 0;
2d091820 847 PyObject * _argo6 = 0;
107e4716 848 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
70551f47
RD
849 char _ptemp[128];
850
851 self = self;
37f6a977 852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 853 return NULL;
2d091820
RD
854 if (_argo0) {
855 if (_argo0 == Py_None) { _arg0 = NULL; }
856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
858 return NULL;
859 }
860 }
2d091820
RD
861 if (_argo2) {
862 if (_argo2 == Py_None) { _arg2 = NULL; }
863 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
70551f47
RD
864 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
865 return NULL;
866 }
867 }
37f6a977
RD
868 if (_obj3)
869{
870 _arg3 = &temp;
871 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 872 return NULL;
37f6a977
RD
873}
874 if (_obj4)
875{
876 _arg4 = &temp0;
877 if (! wxSize_helper(_obj4, &_arg4))
70551f47 878 return NULL;
37f6a977 879}
2d091820
RD
880 if (_argo6) {
881 if (_argo6 == Py_None) { _arg6 = NULL; }
882 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
883 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
884 return NULL;
885 }
886 }
ab9bc19b
RD
887{
888 wxPy_BEGIN_ALLOW_THREADS;
889 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
890
891 wxPy_END_ALLOW_THREADS;
4dfaa61e 892 if (PyErr_Occurred()) return NULL;
2d091820
RD
893} if (_result) {
894 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
895 _resultobj = Py_BuildValue("s",_ptemp);
896 } else {
897 Py_INCREF(Py_None);
898 _resultobj = Py_None;
899 }
70551f47
RD
900 return _resultobj;
901}
902
aa2a5b86
RD
903#define new_wxPreBitmapButton() (new wxBitmapButton())
904static PyObject *_wrap_new_wxPreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject * _resultobj;
906 wxBitmapButton * _result;
907 char *_kwnames[] = { NULL };
908 char _ptemp[128];
909
910 self = self;
911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreBitmapButton",_kwnames))
912 return NULL;
913{
914 wxPy_BEGIN_ALLOW_THREADS;
915 _result = (wxBitmapButton *)new_wxPreBitmapButton();
916
917 wxPy_END_ALLOW_THREADS;
918 if (PyErr_Occurred()) return NULL;
919} if (_result) {
920 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
921 _resultobj = Py_BuildValue("s",_ptemp);
922 } else {
923 Py_INCREF(Py_None);
924 _resultobj = Py_None;
925 }
926 return _resultobj;
927}
928
929#define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
930static PyObject *_wrap_wxBitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
931 PyObject * _resultobj;
932 bool _result;
933 wxBitmapButton * _arg0;
934 wxWindow * _arg1;
935 wxWindowID _arg2;
936 wxBitmap * _arg3;
937 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
938 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
939 long _arg6 = (long ) wxBU_AUTODRAW;
940 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
941 char * _arg8 = (char *) "button";
942 PyObject * _argo0 = 0;
943 PyObject * _argo1 = 0;
944 PyObject * _argo3 = 0;
945 wxPoint temp;
946 PyObject * _obj4 = 0;
947 wxSize temp0;
948 PyObject * _obj5 = 0;
949 PyObject * _argo7 = 0;
950 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL };
951
952 self = self;
953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
954 return NULL;
955 if (_argo0) {
956 if (_argo0 == Py_None) { _arg0 = NULL; }
957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
959 return NULL;
960 }
961 }
962 if (_argo1) {
963 if (_argo1 == Py_None) { _arg1 = NULL; }
964 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
965 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
966 return NULL;
967 }
968 }
969 if (_argo3) {
970 if (_argo3 == Py_None) { _arg3 = NULL; }
971 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
972 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
973 return NULL;
974 }
975 }
976 if (_obj4)
977{
978 _arg4 = &temp;
979 if (! wxPoint_helper(_obj4, &_arg4))
980 return NULL;
981}
982 if (_obj5)
983{
984 _arg5 = &temp0;
985 if (! wxSize_helper(_obj5, &_arg5))
986 return NULL;
987}
988 if (_argo7) {
989 if (_argo7 == Py_None) { _arg7 = NULL; }
990 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
991 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
992 return NULL;
993 }
994 }
995{
996 wxPy_BEGIN_ALLOW_THREADS;
997 _result = (bool )wxBitmapButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
998
999 wxPy_END_ALLOW_THREADS;
1000 if (PyErr_Occurred()) return NULL;
1001} _resultobj = Py_BuildValue("i",_result);
1002 return _resultobj;
1003}
1004
70551f47 1005#define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
107e4716 1006static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1007 PyObject * _resultobj;
1008 wxBitmap * _result;
1009 wxBitmapButton * _arg0;
2d091820 1010 PyObject * _argo0 = 0;
107e4716 1011 char *_kwnames[] = { "self", NULL };
70551f47
RD
1012 char _ptemp[128];
1013
1014 self = self;
107e4716 1015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
70551f47 1016 return NULL;
2d091820
RD
1017 if (_argo0) {
1018 if (_argo0 == Py_None) { _arg0 = NULL; }
1019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
70551f47
RD
1020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1021 return NULL;
1022 }
1023 }
ab9bc19b
RD
1024{
1025 wxPy_BEGIN_ALLOW_THREADS;
1026 wxBitmap & _result_ref = wxBitmapButton_GetBitmapLabel(_arg0);
70551f47 1027 _result = (wxBitmap *) &_result_ref;
ab9bc19b
RD
1028
1029 wxPy_END_ALLOW_THREADS;
4dfaa61e 1030 if (PyErr_Occurred()) return NULL;
2d091820
RD
1031} if (_result) {
1032 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1033 _resultobj = Py_BuildValue("s",_ptemp);
1034 } else {
1035 Py_INCREF(Py_None);
1036 _resultobj = Py_None;
1037 }
70551f47
RD
1038 return _resultobj;
1039}
1040
c95e68d8 1041#define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
107e4716 1042static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1043 PyObject * _resultobj;
1044 wxBitmap * _result;
1045 wxBitmapButton * _arg0;
2d091820 1046 PyObject * _argo0 = 0;
107e4716 1047 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1048 char _ptemp[128];
1049
1050 self = self;
107e4716 1051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
c95e68d8 1052 return NULL;
2d091820
RD
1053 if (_argo0) {
1054 if (_argo0 == Py_None) { _arg0 = NULL; }
1055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1057 return NULL;
1058 }
1059 }
ab9bc19b
RD
1060{
1061 wxPy_BEGIN_ALLOW_THREADS;
1062 wxBitmap & _result_ref = wxBitmapButton_GetBitmapDisabled(_arg0);
c95e68d8 1063 _result = (wxBitmap *) &_result_ref;
ab9bc19b
RD
1064
1065 wxPy_END_ALLOW_THREADS;
4dfaa61e 1066 if (PyErr_Occurred()) return NULL;
2d091820
RD
1067} if (_result) {
1068 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1069 _resultobj = Py_BuildValue("s",_ptemp);
1070 } else {
1071 Py_INCREF(Py_None);
1072 _resultobj = Py_None;
1073 }
c95e68d8
RD
1074 return _resultobj;
1075}
1076
1077#define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
107e4716 1078static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1079 PyObject * _resultobj;
1080 wxBitmap * _result;
1081 wxBitmapButton * _arg0;
2d091820 1082 PyObject * _argo0 = 0;
107e4716 1083 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1084 char _ptemp[128];
1085
1086 self = self;
107e4716 1087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0))
c95e68d8 1088 return NULL;
2d091820
RD
1089 if (_argo0) {
1090 if (_argo0 == Py_None) { _arg0 = NULL; }
1091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1093 return NULL;
1094 }
1095 }
ab9bc19b
RD
1096{
1097 wxPy_BEGIN_ALLOW_THREADS;
1098 wxBitmap & _result_ref = wxBitmapButton_GetBitmapFocus(_arg0);
c95e68d8 1099 _result = (wxBitmap *) &_result_ref;
ab9bc19b
RD
1100
1101 wxPy_END_ALLOW_THREADS;
4dfaa61e 1102 if (PyErr_Occurred()) return NULL;
2d091820
RD
1103} if (_result) {
1104 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1105 _resultobj = Py_BuildValue("s",_ptemp);
1106 } else {
1107 Py_INCREF(Py_None);
1108 _resultobj = Py_None;
1109 }
c95e68d8
RD
1110 return _resultobj;
1111}
1112
1113#define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
107e4716 1114static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1115 PyObject * _resultobj;
1116 wxBitmap * _result;
1117 wxBitmapButton * _arg0;
2d091820 1118 PyObject * _argo0 = 0;
107e4716 1119 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1120 char _ptemp[128];
1121
1122 self = self;
107e4716 1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
c95e68d8 1124 return NULL;
2d091820
RD
1125 if (_argo0) {
1126 if (_argo0 == Py_None) { _arg0 = NULL; }
1127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1129 return NULL;
1130 }
1131 }
ab9bc19b
RD
1132{
1133 wxPy_BEGIN_ALLOW_THREADS;
1134 wxBitmap & _result_ref = wxBitmapButton_GetBitmapSelected(_arg0);
c95e68d8 1135 _result = (wxBitmap *) &_result_ref;
ab9bc19b
RD
1136
1137 wxPy_END_ALLOW_THREADS;
4dfaa61e 1138 if (PyErr_Occurred()) return NULL;
2d091820
RD
1139} if (_result) {
1140 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1141 _resultobj = Py_BuildValue("s",_ptemp);
1142 } else {
1143 Py_INCREF(Py_None);
1144 _resultobj = Py_None;
1145 }
c95e68d8
RD
1146 return _resultobj;
1147}
1148
1149#define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
107e4716 1150static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1151 PyObject * _resultobj;
1152 wxBitmapButton * _arg0;
1153 wxBitmap * _arg1;
2d091820
RD
1154 PyObject * _argo0 = 0;
1155 PyObject * _argo1 = 0;
107e4716 1156 char *_kwnames[] = { "self","bitmap", NULL };
c95e68d8
RD
1157
1158 self = self;
107e4716 1159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
c95e68d8 1160 return NULL;
2d091820
RD
1161 if (_argo0) {
1162 if (_argo0 == Py_None) { _arg0 = NULL; }
1163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1165 return NULL;
1166 }
1167 }
2d091820
RD
1168 if (_argo1) {
1169 if (_argo1 == Py_None) { _arg1 = NULL; }
1170 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
c95e68d8
RD
1171 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1172 return NULL;
1173 }
1174 }
ab9bc19b
RD
1175{
1176 wxPy_BEGIN_ALLOW_THREADS;
1177 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
1178
1179 wxPy_END_ALLOW_THREADS;
4dfaa61e 1180 if (PyErr_Occurred()) return NULL;
ab9bc19b 1181} Py_INCREF(Py_None);
c95e68d8
RD
1182 _resultobj = Py_None;
1183 return _resultobj;
1184}
1185
1186#define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
107e4716 1187static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1188 PyObject * _resultobj;
1189 wxBitmapButton * _arg0;
1190 wxBitmap * _arg1;
2d091820
RD
1191 PyObject * _argo0 = 0;
1192 PyObject * _argo1 = 0;
107e4716 1193 char *_kwnames[] = { "self","bitmap", NULL };
c95e68d8
RD
1194
1195 self = self;
107e4716 1196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
c95e68d8 1197 return NULL;
2d091820
RD
1198 if (_argo0) {
1199 if (_argo0 == Py_None) { _arg0 = NULL; }
1200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1202 return NULL;
1203 }
1204 }
2d091820
RD
1205 if (_argo1) {
1206 if (_argo1 == Py_None) { _arg1 = NULL; }
1207 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
c95e68d8
RD
1208 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1209 return NULL;
1210 }
1211 }
ab9bc19b
RD
1212{
1213 wxPy_BEGIN_ALLOW_THREADS;
1214 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
1215
1216 wxPy_END_ALLOW_THREADS;
4dfaa61e 1217 if (PyErr_Occurred()) return NULL;
ab9bc19b 1218} Py_INCREF(Py_None);
c95e68d8
RD
1219 _resultobj = Py_None;
1220 return _resultobj;
1221}
1222
1223#define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
107e4716 1224static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1225 PyObject * _resultobj;
1226 wxBitmapButton * _arg0;
1227 wxBitmap * _arg1;
2d091820
RD
1228 PyObject * _argo0 = 0;
1229 PyObject * _argo1 = 0;
107e4716 1230 char *_kwnames[] = { "self","bitmap", NULL };
c95e68d8
RD
1231
1232 self = self;
107e4716 1233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
c95e68d8 1234 return NULL;
2d091820
RD
1235 if (_argo0) {
1236 if (_argo0 == Py_None) { _arg0 = NULL; }
1237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1239 return NULL;
1240 }
1241 }
2d091820
RD
1242 if (_argo1) {
1243 if (_argo1 == Py_None) { _arg1 = NULL; }
1244 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
c95e68d8
RD
1245 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1246 return NULL;
1247 }
1248 }
ab9bc19b
RD
1249{
1250 wxPy_BEGIN_ALLOW_THREADS;
1251 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
1252
1253 wxPy_END_ALLOW_THREADS;
4dfaa61e 1254 if (PyErr_Occurred()) return NULL;
ab9bc19b 1255} Py_INCREF(Py_None);
c95e68d8
RD
1256 _resultobj = Py_None;
1257 return _resultobj;
1258}
1259
70551f47 1260#define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
107e4716 1261static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1262 PyObject * _resultobj;
1263 wxBitmapButton * _arg0;
1264 wxBitmap * _arg1;
2d091820
RD
1265 PyObject * _argo0 = 0;
1266 PyObject * _argo1 = 0;
107e4716 1267 char *_kwnames[] = { "self","bitmap", NULL };
70551f47
RD
1268
1269 self = self;
107e4716 1270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
70551f47 1271 return NULL;
2d091820
RD
1272 if (_argo0) {
1273 if (_argo0 == Py_None) { _arg0 = NULL; }
1274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
70551f47
RD
1275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1276 return NULL;
1277 }
1278 }
2d091820
RD
1279 if (_argo1) {
1280 if (_argo1 == Py_None) { _arg1 = NULL; }
1281 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
70551f47
RD
1282 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1283 return NULL;
1284 }
1285 }
ab9bc19b
RD
1286{
1287 wxPy_BEGIN_ALLOW_THREADS;
1288 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
1289
1290 wxPy_END_ALLOW_THREADS;
4dfaa61e 1291 if (PyErr_Occurred()) return NULL;
ab9bc19b 1292} Py_INCREF(Py_None);
70551f47
RD
1293 _resultobj = Py_None;
1294 return _resultobj;
1295}
1296
f6bcfd97
BP
1297#define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1298static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1299 PyObject * _resultobj;
1300 wxBitmapButton * _arg0;
1301 int _arg1;
1302 int _arg2;
1303 PyObject * _argo0 = 0;
1304 char *_kwnames[] = { "self","x","y", NULL };
1305
1306 self = self;
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1308 return NULL;
1309 if (_argo0) {
1310 if (_argo0 == Py_None) { _arg0 = NULL; }
1311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1313 return NULL;
1314 }
1315 }
1316{
1317 wxPy_BEGIN_ALLOW_THREADS;
1318 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
1319
1320 wxPy_END_ALLOW_THREADS;
4dfaa61e 1321 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1322} Py_INCREF(Py_None);
1323 _resultobj = Py_None;
1324 return _resultobj;
1325}
1326
1327#define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1328static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1329 PyObject * _resultobj;
1330 int _result;
1331 wxBitmapButton * _arg0;
1332 PyObject * _argo0 = 0;
1333 char *_kwnames[] = { "self", NULL };
1334
1335 self = self;
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0))
1337 return NULL;
1338 if (_argo0) {
1339 if (_argo0 == Py_None) { _arg0 = NULL; }
1340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1342 return NULL;
1343 }
1344 }
1345{
1346 wxPy_BEGIN_ALLOW_THREADS;
1347 _result = (int )wxBitmapButton_GetMarginX(_arg0);
1348
1349 wxPy_END_ALLOW_THREADS;
4dfaa61e 1350 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1351} _resultobj = Py_BuildValue("i",_result);
1352 return _resultobj;
1353}
1354
1355#define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1356static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject * _resultobj;
1358 int _result;
1359 wxBitmapButton * _arg0;
1360 PyObject * _argo0 = 0;
1361 char *_kwnames[] = { "self", NULL };
1362
1363 self = self;
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0))
1365 return NULL;
1366 if (_argo0) {
1367 if (_argo0 == Py_None) { _arg0 = NULL; }
1368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1370 return NULL;
1371 }
1372 }
1373{
1374 wxPy_BEGIN_ALLOW_THREADS;
1375 _result = (int )wxBitmapButton_GetMarginY(_arg0);
1376
1377 wxPy_END_ALLOW_THREADS;
4dfaa61e 1378 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1379} _resultobj = Py_BuildValue("i",_result);
1380 return _resultobj;
1381}
1382
70551f47
RD
1383static void *SwigwxCheckBoxTowxControl(void *ptr) {
1384 wxCheckBox *src;
1385 wxControl *dest;
1386 src = (wxCheckBox *) ptr;
1387 dest = (wxControl *) src;
1388 return (void *) dest;
1389}
1390
1391static void *SwigwxCheckBoxTowxWindow(void *ptr) {
1392 wxCheckBox *src;
1393 wxWindow *dest;
1394 src = (wxCheckBox *) ptr;
1395 dest = (wxWindow *) src;
1396 return (void *) dest;
1397}
1398
1399static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
1400 wxCheckBox *src;
1401 wxEvtHandler *dest;
1402 src = (wxCheckBox *) ptr;
1403 dest = (wxEvtHandler *) src;
1404 return (void *) dest;
1405}
1406
9df61a29
RD
1407static void *SwigwxCheckBoxTowxObject(void *ptr) {
1408 wxCheckBox *src;
1409 wxObject *dest;
1410 src = (wxCheckBox *) ptr;
1411 dest = (wxObject *) src;
1412 return (void *) dest;
1413}
1414
70551f47 1415#define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 1416static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1417 PyObject * _resultobj;
1418 wxCheckBox * _result;
1419 wxWindow * _arg0;
1420 wxWindowID _arg1;
1421 wxString * _arg2;
b68dc582
RD
1422 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1423 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 1424 long _arg5 = (long ) 0;
b68dc582 1425 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
1426 char * _arg7 = (char *) "checkBox";
1427 PyObject * _argo0 = 0;
70551f47 1428 PyObject * _obj2 = 0;
37f6a977
RD
1429 wxPoint temp;
1430 PyObject * _obj3 = 0;
1431 wxSize temp0;
1432 PyObject * _obj4 = 0;
2d091820 1433 PyObject * _argo6 = 0;
107e4716 1434 char *_kwnames[] = { "parent","id","label","pos","size","style","val","name", NULL };
70551f47
RD
1435 char _ptemp[128];
1436
1437 self = self;
37f6a977 1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 1439 return NULL;
2d091820
RD
1440 if (_argo0) {
1441 if (_argo0 == Py_None) { _arg0 = NULL; }
1442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
1443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1444 return NULL;
1445 }
1446 }
1447{
2cd2fac8
RD
1448#if PYTHON_API_VERSION >= 1009
1449 char* tmpPtr; int tmpSize;
1450 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 1451 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1452 return NULL;
1453 }
1454 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1455 return NULL;
1456 _arg2 = new wxString(tmpPtr, tmpSize);
1457#else
70551f47
RD
1458 if (!PyString_Check(_obj2)) {
1459 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1460 return NULL;
1461 }
2cd2fac8
RD
1462 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1463#endif
70551f47 1464}
37f6a977
RD
1465 if (_obj3)
1466{
1467 _arg3 = &temp;
1468 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 1469 return NULL;
37f6a977
RD
1470}
1471 if (_obj4)
1472{
1473 _arg4 = &temp0;
1474 if (! wxSize_helper(_obj4, &_arg4))
70551f47 1475 return NULL;
37f6a977 1476}
2d091820
RD
1477 if (_argo6) {
1478 if (_argo6 == Py_None) { _arg6 = NULL; }
1479 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
1480 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1481 return NULL;
1482 }
1483 }
ab9bc19b
RD
1484{
1485 wxPy_BEGIN_ALLOW_THREADS;
1486 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
1487
1488 wxPy_END_ALLOW_THREADS;
4dfaa61e 1489 if (PyErr_Occurred()) return NULL;
2d091820
RD
1490} if (_result) {
1491 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
1492 _resultobj = Py_BuildValue("s",_ptemp);
1493 } else {
1494 Py_INCREF(Py_None);
1495 _resultobj = Py_None;
1496 }
70551f47
RD
1497{
1498 if (_obj2)
1499 delete _arg2;
1500}
1501 return _resultobj;
1502}
1503
aa2a5b86
RD
1504#define new_wxPreCheckBox() (new wxCheckBox())
1505static PyObject *_wrap_new_wxPreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1506 PyObject * _resultobj;
1507 wxCheckBox * _result;
1508 char *_kwnames[] = { NULL };
1509 char _ptemp[128];
1510
1511 self = self;
1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckBox",_kwnames))
1513 return NULL;
1514{
1515 wxPy_BEGIN_ALLOW_THREADS;
1516 _result = (wxCheckBox *)new_wxPreCheckBox();
1517
1518 wxPy_END_ALLOW_THREADS;
1519 if (PyErr_Occurred()) return NULL;
1520} if (_result) {
1521 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
1522 _resultobj = Py_BuildValue("s",_ptemp);
1523 } else {
1524 Py_INCREF(Py_None);
1525 _resultobj = Py_None;
1526 }
1527 return _resultobj;
1528}
1529
1530#define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1531static PyObject *_wrap_wxCheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1532 PyObject * _resultobj;
1533 bool _result;
1534 wxCheckBox * _arg0;
1535 wxWindow * _arg1;
1536 wxWindowID _arg2;
1537 wxString * _arg3;
1538 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1539 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1540 long _arg6 = (long ) 0;
1541 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1542 char * _arg8 = (char *) "checkBox";
1543 PyObject * _argo0 = 0;
1544 PyObject * _argo1 = 0;
1545 PyObject * _obj3 = 0;
1546 wxPoint temp;
1547 PyObject * _obj4 = 0;
1548 wxSize temp0;
1549 PyObject * _obj5 = 0;
1550 PyObject * _argo7 = 0;
1551 char *_kwnames[] = { "self","parent","id","label","pos","size","style","val","name", NULL };
1552
1553 self = self;
1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxCheckBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
1555 return NULL;
1556 if (_argo0) {
1557 if (_argo0 == Py_None) { _arg0 = NULL; }
1558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
1559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
1560 return NULL;
1561 }
1562 }
1563 if (_argo1) {
1564 if (_argo1 == Py_None) { _arg1 = NULL; }
1565 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1566 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
1567 return NULL;
1568 }
1569 }
1570{
1571#if PYTHON_API_VERSION >= 1009
1572 char* tmpPtr; int tmpSize;
1573 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
1574 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1575 return NULL;
1576 }
1577 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
1578 return NULL;
1579 _arg3 = new wxString(tmpPtr, tmpSize);
1580#else
1581 if (!PyString_Check(_obj3)) {
1582 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1583 return NULL;
1584 }
1585 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
1586#endif
1587}
1588 if (_obj4)
1589{
1590 _arg4 = &temp;
1591 if (! wxPoint_helper(_obj4, &_arg4))
1592 return NULL;
1593}
1594 if (_obj5)
1595{
1596 _arg5 = &temp0;
1597 if (! wxSize_helper(_obj5, &_arg5))
1598 return NULL;
1599}
1600 if (_argo7) {
1601 if (_argo7 == Py_None) { _arg7 = NULL; }
1602 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1603 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
1604 return NULL;
1605 }
1606 }
1607{
1608 wxPy_BEGIN_ALLOW_THREADS;
1609 _result = (bool )wxCheckBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
1610
1611 wxPy_END_ALLOW_THREADS;
1612 if (PyErr_Occurred()) return NULL;
1613} _resultobj = Py_BuildValue("i",_result);
1614{
1615 if (_obj3)
1616 delete _arg3;
1617}
1618 return _resultobj;
1619}
1620
70551f47 1621#define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 1622static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1623 PyObject * _resultobj;
1624 bool _result;
1625 wxCheckBox * _arg0;
2d091820 1626 PyObject * _argo0 = 0;
107e4716 1627 char *_kwnames[] = { "self", NULL };
70551f47
RD
1628
1629 self = self;
107e4716 1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
70551f47 1631 return NULL;
2d091820
RD
1632 if (_argo0) {
1633 if (_argo0 == Py_None) { _arg0 = NULL; }
1634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
70551f47
RD
1635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1636 return NULL;
1637 }
1638 }
ab9bc19b
RD
1639{
1640 wxPy_BEGIN_ALLOW_THREADS;
1641 _result = (bool )wxCheckBox_GetValue(_arg0);
1642
1643 wxPy_END_ALLOW_THREADS;
4dfaa61e 1644 if (PyErr_Occurred()) return NULL;
ab9bc19b 1645} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
1646 return _resultobj;
1647}
1648
1649#define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 1650static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1651 PyObject * _resultobj;
1652 wxCheckBox * _arg0;
1653 bool _arg1;
2d091820 1654 PyObject * _argo0 = 0;
70551f47 1655 int tempbool1;
107e4716 1656 char *_kwnames[] = { "self","state", NULL };
70551f47
RD
1657
1658 self = self;
107e4716 1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
70551f47 1660 return NULL;
2d091820
RD
1661 if (_argo0) {
1662 if (_argo0 == Py_None) { _arg0 = NULL; }
1663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
70551f47
RD
1664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1665 return NULL;
1666 }
1667 }
1668 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
1669{
1670 wxPy_BEGIN_ALLOW_THREADS;
1671 wxCheckBox_SetValue(_arg0,_arg1);
1672
1673 wxPy_END_ALLOW_THREADS;
4dfaa61e 1674 if (PyErr_Occurred()) return NULL;
ab9bc19b 1675} Py_INCREF(Py_None);
70551f47
RD
1676 _resultobj = Py_None;
1677 return _resultobj;
1678}
1679
1680static void *SwigwxChoiceTowxControl(void *ptr) {
1681 wxChoice *src;
1682 wxControl *dest;
1683 src = (wxChoice *) ptr;
1684 dest = (wxControl *) src;
1685 return (void *) dest;
1686}
1687
1688static void *SwigwxChoiceTowxWindow(void *ptr) {
1689 wxChoice *src;
1690 wxWindow *dest;
1691 src = (wxChoice *) ptr;
1692 dest = (wxWindow *) src;
1693 return (void *) dest;
1694}
1695
1696static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
1697 wxChoice *src;
1698 wxEvtHandler *dest;
1699 src = (wxChoice *) ptr;
1700 dest = (wxEvtHandler *) src;
1701 return (void *) dest;
1702}
1703
9df61a29
RD
1704static void *SwigwxChoiceTowxObject(void *ptr) {
1705 wxChoice *src;
1706 wxObject *dest;
1707 src = (wxChoice *) ptr;
1708 dest = (wxObject *) src;
1709 return (void *) dest;
1710}
1711
70551f47 1712#define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
107e4716 1713static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1714 PyObject * _resultobj;
1715 wxChoice * _result;
1716 wxWindow * _arg0;
1717 wxWindowID _arg1;
b68dc582
RD
1718 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1719 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
1720 int _arg4 = (int ) 0;
1721 wxString * _arg5 = (wxString *) NULL;
1722 long _arg6 = (long ) 0;
b68dc582 1723 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
1724 char * _arg8 = (char *) "choice";
1725 PyObject * _argo0 = 0;
37f6a977
RD
1726 wxPoint temp;
1727 PyObject * _obj2 = 0;
1728 wxSize temp0;
1729 PyObject * _obj3 = 0;
70551f47 1730 PyObject * _obj5 = 0;
2d091820 1731 PyObject * _argo7 = 0;
e02c03a4 1732 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
70551f47
RD
1733 char _ptemp[128];
1734
1735 self = self;
37f6a977 1736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
70551f47 1737 return NULL;
2d091820
RD
1738 if (_argo0) {
1739 if (_argo0 == Py_None) { _arg0 = NULL; }
1740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
1741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1742 return NULL;
1743 }
1744 }
37f6a977
RD
1745 if (_obj2)
1746{
1747 _arg2 = &temp;
1748 if (! wxPoint_helper(_obj2, &_arg2))
70551f47 1749 return NULL;
37f6a977
RD
1750}
1751 if (_obj3)
1752{
1753 _arg3 = &temp0;
1754 if (! wxSize_helper(_obj3, &_arg3))
70551f47 1755 return NULL;
37f6a977 1756}
70551f47
RD
1757 if (_obj5)
1758{
1759 _arg5 = wxString_LIST_helper(_obj5);
1760 if (_arg5 == NULL) {
1761 return NULL;
1762 }
1763}
2d091820
RD
1764 if (_argo7) {
1765 if (_argo7 == Py_None) { _arg7 = NULL; }
1766 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
70551f47
RD
1767 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1768 return NULL;
1769 }
1770 }
1771{
ab9bc19b
RD
1772 if (_obj5) {
1773 _arg4 = PyList_Size(_obj5);
1774 }
1775 else {
1776 _arg4 = 0;
1777 }
70551f47 1778}
ab9bc19b
RD
1779{
1780 wxPy_BEGIN_ALLOW_THREADS;
1781 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
1782
1783 wxPy_END_ALLOW_THREADS;
4dfaa61e 1784 if (PyErr_Occurred()) return NULL;
2d091820
RD
1785} if (_result) {
1786 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
1787 _resultobj = Py_BuildValue("s",_ptemp);
1788 } else {
1789 Py_INCREF(Py_None);
1790 _resultobj = Py_None;
1791 }
70551f47
RD
1792{
1793 delete [] _arg5;
1794}
1795 return _resultobj;
1796}
1797
aa2a5b86
RD
1798#define new_wxPreChoice() (new wxChoice())
1799static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 1800 PyObject * _resultobj;
aa2a5b86
RD
1801 wxChoice * _result;
1802 char *_kwnames[] = { NULL };
1803 char _ptemp[128];
70551f47
RD
1804
1805 self = self;
aa2a5b86
RD
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
1807 return NULL;
1808{
1809 wxPy_BEGIN_ALLOW_THREADS;
1810 _result = (wxChoice *)new_wxPreChoice();
1811
1812 wxPy_END_ALLOW_THREADS;
1813 if (PyErr_Occurred()) return NULL;
1814} if (_result) {
1815 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
1816 _resultobj = Py_BuildValue("s",_ptemp);
1817 } else {
1818 Py_INCREF(Py_None);
1819 _resultobj = Py_None;
1820 }
1821 return _resultobj;
1822}
1823
1824#define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1825static PyObject *_wrap_wxChoice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1826 PyObject * _resultobj;
1827 bool _result;
1828 wxChoice * _arg0;
1829 wxWindow * _arg1;
1830 wxWindowID _arg2;
1831 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1832 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1833 int _arg5 = (int ) 0;
1834 wxString * _arg6 = (wxString *) NULL;
1835 long _arg7 = (long ) 0;
1836 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
1837 char * _arg9 = (char *) "choice";
1838 PyObject * _argo0 = 0;
1839 PyObject * _argo1 = 0;
1840 wxPoint temp;
1841 PyObject * _obj3 = 0;
1842 wxSize temp0;
1843 PyObject * _obj4 = 0;
1844 PyObject * _obj6 = 0;
1845 PyObject * _argo8 = 0;
1846 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
1847
1848 self = self;
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
1850 return NULL;
1851 if (_argo0) {
1852 if (_argo0 == Py_None) { _arg0 = NULL; }
1853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
1855 return NULL;
1856 }
1857 }
1858 if (_argo1) {
1859 if (_argo1 == Py_None) { _arg1 = NULL; }
1860 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1861 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
1862 return NULL;
1863 }
1864 }
1865 if (_obj3)
1866{
1867 _arg3 = &temp;
1868 if (! wxPoint_helper(_obj3, &_arg3))
1869 return NULL;
1870}
1871 if (_obj4)
1872{
1873 _arg4 = &temp0;
1874 if (! wxSize_helper(_obj4, &_arg4))
1875 return NULL;
1876}
1877 if (_obj6)
1878{
1879 _arg6 = wxString_LIST_helper(_obj6);
1880 if (_arg6 == NULL) {
1881 return NULL;
1882 }
1883}
1884 if (_argo8) {
1885 if (_argo8 == Py_None) { _arg8 = NULL; }
1886 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
1887 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
1888 return NULL;
1889 }
1890 }
1891{
1892 if (_obj6) {
1893 _arg5 = PyList_Size(_obj6);
1894 }
1895 else {
1896 _arg5 = 0;
1897 }
1898}
1899{
1900 wxPy_BEGIN_ALLOW_THREADS;
1901 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
1902
1903 wxPy_END_ALLOW_THREADS;
1904 if (PyErr_Occurred()) return NULL;
1905} _resultobj = Py_BuildValue("i",_result);
1906{
1907 delete [] _arg6;
1908}
1909 return _resultobj;
1910}
1911
1912#define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1913static PyObject *_wrap_wxChoice_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
1914 PyObject * _resultobj;
1915 wxChoice * _arg0;
1916 wxString * _arg1;
1917 PyObject * _argo0 = 0;
1918 PyObject * _obj1 = 0;
1919 char *_kwnames[] = { "self","item", NULL };
1920
1921 self = self;
1922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_Append",_kwnames,&_argo0,&_obj1))
70551f47 1923 return NULL;
2d091820
RD
1924 if (_argo0) {
1925 if (_argo0 == Py_None) { _arg0 = NULL; }
1926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
1927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1928 return NULL;
1929 }
1930 }
1931{
2cd2fac8
RD
1932#if PYTHON_API_VERSION >= 1009
1933 char* tmpPtr; int tmpSize;
1934 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1935 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1936 return NULL;
1937 }
1938 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1939 return NULL;
1940 _arg1 = new wxString(tmpPtr, tmpSize);
1941#else
70551f47
RD
1942 if (!PyString_Check(_obj1)) {
1943 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1944 return NULL;
1945 }
2cd2fac8
RD
1946 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1947#endif
70551f47 1948}
ab9bc19b
RD
1949{
1950 wxPy_BEGIN_ALLOW_THREADS;
1951 wxChoice_Append(_arg0,*_arg1);
1952
1953 wxPy_END_ALLOW_THREADS;
4dfaa61e 1954 if (PyErr_Occurred()) return NULL;
ab9bc19b 1955} Py_INCREF(Py_None);
70551f47
RD
1956 _resultobj = Py_None;
1957{
1958 if (_obj1)
1959 delete _arg1;
1960}
1961 return _resultobj;
1962}
1963
1964#define wxChoice_Clear(_swigobj) (_swigobj->Clear())
107e4716 1965static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1966 PyObject * _resultobj;
1967 wxChoice * _arg0;
2d091820 1968 PyObject * _argo0 = 0;
107e4716 1969 char *_kwnames[] = { "self", NULL };
70551f47
RD
1970
1971 self = self;
107e4716 1972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
70551f47 1973 return NULL;
2d091820
RD
1974 if (_argo0) {
1975 if (_argo0 == Py_None) { _arg0 = NULL; }
1976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
1977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1978 return NULL;
1979 }
1980 }
ab9bc19b
RD
1981{
1982 wxPy_BEGIN_ALLOW_THREADS;
1983 wxChoice_Clear(_arg0);
1984
1985 wxPy_END_ALLOW_THREADS;
4dfaa61e 1986 if (PyErr_Occurred()) return NULL;
ab9bc19b 1987} Py_INCREF(Py_None);
70551f47
RD
1988 _resultobj = Py_None;
1989 return _resultobj;
1990}
1991
2c8a649d
RD
1992#define wxChoice_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1993static PyObject *_wrap_wxChoice_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
1994 PyObject * _resultobj;
1995 wxChoice * _arg0;
1996 int _arg1;
1997 PyObject * _argo0 = 0;
1998 char *_kwnames[] = { "self","n", NULL };
1999
2000 self = self;
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_Delete",_kwnames,&_argo0,&_arg1))
2002 return NULL;
2003 if (_argo0) {
2004 if (_argo0 == Py_None) { _arg0 = NULL; }
2005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Delete. Expected _wxChoice_p.");
2007 return NULL;
2008 }
2009 }
2010{
2011 wxPy_BEGIN_ALLOW_THREADS;
2012 wxChoice_Delete(_arg0,_arg1);
2013
2014 wxPy_END_ALLOW_THREADS;
2015 if (PyErr_Occurred()) return NULL;
2016} Py_INCREF(Py_None);
2017 _resultobj = Py_None;
2018 return _resultobj;
2019}
2020
70551f47 2021#define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
107e4716 2022static PyObject *_wrap_wxChoice_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2023 PyObject * _resultobj;
2024 int _result;
2025 wxChoice * _arg0;
2026 wxString * _arg1;
2d091820 2027 PyObject * _argo0 = 0;
70551f47 2028 PyObject * _obj1 = 0;
107e4716 2029 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
2030
2031 self = self;
107e4716 2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_FindString",_kwnames,&_argo0,&_obj1))
70551f47 2033 return NULL;
2d091820
RD
2034 if (_argo0) {
2035 if (_argo0 == Py_None) { _arg0 = NULL; }
2036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
2038 return NULL;
2039 }
2040 }
2041{
2cd2fac8
RD
2042#if PYTHON_API_VERSION >= 1009
2043 char* tmpPtr; int tmpSize;
2044 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2045 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2046 return NULL;
2047 }
2048 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2049 return NULL;
2050 _arg1 = new wxString(tmpPtr, tmpSize);
2051#else
70551f47
RD
2052 if (!PyString_Check(_obj1)) {
2053 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2054 return NULL;
2055 }
2cd2fac8
RD
2056 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2057#endif
70551f47 2058}
ab9bc19b
RD
2059{
2060 wxPy_BEGIN_ALLOW_THREADS;
2061 _result = (int )wxChoice_FindString(_arg0,*_arg1);
2062
2063 wxPy_END_ALLOW_THREADS;
4dfaa61e 2064 if (PyErr_Occurred()) return NULL;
ab9bc19b 2065} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2066{
2067 if (_obj1)
2068 delete _arg1;
2069}
2070 return _resultobj;
2071}
2072
2073#define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
107e4716 2074static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2075 PyObject * _resultobj;
2076 int _result;
2077 wxChoice * _arg0;
2d091820 2078 PyObject * _argo0 = 0;
107e4716 2079 char *_kwnames[] = { "self", NULL };
70551f47
RD
2080
2081 self = self;
107e4716 2082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
70551f47 2083 return NULL;
2d091820
RD
2084 if (_argo0) {
2085 if (_argo0 == Py_None) { _arg0 = NULL; }
2086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2088 return NULL;
2089 }
2090 }
ab9bc19b
RD
2091{
2092 wxPy_BEGIN_ALLOW_THREADS;
2093 _result = (int )wxChoice_GetColumns(_arg0);
2094
2095 wxPy_END_ALLOW_THREADS;
4dfaa61e 2096 if (PyErr_Occurred()) return NULL;
ab9bc19b 2097} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2098 return _resultobj;
2099}
2100
2101#define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
107e4716 2102static PyObject *_wrap_wxChoice_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2103 PyObject * _resultobj;
2104 int _result;
2105 wxChoice * _arg0;
2d091820 2106 PyObject * _argo0 = 0;
107e4716 2107 char *_kwnames[] = { "self", NULL };
70551f47
RD
2108
2109 self = self;
107e4716 2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetSelection",_kwnames,&_argo0))
70551f47 2111 return NULL;
2d091820
RD
2112 if (_argo0) {
2113 if (_argo0 == Py_None) { _arg0 = NULL; }
2114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
2116 return NULL;
2117 }
2118 }
ab9bc19b
RD
2119{
2120 wxPy_BEGIN_ALLOW_THREADS;
2121 _result = (int )wxChoice_GetSelection(_arg0);
2122
2123 wxPy_END_ALLOW_THREADS;
4dfaa61e 2124 if (PyErr_Occurred()) return NULL;
ab9bc19b 2125} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2126 return _resultobj;
2127}
2128
2129#define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
107e4716 2130static PyObject *_wrap_wxChoice_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2131 PyObject * _resultobj;
2132 wxString * _result;
2133 wxChoice * _arg0;
2134 int _arg1;
2d091820 2135 PyObject * _argo0 = 0;
107e4716 2136 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2137
2138 self = self;
107e4716 2139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_GetString",_kwnames,&_argo0,&_arg1))
70551f47 2140 return NULL;
2d091820
RD
2141 if (_argo0) {
2142 if (_argo0 == Py_None) { _arg0 = NULL; }
2143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
2145 return NULL;
2146 }
2147 }
70551f47 2148{
ab9bc19b
RD
2149 wxPy_BEGIN_ALLOW_THREADS;
2150 _result = new wxString (wxChoice_GetString(_arg0,_arg1));
2151
2152 wxPy_END_ALLOW_THREADS;
4dfaa61e 2153 if (PyErr_Occurred()) return NULL;
ab9bc19b 2154}{
e02c03a4 2155 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
2156}
2157{
2158 delete _result;
2159}
2160 return _resultobj;
2161}
2162
2163#define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
107e4716 2164static PyObject *_wrap_wxChoice_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2165 PyObject * _resultobj;
2166 wxString * _result;
2167 wxChoice * _arg0;
2d091820 2168 PyObject * _argo0 = 0;
107e4716 2169 char *_kwnames[] = { "self", NULL };
70551f47
RD
2170
2171 self = self;
107e4716 2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetStringSelection",_kwnames,&_argo0))
70551f47 2173 return NULL;
2d091820
RD
2174 if (_argo0) {
2175 if (_argo0 == Py_None) { _arg0 = NULL; }
2176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
2178 return NULL;
2179 }
2180 }
70551f47 2181{
ab9bc19b
RD
2182 wxPy_BEGIN_ALLOW_THREADS;
2183 _result = new wxString (wxChoice_GetStringSelection(_arg0));
2184
2185 wxPy_END_ALLOW_THREADS;
4dfaa61e 2186 if (PyErr_Occurred()) return NULL;
ab9bc19b 2187}{
e02c03a4 2188 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
2189}
2190{
2191 delete _result;
2192}
2193 return _resultobj;
2194}
2195
2c8a649d
RD
2196#define wxChoice_GetCount(_swigobj) (_swigobj->GetCount())
2197static PyObject *_wrap_wxChoice_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2198 PyObject * _resultobj;
2199 int _result;
2200 wxChoice * _arg0;
2d091820 2201 PyObject * _argo0 = 0;
107e4716 2202 char *_kwnames[] = { "self", NULL };
70551f47
RD
2203
2204 self = self;
2c8a649d 2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetCount",_kwnames,&_argo0))
70551f47 2206 return NULL;
2d091820
RD
2207 if (_argo0) {
2208 if (_argo0 == Py_None) { _arg0 = NULL; }
2209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2c8a649d 2210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetCount. Expected _wxChoice_p.");
70551f47
RD
2211 return NULL;
2212 }
2213 }
ab9bc19b
RD
2214{
2215 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 2216 _result = (int )wxChoice_GetCount(_arg0);
ab9bc19b
RD
2217
2218 wxPy_END_ALLOW_THREADS;
4dfaa61e 2219 if (PyErr_Occurred()) return NULL;
ab9bc19b 2220} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2221 return _resultobj;
2222}
2223
2224#define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
107e4716 2225static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2226 PyObject * _resultobj;
2227 wxChoice * _arg0;
2d091820
RD
2228 int _arg1 = (int ) 1;
2229 PyObject * _argo0 = 0;
107e4716 2230 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2231
2232 self = self;
107e4716 2233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
70551f47 2234 return NULL;
2d091820
RD
2235 if (_argo0) {
2236 if (_argo0 == Py_None) { _arg0 = NULL; }
2237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2239 return NULL;
2240 }
2241 }
ab9bc19b
RD
2242{
2243 wxPy_BEGIN_ALLOW_THREADS;
2244 wxChoice_SetColumns(_arg0,_arg1);
2245
2246 wxPy_END_ALLOW_THREADS;
4dfaa61e 2247 if (PyErr_Occurred()) return NULL;
ab9bc19b 2248} Py_INCREF(Py_None);
70551f47
RD
2249 _resultobj = Py_None;
2250 return _resultobj;
2251}
2252
2253#define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 2254static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2255 PyObject * _resultobj;
2256 wxChoice * _arg0;
2257 int _arg1;
2d091820 2258 PyObject * _argo0 = 0;
107e4716 2259 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2260
2261 self = self;
107e4716 2262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 2263 return NULL;
2d091820
RD
2264 if (_argo0) {
2265 if (_argo0 == Py_None) { _arg0 = NULL; }
2266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2268 return NULL;
2269 }
2270 }
ab9bc19b
RD
2271{
2272 wxPy_BEGIN_ALLOW_THREADS;
2273 wxChoice_SetSelection(_arg0,_arg1);
2274
2275 wxPy_END_ALLOW_THREADS;
4dfaa61e 2276 if (PyErr_Occurred()) return NULL;
ab9bc19b 2277} Py_INCREF(Py_None);
70551f47
RD
2278 _resultobj = Py_None;
2279 return _resultobj;
2280}
2281
2282#define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
107e4716 2283static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2284 PyObject * _resultobj;
2285 wxChoice * _arg0;
2286 wxString * _arg1;
2d091820 2287 PyObject * _argo0 = 0;
70551f47 2288 PyObject * _obj1 = 0;
107e4716 2289 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
2290
2291 self = self;
107e4716 2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
70551f47 2293 return NULL;
2d091820
RD
2294 if (_argo0) {
2295 if (_argo0 == Py_None) { _arg0 = NULL; }
2296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2298 return NULL;
2299 }
2300 }
2301{
2cd2fac8
RD
2302#if PYTHON_API_VERSION >= 1009
2303 char* tmpPtr; int tmpSize;
2304 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2305 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2306 return NULL;
2307 }
2308 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2309 return NULL;
2310 _arg1 = new wxString(tmpPtr, tmpSize);
2311#else
70551f47
RD
2312 if (!PyString_Check(_obj1)) {
2313 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2314 return NULL;
2315 }
2cd2fac8
RD
2316 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2317#endif
70551f47 2318}
ab9bc19b
RD
2319{
2320 wxPy_BEGIN_ALLOW_THREADS;
2321 wxChoice_SetStringSelection(_arg0,*_arg1);
2322
2323 wxPy_END_ALLOW_THREADS;
4dfaa61e 2324 if (PyErr_Occurred()) return NULL;
ab9bc19b 2325} Py_INCREF(Py_None);
70551f47
RD
2326 _resultobj = Py_None;
2327{
2328 if (_obj1)
2329 delete _arg1;
2330}
2331 return _resultobj;
2332}
2333
2c8a649d
RD
2334#define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2335static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2336 PyObject * _resultobj;
2337 wxChoice * _arg0;
2338 int _arg1;
2339 wxString * _arg2;
2340 PyObject * _argo0 = 0;
2341 PyObject * _obj2 = 0;
2342 char *_kwnames[] = { "self","n","s", NULL };
2343
2344 self = self;
2345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
2346 return NULL;
2347 if (_argo0) {
2348 if (_argo0 == Py_None) { _arg0 = NULL; }
2349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2351 return NULL;
2352 }
2353 }
2354{
2355#if PYTHON_API_VERSION >= 1009
2356 char* tmpPtr; int tmpSize;
2357 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2358 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2359 return NULL;
2360 }
2361 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2362 return NULL;
2363 _arg2 = new wxString(tmpPtr, tmpSize);
2364#else
2365 if (!PyString_Check(_obj2)) {
2366 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2367 return NULL;
2368 }
2369 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2370#endif
2371}
2372{
2373 wxPy_BEGIN_ALLOW_THREADS;
2374 wxChoice_SetString(_arg0,_arg1,*_arg2);
2375
2376 wxPy_END_ALLOW_THREADS;
2377 if (PyErr_Occurred()) return NULL;
2378} Py_INCREF(Py_None);
2379 _resultobj = Py_None;
2380{
2381 if (_obj2)
2382 delete _arg2;
2383}
2384 return _resultobj;
2385}
2386
d24a34bb
RD
2387static void *SwigwxComboBoxTowxChoice(void *ptr) {
2388 wxComboBox *src;
2389 wxChoice *dest;
2390 src = (wxComboBox *) ptr;
2391 dest = (wxChoice *) src;
2392 return (void *) dest;
2393}
2394
70551f47
RD
2395static void *SwigwxComboBoxTowxControl(void *ptr) {
2396 wxComboBox *src;
2397 wxControl *dest;
2398 src = (wxComboBox *) ptr;
2399 dest = (wxControl *) src;
2400 return (void *) dest;
2401}
2402
2403static void *SwigwxComboBoxTowxWindow(void *ptr) {
2404 wxComboBox *src;
2405 wxWindow *dest;
2406 src = (wxComboBox *) ptr;
2407 dest = (wxWindow *) src;
2408 return (void *) dest;
2409}
2410
2411static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2412 wxComboBox *src;
2413 wxEvtHandler *dest;
2414 src = (wxComboBox *) ptr;
2415 dest = (wxEvtHandler *) src;
2416 return (void *) dest;
2417}
2418
9df61a29
RD
2419static void *SwigwxComboBoxTowxObject(void *ptr) {
2420 wxComboBox *src;
2421 wxObject *dest;
2422 src = (wxComboBox *) ptr;
2423 dest = (wxObject *) src;
2424 return (void *) dest;
2425}
2426
70551f47 2427#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))
107e4716 2428static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2429 PyObject * _resultobj;
2430 wxComboBox * _result;
2431 wxWindow * _arg0;
2432 wxWindowID _arg1;
2d091820 2433 char * _arg2 = (char *) "";
b68dc582
RD
2434 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2435 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
2436 int _arg5 = (int ) 0;
2437 wxString * _arg6 = (wxString *) NULL;
2438 long _arg7 = (long ) 0;
b68dc582 2439 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
2440 char * _arg9 = (char *) "comboBox";
2441 PyObject * _argo0 = 0;
37f6a977
RD
2442 wxPoint temp;
2443 PyObject * _obj3 = 0;
2444 wxSize temp0;
2445 PyObject * _obj4 = 0;
70551f47 2446 PyObject * _obj6 = 0;
2d091820 2447 PyObject * _argo8 = 0;
e02c03a4 2448 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
70551f47
RD
2449 char _ptemp[128];
2450
2451 self = self;
37f6a977 2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOOlOs:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
70551f47 2453 return NULL;
2d091820
RD
2454 if (_argo0) {
2455 if (_argo0 == Py_None) { _arg0 = NULL; }
2456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
2457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2458 return NULL;
2459 }
2460 }
37f6a977
RD
2461 if (_obj3)
2462{
2463 _arg3 = &temp;
2464 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 2465 return NULL;
37f6a977
RD
2466}
2467 if (_obj4)
2468{
2469 _arg4 = &temp0;
2470 if (! wxSize_helper(_obj4, &_arg4))
70551f47 2471 return NULL;
37f6a977 2472}
70551f47
RD
2473 if (_obj6)
2474{
2475 _arg6 = wxString_LIST_helper(_obj6);
2476 if (_arg6 == NULL) {
2477 return NULL;
2478 }
2479}
2d091820
RD
2480 if (_argo8) {
2481 if (_argo8 == Py_None) { _arg8 = NULL; }
2482 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
70551f47
RD
2483 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2484 return NULL;
2485 }
2486 }
2487{
ab9bc19b
RD
2488 if (_obj6) {
2489 _arg5 = PyList_Size(_obj6);
2490 }
2491 else {
2492 _arg5 = 0;
2493 }
70551f47 2494}
ab9bc19b
RD
2495{
2496 wxPy_BEGIN_ALLOW_THREADS;
2497 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
2498
2499 wxPy_END_ALLOW_THREADS;
4dfaa61e 2500 if (PyErr_Occurred()) return NULL;
2d091820
RD
2501} if (_result) {
2502 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2503 _resultobj = Py_BuildValue("s",_ptemp);
2504 } else {
2505 Py_INCREF(Py_None);
2506 _resultobj = Py_None;
2507 }
70551f47
RD
2508{
2509 delete [] _arg6;
2510}
2511 return _resultobj;
2512}
2513
aa2a5b86
RD
2514#define new_wxPreComboBox() (new wxComboBox())
2515static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject * _resultobj;
2517 wxComboBox * _result;
2518 char *_kwnames[] = { NULL };
2519 char _ptemp[128];
2520
2521 self = self;
2522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2523 return NULL;
2524{
2525 wxPy_BEGIN_ALLOW_THREADS;
2526 _result = (wxComboBox *)new_wxPreComboBox();
2527
2528 wxPy_END_ALLOW_THREADS;
2529 if (PyErr_Occurred()) return NULL;
2530} if (_result) {
2531 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2532 _resultobj = Py_BuildValue("s",_ptemp);
2533 } else {
2534 Py_INCREF(Py_None);
2535 _resultobj = Py_None;
2536 }
2537 return _resultobj;
2538}
2539
2540#define wxComboBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
2541static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2542 PyObject * _resultobj;
2543 bool _result;
2544 wxComboBox * _arg0;
2545 wxWindow * _arg1;
2546 wxWindowID _arg2;
2547 char * _arg3 = (char *) "";
2548 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2549 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2550 int _arg6 = (int ) 0;
2551 wxString * _arg7 = (wxString *) NULL;
2552 long _arg8 = (long ) 0;
2553 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
2554 char * _arg10 = (char *) "comboBox";
2555 PyObject * _argo0 = 0;
2556 PyObject * _argo1 = 0;
2557 wxPoint temp;
2558 PyObject * _obj4 = 0;
2559 wxSize temp0;
2560 PyObject * _obj5 = 0;
2561 PyObject * _obj7 = 0;
2562 PyObject * _argo9 = 0;
2563 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2564
2565 self = self;
2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|sOOOlOs:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_arg10))
2567 return NULL;
2568 if (_argo0) {
2569 if (_argo0 == Py_None) { _arg0 = NULL; }
2570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2572 return NULL;
2573 }
2574 }
2575 if (_argo1) {
2576 if (_argo1 == Py_None) { _arg1 = NULL; }
2577 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2578 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2579 return NULL;
2580 }
2581 }
2582 if (_obj4)
2583{
2584 _arg4 = &temp;
2585 if (! wxPoint_helper(_obj4, &_arg4))
2586 return NULL;
2587}
2588 if (_obj5)
2589{
2590 _arg5 = &temp0;
2591 if (! wxSize_helper(_obj5, &_arg5))
2592 return NULL;
2593}
2594 if (_obj7)
2595{
2596 _arg7 = wxString_LIST_helper(_obj7);
2597 if (_arg7 == NULL) {
2598 return NULL;
2599 }
2600}
2601 if (_argo9) {
2602 if (_argo9 == Py_None) { _arg9 = NULL; }
2603 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
2604 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2605 return NULL;
2606 }
2607 }
2608{
2609 if (_obj7) {
2610 _arg6 = PyList_Size(_obj7);
2611 }
2612 else {
2613 _arg6 = 0;
2614 }
2615}
2616{
2617 wxPy_BEGIN_ALLOW_THREADS;
2618 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
2619
2620 wxPy_END_ALLOW_THREADS;
2621 if (PyErr_Occurred()) return NULL;
2622} _resultobj = Py_BuildValue("i",_result);
2623{
2624 delete [] _arg7;
2625}
2626 return _resultobj;
2627}
2628
70551f47 2629#define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
107e4716 2630static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2631 PyObject * _resultobj;
2632 wxComboBox * _arg0;
2633 wxString * _arg1;
2d091820 2634 PyObject * _argo0 = 0;
70551f47 2635 PyObject * _obj1 = 0;
107e4716 2636 char *_kwnames[] = { "self","item", NULL };
70551f47
RD
2637
2638 self = self;
107e4716 2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_Append",_kwnames,&_argo0,&_obj1))
70551f47 2640 return NULL;
2d091820
RD
2641 if (_argo0) {
2642 if (_argo0 == Py_None) { _arg0 = NULL; }
2643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
2645 return NULL;
2646 }
2647 }
2648{
2cd2fac8
RD
2649#if PYTHON_API_VERSION >= 1009
2650 char* tmpPtr; int tmpSize;
2651 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2652 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2653 return NULL;
2654 }
2655 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2656 return NULL;
2657 _arg1 = new wxString(tmpPtr, tmpSize);
2658#else
70551f47
RD
2659 if (!PyString_Check(_obj1)) {
2660 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2661 return NULL;
2662 }
2cd2fac8
RD
2663 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2664#endif
70551f47 2665}
ab9bc19b
RD
2666{
2667 wxPy_BEGIN_ALLOW_THREADS;
2668 wxComboBox_Append(_arg0,*_arg1);
2669
2670 wxPy_END_ALLOW_THREADS;
4dfaa61e 2671 if (PyErr_Occurred()) return NULL;
ab9bc19b 2672} Py_INCREF(Py_None);
70551f47
RD
2673 _resultobj = Py_None;
2674{
2675 if (_obj1)
2676 delete _arg1;
2677}
2678 return _resultobj;
2679}
2680
2681#define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
107e4716 2682static PyObject *_wrap_wxComboBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2683 PyObject * _resultobj;
2684 wxComboBox * _arg0;
2d091820 2685 PyObject * _argo0 = 0;
107e4716 2686 char *_kwnames[] = { "self", NULL };
70551f47
RD
2687
2688 self = self;
107e4716 2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Clear",_kwnames,&_argo0))
70551f47 2690 return NULL;
2d091820
RD
2691 if (_argo0) {
2692 if (_argo0 == Py_None) { _arg0 = NULL; }
2693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
2695 return NULL;
2696 }
2697 }
ab9bc19b
RD
2698{
2699 wxPy_BEGIN_ALLOW_THREADS;
2700 wxComboBox_Clear(_arg0);
2701
2702 wxPy_END_ALLOW_THREADS;
4dfaa61e 2703 if (PyErr_Occurred()) return NULL;
ab9bc19b 2704} Py_INCREF(Py_None);
70551f47
RD
2705 _resultobj = Py_None;
2706 return _resultobj;
2707}
2708
2709#define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
107e4716 2710static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2711 PyObject * _resultobj;
2712 wxComboBox * _arg0;
2d091820 2713 PyObject * _argo0 = 0;
107e4716 2714 char *_kwnames[] = { "self", NULL };
70551f47
RD
2715
2716 self = self;
107e4716 2717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
70551f47 2718 return NULL;
2d091820
RD
2719 if (_argo0) {
2720 if (_argo0 == Py_None) { _arg0 = NULL; }
2721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2723 return NULL;
2724 }
2725 }
ab9bc19b
RD
2726{
2727 wxPy_BEGIN_ALLOW_THREADS;
2728 wxComboBox_Copy(_arg0);
2729
2730 wxPy_END_ALLOW_THREADS;
4dfaa61e 2731 if (PyErr_Occurred()) return NULL;
ab9bc19b 2732} Py_INCREF(Py_None);
70551f47
RD
2733 _resultobj = Py_None;
2734 return _resultobj;
2735}
2736
2737#define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
107e4716 2738static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2739 PyObject * _resultobj;
2740 wxComboBox * _arg0;
2d091820 2741 PyObject * _argo0 = 0;
107e4716 2742 char *_kwnames[] = { "self", NULL };
70551f47
RD
2743
2744 self = self;
107e4716 2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
70551f47 2746 return NULL;
2d091820
RD
2747 if (_argo0) {
2748 if (_argo0 == Py_None) { _arg0 = NULL; }
2749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2751 return NULL;
2752 }
2753 }
ab9bc19b
RD
2754{
2755 wxPy_BEGIN_ALLOW_THREADS;
2756 wxComboBox_Cut(_arg0);
2757
2758 wxPy_END_ALLOW_THREADS;
4dfaa61e 2759 if (PyErr_Occurred()) return NULL;
ab9bc19b 2760} Py_INCREF(Py_None);
70551f47
RD
2761 _resultobj = Py_None;
2762 return _resultobj;
2763}
2764
2765#define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
107e4716 2766static PyObject *_wrap_wxComboBox_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2767 PyObject * _resultobj;
2768 wxComboBox * _arg0;
2769 int _arg1;
2d091820 2770 PyObject * _argo0 = 0;
107e4716 2771 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2772
2773 self = self;
107e4716 2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_Delete",_kwnames,&_argo0,&_arg1))
70551f47 2775 return NULL;
2d091820
RD
2776 if (_argo0) {
2777 if (_argo0 == Py_None) { _arg0 = NULL; }
2778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
2780 return NULL;
2781 }
2782 }
ab9bc19b
RD
2783{
2784 wxPy_BEGIN_ALLOW_THREADS;
2785 wxComboBox_Delete(_arg0,_arg1);
2786
2787 wxPy_END_ALLOW_THREADS;
4dfaa61e 2788 if (PyErr_Occurred()) return NULL;
ab9bc19b 2789} Py_INCREF(Py_None);
70551f47
RD
2790 _resultobj = Py_None;
2791 return _resultobj;
2792}
2793
2794#define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
107e4716 2795static PyObject *_wrap_wxComboBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2796 PyObject * _resultobj;
2797 int _result;
2798 wxComboBox * _arg0;
2799 wxString * _arg1;
2d091820 2800 PyObject * _argo0 = 0;
70551f47 2801 PyObject * _obj1 = 0;
107e4716 2802 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
2803
2804 self = self;
107e4716 2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_FindString",_kwnames,&_argo0,&_obj1))
70551f47 2806 return NULL;
2d091820
RD
2807 if (_argo0) {
2808 if (_argo0 == Py_None) { _arg0 = NULL; }
2809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
2811 return NULL;
2812 }
2813 }
2814{
2cd2fac8
RD
2815#if PYTHON_API_VERSION >= 1009
2816 char* tmpPtr; int tmpSize;
2817 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2818 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2819 return NULL;
2820 }
2821 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2822 return NULL;
2823 _arg1 = new wxString(tmpPtr, tmpSize);
2824#else
70551f47
RD
2825 if (!PyString_Check(_obj1)) {
2826 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2827 return NULL;
2828 }
2cd2fac8
RD
2829 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2830#endif
70551f47 2831}
ab9bc19b
RD
2832{
2833 wxPy_BEGIN_ALLOW_THREADS;
2834 _result = (int )wxComboBox_FindString(_arg0,*_arg1);
2835
2836 wxPy_END_ALLOW_THREADS;
4dfaa61e 2837 if (PyErr_Occurred()) return NULL;
ab9bc19b 2838} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2839{
2840 if (_obj1)
2841 delete _arg1;
2842}
2843 return _resultobj;
2844}
2845
2846#define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
107e4716 2847static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2848 PyObject * _resultobj;
2849 long _result;
2850 wxComboBox * _arg0;
2d091820 2851 PyObject * _argo0 = 0;
107e4716 2852 char *_kwnames[] = { "self", NULL };
70551f47
RD
2853
2854 self = self;
107e4716 2855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
70551f47 2856 return NULL;
2d091820
RD
2857 if (_argo0) {
2858 if (_argo0 == Py_None) { _arg0 = NULL; }
2859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2861 return NULL;
2862 }
2863 }
ab9bc19b
RD
2864{
2865 wxPy_BEGIN_ALLOW_THREADS;
2866 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
2867
2868 wxPy_END_ALLOW_THREADS;
4dfaa61e 2869 if (PyErr_Occurred()) return NULL;
ab9bc19b 2870} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
2871 return _resultobj;
2872}
2873
2874#define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
107e4716 2875static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2876 PyObject * _resultobj;
2877 long _result;
2878 wxComboBox * _arg0;
2d091820 2879 PyObject * _argo0 = 0;
107e4716 2880 char *_kwnames[] = { "self", NULL };
70551f47
RD
2881
2882 self = self;
107e4716 2883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
70551f47 2884 return NULL;
2d091820
RD
2885 if (_argo0) {
2886 if (_argo0 == Py_None) { _arg0 = NULL; }
2887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2889 return NULL;
2890 }
2891 }
ab9bc19b
RD
2892{
2893 wxPy_BEGIN_ALLOW_THREADS;
2894 _result = (long )wxComboBox_GetLastPosition(_arg0);
2895
2896 wxPy_END_ALLOW_THREADS;
4dfaa61e 2897 if (PyErr_Occurred()) return NULL;
ab9bc19b 2898} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
2899 return _resultobj;
2900}
2901
2902#define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
107e4716 2903static PyObject *_wrap_wxComboBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2904 PyObject * _resultobj;
2905 int _result;
2906 wxComboBox * _arg0;
2d091820 2907 PyObject * _argo0 = 0;
107e4716 2908 char *_kwnames[] = { "self", NULL };
70551f47
RD
2909
2910 self = self;
107e4716 2911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetSelection",_kwnames,&_argo0))
70551f47 2912 return NULL;
2d091820
RD
2913 if (_argo0) {
2914 if (_argo0 == Py_None) { _arg0 = NULL; }
2915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
2917 return NULL;
2918 }
2919 }
ab9bc19b
RD
2920{
2921 wxPy_BEGIN_ALLOW_THREADS;
2922 _result = (int )wxComboBox_GetSelection(_arg0);
2923
2924 wxPy_END_ALLOW_THREADS;
4dfaa61e 2925 if (PyErr_Occurred()) return NULL;
ab9bc19b 2926} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2927 return _resultobj;
2928}
2929
2930#define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
107e4716 2931static PyObject *_wrap_wxComboBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2932 PyObject * _resultobj;
2933 wxString * _result;
2934 wxComboBox * _arg0;
2935 int _arg1;
2d091820 2936 PyObject * _argo0 = 0;
107e4716 2937 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2938
2939 self = self;
107e4716 2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetString",_kwnames,&_argo0,&_arg1))
70551f47 2941 return NULL;
2d091820
RD
2942 if (_argo0) {
2943 if (_argo0 == Py_None) { _arg0 = NULL; }
2944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
2946 return NULL;
2947 }
2948 }
70551f47 2949{
ab9bc19b
RD
2950 wxPy_BEGIN_ALLOW_THREADS;
2951 _result = new wxString (wxComboBox_GetString(_arg0,_arg1));
2952
2953 wxPy_END_ALLOW_THREADS;
4dfaa61e 2954 if (PyErr_Occurred()) return NULL;
ab9bc19b 2955}{
e02c03a4 2956 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
2957}
2958{
2959 delete _result;
2960}
2961 return _resultobj;
2962}
2963
2964#define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
107e4716 2965static PyObject *_wrap_wxComboBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2966 PyObject * _resultobj;
2967 wxString * _result;
2968 wxComboBox * _arg0;
2d091820 2969 PyObject * _argo0 = 0;
107e4716 2970 char *_kwnames[] = { "self", NULL };
70551f47
RD
2971
2972 self = self;
107e4716 2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetStringSelection",_kwnames,&_argo0))
70551f47 2974 return NULL;
2d091820
RD
2975 if (_argo0) {
2976 if (_argo0 == Py_None) { _arg0 = NULL; }
2977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
2979 return NULL;
2980 }
2981 }
70551f47 2982{
ab9bc19b
RD
2983 wxPy_BEGIN_ALLOW_THREADS;
2984 _result = new wxString (wxComboBox_GetStringSelection(_arg0));
2985
2986 wxPy_END_ALLOW_THREADS;
4dfaa61e 2987 if (PyErr_Occurred()) return NULL;
ab9bc19b 2988}{
e02c03a4 2989 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
2990}
2991{
2992 delete _result;
2993}
2994 return _resultobj;
2995}
2996
2997#define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 2998static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2999 PyObject * _resultobj;
3000 wxString * _result;
3001 wxComboBox * _arg0;
2d091820 3002 PyObject * _argo0 = 0;
107e4716 3003 char *_kwnames[] = { "self", NULL };
70551f47
RD
3004
3005 self = self;
107e4716 3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
70551f47 3007 return NULL;
2d091820
RD
3008 if (_argo0) {
3009 if (_argo0 == Py_None) { _arg0 = NULL; }
3010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3012 return NULL;
3013 }
3014 }
70551f47 3015{
ab9bc19b
RD
3016 wxPy_BEGIN_ALLOW_THREADS;
3017 _result = new wxString (wxComboBox_GetValue(_arg0));
3018
3019 wxPy_END_ALLOW_THREADS;
4dfaa61e 3020 if (PyErr_Occurred()) return NULL;
ab9bc19b 3021}{
e02c03a4 3022 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
3023}
3024{
3025 delete _result;
3026}
3027 return _resultobj;
3028}
3029
70551f47 3030#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
107e4716 3031static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3032 PyObject * _resultobj;
3033 wxComboBox * _arg0;
2d091820 3034 PyObject * _argo0 = 0;
107e4716 3035 char *_kwnames[] = { "self", NULL };
70551f47
RD
3036
3037 self = self;
107e4716 3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
70551f47 3039 return NULL;
2d091820
RD
3040 if (_argo0) {
3041 if (_argo0 == Py_None) { _arg0 = NULL; }
3042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3044 return NULL;
3045 }
3046 }
ab9bc19b
RD
3047{
3048 wxPy_BEGIN_ALLOW_THREADS;
3049 wxComboBox_Paste(_arg0);
3050
3051 wxPy_END_ALLOW_THREADS;
4dfaa61e 3052 if (PyErr_Occurred()) return NULL;
ab9bc19b 3053} Py_INCREF(Py_None);
70551f47
RD
3054 _resultobj = Py_None;
3055 return _resultobj;
3056}
3057
3058#define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
107e4716 3059static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3060 PyObject * _resultobj;
3061 wxComboBox * _arg0;
3062 long _arg1;
3063 long _arg2;
3064 wxString * _arg3;
2d091820 3065 PyObject * _argo0 = 0;
70551f47 3066 PyObject * _obj3 = 0;
107e4716 3067 char *_kwnames[] = { "self","from","to","text", NULL };
70551f47
RD
3068
3069 self = self;
107e4716 3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
70551f47 3071 return NULL;
2d091820
RD
3072 if (_argo0) {
3073 if (_argo0 == Py_None) { _arg0 = NULL; }
3074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3076 return NULL;
3077 }
3078 }
3079{
2cd2fac8
RD
3080#if PYTHON_API_VERSION >= 1009
3081 char* tmpPtr; int tmpSize;
3082 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 3083 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
3084 return NULL;
3085 }
3086 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
3087 return NULL;
3088 _arg3 = new wxString(tmpPtr, tmpSize);
3089#else
70551f47
RD
3090 if (!PyString_Check(_obj3)) {
3091 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3092 return NULL;
3093 }
2cd2fac8
RD
3094 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
3095#endif
70551f47 3096}
ab9bc19b
RD
3097{
3098 wxPy_BEGIN_ALLOW_THREADS;
3099 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
3100
3101 wxPy_END_ALLOW_THREADS;
4dfaa61e 3102 if (PyErr_Occurred()) return NULL;
ab9bc19b 3103} Py_INCREF(Py_None);
70551f47
RD
3104 _resultobj = Py_None;
3105{
3106 if (_obj3)
3107 delete _arg3;
3108}
3109 return _resultobj;
3110}
3111
3112#define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
107e4716 3113static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3114 PyObject * _resultobj;
3115 wxComboBox * _arg0;
3116 long _arg1;
3117 long _arg2;
2d091820 3118 PyObject * _argo0 = 0;
107e4716 3119 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
3120
3121 self = self;
107e4716 3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 3123 return NULL;
2d091820
RD
3124 if (_argo0) {
3125 if (_argo0 == Py_None) { _arg0 = NULL; }
3126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3128 return NULL;
3129 }
3130 }
ab9bc19b
RD
3131{
3132 wxPy_BEGIN_ALLOW_THREADS;
3133 wxComboBox_Remove(_arg0,_arg1,_arg2);
3134
3135 wxPy_END_ALLOW_THREADS;
4dfaa61e 3136 if (PyErr_Occurred()) return NULL;
ab9bc19b 3137} Py_INCREF(Py_None);
70551f47
RD
3138 _resultobj = Py_None;
3139 return _resultobj;
3140}
3141
3142#define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
107e4716 3143static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3144 PyObject * _resultobj;
3145 wxComboBox * _arg0;
3146 long _arg1;
2d091820 3147 PyObject * _argo0 = 0;
107e4716 3148 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
3149
3150 self = self;
107e4716 3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
70551f47 3152 return NULL;
2d091820
RD
3153 if (_argo0) {
3154 if (_argo0 == Py_None) { _arg0 = NULL; }
3155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3157 return NULL;
3158 }
3159 }
ab9bc19b
RD
3160{
3161 wxPy_BEGIN_ALLOW_THREADS;
3162 wxComboBox_SetInsertionPoint(_arg0,_arg1);
3163
3164 wxPy_END_ALLOW_THREADS;
4dfaa61e 3165 if (PyErr_Occurred()) return NULL;
ab9bc19b 3166} Py_INCREF(Py_None);
70551f47
RD
3167 _resultobj = Py_None;
3168 return _resultobj;
3169}
3170
3171#define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
107e4716 3172static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3173 PyObject * _resultobj;
3174 wxComboBox * _arg0;
2d091820 3175 PyObject * _argo0 = 0;
107e4716 3176 char *_kwnames[] = { "self", NULL };
70551f47
RD
3177
3178 self = self;
107e4716 3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
70551f47 3180 return NULL;
2d091820
RD
3181 if (_argo0) {
3182 if (_argo0 == Py_None) { _arg0 = NULL; }
3183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3185 return NULL;
3186 }
3187 }
ab9bc19b
RD
3188{
3189 wxPy_BEGIN_ALLOW_THREADS;
3190 wxComboBox_SetInsertionPointEnd(_arg0);
3191
3192 wxPy_END_ALLOW_THREADS;
4dfaa61e 3193 if (PyErr_Occurred()) return NULL;
ab9bc19b 3194} Py_INCREF(Py_None);
70551f47
RD
3195 _resultobj = Py_None;
3196 return _resultobj;
3197}
3198
2d091820 3199#define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 3200static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2d091820
RD
3201 PyObject * _resultobj;
3202 wxComboBox * _arg0;
3203 int _arg1;
3204 PyObject * _argo0 = 0;
107e4716 3205 char *_kwnames[] = { "self","n", NULL };
2d091820
RD
3206
3207 self = self;
107e4716 3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
2d091820
RD
3209 return NULL;
3210 if (_argo0) {
3211 if (_argo0 == Py_None) { _arg0 = NULL; }
3212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3214 return NULL;
3215 }
3216 }
3217{
3218 wxPy_BEGIN_ALLOW_THREADS;
3219 wxComboBox_SetSelection(_arg0,_arg1);
3220
3221 wxPy_END_ALLOW_THREADS;
4dfaa61e 3222 if (PyErr_Occurred()) return NULL;
2d091820
RD
3223} Py_INCREF(Py_None);
3224 _resultobj = Py_None;
3225 return _resultobj;
3226}
3227
70551f47 3228#define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 3229static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3230 PyObject * _resultobj;
3231 wxComboBox * _arg0;
3232 long _arg1;
3233 long _arg2;
2d091820 3234 PyObject * _argo0 = 0;
107e4716 3235 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
3236
3237 self = self;
107e4716 3238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 3239 return NULL;
2d091820
RD
3240 if (_argo0) {
3241 if (_argo0 == Py_None) { _arg0 = NULL; }
3242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3244 return NULL;
3245 }
3246 }
ab9bc19b
RD
3247{
3248 wxPy_BEGIN_ALLOW_THREADS;
3249 wxComboBox_SetMark(_arg0,_arg1,_arg2);
3250
3251 wxPy_END_ALLOW_THREADS;
4dfaa61e 3252 if (PyErr_Occurred()) return NULL;
ab9bc19b 3253} Py_INCREF(Py_None);
70551f47
RD
3254 _resultobj = Py_None;
3255 return _resultobj;
3256}
3257
3258#define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 3259static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3260 PyObject * _resultobj;
3261 wxComboBox * _arg0;
3262 wxString * _arg1;
2d091820 3263 PyObject * _argo0 = 0;
70551f47 3264 PyObject * _obj1 = 0;
107e4716 3265 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
3266
3267 self = self;
107e4716 3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
70551f47 3269 return NULL;
2d091820
RD
3270 if (_argo0) {
3271 if (_argo0 == Py_None) { _arg0 = NULL; }
3272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3274 return NULL;
3275 }
3276 }
3277{
2cd2fac8
RD
3278#if PYTHON_API_VERSION >= 1009
3279 char* tmpPtr; int tmpSize;
3280 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 3281 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
3282 return NULL;
3283 }
3284 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3285 return NULL;
3286 _arg1 = new wxString(tmpPtr, tmpSize);
3287#else
70551f47
RD
3288 if (!PyString_Check(_obj1)) {
3289 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3290 return NULL;
3291 }
2cd2fac8
RD
3292 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3293#endif
70551f47 3294}
ab9bc19b
RD
3295{
3296 wxPy_BEGIN_ALLOW_THREADS;
3297 wxComboBox_SetValue(_arg0,*_arg1);
3298
3299 wxPy_END_ALLOW_THREADS;
4dfaa61e 3300 if (PyErr_Occurred()) return NULL;
ab9bc19b 3301} Py_INCREF(Py_None);
70551f47
RD
3302 _resultobj = Py_None;
3303{
3304 if (_obj1)
3305 delete _arg1;
3306}
3307 return _resultobj;
3308}
3309
2c8a649d
RD
3310#define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3311static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3312 PyObject * _resultobj;
3313 wxComboBox * _arg0;
3314 bool _arg1;
3315 PyObject * _argo0 = 0;
3316 int tempbool1;
3317 char *_kwnames[] = { "self","editable", NULL };
3318
3319 self = self;
3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3321 return NULL;
3322 if (_argo0) {
3323 if (_argo0 == Py_None) { _arg0 = NULL; }
3324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3326 return NULL;
3327 }
3328 }
3329 _arg1 = (bool ) tempbool1;
3330{
3331 wxPy_BEGIN_ALLOW_THREADS;
3332 wxComboBox_SetEditable(_arg0,_arg1);
3333
3334 wxPy_END_ALLOW_THREADS;
3335 if (PyErr_Occurred()) return NULL;
3336} Py_INCREF(Py_None);
3337 _resultobj = Py_None;
3338 return _resultobj;
3339}
3340
70551f47
RD
3341static void *SwigwxGaugeTowxControl(void *ptr) {
3342 wxGauge *src;
3343 wxControl *dest;
3344 src = (wxGauge *) ptr;
3345 dest = (wxControl *) src;
3346 return (void *) dest;
3347}
3348
3349static void *SwigwxGaugeTowxWindow(void *ptr) {
3350 wxGauge *src;
3351 wxWindow *dest;
3352 src = (wxGauge *) ptr;
3353 dest = (wxWindow *) src;
3354 return (void *) dest;
3355}
3356
3357static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3358 wxGauge *src;
3359 wxEvtHandler *dest;
3360 src = (wxGauge *) ptr;
3361 dest = (wxEvtHandler *) src;
3362 return (void *) dest;
3363}
3364
9df61a29
RD
3365static void *SwigwxGaugeTowxObject(void *ptr) {
3366 wxGauge *src;
3367 wxObject *dest;
3368 src = (wxGauge *) ptr;
3369 dest = (wxObject *) src;
3370 return (void *) dest;
3371}
3372
70551f47 3373#define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 3374static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3375 PyObject * _resultobj;
3376 wxGauge * _result;
3377 wxWindow * _arg0;
3378 wxWindowID _arg1;
3379 int _arg2;
b68dc582
RD
3380 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3381 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 3382 long _arg5 = (long ) wxGA_HORIZONTAL;
b68dc582 3383 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
3384 char * _arg7 = (char *) "gauge";
3385 PyObject * _argo0 = 0;
37f6a977
RD
3386 wxPoint temp;
3387 PyObject * _obj3 = 0;
3388 wxSize temp0;
3389 PyObject * _obj4 = 0;
2d091820 3390 PyObject * _argo6 = 0;
107e4716 3391 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
70551f47
RD
3392 char _ptemp[128];
3393
3394 self = self;
37f6a977 3395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOs:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 3396 return NULL;
2d091820
RD
3397 if (_argo0) {
3398 if (_argo0 == Py_None) { _arg0 = NULL; }
3399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
3400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3401 return NULL;
3402 }
3403 }
37f6a977
RD
3404 if (_obj3)
3405{
3406 _arg3 = &temp;
3407 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 3408 return NULL;
37f6a977
RD
3409}
3410 if (_obj4)
3411{
3412 _arg4 = &temp0;
3413 if (! wxSize_helper(_obj4, &_arg4))
70551f47 3414 return NULL;
37f6a977 3415}
2d091820
RD
3416 if (_argo6) {
3417 if (_argo6 == Py_None) { _arg6 = NULL; }
3418 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
3419 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3420 return NULL;
3421 }
3422 }
ab9bc19b
RD
3423{
3424 wxPy_BEGIN_ALLOW_THREADS;
3425 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3426
3427 wxPy_END_ALLOW_THREADS;
4dfaa61e 3428 if (PyErr_Occurred()) return NULL;
2d091820
RD
3429} if (_result) {
3430 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3431 _resultobj = Py_BuildValue("s",_ptemp);
3432 } else {
3433 Py_INCREF(Py_None);
3434 _resultobj = Py_None;
3435 }
70551f47
RD
3436 return _resultobj;
3437}
3438
aa2a5b86
RD
3439#define new_wxPreGauge() (new wxGauge())
3440static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3441 PyObject * _resultobj;
3442 wxGauge * _result;
3443 char *_kwnames[] = { NULL };
3444 char _ptemp[128];
3445
3446 self = self;
3447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
3448 return NULL;
3449{
3450 wxPy_BEGIN_ALLOW_THREADS;
3451 _result = (wxGauge *)new_wxPreGauge();
3452
3453 wxPy_END_ALLOW_THREADS;
3454 if (PyErr_Occurred()) return NULL;
3455} if (_result) {
3456 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3457 _resultobj = Py_BuildValue("s",_ptemp);
3458 } else {
3459 Py_INCREF(Py_None);
3460 _resultobj = Py_None;
3461 }
3462 return _resultobj;
3463}
3464
3465#define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3466static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3467 PyObject * _resultobj;
3468 bool _result;
3469 wxGauge * _arg0;
3470 wxWindow * _arg1;
3471 wxWindowID _arg2;
3472 int _arg3;
3473 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3474 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3475 long _arg6 = (long ) wxGA_HORIZONTAL;
3476 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
3477 char * _arg8 = (char *) "gauge";
3478 PyObject * _argo0 = 0;
3479 PyObject * _argo1 = 0;
3480 wxPoint temp;
3481 PyObject * _obj4 = 0;
3482 wxSize temp0;
3483 PyObject * _obj5 = 0;
3484 PyObject * _argo7 = 0;
3485 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
3486
3487 self = self;
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOs:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
3489 return NULL;
3490 if (_argo0) {
3491 if (_argo0 == Py_None) { _arg0 = NULL; }
3492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3494 return NULL;
3495 }
3496 }
3497 if (_argo1) {
3498 if (_argo1 == Py_None) { _arg1 = NULL; }
3499 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3500 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3501 return NULL;
3502 }
3503 }
3504 if (_obj4)
3505{
3506 _arg4 = &temp;
3507 if (! wxPoint_helper(_obj4, &_arg4))
3508 return NULL;
3509}
3510 if (_obj5)
3511{
3512 _arg5 = &temp0;
3513 if (! wxSize_helper(_obj5, &_arg5))
3514 return NULL;
3515}
3516 if (_argo7) {
3517 if (_argo7 == Py_None) { _arg7 = NULL; }
3518 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
3519 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3520 return NULL;
3521 }
3522 }
3523{
3524 wxPy_BEGIN_ALLOW_THREADS;
3525 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
3526
3527 wxPy_END_ALLOW_THREADS;
3528 if (PyErr_Occurred()) return NULL;
3529} _resultobj = Py_BuildValue("i",_result);
3530 return _resultobj;
3531}
3532
70551f47 3533#define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
107e4716 3534static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3535 PyObject * _resultobj;
3536 int _result;
3537 wxGauge * _arg0;
2d091820 3538 PyObject * _argo0 = 0;
107e4716 3539 char *_kwnames[] = { "self", NULL };
70551f47
RD
3540
3541 self = self;
107e4716 3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
70551f47 3543 return NULL;
2d091820
RD
3544 if (_argo0) {
3545 if (_argo0 == Py_None) { _arg0 = NULL; }
3546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3548 return NULL;
3549 }
3550 }
ab9bc19b
RD
3551{
3552 wxPy_BEGIN_ALLOW_THREADS;
3553 _result = (int )wxGauge_GetBezelFace(_arg0);
3554
3555 wxPy_END_ALLOW_THREADS;
4dfaa61e 3556 if (PyErr_Occurred()) return NULL;
ab9bc19b 3557} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3558 return _resultobj;
3559}
3560
3561#define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
107e4716 3562static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3563 PyObject * _resultobj;
3564 int _result;
3565 wxGauge * _arg0;
2d091820 3566 PyObject * _argo0 = 0;
107e4716 3567 char *_kwnames[] = { "self", NULL };
70551f47
RD
3568
3569 self = self;
107e4716 3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
70551f47 3571 return NULL;
2d091820
RD
3572 if (_argo0) {
3573 if (_argo0 == Py_None) { _arg0 = NULL; }
3574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3576 return NULL;
3577 }
3578 }
ab9bc19b
RD
3579{
3580 wxPy_BEGIN_ALLOW_THREADS;
3581 _result = (int )wxGauge_GetRange(_arg0);
3582
3583 wxPy_END_ALLOW_THREADS;
4dfaa61e 3584 if (PyErr_Occurred()) return NULL;
ab9bc19b 3585} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3586 return _resultobj;
3587}
3588
3589#define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
107e4716 3590static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3591 PyObject * _resultobj;
3592 int _result;
3593 wxGauge * _arg0;
2d091820 3594 PyObject * _argo0 = 0;
107e4716 3595 char *_kwnames[] = { "self", NULL };
70551f47
RD
3596
3597 self = self;
107e4716 3598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
70551f47 3599 return NULL;
2d091820
RD
3600 if (_argo0) {
3601 if (_argo0 == Py_None) { _arg0 = NULL; }
3602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3604 return NULL;
3605 }
3606 }
ab9bc19b
RD
3607{
3608 wxPy_BEGIN_ALLOW_THREADS;
3609 _result = (int )wxGauge_GetShadowWidth(_arg0);
3610
3611 wxPy_END_ALLOW_THREADS;
4dfaa61e 3612 if (PyErr_Occurred()) return NULL;
ab9bc19b 3613} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3614 return _resultobj;
3615}
3616
3617#define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 3618static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3619 PyObject * _resultobj;
3620 int _result;
3621 wxGauge * _arg0;
2d091820 3622 PyObject * _argo0 = 0;
107e4716 3623 char *_kwnames[] = { "self", NULL };
70551f47
RD
3624
3625 self = self;
107e4716 3626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
70551f47 3627 return NULL;
2d091820
RD
3628 if (_argo0) {
3629 if (_argo0 == Py_None) { _arg0 = NULL; }
3630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3632 return NULL;
3633 }
3634 }
ab9bc19b
RD
3635{
3636 wxPy_BEGIN_ALLOW_THREADS;
3637 _result = (int )wxGauge_GetValue(_arg0);
3638
3639 wxPy_END_ALLOW_THREADS;
4dfaa61e 3640 if (PyErr_Occurred()) return NULL;
ab9bc19b 3641} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3642 return _resultobj;
3643}
3644
3645#define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
107e4716 3646static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3647 PyObject * _resultobj;
3648 wxGauge * _arg0;
3649 int _arg1;
2d091820 3650 PyObject * _argo0 = 0;
107e4716 3651 char *_kwnames[] = { "self","width", NULL };
70551f47
RD
3652
3653 self = self;
107e4716 3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
70551f47 3655 return NULL;
2d091820
RD
3656 if (_argo0) {
3657 if (_argo0 == Py_None) { _arg0 = NULL; }
3658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3660 return NULL;
3661 }
3662 }
ab9bc19b
RD
3663{
3664 wxPy_BEGIN_ALLOW_THREADS;
3665 wxGauge_SetBezelFace(_arg0,_arg1);
3666
3667 wxPy_END_ALLOW_THREADS;
4dfaa61e 3668 if (PyErr_Occurred()) return NULL;
ab9bc19b 3669} Py_INCREF(Py_None);
70551f47
RD
3670 _resultobj = Py_None;
3671 return _resultobj;
3672}
3673
3674#define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
107e4716 3675static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3676 PyObject * _resultobj;
3677 wxGauge * _arg0;
3678 int _arg1;
2d091820 3679 PyObject * _argo0 = 0;
107e4716 3680 char *_kwnames[] = { "self","range", NULL };
70551f47
RD
3681
3682 self = self;
107e4716 3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
70551f47 3684 return NULL;
2d091820
RD
3685 if (_argo0) {
3686 if (_argo0 == Py_None) { _arg0 = NULL; }
3687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3689 return NULL;
3690 }
3691 }
ab9bc19b
RD
3692{
3693 wxPy_BEGIN_ALLOW_THREADS;
3694 wxGauge_SetRange(_arg0,_arg1);
3695
3696 wxPy_END_ALLOW_THREADS;
4dfaa61e 3697 if (PyErr_Occurred()) return NULL;
ab9bc19b 3698} Py_INCREF(Py_None);
70551f47
RD
3699 _resultobj = Py_None;
3700 return _resultobj;
3701}
3702
3703#define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
107e4716 3704static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3705 PyObject * _resultobj;
3706 wxGauge * _arg0;
3707 int _arg1;
2d091820 3708 PyObject * _argo0 = 0;
107e4716 3709 char *_kwnames[] = { "self","width", NULL };
70551f47
RD
3710
3711 self = self;
107e4716 3712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
70551f47 3713 return NULL;
2d091820
RD
3714 if (_argo0) {
3715 if (_argo0 == Py_None) { _arg0 = NULL; }
3716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3718 return NULL;
3719 }
3720 }
ab9bc19b
RD
3721{
3722 wxPy_BEGIN_ALLOW_THREADS;
3723 wxGauge_SetShadowWidth(_arg0,_arg1);
3724
3725 wxPy_END_ALLOW_THREADS;
4dfaa61e 3726 if (PyErr_Occurred()) return NULL;
ab9bc19b 3727} Py_INCREF(Py_None);
70551f47
RD
3728 _resultobj = Py_None;
3729 return _resultobj;
3730}
3731
3732#define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 3733static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3734 PyObject * _resultobj;
3735 wxGauge * _arg0;
3736 int _arg1;
2d091820 3737 PyObject * _argo0 = 0;
107e4716 3738 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
3739
3740 self = self;
107e4716 3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
70551f47 3742 return NULL;
2d091820
RD
3743 if (_argo0) {
3744 if (_argo0 == Py_None) { _arg0 = NULL; }
3745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3747 return NULL;
3748 }
3749 }
ab9bc19b
RD
3750{
3751 wxPy_BEGIN_ALLOW_THREADS;
3752 wxGauge_SetValue(_arg0,_arg1);
3753
3754 wxPy_END_ALLOW_THREADS;
4dfaa61e 3755 if (PyErr_Occurred()) return NULL;
ab9bc19b 3756} Py_INCREF(Py_None);
70551f47
RD
3757 _resultobj = Py_None;
3758 return _resultobj;
3759}
3760
3761static void *SwigwxStaticBoxTowxControl(void *ptr) {
3762 wxStaticBox *src;
3763 wxControl *dest;
3764 src = (wxStaticBox *) ptr;
3765 dest = (wxControl *) src;
3766 return (void *) dest;
3767}
3768
3769static void *SwigwxStaticBoxTowxWindow(void *ptr) {
3770 wxStaticBox *src;
3771 wxWindow *dest;
3772 src = (wxStaticBox *) ptr;
3773 dest = (wxWindow *) src;
3774 return (void *) dest;
3775}
3776
3777static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
3778 wxStaticBox *src;
3779 wxEvtHandler *dest;
3780 src = (wxStaticBox *) ptr;
3781 dest = (wxEvtHandler *) src;
3782 return (void *) dest;
3783}
3784
9df61a29
RD
3785static void *SwigwxStaticBoxTowxObject(void *ptr) {
3786 wxStaticBox *src;
3787 wxObject *dest;
3788 src = (wxStaticBox *) ptr;
3789 dest = (wxObject *) src;
3790 return (void *) dest;
3791}
3792
70551f47 3793#define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 3794static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3795 PyObject * _resultobj;
3796 wxStaticBox * _result;
3797 wxWindow * _arg0;
3798 wxWindowID _arg1;
3799 wxString * _arg2;
b68dc582
RD
3800 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3801 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
3802 long _arg5 = (long ) 0;
3803 char * _arg6 = (char *) "staticBox";
3804 PyObject * _argo0 = 0;
70551f47 3805 PyObject * _obj2 = 0;
37f6a977
RD
3806 wxPoint temp;
3807 PyObject * _obj3 = 0;
3808 wxSize temp0;
3809 PyObject * _obj4 = 0;
107e4716 3810 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
70551f47
RD
3811 char _ptemp[128];
3812
3813 self = self;
37f6a977 3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
70551f47 3815 return NULL;
2d091820
RD
3816 if (_argo0) {
3817 if (_argo0 == Py_None) { _arg0 = NULL; }
3818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
3819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3820 return NULL;
3821 }
3822 }
3823{
2cd2fac8
RD
3824#if PYTHON_API_VERSION >= 1009
3825 char* tmpPtr; int tmpSize;
3826 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 3827 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
3828 return NULL;
3829 }
3830 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3831 return NULL;
3832 _arg2 = new wxString(tmpPtr, tmpSize);
3833#else
70551f47
RD
3834 if (!PyString_Check(_obj2)) {
3835 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3836 return NULL;
3837 }
2cd2fac8
RD
3838 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3839#endif
70551f47 3840}
37f6a977
RD
3841 if (_obj3)
3842{
3843 _arg3 = &temp;
3844 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 3845 return NULL;
37f6a977
RD
3846}
3847 if (_obj4)
3848{
3849 _arg4 = &temp0;
3850 if (! wxSize_helper(_obj4, &_arg4))
70551f47 3851 return NULL;
37f6a977 3852}
ab9bc19b
RD
3853{
3854 wxPy_BEGIN_ALLOW_THREADS;
3855 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
3856
3857 wxPy_END_ALLOW_THREADS;
4dfaa61e 3858 if (PyErr_Occurred()) return NULL;
2d091820
RD
3859} if (_result) {
3860 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3861 _resultobj = Py_BuildValue("s",_ptemp);
3862 } else {
3863 Py_INCREF(Py_None);
3864 _resultobj = Py_None;
3865 }
70551f47
RD
3866{
3867 if (_obj2)
3868 delete _arg2;
3869}
3870 return _resultobj;
3871}
3872
aa2a5b86
RD
3873#define new_wxPreStaticBox() (new wxStaticBox())
3874static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3875 PyObject * _resultobj;
3876 wxStaticBox * _result;
3877 char *_kwnames[] = { NULL };
3878 char _ptemp[128];
3879
3880 self = self;
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
3882 return NULL;
3883{
3884 wxPy_BEGIN_ALLOW_THREADS;
3885 _result = (wxStaticBox *)new_wxPreStaticBox();
3886
3887 wxPy_END_ALLOW_THREADS;
3888 if (PyErr_Occurred()) return NULL;
3889} if (_result) {
3890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3891 _resultobj = Py_BuildValue("s",_ptemp);
3892 } else {
3893 Py_INCREF(Py_None);
3894 _resultobj = Py_None;
3895 }
3896 return _resultobj;
3897}
3898
3899#define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3900static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3901 PyObject * _resultobj;
3902 bool _result;
3903 wxStaticBox * _arg0;
3904 wxWindow * _arg1;
3905 wxWindowID _arg2;
3906 wxString * _arg3;
3907 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3908 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3909 long _arg6 = (long ) 0;
3910 char * _arg7 = (char *) "staticBox";
3911 PyObject * _argo0 = 0;
3912 PyObject * _argo1 = 0;
3913 PyObject * _obj3 = 0;
3914 wxPoint temp;
3915 PyObject * _obj4 = 0;
3916 wxSize temp0;
3917 PyObject * _obj5 = 0;
3918 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
3919
3920 self = self;
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
3922 return NULL;
3923 if (_argo0) {
3924 if (_argo0 == Py_None) { _arg0 = NULL; }
3925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
3926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3927 return NULL;
3928 }
3929 }
3930 if (_argo1) {
3931 if (_argo1 == Py_None) { _arg1 = NULL; }
3932 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3933 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3934 return NULL;
3935 }
3936 }
3937{
3938#if PYTHON_API_VERSION >= 1009
3939 char* tmpPtr; int tmpSize;
3940 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
3941 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3942 return NULL;
3943 }
3944 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
3945 return NULL;
3946 _arg3 = new wxString(tmpPtr, tmpSize);
3947#else
3948 if (!PyString_Check(_obj3)) {
3949 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3950 return NULL;
3951 }
3952 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
3953#endif
3954}
3955 if (_obj4)
3956{
3957 _arg4 = &temp;
3958 if (! wxPoint_helper(_obj4, &_arg4))
3959 return NULL;
3960}
3961 if (_obj5)
3962{
3963 _arg5 = &temp0;
3964 if (! wxSize_helper(_obj5, &_arg5))
3965 return NULL;
3966}
3967{
3968 wxPy_BEGIN_ALLOW_THREADS;
3969 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
3970
3971 wxPy_END_ALLOW_THREADS;
3972 if (PyErr_Occurred()) return NULL;
3973} _resultobj = Py_BuildValue("i",_result);
3974{
3975 if (_obj3)
3976 delete _arg3;
3977}
3978 return _resultobj;
3979}
3980
d24a34bb
RD
3981static void *SwigwxStaticLineTowxControl(void *ptr) {
3982 wxStaticLine *src;
3983 wxControl *dest;
3984 src = (wxStaticLine *) ptr;
3985 dest = (wxControl *) src;
3986 return (void *) dest;
3987}
3988
3989static void *SwigwxStaticLineTowxWindow(void *ptr) {
3990 wxStaticLine *src;
3991 wxWindow *dest;
3992 src = (wxStaticLine *) ptr;
3993 dest = (wxWindow *) src;
3994 return (void *) dest;
3995}
3996
3997static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
3998 wxStaticLine *src;
3999 wxEvtHandler *dest;
4000 src = (wxStaticLine *) ptr;
4001 dest = (wxEvtHandler *) src;
4002 return (void *) dest;
4003}
4004
9df61a29
RD
4005static void *SwigwxStaticLineTowxObject(void *ptr) {
4006 wxStaticLine *src;
4007 wxObject *dest;
4008 src = (wxStaticLine *) ptr;
4009 dest = (wxObject *) src;
4010 return (void *) dest;
4011}
4012
d24a34bb 4013#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 4014static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4015 PyObject * _resultobj;
4016 wxStaticLine * _result;
4017 wxWindow * _arg0;
4018 wxWindowID _arg1;
b68dc582
RD
4019 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4020 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
4021 long _arg4 = (long ) wxLI_HORIZONTAL;
4022 char * _arg5 = (char *) "staticLine";
4023 PyObject * _argo0 = 0;
37f6a977
RD
4024 wxPoint temp;
4025 PyObject * _obj2 = 0;
4026 wxSize temp0;
4027 PyObject * _obj3 = 0;
107e4716 4028 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
d24a34bb
RD
4029 char _ptemp[128];
4030
4031 self = self;
37f6a977 4032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
d24a34bb 4033 return NULL;
2d091820
RD
4034 if (_argo0) {
4035 if (_argo0 == Py_None) { _arg0 = NULL; }
4036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d24a34bb
RD
4037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4038 return NULL;
4039 }
4040 }
37f6a977
RD
4041 if (_obj2)
4042{
4043 _arg2 = &temp;
4044 if (! wxPoint_helper(_obj2, &_arg2))
d24a34bb 4045 return NULL;
37f6a977
RD
4046}
4047 if (_obj3)
4048{
4049 _arg3 = &temp0;
4050 if (! wxSize_helper(_obj3, &_arg3))
d24a34bb 4051 return NULL;
37f6a977 4052}
d24a34bb
RD
4053{
4054 wxPy_BEGIN_ALLOW_THREADS;
4055 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4056
4057 wxPy_END_ALLOW_THREADS;
4dfaa61e 4058 if (PyErr_Occurred()) return NULL;
2d091820
RD
4059} if (_result) {
4060 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4061 _resultobj = Py_BuildValue("s",_ptemp);
4062 } else {
4063 Py_INCREF(Py_None);
4064 _resultobj = Py_None;
4065 }
d24a34bb
RD
4066 return _resultobj;
4067}
4068
aa2a5b86
RD
4069#define new_wxPreStaticLine() (new wxStaticLine())
4070static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject * _resultobj;
4072 wxStaticLine * _result;
4073 char *_kwnames[] = { NULL };
4074 char _ptemp[128];
4075
4076 self = self;
4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4078 return NULL;
4079{
4080 wxPy_BEGIN_ALLOW_THREADS;
4081 _result = (wxStaticLine *)new_wxPreStaticLine();
4082
4083 wxPy_END_ALLOW_THREADS;
4084 if (PyErr_Occurred()) return NULL;
4085} if (_result) {
4086 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4087 _resultobj = Py_BuildValue("s",_ptemp);
4088 } else {
4089 Py_INCREF(Py_None);
4090 _resultobj = Py_None;
4091 }
4092 return _resultobj;
4093}
4094
4095#define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4096static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4097 PyObject * _resultobj;
4098 bool _result;
4099 wxStaticLine * _arg0;
4100 wxWindow * _arg1;
4101 wxWindowID _arg2;
4102 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4103 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4104 long _arg5 = (long ) wxLI_HORIZONTAL;
4105 char * _arg6 = (char *) "staticLine";
4106 PyObject * _argo0 = 0;
4107 PyObject * _argo1 = 0;
4108 wxPoint temp;
4109 PyObject * _obj3 = 0;
4110 wxSize temp0;
4111 PyObject * _obj4 = 0;
4112 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4113
4114 self = self;
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
4116 return NULL;
4117 if (_argo0) {
4118 if (_argo0 == Py_None) { _arg0 = NULL; }
4119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4121 return NULL;
4122 }
4123 }
4124 if (_argo1) {
4125 if (_argo1 == Py_None) { _arg1 = NULL; }
4126 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4127 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4128 return NULL;
4129 }
4130 }
4131 if (_obj3)
4132{
4133 _arg3 = &temp;
4134 if (! wxPoint_helper(_obj3, &_arg3))
4135 return NULL;
4136}
4137 if (_obj4)
4138{
4139 _arg4 = &temp0;
4140 if (! wxSize_helper(_obj4, &_arg4))
4141 return NULL;
4142}
4143{
4144 wxPy_BEGIN_ALLOW_THREADS;
4145 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
4146
4147 wxPy_END_ALLOW_THREADS;
4148 if (PyErr_Occurred()) return NULL;
4149} _resultobj = Py_BuildValue("i",_result);
4150 return _resultobj;
4151}
4152
70551f47
RD
4153static void *SwigwxStaticTextTowxControl(void *ptr) {
4154 wxStaticText *src;
4155 wxControl *dest;
4156 src = (wxStaticText *) ptr;
4157 dest = (wxControl *) src;
4158 return (void *) dest;
4159}
4160
4161static void *SwigwxStaticTextTowxWindow(void *ptr) {
4162 wxStaticText *src;
4163 wxWindow *dest;
4164 src = (wxStaticText *) ptr;
4165 dest = (wxWindow *) src;
4166 return (void *) dest;
4167}
4168
4169static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4170 wxStaticText *src;
4171 wxEvtHandler *dest;
4172 src = (wxStaticText *) ptr;
4173 dest = (wxEvtHandler *) src;
4174 return (void *) dest;
4175}
4176
9df61a29
RD
4177static void *SwigwxStaticTextTowxObject(void *ptr) {
4178 wxStaticText *src;
4179 wxObject *dest;
4180 src = (wxStaticText *) ptr;
4181 dest = (wxObject *) src;
4182 return (void *) dest;
4183}
4184
70551f47 4185#define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 4186static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4187 PyObject * _resultobj;
4188 wxStaticText * _result;
4189 wxWindow * _arg0;
4190 wxWindowID _arg1;
4191 wxString * _arg2;
b68dc582
RD
4192 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4193 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
4194 long _arg5 = (long ) 0;
4195 char * _arg6 = (char *) "staticText";
4196 PyObject * _argo0 = 0;
70551f47 4197 PyObject * _obj2 = 0;
37f6a977
RD
4198 wxPoint temp;
4199 PyObject * _obj3 = 0;
4200 wxSize temp0;
4201 PyObject * _obj4 = 0;
107e4716 4202 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
70551f47
RD
4203 char _ptemp[128];
4204
4205 self = self;
37f6a977 4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
70551f47 4207 return NULL;
2d091820
RD
4208 if (_argo0) {
4209 if (_argo0 == Py_None) { _arg0 = NULL; }
4210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
4211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4212 return NULL;
4213 }
4214 }
4215{
2cd2fac8
RD
4216#if PYTHON_API_VERSION >= 1009
4217 char* tmpPtr; int tmpSize;
4218 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 4219 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4220 return NULL;
4221 }
4222 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4223 return NULL;
4224 _arg2 = new wxString(tmpPtr, tmpSize);
4225#else
70551f47
RD
4226 if (!PyString_Check(_obj2)) {
4227 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4228 return NULL;
4229 }
2cd2fac8
RD
4230 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4231#endif
70551f47 4232}
37f6a977
RD
4233 if (_obj3)
4234{
4235 _arg3 = &temp;
4236 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 4237 return NULL;
37f6a977
RD
4238}
4239 if (_obj4)
4240{
4241 _arg4 = &temp0;
4242 if (! wxSize_helper(_obj4, &_arg4))
70551f47 4243 return NULL;
37f6a977 4244}
ab9bc19b
RD
4245{
4246 wxPy_BEGIN_ALLOW_THREADS;
4247 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4248
4249 wxPy_END_ALLOW_THREADS;
4dfaa61e 4250 if (PyErr_Occurred()) return NULL;
2d091820
RD
4251} if (_result) {
4252 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4253 _resultobj = Py_BuildValue("s",_ptemp);
4254 } else {
4255 Py_INCREF(Py_None);
4256 _resultobj = Py_None;
4257 }
70551f47
RD
4258{
4259 if (_obj2)
4260 delete _arg2;
4261}
4262 return _resultobj;
4263}
4264
aa2a5b86
RD
4265#define new_wxPreStaticText() (new wxStaticText())
4266static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4267 PyObject * _resultobj;
4268 wxStaticText * _result;
4269 char *_kwnames[] = { NULL };
4270 char _ptemp[128];
4271
4272 self = self;
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4274 return NULL;
4275{
4276 wxPy_BEGIN_ALLOW_THREADS;
4277 _result = (wxStaticText *)new_wxPreStaticText();
4278
4279 wxPy_END_ALLOW_THREADS;
4280 if (PyErr_Occurred()) return NULL;
4281} if (_result) {
4282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4283 _resultobj = Py_BuildValue("s",_ptemp);
4284 } else {
4285 Py_INCREF(Py_None);
4286 _resultobj = Py_None;
4287 }
4288 return _resultobj;
4289}
4290
4291#define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4292static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject * _resultobj;
4294 bool _result;
4295 wxStaticText * _arg0;
4296 wxWindow * _arg1;
4297 wxWindowID _arg2;
4298 wxString * _arg3;
4299 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4300 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4301 long _arg6 = (long ) 0;
4302 char * _arg7 = (char *) "staticText";
4303 PyObject * _argo0 = 0;
4304 PyObject * _argo1 = 0;
4305 PyObject * _obj3 = 0;
4306 wxPoint temp;
4307 PyObject * _obj4 = 0;
4308 wxSize temp0;
4309 PyObject * _obj5 = 0;
4310 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4311
4312 self = self;
4313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
4314 return NULL;
4315 if (_argo0) {
4316 if (_argo0 == Py_None) { _arg0 = NULL; }
4317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4319 return NULL;
4320 }
4321 }
4322 if (_argo1) {
4323 if (_argo1 == Py_None) { _arg1 = NULL; }
4324 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4325 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4326 return NULL;
4327 }
4328 }
4329{
4330#if PYTHON_API_VERSION >= 1009
4331 char* tmpPtr; int tmpSize;
4332 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4333 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4334 return NULL;
4335 }
4336 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4337 return NULL;
4338 _arg3 = new wxString(tmpPtr, tmpSize);
4339#else
4340 if (!PyString_Check(_obj3)) {
4341 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4342 return NULL;
4343 }
4344 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4345#endif
4346}
4347 if (_obj4)
4348{
4349 _arg4 = &temp;
4350 if (! wxPoint_helper(_obj4, &_arg4))
4351 return NULL;
4352}
4353 if (_obj5)
4354{
4355 _arg5 = &temp0;
4356 if (! wxSize_helper(_obj5, &_arg5))
4357 return NULL;
4358}
4359{
4360 wxPy_BEGIN_ALLOW_THREADS;
4361 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
4362
4363 wxPy_END_ALLOW_THREADS;
4364 if (PyErr_Occurred()) return NULL;
4365} _resultobj = Py_BuildValue("i",_result);
4366{
4367 if (_obj3)
4368 delete _arg3;
4369}
4370 return _resultobj;
4371}
4372
70551f47 4373#define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
107e4716 4374static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4375 PyObject * _resultobj;
4376 wxString * _result;
4377 wxStaticText * _arg0;
2d091820 4378 PyObject * _argo0 = 0;
107e4716 4379 char *_kwnames[] = { "self", NULL };
70551f47
RD
4380
4381 self = self;
107e4716 4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
70551f47 4383 return NULL;
2d091820
RD
4384 if (_argo0) {
4385 if (_argo0 == Py_None) { _arg0 = NULL; }
4386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
70551f47
RD
4387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4388 return NULL;
4389 }
4390 }
70551f47 4391{
ab9bc19b
RD
4392 wxPy_BEGIN_ALLOW_THREADS;
4393 _result = new wxString (wxStaticText_GetLabel(_arg0));
4394
4395 wxPy_END_ALLOW_THREADS;
4dfaa61e 4396 if (PyErr_Occurred()) return NULL;
ab9bc19b 4397}{
e02c03a4 4398 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
4399}
4400{
4401 delete _result;
4402}
4403 return _resultobj;
4404}
4405
4406#define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
107e4716 4407static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4408 PyObject * _resultobj;
4409 wxStaticText * _arg0;
4410 wxString * _arg1;
2d091820 4411 PyObject * _argo0 = 0;
70551f47 4412 PyObject * _obj1 = 0;
107e4716 4413 char *_kwnames[] = { "self","label", NULL };
70551f47
RD
4414
4415 self = self;
107e4716 4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
70551f47 4417 return NULL;
2d091820
RD
4418 if (_argo0) {
4419 if (_argo0 == Py_None) { _arg0 = NULL; }
4420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
70551f47
RD
4421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4422 return NULL;
4423 }
4424 }
4425{
2cd2fac8
RD
4426#if PYTHON_API_VERSION >= 1009
4427 char* tmpPtr; int tmpSize;
4428 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 4429 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4430 return NULL;
4431 }
4432 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4433 return NULL;
4434 _arg1 = new wxString(tmpPtr, tmpSize);
4435#else
70551f47
RD
4436 if (!PyString_Check(_obj1)) {
4437 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4438 return NULL;
4439 }
2cd2fac8
RD
4440 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4441#endif
70551f47 4442}
ab9bc19b
RD
4443{
4444 wxPy_BEGIN_ALLOW_THREADS;
4445 wxStaticText_SetLabel(_arg0,*_arg1);
4446
4447 wxPy_END_ALLOW_THREADS;
4dfaa61e 4448 if (PyErr_Occurred()) return NULL;
ab9bc19b 4449} Py_INCREF(Py_None);
70551f47
RD
4450 _resultobj = Py_None;
4451{
4452 if (_obj1)
4453 delete _arg1;
4454}
4455 return _resultobj;
4456}
4457
4458static void *SwigwxListBoxTowxControl(void *ptr) {
4459 wxListBox *src;
4460 wxControl *dest;
4461 src = (wxListBox *) ptr;
4462 dest = (wxControl *) src;
4463 return (void *) dest;
4464}
4465
4466static void *SwigwxListBoxTowxWindow(void *ptr) {
4467 wxListBox *src;
4468 wxWindow *dest;
4469 src = (wxListBox *) ptr;
4470 dest = (wxWindow *) src;
4471 return (void *) dest;
4472}
4473
4474static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
4475 wxListBox *src;
4476 wxEvtHandler *dest;
4477 src = (wxListBox *) ptr;
4478 dest = (wxEvtHandler *) src;
4479 return (void *) dest;
4480}
4481
9df61a29
RD
4482static void *SwigwxListBoxTowxObject(void *ptr) {
4483 wxListBox *src;
4484 wxObject *dest;
4485 src = (wxListBox *) ptr;
4486 dest = (wxObject *) src;
4487 return (void *) dest;
4488}
4489
aa2a5b86
RD
4490#define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4491static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4492 PyObject * _resultobj;
4493 wxListBox * _result;
4494 wxWindow * _arg0;
4495 wxWindowID _arg1;
4496 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4497 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4498 int _arg4;
4499 wxString * _arg5 = (wxString *) NULL;
4500 long _arg6 = (long ) 0;
4501 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
4502 char * _arg8 = (char *) "listBox";
4503 PyObject * _argo0 = 0;
4504 wxPoint temp;
4505 PyObject * _obj2 = 0;
4506 wxSize temp0;
4507 PyObject * _obj3 = 0;
4508 PyObject * _obj5 = 0;
4509 PyObject * _argo7 = 0;
4510 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4511 char _ptemp[128];
4512
4513 self = self;
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
4515 return NULL;
4516 if (_argo0) {
4517 if (_argo0 == Py_None) { _arg0 = NULL; }
4518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4520 return NULL;
4521 }
4522 }
4523 if (_obj2)
4524{
4525 _arg2 = &temp;
4526 if (! wxPoint_helper(_obj2, &_arg2))
4527 return NULL;
4528}
4529 if (_obj3)
4530{
4531 _arg3 = &temp0;
4532 if (! wxSize_helper(_obj3, &_arg3))
4533 return NULL;
4534}
4535 if (_obj5)
4536{
4537 _arg5 = wxString_LIST_helper(_obj5);
4538 if (_arg5 == NULL) {
4539 return NULL;
4540 }
4541}
4542 if (_argo7) {
4543 if (_argo7 == Py_None) { _arg7 = NULL; }
4544 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
4545 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4546 return NULL;
4547 }
4548 }
4549{
4550 if (_obj5) {
4551 _arg4 = PyList_Size(_obj5);
4552 }
4553 else {
4554 _arg4 = 0;
4555 }
4556}
4557{
4558 wxPy_BEGIN_ALLOW_THREADS;
4559 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
4560
4561 wxPy_END_ALLOW_THREADS;
4562 if (PyErr_Occurred()) return NULL;
4563} if (_result) {
4564 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4565 _resultobj = Py_BuildValue("s",_ptemp);
4566 } else {
4567 Py_INCREF(Py_None);
4568 _resultobj = Py_None;
4569 }
4570{
4571 delete [] _arg5;
4572}
4573 return _resultobj;
4574}
4575
4576#define new_wxPreListBox() (new wxListBox())
4577static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4578 PyObject * _resultobj;
4579 wxListBox * _result;
4580 char *_kwnames[] = { NULL };
4581 char _ptemp[128];
4582
4583 self = self;
4584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
4585 return NULL;
4586{
4587 wxPy_BEGIN_ALLOW_THREADS;
4588 _result = (wxListBox *)new_wxPreListBox();
4589
4590 wxPy_END_ALLOW_THREADS;
4591 if (PyErr_Occurred()) return NULL;
4592} if (_result) {
4593 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4594 _resultobj = Py_BuildValue("s",_ptemp);
4595 } else {
4596 Py_INCREF(Py_None);
4597 _resultobj = Py_None;
4598 }
4599 return _resultobj;
4600}
4601
4602#define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4603static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 4604 PyObject * _resultobj;
aa2a5b86
RD
4605 bool _result;
4606 wxListBox * _arg0;
4607 wxWindow * _arg1;
4608 wxWindowID _arg2;
4609 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4610 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4611 int _arg5;
4612 wxString * _arg6 = (wxString *) NULL;
4613 long _arg7 = (long ) 0;
4614 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
4615 char * _arg9 = (char *) "listBox";
2d091820 4616 PyObject * _argo0 = 0;
aa2a5b86 4617 PyObject * _argo1 = 0;
37f6a977 4618 wxPoint temp;
37f6a977 4619 PyObject * _obj3 = 0;
aa2a5b86
RD
4620 wxSize temp0;
4621 PyObject * _obj4 = 0;
4622 PyObject * _obj6 = 0;
4623 PyObject * _argo8 = 0;
4624 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
70551f47
RD
4625
4626 self = self;
aa2a5b86 4627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
70551f47 4628 return NULL;
2d091820
RD
4629 if (_argo0) {
4630 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
4631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
70551f47
RD
4633 return NULL;
4634 }
4635 }
aa2a5b86
RD
4636 if (_argo1) {
4637 if (_argo1 == Py_None) { _arg1 = NULL; }
4638 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4639 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4640 return NULL;
4641 }
4642 }
4643 if (_obj3)
37f6a977 4644{
aa2a5b86
RD
4645 _arg3 = &temp;
4646 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 4647 return NULL;
37f6a977 4648}
aa2a5b86 4649 if (_obj4)
37f6a977 4650{
aa2a5b86
RD
4651 _arg4 = &temp0;
4652 if (! wxSize_helper(_obj4, &_arg4))
70551f47 4653 return NULL;
37f6a977 4654}
aa2a5b86 4655 if (_obj6)
70551f47 4656{
aa2a5b86
RD
4657 _arg6 = wxString_LIST_helper(_obj6);
4658 if (_arg6 == NULL) {
70551f47
RD
4659 return NULL;
4660 }
4661}
aa2a5b86
RD
4662 if (_argo8) {
4663 if (_argo8 == Py_None) { _arg8 = NULL; }
4664 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
4665 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
70551f47
RD
4666 return NULL;
4667 }
4668 }
4669{
aa2a5b86
RD
4670 if (_obj6) {
4671 _arg5 = PyList_Size(_obj6);
ab9bc19b
RD
4672 }
4673 else {
aa2a5b86 4674 _arg5 = 0;
ab9bc19b 4675 }
70551f47 4676}
ab9bc19b
RD
4677{
4678 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 4679 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
ab9bc19b
RD
4680
4681 wxPy_END_ALLOW_THREADS;
4dfaa61e 4682 if (PyErr_Occurred()) return NULL;
aa2a5b86 4683} _resultobj = Py_BuildValue("i",_result);
70551f47 4684{
aa2a5b86 4685 delete [] _arg6;
70551f47
RD
4686}
4687 return _resultobj;
4688}
4689
4690#define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
107e4716 4691static PyObject *_wrap_wxListBox_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4692 PyObject * _resultobj;
4693 wxListBox * _arg0;
4694 wxString * _arg1;
2d091820 4695 PyObject * _argo0 = 0;
70551f47 4696 PyObject * _obj1 = 0;
107e4716 4697 char *_kwnames[] = { "self","item", NULL };
70551f47
RD
4698
4699 self = self;
107e4716 4700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Append",_kwnames,&_argo0,&_obj1))
70551f47 4701 return NULL;
2d091820
RD
4702 if (_argo0) {
4703 if (_argo0 == Py_None) { _arg0 = NULL; }
4704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
4706 return NULL;
4707 }
4708 }
4709{
2cd2fac8
RD
4710#if PYTHON_API_VERSION >= 1009
4711 char* tmpPtr; int tmpSize;
4712 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 4713 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4714 return NULL;
4715 }
4716 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4717 return NULL;
4718 _arg1 = new wxString(tmpPtr, tmpSize);
4719#else
70551f47
RD
4720 if (!PyString_Check(_obj1)) {
4721 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4722 return NULL;
4723 }
2cd2fac8
RD
4724 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4725#endif
70551f47 4726}
ab9bc19b
RD
4727{
4728 wxPy_BEGIN_ALLOW_THREADS;
4729 wxListBox_Append(_arg0,*_arg1);
4730
4731 wxPy_END_ALLOW_THREADS;
4dfaa61e 4732 if (PyErr_Occurred()) return NULL;
ab9bc19b 4733} Py_INCREF(Py_None);
70551f47
RD
4734 _resultobj = Py_None;
4735{
4736 if (_obj1)
4737 delete _arg1;
4738}
4739 return _resultobj;
4740}
4741
4742#define wxListBox_Clear(_swigobj) (_swigobj->Clear())
107e4716 4743static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4744 PyObject * _resultobj;
4745 wxListBox * _arg0;
2d091820 4746 PyObject * _argo0 = 0;
107e4716 4747 char *_kwnames[] = { "self", NULL };
70551f47
RD
4748
4749 self = self;
107e4716 4750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
70551f47 4751 return NULL;
2d091820
RD
4752 if (_argo0) {
4753 if (_argo0 == Py_None) { _arg0 = NULL; }
4754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4756 return NULL;
4757 }
4758 }
ab9bc19b
RD
4759{
4760 wxPy_BEGIN_ALLOW_THREADS;
4761 wxListBox_Clear(_arg0);
4762
4763 wxPy_END_ALLOW_THREADS;
4dfaa61e 4764 if (PyErr_Occurred()) return NULL;
ab9bc19b 4765} Py_INCREF(Py_None);
70551f47
RD
4766 _resultobj = Py_None;
4767 return _resultobj;
4768}
4769
4770#define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
107e4716 4771static PyObject *_wrap_wxListBox_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4772 PyObject * _resultobj;
4773 wxListBox * _arg0;
4774 int _arg1;
2d091820 4775 PyObject * _argo0 = 0;
107e4716 4776 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
4777
4778 self = self;
107e4716 4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Delete",_kwnames,&_argo0,&_arg1))
70551f47 4780 return NULL;
2d091820
RD
4781 if (_argo0) {
4782 if (_argo0 == Py_None) { _arg0 = NULL; }
4783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
4785 return NULL;
4786 }
4787 }
ab9bc19b
RD
4788{
4789 wxPy_BEGIN_ALLOW_THREADS;
4790 wxListBox_Delete(_arg0,_arg1);
4791
4792 wxPy_END_ALLOW_THREADS;
4dfaa61e 4793 if (PyErr_Occurred()) return NULL;
ab9bc19b 4794} Py_INCREF(Py_None);
70551f47
RD
4795 _resultobj = Py_None;
4796 return _resultobj;
4797}
4798
4799#define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
107e4716 4800static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4801 PyObject * _resultobj;
4802 wxListBox * _arg0;
4803 int _arg1;
2d091820 4804 PyObject * _argo0 = 0;
107e4716 4805 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
4806
4807 self = self;
107e4716 4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
70551f47 4809 return NULL;
2d091820
RD
4810 if (_argo0) {
4811 if (_argo0 == Py_None) { _arg0 = NULL; }
4812 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4814 return NULL;
4815 }
4816 }
ab9bc19b
RD
4817{
4818 wxPy_BEGIN_ALLOW_THREADS;
4819 wxListBox_Deselect(_arg0,_arg1);
4820
4821 wxPy_END_ALLOW_THREADS;
4dfaa61e 4822 if (PyErr_Occurred()) return NULL;
ab9bc19b 4823} Py_INCREF(Py_None);
70551f47
RD
4824 _resultobj = Py_None;
4825 return _resultobj;
4826}
4827
4828#define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
107e4716 4829static PyObject *_wrap_wxListBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4830 PyObject * _resultobj;
4831 int _result;
4832 wxListBox * _arg0;
4833 wxString * _arg1;
2d091820 4834 PyObject * _argo0 = 0;
70551f47 4835 PyObject * _obj1 = 0;
107e4716 4836 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
4837
4838 self = self;
107e4716 4839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_FindString",_kwnames,&_argo0,&_obj1))
70551f47 4840 return NULL;
2d091820
RD
4841 if (_argo0) {
4842 if (_argo0 == Py_None) { _arg0 = NULL; }
4843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
4845 return NULL;
4846 }
4847 }
4848{
2cd2fac8
RD
4849#if PYTHON_API_VERSION >= 1009
4850 char* tmpPtr; int tmpSize;
4851 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 4852 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4853 return NULL;
4854 }
4855 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4856 return NULL;
4857 _arg1 = new wxString(tmpPtr, tmpSize);
4858#else
70551f47
RD
4859 if (!PyString_Check(_obj1)) {
4860 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4861 return NULL;
4862 }
2cd2fac8
RD
4863 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4864#endif
70551f47 4865}
ab9bc19b
RD
4866{
4867 wxPy_BEGIN_ALLOW_THREADS;
4868 _result = (int )wxListBox_FindString(_arg0,*_arg1);
4869
4870 wxPy_END_ALLOW_THREADS;
4dfaa61e 4871 if (PyErr_Occurred()) return NULL;
ab9bc19b 4872} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4873{
4874 if (_obj1)
4875 delete _arg1;
4876}
4877 return _resultobj;
4878}
4879
4880#define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
107e4716 4881static PyObject *_wrap_wxListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4882 PyObject * _resultobj;
4883 int _result;
4884 wxListBox * _arg0;
2d091820 4885 PyObject * _argo0 = 0;
107e4716 4886 char *_kwnames[] = { "self", NULL };
70551f47
RD
4887
4888 self = self;
107e4716 4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelection",_kwnames,&_argo0))
70551f47 4890 return NULL;
2d091820
RD
4891 if (_argo0) {
4892 if (_argo0 == Py_None) { _arg0 = NULL; }
4893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
4895 return NULL;
4896 }
4897 }
ab9bc19b
RD
4898{
4899 wxPy_BEGIN_ALLOW_THREADS;
4900 _result = (int )wxListBox_GetSelection(_arg0);
4901
4902 wxPy_END_ALLOW_THREADS;
4dfaa61e 4903 if (PyErr_Occurred()) return NULL;
ab9bc19b
RD
4904} _resultobj = Py_BuildValue("i",_result);
4905 return _resultobj;
4906}
4907
4908static PyObject * wxListBox_GetSelections(wxListBox *self) {
4909 wxArrayInt lst;
4910 self->GetSelections(lst);
4911 PyObject *tup = PyTuple_New(lst.GetCount());
f6bcfd97 4912 for(size_t i=0; i<lst.GetCount(); i++) {
ab9bc19b
RD
4913 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
4914 }
4915 return tup;
4916 }
107e4716 4917static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
4918 PyObject * _resultobj;
4919 PyObject * _result;
4920 wxListBox * _arg0;
2d091820 4921 PyObject * _argo0 = 0;
107e4716 4922 char *_kwnames[] = { "self", NULL };
ab9bc19b
RD
4923
4924 self = self;
107e4716 4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
ab9bc19b 4926 return NULL;
2d091820
RD
4927 if (_argo0) {
4928 if (_argo0 == Py_None) { _arg0 = NULL; }
4929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
ab9bc19b
RD
4930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4931 return NULL;
4932 }
4933 }
4934{
4935 wxPy_BEGIN_ALLOW_THREADS;
4936 _result = (PyObject *)wxListBox_GetSelections(_arg0);
4937
4938 wxPy_END_ALLOW_THREADS;
4dfaa61e 4939 if (PyErr_Occurred()) return NULL;
ab9bc19b
RD
4940}{
4941 _resultobj = _result;
4942}
70551f47
RD
4943 return _resultobj;
4944}
4945
37f6a977
RD
4946#define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4947static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4948 PyObject * _resultobj;
4949 wxListBox * _arg0;
4950 int _arg1;
4951 wxString * _arg2;
4952 int _arg3;
4953 PyObject * _argo0 = 0;
4954 PyObject * _obj2 = 0;
e02c03a4 4955 char *_kwnames[] = { "self","choices","pos", NULL };
37f6a977
RD
4956
4957 self = self;
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
4959 return NULL;
4960 if (_argo0) {
4961 if (_argo0 == Py_None) { _arg0 = NULL; }
4962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4964 return NULL;
4965 }
4966 }
4967{
4968 _arg2 = wxString_LIST_helper(_obj2);
4969 if (_arg2 == NULL) {
4970 return NULL;
4971 }
4972}
4973{
4974 if (_obj2) {
4975 _arg1 = PyList_Size(_obj2);
4976 }
4977 else {
4978 _arg1 = 0;
4979 }
4980}
4981{
4982 wxPy_BEGIN_ALLOW_THREADS;
4983 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
4984
4985 wxPy_END_ALLOW_THREADS;
4dfaa61e 4986 if (PyErr_Occurred()) return NULL;
37f6a977
RD
4987} Py_INCREF(Py_None);
4988 _resultobj = Py_None;
4989{
4990 delete [] _arg2;
4991}
4992 return _resultobj;
4993}
4994
70551f47 4995#define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
107e4716 4996static PyObject *_wrap_wxListBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4997 PyObject * _resultobj;
4998 wxString * _result;
4999 wxListBox * _arg0;
5000 int _arg1;
2d091820 5001 PyObject * _argo0 = 0;
107e4716 5002 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
5003
5004 self = self;
107e4716 5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_GetString",_kwnames,&_argo0,&_arg1))
70551f47 5006 return NULL;
2d091820
RD
5007 if (_argo0) {
5008 if (_argo0 == Py_None) { _arg0 = NULL; }
5009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
5011 return NULL;
5012 }
5013 }
70551f47 5014{
ab9bc19b
RD
5015 wxPy_BEGIN_ALLOW_THREADS;
5016 _result = new wxString (wxListBox_GetString(_arg0,_arg1));
5017
5018 wxPy_END_ALLOW_THREADS;
4dfaa61e 5019 if (PyErr_Occurred()) return NULL;
ab9bc19b 5020}{
e02c03a4 5021 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
5022}
5023{
5024 delete _result;
5025}
5026 return _resultobj;
5027}
5028
5029#define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
107e4716 5030static PyObject *_wrap_wxListBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5031 PyObject * _resultobj;
5032 wxString * _result;
5033 wxListBox * _arg0;
2d091820 5034 PyObject * _argo0 = 0;
107e4716 5035 char *_kwnames[] = { "self", NULL };
70551f47
RD
5036
5037 self = self;
107e4716 5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetStringSelection",_kwnames,&_argo0))
70551f47 5039 return NULL;
2d091820
RD
5040 if (_argo0) {
5041 if (_argo0 == Py_None) { _arg0 = NULL; }
5042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
5044 return NULL;
5045 }
5046 }
70551f47 5047{
ab9bc19b
RD
5048 wxPy_BEGIN_ALLOW_THREADS;
5049 _result = new wxString (wxListBox_GetStringSelection(_arg0));
5050
5051 wxPy_END_ALLOW_THREADS;
4dfaa61e 5052 if (PyErr_Occurred()) return NULL;
ab9bc19b 5053}{
e02c03a4 5054 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
5055}
5056{
5057 delete _result;
5058}
5059 return _resultobj;
5060}
5061
2c8a649d
RD
5062#define wxListBox_GetCount(_swigobj) (_swigobj->GetCount())
5063static PyObject *_wrap_wxListBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5064 PyObject * _resultobj;
5065 int _result;
5066 wxListBox * _arg0;
2d091820 5067 PyObject * _argo0 = 0;
107e4716 5068 char *_kwnames[] = { "self", NULL };
70551f47
RD
5069
5070 self = self;
2c8a649d
RD
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetCount",_kwnames,&_argo0))
5072 return NULL;
5073 if (_argo0) {
5074 if (_argo0 == Py_None) { _arg0 = NULL; }
5075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetCount. Expected _wxListBox_p.");
5077 return NULL;
5078 }
5079 }
5080{
5081 wxPy_BEGIN_ALLOW_THREADS;
5082 _result = (int )wxListBox_GetCount(_arg0);
5083
5084 wxPy_END_ALLOW_THREADS;
5085 if (PyErr_Occurred()) return NULL;
5086} _resultobj = Py_BuildValue("i",_result);
5087 return _resultobj;
5088}
5089
5090#define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5091static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5092 PyObject * _resultobj;
5093 bool _result;
5094 wxListBox * _arg0;
5095 int _arg1;
5096 PyObject * _argo0 = 0;
5097 char *_kwnames[] = { "self","n", NULL };
5098
5099 self = self;
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
70551f47 5101 return NULL;
2d091820
RD
5102 if (_argo0) {
5103 if (_argo0 == Py_None) { _arg0 = NULL; }
5104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
2c8a649d 5105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
70551f47
RD
5106 return NULL;
5107 }
5108 }
ab9bc19b
RD
5109{
5110 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 5111 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
ab9bc19b
RD
5112
5113 wxPy_END_ALLOW_THREADS;
4dfaa61e 5114 if (PyErr_Occurred()) return NULL;
ab9bc19b 5115} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5116 return _resultobj;
5117}
5118
5119#define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
107e4716 5120static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5121 PyObject * _resultobj;
5122 bool _result;
5123 wxListBox * _arg0;
5124 int _arg1;
2d091820 5125 PyObject * _argo0 = 0;
107e4716 5126 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
5127
5128 self = self;
107e4716 5129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
70551f47 5130 return NULL;
2d091820
RD
5131 if (_argo0) {
5132 if (_argo0 == Py_None) { _arg0 = NULL; }
5133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5135 return NULL;
5136 }
5137 }
ab9bc19b
RD
5138{
5139 wxPy_BEGIN_ALLOW_THREADS;
5140 _result = (bool )wxListBox_Selected(_arg0,_arg1);
5141
5142 wxPy_END_ALLOW_THREADS;
4dfaa61e 5143 if (PyErr_Occurred()) return NULL;
ab9bc19b 5144} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5145 return _resultobj;
5146}
5147
5148#define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
107e4716 5149static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5150 PyObject * _resultobj;
5151 wxListBox * _arg0;
5152 int _arg1;
5153 wxString * _arg2;
2d091820 5154 PyObject * _argo0 = 0;
70551f47 5155 PyObject * _obj2 = 0;
e02c03a4 5156 char *_kwnames[] = { "self","choices", NULL };
70551f47
RD
5157
5158 self = self;
107e4716 5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
70551f47 5160 return NULL;
2d091820
RD
5161 if (_argo0) {
5162 if (_argo0 == Py_None) { _arg0 = NULL; }
5163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5165 return NULL;
5166 }
5167 }
5168 if (_obj2)
5169{
5170 _arg2 = wxString_LIST_helper(_obj2);
5171 if (_arg2 == NULL) {
5172 return NULL;
5173 }
5174}
5175{
ab9bc19b
RD
5176 if (_obj2) {
5177 _arg1 = PyList_Size(_obj2);
5178 }
5179 else {
5180 _arg1 = 0;
5181 }
70551f47 5182}
ab9bc19b
RD
5183{
5184 wxPy_BEGIN_ALLOW_THREADS;
5185 wxListBox_Set(_arg0,_arg1,_arg2);
5186
5187 wxPy_END_ALLOW_THREADS;
4dfaa61e 5188 if (PyErr_Occurred()) return NULL;
ab9bc19b 5189} Py_INCREF(Py_None);
70551f47
RD
5190 _resultobj = Py_None;
5191{
5192 delete [] _arg2;
5193}
5194 return _resultobj;
5195}
5196
5197#define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
107e4716 5198static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5199 PyObject * _resultobj;
5200 wxListBox * _arg0;
5201 int _arg1;
2d091820 5202 PyObject * _argo0 = 0;
107e4716 5203 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
5204
5205 self = self;
107e4716 5206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
70551f47 5207 return NULL;
2d091820
RD
5208 if (_argo0) {
5209 if (_argo0 == Py_None) { _arg0 = NULL; }
5210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5212 return NULL;
5213 }
5214 }
ab9bc19b
RD
5215{
5216 wxPy_BEGIN_ALLOW_THREADS;
5217 wxListBox_SetFirstItem(_arg0,_arg1);
5218
5219 wxPy_END_ALLOW_THREADS;
4dfaa61e 5220 if (PyErr_Occurred()) return NULL;
ab9bc19b 5221} Py_INCREF(Py_None);
70551f47
RD
5222 _resultobj = Py_None;
5223 return _resultobj;
5224}
5225
5226#define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
107e4716 5227static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5228 PyObject * _resultobj;
5229 wxListBox * _arg0;
5230 wxString * _arg1;
2d091820 5231 PyObject * _argo0 = 0;
70551f47 5232 PyObject * _obj1 = 0;
107e4716 5233 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
5234
5235 self = self;
107e4716 5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
70551f47 5237 return NULL;
2d091820
RD
5238 if (_argo0) {
5239 if (_argo0 == Py_None) { _arg0 = NULL; }
5240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5242 return NULL;
5243 }
5244 }
5245{
2cd2fac8
RD
5246#if PYTHON_API_VERSION >= 1009
5247 char* tmpPtr; int tmpSize;
5248 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 5249 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
5250 return NULL;
5251 }
5252 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5253 return NULL;
5254 _arg1 = new wxString(tmpPtr, tmpSize);
5255#else
70551f47
RD
5256 if (!PyString_Check(_obj1)) {
5257 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5258 return NULL;
5259 }
2cd2fac8
RD
5260 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5261#endif
70551f47 5262}
ab9bc19b
RD
5263{
5264 wxPy_BEGIN_ALLOW_THREADS;
5265 wxListBox_SetFirstItemStr(_arg0,*_arg1);
5266
5267 wxPy_END_ALLOW_THREADS;
4dfaa61e 5268 if (PyErr_Occurred()) return NULL;
ab9bc19b 5269} Py_INCREF(Py_None);
70551f47
RD
5270 _resultobj = Py_None;
5271{
5272 if (_obj1)
5273 delete _arg1;
5274}
5275 return _resultobj;
5276}
5277
5278#define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 5279static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5280 PyObject * _resultobj;
5281 wxListBox * _arg0;
5282 int _arg1;
2d091820
RD
5283 bool _arg2 = (bool ) TRUE;
5284 PyObject * _argo0 = 0;
5285 int tempbool2 = (int) TRUE;
107e4716 5286 char *_kwnames[] = { "self","n","select", NULL };
70551f47
RD
5287
5288 self = self;
107e4716 5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 5290 return NULL;
2d091820
RD
5291 if (_argo0) {
5292 if (_argo0 == Py_None) { _arg0 = NULL; }
5293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5295 return NULL;
5296 }
5297 }
5298 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
5299{
5300 wxPy_BEGIN_ALLOW_THREADS;
5301 wxListBox_SetSelection(_arg0,_arg1,_arg2);
5302
5303 wxPy_END_ALLOW_THREADS;
4dfaa61e 5304 if (PyErr_Occurred()) return NULL;
ab9bc19b 5305} Py_INCREF(Py_None);
70551f47
RD
5306 _resultobj = Py_None;
5307 return _resultobj;
5308}
5309
5310#define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
107e4716 5311static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5312 PyObject * _resultobj;
5313 wxListBox * _arg0;
5314 int _arg1;
5315 wxString * _arg2;
2d091820 5316 PyObject * _argo0 = 0;
70551f47 5317 PyObject * _obj2 = 0;
107e4716 5318 char *_kwnames[] = { "self","n","string", NULL };
70551f47
RD
5319
5320 self = self;
107e4716 5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 5322 return NULL;
2d091820
RD
5323 if (_argo0) {
5324 if (_argo0 == Py_None) { _arg0 = NULL; }
5325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5327 return NULL;
5328 }
5329 }
5330{
2cd2fac8
RD
5331#if PYTHON_API_VERSION >= 1009
5332 char* tmpPtr; int tmpSize;
5333 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 5334 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
5335 return NULL;
5336 }
5337 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5338 return NULL;
5339 _arg2 = new wxString(tmpPtr, tmpSize);
5340#else
70551f47
RD
5341 if (!PyString_Check(_obj2)) {
5342 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5343 return NULL;
5344 }
2cd2fac8
RD
5345 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5346#endif
70551f47 5347}
ab9bc19b
RD
5348{
5349 wxPy_BEGIN_ALLOW_THREADS;
5350 wxListBox_SetString(_arg0,_arg1,*_arg2);
5351
5352 wxPy_END_ALLOW_THREADS;
4dfaa61e 5353 if (PyErr_Occurred()) return NULL;
ab9bc19b 5354} Py_INCREF(Py_None);
70551f47
RD
5355 _resultobj = Py_None;
5356{
5357 if (_obj2)
5358 delete _arg2;
5359}
5360 return _resultobj;
5361}
5362
5363#define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
107e4716 5364static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5365 PyObject * _resultobj;
5366 wxListBox * _arg0;
5367 wxString * _arg1;
2d091820
RD
5368 bool _arg2 = (bool ) TRUE;
5369 PyObject * _argo0 = 0;
70551f47 5370 PyObject * _obj1 = 0;
2d091820 5371 int tempbool2 = (int) TRUE;
107e4716 5372 char *_kwnames[] = { "self","string","select", NULL };
70551f47
RD
5373
5374 self = self;
107e4716 5375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
70551f47 5376 return NULL;
2d091820
RD
5377 if (_argo0) {
5378 if (_argo0 == Py_None) { _arg0 = NULL; }
5379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5381 return NULL;
5382 }
5383 }
5384{
2cd2fac8
RD
5385#if PYTHON_API_VERSION >= 1009
5386 char* tmpPtr; int tmpSize;
5387 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 5388 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
5389 return NULL;
5390 }
5391 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5392 return NULL;
5393 _arg1 = new wxString(tmpPtr, tmpSize);
5394#else
70551f47
RD
5395 if (!PyString_Check(_obj1)) {
5396 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5397 return NULL;
5398 }
2cd2fac8
RD
5399 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5400#endif
70551f47
RD
5401}
5402 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
5403{
5404 wxPy_BEGIN_ALLOW_THREADS;
5405 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
5406
5407 wxPy_END_ALLOW_THREADS;
4dfaa61e 5408 if (PyErr_Occurred()) return NULL;
ab9bc19b 5409} Py_INCREF(Py_None);
70551f47
RD
5410 _resultobj = Py_None;
5411{
5412 if (_obj1)
5413 delete _arg1;
5414}
5415 return _resultobj;
5416}
5417
c95e68d8
RD
5418static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5419 wxCheckListBox *src;
5420 wxListBox *dest;
5421 src = (wxCheckListBox *) ptr;
5422 dest = (wxListBox *) src;
5423 return (void *) dest;
5424}
5425
5426static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5427 wxCheckListBox *src;
5428 wxControl *dest;
5429 src = (wxCheckListBox *) ptr;
5430 dest = (wxControl *) src;
5431 return (void *) dest;
5432}
5433
5434static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5435 wxCheckListBox *src;
5436 wxWindow *dest;
5437 src = (wxCheckListBox *) ptr;
5438 dest = (wxWindow *) src;
5439 return (void *) dest;
5440}
5441
5442static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5443 wxCheckListBox *src;
5444 wxEvtHandler *dest;
5445 src = (wxCheckListBox *) ptr;
5446 dest = (wxEvtHandler *) src;
5447 return (void *) dest;
5448}
5449
9df61a29
RD
5450static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5451 wxCheckListBox *src;
5452 wxObject *dest;
5453 src = (wxCheckListBox *) ptr;
5454 dest = (wxObject *) src;
5455 return (void *) dest;
5456}
5457
c95e68d8 5458#define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
107e4716 5459static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5460 PyObject * _resultobj;
5461 wxCheckListBox * _result;
5462 wxWindow * _arg0;
5463 wxWindowID _arg1;
b68dc582
RD
5464 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5465 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
5466 int _arg4 = (int ) 0;
5467 wxString * _arg5 = (wxString *) NULL;
5468 long _arg6 = (long ) 0;
b68dc582 5469 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
5470 char * _arg8 = (char *) "listBox";
5471 PyObject * _argo0 = 0;
37f6a977
RD
5472 wxPoint temp;
5473 PyObject * _obj2 = 0;
5474 wxSize temp0;
5475 PyObject * _obj3 = 0;
c95e68d8 5476 PyObject * _obj5 = 0;
2d091820 5477 PyObject * _argo7 = 0;
e02c03a4 5478 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
c95e68d8
RD
5479 char _ptemp[128];
5480
5481 self = self;
37f6a977 5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
c95e68d8 5483 return NULL;
2d091820
RD
5484 if (_argo0) {
5485 if (_argo0 == Py_None) { _arg0 = NULL; }
5486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
c95e68d8
RD
5487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5488 return NULL;
5489 }
5490 }
37f6a977
RD
5491 if (_obj2)
5492{
5493 _arg2 = &temp;
5494 if (! wxPoint_helper(_obj2, &_arg2))
c95e68d8 5495 return NULL;
37f6a977
RD
5496}
5497 if (_obj3)
5498{
5499 _arg3 = &temp0;
5500 if (! wxSize_helper(_obj3, &_arg3))
c95e68d8 5501 return NULL;
37f6a977 5502}
c95e68d8
RD
5503 if (_obj5)
5504{
5505 _arg5 = wxString_LIST_helper(_obj5);
5506 if (_arg5 == NULL) {
5507 return NULL;
5508 }
5509}
2d091820
RD
5510 if (_argo7) {
5511 if (_argo7 == Py_None) { _arg7 = NULL; }
5512 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
c95e68d8
RD
5513 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5514 return NULL;
5515 }
5516 }
5517{
ab9bc19b
RD
5518 if (_obj5) {
5519 _arg4 = PyList_Size(_obj5);
5520 }
5521 else {
5522 _arg4 = 0;
5523 }
c95e68d8 5524}
ab9bc19b
RD
5525{
5526 wxPy_BEGIN_ALLOW_THREADS;
5527 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
5528
5529 wxPy_END_ALLOW_THREADS;
4dfaa61e 5530 if (PyErr_Occurred()) return NULL;
2d091820
RD
5531} if (_result) {
5532 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5533 _resultobj = Py_BuildValue("s",_ptemp);
5534 } else {
5535 Py_INCREF(Py_None);
5536 _resultobj = Py_None;
5537 }
c95e68d8
RD
5538{
5539 delete [] _arg5;
5540}
5541 return _resultobj;
5542}
5543
aa2a5b86
RD
5544#define new_wxPreCheckListBox() (new wxCheckListBox())
5545static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject * _resultobj;
5547 wxCheckListBox * _result;
5548 char *_kwnames[] = { NULL };
5549 char _ptemp[128];
5550
5551 self = self;
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
5553 return NULL;
5554{
5555 wxPy_BEGIN_ALLOW_THREADS;
5556 _result = (wxCheckListBox *)new_wxPreCheckListBox();
5557
5558 wxPy_END_ALLOW_THREADS;
5559 if (PyErr_Occurred()) return NULL;
5560} if (_result) {
5561 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5562 _resultobj = Py_BuildValue("s",_ptemp);
5563 } else {
5564 Py_INCREF(Py_None);
5565 _resultobj = Py_None;
5566 }
5567 return _resultobj;
5568}
5569
5570#define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5571static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5572 PyObject * _resultobj;
5573 bool _result;
5574 wxCheckListBox * _arg0;
5575 wxWindow * _arg1;
5576 wxWindowID _arg2;
5577 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5578 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5579 int _arg5 = (int ) 0;
5580 wxString * _arg6 = (wxString *) NULL;
5581 long _arg7 = (long ) 0;
5582 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
5583 char * _arg9 = (char *) "listBox";
5584 PyObject * _argo0 = 0;
5585 PyObject * _argo1 = 0;
5586 wxPoint temp;
5587 PyObject * _obj3 = 0;
5588 wxSize temp0;
5589 PyObject * _obj4 = 0;
5590 PyObject * _obj6 = 0;
5591 PyObject * _argo8 = 0;
5592 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5593
5594 self = self;
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
5596 return NULL;
5597 if (_argo0) {
5598 if (_argo0 == Py_None) { _arg0 = NULL; }
5599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5601 return NULL;
5602 }
5603 }
5604 if (_argo1) {
5605 if (_argo1 == Py_None) { _arg1 = NULL; }
5606 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5607 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5608 return NULL;
5609 }
5610 }
5611 if (_obj3)
5612{
5613 _arg3 = &temp;
5614 if (! wxPoint_helper(_obj3, &_arg3))
5615 return NULL;
5616}
5617 if (_obj4)
5618{
5619 _arg4 = &temp0;
5620 if (! wxSize_helper(_obj4, &_arg4))
5621 return NULL;
5622}
5623 if (_obj6)
5624{
5625 _arg6 = wxString_LIST_helper(_obj6);
5626 if (_arg6 == NULL) {
5627 return NULL;
5628 }
5629}
5630 if (_argo8) {
5631 if (_argo8 == Py_None) { _arg8 = NULL; }
5632 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
5633 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5634 return NULL;
5635 }
5636 }
5637{
5638 if (_obj6) {
5639 _arg5 = PyList_Size(_obj6);
5640 }
5641 else {
5642 _arg5 = 0;
5643 }
5644}
5645{
5646 wxPy_BEGIN_ALLOW_THREADS;
5647 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
5648
5649 wxPy_END_ALLOW_THREADS;
5650 if (PyErr_Occurred()) return NULL;
5651} _resultobj = Py_BuildValue("i",_result);
5652{
5653 delete [] _arg6;
5654}
5655 return _resultobj;
5656}
5657
c95e68d8 5658#define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
107e4716 5659static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5660 PyObject * _resultobj;
5661 bool _result;
5662 wxCheckListBox * _arg0;
5663 int _arg1;
2d091820 5664 PyObject * _argo0 = 0;
107e4716 5665 char *_kwnames[] = { "self","uiIndex", NULL };
c95e68d8
RD
5666
5667 self = self;
107e4716 5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
c95e68d8 5669 return NULL;
2d091820
RD
5670 if (_argo0) {
5671 if (_argo0 == Py_None) { _arg0 = NULL; }
5672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
5673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5674 return NULL;
5675 }
5676 }
ab9bc19b
RD
5677{
5678 wxPy_BEGIN_ALLOW_THREADS;
5679 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
5680
5681 wxPy_END_ALLOW_THREADS;
4dfaa61e 5682 if (PyErr_Occurred()) return NULL;
ab9bc19b 5683} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
5684 return _resultobj;
5685}
5686
5687#define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
107e4716 5688static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5689 PyObject * _resultobj;
5690 wxCheckListBox * _arg0;
5691 int _arg1;
d29aba2f 5692 int _arg2 = (int ) TRUE;
2d091820 5693 PyObject * _argo0 = 0;
107e4716 5694 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
c95e68d8
RD
5695
5696 self = self;
d29aba2f 5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
c95e68d8 5698 return NULL;
2d091820
RD
5699 if (_argo0) {
5700 if (_argo0 == Py_None) { _arg0 = NULL; }
5701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
5702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5703 return NULL;
5704 }
5705 }
ab9bc19b
RD
5706{
5707 wxPy_BEGIN_ALLOW_THREADS;
5708 wxCheckListBox_Check(_arg0,_arg1,_arg2);
5709
5710 wxPy_END_ALLOW_THREADS;
4dfaa61e 5711 if (PyErr_Occurred()) return NULL;
ab9bc19b 5712} Py_INCREF(Py_None);
c95e68d8
RD
5713 _resultobj = Py_None;
5714 return _resultobj;
5715}
5716
d29aba2f
RD
5717#define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5718static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject * _resultobj;
5720 wxCheckListBox * _arg0;
5721 int _arg1;
5722 wxString * _arg2;
5723 int _arg3;
5724 PyObject * _argo0 = 0;
5725 PyObject * _obj2 = 0;
e02c03a4 5726 char *_kwnames[] = { "self","choices","pos", NULL };
d29aba2f
RD
5727
5728 self = self;
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5730 return NULL;
5731 if (_argo0) {
5732 if (_argo0 == Py_None) { _arg0 = NULL; }
5733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5735 return NULL;
5736 }
5737 }
5738{
5739 _arg2 = wxString_LIST_helper(_obj2);
5740 if (_arg2 == NULL) {
5741 return NULL;
5742 }
5743}
5744{
5745 if (_obj2) {
5746 _arg1 = PyList_Size(_obj2);
5747 }
5748 else {
5749 _arg1 = 0;
5750 }
5751}
5752{
5753 wxPy_BEGIN_ALLOW_THREADS;
5754 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
5755
5756 wxPy_END_ALLOW_THREADS;
4dfaa61e 5757 if (PyErr_Occurred()) return NULL;
d29aba2f
RD
5758} Py_INCREF(Py_None);
5759 _resultobj = Py_None;
5760{
5761 delete [] _arg2;
5762}
5763 return _resultobj;
5764}
5765
c95e68d8 5766#define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
107e4716 5767static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5768 PyObject * _resultobj;
5769 int _result;
5770 wxCheckListBox * _arg0;
2d091820 5771 PyObject * _argo0 = 0;
107e4716 5772 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
5773
5774 self = self;
107e4716 5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
c95e68d8 5776 return NULL;
2d091820
RD
5777 if (_argo0) {
5778 if (_argo0 == Py_None) { _arg0 = NULL; }
5779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
5780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5781 return NULL;
5782 }
5783 }
ab9bc19b
RD
5784{
5785 wxPy_BEGIN_ALLOW_THREADS;
5786 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
5787
5788 wxPy_END_ALLOW_THREADS;
4dfaa61e 5789 if (PyErr_Occurred()) return NULL;
ab9bc19b 5790} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
5791 return _resultobj;
5792}
5793
9d6da64a
RD
5794#define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5795static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject * _resultobj;
5797 wxTextAttr * _result;
5798 wxColour * _arg0 = (wxColour *) &wxNullColour;
5799 wxColour * _arg1 = (wxColour *) &wxNullColour;
5800 wxFont * _arg2 = (wxFont *) &wxNullFont;
5801 wxColour temp;
5802 PyObject * _obj0 = 0;
5803 wxColour temp0;
5804 PyObject * _obj1 = 0;
5805 PyObject * _argo2 = 0;
5806 char *_kwnames[] = { "colText","colBack","font", NULL };
5807 char _ptemp[128];
5808
5809 self = self;
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5811 return NULL;
5812 if (_obj0)
5813{
5814 _arg0 = &temp;
5815 if (! wxColour_helper(_obj0, &_arg0))
5816 return NULL;
5817}
5818 if (_obj1)
5819{
5820 _arg1 = &temp0;
5821 if (! wxColour_helper(_obj1, &_arg1))
5822 return NULL;
5823}
5824 if (_argo2) {
5825 if (_argo2 == Py_None) { _arg2 = NULL; }
5826 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5827 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5828 return NULL;
5829 }
5830 }
5831{
5832 wxPy_BEGIN_ALLOW_THREADS;
5833 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2);
5834
5835 wxPy_END_ALLOW_THREADS;
5836 if (PyErr_Occurred()) return NULL;
5837} if (_result) {
5838 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
5839 _resultobj = Py_BuildValue("s",_ptemp);
5840 } else {
5841 Py_INCREF(Py_None);
5842 _resultobj = Py_None;
5843 }
5844 return _resultobj;
5845}
5846
5847#define delete_wxTextAttr(_swigobj) (delete _swigobj)
5848static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5849 PyObject * _resultobj;
5850 wxTextAttr * _arg0;
5851 PyObject * _argo0 = 0;
5852 char *_kwnames[] = { "self", NULL };
5853
5854 self = self;
5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
5856 return NULL;
5857 if (_argo0) {
5858 if (_argo0 == Py_None) { _arg0 = NULL; }
5859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5861 return NULL;
5862 }
5863 }
5864{
5865 wxPy_BEGIN_ALLOW_THREADS;
5866 delete_wxTextAttr(_arg0);
5867
5868 wxPy_END_ALLOW_THREADS;
5869 if (PyErr_Occurred()) return NULL;
5870} Py_INCREF(Py_None);
5871 _resultobj = Py_None;
5872 return _resultobj;
5873}
5874
5875#define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5876static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5877 PyObject * _resultobj;
5878 wxTextAttr * _arg0;
5879 wxColour * _arg1;
5880 PyObject * _argo0 = 0;
5881 wxColour temp;
5882 PyObject * _obj1 = 0;
5883 char *_kwnames[] = { "self","colText", NULL };
5884
5885 self = self;
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5887 return NULL;
5888 if (_argo0) {
5889 if (_argo0 == Py_None) { _arg0 = NULL; }
5890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5892 return NULL;
5893 }
5894 }
5895{
5896 _arg1 = &temp;
5897 if (! wxColour_helper(_obj1, &_arg1))
5898 return NULL;
5899}
5900{
5901 wxPy_BEGIN_ALLOW_THREADS;
5902 wxTextAttr_SetTextColour(_arg0,*_arg1);
5903
5904 wxPy_END_ALLOW_THREADS;
5905 if (PyErr_Occurred()) return NULL;
5906} Py_INCREF(Py_None);
5907 _resultobj = Py_None;
5908 return _resultobj;
5909}
5910
5911#define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5912static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject * _resultobj;
5914 wxTextAttr * _arg0;
5915 wxColour * _arg1;
5916 PyObject * _argo0 = 0;
5917 wxColour temp;
5918 PyObject * _obj1 = 0;
5919 char *_kwnames[] = { "self","colBack", NULL };
5920
5921 self = self;
5922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5923 return NULL;
5924 if (_argo0) {
5925 if (_argo0 == Py_None) { _arg0 = NULL; }
5926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5928 return NULL;
5929 }
5930 }
5931{
5932 _arg1 = &temp;
5933 if (! wxColour_helper(_obj1, &_arg1))
5934 return NULL;
5935}
5936{
5937 wxPy_BEGIN_ALLOW_THREADS;
5938 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
5939
5940 wxPy_END_ALLOW_THREADS;
5941 if (PyErr_Occurred()) return NULL;
5942} Py_INCREF(Py_None);
5943 _resultobj = Py_None;
5944 return _resultobj;
5945}
5946
5947#define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5948static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject * _resultobj;
5950 wxTextAttr * _arg0;
5951 wxFont * _arg1;
5952 PyObject * _argo0 = 0;
5953 PyObject * _argo1 = 0;
5954 char *_kwnames[] = { "self","font", NULL };
5955
5956 self = self;
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
5958 return NULL;
5959 if (_argo0) {
5960 if (_argo0 == Py_None) { _arg0 = NULL; }
5961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5963 return NULL;
5964 }
5965 }
5966 if (_argo1) {
5967 if (_argo1 == Py_None) { _arg1 = NULL; }
5968 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5969 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5970 return NULL;
5971 }
5972 }
5973{
5974 wxPy_BEGIN_ALLOW_THREADS;
5975 wxTextAttr_SetFont(_arg0,*_arg1);
5976
5977 wxPy_END_ALLOW_THREADS;
5978 if (PyErr_Occurred()) return NULL;
5979} Py_INCREF(Py_None);
5980 _resultobj = Py_None;
5981 return _resultobj;
5982}
5983
5984#define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5985static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject * _resultobj;
5987 bool _result;
5988 wxTextAttr * _arg0;
5989 PyObject * _argo0 = 0;
5990 char *_kwnames[] = { "self", NULL };
5991
5992 self = self;
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
5994 return NULL;
5995 if (_argo0) {
5996 if (_argo0 == Py_None) { _arg0 = NULL; }
5997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5999 return NULL;
6000 }
6001 }
6002{
6003 wxPy_BEGIN_ALLOW_THREADS;
6004 _result = (bool )wxTextAttr_HasTextColour(_arg0);
6005
6006 wxPy_END_ALLOW_THREADS;
6007 if (PyErr_Occurred()) return NULL;
6008} _resultobj = Py_BuildValue("i",_result);
6009 return _resultobj;
6010}
6011
6012#define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6013static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject * _resultobj;
6015 bool _result;
6016 wxTextAttr * _arg0;
6017 PyObject * _argo0 = 0;
6018 char *_kwnames[] = { "self", NULL };
6019
6020 self = self;
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
6022 return NULL;
6023 if (_argo0) {
6024 if (_argo0 == Py_None) { _arg0 = NULL; }
6025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6027 return NULL;
6028 }
6029 }
6030{
6031 wxPy_BEGIN_ALLOW_THREADS;
6032 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
6033
6034 wxPy_END_ALLOW_THREADS;
6035 if (PyErr_Occurred()) return NULL;
6036} _resultobj = Py_BuildValue("i",_result);
6037 return _resultobj;
6038}
6039
6040#define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6041static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6042 PyObject * _resultobj;
6043 bool _result;
6044 wxTextAttr * _arg0;
6045 PyObject * _argo0 = 0;
6046 char *_kwnames[] = { "self", NULL };
6047
6048 self = self;
6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
6050 return NULL;
6051 if (_argo0) {
6052 if (_argo0 == Py_None) { _arg0 = NULL; }
6053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6055 return NULL;
6056 }
6057 }
6058{
6059 wxPy_BEGIN_ALLOW_THREADS;
6060 _result = (bool )wxTextAttr_HasFont(_arg0);
6061
6062 wxPy_END_ALLOW_THREADS;
6063 if (PyErr_Occurred()) return NULL;
6064} _resultobj = Py_BuildValue("i",_result);
6065 return _resultobj;
6066}
6067
6068#define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6069static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject * _resultobj;
6071 wxColour * _result;
6072 wxTextAttr * _arg0;
6073 PyObject * _argo0 = 0;
6074 char *_kwnames[] = { "self", NULL };
6075 char _ptemp[128];
6076
6077 self = self;
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
6079 return NULL;
6080 if (_argo0) {
6081 if (_argo0 == Py_None) { _arg0 = NULL; }
6082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6084 return NULL;
6085 }
6086 }
6087{
6088 wxPy_BEGIN_ALLOW_THREADS;
6089 const wxColour & _result_ref = wxTextAttr_GetTextColour(_arg0);
6090 _result = (wxColour *) &_result_ref;
6091
6092 wxPy_END_ALLOW_THREADS;
6093 if (PyErr_Occurred()) return NULL;
6094} if (_result) {
6095 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
6096 _resultobj = Py_BuildValue("s",_ptemp);
6097 } else {
6098 Py_INCREF(Py_None);
6099 _resultobj = Py_None;
6100 }
6101 return _resultobj;
6102}
6103
6104#define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6105static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject * _resultobj;
6107 wxColour * _result;
6108 wxTextAttr * _arg0;
6109 PyObject * _argo0 = 0;
6110 char *_kwnames[] = { "self", NULL };
6111 char _ptemp[128];
6112
6113 self = self;
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
6115 return NULL;
6116 if (_argo0) {
6117 if (_argo0 == Py_None) { _arg0 = NULL; }
6118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6120 return NULL;
6121 }
6122 }
6123{
6124 wxPy_BEGIN_ALLOW_THREADS;
6125 const wxColour & _result_ref = wxTextAttr_GetBackgroundColour(_arg0);
6126 _result = (wxColour *) &_result_ref;
6127
6128 wxPy_END_ALLOW_THREADS;
6129 if (PyErr_Occurred()) return NULL;
6130} if (_result) {
6131 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
6132 _resultobj = Py_BuildValue("s",_ptemp);
6133 } else {
6134 Py_INCREF(Py_None);
6135 _resultobj = Py_None;
6136 }
6137 return _resultobj;
6138}
6139
6140#define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6141static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6142 PyObject * _resultobj;
6143 wxFont * _result;
6144 wxTextAttr * _arg0;
6145 PyObject * _argo0 = 0;
6146 char *_kwnames[] = { "self", NULL };
6147 char _ptemp[128];
6148
6149 self = self;
6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
6151 return NULL;
6152 if (_argo0) {
6153 if (_argo0 == Py_None) { _arg0 = NULL; }
6154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6156 return NULL;
6157 }
6158 }
6159{
6160 wxPy_BEGIN_ALLOW_THREADS;
6161 const wxFont & _result_ref = wxTextAttr_GetFont(_arg0);
6162 _result = (wxFont *) &_result_ref;
6163
6164 wxPy_END_ALLOW_THREADS;
6165 if (PyErr_Occurred()) return NULL;
6166} if (_result) {
6167 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
6168 _resultobj = Py_BuildValue("s",_ptemp);
6169 } else {
6170 Py_INCREF(Py_None);
6171 _resultobj = Py_None;
6172 }
6173 return _resultobj;
6174}
6175
70551f47
RD
6176static void *SwigwxTextCtrlTowxControl(void *ptr) {
6177 wxTextCtrl *src;
6178 wxControl *dest;
6179 src = (wxTextCtrl *) ptr;
6180 dest = (wxControl *) src;
6181 return (void *) dest;
6182}
6183
6184static void *SwigwxTextCtrlTowxWindow(void *ptr) {
6185 wxTextCtrl *src;
6186 wxWindow *dest;
6187 src = (wxTextCtrl *) ptr;
6188 dest = (wxWindow *) src;
6189 return (void *) dest;
6190}
6191
6192static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
6193 wxTextCtrl *src;
6194 wxEvtHandler *dest;
6195 src = (wxTextCtrl *) ptr;
6196 dest = (wxEvtHandler *) src;
6197 return (void *) dest;
6198}
6199
9df61a29
RD
6200static void *SwigwxTextCtrlTowxObject(void *ptr) {
6201 wxTextCtrl *src;
6202 wxObject *dest;
6203 src = (wxTextCtrl *) ptr;
6204 dest = (wxObject *) src;
6205 return (void *) dest;
6206}
6207
70551f47 6208#define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 6209static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6210 PyObject * _resultobj;
6211 wxTextCtrl * _result;
6212 wxWindow * _arg0;
6213 wxWindowID _arg1;
2d091820 6214 char * _arg2 = (char *) "";
b68dc582
RD
6215 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6216 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 6217 long _arg5 = (long ) 0;
b68dc582 6218 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
6219 char * _arg7 = (char *) "text";
6220 PyObject * _argo0 = 0;
37f6a977
RD
6221 wxPoint temp;
6222 PyObject * _obj3 = 0;
6223 wxSize temp0;
6224 PyObject * _obj4 = 0;
2d091820 6225 PyObject * _argo6 = 0;
107e4716 6226 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
70551f47
RD
6227 char _ptemp[128];
6228
6229 self = self;
37f6a977 6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOlOs:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 6231 return NULL;
2d091820
RD
6232 if (_argo0) {
6233 if (_argo0 == Py_None) { _arg0 = NULL; }
6234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
6235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6236 return NULL;
6237 }
6238 }
37f6a977
RD
6239 if (_obj3)
6240{
6241 _arg3 = &temp;
6242 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 6243 return NULL;
37f6a977
RD
6244}
6245 if (_obj4)
6246{
6247 _arg4 = &temp0;
6248 if (! wxSize_helper(_obj4, &_arg4))
70551f47 6249 return NULL;
37f6a977 6250}
2d091820
RD
6251 if (_argo6) {
6252 if (_argo6 == Py_None) { _arg6 = NULL; }
6253 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
6254 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6255 return NULL;
6256 }
6257 }
ab9bc19b
RD
6258{
6259 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86
RD
6260 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
6261
6262 wxPy_END_ALLOW_THREADS;
6263 if (PyErr_Occurred()) return NULL;
6264} if (_result) {
6265 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6266 _resultobj = Py_BuildValue("s",_ptemp);
6267 } else {
6268 Py_INCREF(Py_None);
6269 _resultobj = Py_None;
6270 }
6271 return _resultobj;
6272}
6273
6274#define new_wxPreTextCtrl() (new wxTextCtrl())
6275static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6276 PyObject * _resultobj;
6277 wxTextCtrl * _result;
6278 char *_kwnames[] = { NULL };
6279 char _ptemp[128];
6280
6281 self = self;
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
6283 return NULL;
6284{
6285 wxPy_BEGIN_ALLOW_THREADS;
6286 _result = (wxTextCtrl *)new_wxPreTextCtrl();
6287
6288 wxPy_END_ALLOW_THREADS;
6289 if (PyErr_Occurred()) return NULL;
6290} if (_result) {
6291 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6292 _resultobj = Py_BuildValue("s",_ptemp);
6293 } else {
6294 Py_INCREF(Py_None);
6295 _resultobj = Py_None;
6296 }
6297 return _resultobj;
6298}
6299
6300#define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6301static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6302 PyObject * _resultobj;
6303 bool _result;
6304 wxTextCtrl * _arg0;
6305 wxWindow * _arg1;
6306 wxWindowID _arg2;
6307 char * _arg3 = (char *) "";
6308 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
6309 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
6310 long _arg6 = (long ) 0;
6311 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
6312 char * _arg8 = (char *) "text";
6313 PyObject * _argo0 = 0;
6314 PyObject * _argo1 = 0;
6315 wxPoint temp;
6316 PyObject * _obj4 = 0;
6317 wxSize temp0;
6318 PyObject * _obj5 = 0;
6319 PyObject * _argo7 = 0;
6320 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
6321
6322 self = self;
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
6324 return NULL;
6325 if (_argo0) {
6326 if (_argo0 == Py_None) { _arg0 = NULL; }
6327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6329 return NULL;
6330 }
6331 }
6332 if (_argo1) {
6333 if (_argo1 == Py_None) { _arg1 = NULL; }
6334 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6335 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6336 return NULL;
6337 }
6338 }
6339 if (_obj4)
6340{
6341 _arg4 = &temp;
6342 if (! wxPoint_helper(_obj4, &_arg4))
6343 return NULL;
6344}
6345 if (_obj5)
6346{
6347 _arg5 = &temp0;
6348 if (! wxSize_helper(_obj5, &_arg5))
6349 return NULL;
6350}
6351 if (_argo7) {
6352 if (_argo7 == Py_None) { _arg7 = NULL; }
6353 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
6354 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6355 return NULL;
6356 }
6357 }
6358{
6359 wxPy_BEGIN_ALLOW_THREADS;
6360 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
ab9bc19b
RD
6361
6362 wxPy_END_ALLOW_THREADS;
4dfaa61e 6363 if (PyErr_Occurred()) return NULL;
aa2a5b86 6364} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
6365 return _resultobj;
6366}
6367
6368#define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
107e4716 6369static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6370 PyObject * _resultobj;
6371 wxTextCtrl * _arg0;
2d091820 6372 PyObject * _argo0 = 0;
107e4716 6373 char *_kwnames[] = { "self", NULL };
70551f47
RD
6374
6375 self = self;
107e4716 6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
70551f47 6377 return NULL;
2d091820
RD
6378 if (_argo0) {
6379 if (_argo0 == Py_None) { _arg0 = NULL; }
6380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6382 return NULL;
6383 }
6384 }
ab9bc19b
RD
6385{
6386 wxPy_BEGIN_ALLOW_THREADS;
6387 wxTextCtrl_Clear(_arg0);
6388
6389 wxPy_END_ALLOW_THREADS;
4dfaa61e 6390 if (PyErr_Occurred()) return NULL;
ab9bc19b 6391} Py_INCREF(Py_None);
70551f47
RD
6392 _resultobj = Py_None;
6393 return _resultobj;
6394}
6395
6396#define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
107e4716 6397static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6398 PyObject * _resultobj;
6399 wxTextCtrl * _arg0;
2d091820 6400 PyObject * _argo0 = 0;
107e4716 6401 char *_kwnames[] = { "self", NULL };
70551f47
RD
6402
6403 self = self;
107e4716 6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
70551f47 6405 return NULL;
2d091820
RD
6406 if (_argo0) {
6407 if (_argo0 == Py_None) { _arg0 = NULL; }
6408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
6410 return NULL;
6411 }
6412 }
ab9bc19b
RD
6413{
6414 wxPy_BEGIN_ALLOW_THREADS;
6415 wxTextCtrl_Copy(_arg0);
6416
6417 wxPy_END_ALLOW_THREADS;
4dfaa61e 6418 if (PyErr_Occurred()) return NULL;
ab9bc19b 6419} Py_INCREF(Py_None);
70551f47
RD
6420 _resultobj = Py_None;
6421 return _resultobj;
6422}
6423
6424#define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
107e4716 6425static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6426 PyObject * _resultobj;
6427 wxTextCtrl * _arg0;
2d091820 6428 PyObject * _argo0 = 0;
107e4716 6429 char *_kwnames[] = { "self", NULL };
70551f47
RD
6430
6431 self = self;
107e4716 6432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
70551f47 6433 return NULL;
2d091820
RD
6434 if (_argo0) {
6435 if (_argo0 == Py_None) { _arg0 = NULL; }
6436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
6438 return NULL;
6439 }
6440 }
ab9bc19b
RD
6441{
6442 wxPy_BEGIN_ALLOW_THREADS;
6443 wxTextCtrl_Cut(_arg0);
6444
6445 wxPy_END_ALLOW_THREADS;
4dfaa61e 6446 if (PyErr_Occurred()) return NULL;
ab9bc19b 6447} Py_INCREF(Py_None);
70551f47
RD
6448 _resultobj = Py_None;
6449 return _resultobj;
6450}
6451
6452#define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
107e4716 6453static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6454 PyObject * _resultobj;
6455 wxTextCtrl * _arg0;
2d091820 6456 PyObject * _argo0 = 0;
107e4716 6457 char *_kwnames[] = { "self", NULL };
70551f47
RD
6458
6459 self = self;
107e4716 6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
70551f47 6461 return NULL;
2d091820
RD
6462 if (_argo0) {
6463 if (_argo0 == Py_None) { _arg0 = NULL; }
6464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6466 return NULL;
6467 }
6468 }
ab9bc19b
RD
6469{
6470 wxPy_BEGIN_ALLOW_THREADS;
6471 wxTextCtrl_DiscardEdits(_arg0);
6472
6473 wxPy_END_ALLOW_THREADS;
4dfaa61e 6474 if (PyErr_Occurred()) return NULL;
ab9bc19b 6475} Py_INCREF(Py_None);
70551f47
RD
6476 _resultobj = Py_None;
6477 return _resultobj;
6478}
6479
6480#define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
107e4716 6481static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6482 PyObject * _resultobj;
6483 long _result;
6484 wxTextCtrl * _arg0;
2d091820 6485 PyObject * _argo0 = 0;
107e4716 6486 char *_kwnames[] = { "self", NULL };
70551f47
RD
6487
6488 self = self;
107e4716 6489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
70551f47 6490 return NULL;
2d091820
RD
6491 if (_argo0) {
6492 if (_argo0 == Py_None) { _arg0 = NULL; }
6493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
6495 return NULL;
6496 }
6497 }
ab9bc19b
RD
6498{
6499 wxPy_BEGIN_ALLOW_THREADS;
6500 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
6501
6502 wxPy_END_ALLOW_THREADS;
4dfaa61e 6503 if (PyErr_Occurred()) return NULL;
ab9bc19b 6504} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
6505 return _resultobj;
6506}
6507
6508#define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
107e4716 6509static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6510 PyObject * _resultobj;
6511 long _result;
6512 wxTextCtrl * _arg0;
2d091820 6513 PyObject * _argo0 = 0;
107e4716 6514 char *_kwnames[] = { "self", NULL };
70551f47
RD
6515
6516 self = self;
107e4716 6517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
70551f47 6518 return NULL;
2d091820
RD
6519 if (_argo0) {
6520 if (_argo0 == Py_None) { _arg0 = NULL; }
6521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
6523 return NULL;
6524 }
6525 }
ab9bc19b
RD
6526{
6527 wxPy_BEGIN_ALLOW_THREADS;
6528 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
6529
6530 wxPy_END_ALLOW_THREADS;
4dfaa61e 6531 if (PyErr_Occurred()) return NULL;
ab9bc19b 6532} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
6533 return _resultobj;
6534}
6535
faf3cb35 6536#define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
107e4716 6537static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
6538 PyObject * _resultobj;
6539 int _result;
6540 wxTextCtrl * _arg0;
6541 long _arg1;
2d091820 6542 PyObject * _argo0 = 0;
107e4716 6543 char *_kwnames[] = { "self","lineNo", NULL };
faf3cb35
RD
6544
6545 self = self;
107e4716 6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
faf3cb35 6547 return NULL;
2d091820
RD
6548 if (_argo0) {
6549 if (_argo0 == Py_None) { _arg0 = NULL; }
6550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
faf3cb35
RD
6551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6552 return NULL;
6553 }
6554 }
ab9bc19b
RD
6555{
6556 wxPy_BEGIN_ALLOW_THREADS;
6557 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
6558
6559 wxPy_END_ALLOW_THREADS;
4dfaa61e 6560 if (PyErr_Occurred()) return NULL;
ab9bc19b 6561} _resultobj = Py_BuildValue("i",_result);
faf3cb35
RD
6562 return _resultobj;
6563}
6564
6565#define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
107e4716 6566static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
6567 PyObject * _resultobj;
6568 wxString * _result;
6569 wxTextCtrl * _arg0;
6570 long _arg1;
2d091820 6571 PyObject * _argo0 = 0;
107e4716 6572 char *_kwnames[] = { "self","lineNo", NULL };
faf3cb35
RD
6573
6574 self = self;
107e4716 6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
faf3cb35 6576 return NULL;
2d091820
RD
6577 if (_argo0) {
6578 if (_argo0 == Py_None) { _arg0 = NULL; }
6579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
faf3cb35
RD
6580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6581 return NULL;
6582 }
6583 }
faf3cb35 6584{
ab9bc19b
RD
6585 wxPy_BEGIN_ALLOW_THREADS;
6586 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
6587
6588 wxPy_END_ALLOW_THREADS;
4dfaa61e 6589 if (PyErr_Occurred()) return NULL;
ab9bc19b 6590}{
e02c03a4 6591 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
faf3cb35
RD
6592}
6593{
6594 delete _result;
6595}
6596 return _resultobj;
6597}
6598
6599#define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
107e4716 6600static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
6601 PyObject * _resultobj;
6602 int _result;
6603 wxTextCtrl * _arg0;
2d091820 6604 PyObject * _argo0 = 0;
107e4716 6605 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
6606
6607 self = self;
107e4716 6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
faf3cb35 6609 return NULL;
2d091820
RD
6610 if (_argo0) {
6611 if (_argo0 == Py_None) { _arg0 = NULL; }
6612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
faf3cb35
RD
6613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6614 return NULL;
6615 }
6616 }
ab9bc19b
RD
6617{
6618 wxPy_BEGIN_ALLOW_THREADS;
6619 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
6620
6621 wxPy_END_ALLOW_THREADS;
4dfaa61e 6622 if (PyErr_Occurred()) return NULL;
ab9bc19b 6623} _resultobj = Py_BuildValue("i",_result);
faf3cb35
RD
6624 return _resultobj;
6625}
6626
70551f47 6627#define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 6628static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6629 PyObject * _resultobj;
6630 wxString * _result;
6631 wxTextCtrl * _arg0;
2d091820 6632 PyObject * _argo0 = 0;
107e4716 6633 char *_kwnames[] = { "self", NULL };
70551f47
RD
6634
6635 self = self;
107e4716 6636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
70551f47 6637 return NULL;
2d091820
RD
6638 if (_argo0) {
6639 if (_argo0 == Py_None) { _arg0 = NULL; }
6640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6642 return NULL;
6643 }
6644 }
70551f47 6645{
ab9bc19b
RD
6646 wxPy_BEGIN_ALLOW_THREADS;
6647 _result = new wxString (wxTextCtrl_GetValue(_arg0));
6648
6649 wxPy_END_ALLOW_THREADS;
4dfaa61e 6650 if (PyErr_Occurred()) return NULL;
ab9bc19b 6651}{
e02c03a4 6652 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
6653}
6654{
6655 delete _result;
6656}
6657 return _resultobj;
6658}
6659
6660#define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
107e4716 6661static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6662 PyObject * _resultobj;
6663 bool _result;
6664 wxTextCtrl * _arg0;
2d091820 6665 PyObject * _argo0 = 0;
107e4716 6666 char *_kwnames[] = { "self", NULL };
70551f47
RD
6667
6668 self = self;
107e4716 6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
70551f47 6670 return NULL;
2d091820
RD
6671 if (_argo0) {
6672 if (_argo0 == Py_None) { _arg0 = NULL; }
6673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6675 return NULL;
6676 }
6677 }
ab9bc19b
RD
6678{
6679 wxPy_BEGIN_ALLOW_THREADS;
6680 _result = (bool )wxTextCtrl_IsModified(_arg0);
6681
6682 wxPy_END_ALLOW_THREADS;
4dfaa61e 6683 if (PyErr_Occurred()) return NULL;
ab9bc19b 6684} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
6685 return _resultobj;
6686}
6687
6688#define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
107e4716 6689static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6690 PyObject * _resultobj;
6691 bool _result;
6692 wxTextCtrl * _arg0;
6693 wxString * _arg1;
2d091820 6694 PyObject * _argo0 = 0;
70551f47 6695 PyObject * _obj1 = 0;
107e4716 6696 char *_kwnames[] = { "self","filename", NULL };
70551f47
RD
6697
6698 self = self;
107e4716 6699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
70551f47 6700 return NULL;
2d091820
RD
6701 if (_argo0) {
6702 if (_argo0 == Py_None) { _arg0 = NULL; }
6703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6705 return NULL;
6706 }
6707 }
6708{
2cd2fac8
RD
6709#if PYTHON_API_VERSION >= 1009
6710 char* tmpPtr; int tmpSize;
6711 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 6712 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6713 return NULL;
6714 }
6715 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6716 return NULL;
6717 _arg1 = new wxString(tmpPtr, tmpSize);
6718#else
70551f47
RD
6719 if (!PyString_Check(_obj1)) {
6720 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6721 return NULL;
6722 }
2cd2fac8
RD
6723 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6724#endif
70551f47 6725}
ab9bc19b
RD
6726{
6727 wxPy_BEGIN_ALLOW_THREADS;
6728 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
6729
6730 wxPy_END_ALLOW_THREADS;
4dfaa61e 6731 if (PyErr_Occurred()) return NULL;
ab9bc19b 6732} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
6733{
6734 if (_obj1)
6735 delete _arg1;
6736}
6737 return _resultobj;
6738}
6739
6740#define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
107e4716 6741static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6742 PyObject * _resultobj;
6743 wxTextCtrl * _arg0;
2d091820 6744 PyObject * _argo0 = 0;
107e4716 6745 char *_kwnames[] = { "self", NULL };
70551f47
RD
6746
6747 self = self;
107e4716 6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
70551f47 6749 return NULL;
2d091820
RD
6750 if (_argo0) {
6751 if (_argo0 == Py_None) { _arg0 = NULL; }
6752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
6754 return NULL;
6755 }
6756 }
ab9bc19b
RD
6757{
6758 wxPy_BEGIN_ALLOW_THREADS;
6759 wxTextCtrl_Paste(_arg0);
6760
6761 wxPy_END_ALLOW_THREADS;
4dfaa61e 6762 if (PyErr_Occurred()) return NULL;
ab9bc19b 6763} Py_INCREF(Py_None);
70551f47
RD
6764 _resultobj = Py_None;
6765 return _resultobj;
6766}
6767
faf3cb35 6768#define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
107e4716 6769static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
6770 PyObject * _resultobj;
6771 wxTextCtrl * _arg0;
6772 long _arg1;
6773 long * _arg2;
6774 long temp;
6775 long * _arg3;
6776 long temp0;
2d091820 6777 PyObject * _argo0 = 0;
107e4716 6778 char *_kwnames[] = { "self","pos", NULL };
faf3cb35
RD
6779
6780 self = self;
6781{
6782 _arg2 = &temp;
6783}
6784{
6785 _arg3 = &temp0;
6786}
107e4716 6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
faf3cb35 6788 return NULL;
2d091820
RD
6789 if (_argo0) {
6790 if (_argo0 == Py_None) { _arg0 = NULL; }
6791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
faf3cb35
RD
6792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
6793 return NULL;
6794 }
6795 }
ab9bc19b
RD
6796{
6797 wxPy_BEGIN_ALLOW_THREADS;
6798 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
6799
6800 wxPy_END_ALLOW_THREADS;
4dfaa61e 6801 if (PyErr_Occurred()) return NULL;
ab9bc19b 6802} Py_INCREF(Py_None);
faf3cb35
RD
6803 _resultobj = Py_None;
6804{
6805 PyObject *o;
6806 o = PyInt_FromLong((long) (*_arg2));
6807 _resultobj = t_output_helper(_resultobj, o);
6808}
6809{
6810 PyObject *o;
6811 o = PyInt_FromLong((long) (*_arg3));
6812 _resultobj = t_output_helper(_resultobj, o);
6813}
6814 return _resultobj;
6815}
6816
70551f47 6817#define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
107e4716 6818static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6819 PyObject * _resultobj;
6820 wxTextCtrl * _arg0;
6821 long _arg1;
6822 long _arg2;
2d091820 6823 PyObject * _argo0 = 0;
107e4716 6824 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
6825
6826 self = self;
107e4716 6827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 6828 return NULL;
2d091820
RD
6829 if (_argo0) {
6830 if (_argo0 == Py_None) { _arg0 = NULL; }
6831 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6833 return NULL;
6834 }
6835 }
ab9bc19b
RD
6836{
6837 wxPy_BEGIN_ALLOW_THREADS;
6838 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
6839
6840 wxPy_END_ALLOW_THREADS;
4dfaa61e 6841 if (PyErr_Occurred()) return NULL;
ab9bc19b 6842} Py_INCREF(Py_None);
70551f47
RD
6843 _resultobj = Py_None;
6844 return _resultobj;
6845}
6846
6847#define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
107e4716 6848static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6849 PyObject * _resultobj;
6850 wxTextCtrl * _arg0;
6851 long _arg1;
6852 long _arg2;
6853 wxString * _arg3;
2d091820 6854 PyObject * _argo0 = 0;
70551f47 6855 PyObject * _obj3 = 0;
107e4716 6856 char *_kwnames[] = { "self","from","to","value", NULL };
70551f47
RD
6857
6858 self = self;
107e4716 6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
70551f47 6860 return NULL;
2d091820
RD
6861 if (_argo0) {
6862 if (_argo0 == Py_None) { _arg0 = NULL; }
6863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6865 return NULL;
6866 }
6867 }
6868{
2cd2fac8
RD
6869#if PYTHON_API_VERSION >= 1009
6870 char* tmpPtr; int tmpSize;
6871 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 6872 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6873 return NULL;
6874 }
6875 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
6876 return NULL;
6877 _arg3 = new wxString(tmpPtr, tmpSize);
6878#else
70551f47
RD
6879 if (!PyString_Check(_obj3)) {
6880 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6881 return NULL;
6882 }
2cd2fac8
RD
6883 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
6884#endif
70551f47 6885}
ab9bc19b
RD
6886{
6887 wxPy_BEGIN_ALLOW_THREADS;
6888 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
6889
6890 wxPy_END_ALLOW_THREADS;
4dfaa61e 6891 if (PyErr_Occurred()) return NULL;
ab9bc19b 6892} Py_INCREF(Py_None);
70551f47
RD
6893 _resultobj = Py_None;
6894{
6895 if (_obj3)
6896 delete _arg3;
6897}
6898 return _resultobj;
6899}
6900
6901#define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
107e4716 6902static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6903 PyObject * _resultobj;
6904 bool _result;
6905 wxTextCtrl * _arg0;
6906 wxString * _arg1;
2d091820 6907 PyObject * _argo0 = 0;
70551f47 6908 PyObject * _obj1 = 0;
107e4716 6909 char *_kwnames[] = { "self","filename", NULL };
70551f47
RD
6910
6911 self = self;
107e4716 6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
70551f47 6913 return NULL;
2d091820
RD
6914 if (_argo0) {
6915 if (_argo0 == Py_None) { _arg0 = NULL; }
6916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6918 return NULL;
6919 }
6920 }
6921{
2cd2fac8
RD
6922#if PYTHON_API_VERSION >= 1009
6923 char* tmpPtr; int tmpSize;
6924 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 6925 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6926 return NULL;
6927 }
6928 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6929 return NULL;
6930 _arg1 = new wxString(tmpPtr, tmpSize);
6931#else
70551f47
RD
6932 if (!PyString_Check(_obj1)) {
6933 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6934 return NULL;
6935 }
2cd2fac8
RD
6936 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6937#endif
70551f47 6938}
ab9bc19b
RD
6939{
6940 wxPy_BEGIN_ALLOW_THREADS;
6941 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
6942
6943 wxPy_END_ALLOW_THREADS;
4dfaa61e 6944 if (PyErr_Occurred()) return NULL;
ab9bc19b 6945} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
6946{
6947 if (_obj1)
6948 delete _arg1;
6949}
6950 return _resultobj;
6951}
6952
6953#define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
107e4716 6954static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6955 PyObject * _resultobj;
6956 wxTextCtrl * _arg0;
6957 bool _arg1;
2d091820 6958 PyObject * _argo0 = 0;
70551f47 6959 int tempbool1;
107e4716 6960 char *_kwnames[] = { "self","editable", NULL };
70551f47
RD
6961
6962 self = self;
107e4716 6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
70551f47 6964 return NULL;
2d091820
RD
6965 if (_argo0) {
6966 if (_argo0 == Py_None) { _arg0 = NULL; }
6967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
6969 return NULL;
6970 }
6971 }
6972 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
6973{
6974 wxPy_BEGIN_ALLOW_THREADS;
6975 wxTextCtrl_SetEditable(_arg0,_arg1);
6976
6977 wxPy_END_ALLOW_THREADS;
4dfaa61e 6978 if (PyErr_Occurred()) return NULL;
ab9bc19b 6979} Py_INCREF(Py_None);
70551f47
RD
6980 _resultobj = Py_None;
6981 return _resultobj;
6982}
6983
6984#define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
107e4716 6985static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6986 PyObject * _resultobj;
6987 wxTextCtrl * _arg0;
6988 long _arg1;
2d091820 6989 PyObject * _argo0 = 0;
107e4716 6990 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
6991
6992 self = self;
107e4716 6993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
70551f47 6994 return NULL;
2d091820
RD
6995 if (_argo0) {
6996 if (_argo0 == Py_None) { _arg0 = NULL; }
6997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
6999 return NULL;
7000 }
7001 }
ab9bc19b
RD
7002{
7003 wxPy_BEGIN_ALLOW_THREADS;
7004 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
7005
7006 wxPy_END_ALLOW_THREADS;
4dfaa61e 7007 if (PyErr_Occurred()) return NULL;
ab9bc19b 7008} Py_INCREF(Py_None);
70551f47
RD
7009 _resultobj = Py_None;
7010 return _resultobj;
7011}
7012
7013#define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
107e4716 7014static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7015 PyObject * _resultobj;
7016 wxTextCtrl * _arg0;
2d091820 7017 PyObject * _argo0 = 0;
107e4716 7018 char *_kwnames[] = { "self", NULL };
70551f47
RD
7019
7020 self = self;
107e4716 7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
70551f47 7022 return NULL;
2d091820
RD
7023 if (_argo0) {
7024 if (_argo0 == Py_None) { _arg0 = NULL; }
7025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
7026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7027 return NULL;
7028 }
7029 }
ab9bc19b
RD
7030{
7031 wxPy_BEGIN_ALLOW_THREADS;
7032 wxTextCtrl_SetInsertionPointEnd(_arg0);
7033
7034 wxPy_END_ALLOW_THREADS;
4dfaa61e 7035 if (PyErr_Occurred()) return NULL;
ab9bc19b 7036} Py_INCREF(Py_None);
70551f47
RD
7037 _resultobj = Py_None;
7038 return _resultobj;
7039}
7040
7041#define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 7042static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7043 PyObject * _resultobj;
7044 wxTextCtrl * _arg0;
7045 long _arg1;
7046 long _arg2;
2d091820 7047 PyObject * _argo0 = 0;
107e4716 7048 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
7049
7050 self = self;
107e4716 7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 7052 return NULL;
2d091820
RD
7053 if (_argo0) {
7054 if (_argo0 == Py_None) { _arg0 = NULL; }
7055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
7056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7057 return NULL;
7058 }
7059 }
ab9bc19b
RD
7060{
7061 wxPy_BEGIN_ALLOW_THREADS;
7062 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
7063
7064 wxPy_END_ALLOW_THREADS;
4dfaa61e 7065 if (PyErr_Occurred()) return NULL;
ab9bc19b 7066} Py_INCREF(Py_None);
70551f47
RD
7067 _resultobj = Py_None;
7068 return _resultobj;
7069}
7070
7071#define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 7072static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7073 PyObject * _resultobj;
7074 wxTextCtrl * _arg0;
7075 wxString * _arg1;
2d091820 7076 PyObject * _argo0 = 0;
70551f47 7077 PyObject * _obj1 = 0;
107e4716 7078 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
7079
7080 self = self;
107e4716 7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
70551f47 7082 return NULL;
2d091820
RD
7083 if (_argo0) {
7084 if (_argo0 == Py_None) { _arg0 = NULL; }
7085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
7086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
7087 return NULL;
7088 }
7089 }
7090{
2cd2fac8
RD
7091#if PYTHON_API_VERSION >= 1009
7092 char* tmpPtr; int tmpSize;
7093 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 7094 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7095 return NULL;
7096 }
7097 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7098 return NULL;
7099 _arg1 = new wxString(tmpPtr, tmpSize);
7100#else
70551f47
RD
7101 if (!PyString_Check(_obj1)) {
7102 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7103 return NULL;
7104 }
2cd2fac8
RD
7105 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7106#endif
70551f47 7107}
ab9bc19b
RD
7108{
7109 wxPy_BEGIN_ALLOW_THREADS;
7110 wxTextCtrl_SetValue(_arg0,*_arg1);
7111
7112 wxPy_END_ALLOW_THREADS;
4dfaa61e 7113 if (PyErr_Occurred()) return NULL;
ab9bc19b 7114} Py_INCREF(Py_None);
70551f47
RD
7115 _resultobj = Py_None;
7116{
7117 if (_obj1)
7118 delete _arg1;
7119}
7120 return _resultobj;
7121}
7122
7123#define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
107e4716 7124static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7125 PyObject * _resultobj;
7126 wxTextCtrl * _arg0;
7127 long _arg1;
2d091820 7128 PyObject * _argo0 = 0;
107e4716 7129 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
7130
7131 self = self;
107e4716 7132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
70551f47 7133 return NULL;
2d091820
RD
7134 if (_argo0) {
7135 if (_argo0 == Py_None) { _arg0 = NULL; }
7136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
7137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7138 return NULL;
7139 }
7140 }
ab9bc19b
RD
7141{
7142 wxPy_BEGIN_ALLOW_THREADS;
7143 wxTextCtrl_ShowPosition(_arg0,_arg1);
7144
7145 wxPy_END_ALLOW_THREADS;
4dfaa61e 7146 if (PyErr_Occurred()) return NULL;
ab9bc19b 7147} Py_INCREF(Py_None);
70551f47
RD
7148 _resultobj = Py_None;
7149 return _resultobj;
7150}
7151
7152#define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
107e4716 7153static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7154 PyObject * _resultobj;
7155 wxTextCtrl * _arg0;
7156 wxString * _arg1;
2d091820 7157 PyObject * _argo0 = 0;
70551f47 7158 PyObject * _obj1 = 0;
107e4716 7159 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
7160
7161 self = self;
107e4716 7162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
70551f47 7163 return NULL;
2d091820
RD
7164 if (_argo0) {
7165 if (_argo0 == Py_None) { _arg0 = NULL; }
7166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
7167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7168 return NULL;
7169 }
7170 }
7171{
2cd2fac8
RD
7172#if PYTHON_API_VERSION >= 1009
7173 char* tmpPtr; int tmpSize;
7174 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 7175 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7176 return NULL;
7177 }
7178 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7179 return NULL;
7180 _arg1 = new wxString(tmpPtr, tmpSize);
7181#else
70551f47
RD
7182 if (!PyString_Check(_obj1)) {
7183 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7184 return NULL;
7185 }
2cd2fac8
RD
7186 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7187#endif
70551f47 7188}
ab9bc19b
RD
7189{
7190 wxPy_BEGIN_ALLOW_THREADS;
7191 wxTextCtrl_WriteText(_arg0,*_arg1);
7192
7193 wxPy_END_ALLOW_THREADS;
4dfaa61e 7194 if (PyErr_Occurred()) return NULL;
ab9bc19b
RD
7195} Py_INCREF(Py_None);
7196 _resultobj = Py_None;
7197{
7198 if (_obj1)
7199 delete _arg1;
7200}
7201 return _resultobj;
7202}
7203
7204#define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
107e4716 7205static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
7206 PyObject * _resultobj;
7207 wxTextCtrl * _arg0;
7208 wxString * _arg1;
2d091820 7209 PyObject * _argo0 = 0;
ab9bc19b 7210 PyObject * _obj1 = 0;
107e4716 7211 char *_kwnames[] = { "self","text", NULL };
ab9bc19b
RD
7212
7213 self = self;
107e4716 7214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
ab9bc19b 7215 return NULL;
2d091820
RD
7216 if (_argo0) {
7217 if (_argo0 == Py_None) { _arg0 = NULL; }
7218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
ab9bc19b
RD
7219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7220 return NULL;
7221 }
7222 }
7223{
2cd2fac8
RD
7224#if PYTHON_API_VERSION >= 1009
7225 char* tmpPtr; int tmpSize;
7226 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 7227 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7228 return NULL;
7229 }
7230 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7231 return NULL;
7232 _arg1 = new wxString(tmpPtr, tmpSize);
7233#else
ab9bc19b
RD
7234 if (!PyString_Check(_obj1)) {
7235 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7236 return NULL;
7237 }
2cd2fac8
RD
7238 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7239#endif
ab9bc19b
RD
7240}
7241{
7242 wxPy_BEGIN_ALLOW_THREADS;
7243 wxTextCtrl_AppendText(_arg0,*_arg1);
7244
7245 wxPy_END_ALLOW_THREADS;
4dfaa61e 7246 if (PyErr_Occurred()) return NULL;
ab9bc19b 7247} Py_INCREF(Py_None);
70551f47
RD
7248 _resultobj = Py_None;
7249{
7250 if (_obj1)
7251 delete _arg1;
7252}
7253 return _resultobj;
7254}
7255
faf3cb35 7256#define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
107e4716 7257static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
7258 PyObject * _resultobj;
7259 long _result;
7260 wxTextCtrl * _arg0;
7261 long _arg1;
7262 long _arg2;
2d091820 7263 PyObject * _argo0 = 0;
107e4716 7264 char *_kwnames[] = { "self","x","y", NULL };
faf3cb35
RD
7265
7266 self = self;
107e4716 7267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
faf3cb35 7268 return NULL;
2d091820
RD
7269 if (_argo0) {
7270 if (_argo0 == Py_None) { _arg0 = NULL; }
7271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
faf3cb35
RD
7272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7273 return NULL;
7274 }
7275 }
ab9bc19b
RD
7276{
7277 wxPy_BEGIN_ALLOW_THREADS;
7278 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
7279
7280 wxPy_END_ALLOW_THREADS;
4dfaa61e 7281 if (PyErr_Occurred()) return NULL;
ab9bc19b 7282} _resultobj = Py_BuildValue("l",_result);
faf3cb35
RD
7283 return _resultobj;
7284}
7285
53920141 7286#define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
107e4716 7287static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7288 PyObject * _resultobj;
7289 bool _result;
7290 wxTextCtrl * _arg0;
2d091820 7291 PyObject * _argo0 = 0;
107e4716 7292 char *_kwnames[] = { "self", NULL };
53920141
RD
7293
7294 self = self;
107e4716 7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
53920141 7296 return NULL;
2d091820
RD
7297 if (_argo0) {
7298 if (_argo0 == Py_None) { _arg0 = NULL; }
7299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7301 return NULL;
7302 }
7303 }
7304{
7305 wxPy_BEGIN_ALLOW_THREADS;
7306 _result = (bool )wxTextCtrl_CanCopy(_arg0);
7307
7308 wxPy_END_ALLOW_THREADS;
4dfaa61e 7309 if (PyErr_Occurred()) return NULL;
53920141
RD
7310} _resultobj = Py_BuildValue("i",_result);
7311 return _resultobj;
7312}
7313
7314#define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
107e4716 7315static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7316 PyObject * _resultobj;
7317 bool _result;
7318 wxTextCtrl * _arg0;
2d091820 7319 PyObject * _argo0 = 0;
107e4716 7320 char *_kwnames[] = { "self", NULL };
53920141
RD
7321
7322 self = self;
107e4716 7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
53920141 7324 return NULL;
2d091820
RD
7325 if (_argo0) {
7326 if (_argo0 == Py_None) { _arg0 = NULL; }
7327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7329 return NULL;
7330 }
7331 }
7332{
7333 wxPy_BEGIN_ALLOW_THREADS;
7334 _result = (bool )wxTextCtrl_CanCut(_arg0);
7335
7336 wxPy_END_ALLOW_THREADS;
4dfaa61e 7337 if (PyErr_Occurred()) return NULL;
53920141
RD
7338} _resultobj = Py_BuildValue("i",_result);
7339 return _resultobj;
7340}
7341
7342#define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
107e4716 7343static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7344 PyObject * _resultobj;
7345 bool _result;
7346 wxTextCtrl * _arg0;
2d091820 7347 PyObject * _argo0 = 0;
107e4716 7348 char *_kwnames[] = { "self", NULL };
53920141
RD
7349
7350 self = self;
107e4716 7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
53920141 7352 return NULL;
2d091820
RD
7353 if (_argo0) {
7354 if (_argo0 == Py_None) { _arg0 = NULL; }
7355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7357 return NULL;
7358 }
7359 }
7360{
7361 wxPy_BEGIN_ALLOW_THREADS;
7362 _result = (bool )wxTextCtrl_CanPaste(_arg0);
7363
7364 wxPy_END_ALLOW_THREADS;
4dfaa61e 7365 if (PyErr_Occurred()) return NULL;
53920141
RD
7366} _resultobj = Py_BuildValue("i",_result);
7367 return _resultobj;
7368}
7369
7370#define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
107e4716 7371static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7372 PyObject * _resultobj;
7373 bool _result;
7374 wxTextCtrl * _arg0;
2d091820 7375 PyObject * _argo0 = 0;
107e4716 7376 char *_kwnames[] = { "self", NULL };
53920141
RD
7377
7378 self = self;
107e4716 7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
53920141 7380 return NULL;
2d091820
RD
7381 if (_argo0) {
7382 if (_argo0 == Py_None) { _arg0 = NULL; }
7383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7385 return NULL;
7386 }
7387 }
7388{
7389 wxPy_BEGIN_ALLOW_THREADS;
7390 _result = (bool )wxTextCtrl_CanRedo(_arg0);
7391
7392 wxPy_END_ALLOW_THREADS;
4dfaa61e 7393 if (PyErr_Occurred()) return NULL;
53920141
RD
7394} _resultobj = Py_BuildValue("i",_result);
7395 return _resultobj;
7396}
7397
7398#define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
107e4716 7399static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7400 PyObject * _resultobj;
7401 bool _result;
7402 wxTextCtrl * _arg0;
2d091820 7403 PyObject * _argo0 = 0;
107e4716 7404 char *_kwnames[] = { "self", NULL };
53920141
RD
7405
7406 self = self;
107e4716 7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
53920141 7408 return NULL;
2d091820
RD
7409 if (_argo0) {
7410 if (_argo0 == Py_None) { _arg0 = NULL; }
7411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7413 return NULL;
7414 }
7415 }
7416{
7417 wxPy_BEGIN_ALLOW_THREADS;
7418 _result = (bool )wxTextCtrl_CanUndo(_arg0);
7419
7420 wxPy_END_ALLOW_THREADS;
4dfaa61e 7421 if (PyErr_Occurred()) return NULL;
53920141
RD
7422} _resultobj = Py_BuildValue("i",_result);
7423 return _resultobj;
7424}
7425
7426#define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
107e4716 7427static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7428 PyObject * _resultobj;
7429 wxTextCtrl * _arg0;
7430 long * _arg1;
7431 long temp;
7432 long * _arg2;
7433 long temp0;
2d091820 7434 PyObject * _argo0 = 0;
107e4716 7435 char *_kwnames[] = { "self", NULL };
53920141
RD
7436
7437 self = self;
7438{
7439 _arg1 = &temp;
7440}
7441{
7442 _arg2 = &temp0;
7443}
107e4716 7444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
53920141 7445 return NULL;
2d091820
RD
7446 if (_argo0) {
7447 if (_argo0 == Py_None) { _arg0 = NULL; }
7448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
7450 return NULL;
7451 }
7452 }
7453{
7454 wxPy_BEGIN_ALLOW_THREADS;
7455 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
7456
7457 wxPy_END_ALLOW_THREADS;
4dfaa61e 7458 if (PyErr_Occurred()) return NULL;
53920141
RD
7459} Py_INCREF(Py_None);
7460 _resultobj = Py_None;
7461{
7462 PyObject *o;
7463 o = PyInt_FromLong((long) (*_arg1));
7464 _resultobj = t_output_helper(_resultobj, o);
7465}
7466{
7467 PyObject *o;
7468 o = PyInt_FromLong((long) (*_arg2));
7469 _resultobj = t_output_helper(_resultobj, o);
7470}
7471 return _resultobj;
7472}
7473
7474#define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
107e4716 7475static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7476 PyObject * _resultobj;
7477 bool _result;
7478 wxTextCtrl * _arg0;
2d091820 7479 PyObject * _argo0 = 0;
107e4716 7480 char *_kwnames[] = { "self", NULL };
53920141
RD
7481
7482 self = self;
107e4716 7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
53920141 7484 return NULL;
2d091820
RD
7485 if (_argo0) {
7486 if (_argo0 == Py_None) { _arg0 = NULL; }
7487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
7489 return NULL;
7490 }
7491 }
7492{
7493 wxPy_BEGIN_ALLOW_THREADS;
7494 _result = (bool )wxTextCtrl_IsEditable(_arg0);
7495
7496 wxPy_END_ALLOW_THREADS;
4dfaa61e 7497 if (PyErr_Occurred()) return NULL;
53920141
RD
7498} _resultobj = Py_BuildValue("i",_result);
7499 return _resultobj;
7500}
7501
4120ef2b
RD
7502#define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7503static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject * _resultobj;
7505 wxTextCtrl * _arg0;
7506 PyObject * _argo0 = 0;
7507 char *_kwnames[] = { "self", NULL };
7508
7509 self = self;
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
7511 return NULL;
7512 if (_argo0) {
7513 if (_argo0 == Py_None) { _arg0 = NULL; }
7514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7516 return NULL;
7517 }
7518 }
7519{
7520 wxPy_BEGIN_ALLOW_THREADS;
7521 wxTextCtrl_Undo(_arg0);
7522
7523 wxPy_END_ALLOW_THREADS;
4dfaa61e 7524 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
7525} Py_INCREF(Py_None);
7526 _resultobj = Py_None;
7527 return _resultobj;
7528}
7529
7530#define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7531static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7532 PyObject * _resultobj;
7533 wxTextCtrl * _arg0;
7534 PyObject * _argo0 = 0;
7535 char *_kwnames[] = { "self", NULL };
7536
7537 self = self;
7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
7539 return NULL;
7540 if (_argo0) {
7541 if (_argo0 == Py_None) { _arg0 = NULL; }
7542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7544 return NULL;
7545 }
7546 }
7547{
7548 wxPy_BEGIN_ALLOW_THREADS;
7549 wxTextCtrl_Redo(_arg0);
7550
7551 wxPy_END_ALLOW_THREADS;
4dfaa61e 7552 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
7553} Py_INCREF(Py_None);
7554 _resultobj = Py_None;
7555 return _resultobj;
7556}
7557
9d6da64a
RD
7558#define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7559static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7560 PyObject * _resultobj;
7561 bool _result;
7562 wxTextCtrl * _arg0;
7563 long _arg1;
7564 long _arg2;
7565 wxTextAttr * _arg3;
7566 PyObject * _argo0 = 0;
7567 PyObject * _argo3 = 0;
7568 char *_kwnames[] = { "self","start","end","style", NULL };
7569
7570 self = self;
7571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
7572 return NULL;
7573 if (_argo0) {
7574 if (_argo0 == Py_None) { _arg0 = NULL; }
7575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7577 return NULL;
7578 }
7579 }
7580 if (_argo3) {
7581 if (_argo3 == Py_None) { _arg3 = NULL; }
7582 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
7583 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7584 return NULL;
7585 }
7586 }
7587{
7588 wxPy_BEGIN_ALLOW_THREADS;
7589 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
7590
7591 wxPy_END_ALLOW_THREADS;
7592 if (PyErr_Occurred()) return NULL;
7593} _resultobj = Py_BuildValue("i",_result);
7594 return _resultobj;
7595}
7596
7597#define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7598static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7599 PyObject * _resultobj;
7600 bool _result;
7601 wxTextCtrl * _arg0;
7602 wxTextAttr * _arg1;
7603 PyObject * _argo0 = 0;
7604 PyObject * _argo1 = 0;
7605 char *_kwnames[] = { "self","style", NULL };
7606
7607 self = self;
7608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
7609 return NULL;
7610 if (_argo0) {
7611 if (_argo0 == Py_None) { _arg0 = NULL; }
7612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7614 return NULL;
7615 }
7616 }
7617 if (_argo1) {
7618 if (_argo1 == Py_None) { _arg1 = NULL; }
7619 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
7620 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7621 return NULL;
7622 }
7623 }
7624{
7625 wxPy_BEGIN_ALLOW_THREADS;
7626 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
7627
7628 wxPy_END_ALLOW_THREADS;
7629 if (PyErr_Occurred()) return NULL;
7630} _resultobj = Py_BuildValue("i",_result);
7631 return _resultobj;
7632}
7633
7634#define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7635static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7636 PyObject * _resultobj;
7637 wxTextAttr * _result;
7638 wxTextCtrl * _arg0;
7639 PyObject * _argo0 = 0;
7640 char *_kwnames[] = { "self", NULL };
7641 char _ptemp[128];
7642
7643 self = self;
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
7645 return NULL;
7646 if (_argo0) {
7647 if (_argo0 == Py_None) { _arg0 = NULL; }
7648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7650 return NULL;
7651 }
7652 }
7653{
7654 wxPy_BEGIN_ALLOW_THREADS;
7655 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
7656 _result = (wxTextAttr *) &_result_ref;
7657
7658 wxPy_END_ALLOW_THREADS;
7659 if (PyErr_Occurred()) return NULL;
7660} if (_result) {
7661 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
7662 _resultobj = Py_BuildValue("s",_ptemp);
7663 } else {
7664 Py_INCREF(Py_None);
7665 _resultobj = Py_None;
7666 }
7667 return _resultobj;
7668}
7669
aa2a5b86
RD
7670#define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7671static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7672 PyObject * _resultobj;
7673 wxTextCtrl * _arg0;
7674 unsigned long _arg1;
7675 PyObject * _argo0 = 0;
7676 char *_kwnames[] = { "self","len", NULL };
7677
7678 self = self;
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
7680 return NULL;
7681 if (_argo0) {
7682 if (_argo0 == Py_None) { _arg0 = NULL; }
7683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7685 return NULL;
7686 }
7687 }
7688{
7689 wxPy_BEGIN_ALLOW_THREADS;
7690 wxTextCtrl_SetMaxLength(_arg0,_arg1);
7691
7692 wxPy_END_ALLOW_THREADS;
7693 if (PyErr_Occurred()) return NULL;
7694} Py_INCREF(Py_None);
7695 _resultobj = Py_None;
7696 return _resultobj;
7697}
7698
4120ef2b 7699static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
9d6da64a 7700 self->AppendText(text);
4120ef2b
RD
7701 }
7702static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7703 PyObject * _resultobj;
7704 wxTextCtrl * _arg0;
7705 wxString * _arg1;
7706 PyObject * _argo0 = 0;
7707 PyObject * _obj1 = 0;
7708 char *_kwnames[] = { "self","text", NULL };
7709
7710 self = self;
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
7712 return NULL;
7713 if (_argo0) {
7714 if (_argo0 == Py_None) { _arg0 = NULL; }
7715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7717 return NULL;
7718 }
7719 }
7720{
2cd2fac8
RD
7721#if PYTHON_API_VERSION >= 1009
7722 char* tmpPtr; int tmpSize;
7723 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 7724 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7725 return NULL;
7726 }
7727 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7728 return NULL;
7729 _arg1 = new wxString(tmpPtr, tmpSize);
7730#else
4120ef2b
RD
7731 if (!PyString_Check(_obj1)) {
7732 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7733 return NULL;
7734 }
2cd2fac8
RD
7735 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7736#endif
4120ef2b
RD
7737}
7738{
7739 wxPy_BEGIN_ALLOW_THREADS;
7740 wxTextCtrl_write(_arg0,*_arg1);
7741
7742 wxPy_END_ALLOW_THREADS;
4dfaa61e 7743 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
7744} Py_INCREF(Py_None);
7745 _resultobj = Py_None;
7746{
7747 if (_obj1)
7748 delete _arg1;
7749}
7750 return _resultobj;
7751}
7752
70551f47
RD
7753static void *SwigwxScrollBarTowxControl(void *ptr) {
7754 wxScrollBar *src;
7755 wxControl *dest;
7756 src = (wxScrollBar *) ptr;
7757 dest = (wxControl *) src;
7758 return (void *) dest;
7759}
7760
7761static void *SwigwxScrollBarTowxWindow(void *ptr) {
7762 wxScrollBar *src;
7763 wxWindow *dest;
7764 src = (wxScrollBar *) ptr;
7765 dest = (wxWindow *) src;
7766 return (void *) dest;
7767}
7768
7769static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
7770 wxScrollBar *src;
7771 wxEvtHandler *dest;
7772 src = (wxScrollBar *) ptr;
7773 dest = (wxEvtHandler *) src;
7774 return (void *) dest;
7775}
7776
9df61a29
RD
7777static void *SwigwxScrollBarTowxObject(void *ptr) {
7778 wxScrollBar *src;
7779 wxObject *dest;
7780 src = (wxScrollBar *) ptr;
7781 dest = (wxObject *) src;
7782 return (void *) dest;
7783}
7784
70551f47 7785#define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 7786static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7787 PyObject * _resultobj;
7788 wxScrollBar * _result;
7789 wxWindow * _arg0;
2d091820 7790 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
7791 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7792 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820 7793 long _arg4 = (long ) wxSB_HORIZONTAL;
b68dc582 7794 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
7795 char * _arg6 = (char *) "scrollBar";
7796 PyObject * _argo0 = 0;
37f6a977
RD
7797 wxPoint temp;
7798 PyObject * _obj2 = 0;
7799 wxSize temp0;
7800 PyObject * _obj3 = 0;
2d091820 7801 PyObject * _argo5 = 0;
107e4716 7802 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
70551f47
RD
7803 char _ptemp[128];
7804
7805 self = self;
37f6a977 7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
70551f47 7807 return NULL;
2d091820
RD
7808 if (_argo0) {
7809 if (_argo0 == Py_None) { _arg0 = NULL; }
7810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
7811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7812 return NULL;
7813 }
7814 }
37f6a977
RD
7815 if (_obj2)
7816{
7817 _arg2 = &temp;
7818 if (! wxPoint_helper(_obj2, &_arg2))
70551f47 7819 return NULL;
37f6a977
RD
7820}
7821 if (_obj3)
7822{
7823 _arg3 = &temp0;
7824 if (! wxSize_helper(_obj3, &_arg3))
70551f47 7825 return NULL;
37f6a977 7826}
2d091820
RD
7827 if (_argo5) {
7828 if (_argo5 == Py_None) { _arg5 = NULL; }
7829 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
70551f47
RD
7830 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7831 return NULL;
7832 }
7833 }
ab9bc19b
RD
7834{
7835 wxPy_BEGIN_ALLOW_THREADS;
7836 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
7837
7838 wxPy_END_ALLOW_THREADS;
4dfaa61e 7839 if (PyErr_Occurred()) return NULL;
2d091820
RD
7840} if (_result) {
7841 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
7842 _resultobj = Py_BuildValue("s",_ptemp);
7843 } else {
7844 Py_INCREF(Py_None);
7845 _resultobj = Py_None;
7846 }
70551f47
RD
7847 return _resultobj;
7848}
7849
aa2a5b86
RD
7850#define new_wxPreScrollBar() (new wxScrollBar())
7851static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7852 PyObject * _resultobj;
7853 wxScrollBar * _result;
7854 char *_kwnames[] = { NULL };
7855 char _ptemp[128];
7856
7857 self = self;
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
7859 return NULL;
7860{
7861 wxPy_BEGIN_ALLOW_THREADS;
7862 _result = (wxScrollBar *)new_wxPreScrollBar();
7863
7864 wxPy_END_ALLOW_THREADS;
7865 if (PyErr_Occurred()) return NULL;
7866} if (_result) {
7867 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
7868 _resultobj = Py_BuildValue("s",_ptemp);
7869 } else {
7870 Py_INCREF(Py_None);
7871 _resultobj = Py_None;
7872 }
7873 return _resultobj;
7874}
7875
7876#define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7877static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7878 PyObject * _resultobj;
7879 bool _result;
7880 wxScrollBar * _arg0;
7881 wxWindow * _arg1;
7882 wxWindowID _arg2 = (wxWindowID ) -1;
7883 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7884 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7885 long _arg5 = (long ) wxSB_HORIZONTAL;
7886 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
7887 char * _arg7 = (char *) "scrollBar";
7888 PyObject * _argo0 = 0;
7889 PyObject * _argo1 = 0;
7890 wxPoint temp;
7891 PyObject * _obj3 = 0;
7892 wxSize temp0;
7893 PyObject * _obj4 = 0;
7894 PyObject * _argo6 = 0;
7895 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
7896
7897 self = self;
7898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
7899 return NULL;
7900 if (_argo0) {
7901 if (_argo0 == Py_None) { _arg0 = NULL; }
7902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
7903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7904 return NULL;
7905 }
7906 }
7907 if (_argo1) {
7908 if (_argo1 == Py_None) { _arg1 = NULL; }
7909 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7910 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7911 return NULL;
7912 }
7913 }
7914 if (_obj3)
7915{
7916 _arg3 = &temp;
7917 if (! wxPoint_helper(_obj3, &_arg3))
7918 return NULL;
7919}
7920 if (_obj4)
7921{
7922 _arg4 = &temp0;
7923 if (! wxSize_helper(_obj4, &_arg4))
7924 return NULL;
7925}
7926 if (_argo6) {
7927 if (_argo6 == Py_None) { _arg6 = NULL; }
7928 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
7929 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7930 return NULL;
7931 }
7932 }
7933{
7934 wxPy_BEGIN_ALLOW_THREADS;
7935 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
7936
7937 wxPy_END_ALLOW_THREADS;
7938 if (PyErr_Occurred()) return NULL;
7939} _resultobj = Py_BuildValue("i",_result);
7940 return _resultobj;
7941}
7942
70551f47 7943#define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
107e4716 7944static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7945 PyObject * _resultobj;
7946 int _result;
7947 wxScrollBar * _arg0;
2d091820 7948 PyObject * _argo0 = 0;
107e4716 7949 char *_kwnames[] = { "self", NULL };
70551f47
RD
7950
7951 self = self;
107e4716 7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
70551f47 7953 return NULL;
2d091820
RD
7954 if (_argo0) {
7955 if (_argo0 == Py_None) { _arg0 = NULL; }
7956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
7957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7958 return NULL;
7959 }
7960 }
ab9bc19b
RD
7961{
7962 wxPy_BEGIN_ALLOW_THREADS;
7963 _result = (int )wxScrollBar_GetRange(_arg0);
7964
7965 wxPy_END_ALLOW_THREADS;
4dfaa61e 7966 if (PyErr_Occurred()) return NULL;
ab9bc19b 7967} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7968 return _resultobj;
7969}
7970
7971#define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
107e4716 7972static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7973 PyObject * _resultobj;
7974 int _result;
7975 wxScrollBar * _arg0;
2d091820 7976 PyObject * _argo0 = 0;
107e4716 7977 char *_kwnames[] = { "self", NULL };
70551f47
RD
7978
7979 self = self;
107e4716 7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
70551f47 7981 return NULL;
2d091820
RD
7982 if (_argo0) {
7983 if (_argo0 == Py_None) { _arg0 = NULL; }
7984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
7985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7986 return NULL;
7987 }
7988 }
ab9bc19b
RD
7989{
7990 wxPy_BEGIN_ALLOW_THREADS;
7991 _result = (int )wxScrollBar_GetPageSize(_arg0);
7992
7993 wxPy_END_ALLOW_THREADS;
4dfaa61e 7994 if (PyErr_Occurred()) return NULL;
ab9bc19b 7995} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7996 return _resultobj;
7997}
7998
105e45b9 7999#define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
107e4716 8000static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8001 PyObject * _resultobj;
8002 int _result;
8003 wxScrollBar * _arg0;
2d091820 8004 PyObject * _argo0 = 0;
107e4716 8005 char *_kwnames[] = { "self", NULL };
70551f47
RD
8006
8007 self = self;
107e4716 8008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
70551f47 8009 return NULL;
2d091820
RD
8010 if (_argo0) {
8011 if (_argo0 == Py_None) { _arg0 = NULL; }
8012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
105e45b9 8013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
70551f47
RD
8014 return NULL;
8015 }
8016 }
ab9bc19b
RD
8017{
8018 wxPy_BEGIN_ALLOW_THREADS;
8019 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
8020
8021 wxPy_END_ALLOW_THREADS;
4dfaa61e 8022 if (PyErr_Occurred()) return NULL;
ab9bc19b 8023} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
8024 return _resultobj;
8025}
8026
8027#define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
107e4716 8028static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8029 PyObject * _resultobj;
8030 int _result;
8031 wxScrollBar * _arg0;
2d091820 8032 PyObject * _argo0 = 0;
107e4716 8033 char *_kwnames[] = { "self", NULL };
70551f47
RD
8034
8035 self = self;
107e4716 8036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
70551f47 8037 return NULL;
2d091820
RD
8038 if (_argo0) {
8039 if (_argo0 == Py_None) { _arg0 = NULL; }
8040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
8041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8042 return NULL;
8043 }
8044 }
ab9bc19b
RD
8045{
8046 wxPy_BEGIN_ALLOW_THREADS;
8047 _result = (int )wxScrollBar_GetThumbSize(_arg0);
8048
8049 wxPy_END_ALLOW_THREADS;
4dfaa61e 8050 if (PyErr_Occurred()) return NULL;
ab9bc19b 8051} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
8052 return _resultobj;
8053}
8054
105e45b9 8055#define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
107e4716 8056static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8057 PyObject * _resultobj;
8058 wxScrollBar * _arg0;
8059 int _arg1;
2d091820 8060 PyObject * _argo0 = 0;
107e4716 8061 char *_kwnames[] = { "self","viewStart", NULL };
70551f47
RD
8062
8063 self = self;
107e4716 8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
70551f47 8065 return NULL;
2d091820
RD
8066 if (_argo0) {
8067 if (_argo0 == Py_None) { _arg0 = NULL; }
8068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
105e45b9 8069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
70551f47
RD
8070 return NULL;
8071 }
8072 }
ab9bc19b
RD
8073{
8074 wxPy_BEGIN_ALLOW_THREADS;
8075 wxScrollBar_SetThumbPosition(_arg0,_arg1);
8076
8077 wxPy_END_ALLOW_THREADS;
4dfaa61e 8078 if (PyErr_Occurred()) return NULL;
ab9bc19b 8079} Py_INCREF(Py_None);
70551f47
RD
8080 _resultobj = Py_None;
8081 return _resultobj;
8082}
8083
8084#define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 8085static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8086 PyObject * _resultobj;
8087 wxScrollBar * _arg0;
8088 int _arg1;
8089 int _arg2;
8090 int _arg3;
8091 int _arg4;
2d091820
RD
8092 bool _arg5 = (bool ) TRUE;
8093 PyObject * _argo0 = 0;
8094 int tempbool5 = (int) TRUE;
107e4716 8095 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
70551f47
RD
8096
8097 self = self;
107e4716 8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
70551f47 8099 return NULL;
2d091820
RD
8100 if (_argo0) {
8101 if (_argo0 == Py_None) { _arg0 = NULL; }
8102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
8103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8104 return NULL;
8105 }
8106 }
8107 _arg5 = (bool ) tempbool5;
ab9bc19b
RD
8108{
8109 wxPy_BEGIN_ALLOW_THREADS;
8110 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8111
8112 wxPy_END_ALLOW_THREADS;
4dfaa61e 8113 if (PyErr_Occurred()) return NULL;
ab9bc19b 8114} Py_INCREF(Py_None);
70551f47
RD
8115 _resultobj = Py_None;
8116 return _resultobj;
8117}
8118
62bd0874
RD
8119static void *SwigwxSpinButtonTowxControl(void *ptr) {
8120 wxSpinButton *src;
8121 wxControl *dest;
8122 src = (wxSpinButton *) ptr;
8123 dest = (wxControl *) src;
8124 return (void *) dest;
8125}
8126
8127static void *SwigwxSpinButtonTowxWindow(void *ptr) {
8128 wxSpinButton *src;
8129 wxWindow *dest;
8130 src = (wxSpinButton *) ptr;
8131 dest = (wxWindow *) src;
8132 return (void *) dest;
8133}
8134
8135static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
8136 wxSpinButton *src;
8137 wxEvtHandler *dest;
8138 src = (wxSpinButton *) ptr;
8139 dest = (wxEvtHandler *) src;
8140 return (void *) dest;
8141}
8142
9df61a29
RD
8143static void *SwigwxSpinButtonTowxObject(void *ptr) {
8144 wxSpinButton *src;
8145 wxObject *dest;
8146 src = (wxSpinButton *) ptr;
8147 dest = (wxObject *) src;
8148 return (void *) dest;
8149}
8150
62bd0874 8151#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 8152static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8153 PyObject * _resultobj;
8154 wxSpinButton * _result;
8155 wxWindow * _arg0;
2d091820 8156 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
8157 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8158 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
8159 long _arg4 = (long ) wxSP_HORIZONTAL;
8160 char * _arg5 = (char *) "spinButton";
8161 PyObject * _argo0 = 0;
37f6a977
RD
8162 wxPoint temp;
8163 PyObject * _obj2 = 0;
8164 wxSize temp0;
8165 PyObject * _obj3 = 0;
107e4716 8166 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
62bd0874
RD
8167 char _ptemp[128];
8168
8169 self = self;
37f6a977 8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
62bd0874 8171 return NULL;
2d091820
RD
8172 if (_argo0) {
8173 if (_argo0 == Py_None) { _arg0 = NULL; }
8174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
62bd0874
RD
8175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8176 return NULL;
8177 }
8178 }
37f6a977
RD
8179 if (_obj2)
8180{
8181 _arg2 = &temp;
8182 if (! wxPoint_helper(_obj2, &_arg2))
62bd0874 8183 return NULL;
37f6a977
RD
8184}
8185 if (_obj3)
8186{
8187 _arg3 = &temp0;
8188 if (! wxSize_helper(_obj3, &_arg3))
62bd0874 8189 return NULL;
37f6a977 8190}
ab9bc19b
RD
8191{
8192 wxPy_BEGIN_ALLOW_THREADS;
8193 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
8194
8195 wxPy_END_ALLOW_THREADS;
4dfaa61e 8196 if (PyErr_Occurred()) return NULL;
2d091820
RD
8197} if (_result) {
8198 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8199 _resultobj = Py_BuildValue("s",_ptemp);
8200 } else {
8201 Py_INCREF(Py_None);
8202 _resultobj = Py_None;
8203 }
62bd0874
RD
8204 return _resultobj;
8205}
8206
aa2a5b86
RD
8207#define new_wxPreSpinButton() (new wxSpinButton())
8208static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject * _resultobj;
8210 wxSpinButton * _result;
8211 char *_kwnames[] = { NULL };
8212 char _ptemp[128];
8213
8214 self = self;
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
8216 return NULL;
8217{
8218 wxPy_BEGIN_ALLOW_THREADS;
8219 _result = (wxSpinButton *)new_wxPreSpinButton();
8220
8221 wxPy_END_ALLOW_THREADS;
8222 if (PyErr_Occurred()) return NULL;
8223} if (_result) {
8224 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8225 _resultobj = Py_BuildValue("s",_ptemp);
8226 } else {
8227 Py_INCREF(Py_None);
8228 _resultobj = Py_None;
8229 }
8230 return _resultobj;
8231}
8232
8233#define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8234static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8235 PyObject * _resultobj;
8236 bool _result;
8237 wxSpinButton * _arg0;
8238 wxWindow * _arg1;
8239 wxWindowID _arg2 = (wxWindowID ) -1;
8240 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8241 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8242 long _arg5 = (long ) wxSP_HORIZONTAL;
8243 char * _arg6 = (char *) "spinButton";
8244 PyObject * _argo0 = 0;
8245 PyObject * _argo1 = 0;
8246 wxPoint temp;
8247 PyObject * _obj3 = 0;
8248 wxSize temp0;
8249 PyObject * _obj4 = 0;
8250 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
8251
8252 self = self;
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOls:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
8254 return NULL;
8255 if (_argo0) {
8256 if (_argo0 == Py_None) { _arg0 = NULL; }
8257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8259 return NULL;
8260 }
8261 }
8262 if (_argo1) {
8263 if (_argo1 == Py_None) { _arg1 = NULL; }
8264 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8265 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8266 return NULL;
8267 }
8268 }
8269 if (_obj3)
8270{
8271 _arg3 = &temp;
8272 if (! wxPoint_helper(_obj3, &_arg3))
8273 return NULL;
8274}
8275 if (_obj4)
8276{
8277 _arg4 = &temp0;
8278 if (! wxSize_helper(_obj4, &_arg4))
8279 return NULL;
8280}
8281{
8282 wxPy_BEGIN_ALLOW_THREADS;
8283 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
8284
8285 wxPy_END_ALLOW_THREADS;
8286 if (PyErr_Occurred()) return NULL;
8287} _resultobj = Py_BuildValue("i",_result);
8288 return _resultobj;
8289}
8290
62bd0874 8291#define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
107e4716 8292static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8293 PyObject * _resultobj;
8294 int _result;
8295 wxSpinButton * _arg0;
2d091820 8296 PyObject * _argo0 = 0;
107e4716 8297 char *_kwnames[] = { "self", NULL };
62bd0874
RD
8298
8299 self = self;
107e4716 8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
62bd0874 8301 return NULL;
2d091820
RD
8302 if (_argo0) {
8303 if (_argo0 == Py_None) { _arg0 = NULL; }
8304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
8305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8306 return NULL;
8307 }
8308 }
ab9bc19b
RD
8309{
8310 wxPy_BEGIN_ALLOW_THREADS;
8311 _result = (int )wxSpinButton_GetMax(_arg0);
8312
8313 wxPy_END_ALLOW_THREADS;
4dfaa61e 8314 if (PyErr_Occurred()) return NULL;
ab9bc19b 8315} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
8316 return _resultobj;
8317}
8318
8319#define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
107e4716 8320static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8321 PyObject * _resultobj;
8322 int _result;
8323 wxSpinButton * _arg0;
2d091820 8324 PyObject * _argo0 = 0;
107e4716 8325 char *_kwnames[] = { "self", NULL };
62bd0874
RD
8326
8327 self = self;
107e4716 8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
62bd0874 8329 return NULL;
2d091820
RD
8330 if (_argo0) {
8331 if (_argo0 == Py_None) { _arg0 = NULL; }
8332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
8333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8334 return NULL;
8335 }
8336 }
ab9bc19b
RD
8337{
8338 wxPy_BEGIN_ALLOW_THREADS;
8339 _result = (int )wxSpinButton_GetMin(_arg0);
8340
8341 wxPy_END_ALLOW_THREADS;
4dfaa61e 8342 if (PyErr_Occurred()) return NULL;
ab9bc19b 8343} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
8344 return _resultobj;
8345}
8346
8347#define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 8348static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8349 PyObject * _resultobj;
8350 int _result;
8351 wxSpinButton * _arg0;
2d091820 8352 PyObject * _argo0 = 0;
107e4716 8353 char *_kwnames[] = { "self", NULL };
62bd0874
RD
8354
8355 self = self;
107e4716 8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
62bd0874 8357 return NULL;
2d091820
RD
8358 if (_argo0) {
8359 if (_argo0 == Py_None) { _arg0 = NULL; }
8360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
8361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8362 return NULL;
8363 }
8364 }
ab9bc19b
RD
8365{
8366 wxPy_BEGIN_ALLOW_THREADS;
8367 _result = (int )wxSpinButton_GetValue(_arg0);
8368
8369 wxPy_END_ALLOW_THREADS;
4dfaa61e 8370 if (PyErr_Occurred()) return NULL;
ab9bc19b 8371} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
8372 return _resultobj;
8373}
8374
8375#define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
107e4716 8376static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8377 PyObject * _resultobj;
8378 wxSpinButton * _arg0;
8379 int _arg1;
8380 int _arg2;
2d091820 8381 PyObject * _argo0 = 0;
107e4716 8382 char *_kwnames[] = { "self","min","max", NULL };
62bd0874
RD
8383
8384 self = self;
107e4716 8385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
62bd0874 8386 return NULL;
2d091820
RD
8387 if (_argo0) {
8388 if (_argo0 == Py_None) { _arg0 = NULL; }
8389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
8390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8391 return NULL;
8392 }
8393 }
ab9bc19b
RD
8394{
8395 wxPy_BEGIN_ALLOW_THREADS;
8396 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
8397
8398 wxPy_END_ALLOW_THREADS;
4dfaa61e 8399 if (PyErr_Occurred()) return NULL;
ab9bc19b 8400} Py_INCREF(Py_None);
62bd0874
RD
8401 _resultobj = Py_None;
8402 return _resultobj;
8403}
8404
8405#define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 8406static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8407 PyObject * _resultobj;
8408 wxSpinButton * _arg0;
8409 int _arg1;
2d091820 8410 PyObject * _argo0 = 0;
107e4716 8411 char *_kwnames[] = { "self","value", NULL };
62bd0874
RD
8412
8413 self = self;
107e4716 8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
62bd0874 8415 return NULL;
2d091820
RD
8416 if (_argo0) {
8417 if (_argo0 == Py_None) { _arg0 = NULL; }
8418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
8419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8420 return NULL;
8421 }
8422 }
ab9bc19b
RD
8423{
8424 wxPy_BEGIN_ALLOW_THREADS;
8425 wxSpinButton_SetValue(_arg0,_arg1);
8426
8427 wxPy_END_ALLOW_THREADS;
4dfaa61e 8428 if (PyErr_Occurred()) return NULL;
ab9bc19b 8429} Py_INCREF(Py_None);
62bd0874
RD
8430 _resultobj = Py_None;
8431 return _resultobj;
8432}
8433
70551f47
RD
8434static void *SwigwxStaticBitmapTowxControl(void *ptr) {
8435 wxStaticBitmap *src;
8436 wxControl *dest;
8437 src = (wxStaticBitmap *) ptr;
8438 dest = (wxControl *) src;
8439 return (void *) dest;
8440}
8441
8442static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
8443 wxStaticBitmap *src;
8444 wxWindow *dest;
8445 src = (wxStaticBitmap *) ptr;
8446 dest = (wxWindow *) src;
8447 return (void *) dest;
8448}
8449
8450static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
8451 wxStaticBitmap *src;
8452 wxEvtHandler *dest;
8453 src = (wxStaticBitmap *) ptr;
8454 dest = (wxEvtHandler *) src;
8455 return (void *) dest;
8456}
8457
9df61a29
RD
8458static void *SwigwxStaticBitmapTowxObject(void *ptr) {
8459 wxStaticBitmap *src;
8460 wxObject *dest;
8461 src = (wxStaticBitmap *) ptr;
8462 dest = (wxObject *) src;
8463 return (void *) dest;
8464}
8465
70551f47 8466#define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 8467static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8468 PyObject * _resultobj;
8469 wxStaticBitmap * _result;
8470 wxWindow * _arg0;
8471 wxWindowID _arg1;
8472 wxBitmap * _arg2;
b68dc582
RD
8473 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8474 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
8475 long _arg5 = (long ) 0;
8476 char * _arg6 = (char *) "staticBitmap";
8477 PyObject * _argo0 = 0;
aa2a5b86
RD
8478 PyObject * _argo2 = 0;
8479 wxPoint temp;
8480 PyObject * _obj3 = 0;
8481 wxSize temp0;
8482 PyObject * _obj4 = 0;
8483 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
8484 char _ptemp[128];
8485
8486 self = self;
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_arg6))
8488 return NULL;
8489 if (_argo0) {
8490 if (_argo0 == Py_None) { _arg0 = NULL; }
8491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8493 return NULL;
8494 }
8495 }
8496 if (_argo2) {
8497 if (_argo2 == Py_None) { _arg2 = NULL; }
8498 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
8499 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8500 return NULL;
8501 }
8502 }
8503 if (_obj3)
8504{
8505 _arg3 = &temp;
8506 if (! wxPoint_helper(_obj3, &_arg3))
8507 return NULL;
8508}
8509 if (_obj4)
8510{
8511 _arg4 = &temp0;
8512 if (! wxSize_helper(_obj4, &_arg4))
8513 return NULL;
8514}
8515{
8516 wxPy_BEGIN_ALLOW_THREADS;
8517 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
8518
8519 wxPy_END_ALLOW_THREADS;
8520 if (PyErr_Occurred()) return NULL;
8521} if (_result) {
8522 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8523 _resultobj = Py_BuildValue("s",_ptemp);
8524 } else {
8525 Py_INCREF(Py_None);
8526 _resultobj = Py_None;
8527 }
8528 return _resultobj;
8529}
8530
8531#define new_wxPreStaticBitmap() (new wxStaticBitmap())
8532static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8533 PyObject * _resultobj;
8534 wxStaticBitmap * _result;
8535 char *_kwnames[] = { NULL };
8536 char _ptemp[128];
8537
8538 self = self;
8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
8540 return NULL;
8541{
8542 wxPy_BEGIN_ALLOW_THREADS;
8543 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
8544
8545 wxPy_END_ALLOW_THREADS;
8546 if (PyErr_Occurred()) return NULL;
8547} if (_result) {
8548 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8549 _resultobj = Py_BuildValue("s",_ptemp);
8550 } else {
8551 Py_INCREF(Py_None);
8552 _resultobj = Py_None;
8553 }
8554 return _resultobj;
8555}
8556
8557#define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8558static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8559 PyObject * _resultobj;
8560 bool _result;
8561 wxStaticBitmap * _arg0;
8562 wxWindow * _arg1;
8563 wxWindowID _arg2;
8564 wxBitmap * _arg3;
8565 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
8566 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
8567 long _arg6 = (long ) 0;
8568 char * _arg7 = (char *) "staticBitmap";
8569 PyObject * _argo0 = 0;
8570 PyObject * _argo1 = 0;
8571 PyObject * _argo3 = 0;
37f6a977 8572 wxPoint temp;
37f6a977 8573 PyObject * _obj4 = 0;
aa2a5b86
RD
8574 wxSize temp0;
8575 PyObject * _obj5 = 0;
8576 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
70551f47
RD
8577
8578 self = self;
aa2a5b86 8579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_arg7))
70551f47 8580 return NULL;
2d091820
RD
8581 if (_argo0) {
8582 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
8583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
70551f47
RD
8585 return NULL;
8586 }
8587 }
aa2a5b86
RD
8588 if (_argo1) {
8589 if (_argo1 == Py_None) { _arg1 = NULL; }
8590 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8591 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
70551f47
RD
8592 return NULL;
8593 }
8594 }
aa2a5b86
RD
8595 if (_argo3) {
8596 if (_argo3 == Py_None) { _arg3 = NULL; }
8597 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
8598 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8599 return NULL;
8600 }
8601 }
8602 if (_obj4)
37f6a977 8603{
aa2a5b86
RD
8604 _arg4 = &temp;
8605 if (! wxPoint_helper(_obj4, &_arg4))
70551f47 8606 return NULL;
37f6a977 8607}
aa2a5b86 8608 if (_obj5)
37f6a977 8609{
aa2a5b86
RD
8610 _arg5 = &temp0;
8611 if (! wxSize_helper(_obj5, &_arg5))
70551f47 8612 return NULL;
37f6a977 8613}
ab9bc19b
RD
8614{
8615 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 8616 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
ab9bc19b
RD
8617
8618 wxPy_END_ALLOW_THREADS;
4dfaa61e 8619 if (PyErr_Occurred()) return NULL;
aa2a5b86 8620} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
8621 return _resultobj;
8622}
8623
8624#define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
107e4716 8625static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8626 PyObject * _resultobj;
8627 wxBitmap * _result;
8628 wxStaticBitmap * _arg0;
2d091820 8629 PyObject * _argo0 = 0;
107e4716 8630 char *_kwnames[] = { "self", NULL };
70551f47
RD
8631 char _ptemp[128];
8632
8633 self = self;
107e4716 8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
70551f47 8635 return NULL;
2d091820
RD
8636 if (_argo0) {
8637 if (_argo0 == Py_None) { _arg0 = NULL; }
8638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
70551f47
RD
8639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8640 return NULL;
8641 }
8642 }
ab9bc19b
RD
8643{
8644 wxPy_BEGIN_ALLOW_THREADS;
8645 const wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0);
70551f47 8646 _result = (wxBitmap *) &_result_ref;
ab9bc19b
RD
8647
8648 wxPy_END_ALLOW_THREADS;
4dfaa61e 8649 if (PyErr_Occurred()) return NULL;
2d091820
RD
8650} if (_result) {
8651 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
8652 _resultobj = Py_BuildValue("s",_ptemp);
8653 } else {
8654 Py_INCREF(Py_None);
8655 _resultobj = Py_None;
8656 }
70551f47
RD
8657 return _resultobj;
8658}
8659
8660#define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
107e4716 8661static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8662 PyObject * _resultobj;
8663 wxStaticBitmap * _arg0;
8664 wxBitmap * _arg1;
2d091820
RD
8665 PyObject * _argo0 = 0;
8666 PyObject * _argo1 = 0;
107e4716 8667 char *_kwnames[] = { "self","bitmap", NULL };
70551f47
RD
8668
8669 self = self;
107e4716 8670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
70551f47 8671 return NULL;
2d091820
RD
8672 if (_argo0) {
8673 if (_argo0 == Py_None) { _arg0 = NULL; }
8674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
70551f47
RD
8675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8676 return NULL;
8677 }
8678 }
2d091820
RD
8679 if (_argo1) {
8680 if (_argo1 == Py_None) { _arg1 = NULL; }
8681 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
70551f47
RD
8682 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8683 return NULL;
8684 }
8685 }
ab9bc19b
RD
8686{
8687 wxPy_BEGIN_ALLOW_THREADS;
8688 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
8689
8690 wxPy_END_ALLOW_THREADS;
4dfaa61e 8691 if (PyErr_Occurred()) return NULL;
ab9bc19b 8692} Py_INCREF(Py_None);
70551f47
RD
8693 _resultobj = Py_None;
8694 return _resultobj;
8695}
8696
8bf5d46e 8697#define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
107e4716 8698static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
8699 PyObject * _resultobj;
8700 wxStaticBitmap * _arg0;
8701 wxIcon * _arg1;
2d091820
RD
8702 PyObject * _argo0 = 0;
8703 PyObject * _argo1 = 0;
107e4716 8704 char *_kwnames[] = { "self","icon", NULL };
8bf5d46e
RD
8705
8706 self = self;
107e4716 8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
8bf5d46e 8708 return NULL;
2d091820
RD
8709 if (_argo0) {
8710 if (_argo0 == Py_None) { _arg0 = NULL; }
8711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8bf5d46e
RD
8712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8713 return NULL;
8714 }
8715 }
2d091820
RD
8716 if (_argo1) {
8717 if (_argo1 == Py_None) { _arg1 = NULL; }
8718 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8bf5d46e
RD
8719 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8720 return NULL;
8721 }
8722 }
8723{
8724 wxPy_BEGIN_ALLOW_THREADS;
8725 wxStaticBitmap_SetIcon(_arg0,*_arg1);
8726
8727 wxPy_END_ALLOW_THREADS;
4dfaa61e 8728 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8729} Py_INCREF(Py_None);
8730 _resultobj = Py_None;
8731 return _resultobj;
8732}
8733
70551f47
RD
8734static void *SwigwxRadioBoxTowxControl(void *ptr) {
8735 wxRadioBox *src;
8736 wxControl *dest;
8737 src = (wxRadioBox *) ptr;
8738 dest = (wxControl *) src;
8739 return (void *) dest;
8740}
8741
8742static void *SwigwxRadioBoxTowxWindow(void *ptr) {
8743 wxRadioBox *src;
8744 wxWindow *dest;
8745 src = (wxRadioBox *) ptr;
8746 dest = (wxWindow *) src;
8747 return (void *) dest;
8748}
8749
8750static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
8751 wxRadioBox *src;
8752 wxEvtHandler *dest;
8753 src = (wxRadioBox *) ptr;
8754 dest = (wxEvtHandler *) src;
8755 return (void *) dest;
8756}
8757
9df61a29
RD
8758static void *SwigwxRadioBoxTowxObject(void *ptr) {
8759 wxRadioBox *src;
8760 wxObject *dest;
8761 src = (wxRadioBox *) ptr;
8762 dest = (wxObject *) src;
8763 return (void *) dest;
8764}
8765
70551f47 8766#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))
107e4716 8767static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8768 PyObject * _resultobj;
8769 wxRadioBox * _result;
8770 wxWindow * _arg0;
8771 wxWindowID _arg1;
8772 wxString * _arg2;
b68dc582
RD
8773 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8774 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
8775 int _arg5 = (int ) 0;
8776 wxString * _arg6 = (wxString *) NULL;
8777 int _arg7 = (int ) 0;
8778 long _arg8 = (long ) wxRA_HORIZONTAL;
b68dc582 8779 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
8780 char * _arg10 = (char *) "radioBox";
8781 PyObject * _argo0 = 0;
70551f47 8782 PyObject * _obj2 = 0;
37f6a977
RD
8783 wxPoint temp;
8784 PyObject * _obj3 = 0;
8785 wxSize temp0;
8786 PyObject * _obj4 = 0;
70551f47 8787 PyObject * _obj6 = 0;
2d091820 8788 PyObject * _argo9 = 0;
e02c03a4 8789 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
70551f47
RD
8790 char _ptemp[128];
8791
8792 self = self;
37f6a977 8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOs:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_arg10))
70551f47 8794 return NULL;
2d091820
RD
8795 if (_argo0) {
8796 if (_argo0 == Py_None) { _arg0 = NULL; }
8797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
8798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8799 return NULL;
8800 }
8801 }
8802{
2cd2fac8
RD
8803#if PYTHON_API_VERSION >= 1009
8804 char* tmpPtr; int tmpSize;
8805 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 8806 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8807 return NULL;
8808 }
8809 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8810 return NULL;
8811 _arg2 = new wxString(tmpPtr, tmpSize);
8812#else
70551f47
RD
8813 if (!PyString_Check(_obj2)) {
8814 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8815 return NULL;
8816 }
2cd2fac8
RD
8817 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8818#endif
70551f47 8819}
37f6a977
RD
8820 if (_obj3)
8821{
8822 _arg3 = &temp;
8823 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 8824 return NULL;
37f6a977
RD
8825}
8826 if (_obj4)
8827{
8828 _arg4 = &temp0;
8829 if (! wxSize_helper(_obj4, &_arg4))
70551f47 8830 return NULL;
37f6a977 8831}
70551f47
RD
8832 if (_obj6)
8833{
8834 _arg6 = wxString_LIST_helper(_obj6);
8835 if (_arg6 == NULL) {
8836 return NULL;
8837 }
8838}
2d091820
RD
8839 if (_argo9) {
8840 if (_argo9 == Py_None) { _arg9 = NULL; }
8841 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
70551f47
RD
8842 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8843 return NULL;
8844 }
8845 }
8846{
ab9bc19b
RD
8847 if (_obj6) {
8848 _arg5 = PyList_Size(_obj6);
8849 }
8850 else {
8851 _arg5 = 0;
8852 }
70551f47 8853}
ab9bc19b
RD
8854{
8855 wxPy_BEGIN_ALLOW_THREADS;
8856 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
8857
8858 wxPy_END_ALLOW_THREADS;
4dfaa61e 8859 if (PyErr_Occurred()) return NULL;
2d091820
RD
8860} if (_result) {
8861 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
8862 _resultobj = Py_BuildValue("s",_ptemp);
8863 } else {
8864 Py_INCREF(Py_None);
8865 _resultobj = Py_None;
8866 }
70551f47
RD
8867{
8868 if (_obj2)
8869 delete _arg2;
8870}
8871{
8872 delete [] _arg6;
8873}
8874 return _resultobj;
8875}
8876
aa2a5b86
RD
8877#define new_wxPreRadioBox() (new wxRadioBox())
8878static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8879 PyObject * _resultobj;
8880 wxRadioBox * _result;
8881 char *_kwnames[] = { NULL };
8882 char _ptemp[128];
8883
8884 self = self;
8885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
8886 return NULL;
8887{
8888 wxPy_BEGIN_ALLOW_THREADS;
8889 _result = (wxRadioBox *)new_wxPreRadioBox();
8890
8891 wxPy_END_ALLOW_THREADS;
8892 if (PyErr_Occurred()) return NULL;
8893} if (_result) {
8894 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
8895 _resultobj = Py_BuildValue("s",_ptemp);
8896 } else {
8897 Py_INCREF(Py_None);
8898 _resultobj = Py_None;
8899 }
8900 return _resultobj;
8901}
8902
8903#define wxRadioBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10))
8904static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8905 PyObject * _resultobj;
8906 bool _result;
8907 wxRadioBox * _arg0;
8908 wxWindow * _arg1;
8909 wxWindowID _arg2;
8910 wxString * _arg3;
8911 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
8912 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
8913 int _arg6 = (int ) 0;
8914 wxString * _arg7 = (wxString *) NULL;
8915 int _arg8 = (int ) 0;
8916 long _arg9 = (long ) wxRA_HORIZONTAL;
8917 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
8918 char * _arg11 = (char *) "radioBox";
8919 PyObject * _argo0 = 0;
8920 PyObject * _argo1 = 0;
8921 PyObject * _obj3 = 0;
8922 wxPoint temp;
8923 PyObject * _obj4 = 0;
8924 wxSize temp0;
8925 PyObject * _obj5 = 0;
8926 PyObject * _obj7 = 0;
8927 PyObject * _argo10 = 0;
8928 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
8929
8930 self = self;
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_arg11))
8932 return NULL;
8933 if (_argo0) {
8934 if (_argo0 == Py_None) { _arg0 = NULL; }
8935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8937 return NULL;
8938 }
8939 }
8940 if (_argo1) {
8941 if (_argo1 == Py_None) { _arg1 = NULL; }
8942 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8943 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8944 return NULL;
8945 }
8946 }
8947{
8948#if PYTHON_API_VERSION >= 1009
8949 char* tmpPtr; int tmpSize;
8950 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
8951 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8952 return NULL;
8953 }
8954 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8955 return NULL;
8956 _arg3 = new wxString(tmpPtr, tmpSize);
8957#else
8958 if (!PyString_Check(_obj3)) {
8959 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8960 return NULL;
8961 }
8962 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8963#endif
8964}
8965 if (_obj4)
8966{
8967 _arg4 = &temp;
8968 if (! wxPoint_helper(_obj4, &_arg4))
8969 return NULL;
8970}
8971 if (_obj5)
8972{
8973 _arg5 = &temp0;
8974 if (! wxSize_helper(_obj5, &_arg5))
8975 return NULL;
8976}
8977 if (_obj7)
8978{
8979 _arg7 = wxString_LIST_helper(_obj7);
8980 if (_arg7 == NULL) {
8981 return NULL;
8982 }
8983}
8984 if (_argo10) {
8985 if (_argo10 == Py_None) { _arg10 = NULL; }
8986 else if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
8987 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8988 return NULL;
8989 }
8990 }
8991{
8992 if (_obj7) {
8993 _arg6 = PyList_Size(_obj7);
8994 }
8995 else {
8996 _arg6 = 0;
8997 }
8998}
8999{
9000 wxPy_BEGIN_ALLOW_THREADS;
9001 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,_arg11);
9002
9003 wxPy_END_ALLOW_THREADS;
9004 if (PyErr_Occurred()) return NULL;
9005} _resultobj = Py_BuildValue("i",_result);
9006{
9007 if (_obj3)
9008 delete _arg3;
9009}
9010{
9011 delete [] _arg7;
9012}
9013 return _resultobj;
9014}
9015
c3c1cebe 9016#define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
107e4716 9017static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9018 PyObject * _resultobj;
9019 wxRadioBox * _arg0;
9020 bool _arg1;
2d091820 9021 PyObject * _argo0 = 0;
70551f47 9022 int tempbool1;
107e4716 9023 char *_kwnames[] = { "self","enable", NULL };
70551f47
RD
9024
9025 self = self;
107e4716 9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
70551f47 9027 return NULL;
2d091820
RD
9028 if (_argo0) {
9029 if (_argo0 == Py_None) { _arg0 = NULL; }
9030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
c3c1cebe 9031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
70551f47
RD
9032 return NULL;
9033 }
9034 }
9035 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
9036{
9037 wxPy_BEGIN_ALLOW_THREADS;
9038 wxRadioBox_Enable(_arg0,_arg1);
9039
9040 wxPy_END_ALLOW_THREADS;
4dfaa61e 9041 if (PyErr_Occurred()) return NULL;
ab9bc19b 9042} Py_INCREF(Py_None);
70551f47
RD
9043 _resultobj = Py_None;
9044 return _resultobj;
9045}
9046
c3c1cebe 9047#define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
107e4716 9048static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9049 PyObject * _resultobj;
9050 wxRadioBox * _arg0;
9051 int _arg1;
9052 bool _arg2;
2d091820 9053 PyObject * _argo0 = 0;
70551f47 9054 int tempbool2;
107e4716 9055 char *_kwnames[] = { "self","n","enable", NULL };
70551f47
RD
9056
9057 self = self;
107e4716 9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 9059 return NULL;
2d091820
RD
9060 if (_argo0) {
9061 if (_argo0 == Py_None) { _arg0 = NULL; }
9062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
c3c1cebe 9063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
70551f47
RD
9064 return NULL;
9065 }
9066 }
9067 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
9068{
9069 wxPy_BEGIN_ALLOW_THREADS;
9070 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
9071
9072 wxPy_END_ALLOW_THREADS;
4dfaa61e 9073 if (PyErr_Occurred()) return NULL;
ab9bc19b 9074} Py_INCREF(Py_None);
70551f47
RD
9075 _resultobj = Py_None;
9076 return _resultobj;
9077}
9078
9079#define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
107e4716 9080static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9081 PyObject * _resultobj;
9082 int _result;
9083 wxRadioBox * _arg0;
9084 wxString * _arg1;
2d091820 9085 PyObject * _argo0 = 0;
70551f47 9086 PyObject * _obj1 = 0;
107e4716 9087 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
9088
9089 self = self;
107e4716 9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
70551f47 9091 return NULL;
2d091820
RD
9092 if (_argo0) {
9093 if (_argo0 == Py_None) { _arg0 = NULL; }
9094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
9095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9096 return NULL;
9097 }
9098 }
9099{
2cd2fac8
RD
9100#if PYTHON_API_VERSION >= 1009
9101 char* tmpPtr; int tmpSize;
9102 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 9103 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
9104 return NULL;
9105 }
9106 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9107 return NULL;
9108 _arg1 = new wxString(tmpPtr, tmpSize);
9109#else
70551f47
RD
9110 if (!PyString_Check(_obj1)) {
9111 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9112 return NULL;
9113 }
2cd2fac8
RD
9114 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9115#endif
70551f47 9116}
ab9bc19b
RD
9117{
9118 wxPy_BEGIN_ALLOW_THREADS;
9119 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
9120
9121 wxPy_END_ALLOW_THREADS;
4dfaa61e 9122 if (PyErr_Occurred()) return NULL;
ab9bc19b 9123} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9124{
9125 if (_obj1)
9126 delete _arg1;
9127}
9128 return _resultobj;
9129}
9130
2c8a649d
RD
9131#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9132static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9133 PyObject * _resultobj;
9134 wxString * _result;
9135 wxRadioBox * _arg0;
9136 int _arg1;
2d091820 9137 PyObject * _argo0 = 0;
107e4716 9138 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
9139
9140 self = self;
2c8a649d 9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
70551f47 9142 return NULL;
2d091820
RD
9143 if (_argo0) {
9144 if (_argo0 == Py_None) { _arg0 = NULL; }
9145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 9146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
70551f47
RD
9147 return NULL;
9148 }
9149 }
70551f47 9150{
ab9bc19b 9151 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 9152 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
ab9bc19b
RD
9153
9154 wxPy_END_ALLOW_THREADS;
4dfaa61e 9155 if (PyErr_Occurred()) return NULL;
ab9bc19b 9156}{
e02c03a4 9157 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
9158}
9159{
9160 delete _result;
9161}
9162 return _resultobj;
9163}
9164
2c8a649d
RD
9165#define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9166static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 9167 PyObject * _resultobj;
2c8a649d 9168 wxString * _result;
70551f47 9169 wxRadioBox * _arg0;
2c8a649d 9170 int _arg1;
2d091820 9171 PyObject * _argo0 = 0;
2c8a649d 9172 char *_kwnames[] = { "self","item", NULL };
70551f47
RD
9173
9174 self = self;
2c8a649d 9175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetItemLabel",_kwnames,&_argo0,&_arg1))
70551f47 9176 return NULL;
2d091820
RD
9177 if (_argo0) {
9178 if (_argo0 == Py_None) { _arg0 = NULL; }
9179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 9180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
70551f47
RD
9181 return NULL;
9182 }
9183 }
ab9bc19b
RD
9184{
9185 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 9186 _result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1));
ab9bc19b
RD
9187
9188 wxPy_END_ALLOW_THREADS;
4dfaa61e 9189 if (PyErr_Occurred()) return NULL;
2c8a649d
RD
9190}{
9191 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9192}
9193{
9194 delete _result;
9195}
70551f47
RD
9196 return _resultobj;
9197}
9198
2c8a649d
RD
9199#define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9200static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 9201 PyObject * _resultobj;
70551f47
RD
9202 wxRadioBox * _arg0;
9203 int _arg1;
2c8a649d 9204 wxString * _arg2;
2d091820 9205 PyObject * _argo0 = 0;
2c8a649d
RD
9206 PyObject * _obj2 = 0;
9207 char *_kwnames[] = { "self","item","label", NULL };
70551f47
RD
9208
9209 self = self;
2c8a649d 9210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetItemLabel",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 9211 return NULL;
2d091820
RD
9212 if (_argo0) {
9213 if (_argo0 == Py_None) { _arg0 = NULL; }
9214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 9215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
70551f47
RD
9216 return NULL;
9217 }
9218 }
2c8a649d
RD
9219{
9220#if PYTHON_API_VERSION >= 1009
9221 char* tmpPtr; int tmpSize;
9222 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9223 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9224 return NULL;
9225 }
9226 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9227 return NULL;
9228 _arg2 = new wxString(tmpPtr, tmpSize);
9229#else
9230 if (!PyString_Check(_obj2)) {
9231 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9232 return NULL;
9233 }
9234 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9235#endif
9236}
70551f47 9237{
ab9bc19b 9238 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 9239 wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2);
ab9bc19b
RD
9240
9241 wxPy_END_ALLOW_THREADS;
4dfaa61e 9242 if (PyErr_Occurred()) return NULL;
2c8a649d
RD
9243} Py_INCREF(Py_None);
9244 _resultobj = Py_None;
70551f47 9245{
2c8a649d
RD
9246 if (_obj2)
9247 delete _arg2;
70551f47
RD
9248}
9249 return _resultobj;
9250}
9251
2c8a649d
RD
9252#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9253static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 9254 PyObject * _resultobj;
2c8a649d 9255 int _result;
70551f47 9256 wxRadioBox * _arg0;
2d091820 9257 PyObject * _argo0 = 0;
107e4716 9258 char *_kwnames[] = { "self", NULL };
70551f47
RD
9259
9260 self = self;
2c8a649d 9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
70551f47 9262 return NULL;
2d091820
RD
9263 if (_argo0) {
9264 if (_argo0 == Py_None) { _arg0 = NULL; }
9265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 9266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
70551f47
RD
9267 return NULL;
9268 }
9269 }
70551f47 9270{
ab9bc19b 9271 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 9272 _result = (int )wxRadioBox_GetSelection(_arg0);
ab9bc19b
RD
9273
9274 wxPy_END_ALLOW_THREADS;
4dfaa61e 9275 if (PyErr_Occurred()) return NULL;
2c8a649d 9276} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9277 return _resultobj;
9278}
9279
2c8a649d
RD
9280#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9281static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 9282 PyObject * _resultobj;
2c8a649d 9283 wxString * _result;
70551f47 9284 wxRadioBox * _arg0;
2d091820 9285 PyObject * _argo0 = 0;
107e4716 9286 char *_kwnames[] = { "self", NULL };
70551f47
RD
9287
9288 self = self;
2c8a649d 9289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
70551f47 9290 return NULL;
2d091820
RD
9291 if (_argo0) {
9292 if (_argo0 == Py_None) { _arg0 = NULL; }
9293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 9294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
70551f47
RD
9295 return NULL;
9296 }
9297 }
ab9bc19b
RD
9298{
9299 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 9300 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
ab9bc19b
RD
9301
9302 wxPy_END_ALLOW_THREADS;
4dfaa61e 9303 if (PyErr_Occurred()) return NULL;
2c8a649d
RD
9304}{
9305 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9306}
9307{
9308 delete _result;
9309}
70551f47
RD
9310 return _resultobj;
9311}
9312
2c8a649d
RD
9313#define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9314static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 9315 PyObject * _resultobj;
2c8a649d 9316 int _result;
70551f47 9317 wxRadioBox * _arg0;
2d091820 9318 PyObject * _argo0 = 0;
2c8a649d 9319 char *_kwnames[] = { "self", NULL };
70551f47
RD
9320
9321 self = self;
2c8a649d 9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
70551f47 9323 return NULL;
2d091820
RD
9324 if (_argo0) {
9325 if (_argo0 == Py_None) { _arg0 = NULL; }
9326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 9327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
70551f47
RD
9328 return NULL;
9329 }
9330 }
ab9bc19b
RD
9331{
9332 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 9333 _result = (int )wxRadioBox_GetCount(_arg0);
ab9bc19b
RD
9334
9335 wxPy_END_ALLOW_THREADS;
4dfaa61e 9336 if (PyErr_Occurred()) return NULL;
2c8a649d 9337} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9338 return _resultobj;
9339}
9340
9341#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 9342static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9343 PyObject * _resultobj;
9344 wxRadioBox * _arg0;
9345 int _arg1;
2d091820 9346 PyObject * _argo0 = 0;
107e4716 9347 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
9348
9349 self = self;
107e4716 9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 9351 return NULL;
2d091820
RD
9352 if (_argo0) {
9353 if (_argo0 == Py_None) { _arg0 = NULL; }
9354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
9355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9356 return NULL;
9357 }
9358 }
ab9bc19b
RD
9359{
9360 wxPy_BEGIN_ALLOW_THREADS;
9361 wxRadioBox_SetSelection(_arg0,_arg1);
9362
9363 wxPy_END_ALLOW_THREADS;
4dfaa61e 9364 if (PyErr_Occurred()) return NULL;
ab9bc19b 9365} Py_INCREF(Py_None);
70551f47
RD
9366 _resultobj = Py_None;
9367 return _resultobj;
9368}
9369
9370#define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
107e4716 9371static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9372 PyObject * _resultobj;
9373 wxRadioBox * _arg0;
9374 wxString * _arg1;
2d091820 9375 PyObject * _argo0 = 0;
70551f47 9376 PyObject * _obj1 = 0;
107e4716 9377 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
9378
9379 self = self;
107e4716 9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
70551f47 9381 return NULL;
2d091820
RD
9382 if (_argo0) {
9383 if (_argo0 == Py_None) { _arg0 = NULL; }
9384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
9385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9386 return NULL;
9387 }
9388 }
9389{
2cd2fac8
RD
9390#if PYTHON_API_VERSION >= 1009
9391 char* tmpPtr; int tmpSize;
9392 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 9393 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
9394 return NULL;
9395 }
9396 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9397 return NULL;
9398 _arg1 = new wxString(tmpPtr, tmpSize);
9399#else
70551f47
RD
9400 if (!PyString_Check(_obj1)) {
9401 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9402 return NULL;
9403 }
2cd2fac8
RD
9404 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9405#endif
70551f47 9406}
ab9bc19b
RD
9407{
9408 wxPy_BEGIN_ALLOW_THREADS;
9409 wxRadioBox_SetStringSelection(_arg0,*_arg1);
9410
9411 wxPy_END_ALLOW_THREADS;
4dfaa61e 9412 if (PyErr_Occurred()) return NULL;
ab9bc19b 9413} Py_INCREF(Py_None);
70551f47
RD
9414 _resultobj = Py_None;
9415{
9416 if (_obj1)
9417 delete _arg1;
9418}
9419 return _resultobj;
9420}
9421
9422#define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
107e4716 9423static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9424 PyObject * _resultobj;
9425 wxRadioBox * _arg0;
9426 bool _arg1;
2d091820 9427 PyObject * _argo0 = 0;
70551f47 9428 int tempbool1;
107e4716 9429 char *_kwnames[] = { "self","show", NULL };
70551f47
RD
9430
9431 self = self;
107e4716 9432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
70551f47 9433 return NULL;
2d091820
RD
9434 if (_argo0) {
9435 if (_argo0 == Py_None) { _arg0 = NULL; }
9436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
9437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9438 return NULL;
9439 }
9440 }
9441 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
9442{
9443 wxPy_BEGIN_ALLOW_THREADS;
9444 wxRadioBox_Show(_arg0,_arg1);
9445
9446 wxPy_END_ALLOW_THREADS;
4dfaa61e 9447 if (PyErr_Occurred()) return NULL;
ab9bc19b 9448} Py_INCREF(Py_None);
70551f47
RD
9449 _resultobj = Py_None;
9450 return _resultobj;
9451}
9452
9453#define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
107e4716 9454static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9455 PyObject * _resultobj;
9456 wxRadioBox * _arg0;
9457 int _arg1;
9458 bool _arg2;
2d091820 9459 PyObject * _argo0 = 0;
70551f47 9460 int tempbool2;
107e4716 9461 char *_kwnames[] = { "self","item","show", NULL };
70551f47
RD
9462
9463 self = self;
107e4716 9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 9465 return NULL;
2d091820
RD
9466 if (_argo0) {
9467 if (_argo0 == Py_None) { _arg0 = NULL; }
9468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
9469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9470 return NULL;
9471 }
9472 }
9473 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
9474{
9475 wxPy_BEGIN_ALLOW_THREADS;
9476 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
9477
9478 wxPy_END_ALLOW_THREADS;
4dfaa61e 9479 if (PyErr_Occurred()) return NULL;
ab9bc19b 9480} Py_INCREF(Py_None);
70551f47
RD
9481 _resultobj = Py_None;
9482 return _resultobj;
9483}
9484
9485static void *SwigwxRadioButtonTowxControl(void *ptr) {
9486 wxRadioButton *src;
9487 wxControl *dest;
9488 src = (wxRadioButton *) ptr;
9489 dest = (wxControl *) src;
9490 return (void *) dest;
9491}
9492
9493static void *SwigwxRadioButtonTowxWindow(void *ptr) {
9494 wxRadioButton *src;
9495 wxWindow *dest;
9496 src = (wxRadioButton *) ptr;
9497 dest = (wxWindow *) src;
9498 return (void *) dest;
9499}
9500
9501static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
9502 wxRadioButton *src;
9503 wxEvtHandler *dest;
9504 src = (wxRadioButton *) ptr;
9505 dest = (wxEvtHandler *) src;
9506 return (void *) dest;
9507}
9508
9df61a29
RD
9509static void *SwigwxRadioButtonTowxObject(void *ptr) {
9510 wxRadioButton *src;
9511 wxObject *dest;
9512 src = (wxRadioButton *) ptr;
9513 dest = (wxObject *) src;
9514 return (void *) dest;
9515}
9516
70551f47 9517#define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 9518static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9519 PyObject * _resultobj;
9520 wxRadioButton * _result;
9521 wxWindow * _arg0;
9522 wxWindowID _arg1;
9523 wxString * _arg2;
b68dc582
RD
9524 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9525 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 9526 long _arg5 = (long ) 0;
b68dc582 9527 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
9528 char * _arg7 = (char *) "radioButton";
9529 PyObject * _argo0 = 0;
70551f47 9530 PyObject * _obj2 = 0;
37f6a977
RD
9531 wxPoint temp;
9532 PyObject * _obj3 = 0;
9533 wxSize temp0;
9534 PyObject * _obj4 = 0;
2d091820 9535 PyObject * _argo6 = 0;
107e4716 9536 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
70551f47
RD
9537 char _ptemp[128];
9538
9539 self = self;
37f6a977 9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 9541 return NULL;
2d091820
RD
9542 if (_argo0) {
9543 if (_argo0 == Py_None) { _arg0 = NULL; }
9544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
9545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9546 return NULL;
9547 }
9548 }
9549{
2cd2fac8
RD
9550#if PYTHON_API_VERSION >= 1009
9551 char* tmpPtr; int tmpSize;
9552 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 9553 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
9554 return NULL;
9555 }
9556 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9557 return NULL;
9558 _arg2 = new wxString(tmpPtr, tmpSize);
9559#else
70551f47
RD
9560 if (!PyString_Check(_obj2)) {
9561 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9562 return NULL;
9563 }
2cd2fac8
RD
9564 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9565#endif
70551f47 9566}
37f6a977
RD
9567 if (_obj3)
9568{
aa2a5b86
RD
9569 _arg3 = &temp;
9570 if (! wxPoint_helper(_obj3, &_arg3))
9571 return NULL;
9572}
9573 if (_obj4)
9574{
9575 _arg4 = &temp0;
9576 if (! wxSize_helper(_obj4, &_arg4))
9577 return NULL;
9578}
9579 if (_argo6) {
9580 if (_argo6 == Py_None) { _arg6 = NULL; }
9581 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
9582 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9583 return NULL;
9584 }
9585 }
9586{
9587 wxPy_BEGIN_ALLOW_THREADS;
9588 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
9589
9590 wxPy_END_ALLOW_THREADS;
9591 if (PyErr_Occurred()) return NULL;
9592} if (_result) {
9593 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9594 _resultobj = Py_BuildValue("s",_ptemp);
9595 } else {
9596 Py_INCREF(Py_None);
9597 _resultobj = Py_None;
9598 }
9599{
9600 if (_obj2)
9601 delete _arg2;
9602}
9603 return _resultobj;
9604}
9605
9606#define new_wxPreRadioButton() (new wxRadioButton())
9607static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9608 PyObject * _resultobj;
9609 wxRadioButton * _result;
9610 char *_kwnames[] = { NULL };
9611 char _ptemp[128];
9612
9613 self = self;
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
9615 return NULL;
9616{
9617 wxPy_BEGIN_ALLOW_THREADS;
9618 _result = (wxRadioButton *)new_wxPreRadioButton();
9619
9620 wxPy_END_ALLOW_THREADS;
9621 if (PyErr_Occurred()) return NULL;
9622} if (_result) {
9623 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9624 _resultobj = Py_BuildValue("s",_ptemp);
9625 } else {
9626 Py_INCREF(Py_None);
9627 _resultobj = Py_None;
9628 }
9629 return _resultobj;
9630}
9631
9632#define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9633static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject * _resultobj;
9635 bool _result;
9636 wxRadioButton * _arg0;
9637 wxWindow * _arg1;
9638 wxWindowID _arg2;
9639 wxString * _arg3;
9640 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9641 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9642 long _arg6 = (long ) 0;
9643 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9644 char * _arg8 = (char *) "radioButton";
9645 PyObject * _argo0 = 0;
9646 PyObject * _argo1 = 0;
9647 PyObject * _obj3 = 0;
9648 wxPoint temp;
9649 PyObject * _obj4 = 0;
9650 wxSize temp0;
9651 PyObject * _obj5 = 0;
9652 PyObject * _argo7 = 0;
9653 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
9654
9655 self = self;
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
9657 return NULL;
9658 if (_argo0) {
9659 if (_argo0 == Py_None) { _arg0 = NULL; }
9660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9662 return NULL;
9663 }
9664 }
9665 if (_argo1) {
9666 if (_argo1 == Py_None) { _arg1 = NULL; }
9667 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9668 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9669 return NULL;
9670 }
9671 }
9672{
9673#if PYTHON_API_VERSION >= 1009
9674 char* tmpPtr; int tmpSize;
9675 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
9676 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9677 return NULL;
9678 }
9679 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
9680 return NULL;
9681 _arg3 = new wxString(tmpPtr, tmpSize);
9682#else
9683 if (!PyString_Check(_obj3)) {
9684 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9685 return NULL;
9686 }
9687 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
9688#endif
9689}
9690 if (_obj4)
9691{
9692 _arg4 = &temp;
9693 if (! wxPoint_helper(_obj4, &_arg4))
70551f47 9694 return NULL;
37f6a977 9695}
aa2a5b86 9696 if (_obj5)
37f6a977 9697{
aa2a5b86
RD
9698 _arg5 = &temp0;
9699 if (! wxSize_helper(_obj5, &_arg5))
70551f47 9700 return NULL;
37f6a977 9701}
aa2a5b86
RD
9702 if (_argo7) {
9703 if (_argo7 == Py_None) { _arg7 = NULL; }
9704 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
9705 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
70551f47
RD
9706 return NULL;
9707 }
9708 }
ab9bc19b
RD
9709{
9710 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 9711 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
ab9bc19b
RD
9712
9713 wxPy_END_ALLOW_THREADS;
4dfaa61e 9714 if (PyErr_Occurred()) return NULL;
aa2a5b86 9715} _resultobj = Py_BuildValue("i",_result);
70551f47 9716{
aa2a5b86
RD
9717 if (_obj3)
9718 delete _arg3;
70551f47
RD
9719}
9720 return _resultobj;
9721}
9722
9723#define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 9724static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9725 PyObject * _resultobj;
9726 bool _result;
9727 wxRadioButton * _arg0;
2d091820 9728 PyObject * _argo0 = 0;
107e4716 9729 char *_kwnames[] = { "self", NULL };
70551f47
RD
9730
9731 self = self;
107e4716 9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
70551f47 9733 return NULL;
2d091820
RD
9734 if (_argo0) {
9735 if (_argo0 == Py_None) { _arg0 = NULL; }
9736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
70551f47
RD
9737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9738 return NULL;
9739 }
9740 }
ab9bc19b
RD
9741{
9742 wxPy_BEGIN_ALLOW_THREADS;
9743 _result = (bool )wxRadioButton_GetValue(_arg0);
9744
9745 wxPy_END_ALLOW_THREADS;
4dfaa61e 9746 if (PyErr_Occurred()) return NULL;
ab9bc19b 9747} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9748 return _resultobj;
9749}
9750
9751#define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 9752static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9753 PyObject * _resultobj;
9754 wxRadioButton * _arg0;
9755 bool _arg1;
2d091820 9756 PyObject * _argo0 = 0;
70551f47 9757 int tempbool1;
107e4716 9758 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
9759
9760 self = self;
107e4716 9761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
70551f47 9762 return NULL;
2d091820
RD
9763 if (_argo0) {
9764 if (_argo0 == Py_None) { _arg0 = NULL; }
9765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
70551f47
RD
9766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9767 return NULL;
9768 }
9769 }
9770 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
9771{
9772 wxPy_BEGIN_ALLOW_THREADS;
9773 wxRadioButton_SetValue(_arg0,_arg1);
9774
9775 wxPy_END_ALLOW_THREADS;
4dfaa61e 9776 if (PyErr_Occurred()) return NULL;
ab9bc19b 9777} Py_INCREF(Py_None);
70551f47
RD
9778 _resultobj = Py_None;
9779 return _resultobj;
9780}
9781
9782static void *SwigwxSliderTowxControl(void *ptr) {
9783 wxSlider *src;
9784 wxControl *dest;
9785 src = (wxSlider *) ptr;
9786 dest = (wxControl *) src;
9787 return (void *) dest;
9788}
9789
9790static void *SwigwxSliderTowxWindow(void *ptr) {
9791 wxSlider *src;
9792 wxWindow *dest;
9793 src = (wxSlider *) ptr;
9794 dest = (wxWindow *) src;
9795 return (void *) dest;
9796}
9797
9798static void *SwigwxSliderTowxEvtHandler(void *ptr) {
9799 wxSlider *src;
9800 wxEvtHandler *dest;
9801 src = (wxSlider *) ptr;
9802 dest = (wxEvtHandler *) src;
9803 return (void *) dest;
9804}
9805
9df61a29
RD
9806static void *SwigwxSliderTowxObject(void *ptr) {
9807 wxSlider *src;
9808 wxObject *dest;
9809 src = (wxSlider *) ptr;
9810 dest = (wxObject *) src;
9811 return (void *) dest;
9812}
9813
70551f47 9814#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))
107e4716 9815static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9816 PyObject * _resultobj;
9817 wxSlider * _result;
9818 wxWindow * _arg0;
9819 wxWindowID _arg1;
9820 int _arg2;
9821 int _arg3;
9822 int _arg4;
b68dc582
RD
9823 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
9824 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
2d091820 9825 long _arg7 = (long ) wxSL_HORIZONTAL;
b68dc582 9826 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
9827 char * _arg9 = (char *) "slider";
9828 PyObject * _argo0 = 0;
37f6a977
RD
9829 wxPoint temp;
9830 PyObject * _obj5 = 0;
9831 wxSize temp0;
9832 PyObject * _obj6 = 0;
2d091820 9833 PyObject * _argo8 = 0;
107e4716 9834 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
70551f47
RD
9835 char _ptemp[128];
9836
9837 self = self;
37f6a977 9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOs:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_arg9))
70551f47 9839 return NULL;
2d091820
RD
9840 if (_argo0) {
9841 if (_argo0 == Py_None) { _arg0 = NULL; }
9842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
9843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9844 return NULL;
9845 }
9846 }
37f6a977
RD
9847 if (_obj5)
9848{
9849 _arg5 = &temp;
9850 if (! wxPoint_helper(_obj5, &_arg5))
70551f47 9851 return NULL;
37f6a977
RD
9852}
9853 if (_obj6)
9854{
9855 _arg6 = &temp0;
9856 if (! wxSize_helper(_obj6, &_arg6))
70551f47 9857 return NULL;
37f6a977 9858}
2d091820
RD
9859 if (_argo8) {
9860 if (_argo8 == Py_None) { _arg8 = NULL; }
9861 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
70551f47
RD
9862 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9863 return NULL;
9864 }
9865 }
ab9bc19b
RD
9866{
9867 wxPy_BEGIN_ALLOW_THREADS;
9868 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
9869
9870 wxPy_END_ALLOW_THREADS;
4dfaa61e 9871 if (PyErr_Occurred()) return NULL;
2d091820
RD
9872} if (_result) {
9873 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
9874 _resultobj = Py_BuildValue("s",_ptemp);
9875 } else {
9876 Py_INCREF(Py_None);
9877 _resultobj = Py_None;
9878 }
70551f47
RD
9879 return _resultobj;
9880}
9881
aa2a5b86
RD
9882#define new_wxPreSlider() (new wxSlider())
9883static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
9884 PyObject * _resultobj;
9885 wxSlider * _result;
9886 char *_kwnames[] = { NULL };
9887 char _ptemp[128];
9888
9889 self = self;
9890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
9891 return NULL;
9892{
9893 wxPy_BEGIN_ALLOW_THREADS;
9894 _result = (wxSlider *)new_wxPreSlider();
9895
9896 wxPy_END_ALLOW_THREADS;
9897 if (PyErr_Occurred()) return NULL;
9898} if (_result) {
9899 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
9900 _resultobj = Py_BuildValue("s",_ptemp);
9901 } else {
9902 Py_INCREF(Py_None);
9903 _resultobj = Py_None;
9904 }
9905 return _resultobj;
9906}
9907
9908#define wxSlider_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
9909static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9910 PyObject * _resultobj;
9911 bool _result;
9912 wxSlider * _arg0;
9913 wxWindow * _arg1;
9914 wxWindowID _arg2;
9915 int _arg3;
9916 int _arg4;
9917 int _arg5;
9918 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
9919 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
9920 long _arg8 = (long ) wxSL_HORIZONTAL;
9921 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9922 char * _arg10 = (char *) "slider";
9923 PyObject * _argo0 = 0;
9924 PyObject * _argo1 = 0;
9925 wxPoint temp;
9926 PyObject * _obj6 = 0;
9927 wxSize temp0;
9928 PyObject * _obj7 = 0;
9929 PyObject * _argo9 = 0;
9930 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
9931
9932 self = self;
9933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOs:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_arg10))
9934 return NULL;
9935 if (_argo0) {
9936 if (_argo0 == Py_None) { _arg0 = NULL; }
9937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
9938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9939 return NULL;
9940 }
9941 }
9942 if (_argo1) {
9943 if (_argo1 == Py_None) { _arg1 = NULL; }
9944 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9945 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9946 return NULL;
9947 }
9948 }
9949 if (_obj6)
9950{
9951 _arg6 = &temp;
9952 if (! wxPoint_helper(_obj6, &_arg6))
9953 return NULL;
9954}
9955 if (_obj7)
9956{
9957 _arg7 = &temp0;
9958 if (! wxSize_helper(_obj7, &_arg7))
9959 return NULL;
9960}
9961 if (_argo9) {
9962 if (_argo9 == Py_None) { _arg9 = NULL; }
9963 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
9964 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9965 return NULL;
9966 }
9967 }
9968{
9969 wxPy_BEGIN_ALLOW_THREADS;
9970 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,_arg10);
9971
9972 wxPy_END_ALLOW_THREADS;
9973 if (PyErr_Occurred()) return NULL;
9974} _resultobj = Py_BuildValue("i",_result);
9975 return _resultobj;
9976}
9977
70551f47 9978#define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
107e4716 9979static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9980 PyObject * _resultobj;
9981 wxSlider * _arg0;
2d091820 9982 PyObject * _argo0 = 0;
107e4716 9983 char *_kwnames[] = { "self", NULL };
70551f47
RD
9984
9985 self = self;
107e4716 9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
70551f47 9987 return NULL;
2d091820
RD
9988 if (_argo0) {
9989 if (_argo0 == Py_None) { _arg0 = NULL; }
9990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9992 return NULL;
9993 }
9994 }
ab9bc19b
RD
9995{
9996 wxPy_BEGIN_ALLOW_THREADS;
9997 wxSlider_ClearSel(_arg0);
9998
9999 wxPy_END_ALLOW_THREADS;
4dfaa61e 10000 if (PyErr_Occurred()) return NULL;
ab9bc19b 10001} Py_INCREF(Py_None);
70551f47
RD
10002 _resultobj = Py_None;
10003 return _resultobj;
10004}
10005
10006#define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
107e4716 10007static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10008 PyObject * _resultobj;
10009 wxSlider * _arg0;
2d091820 10010 PyObject * _argo0 = 0;
107e4716 10011 char *_kwnames[] = { "self", NULL };
70551f47
RD
10012
10013 self = self;
107e4716 10014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
70551f47 10015 return NULL;
2d091820
RD
10016 if (_argo0) {
10017 if (_argo0 == Py_None) { _arg0 = NULL; }
10018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10020 return NULL;
10021 }
10022 }
ab9bc19b
RD
10023{
10024 wxPy_BEGIN_ALLOW_THREADS;
10025 wxSlider_ClearTicks(_arg0);
10026
10027 wxPy_END_ALLOW_THREADS;
4dfaa61e 10028 if (PyErr_Occurred()) return NULL;
ab9bc19b 10029} Py_INCREF(Py_None);
70551f47
RD
10030 _resultobj = Py_None;
10031 return _resultobj;
10032}
10033
10034#define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
107e4716 10035static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10036 PyObject * _resultobj;
10037 int _result;
10038 wxSlider * _arg0;
2d091820 10039 PyObject * _argo0 = 0;
107e4716 10040 char *_kwnames[] = { "self", NULL };
70551f47
RD
10041
10042 self = self;
107e4716 10043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
70551f47 10044 return NULL;
2d091820
RD
10045 if (_argo0) {
10046 if (_argo0 == Py_None) { _arg0 = NULL; }
10047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10049 return NULL;
10050 }
10051 }
ab9bc19b
RD
10052{
10053 wxPy_BEGIN_ALLOW_THREADS;
10054 _result = (int )wxSlider_GetLineSize(_arg0);
10055
10056 wxPy_END_ALLOW_THREADS;
4dfaa61e 10057 if (PyErr_Occurred()) return NULL;
ab9bc19b 10058} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10059 return _resultobj;
10060}
10061
10062#define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
107e4716 10063static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10064 PyObject * _resultobj;
10065 int _result;
10066 wxSlider * _arg0;
2d091820 10067 PyObject * _argo0 = 0;
107e4716 10068 char *_kwnames[] = { "self", NULL };
70551f47
RD
10069
10070 self = self;
107e4716 10071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
70551f47 10072 return NULL;
2d091820
RD
10073 if (_argo0) {
10074 if (_argo0 == Py_None) { _arg0 = NULL; }
10075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10077 return NULL;
10078 }
10079 }
ab9bc19b
RD
10080{
10081 wxPy_BEGIN_ALLOW_THREADS;
10082 _result = (int )wxSlider_GetMax(_arg0);
10083
10084 wxPy_END_ALLOW_THREADS;
4dfaa61e 10085 if (PyErr_Occurred()) return NULL;
ab9bc19b 10086} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10087 return _resultobj;
10088}
10089
10090#define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
107e4716 10091static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10092 PyObject * _resultobj;
10093 int _result;
10094 wxSlider * _arg0;
2d091820 10095 PyObject * _argo0 = 0;
107e4716 10096 char *_kwnames[] = { "self", NULL };
70551f47
RD
10097
10098 self = self;
107e4716 10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
70551f47 10100 return NULL;
2d091820
RD
10101 if (_argo0) {
10102 if (_argo0 == Py_None) { _arg0 = NULL; }
10103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10105 return NULL;
10106 }
10107 }
ab9bc19b
RD
10108{
10109 wxPy_BEGIN_ALLOW_THREADS;
10110 _result = (int )wxSlider_GetMin(_arg0);
10111
10112 wxPy_END_ALLOW_THREADS;
4dfaa61e 10113 if (PyErr_Occurred()) return NULL;
ab9bc19b 10114} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10115 return _resultobj;
10116}
10117
10118#define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
107e4716 10119static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10120 PyObject * _resultobj;
10121 int _result;
10122 wxSlider * _arg0;
2d091820 10123 PyObject * _argo0 = 0;
107e4716 10124 char *_kwnames[] = { "self", NULL };
70551f47
RD
10125
10126 self = self;
107e4716 10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
70551f47 10128 return NULL;
2d091820
RD
10129 if (_argo0) {
10130 if (_argo0 == Py_None) { _arg0 = NULL; }
10131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10133 return NULL;
10134 }
10135 }
ab9bc19b
RD
10136{
10137 wxPy_BEGIN_ALLOW_THREADS;
10138 _result = (int )wxSlider_GetPageSize(_arg0);
10139
10140 wxPy_END_ALLOW_THREADS;
4dfaa61e 10141 if (PyErr_Occurred()) return NULL;
ab9bc19b 10142} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10143 return _resultobj;
10144}
10145
10146#define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
107e4716 10147static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10148 PyObject * _resultobj;
10149 int _result;
10150 wxSlider * _arg0;
2d091820 10151 PyObject * _argo0 = 0;
107e4716 10152 char *_kwnames[] = { "self", NULL };
70551f47
RD
10153
10154 self = self;
107e4716 10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
70551f47 10156 return NULL;
2d091820
RD
10157 if (_argo0) {
10158 if (_argo0 == Py_None) { _arg0 = NULL; }
10159 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10161 return NULL;
10162 }
10163 }
ab9bc19b
RD
10164{
10165 wxPy_BEGIN_ALLOW_THREADS;
10166 _result = (int )wxSlider_GetSelEnd(_arg0);
10167
10168 wxPy_END_ALLOW_THREADS;
4dfaa61e 10169 if (PyErr_Occurred()) return NULL;
ab9bc19b 10170} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10171 return _resultobj;
10172}
10173
10174#define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
107e4716 10175static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10176 PyObject * _resultobj;
10177 int _result;
10178 wxSlider * _arg0;
2d091820 10179 PyObject * _argo0 = 0;
107e4716 10180 char *_kwnames[] = { "self", NULL };
70551f47
RD
10181
10182 self = self;
107e4716 10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
70551f47 10184 return NULL;
2d091820
RD
10185 if (_argo0) {
10186 if (_argo0 == Py_None) { _arg0 = NULL; }
10187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10189 return NULL;
10190 }
10191 }
ab9bc19b
RD
10192{
10193 wxPy_BEGIN_ALLOW_THREADS;
10194 _result = (int )wxSlider_GetSelStart(_arg0);
10195
10196 wxPy_END_ALLOW_THREADS;
4dfaa61e 10197 if (PyErr_Occurred()) return NULL;
ab9bc19b 10198} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10199 return _resultobj;
10200}
10201
10202#define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
107e4716 10203static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10204 PyObject * _resultobj;
10205 int _result;
10206 wxSlider * _arg0;
2d091820 10207 PyObject * _argo0 = 0;
107e4716 10208 char *_kwnames[] = { "self", NULL };
70551f47
RD
10209
10210 self = self;
107e4716 10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
70551f47 10212 return NULL;
2d091820
RD
10213 if (_argo0) {
10214 if (_argo0 == Py_None) { _arg0 = NULL; }
10215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10217 return NULL;
10218 }
10219 }
ab9bc19b
RD
10220{
10221 wxPy_BEGIN_ALLOW_THREADS;
10222 _result = (int )wxSlider_GetThumbLength(_arg0);
10223
10224 wxPy_END_ALLOW_THREADS;
4dfaa61e 10225 if (PyErr_Occurred()) return NULL;
ab9bc19b 10226} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10227 return _resultobj;
10228}
10229
10230#define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
107e4716 10231static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10232 PyObject * _resultobj;
10233 int _result;
10234 wxSlider * _arg0;
2d091820 10235 PyObject * _argo0 = 0;
107e4716 10236 char *_kwnames[] = { "self", NULL };
70551f47
RD
10237
10238 self = self;
107e4716 10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
70551f47 10240 return NULL;
2d091820
RD
10241 if (_argo0) {
10242 if (_argo0 == Py_None) { _arg0 = NULL; }
10243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10245 return NULL;
10246 }
10247 }
ab9bc19b
RD
10248{
10249 wxPy_BEGIN_ALLOW_THREADS;
10250 _result = (int )wxSlider_GetTickFreq(_arg0);
10251
10252 wxPy_END_ALLOW_THREADS;
4dfaa61e 10253 if (PyErr_Occurred()) return NULL;
ab9bc19b 10254} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10255 return _resultobj;
10256}
10257
10258#define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 10259static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10260 PyObject * _resultobj;
10261 int _result;
10262 wxSlider * _arg0;
2d091820 10263 PyObject * _argo0 = 0;
107e4716 10264 char *_kwnames[] = { "self", NULL };
70551f47
RD
10265
10266 self = self;
107e4716 10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
70551f47 10268 return NULL;
2d091820
RD
10269 if (_argo0) {
10270 if (_argo0 == Py_None) { _arg0 = NULL; }
10271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10273 return NULL;
10274 }
10275 }
ab9bc19b
RD
10276{
10277 wxPy_BEGIN_ALLOW_THREADS;
10278 _result = (int )wxSlider_GetValue(_arg0);
10279
10280 wxPy_END_ALLOW_THREADS;
4dfaa61e 10281 if (PyErr_Occurred()) return NULL;
ab9bc19b 10282} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10283 return _resultobj;
10284}
10285
10286#define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
107e4716 10287static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10288 PyObject * _resultobj;
10289 wxSlider * _arg0;
10290 int _arg1;
10291 int _arg2;
2d091820 10292 PyObject * _argo0 = 0;
107e4716 10293 char *_kwnames[] = { "self","minValue","maxValue", NULL };
70551f47
RD
10294
10295 self = self;
107e4716 10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 10297 return NULL;
2d091820
RD
10298 if (_argo0) {
10299 if (_argo0 == Py_None) { _arg0 = NULL; }
10300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10302 return NULL;
10303 }
10304 }
ab9bc19b
RD
10305{
10306 wxPy_BEGIN_ALLOW_THREADS;
10307 wxSlider_SetRange(_arg0,_arg1,_arg2);
10308
10309 wxPy_END_ALLOW_THREADS;
4dfaa61e 10310 if (PyErr_Occurred()) return NULL;
ab9bc19b 10311} Py_INCREF(Py_None);
70551f47
RD
10312 _resultobj = Py_None;
10313 return _resultobj;
10314}
10315
10316#define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
107e4716 10317static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10318 PyObject * _resultobj;
10319 wxSlider * _arg0;
10320 int _arg1;
10321 int _arg2;
2d091820 10322 PyObject * _argo0 = 0;
107e4716 10323 char *_kwnames[] = { "self","n","pos", NULL };
70551f47
RD
10324
10325 self = self;
107e4716 10326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 10327 return NULL;
2d091820
RD
10328 if (_argo0) {
10329 if (_argo0 == Py_None) { _arg0 = NULL; }
10330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10332 return NULL;
10333 }
10334 }
ab9bc19b
RD
10335{
10336 wxPy_BEGIN_ALLOW_THREADS;
10337 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
10338
10339 wxPy_END_ALLOW_THREADS;
4dfaa61e 10340 if (PyErr_Occurred()) return NULL;
ab9bc19b 10341} Py_INCREF(Py_None);
70551f47
RD
10342 _resultobj = Py_None;
10343 return _resultobj;
10344}
10345
10346#define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
107e4716 10347static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10348 PyObject * _resultobj;
10349 wxSlider * _arg0;
10350 int _arg1;
2d091820 10351 PyObject * _argo0 = 0;
107e4716 10352 char *_kwnames[] = { "self","lineSize", NULL };
70551f47
RD
10353
10354 self = self;
107e4716 10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
70551f47 10356 return NULL;
2d091820
RD
10357 if (_argo0) {
10358 if (_argo0 == Py_None) { _arg0 = NULL; }
10359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10361 return NULL;
10362 }
10363 }
ab9bc19b
RD
10364{
10365 wxPy_BEGIN_ALLOW_THREADS;
10366 wxSlider_SetLineSize(_arg0,_arg1);
10367
10368 wxPy_END_ALLOW_THREADS;
4dfaa61e 10369 if (PyErr_Occurred()) return NULL;
ab9bc19b 10370} Py_INCREF(Py_None);
70551f47
RD
10371 _resultobj = Py_None;
10372 return _resultobj;
10373}
10374
10375#define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
107e4716 10376static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10377 PyObject * _resultobj;
10378 wxSlider * _arg0;
10379 int _arg1;
2d091820 10380 PyObject * _argo0 = 0;
107e4716 10381 char *_kwnames[] = { "self","pageSize", NULL };
70551f47
RD
10382
10383 self = self;
107e4716 10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
70551f47 10385 return NULL;
2d091820
RD
10386 if (_argo0) {
10387 if (_argo0 == Py_None) { _arg0 = NULL; }
10388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10390 return NULL;
10391 }
10392 }
ab9bc19b
RD
10393{
10394 wxPy_BEGIN_ALLOW_THREADS;
10395 wxSlider_SetPageSize(_arg0,_arg1);
10396
10397 wxPy_END_ALLOW_THREADS;
4dfaa61e 10398 if (PyErr_Occurred()) return NULL;
ab9bc19b 10399} Py_INCREF(Py_None);
70551f47
RD
10400 _resultobj = Py_None;
10401 return _resultobj;
10402}
10403
10404#define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 10405static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10406 PyObject * _resultobj;
10407 wxSlider * _arg0;
10408 int _arg1;
10409 int _arg2;
2d091820 10410 PyObject * _argo0 = 0;
107e4716 10411 char *_kwnames[] = { "self","startPos","endPos", NULL };
70551f47
RD
10412
10413 self = self;
107e4716 10414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 10415 return NULL;
2d091820
RD
10416 if (_argo0) {
10417 if (_argo0 == Py_None) { _arg0 = NULL; }
10418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10420 return NULL;
10421 }
10422 }
ab9bc19b
RD
10423{
10424 wxPy_BEGIN_ALLOW_THREADS;
10425 wxSlider_SetSelection(_arg0,_arg1,_arg2);
10426
10427 wxPy_END_ALLOW_THREADS;
4dfaa61e 10428 if (PyErr_Occurred()) return NULL;
ab9bc19b 10429} Py_INCREF(Py_None);
70551f47
RD
10430 _resultobj = Py_None;
10431 return _resultobj;
10432}
10433
10434#define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
107e4716 10435static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10436 PyObject * _resultobj;
10437 wxSlider * _arg0;
10438 int _arg1;
2d091820 10439 PyObject * _argo0 = 0;
107e4716 10440 char *_kwnames[] = { "self","len", NULL };
70551f47
RD
10441
10442 self = self;
107e4716 10443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
70551f47 10444 return NULL;
2d091820
RD
10445 if (_argo0) {
10446 if (_argo0 == Py_None) { _arg0 = NULL; }
10447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10449 return NULL;
10450 }
10451 }
ab9bc19b
RD
10452{
10453 wxPy_BEGIN_ALLOW_THREADS;
10454 wxSlider_SetThumbLength(_arg0,_arg1);
10455
10456 wxPy_END_ALLOW_THREADS;
4dfaa61e 10457 if (PyErr_Occurred()) return NULL;
ab9bc19b 10458} Py_INCREF(Py_None);
70551f47
RD
10459 _resultobj = Py_None;
10460 return _resultobj;
10461}
10462
10463#define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
107e4716 10464static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10465 PyObject * _resultobj;
10466 wxSlider * _arg0;
10467 int _arg1;
2d091820 10468 PyObject * _argo0 = 0;
107e4716 10469 char *_kwnames[] = { "self","tickPos", NULL };
70551f47
RD
10470
10471 self = self;
107e4716 10472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
70551f47 10473 return NULL;
2d091820
RD
10474 if (_argo0) {
10475 if (_argo0 == Py_None) { _arg0 = NULL; }
10476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10478 return NULL;
10479 }
10480 }
ab9bc19b
RD
10481{
10482 wxPy_BEGIN_ALLOW_THREADS;
10483 wxSlider_SetTick(_arg0,_arg1);
10484
10485 wxPy_END_ALLOW_THREADS;
4dfaa61e 10486 if (PyErr_Occurred()) return NULL;
ab9bc19b 10487} Py_INCREF(Py_None);
70551f47
RD
10488 _resultobj = Py_None;
10489 return _resultobj;
10490}
10491
10492#define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 10493static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10494 PyObject * _resultobj;
10495 wxSlider * _arg0;
10496 int _arg1;
2d091820 10497 PyObject * _argo0 = 0;
107e4716 10498 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
10499
10500 self = self;
107e4716 10501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
70551f47 10502 return NULL;
2d091820
RD
10503 if (_argo0) {
10504 if (_argo0 == Py_None) { _arg0 = NULL; }
10505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10507 return NULL;
10508 }
10509 }
ab9bc19b
RD
10510{
10511 wxPy_BEGIN_ALLOW_THREADS;
10512 wxSlider_SetValue(_arg0,_arg1);
10513
10514 wxPy_END_ALLOW_THREADS;
4dfaa61e 10515 if (PyErr_Occurred()) return NULL;
ab9bc19b 10516} Py_INCREF(Py_None);
70551f47
RD
10517 _resultobj = Py_None;
10518 return _resultobj;
10519}
10520
f6bcfd97
BP
10521static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
10522 wxSpinCtrl *src;
10523 wxSpinButton *dest;
10524 src = (wxSpinCtrl *) ptr;
10525 dest = (wxSpinButton *) src;
10526 return (void *) dest;
10527}
10528
10529static void *SwigwxSpinCtrlTowxControl(void *ptr) {
10530 wxSpinCtrl *src;
10531 wxControl *dest;
10532 src = (wxSpinCtrl *) ptr;
10533 dest = (wxControl *) src;
10534 return (void *) dest;
10535}
10536
10537static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
10538 wxSpinCtrl *src;
10539 wxWindow *dest;
10540 src = (wxSpinCtrl *) ptr;
10541 dest = (wxWindow *) src;
10542 return (void *) dest;
10543}
10544
10545static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
10546 wxSpinCtrl *src;
10547 wxEvtHandler *dest;
10548 src = (wxSpinCtrl *) ptr;
10549 dest = (wxEvtHandler *) src;
10550 return (void *) dest;
10551}
10552
9df61a29
RD
10553static void *SwigwxSpinCtrlTowxObject(void *ptr) {
10554 wxSpinCtrl *src;
10555 wxObject *dest;
10556 src = (wxSpinCtrl *) ptr;
10557 dest = (wxObject *) src;
10558 return (void *) dest;
10559}
10560
f6bcfd97
BP
10561#define new_wxSpinCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSpinCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
10562static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject * _resultobj;
10564 wxSpinCtrl * _result;
10565 wxWindow * _arg0;
10566 wxWindowID _arg1 = (wxWindowID ) -1;
10567 char * _arg2 = (char *) "";
b68dc582
RD
10568 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10569 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
f6bcfd97
BP
10570 long _arg5 = (long ) wxSP_ARROW_KEYS;
10571 int _arg6 = (int ) 0;
10572 int _arg7 = (int ) 100;
10573 int _arg8 = (int ) 0;
10574 char * _arg9 = (char *) "wxSpinCtrl";
10575 PyObject * _argo0 = 0;
10576 wxPoint temp;
10577 PyObject * _obj3 = 0;
10578 wxSize temp0;
10579 PyObject * _obj4 = 0;
10580 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
10581 char _ptemp[128];
10582
10583 self = self;
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|isOOliiis:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9))
10585 return NULL;
10586 if (_argo0) {
10587 if (_argo0 == Py_None) { _arg0 = NULL; }
10588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10590 return NULL;
10591 }
10592 }
10593 if (_obj3)
10594{
10595 _arg3 = &temp;
10596 if (! wxPoint_helper(_obj3, &_arg3))
10597 return NULL;
10598}
10599 if (_obj4)
10600{
10601 _arg4 = &temp0;
10602 if (! wxSize_helper(_obj4, &_arg4))
10603 return NULL;
10604}
10605{
10606 wxPy_BEGIN_ALLOW_THREADS;
10607 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
10608
10609 wxPy_END_ALLOW_THREADS;
4dfaa61e 10610 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10611} if (_result) {
10612 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10613 _resultobj = Py_BuildValue("s",_ptemp);
10614 } else {
10615 Py_INCREF(Py_None);
10616 _resultobj = Py_None;
10617 }
10618 return _resultobj;
10619}
10620
aa2a5b86
RD
10621#define new_wxPreSpinCtrl() (new wxSpinCtrl())
10622static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10623 PyObject * _resultobj;
10624 wxSpinCtrl * _result;
10625 char *_kwnames[] = { NULL };
10626 char _ptemp[128];
10627
10628 self = self;
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
10630 return NULL;
10631{
10632 wxPy_BEGIN_ALLOW_THREADS;
10633 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
10634
10635 wxPy_END_ALLOW_THREADS;
10636 if (PyErr_Occurred()) return NULL;
10637} if (_result) {
10638 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10639 _resultobj = Py_BuildValue("s",_ptemp);
10640 } else {
10641 Py_INCREF(Py_None);
10642 _resultobj = Py_None;
10643 }
10644 return _resultobj;
10645}
10646
10647#define wxSpinCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
10648static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10649 PyObject * _resultobj;
10650 bool _result;
10651 wxSpinCtrl * _arg0;
10652 wxWindow * _arg1;
10653 wxWindowID _arg2 = (wxWindowID ) -1;
10654 char * _arg3 = (char *) "";
10655 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10656 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10657 long _arg6 = (long ) wxSP_ARROW_KEYS;
10658 int _arg7 = (int ) 0;
10659 int _arg8 = (int ) 100;
10660 int _arg9 = (int ) 0;
10661 char * _arg10 = (char *) "wxSpinCtrl";
10662 PyObject * _argo0 = 0;
10663 PyObject * _argo1 = 0;
10664 wxPoint temp;
10665 PyObject * _obj4 = 0;
10666 wxSize temp0;
10667 PyObject * _obj5 = 0;
10668 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
10669
10670 self = self;
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_arg10))
10672 return NULL;
10673 if (_argo0) {
10674 if (_argo0 == Py_None) { _arg0 = NULL; }
10675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10677 return NULL;
10678 }
10679 }
10680 if (_argo1) {
10681 if (_argo1 == Py_None) { _arg1 = NULL; }
10682 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10683 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10684 return NULL;
10685 }
10686 }
10687 if (_obj4)
10688{
10689 _arg4 = &temp;
10690 if (! wxPoint_helper(_obj4, &_arg4))
10691 return NULL;
10692}
10693 if (_obj5)
10694{
10695 _arg5 = &temp0;
10696 if (! wxSize_helper(_obj5, &_arg5))
10697 return NULL;
10698}
10699{
10700 wxPy_BEGIN_ALLOW_THREADS;
10701 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,_arg10);
10702
10703 wxPy_END_ALLOW_THREADS;
10704 if (PyErr_Occurred()) return NULL;
10705} _resultobj = Py_BuildValue("i",_result);
10706 return _resultobj;
10707}
10708
c368d904
RD
10709#define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10710static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10711 PyObject * _resultobj;
10712 int _result;
10713 wxSpinCtrl * _arg0;
10714 PyObject * _argo0 = 0;
10715 char *_kwnames[] = { "self", NULL };
10716
10717 self = self;
10718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
10719 return NULL;
10720 if (_argo0) {
10721 if (_argo0 == Py_None) { _arg0 = NULL; }
10722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10724 return NULL;
10725 }
10726 }
10727{
10728 wxPy_BEGIN_ALLOW_THREADS;
10729 _result = (int )wxSpinCtrl_GetMax(_arg0);
10730
10731 wxPy_END_ALLOW_THREADS;
4dfaa61e 10732 if (PyErr_Occurred()) return NULL;
c368d904
RD
10733} _resultobj = Py_BuildValue("i",_result);
10734 return _resultobj;
10735}
10736
10737#define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10738static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10739 PyObject * _resultobj;
10740 int _result;
10741 wxSpinCtrl * _arg0;
10742 PyObject * _argo0 = 0;
10743 char *_kwnames[] = { "self", NULL };
10744
10745 self = self;
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
10747 return NULL;
10748 if (_argo0) {
10749 if (_argo0 == Py_None) { _arg0 = NULL; }
10750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10752 return NULL;
10753 }
10754 }
10755{
10756 wxPy_BEGIN_ALLOW_THREADS;
10757 _result = (int )wxSpinCtrl_GetMin(_arg0);
10758
10759 wxPy_END_ALLOW_THREADS;
4dfaa61e 10760 if (PyErr_Occurred()) return NULL;
c368d904
RD
10761} _resultobj = Py_BuildValue("i",_result);
10762 return _resultobj;
10763}
10764
10765#define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10766static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10767 PyObject * _resultobj;
10768 int _result;
10769 wxSpinCtrl * _arg0;
10770 PyObject * _argo0 = 0;
10771 char *_kwnames[] = { "self", NULL };
10772
10773 self = self;
10774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
10775 return NULL;
10776 if (_argo0) {
10777 if (_argo0 == Py_None) { _arg0 = NULL; }
10778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10780 return NULL;
10781 }
10782 }
10783{
10784 wxPy_BEGIN_ALLOW_THREADS;
10785 _result = (int )wxSpinCtrl_GetValue(_arg0);
10786
10787 wxPy_END_ALLOW_THREADS;
4dfaa61e 10788 if (PyErr_Occurred()) return NULL;
c368d904
RD
10789} _resultobj = Py_BuildValue("i",_result);
10790 return _resultobj;
10791}
10792
10793#define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10794static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject * _resultobj;
10796 wxSpinCtrl * _arg0;
10797 int _arg1;
10798 int _arg2;
10799 PyObject * _argo0 = 0;
10800 char *_kwnames[] = { "self","min","max", NULL };
10801
10802 self = self;
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
10804 return NULL;
10805 if (_argo0) {
10806 if (_argo0 == Py_None) { _arg0 = NULL; }
10807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10809 return NULL;
10810 }
10811 }
10812{
10813 wxPy_BEGIN_ALLOW_THREADS;
10814 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
10815
10816 wxPy_END_ALLOW_THREADS;
4dfaa61e 10817 if (PyErr_Occurred()) return NULL;
c368d904
RD
10818} Py_INCREF(Py_None);
10819 _resultobj = Py_None;
10820 return _resultobj;
10821}
10822
10823#define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10824static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10825 PyObject * _resultobj;
10826 wxSpinCtrl * _arg0;
10827 int _arg1;
10828 PyObject * _argo0 = 0;
10829 char *_kwnames[] = { "self","value", NULL };
10830
10831 self = self;
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
10833 return NULL;
10834 if (_argo0) {
10835 if (_argo0 == Py_None) { _arg0 = NULL; }
10836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10838 return NULL;
10839 }
10840 }
10841{
10842 wxPy_BEGIN_ALLOW_THREADS;
10843 wxSpinCtrl_SetValue(_arg0,_arg1);
10844
10845 wxPy_END_ALLOW_THREADS;
4dfaa61e 10846 if (PyErr_Occurred()) return NULL;
c368d904
RD
10847} Py_INCREF(Py_None);
10848 _resultobj = Py_None;
10849 return _resultobj;
10850}
10851
7a446686
RD
10852static void *SwigwxToggleButtonTowxControl(void *ptr) {
10853 wxToggleButton *src;
10854 wxControl *dest;
10855 src = (wxToggleButton *) ptr;
10856 dest = (wxControl *) src;
10857 return (void *) dest;
10858}
10859
10860static void *SwigwxToggleButtonTowxWindow(void *ptr) {
10861 wxToggleButton *src;
10862 wxWindow *dest;
10863 src = (wxToggleButton *) ptr;
10864 dest = (wxWindow *) src;
10865 return (void *) dest;
10866}
10867
10868static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
10869 wxToggleButton *src;
10870 wxEvtHandler *dest;
10871 src = (wxToggleButton *) ptr;
10872 dest = (wxEvtHandler *) src;
10873 return (void *) dest;
10874}
10875
9df61a29
RD
10876static void *SwigwxToggleButtonTowxObject(void *ptr) {
10877 wxToggleButton *src;
10878 wxObject *dest;
10879 src = (wxToggleButton *) ptr;
10880 dest = (wxObject *) src;
10881 return (void *) dest;
10882}
10883
7a446686
RD
10884#define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10885static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10886 PyObject * _resultobj;
10887 wxToggleButton * _result;
10888 wxWindow * _arg0;
10889 wxWindowID _arg1;
10890 wxString * _arg2;
10891 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10892 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10893 long _arg5 = (long ) 0;
10894 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
10895 char * _arg7 = (char *) "toggle";
10896 PyObject * _argo0 = 0;
10897 PyObject * _obj2 = 0;
10898 wxPoint temp;
10899 PyObject * _obj3 = 0;
10900 wxSize temp0;
10901 PyObject * _obj4 = 0;
10902 PyObject * _argo6 = 0;
10903 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
10904 char _ptemp[128];
10905
10906 self = self;
10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
10908 return NULL;
10909 if (_argo0) {
10910 if (_argo0 == Py_None) { _arg0 = NULL; }
10911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10913 return NULL;
10914 }
10915 }
10916{
10917#if PYTHON_API_VERSION >= 1009
10918 char* tmpPtr; int tmpSize;
10919 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
10920 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10921 return NULL;
10922 }
10923 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
10924 return NULL;
10925 _arg2 = new wxString(tmpPtr, tmpSize);
10926#else
10927 if (!PyString_Check(_obj2)) {
10928 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10929 return NULL;
10930 }
10931 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
10932#endif
10933}
10934 if (_obj3)
10935{
10936 _arg3 = &temp;
10937 if (! wxPoint_helper(_obj3, &_arg3))
10938 return NULL;
10939}
10940 if (_obj4)
10941{
10942 _arg4 = &temp0;
10943 if (! wxSize_helper(_obj4, &_arg4))
10944 return NULL;
10945}
10946 if (_argo6) {
10947 if (_argo6 == Py_None) { _arg6 = NULL; }
10948 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
10949 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
10950 return NULL;
10951 }
10952 }
10953{
10954 wxPy_BEGIN_ALLOW_THREADS;
10955 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
10956
10957 wxPy_END_ALLOW_THREADS;
4dfaa61e 10958 if (PyErr_Occurred()) return NULL;
7a446686
RD
10959} if (_result) {
10960 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
10961 _resultobj = Py_BuildValue("s",_ptemp);
10962 } else {
10963 Py_INCREF(Py_None);
10964 _resultobj = Py_None;
10965 }
10966{
10967 if (_obj2)
10968 delete _arg2;
10969}
10970 return _resultobj;
10971}
10972
aa2a5b86
RD
10973#define new_wxPreToggleButton() (new wxToggleButton())
10974static PyObject *_wrap_new_wxPreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10975 PyObject * _resultobj;
10976 wxToggleButton * _result;
10977 char *_kwnames[] = { NULL };
10978 char _ptemp[128];
10979
10980 self = self;
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToggleButton",_kwnames))
10982 return NULL;
10983{
10984 wxPy_BEGIN_ALLOW_THREADS;
10985 _result = (wxToggleButton *)new_wxPreToggleButton();
10986
10987 wxPy_END_ALLOW_THREADS;
10988 if (PyErr_Occurred()) return NULL;
10989} if (_result) {
10990 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
10991 _resultobj = Py_BuildValue("s",_ptemp);
10992 } else {
10993 Py_INCREF(Py_None);
10994 _resultobj = Py_None;
10995 }
10996 return _resultobj;
10997}
10998
10999#define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11000static PyObject *_wrap_wxToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11001 PyObject * _resultobj;
11002 bool _result;
11003 wxToggleButton * _arg0;
11004 wxWindow * _arg1;
11005 wxWindowID _arg2;
11006 wxString * _arg3;
11007 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
11008 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
11009 long _arg6 = (long ) 0;
11010 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
11011 char * _arg8 = (char *) "toggle";
11012 PyObject * _argo0 = 0;
11013 PyObject * _argo1 = 0;
11014 PyObject * _obj3 = 0;
11015 wxPoint temp;
11016 PyObject * _obj4 = 0;
11017 wxSize temp0;
11018 PyObject * _obj5 = 0;
11019 PyObject * _argo7 = 0;
11020 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
11021
11022 self = self;
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxToggleButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
11024 return NULL;
11025 if (_argo0) {
11026 if (_argo0 == Py_None) { _arg0 = NULL; }
11027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11029 return NULL;
11030 }
11031 }
11032 if (_argo1) {
11033 if (_argo1 == Py_None) { _arg1 = NULL; }
11034 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11035 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11036 return NULL;
11037 }
11038 }
11039{
11040#if PYTHON_API_VERSION >= 1009
11041 char* tmpPtr; int tmpSize;
11042 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
11043 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11044 return NULL;
11045 }
11046 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11047 return NULL;
11048 _arg3 = new wxString(tmpPtr, tmpSize);
11049#else
11050 if (!PyString_Check(_obj3)) {
11051 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11052 return NULL;
11053 }
11054 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11055#endif
11056}
11057 if (_obj4)
11058{
11059 _arg4 = &temp;
11060 if (! wxPoint_helper(_obj4, &_arg4))
11061 return NULL;
11062}
11063 if (_obj5)
11064{
11065 _arg5 = &temp0;
11066 if (! wxSize_helper(_obj5, &_arg5))
11067 return NULL;
11068}
11069 if (_argo7) {
11070 if (_argo7 == Py_None) { _arg7 = NULL; }
11071 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
11072 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11073 return NULL;
11074 }
11075 }
11076{
11077 wxPy_BEGIN_ALLOW_THREADS;
11078 _result = (bool )wxToggleButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
11079
11080 wxPy_END_ALLOW_THREADS;
11081 if (PyErr_Occurred()) return NULL;
11082} _resultobj = Py_BuildValue("i",_result);
11083{
11084 if (_obj3)
11085 delete _arg3;
11086}
11087 return _resultobj;
11088}
11089
7a446686
RD
11090#define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11091static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11092 PyObject * _resultobj;
11093 wxToggleButton * _arg0;
11094 bool _arg1;
11095 PyObject * _argo0 = 0;
11096 int tempbool1;
11097 char *_kwnames[] = { "self","value", NULL };
11098
11099 self = self;
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
11101 return NULL;
11102 if (_argo0) {
11103 if (_argo0 == Py_None) { _arg0 = NULL; }
11104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11106 return NULL;
11107 }
11108 }
11109 _arg1 = (bool ) tempbool1;
11110{
11111 wxPy_BEGIN_ALLOW_THREADS;
11112 wxToggleButton_SetValue(_arg0,_arg1);
11113
11114 wxPy_END_ALLOW_THREADS;
4dfaa61e 11115 if (PyErr_Occurred()) return NULL;
7a446686
RD
11116} Py_INCREF(Py_None);
11117 _resultobj = Py_None;
11118 return _resultobj;
11119}
11120
11121#define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11122static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject * _resultobj;
11124 bool _result;
11125 wxToggleButton * _arg0;
11126 PyObject * _argo0 = 0;
11127 char *_kwnames[] = { "self", NULL };
11128
11129 self = self;
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
11131 return NULL;
11132 if (_argo0) {
11133 if (_argo0 == Py_None) { _arg0 = NULL; }
11134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11136 return NULL;
11137 }
11138 }
11139{
11140 wxPy_BEGIN_ALLOW_THREADS;
11141 _result = (bool )wxToggleButton_GetValue(_arg0);
11142
11143 wxPy_END_ALLOW_THREADS;
4dfaa61e 11144 if (PyErr_Occurred()) return NULL;
7a446686
RD
11145} _resultobj = Py_BuildValue("i",_result);
11146 return _resultobj;
11147}
11148
11149#define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11150static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11151 PyObject * _resultobj;
11152 wxToggleButton * _arg0;
11153 wxString * _arg1;
11154 PyObject * _argo0 = 0;
11155 PyObject * _obj1 = 0;
11156 char *_kwnames[] = { "self","label", NULL };
11157
11158 self = self;
11159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
11160 return NULL;
11161 if (_argo0) {
11162 if (_argo0 == Py_None) { _arg0 = NULL; }
11163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11165 return NULL;
11166 }
11167 }
11168{
11169#if PYTHON_API_VERSION >= 1009
11170 char* tmpPtr; int tmpSize;
11171 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11172 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11173 return NULL;
11174 }
11175 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11176 return NULL;
11177 _arg1 = new wxString(tmpPtr, tmpSize);
11178#else
11179 if (!PyString_Check(_obj1)) {
11180 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11181 return NULL;
11182 }
11183 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11184#endif
11185}
11186{
11187 wxPy_BEGIN_ALLOW_THREADS;
11188 wxToggleButton_SetLabel(_arg0,*_arg1);
11189
11190 wxPy_END_ALLOW_THREADS;
4dfaa61e 11191 if (PyErr_Occurred()) return NULL;
7a446686
RD
11192} Py_INCREF(Py_None);
11193 _resultobj = Py_None;
11194{
11195 if (_obj1)
11196 delete _arg1;
11197}
11198 return _resultobj;
11199}
11200
70551f47 11201static PyMethodDef controlscMethods[] = {
7a446686
RD
11202 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
11203 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11204 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11205 { "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
11206 { "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
7a446686 11207 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
11208 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11209 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
11210 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
11211 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
11212 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11213 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11214 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11215 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11216 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
11217 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
11218 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
11219 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
11220 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
11221 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
11222 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
11223 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
11224 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
11225 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
11226 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
11227 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
11228 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
11229 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11230 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
11231 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
11232 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
11233 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
11234 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11235 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
11236 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11237 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
11238 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11239 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11240 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
11241 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11242 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
11243 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
11244 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
11245 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11246 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
2c8a649d 11247 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
107e4716 11248 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
107e4716 11249 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
2c8a649d 11250 { "wxRadioBox_SetItemLabel", (PyCFunction) _wrap_wxRadioBox_SetItemLabel, METH_VARARGS | METH_KEYWORDS },
107e4716 11251 { "wxRadioBox_GetItemLabel", (PyCFunction) _wrap_wxRadioBox_GetItemLabel, METH_VARARGS | METH_KEYWORDS },
2c8a649d 11252 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11253 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
11254 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
11255 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11256 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
11257 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11258 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
11259 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
11260 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
11261 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11262 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
11263 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11264 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
11265 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11266 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
11267 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11268 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
11269 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11270 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
11271 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11272 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
11273 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
11274 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
2fc99549 11275 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11276 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
11277 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
11278 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11279 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11280 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
11281 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
107e4716 11282 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
4120ef2b 11283 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 11284 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
11285 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11286 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11287 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
4120ef2b
RD
11288 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11289 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11290 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
11291 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11292 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
11293 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11294 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11295 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
11296 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
11297 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
11298 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11299 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
11300 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
11301 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11302 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11303 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11304 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11305 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
11306 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
11307 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
11308 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
11309 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
11310 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11311 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
11312 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
11313 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
11314 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
11315 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
11316 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
11317 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11318 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11319 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
11320 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11321 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11322 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11323 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11324 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
107e4716 11325 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
11326 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11327 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11328 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11329 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11330 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11331 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11332 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11333 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11334 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11335 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
11336 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
107e4716 11337 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
d29aba2f 11338 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11339 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
11340 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11341 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
11342 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11343 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
11344 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11345 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
11346 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11347 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
11348 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
11349 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
11350 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
2c8a649d
RD
11351 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
11352 { "wxListBox_GetCount", (PyCFunction) _wrap_wxListBox_GetCount, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11353 { "wxListBox_GetStringSelection", (PyCFunction) _wrap_wxListBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11354 { "wxListBox_GetString", (PyCFunction) _wrap_wxListBox_GetString, METH_VARARGS | METH_KEYWORDS },
37f6a977 11355 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11356 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
11357 { "wxListBox_GetSelection", (PyCFunction) _wrap_wxListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
11358 { "wxListBox_FindString", (PyCFunction) _wrap_wxListBox_FindString, METH_VARARGS | METH_KEYWORDS },
11359 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
11360 { "wxListBox_Delete", (PyCFunction) _wrap_wxListBox_Delete, METH_VARARGS | METH_KEYWORDS },
11361 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
11362 { "wxListBox_Append", (PyCFunction) _wrap_wxListBox_Append, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11363 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
11364 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11365 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
11366 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
11367 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11368 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
11369 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
107e4716 11370 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11371 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
11372 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
107e4716 11373 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11374 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
11375 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11376 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
11377 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
11378 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11379 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
11380 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
11381 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
11382 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11383 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
11384 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11385 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
11386 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
107e4716 11387 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
2c8a649d 11388 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11389 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11390 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
11391 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11392 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11393 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11394 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
11395 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
11396 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11397 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
11398 { "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11399 { "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS },
11400 { "wxComboBox_GetSelection", (PyCFunction) _wrap_wxComboBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
11401 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11402 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11403 { "wxComboBox_FindString", (PyCFunction) _wrap_wxComboBox_FindString, METH_VARARGS | METH_KEYWORDS },
11404 { "wxComboBox_Delete", (PyCFunction) _wrap_wxComboBox_Delete, METH_VARARGS | METH_KEYWORDS },
11405 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
11406 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
11407 { "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS },
11408 { "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11409 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
11410 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
107e4716 11411 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
2c8a649d 11412 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11413 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11414 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
11415 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
2c8a649d 11416 { "wxChoice_GetCount", (PyCFunction) _wrap_wxChoice_GetCount, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11417 { "wxChoice_GetStringSelection", (PyCFunction) _wrap_wxChoice_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11418 { "wxChoice_GetString", (PyCFunction) _wrap_wxChoice_GetString, METH_VARARGS | METH_KEYWORDS },
11419 { "wxChoice_GetSelection", (PyCFunction) _wrap_wxChoice_GetSelection, METH_VARARGS | METH_KEYWORDS },
11420 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
11421 { "wxChoice_FindString", (PyCFunction) _wrap_wxChoice_FindString, METH_VARARGS | METH_KEYWORDS },
2c8a649d 11422 { "wxChoice_Delete", (PyCFunction) _wrap_wxChoice_Delete, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11423 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
11424 { "wxChoice_Append", (PyCFunction) _wrap_wxChoice_Append, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11425 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
11426 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11427 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
11428 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11429 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11430 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
11431 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
107e4716 11432 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11433 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
11434 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
11435 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11436 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
11437 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11438 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11439 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11440 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11441 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11442 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11443 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11444 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
11445 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
107e4716 11446 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 11447 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
11448 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11449 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
107e4716 11450 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11451 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
11452 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11453 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
11454 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
11455 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
56f5d962 11456 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11457 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
11458 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
56f5d962 11459 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
70551f47
RD
11460 { NULL, NULL }
11461};
2d091820
RD
11462#ifdef __cplusplus
11463}
11464#endif
11465/*
11466 * This table is used by the pointer type-checker
11467 */
11468static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2d091820 11469 { "_signed_long","_long",0},
4120ef2b 11470 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
11471 { "_wxPrintQuality","_int",0},
11472 { "_wxPrintQuality","_signed_int",0},
11473 { "_wxPrintQuality","_unsigned_int",0},
11474 { "_wxPrintQuality","_wxWindowID",0},
11475 { "_wxPrintQuality","_uint",0},
11476 { "_wxPrintQuality","_EBool",0},
11477 { "_wxPrintQuality","_size_t",0},
c368d904 11478 { "_wxPrintQuality","_time_t",0},
7a446686
RD
11479 { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
11480 { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
f6bcfd97
BP
11481 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
11482 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
2d091820
RD
11483 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
11484 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
11485 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11486 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11487 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11488 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11489 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11490 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11491 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11492 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11493 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11494 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11495 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11496 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11497 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11498 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11499 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler},
11500 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
11501 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11502 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11503 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11504 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11505 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11506 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11507 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler},
11508 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
11509 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11510 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11511 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler},
11512 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
11513 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11514 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11515 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11516 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11517 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler},
11518 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
11519 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler},
11520 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
2d091820 11521 { "_byte","_unsigned_char",0},
2d091820
RD
11522 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice},
11523 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
2d091820
RD
11524 { "_long","_unsigned_long",0},
11525 { "_long","_signed_long",0},
9df61a29
RD
11526 { "_class_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject},
11527 { "_class_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
11528 { "_class_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11529 { "_class_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11530 { "_class_wxObject","_class_wxSlider",SwigwxSliderTowxObject},
11531 { "_class_wxObject","_wxSlider",SwigwxSliderTowxObject},
11532 { "_class_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject},
11533 { "_class_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
11534 { "_class_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject},
11535 { "_class_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
11536 { "_class_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11537 { "_class_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11538 { "_class_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject},
11539 { "_class_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
11540 { "_class_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject},
11541 { "_class_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
11542 { "_class_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject},
11543 { "_class_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
11544 { "_class_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11545 { "_class_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11546 { "_class_wxObject","_class_wxListBox",SwigwxListBoxTowxObject},
11547 { "_class_wxObject","_wxListBox",SwigwxListBoxTowxObject},
11548 { "_class_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject},
11549 { "_class_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
11550 { "_class_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject},
11551 { "_class_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
11552 { "_class_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject},
11553 { "_class_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
11554 { "_class_wxObject","_class_wxGauge",SwigwxGaugeTowxObject},
11555 { "_class_wxObject","_wxGauge",SwigwxGaugeTowxObject},
11556 { "_class_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject},
11557 { "_class_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
11558 { "_class_wxObject","_class_wxChoice",SwigwxChoiceTowxObject},
11559 { "_class_wxObject","_wxChoice",SwigwxChoiceTowxObject},
11560 { "_class_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject},
11561 { "_class_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
11562 { "_class_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11563 { "_class_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11564 { "_class_wxObject","_class_wxButton",SwigwxButtonTowxObject},
11565 { "_class_wxObject","_wxButton",SwigwxButtonTowxObject},
11566 { "_class_wxObject","_class_wxControl",SwigwxControlTowxObject},
11567 { "_class_wxObject","_wxControl",SwigwxControlTowxObject},
4120ef2b 11568 { "_size_t","_wxCoord",0},
2d091820 11569 { "_size_t","_wxPrintQuality",0},
c368d904 11570 { "_size_t","_time_t",0},
2d091820
RD
11571 { "_size_t","_unsigned_int",0},
11572 { "_size_t","_int",0},
11573 { "_size_t","_wxWindowID",0},
11574 { "_size_t","_uint",0},
4120ef2b 11575 { "_uint","_wxCoord",0},
2d091820 11576 { "_uint","_wxPrintQuality",0},
c368d904 11577 { "_uint","_time_t",0},
2d091820
RD
11578 { "_uint","_size_t",0},
11579 { "_uint","_unsigned_int",0},
11580 { "_uint","_int",0},
11581 { "_uint","_wxWindowID",0},
f6bcfd97 11582 { "_wxChar","_char",0},
2d091820
RD
11583 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton},
11584 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
f6bcfd97 11585 { "_char","_wxChar",0},
f6bcfd97
BP
11586 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
11587 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
059a841c 11588 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4120ef2b 11589 { "_EBool","_wxCoord",0},
2d091820
RD
11590 { "_EBool","_wxPrintQuality",0},
11591 { "_EBool","_signed_int",0},
11592 { "_EBool","_int",0},
11593 { "_EBool","_wxWindowID",0},
2d091820 11594 { "_unsigned_long","_long",0},
059a841c 11595 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
f6bcfd97
BP
11596 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
11597 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
4120ef2b 11598 { "_signed_int","_wxCoord",0},
2d091820
RD
11599 { "_signed_int","_wxPrintQuality",0},
11600 { "_signed_int","_EBool",0},
11601 { "_signed_int","_wxWindowID",0},
11602 { "_signed_int","_int",0},
2d091820
RD
11603 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
11604 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
2d091820
RD
11605 { "_WXTYPE","_short",0},
11606 { "_WXTYPE","_signed_short",0},
11607 { "_WXTYPE","_unsigned_short",0},
2d091820
RD
11608 { "_unsigned_short","_WXTYPE",0},
11609 { "_unsigned_short","_short",0},
7a446686
RD
11610 { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow},
11611 { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
f6bcfd97
BP
11612 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
11613 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
2d091820
RD
11614 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
11615 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
11616 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow},
11617 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
11618 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow},
11619 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
11620 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11621 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11622 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow},
11623 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
11624 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow},
11625 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
11626 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11627 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11628 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11629 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11630 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow},
11631 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
11632 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow},
11633 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
11634 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow},
11635 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
11636 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow},
11637 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
11638 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow},
11639 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
11640 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow},
11641 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
11642 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow},
11643 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
11644 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow},
11645 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
11646 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11647 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11648 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow},
11649 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow},
11650 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow},
11651 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow},
9df61a29
RD
11652 { "_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject},
11653 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
11654 { "_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11655 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11656 { "_wxObject","_class_wxSlider",SwigwxSliderTowxObject},
11657 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
11658 { "_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject},
11659 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
11660 { "_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject},
11661 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
11662 { "_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11663 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11664 { "_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject},
11665 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
11666 { "_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject},
11667 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
11668 { "_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject},
11669 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
11670 { "_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11671 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11672 { "_wxObject","_class_wxListBox",SwigwxListBoxTowxObject},
11673 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
11674 { "_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject},
11675 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
11676 { "_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject},
11677 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
11678 { "_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject},
11679 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
11680 { "_wxObject","_class_wxGauge",SwigwxGaugeTowxObject},
11681 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
11682 { "_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject},
11683 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
11684 { "_wxObject","_class_wxChoice",SwigwxChoiceTowxObject},
11685 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
11686 { "_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject},
11687 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
11688 { "_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11689 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11690 { "_wxObject","_class_wxButton",SwigwxButtonTowxObject},
11691 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
11692 { "_wxObject","_class_wxControl",SwigwxControlTowxObject},
11693 { "_wxObject","_wxControl",SwigwxControlTowxObject},
2d091820
RD
11694 { "_signed_short","_WXTYPE",0},
11695 { "_signed_short","_short",0},
2d091820 11696 { "_unsigned_char","_byte",0},
7a446686
RD
11697 { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl},
11698 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
f6bcfd97
BP
11699 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
11700 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
2d091820
RD
11701 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
11702 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
11703 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl},
11704 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
11705 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl},
11706 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
11707 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11708 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11709 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl},
11710 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
11711 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl},
11712 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
11713 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl},
11714 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
11715 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11716 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11717 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl},
11718 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
11719 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl},
11720 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
11721 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl},
11722 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
11723 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl},
11724 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
11725 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl},
11726 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
11727 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl},
11728 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
11729 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl},
11730 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
11731 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl},
11732 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
11733 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11734 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11735 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl},
11736 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
2d091820
RD
11737 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
11738 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
4120ef2b 11739 { "_unsigned_int","_wxCoord",0},
2d091820 11740 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11741 { "_unsigned_int","_time_t",0},
2d091820
RD
11742 { "_unsigned_int","_size_t",0},
11743 { "_unsigned_int","_uint",0},
11744 { "_unsigned_int","_wxWindowID",0},
11745 { "_unsigned_int","_int",0},
2d091820
RD
11746 { "_short","_WXTYPE",0},
11747 { "_short","_unsigned_short",0},
11748 { "_short","_signed_short",0},
2d091820
RD
11749 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice},
11750 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
4120ef2b 11751 { "_wxWindowID","_wxCoord",0},
2d091820 11752 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11753 { "_wxWindowID","_time_t",0},
2d091820
RD
11754 { "_wxWindowID","_size_t",0},
11755 { "_wxWindowID","_EBool",0},
11756 { "_wxWindowID","_uint",0},
11757 { "_wxWindowID","_int",0},
11758 { "_wxWindowID","_signed_int",0},
11759 { "_wxWindowID","_unsigned_int",0},
4120ef2b 11760 { "_int","_wxCoord",0},
2d091820 11761 { "_int","_wxPrintQuality",0},
c368d904 11762 { "_int","_time_t",0},
2d091820
RD
11763 { "_int","_size_t",0},
11764 { "_int","_EBool",0},
11765 { "_int","_uint",0},
11766 { "_int","_wxWindowID",0},
11767 { "_int","_unsigned_int",0},
11768 { "_int","_signed_int",0},
c368d904
RD
11769 { "_time_t","_wxCoord",0},
11770 { "_time_t","_wxPrintQuality",0},
11771 { "_time_t","_unsigned_int",0},
11772 { "_time_t","_int",0},
11773 { "_time_t","_wxWindowID",0},
11774 { "_time_t","_uint",0},
11775 { "_time_t","_size_t",0},
2d091820
RD
11776 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton},
11777 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
7a446686
RD
11778 { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl},
11779 { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
f6bcfd97
BP
11780 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
11781 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
2d091820
RD
11782 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
11783 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl},
11784 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl},
11785 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
11786 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl},
11787 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
11788 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11789 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11790 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl},
11791 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
11792 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl},
11793 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
11794 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl},
11795 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
11796 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11797 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11798 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl},
11799 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl},
11800 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl},
11801 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
11802 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl},
11803 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
11804 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl},
11805 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
11806 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl},
11807 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl},
11808 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl},
11809 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
11810 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl},
11811 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl},
11812 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl},
11813 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
11814 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11815 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11816 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl},
11817 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl},
4120ef2b
RD
11818 { "_wxCoord","_int",0},
11819 { "_wxCoord","_signed_int",0},
11820 { "_wxCoord","_unsigned_int",0},
11821 { "_wxCoord","_wxWindowID",0},
11822 { "_wxCoord","_uint",0},
11823 { "_wxCoord","_EBool",0},
11824 { "_wxCoord","_size_t",0},
c368d904 11825 { "_wxCoord","_time_t",0},
4120ef2b 11826 { "_wxCoord","_wxPrintQuality",0},
7a446686
RD
11827 { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
11828 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
f6bcfd97
BP
11829 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
11830 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
2d091820
RD
11831 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
11832 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
11833 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11834 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11835 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11836 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11837 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11838 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11839 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11840 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11841 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11842 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11843 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11844 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11845 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11846 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11847 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler},
11848 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
11849 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11850 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11851 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11852 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11853 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11854 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11855 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler},
11856 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
11857 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11858 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11859 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler},
11860 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
11861 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11862 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11863 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11864 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11865 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler},
11866 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
11867 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler},
11868 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
7a446686
RD
11869 { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow},
11870 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
f6bcfd97
BP
11871 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
11872 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
2d091820
RD
11873 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
11874 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
11875 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow},
11876 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
11877 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow},
11878 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
11879 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11880 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11881 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow},
11882 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
11883 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow},
11884 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
11885 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11886 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11887 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11888 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11889 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow},
11890 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
11891 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow},
11892 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
11893 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow},
11894 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
11895 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow},
11896 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
11897 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow},
11898 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
11899 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow},
11900 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
11901 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow},
11902 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
11903 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow},
11904 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
11905 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11906 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11907 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow},
11908 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
11909 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow},
11910 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
2d091820
RD
11911{0,0,0}};
11912
70551f47
RD
11913static PyObject *SWIG_globals;
11914#ifdef __cplusplus
11915extern "C"
11916#endif
2d091820 11917SWIGEXPORT(void) initcontrolsc() {
70551f47
RD
11918 PyObject *m, *d;
11919 SWIG_globals = SWIG_newvarlink();
11920 m = Py_InitModule("controlsc", controlscMethods);
11921 d = PyModule_GetDict(m);
37f6a977
RD
11922 PyDict_SetItemString(d,"cvar", SWIG_globals);
11923 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
7a446686 11924 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
2d091820
RD
11925{
11926 int i;
11927 for (i = 0; _swig_mapping[i].n1; i++)
11928 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11929}
70551f47 11930}