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