]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls.cpp
SWIGged files updates for wxMac
[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
77
78static PyObject* t_output_helper(PyObject* target, PyObject* o) {
79 PyObject* o2;
80 PyObject* o3;
81
e0672e2f 82 if (!target) {
8ab979d7 83 target = o;
e0672e2f 84 } else if (target == Py_None) {
8ab979d7
RD
85 Py_DECREF(Py_None);
86 target = o;
e0672e2f 87 } else {
8ab979d7
RD
88 if (!PyTuple_Check(target)) {
89 o2 = target;
90 target = PyTuple_New(1);
91 PyTuple_SetItem(target, 0, o2);
92 }
e0672e2f
RD
93 o3 = PyTuple_New(1);
94 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
95
96 o2 = target;
e0672e2f
RD
97 target = PySequence_Concat(o2, o3);
98 Py_DECREF(o2);
8ab979d7
RD
99 Py_DECREF(o3);
100 }
101 return target;
102}
103
794c5cb1
RD
104#if PYTHON_API_VERSION >= 1009
105 static char* wxStringErrorMsg = "String or Unicode type required";
106#else
0122b7e3 107 static char* wxStringErrorMsg = "String type required";
794c5cb1 108#endif
1d99702e
RD
109#ifdef __cplusplus
110extern "C" {
111#endif
2f90df85
RD
112static int _wrap_wxDefaultValidator_set(PyObject *val) {
113
114 PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only.");
115 return 1;
116}
117
118static PyObject *_wrap_wxDefaultValidator_get() {
119 PyObject * pyobj;
120 char ptemp[128];
121
122 SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p");
123 pyobj = PyString_FromString(ptemp);
124 return pyobj;
125}
126
8ab979d7
RD
127static void *SwigwxControlTowxWindow(void *ptr) {
128 wxControl *src;
129 wxWindow *dest;
130 src = (wxControl *) ptr;
131 dest = (wxWindow *) src;
132 return (void *) dest;
133}
134
135static void *SwigwxControlTowxEvtHandler(void *ptr) {
136 wxControl *src;
137 wxEvtHandler *dest;
138 src = (wxControl *) ptr;
139 dest = (wxEvtHandler *) src;
140 return (void *) dest;
141}
142
9416aa89
RD
143static void *SwigwxControlTowxObject(void *ptr) {
144 wxControl *src;
145 wxObject *dest;
146 src = (wxControl *) ptr;
147 dest = (wxObject *) src;
148 return (void *) dest;
149}
150
9b3d3bc4 151#define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6999b0d8
RD
152static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
153 PyObject * _resultobj;
154 wxControl * _result;
9b3d3bc4
RD
155 wxWindow * _arg0;
156 wxWindowID _arg1;
e508a2b6
RD
157 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
158 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
9b3d3bc4 159 long _arg4 = (long ) 0;
e508a2b6 160 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9b3d3bc4
RD
161 char * _arg6 = (char *) "control";
162 PyObject * _argo0 = 0;
163 wxPoint temp;
164 PyObject * _obj2 = 0;
165 wxSize temp0;
166 PyObject * _obj3 = 0;
167 PyObject * _argo5 = 0;
168 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
6999b0d8
RD
169 char _ptemp[128];
170
171 self = self;
9b3d3bc4
RD
172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
173 return NULL;
174 if (_argo0) {
175 if (_argo0 == Py_None) { _arg0 = NULL; }
176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
178 return NULL;
179 }
180 }
181 if (_obj2)
182{
183 _arg2 = &temp;
184 if (! wxPoint_helper(_obj2, &_arg2))
6999b0d8 185 return NULL;
9b3d3bc4
RD
186}
187 if (_obj3)
188{
189 _arg3 = &temp0;
190 if (! wxSize_helper(_obj3, &_arg3))
191 return NULL;
192}
193 if (_argo5) {
194 if (_argo5 == Py_None) { _arg5 = NULL; }
195 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
196 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
197 return NULL;
198 }
199 }
6999b0d8
RD
200{
201 wxPy_BEGIN_ALLOW_THREADS;
9b3d3bc4 202 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
6999b0d8
RD
203
204 wxPy_END_ALLOW_THREADS;
493f1553 205 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
206} if (_result) {
207 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
208 _resultobj = Py_BuildValue("s",_ptemp);
209 } else {
210 Py_INCREF(Py_None);
211 _resultobj = Py_None;
212 }
213 return _resultobj;
214}
215
09f3d4e6
RD
216#define new_wxPreControl() (new wxControl())
217static PyObject *_wrap_new_wxPreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
218 PyObject * _resultobj;
219 wxControl * _result;
220 char *_kwnames[] = { NULL };
221 char _ptemp[128];
222
223 self = self;
224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreControl",_kwnames))
225 return NULL;
226{
227 wxPy_BEGIN_ALLOW_THREADS;
228 _result = (wxControl *)new_wxPreControl();
229
230 wxPy_END_ALLOW_THREADS;
231 if (PyErr_Occurred()) return NULL;
232} if (_result) {
233 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
234 _resultobj = Py_BuildValue("s",_ptemp);
235 } else {
236 Py_INCREF(Py_None);
237 _resultobj = Py_None;
238 }
239 return _resultobj;
240}
241
242#define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
243static PyObject *_wrap_wxControl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
244 PyObject * _resultobj;
245 bool _result;
246 wxControl * _arg0;
247 wxWindow * _arg1;
248 wxWindowID _arg2;
249 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
250 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
251 long _arg5 = (long ) 0;
252 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
253 char * _arg7 = (char *) "control";
254 PyObject * _argo0 = 0;
255 PyObject * _argo1 = 0;
256 wxPoint temp;
257 PyObject * _obj3 = 0;
258 wxSize temp0;
259 PyObject * _obj4 = 0;
260 PyObject * _argo6 = 0;
261 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
262
263 self = self;
264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOs:wxControl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
265 return NULL;
266 if (_argo0) {
267 if (_argo0 == Py_None) { _arg0 = NULL; }
268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
270 return NULL;
271 }
272 }
273 if (_argo1) {
274 if (_argo1 == Py_None) { _arg1 = NULL; }
275 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
276 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
277 return NULL;
278 }
279 }
280 if (_obj3)
281{
282 _arg3 = &temp;
283 if (! wxPoint_helper(_obj3, &_arg3))
284 return NULL;
285}
286 if (_obj4)
287{
288 _arg4 = &temp0;
289 if (! wxSize_helper(_obj4, &_arg4))
290 return NULL;
291}
292 if (_argo6) {
293 if (_argo6 == Py_None) { _arg6 = NULL; }
294 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
295 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
296 return NULL;
297 }
298 }
299{
300 wxPy_BEGIN_ALLOW_THREADS;
301 _result = (bool )wxControl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
302
303 wxPy_END_ALLOW_THREADS;
304 if (PyErr_Occurred()) return NULL;
305} _resultobj = Py_BuildValue("i",_result);
306 return _resultobj;
307}
308
8ab979d7 309#define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
efc5f224 310static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
311 PyObject * _resultobj;
312 wxControl * _arg0;
313 wxCommandEvent * _arg1;
1d99702e
RD
314 PyObject * _argo0 = 0;
315 PyObject * _argo1 = 0;
efc5f224 316 char *_kwnames[] = { "self","event", NULL };
8ab979d7
RD
317
318 self = self;
efc5f224 319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1))
8ab979d7 320 return NULL;
1d99702e
RD
321 if (_argo0) {
322 if (_argo0 == Py_None) { _arg0 = NULL; }
323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
8ab979d7
RD
324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
325 return NULL;
326 }
327 }
1d99702e
RD
328 if (_argo1) {
329 if (_argo1 == Py_None) { _arg1 = NULL; }
330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
8ab979d7
RD
331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
332 return NULL;
333 }
334 }
cf694132
RD
335{
336 wxPy_BEGIN_ALLOW_THREADS;
337 wxControl_Command(_arg0,*_arg1);
338
339 wxPy_END_ALLOW_THREADS;
493f1553 340 if (PyErr_Occurred()) return NULL;
cf694132 341} Py_INCREF(Py_None);
8ab979d7
RD
342 _resultobj = Py_None;
343 return _resultobj;
344}
345
346#define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 347static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
348 PyObject * _resultobj;
349 wxString * _result;
350 wxControl * _arg0;
1d99702e 351 PyObject * _argo0 = 0;
efc5f224 352 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
353
354 self = self;
efc5f224 355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
8ab979d7 356 return NULL;
1d99702e
RD
357 if (_argo0) {
358 if (_argo0 == Py_None) { _arg0 = NULL; }
359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
8ab979d7
RD
360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
361 return NULL;
362 }
363 }
8ab979d7 364{
cf694132
RD
365 wxPy_BEGIN_ALLOW_THREADS;
366 _result = new wxString (wxControl_GetLabel(_arg0));
367
368 wxPy_END_ALLOW_THREADS;
493f1553 369 if (PyErr_Occurred()) return NULL;
cf694132 370}{
eec92d76 371 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
372}
373{
374 delete _result;
375}
376 return _resultobj;
377}
378
379#define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 380static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
381 PyObject * _resultobj;
382 wxControl * _arg0;
383 wxString * _arg1;
1d99702e 384 PyObject * _argo0 = 0;
8ab979d7 385 PyObject * _obj1 = 0;
efc5f224 386 char *_kwnames[] = { "self","label", NULL };
8ab979d7
RD
387
388 self = self;
efc5f224 389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
8ab979d7 390 return NULL;
1d99702e
RD
391 if (_argo0) {
392 if (_argo0 == Py_None) { _arg0 = NULL; }
393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
8ab979d7
RD
394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
395 return NULL;
396 }
397 }
398{
185d7c3e
RD
399#if PYTHON_API_VERSION >= 1009
400 char* tmpPtr; int tmpSize;
401 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 402 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
403 return NULL;
404 }
405 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
406 return NULL;
407 _arg1 = new wxString(tmpPtr, tmpSize);
408#else
8ab979d7
RD
409 if (!PyString_Check(_obj1)) {
410 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
411 return NULL;
412 }
185d7c3e
RD
413 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
414#endif
8ab979d7 415}
cf694132
RD
416{
417 wxPy_BEGIN_ALLOW_THREADS;
418 wxControl_SetLabel(_arg0,*_arg1);
419
420 wxPy_END_ALLOW_THREADS;
493f1553 421 if (PyErr_Occurred()) return NULL;
cf694132 422} Py_INCREF(Py_None);
8ab979d7
RD
423 _resultobj = Py_None;
424{
425 if (_obj1)
426 delete _arg1;
427}
428 return _resultobj;
429}
430
900d9886
RD
431static void *SwigwxControlWithItemsTowxControl(void *ptr) {
432 wxControlWithItems *src;
433 wxControl *dest;
434 src = (wxControlWithItems *) ptr;
435 dest = (wxControl *) src;
436 return (void *) dest;
437}
438
439static void *SwigwxControlWithItemsTowxWindow(void *ptr) {
440 wxControlWithItems *src;
441 wxWindow *dest;
442 src = (wxControlWithItems *) ptr;
443 dest = (wxWindow *) src;
444 return (void *) dest;
445}
446
447static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr) {
448 wxControlWithItems *src;
449 wxEvtHandler *dest;
450 src = (wxControlWithItems *) ptr;
451 dest = (wxEvtHandler *) src;
452 return (void *) dest;
453}
454
455static void *SwigwxControlWithItemsTowxObject(void *ptr) {
456 wxControlWithItems *src;
457 wxObject *dest;
458 src = (wxControlWithItems *) ptr;
459 dest = (wxObject *) src;
460 return (void *) dest;
461}
462
463#define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
464static PyObject *_wrap_wxControlWithItems_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
465 PyObject * _resultobj;
466 wxControlWithItems * _arg0;
467 int _arg1;
468 PyObject * _argo0 = 0;
469 char *_kwnames[] = { "self","n", NULL };
470
471 self = self;
472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Delete",_kwnames,&_argo0,&_arg1))
473 return NULL;
474 if (_argo0) {
475 if (_argo0 == Py_None) { _arg0 = NULL; }
476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
478 return NULL;
479 }
480 }
481{
482 wxPy_BEGIN_ALLOW_THREADS;
483 wxControlWithItems_Delete(_arg0,_arg1);
484
485 wxPy_END_ALLOW_THREADS;
486 if (PyErr_Occurred()) return NULL;
487} Py_INCREF(Py_None);
488 _resultobj = Py_None;
489 return _resultobj;
490}
491
492#define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
493static PyObject *_wrap_wxControlWithItems_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
494 PyObject * _resultobj;
495 int _result;
496 wxControlWithItems * _arg0;
497 PyObject * _argo0 = 0;
498 char *_kwnames[] = { "self", NULL };
499
500 self = self;
501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetCount",_kwnames,&_argo0))
502 return NULL;
503 if (_argo0) {
504 if (_argo0 == Py_None) { _arg0 = NULL; }
505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
507 return NULL;
508 }
509 }
510{
511 wxPy_BEGIN_ALLOW_THREADS;
512 _result = (int )wxControlWithItems_GetCount(_arg0);
513
514 wxPy_END_ALLOW_THREADS;
515 if (PyErr_Occurred()) return NULL;
516} _resultobj = Py_BuildValue("i",_result);
517 return _resultobj;
518}
519
520#define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
521static PyObject *_wrap_wxControlWithItems_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
522 PyObject * _resultobj;
523 wxString * _result;
524 wxControlWithItems * _arg0;
525 int _arg1;
526 PyObject * _argo0 = 0;
527 char *_kwnames[] = { "self","n", NULL };
528
529 self = self;
530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetString",_kwnames,&_argo0,&_arg1))
531 return NULL;
532 if (_argo0) {
533 if (_argo0 == Py_None) { _arg0 = NULL; }
534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
536 return NULL;
537 }
538 }
539{
540 wxPy_BEGIN_ALLOW_THREADS;
541 _result = new wxString (wxControlWithItems_GetString(_arg0,_arg1));
542
543 wxPy_END_ALLOW_THREADS;
544 if (PyErr_Occurred()) return NULL;
545}{
546 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
547}
548{
549 delete _result;
550}
551 return _resultobj;
552}
553
554#define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
555static PyObject *_wrap_wxControlWithItems_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
556 PyObject * _resultobj;
557 wxControlWithItems * _arg0;
558 int _arg1;
559 wxString * _arg2;
560 PyObject * _argo0 = 0;
561 PyObject * _obj2 = 0;
562 char *_kwnames[] = { "self","n","s", NULL };
563
564 self = self;
565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
566 return NULL;
567 if (_argo0) {
568 if (_argo0 == Py_None) { _arg0 = NULL; }
569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
571 return NULL;
572 }
573 }
574{
575#if PYTHON_API_VERSION >= 1009
576 char* tmpPtr; int tmpSize;
577 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
578 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
579 return NULL;
580 }
581 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
582 return NULL;
583 _arg2 = new wxString(tmpPtr, tmpSize);
584#else
585 if (!PyString_Check(_obj2)) {
586 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
587 return NULL;
588 }
589 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
590#endif
591}
592{
593 wxPy_BEGIN_ALLOW_THREADS;
594 wxControlWithItems_SetString(_arg0,_arg1,*_arg2);
595
596 wxPy_END_ALLOW_THREADS;
597 if (PyErr_Occurred()) return NULL;
598} Py_INCREF(Py_None);
599 _resultobj = Py_None;
600{
601 if (_obj2)
602 delete _arg2;
603}
604 return _resultobj;
605}
606
607#define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
608static PyObject *_wrap_wxControlWithItems_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
609 PyObject * _resultobj;
610 int _result;
611 wxControlWithItems * _arg0;
612 wxString * _arg1;
613 PyObject * _argo0 = 0;
614 PyObject * _obj1 = 0;
615 char *_kwnames[] = { "self","s", NULL };
616
617 self = self;
618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_FindString",_kwnames,&_argo0,&_obj1))
619 return NULL;
620 if (_argo0) {
621 if (_argo0 == Py_None) { _arg0 = NULL; }
622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
624 return NULL;
625 }
626 }
627{
628#if PYTHON_API_VERSION >= 1009
629 char* tmpPtr; int tmpSize;
630 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
631 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
632 return NULL;
633 }
634 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
635 return NULL;
636 _arg1 = new wxString(tmpPtr, tmpSize);
637#else
638 if (!PyString_Check(_obj1)) {
639 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
640 return NULL;
641 }
642 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
643#endif
644}
645{
646 wxPy_BEGIN_ALLOW_THREADS;
647 _result = (int )wxControlWithItems_FindString(_arg0,*_arg1);
648
649 wxPy_END_ALLOW_THREADS;
650 if (PyErr_Occurred()) return NULL;
651} _resultobj = Py_BuildValue("i",_result);
652{
653 if (_obj1)
654 delete _arg1;
655}
656 return _resultobj;
657}
658
659#define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
660static PyObject *_wrap_wxControlWithItems_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
661 PyObject * _resultobj;
662 wxControlWithItems * _arg0;
663 int _arg1;
664 PyObject * _argo0 = 0;
665 char *_kwnames[] = { "self","n", NULL };
666
667 self = self;
668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Select",_kwnames,&_argo0,&_arg1))
669 return NULL;
670 if (_argo0) {
671 if (_argo0 == Py_None) { _arg0 = NULL; }
672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
674 return NULL;
675 }
676 }
677{
678 wxPy_BEGIN_ALLOW_THREADS;
679 wxControlWithItems_Select(_arg0,_arg1);
680
681 wxPy_END_ALLOW_THREADS;
682 if (PyErr_Occurred()) return NULL;
683} Py_INCREF(Py_None);
684 _resultobj = Py_None;
685 return _resultobj;
686}
687
688#define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
689static PyObject *_wrap_wxControlWithItems_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
690 PyObject * _resultobj;
691 int _result;
692 wxControlWithItems * _arg0;
693 PyObject * _argo0 = 0;
694 char *_kwnames[] = { "self", NULL };
695
696 self = self;
697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetSelection",_kwnames,&_argo0))
698 return NULL;
699 if (_argo0) {
700 if (_argo0 == Py_None) { _arg0 = NULL; }
701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
703 return NULL;
704 }
705 }
706{
707 wxPy_BEGIN_ALLOW_THREADS;
708 _result = (int )wxControlWithItems_GetSelection(_arg0);
709
710 wxPy_END_ALLOW_THREADS;
711 if (PyErr_Occurred()) return NULL;
712} _resultobj = Py_BuildValue("i",_result);
713 return _resultobj;
714}
715
716#define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
717static PyObject *_wrap_wxControlWithItems_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
718 PyObject * _resultobj;
719 wxString * _result;
720 wxControlWithItems * _arg0;
721 PyObject * _argo0 = 0;
722 char *_kwnames[] = { "self", NULL };
723
724 self = self;
725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetStringSelection",_kwnames,&_argo0))
726 return NULL;
727 if (_argo0) {
728 if (_argo0 == Py_None) { _arg0 = NULL; }
729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
731 return NULL;
732 }
733 }
734{
735 wxPy_BEGIN_ALLOW_THREADS;
736 _result = new wxString (wxControlWithItems_GetStringSelection(_arg0));
737
738 wxPy_END_ALLOW_THREADS;
739 if (PyErr_Occurred()) return NULL;
740}{
741 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
742}
743{
744 delete _result;
745}
746 return _resultobj;
747}
748
749static void wxControlWithItems_Append(wxControlWithItems *self,const wxString & item,PyObject * clientData) {
750 if (clientData) {
751 wxPyClientData* data = new wxPyClientData(clientData);
752 self->Append(item, data);
753 } else
754 self->Append(item);
755 }
756static PyObject *_wrap_wxControlWithItems_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
757 PyObject * _resultobj;
758 wxControlWithItems * _arg0;
759 wxString * _arg1;
760 PyObject * _arg2 = (PyObject *) NULL;
761 PyObject * _argo0 = 0;
762 PyObject * _obj1 = 0;
763 PyObject * _obj2 = 0;
764 char *_kwnames[] = { "self","item","clientData", NULL };
765
766 self = self;
767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxControlWithItems_Append",_kwnames,&_argo0,&_obj1,&_obj2))
768 return NULL;
769 if (_argo0) {
770 if (_argo0 == Py_None) { _arg0 = NULL; }
771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
773 return NULL;
774 }
775 }
776{
777#if PYTHON_API_VERSION >= 1009
778 char* tmpPtr; int tmpSize;
779 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
780 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
781 return NULL;
782 }
783 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
784 return NULL;
785 _arg1 = new wxString(tmpPtr, tmpSize);
786#else
787 if (!PyString_Check(_obj1)) {
788 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
789 return NULL;
790 }
791 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
792#endif
793}
794 if (_obj2)
795{
796 _arg2 = _obj2;
797}
798{
799 wxPy_BEGIN_ALLOW_THREADS;
800 wxControlWithItems_Append(_arg0,*_arg1,_arg2);
801
802 wxPy_END_ALLOW_THREADS;
803 if (PyErr_Occurred()) return NULL;
804} Py_INCREF(Py_None);
805 _resultobj = Py_None;
806{
807 if (_obj1)
808 delete _arg1;
809}
810 return _resultobj;
811}
812
813static PyObject * wxControlWithItems_GetClientData(wxControlWithItems *self,int n) {
814 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
815 if (data) {
816 Py_INCREF(data->m_obj);
817 return data->m_obj;
818 } else {
819 Py_INCREF(Py_None);
820 return Py_None;
821 }
822 }
823static PyObject *_wrap_wxControlWithItems_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
824 PyObject * _resultobj;
825 PyObject * _result;
826 wxControlWithItems * _arg0;
827 int _arg1;
828 PyObject * _argo0 = 0;
829 char *_kwnames[] = { "self","n", NULL };
830
831 self = self;
832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetClientData",_kwnames,&_argo0,&_arg1))
833 return NULL;
834 if (_argo0) {
835 if (_argo0 == Py_None) { _arg0 = NULL; }
836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
838 return NULL;
839 }
840 }
841{
842 wxPy_BEGIN_ALLOW_THREADS;
843 _result = (PyObject *)wxControlWithItems_GetClientData(_arg0,_arg1);
844
845 wxPy_END_ALLOW_THREADS;
846 if (PyErr_Occurred()) return NULL;
847}{
848 _resultobj = _result;
849}
850 return _resultobj;
851}
852
853static void wxControlWithItems_SetClientData(wxControlWithItems *self,int n,PyObject * clientData) {
854 wxPyClientData* data = new wxPyClientData(clientData);
855 self->SetClientObject(n, data);
856 }
857static PyObject *_wrap_wxControlWithItems_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
858 PyObject * _resultobj;
859 wxControlWithItems * _arg0;
860 int _arg1;
861 PyObject * _arg2;
862 PyObject * _argo0 = 0;
863 PyObject * _obj2 = 0;
864 char *_kwnames[] = { "self","n","clientData", NULL };
865
866 self = self;
867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
868 return NULL;
869 if (_argo0) {
870 if (_argo0 == Py_None) { _arg0 = NULL; }
871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
873 return NULL;
874 }
875 }
876{
877 _arg2 = _obj2;
878}
879{
880 wxPy_BEGIN_ALLOW_THREADS;
881 wxControlWithItems_SetClientData(_arg0,_arg1,_arg2);
882
883 wxPy_END_ALLOW_THREADS;
884 if (PyErr_Occurred()) return NULL;
885} Py_INCREF(Py_None);
886 _resultobj = Py_None;
887 return _resultobj;
888}
889
8ab979d7
RD
890static void *SwigwxButtonTowxControl(void *ptr) {
891 wxButton *src;
892 wxControl *dest;
893 src = (wxButton *) ptr;
894 dest = (wxControl *) src;
895 return (void *) dest;
896}
897
898static void *SwigwxButtonTowxWindow(void *ptr) {
899 wxButton *src;
900 wxWindow *dest;
901 src = (wxButton *) ptr;
902 dest = (wxWindow *) src;
903 return (void *) dest;
904}
905
906static void *SwigwxButtonTowxEvtHandler(void *ptr) {
907 wxButton *src;
908 wxEvtHandler *dest;
909 src = (wxButton *) ptr;
910 dest = (wxEvtHandler *) src;
911 return (void *) dest;
912}
913
9416aa89
RD
914static void *SwigwxButtonTowxObject(void *ptr) {
915 wxButton *src;
916 wxObject *dest;
917 src = (wxButton *) ptr;
918 dest = (wxObject *) src;
919 return (void *) dest;
920}
921
8ab979d7 922#define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 923static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
924 PyObject * _resultobj;
925 wxButton * _result;
926 wxWindow * _arg0;
927 wxWindowID _arg1;
928 wxString * _arg2;
e508a2b6
RD
929 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
930 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 931 long _arg5 = (long ) 0;
e508a2b6 932 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
933 char * _arg7 = (char *) "button";
934 PyObject * _argo0 = 0;
8ab979d7 935 PyObject * _obj2 = 0;
2f90df85
RD
936 wxPoint temp;
937 PyObject * _obj3 = 0;
938 wxSize temp0;
939 PyObject * _obj4 = 0;
1d99702e 940 PyObject * _argo6 = 0;
efc5f224 941 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
8ab979d7
RD
942 char _ptemp[128];
943
944 self = self;
2f90df85 945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
8ab979d7 946 return NULL;
1d99702e
RD
947 if (_argo0) {
948 if (_argo0 == Py_None) { _arg0 = NULL; }
949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
951 return NULL;
952 }
953 }
954{
185d7c3e
RD
955#if PYTHON_API_VERSION >= 1009
956 char* tmpPtr; int tmpSize;
957 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 958 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
959 return NULL;
960 }
961 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
962 return NULL;
963 _arg2 = new wxString(tmpPtr, tmpSize);
964#else
8ab979d7
RD
965 if (!PyString_Check(_obj2)) {
966 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
967 return NULL;
968 }
185d7c3e
RD
969 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
970#endif
8ab979d7 971}
2f90df85
RD
972 if (_obj3)
973{
974 _arg3 = &temp;
975 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 976 return NULL;
2f90df85
RD
977}
978 if (_obj4)
979{
980 _arg4 = &temp0;
981 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 982 return NULL;
2f90df85 983}
1d99702e
RD
984 if (_argo6) {
985 if (_argo6 == Py_None) { _arg6 = NULL; }
986 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
987 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
988 return NULL;
989 }
990 }
cf694132
RD
991{
992 wxPy_BEGIN_ALLOW_THREADS;
993 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
994
995 wxPy_END_ALLOW_THREADS;
493f1553 996 if (PyErr_Occurred()) return NULL;
1d99702e
RD
997} if (_result) {
998 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
999 _resultobj = Py_BuildValue("s",_ptemp);
1000 } else {
1001 Py_INCREF(Py_None);
1002 _resultobj = Py_None;
1003 }
8ab979d7
RD
1004{
1005 if (_obj2)
1006 delete _arg2;
1007}
1008 return _resultobj;
1009}
1010
09f3d4e6
RD
1011#define new_wxPreButton() (new wxButton())
1012static PyObject *_wrap_new_wxPreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1013 PyObject * _resultobj;
1014 wxButton * _result;
1015 char *_kwnames[] = { NULL };
1016 char _ptemp[128];
1017
1018 self = self;
1019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreButton",_kwnames))
1020 return NULL;
1021{
1022 wxPy_BEGIN_ALLOW_THREADS;
1023 _result = (wxButton *)new_wxPreButton();
1024
1025 wxPy_END_ALLOW_THREADS;
1026 if (PyErr_Occurred()) return NULL;
1027} if (_result) {
1028 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1029 _resultobj = Py_BuildValue("s",_ptemp);
1030 } else {
1031 Py_INCREF(Py_None);
1032 _resultobj = Py_None;
1033 }
1034 return _resultobj;
1035}
1036
1037#define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1038static PyObject *_wrap_wxButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1039 PyObject * _resultobj;
1040 bool _result;
1041 wxButton * _arg0;
1042 wxWindow * _arg1;
1043 wxWindowID _arg2;
1044 wxString * _arg3;
1045 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1046 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1047 long _arg6 = (long ) 0;
1048 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1049 char * _arg8 = (char *) "button";
1050 PyObject * _argo0 = 0;
1051 PyObject * _argo1 = 0;
1052 PyObject * _obj3 = 0;
1053 wxPoint temp;
1054 PyObject * _obj4 = 0;
1055 wxSize temp0;
1056 PyObject * _obj5 = 0;
1057 PyObject * _argo7 = 0;
1058 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
1059
1060 self = self;
1061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
1062 return NULL;
1063 if (_argo0) {
1064 if (_argo0 == Py_None) { _arg0 = NULL; }
1065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1067 return NULL;
1068 }
1069 }
1070 if (_argo1) {
1071 if (_argo1 == Py_None) { _arg1 = NULL; }
1072 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1073 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1074 return NULL;
1075 }
1076 }
1077{
1078#if PYTHON_API_VERSION >= 1009
1079 char* tmpPtr; int tmpSize;
1080 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
1081 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1082 return NULL;
1083 }
1084 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
1085 return NULL;
1086 _arg3 = new wxString(tmpPtr, tmpSize);
1087#else
1088 if (!PyString_Check(_obj3)) {
1089 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1090 return NULL;
1091 }
1092 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
1093#endif
1094}
1095 if (_obj4)
1096{
1097 _arg4 = &temp;
1098 if (! wxPoint_helper(_obj4, &_arg4))
1099 return NULL;
1100}
1101 if (_obj5)
1102{
1103 _arg5 = &temp0;
1104 if (! wxSize_helper(_obj5, &_arg5))
1105 return NULL;
1106}
1107 if (_argo7) {
1108 if (_argo7 == Py_None) { _arg7 = NULL; }
1109 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1110 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1111 return NULL;
1112 }
1113 }
1114{
1115 wxPy_BEGIN_ALLOW_THREADS;
1116 _result = (bool )wxButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
1117
1118 wxPy_END_ALLOW_THREADS;
1119 if (PyErr_Occurred()) return NULL;
1120} _resultobj = Py_BuildValue("i",_result);
1121{
1122 if (_obj3)
1123 delete _arg3;
1124}
1125 return _resultobj;
1126}
1127
8ab979d7 1128#define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
efc5f224 1129static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1130 PyObject * _resultobj;
1131 wxButton * _arg0;
1d99702e 1132 PyObject * _argo0 = 0;
efc5f224 1133 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1134
1135 self = self;
efc5f224 1136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
8ab979d7 1137 return NULL;
1d99702e
RD
1138 if (_argo0) {
1139 if (_argo0 == Py_None) { _arg0 = NULL; }
1140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
8ab979d7
RD
1141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1142 return NULL;
1143 }
1144 }
cf694132
RD
1145{
1146 wxPy_BEGIN_ALLOW_THREADS;
1147 wxButton_SetDefault(_arg0);
1148
1149 wxPy_END_ALLOW_THREADS;
493f1553 1150 if (PyErr_Occurred()) return NULL;
cf694132 1151} Py_INCREF(Py_None);
8ab979d7
RD
1152 _resultobj = Py_None;
1153 return _resultobj;
1154}
1155
9b3d3bc4
RD
1156#define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1157static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1158 PyObject * _resultobj;
1159 wxButton * _arg0;
1160 wxColour * _arg1;
1161 PyObject * _argo0 = 0;
f6bcfd97
BP
1162 wxColour temp;
1163 PyObject * _obj1 = 0;
9b3d3bc4
RD
1164 char *_kwnames[] = { "self","colour", NULL };
1165
1166 self = self;
f6bcfd97 1167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
9b3d3bc4
RD
1168 return NULL;
1169 if (_argo0) {
1170 if (_argo0 == Py_None) { _arg0 = NULL; }
1171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1173 return NULL;
1174 }
1175 }
f6bcfd97
BP
1176{
1177 _arg1 = &temp;
1178 if (! wxColour_helper(_obj1, &_arg1))
9b3d3bc4 1179 return NULL;
f6bcfd97 1180}
9b3d3bc4
RD
1181{
1182 wxPy_BEGIN_ALLOW_THREADS;
1183 wxButton_SetBackgroundColour(_arg0,*_arg1);
1184
1185 wxPy_END_ALLOW_THREADS;
493f1553 1186 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1187} Py_INCREF(Py_None);
1188 _resultobj = Py_None;
1189 return _resultobj;
1190}
1191
1192#define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1193static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1194 PyObject * _resultobj;
1195 wxButton * _arg0;
1196 wxColour * _arg1;
1197 PyObject * _argo0 = 0;
f6bcfd97
BP
1198 wxColour temp;
1199 PyObject * _obj1 = 0;
9b3d3bc4
RD
1200 char *_kwnames[] = { "self","colour", NULL };
1201
1202 self = self;
f6bcfd97 1203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
9b3d3bc4
RD
1204 return NULL;
1205 if (_argo0) {
1206 if (_argo0 == Py_None) { _arg0 = NULL; }
1207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1209 return NULL;
1210 }
1211 }
f6bcfd97
BP
1212{
1213 _arg1 = &temp;
1214 if (! wxColour_helper(_obj1, &_arg1))
9b3d3bc4 1215 return NULL;
f6bcfd97 1216}
9b3d3bc4
RD
1217{
1218 wxPy_BEGIN_ALLOW_THREADS;
1219 wxButton_SetForegroundColour(_arg0,*_arg1);
1220
1221 wxPy_END_ALLOW_THREADS;
493f1553 1222 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1223} Py_INCREF(Py_None);
1224 _resultobj = Py_None;
1225 return _resultobj;
1226}
1227
09f3d4e6
RD
1228#define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
1229static PyObject *_wrap_wxButton_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1230 PyObject * _resultobj;
1231 wxButton * _arg0;
1232 wxBitmap * _arg1;
1233 PyObject * _argo0 = 0;
1234 PyObject * _argo1 = 0;
1235 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7 1236
09f3d4e6
RD
1237 self = self;
1238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetImageLabel",_kwnames,&_argo0,&_argo1))
1239 return NULL;
1240 if (_argo0) {
1241 if (_argo0 == Py_None) { _arg0 = NULL; }
1242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
1244 return NULL;
1245 }
1246 }
1247 if (_argo1) {
1248 if (_argo1 == Py_None) { _arg1 = NULL; }
1249 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1250 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
1251 return NULL;
1252 }
1253 }
1254{
1255 wxPy_BEGIN_ALLOW_THREADS;
1256 wxButton_SetImageLabel(_arg0,*_arg1);
8ab979d7 1257
09f3d4e6
RD
1258 wxPy_END_ALLOW_THREADS;
1259 if (PyErr_Occurred()) return NULL;
1260} Py_INCREF(Py_None);
1261 _resultobj = Py_None;
1262 return _resultobj;
8ab979d7
RD
1263}
1264
09f3d4e6
RD
1265#define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
1266static PyObject *_wrap_wxButton_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1267 PyObject * _resultobj;
1268 wxButton * _arg0;
1269 wxCoord _arg1;
1270 wxCoord _arg2;
1271 PyObject * _argo0 = 0;
1272 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7 1273
09f3d4e6
RD
1274 self = self;
1275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxButton_SetImageMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1276 return NULL;
1277 if (_argo0) {
1278 if (_argo0 == Py_None) { _arg0 = NULL; }
1279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
1281 return NULL;
1282 }
1283 }
1284{
1285 wxPy_BEGIN_ALLOW_THREADS;
1286 wxButton_SetImageMargins(_arg0,_arg1,_arg2);
1287
1288 wxPy_END_ALLOW_THREADS;
1289 if (PyErr_Occurred()) return NULL;
1290} Py_INCREF(Py_None);
1291 _resultobj = Py_None;
1292 return _resultobj;
1293}
1294
1295static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1296 PyObject * _resultobj;
1297 wxSize * _result;
1298 char *_kwnames[] = { NULL };
1299 char _ptemp[128];
1300
1301 self = self;
1302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames))
1303 return NULL;
1304{
1305 wxPy_BEGIN_ALLOW_THREADS;
1306 _result = new wxSize (wxButton::GetDefaultSize());
1307
1308 wxPy_END_ALLOW_THREADS;
1309 if (PyErr_Occurred()) return NULL;
1310} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1311 _resultobj = Py_BuildValue("s",_ptemp);
1312 return _resultobj;
1313}
1314
1315static void *SwigwxBitmapButtonTowxButton(void *ptr) {
1316 wxBitmapButton *src;
1317 wxButton *dest;
1318 src = (wxBitmapButton *) ptr;
1319 dest = (wxButton *) src;
1320 return (void *) dest;
1321}
1322
1323static void *SwigwxBitmapButtonTowxControl(void *ptr) {
1324 wxBitmapButton *src;
1325 wxControl *dest;
1326 src = (wxBitmapButton *) ptr;
1327 dest = (wxControl *) src;
1328 return (void *) dest;
1329}
1330
1331static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
1332 wxBitmapButton *src;
1333 wxWindow *dest;
1334 src = (wxBitmapButton *) ptr;
1335 dest = (wxWindow *) src;
1336 return (void *) dest;
1337}
1338
1339static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
1340 wxBitmapButton *src;
1341 wxEvtHandler *dest;
1342 src = (wxBitmapButton *) ptr;
1343 dest = (wxEvtHandler *) src;
1344 return (void *) dest;
1345}
1346
1347static void *SwigwxBitmapButtonTowxObject(void *ptr) {
1348 wxBitmapButton *src;
1349 wxObject *dest;
1350 src = (wxBitmapButton *) ptr;
1351 dest = (wxObject *) src;
9416aa89
RD
1352 return (void *) dest;
1353}
1354
8ab979d7 1355#define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 1356static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1357 PyObject * _resultobj;
1358 wxBitmapButton * _result;
1359 wxWindow * _arg0;
1360 wxWindowID _arg1;
1361 wxBitmap * _arg2;
e508a2b6
RD
1362 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1363 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 1364 long _arg5 = (long ) wxBU_AUTODRAW;
e508a2b6 1365 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
1366 char * _arg7 = (char *) "button";
1367 PyObject * _argo0 = 0;
1368 PyObject * _argo2 = 0;
2f90df85
RD
1369 wxPoint temp;
1370 PyObject * _obj3 = 0;
1371 wxSize temp0;
1372 PyObject * _obj4 = 0;
1d99702e 1373 PyObject * _argo6 = 0;
efc5f224 1374 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
8ab979d7
RD
1375 char _ptemp[128];
1376
1377 self = self;
2f90df85 1378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
8ab979d7 1379 return NULL;
1d99702e
RD
1380 if (_argo0) {
1381 if (_argo0 == Py_None) { _arg0 = NULL; }
1382 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1383 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1384 return NULL;
1385 }
1386 }
1d99702e
RD
1387 if (_argo2) {
1388 if (_argo2 == Py_None) { _arg2 = NULL; }
1389 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
8ab979d7
RD
1390 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1391 return NULL;
1392 }
1393 }
2f90df85
RD
1394 if (_obj3)
1395{
1396 _arg3 = &temp;
1397 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 1398 return NULL;
2f90df85
RD
1399}
1400 if (_obj4)
1401{
1402 _arg4 = &temp0;
1403 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 1404 return NULL;
2f90df85 1405}
1d99702e
RD
1406 if (_argo6) {
1407 if (_argo6 == Py_None) { _arg6 = NULL; }
1408 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
1409 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1410 return NULL;
1411 }
1412 }
cf694132
RD
1413{
1414 wxPy_BEGIN_ALLOW_THREADS;
1415 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
1416
1417 wxPy_END_ALLOW_THREADS;
493f1553 1418 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1419} if (_result) {
1420 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1421 _resultobj = Py_BuildValue("s",_ptemp);
1422 } else {
1423 Py_INCREF(Py_None);
1424 _resultobj = Py_None;
1425 }
8ab979d7
RD
1426 return _resultobj;
1427}
1428
09f3d4e6
RD
1429#define new_wxPreBitmapButton() (new wxBitmapButton())
1430static PyObject *_wrap_new_wxPreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1431 PyObject * _resultobj;
1432 wxBitmapButton * _result;
1433 char *_kwnames[] = { NULL };
1434 char _ptemp[128];
1435
1436 self = self;
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreBitmapButton",_kwnames))
1438 return NULL;
1439{
1440 wxPy_BEGIN_ALLOW_THREADS;
1441 _result = (wxBitmapButton *)new_wxPreBitmapButton();
1442
1443 wxPy_END_ALLOW_THREADS;
1444 if (PyErr_Occurred()) return NULL;
1445} if (_result) {
1446 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1447 _resultobj = Py_BuildValue("s",_ptemp);
1448 } else {
1449 Py_INCREF(Py_None);
1450 _resultobj = Py_None;
1451 }
1452 return _resultobj;
1453}
1454
1455#define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1456static PyObject *_wrap_wxBitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1457 PyObject * _resultobj;
1458 bool _result;
1459 wxBitmapButton * _arg0;
1460 wxWindow * _arg1;
1461 wxWindowID _arg2;
1462 wxBitmap * _arg3;
1463 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1464 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1465 long _arg6 = (long ) wxBU_AUTODRAW;
1466 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1467 char * _arg8 = (char *) "button";
1468 PyObject * _argo0 = 0;
1469 PyObject * _argo1 = 0;
1470 PyObject * _argo3 = 0;
1471 wxPoint temp;
1472 PyObject * _obj4 = 0;
1473 wxSize temp0;
1474 PyObject * _obj5 = 0;
1475 PyObject * _argo7 = 0;
1476 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL };
1477
1478 self = self;
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
1480 return NULL;
1481 if (_argo0) {
1482 if (_argo0 == Py_None) { _arg0 = NULL; }
1483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1485 return NULL;
1486 }
1487 }
1488 if (_argo1) {
1489 if (_argo1 == Py_None) { _arg1 = NULL; }
1490 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1491 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1492 return NULL;
1493 }
1494 }
1495 if (_argo3) {
1496 if (_argo3 == Py_None) { _arg3 = NULL; }
1497 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1498 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1499 return NULL;
1500 }
1501 }
1502 if (_obj4)
1503{
1504 _arg4 = &temp;
1505 if (! wxPoint_helper(_obj4, &_arg4))
1506 return NULL;
1507}
1508 if (_obj5)
1509{
1510 _arg5 = &temp0;
1511 if (! wxSize_helper(_obj5, &_arg5))
1512 return NULL;
1513}
1514 if (_argo7) {
1515 if (_argo7 == Py_None) { _arg7 = NULL; }
1516 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1517 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1518 return NULL;
1519 }
1520 }
1521{
1522 wxPy_BEGIN_ALLOW_THREADS;
1523 _result = (bool )wxBitmapButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
1524
1525 wxPy_END_ALLOW_THREADS;
1526 if (PyErr_Occurred()) return NULL;
1527} _resultobj = Py_BuildValue("i",_result);
1528 return _resultobj;
1529}
1530
8ab979d7 1531#define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
efc5f224 1532static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1533 PyObject * _resultobj;
1534 wxBitmap * _result;
1535 wxBitmapButton * _arg0;
1d99702e 1536 PyObject * _argo0 = 0;
efc5f224 1537 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1538 char _ptemp[128];
1539
1540 self = self;
efc5f224 1541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
8ab979d7 1542 return NULL;
1d99702e
RD
1543 if (_argo0) {
1544 if (_argo0 == Py_None) { _arg0 = NULL; }
1545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1547 return NULL;
1548 }
1549 }
cf694132
RD
1550{
1551 wxPy_BEGIN_ALLOW_THREADS;
1552 wxBitmap & _result_ref = wxBitmapButton_GetBitmapLabel(_arg0);
8ab979d7 1553 _result = (wxBitmap *) &_result_ref;
cf694132
RD
1554
1555 wxPy_END_ALLOW_THREADS;
493f1553 1556 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1557} if (_result) {
1558 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1559 _resultobj = Py_BuildValue("s",_ptemp);
1560 } else {
1561 Py_INCREF(Py_None);
1562 _resultobj = Py_None;
1563 }
8ab979d7
RD
1564 return _resultobj;
1565}
1566
1567#define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
efc5f224 1568static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1569 PyObject * _resultobj;
1570 wxBitmap * _result;
1571 wxBitmapButton * _arg0;
1d99702e 1572 PyObject * _argo0 = 0;
efc5f224 1573 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1574 char _ptemp[128];
1575
1576 self = self;
efc5f224 1577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
8ab979d7 1578 return NULL;
1d99702e
RD
1579 if (_argo0) {
1580 if (_argo0 == Py_None) { _arg0 = NULL; }
1581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1583 return NULL;
1584 }
1585 }
cf694132
RD
1586{
1587 wxPy_BEGIN_ALLOW_THREADS;
1588 wxBitmap & _result_ref = wxBitmapButton_GetBitmapDisabled(_arg0);
8ab979d7 1589 _result = (wxBitmap *) &_result_ref;
cf694132
RD
1590
1591 wxPy_END_ALLOW_THREADS;
493f1553 1592 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1593} if (_result) {
1594 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1595 _resultobj = Py_BuildValue("s",_ptemp);
1596 } else {
1597 Py_INCREF(Py_None);
1598 _resultobj = Py_None;
1599 }
8ab979d7
RD
1600 return _resultobj;
1601}
1602
1603#define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
efc5f224 1604static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1605 PyObject * _resultobj;
1606 wxBitmap * _result;
1607 wxBitmapButton * _arg0;
1d99702e 1608 PyObject * _argo0 = 0;
efc5f224 1609 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1610 char _ptemp[128];
1611
1612 self = self;
efc5f224 1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0))
8ab979d7 1614 return NULL;
1d99702e
RD
1615 if (_argo0) {
1616 if (_argo0 == Py_None) { _arg0 = NULL; }
1617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1619 return NULL;
1620 }
1621 }
cf694132
RD
1622{
1623 wxPy_BEGIN_ALLOW_THREADS;
1624 wxBitmap & _result_ref = wxBitmapButton_GetBitmapFocus(_arg0);
8ab979d7 1625 _result = (wxBitmap *) &_result_ref;
cf694132
RD
1626
1627 wxPy_END_ALLOW_THREADS;
493f1553 1628 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1629} if (_result) {
1630 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1631 _resultobj = Py_BuildValue("s",_ptemp);
1632 } else {
1633 Py_INCREF(Py_None);
1634 _resultobj = Py_None;
1635 }
8ab979d7
RD
1636 return _resultobj;
1637}
1638
1639#define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
efc5f224 1640static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1641 PyObject * _resultobj;
1642 wxBitmap * _result;
1643 wxBitmapButton * _arg0;
1d99702e 1644 PyObject * _argo0 = 0;
efc5f224 1645 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1646 char _ptemp[128];
1647
1648 self = self;
efc5f224 1649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
8ab979d7 1650 return NULL;
1d99702e
RD
1651 if (_argo0) {
1652 if (_argo0 == Py_None) { _arg0 = NULL; }
1653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1655 return NULL;
1656 }
1657 }
cf694132
RD
1658{
1659 wxPy_BEGIN_ALLOW_THREADS;
1660 wxBitmap & _result_ref = wxBitmapButton_GetBitmapSelected(_arg0);
8ab979d7 1661 _result = (wxBitmap *) &_result_ref;
cf694132
RD
1662
1663 wxPy_END_ALLOW_THREADS;
493f1553 1664 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1665} if (_result) {
1666 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1667 _resultobj = Py_BuildValue("s",_ptemp);
1668 } else {
1669 Py_INCREF(Py_None);
1670 _resultobj = Py_None;
1671 }
8ab979d7
RD
1672 return _resultobj;
1673}
1674
1675#define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
efc5f224 1676static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1677 PyObject * _resultobj;
1678 wxBitmapButton * _arg0;
1679 wxBitmap * _arg1;
1d99702e
RD
1680 PyObject * _argo0 = 0;
1681 PyObject * _argo1 = 0;
efc5f224 1682 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1683
1684 self = self;
efc5f224 1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
8ab979d7 1686 return NULL;
1d99702e
RD
1687 if (_argo0) {
1688 if (_argo0 == Py_None) { _arg0 = NULL; }
1689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1691 return NULL;
1692 }
1693 }
1d99702e
RD
1694 if (_argo1) {
1695 if (_argo1 == Py_None) { _arg1 = NULL; }
1696 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1697 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1698 return NULL;
1699 }
1700 }
cf694132
RD
1701{
1702 wxPy_BEGIN_ALLOW_THREADS;
1703 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
1704
1705 wxPy_END_ALLOW_THREADS;
493f1553 1706 if (PyErr_Occurred()) return NULL;
cf694132 1707} Py_INCREF(Py_None);
8ab979d7
RD
1708 _resultobj = Py_None;
1709 return _resultobj;
1710}
1711
1712#define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
efc5f224 1713static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1714 PyObject * _resultobj;
1715 wxBitmapButton * _arg0;
1716 wxBitmap * _arg1;
1d99702e
RD
1717 PyObject * _argo0 = 0;
1718 PyObject * _argo1 = 0;
efc5f224 1719 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1720
1721 self = self;
efc5f224 1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
8ab979d7 1723 return NULL;
1d99702e
RD
1724 if (_argo0) {
1725 if (_argo0 == Py_None) { _arg0 = NULL; }
1726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1728 return NULL;
1729 }
1730 }
1d99702e
RD
1731 if (_argo1) {
1732 if (_argo1 == Py_None) { _arg1 = NULL; }
1733 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1734 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1735 return NULL;
1736 }
1737 }
cf694132
RD
1738{
1739 wxPy_BEGIN_ALLOW_THREADS;
1740 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
1741
1742 wxPy_END_ALLOW_THREADS;
493f1553 1743 if (PyErr_Occurred()) return NULL;
cf694132 1744} Py_INCREF(Py_None);
8ab979d7
RD
1745 _resultobj = Py_None;
1746 return _resultobj;
1747}
1748
1749#define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
efc5f224 1750static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1751 PyObject * _resultobj;
1752 wxBitmapButton * _arg0;
1753 wxBitmap * _arg1;
1d99702e
RD
1754 PyObject * _argo0 = 0;
1755 PyObject * _argo1 = 0;
efc5f224 1756 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1757
1758 self = self;
efc5f224 1759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 1760 return NULL;
1d99702e
RD
1761 if (_argo0) {
1762 if (_argo0 == Py_None) { _arg0 = NULL; }
1763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1765 return NULL;
1766 }
1767 }
1d99702e
RD
1768 if (_argo1) {
1769 if (_argo1 == Py_None) { _arg1 = NULL; }
1770 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1771 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1772 return NULL;
1773 }
1774 }
cf694132
RD
1775{
1776 wxPy_BEGIN_ALLOW_THREADS;
1777 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
1778
1779 wxPy_END_ALLOW_THREADS;
493f1553 1780 if (PyErr_Occurred()) return NULL;
cf694132 1781} Py_INCREF(Py_None);
8ab979d7
RD
1782 _resultobj = Py_None;
1783 return _resultobj;
1784}
1785
1786#define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
efc5f224 1787static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1788 PyObject * _resultobj;
1789 wxBitmapButton * _arg0;
1790 wxBitmap * _arg1;
1d99702e
RD
1791 PyObject * _argo0 = 0;
1792 PyObject * _argo1 = 0;
efc5f224 1793 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1794
1795 self = self;
efc5f224 1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
8ab979d7 1797 return NULL;
1d99702e
RD
1798 if (_argo0) {
1799 if (_argo0 == Py_None) { _arg0 = NULL; }
1800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1802 return NULL;
1803 }
1804 }
1d99702e
RD
1805 if (_argo1) {
1806 if (_argo1 == Py_None) { _arg1 = NULL; }
1807 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1808 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1809 return NULL;
1810 }
1811 }
cf694132
RD
1812{
1813 wxPy_BEGIN_ALLOW_THREADS;
1814 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
1815
1816 wxPy_END_ALLOW_THREADS;
493f1553 1817 if (PyErr_Occurred()) return NULL;
cf694132 1818} Py_INCREF(Py_None);
8ab979d7
RD
1819 _resultobj = Py_None;
1820 return _resultobj;
1821}
1822
f6bcfd97
BP
1823#define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1824static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1825 PyObject * _resultobj;
1826 wxBitmapButton * _arg0;
1827 int _arg1;
1828 int _arg2;
1829 PyObject * _argo0 = 0;
1830 char *_kwnames[] = { "self","x","y", NULL };
1831
1832 self = self;
1833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1834 return NULL;
1835 if (_argo0) {
1836 if (_argo0 == Py_None) { _arg0 = NULL; }
1837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1839 return NULL;
1840 }
1841 }
1842{
1843 wxPy_BEGIN_ALLOW_THREADS;
1844 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
1845
1846 wxPy_END_ALLOW_THREADS;
493f1553 1847 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1848} Py_INCREF(Py_None);
1849 _resultobj = Py_None;
1850 return _resultobj;
1851}
1852
1853#define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1854static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1855 PyObject * _resultobj;
1856 int _result;
1857 wxBitmapButton * _arg0;
1858 PyObject * _argo0 = 0;
1859 char *_kwnames[] = { "self", NULL };
1860
1861 self = self;
1862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0))
1863 return NULL;
1864 if (_argo0) {
1865 if (_argo0 == Py_None) { _arg0 = NULL; }
1866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1868 return NULL;
1869 }
1870 }
1871{
1872 wxPy_BEGIN_ALLOW_THREADS;
1873 _result = (int )wxBitmapButton_GetMarginX(_arg0);
1874
1875 wxPy_END_ALLOW_THREADS;
493f1553 1876 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1877} _resultobj = Py_BuildValue("i",_result);
1878 return _resultobj;
1879}
1880
1881#define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1882static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1883 PyObject * _resultobj;
1884 int _result;
1885 wxBitmapButton * _arg0;
1886 PyObject * _argo0 = 0;
1887 char *_kwnames[] = { "self", NULL };
1888
1889 self = self;
1890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0))
1891 return NULL;
1892 if (_argo0) {
1893 if (_argo0 == Py_None) { _arg0 = NULL; }
1894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1896 return NULL;
1897 }
1898 }
1899{
1900 wxPy_BEGIN_ALLOW_THREADS;
1901 _result = (int )wxBitmapButton_GetMarginY(_arg0);
1902
1903 wxPy_END_ALLOW_THREADS;
493f1553 1904 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1905} _resultobj = Py_BuildValue("i",_result);
1906 return _resultobj;
1907}
1908
8ab979d7
RD
1909static void *SwigwxCheckBoxTowxControl(void *ptr) {
1910 wxCheckBox *src;
1911 wxControl *dest;
1912 src = (wxCheckBox *) ptr;
1913 dest = (wxControl *) src;
1914 return (void *) dest;
1915}
1916
1917static void *SwigwxCheckBoxTowxWindow(void *ptr) {
1918 wxCheckBox *src;
1919 wxWindow *dest;
1920 src = (wxCheckBox *) ptr;
1921 dest = (wxWindow *) src;
1922 return (void *) dest;
1923}
1924
1925static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
1926 wxCheckBox *src;
1927 wxEvtHandler *dest;
1928 src = (wxCheckBox *) ptr;
1929 dest = (wxEvtHandler *) src;
1930 return (void *) dest;
1931}
1932
9416aa89
RD
1933static void *SwigwxCheckBoxTowxObject(void *ptr) {
1934 wxCheckBox *src;
1935 wxObject *dest;
1936 src = (wxCheckBox *) ptr;
1937 dest = (wxObject *) src;
1938 return (void *) dest;
1939}
1940
8ab979d7 1941#define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 1942static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1943 PyObject * _resultobj;
1944 wxCheckBox * _result;
1945 wxWindow * _arg0;
1946 wxWindowID _arg1;
1947 wxString * _arg2;
e508a2b6
RD
1948 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1949 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 1950 long _arg5 = (long ) 0;
e508a2b6 1951 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
1952 char * _arg7 = (char *) "checkBox";
1953 PyObject * _argo0 = 0;
8ab979d7 1954 PyObject * _obj2 = 0;
2f90df85
RD
1955 wxPoint temp;
1956 PyObject * _obj3 = 0;
1957 wxSize temp0;
1958 PyObject * _obj4 = 0;
1d99702e 1959 PyObject * _argo6 = 0;
efc5f224 1960 char *_kwnames[] = { "parent","id","label","pos","size","style","val","name", NULL };
8ab979d7
RD
1961 char _ptemp[128];
1962
1963 self = self;
2f90df85 1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
8ab979d7 1965 return NULL;
1d99702e
RD
1966 if (_argo0) {
1967 if (_argo0 == Py_None) { _arg0 = NULL; }
1968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1970 return NULL;
1971 }
1972 }
1973{
185d7c3e
RD
1974#if PYTHON_API_VERSION >= 1009
1975 char* tmpPtr; int tmpSize;
1976 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 1977 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1978 return NULL;
1979 }
1980 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1981 return NULL;
1982 _arg2 = new wxString(tmpPtr, tmpSize);
1983#else
8ab979d7
RD
1984 if (!PyString_Check(_obj2)) {
1985 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1986 return NULL;
1987 }
185d7c3e
RD
1988 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1989#endif
8ab979d7 1990}
2f90df85
RD
1991 if (_obj3)
1992{
1993 _arg3 = &temp;
1994 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 1995 return NULL;
2f90df85
RD
1996}
1997 if (_obj4)
1998{
1999 _arg4 = &temp0;
2000 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 2001 return NULL;
2f90df85 2002}
1d99702e
RD
2003 if (_argo6) {
2004 if (_argo6 == Py_None) { _arg6 = NULL; }
2005 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
2006 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
2007 return NULL;
2008 }
2009 }
cf694132
RD
2010{
2011 wxPy_BEGIN_ALLOW_THREADS;
2012 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
2013
2014 wxPy_END_ALLOW_THREADS;
493f1553 2015 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2016} if (_result) {
2017 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2018 _resultobj = Py_BuildValue("s",_ptemp);
2019 } else {
2020 Py_INCREF(Py_None);
2021 _resultobj = Py_None;
2022 }
8ab979d7
RD
2023{
2024 if (_obj2)
2025 delete _arg2;
2026}
2027 return _resultobj;
2028}
2029
09f3d4e6
RD
2030#define new_wxPreCheckBox() (new wxCheckBox())
2031static PyObject *_wrap_new_wxPreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject * _resultobj;
2033 wxCheckBox * _result;
2034 char *_kwnames[] = { NULL };
2035 char _ptemp[128];
2036
2037 self = self;
2038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckBox",_kwnames))
2039 return NULL;
2040{
2041 wxPy_BEGIN_ALLOW_THREADS;
2042 _result = (wxCheckBox *)new_wxPreCheckBox();
2043
2044 wxPy_END_ALLOW_THREADS;
2045 if (PyErr_Occurred()) return NULL;
2046} if (_result) {
2047 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2048 _resultobj = Py_BuildValue("s",_ptemp);
2049 } else {
2050 Py_INCREF(Py_None);
2051 _resultobj = Py_None;
2052 }
2053 return _resultobj;
2054}
2055
2056#define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2057static PyObject *_wrap_wxCheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2058 PyObject * _resultobj;
2059 bool _result;
2060 wxCheckBox * _arg0;
2061 wxWindow * _arg1;
2062 wxWindowID _arg2;
2063 wxString * _arg3;
2064 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2065 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2066 long _arg6 = (long ) 0;
2067 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2068 char * _arg8 = (char *) "checkBox";
2069 PyObject * _argo0 = 0;
2070 PyObject * _argo1 = 0;
2071 PyObject * _obj3 = 0;
2072 wxPoint temp;
2073 PyObject * _obj4 = 0;
2074 wxSize temp0;
2075 PyObject * _obj5 = 0;
2076 PyObject * _argo7 = 0;
2077 char *_kwnames[] = { "self","parent","id","label","pos","size","style","val","name", NULL };
2078
2079 self = self;
2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxCheckBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
2081 return NULL;
2082 if (_argo0) {
2083 if (_argo0 == Py_None) { _arg0 = NULL; }
2084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2086 return NULL;
2087 }
2088 }
2089 if (_argo1) {
2090 if (_argo1 == Py_None) { _arg1 = NULL; }
2091 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2092 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2093 return NULL;
2094 }
2095 }
2096{
2097#if PYTHON_API_VERSION >= 1009
2098 char* tmpPtr; int tmpSize;
2099 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
2100 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2101 return NULL;
2102 }
2103 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
2104 return NULL;
2105 _arg3 = new wxString(tmpPtr, tmpSize);
2106#else
2107 if (!PyString_Check(_obj3)) {
2108 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2109 return NULL;
2110 }
2111 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
2112#endif
2113}
2114 if (_obj4)
2115{
2116 _arg4 = &temp;
2117 if (! wxPoint_helper(_obj4, &_arg4))
2118 return NULL;
2119}
2120 if (_obj5)
2121{
2122 _arg5 = &temp0;
2123 if (! wxSize_helper(_obj5, &_arg5))
2124 return NULL;
2125}
2126 if (_argo7) {
2127 if (_argo7 == Py_None) { _arg7 = NULL; }
2128 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
2129 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2130 return NULL;
2131 }
2132 }
2133{
2134 wxPy_BEGIN_ALLOW_THREADS;
2135 _result = (bool )wxCheckBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
2136
2137 wxPy_END_ALLOW_THREADS;
2138 if (PyErr_Occurred()) return NULL;
2139} _resultobj = Py_BuildValue("i",_result);
2140{
2141 if (_obj3)
2142 delete _arg3;
2143}
2144 return _resultobj;
2145}
2146
8ab979d7 2147#define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 2148static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2149 PyObject * _resultobj;
2150 bool _result;
2151 wxCheckBox * _arg0;
1d99702e 2152 PyObject * _argo0 = 0;
efc5f224 2153 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2154
2155 self = self;
efc5f224 2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
8ab979d7 2157 return NULL;
1d99702e
RD
2158 if (_argo0) {
2159 if (_argo0 == Py_None) { _arg0 = NULL; }
2160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
8ab979d7
RD
2161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2162 return NULL;
2163 }
2164 }
cf694132
RD
2165{
2166 wxPy_BEGIN_ALLOW_THREADS;
2167 _result = (bool )wxCheckBox_GetValue(_arg0);
2168
2169 wxPy_END_ALLOW_THREADS;
493f1553 2170 if (PyErr_Occurred()) return NULL;
cf694132 2171} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2172 return _resultobj;
2173}
2174
2175#define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 2176static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2177 PyObject * _resultobj;
2178 wxCheckBox * _arg0;
2179 bool _arg1;
1d99702e 2180 PyObject * _argo0 = 0;
8ab979d7 2181 int tempbool1;
efc5f224 2182 char *_kwnames[] = { "self","state", NULL };
8ab979d7
RD
2183
2184 self = self;
efc5f224 2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
8ab979d7 2186 return NULL;
1d99702e
RD
2187 if (_argo0) {
2188 if (_argo0 == Py_None) { _arg0 = NULL; }
2189 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
8ab979d7
RD
2190 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2191 return NULL;
2192 }
2193 }
2194 _arg1 = (bool ) tempbool1;
cf694132
RD
2195{
2196 wxPy_BEGIN_ALLOW_THREADS;
2197 wxCheckBox_SetValue(_arg0,_arg1);
2198
2199 wxPy_END_ALLOW_THREADS;
493f1553 2200 if (PyErr_Occurred()) return NULL;
cf694132 2201} Py_INCREF(Py_None);
8ab979d7
RD
2202 _resultobj = Py_None;
2203 return _resultobj;
2204}
2205
900d9886
RD
2206static void *SwigwxChoiceTowxControlWithItems(void *ptr) {
2207 wxChoice *src;
2208 wxControlWithItems *dest;
2209 src = (wxChoice *) ptr;
2210 dest = (wxControlWithItems *) src;
2211 return (void *) dest;
2212}
2213
8ab979d7
RD
2214static void *SwigwxChoiceTowxControl(void *ptr) {
2215 wxChoice *src;
2216 wxControl *dest;
2217 src = (wxChoice *) ptr;
2218 dest = (wxControl *) src;
2219 return (void *) dest;
2220}
2221
2222static void *SwigwxChoiceTowxWindow(void *ptr) {
2223 wxChoice *src;
2224 wxWindow *dest;
2225 src = (wxChoice *) ptr;
2226 dest = (wxWindow *) src;
2227 return (void *) dest;
2228}
2229
2230static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
2231 wxChoice *src;
2232 wxEvtHandler *dest;
2233 src = (wxChoice *) ptr;
2234 dest = (wxEvtHandler *) src;
2235 return (void *) dest;
2236}
2237
9416aa89
RD
2238static void *SwigwxChoiceTowxObject(void *ptr) {
2239 wxChoice *src;
2240 wxObject *dest;
2241 src = (wxChoice *) ptr;
2242 dest = (wxObject *) src;
2243 return (void *) dest;
2244}
2245
8ab979d7 2246#define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
efc5f224 2247static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2248 PyObject * _resultobj;
2249 wxChoice * _result;
2250 wxWindow * _arg0;
2251 wxWindowID _arg1;
e508a2b6
RD
2252 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2253 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e
RD
2254 int _arg4 = (int ) 0;
2255 wxString * _arg5 = (wxString *) NULL;
2256 long _arg6 = (long ) 0;
e508a2b6 2257 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
2258 char * _arg8 = (char *) "choice";
2259 PyObject * _argo0 = 0;
2f90df85
RD
2260 wxPoint temp;
2261 PyObject * _obj2 = 0;
2262 wxSize temp0;
2263 PyObject * _obj3 = 0;
8ab979d7 2264 PyObject * _obj5 = 0;
1d99702e 2265 PyObject * _argo7 = 0;
eec92d76 2266 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
8ab979d7
RD
2267 char _ptemp[128];
2268
2269 self = self;
2f90df85 2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
8ab979d7 2271 return NULL;
1d99702e
RD
2272 if (_argo0) {
2273 if (_argo0 == Py_None) { _arg0 = NULL; }
2274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2276 return NULL;
2277 }
2278 }
2f90df85
RD
2279 if (_obj2)
2280{
2281 _arg2 = &temp;
2282 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2283 return NULL;
2f90df85
RD
2284}
2285 if (_obj3)
2286{
2287 _arg3 = &temp0;
2288 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2289 return NULL;
2f90df85 2290}
8ab979d7
RD
2291 if (_obj5)
2292{
2293 _arg5 = wxString_LIST_helper(_obj5);
2294 if (_arg5 == NULL) {
2295 return NULL;
2296 }
2297}
1d99702e
RD
2298 if (_argo7) {
2299 if (_argo7 == Py_None) { _arg7 = NULL; }
2300 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
8ab979d7
RD
2301 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2302 return NULL;
2303 }
2304 }
2305{
cf694132
RD
2306 if (_obj5) {
2307 _arg4 = PyList_Size(_obj5);
2308 }
2309 else {
2310 _arg4 = 0;
2311 }
8ab979d7 2312}
cf694132
RD
2313{
2314 wxPy_BEGIN_ALLOW_THREADS;
2315 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
2316
2317 wxPy_END_ALLOW_THREADS;
493f1553 2318 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2319} if (_result) {
2320 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2321 _resultobj = Py_BuildValue("s",_ptemp);
2322 } else {
2323 Py_INCREF(Py_None);
2324 _resultobj = Py_None;
2325 }
8ab979d7
RD
2326{
2327 delete [] _arg5;
2328}
2329 return _resultobj;
2330}
2331
09f3d4e6
RD
2332#define new_wxPreChoice() (new wxChoice())
2333static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2334 PyObject * _resultobj;
09f3d4e6
RD
2335 wxChoice * _result;
2336 char *_kwnames[] = { NULL };
2337 char _ptemp[128];
8ab979d7
RD
2338
2339 self = self;
09f3d4e6
RD
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
2341 return NULL;
2342{
2343 wxPy_BEGIN_ALLOW_THREADS;
2344 _result = (wxChoice *)new_wxPreChoice();
2345
2346 wxPy_END_ALLOW_THREADS;
2347 if (PyErr_Occurred()) return NULL;
2348} if (_result) {
2349 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2350 _resultobj = Py_BuildValue("s",_ptemp);
2351 } else {
2352 Py_INCREF(Py_None);
2353 _resultobj = Py_None;
2354 }
2355 return _resultobj;
2356}
2357
2358#define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2359static PyObject *_wrap_wxChoice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2360 PyObject * _resultobj;
2361 bool _result;
2362 wxChoice * _arg0;
2363 wxWindow * _arg1;
2364 wxWindowID _arg2;
2365 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2366 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2367 int _arg5 = (int ) 0;
2368 wxString * _arg6 = (wxString *) NULL;
2369 long _arg7 = (long ) 0;
2370 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2371 char * _arg9 = (char *) "choice";
2372 PyObject * _argo0 = 0;
2373 PyObject * _argo1 = 0;
2374 wxPoint temp;
2375 PyObject * _obj3 = 0;
2376 wxSize temp0;
2377 PyObject * _obj4 = 0;
2378 PyObject * _obj6 = 0;
2379 PyObject * _argo8 = 0;
2380 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
2381
2382 self = self;
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
2384 return NULL;
2385 if (_argo0) {
2386 if (_argo0 == Py_None) { _arg0 = NULL; }
2387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2389 return NULL;
2390 }
2391 }
2392 if (_argo1) {
2393 if (_argo1 == Py_None) { _arg1 = NULL; }
2394 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2395 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2396 return NULL;
2397 }
2398 }
2399 if (_obj3)
2400{
2401 _arg3 = &temp;
2402 if (! wxPoint_helper(_obj3, &_arg3))
2403 return NULL;
2404}
2405 if (_obj4)
2406{
2407 _arg4 = &temp0;
2408 if (! wxSize_helper(_obj4, &_arg4))
2409 return NULL;
2410}
2411 if (_obj6)
2412{
2413 _arg6 = wxString_LIST_helper(_obj6);
2414 if (_arg6 == NULL) {
2415 return NULL;
2416 }
2417}
2418 if (_argo8) {
2419 if (_argo8 == Py_None) { _arg8 = NULL; }
2420 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
2421 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2422 return NULL;
2423 }
2424 }
900d9886
RD
2425{
2426 if (_obj6) {
2427 _arg5 = PyList_Size(_obj6);
2428 }
2429 else {
2430 _arg5 = 0;
8ab979d7 2431 }
900d9886 2432}
8ab979d7 2433{
cf694132 2434 wxPy_BEGIN_ALLOW_THREADS;
900d9886 2435 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
cf694132
RD
2436
2437 wxPy_END_ALLOW_THREADS;
493f1553 2438 if (PyErr_Occurred()) return NULL;
900d9886 2439} _resultobj = Py_BuildValue("i",_result);
8ab979d7 2440{
900d9886 2441 delete [] _arg6;
8ab979d7
RD
2442}
2443 return _resultobj;
2444}
2445
900d9886
RD
2446#define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2447static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2448 PyObject * _resultobj;
8ab979d7 2449 wxChoice * _arg0;
1d99702e 2450 PyObject * _argo0 = 0;
efc5f224 2451 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2452
2453 self = self;
900d9886 2454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
8ab979d7 2455 return NULL;
1d99702e
RD
2456 if (_argo0) {
2457 if (_argo0 == Py_None) { _arg0 = NULL; }
2458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
900d9886 2459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
8ab979d7
RD
2460 return NULL;
2461 }
2462 }
8ab979d7 2463{
cf694132 2464 wxPy_BEGIN_ALLOW_THREADS;
900d9886 2465 wxChoice_Clear(_arg0);
cf694132
RD
2466
2467 wxPy_END_ALLOW_THREADS;
493f1553 2468 if (PyErr_Occurred()) return NULL;
900d9886
RD
2469} Py_INCREF(Py_None);
2470 _resultobj = Py_None;
8ab979d7
RD
2471 return _resultobj;
2472}
2473
900d9886
RD
2474#define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2475static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2476 PyObject * _resultobj;
2477 int _result;
2478 wxChoice * _arg0;
1d99702e 2479 PyObject * _argo0 = 0;
efc5f224 2480 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2481
2482 self = self;
900d9886 2483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
8ab979d7 2484 return NULL;
1d99702e
RD
2485 if (_argo0) {
2486 if (_argo0 == Py_None) { _arg0 = NULL; }
2487 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
900d9886 2488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
8ab979d7
RD
2489 return NULL;
2490 }
2491 }
cf694132
RD
2492{
2493 wxPy_BEGIN_ALLOW_THREADS;
900d9886 2494 _result = (int )wxChoice_GetColumns(_arg0);
cf694132
RD
2495
2496 wxPy_END_ALLOW_THREADS;
493f1553 2497 if (PyErr_Occurred()) return NULL;
cf694132 2498} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2499 return _resultobj;
2500}
2501
2502#define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
efc5f224 2503static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2504 PyObject * _resultobj;
2505 wxChoice * _arg0;
1d99702e
RD
2506 int _arg1 = (int ) 1;
2507 PyObject * _argo0 = 0;
efc5f224 2508 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
2509
2510 self = self;
efc5f224 2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
8ab979d7 2512 return NULL;
1d99702e
RD
2513 if (_argo0) {
2514 if (_argo0 == Py_None) { _arg0 = NULL; }
2515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
8ab979d7
RD
2516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2517 return NULL;
2518 }
2519 }
cf694132
RD
2520{
2521 wxPy_BEGIN_ALLOW_THREADS;
2522 wxChoice_SetColumns(_arg0,_arg1);
2523
2524 wxPy_END_ALLOW_THREADS;
493f1553 2525 if (PyErr_Occurred()) return NULL;
cf694132 2526} Py_INCREF(Py_None);
8ab979d7
RD
2527 _resultobj = Py_None;
2528 return _resultobj;
2529}
2530
2531#define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 2532static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2533 PyObject * _resultobj;
2534 wxChoice * _arg0;
2535 int _arg1;
1d99702e 2536 PyObject * _argo0 = 0;
efc5f224 2537 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
2538
2539 self = self;
efc5f224 2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 2541 return NULL;
1d99702e
RD
2542 if (_argo0) {
2543 if (_argo0 == Py_None) { _arg0 = NULL; }
2544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
8ab979d7
RD
2545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2546 return NULL;
2547 }
2548 }
cf694132
RD
2549{
2550 wxPy_BEGIN_ALLOW_THREADS;
2551 wxChoice_SetSelection(_arg0,_arg1);
2552
2553 wxPy_END_ALLOW_THREADS;
493f1553 2554 if (PyErr_Occurred()) return NULL;
cf694132 2555} Py_INCREF(Py_None);
8ab979d7
RD
2556 _resultobj = Py_None;
2557 return _resultobj;
2558}
2559
2560#define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
efc5f224 2561static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2562 PyObject * _resultobj;
2563 wxChoice * _arg0;
2564 wxString * _arg1;
1d99702e 2565 PyObject * _argo0 = 0;
8ab979d7 2566 PyObject * _obj1 = 0;
efc5f224 2567 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
2568
2569 self = self;
efc5f224 2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
8ab979d7 2571 return NULL;
1d99702e
RD
2572 if (_argo0) {
2573 if (_argo0 == Py_None) { _arg0 = NULL; }
2574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
8ab979d7
RD
2575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2576 return NULL;
2577 }
2578 }
2579{
185d7c3e
RD
2580#if PYTHON_API_VERSION >= 1009
2581 char* tmpPtr; int tmpSize;
2582 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 2583 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2584 return NULL;
2585 }
2586 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2587 return NULL;
2588 _arg1 = new wxString(tmpPtr, tmpSize);
2589#else
8ab979d7
RD
2590 if (!PyString_Check(_obj1)) {
2591 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2592 return NULL;
2593 }
185d7c3e
RD
2594 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2595#endif
8ab979d7 2596}
cf694132
RD
2597{
2598 wxPy_BEGIN_ALLOW_THREADS;
2599 wxChoice_SetStringSelection(_arg0,*_arg1);
2600
2601 wxPy_END_ALLOW_THREADS;
493f1553 2602 if (PyErr_Occurred()) return NULL;
cf694132 2603} Py_INCREF(Py_None);
8ab979d7
RD
2604 _resultobj = Py_None;
2605{
2606 if (_obj1)
2607 delete _arg1;
2608}
2609 return _resultobj;
2610}
2611
0adbc166
RD
2612#define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2613static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2614 PyObject * _resultobj;
2615 wxChoice * _arg0;
2616 int _arg1;
2617 wxString * _arg2;
2618 PyObject * _argo0 = 0;
2619 PyObject * _obj2 = 0;
2620 char *_kwnames[] = { "self","n","s", NULL };
2621
2622 self = self;
2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
2624 return NULL;
2625 if (_argo0) {
2626 if (_argo0 == Py_None) { _arg0 = NULL; }
2627 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2628 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2629 return NULL;
2630 }
2631 }
2632{
2633#if PYTHON_API_VERSION >= 1009
2634 char* tmpPtr; int tmpSize;
2635 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2636 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2637 return NULL;
2638 }
2639 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2640 return NULL;
2641 _arg2 = new wxString(tmpPtr, tmpSize);
2642#else
2643 if (!PyString_Check(_obj2)) {
2644 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2645 return NULL;
2646 }
2647 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2648#endif
2649}
2650{
2651 wxPy_BEGIN_ALLOW_THREADS;
2652 wxChoice_SetString(_arg0,_arg1,*_arg2);
2653
2654 wxPy_END_ALLOW_THREADS;
2655 if (PyErr_Occurred()) return NULL;
2656} Py_INCREF(Py_None);
2657 _resultobj = Py_None;
2658{
2659 if (_obj2)
2660 delete _arg2;
2661}
2662 return _resultobj;
2663}
2664
bb0054cd
RD
2665static void *SwigwxComboBoxTowxChoice(void *ptr) {
2666 wxComboBox *src;
2667 wxChoice *dest;
2668 src = (wxComboBox *) ptr;
2669 dest = (wxChoice *) src;
2670 return (void *) dest;
2671}
2672
900d9886
RD
2673static void *SwigwxComboBoxTowxControlWithItems(void *ptr) {
2674 wxComboBox *src;
2675 wxControlWithItems *dest;
2676 src = (wxComboBox *) ptr;
2677 dest = (wxControlWithItems *) src;
2678 return (void *) dest;
2679}
2680
8ab979d7
RD
2681static void *SwigwxComboBoxTowxControl(void *ptr) {
2682 wxComboBox *src;
2683 wxControl *dest;
2684 src = (wxComboBox *) ptr;
2685 dest = (wxControl *) src;
2686 return (void *) dest;
2687}
2688
2689static void *SwigwxComboBoxTowxWindow(void *ptr) {
2690 wxComboBox *src;
2691 wxWindow *dest;
2692 src = (wxComboBox *) ptr;
2693 dest = (wxWindow *) src;
2694 return (void *) dest;
2695}
2696
2697static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2698 wxComboBox *src;
2699 wxEvtHandler *dest;
2700 src = (wxComboBox *) ptr;
2701 dest = (wxEvtHandler *) src;
2702 return (void *) dest;
2703}
2704
9416aa89
RD
2705static void *SwigwxComboBoxTowxObject(void *ptr) {
2706 wxComboBox *src;
2707 wxObject *dest;
2708 src = (wxComboBox *) ptr;
2709 dest = (wxObject *) src;
2710 return (void *) dest;
2711}
2712
8ab979d7 2713#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 2714static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2715 PyObject * _resultobj;
2716 wxComboBox * _result;
2717 wxWindow * _arg0;
2718 wxWindowID _arg1;
1d99702e 2719 char * _arg2 = (char *) "";
e508a2b6
RD
2720 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2721 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
2722 int _arg5 = (int ) 0;
2723 wxString * _arg6 = (wxString *) NULL;
2724 long _arg7 = (long ) 0;
e508a2b6 2725 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
2726 char * _arg9 = (char *) "comboBox";
2727 PyObject * _argo0 = 0;
2f90df85
RD
2728 wxPoint temp;
2729 PyObject * _obj3 = 0;
2730 wxSize temp0;
2731 PyObject * _obj4 = 0;
8ab979d7 2732 PyObject * _obj6 = 0;
1d99702e 2733 PyObject * _argo8 = 0;
eec92d76 2734 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
8ab979d7
RD
2735 char _ptemp[128];
2736
2737 self = self;
2f90df85 2738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOOlOs:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
8ab979d7 2739 return NULL;
1d99702e
RD
2740 if (_argo0) {
2741 if (_argo0 == Py_None) { _arg0 = NULL; }
2742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2744 return NULL;
2745 }
2746 }
2f90df85
RD
2747 if (_obj3)
2748{
2749 _arg3 = &temp;
2750 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 2751 return NULL;
2f90df85
RD
2752}
2753 if (_obj4)
2754{
2755 _arg4 = &temp0;
2756 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 2757 return NULL;
2f90df85 2758}
8ab979d7
RD
2759 if (_obj6)
2760{
2761 _arg6 = wxString_LIST_helper(_obj6);
2762 if (_arg6 == NULL) {
2763 return NULL;
2764 }
2765}
1d99702e
RD
2766 if (_argo8) {
2767 if (_argo8 == Py_None) { _arg8 = NULL; }
2768 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
8ab979d7
RD
2769 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2770 return NULL;
2771 }
2772 }
2773{
cf694132
RD
2774 if (_obj6) {
2775 _arg5 = PyList_Size(_obj6);
2776 }
2777 else {
2778 _arg5 = 0;
2779 }
8ab979d7 2780}
cf694132
RD
2781{
2782 wxPy_BEGIN_ALLOW_THREADS;
2783 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
2784
2785 wxPy_END_ALLOW_THREADS;
493f1553 2786 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2787} if (_result) {
2788 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2789 _resultobj = Py_BuildValue("s",_ptemp);
2790 } else {
2791 Py_INCREF(Py_None);
2792 _resultobj = Py_None;
2793 }
8ab979d7
RD
2794{
2795 delete [] _arg6;
2796}
2797 return _resultobj;
2798}
2799
09f3d4e6
RD
2800#define new_wxPreComboBox() (new wxComboBox())
2801static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2802 PyObject * _resultobj;
2803 wxComboBox * _result;
2804 char *_kwnames[] = { NULL };
2805 char _ptemp[128];
2806
2807 self = self;
2808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2809 return NULL;
2810{
2811 wxPy_BEGIN_ALLOW_THREADS;
2812 _result = (wxComboBox *)new_wxPreComboBox();
2813
2814 wxPy_END_ALLOW_THREADS;
2815 if (PyErr_Occurred()) return NULL;
2816} if (_result) {
2817 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2818 _resultobj = Py_BuildValue("s",_ptemp);
2819 } else {
2820 Py_INCREF(Py_None);
2821 _resultobj = Py_None;
2822 }
2823 return _resultobj;
2824}
2825
2826#define wxComboBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
2827static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2828 PyObject * _resultobj;
2829 bool _result;
2830 wxComboBox * _arg0;
2831 wxWindow * _arg1;
2832 wxWindowID _arg2;
2833 char * _arg3 = (char *) "";
2834 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2835 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2836 int _arg6 = (int ) 0;
2837 wxString * _arg7 = (wxString *) NULL;
2838 long _arg8 = (long ) 0;
2839 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
2840 char * _arg10 = (char *) "comboBox";
2841 PyObject * _argo0 = 0;
2842 PyObject * _argo1 = 0;
2843 wxPoint temp;
2844 PyObject * _obj4 = 0;
2845 wxSize temp0;
2846 PyObject * _obj5 = 0;
2847 PyObject * _obj7 = 0;
2848 PyObject * _argo9 = 0;
2849 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2850
2851 self = self;
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|sOOOlOs:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_arg10))
2853 return NULL;
2854 if (_argo0) {
2855 if (_argo0 == Py_None) { _arg0 = NULL; }
2856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2858 return NULL;
2859 }
2860 }
2861 if (_argo1) {
2862 if (_argo1 == Py_None) { _arg1 = NULL; }
2863 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2864 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2865 return NULL;
2866 }
2867 }
2868 if (_obj4)
2869{
2870 _arg4 = &temp;
2871 if (! wxPoint_helper(_obj4, &_arg4))
2872 return NULL;
2873}
2874 if (_obj5)
2875{
2876 _arg5 = &temp0;
2877 if (! wxSize_helper(_obj5, &_arg5))
2878 return NULL;
2879}
2880 if (_obj7)
2881{
2882 _arg7 = wxString_LIST_helper(_obj7);
2883 if (_arg7 == NULL) {
2884 return NULL;
2885 }
2886}
2887 if (_argo9) {
2888 if (_argo9 == Py_None) { _arg9 = NULL; }
2889 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
2890 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2891 return NULL;
2892 }
2893 }
2894{
2895 if (_obj7) {
2896 _arg6 = PyList_Size(_obj7);
2897 }
2898 else {
2899 _arg6 = 0;
2900 }
2901}
2902{
2903 wxPy_BEGIN_ALLOW_THREADS;
2904 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
2905
2906 wxPy_END_ALLOW_THREADS;
2907 if (PyErr_Occurred()) return NULL;
2908} _resultobj = Py_BuildValue("i",_result);
2909{
2910 delete [] _arg7;
2911}
2912 return _resultobj;
2913}
2914
8ab979d7 2915#define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
efc5f224 2916static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2917 PyObject * _resultobj;
2918 wxComboBox * _arg0;
1d99702e 2919 PyObject * _argo0 = 0;
efc5f224 2920 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2921
2922 self = self;
efc5f224 2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
8ab979d7 2924 return NULL;
1d99702e
RD
2925 if (_argo0) {
2926 if (_argo0 == Py_None) { _arg0 = NULL; }
2927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
2928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2929 return NULL;
2930 }
2931 }
cf694132
RD
2932{
2933 wxPy_BEGIN_ALLOW_THREADS;
2934 wxComboBox_Copy(_arg0);
2935
2936 wxPy_END_ALLOW_THREADS;
493f1553 2937 if (PyErr_Occurred()) return NULL;
cf694132 2938} Py_INCREF(Py_None);
8ab979d7
RD
2939 _resultobj = Py_None;
2940 return _resultobj;
2941}
2942
2943#define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
efc5f224 2944static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2945 PyObject * _resultobj;
2946 wxComboBox * _arg0;
1d99702e 2947 PyObject * _argo0 = 0;
efc5f224 2948 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2949
2950 self = self;
efc5f224 2951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
8ab979d7 2952 return NULL;
1d99702e
RD
2953 if (_argo0) {
2954 if (_argo0 == Py_None) { _arg0 = NULL; }
2955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
2956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2957 return NULL;
2958 }
2959 }
cf694132
RD
2960{
2961 wxPy_BEGIN_ALLOW_THREADS;
2962 wxComboBox_Cut(_arg0);
2963
2964 wxPy_END_ALLOW_THREADS;
493f1553 2965 if (PyErr_Occurred()) return NULL;
cf694132 2966} Py_INCREF(Py_None);
8ab979d7
RD
2967 _resultobj = Py_None;
2968 return _resultobj;
2969}
2970
8ab979d7 2971#define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
efc5f224 2972static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2973 PyObject * _resultobj;
2974 long _result;
2975 wxComboBox * _arg0;
1d99702e 2976 PyObject * _argo0 = 0;
900d9886 2977 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2978
2979 self = self;
900d9886 2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
8ab979d7 2981 return NULL;
1d99702e
RD
2982 if (_argo0) {
2983 if (_argo0 == Py_None) { _arg0 = NULL; }
2984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
900d9886 2985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
8ab979d7
RD
2986 return NULL;
2987 }
2988 }
8ab979d7 2989{
cf694132 2990 wxPy_BEGIN_ALLOW_THREADS;
900d9886 2991 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
cf694132
RD
2992
2993 wxPy_END_ALLOW_THREADS;
493f1553 2994 if (PyErr_Occurred()) return NULL;
900d9886 2995} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
2996 return _resultobj;
2997}
2998
900d9886
RD
2999#define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3000static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3001 PyObject * _resultobj;
900d9886 3002 long _result;
8ab979d7 3003 wxComboBox * _arg0;
1d99702e 3004 PyObject * _argo0 = 0;
efc5f224 3005 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3006
3007 self = self;
900d9886 3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
8ab979d7 3009 return NULL;
1d99702e
RD
3010 if (_argo0) {
3011 if (_argo0 == Py_None) { _arg0 = NULL; }
3012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
900d9886 3013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
8ab979d7
RD
3014 return NULL;
3015 }
3016 }
8ab979d7 3017{
cf694132 3018 wxPy_BEGIN_ALLOW_THREADS;
900d9886 3019 _result = (long )wxComboBox_GetLastPosition(_arg0);
cf694132
RD
3020
3021 wxPy_END_ALLOW_THREADS;
493f1553 3022 if (PyErr_Occurred()) return NULL;
900d9886 3023} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3024 return _resultobj;
3025}
3026
3027#define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 3028static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3029 PyObject * _resultobj;
3030 wxString * _result;
3031 wxComboBox * _arg0;
1d99702e 3032 PyObject * _argo0 = 0;
efc5f224 3033 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3034
3035 self = self;
efc5f224 3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
8ab979d7 3037 return NULL;
1d99702e
RD
3038 if (_argo0) {
3039 if (_argo0 == Py_None) { _arg0 = NULL; }
3040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3042 return NULL;
3043 }
3044 }
8ab979d7 3045{
cf694132
RD
3046 wxPy_BEGIN_ALLOW_THREADS;
3047 _result = new wxString (wxComboBox_GetValue(_arg0));
3048
3049 wxPy_END_ALLOW_THREADS;
493f1553 3050 if (PyErr_Occurred()) return NULL;
cf694132 3051}{
eec92d76 3052 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
3053}
3054{
3055 delete _result;
3056}
3057 return _resultobj;
3058}
3059
8ab979d7 3060#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
efc5f224 3061static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3062 PyObject * _resultobj;
3063 wxComboBox * _arg0;
1d99702e 3064 PyObject * _argo0 = 0;
efc5f224 3065 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3066
3067 self = self;
efc5f224 3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
8ab979d7 3069 return NULL;
1d99702e
RD
3070 if (_argo0) {
3071 if (_argo0 == Py_None) { _arg0 = NULL; }
3072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3074 return NULL;
3075 }
3076 }
cf694132
RD
3077{
3078 wxPy_BEGIN_ALLOW_THREADS;
3079 wxComboBox_Paste(_arg0);
3080
3081 wxPy_END_ALLOW_THREADS;
493f1553 3082 if (PyErr_Occurred()) return NULL;
cf694132 3083} Py_INCREF(Py_None);
8ab979d7
RD
3084 _resultobj = Py_None;
3085 return _resultobj;
3086}
3087
3088#define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3089static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3090 PyObject * _resultobj;
3091 wxComboBox * _arg0;
3092 long _arg1;
3093 long _arg2;
3094 wxString * _arg3;
1d99702e 3095 PyObject * _argo0 = 0;
8ab979d7 3096 PyObject * _obj3 = 0;
efc5f224 3097 char *_kwnames[] = { "self","from","to","text", NULL };
8ab979d7
RD
3098
3099 self = self;
efc5f224 3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 3101 return NULL;
1d99702e
RD
3102 if (_argo0) {
3103 if (_argo0 == Py_None) { _arg0 = NULL; }
3104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3106 return NULL;
3107 }
3108 }
3109{
185d7c3e
RD
3110#if PYTHON_API_VERSION >= 1009
3111 char* tmpPtr; int tmpSize;
3112 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 3113 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
3114 return NULL;
3115 }
3116 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
3117 return NULL;
3118 _arg3 = new wxString(tmpPtr, tmpSize);
3119#else
8ab979d7
RD
3120 if (!PyString_Check(_obj3)) {
3121 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3122 return NULL;
3123 }
185d7c3e
RD
3124 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
3125#endif
8ab979d7 3126}
cf694132
RD
3127{
3128 wxPy_BEGIN_ALLOW_THREADS;
3129 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
3130
3131 wxPy_END_ALLOW_THREADS;
493f1553 3132 if (PyErr_Occurred()) return NULL;
cf694132 3133} Py_INCREF(Py_None);
8ab979d7
RD
3134 _resultobj = Py_None;
3135{
3136 if (_obj3)
3137 delete _arg3;
3138}
3139 return _resultobj;
3140}
3141
3142#define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
efc5f224 3143static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3144 PyObject * _resultobj;
3145 wxComboBox * _arg0;
3146 long _arg1;
3147 long _arg2;
1d99702e 3148 PyObject * _argo0 = 0;
efc5f224 3149 char *_kwnames[] = { "self","from","to", NULL };
8ab979d7
RD
3150
3151 self = self;
efc5f224 3152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3153 return NULL;
1d99702e
RD
3154 if (_argo0) {
3155 if (_argo0 == Py_None) { _arg0 = NULL; }
3156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3158 return NULL;
3159 }
3160 }
cf694132
RD
3161{
3162 wxPy_BEGIN_ALLOW_THREADS;
3163 wxComboBox_Remove(_arg0,_arg1,_arg2);
3164
3165 wxPy_END_ALLOW_THREADS;
493f1553 3166 if (PyErr_Occurred()) return NULL;
cf694132 3167} Py_INCREF(Py_None);
8ab979d7
RD
3168 _resultobj = Py_None;
3169 return _resultobj;
3170}
3171
3172#define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
efc5f224 3173static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3174 PyObject * _resultobj;
3175 wxComboBox * _arg0;
3176 long _arg1;
1d99702e 3177 PyObject * _argo0 = 0;
efc5f224 3178 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
3179
3180 self = self;
efc5f224 3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
8ab979d7 3182 return NULL;
1d99702e
RD
3183 if (_argo0) {
3184 if (_argo0 == Py_None) { _arg0 = NULL; }
3185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3187 return NULL;
3188 }
3189 }
cf694132
RD
3190{
3191 wxPy_BEGIN_ALLOW_THREADS;
3192 wxComboBox_SetInsertionPoint(_arg0,_arg1);
3193
3194 wxPy_END_ALLOW_THREADS;
493f1553 3195 if (PyErr_Occurred()) return NULL;
cf694132 3196} Py_INCREF(Py_None);
8ab979d7
RD
3197 _resultobj = Py_None;
3198 return _resultobj;
3199}
3200
3201#define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
efc5f224 3202static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3203 PyObject * _resultobj;
3204 wxComboBox * _arg0;
1d99702e 3205 PyObject * _argo0 = 0;
efc5f224 3206 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3207
3208 self = self;
efc5f224 3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
8ab979d7 3210 return NULL;
1d99702e
RD
3211 if (_argo0) {
3212 if (_argo0 == Py_None) { _arg0 = NULL; }
3213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3215 return NULL;
3216 }
3217 }
cf694132
RD
3218{
3219 wxPy_BEGIN_ALLOW_THREADS;
3220 wxComboBox_SetInsertionPointEnd(_arg0);
3221
3222 wxPy_END_ALLOW_THREADS;
493f1553 3223 if (PyErr_Occurred()) return NULL;
cf694132 3224} Py_INCREF(Py_None);
8ab979d7
RD
3225 _resultobj = Py_None;
3226 return _resultobj;
3227}
3228
1d99702e 3229#define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 3230static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1d99702e
RD
3231 PyObject * _resultobj;
3232 wxComboBox * _arg0;
3233 int _arg1;
3234 PyObject * _argo0 = 0;
efc5f224 3235 char *_kwnames[] = { "self","n", NULL };
1d99702e
RD
3236
3237 self = self;
efc5f224 3238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
1d99702e
RD
3239 return NULL;
3240 if (_argo0) {
3241 if (_argo0 == Py_None) { _arg0 = NULL; }
3242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3244 return NULL;
3245 }
3246 }
3247{
3248 wxPy_BEGIN_ALLOW_THREADS;
3249 wxComboBox_SetSelection(_arg0,_arg1);
3250
3251 wxPy_END_ALLOW_THREADS;
493f1553 3252 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3253} Py_INCREF(Py_None);
3254 _resultobj = Py_None;
3255 return _resultobj;
3256}
3257
8ab979d7 3258#define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
efc5f224 3259static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3260 PyObject * _resultobj;
3261 wxComboBox * _arg0;
3262 long _arg1;
3263 long _arg2;
1d99702e 3264 PyObject * _argo0 = 0;
efc5f224 3265 char *_kwnames[] = { "self","from","to", NULL };
8ab979d7
RD
3266
3267 self = self;
efc5f224 3268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3269 return NULL;
1d99702e
RD
3270 if (_argo0) {
3271 if (_argo0 == Py_None) { _arg0 = NULL; }
3272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3274 return NULL;
3275 }
3276 }
cf694132
RD
3277{
3278 wxPy_BEGIN_ALLOW_THREADS;
3279 wxComboBox_SetMark(_arg0,_arg1,_arg2);
3280
3281 wxPy_END_ALLOW_THREADS;
493f1553 3282 if (PyErr_Occurred()) return NULL;
cf694132 3283} Py_INCREF(Py_None);
8ab979d7
RD
3284 _resultobj = Py_None;
3285 return _resultobj;
3286}
3287
3288#define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 3289static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3290 PyObject * _resultobj;
3291 wxComboBox * _arg0;
3292 wxString * _arg1;
1d99702e 3293 PyObject * _argo0 = 0;
8ab979d7 3294 PyObject * _obj1 = 0;
efc5f224 3295 char *_kwnames[] = { "self","text", NULL };
8ab979d7
RD
3296
3297 self = self;
efc5f224 3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
8ab979d7 3299 return NULL;
1d99702e
RD
3300 if (_argo0) {
3301 if (_argo0 == Py_None) { _arg0 = NULL; }
3302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3304 return NULL;
3305 }
3306 }
3307{
185d7c3e
RD
3308#if PYTHON_API_VERSION >= 1009
3309 char* tmpPtr; int tmpSize;
3310 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 3311 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
3312 return NULL;
3313 }
3314 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3315 return NULL;
3316 _arg1 = new wxString(tmpPtr, tmpSize);
3317#else
8ab979d7
RD
3318 if (!PyString_Check(_obj1)) {
3319 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3320 return NULL;
3321 }
185d7c3e
RD
3322 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3323#endif
8ab979d7 3324}
cf694132
RD
3325{
3326 wxPy_BEGIN_ALLOW_THREADS;
3327 wxComboBox_SetValue(_arg0,*_arg1);
3328
3329 wxPy_END_ALLOW_THREADS;
493f1553 3330 if (PyErr_Occurred()) return NULL;
cf694132 3331} Py_INCREF(Py_None);
8ab979d7
RD
3332 _resultobj = Py_None;
3333{
3334 if (_obj1)
3335 delete _arg1;
3336}
3337 return _resultobj;
3338}
3339
0adbc166
RD
3340#define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3341static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject * _resultobj;
3343 wxComboBox * _arg0;
3344 bool _arg1;
3345 PyObject * _argo0 = 0;
3346 int tempbool1;
3347 char *_kwnames[] = { "self","editable", NULL };
3348
3349 self = self;
3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3351 return NULL;
3352 if (_argo0) {
3353 if (_argo0 == Py_None) { _arg0 = NULL; }
3354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3356 return NULL;
3357 }
3358 }
3359 _arg1 = (bool ) tempbool1;
3360{
3361 wxPy_BEGIN_ALLOW_THREADS;
3362 wxComboBox_SetEditable(_arg0,_arg1);
3363
3364 wxPy_END_ALLOW_THREADS;
3365 if (PyErr_Occurred()) return NULL;
3366} Py_INCREF(Py_None);
3367 _resultobj = Py_None;
3368 return _resultobj;
3369}
3370
8ab979d7
RD
3371static void *SwigwxGaugeTowxControl(void *ptr) {
3372 wxGauge *src;
3373 wxControl *dest;
3374 src = (wxGauge *) ptr;
3375 dest = (wxControl *) src;
3376 return (void *) dest;
3377}
3378
3379static void *SwigwxGaugeTowxWindow(void *ptr) {
3380 wxGauge *src;
3381 wxWindow *dest;
3382 src = (wxGauge *) ptr;
3383 dest = (wxWindow *) src;
3384 return (void *) dest;
3385}
3386
3387static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3388 wxGauge *src;
3389 wxEvtHandler *dest;
3390 src = (wxGauge *) ptr;
3391 dest = (wxEvtHandler *) src;
3392 return (void *) dest;
3393}
3394
9416aa89
RD
3395static void *SwigwxGaugeTowxObject(void *ptr) {
3396 wxGauge *src;
3397 wxObject *dest;
3398 src = (wxGauge *) ptr;
3399 dest = (wxObject *) src;
3400 return (void *) dest;
3401}
3402
8ab979d7 3403#define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 3404static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3405 PyObject * _resultobj;
3406 wxGauge * _result;
3407 wxWindow * _arg0;
3408 wxWindowID _arg1;
3409 int _arg2;
e508a2b6
RD
3410 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3411 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 3412 long _arg5 = (long ) wxGA_HORIZONTAL;
e508a2b6 3413 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
3414 char * _arg7 = (char *) "gauge";
3415 PyObject * _argo0 = 0;
2f90df85
RD
3416 wxPoint temp;
3417 PyObject * _obj3 = 0;
3418 wxSize temp0;
3419 PyObject * _obj4 = 0;
1d99702e 3420 PyObject * _argo6 = 0;
efc5f224 3421 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
8ab979d7
RD
3422 char _ptemp[128];
3423
3424 self = self;
2f90df85 3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOs:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
8ab979d7 3426 return NULL;
1d99702e
RD
3427 if (_argo0) {
3428 if (_argo0 == Py_None) { _arg0 = NULL; }
3429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3431 return NULL;
3432 }
3433 }
2f90df85
RD
3434 if (_obj3)
3435{
3436 _arg3 = &temp;
3437 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 3438 return NULL;
2f90df85
RD
3439}
3440 if (_obj4)
3441{
3442 _arg4 = &temp0;
3443 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 3444 return NULL;
2f90df85 3445}
1d99702e
RD
3446 if (_argo6) {
3447 if (_argo6 == Py_None) { _arg6 = NULL; }
3448 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
3449 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3450 return NULL;
3451 }
3452 }
cf694132
RD
3453{
3454 wxPy_BEGIN_ALLOW_THREADS;
3455 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3456
3457 wxPy_END_ALLOW_THREADS;
493f1553 3458 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3459} if (_result) {
3460 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3461 _resultobj = Py_BuildValue("s",_ptemp);
3462 } else {
3463 Py_INCREF(Py_None);
3464 _resultobj = Py_None;
3465 }
8ab979d7
RD
3466 return _resultobj;
3467}
3468
09f3d4e6
RD
3469#define new_wxPreGauge() (new wxGauge())
3470static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3471 PyObject * _resultobj;
3472 wxGauge * _result;
3473 char *_kwnames[] = { NULL };
3474 char _ptemp[128];
3475
3476 self = self;
3477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
3478 return NULL;
3479{
3480 wxPy_BEGIN_ALLOW_THREADS;
3481 _result = (wxGauge *)new_wxPreGauge();
3482
3483 wxPy_END_ALLOW_THREADS;
3484 if (PyErr_Occurred()) return NULL;
3485} if (_result) {
3486 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3487 _resultobj = Py_BuildValue("s",_ptemp);
3488 } else {
3489 Py_INCREF(Py_None);
3490 _resultobj = Py_None;
3491 }
3492 return _resultobj;
3493}
3494
3495#define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3496static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3497 PyObject * _resultobj;
3498 bool _result;
3499 wxGauge * _arg0;
3500 wxWindow * _arg1;
3501 wxWindowID _arg2;
3502 int _arg3;
3503 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3504 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3505 long _arg6 = (long ) wxGA_HORIZONTAL;
3506 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
3507 char * _arg8 = (char *) "gauge";
3508 PyObject * _argo0 = 0;
3509 PyObject * _argo1 = 0;
3510 wxPoint temp;
3511 PyObject * _obj4 = 0;
3512 wxSize temp0;
3513 PyObject * _obj5 = 0;
3514 PyObject * _argo7 = 0;
3515 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
3516
3517 self = self;
3518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOs:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
3519 return NULL;
3520 if (_argo0) {
3521 if (_argo0 == Py_None) { _arg0 = NULL; }
3522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3524 return NULL;
3525 }
3526 }
3527 if (_argo1) {
3528 if (_argo1 == Py_None) { _arg1 = NULL; }
3529 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3530 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3531 return NULL;
3532 }
3533 }
3534 if (_obj4)
3535{
3536 _arg4 = &temp;
3537 if (! wxPoint_helper(_obj4, &_arg4))
3538 return NULL;
3539}
3540 if (_obj5)
3541{
3542 _arg5 = &temp0;
3543 if (! wxSize_helper(_obj5, &_arg5))
3544 return NULL;
3545}
3546 if (_argo7) {
3547 if (_argo7 == Py_None) { _arg7 = NULL; }
3548 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
3549 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3550 return NULL;
3551 }
3552 }
3553{
3554 wxPy_BEGIN_ALLOW_THREADS;
3555 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
3556
3557 wxPy_END_ALLOW_THREADS;
3558 if (PyErr_Occurred()) return NULL;
3559} _resultobj = Py_BuildValue("i",_result);
3560 return _resultobj;
3561}
3562
8ab979d7 3563#define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
efc5f224 3564static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3565 PyObject * _resultobj;
3566 int _result;
3567 wxGauge * _arg0;
1d99702e 3568 PyObject * _argo0 = 0;
efc5f224 3569 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3570
3571 self = self;
efc5f224 3572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
8ab979d7 3573 return NULL;
1d99702e
RD
3574 if (_argo0) {
3575 if (_argo0 == Py_None) { _arg0 = NULL; }
3576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3578 return NULL;
3579 }
3580 }
cf694132
RD
3581{
3582 wxPy_BEGIN_ALLOW_THREADS;
3583 _result = (int )wxGauge_GetBezelFace(_arg0);
3584
3585 wxPy_END_ALLOW_THREADS;
493f1553 3586 if (PyErr_Occurred()) return NULL;
cf694132 3587} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3588 return _resultobj;
3589}
3590
3591#define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
efc5f224 3592static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3593 PyObject * _resultobj;
3594 int _result;
3595 wxGauge * _arg0;
1d99702e 3596 PyObject * _argo0 = 0;
efc5f224 3597 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3598
3599 self = self;
efc5f224 3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
8ab979d7 3601 return NULL;
1d99702e
RD
3602 if (_argo0) {
3603 if (_argo0 == Py_None) { _arg0 = NULL; }
3604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3606 return NULL;
3607 }
3608 }
cf694132
RD
3609{
3610 wxPy_BEGIN_ALLOW_THREADS;
3611 _result = (int )wxGauge_GetRange(_arg0);
3612
3613 wxPy_END_ALLOW_THREADS;
493f1553 3614 if (PyErr_Occurred()) return NULL;
cf694132 3615} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3616 return _resultobj;
3617}
3618
3619#define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
efc5f224 3620static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3621 PyObject * _resultobj;
3622 int _result;
3623 wxGauge * _arg0;
1d99702e 3624 PyObject * _argo0 = 0;
efc5f224 3625 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3626
3627 self = self;
efc5f224 3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
8ab979d7 3629 return NULL;
1d99702e
RD
3630 if (_argo0) {
3631 if (_argo0 == Py_None) { _arg0 = NULL; }
3632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3634 return NULL;
3635 }
3636 }
cf694132
RD
3637{
3638 wxPy_BEGIN_ALLOW_THREADS;
3639 _result = (int )wxGauge_GetShadowWidth(_arg0);
3640
3641 wxPy_END_ALLOW_THREADS;
493f1553 3642 if (PyErr_Occurred()) return NULL;
cf694132 3643} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3644 return _resultobj;
3645}
3646
3647#define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 3648static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3649 PyObject * _resultobj;
3650 int _result;
3651 wxGauge * _arg0;
1d99702e 3652 PyObject * _argo0 = 0;
efc5f224 3653 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3654
3655 self = self;
efc5f224 3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
8ab979d7 3657 return NULL;
1d99702e
RD
3658 if (_argo0) {
3659 if (_argo0 == Py_None) { _arg0 = NULL; }
3660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3662 return NULL;
3663 }
3664 }
cf694132
RD
3665{
3666 wxPy_BEGIN_ALLOW_THREADS;
3667 _result = (int )wxGauge_GetValue(_arg0);
3668
3669 wxPy_END_ALLOW_THREADS;
493f1553 3670 if (PyErr_Occurred()) return NULL;
cf694132 3671} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3672 return _resultobj;
3673}
3674
3675#define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
efc5f224 3676static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3677 PyObject * _resultobj;
3678 wxGauge * _arg0;
3679 int _arg1;
1d99702e 3680 PyObject * _argo0 = 0;
efc5f224 3681 char *_kwnames[] = { "self","width", NULL };
8ab979d7
RD
3682
3683 self = self;
efc5f224 3684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
8ab979d7 3685 return NULL;
1d99702e
RD
3686 if (_argo0) {
3687 if (_argo0 == Py_None) { _arg0 = NULL; }
3688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3690 return NULL;
3691 }
3692 }
cf694132
RD
3693{
3694 wxPy_BEGIN_ALLOW_THREADS;
3695 wxGauge_SetBezelFace(_arg0,_arg1);
3696
3697 wxPy_END_ALLOW_THREADS;
493f1553 3698 if (PyErr_Occurred()) return NULL;
cf694132 3699} Py_INCREF(Py_None);
8ab979d7
RD
3700 _resultobj = Py_None;
3701 return _resultobj;
3702}
3703
3704#define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
efc5f224 3705static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3706 PyObject * _resultobj;
3707 wxGauge * _arg0;
3708 int _arg1;
1d99702e 3709 PyObject * _argo0 = 0;
efc5f224 3710 char *_kwnames[] = { "self","range", NULL };
8ab979d7
RD
3711
3712 self = self;
efc5f224 3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
8ab979d7 3714 return NULL;
1d99702e
RD
3715 if (_argo0) {
3716 if (_argo0 == Py_None) { _arg0 = NULL; }
3717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3719 return NULL;
3720 }
3721 }
cf694132
RD
3722{
3723 wxPy_BEGIN_ALLOW_THREADS;
3724 wxGauge_SetRange(_arg0,_arg1);
3725
3726 wxPy_END_ALLOW_THREADS;
493f1553 3727 if (PyErr_Occurred()) return NULL;
cf694132 3728} Py_INCREF(Py_None);
8ab979d7
RD
3729 _resultobj = Py_None;
3730 return _resultobj;
3731}
3732
3733#define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
efc5f224 3734static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3735 PyObject * _resultobj;
3736 wxGauge * _arg0;
3737 int _arg1;
1d99702e 3738 PyObject * _argo0 = 0;
efc5f224 3739 char *_kwnames[] = { "self","width", NULL };
8ab979d7
RD
3740
3741 self = self;
efc5f224 3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3743 return NULL;
1d99702e
RD
3744 if (_argo0) {
3745 if (_argo0 == Py_None) { _arg0 = NULL; }
3746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3748 return NULL;
3749 }
3750 }
cf694132
RD
3751{
3752 wxPy_BEGIN_ALLOW_THREADS;
3753 wxGauge_SetShadowWidth(_arg0,_arg1);
3754
3755 wxPy_END_ALLOW_THREADS;
493f1553 3756 if (PyErr_Occurred()) return NULL;
cf694132 3757} Py_INCREF(Py_None);
8ab979d7
RD
3758 _resultobj = Py_None;
3759 return _resultobj;
3760}
3761
3762#define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 3763static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3764 PyObject * _resultobj;
3765 wxGauge * _arg0;
3766 int _arg1;
1d99702e 3767 PyObject * _argo0 = 0;
efc5f224 3768 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
3769
3770 self = self;
efc5f224 3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
8ab979d7 3772 return NULL;
1d99702e
RD
3773 if (_argo0) {
3774 if (_argo0 == Py_None) { _arg0 = NULL; }
3775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3777 return NULL;
3778 }
3779 }
cf694132
RD
3780{
3781 wxPy_BEGIN_ALLOW_THREADS;
3782 wxGauge_SetValue(_arg0,_arg1);
3783
3784 wxPy_END_ALLOW_THREADS;
493f1553 3785 if (PyErr_Occurred()) return NULL;
cf694132 3786} Py_INCREF(Py_None);
8ab979d7
RD
3787 _resultobj = Py_None;
3788 return _resultobj;
3789}
3790
3791static void *SwigwxStaticBoxTowxControl(void *ptr) {
3792 wxStaticBox *src;
3793 wxControl *dest;
3794 src = (wxStaticBox *) ptr;
3795 dest = (wxControl *) src;
3796 return (void *) dest;
3797}
3798
3799static void *SwigwxStaticBoxTowxWindow(void *ptr) {
3800 wxStaticBox *src;
3801 wxWindow *dest;
3802 src = (wxStaticBox *) ptr;
3803 dest = (wxWindow *) src;
3804 return (void *) dest;
3805}
3806
3807static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
3808 wxStaticBox *src;
3809 wxEvtHandler *dest;
3810 src = (wxStaticBox *) ptr;
3811 dest = (wxEvtHandler *) src;
3812 return (void *) dest;
3813}
3814
9416aa89
RD
3815static void *SwigwxStaticBoxTowxObject(void *ptr) {
3816 wxStaticBox *src;
3817 wxObject *dest;
3818 src = (wxStaticBox *) ptr;
3819 dest = (wxObject *) src;
3820 return (void *) dest;
3821}
3822
8ab979d7 3823#define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 3824static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3825 PyObject * _resultobj;
3826 wxStaticBox * _result;
3827 wxWindow * _arg0;
3828 wxWindowID _arg1;
3829 wxString * _arg2;
e508a2b6
RD
3830 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3831 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
3832 long _arg5 = (long ) 0;
3833 char * _arg6 = (char *) "staticBox";
3834 PyObject * _argo0 = 0;
8ab979d7 3835 PyObject * _obj2 = 0;
2f90df85
RD
3836 wxPoint temp;
3837 PyObject * _obj3 = 0;
3838 wxSize temp0;
3839 PyObject * _obj4 = 0;
efc5f224 3840 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
8ab979d7
RD
3841 char _ptemp[128];
3842
3843 self = self;
2f90df85 3844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
8ab979d7 3845 return NULL;
1d99702e
RD
3846 if (_argo0) {
3847 if (_argo0 == Py_None) { _arg0 = NULL; }
3848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3850 return NULL;
3851 }
3852 }
3853{
185d7c3e
RD
3854#if PYTHON_API_VERSION >= 1009
3855 char* tmpPtr; int tmpSize;
3856 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 3857 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
3858 return NULL;
3859 }
3860 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3861 return NULL;
3862 _arg2 = new wxString(tmpPtr, tmpSize);
3863#else
8ab979d7
RD
3864 if (!PyString_Check(_obj2)) {
3865 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3866 return NULL;
3867 }
185d7c3e
RD
3868 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3869#endif
8ab979d7 3870}
2f90df85
RD
3871 if (_obj3)
3872{
3873 _arg3 = &temp;
3874 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 3875 return NULL;
2f90df85
RD
3876}
3877 if (_obj4)
3878{
3879 _arg4 = &temp0;
3880 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 3881 return NULL;
2f90df85 3882}
cf694132
RD
3883{
3884 wxPy_BEGIN_ALLOW_THREADS;
3885 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
3886
3887 wxPy_END_ALLOW_THREADS;
493f1553 3888 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3889} if (_result) {
3890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3891 _resultobj = Py_BuildValue("s",_ptemp);
3892 } else {
3893 Py_INCREF(Py_None);
3894 _resultobj = Py_None;
3895 }
8ab979d7
RD
3896{
3897 if (_obj2)
3898 delete _arg2;
3899}
3900 return _resultobj;
3901}
3902
09f3d4e6
RD
3903#define new_wxPreStaticBox() (new wxStaticBox())
3904static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3905 PyObject * _resultobj;
3906 wxStaticBox * _result;
3907 char *_kwnames[] = { NULL };
3908 char _ptemp[128];
3909
3910 self = self;
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
3912 return NULL;
3913{
3914 wxPy_BEGIN_ALLOW_THREADS;
3915 _result = (wxStaticBox *)new_wxPreStaticBox();
3916
3917 wxPy_END_ALLOW_THREADS;
3918 if (PyErr_Occurred()) return NULL;
3919} if (_result) {
3920 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3921 _resultobj = Py_BuildValue("s",_ptemp);
3922 } else {
3923 Py_INCREF(Py_None);
3924 _resultobj = Py_None;
3925 }
3926 return _resultobj;
3927}
3928
3929#define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3930static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3931 PyObject * _resultobj;
3932 bool _result;
3933 wxStaticBox * _arg0;
3934 wxWindow * _arg1;
3935 wxWindowID _arg2;
3936 wxString * _arg3;
3937 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3938 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3939 long _arg6 = (long ) 0;
3940 char * _arg7 = (char *) "staticBox";
3941 PyObject * _argo0 = 0;
3942 PyObject * _argo1 = 0;
3943 PyObject * _obj3 = 0;
3944 wxPoint temp;
3945 PyObject * _obj4 = 0;
3946 wxSize temp0;
3947 PyObject * _obj5 = 0;
3948 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
3949
3950 self = self;
3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
3952 return NULL;
3953 if (_argo0) {
3954 if (_argo0 == Py_None) { _arg0 = NULL; }
3955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
3956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3957 return NULL;
3958 }
3959 }
3960 if (_argo1) {
3961 if (_argo1 == Py_None) { _arg1 = NULL; }
3962 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3963 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3964 return NULL;
3965 }
3966 }
3967{
3968#if PYTHON_API_VERSION >= 1009
3969 char* tmpPtr; int tmpSize;
3970 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
3971 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3972 return NULL;
3973 }
3974 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
3975 return NULL;
3976 _arg3 = new wxString(tmpPtr, tmpSize);
3977#else
3978 if (!PyString_Check(_obj3)) {
3979 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3980 return NULL;
3981 }
3982 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
3983#endif
3984}
3985 if (_obj4)
3986{
3987 _arg4 = &temp;
3988 if (! wxPoint_helper(_obj4, &_arg4))
3989 return NULL;
3990}
3991 if (_obj5)
3992{
3993 _arg5 = &temp0;
3994 if (! wxSize_helper(_obj5, &_arg5))
3995 return NULL;
3996}
3997{
3998 wxPy_BEGIN_ALLOW_THREADS;
3999 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
4000
4001 wxPy_END_ALLOW_THREADS;
4002 if (PyErr_Occurred()) return NULL;
4003} _resultobj = Py_BuildValue("i",_result);
4004{
4005 if (_obj3)
4006 delete _arg3;
4007}
4008 return _resultobj;
4009}
4010
8bf5d46e
RD
4011static void *SwigwxStaticLineTowxControl(void *ptr) {
4012 wxStaticLine *src;
4013 wxControl *dest;
4014 src = (wxStaticLine *) ptr;
4015 dest = (wxControl *) src;
4016 return (void *) dest;
4017}
4018
4019static void *SwigwxStaticLineTowxWindow(void *ptr) {
4020 wxStaticLine *src;
4021 wxWindow *dest;
4022 src = (wxStaticLine *) ptr;
4023 dest = (wxWindow *) src;
4024 return (void *) dest;
4025}
4026
4027static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
4028 wxStaticLine *src;
4029 wxEvtHandler *dest;
4030 src = (wxStaticLine *) ptr;
4031 dest = (wxEvtHandler *) src;
4032 return (void *) dest;
4033}
4034
9416aa89
RD
4035static void *SwigwxStaticLineTowxObject(void *ptr) {
4036 wxStaticLine *src;
4037 wxObject *dest;
4038 src = (wxStaticLine *) ptr;
4039 dest = (wxObject *) src;
4040 return (void *) dest;
4041}
4042
8bf5d46e 4043#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 4044static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
4045 PyObject * _resultobj;
4046 wxStaticLine * _result;
4047 wxWindow * _arg0;
4048 wxWindowID _arg1;
e508a2b6
RD
4049 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4050 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e
RD
4051 long _arg4 = (long ) wxLI_HORIZONTAL;
4052 char * _arg5 = (char *) "staticLine";
4053 PyObject * _argo0 = 0;
2f90df85
RD
4054 wxPoint temp;
4055 PyObject * _obj2 = 0;
4056 wxSize temp0;
4057 PyObject * _obj3 = 0;
efc5f224 4058 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8bf5d46e
RD
4059 char _ptemp[128];
4060
4061 self = self;
2f90df85 4062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
8bf5d46e 4063 return NULL;
1d99702e
RD
4064 if (_argo0) {
4065 if (_argo0 == Py_None) { _arg0 = NULL; }
4066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
4067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4068 return NULL;
4069 }
4070 }
2f90df85
RD
4071 if (_obj2)
4072{
4073 _arg2 = &temp;
4074 if (! wxPoint_helper(_obj2, &_arg2))
8bf5d46e 4075 return NULL;
2f90df85
RD
4076}
4077 if (_obj3)
4078{
4079 _arg3 = &temp0;
4080 if (! wxSize_helper(_obj3, &_arg3))
8bf5d46e 4081 return NULL;
2f90df85 4082}
8bf5d46e
RD
4083{
4084 wxPy_BEGIN_ALLOW_THREADS;
4085 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4086
4087 wxPy_END_ALLOW_THREADS;
493f1553 4088 if (PyErr_Occurred()) return NULL;
1d99702e
RD
4089} if (_result) {
4090 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4091 _resultobj = Py_BuildValue("s",_ptemp);
4092 } else {
4093 Py_INCREF(Py_None);
4094 _resultobj = Py_None;
4095 }
8bf5d46e
RD
4096 return _resultobj;
4097}
4098
09f3d4e6
RD
4099#define new_wxPreStaticLine() (new wxStaticLine())
4100static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4101 PyObject * _resultobj;
4102 wxStaticLine * _result;
4103 char *_kwnames[] = { NULL };
4104 char _ptemp[128];
4105
4106 self = self;
4107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4108 return NULL;
4109{
4110 wxPy_BEGIN_ALLOW_THREADS;
4111 _result = (wxStaticLine *)new_wxPreStaticLine();
4112
4113 wxPy_END_ALLOW_THREADS;
4114 if (PyErr_Occurred()) return NULL;
4115} if (_result) {
4116 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4117 _resultobj = Py_BuildValue("s",_ptemp);
4118 } else {
4119 Py_INCREF(Py_None);
4120 _resultobj = Py_None;
4121 }
4122 return _resultobj;
4123}
4124
4125#define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4126static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4127 PyObject * _resultobj;
4128 bool _result;
4129 wxStaticLine * _arg0;
4130 wxWindow * _arg1;
4131 wxWindowID _arg2;
4132 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4133 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4134 long _arg5 = (long ) wxLI_HORIZONTAL;
4135 char * _arg6 = (char *) "staticLine";
4136 PyObject * _argo0 = 0;
4137 PyObject * _argo1 = 0;
4138 wxPoint temp;
4139 PyObject * _obj3 = 0;
4140 wxSize temp0;
4141 PyObject * _obj4 = 0;
4142 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4143
4144 self = self;
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
4146 return NULL;
4147 if (_argo0) {
4148 if (_argo0 == Py_None) { _arg0 = NULL; }
4149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4151 return NULL;
4152 }
4153 }
4154 if (_argo1) {
4155 if (_argo1 == Py_None) { _arg1 = NULL; }
4156 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4157 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4158 return NULL;
4159 }
4160 }
4161 if (_obj3)
4162{
4163 _arg3 = &temp;
4164 if (! wxPoint_helper(_obj3, &_arg3))
4165 return NULL;
4166}
4167 if (_obj4)
4168{
4169 _arg4 = &temp0;
4170 if (! wxSize_helper(_obj4, &_arg4))
4171 return NULL;
4172}
4173{
4174 wxPy_BEGIN_ALLOW_THREADS;
4175 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
4176
4177 wxPy_END_ALLOW_THREADS;
4178 if (PyErr_Occurred()) return NULL;
4179} _resultobj = Py_BuildValue("i",_result);
4180 return _resultobj;
4181}
4182
8ab979d7
RD
4183static void *SwigwxStaticTextTowxControl(void *ptr) {
4184 wxStaticText *src;
4185 wxControl *dest;
4186 src = (wxStaticText *) ptr;
4187 dest = (wxControl *) src;
4188 return (void *) dest;
4189}
4190
4191static void *SwigwxStaticTextTowxWindow(void *ptr) {
4192 wxStaticText *src;
4193 wxWindow *dest;
4194 src = (wxStaticText *) ptr;
4195 dest = (wxWindow *) src;
4196 return (void *) dest;
4197}
4198
4199static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4200 wxStaticText *src;
4201 wxEvtHandler *dest;
4202 src = (wxStaticText *) ptr;
4203 dest = (wxEvtHandler *) src;
4204 return (void *) dest;
4205}
4206
9416aa89
RD
4207static void *SwigwxStaticTextTowxObject(void *ptr) {
4208 wxStaticText *src;
4209 wxObject *dest;
4210 src = (wxStaticText *) ptr;
4211 dest = (wxObject *) src;
4212 return (void *) dest;
4213}
4214
8ab979d7 4215#define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 4216static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4217 PyObject * _resultobj;
4218 wxStaticText * _result;
4219 wxWindow * _arg0;
4220 wxWindowID _arg1;
4221 wxString * _arg2;
e508a2b6
RD
4222 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4223 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
4224 long _arg5 = (long ) 0;
4225 char * _arg6 = (char *) "staticText";
4226 PyObject * _argo0 = 0;
8ab979d7 4227 PyObject * _obj2 = 0;
2f90df85
RD
4228 wxPoint temp;
4229 PyObject * _obj3 = 0;
4230 wxSize temp0;
4231 PyObject * _obj4 = 0;
efc5f224 4232 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
8ab979d7
RD
4233 char _ptemp[128];
4234
4235 self = self;
2f90df85 4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
8ab979d7 4237 return NULL;
1d99702e
RD
4238 if (_argo0) {
4239 if (_argo0 == Py_None) { _arg0 = NULL; }
4240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4242 return NULL;
4243 }
4244 }
4245{
185d7c3e
RD
4246#if PYTHON_API_VERSION >= 1009
4247 char* tmpPtr; int tmpSize;
4248 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 4249 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
4250 return NULL;
4251 }
4252 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4253 return NULL;
4254 _arg2 = new wxString(tmpPtr, tmpSize);
4255#else
8ab979d7
RD
4256 if (!PyString_Check(_obj2)) {
4257 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4258 return NULL;
4259 }
185d7c3e
RD
4260 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4261#endif
8ab979d7 4262}
2f90df85
RD
4263 if (_obj3)
4264{
4265 _arg3 = &temp;
4266 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 4267 return NULL;
2f90df85
RD
4268}
4269 if (_obj4)
4270{
4271 _arg4 = &temp0;
4272 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 4273 return NULL;
2f90df85 4274}
cf694132
RD
4275{
4276 wxPy_BEGIN_ALLOW_THREADS;
4277 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4278
4279 wxPy_END_ALLOW_THREADS;
493f1553 4280 if (PyErr_Occurred()) return NULL;
1d99702e
RD
4281} if (_result) {
4282 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4283 _resultobj = Py_BuildValue("s",_ptemp);
4284 } else {
4285 Py_INCREF(Py_None);
4286 _resultobj = Py_None;
4287 }
8ab979d7
RD
4288{
4289 if (_obj2)
4290 delete _arg2;
4291}
4292 return _resultobj;
4293}
4294
09f3d4e6
RD
4295#define new_wxPreStaticText() (new wxStaticText())
4296static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4297 PyObject * _resultobj;
4298 wxStaticText * _result;
4299 char *_kwnames[] = { NULL };
4300 char _ptemp[128];
4301
4302 self = self;
4303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4304 return NULL;
4305{
4306 wxPy_BEGIN_ALLOW_THREADS;
4307 _result = (wxStaticText *)new_wxPreStaticText();
4308
4309 wxPy_END_ALLOW_THREADS;
4310 if (PyErr_Occurred()) return NULL;
4311} if (_result) {
4312 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4313 _resultobj = Py_BuildValue("s",_ptemp);
4314 } else {
4315 Py_INCREF(Py_None);
4316 _resultobj = Py_None;
4317 }
4318 return _resultobj;
4319}
4320
4321#define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4322static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject * _resultobj;
4324 bool _result;
4325 wxStaticText * _arg0;
4326 wxWindow * _arg1;
4327 wxWindowID _arg2;
4328 wxString * _arg3;
4329 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4330 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4331 long _arg6 = (long ) 0;
4332 char * _arg7 = (char *) "staticText";
4333 PyObject * _argo0 = 0;
4334 PyObject * _argo1 = 0;
4335 PyObject * _obj3 = 0;
4336 wxPoint temp;
4337 PyObject * _obj4 = 0;
4338 wxSize temp0;
4339 PyObject * _obj5 = 0;
4340 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4341
4342 self = self;
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
4344 return NULL;
4345 if (_argo0) {
4346 if (_argo0 == Py_None) { _arg0 = NULL; }
4347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4349 return NULL;
4350 }
4351 }
4352 if (_argo1) {
4353 if (_argo1 == Py_None) { _arg1 = NULL; }
4354 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4355 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4356 return NULL;
4357 }
4358 }
4359{
4360#if PYTHON_API_VERSION >= 1009
4361 char* tmpPtr; int tmpSize;
4362 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4363 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4364 return NULL;
4365 }
4366 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4367 return NULL;
4368 _arg3 = new wxString(tmpPtr, tmpSize);
4369#else
4370 if (!PyString_Check(_obj3)) {
4371 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4372 return NULL;
4373 }
4374 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4375#endif
4376}
4377 if (_obj4)
4378{
4379 _arg4 = &temp;
4380 if (! wxPoint_helper(_obj4, &_arg4))
4381 return NULL;
4382}
4383 if (_obj5)
4384{
4385 _arg5 = &temp0;
4386 if (! wxSize_helper(_obj5, &_arg5))
4387 return NULL;
4388}
4389{
4390 wxPy_BEGIN_ALLOW_THREADS;
4391 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
4392
4393 wxPy_END_ALLOW_THREADS;
4394 if (PyErr_Occurred()) return NULL;
4395} _resultobj = Py_BuildValue("i",_result);
4396{
4397 if (_obj3)
4398 delete _arg3;
4399}
4400 return _resultobj;
4401}
4402
8ab979d7 4403#define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 4404static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4405 PyObject * _resultobj;
4406 wxString * _result;
4407 wxStaticText * _arg0;
1d99702e 4408 PyObject * _argo0 = 0;
efc5f224 4409 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4410
4411 self = self;
efc5f224 4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
8ab979d7 4413 return NULL;
1d99702e
RD
4414 if (_argo0) {
4415 if (_argo0 == Py_None) { _arg0 = NULL; }
4416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
8ab979d7
RD
4417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4418 return NULL;
4419 }
4420 }
8ab979d7 4421{
cf694132
RD
4422 wxPy_BEGIN_ALLOW_THREADS;
4423 _result = new wxString (wxStaticText_GetLabel(_arg0));
4424
4425 wxPy_END_ALLOW_THREADS;
493f1553 4426 if (PyErr_Occurred()) return NULL;
cf694132 4427}{
eec92d76 4428 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
4429}
4430{
4431 delete _result;
4432}
4433 return _resultobj;
4434}
4435
4436#define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 4437static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4438 PyObject * _resultobj;
4439 wxStaticText * _arg0;
4440 wxString * _arg1;
1d99702e 4441 PyObject * _argo0 = 0;
8ab979d7 4442 PyObject * _obj1 = 0;
efc5f224 4443 char *_kwnames[] = { "self","label", NULL };
8ab979d7
RD
4444
4445 self = self;
efc5f224 4446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
8ab979d7 4447 return NULL;
1d99702e
RD
4448 if (_argo0) {
4449 if (_argo0 == Py_None) { _arg0 = NULL; }
4450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
8ab979d7
RD
4451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4452 return NULL;
4453 }
4454 }
4455{
185d7c3e
RD
4456#if PYTHON_API_VERSION >= 1009
4457 char* tmpPtr; int tmpSize;
4458 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 4459 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
4460 return NULL;
4461 }
4462 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4463 return NULL;
4464 _arg1 = new wxString(tmpPtr, tmpSize);
4465#else
8ab979d7
RD
4466 if (!PyString_Check(_obj1)) {
4467 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4468 return NULL;
4469 }
185d7c3e
RD
4470 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4471#endif
8ab979d7 4472}
cf694132
RD
4473{
4474 wxPy_BEGIN_ALLOW_THREADS;
4475 wxStaticText_SetLabel(_arg0,*_arg1);
4476
4477 wxPy_END_ALLOW_THREADS;
493f1553 4478 if (PyErr_Occurred()) return NULL;
cf694132 4479} Py_INCREF(Py_None);
8ab979d7
RD
4480 _resultobj = Py_None;
4481{
4482 if (_obj1)
4483 delete _arg1;
4484}
4485 return _resultobj;
4486}
4487
900d9886
RD
4488static void *SwigwxListBoxTowxControlWithItems(void *ptr) {
4489 wxListBox *src;
4490 wxControlWithItems *dest;
4491 src = (wxListBox *) ptr;
4492 dest = (wxControlWithItems *) src;
4493 return (void *) dest;
4494}
4495
8ab979d7
RD
4496static void *SwigwxListBoxTowxControl(void *ptr) {
4497 wxListBox *src;
4498 wxControl *dest;
4499 src = (wxListBox *) ptr;
4500 dest = (wxControl *) src;
4501 return (void *) dest;
4502}
4503
4504static void *SwigwxListBoxTowxWindow(void *ptr) {
4505 wxListBox *src;
4506 wxWindow *dest;
4507 src = (wxListBox *) ptr;
4508 dest = (wxWindow *) src;
4509 return (void *) dest;
4510}
4511
4512static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
4513 wxListBox *src;
4514 wxEvtHandler *dest;
4515 src = (wxListBox *) ptr;
4516 dest = (wxEvtHandler *) src;
4517 return (void *) dest;
4518}
4519
9416aa89
RD
4520static void *SwigwxListBoxTowxObject(void *ptr) {
4521 wxListBox *src;
4522 wxObject *dest;
4523 src = (wxListBox *) ptr;
4524 dest = (wxObject *) src;
4525 return (void *) dest;
4526}
4527
09f3d4e6
RD
4528#define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4529static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4530 PyObject * _resultobj;
4531 wxListBox * _result;
4532 wxWindow * _arg0;
4533 wxWindowID _arg1;
4534 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4535 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4536 int _arg4;
4537 wxString * _arg5 = (wxString *) NULL;
4538 long _arg6 = (long ) 0;
4539 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
4540 char * _arg8 = (char *) "listBox";
4541 PyObject * _argo0 = 0;
4542 wxPoint temp;
4543 PyObject * _obj2 = 0;
4544 wxSize temp0;
4545 PyObject * _obj3 = 0;
4546 PyObject * _obj5 = 0;
4547 PyObject * _argo7 = 0;
4548 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4549 char _ptemp[128];
4550
4551 self = self;
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
4553 return NULL;
4554 if (_argo0) {
4555 if (_argo0 == Py_None) { _arg0 = NULL; }
4556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4558 return NULL;
4559 }
4560 }
4561 if (_obj2)
4562{
4563 _arg2 = &temp;
4564 if (! wxPoint_helper(_obj2, &_arg2))
4565 return NULL;
4566}
4567 if (_obj3)
4568{
4569 _arg3 = &temp0;
4570 if (! wxSize_helper(_obj3, &_arg3))
4571 return NULL;
4572}
4573 if (_obj5)
4574{
4575 _arg5 = wxString_LIST_helper(_obj5);
4576 if (_arg5 == NULL) {
4577 return NULL;
4578 }
4579}
4580 if (_argo7) {
4581 if (_argo7 == Py_None) { _arg7 = NULL; }
4582 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
4583 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4584 return NULL;
4585 }
4586 }
4587{
4588 if (_obj5) {
4589 _arg4 = PyList_Size(_obj5);
4590 }
4591 else {
4592 _arg4 = 0;
4593 }
4594}
4595{
4596 wxPy_BEGIN_ALLOW_THREADS;
4597 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
4598
4599 wxPy_END_ALLOW_THREADS;
4600 if (PyErr_Occurred()) return NULL;
4601} if (_result) {
4602 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4603 _resultobj = Py_BuildValue("s",_ptemp);
4604 } else {
4605 Py_INCREF(Py_None);
4606 _resultobj = Py_None;
4607 }
4608{
4609 delete [] _arg5;
4610}
4611 return _resultobj;
4612}
4613
4614#define new_wxPreListBox() (new wxListBox())
4615static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject * _resultobj;
4617 wxListBox * _result;
4618 char *_kwnames[] = { NULL };
4619 char _ptemp[128];
4620
4621 self = self;
4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
4623 return NULL;
4624{
4625 wxPy_BEGIN_ALLOW_THREADS;
4626 _result = (wxListBox *)new_wxPreListBox();
4627
4628 wxPy_END_ALLOW_THREADS;
4629 if (PyErr_Occurred()) return NULL;
4630} if (_result) {
4631 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4632 _resultobj = Py_BuildValue("s",_ptemp);
4633 } else {
4634 Py_INCREF(Py_None);
4635 _resultobj = Py_None;
4636 }
4637 return _resultobj;
4638}
4639
4640#define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4641static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4642 PyObject * _resultobj;
09f3d4e6
RD
4643 bool _result;
4644 wxListBox * _arg0;
4645 wxWindow * _arg1;
4646 wxWindowID _arg2;
4647 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4648 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4649 int _arg5;
4650 wxString * _arg6 = (wxString *) NULL;
4651 long _arg7 = (long ) 0;
4652 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
4653 char * _arg9 = (char *) "listBox";
1d99702e 4654 PyObject * _argo0 = 0;
09f3d4e6 4655 PyObject * _argo1 = 0;
2f90df85 4656 wxPoint temp;
2f90df85 4657 PyObject * _obj3 = 0;
09f3d4e6
RD
4658 wxSize temp0;
4659 PyObject * _obj4 = 0;
4660 PyObject * _obj6 = 0;
4661 PyObject * _argo8 = 0;
4662 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
8ab979d7
RD
4663
4664 self = self;
09f3d4e6 4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
8ab979d7 4666 return NULL;
1d99702e
RD
4667 if (_argo0) {
4668 if (_argo0 == Py_None) { _arg0 = NULL; }
09f3d4e6
RD
4669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
8ab979d7
RD
4671 return NULL;
4672 }
4673 }
09f3d4e6
RD
4674 if (_argo1) {
4675 if (_argo1 == Py_None) { _arg1 = NULL; }
4676 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4677 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4678 return NULL;
4679 }
4680 }
4681 if (_obj3)
2f90df85 4682{
09f3d4e6
RD
4683 _arg3 = &temp;
4684 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 4685 return NULL;
2f90df85 4686}
09f3d4e6 4687 if (_obj4)
2f90df85 4688{
09f3d4e6
RD
4689 _arg4 = &temp0;
4690 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 4691 return NULL;
2f90df85 4692}
09f3d4e6 4693 if (_obj6)
8ab979d7 4694{
09f3d4e6
RD
4695 _arg6 = wxString_LIST_helper(_obj6);
4696 if (_arg6 == NULL) {
8ab979d7
RD
4697 return NULL;
4698 }
4699}
09f3d4e6
RD
4700 if (_argo8) {
4701 if (_argo8 == Py_None) { _arg8 = NULL; }
4702 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
4703 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
8ab979d7
RD
4704 return NULL;
4705 }
4706 }
4707{
09f3d4e6
RD
4708 if (_obj6) {
4709 _arg5 = PyList_Size(_obj6);
cf694132
RD
4710 }
4711 else {
09f3d4e6 4712 _arg5 = 0;
cf694132 4713 }
8ab979d7 4714}
cf694132
RD
4715{
4716 wxPy_BEGIN_ALLOW_THREADS;
09f3d4e6 4717 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
cf694132
RD
4718
4719 wxPy_END_ALLOW_THREADS;
493f1553 4720 if (PyErr_Occurred()) return NULL;
09f3d4e6 4721} _resultobj = Py_BuildValue("i",_result);
8ab979d7 4722{
09f3d4e6 4723 delete [] _arg6;
8ab979d7
RD
4724}
4725 return _resultobj;
4726}
4727
8ab979d7 4728#define wxListBox_Clear(_swigobj) (_swigobj->Clear())
efc5f224 4729static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4730 PyObject * _resultobj;
4731 wxListBox * _arg0;
1d99702e 4732 PyObject * _argo0 = 0;
efc5f224 4733 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4734
4735 self = self;
efc5f224 4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
8ab979d7 4737 return NULL;
1d99702e
RD
4738 if (_argo0) {
4739 if (_argo0 == Py_None) { _arg0 = NULL; }
4740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4742 return NULL;
4743 }
4744 }
cf694132
RD
4745{
4746 wxPy_BEGIN_ALLOW_THREADS;
4747 wxListBox_Clear(_arg0);
4748
4749 wxPy_END_ALLOW_THREADS;
493f1553 4750 if (PyErr_Occurred()) return NULL;
cf694132 4751} Py_INCREF(Py_None);
8ab979d7
RD
4752 _resultobj = Py_None;
4753 return _resultobj;
4754}
4755
8ab979d7 4756#define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
efc5f224 4757static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4758 PyObject * _resultobj;
4759 wxListBox * _arg0;
4760 int _arg1;
1d99702e 4761 PyObject * _argo0 = 0;
efc5f224 4762 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
4763
4764 self = self;
efc5f224 4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
8ab979d7 4766 return NULL;
1d99702e
RD
4767 if (_argo0) {
4768 if (_argo0 == Py_None) { _arg0 = NULL; }
4769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4771 return NULL;
4772 }
4773 }
cf694132
RD
4774{
4775 wxPy_BEGIN_ALLOW_THREADS;
4776 wxListBox_Deselect(_arg0,_arg1);
4777
4778 wxPy_END_ALLOW_THREADS;
493f1553 4779 if (PyErr_Occurred()) return NULL;
cf694132 4780} Py_INCREF(Py_None);
8ab979d7
RD
4781 _resultobj = Py_None;
4782 return _resultobj;
4783}
4784
cf694132
RD
4785static PyObject * wxListBox_GetSelections(wxListBox *self) {
4786 wxArrayInt lst;
4787 self->GetSelections(lst);
4788 PyObject *tup = PyTuple_New(lst.GetCount());
f6bcfd97 4789 for(size_t i=0; i<lst.GetCount(); i++) {
cf694132
RD
4790 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
4791 }
4792 return tup;
4793 }
efc5f224 4794static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
4795 PyObject * _resultobj;
4796 PyObject * _result;
4797 wxListBox * _arg0;
1d99702e 4798 PyObject * _argo0 = 0;
efc5f224 4799 char *_kwnames[] = { "self", NULL };
cf694132
RD
4800
4801 self = self;
efc5f224 4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
cf694132 4803 return NULL;
1d99702e
RD
4804 if (_argo0) {
4805 if (_argo0 == Py_None) { _arg0 = NULL; }
4806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
cf694132
RD
4807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4808 return NULL;
4809 }
4810 }
4811{
4812 wxPy_BEGIN_ALLOW_THREADS;
4813 _result = (PyObject *)wxListBox_GetSelections(_arg0);
4814
4815 wxPy_END_ALLOW_THREADS;
493f1553 4816 if (PyErr_Occurred()) return NULL;
cf694132
RD
4817}{
4818 _resultobj = _result;
4819}
8ab979d7
RD
4820 return _resultobj;
4821}
4822
2f90df85
RD
4823#define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4824static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject * _resultobj;
4826 wxListBox * _arg0;
4827 int _arg1;
4828 wxString * _arg2;
4829 int _arg3;
4830 PyObject * _argo0 = 0;
4831 PyObject * _obj2 = 0;
eec92d76 4832 char *_kwnames[] = { "self","choices","pos", NULL };
2f90df85
RD
4833
4834 self = self;
4835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
4836 return NULL;
4837 if (_argo0) {
4838 if (_argo0 == Py_None) { _arg0 = NULL; }
4839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4841 return NULL;
4842 }
4843 }
4844{
4845 _arg2 = wxString_LIST_helper(_obj2);
4846 if (_arg2 == NULL) {
4847 return NULL;
4848 }
4849}
4850{
4851 if (_obj2) {
4852 _arg1 = PyList_Size(_obj2);
4853 }
4854 else {
4855 _arg1 = 0;
4856 }
4857}
4858{
4859 wxPy_BEGIN_ALLOW_THREADS;
4860 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
4861
4862 wxPy_END_ALLOW_THREADS;
493f1553 4863 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4864} Py_INCREF(Py_None);
4865 _resultobj = Py_None;
4866{
4867 delete [] _arg2;
4868}
4869 return _resultobj;
4870}
4871
0adbc166
RD
4872#define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4873static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4874 PyObject * _resultobj;
4875 bool _result;
4876 wxListBox * _arg0;
4877 int _arg1;
4878 PyObject * _argo0 = 0;
4879 char *_kwnames[] = { "self","n", NULL };
4880
4881 self = self;
4882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
4883 return NULL;
4884 if (_argo0) {
4885 if (_argo0 == Py_None) { _arg0 = NULL; }
4886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4888 return NULL;
4889 }
4890 }
4891{
4892 wxPy_BEGIN_ALLOW_THREADS;
4893 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
cf694132
RD
4894
4895 wxPy_END_ALLOW_THREADS;
493f1553 4896 if (PyErr_Occurred()) return NULL;
cf694132 4897} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4898 return _resultobj;
4899}
4900
4901#define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
efc5f224 4902static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4903 PyObject * _resultobj;
4904 bool _result;
4905 wxListBox * _arg0;
4906 int _arg1;
1d99702e 4907 PyObject * _argo0 = 0;
efc5f224 4908 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
4909
4910 self = self;
efc5f224 4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
8ab979d7 4912 return NULL;
1d99702e
RD
4913 if (_argo0) {
4914 if (_argo0 == Py_None) { _arg0 = NULL; }
4915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4917 return NULL;
4918 }
4919 }
cf694132
RD
4920{
4921 wxPy_BEGIN_ALLOW_THREADS;
4922 _result = (bool )wxListBox_Selected(_arg0,_arg1);
4923
4924 wxPy_END_ALLOW_THREADS;
493f1553 4925 if (PyErr_Occurred()) return NULL;
cf694132 4926} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4927 return _resultobj;
4928}
4929
4930#define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
efc5f224 4931static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4932 PyObject * _resultobj;
4933 wxListBox * _arg0;
4934 int _arg1;
4935 wxString * _arg2;
1d99702e 4936 PyObject * _argo0 = 0;
8ab979d7 4937 PyObject * _obj2 = 0;
eec92d76 4938 char *_kwnames[] = { "self","choices", NULL };
8ab979d7
RD
4939
4940 self = self;
efc5f224 4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
8ab979d7 4942 return NULL;
1d99702e
RD
4943 if (_argo0) {
4944 if (_argo0 == Py_None) { _arg0 = NULL; }
4945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4947 return NULL;
4948 }
4949 }
4950 if (_obj2)
4951{
4952 _arg2 = wxString_LIST_helper(_obj2);
4953 if (_arg2 == NULL) {
4954 return NULL;
4955 }
4956}
4957{
cf694132
RD
4958 if (_obj2) {
4959 _arg1 = PyList_Size(_obj2);
4960 }
4961 else {
4962 _arg1 = 0;
4963 }
8ab979d7 4964}
cf694132
RD
4965{
4966 wxPy_BEGIN_ALLOW_THREADS;
4967 wxListBox_Set(_arg0,_arg1,_arg2);
4968
4969 wxPy_END_ALLOW_THREADS;
493f1553 4970 if (PyErr_Occurred()) return NULL;
cf694132 4971} Py_INCREF(Py_None);
8ab979d7
RD
4972 _resultobj = Py_None;
4973{
4974 delete [] _arg2;
4975}
4976 return _resultobj;
4977}
4978
4979#define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
efc5f224 4980static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4981 PyObject * _resultobj;
4982 wxListBox * _arg0;
4983 int _arg1;
1d99702e 4984 PyObject * _argo0 = 0;
efc5f224 4985 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
4986
4987 self = self;
efc5f224 4988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
8ab979d7 4989 return NULL;
1d99702e
RD
4990 if (_argo0) {
4991 if (_argo0 == Py_None) { _arg0 = NULL; }
4992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4994 return NULL;
4995 }
4996 }
cf694132
RD
4997{
4998 wxPy_BEGIN_ALLOW_THREADS;
4999 wxListBox_SetFirstItem(_arg0,_arg1);
5000
5001 wxPy_END_ALLOW_THREADS;
493f1553 5002 if (PyErr_Occurred()) return NULL;
cf694132 5003} Py_INCREF(Py_None);
8ab979d7
RD
5004 _resultobj = Py_None;
5005 return _resultobj;
5006}
5007
5008#define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
efc5f224 5009static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5010 PyObject * _resultobj;
5011 wxListBox * _arg0;
5012 wxString * _arg1;
1d99702e 5013 PyObject * _argo0 = 0;
8ab979d7 5014 PyObject * _obj1 = 0;
efc5f224 5015 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
5016
5017 self = self;
efc5f224 5018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
8ab979d7 5019 return NULL;
1d99702e
RD
5020 if (_argo0) {
5021 if (_argo0 == Py_None) { _arg0 = NULL; }
5022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5024 return NULL;
5025 }
5026 }
5027{
185d7c3e
RD
5028#if PYTHON_API_VERSION >= 1009
5029 char* tmpPtr; int tmpSize;
5030 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 5031 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5032 return NULL;
5033 }
5034 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5035 return NULL;
5036 _arg1 = new wxString(tmpPtr, tmpSize);
5037#else
8ab979d7
RD
5038 if (!PyString_Check(_obj1)) {
5039 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5040 return NULL;
5041 }
185d7c3e
RD
5042 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5043#endif
8ab979d7 5044}
cf694132
RD
5045{
5046 wxPy_BEGIN_ALLOW_THREADS;
5047 wxListBox_SetFirstItemStr(_arg0,*_arg1);
5048
5049 wxPy_END_ALLOW_THREADS;
493f1553 5050 if (PyErr_Occurred()) return NULL;
cf694132 5051} Py_INCREF(Py_None);
8ab979d7
RD
5052 _resultobj = Py_None;
5053{
5054 if (_obj1)
5055 delete _arg1;
5056}
5057 return _resultobj;
5058}
5059
5060#define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
efc5f224 5061static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5062 PyObject * _resultobj;
5063 wxListBox * _arg0;
5064 int _arg1;
1d99702e
RD
5065 bool _arg2 = (bool ) TRUE;
5066 PyObject * _argo0 = 0;
5067 int tempbool2 = (int) TRUE;
efc5f224 5068 char *_kwnames[] = { "self","n","select", NULL };
8ab979d7
RD
5069
5070 self = self;
efc5f224 5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 5072 return NULL;
1d99702e
RD
5073 if (_argo0) {
5074 if (_argo0 == Py_None) { _arg0 = NULL; }
5075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5077 return NULL;
5078 }
5079 }
5080 _arg2 = (bool ) tempbool2;
cf694132
RD
5081{
5082 wxPy_BEGIN_ALLOW_THREADS;
5083 wxListBox_SetSelection(_arg0,_arg1,_arg2);
5084
5085 wxPy_END_ALLOW_THREADS;
493f1553 5086 if (PyErr_Occurred()) return NULL;
cf694132 5087} Py_INCREF(Py_None);
8ab979d7
RD
5088 _resultobj = Py_None;
5089 return _resultobj;
5090}
5091
5092#define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
efc5f224 5093static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5094 PyObject * _resultobj;
5095 wxListBox * _arg0;
5096 int _arg1;
5097 wxString * _arg2;
1d99702e 5098 PyObject * _argo0 = 0;
8ab979d7 5099 PyObject * _obj2 = 0;
efc5f224 5100 char *_kwnames[] = { "self","n","string", NULL };
8ab979d7
RD
5101
5102 self = self;
efc5f224 5103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 5104 return NULL;
1d99702e
RD
5105 if (_argo0) {
5106 if (_argo0 == Py_None) { _arg0 = NULL; }
5107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5109 return NULL;
5110 }
5111 }
5112{
185d7c3e
RD
5113#if PYTHON_API_VERSION >= 1009
5114 char* tmpPtr; int tmpSize;
5115 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 5116 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5117 return NULL;
5118 }
5119 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5120 return NULL;
5121 _arg2 = new wxString(tmpPtr, tmpSize);
5122#else
8ab979d7
RD
5123 if (!PyString_Check(_obj2)) {
5124 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5125 return NULL;
5126 }
185d7c3e
RD
5127 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5128#endif
8ab979d7 5129}
cf694132
RD
5130{
5131 wxPy_BEGIN_ALLOW_THREADS;
5132 wxListBox_SetString(_arg0,_arg1,*_arg2);
5133
5134 wxPy_END_ALLOW_THREADS;
493f1553 5135 if (PyErr_Occurred()) return NULL;
cf694132 5136} Py_INCREF(Py_None);
8ab979d7
RD
5137 _resultobj = Py_None;
5138{
5139 if (_obj2)
5140 delete _arg2;
5141}
5142 return _resultobj;
5143}
5144
5145#define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
efc5f224 5146static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5147 PyObject * _resultobj;
5148 wxListBox * _arg0;
5149 wxString * _arg1;
1d99702e
RD
5150 bool _arg2 = (bool ) TRUE;
5151 PyObject * _argo0 = 0;
8ab979d7 5152 PyObject * _obj1 = 0;
1d99702e 5153 int tempbool2 = (int) TRUE;
efc5f224 5154 char *_kwnames[] = { "self","string","select", NULL };
8ab979d7
RD
5155
5156 self = self;
efc5f224 5157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
8ab979d7 5158 return NULL;
1d99702e
RD
5159 if (_argo0) {
5160 if (_argo0 == Py_None) { _arg0 = NULL; }
5161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5163 return NULL;
5164 }
5165 }
5166{
185d7c3e
RD
5167#if PYTHON_API_VERSION >= 1009
5168 char* tmpPtr; int tmpSize;
5169 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 5170 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5171 return NULL;
5172 }
5173 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5174 return NULL;
5175 _arg1 = new wxString(tmpPtr, tmpSize);
5176#else
8ab979d7
RD
5177 if (!PyString_Check(_obj1)) {
5178 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5179 return NULL;
5180 }
185d7c3e
RD
5181 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5182#endif
8ab979d7
RD
5183}
5184 _arg2 = (bool ) tempbool2;
cf694132
RD
5185{
5186 wxPy_BEGIN_ALLOW_THREADS;
5187 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
5188
5189 wxPy_END_ALLOW_THREADS;
493f1553 5190 if (PyErr_Occurred()) return NULL;
cf694132 5191} Py_INCREF(Py_None);
8ab979d7
RD
5192 _resultobj = Py_None;
5193{
5194 if (_obj1)
5195 delete _arg1;
5196}
5197 return _resultobj;
5198}
5199
9c039d08
RD
5200static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5201 wxCheckListBox *src;
5202 wxListBox *dest;
5203 src = (wxCheckListBox *) ptr;
5204 dest = (wxListBox *) src;
5205 return (void *) dest;
5206}
5207
900d9886
RD
5208static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr) {
5209 wxCheckListBox *src;
5210 wxControlWithItems *dest;
5211 src = (wxCheckListBox *) ptr;
5212 dest = (wxControlWithItems *) src;
5213 return (void *) dest;
5214}
5215
9c039d08
RD
5216static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5217 wxCheckListBox *src;
5218 wxControl *dest;
5219 src = (wxCheckListBox *) ptr;
5220 dest = (wxControl *) src;
5221 return (void *) dest;
5222}
5223
5224static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5225 wxCheckListBox *src;
5226 wxWindow *dest;
5227 src = (wxCheckListBox *) ptr;
5228 dest = (wxWindow *) src;
5229 return (void *) dest;
5230}
5231
5232static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5233 wxCheckListBox *src;
5234 wxEvtHandler *dest;
5235 src = (wxCheckListBox *) ptr;
5236 dest = (wxEvtHandler *) src;
5237 return (void *) dest;
5238}
5239
9416aa89
RD
5240static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5241 wxCheckListBox *src;
5242 wxObject *dest;
5243 src = (wxCheckListBox *) ptr;
5244 dest = (wxObject *) src;
5245 return (void *) dest;
5246}
5247
9c039d08 5248#define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
efc5f224 5249static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5250 PyObject * _resultobj;
5251 wxCheckListBox * _result;
5252 wxWindow * _arg0;
5253 wxWindowID _arg1;
e508a2b6
RD
5254 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5255 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e
RD
5256 int _arg4 = (int ) 0;
5257 wxString * _arg5 = (wxString *) NULL;
5258 long _arg6 = (long ) 0;
e508a2b6 5259 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
5260 char * _arg8 = (char *) "listBox";
5261 PyObject * _argo0 = 0;
2f90df85
RD
5262 wxPoint temp;
5263 PyObject * _obj2 = 0;
5264 wxSize temp0;
5265 PyObject * _obj3 = 0;
9c039d08 5266 PyObject * _obj5 = 0;
1d99702e 5267 PyObject * _argo7 = 0;
eec92d76 5268 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
9c039d08
RD
5269 char _ptemp[128];
5270
5271 self = self;
2f90df85 5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
9c039d08 5273 return NULL;
1d99702e
RD
5274 if (_argo0) {
5275 if (_argo0 == Py_None) { _arg0 = NULL; }
5276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
5277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5278 return NULL;
5279 }
5280 }
2f90df85
RD
5281 if (_obj2)
5282{
5283 _arg2 = &temp;
5284 if (! wxPoint_helper(_obj2, &_arg2))
9c039d08 5285 return NULL;
2f90df85
RD
5286}
5287 if (_obj3)
5288{
5289 _arg3 = &temp0;
5290 if (! wxSize_helper(_obj3, &_arg3))
9c039d08 5291 return NULL;
2f90df85 5292}
9c039d08
RD
5293 if (_obj5)
5294{
5295 _arg5 = wxString_LIST_helper(_obj5);
5296 if (_arg5 == NULL) {
5297 return NULL;
5298 }
5299}
1d99702e
RD
5300 if (_argo7) {
5301 if (_argo7 == Py_None) { _arg7 = NULL; }
5302 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
9c039d08
RD
5303 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5304 return NULL;
5305 }
5306 }
5307{
cf694132
RD
5308 if (_obj5) {
5309 _arg4 = PyList_Size(_obj5);
5310 }
5311 else {
5312 _arg4 = 0;
5313 }
9c039d08 5314}
cf694132
RD
5315{
5316 wxPy_BEGIN_ALLOW_THREADS;
5317 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
5318
5319 wxPy_END_ALLOW_THREADS;
493f1553 5320 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5321} if (_result) {
5322 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5323 _resultobj = Py_BuildValue("s",_ptemp);
5324 } else {
5325 Py_INCREF(Py_None);
5326 _resultobj = Py_None;
5327 }
9c039d08
RD
5328{
5329 delete [] _arg5;
5330}
5331 return _resultobj;
5332}
5333
09f3d4e6
RD
5334#define new_wxPreCheckListBox() (new wxCheckListBox())
5335static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject * _resultobj;
5337 wxCheckListBox * _result;
5338 char *_kwnames[] = { NULL };
5339 char _ptemp[128];
5340
5341 self = self;
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
5343 return NULL;
5344{
5345 wxPy_BEGIN_ALLOW_THREADS;
5346 _result = (wxCheckListBox *)new_wxPreCheckListBox();
5347
5348 wxPy_END_ALLOW_THREADS;
5349 if (PyErr_Occurred()) return NULL;
5350} if (_result) {
5351 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5352 _resultobj = Py_BuildValue("s",_ptemp);
5353 } else {
5354 Py_INCREF(Py_None);
5355 _resultobj = Py_None;
5356 }
5357 return _resultobj;
5358}
5359
5360#define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5361static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5362 PyObject * _resultobj;
5363 bool _result;
5364 wxCheckListBox * _arg0;
5365 wxWindow * _arg1;
5366 wxWindowID _arg2;
5367 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5368 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5369 int _arg5 = (int ) 0;
5370 wxString * _arg6 = (wxString *) NULL;
5371 long _arg7 = (long ) 0;
5372 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
5373 char * _arg9 = (char *) "listBox";
5374 PyObject * _argo0 = 0;
5375 PyObject * _argo1 = 0;
5376 wxPoint temp;
5377 PyObject * _obj3 = 0;
5378 wxSize temp0;
5379 PyObject * _obj4 = 0;
5380 PyObject * _obj6 = 0;
5381 PyObject * _argo8 = 0;
5382 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5383
5384 self = self;
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
5386 return NULL;
5387 if (_argo0) {
5388 if (_argo0 == Py_None) { _arg0 = NULL; }
5389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5391 return NULL;
5392 }
5393 }
5394 if (_argo1) {
5395 if (_argo1 == Py_None) { _arg1 = NULL; }
5396 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5397 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5398 return NULL;
5399 }
5400 }
5401 if (_obj3)
5402{
5403 _arg3 = &temp;
5404 if (! wxPoint_helper(_obj3, &_arg3))
5405 return NULL;
5406}
5407 if (_obj4)
5408{
5409 _arg4 = &temp0;
5410 if (! wxSize_helper(_obj4, &_arg4))
5411 return NULL;
5412}
5413 if (_obj6)
5414{
5415 _arg6 = wxString_LIST_helper(_obj6);
5416 if (_arg6 == NULL) {
5417 return NULL;
5418 }
5419}
5420 if (_argo8) {
5421 if (_argo8 == Py_None) { _arg8 = NULL; }
5422 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
5423 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5424 return NULL;
5425 }
5426 }
5427{
5428 if (_obj6) {
5429 _arg5 = PyList_Size(_obj6);
5430 }
5431 else {
5432 _arg5 = 0;
5433 }
5434}
5435{
5436 wxPy_BEGIN_ALLOW_THREADS;
5437 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
5438
5439 wxPy_END_ALLOW_THREADS;
5440 if (PyErr_Occurred()) return NULL;
5441} _resultobj = Py_BuildValue("i",_result);
5442{
5443 delete [] _arg6;
5444}
5445 return _resultobj;
5446}
5447
9c039d08 5448#define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
efc5f224 5449static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5450 PyObject * _resultobj;
5451 bool _result;
5452 wxCheckListBox * _arg0;
5453 int _arg1;
1d99702e 5454 PyObject * _argo0 = 0;
efc5f224 5455 char *_kwnames[] = { "self","uiIndex", NULL };
9c039d08
RD
5456
5457 self = self;
efc5f224 5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
9c039d08 5459 return NULL;
1d99702e
RD
5460 if (_argo0) {
5461 if (_argo0 == Py_None) { _arg0 = NULL; }
5462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
9c039d08
RD
5463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5464 return NULL;
5465 }
5466 }
cf694132
RD
5467{
5468 wxPy_BEGIN_ALLOW_THREADS;
5469 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
5470
5471 wxPy_END_ALLOW_THREADS;
493f1553 5472 if (PyErr_Occurred()) return NULL;
cf694132 5473} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
5474 return _resultobj;
5475}
5476
5477#define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
efc5f224 5478static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5479 PyObject * _resultobj;
5480 wxCheckListBox * _arg0;
5481 int _arg1;
694759cf 5482 int _arg2 = (int ) TRUE;
1d99702e 5483 PyObject * _argo0 = 0;
efc5f224 5484 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
9c039d08
RD
5485
5486 self = self;
694759cf 5487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
9c039d08 5488 return NULL;
1d99702e
RD
5489 if (_argo0) {
5490 if (_argo0 == Py_None) { _arg0 = NULL; }
5491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
9c039d08
RD
5492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5493 return NULL;
5494 }
5495 }
cf694132
RD
5496{
5497 wxPy_BEGIN_ALLOW_THREADS;
5498 wxCheckListBox_Check(_arg0,_arg1,_arg2);
5499
5500 wxPy_END_ALLOW_THREADS;
493f1553 5501 if (PyErr_Occurred()) return NULL;
cf694132 5502} Py_INCREF(Py_None);
9c039d08
RD
5503 _resultobj = Py_None;
5504 return _resultobj;
5505}
5506
694759cf
RD
5507#define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5508static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject * _resultobj;
5510 wxCheckListBox * _arg0;
5511 int _arg1;
5512 wxString * _arg2;
5513 int _arg3;
5514 PyObject * _argo0 = 0;
5515 PyObject * _obj2 = 0;
eec92d76 5516 char *_kwnames[] = { "self","choices","pos", NULL };
694759cf
RD
5517
5518 self = self;
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5520 return NULL;
5521 if (_argo0) {
5522 if (_argo0 == Py_None) { _arg0 = NULL; }
5523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5525 return NULL;
5526 }
5527 }
5528{
5529 _arg2 = wxString_LIST_helper(_obj2);
5530 if (_arg2 == NULL) {
5531 return NULL;
5532 }
5533}
5534{
5535 if (_obj2) {
5536 _arg1 = PyList_Size(_obj2);
5537 }
5538 else {
5539 _arg1 = 0;
5540 }
5541}
5542{
5543 wxPy_BEGIN_ALLOW_THREADS;
5544 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
5545
5546 wxPy_END_ALLOW_THREADS;
493f1553 5547 if (PyErr_Occurred()) return NULL;
694759cf
RD
5548} Py_INCREF(Py_None);
5549 _resultobj = Py_None;
5550{
5551 delete [] _arg2;
5552}
5553 return _resultobj;
5554}
5555
9c039d08 5556#define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
efc5f224 5557static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5558 PyObject * _resultobj;
5559 int _result;
5560 wxCheckListBox * _arg0;
1d99702e 5561 PyObject * _argo0 = 0;
efc5f224 5562 char *_kwnames[] = { "self", NULL };
9c039d08
RD
5563
5564 self = self;
efc5f224 5565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
9c039d08 5566 return NULL;
1d99702e
RD
5567 if (_argo0) {
5568 if (_argo0 == Py_None) { _arg0 = NULL; }
5569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
9c039d08
RD
5570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5571 return NULL;
5572 }
5573 }
cf694132
RD
5574{
5575 wxPy_BEGIN_ALLOW_THREADS;
5576 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
5577
5578 wxPy_END_ALLOW_THREADS;
493f1553 5579 if (PyErr_Occurred()) return NULL;
cf694132 5580} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
5581 return _resultobj;
5582}
5583
d56cebe7
RD
5584#define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5585static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5586 PyObject * _resultobj;
5587 wxTextAttr * _result;
5588 wxColour * _arg0 = (wxColour *) &wxNullColour;
5589 wxColour * _arg1 = (wxColour *) &wxNullColour;
5590 wxFont * _arg2 = (wxFont *) &wxNullFont;
5591 wxColour temp;
5592 PyObject * _obj0 = 0;
5593 wxColour temp0;
5594 PyObject * _obj1 = 0;
5595 PyObject * _argo2 = 0;
5596 char *_kwnames[] = { "colText","colBack","font", NULL };
5597 char _ptemp[128];
5598
5599 self = self;
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5601 return NULL;
5602 if (_obj0)
5603{
5604 _arg0 = &temp;
5605 if (! wxColour_helper(_obj0, &_arg0))
5606 return NULL;
5607}
5608 if (_obj1)
5609{
5610 _arg1 = &temp0;
5611 if (! wxColour_helper(_obj1, &_arg1))
5612 return NULL;
5613}
5614 if (_argo2) {
5615 if (_argo2 == Py_None) { _arg2 = NULL; }
5616 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5617 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5618 return NULL;
5619 }
5620 }
5621{
5622 wxPy_BEGIN_ALLOW_THREADS;
5623 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2);
5624
5625 wxPy_END_ALLOW_THREADS;
5626 if (PyErr_Occurred()) return NULL;
5627} if (_result) {
5628 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
5629 _resultobj = Py_BuildValue("s",_ptemp);
5630 } else {
5631 Py_INCREF(Py_None);
5632 _resultobj = Py_None;
5633 }
5634 return _resultobj;
5635}
5636
5637#define delete_wxTextAttr(_swigobj) (delete _swigobj)
5638static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5639 PyObject * _resultobj;
5640 wxTextAttr * _arg0;
5641 PyObject * _argo0 = 0;
5642 char *_kwnames[] = { "self", NULL };
5643
5644 self = self;
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
5646 return NULL;
5647 if (_argo0) {
5648 if (_argo0 == Py_None) { _arg0 = NULL; }
5649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5651 return NULL;
5652 }
5653 }
5654{
5655 wxPy_BEGIN_ALLOW_THREADS;
5656 delete_wxTextAttr(_arg0);
5657
5658 wxPy_END_ALLOW_THREADS;
5659 if (PyErr_Occurred()) return NULL;
5660} Py_INCREF(Py_None);
5661 _resultobj = Py_None;
5662 return _resultobj;
5663}
5664
5665#define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5666static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5667 PyObject * _resultobj;
5668 wxTextAttr * _arg0;
5669 wxColour * _arg1;
5670 PyObject * _argo0 = 0;
5671 wxColour temp;
5672 PyObject * _obj1 = 0;
5673 char *_kwnames[] = { "self","colText", NULL };
5674
5675 self = self;
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5677 return NULL;
5678 if (_argo0) {
5679 if (_argo0 == Py_None) { _arg0 = NULL; }
5680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5682 return NULL;
5683 }
5684 }
5685{
5686 _arg1 = &temp;
5687 if (! wxColour_helper(_obj1, &_arg1))
5688 return NULL;
5689}
5690{
5691 wxPy_BEGIN_ALLOW_THREADS;
5692 wxTextAttr_SetTextColour(_arg0,*_arg1);
5693
5694 wxPy_END_ALLOW_THREADS;
5695 if (PyErr_Occurred()) return NULL;
5696} Py_INCREF(Py_None);
5697 _resultobj = Py_None;
5698 return _resultobj;
5699}
5700
5701#define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5702static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5703 PyObject * _resultobj;
5704 wxTextAttr * _arg0;
5705 wxColour * _arg1;
5706 PyObject * _argo0 = 0;
5707 wxColour temp;
5708 PyObject * _obj1 = 0;
5709 char *_kwnames[] = { "self","colBack", NULL };
5710
5711 self = self;
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5713 return NULL;
5714 if (_argo0) {
5715 if (_argo0 == Py_None) { _arg0 = NULL; }
5716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5718 return NULL;
5719 }
5720 }
5721{
5722 _arg1 = &temp;
5723 if (! wxColour_helper(_obj1, &_arg1))
5724 return NULL;
5725}
5726{
5727 wxPy_BEGIN_ALLOW_THREADS;
5728 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
5729
5730 wxPy_END_ALLOW_THREADS;
5731 if (PyErr_Occurred()) return NULL;
5732} Py_INCREF(Py_None);
5733 _resultobj = Py_None;
5734 return _resultobj;
5735}
5736
5737#define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5738static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5739 PyObject * _resultobj;
5740 wxTextAttr * _arg0;
5741 wxFont * _arg1;
5742 PyObject * _argo0 = 0;
5743 PyObject * _argo1 = 0;
5744 char *_kwnames[] = { "self","font", NULL };
5745
5746 self = self;
5747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
5748 return NULL;
5749 if (_argo0) {
5750 if (_argo0 == Py_None) { _arg0 = NULL; }
5751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5753 return NULL;
5754 }
5755 }
5756 if (_argo1) {
5757 if (_argo1 == Py_None) { _arg1 = NULL; }
5758 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5759 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5760 return NULL;
5761 }
5762 }
5763{
5764 wxPy_BEGIN_ALLOW_THREADS;
5765 wxTextAttr_SetFont(_arg0,*_arg1);
5766
5767 wxPy_END_ALLOW_THREADS;
5768 if (PyErr_Occurred()) return NULL;
5769} Py_INCREF(Py_None);
5770 _resultobj = Py_None;
5771 return _resultobj;
5772}
5773
5774#define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5775static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject * _resultobj;
5777 bool _result;
5778 wxTextAttr * _arg0;
5779 PyObject * _argo0 = 0;
5780 char *_kwnames[] = { "self", NULL };
5781
5782 self = self;
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
5784 return NULL;
5785 if (_argo0) {
5786 if (_argo0 == Py_None) { _arg0 = NULL; }
5787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5789 return NULL;
5790 }
5791 }
5792{
5793 wxPy_BEGIN_ALLOW_THREADS;
5794 _result = (bool )wxTextAttr_HasTextColour(_arg0);
5795
5796 wxPy_END_ALLOW_THREADS;
5797 if (PyErr_Occurred()) return NULL;
5798} _resultobj = Py_BuildValue("i",_result);
5799 return _resultobj;
5800}
5801
5802#define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5803static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject * _resultobj;
5805 bool _result;
5806 wxTextAttr * _arg0;
5807 PyObject * _argo0 = 0;
5808 char *_kwnames[] = { "self", NULL };
5809
5810 self = self;
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
5812 return NULL;
5813 if (_argo0) {
5814 if (_argo0 == Py_None) { _arg0 = NULL; }
5815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5817 return NULL;
5818 }
5819 }
5820{
5821 wxPy_BEGIN_ALLOW_THREADS;
5822 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
5823
5824 wxPy_END_ALLOW_THREADS;
5825 if (PyErr_Occurred()) return NULL;
5826} _resultobj = Py_BuildValue("i",_result);
5827 return _resultobj;
5828}
5829
5830#define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5831static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject * _resultobj;
5833 bool _result;
5834 wxTextAttr * _arg0;
5835 PyObject * _argo0 = 0;
5836 char *_kwnames[] = { "self", NULL };
5837
5838 self = self;
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
5840 return NULL;
5841 if (_argo0) {
5842 if (_argo0 == Py_None) { _arg0 = NULL; }
5843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5845 return NULL;
5846 }
5847 }
5848{
5849 wxPy_BEGIN_ALLOW_THREADS;
5850 _result = (bool )wxTextAttr_HasFont(_arg0);
5851
5852 wxPy_END_ALLOW_THREADS;
5853 if (PyErr_Occurred()) return NULL;
5854} _resultobj = Py_BuildValue("i",_result);
5855 return _resultobj;
5856}
5857
5858#define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5859static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject * _resultobj;
5861 wxColour * _result;
5862 wxTextAttr * _arg0;
5863 PyObject * _argo0 = 0;
5864 char *_kwnames[] = { "self", NULL };
5865 char _ptemp[128];
5866
5867 self = self;
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
5869 return NULL;
5870 if (_argo0) {
5871 if (_argo0 == Py_None) { _arg0 = NULL; }
5872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5874 return NULL;
5875 }
5876 }
5877{
5878 wxPy_BEGIN_ALLOW_THREADS;
5879 const wxColour & _result_ref = wxTextAttr_GetTextColour(_arg0);
5880 _result = (wxColour *) &_result_ref;
5881
5882 wxPy_END_ALLOW_THREADS;
5883 if (PyErr_Occurred()) return NULL;
5884} if (_result) {
5885 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5886 _resultobj = Py_BuildValue("s",_ptemp);
5887 } else {
5888 Py_INCREF(Py_None);
5889 _resultobj = Py_None;
5890 }
5891 return _resultobj;
5892}
5893
5894#define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5895static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject * _resultobj;
5897 wxColour * _result;
5898 wxTextAttr * _arg0;
5899 PyObject * _argo0 = 0;
5900 char *_kwnames[] = { "self", NULL };
5901 char _ptemp[128];
5902
5903 self = self;
5904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
5905 return NULL;
5906 if (_argo0) {
5907 if (_argo0 == Py_None) { _arg0 = NULL; }
5908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5910 return NULL;
5911 }
5912 }
5913{
5914 wxPy_BEGIN_ALLOW_THREADS;
5915 const wxColour & _result_ref = wxTextAttr_GetBackgroundColour(_arg0);
5916 _result = (wxColour *) &_result_ref;
5917
5918 wxPy_END_ALLOW_THREADS;
5919 if (PyErr_Occurred()) return NULL;
5920} if (_result) {
5921 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5922 _resultobj = Py_BuildValue("s",_ptemp);
5923 } else {
5924 Py_INCREF(Py_None);
5925 _resultobj = Py_None;
5926 }
5927 return _resultobj;
5928}
5929
5930#define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5931static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5932 PyObject * _resultobj;
5933 wxFont * _result;
5934 wxTextAttr * _arg0;
5935 PyObject * _argo0 = 0;
5936 char *_kwnames[] = { "self", NULL };
5937 char _ptemp[128];
5938
5939 self = self;
5940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
5941 return NULL;
5942 if (_argo0) {
5943 if (_argo0 == Py_None) { _arg0 = NULL; }
5944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5946 return NULL;
5947 }
5948 }
5949{
5950 wxPy_BEGIN_ALLOW_THREADS;
5951 const wxFont & _result_ref = wxTextAttr_GetFont(_arg0);
5952 _result = (wxFont *) &_result_ref;
5953
5954 wxPy_END_ALLOW_THREADS;
5955 if (PyErr_Occurred()) return NULL;
5956} if (_result) {
5957 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
5958 _resultobj = Py_BuildValue("s",_ptemp);
5959 } else {
5960 Py_INCREF(Py_None);
5961 _resultobj = Py_None;
5962 }
5963 return _resultobj;
5964}
5965
98624b49
RD
5966#define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5967static PyObject *_wrap_wxTextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
5968 PyObject * _resultobj;
5969 bool _result;
5970 wxTextAttr * _arg0;
5971 PyObject * _argo0 = 0;
5972 char *_kwnames[] = { "self", NULL };
5973
5974 self = self;
5975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_IsDefault",_kwnames,&_argo0))
5976 return NULL;
5977 if (_argo0) {
5978 if (_argo0 == Py_None) { _arg0 = NULL; }
5979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5981 return NULL;
5982 }
5983 }
5984{
5985 wxPy_BEGIN_ALLOW_THREADS;
5986 _result = (bool )wxTextAttr_IsDefault(_arg0);
5987
5988 wxPy_END_ALLOW_THREADS;
5989 if (PyErr_Occurred()) return NULL;
5990} _resultobj = Py_BuildValue("i",_result);
5991 return _resultobj;
5992}
5993
8ab979d7
RD
5994static void *SwigwxTextCtrlTowxControl(void *ptr) {
5995 wxTextCtrl *src;
5996 wxControl *dest;
5997 src = (wxTextCtrl *) ptr;
5998 dest = (wxControl *) src;
5999 return (void *) dest;
6000}
6001
6002static void *SwigwxTextCtrlTowxWindow(void *ptr) {
6003 wxTextCtrl *src;
6004 wxWindow *dest;
6005 src = (wxTextCtrl *) ptr;
6006 dest = (wxWindow *) src;
6007 return (void *) dest;
6008}
6009
6010static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
6011 wxTextCtrl *src;
6012 wxEvtHandler *dest;
6013 src = (wxTextCtrl *) ptr;
6014 dest = (wxEvtHandler *) src;
6015 return (void *) dest;
6016}
6017
9416aa89
RD
6018static void *SwigwxTextCtrlTowxObject(void *ptr) {
6019 wxTextCtrl *src;
6020 wxObject *dest;
6021 src = (wxTextCtrl *) ptr;
6022 dest = (wxObject *) src;
6023 return (void *) dest;
6024}
6025
8ab979d7 6026#define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 6027static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6028 PyObject * _resultobj;
6029 wxTextCtrl * _result;
6030 wxWindow * _arg0;
6031 wxWindowID _arg1;
1d99702e 6032 char * _arg2 = (char *) "";
e508a2b6
RD
6033 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6034 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 6035 long _arg5 = (long ) 0;
e508a2b6 6036 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
6037 char * _arg7 = (char *) "text";
6038 PyObject * _argo0 = 0;
2f90df85
RD
6039 wxPoint temp;
6040 PyObject * _obj3 = 0;
6041 wxSize temp0;
6042 PyObject * _obj4 = 0;
1d99702e 6043 PyObject * _argo6 = 0;
efc5f224 6044 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
8ab979d7
RD
6045 char _ptemp[128];
6046
6047 self = self;
09f3d4e6
RD
6048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOlOs:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
6049 return NULL;
6050 if (_argo0) {
6051 if (_argo0 == Py_None) { _arg0 = NULL; }
6052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6054 return NULL;
6055 }
6056 }
6057 if (_obj3)
6058{
6059 _arg3 = &temp;
6060 if (! wxPoint_helper(_obj3, &_arg3))
6061 return NULL;
6062}
6063 if (_obj4)
6064{
6065 _arg4 = &temp0;
6066 if (! wxSize_helper(_obj4, &_arg4))
6067 return NULL;
6068}
6069 if (_argo6) {
6070 if (_argo6 == Py_None) { _arg6 = NULL; }
6071 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6072 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6073 return NULL;
6074 }
6075 }
6076{
6077 wxPy_BEGIN_ALLOW_THREADS;
6078 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
6079
6080 wxPy_END_ALLOW_THREADS;
6081 if (PyErr_Occurred()) return NULL;
6082} if (_result) {
6083 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6084 _resultobj = Py_BuildValue("s",_ptemp);
6085 } else {
6086 Py_INCREF(Py_None);
6087 _resultobj = Py_None;
6088 }
6089 return _resultobj;
6090}
6091
6092#define new_wxPreTextCtrl() (new wxTextCtrl())
6093static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject * _resultobj;
6095 wxTextCtrl * _result;
6096 char *_kwnames[] = { NULL };
6097 char _ptemp[128];
6098
6099 self = self;
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
6101 return NULL;
6102{
6103 wxPy_BEGIN_ALLOW_THREADS;
6104 _result = (wxTextCtrl *)new_wxPreTextCtrl();
6105
6106 wxPy_END_ALLOW_THREADS;
6107 if (PyErr_Occurred()) return NULL;
6108} if (_result) {
6109 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6110 _resultobj = Py_BuildValue("s",_ptemp);
6111 } else {
6112 Py_INCREF(Py_None);
6113 _resultobj = Py_None;
6114 }
6115 return _resultobj;
6116}
6117
6118#define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6119static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6120 PyObject * _resultobj;
6121 bool _result;
6122 wxTextCtrl * _arg0;
6123 wxWindow * _arg1;
6124 wxWindowID _arg2;
6125 char * _arg3 = (char *) "";
6126 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
6127 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
6128 long _arg6 = (long ) 0;
6129 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
6130 char * _arg8 = (char *) "text";
6131 PyObject * _argo0 = 0;
6132 PyObject * _argo1 = 0;
6133 wxPoint temp;
6134 PyObject * _obj4 = 0;
6135 wxSize temp0;
6136 PyObject * _obj5 = 0;
6137 PyObject * _argo7 = 0;
6138 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
6139
6140 self = self;
6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
8ab979d7 6142 return NULL;
1d99702e
RD
6143 if (_argo0) {
6144 if (_argo0 == Py_None) { _arg0 = NULL; }
09f3d4e6
RD
6145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
8ab979d7
RD
6147 return NULL;
6148 }
6149 }
09f3d4e6
RD
6150 if (_argo1) {
6151 if (_argo1 == Py_None) { _arg1 = NULL; }
6152 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6153 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6154 return NULL;
6155 }
6156 }
6157 if (_obj4)
2f90df85 6158{
09f3d4e6
RD
6159 _arg4 = &temp;
6160 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 6161 return NULL;
2f90df85 6162}
09f3d4e6 6163 if (_obj5)
2f90df85 6164{
09f3d4e6
RD
6165 _arg5 = &temp0;
6166 if (! wxSize_helper(_obj5, &_arg5))
8ab979d7 6167 return NULL;
2f90df85 6168}
09f3d4e6
RD
6169 if (_argo7) {
6170 if (_argo7 == Py_None) { _arg7 = NULL; }
6171 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
6172 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
8ab979d7
RD
6173 return NULL;
6174 }
6175 }
cf694132
RD
6176{
6177 wxPy_BEGIN_ALLOW_THREADS;
09f3d4e6 6178 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
cf694132
RD
6179
6180 wxPy_END_ALLOW_THREADS;
493f1553 6181 if (PyErr_Occurred()) return NULL;
09f3d4e6 6182} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6183 return _resultobj;
6184}
6185
98624b49
RD
6186#define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6187static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6188 PyObject * _resultobj;
98624b49 6189 wxString * _result;
8ab979d7 6190 wxTextCtrl * _arg0;
1d99702e 6191 PyObject * _argo0 = 0;
efc5f224 6192 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6193
6194 self = self;
98624b49 6195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
8ab979d7 6196 return NULL;
1d99702e
RD
6197 if (_argo0) {
6198 if (_argo0 == Py_None) { _arg0 = NULL; }
6199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
8ab979d7
RD
6201 return NULL;
6202 }
6203 }
cf694132
RD
6204{
6205 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6206 _result = new wxString (wxTextCtrl_GetValue(_arg0));
cf694132
RD
6207
6208 wxPy_END_ALLOW_THREADS;
493f1553 6209 if (PyErr_Occurred()) return NULL;
98624b49
RD
6210}{
6211 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6212}
6213{
6214 delete _result;
6215}
8ab979d7
RD
6216 return _resultobj;
6217}
6218
98624b49
RD
6219#define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6220static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6221 PyObject * _resultobj;
6222 wxTextCtrl * _arg0;
98624b49 6223 wxString * _arg1;
1d99702e 6224 PyObject * _argo0 = 0;
98624b49
RD
6225 PyObject * _obj1 = 0;
6226 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
6227
6228 self = self;
98624b49 6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
8ab979d7 6230 return NULL;
1d99702e
RD
6231 if (_argo0) {
6232 if (_argo0 == Py_None) { _arg0 = NULL; }
6233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
8ab979d7
RD
6235 return NULL;
6236 }
6237 }
98624b49
RD
6238{
6239#if PYTHON_API_VERSION >= 1009
6240 char* tmpPtr; int tmpSize;
6241 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6242 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6243 return NULL;
6244 }
6245 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6246 return NULL;
6247 _arg1 = new wxString(tmpPtr, tmpSize);
6248#else
6249 if (!PyString_Check(_obj1)) {
6250 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6251 return NULL;
6252 }
6253 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6254#endif
6255}
cf694132
RD
6256{
6257 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6258 wxTextCtrl_SetValue(_arg0,*_arg1);
cf694132
RD
6259
6260 wxPy_END_ALLOW_THREADS;
493f1553 6261 if (PyErr_Occurred()) return NULL;
cf694132 6262} Py_INCREF(Py_None);
8ab979d7 6263 _resultobj = Py_None;
98624b49
RD
6264{
6265 if (_obj1)
6266 delete _arg1;
6267}
8ab979d7
RD
6268 return _resultobj;
6269}
6270
98624b49
RD
6271#define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6272static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6273 PyObject * _resultobj;
98624b49 6274 int _result;
8ab979d7 6275 wxTextCtrl * _arg0;
98624b49 6276 long _arg1;
1d99702e 6277 PyObject * _argo0 = 0;
98624b49 6278 char *_kwnames[] = { "self","lineNo", NULL };
8ab979d7
RD
6279
6280 self = self;
98624b49 6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
8ab979d7 6282 return NULL;
1d99702e
RD
6283 if (_argo0) {
6284 if (_argo0 == Py_None) { _arg0 = NULL; }
6285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
8ab979d7
RD
6287 return NULL;
6288 }
6289 }
cf694132
RD
6290{
6291 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6292 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
cf694132
RD
6293
6294 wxPy_END_ALLOW_THREADS;
493f1553 6295 if (PyErr_Occurred()) return NULL;
98624b49 6296} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6297 return _resultobj;
6298}
6299
98624b49
RD
6300#define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6301static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6302 PyObject * _resultobj;
98624b49 6303 wxString * _result;
8ab979d7 6304 wxTextCtrl * _arg0;
98624b49 6305 long _arg1;
1d99702e 6306 PyObject * _argo0 = 0;
98624b49 6307 char *_kwnames[] = { "self","lineNo", NULL };
8ab979d7
RD
6308
6309 self = self;
98624b49 6310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
8ab979d7 6311 return NULL;
1d99702e
RD
6312 if (_argo0) {
6313 if (_argo0 == Py_None) { _arg0 = NULL; }
6314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
8ab979d7
RD
6316 return NULL;
6317 }
6318 }
cf694132
RD
6319{
6320 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6321 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
cf694132
RD
6322
6323 wxPy_END_ALLOW_THREADS;
493f1553 6324 if (PyErr_Occurred()) return NULL;
98624b49
RD
6325}{
6326 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6327}
6328{
6329 delete _result;
6330}
8ab979d7
RD
6331 return _resultobj;
6332}
6333
98624b49
RD
6334#define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6335static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6336 PyObject * _resultobj;
98624b49 6337 int _result;
8ab979d7 6338 wxTextCtrl * _arg0;
1d99702e 6339 PyObject * _argo0 = 0;
efc5f224 6340 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6341
6342 self = self;
98624b49 6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
8ab979d7 6344 return NULL;
1d99702e
RD
6345 if (_argo0) {
6346 if (_argo0 == Py_None) { _arg0 = NULL; }
6347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
8ab979d7
RD
6349 return NULL;
6350 }
6351 }
cf694132
RD
6352{
6353 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6354 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
cf694132
RD
6355
6356 wxPy_END_ALLOW_THREADS;
493f1553 6357 if (PyErr_Occurred()) return NULL;
98624b49 6358} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6359 return _resultobj;
6360}
6361
98624b49
RD
6362#define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6363static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6364 PyObject * _resultobj;
98624b49 6365 bool _result;
8ab979d7 6366 wxTextCtrl * _arg0;
1d99702e 6367 PyObject * _argo0 = 0;
efc5f224 6368 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6369
6370 self = self;
98624b49 6371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
8ab979d7 6372 return NULL;
1d99702e
RD
6373 if (_argo0) {
6374 if (_argo0 == Py_None) { _arg0 = NULL; }
6375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
8ab979d7
RD
6377 return NULL;
6378 }
6379 }
cf694132
RD
6380{
6381 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6382 _result = (bool )wxTextCtrl_IsModified(_arg0);
cf694132
RD
6383
6384 wxPy_END_ALLOW_THREADS;
493f1553 6385 if (PyErr_Occurred()) return NULL;
98624b49 6386} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6387 return _resultobj;
6388}
6389
98624b49
RD
6390#define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6391static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6392 PyObject * _resultobj;
98624b49 6393 bool _result;
8ab979d7 6394 wxTextCtrl * _arg0;
1d99702e 6395 PyObject * _argo0 = 0;
98624b49 6396 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6397
6398 self = self;
98624b49 6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
8ab979d7 6400 return NULL;
1d99702e
RD
6401 if (_argo0) {
6402 if (_argo0 == Py_None) { _arg0 = NULL; }
6403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
8ab979d7
RD
6405 return NULL;
6406 }
6407 }
cf694132
RD
6408{
6409 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6410 _result = (bool )wxTextCtrl_IsEditable(_arg0);
cf694132
RD
6411
6412 wxPy_END_ALLOW_THREADS;
493f1553 6413 if (PyErr_Occurred()) return NULL;
cf694132 6414} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6415 return _resultobj;
6416}
6417
98624b49
RD
6418#define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6419static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6420 PyObject * _resultobj;
8ab979d7 6421 wxTextCtrl * _arg0;
98624b49
RD
6422 long * _arg1;
6423 long temp;
6424 long * _arg2;
6425 long temp0;
1d99702e 6426 PyObject * _argo0 = 0;
98624b49 6427 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6428
6429 self = self;
98624b49
RD
6430{
6431 _arg1 = &temp;
6432}
6433{
6434 _arg2 = &temp0;
6435}
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 6437 return NULL;
1d99702e
RD
6438 if (_argo0) {
6439 if (_argo0 == Py_None) { _arg0 = NULL; }
6440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
8ab979d7
RD
6442 return NULL;
6443 }
6444 }
8ab979d7 6445{
cf694132 6446 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6447 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
cf694132
RD
6448
6449 wxPy_END_ALLOW_THREADS;
493f1553 6450 if (PyErr_Occurred()) return NULL;
98624b49
RD
6451} Py_INCREF(Py_None);
6452 _resultobj = Py_None;
6453{
6454 PyObject *o;
6455 o = PyInt_FromLong((long) (*_arg1));
6456 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
6457}
6458{
98624b49
RD
6459 PyObject *o;
6460 o = PyInt_FromLong((long) (*_arg2));
6461 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
6462}
6463 return _resultobj;
6464}
6465
b78b83ec
RD
6466#define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6467static PyObject *_wrap_wxTextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6468 PyObject * _resultobj;
6469 wxString * _result;
6470 wxTextCtrl * _arg0;
6471 PyObject * _argo0 = 0;
6472 char *_kwnames[] = { "self", NULL };
6473
6474 self = self;
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetStringSelection",_kwnames,&_argo0))
6476 return NULL;
6477 if (_argo0) {
6478 if (_argo0 == Py_None) { _arg0 = NULL; }
6479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6481 return NULL;
6482 }
6483 }
6484{
6485 wxPy_BEGIN_ALLOW_THREADS;
6486 _result = new wxString (wxTextCtrl_GetStringSelection(_arg0));
6487
6488 wxPy_END_ALLOW_THREADS;
6489 if (PyErr_Occurred()) return NULL;
6490}{
6491 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6492}
6493{
6494 delete _result;
6495}
6496 return _resultobj;
6497}
6498
98624b49
RD
6499#define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6500static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6501 PyObject * _resultobj;
8ab979d7 6502 wxTextCtrl * _arg0;
1d99702e 6503 PyObject * _argo0 = 0;
efc5f224 6504 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6505
6506 self = self;
98624b49 6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
8ab979d7 6508 return NULL;
1d99702e
RD
6509 if (_argo0) {
6510 if (_argo0 == Py_None) { _arg0 = NULL; }
6511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
8ab979d7
RD
6513 return NULL;
6514 }
6515 }
cf694132
RD
6516{
6517 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6518 wxTextCtrl_Clear(_arg0);
cf694132
RD
6519
6520 wxPy_END_ALLOW_THREADS;
493f1553 6521 if (PyErr_Occurred()) return NULL;
98624b49
RD
6522} Py_INCREF(Py_None);
6523 _resultobj = Py_None;
8ab979d7
RD
6524 return _resultobj;
6525}
6526
98624b49
RD
6527#define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6528static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6529 PyObject * _resultobj;
8ab979d7 6530 wxTextCtrl * _arg0;
98624b49
RD
6531 long _arg1;
6532 long _arg2;
6533 wxString * _arg3;
1d99702e 6534 PyObject * _argo0 = 0;
98624b49
RD
6535 PyObject * _obj3 = 0;
6536 char *_kwnames[] = { "self","from","to","value", NULL };
8ab979d7
RD
6537
6538 self = self;
98624b49 6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 6540 return NULL;
1d99702e
RD
6541 if (_argo0) {
6542 if (_argo0 == Py_None) { _arg0 = NULL; }
6543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
8ab979d7
RD
6545 return NULL;
6546 }
6547 }
98624b49
RD
6548{
6549#if PYTHON_API_VERSION >= 1009
6550 char* tmpPtr; int tmpSize;
6551 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
6552 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6553 return NULL;
6554 }
6555 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
6556 return NULL;
6557 _arg3 = new wxString(tmpPtr, tmpSize);
6558#else
6559 if (!PyString_Check(_obj3)) {
6560 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6561 return NULL;
6562 }
6563 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
6564#endif
6565}
8ab979d7 6566{
cf694132 6567 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6568 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
cf694132
RD
6569
6570 wxPy_END_ALLOW_THREADS;
493f1553 6571 if (PyErr_Occurred()) return NULL;
98624b49
RD
6572} Py_INCREF(Py_None);
6573 _resultobj = Py_None;
8ab979d7 6574{
98624b49
RD
6575 if (_obj3)
6576 delete _arg3;
8ab979d7
RD
6577}
6578 return _resultobj;
6579}
6580
98624b49
RD
6581#define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6582static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6583 PyObject * _resultobj;
8ab979d7 6584 wxTextCtrl * _arg0;
98624b49
RD
6585 long _arg1;
6586 long _arg2;
1d99702e 6587 PyObject * _argo0 = 0;
98624b49 6588 char *_kwnames[] = { "self","from","to", NULL };
8ab979d7
RD
6589
6590 self = self;
98624b49 6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 6592 return NULL;
1d99702e
RD
6593 if (_argo0) {
6594 if (_argo0 == Py_None) { _arg0 = NULL; }
6595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
8ab979d7
RD
6597 return NULL;
6598 }
6599 }
cf694132
RD
6600{
6601 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6602 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
cf694132
RD
6603
6604 wxPy_END_ALLOW_THREADS;
493f1553 6605 if (PyErr_Occurred()) return NULL;
98624b49
RD
6606} Py_INCREF(Py_None);
6607 _resultobj = Py_None;
8ab979d7
RD
6608 return _resultobj;
6609}
6610
6611#define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
efc5f224 6612static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6613 PyObject * _resultobj;
6614 bool _result;
6615 wxTextCtrl * _arg0;
6616 wxString * _arg1;
1d99702e 6617 PyObject * _argo0 = 0;
8ab979d7 6618 PyObject * _obj1 = 0;
98624b49 6619 char *_kwnames[] = { "self","file", NULL };
8ab979d7
RD
6620
6621 self = self;
efc5f224 6622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
8ab979d7 6623 return NULL;
1d99702e
RD
6624 if (_argo0) {
6625 if (_argo0 == Py_None) { _arg0 = NULL; }
6626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8ab979d7
RD
6627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6628 return NULL;
6629 }
6630 }
6631{
185d7c3e
RD
6632#if PYTHON_API_VERSION >= 1009
6633 char* tmpPtr; int tmpSize;
6634 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 6635 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
6636 return NULL;
6637 }
6638 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6639 return NULL;
6640 _arg1 = new wxString(tmpPtr, tmpSize);
6641#else
8ab979d7
RD
6642 if (!PyString_Check(_obj1)) {
6643 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6644 return NULL;
6645 }
185d7c3e
RD
6646 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6647#endif
8ab979d7 6648}
cf694132
RD
6649{
6650 wxPy_BEGIN_ALLOW_THREADS;
6651 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
6652
6653 wxPy_END_ALLOW_THREADS;
493f1553 6654 if (PyErr_Occurred()) return NULL;
cf694132 6655} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6656{
6657 if (_obj1)
6658 delete _arg1;
6659}
6660 return _resultobj;
6661}
6662
98624b49
RD
6663#define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6664static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6665 PyObject * _resultobj;
98624b49 6666 bool _result;
8ab979d7 6667 wxTextCtrl * _arg0;
98624b49 6668 wxString * _arg1 = (wxString *) &wxEmptyString;
1d99702e 6669 PyObject * _argo0 = 0;
98624b49
RD
6670 PyObject * _obj1 = 0;
6671 char *_kwnames[] = { "self","file", NULL };
8ab979d7
RD
6672
6673 self = self;
98624b49 6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
8ab979d7 6675 return NULL;
1d99702e
RD
6676 if (_argo0) {
6677 if (_argo0 == Py_None) { _arg0 = NULL; }
6678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
8ab979d7
RD
6680 return NULL;
6681 }
6682 }
98624b49
RD
6683 if (_obj1)
6684{
6685#if PYTHON_API_VERSION >= 1009
6686 char* tmpPtr; int tmpSize;
6687 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6688 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6689 return NULL;
6690 }
6691 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6692 return NULL;
6693 _arg1 = new wxString(tmpPtr, tmpSize);
6694#else
6695 if (!PyString_Check(_obj1)) {
6696 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6697 return NULL;
6698 }
6699 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6700#endif
6701}
cf694132
RD
6702{
6703 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6704 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
cf694132
RD
6705
6706 wxPy_END_ALLOW_THREADS;
493f1553 6707 if (PyErr_Occurred()) return NULL;
98624b49
RD
6708} _resultobj = Py_BuildValue("i",_result);
6709{
6710 if (_obj1)
6711 delete _arg1;
6712}
8ab979d7
RD
6713 return _resultobj;
6714}
6715
98624b49
RD
6716#define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6717static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6718 PyObject * _resultobj;
6719 wxTextCtrl * _arg0;
1d99702e 6720 PyObject * _argo0 = 0;
98624b49 6721 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6722
6723 self = self;
98624b49 6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
8ab979d7 6725 return NULL;
1d99702e
RD
6726 if (_argo0) {
6727 if (_argo0 == Py_None) { _arg0 = NULL; }
6728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
8ab979d7
RD
6730 return NULL;
6731 }
6732 }
cf694132
RD
6733{
6734 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6735 wxTextCtrl_DiscardEdits(_arg0);
cf694132
RD
6736
6737 wxPy_END_ALLOW_THREADS;
493f1553 6738 if (PyErr_Occurred()) return NULL;
cf694132 6739} Py_INCREF(Py_None);
8ab979d7 6740 _resultobj = Py_None;
8ab979d7
RD
6741 return _resultobj;
6742}
6743
98624b49
RD
6744#define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6745static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6746 PyObject * _resultobj;
6747 wxTextCtrl * _arg0;
98624b49 6748 unsigned long _arg1;
1d99702e 6749 PyObject * _argo0 = 0;
98624b49 6750 char *_kwnames[] = { "self","len", NULL };
8ab979d7
RD
6751
6752 self = self;
98624b49 6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
8ab979d7 6754 return NULL;
1d99702e
RD
6755 if (_argo0) {
6756 if (_argo0 == Py_None) { _arg0 = NULL; }
6757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
8ab979d7
RD
6759 return NULL;
6760 }
6761 }
cf694132
RD
6762{
6763 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6764 wxTextCtrl_SetMaxLength(_arg0,_arg1);
cf694132
RD
6765
6766 wxPy_END_ALLOW_THREADS;
493f1553 6767 if (PyErr_Occurred()) return NULL;
cf694132 6768} Py_INCREF(Py_None);
8ab979d7
RD
6769 _resultobj = Py_None;
6770 return _resultobj;
6771}
6772
98624b49
RD
6773#define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6774static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6775 PyObject * _resultobj;
6776 wxTextCtrl * _arg0;
98624b49 6777 wxString * _arg1;
1d99702e 6778 PyObject * _argo0 = 0;
98624b49
RD
6779 PyObject * _obj1 = 0;
6780 char *_kwnames[] = { "self","text", NULL };
8ab979d7
RD
6781
6782 self = self;
98624b49 6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
8ab979d7 6784 return NULL;
1d99702e
RD
6785 if (_argo0) {
6786 if (_argo0 == Py_None) { _arg0 = NULL; }
6787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
8ab979d7
RD
6789 return NULL;
6790 }
6791 }
6792{
185d7c3e
RD
6793#if PYTHON_API_VERSION >= 1009
6794 char* tmpPtr; int tmpSize;
98624b49 6795 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 6796 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
6797 return NULL;
6798 }
98624b49 6799 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
185d7c3e 6800 return NULL;
98624b49 6801 _arg1 = new wxString(tmpPtr, tmpSize);
185d7c3e 6802#else
98624b49 6803 if (!PyString_Check(_obj1)) {
8ab979d7
RD
6804 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6805 return NULL;
6806 }
98624b49 6807 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
185d7c3e 6808#endif
8ab979d7 6809}
cf694132
RD
6810{
6811 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6812 wxTextCtrl_WriteText(_arg0,*_arg1);
cf694132
RD
6813
6814 wxPy_END_ALLOW_THREADS;
493f1553 6815 if (PyErr_Occurred()) return NULL;
cf694132 6816} Py_INCREF(Py_None);
8ab979d7
RD
6817 _resultobj = Py_None;
6818{
98624b49
RD
6819 if (_obj1)
6820 delete _arg1;
8ab979d7
RD
6821}
6822 return _resultobj;
6823}
6824
98624b49
RD
6825#define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6826static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6827 PyObject * _resultobj;
8ab979d7
RD
6828 wxTextCtrl * _arg0;
6829 wxString * _arg1;
1d99702e 6830 PyObject * _argo0 = 0;
8ab979d7 6831 PyObject * _obj1 = 0;
98624b49 6832 char *_kwnames[] = { "self","text", NULL };
8ab979d7
RD
6833
6834 self = self;
98624b49 6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
8ab979d7 6836 return NULL;
1d99702e
RD
6837 if (_argo0) {
6838 if (_argo0 == Py_None) { _arg0 = NULL; }
6839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
8ab979d7
RD
6841 return NULL;
6842 }
6843 }
6844{
185d7c3e
RD
6845#if PYTHON_API_VERSION >= 1009
6846 char* tmpPtr; int tmpSize;
6847 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 6848 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
6849 return NULL;
6850 }
6851 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6852 return NULL;
6853 _arg1 = new wxString(tmpPtr, tmpSize);
6854#else
8ab979d7
RD
6855 if (!PyString_Check(_obj1)) {
6856 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6857 return NULL;
6858 }
185d7c3e
RD
6859 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6860#endif
8ab979d7 6861}
cf694132
RD
6862{
6863 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6864 wxTextCtrl_AppendText(_arg0,*_arg1);
cf694132
RD
6865
6866 wxPy_END_ALLOW_THREADS;
493f1553 6867 if (PyErr_Occurred()) return NULL;
98624b49
RD
6868} Py_INCREF(Py_None);
6869 _resultobj = Py_None;
8ab979d7
RD
6870{
6871 if (_obj1)
6872 delete _arg1;
6873}
6874 return _resultobj;
6875}
6876
98624b49
RD
6877#define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6878static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6879 PyObject * _resultobj;
98624b49 6880 bool _result;
8ab979d7 6881 wxTextCtrl * _arg0;
98624b49
RD
6882 long _arg1;
6883 long _arg2;
6884 wxTextAttr * _arg3;
1d99702e 6885 PyObject * _argo0 = 0;
98624b49
RD
6886 PyObject * _argo3 = 0;
6887 char *_kwnames[] = { "self","start","end","style", NULL };
8ab979d7
RD
6888
6889 self = self;
98624b49 6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
8ab979d7 6891 return NULL;
1d99702e
RD
6892 if (_argo0) {
6893 if (_argo0 == Py_None) { _arg0 = NULL; }
6894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49
RD
6895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6896 return NULL;
6897 }
6898 }
6899 if (_argo3) {
6900 if (_argo3 == Py_None) { _arg3 = NULL; }
6901 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
6902 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
8ab979d7
RD
6903 return NULL;
6904 }
6905 }
cf694132
RD
6906{
6907 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6908 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
cf694132
RD
6909
6910 wxPy_END_ALLOW_THREADS;
493f1553 6911 if (PyErr_Occurred()) return NULL;
98624b49 6912} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6913 return _resultobj;
6914}
6915
98624b49
RD
6916#define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6917static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6918 PyObject * _resultobj;
98624b49 6919 bool _result;
8ab979d7 6920 wxTextCtrl * _arg0;
98624b49 6921 wxTextAttr * _arg1;
1d99702e 6922 PyObject * _argo0 = 0;
98624b49
RD
6923 PyObject * _argo1 = 0;
6924 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
6925
6926 self = self;
98624b49 6927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
8ab979d7 6928 return NULL;
1d99702e
RD
6929 if (_argo0) {
6930 if (_argo0 == Py_None) { _arg0 = NULL; }
6931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49
RD
6932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6933 return NULL;
6934 }
6935 }
6936 if (_argo1) {
6937 if (_argo1 == Py_None) { _arg1 = NULL; }
6938 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
6939 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
8ab979d7
RD
6940 return NULL;
6941 }
6942 }
cf694132
RD
6943{
6944 wxPy_BEGIN_ALLOW_THREADS;
98624b49 6945 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
cf694132
RD
6946
6947 wxPy_END_ALLOW_THREADS;
493f1553 6948 if (PyErr_Occurred()) return NULL;
98624b49 6949} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6950 return _resultobj;
6951}
6952
98624b49
RD
6953#define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6954static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6955 PyObject * _resultobj;
98624b49 6956 wxTextAttr * _result;
8ab979d7 6957 wxTextCtrl * _arg0;
1d99702e 6958 PyObject * _argo0 = 0;
efc5f224 6959 char *_kwnames[] = { "self", NULL };
98624b49 6960 char _ptemp[128];
8ab979d7
RD
6961
6962 self = self;
98624b49 6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
8ab979d7 6964 return NULL;
1d99702e
RD
6965 if (_argo0) {
6966 if (_argo0 == Py_None) { _arg0 = NULL; }
6967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
8ab979d7
RD
6969 return NULL;
6970 }
6971 }
cf694132
RD
6972{
6973 wxPy_BEGIN_ALLOW_THREADS;
98624b49
RD
6974 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
6975 _result = (wxTextAttr *) &_result_ref;
cf694132
RD
6976
6977 wxPy_END_ALLOW_THREADS;
493f1553 6978 if (PyErr_Occurred()) return NULL;
98624b49
RD
6979} if (_result) {
6980 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
6981 _resultobj = Py_BuildValue("s",_ptemp);
6982 } else {
6983 Py_INCREF(Py_None);
6984 _resultobj = Py_None;
6985 }
8ab979d7
RD
6986 return _resultobj;
6987}
6988
98624b49
RD
6989#define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
6990static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6991 PyObject * _resultobj;
98624b49 6992 long _result;
8ab979d7
RD
6993 wxTextCtrl * _arg0;
6994 long _arg1;
6995 long _arg2;
1d99702e 6996 PyObject * _argo0 = 0;
98624b49 6997 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
6998
6999 self = self;
98624b49 7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7001 return NULL;
1d99702e
RD
7002 if (_argo0) {
7003 if (_argo0 == Py_None) { _arg0 = NULL; }
7004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
8ab979d7
RD
7006 return NULL;
7007 }
7008 }
cf694132
RD
7009{
7010 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7011 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
cf694132
RD
7012
7013 wxPy_END_ALLOW_THREADS;
493f1553 7014 if (PyErr_Occurred()) return NULL;
98624b49 7015} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7016 return _resultobj;
7017}
7018
98624b49
RD
7019#define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7020static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7021 PyObject * _resultobj;
98624b49 7022 bool _result;
8ab979d7 7023 wxTextCtrl * _arg0;
98624b49
RD
7024 long _arg1;
7025 long * _arg2;
7026 long temp;
7027 long * _arg3;
7028 long temp0;
1d99702e 7029 PyObject * _argo0 = 0;
98624b49 7030 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
7031
7032 self = self;
98624b49
RD
7033{
7034 _arg2 = &temp;
7035}
7036{
7037 _arg3 = &temp0;
7038}
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
8ab979d7 7040 return NULL;
1d99702e
RD
7041 if (_argo0) {
7042 if (_argo0 == Py_None) { _arg0 = NULL; }
7043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
8ab979d7
RD
7045 return NULL;
7046 }
7047 }
cf694132
RD
7048{
7049 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7050 _result = (bool )wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
cf694132
RD
7051
7052 wxPy_END_ALLOW_THREADS;
493f1553 7053 if (PyErr_Occurred()) return NULL;
98624b49 7054} _resultobj = Py_BuildValue("i",_result);
8ab979d7 7055{
98624b49
RD
7056 PyObject *o;
7057 o = PyInt_FromLong((long) (*_arg2));
7058 _resultobj = t_output_helper(_resultobj, o);
7059}
7060{
7061 PyObject *o;
7062 o = PyInt_FromLong((long) (*_arg3));
7063 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7064}
7065 return _resultobj;
7066}
7067
7068#define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
efc5f224 7069static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7070 PyObject * _resultobj;
7071 wxTextCtrl * _arg0;
7072 long _arg1;
1d99702e 7073 PyObject * _argo0 = 0;
efc5f224 7074 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
7075
7076 self = self;
efc5f224 7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 7078 return NULL;
1d99702e
RD
7079 if (_argo0) {
7080 if (_argo0 == Py_None) { _arg0 = NULL; }
7081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8ab979d7
RD
7082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7083 return NULL;
7084 }
7085 }
cf694132
RD
7086{
7087 wxPy_BEGIN_ALLOW_THREADS;
7088 wxTextCtrl_ShowPosition(_arg0,_arg1);
7089
7090 wxPy_END_ALLOW_THREADS;
493f1553 7091 if (PyErr_Occurred()) return NULL;
cf694132 7092} Py_INCREF(Py_None);
8ab979d7
RD
7093 _resultobj = Py_None;
7094 return _resultobj;
7095}
7096
98624b49
RD
7097#define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7098static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7099 PyObject * _resultobj;
7100 wxTextCtrl * _arg0;
1d99702e 7101 PyObject * _argo0 = 0;
98624b49 7102 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7103
7104 self = self;
98624b49 7105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
8ab979d7 7106 return NULL;
1d99702e
RD
7107 if (_argo0) {
7108 if (_argo0 == Py_None) { _arg0 = NULL; }
7109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
8ab979d7
RD
7111 return NULL;
7112 }
7113 }
cf694132
RD
7114{
7115 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7116 wxTextCtrl_Copy(_arg0);
cf694132
RD
7117
7118 wxPy_END_ALLOW_THREADS;
493f1553 7119 if (PyErr_Occurred()) return NULL;
cf694132
RD
7120} Py_INCREF(Py_None);
7121 _resultobj = Py_None;
cf694132
RD
7122 return _resultobj;
7123}
7124
98624b49
RD
7125#define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7126static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7127 PyObject * _resultobj;
7128 wxTextCtrl * _arg0;
1d99702e 7129 PyObject * _argo0 = 0;
98624b49 7130 char *_kwnames[] = { "self", NULL };
cf694132
RD
7131
7132 self = self;
98624b49 7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
cf694132 7134 return NULL;
1d99702e
RD
7135 if (_argo0) {
7136 if (_argo0 == Py_None) { _arg0 = NULL; }
7137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
cf694132
RD
7139 return NULL;
7140 }
7141 }
cf694132
RD
7142{
7143 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7144 wxTextCtrl_Cut(_arg0);
cf694132
RD
7145
7146 wxPy_END_ALLOW_THREADS;
493f1553 7147 if (PyErr_Occurred()) return NULL;
cf694132 7148} Py_INCREF(Py_None);
8ab979d7 7149 _resultobj = Py_None;
8ab979d7
RD
7150 return _resultobj;
7151}
7152
98624b49
RD
7153#define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7154static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7155 PyObject * _resultobj;
8ab979d7 7156 wxTextCtrl * _arg0;
1d99702e 7157 PyObject * _argo0 = 0;
98624b49 7158 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7159
7160 self = self;
98624b49 7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
8ab979d7 7162 return NULL;
1d99702e
RD
7163 if (_argo0) {
7164 if (_argo0 == Py_None) { _arg0 = NULL; }
7165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
8ab979d7
RD
7167 return NULL;
7168 }
7169 }
cf694132
RD
7170{
7171 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7172 wxTextCtrl_Paste(_arg0);
cf694132
RD
7173
7174 wxPy_END_ALLOW_THREADS;
493f1553 7175 if (PyErr_Occurred()) return NULL;
98624b49
RD
7176} Py_INCREF(Py_None);
7177 _resultobj = Py_None;
8ab979d7
RD
7178 return _resultobj;
7179}
7180
c127177f 7181#define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
efc5f224 7182static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7183 PyObject * _resultobj;
7184 bool _result;
7185 wxTextCtrl * _arg0;
1d99702e 7186 PyObject * _argo0 = 0;
efc5f224 7187 char *_kwnames[] = { "self", NULL };
c127177f
RD
7188
7189 self = self;
efc5f224 7190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
c127177f 7191 return NULL;
1d99702e
RD
7192 if (_argo0) {
7193 if (_argo0 == Py_None) { _arg0 = NULL; }
7194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
c127177f
RD
7195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7196 return NULL;
7197 }
7198 }
7199{
7200 wxPy_BEGIN_ALLOW_THREADS;
7201 _result = (bool )wxTextCtrl_CanCopy(_arg0);
7202
7203 wxPy_END_ALLOW_THREADS;
493f1553 7204 if (PyErr_Occurred()) return NULL;
c127177f
RD
7205} _resultobj = Py_BuildValue("i",_result);
7206 return _resultobj;
7207}
7208
7209#define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
efc5f224 7210static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7211 PyObject * _resultobj;
7212 bool _result;
7213 wxTextCtrl * _arg0;
1d99702e 7214 PyObject * _argo0 = 0;
efc5f224 7215 char *_kwnames[] = { "self", NULL };
c127177f
RD
7216
7217 self = self;
efc5f224 7218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
c127177f 7219 return NULL;
1d99702e
RD
7220 if (_argo0) {
7221 if (_argo0 == Py_None) { _arg0 = NULL; }
7222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
c127177f
RD
7223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7224 return NULL;
7225 }
7226 }
7227{
7228 wxPy_BEGIN_ALLOW_THREADS;
7229 _result = (bool )wxTextCtrl_CanCut(_arg0);
7230
7231 wxPy_END_ALLOW_THREADS;
493f1553 7232 if (PyErr_Occurred()) return NULL;
c127177f
RD
7233} _resultobj = Py_BuildValue("i",_result);
7234 return _resultobj;
7235}
7236
7237#define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
efc5f224 7238static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7239 PyObject * _resultobj;
7240 bool _result;
7241 wxTextCtrl * _arg0;
1d99702e 7242 PyObject * _argo0 = 0;
efc5f224 7243 char *_kwnames[] = { "self", NULL };
c127177f
RD
7244
7245 self = self;
efc5f224 7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
c127177f 7247 return NULL;
1d99702e
RD
7248 if (_argo0) {
7249 if (_argo0 == Py_None) { _arg0 = NULL; }
7250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
c127177f
RD
7251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7252 return NULL;
7253 }
7254 }
7255{
7256 wxPy_BEGIN_ALLOW_THREADS;
7257 _result = (bool )wxTextCtrl_CanPaste(_arg0);
7258
7259 wxPy_END_ALLOW_THREADS;
493f1553 7260 if (PyErr_Occurred()) return NULL;
c127177f
RD
7261} _resultobj = Py_BuildValue("i",_result);
7262 return _resultobj;
7263}
7264
98624b49
RD
7265#define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7266static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f 7267 PyObject * _resultobj;
c127177f 7268 wxTextCtrl * _arg0;
1d99702e 7269 PyObject * _argo0 = 0;
efc5f224 7270 char *_kwnames[] = { "self", NULL };
c127177f
RD
7271
7272 self = self;
98624b49 7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
c127177f 7274 return NULL;
1d99702e
RD
7275 if (_argo0) {
7276 if (_argo0 == Py_None) { _arg0 = NULL; }
7277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
c127177f
RD
7279 return NULL;
7280 }
7281 }
7282{
7283 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7284 wxTextCtrl_Undo(_arg0);
c127177f
RD
7285
7286 wxPy_END_ALLOW_THREADS;
493f1553 7287 if (PyErr_Occurred()) return NULL;
98624b49
RD
7288} Py_INCREF(Py_None);
7289 _resultobj = Py_None;
c127177f
RD
7290 return _resultobj;
7291}
7292
98624b49
RD
7293#define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7294static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f 7295 PyObject * _resultobj;
c127177f 7296 wxTextCtrl * _arg0;
1d99702e 7297 PyObject * _argo0 = 0;
efc5f224 7298 char *_kwnames[] = { "self", NULL };
c127177f
RD
7299
7300 self = self;
98624b49 7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
c127177f 7302 return NULL;
1d99702e
RD
7303 if (_argo0) {
7304 if (_argo0 == Py_None) { _arg0 = NULL; }
7305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
c127177f
RD
7307 return NULL;
7308 }
7309 }
7310{
7311 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7312 wxTextCtrl_Redo(_arg0);
c127177f
RD
7313
7314 wxPy_END_ALLOW_THREADS;
493f1553 7315 if (PyErr_Occurred()) return NULL;
98624b49
RD
7316} Py_INCREF(Py_None);
7317 _resultobj = Py_None;
c127177f
RD
7318 return _resultobj;
7319}
7320
98624b49
RD
7321#define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7322static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f 7323 PyObject * _resultobj;
98624b49 7324 bool _result;
c127177f 7325 wxTextCtrl * _arg0;
1d99702e 7326 PyObject * _argo0 = 0;
efc5f224 7327 char *_kwnames[] = { "self", NULL };
c127177f
RD
7328
7329 self = self;
98624b49 7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
c127177f 7331 return NULL;
1d99702e
RD
7332 if (_argo0) {
7333 if (_argo0 == Py_None) { _arg0 = NULL; }
7334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
c127177f
RD
7336 return NULL;
7337 }
7338 }
7339{
7340 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7341 _result = (bool )wxTextCtrl_CanUndo(_arg0);
c127177f
RD
7342
7343 wxPy_END_ALLOW_THREADS;
493f1553 7344 if (PyErr_Occurred()) return NULL;
98624b49 7345} _resultobj = Py_BuildValue("i",_result);
c127177f
RD
7346 return _resultobj;
7347}
7348
98624b49
RD
7349#define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7350static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7351 PyObject * _resultobj;
7352 bool _result;
7353 wxTextCtrl * _arg0;
1d99702e 7354 PyObject * _argo0 = 0;
efc5f224 7355 char *_kwnames[] = { "self", NULL };
c127177f
RD
7356
7357 self = self;
98624b49 7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
c127177f 7359 return NULL;
1d99702e
RD
7360 if (_argo0) {
7361 if (_argo0 == Py_None) { _arg0 = NULL; }
7362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
c127177f
RD
7364 return NULL;
7365 }
7366 }
7367{
7368 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7369 _result = (bool )wxTextCtrl_CanRedo(_arg0);
c127177f
RD
7370
7371 wxPy_END_ALLOW_THREADS;
493f1553 7372 if (PyErr_Occurred()) return NULL;
c127177f
RD
7373} _resultobj = Py_BuildValue("i",_result);
7374 return _resultobj;
7375}
7376
98624b49
RD
7377#define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7378static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
b1462dfa
RD
7379 PyObject * _resultobj;
7380 wxTextCtrl * _arg0;
98624b49 7381 long _arg1;
b1462dfa 7382 PyObject * _argo0 = 0;
98624b49 7383 char *_kwnames[] = { "self","pos", NULL };
b1462dfa
RD
7384
7385 self = self;
98624b49 7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
b1462dfa
RD
7387 return NULL;
7388 if (_argo0) {
7389 if (_argo0 == Py_None) { _arg0 = NULL; }
7390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
b1462dfa
RD
7392 return NULL;
7393 }
7394 }
7395{
7396 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7397 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
b1462dfa
RD
7398
7399 wxPy_END_ALLOW_THREADS;
493f1553 7400 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7401} Py_INCREF(Py_None);
7402 _resultobj = Py_None;
7403 return _resultobj;
7404}
7405
98624b49
RD
7406#define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7407static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
b1462dfa
RD
7408 PyObject * _resultobj;
7409 wxTextCtrl * _arg0;
7410 PyObject * _argo0 = 0;
7411 char *_kwnames[] = { "self", NULL };
7412
7413 self = self;
98624b49 7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
b1462dfa
RD
7415 return NULL;
7416 if (_argo0) {
7417 if (_argo0 == Py_None) { _arg0 = NULL; }
7418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
b1462dfa
RD
7420 return NULL;
7421 }
7422 }
7423{
7424 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7425 wxTextCtrl_SetInsertionPointEnd(_arg0);
b1462dfa
RD
7426
7427 wxPy_END_ALLOW_THREADS;
493f1553 7428 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7429} Py_INCREF(Py_None);
7430 _resultobj = Py_None;
7431 return _resultobj;
7432}
7433
98624b49
RD
7434#define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7435static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d56cebe7 7436 PyObject * _resultobj;
98624b49 7437 long _result;
d56cebe7 7438 wxTextCtrl * _arg0;
d56cebe7 7439 PyObject * _argo0 = 0;
98624b49 7440 char *_kwnames[] = { "self", NULL };
d56cebe7
RD
7441
7442 self = self;
98624b49 7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
d56cebe7
RD
7444 return NULL;
7445 if (_argo0) {
7446 if (_argo0 == Py_None) { _arg0 = NULL; }
7447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
d56cebe7
RD
7449 return NULL;
7450 }
7451 }
7452{
7453 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7454 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
d56cebe7
RD
7455
7456 wxPy_END_ALLOW_THREADS;
7457 if (PyErr_Occurred()) return NULL;
98624b49 7458} _resultobj = Py_BuildValue("l",_result);
d56cebe7
RD
7459 return _resultobj;
7460}
7461
98624b49
RD
7462#define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7463static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d56cebe7 7464 PyObject * _resultobj;
98624b49 7465 long _result;
d56cebe7 7466 wxTextCtrl * _arg0;
d56cebe7 7467 PyObject * _argo0 = 0;
98624b49 7468 char *_kwnames[] = { "self", NULL };
d56cebe7
RD
7469
7470 self = self;
98624b49 7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
d56cebe7
RD
7472 return NULL;
7473 if (_argo0) {
7474 if (_argo0 == Py_None) { _arg0 = NULL; }
7475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
d56cebe7
RD
7477 return NULL;
7478 }
7479 }
98624b49
RD
7480{
7481 wxPy_BEGIN_ALLOW_THREADS;
7482 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
7483
7484 wxPy_END_ALLOW_THREADS;
7485 if (PyErr_Occurred()) return NULL;
7486} _resultobj = Py_BuildValue("l",_result);
7487 return _resultobj;
7488}
7489
7490#define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7491static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject * _resultobj;
7493 wxTextCtrl * _arg0;
7494 long _arg1;
7495 long _arg2;
7496 PyObject * _argo0 = 0;
7497 char *_kwnames[] = { "self","from","to", NULL };
7498
7499 self = self;
7500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
7501 return NULL;
7502 if (_argo0) {
7503 if (_argo0 == Py_None) { _arg0 = NULL; }
7504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
d56cebe7
RD
7506 return NULL;
7507 }
7508 }
7509{
7510 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7511 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
d56cebe7
RD
7512
7513 wxPy_END_ALLOW_THREADS;
7514 if (PyErr_Occurred()) return NULL;
98624b49
RD
7515} Py_INCREF(Py_None);
7516 _resultobj = Py_None;
d56cebe7
RD
7517 return _resultobj;
7518}
7519
98624b49
RD
7520#define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7521static PyObject *_wrap_wxTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
d56cebe7 7522 PyObject * _resultobj;
d56cebe7
RD
7523 wxTextCtrl * _arg0;
7524 PyObject * _argo0 = 0;
7525 char *_kwnames[] = { "self", NULL };
d56cebe7
RD
7526
7527 self = self;
98624b49 7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SelectAll",_kwnames,&_argo0))
d56cebe7
RD
7529 return NULL;
7530 if (_argo0) {
7531 if (_argo0 == Py_None) { _arg0 = NULL; }
7532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
d56cebe7
RD
7534 return NULL;
7535 }
7536 }
7537{
7538 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7539 wxTextCtrl_SelectAll(_arg0);
d56cebe7
RD
7540
7541 wxPy_END_ALLOW_THREADS;
7542 if (PyErr_Occurred()) return NULL;
98624b49
RD
7543} Py_INCREF(Py_None);
7544 _resultobj = Py_None;
d56cebe7
RD
7545 return _resultobj;
7546}
7547
98624b49
RD
7548#define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7549static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
00b6c4e3
RD
7550 PyObject * _resultobj;
7551 wxTextCtrl * _arg0;
98624b49 7552 bool _arg1;
00b6c4e3 7553 PyObject * _argo0 = 0;
98624b49
RD
7554 int tempbool1;
7555 char *_kwnames[] = { "self","editable", NULL };
00b6c4e3
RD
7556
7557 self = self;
98624b49 7558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
00b6c4e3
RD
7559 return NULL;
7560 if (_argo0) {
7561 if (_argo0 == Py_None) { _arg0 = NULL; }
7562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
00b6c4e3
RD
7564 return NULL;
7565 }
7566 }
98624b49 7567 _arg1 = (bool ) tempbool1;
00b6c4e3
RD
7568{
7569 wxPy_BEGIN_ALLOW_THREADS;
98624b49 7570 wxTextCtrl_SetEditable(_arg0,_arg1);
00b6c4e3
RD
7571
7572 wxPy_END_ALLOW_THREADS;
7573 if (PyErr_Occurred()) return NULL;
7574} Py_INCREF(Py_None);
7575 _resultobj = Py_None;
7576 return _resultobj;
7577}
7578
b1462dfa 7579static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
d56cebe7 7580 self->AppendText(text);
b1462dfa
RD
7581 }
7582static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7583 PyObject * _resultobj;
7584 wxTextCtrl * _arg0;
7585 wxString * _arg1;
7586 PyObject * _argo0 = 0;
7587 PyObject * _obj1 = 0;
7588 char *_kwnames[] = { "self","text", NULL };
7589
7590 self = self;
7591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
7592 return NULL;
7593 if (_argo0) {
7594 if (_argo0 == Py_None) { _arg0 = NULL; }
7595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7597 return NULL;
7598 }
7599 }
7600{
185d7c3e
RD
7601#if PYTHON_API_VERSION >= 1009
7602 char* tmpPtr; int tmpSize;
7603 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 7604 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
7605 return NULL;
7606 }
7607 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7608 return NULL;
7609 _arg1 = new wxString(tmpPtr, tmpSize);
7610#else
b1462dfa
RD
7611 if (!PyString_Check(_obj1)) {
7612 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7613 return NULL;
7614 }
185d7c3e
RD
7615 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7616#endif
b1462dfa
RD
7617}
7618{
7619 wxPy_BEGIN_ALLOW_THREADS;
7620 wxTextCtrl_write(_arg0,*_arg1);
7621
7622 wxPy_END_ALLOW_THREADS;
493f1553 7623 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7624} Py_INCREF(Py_None);
7625 _resultobj = Py_None;
7626{
7627 if (_obj1)
7628 delete _arg1;
7629}
7630 return _resultobj;
7631}
7632
8ab979d7
RD
7633static void *SwigwxScrollBarTowxControl(void *ptr) {
7634 wxScrollBar *src;
7635 wxControl *dest;
7636 src = (wxScrollBar *) ptr;
7637 dest = (wxControl *) src;
7638 return (void *) dest;
7639}
7640
7641static void *SwigwxScrollBarTowxWindow(void *ptr) {
7642 wxScrollBar *src;
7643 wxWindow *dest;
7644 src = (wxScrollBar *) ptr;
7645 dest = (wxWindow *) src;
7646 return (void *) dest;
7647}
7648
7649static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
7650 wxScrollBar *src;
7651 wxEvtHandler *dest;
7652 src = (wxScrollBar *) ptr;
7653 dest = (wxEvtHandler *) src;
7654 return (void *) dest;
7655}
7656
9416aa89
RD
7657static void *SwigwxScrollBarTowxObject(void *ptr) {
7658 wxScrollBar *src;
7659 wxObject *dest;
7660 src = (wxScrollBar *) ptr;
7661 dest = (wxObject *) src;
7662 return (void *) dest;
7663}
7664
8ab979d7 7665#define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 7666static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7667 PyObject * _resultobj;
7668 wxScrollBar * _result;
7669 wxWindow * _arg0;
1d99702e 7670 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
7671 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7672 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 7673 long _arg4 = (long ) wxSB_HORIZONTAL;
e508a2b6 7674 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
7675 char * _arg6 = (char *) "scrollBar";
7676 PyObject * _argo0 = 0;
2f90df85
RD
7677 wxPoint temp;
7678 PyObject * _obj2 = 0;
7679 wxSize temp0;
7680 PyObject * _obj3 = 0;
1d99702e 7681 PyObject * _argo5 = 0;
efc5f224 7682 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
7683 char _ptemp[128];
7684
7685 self = self;
2f90df85 7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 7687 return NULL;
1d99702e
RD
7688 if (_argo0) {
7689 if (_argo0 == Py_None) { _arg0 = NULL; }
7690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
7691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7692 return NULL;
7693 }
7694 }
2f90df85
RD
7695 if (_obj2)
7696{
7697 _arg2 = &temp;
7698 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 7699 return NULL;
2f90df85
RD
7700}
7701 if (_obj3)
7702{
7703 _arg3 = &temp0;
7704 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 7705 return NULL;
2f90df85 7706}
1d99702e
RD
7707 if (_argo5) {
7708 if (_argo5 == Py_None) { _arg5 = NULL; }
7709 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
7710 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7711 return NULL;
7712 }
7713 }
cf694132
RD
7714{
7715 wxPy_BEGIN_ALLOW_THREADS;
7716 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
7717
7718 wxPy_END_ALLOW_THREADS;
493f1553 7719 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7720} if (_result) {
7721 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
7722 _resultobj = Py_BuildValue("s",_ptemp);
7723 } else {
7724 Py_INCREF(Py_None);
7725 _resultobj = Py_None;
7726 }
8ab979d7
RD
7727 return _resultobj;
7728}
7729
09f3d4e6
RD
7730#define new_wxPreScrollBar() (new wxScrollBar())
7731static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7732 PyObject * _resultobj;
7733 wxScrollBar * _result;
7734 char *_kwnames[] = { NULL };
7735 char _ptemp[128];
7736
7737 self = self;
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
7739 return NULL;
7740{
7741 wxPy_BEGIN_ALLOW_THREADS;
7742 _result = (wxScrollBar *)new_wxPreScrollBar();
7743
7744 wxPy_END_ALLOW_THREADS;
7745 if (PyErr_Occurred()) return NULL;
7746} if (_result) {
7747 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
7748 _resultobj = Py_BuildValue("s",_ptemp);
7749 } else {
7750 Py_INCREF(Py_None);
7751 _resultobj = Py_None;
7752 }
7753 return _resultobj;
7754}
7755
7756#define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7757static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7758 PyObject * _resultobj;
7759 bool _result;
7760 wxScrollBar * _arg0;
7761 wxWindow * _arg1;
7762 wxWindowID _arg2 = (wxWindowID ) -1;
7763 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7764 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7765 long _arg5 = (long ) wxSB_HORIZONTAL;
7766 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
7767 char * _arg7 = (char *) "scrollBar";
7768 PyObject * _argo0 = 0;
7769 PyObject * _argo1 = 0;
7770 wxPoint temp;
7771 PyObject * _obj3 = 0;
7772 wxSize temp0;
7773 PyObject * _obj4 = 0;
7774 PyObject * _argo6 = 0;
7775 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
7776
7777 self = self;
7778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
7779 return NULL;
7780 if (_argo0) {
7781 if (_argo0 == Py_None) { _arg0 = NULL; }
7782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
7783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7784 return NULL;
7785 }
7786 }
7787 if (_argo1) {
7788 if (_argo1 == Py_None) { _arg1 = NULL; }
7789 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7790 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7791 return NULL;
7792 }
7793 }
7794 if (_obj3)
7795{
7796 _arg3 = &temp;
7797 if (! wxPoint_helper(_obj3, &_arg3))
7798 return NULL;
7799}
7800 if (_obj4)
7801{
7802 _arg4 = &temp0;
7803 if (! wxSize_helper(_obj4, &_arg4))
7804 return NULL;
7805}
7806 if (_argo6) {
7807 if (_argo6 == Py_None) { _arg6 = NULL; }
7808 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
7809 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7810 return NULL;
7811 }
7812 }
7813{
7814 wxPy_BEGIN_ALLOW_THREADS;
7815 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
7816
7817 wxPy_END_ALLOW_THREADS;
7818 if (PyErr_Occurred()) return NULL;
7819} _resultobj = Py_BuildValue("i",_result);
7820 return _resultobj;
7821}
7822
8ab979d7 7823#define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
efc5f224 7824static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7825 PyObject * _resultobj;
7826 int _result;
7827 wxScrollBar * _arg0;
1d99702e 7828 PyObject * _argo0 = 0;
efc5f224 7829 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7830
7831 self = self;
efc5f224 7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
8ab979d7 7833 return NULL;
1d99702e
RD
7834 if (_argo0) {
7835 if (_argo0 == Py_None) { _arg0 = NULL; }
7836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
7837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7838 return NULL;
7839 }
7840 }
cf694132
RD
7841{
7842 wxPy_BEGIN_ALLOW_THREADS;
7843 _result = (int )wxScrollBar_GetRange(_arg0);
7844
7845 wxPy_END_ALLOW_THREADS;
493f1553 7846 if (PyErr_Occurred()) return NULL;
cf694132 7847} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7848 return _resultobj;
7849}
7850
7851#define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
efc5f224 7852static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7853 PyObject * _resultobj;
7854 int _result;
7855 wxScrollBar * _arg0;
1d99702e 7856 PyObject * _argo0 = 0;
efc5f224 7857 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7858
7859 self = self;
efc5f224 7860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
8ab979d7 7861 return NULL;
1d99702e
RD
7862 if (_argo0) {
7863 if (_argo0 == Py_None) { _arg0 = NULL; }
7864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
7865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7866 return NULL;
7867 }
7868 }
cf694132
RD
7869{
7870 wxPy_BEGIN_ALLOW_THREADS;
7871 _result = (int )wxScrollBar_GetPageSize(_arg0);
7872
7873 wxPy_END_ALLOW_THREADS;
493f1553 7874 if (PyErr_Occurred()) return NULL;
cf694132 7875} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7876 return _resultobj;
7877}
7878
b8b8dda7 7879#define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
efc5f224 7880static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7881 PyObject * _resultobj;
7882 int _result;
7883 wxScrollBar * _arg0;
1d99702e 7884 PyObject * _argo0 = 0;
efc5f224 7885 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7886
7887 self = self;
efc5f224 7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
8ab979d7 7889 return NULL;
1d99702e
RD
7890 if (_argo0) {
7891 if (_argo0 == Py_None) { _arg0 = NULL; }
7892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
b8b8dda7 7893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8ab979d7
RD
7894 return NULL;
7895 }
7896 }
cf694132
RD
7897{
7898 wxPy_BEGIN_ALLOW_THREADS;
7899 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
7900
7901 wxPy_END_ALLOW_THREADS;
493f1553 7902 if (PyErr_Occurred()) return NULL;
cf694132 7903} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7904 return _resultobj;
7905}
7906
7907#define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
efc5f224 7908static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7909 PyObject * _resultobj;
7910 int _result;
7911 wxScrollBar * _arg0;
1d99702e 7912 PyObject * _argo0 = 0;
efc5f224 7913 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7914
7915 self = self;
efc5f224 7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
8ab979d7 7917 return NULL;
1d99702e
RD
7918 if (_argo0) {
7919 if (_argo0 == Py_None) { _arg0 = NULL; }
7920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
7921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
7922 return NULL;
7923 }
7924 }
cf694132
RD
7925{
7926 wxPy_BEGIN_ALLOW_THREADS;
7927 _result = (int )wxScrollBar_GetThumbSize(_arg0);
7928
7929 wxPy_END_ALLOW_THREADS;
493f1553 7930 if (PyErr_Occurred()) return NULL;
cf694132 7931} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7932 return _resultobj;
7933}
7934
b8b8dda7 7935#define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
efc5f224 7936static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7937 PyObject * _resultobj;
7938 wxScrollBar * _arg0;
7939 int _arg1;
1d99702e 7940 PyObject * _argo0 = 0;
efc5f224 7941 char *_kwnames[] = { "self","viewStart", NULL };
8ab979d7
RD
7942
7943 self = self;
efc5f224 7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 7945 return NULL;
1d99702e
RD
7946 if (_argo0) {
7947 if (_argo0 == Py_None) { _arg0 = NULL; }
7948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
b8b8dda7 7949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8ab979d7
RD
7950 return NULL;
7951 }
7952 }
cf694132
RD
7953{
7954 wxPy_BEGIN_ALLOW_THREADS;
7955 wxScrollBar_SetThumbPosition(_arg0,_arg1);
7956
7957 wxPy_END_ALLOW_THREADS;
493f1553 7958 if (PyErr_Occurred()) return NULL;
cf694132 7959} Py_INCREF(Py_None);
8ab979d7
RD
7960 _resultobj = Py_None;
7961 return _resultobj;
7962}
7963
7964#define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 7965static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7966 PyObject * _resultobj;
7967 wxScrollBar * _arg0;
7968 int _arg1;
7969 int _arg2;
7970 int _arg3;
7971 int _arg4;
1d99702e
RD
7972 bool _arg5 = (bool ) TRUE;
7973 PyObject * _argo0 = 0;
7974 int tempbool5 = (int) TRUE;
efc5f224 7975 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
8ab979d7
RD
7976
7977 self = self;
efc5f224 7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
8ab979d7 7979 return NULL;
1d99702e
RD
7980 if (_argo0) {
7981 if (_argo0 == Py_None) { _arg0 = NULL; }
7982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
7983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
7984 return NULL;
7985 }
7986 }
7987 _arg5 = (bool ) tempbool5;
cf694132
RD
7988{
7989 wxPy_BEGIN_ALLOW_THREADS;
7990 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7991
7992 wxPy_END_ALLOW_THREADS;
493f1553 7993 if (PyErr_Occurred()) return NULL;
cf694132 7994} Py_INCREF(Py_None);
8ab979d7
RD
7995 _resultobj = Py_None;
7996 return _resultobj;
7997}
7998
7999static void *SwigwxSpinButtonTowxControl(void *ptr) {
8000 wxSpinButton *src;
8001 wxControl *dest;
8002 src = (wxSpinButton *) ptr;
8003 dest = (wxControl *) src;
8004 return (void *) dest;
8005}
8006
8007static void *SwigwxSpinButtonTowxWindow(void *ptr) {
8008 wxSpinButton *src;
8009 wxWindow *dest;
8010 src = (wxSpinButton *) ptr;
8011 dest = (wxWindow *) src;
8012 return (void *) dest;
8013}
8014
8015static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
8016 wxSpinButton *src;
8017 wxEvtHandler *dest;
8018 src = (wxSpinButton *) ptr;
8019 dest = (wxEvtHandler *) src;
8020 return (void *) dest;
8021}
8022
9416aa89
RD
8023static void *SwigwxSpinButtonTowxObject(void *ptr) {
8024 wxSpinButton *src;
8025 wxObject *dest;
8026 src = (wxSpinButton *) ptr;
8027 dest = (wxObject *) src;
8028 return (void *) dest;
8029}
8030
8ab979d7 8031#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8032static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8033 PyObject * _resultobj;
8034 wxSpinButton * _result;
8035 wxWindow * _arg0;
1d99702e 8036 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
8037 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8038 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e
RD
8039 long _arg4 = (long ) wxSP_HORIZONTAL;
8040 char * _arg5 = (char *) "spinButton";
8041 PyObject * _argo0 = 0;
2f90df85
RD
8042 wxPoint temp;
8043 PyObject * _obj2 = 0;
8044 wxSize temp0;
8045 PyObject * _obj3 = 0;
efc5f224 8046 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
8047 char _ptemp[128];
8048
8049 self = self;
2f90df85 8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
8ab979d7 8051 return NULL;
1d99702e
RD
8052 if (_argo0) {
8053 if (_argo0 == Py_None) { _arg0 = NULL; }
8054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
8055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8056 return NULL;
8057 }
8058 }
2f90df85
RD
8059 if (_obj2)
8060{
8061 _arg2 = &temp;
8062 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 8063 return NULL;
2f90df85
RD
8064}
8065 if (_obj3)
8066{
8067 _arg3 = &temp0;
8068 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 8069 return NULL;
2f90df85 8070}
cf694132
RD
8071{
8072 wxPy_BEGIN_ALLOW_THREADS;
8073 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
8074
8075 wxPy_END_ALLOW_THREADS;
493f1553 8076 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8077} if (_result) {
8078 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8079 _resultobj = Py_BuildValue("s",_ptemp);
8080 } else {
8081 Py_INCREF(Py_None);
8082 _resultobj = Py_None;
8083 }
8ab979d7
RD
8084 return _resultobj;
8085}
8086
09f3d4e6
RD
8087#define new_wxPreSpinButton() (new wxSpinButton())
8088static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject * _resultobj;
8090 wxSpinButton * _result;
8091 char *_kwnames[] = { NULL };
8092 char _ptemp[128];
8093
8094 self = self;
8095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
8096 return NULL;
8097{
8098 wxPy_BEGIN_ALLOW_THREADS;
8099 _result = (wxSpinButton *)new_wxPreSpinButton();
8100
8101 wxPy_END_ALLOW_THREADS;
8102 if (PyErr_Occurred()) return NULL;
8103} if (_result) {
8104 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8105 _resultobj = Py_BuildValue("s",_ptemp);
8106 } else {
8107 Py_INCREF(Py_None);
8108 _resultobj = Py_None;
8109 }
8110 return _resultobj;
8111}
8112
8113#define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8114static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8115 PyObject * _resultobj;
8116 bool _result;
8117 wxSpinButton * _arg0;
8118 wxWindow * _arg1;
8119 wxWindowID _arg2 = (wxWindowID ) -1;
8120 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8121 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8122 long _arg5 = (long ) wxSP_HORIZONTAL;
8123 char * _arg6 = (char *) "spinButton";
8124 PyObject * _argo0 = 0;
8125 PyObject * _argo1 = 0;
8126 wxPoint temp;
8127 PyObject * _obj3 = 0;
8128 wxSize temp0;
8129 PyObject * _obj4 = 0;
8130 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
8131
8132 self = self;
8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOls:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
8134 return NULL;
8135 if (_argo0) {
8136 if (_argo0 == Py_None) { _arg0 = NULL; }
8137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8139 return NULL;
8140 }
8141 }
8142 if (_argo1) {
8143 if (_argo1 == Py_None) { _arg1 = NULL; }
8144 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8145 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8146 return NULL;
8147 }
8148 }
8149 if (_obj3)
8150{
8151 _arg3 = &temp;
8152 if (! wxPoint_helper(_obj3, &_arg3))
8153 return NULL;
8154}
8155 if (_obj4)
8156{
8157 _arg4 = &temp0;
8158 if (! wxSize_helper(_obj4, &_arg4))
8159 return NULL;
8160}
8161{
8162 wxPy_BEGIN_ALLOW_THREADS;
8163 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
8164
8165 wxPy_END_ALLOW_THREADS;
8166 if (PyErr_Occurred()) return NULL;
8167} _resultobj = Py_BuildValue("i",_result);
8168 return _resultobj;
8169}
8170
8ab979d7 8171#define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
efc5f224 8172static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8173 PyObject * _resultobj;
8174 int _result;
8175 wxSpinButton * _arg0;
1d99702e 8176 PyObject * _argo0 = 0;
efc5f224 8177 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8178
8179 self = self;
efc5f224 8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
8ab979d7 8181 return NULL;
1d99702e
RD
8182 if (_argo0) {
8183 if (_argo0 == Py_None) { _arg0 = NULL; }
8184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
8185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8186 return NULL;
8187 }
8188 }
cf694132
RD
8189{
8190 wxPy_BEGIN_ALLOW_THREADS;
8191 _result = (int )wxSpinButton_GetMax(_arg0);
8192
8193 wxPy_END_ALLOW_THREADS;
493f1553 8194 if (PyErr_Occurred()) return NULL;
cf694132 8195} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8196 return _resultobj;
8197}
8198
8199#define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
efc5f224 8200static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8201 PyObject * _resultobj;
8202 int _result;
8203 wxSpinButton * _arg0;
1d99702e 8204 PyObject * _argo0 = 0;
efc5f224 8205 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8206
8207 self = self;
efc5f224 8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
8ab979d7 8209 return NULL;
1d99702e
RD
8210 if (_argo0) {
8211 if (_argo0 == Py_None) { _arg0 = NULL; }
8212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
8213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8214 return NULL;
8215 }
8216 }
cf694132
RD
8217{
8218 wxPy_BEGIN_ALLOW_THREADS;
8219 _result = (int )wxSpinButton_GetMin(_arg0);
8220
8221 wxPy_END_ALLOW_THREADS;
493f1553 8222 if (PyErr_Occurred()) return NULL;
cf694132 8223} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8224 return _resultobj;
8225}
8226
8227#define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 8228static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8229 PyObject * _resultobj;
8230 int _result;
8231 wxSpinButton * _arg0;
1d99702e 8232 PyObject * _argo0 = 0;
efc5f224 8233 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8234
8235 self = self;
efc5f224 8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
8ab979d7 8237 return NULL;
1d99702e
RD
8238 if (_argo0) {
8239 if (_argo0 == Py_None) { _arg0 = NULL; }
8240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
8241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8242 return NULL;
8243 }
8244 }
cf694132
RD
8245{
8246 wxPy_BEGIN_ALLOW_THREADS;
8247 _result = (int )wxSpinButton_GetValue(_arg0);
8248
8249 wxPy_END_ALLOW_THREADS;
493f1553 8250 if (PyErr_Occurred()) return NULL;
cf694132 8251} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8252 return _resultobj;
8253}
8254
8255#define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
efc5f224 8256static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8257 PyObject * _resultobj;
8258 wxSpinButton * _arg0;
8259 int _arg1;
8260 int _arg2;
1d99702e 8261 PyObject * _argo0 = 0;
efc5f224 8262 char *_kwnames[] = { "self","min","max", NULL };
8ab979d7
RD
8263
8264 self = self;
efc5f224 8265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 8266 return NULL;
1d99702e
RD
8267 if (_argo0) {
8268 if (_argo0 == Py_None) { _arg0 = NULL; }
8269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
8270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8271 return NULL;
8272 }
8273 }
cf694132
RD
8274{
8275 wxPy_BEGIN_ALLOW_THREADS;
8276 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
8277
8278 wxPy_END_ALLOW_THREADS;
493f1553 8279 if (PyErr_Occurred()) return NULL;
cf694132 8280} Py_INCREF(Py_None);
8ab979d7
RD
8281 _resultobj = Py_None;
8282 return _resultobj;
8283}
8284
8285#define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 8286static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8287 PyObject * _resultobj;
8288 wxSpinButton * _arg0;
8289 int _arg1;
1d99702e 8290 PyObject * _argo0 = 0;
efc5f224 8291 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
8292
8293 self = self;
efc5f224 8294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
8ab979d7 8295 return NULL;
1d99702e
RD
8296 if (_argo0) {
8297 if (_argo0 == Py_None) { _arg0 = NULL; }
8298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
8299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8300 return NULL;
8301 }
8302 }
cf694132
RD
8303{
8304 wxPy_BEGIN_ALLOW_THREADS;
8305 wxSpinButton_SetValue(_arg0,_arg1);
8306
8307 wxPy_END_ALLOW_THREADS;
493f1553 8308 if (PyErr_Occurred()) return NULL;
cf694132 8309} Py_INCREF(Py_None);
8ab979d7
RD
8310 _resultobj = Py_None;
8311 return _resultobj;
8312}
8313
8314static void *SwigwxStaticBitmapTowxControl(void *ptr) {
8315 wxStaticBitmap *src;
8316 wxControl *dest;
8317 src = (wxStaticBitmap *) ptr;
8318 dest = (wxControl *) src;
8319 return (void *) dest;
8320}
8321
8322static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
8323 wxStaticBitmap *src;
8324 wxWindow *dest;
8325 src = (wxStaticBitmap *) ptr;
8326 dest = (wxWindow *) src;
8327 return (void *) dest;
8328}
8329
8330static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
8331 wxStaticBitmap *src;
8332 wxEvtHandler *dest;
8333 src = (wxStaticBitmap *) ptr;
8334 dest = (wxEvtHandler *) src;
8335 return (void *) dest;
8336}
8337
9416aa89
RD
8338static void *SwigwxStaticBitmapTowxObject(void *ptr) {
8339 wxStaticBitmap *src;
8340 wxObject *dest;
8341 src = (wxStaticBitmap *) ptr;
8342 dest = (wxObject *) src;
8343 return (void *) dest;
8344}
8345
8ab979d7 8346#define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 8347static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8348 PyObject * _resultobj;
8349 wxStaticBitmap * _result;
8350 wxWindow * _arg0;
8351 wxWindowID _arg1;
8352 wxBitmap * _arg2;
e508a2b6
RD
8353 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8354 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
8355 long _arg5 = (long ) 0;
8356 char * _arg6 = (char *) "staticBitmap";
8357 PyObject * _argo0 = 0;
09f3d4e6
RD
8358 PyObject * _argo2 = 0;
8359 wxPoint temp;
8360 PyObject * _obj3 = 0;
8361 wxSize temp0;
8362 PyObject * _obj4 = 0;
8363 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
8364 char _ptemp[128];
8365
8366 self = self;
8367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_arg6))
8368 return NULL;
8369 if (_argo0) {
8370 if (_argo0 == Py_None) { _arg0 = NULL; }
8371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8373 return NULL;
8374 }
8375 }
8376 if (_argo2) {
8377 if (_argo2 == Py_None) { _arg2 = NULL; }
8378 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
8379 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8380 return NULL;
8381 }
8382 }
8383 if (_obj3)
8384{
8385 _arg3 = &temp;
8386 if (! wxPoint_helper(_obj3, &_arg3))
8387 return NULL;
8388}
8389 if (_obj4)
8390{
8391 _arg4 = &temp0;
8392 if (! wxSize_helper(_obj4, &_arg4))
8393 return NULL;
8394}
8395{
8396 wxPy_BEGIN_ALLOW_THREADS;
8397 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
8398
8399 wxPy_END_ALLOW_THREADS;
8400 if (PyErr_Occurred()) return NULL;
8401} if (_result) {
8402 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8403 _resultobj = Py_BuildValue("s",_ptemp);
8404 } else {
8405 Py_INCREF(Py_None);
8406 _resultobj = Py_None;
8407 }
8408 return _resultobj;
8409}
8410
8411#define new_wxPreStaticBitmap() (new wxStaticBitmap())
8412static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8413 PyObject * _resultobj;
8414 wxStaticBitmap * _result;
8415 char *_kwnames[] = { NULL };
8416 char _ptemp[128];
8417
8418 self = self;
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
8420 return NULL;
8421{
8422 wxPy_BEGIN_ALLOW_THREADS;
8423 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
8424
8425 wxPy_END_ALLOW_THREADS;
8426 if (PyErr_Occurred()) return NULL;
8427} if (_result) {
8428 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8429 _resultobj = Py_BuildValue("s",_ptemp);
8430 } else {
8431 Py_INCREF(Py_None);
8432 _resultobj = Py_None;
8433 }
8434 return _resultobj;
8435}
8436
8437#define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8438static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8439 PyObject * _resultobj;
8440 bool _result;
8441 wxStaticBitmap * _arg0;
8442 wxWindow * _arg1;
8443 wxWindowID _arg2;
8444 wxBitmap * _arg3;
8445 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
8446 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
8447 long _arg6 = (long ) 0;
8448 char * _arg7 = (char *) "staticBitmap";
8449 PyObject * _argo0 = 0;
8450 PyObject * _argo1 = 0;
8451 PyObject * _argo3 = 0;
2f90df85 8452 wxPoint temp;
2f90df85 8453 PyObject * _obj4 = 0;
09f3d4e6
RD
8454 wxSize temp0;
8455 PyObject * _obj5 = 0;
8456 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
8ab979d7
RD
8457
8458 self = self;
09f3d4e6 8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_arg7))
8ab979d7 8460 return NULL;
1d99702e
RD
8461 if (_argo0) {
8462 if (_argo0 == Py_None) { _arg0 = NULL; }
09f3d4e6
RD
8463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8ab979d7
RD
8465 return NULL;
8466 }
8467 }
09f3d4e6
RD
8468 if (_argo1) {
8469 if (_argo1 == Py_None) { _arg1 = NULL; }
8470 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8471 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8ab979d7
RD
8472 return NULL;
8473 }
8474 }
09f3d4e6
RD
8475 if (_argo3) {
8476 if (_argo3 == Py_None) { _arg3 = NULL; }
8477 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
8478 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8479 return NULL;
8480 }
8481 }
8482 if (_obj4)
2f90df85 8483{
09f3d4e6
RD
8484 _arg4 = &temp;
8485 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 8486 return NULL;
2f90df85 8487}
09f3d4e6 8488 if (_obj5)
2f90df85 8489{
09f3d4e6
RD
8490 _arg5 = &temp0;
8491 if (! wxSize_helper(_obj5, &_arg5))
8ab979d7 8492 return NULL;
2f90df85 8493}
cf694132
RD
8494{
8495 wxPy_BEGIN_ALLOW_THREADS;
09f3d4e6 8496 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
cf694132
RD
8497
8498 wxPy_END_ALLOW_THREADS;
493f1553 8499 if (PyErr_Occurred()) return NULL;
09f3d4e6 8500} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8501 return _resultobj;
8502}
8503
8504#define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
efc5f224 8505static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8506 PyObject * _resultobj;
8507 wxBitmap * _result;
8508 wxStaticBitmap * _arg0;
1d99702e 8509 PyObject * _argo0 = 0;
efc5f224 8510 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8511 char _ptemp[128];
8512
8513 self = self;
efc5f224 8514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
8ab979d7 8515 return NULL;
1d99702e
RD
8516 if (_argo0) {
8517 if (_argo0 == Py_None) { _arg0 = NULL; }
8518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8ab979d7
RD
8519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8520 return NULL;
8521 }
8522 }
cf694132
RD
8523{
8524 wxPy_BEGIN_ALLOW_THREADS;
8525 const wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0);
8ab979d7 8526 _result = (wxBitmap *) &_result_ref;
cf694132
RD
8527
8528 wxPy_END_ALLOW_THREADS;
493f1553 8529 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8530} if (_result) {
8531 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
8532 _resultobj = Py_BuildValue("s",_ptemp);
8533 } else {
8534 Py_INCREF(Py_None);
8535 _resultobj = Py_None;
8536 }
8ab979d7
RD
8537 return _resultobj;
8538}
8539
8540#define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
efc5f224 8541static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8542 PyObject * _resultobj;
8543 wxStaticBitmap * _arg0;
8544 wxBitmap * _arg1;
1d99702e
RD
8545 PyObject * _argo0 = 0;
8546 PyObject * _argo1 = 0;
efc5f224 8547 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
8548
8549 self = self;
efc5f224 8550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
8ab979d7 8551 return NULL;
1d99702e
RD
8552 if (_argo0) {
8553 if (_argo0 == Py_None) { _arg0 = NULL; }
8554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8ab979d7
RD
8555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8556 return NULL;
8557 }
8558 }
1d99702e
RD
8559 if (_argo1) {
8560 if (_argo1 == Py_None) { _arg1 = NULL; }
8561 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
8562 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8563 return NULL;
8564 }
8565 }
cf694132
RD
8566{
8567 wxPy_BEGIN_ALLOW_THREADS;
8568 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
8569
8570 wxPy_END_ALLOW_THREADS;
493f1553 8571 if (PyErr_Occurred()) return NULL;
cf694132 8572} Py_INCREF(Py_None);
8ab979d7
RD
8573 _resultobj = Py_None;
8574 return _resultobj;
8575}
8576
8bf5d46e 8577#define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
efc5f224 8578static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
8579 PyObject * _resultobj;
8580 wxStaticBitmap * _arg0;
8581 wxIcon * _arg1;
1d99702e
RD
8582 PyObject * _argo0 = 0;
8583 PyObject * _argo1 = 0;
efc5f224 8584 char *_kwnames[] = { "self","icon", NULL };
8bf5d46e
RD
8585
8586 self = self;
efc5f224 8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
8bf5d46e 8588 return NULL;
1d99702e
RD
8589 if (_argo0) {
8590 if (_argo0 == Py_None) { _arg0 = NULL; }
8591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8bf5d46e
RD
8592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8593 return NULL;
8594 }
8595 }
1d99702e
RD
8596 if (_argo1) {
8597 if (_argo1 == Py_None) { _arg1 = NULL; }
8598 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8bf5d46e
RD
8599 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8600 return NULL;
8601 }
8602 }
8603{
8604 wxPy_BEGIN_ALLOW_THREADS;
8605 wxStaticBitmap_SetIcon(_arg0,*_arg1);
8606
8607 wxPy_END_ALLOW_THREADS;
493f1553 8608 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8609} Py_INCREF(Py_None);
8610 _resultobj = Py_None;
8611 return _resultobj;
8612}
8613
8ab979d7
RD
8614static void *SwigwxRadioBoxTowxControl(void *ptr) {
8615 wxRadioBox *src;
8616 wxControl *dest;
8617 src = (wxRadioBox *) ptr;
8618 dest = (wxControl *) src;
8619 return (void *) dest;
8620}
8621
8622static void *SwigwxRadioBoxTowxWindow(void *ptr) {
8623 wxRadioBox *src;
8624 wxWindow *dest;
8625 src = (wxRadioBox *) ptr;
8626 dest = (wxWindow *) src;
8627 return (void *) dest;
8628}
8629
8630static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
8631 wxRadioBox *src;
8632 wxEvtHandler *dest;
8633 src = (wxRadioBox *) ptr;
8634 dest = (wxEvtHandler *) src;
8635 return (void *) dest;
8636}
8637
9416aa89
RD
8638static void *SwigwxRadioBoxTowxObject(void *ptr) {
8639 wxRadioBox *src;
8640 wxObject *dest;
8641 src = (wxRadioBox *) ptr;
8642 dest = (wxObject *) src;
8643 return (void *) dest;
8644}
8645
8ab979d7 8646#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 8647static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8648 PyObject * _resultobj;
8649 wxRadioBox * _result;
8650 wxWindow * _arg0;
8651 wxWindowID _arg1;
8652 wxString * _arg2;
e508a2b6
RD
8653 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8654 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
8655 int _arg5 = (int ) 0;
8656 wxString * _arg6 = (wxString *) NULL;
8657 int _arg7 = (int ) 0;
8658 long _arg8 = (long ) wxRA_HORIZONTAL;
e508a2b6 8659 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
8660 char * _arg10 = (char *) "radioBox";
8661 PyObject * _argo0 = 0;
8ab979d7 8662 PyObject * _obj2 = 0;
2f90df85
RD
8663 wxPoint temp;
8664 PyObject * _obj3 = 0;
8665 wxSize temp0;
8666 PyObject * _obj4 = 0;
8ab979d7 8667 PyObject * _obj6 = 0;
1d99702e 8668 PyObject * _argo9 = 0;
eec92d76 8669 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
8ab979d7
RD
8670 char _ptemp[128];
8671
8672 self = self;
2f90df85 8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOs:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_arg10))
8ab979d7 8674 return NULL;
1d99702e
RD
8675 if (_argo0) {
8676 if (_argo0 == Py_None) { _arg0 = NULL; }
8677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
8678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8679 return NULL;
8680 }
8681 }
8682{
185d7c3e
RD
8683#if PYTHON_API_VERSION >= 1009
8684 char* tmpPtr; int tmpSize;
8685 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 8686 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
8687 return NULL;
8688 }
8689 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8690 return NULL;
8691 _arg2 = new wxString(tmpPtr, tmpSize);
8692#else
8ab979d7
RD
8693 if (!PyString_Check(_obj2)) {
8694 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8695 return NULL;
8696 }
185d7c3e
RD
8697 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8698#endif
8ab979d7 8699}
2f90df85
RD
8700 if (_obj3)
8701{
8702 _arg3 = &temp;
8703 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 8704 return NULL;
2f90df85
RD
8705}
8706 if (_obj4)
8707{
8708 _arg4 = &temp0;
8709 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 8710 return NULL;
2f90df85 8711}
8ab979d7
RD
8712 if (_obj6)
8713{
8714 _arg6 = wxString_LIST_helper(_obj6);
8715 if (_arg6 == NULL) {
8716 return NULL;
8717 }
8718}
1d99702e
RD
8719 if (_argo9) {
8720 if (_argo9 == Py_None) { _arg9 = NULL; }
8721 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
8ab979d7
RD
8722 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8723 return NULL;
8724 }
8725 }
8726{
cf694132
RD
8727 if (_obj6) {
8728 _arg5 = PyList_Size(_obj6);
8729 }
8730 else {
8731 _arg5 = 0;
8732 }
8ab979d7 8733}
cf694132
RD
8734{
8735 wxPy_BEGIN_ALLOW_THREADS;
8736 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
8737
8738 wxPy_END_ALLOW_THREADS;
493f1553 8739 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8740} if (_result) {
8741 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
8742 _resultobj = Py_BuildValue("s",_ptemp);
8743 } else {
8744 Py_INCREF(Py_None);
8745 _resultobj = Py_None;
8746 }
8ab979d7
RD
8747{
8748 if (_obj2)
8749 delete _arg2;
8750}
8751{
8752 delete [] _arg6;
8753}
8754 return _resultobj;
8755}
8756
09f3d4e6
RD
8757#define new_wxPreRadioBox() (new wxRadioBox())
8758static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject * _resultobj;
8760 wxRadioBox * _result;
8761 char *_kwnames[] = { NULL };
8762 char _ptemp[128];
8763
8764 self = self;
8765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
8766 return NULL;
8767{
8768 wxPy_BEGIN_ALLOW_THREADS;
8769 _result = (wxRadioBox *)new_wxPreRadioBox();
8770
8771 wxPy_END_ALLOW_THREADS;
8772 if (PyErr_Occurred()) return NULL;
8773} if (_result) {
8774 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
8775 _resultobj = Py_BuildValue("s",_ptemp);
8776 } else {
8777 Py_INCREF(Py_None);
8778 _resultobj = Py_None;
8779 }
8780 return _resultobj;
8781}
8782
8783#define wxRadioBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10))
8784static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject * _resultobj;
8786 bool _result;
8787 wxRadioBox * _arg0;
8788 wxWindow * _arg1;
8789 wxWindowID _arg2;
8790 wxString * _arg3;
8791 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
8792 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
8793 int _arg6 = (int ) 0;
8794 wxString * _arg7 = (wxString *) NULL;
8795 int _arg8 = (int ) 0;
8796 long _arg9 = (long ) wxRA_HORIZONTAL;
8797 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
8798 char * _arg11 = (char *) "radioBox";
8799 PyObject * _argo0 = 0;
8800 PyObject * _argo1 = 0;
8801 PyObject * _obj3 = 0;
8802 wxPoint temp;
8803 PyObject * _obj4 = 0;
8804 wxSize temp0;
8805 PyObject * _obj5 = 0;
8806 PyObject * _obj7 = 0;
8807 PyObject * _argo10 = 0;
8808 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
8809
8810 self = self;
8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_arg11))
8812 return NULL;
8813 if (_argo0) {
8814 if (_argo0 == Py_None) { _arg0 = NULL; }
8815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8817 return NULL;
8818 }
8819 }
8820 if (_argo1) {
8821 if (_argo1 == Py_None) { _arg1 = NULL; }
8822 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8823 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8824 return NULL;
8825 }
8826 }
8827{
8828#if PYTHON_API_VERSION >= 1009
8829 char* tmpPtr; int tmpSize;
8830 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
8831 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8832 return NULL;
8833 }
8834 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8835 return NULL;
8836 _arg3 = new wxString(tmpPtr, tmpSize);
8837#else
8838 if (!PyString_Check(_obj3)) {
8839 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8840 return NULL;
8841 }
8842 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8843#endif
8844}
8845 if (_obj4)
8846{
8847 _arg4 = &temp;
8848 if (! wxPoint_helper(_obj4, &_arg4))
8849 return NULL;
8850}
8851 if (_obj5)
8852{
8853 _arg5 = &temp0;
8854 if (! wxSize_helper(_obj5, &_arg5))
8855 return NULL;
8856}
8857 if (_obj7)
8858{
8859 _arg7 = wxString_LIST_helper(_obj7);
8860 if (_arg7 == NULL) {
8861 return NULL;
8862 }
8863}
8864 if (_argo10) {
8865 if (_argo10 == Py_None) { _arg10 = NULL; }
8866 else if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
8867 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8868 return NULL;
8869 }
8870 }
8871{
8872 if (_obj7) {
8873 _arg6 = PyList_Size(_obj7);
8874 }
8875 else {
8876 _arg6 = 0;
8877 }
8878}
8879{
8880 wxPy_BEGIN_ALLOW_THREADS;
8881 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,_arg11);
8882
8883 wxPy_END_ALLOW_THREADS;
8884 if (PyErr_Occurred()) return NULL;
8885} _resultobj = Py_BuildValue("i",_result);
8886{
8887 if (_obj3)
8888 delete _arg3;
8889}
8890{
8891 delete [] _arg7;
8892}
8893 return _resultobj;
8894}
8895
0699c864 8896#define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
efc5f224 8897static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8898 PyObject * _resultobj;
8899 wxRadioBox * _arg0;
8900 bool _arg1;
1d99702e 8901 PyObject * _argo0 = 0;
8ab979d7 8902 int tempbool1;
efc5f224 8903 char *_kwnames[] = { "self","enable", NULL };
8ab979d7
RD
8904
8905 self = self;
efc5f224 8906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
8ab979d7 8907 return NULL;
1d99702e
RD
8908 if (_argo0) {
8909 if (_argo0 == Py_None) { _arg0 = NULL; }
8910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0699c864 8911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8ab979d7
RD
8912 return NULL;
8913 }
8914 }
8915 _arg1 = (bool ) tempbool1;
cf694132
RD
8916{
8917 wxPy_BEGIN_ALLOW_THREADS;
8918 wxRadioBox_Enable(_arg0,_arg1);
8919
8920 wxPy_END_ALLOW_THREADS;
493f1553 8921 if (PyErr_Occurred()) return NULL;
cf694132 8922} Py_INCREF(Py_None);
8ab979d7
RD
8923 _resultobj = Py_None;
8924 return _resultobj;
8925}
8926
0699c864 8927#define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
efc5f224 8928static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8929 PyObject * _resultobj;
8930 wxRadioBox * _arg0;
8931 int _arg1;
8932 bool _arg2;
1d99702e 8933 PyObject * _argo0 = 0;
8ab979d7 8934 int tempbool2;
efc5f224 8935 char *_kwnames[] = { "self","n","enable", NULL };
8ab979d7
RD
8936
8937 self = self;
efc5f224 8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 8939 return NULL;
1d99702e
RD
8940 if (_argo0) {
8941 if (_argo0 == Py_None) { _arg0 = NULL; }
8942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0699c864 8943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
8ab979d7
RD
8944 return NULL;
8945 }
8946 }
8947 _arg2 = (bool ) tempbool2;
cf694132
RD
8948{
8949 wxPy_BEGIN_ALLOW_THREADS;
8950 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
8951
8952 wxPy_END_ALLOW_THREADS;
493f1553 8953 if (PyErr_Occurred()) return NULL;
cf694132 8954} Py_INCREF(Py_None);
8ab979d7
RD
8955 _resultobj = Py_None;
8956 return _resultobj;
8957}
8958
8959#define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
efc5f224 8960static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8961 PyObject * _resultobj;
8962 int _result;
8963 wxRadioBox * _arg0;
8964 wxString * _arg1;
1d99702e 8965 PyObject * _argo0 = 0;
8ab979d7 8966 PyObject * _obj1 = 0;
efc5f224 8967 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
8968
8969 self = self;
efc5f224 8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
8ab979d7 8971 return NULL;
1d99702e
RD
8972 if (_argo0) {
8973 if (_argo0 == Py_None) { _arg0 = NULL; }
8974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
8975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
8976 return NULL;
8977 }
8978 }
8979{
185d7c3e
RD
8980#if PYTHON_API_VERSION >= 1009
8981 char* tmpPtr; int tmpSize;
8982 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 8983 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
8984 return NULL;
8985 }
8986 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8987 return NULL;
8988 _arg1 = new wxString(tmpPtr, tmpSize);
8989#else
8ab979d7
RD
8990 if (!PyString_Check(_obj1)) {
8991 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8992 return NULL;
8993 }
185d7c3e
RD
8994 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8995#endif
8ab979d7 8996}
cf694132
RD
8997{
8998 wxPy_BEGIN_ALLOW_THREADS;
8999 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
9000
9001 wxPy_END_ALLOW_THREADS;
493f1553 9002 if (PyErr_Occurred()) return NULL;
cf694132 9003} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9004{
9005 if (_obj1)
9006 delete _arg1;
9007}
9008 return _resultobj;
9009}
9010
0adbc166
RD
9011#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9012static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9013 PyObject * _resultobj;
9014 wxString * _result;
9015 wxRadioBox * _arg0;
9016 int _arg1;
1d99702e 9017 PyObject * _argo0 = 0;
efc5f224 9018 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
9019
9020 self = self;
0adbc166 9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
8ab979d7 9022 return NULL;
1d99702e
RD
9023 if (_argo0) {
9024 if (_argo0 == Py_None) { _arg0 = NULL; }
9025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0adbc166 9026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
8ab979d7
RD
9027 return NULL;
9028 }
9029 }
8ab979d7 9030{
cf694132 9031 wxPy_BEGIN_ALLOW_THREADS;
0adbc166 9032 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
cf694132
RD
9033
9034 wxPy_END_ALLOW_THREADS;
493f1553 9035 if (PyErr_Occurred()) return NULL;
cf694132 9036}{
eec92d76 9037 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
9038}
9039{
9040 delete _result;
9041}
9042 return _resultobj;
9043}
9044
0adbc166
RD
9045#define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9046static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9047 PyObject * _resultobj;
8ab979d7 9048 wxRadioBox * _arg0;
0adbc166
RD
9049 int _arg1;
9050 wxString * _arg2;
1d99702e 9051 PyObject * _argo0 = 0;
0adbc166
RD
9052 PyObject * _obj2 = 0;
9053 char *_kwnames[] = { "self","n","label", NULL };
8ab979d7
RD
9054
9055 self = self;
0adbc166 9056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 9057 return NULL;
1d99702e
RD
9058 if (_argo0) {
9059 if (_argo0 == Py_None) { _arg0 = NULL; }
9060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0adbc166 9061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
8ab979d7
RD
9062 return NULL;
9063 }
9064 }
0adbc166
RD
9065{
9066#if PYTHON_API_VERSION >= 1009
9067 char* tmpPtr; int tmpSize;
9068 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9069 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9070 return NULL;
9071 }
9072 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9073 return NULL;
9074 _arg2 = new wxString(tmpPtr, tmpSize);
9075#else
9076 if (!PyString_Check(_obj2)) {
9077 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9078 return NULL;
9079 }
9080 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9081#endif
9082}
cf694132
RD
9083{
9084 wxPy_BEGIN_ALLOW_THREADS;
0adbc166 9085 wxRadioBox_SetString(_arg0,_arg1,*_arg2);
cf694132
RD
9086
9087 wxPy_END_ALLOW_THREADS;
493f1553 9088 if (PyErr_Occurred()) return NULL;
0adbc166
RD
9089} Py_INCREF(Py_None);
9090 _resultobj = Py_None;
9091{
9092 if (_obj2)
9093 delete _arg2;
9094}
8ab979d7
RD
9095 return _resultobj;
9096}
9097
3a0958b1
RD
9098#define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9099static PyObject *_wrap_wxRadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9100 PyObject * _resultobj;
0adbc166 9101 int _result;
8ab979d7 9102 wxRadioBox * _arg0;
1d99702e 9103 PyObject * _argo0 = 0;
0adbc166 9104 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9105
9106 self = self;
3a0958b1 9107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetColumnCount",_kwnames,&_argo0))
8ab979d7 9108 return NULL;
1d99702e
RD
9109 if (_argo0) {
9110 if (_argo0 == Py_None) { _arg0 = NULL; }
9111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 9112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
8ab979d7
RD
9113 return NULL;
9114 }
9115 }
8ab979d7 9116{
cf694132 9117 wxPy_BEGIN_ALLOW_THREADS;
3a0958b1 9118 _result = (int )wxRadioBox_GetColumnCount(_arg0);
cf694132
RD
9119
9120 wxPy_END_ALLOW_THREADS;
493f1553 9121 if (PyErr_Occurred()) return NULL;
0adbc166 9122} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9123 return _resultobj;
9124}
9125
3a0958b1
RD
9126#define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9127static PyObject *_wrap_wxRadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9128 PyObject * _resultobj;
3a0958b1 9129 int _result;
8ab979d7 9130 wxRadioBox * _arg0;
1d99702e 9131 PyObject * _argo0 = 0;
efc5f224 9132 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9133
9134 self = self;
3a0958b1 9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetRowCount",_kwnames,&_argo0))
8ab979d7 9136 return NULL;
1d99702e
RD
9137 if (_argo0) {
9138 if (_argo0 == Py_None) { _arg0 = NULL; }
9139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 9140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
8ab979d7
RD
9141 return NULL;
9142 }
9143 }
8ab979d7 9144{
cf694132 9145 wxPy_BEGIN_ALLOW_THREADS;
3a0958b1 9146 _result = (int )wxRadioBox_GetRowCount(_arg0);
cf694132
RD
9147
9148 wxPy_END_ALLOW_THREADS;
493f1553 9149 if (PyErr_Occurred()) return NULL;
3a0958b1 9150} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9151 return _resultobj;
9152}
9153
3a0958b1
RD
9154#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9155static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9156 PyObject * _resultobj;
9157 int _result;
9158 wxRadioBox * _arg0;
1d99702e 9159 PyObject * _argo0 = 0;
efc5f224 9160 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9161
9162 self = self;
3a0958b1 9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
8ab979d7 9164 return NULL;
1d99702e
RD
9165 if (_argo0) {
9166 if (_argo0 == Py_None) { _arg0 = NULL; }
9167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 9168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
8ab979d7
RD
9169 return NULL;
9170 }
9171 }
cf694132
RD
9172{
9173 wxPy_BEGIN_ALLOW_THREADS;
3a0958b1 9174 _result = (int )wxRadioBox_GetSelection(_arg0);
cf694132
RD
9175
9176 wxPy_END_ALLOW_THREADS;
493f1553 9177 if (PyErr_Occurred()) return NULL;
cf694132 9178} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9179 return _resultobj;
9180}
9181
3a0958b1
RD
9182#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9183static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9184 PyObject * _resultobj;
3a0958b1 9185 wxString * _result;
8ab979d7 9186 wxRadioBox * _arg0;
1d99702e 9187 PyObject * _argo0 = 0;
0adbc166 9188 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9189
9190 self = self;
3a0958b1 9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
8ab979d7 9192 return NULL;
1d99702e
RD
9193 if (_argo0) {
9194 if (_argo0 == Py_None) { _arg0 = NULL; }
9195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 9196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
8ab979d7
RD
9197 return NULL;
9198 }
9199 }
9200{
0adbc166 9201 wxPy_BEGIN_ALLOW_THREADS;
3a0958b1 9202 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
0adbc166
RD
9203
9204 wxPy_END_ALLOW_THREADS;
9205 if (PyErr_Occurred()) return NULL;
3a0958b1
RD
9206}{
9207 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9208}
9209{
9210 delete _result;
9211}
0adbc166
RD
9212 return _resultobj;
9213}
9214
3a0958b1
RD
9215#define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9216static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
0adbc166
RD
9217 PyObject * _resultobj;
9218 int _result;
9219 wxRadioBox * _arg0;
9220 PyObject * _argo0 = 0;
9221 char *_kwnames[] = { "self", NULL };
9222
9223 self = self;
3a0958b1 9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
185d7c3e 9225 return NULL;
0adbc166
RD
9226 if (_argo0) {
9227 if (_argo0 == Py_None) { _arg0 = NULL; }
9228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 9229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
8ab979d7 9230 return NULL;
0adbc166 9231 }
8ab979d7 9232 }
cf694132
RD
9233{
9234 wxPy_BEGIN_ALLOW_THREADS;
3a0958b1 9235 _result = (int )wxRadioBox_GetCount(_arg0);
cf694132
RD
9236
9237 wxPy_END_ALLOW_THREADS;
493f1553 9238 if (PyErr_Occurred()) return NULL;
0adbc166 9239} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9240 return _resultobj;
9241}
9242
9243#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 9244static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9245 PyObject * _resultobj;
9246 wxRadioBox * _arg0;
9247 int _arg1;
1d99702e 9248 PyObject * _argo0 = 0;
efc5f224 9249 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
9250
9251 self = self;
efc5f224 9252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 9253 return NULL;
1d99702e
RD
9254 if (_argo0) {
9255 if (_argo0 == Py_None) { _arg0 = NULL; }
9256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
9257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9258 return NULL;
9259 }
9260 }
cf694132
RD
9261{
9262 wxPy_BEGIN_ALLOW_THREADS;
9263 wxRadioBox_SetSelection(_arg0,_arg1);
9264
9265 wxPy_END_ALLOW_THREADS;
493f1553 9266 if (PyErr_Occurred()) return NULL;
cf694132 9267} Py_INCREF(Py_None);
8ab979d7
RD
9268 _resultobj = Py_None;
9269 return _resultobj;
9270}
9271
9272#define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
efc5f224 9273static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9274 PyObject * _resultobj;
9275 wxRadioBox * _arg0;
9276 wxString * _arg1;
1d99702e 9277 PyObject * _argo0 = 0;
8ab979d7 9278 PyObject * _obj1 = 0;
efc5f224 9279 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
9280
9281 self = self;
efc5f224 9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
8ab979d7 9283 return NULL;
1d99702e
RD
9284 if (_argo0) {
9285 if (_argo0 == Py_None) { _arg0 = NULL; }
9286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
9287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9288 return NULL;
9289 }
9290 }
9291{
185d7c3e
RD
9292#if PYTHON_API_VERSION >= 1009
9293 char* tmpPtr; int tmpSize;
9294 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 9295 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
9296 return NULL;
9297 }
9298 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9299 return NULL;
9300 _arg1 = new wxString(tmpPtr, tmpSize);
9301#else
8ab979d7
RD
9302 if (!PyString_Check(_obj1)) {
9303 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9304 return NULL;
9305 }
185d7c3e
RD
9306 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9307#endif
8ab979d7 9308}
cf694132
RD
9309{
9310 wxPy_BEGIN_ALLOW_THREADS;
9311 wxRadioBox_SetStringSelection(_arg0,*_arg1);
9312
9313 wxPy_END_ALLOW_THREADS;
493f1553 9314 if (PyErr_Occurred()) return NULL;
cf694132 9315} Py_INCREF(Py_None);
8ab979d7
RD
9316 _resultobj = Py_None;
9317{
9318 if (_obj1)
9319 delete _arg1;
9320}
9321 return _resultobj;
9322}
9323
9324#define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
efc5f224 9325static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9326 PyObject * _resultobj;
9327 wxRadioBox * _arg0;
9328 bool _arg1;
1d99702e 9329 PyObject * _argo0 = 0;
8ab979d7 9330 int tempbool1;
efc5f224 9331 char *_kwnames[] = { "self","show", NULL };
8ab979d7
RD
9332
9333 self = self;
efc5f224 9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
8ab979d7 9335 return NULL;
1d99702e
RD
9336 if (_argo0) {
9337 if (_argo0 == Py_None) { _arg0 = NULL; }
9338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
9339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9340 return NULL;
9341 }
9342 }
9343 _arg1 = (bool ) tempbool1;
cf694132
RD
9344{
9345 wxPy_BEGIN_ALLOW_THREADS;
9346 wxRadioBox_Show(_arg0,_arg1);
9347
9348 wxPy_END_ALLOW_THREADS;
493f1553 9349 if (PyErr_Occurred()) return NULL;
cf694132 9350} Py_INCREF(Py_None);
8ab979d7
RD
9351 _resultobj = Py_None;
9352 return _resultobj;
9353}
9354
9355#define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
efc5f224 9356static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9357 PyObject * _resultobj;
9358 wxRadioBox * _arg0;
9359 int _arg1;
9360 bool _arg2;
1d99702e 9361 PyObject * _argo0 = 0;
8ab979d7 9362 int tempbool2;
efc5f224 9363 char *_kwnames[] = { "self","item","show", NULL };
8ab979d7
RD
9364
9365 self = self;
efc5f224 9366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 9367 return NULL;
1d99702e
RD
9368 if (_argo0) {
9369 if (_argo0 == Py_None) { _arg0 = NULL; }
9370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
9371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9372 return NULL;
9373 }
9374 }
9375 _arg2 = (bool ) tempbool2;
cf694132
RD
9376{
9377 wxPy_BEGIN_ALLOW_THREADS;
9378 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
9379
9380 wxPy_END_ALLOW_THREADS;
493f1553 9381 if (PyErr_Occurred()) return NULL;
cf694132 9382} Py_INCREF(Py_None);
8ab979d7
RD
9383 _resultobj = Py_None;
9384 return _resultobj;
9385}
9386
9387static void *SwigwxRadioButtonTowxControl(void *ptr) {
9388 wxRadioButton *src;
9389 wxControl *dest;
9390 src = (wxRadioButton *) ptr;
9391 dest = (wxControl *) src;
9392 return (void *) dest;
9393}
9394
9395static void *SwigwxRadioButtonTowxWindow(void *ptr) {
9396 wxRadioButton *src;
9397 wxWindow *dest;
9398 src = (wxRadioButton *) ptr;
9399 dest = (wxWindow *) src;
9400 return (void *) dest;
9401}
9402
9403static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
9404 wxRadioButton *src;
9405 wxEvtHandler *dest;
9406 src = (wxRadioButton *) ptr;
9407 dest = (wxEvtHandler *) src;
9408 return (void *) dest;
9409}
9410
9416aa89
RD
9411static void *SwigwxRadioButtonTowxObject(void *ptr) {
9412 wxRadioButton *src;
9413 wxObject *dest;
9414 src = (wxRadioButton *) ptr;
9415 dest = (wxObject *) src;
9416 return (void *) dest;
9417}
9418
8ab979d7 9419#define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 9420static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9421 PyObject * _resultobj;
9422 wxRadioButton * _result;
9423 wxWindow * _arg0;
9424 wxWindowID _arg1;
9425 wxString * _arg2;
e508a2b6
RD
9426 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9427 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 9428 long _arg5 = (long ) 0;
e508a2b6 9429 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
9430 char * _arg7 = (char *) "radioButton";
9431 PyObject * _argo0 = 0;
8ab979d7 9432 PyObject * _obj2 = 0;
2f90df85
RD
9433 wxPoint temp;
9434 PyObject * _obj3 = 0;
9435 wxSize temp0;
9436 PyObject * _obj4 = 0;
1d99702e 9437 PyObject * _argo6 = 0;
efc5f224 9438 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
8ab979d7
RD
9439 char _ptemp[128];
9440
9441 self = self;
2f90df85 9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
8ab979d7 9443 return NULL;
1d99702e
RD
9444 if (_argo0) {
9445 if (_argo0 == Py_None) { _arg0 = NULL; }
9446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
9447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9448 return NULL;
9449 }
9450 }
9451{
185d7c3e
RD
9452#if PYTHON_API_VERSION >= 1009
9453 char* tmpPtr; int tmpSize;
9454 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 9455 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
9456 return NULL;
9457 }
9458 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9459 return NULL;
9460 _arg2 = new wxString(tmpPtr, tmpSize);
9461#else
8ab979d7
RD
9462 if (!PyString_Check(_obj2)) {
9463 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9464 return NULL;
9465 }
185d7c3e
RD
9466 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9467#endif
8ab979d7 9468}
2f90df85
RD
9469 if (_obj3)
9470{
09f3d4e6
RD
9471 _arg3 = &temp;
9472 if (! wxPoint_helper(_obj3, &_arg3))
9473 return NULL;
9474}
9475 if (_obj4)
9476{
9477 _arg4 = &temp0;
9478 if (! wxSize_helper(_obj4, &_arg4))
9479 return NULL;
9480}
9481 if (_argo6) {
9482 if (_argo6 == Py_None) { _arg6 = NULL; }
9483 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
9484 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9485 return NULL;
9486 }
9487 }
9488{
9489 wxPy_BEGIN_ALLOW_THREADS;
9490 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
9491
9492 wxPy_END_ALLOW_THREADS;
9493 if (PyErr_Occurred()) return NULL;
9494} if (_result) {
9495 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9496 _resultobj = Py_BuildValue("s",_ptemp);
9497 } else {
9498 Py_INCREF(Py_None);
9499 _resultobj = Py_None;
9500 }
9501{
9502 if (_obj2)
9503 delete _arg2;
9504}
9505 return _resultobj;
9506}
9507
9508#define new_wxPreRadioButton() (new wxRadioButton())
9509static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9510 PyObject * _resultobj;
9511 wxRadioButton * _result;
9512 char *_kwnames[] = { NULL };
9513 char _ptemp[128];
9514
9515 self = self;
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
9517 return NULL;
9518{
9519 wxPy_BEGIN_ALLOW_THREADS;
9520 _result = (wxRadioButton *)new_wxPreRadioButton();
9521
9522 wxPy_END_ALLOW_THREADS;
9523 if (PyErr_Occurred()) return NULL;
9524} if (_result) {
9525 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9526 _resultobj = Py_BuildValue("s",_ptemp);
9527 } else {
9528 Py_INCREF(Py_None);
9529 _resultobj = Py_None;
9530 }
9531 return _resultobj;
9532}
9533
9534#define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9535static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9536 PyObject * _resultobj;
9537 bool _result;
9538 wxRadioButton * _arg0;
9539 wxWindow * _arg1;
9540 wxWindowID _arg2;
9541 wxString * _arg3;
9542 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9543 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9544 long _arg6 = (long ) 0;
9545 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9546 char * _arg8 = (char *) "radioButton";
9547 PyObject * _argo0 = 0;
9548 PyObject * _argo1 = 0;
9549 PyObject * _obj3 = 0;
9550 wxPoint temp;
9551 PyObject * _obj4 = 0;
9552 wxSize temp0;
9553 PyObject * _obj5 = 0;
9554 PyObject * _argo7 = 0;
9555 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
9556
9557 self = self;
9558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
9559 return NULL;
9560 if (_argo0) {
9561 if (_argo0 == Py_None) { _arg0 = NULL; }
9562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9564 return NULL;
9565 }
9566 }
9567 if (_argo1) {
9568 if (_argo1 == Py_None) { _arg1 = NULL; }
9569 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9570 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9571 return NULL;
9572 }
9573 }
9574{
9575#if PYTHON_API_VERSION >= 1009
9576 char* tmpPtr; int tmpSize;
9577 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
9578 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9579 return NULL;
9580 }
9581 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
9582 return NULL;
9583 _arg3 = new wxString(tmpPtr, tmpSize);
9584#else
9585 if (!PyString_Check(_obj3)) {
9586 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9587 return NULL;
9588 }
9589 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
9590#endif
9591}
9592 if (_obj4)
9593{
9594 _arg4 = &temp;
9595 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 9596 return NULL;
2f90df85 9597}
09f3d4e6 9598 if (_obj5)
2f90df85 9599{
09f3d4e6
RD
9600 _arg5 = &temp0;
9601 if (! wxSize_helper(_obj5, &_arg5))
8ab979d7 9602 return NULL;
2f90df85 9603}
09f3d4e6
RD
9604 if (_argo7) {
9605 if (_argo7 == Py_None) { _arg7 = NULL; }
9606 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
9607 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
8ab979d7
RD
9608 return NULL;
9609 }
9610 }
cf694132
RD
9611{
9612 wxPy_BEGIN_ALLOW_THREADS;
09f3d4e6 9613 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
cf694132
RD
9614
9615 wxPy_END_ALLOW_THREADS;
493f1553 9616 if (PyErr_Occurred()) return NULL;
09f3d4e6 9617} _resultobj = Py_BuildValue("i",_result);
8ab979d7 9618{
09f3d4e6
RD
9619 if (_obj3)
9620 delete _arg3;
8ab979d7
RD
9621}
9622 return _resultobj;
9623}
9624
9625#define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 9626static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9627 PyObject * _resultobj;
9628 bool _result;
9629 wxRadioButton * _arg0;
1d99702e 9630 PyObject * _argo0 = 0;
efc5f224 9631 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9632
9633 self = self;
efc5f224 9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
8ab979d7 9635 return NULL;
1d99702e
RD
9636 if (_argo0) {
9637 if (_argo0 == Py_None) { _arg0 = NULL; }
9638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
8ab979d7
RD
9639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9640 return NULL;
9641 }
9642 }
cf694132
RD
9643{
9644 wxPy_BEGIN_ALLOW_THREADS;
9645 _result = (bool )wxRadioButton_GetValue(_arg0);
9646
9647 wxPy_END_ALLOW_THREADS;
493f1553 9648 if (PyErr_Occurred()) return NULL;
cf694132 9649} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9650 return _resultobj;
9651}
9652
9653#define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 9654static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9655 PyObject * _resultobj;
9656 wxRadioButton * _arg0;
9657 bool _arg1;
1d99702e 9658 PyObject * _argo0 = 0;
8ab979d7 9659 int tempbool1;
efc5f224 9660 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
9661
9662 self = self;
efc5f224 9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
8ab979d7 9664 return NULL;
1d99702e
RD
9665 if (_argo0) {
9666 if (_argo0 == Py_None) { _arg0 = NULL; }
9667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
8ab979d7
RD
9668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9669 return NULL;
9670 }
9671 }
9672 _arg1 = (bool ) tempbool1;
cf694132
RD
9673{
9674 wxPy_BEGIN_ALLOW_THREADS;
9675 wxRadioButton_SetValue(_arg0,_arg1);
9676
9677 wxPy_END_ALLOW_THREADS;
493f1553 9678 if (PyErr_Occurred()) return NULL;
cf694132 9679} Py_INCREF(Py_None);
8ab979d7
RD
9680 _resultobj = Py_None;
9681 return _resultobj;
9682}
9683
9684static void *SwigwxSliderTowxControl(void *ptr) {
9685 wxSlider *src;
9686 wxControl *dest;
9687 src = (wxSlider *) ptr;
9688 dest = (wxControl *) src;
9689 return (void *) dest;
9690}
9691
9692static void *SwigwxSliderTowxWindow(void *ptr) {
9693 wxSlider *src;
9694 wxWindow *dest;
9695 src = (wxSlider *) ptr;
9696 dest = (wxWindow *) src;
9697 return (void *) dest;
9698}
9699
9700static void *SwigwxSliderTowxEvtHandler(void *ptr) {
9701 wxSlider *src;
9702 wxEvtHandler *dest;
9703 src = (wxSlider *) ptr;
9704 dest = (wxEvtHandler *) src;
9705 return (void *) dest;
9706}
9707
9416aa89
RD
9708static void *SwigwxSliderTowxObject(void *ptr) {
9709 wxSlider *src;
9710 wxObject *dest;
9711 src = (wxSlider *) ptr;
9712 dest = (wxObject *) src;
9713 return (void *) dest;
9714}
9715
8ab979d7 9716#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 9717static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9718 PyObject * _resultobj;
9719 wxSlider * _result;
9720 wxWindow * _arg0;
9721 wxWindowID _arg1;
9722 int _arg2;
9723 int _arg3;
9724 int _arg4;
e508a2b6
RD
9725 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
9726 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
1d99702e 9727 long _arg7 = (long ) wxSL_HORIZONTAL;
e508a2b6 9728 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
9729 char * _arg9 = (char *) "slider";
9730 PyObject * _argo0 = 0;
2f90df85
RD
9731 wxPoint temp;
9732 PyObject * _obj5 = 0;
9733 wxSize temp0;
9734 PyObject * _obj6 = 0;
1d99702e 9735 PyObject * _argo8 = 0;
efc5f224 9736 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
8ab979d7
RD
9737 char _ptemp[128];
9738
9739 self = self;
2f90df85 9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOs:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_arg9))
8ab979d7 9741 return NULL;
1d99702e
RD
9742 if (_argo0) {
9743 if (_argo0 == Py_None) { _arg0 = NULL; }
9744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
9745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9746 return NULL;
9747 }
9748 }
2f90df85
RD
9749 if (_obj5)
9750{
9751 _arg5 = &temp;
9752 if (! wxPoint_helper(_obj5, &_arg5))
8ab979d7 9753 return NULL;
2f90df85
RD
9754}
9755 if (_obj6)
9756{
9757 _arg6 = &temp0;
9758 if (! wxSize_helper(_obj6, &_arg6))
8ab979d7 9759 return NULL;
2f90df85 9760}
1d99702e
RD
9761 if (_argo8) {
9762 if (_argo8 == Py_None) { _arg8 = NULL; }
9763 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
8ab979d7
RD
9764 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9765 return NULL;
9766 }
9767 }
cf694132
RD
9768{
9769 wxPy_BEGIN_ALLOW_THREADS;
9770 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
9771
9772 wxPy_END_ALLOW_THREADS;
493f1553 9773 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9774} if (_result) {
9775 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
9776 _resultobj = Py_BuildValue("s",_ptemp);
9777 } else {
9778 Py_INCREF(Py_None);
9779 _resultobj = Py_None;
9780 }
8ab979d7
RD
9781 return _resultobj;
9782}
9783
09f3d4e6
RD
9784#define new_wxPreSlider() (new wxSlider())
9785static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
9786 PyObject * _resultobj;
9787 wxSlider * _result;
9788 char *_kwnames[] = { NULL };
9789 char _ptemp[128];
9790
9791 self = self;
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
9793 return NULL;
9794{
9795 wxPy_BEGIN_ALLOW_THREADS;
9796 _result = (wxSlider *)new_wxPreSlider();
9797
9798 wxPy_END_ALLOW_THREADS;
9799 if (PyErr_Occurred()) return NULL;
9800} if (_result) {
9801 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
9802 _resultobj = Py_BuildValue("s",_ptemp);
9803 } else {
9804 Py_INCREF(Py_None);
9805 _resultobj = Py_None;
9806 }
9807 return _resultobj;
9808}
9809
9810#define wxSlider_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
9811static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject * _resultobj;
9813 bool _result;
9814 wxSlider * _arg0;
9815 wxWindow * _arg1;
9816 wxWindowID _arg2;
9817 int _arg3;
9818 int _arg4;
9819 int _arg5;
9820 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
9821 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
9822 long _arg8 = (long ) wxSL_HORIZONTAL;
9823 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9824 char * _arg10 = (char *) "slider";
9825 PyObject * _argo0 = 0;
9826 PyObject * _argo1 = 0;
9827 wxPoint temp;
9828 PyObject * _obj6 = 0;
9829 wxSize temp0;
9830 PyObject * _obj7 = 0;
9831 PyObject * _argo9 = 0;
9832 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
9833
9834 self = self;
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOs:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_arg10))
9836 return NULL;
9837 if (_argo0) {
9838 if (_argo0 == Py_None) { _arg0 = NULL; }
9839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
9840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9841 return NULL;
9842 }
9843 }
9844 if (_argo1) {
9845 if (_argo1 == Py_None) { _arg1 = NULL; }
9846 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9847 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9848 return NULL;
9849 }
9850 }
9851 if (_obj6)
9852{
9853 _arg6 = &temp;
9854 if (! wxPoint_helper(_obj6, &_arg6))
9855 return NULL;
9856}
9857 if (_obj7)
9858{
9859 _arg7 = &temp0;
9860 if (! wxSize_helper(_obj7, &_arg7))
9861 return NULL;
9862}
9863 if (_argo9) {
9864 if (_argo9 == Py_None) { _arg9 = NULL; }
9865 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
9866 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9867 return NULL;
9868 }
9869 }
9870{
9871 wxPy_BEGIN_ALLOW_THREADS;
9872 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,_arg10);
9873
9874 wxPy_END_ALLOW_THREADS;
9875 if (PyErr_Occurred()) return NULL;
9876} _resultobj = Py_BuildValue("i",_result);
9877 return _resultobj;
9878}
9879
8ab979d7 9880#define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
efc5f224 9881static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9882 PyObject * _resultobj;
9883 wxSlider * _arg0;
1d99702e 9884 PyObject * _argo0 = 0;
efc5f224 9885 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9886
9887 self = self;
efc5f224 9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
8ab979d7 9889 return NULL;
1d99702e
RD
9890 if (_argo0) {
9891 if (_argo0 == Py_None) { _arg0 = NULL; }
9892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
9893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9894 return NULL;
9895 }
9896 }
cf694132
RD
9897{
9898 wxPy_BEGIN_ALLOW_THREADS;
9899 wxSlider_ClearSel(_arg0);
9900
9901 wxPy_END_ALLOW_THREADS;
493f1553 9902 if (PyErr_Occurred()) return NULL;
cf694132 9903} Py_INCREF(Py_None);
8ab979d7
RD
9904 _resultobj = Py_None;
9905 return _resultobj;
9906}
9907
9908#define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
efc5f224 9909static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9910 PyObject * _resultobj;
9911 wxSlider * _arg0;
1d99702e 9912 PyObject * _argo0 = 0;
efc5f224 9913 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9914
9915 self = self;
efc5f224 9916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
8ab979d7 9917 return NULL;
1d99702e
RD
9918 if (_argo0) {
9919 if (_argo0 == Py_None) { _arg0 = NULL; }
9920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
9921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9922 return NULL;
9923 }
9924 }
cf694132
RD
9925{
9926 wxPy_BEGIN_ALLOW_THREADS;
9927 wxSlider_ClearTicks(_arg0);
9928
9929 wxPy_END_ALLOW_THREADS;
493f1553 9930 if (PyErr_Occurred()) return NULL;
cf694132 9931} Py_INCREF(Py_None);
8ab979d7
RD
9932 _resultobj = Py_None;
9933 return _resultobj;
9934}
9935
9936#define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
efc5f224 9937static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9938 PyObject * _resultobj;
9939 int _result;
9940 wxSlider * _arg0;
1d99702e 9941 PyObject * _argo0 = 0;
efc5f224 9942 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9943
9944 self = self;
efc5f224 9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
8ab979d7 9946 return NULL;
1d99702e
RD
9947 if (_argo0) {
9948 if (_argo0 == Py_None) { _arg0 = NULL; }
9949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
9950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
9951 return NULL;
9952 }
9953 }
cf694132
RD
9954{
9955 wxPy_BEGIN_ALLOW_THREADS;
9956 _result = (int )wxSlider_GetLineSize(_arg0);
9957
9958 wxPy_END_ALLOW_THREADS;
493f1553 9959 if (PyErr_Occurred()) return NULL;
cf694132 9960} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9961 return _resultobj;
9962}
9963
9964#define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
efc5f224 9965static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9966 PyObject * _resultobj;
9967 int _result;
9968 wxSlider * _arg0;
1d99702e 9969 PyObject * _argo0 = 0;
efc5f224 9970 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9971
9972 self = self;
efc5f224 9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
8ab979d7 9974 return NULL;
1d99702e
RD
9975 if (_argo0) {
9976 if (_argo0 == Py_None) { _arg0 = NULL; }
9977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
9978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
9979 return NULL;
9980 }
9981 }
cf694132
RD
9982{
9983 wxPy_BEGIN_ALLOW_THREADS;
9984 _result = (int )wxSlider_GetMax(_arg0);
9985
9986 wxPy_END_ALLOW_THREADS;
493f1553 9987 if (PyErr_Occurred()) return NULL;
cf694132 9988} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9989 return _resultobj;
9990}
9991
9992#define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
efc5f224 9993static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9994 PyObject * _resultobj;
9995 int _result;
9996 wxSlider * _arg0;
1d99702e 9997 PyObject * _argo0 = 0;
efc5f224 9998 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9999
10000 self = self;
efc5f224 10001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
8ab979d7 10002 return NULL;
1d99702e
RD
10003 if (_argo0) {
10004 if (_argo0 == Py_None) { _arg0 = NULL; }
10005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10007 return NULL;
10008 }
10009 }
cf694132
RD
10010{
10011 wxPy_BEGIN_ALLOW_THREADS;
10012 _result = (int )wxSlider_GetMin(_arg0);
10013
10014 wxPy_END_ALLOW_THREADS;
493f1553 10015 if (PyErr_Occurred()) return NULL;
cf694132 10016} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10017 return _resultobj;
10018}
10019
10020#define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
efc5f224 10021static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10022 PyObject * _resultobj;
10023 int _result;
10024 wxSlider * _arg0;
1d99702e 10025 PyObject * _argo0 = 0;
efc5f224 10026 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10027
10028 self = self;
efc5f224 10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
8ab979d7 10030 return NULL;
1d99702e
RD
10031 if (_argo0) {
10032 if (_argo0 == Py_None) { _arg0 = NULL; }
10033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10035 return NULL;
10036 }
10037 }
cf694132
RD
10038{
10039 wxPy_BEGIN_ALLOW_THREADS;
10040 _result = (int )wxSlider_GetPageSize(_arg0);
10041
10042 wxPy_END_ALLOW_THREADS;
493f1553 10043 if (PyErr_Occurred()) return NULL;
cf694132 10044} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10045 return _resultobj;
10046}
10047
10048#define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
efc5f224 10049static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10050 PyObject * _resultobj;
10051 int _result;
10052 wxSlider * _arg0;
1d99702e 10053 PyObject * _argo0 = 0;
efc5f224 10054 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10055
10056 self = self;
efc5f224 10057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
8ab979d7 10058 return NULL;
1d99702e
RD
10059 if (_argo0) {
10060 if (_argo0 == Py_None) { _arg0 = NULL; }
10061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10063 return NULL;
10064 }
10065 }
cf694132
RD
10066{
10067 wxPy_BEGIN_ALLOW_THREADS;
10068 _result = (int )wxSlider_GetSelEnd(_arg0);
10069
10070 wxPy_END_ALLOW_THREADS;
493f1553 10071 if (PyErr_Occurred()) return NULL;
cf694132 10072} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10073 return _resultobj;
10074}
10075
10076#define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
efc5f224 10077static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10078 PyObject * _resultobj;
10079 int _result;
10080 wxSlider * _arg0;
1d99702e 10081 PyObject * _argo0 = 0;
efc5f224 10082 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10083
10084 self = self;
efc5f224 10085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
8ab979d7 10086 return NULL;
1d99702e
RD
10087 if (_argo0) {
10088 if (_argo0 == Py_None) { _arg0 = NULL; }
10089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10091 return NULL;
10092 }
10093 }
cf694132
RD
10094{
10095 wxPy_BEGIN_ALLOW_THREADS;
10096 _result = (int )wxSlider_GetSelStart(_arg0);
10097
10098 wxPy_END_ALLOW_THREADS;
493f1553 10099 if (PyErr_Occurred()) return NULL;
cf694132 10100} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10101 return _resultobj;
10102}
10103
10104#define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
efc5f224 10105static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10106 PyObject * _resultobj;
10107 int _result;
10108 wxSlider * _arg0;
1d99702e 10109 PyObject * _argo0 = 0;
efc5f224 10110 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10111
10112 self = self;
efc5f224 10113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
8ab979d7 10114 return NULL;
1d99702e
RD
10115 if (_argo0) {
10116 if (_argo0 == Py_None) { _arg0 = NULL; }
10117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10119 return NULL;
10120 }
10121 }
cf694132
RD
10122{
10123 wxPy_BEGIN_ALLOW_THREADS;
10124 _result = (int )wxSlider_GetThumbLength(_arg0);
10125
10126 wxPy_END_ALLOW_THREADS;
493f1553 10127 if (PyErr_Occurred()) return NULL;
cf694132 10128} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10129 return _resultobj;
10130}
10131
10132#define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
efc5f224 10133static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10134 PyObject * _resultobj;
10135 int _result;
10136 wxSlider * _arg0;
1d99702e 10137 PyObject * _argo0 = 0;
efc5f224 10138 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10139
10140 self = self;
efc5f224 10141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
8ab979d7 10142 return NULL;
1d99702e
RD
10143 if (_argo0) {
10144 if (_argo0 == Py_None) { _arg0 = NULL; }
10145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10147 return NULL;
10148 }
10149 }
cf694132
RD
10150{
10151 wxPy_BEGIN_ALLOW_THREADS;
10152 _result = (int )wxSlider_GetTickFreq(_arg0);
10153
10154 wxPy_END_ALLOW_THREADS;
493f1553 10155 if (PyErr_Occurred()) return NULL;
cf694132 10156} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10157 return _resultobj;
10158}
10159
10160#define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 10161static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10162 PyObject * _resultobj;
10163 int _result;
10164 wxSlider * _arg0;
1d99702e 10165 PyObject * _argo0 = 0;
efc5f224 10166 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10167
10168 self = self;
efc5f224 10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
8ab979d7 10170 return NULL;
1d99702e
RD
10171 if (_argo0) {
10172 if (_argo0 == Py_None) { _arg0 = NULL; }
10173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10175 return NULL;
10176 }
10177 }
cf694132
RD
10178{
10179 wxPy_BEGIN_ALLOW_THREADS;
10180 _result = (int )wxSlider_GetValue(_arg0);
10181
10182 wxPy_END_ALLOW_THREADS;
493f1553 10183 if (PyErr_Occurred()) return NULL;
cf694132 10184} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10185 return _resultobj;
10186}
10187
10188#define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
efc5f224 10189static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10190 PyObject * _resultobj;
10191 wxSlider * _arg0;
10192 int _arg1;
10193 int _arg2;
1d99702e 10194 PyObject * _argo0 = 0;
efc5f224 10195 char *_kwnames[] = { "self","minValue","maxValue", NULL };
8ab979d7
RD
10196
10197 self = self;
efc5f224 10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 10199 return NULL;
1d99702e
RD
10200 if (_argo0) {
10201 if (_argo0 == Py_None) { _arg0 = NULL; }
10202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10204 return NULL;
10205 }
10206 }
cf694132
RD
10207{
10208 wxPy_BEGIN_ALLOW_THREADS;
10209 wxSlider_SetRange(_arg0,_arg1,_arg2);
10210
10211 wxPy_END_ALLOW_THREADS;
493f1553 10212 if (PyErr_Occurred()) return NULL;
cf694132 10213} Py_INCREF(Py_None);
8ab979d7
RD
10214 _resultobj = Py_None;
10215 return _resultobj;
10216}
10217
10218#define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
efc5f224 10219static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10220 PyObject * _resultobj;
10221 wxSlider * _arg0;
10222 int _arg1;
10223 int _arg2;
1d99702e 10224 PyObject * _argo0 = 0;
efc5f224 10225 char *_kwnames[] = { "self","n","pos", NULL };
8ab979d7
RD
10226
10227 self = self;
efc5f224 10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 10229 return NULL;
1d99702e
RD
10230 if (_argo0) {
10231 if (_argo0 == Py_None) { _arg0 = NULL; }
10232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10234 return NULL;
10235 }
10236 }
cf694132
RD
10237{
10238 wxPy_BEGIN_ALLOW_THREADS;
10239 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
10240
10241 wxPy_END_ALLOW_THREADS;
493f1553 10242 if (PyErr_Occurred()) return NULL;
cf694132 10243} Py_INCREF(Py_None);
8ab979d7
RD
10244 _resultobj = Py_None;
10245 return _resultobj;
10246}
10247
10248#define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
efc5f224 10249static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10250 PyObject * _resultobj;
10251 wxSlider * _arg0;
10252 int _arg1;
1d99702e 10253 PyObject * _argo0 = 0;
efc5f224 10254 char *_kwnames[] = { "self","lineSize", NULL };
8ab979d7
RD
10255
10256 self = self;
efc5f224 10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
8ab979d7 10258 return NULL;
1d99702e
RD
10259 if (_argo0) {
10260 if (_argo0 == Py_None) { _arg0 = NULL; }
10261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10263 return NULL;
10264 }
10265 }
cf694132
RD
10266{
10267 wxPy_BEGIN_ALLOW_THREADS;
10268 wxSlider_SetLineSize(_arg0,_arg1);
10269
10270 wxPy_END_ALLOW_THREADS;
493f1553 10271 if (PyErr_Occurred()) return NULL;
cf694132 10272} Py_INCREF(Py_None);
8ab979d7
RD
10273 _resultobj = Py_None;
10274 return _resultobj;
10275}
10276
10277#define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
efc5f224 10278static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10279 PyObject * _resultobj;
10280 wxSlider * _arg0;
10281 int _arg1;
1d99702e 10282 PyObject * _argo0 = 0;
efc5f224 10283 char *_kwnames[] = { "self","pageSize", NULL };
8ab979d7
RD
10284
10285 self = self;
efc5f224 10286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
8ab979d7 10287 return NULL;
1d99702e
RD
10288 if (_argo0) {
10289 if (_argo0 == Py_None) { _arg0 = NULL; }
10290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10292 return NULL;
10293 }
10294 }
cf694132
RD
10295{
10296 wxPy_BEGIN_ALLOW_THREADS;
10297 wxSlider_SetPageSize(_arg0,_arg1);
10298
10299 wxPy_END_ALLOW_THREADS;
493f1553 10300 if (PyErr_Occurred()) return NULL;
cf694132 10301} Py_INCREF(Py_None);
8ab979d7
RD
10302 _resultobj = Py_None;
10303 return _resultobj;
10304}
10305
10306#define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
efc5f224 10307static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10308 PyObject * _resultobj;
10309 wxSlider * _arg0;
10310 int _arg1;
10311 int _arg2;
1d99702e 10312 PyObject * _argo0 = 0;
efc5f224 10313 char *_kwnames[] = { "self","startPos","endPos", NULL };
8ab979d7
RD
10314
10315 self = self;
efc5f224 10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 10317 return NULL;
1d99702e
RD
10318 if (_argo0) {
10319 if (_argo0 == Py_None) { _arg0 = NULL; }
10320 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10321 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10322 return NULL;
10323 }
10324 }
cf694132
RD
10325{
10326 wxPy_BEGIN_ALLOW_THREADS;
10327 wxSlider_SetSelection(_arg0,_arg1,_arg2);
10328
10329 wxPy_END_ALLOW_THREADS;
493f1553 10330 if (PyErr_Occurred()) return NULL;
cf694132 10331} Py_INCREF(Py_None);
8ab979d7
RD
10332 _resultobj = Py_None;
10333 return _resultobj;
10334}
10335
10336#define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
efc5f224 10337static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10338 PyObject * _resultobj;
10339 wxSlider * _arg0;
10340 int _arg1;
1d99702e 10341 PyObject * _argo0 = 0;
efc5f224 10342 char *_kwnames[] = { "self","len", NULL };
8ab979d7
RD
10343
10344 self = self;
efc5f224 10345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
8ab979d7 10346 return NULL;
1d99702e
RD
10347 if (_argo0) {
10348 if (_argo0 == Py_None) { _arg0 = NULL; }
10349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10351 return NULL;
10352 }
10353 }
cf694132
RD
10354{
10355 wxPy_BEGIN_ALLOW_THREADS;
10356 wxSlider_SetThumbLength(_arg0,_arg1);
10357
10358 wxPy_END_ALLOW_THREADS;
493f1553 10359 if (PyErr_Occurred()) return NULL;
cf694132 10360} Py_INCREF(Py_None);
8ab979d7
RD
10361 _resultobj = Py_None;
10362 return _resultobj;
10363}
10364
10365#define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
efc5f224 10366static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10367 PyObject * _resultobj;
10368 wxSlider * _arg0;
10369 int _arg1;
1d99702e 10370 PyObject * _argo0 = 0;
efc5f224 10371 char *_kwnames[] = { "self","tickPos", NULL };
8ab979d7
RD
10372
10373 self = self;
efc5f224 10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
8ab979d7 10375 return NULL;
1d99702e
RD
10376 if (_argo0) {
10377 if (_argo0 == Py_None) { _arg0 = NULL; }
10378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10380 return NULL;
10381 }
10382 }
cf694132
RD
10383{
10384 wxPy_BEGIN_ALLOW_THREADS;
10385 wxSlider_SetTick(_arg0,_arg1);
10386
10387 wxPy_END_ALLOW_THREADS;
493f1553 10388 if (PyErr_Occurred()) return NULL;
cf694132 10389} Py_INCREF(Py_None);
8ab979d7
RD
10390 _resultobj = Py_None;
10391 return _resultobj;
10392}
10393
10394#define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 10395static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10396 PyObject * _resultobj;
10397 wxSlider * _arg0;
10398 int _arg1;
1d99702e 10399 PyObject * _argo0 = 0;
efc5f224 10400 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
10401
10402 self = self;
efc5f224 10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
8ab979d7 10404 return NULL;
1d99702e
RD
10405 if (_argo0) {
10406 if (_argo0 == Py_None) { _arg0 = NULL; }
10407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10409 return NULL;
10410 }
10411 }
cf694132
RD
10412{
10413 wxPy_BEGIN_ALLOW_THREADS;
10414 wxSlider_SetValue(_arg0,_arg1);
10415
10416 wxPy_END_ALLOW_THREADS;
493f1553 10417 if (PyErr_Occurred()) return NULL;
cf694132 10418} Py_INCREF(Py_None);
8ab979d7
RD
10419 _resultobj = Py_None;
10420 return _resultobj;
10421}
10422
f6bcfd97
BP
10423static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
10424 wxSpinCtrl *src;
10425 wxSpinButton *dest;
10426 src = (wxSpinCtrl *) ptr;
10427 dest = (wxSpinButton *) src;
10428 return (void *) dest;
10429}
10430
10431static void *SwigwxSpinCtrlTowxControl(void *ptr) {
10432 wxSpinCtrl *src;
10433 wxControl *dest;
10434 src = (wxSpinCtrl *) ptr;
10435 dest = (wxControl *) src;
10436 return (void *) dest;
10437}
10438
10439static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
10440 wxSpinCtrl *src;
10441 wxWindow *dest;
10442 src = (wxSpinCtrl *) ptr;
10443 dest = (wxWindow *) src;
10444 return (void *) dest;
10445}
10446
10447static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
10448 wxSpinCtrl *src;
10449 wxEvtHandler *dest;
10450 src = (wxSpinCtrl *) ptr;
10451 dest = (wxEvtHandler *) src;
10452 return (void *) dest;
10453}
10454
9416aa89
RD
10455static void *SwigwxSpinCtrlTowxObject(void *ptr) {
10456 wxSpinCtrl *src;
10457 wxObject *dest;
10458 src = (wxSpinCtrl *) ptr;
10459 dest = (wxObject *) src;
10460 return (void *) dest;
10461}
10462
f6bcfd97
BP
10463#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))
10464static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10465 PyObject * _resultobj;
10466 wxSpinCtrl * _result;
10467 wxWindow * _arg0;
10468 wxWindowID _arg1 = (wxWindowID ) -1;
10469 char * _arg2 = (char *) "";
e508a2b6
RD
10470 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10471 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
f6bcfd97
BP
10472 long _arg5 = (long ) wxSP_ARROW_KEYS;
10473 int _arg6 = (int ) 0;
10474 int _arg7 = (int ) 100;
10475 int _arg8 = (int ) 0;
10476 char * _arg9 = (char *) "wxSpinCtrl";
10477 PyObject * _argo0 = 0;
10478 wxPoint temp;
10479 PyObject * _obj3 = 0;
10480 wxSize temp0;
10481 PyObject * _obj4 = 0;
10482 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
10483 char _ptemp[128];
10484
10485 self = self;
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|isOOliiis:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9))
10487 return NULL;
10488 if (_argo0) {
10489 if (_argo0 == Py_None) { _arg0 = NULL; }
10490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10492 return NULL;
10493 }
10494 }
10495 if (_obj3)
10496{
10497 _arg3 = &temp;
10498 if (! wxPoint_helper(_obj3, &_arg3))
10499 return NULL;
10500}
10501 if (_obj4)
10502{
10503 _arg4 = &temp0;
10504 if (! wxSize_helper(_obj4, &_arg4))
10505 return NULL;
10506}
10507{
10508 wxPy_BEGIN_ALLOW_THREADS;
10509 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
10510
10511 wxPy_END_ALLOW_THREADS;
493f1553 10512 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10513} if (_result) {
10514 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10515 _resultobj = Py_BuildValue("s",_ptemp);
10516 } else {
10517 Py_INCREF(Py_None);
10518 _resultobj = Py_None;
10519 }
10520 return _resultobj;
10521}
10522
09f3d4e6
RD
10523#define new_wxPreSpinCtrl() (new wxSpinCtrl())
10524static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10525 PyObject * _resultobj;
10526 wxSpinCtrl * _result;
10527 char *_kwnames[] = { NULL };
10528 char _ptemp[128];
10529
10530 self = self;
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
10532 return NULL;
10533{
10534 wxPy_BEGIN_ALLOW_THREADS;
10535 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
10536
10537 wxPy_END_ALLOW_THREADS;
10538 if (PyErr_Occurred()) return NULL;
10539} if (_result) {
10540 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10541 _resultobj = Py_BuildValue("s",_ptemp);
10542 } else {
10543 Py_INCREF(Py_None);
10544 _resultobj = Py_None;
10545 }
10546 return _resultobj;
10547}
10548
10549#define wxSpinCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
10550static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10551 PyObject * _resultobj;
10552 bool _result;
10553 wxSpinCtrl * _arg0;
10554 wxWindow * _arg1;
10555 wxWindowID _arg2 = (wxWindowID ) -1;
10556 char * _arg3 = (char *) "";
10557 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10558 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10559 long _arg6 = (long ) wxSP_ARROW_KEYS;
10560 int _arg7 = (int ) 0;
10561 int _arg8 = (int ) 100;
10562 int _arg9 = (int ) 0;
10563 char * _arg10 = (char *) "wxSpinCtrl";
10564 PyObject * _argo0 = 0;
10565 PyObject * _argo1 = 0;
10566 wxPoint temp;
10567 PyObject * _obj4 = 0;
10568 wxSize temp0;
10569 PyObject * _obj5 = 0;
10570 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
10571
10572 self = self;
10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_arg10))
10574 return NULL;
10575 if (_argo0) {
10576 if (_argo0 == Py_None) { _arg0 = NULL; }
10577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10579 return NULL;
10580 }
10581 }
10582 if (_argo1) {
10583 if (_argo1 == Py_None) { _arg1 = NULL; }
10584 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10585 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10586 return NULL;
10587 }
10588 }
10589 if (_obj4)
10590{
10591 _arg4 = &temp;
10592 if (! wxPoint_helper(_obj4, &_arg4))
10593 return NULL;
10594}
10595 if (_obj5)
10596{
10597 _arg5 = &temp0;
10598 if (! wxSize_helper(_obj5, &_arg5))
10599 return NULL;
10600}
10601{
10602 wxPy_BEGIN_ALLOW_THREADS;
10603 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,_arg10);
10604
10605 wxPy_END_ALLOW_THREADS;
10606 if (PyErr_Occurred()) return NULL;
10607} _resultobj = Py_BuildValue("i",_result);
10608 return _resultobj;
10609}
10610
c368d904
RD
10611#define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10612static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10613 PyObject * _resultobj;
10614 int _result;
10615 wxSpinCtrl * _arg0;
10616 PyObject * _argo0 = 0;
10617 char *_kwnames[] = { "self", NULL };
10618
10619 self = self;
10620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
10621 return NULL;
10622 if (_argo0) {
10623 if (_argo0 == Py_None) { _arg0 = NULL; }
10624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10626 return NULL;
10627 }
10628 }
10629{
10630 wxPy_BEGIN_ALLOW_THREADS;
10631 _result = (int )wxSpinCtrl_GetMax(_arg0);
10632
10633 wxPy_END_ALLOW_THREADS;
493f1553 10634 if (PyErr_Occurred()) return NULL;
c368d904
RD
10635} _resultobj = Py_BuildValue("i",_result);
10636 return _resultobj;
10637}
10638
10639#define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10640static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10641 PyObject * _resultobj;
10642 int _result;
10643 wxSpinCtrl * _arg0;
10644 PyObject * _argo0 = 0;
10645 char *_kwnames[] = { "self", NULL };
10646
10647 self = self;
10648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
10649 return NULL;
10650 if (_argo0) {
10651 if (_argo0 == Py_None) { _arg0 = NULL; }
10652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10654 return NULL;
10655 }
10656 }
10657{
10658 wxPy_BEGIN_ALLOW_THREADS;
10659 _result = (int )wxSpinCtrl_GetMin(_arg0);
10660
10661 wxPy_END_ALLOW_THREADS;
493f1553 10662 if (PyErr_Occurred()) return NULL;
c368d904
RD
10663} _resultobj = Py_BuildValue("i",_result);
10664 return _resultobj;
10665}
10666
10667#define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10668static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10669 PyObject * _resultobj;
10670 int _result;
10671 wxSpinCtrl * _arg0;
10672 PyObject * _argo0 = 0;
10673 char *_kwnames[] = { "self", NULL };
10674
10675 self = self;
10676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
10677 return NULL;
10678 if (_argo0) {
10679 if (_argo0 == Py_None) { _arg0 = NULL; }
10680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10682 return NULL;
10683 }
10684 }
10685{
10686 wxPy_BEGIN_ALLOW_THREADS;
10687 _result = (int )wxSpinCtrl_GetValue(_arg0);
10688
10689 wxPy_END_ALLOW_THREADS;
493f1553 10690 if (PyErr_Occurred()) return NULL;
c368d904
RD
10691} _resultobj = Py_BuildValue("i",_result);
10692 return _resultobj;
10693}
10694
10695#define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10696static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10697 PyObject * _resultobj;
10698 wxSpinCtrl * _arg0;
10699 int _arg1;
10700 int _arg2;
10701 PyObject * _argo0 = 0;
10702 char *_kwnames[] = { "self","min","max", NULL };
10703
10704 self = self;
10705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
10706 return NULL;
10707 if (_argo0) {
10708 if (_argo0 == Py_None) { _arg0 = NULL; }
10709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10711 return NULL;
10712 }
10713 }
10714{
10715 wxPy_BEGIN_ALLOW_THREADS;
10716 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
10717
10718 wxPy_END_ALLOW_THREADS;
493f1553 10719 if (PyErr_Occurred()) return NULL;
c368d904
RD
10720} Py_INCREF(Py_None);
10721 _resultobj = Py_None;
10722 return _resultobj;
10723}
10724
10725#define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10726static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10727 PyObject * _resultobj;
10728 wxSpinCtrl * _arg0;
10729 int _arg1;
10730 PyObject * _argo0 = 0;
10731 char *_kwnames[] = { "self","value", NULL };
10732
10733 self = self;
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
10735 return NULL;
10736 if (_argo0) {
10737 if (_argo0 == Py_None) { _arg0 = NULL; }
10738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10740 return NULL;
10741 }
10742 }
10743{
10744 wxPy_BEGIN_ALLOW_THREADS;
10745 wxSpinCtrl_SetValue(_arg0,_arg1);
10746
10747 wxPy_END_ALLOW_THREADS;
493f1553 10748 if (PyErr_Occurred()) return NULL;
c368d904
RD
10749} Py_INCREF(Py_None);
10750 _resultobj = Py_None;
10751 return _resultobj;
10752}
10753
d1679124
RD
10754static void *SwigwxToggleButtonTowxControl(void *ptr) {
10755 wxToggleButton *src;
10756 wxControl *dest;
10757 src = (wxToggleButton *) ptr;
10758 dest = (wxControl *) src;
10759 return (void *) dest;
10760}
10761
10762static void *SwigwxToggleButtonTowxWindow(void *ptr) {
10763 wxToggleButton *src;
10764 wxWindow *dest;
10765 src = (wxToggleButton *) ptr;
10766 dest = (wxWindow *) src;
10767 return (void *) dest;
10768}
10769
10770static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
10771 wxToggleButton *src;
10772 wxEvtHandler *dest;
10773 src = (wxToggleButton *) ptr;
10774 dest = (wxEvtHandler *) src;
10775 return (void *) dest;
10776}
10777
9416aa89
RD
10778static void *SwigwxToggleButtonTowxObject(void *ptr) {
10779 wxToggleButton *src;
10780 wxObject *dest;
10781 src = (wxToggleButton *) ptr;
10782 dest = (wxObject *) src;
10783 return (void *) dest;
10784}
10785
d1679124
RD
10786#define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10787static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject * _resultobj;
10789 wxToggleButton * _result;
10790 wxWindow * _arg0;
10791 wxWindowID _arg1;
10792 wxString * _arg2;
10793 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10794 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10795 long _arg5 = (long ) 0;
10796 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
10797 char * _arg7 = (char *) "toggle";
10798 PyObject * _argo0 = 0;
10799 PyObject * _obj2 = 0;
10800 wxPoint temp;
10801 PyObject * _obj3 = 0;
10802 wxSize temp0;
10803 PyObject * _obj4 = 0;
10804 PyObject * _argo6 = 0;
10805 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
10806 char _ptemp[128];
10807
10808 self = self;
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
10810 return NULL;
10811 if (_argo0) {
10812 if (_argo0 == Py_None) { _arg0 = NULL; }
10813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10815 return NULL;
10816 }
10817 }
10818{
10819#if PYTHON_API_VERSION >= 1009
10820 char* tmpPtr; int tmpSize;
10821 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 10822 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
d1679124
RD
10823 return NULL;
10824 }
10825 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
10826 return NULL;
10827 _arg2 = new wxString(tmpPtr, tmpSize);
10828#else
10829 if (!PyString_Check(_obj2)) {
10830 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10831 return NULL;
10832 }
10833 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
10834#endif
10835}
10836 if (_obj3)
10837{
10838 _arg3 = &temp;
10839 if (! wxPoint_helper(_obj3, &_arg3))
10840 return NULL;
10841}
10842 if (_obj4)
10843{
10844 _arg4 = &temp0;
10845 if (! wxSize_helper(_obj4, &_arg4))
10846 return NULL;
10847}
10848 if (_argo6) {
10849 if (_argo6 == Py_None) { _arg6 = NULL; }
10850 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
10851 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
10852 return NULL;
10853 }
10854 }
10855{
10856 wxPy_BEGIN_ALLOW_THREADS;
10857 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
10858
10859 wxPy_END_ALLOW_THREADS;
493f1553 10860 if (PyErr_Occurred()) return NULL;
d1679124
RD
10861} if (_result) {
10862 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
10863 _resultobj = Py_BuildValue("s",_ptemp);
10864 } else {
10865 Py_INCREF(Py_None);
10866 _resultobj = Py_None;
10867 }
10868{
10869 if (_obj2)
10870 delete _arg2;
10871}
10872 return _resultobj;
10873}
10874
09f3d4e6
RD
10875#define new_wxPreToggleButton() (new wxToggleButton())
10876static PyObject *_wrap_new_wxPreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10877 PyObject * _resultobj;
10878 wxToggleButton * _result;
10879 char *_kwnames[] = { NULL };
10880 char _ptemp[128];
10881
10882 self = self;
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToggleButton",_kwnames))
10884 return NULL;
10885{
10886 wxPy_BEGIN_ALLOW_THREADS;
10887 _result = (wxToggleButton *)new_wxPreToggleButton();
10888
10889 wxPy_END_ALLOW_THREADS;
10890 if (PyErr_Occurred()) return NULL;
10891} if (_result) {
10892 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
10893 _resultobj = Py_BuildValue("s",_ptemp);
10894 } else {
10895 Py_INCREF(Py_None);
10896 _resultobj = Py_None;
10897 }
10898 return _resultobj;
10899}
10900
10901#define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10902static PyObject *_wrap_wxToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject * _resultobj;
10904 bool _result;
10905 wxToggleButton * _arg0;
10906 wxWindow * _arg1;
10907 wxWindowID _arg2;
10908 wxString * _arg3;
10909 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10910 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10911 long _arg6 = (long ) 0;
10912 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
10913 char * _arg8 = (char *) "toggle";
10914 PyObject * _argo0 = 0;
10915 PyObject * _argo1 = 0;
10916 PyObject * _obj3 = 0;
10917 wxPoint temp;
10918 PyObject * _obj4 = 0;
10919 wxSize temp0;
10920 PyObject * _obj5 = 0;
10921 PyObject * _argo7 = 0;
10922 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
10923
10924 self = self;
10925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxToggleButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
10926 return NULL;
10927 if (_argo0) {
10928 if (_argo0 == Py_None) { _arg0 = NULL; }
10929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
10930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
10931 return NULL;
10932 }
10933 }
10934 if (_argo1) {
10935 if (_argo1 == Py_None) { _arg1 = NULL; }
10936 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10937 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
10938 return NULL;
10939 }
10940 }
10941{
10942#if PYTHON_API_VERSION >= 1009
10943 char* tmpPtr; int tmpSize;
10944 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
10945 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10946 return NULL;
10947 }
10948 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
10949 return NULL;
10950 _arg3 = new wxString(tmpPtr, tmpSize);
10951#else
10952 if (!PyString_Check(_obj3)) {
10953 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10954 return NULL;
10955 }
10956 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
10957#endif
10958}
10959 if (_obj4)
10960{
10961 _arg4 = &temp;
10962 if (! wxPoint_helper(_obj4, &_arg4))
10963 return NULL;
10964}
10965 if (_obj5)
10966{
10967 _arg5 = &temp0;
10968 if (! wxSize_helper(_obj5, &_arg5))
10969 return NULL;
10970}
10971 if (_argo7) {
10972 if (_argo7 == Py_None) { _arg7 = NULL; }
10973 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
10974 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
10975 return NULL;
10976 }
10977 }
10978{
10979 wxPy_BEGIN_ALLOW_THREADS;
10980 _result = (bool )wxToggleButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
10981
10982 wxPy_END_ALLOW_THREADS;
10983 if (PyErr_Occurred()) return NULL;
10984} _resultobj = Py_BuildValue("i",_result);
10985{
10986 if (_obj3)
10987 delete _arg3;
10988}
10989 return _resultobj;
10990}
10991
d1679124
RD
10992#define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10993static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10994 PyObject * _resultobj;
10995 wxToggleButton * _arg0;
10996 bool _arg1;
10997 PyObject * _argo0 = 0;
10998 int tempbool1;
10999 char *_kwnames[] = { "self","value", NULL };
11000
11001 self = self;
11002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
11003 return NULL;
11004 if (_argo0) {
11005 if (_argo0 == Py_None) { _arg0 = NULL; }
11006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11008 return NULL;
11009 }
11010 }
11011 _arg1 = (bool ) tempbool1;
11012{
11013 wxPy_BEGIN_ALLOW_THREADS;
11014 wxToggleButton_SetValue(_arg0,_arg1);
11015
11016 wxPy_END_ALLOW_THREADS;
493f1553 11017 if (PyErr_Occurred()) return NULL;
d1679124
RD
11018} Py_INCREF(Py_None);
11019 _resultobj = Py_None;
11020 return _resultobj;
11021}
11022
11023#define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11024static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11025 PyObject * _resultobj;
11026 bool _result;
11027 wxToggleButton * _arg0;
11028 PyObject * _argo0 = 0;
11029 char *_kwnames[] = { "self", NULL };
11030
11031 self = self;
11032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
11033 return NULL;
11034 if (_argo0) {
11035 if (_argo0 == Py_None) { _arg0 = NULL; }
11036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11038 return NULL;
11039 }
11040 }
11041{
11042 wxPy_BEGIN_ALLOW_THREADS;
11043 _result = (bool )wxToggleButton_GetValue(_arg0);
11044
11045 wxPy_END_ALLOW_THREADS;
493f1553 11046 if (PyErr_Occurred()) return NULL;
d1679124
RD
11047} _resultobj = Py_BuildValue("i",_result);
11048 return _resultobj;
11049}
11050
11051#define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11052static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11053 PyObject * _resultobj;
11054 wxToggleButton * _arg0;
11055 wxString * _arg1;
11056 PyObject * _argo0 = 0;
11057 PyObject * _obj1 = 0;
11058 char *_kwnames[] = { "self","label", NULL };
11059
11060 self = self;
11061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
11062 return NULL;
11063 if (_argo0) {
11064 if (_argo0 == Py_None) { _arg0 = NULL; }
11065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11067 return NULL;
11068 }
11069 }
11070{
11071#if PYTHON_API_VERSION >= 1009
11072 char* tmpPtr; int tmpSize;
11073 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 11074 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
d1679124
RD
11075 return NULL;
11076 }
11077 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11078 return NULL;
11079 _arg1 = new wxString(tmpPtr, tmpSize);
11080#else
11081 if (!PyString_Check(_obj1)) {
11082 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11083 return NULL;
11084 }
11085 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11086#endif
11087}
11088{
11089 wxPy_BEGIN_ALLOW_THREADS;
11090 wxToggleButton_SetLabel(_arg0,*_arg1);
11091
11092 wxPy_END_ALLOW_THREADS;
493f1553 11093 if (PyErr_Occurred()) return NULL;
d1679124
RD
11094} Py_INCREF(Py_None);
11095 _resultobj = Py_None;
11096{
11097 if (_obj1)
11098 delete _arg1;
11099}
11100 return _resultobj;
11101}
11102
8ab979d7 11103static PyMethodDef controlscMethods[] = {
d1679124
RD
11104 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
11105 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11106 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11107 { "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
11108 { "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
d1679124 11109 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
11110 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11111 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
11112 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
11113 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
11114 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11115 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11116 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11117 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11118 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
11119 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
11120 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
11121 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
11122 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
11123 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
11124 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
11125 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
11126 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
11127 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
11128 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
11129 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
11130 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
11131 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11132 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
11133 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
11134 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
11135 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
11136 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11137 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
11138 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11139 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
11140 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11141 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11142 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
11143 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11144 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
11145 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
11146 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
11147 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11148 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
0adbc166 11149 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
efc5f224 11150 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
efc5f224 11151 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
3a0958b1
RD
11152 { "wxRadioBox_GetRowCount", (PyCFunction) _wrap_wxRadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
11153 { "wxRadioBox_GetColumnCount", (PyCFunction) _wrap_wxRadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
0adbc166
RD
11154 { "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
11155 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11156 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
11157 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
11158 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11159 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
11160 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11161 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
11162 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
11163 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
11164 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11165 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
11166 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11167 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
11168 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11169 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
11170 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11171 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
11172 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11173 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
11174 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11175 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
11176 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
11177 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26b9cf27 11178 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11179 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
11180 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
11181 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11182 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11183 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
11184 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
efc5f224 11185 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11186 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11187 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
11188 { "wxTextCtrl_SelectAll", (PyCFunction) _wrap_wxTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
11189 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11190 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11191 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11192 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11193 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11194 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11195 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11196 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11197 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11198 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11199 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
11200 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11201 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11202 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11203 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11204 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
11205 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
efc5f224 11206 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11207 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11208 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11209 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11210 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11211 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11212 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
11213 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
efc5f224 11214 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
efc5f224 11215 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11216 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
11217 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
11218 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
b78b83ec 11219 { "wxTextCtrl_GetStringSelection", (PyCFunction) _wrap_wxTextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11220 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11221 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
efc5f224 11222 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11223 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
11224 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
11225 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11226 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11227 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11228 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11229 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 11230 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
98624b49 11231 { "wxTextAttr_IsDefault", (PyCFunction) _wrap_wxTextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
d56cebe7
RD
11232 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11233 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11234 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11235 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11236 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11237 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11238 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11239 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11240 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11241 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
11242 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
efc5f224 11243 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
694759cf 11244 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11245 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
11246 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11247 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
11248 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11249 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
11250 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11251 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
11252 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11253 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
11254 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
11255 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
11256 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
0adbc166 11257 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
2f90df85 11258 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
efc5f224 11259 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
efc5f224 11260 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
efc5f224 11261 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11262 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
11263 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11264 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
11265 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
11266 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11267 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
11268 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
efc5f224 11269 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11270 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
11271 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
efc5f224 11272 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11273 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
11274 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11275 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
11276 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
11277 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11278 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
11279 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
11280 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
11281 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11282 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
11283 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11284 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
11285 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
efc5f224 11286 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
0adbc166 11287 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11288 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11289 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
11290 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11291 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11292 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11293 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
11294 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
11295 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
efc5f224 11296 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11297 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11298 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11299 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
11300 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11301 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
11302 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
efc5f224 11303 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
0adbc166 11304 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11305 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11306 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
11307 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
efc5f224 11308 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
efc5f224 11309 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11310 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
11311 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11312 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
11313 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11314 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11315 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
11316 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
efc5f224 11317 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11318 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
11319 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
11320 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11321 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
11322 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11323 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11324 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11325 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11326 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11327 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11328 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11329 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
11330 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
efc5f224 11331 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11332 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
11333 { "wxButton_SetImageMargins", (PyCFunction) _wrap_wxButton_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
11334 { "wxButton_SetImageLabel", (PyCFunction) _wrap_wxButton_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
11335 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11336 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
efc5f224 11337 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11338 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
11339 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
efc5f224 11340 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
900d9886
RD
11341 { "wxControlWithItems_SetClientData", (PyCFunction) _wrap_wxControlWithItems_SetClientData, METH_VARARGS | METH_KEYWORDS },
11342 { "wxControlWithItems_GetClientData", (PyCFunction) _wrap_wxControlWithItems_GetClientData, METH_VARARGS | METH_KEYWORDS },
11343 { "wxControlWithItems_Append", (PyCFunction) _wrap_wxControlWithItems_Append, METH_VARARGS | METH_KEYWORDS },
11344 { "wxControlWithItems_GetStringSelection", (PyCFunction) _wrap_wxControlWithItems_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11345 { "wxControlWithItems_GetSelection", (PyCFunction) _wrap_wxControlWithItems_GetSelection, METH_VARARGS | METH_KEYWORDS },
11346 { "wxControlWithItems_Select", (PyCFunction) _wrap_wxControlWithItems_Select, METH_VARARGS | METH_KEYWORDS },
11347 { "wxControlWithItems_FindString", (PyCFunction) _wrap_wxControlWithItems_FindString, METH_VARARGS | METH_KEYWORDS },
11348 { "wxControlWithItems_SetString", (PyCFunction) _wrap_wxControlWithItems_SetString, METH_VARARGS | METH_KEYWORDS },
11349 { "wxControlWithItems_GetString", (PyCFunction) _wrap_wxControlWithItems_GetString, METH_VARARGS | METH_KEYWORDS },
11350 { "wxControlWithItems_GetCount", (PyCFunction) _wrap_wxControlWithItems_GetCount, METH_VARARGS | METH_KEYWORDS },
11351 { "wxControlWithItems_Delete", (PyCFunction) _wrap_wxControlWithItems_Delete, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11352 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
11353 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
11354 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11355 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
11356 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
6999b0d8 11357 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11358 { NULL, NULL }
11359};
1d99702e
RD
11360#ifdef __cplusplus
11361}
11362#endif
11363/*
11364 * This table is used by the pointer type-checker
11365 */
11366static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11367 { "_signed_long","_long",0},
b1462dfa 11368 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11369 { "_wxPrintQuality","_int",0},
11370 { "_wxPrintQuality","_signed_int",0},
11371 { "_wxPrintQuality","_unsigned_int",0},
11372 { "_wxPrintQuality","_wxWindowID",0},
11373 { "_wxPrintQuality","_uint",0},
11374 { "_wxPrintQuality","_EBool",0},
11375 { "_wxPrintQuality","_size_t",0},
c368d904 11376 { "_wxPrintQuality","_time_t",0},
1d99702e 11377 { "_byte","_unsigned_char",0},
1d99702e 11378 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
1d99702e
RD
11379 { "_long","_unsigned_long",0},
11380 { "_long","_signed_long",0},
b1462dfa 11381 { "_size_t","_wxCoord",0},
1d99702e 11382 { "_size_t","_wxPrintQuality",0},
c368d904 11383 { "_size_t","_time_t",0},
1d99702e
RD
11384 { "_size_t","_unsigned_int",0},
11385 { "_size_t","_int",0},
11386 { "_size_t","_wxWindowID",0},
11387 { "_size_t","_uint",0},
b1462dfa 11388 { "_uint","_wxCoord",0},
1d99702e 11389 { "_uint","_wxPrintQuality",0},
c368d904 11390 { "_uint","_time_t",0},
1d99702e
RD
11391 { "_uint","_size_t",0},
11392 { "_uint","_unsigned_int",0},
11393 { "_uint","_int",0},
11394 { "_uint","_wxWindowID",0},
f6bcfd97 11395 { "_wxChar","_char",0},
f6bcfd97 11396 { "_char","_wxChar",0},
f6bcfd97 11397 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
cdf14688 11398 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11399 { "_EBool","_wxCoord",0},
1d99702e
RD
11400 { "_EBool","_wxPrintQuality",0},
11401 { "_EBool","_signed_int",0},
11402 { "_EBool","_int",0},
11403 { "_EBool","_wxWindowID",0},
1d99702e 11404 { "_unsigned_long","_long",0},
cdf14688 11405 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11406 { "_signed_int","_wxCoord",0},
1d99702e
RD
11407 { "_signed_int","_wxPrintQuality",0},
11408 { "_signed_int","_EBool",0},
11409 { "_signed_int","_wxWindowID",0},
11410 { "_signed_int","_int",0},
1d99702e 11411 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
1d99702e
RD
11412 { "_WXTYPE","_short",0},
11413 { "_WXTYPE","_signed_short",0},
11414 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11415 { "_unsigned_short","_WXTYPE",0},
11416 { "_unsigned_short","_short",0},
9416aa89 11417 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
9416aa89 11418 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
9416aa89 11419 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
9416aa89 11420 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
9416aa89 11421 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
9416aa89 11422 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
9416aa89 11423 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
9416aa89 11424 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
9416aa89 11425 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
9416aa89 11426 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
9416aa89 11427 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
9416aa89 11428 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
9416aa89 11429 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
9416aa89 11430 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
9416aa89 11431 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
9416aa89 11432 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
9416aa89 11433 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
9416aa89 11434 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
9416aa89 11435 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
9416aa89 11436 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
900d9886 11437 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
9416aa89 11438 { "_wxObject","_wxControl",SwigwxControlTowxObject},
1d99702e
RD
11439 { "_signed_short","_WXTYPE",0},
11440 { "_signed_short","_short",0},
1d99702e 11441 { "_unsigned_char","_byte",0},
d1679124 11442 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
f6bcfd97 11443 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
1d99702e 11444 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
1d99702e 11445 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
1d99702e 11446 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
1d99702e 11447 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
1d99702e 11448 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
1d99702e 11449 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
1d99702e 11450 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
1d99702e 11451 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
1d99702e 11452 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
1d99702e 11453 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
1d99702e 11454 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
1d99702e 11455 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
1d99702e 11456 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
1d99702e 11457 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
1d99702e 11458 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
1d99702e 11459 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
1d99702e 11460 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
1d99702e 11461 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
900d9886 11462 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
b1462dfa 11463 { "_unsigned_int","_wxCoord",0},
1d99702e 11464 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11465 { "_unsigned_int","_time_t",0},
1d99702e
RD
11466 { "_unsigned_int","_size_t",0},
11467 { "_unsigned_int","_uint",0},
11468 { "_unsigned_int","_wxWindowID",0},
11469 { "_unsigned_int","_int",0},
1d99702e
RD
11470 { "_short","_WXTYPE",0},
11471 { "_short","_unsigned_short",0},
11472 { "_short","_signed_short",0},
900d9886
RD
11473 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
11474 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
11475 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems},
11476 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
b1462dfa 11477 { "_wxWindowID","_wxCoord",0},
1d99702e 11478 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11479 { "_wxWindowID","_time_t",0},
1d99702e
RD
11480 { "_wxWindowID","_size_t",0},
11481 { "_wxWindowID","_EBool",0},
11482 { "_wxWindowID","_uint",0},
11483 { "_wxWindowID","_int",0},
11484 { "_wxWindowID","_signed_int",0},
11485 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11486 { "_int","_wxCoord",0},
1d99702e 11487 { "_int","_wxPrintQuality",0},
c368d904 11488 { "_int","_time_t",0},
1d99702e
RD
11489 { "_int","_size_t",0},
11490 { "_int","_EBool",0},
11491 { "_int","_uint",0},
11492 { "_int","_wxWindowID",0},
11493 { "_int","_unsigned_int",0},
11494 { "_int","_signed_int",0},
c368d904
RD
11495 { "_time_t","_wxCoord",0},
11496 { "_time_t","_wxPrintQuality",0},
11497 { "_time_t","_unsigned_int",0},
11498 { "_time_t","_int",0},
11499 { "_time_t","_wxWindowID",0},
11500 { "_time_t","_uint",0},
11501 { "_time_t","_size_t",0},
1d99702e 11502 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
b1462dfa
RD
11503 { "_wxCoord","_int",0},
11504 { "_wxCoord","_signed_int",0},
11505 { "_wxCoord","_unsigned_int",0},
11506 { "_wxCoord","_wxWindowID",0},
11507 { "_wxCoord","_uint",0},
11508 { "_wxCoord","_EBool",0},
11509 { "_wxCoord","_size_t",0},
c368d904 11510 { "_wxCoord","_time_t",0},
b1462dfa 11511 { "_wxCoord","_wxPrintQuality",0},
d1679124 11512 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
f6bcfd97 11513 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
1d99702e 11514 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
1d99702e 11515 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
1d99702e 11516 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
1d99702e 11517 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
1d99702e 11518 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
1d99702e 11519 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
1d99702e 11520 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
1d99702e 11521 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
1d99702e 11522 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
1d99702e 11523 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
1d99702e 11524 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
1d99702e 11525 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
1d99702e 11526 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
1d99702e 11527 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
1d99702e 11528 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
1d99702e 11529 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
1d99702e 11530 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
1d99702e 11531 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
900d9886 11532 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
1d99702e 11533 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
d1679124 11534 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
f6bcfd97 11535 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
1d99702e 11536 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
1d99702e 11537 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
1d99702e 11538 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
1d99702e 11539 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
1d99702e 11540 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
1d99702e 11541 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
1d99702e 11542 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
1d99702e 11543 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
1d99702e 11544 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
1d99702e 11545 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
1d99702e 11546 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
1d99702e 11547 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
1d99702e 11548 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
1d99702e 11549 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
1d99702e 11550 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
1d99702e 11551 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
1d99702e 11552 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
1d99702e 11553 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
900d9886 11554 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
1d99702e 11555 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
1d99702e
RD
11556{0,0,0}};
11557
8ab979d7
RD
11558static PyObject *SWIG_globals;
11559#ifdef __cplusplus
11560extern "C"
11561#endif
1d99702e 11562SWIGEXPORT(void) initcontrolsc() {
8ab979d7
RD
11563 PyObject *m, *d;
11564 SWIG_globals = SWIG_newvarlink();
11565 m = Py_InitModule("controlsc", controlscMethods);
11566 d = PyModule_GetDict(m);
2f90df85
RD
11567 PyDict_SetItemString(d,"cvar", SWIG_globals);
11568 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
d1679124 11569 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
1d99702e
RD
11570{
11571 int i;
11572 for (i = 0; _swig_mapping[i].n1; i++)
11573 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11574}
8ab979d7 11575}