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