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