]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls.cpp
Added VC++ project files for remaining Gizmo samples
[wxWidgets.git] / wxPython / src / msw / controls.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/msw/controls.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
dbbb98cd 6 * Version 1.1 (Build 883)
8ab979d7
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
1d99702e 27# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
8ab979d7 31# else
c368d904 32# define SWIGEXPORT(a) a
8ab979d7
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
8ab979d7
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
8ab979d7
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
dbbb98cd 44
8ab979d7
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
8ab979d7
RD
54#define SWIG_init initcontrolsc
55
56#define SWIG_name "controlsc"
57
58#include "helpers.h"
59#include <wx/slider.h>
b639c3c5 60#include <wx/spinbutt.h>
f6bcfd97 61#include <wx/spinctrl.h>
cf694132 62#include <wx/dynarray.h>
8bf5d46e 63#include <wx/statline.h>
d1679124 64#include <wx/tglbtn.h>
8ab979d7
RD
65
66#ifdef __WXMSW__
9c039d08
RD
67#if wxUSE_OWNER_DRAWN
68#include <wx/checklst.h>
69#endif
8ab979d7
RD
70#endif
71
be4d9c1f
RD
72#ifdef __WXGTK__
73#include <wx/checklst.h>
74#endif
75
bb0054cd 76
8ab979d7
RD
77static PyObject* t_output_helper(PyObject* target, PyObject* o) {
78 PyObject* o2;
79 PyObject* o3;
80
e0672e2f 81 if (!target) {
8ab979d7 82 target = o;
e0672e2f 83 } else if (target == Py_None) {
8ab979d7
RD
84 Py_DECREF(Py_None);
85 target = o;
e0672e2f 86 } else {
8ab979d7
RD
87 if (!PyTuple_Check(target)) {
88 o2 = target;
89 target = PyTuple_New(1);
90 PyTuple_SetItem(target, 0, o2);
91 }
e0672e2f
RD
92 o3 = PyTuple_New(1);
93 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
94
95 o2 = target;
e0672e2f
RD
96 target = PySequence_Concat(o2, o3);
97 Py_DECREF(o2);
8ab979d7
RD
98 Py_DECREF(o3);
99 }
100 return target;
101}
102
794c5cb1
RD
103#if PYTHON_API_VERSION >= 1009
104 static char* wxStringErrorMsg = "String or Unicode type required";
105#else
0122b7e3 106 static char* wxStringErrorMsg = "String type required";
794c5cb1 107#endif
1d99702e
RD
108#ifdef __cplusplus
109extern "C" {
110#endif
2f90df85
RD
111static int _wrap_wxDefaultValidator_set(PyObject *val) {
112
113 PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only.");
114 return 1;
115}
116
117static PyObject *_wrap_wxDefaultValidator_get() {
118 PyObject * pyobj;
119 char ptemp[128];
120
121 SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p");
122 pyobj = PyString_FromString(ptemp);
123 return pyobj;
124}
125
8ab979d7
RD
126static void *SwigwxControlTowxWindow(void *ptr) {
127 wxControl *src;
128 wxWindow *dest;
129 src = (wxControl *) ptr;
130 dest = (wxWindow *) src;
131 return (void *) dest;
132}
133
134static void *SwigwxControlTowxEvtHandler(void *ptr) {
135 wxControl *src;
136 wxEvtHandler *dest;
137 src = (wxControl *) ptr;
138 dest = (wxEvtHandler *) src;
139 return (void *) dest;
140}
141
9416aa89
RD
142static void *SwigwxControlTowxObject(void *ptr) {
143 wxControl *src;
144 wxObject *dest;
145 src = (wxControl *) ptr;
146 dest = (wxObject *) src;
147 return (void *) dest;
148}
149
9b3d3bc4 150#define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6999b0d8
RD
151static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
152 PyObject * _resultobj;
153 wxControl * _result;
9b3d3bc4
RD
154 wxWindow * _arg0;
155 wxWindowID _arg1;
e508a2b6
RD
156 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
157 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
9b3d3bc4 158 long _arg4 = (long ) 0;
e508a2b6 159 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9b3d3bc4
RD
160 char * _arg6 = (char *) "control";
161 PyObject * _argo0 = 0;
162 wxPoint temp;
163 PyObject * _obj2 = 0;
164 wxSize temp0;
165 PyObject * _obj3 = 0;
166 PyObject * _argo5 = 0;
167 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
6999b0d8
RD
168 char _ptemp[128];
169
170 self = self;
9b3d3bc4
RD
171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
172 return NULL;
173 if (_argo0) {
174 if (_argo0 == Py_None) { _arg0 = NULL; }
175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
177 return NULL;
178 }
179 }
180 if (_obj2)
181{
182 _arg2 = &temp;
183 if (! wxPoint_helper(_obj2, &_arg2))
6999b0d8 184 return NULL;
9b3d3bc4
RD
185}
186 if (_obj3)
187{
188 _arg3 = &temp0;
189 if (! wxSize_helper(_obj3, &_arg3))
190 return NULL;
191}
192 if (_argo5) {
193 if (_argo5 == Py_None) { _arg5 = NULL; }
194 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
196 return NULL;
197 }
198 }
6999b0d8 199{
4268f798 200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9b3d3bc4 201 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
6999b0d8 202
4268f798 203 wxPyEndAllowThreads(__tstate);
493f1553 204 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
205} if (_result) {
206 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
207 _resultobj = Py_BuildValue("s",_ptemp);
208 } else {
209 Py_INCREF(Py_None);
210 _resultobj = Py_None;
211 }
212 return _resultobj;
213}
214
09f3d4e6
RD
215#define new_wxPreControl() (new wxControl())
216static PyObject *_wrap_new_wxPreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
217 PyObject * _resultobj;
218 wxControl * _result;
219 char *_kwnames[] = { NULL };
220 char _ptemp[128];
221
222 self = self;
223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreControl",_kwnames))
224 return NULL;
225{
4268f798 226 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
227 _result = (wxControl *)new_wxPreControl();
228
4268f798 229 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
230 if (PyErr_Occurred()) return NULL;
231} if (_result) {
232 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
233 _resultobj = Py_BuildValue("s",_ptemp);
234 } else {
235 Py_INCREF(Py_None);
236 _resultobj = Py_None;
237 }
238 return _resultobj;
239}
240
241#define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
242static PyObject *_wrap_wxControl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
243 PyObject * _resultobj;
244 bool _result;
245 wxControl * _arg0;
246 wxWindow * _arg1;
247 wxWindowID _arg2;
248 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
249 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
250 long _arg5 = (long ) 0;
251 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
252 char * _arg7 = (char *) "control";
253 PyObject * _argo0 = 0;
254 PyObject * _argo1 = 0;
255 wxPoint temp;
256 PyObject * _obj3 = 0;
257 wxSize temp0;
258 PyObject * _obj4 = 0;
259 PyObject * _argo6 = 0;
260 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
261
262 self = self;
263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOs:wxControl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
264 return NULL;
265 if (_argo0) {
266 if (_argo0 == Py_None) { _arg0 = NULL; }
267 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
268 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
269 return NULL;
270 }
271 }
272 if (_argo1) {
273 if (_argo1 == Py_None) { _arg1 = NULL; }
274 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
275 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
276 return NULL;
277 }
278 }
279 if (_obj3)
280{
281 _arg3 = &temp;
282 if (! wxPoint_helper(_obj3, &_arg3))
283 return NULL;
284}
285 if (_obj4)
286{
287 _arg4 = &temp0;
288 if (! wxSize_helper(_obj4, &_arg4))
289 return NULL;
290}
291 if (_argo6) {
292 if (_argo6 == Py_None) { _arg6 = NULL; }
293 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
294 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
295 return NULL;
296 }
297 }
298{
4268f798 299 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
300 _result = (bool )wxControl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
301
4268f798 302 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
303 if (PyErr_Occurred()) return NULL;
304} _resultobj = Py_BuildValue("i",_result);
305 return _resultobj;
306}
307
8ab979d7 308#define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
efc5f224 309static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
310 PyObject * _resultobj;
311 wxControl * _arg0;
312 wxCommandEvent * _arg1;
1d99702e
RD
313 PyObject * _argo0 = 0;
314 PyObject * _argo1 = 0;
efc5f224 315 char *_kwnames[] = { "self","event", NULL };
8ab979d7
RD
316
317 self = self;
efc5f224 318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1))
8ab979d7 319 return NULL;
1d99702e
RD
320 if (_argo0) {
321 if (_argo0 == Py_None) { _arg0 = NULL; }
322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
8ab979d7
RD
323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
324 return NULL;
325 }
326 }
1d99702e
RD
327 if (_argo1) {
328 if (_argo1 == Py_None) { _arg1 = NULL; }
329 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
8ab979d7
RD
330 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
331 return NULL;
332 }
333 }
cf694132 334{
4268f798 335 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
336 wxControl_Command(_arg0,*_arg1);
337
4268f798 338 wxPyEndAllowThreads(__tstate);
493f1553 339 if (PyErr_Occurred()) return NULL;
cf694132 340} Py_INCREF(Py_None);
8ab979d7
RD
341 _resultobj = Py_None;
342 return _resultobj;
343}
344
345#define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 346static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
347 PyObject * _resultobj;
348 wxString * _result;
349 wxControl * _arg0;
1d99702e 350 PyObject * _argo0 = 0;
efc5f224 351 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
352
353 self = self;
efc5f224 354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
8ab979d7 355 return NULL;
1d99702e
RD
356 if (_argo0) {
357 if (_argo0 == Py_None) { _arg0 = NULL; }
358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
8ab979d7
RD
359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
360 return NULL;
361 }
362 }
8ab979d7 363{
4268f798 364 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
365 _result = new wxString (wxControl_GetLabel(_arg0));
366
4268f798 367 wxPyEndAllowThreads(__tstate);
493f1553 368 if (PyErr_Occurred()) return NULL;
cf694132 369}{
eec92d76 370 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
371}
372{
373 delete _result;
374}
375 return _resultobj;
376}
377
378#define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 379static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
380 PyObject * _resultobj;
381 wxControl * _arg0;
382 wxString * _arg1;
1d99702e 383 PyObject * _argo0 = 0;
8ab979d7 384 PyObject * _obj1 = 0;
efc5f224 385 char *_kwnames[] = { "self","label", NULL };
8ab979d7
RD
386
387 self = self;
efc5f224 388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
8ab979d7 389 return NULL;
1d99702e
RD
390 if (_argo0) {
391 if (_argo0 == Py_None) { _arg0 = NULL; }
392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
8ab979d7
RD
393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
394 return NULL;
395 }
396 }
397{
185d7c3e
RD
398#if PYTHON_API_VERSION >= 1009
399 char* tmpPtr; int tmpSize;
400 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 401 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
402 return NULL;
403 }
404 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
405 return NULL;
406 _arg1 = new wxString(tmpPtr, tmpSize);
407#else
8ab979d7
RD
408 if (!PyString_Check(_obj1)) {
409 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
410 return NULL;
411 }
185d7c3e
RD
412 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
413#endif
8ab979d7 414}
cf694132 415{
4268f798 416 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
417 wxControl_SetLabel(_arg0,*_arg1);
418
4268f798 419 wxPyEndAllowThreads(__tstate);
493f1553 420 if (PyErr_Occurred()) return NULL;
cf694132 421} Py_INCREF(Py_None);
8ab979d7
RD
422 _resultobj = Py_None;
423{
424 if (_obj1)
425 delete _arg1;
426}
427 return _resultobj;
428}
429
900d9886
RD
430static void *SwigwxControlWithItemsTowxControl(void *ptr) {
431 wxControlWithItems *src;
432 wxControl *dest;
433 src = (wxControlWithItems *) ptr;
434 dest = (wxControl *) src;
435 return (void *) dest;
436}
437
438static void *SwigwxControlWithItemsTowxWindow(void *ptr) {
439 wxControlWithItems *src;
440 wxWindow *dest;
441 src = (wxControlWithItems *) ptr;
442 dest = (wxWindow *) src;
443 return (void *) dest;
444}
445
446static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr) {
447 wxControlWithItems *src;
448 wxEvtHandler *dest;
449 src = (wxControlWithItems *) ptr;
450 dest = (wxEvtHandler *) src;
451 return (void *) dest;
452}
453
454static void *SwigwxControlWithItemsTowxObject(void *ptr) {
455 wxControlWithItems *src;
456 wxObject *dest;
457 src = (wxControlWithItems *) ptr;
458 dest = (wxObject *) src;
459 return (void *) dest;
460}
461
462#define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
463static PyObject *_wrap_wxControlWithItems_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
464 PyObject * _resultobj;
465 wxControlWithItems * _arg0;
466 int _arg1;
467 PyObject * _argo0 = 0;
468 char *_kwnames[] = { "self","n", NULL };
469
470 self = self;
471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Delete",_kwnames,&_argo0,&_arg1))
472 return NULL;
473 if (_argo0) {
474 if (_argo0 == Py_None) { _arg0 = NULL; }
475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
477 return NULL;
478 }
479 }
480{
4268f798 481 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
482 wxControlWithItems_Delete(_arg0,_arg1);
483
4268f798 484 wxPyEndAllowThreads(__tstate);
900d9886
RD
485 if (PyErr_Occurred()) return NULL;
486} Py_INCREF(Py_None);
487 _resultobj = Py_None;
488 return _resultobj;
489}
490
491#define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
492static PyObject *_wrap_wxControlWithItems_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
493 PyObject * _resultobj;
494 int _result;
495 wxControlWithItems * _arg0;
496 PyObject * _argo0 = 0;
497 char *_kwnames[] = { "self", NULL };
498
499 self = self;
500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetCount",_kwnames,&_argo0))
501 return NULL;
502 if (_argo0) {
503 if (_argo0 == Py_None) { _arg0 = NULL; }
504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
506 return NULL;
507 }
508 }
509{
4268f798 510 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
511 _result = (int )wxControlWithItems_GetCount(_arg0);
512
4268f798 513 wxPyEndAllowThreads(__tstate);
900d9886
RD
514 if (PyErr_Occurred()) return NULL;
515} _resultobj = Py_BuildValue("i",_result);
516 return _resultobj;
517}
518
519#define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
520static PyObject *_wrap_wxControlWithItems_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
521 PyObject * _resultobj;
522 wxString * _result;
523 wxControlWithItems * _arg0;
524 int _arg1;
525 PyObject * _argo0 = 0;
526 char *_kwnames[] = { "self","n", NULL };
527
528 self = self;
529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetString",_kwnames,&_argo0,&_arg1))
530 return NULL;
531 if (_argo0) {
532 if (_argo0 == Py_None) { _arg0 = NULL; }
533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
535 return NULL;
536 }
537 }
538{
4268f798 539 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
540 _result = new wxString (wxControlWithItems_GetString(_arg0,_arg1));
541
4268f798 542 wxPyEndAllowThreads(__tstate);
900d9886
RD
543 if (PyErr_Occurred()) return NULL;
544}{
545 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
546}
547{
548 delete _result;
549}
550 return _resultobj;
551}
552
553#define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
554static PyObject *_wrap_wxControlWithItems_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
555 PyObject * _resultobj;
556 wxControlWithItems * _arg0;
557 int _arg1;
558 wxString * _arg2;
559 PyObject * _argo0 = 0;
560 PyObject * _obj2 = 0;
561 char *_kwnames[] = { "self","n","s", NULL };
562
563 self = self;
564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
565 return NULL;
566 if (_argo0) {
567 if (_argo0 == Py_None) { _arg0 = NULL; }
568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
570 return NULL;
571 }
572 }
573{
574#if PYTHON_API_VERSION >= 1009
575 char* tmpPtr; int tmpSize;
576 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
577 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
578 return NULL;
579 }
580 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
581 return NULL;
582 _arg2 = new wxString(tmpPtr, tmpSize);
583#else
584 if (!PyString_Check(_obj2)) {
585 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
586 return NULL;
587 }
588 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
589#endif
590}
591{
4268f798 592 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
593 wxControlWithItems_SetString(_arg0,_arg1,*_arg2);
594
4268f798 595 wxPyEndAllowThreads(__tstate);
900d9886
RD
596 if (PyErr_Occurred()) return NULL;
597} Py_INCREF(Py_None);
598 _resultobj = Py_None;
599{
600 if (_obj2)
601 delete _arg2;
602}
603 return _resultobj;
604}
605
606#define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
607static PyObject *_wrap_wxControlWithItems_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
608 PyObject * _resultobj;
609 int _result;
610 wxControlWithItems * _arg0;
611 wxString * _arg1;
612 PyObject * _argo0 = 0;
613 PyObject * _obj1 = 0;
614 char *_kwnames[] = { "self","s", NULL };
615
616 self = self;
617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_FindString",_kwnames,&_argo0,&_obj1))
618 return NULL;
619 if (_argo0) {
620 if (_argo0 == Py_None) { _arg0 = NULL; }
621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
623 return NULL;
624 }
625 }
626{
627#if PYTHON_API_VERSION >= 1009
628 char* tmpPtr; int tmpSize;
629 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
630 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
631 return NULL;
632 }
633 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
634 return NULL;
635 _arg1 = new wxString(tmpPtr, tmpSize);
636#else
637 if (!PyString_Check(_obj1)) {
638 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
639 return NULL;
640 }
641 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
642#endif
643}
644{
4268f798 645 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
646 _result = (int )wxControlWithItems_FindString(_arg0,*_arg1);
647
4268f798 648 wxPyEndAllowThreads(__tstate);
900d9886
RD
649 if (PyErr_Occurred()) return NULL;
650} _resultobj = Py_BuildValue("i",_result);
651{
652 if (_obj1)
653 delete _arg1;
654}
655 return _resultobj;
656}
657
658#define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
659static PyObject *_wrap_wxControlWithItems_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
660 PyObject * _resultobj;
661 wxControlWithItems * _arg0;
662 int _arg1;
663 PyObject * _argo0 = 0;
664 char *_kwnames[] = { "self","n", NULL };
665
666 self = self;
667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Select",_kwnames,&_argo0,&_arg1))
668 return NULL;
669 if (_argo0) {
670 if (_argo0 == Py_None) { _arg0 = NULL; }
671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
673 return NULL;
674 }
675 }
676{
4268f798 677 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
678 wxControlWithItems_Select(_arg0,_arg1);
679
4268f798 680 wxPyEndAllowThreads(__tstate);
900d9886
RD
681 if (PyErr_Occurred()) return NULL;
682} Py_INCREF(Py_None);
683 _resultobj = Py_None;
684 return _resultobj;
685}
686
687#define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
688static PyObject *_wrap_wxControlWithItems_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
689 PyObject * _resultobj;
690 int _result;
691 wxControlWithItems * _arg0;
692 PyObject * _argo0 = 0;
693 char *_kwnames[] = { "self", NULL };
694
695 self = self;
696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetSelection",_kwnames,&_argo0))
697 return NULL;
698 if (_argo0) {
699 if (_argo0 == Py_None) { _arg0 = NULL; }
700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
702 return NULL;
703 }
704 }
705{
4268f798 706 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
707 _result = (int )wxControlWithItems_GetSelection(_arg0);
708
4268f798 709 wxPyEndAllowThreads(__tstate);
900d9886
RD
710 if (PyErr_Occurred()) return NULL;
711} _resultobj = Py_BuildValue("i",_result);
712 return _resultobj;
713}
714
715#define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
716static PyObject *_wrap_wxControlWithItems_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
717 PyObject * _resultobj;
718 wxString * _result;
719 wxControlWithItems * _arg0;
720 PyObject * _argo0 = 0;
721 char *_kwnames[] = { "self", NULL };
722
723 self = self;
724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetStringSelection",_kwnames,&_argo0))
725 return NULL;
726 if (_argo0) {
727 if (_argo0 == Py_None) { _arg0 = NULL; }
728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
730 return NULL;
731 }
732 }
733{
4268f798 734 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
735 _result = new wxString (wxControlWithItems_GetStringSelection(_arg0));
736
4268f798 737 wxPyEndAllowThreads(__tstate);
900d9886
RD
738 if (PyErr_Occurred()) return NULL;
739}{
740 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
741}
742{
743 delete _result;
744}
745 return _resultobj;
746}
747
748static void wxControlWithItems_Append(wxControlWithItems *self,const wxString & item,PyObject * clientData) {
749 if (clientData) {
750 wxPyClientData* data = new wxPyClientData(clientData);
751 self->Append(item, data);
752 } else
753 self->Append(item);
754 }
755static PyObject *_wrap_wxControlWithItems_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
756 PyObject * _resultobj;
757 wxControlWithItems * _arg0;
758 wxString * _arg1;
759 PyObject * _arg2 = (PyObject *) NULL;
760 PyObject * _argo0 = 0;
761 PyObject * _obj1 = 0;
762 PyObject * _obj2 = 0;
763 char *_kwnames[] = { "self","item","clientData", NULL };
764
765 self = self;
766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxControlWithItems_Append",_kwnames,&_argo0,&_obj1,&_obj2))
767 return NULL;
768 if (_argo0) {
769 if (_argo0 == Py_None) { _arg0 = NULL; }
770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
772 return NULL;
773 }
774 }
775{
776#if PYTHON_API_VERSION >= 1009
777 char* tmpPtr; int tmpSize;
778 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
779 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
780 return NULL;
781 }
782 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
783 return NULL;
784 _arg1 = new wxString(tmpPtr, tmpSize);
785#else
786 if (!PyString_Check(_obj1)) {
787 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
788 return NULL;
789 }
790 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
791#endif
792}
793 if (_obj2)
794{
795 _arg2 = _obj2;
796}
797{
4268f798 798 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
799 wxControlWithItems_Append(_arg0,*_arg1,_arg2);
800
4268f798 801 wxPyEndAllowThreads(__tstate);
900d9886
RD
802 if (PyErr_Occurred()) return NULL;
803} Py_INCREF(Py_None);
804 _resultobj = Py_None;
805{
806 if (_obj1)
807 delete _arg1;
808}
809 return _resultobj;
810}
811
812static PyObject * wxControlWithItems_GetClientData(wxControlWithItems *self,int n) {
813 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
814 if (data) {
815 Py_INCREF(data->m_obj);
816 return data->m_obj;
817 } else {
818 Py_INCREF(Py_None);
819 return Py_None;
820 }
821 }
822static PyObject *_wrap_wxControlWithItems_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
823 PyObject * _resultobj;
824 PyObject * _result;
825 wxControlWithItems * _arg0;
826 int _arg1;
827 PyObject * _argo0 = 0;
828 char *_kwnames[] = { "self","n", NULL };
829
830 self = self;
831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetClientData",_kwnames,&_argo0,&_arg1))
832 return NULL;
833 if (_argo0) {
834 if (_argo0 == Py_None) { _arg0 = NULL; }
835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
837 return NULL;
838 }
839 }
840{
4268f798 841 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
842 _result = (PyObject *)wxControlWithItems_GetClientData(_arg0,_arg1);
843
4268f798 844 wxPyEndAllowThreads(__tstate);
900d9886
RD
845 if (PyErr_Occurred()) return NULL;
846}{
847 _resultobj = _result;
848}
849 return _resultobj;
850}
851
852static void wxControlWithItems_SetClientData(wxControlWithItems *self,int n,PyObject * clientData) {
853 wxPyClientData* data = new wxPyClientData(clientData);
854 self->SetClientObject(n, data);
855 }
856static PyObject *_wrap_wxControlWithItems_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
857 PyObject * _resultobj;
858 wxControlWithItems * _arg0;
859 int _arg1;
860 PyObject * _arg2;
861 PyObject * _argo0 = 0;
862 PyObject * _obj2 = 0;
863 char *_kwnames[] = { "self","n","clientData", NULL };
864
865 self = self;
866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
867 return NULL;
868 if (_argo0) {
869 if (_argo0 == Py_None) { _arg0 = NULL; }
870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
872 return NULL;
873 }
874 }
875{
876 _arg2 = _obj2;
877}
878{
4268f798 879 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886
RD
880 wxControlWithItems_SetClientData(_arg0,_arg1,_arg2);
881
4268f798 882 wxPyEndAllowThreads(__tstate);
900d9886
RD
883 if (PyErr_Occurred()) return NULL;
884} Py_INCREF(Py_None);
885 _resultobj = Py_None;
886 return _resultobj;
887}
888
ce914f73
RD
889#define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
890static PyObject *_wrap_wxControlWithItems_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
891 PyObject * _resultobj;
892 wxControlWithItems * _arg0;
893 wxArrayString * _arg1;
894 PyObject * _argo0 = 0;
895 PyObject * _obj1 = 0;
896 char *_kwnames[] = { "self","strings", NULL };
897
898 self = self;
899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_AppendItems",_kwnames,&_argo0,&_obj1))
900 return NULL;
901 if (_argo0) {
902 if (_argo0 == Py_None) { _arg0 = NULL; }
903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
905 return NULL;
906 }
907 }
908{
909 if (! PySequence_Check(_obj1)) {
910 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
911 return NULL;
912 }
913 _arg1 = new wxArrayString;
914 int i, len=PySequence_Length(_obj1);
915 for (i=0; i<len; i++) {
916 PyObject* item = PySequence_GetItem(_obj1, i);
917 PyObject* str = PyObject_Str(item);
918 _arg1->Add(PyString_AsString(str));
919 Py_DECREF(item);
920 Py_DECREF(str);
921 }
922}
923{
924 PyThreadState* __tstate = wxPyBeginAllowThreads();
925 wxControlWithItems_AppendItems(_arg0,*_arg1);
926
927 wxPyEndAllowThreads(__tstate);
928 if (PyErr_Occurred()) return NULL;
929} Py_INCREF(Py_None);
930 _resultobj = Py_None;
931{
932 if (_obj1)
933 delete _arg1;
934}
935 return _resultobj;
936}
937
8ab979d7
RD
938static void *SwigwxButtonTowxControl(void *ptr) {
939 wxButton *src;
940 wxControl *dest;
941 src = (wxButton *) ptr;
942 dest = (wxControl *) src;
943 return (void *) dest;
944}
945
946static void *SwigwxButtonTowxWindow(void *ptr) {
947 wxButton *src;
948 wxWindow *dest;
949 src = (wxButton *) ptr;
950 dest = (wxWindow *) src;
951 return (void *) dest;
952}
953
954static void *SwigwxButtonTowxEvtHandler(void *ptr) {
955 wxButton *src;
956 wxEvtHandler *dest;
957 src = (wxButton *) ptr;
958 dest = (wxEvtHandler *) src;
959 return (void *) dest;
960}
961
9416aa89
RD
962static void *SwigwxButtonTowxObject(void *ptr) {
963 wxButton *src;
964 wxObject *dest;
965 src = (wxButton *) ptr;
966 dest = (wxObject *) src;
967 return (void *) dest;
968}
969
8ab979d7 970#define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 971static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
972 PyObject * _resultobj;
973 wxButton * _result;
974 wxWindow * _arg0;
975 wxWindowID _arg1;
976 wxString * _arg2;
e508a2b6
RD
977 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
978 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 979 long _arg5 = (long ) 0;
e508a2b6 980 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
981 char * _arg7 = (char *) "button";
982 PyObject * _argo0 = 0;
8ab979d7 983 PyObject * _obj2 = 0;
2f90df85
RD
984 wxPoint temp;
985 PyObject * _obj3 = 0;
986 wxSize temp0;
987 PyObject * _obj4 = 0;
1d99702e 988 PyObject * _argo6 = 0;
efc5f224 989 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
8ab979d7
RD
990 char _ptemp[128];
991
992 self = self;
2f90df85 993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
8ab979d7 994 return NULL;
1d99702e
RD
995 if (_argo0) {
996 if (_argo0 == Py_None) { _arg0 = NULL; }
997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
999 return NULL;
1000 }
1001 }
1002{
185d7c3e
RD
1003#if PYTHON_API_VERSION >= 1009
1004 char* tmpPtr; int tmpSize;
1005 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 1006 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1007 return NULL;
1008 }
1009 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1010 return NULL;
1011 _arg2 = new wxString(tmpPtr, tmpSize);
1012#else
8ab979d7
RD
1013 if (!PyString_Check(_obj2)) {
1014 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1015 return NULL;
1016 }
185d7c3e
RD
1017 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1018#endif
8ab979d7 1019}
2f90df85
RD
1020 if (_obj3)
1021{
1022 _arg3 = &temp;
1023 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 1024 return NULL;
2f90df85
RD
1025}
1026 if (_obj4)
1027{
1028 _arg4 = &temp0;
1029 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 1030 return NULL;
2f90df85 1031}
1d99702e
RD
1032 if (_argo6) {
1033 if (_argo6 == Py_None) { _arg6 = NULL; }
1034 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
1035 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1036 return NULL;
1037 }
1038 }
cf694132 1039{
4268f798 1040 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
1041 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
1042
4268f798 1043 wxPyEndAllowThreads(__tstate);
493f1553 1044 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1045} if (_result) {
1046 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1047 _resultobj = Py_BuildValue("s",_ptemp);
1048 } else {
1049 Py_INCREF(Py_None);
1050 _resultobj = Py_None;
1051 }
8ab979d7
RD
1052{
1053 if (_obj2)
1054 delete _arg2;
1055}
1056 return _resultobj;
1057}
1058
09f3d4e6
RD
1059#define new_wxPreButton() (new wxButton())
1060static PyObject *_wrap_new_wxPreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1061 PyObject * _resultobj;
1062 wxButton * _result;
1063 char *_kwnames[] = { NULL };
1064 char _ptemp[128];
1065
1066 self = self;
1067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreButton",_kwnames))
1068 return NULL;
1069{
4268f798 1070 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
1071 _result = (wxButton *)new_wxPreButton();
1072
4268f798 1073 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1074 if (PyErr_Occurred()) return NULL;
1075} if (_result) {
1076 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1077 _resultobj = Py_BuildValue("s",_ptemp);
1078 } else {
1079 Py_INCREF(Py_None);
1080 _resultobj = Py_None;
1081 }
1082 return _resultobj;
1083}
1084
1085#define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1086static PyObject *_wrap_wxButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1087 PyObject * _resultobj;
1088 bool _result;
1089 wxButton * _arg0;
1090 wxWindow * _arg1;
1091 wxWindowID _arg2;
1092 wxString * _arg3;
1093 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1094 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1095 long _arg6 = (long ) 0;
1096 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1097 char * _arg8 = (char *) "button";
1098 PyObject * _argo0 = 0;
1099 PyObject * _argo1 = 0;
1100 PyObject * _obj3 = 0;
1101 wxPoint temp;
1102 PyObject * _obj4 = 0;
1103 wxSize temp0;
1104 PyObject * _obj5 = 0;
1105 PyObject * _argo7 = 0;
1106 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
1107
1108 self = self;
1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
1110 return NULL;
1111 if (_argo0) {
1112 if (_argo0 == Py_None) { _arg0 = NULL; }
1113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1115 return NULL;
1116 }
1117 }
1118 if (_argo1) {
1119 if (_argo1 == Py_None) { _arg1 = NULL; }
1120 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1121 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1122 return NULL;
1123 }
1124 }
1125{
1126#if PYTHON_API_VERSION >= 1009
1127 char* tmpPtr; int tmpSize;
1128 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
1129 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1130 return NULL;
1131 }
1132 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
1133 return NULL;
1134 _arg3 = new wxString(tmpPtr, tmpSize);
1135#else
1136 if (!PyString_Check(_obj3)) {
1137 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1138 return NULL;
1139 }
1140 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
1141#endif
1142}
1143 if (_obj4)
1144{
1145 _arg4 = &temp;
1146 if (! wxPoint_helper(_obj4, &_arg4))
1147 return NULL;
1148}
1149 if (_obj5)
1150{
1151 _arg5 = &temp0;
1152 if (! wxSize_helper(_obj5, &_arg5))
1153 return NULL;
1154}
1155 if (_argo7) {
1156 if (_argo7 == Py_None) { _arg7 = NULL; }
1157 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1158 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1159 return NULL;
1160 }
1161 }
1162{
4268f798 1163 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
1164 _result = (bool )wxButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
1165
4268f798 1166 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1167 if (PyErr_Occurred()) return NULL;
1168} _resultobj = Py_BuildValue("i",_result);
1169{
1170 if (_obj3)
1171 delete _arg3;
1172}
1173 return _resultobj;
1174}
1175
8ab979d7 1176#define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
efc5f224 1177static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1178 PyObject * _resultobj;
1179 wxButton * _arg0;
1d99702e 1180 PyObject * _argo0 = 0;
efc5f224 1181 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1182
1183 self = self;
efc5f224 1184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
8ab979d7 1185 return NULL;
1d99702e
RD
1186 if (_argo0) {
1187 if (_argo0 == Py_None) { _arg0 = NULL; }
1188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
8ab979d7
RD
1189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1190 return NULL;
1191 }
1192 }
cf694132 1193{
4268f798 1194 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
1195 wxButton_SetDefault(_arg0);
1196
4268f798 1197 wxPyEndAllowThreads(__tstate);
493f1553 1198 if (PyErr_Occurred()) return NULL;
cf694132 1199} Py_INCREF(Py_None);
8ab979d7
RD
1200 _resultobj = Py_None;
1201 return _resultobj;
1202}
1203
9b3d3bc4
RD
1204#define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1205static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1206 PyObject * _resultobj;
1207 wxButton * _arg0;
1208 wxColour * _arg1;
1209 PyObject * _argo0 = 0;
f6bcfd97
BP
1210 wxColour temp;
1211 PyObject * _obj1 = 0;
9b3d3bc4
RD
1212 char *_kwnames[] = { "self","colour", NULL };
1213
1214 self = self;
f6bcfd97 1215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
9b3d3bc4
RD
1216 return NULL;
1217 if (_argo0) {
1218 if (_argo0 == Py_None) { _arg0 = NULL; }
1219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1221 return NULL;
1222 }
1223 }
f6bcfd97
BP
1224{
1225 _arg1 = &temp;
1226 if (! wxColour_helper(_obj1, &_arg1))
9b3d3bc4 1227 return NULL;
f6bcfd97 1228}
9b3d3bc4 1229{
4268f798 1230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9b3d3bc4
RD
1231 wxButton_SetBackgroundColour(_arg0,*_arg1);
1232
4268f798 1233 wxPyEndAllowThreads(__tstate);
493f1553 1234 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1235} Py_INCREF(Py_None);
1236 _resultobj = Py_None;
1237 return _resultobj;
1238}
1239
1240#define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1241static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1242 PyObject * _resultobj;
1243 wxButton * _arg0;
1244 wxColour * _arg1;
1245 PyObject * _argo0 = 0;
f6bcfd97
BP
1246 wxColour temp;
1247 PyObject * _obj1 = 0;
9b3d3bc4
RD
1248 char *_kwnames[] = { "self","colour", NULL };
1249
1250 self = self;
f6bcfd97 1251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
9b3d3bc4
RD
1252 return NULL;
1253 if (_argo0) {
1254 if (_argo0 == Py_None) { _arg0 = NULL; }
1255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1257 return NULL;
1258 }
1259 }
f6bcfd97
BP
1260{
1261 _arg1 = &temp;
1262 if (! wxColour_helper(_obj1, &_arg1))
9b3d3bc4 1263 return NULL;
f6bcfd97 1264}
9b3d3bc4 1265{
4268f798 1266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9b3d3bc4
RD
1267 wxButton_SetForegroundColour(_arg0,*_arg1);
1268
4268f798 1269 wxPyEndAllowThreads(__tstate);
493f1553 1270 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1271} Py_INCREF(Py_None);
1272 _resultobj = Py_None;
1273 return _resultobj;
1274}
1275
09f3d4e6
RD
1276#define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
1277static PyObject *_wrap_wxButton_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1278 PyObject * _resultobj;
1279 wxButton * _arg0;
1280 wxBitmap * _arg1;
1281 PyObject * _argo0 = 0;
1282 PyObject * _argo1 = 0;
1283 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7 1284
09f3d4e6
RD
1285 self = self;
1286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetImageLabel",_kwnames,&_argo0,&_argo1))
1287 return NULL;
1288 if (_argo0) {
1289 if (_argo0 == Py_None) { _arg0 = NULL; }
1290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
1292 return NULL;
1293 }
1294 }
1295 if (_argo1) {
1296 if (_argo1 == Py_None) { _arg1 = NULL; }
1297 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1298 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
1299 return NULL;
1300 }
1301 }
1302{
4268f798 1303 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6 1304 wxButton_SetImageLabel(_arg0,*_arg1);
8ab979d7 1305
4268f798 1306 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1307 if (PyErr_Occurred()) return NULL;
1308} Py_INCREF(Py_None);
1309 _resultobj = Py_None;
1310 return _resultobj;
8ab979d7
RD
1311}
1312
09f3d4e6
RD
1313#define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
1314static PyObject *_wrap_wxButton_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1315 PyObject * _resultobj;
1316 wxButton * _arg0;
1317 wxCoord _arg1;
1318 wxCoord _arg2;
1319 PyObject * _argo0 = 0;
1320 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7 1321
09f3d4e6
RD
1322 self = self;
1323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxButton_SetImageMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1324 return NULL;
1325 if (_argo0) {
1326 if (_argo0 == Py_None) { _arg0 = NULL; }
1327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
1329 return NULL;
1330 }
1331 }
1332{
4268f798 1333 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
1334 wxButton_SetImageMargins(_arg0,_arg1,_arg2);
1335
4268f798 1336 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1337 if (PyErr_Occurred()) return NULL;
1338} Py_INCREF(Py_None);
1339 _resultobj = Py_None;
1340 return _resultobj;
1341}
1342
1343static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1344 PyObject * _resultobj;
1345 wxSize * _result;
1346 char *_kwnames[] = { NULL };
1347 char _ptemp[128];
1348
1349 self = self;
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames))
1351 return NULL;
1352{
4268f798 1353 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
1354 _result = new wxSize (wxButton::GetDefaultSize());
1355
4268f798 1356 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1357 if (PyErr_Occurred()) return NULL;
1358} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1359 _resultobj = Py_BuildValue("s",_ptemp);
1360 return _resultobj;
1361}
1362
1363static void *SwigwxBitmapButtonTowxButton(void *ptr) {
1364 wxBitmapButton *src;
1365 wxButton *dest;
1366 src = (wxBitmapButton *) ptr;
1367 dest = (wxButton *) src;
1368 return (void *) dest;
1369}
1370
1371static void *SwigwxBitmapButtonTowxControl(void *ptr) {
1372 wxBitmapButton *src;
1373 wxControl *dest;
1374 src = (wxBitmapButton *) ptr;
1375 dest = (wxControl *) src;
1376 return (void *) dest;
1377}
1378
1379static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
1380 wxBitmapButton *src;
1381 wxWindow *dest;
1382 src = (wxBitmapButton *) ptr;
1383 dest = (wxWindow *) src;
1384 return (void *) dest;
1385}
1386
1387static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
1388 wxBitmapButton *src;
1389 wxEvtHandler *dest;
1390 src = (wxBitmapButton *) ptr;
1391 dest = (wxEvtHandler *) src;
1392 return (void *) dest;
1393}
1394
1395static void *SwigwxBitmapButtonTowxObject(void *ptr) {
1396 wxBitmapButton *src;
1397 wxObject *dest;
1398 src = (wxBitmapButton *) ptr;
1399 dest = (wxObject *) src;
9416aa89
RD
1400 return (void *) dest;
1401}
1402
8ab979d7 1403#define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 1404static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1405 PyObject * _resultobj;
1406 wxBitmapButton * _result;
1407 wxWindow * _arg0;
1408 wxWindowID _arg1;
1409 wxBitmap * _arg2;
e508a2b6
RD
1410 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1411 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 1412 long _arg5 = (long ) wxBU_AUTODRAW;
e508a2b6 1413 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
1414 char * _arg7 = (char *) "button";
1415 PyObject * _argo0 = 0;
1416 PyObject * _argo2 = 0;
2f90df85
RD
1417 wxPoint temp;
1418 PyObject * _obj3 = 0;
1419 wxSize temp0;
1420 PyObject * _obj4 = 0;
1d99702e 1421 PyObject * _argo6 = 0;
efc5f224 1422 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
8ab979d7
RD
1423 char _ptemp[128];
1424
1425 self = self;
2f90df85 1426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
8ab979d7 1427 return NULL;
1d99702e
RD
1428 if (_argo0) {
1429 if (_argo0 == Py_None) { _arg0 = NULL; }
1430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1432 return NULL;
1433 }
1434 }
1d99702e
RD
1435 if (_argo2) {
1436 if (_argo2 == Py_None) { _arg2 = NULL; }
1437 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
8ab979d7
RD
1438 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1439 return NULL;
1440 }
1441 }
2f90df85
RD
1442 if (_obj3)
1443{
1444 _arg3 = &temp;
1445 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 1446 return NULL;
2f90df85
RD
1447}
1448 if (_obj4)
1449{
1450 _arg4 = &temp0;
1451 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 1452 return NULL;
2f90df85 1453}
1d99702e
RD
1454 if (_argo6) {
1455 if (_argo6 == Py_None) { _arg6 = NULL; }
1456 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
1457 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1458 return NULL;
1459 }
1460 }
cf694132 1461{
4268f798 1462 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
1463 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
1464
4268f798 1465 wxPyEndAllowThreads(__tstate);
493f1553 1466 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1467} if (_result) {
1468 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1469 _resultobj = Py_BuildValue("s",_ptemp);
1470 } else {
1471 Py_INCREF(Py_None);
1472 _resultobj = Py_None;
1473 }
8ab979d7
RD
1474 return _resultobj;
1475}
1476
09f3d4e6
RD
1477#define new_wxPreBitmapButton() (new wxBitmapButton())
1478static PyObject *_wrap_new_wxPreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1479 PyObject * _resultobj;
1480 wxBitmapButton * _result;
1481 char *_kwnames[] = { NULL };
1482 char _ptemp[128];
1483
1484 self = self;
1485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreBitmapButton",_kwnames))
1486 return NULL;
1487{
4268f798 1488 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
1489 _result = (wxBitmapButton *)new_wxPreBitmapButton();
1490
4268f798 1491 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1492 if (PyErr_Occurred()) return NULL;
1493} if (_result) {
1494 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1495 _resultobj = Py_BuildValue("s",_ptemp);
1496 } else {
1497 Py_INCREF(Py_None);
1498 _resultobj = Py_None;
1499 }
1500 return _resultobj;
1501}
1502
1503#define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1504static PyObject *_wrap_wxBitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1505 PyObject * _resultobj;
1506 bool _result;
1507 wxBitmapButton * _arg0;
1508 wxWindow * _arg1;
1509 wxWindowID _arg2;
1510 wxBitmap * _arg3;
1511 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1512 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1513 long _arg6 = (long ) wxBU_AUTODRAW;
1514 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1515 char * _arg8 = (char *) "button";
1516 PyObject * _argo0 = 0;
1517 PyObject * _argo1 = 0;
1518 PyObject * _argo3 = 0;
1519 wxPoint temp;
1520 PyObject * _obj4 = 0;
1521 wxSize temp0;
1522 PyObject * _obj5 = 0;
1523 PyObject * _argo7 = 0;
1524 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL };
1525
1526 self = self;
1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
1528 return NULL;
1529 if (_argo0) {
1530 if (_argo0 == Py_None) { _arg0 = NULL; }
1531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1533 return NULL;
1534 }
1535 }
1536 if (_argo1) {
1537 if (_argo1 == Py_None) { _arg1 = NULL; }
1538 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1539 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1540 return NULL;
1541 }
1542 }
1543 if (_argo3) {
1544 if (_argo3 == Py_None) { _arg3 = NULL; }
1545 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1546 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1547 return NULL;
1548 }
1549 }
1550 if (_obj4)
1551{
1552 _arg4 = &temp;
1553 if (! wxPoint_helper(_obj4, &_arg4))
1554 return NULL;
1555}
1556 if (_obj5)
1557{
1558 _arg5 = &temp0;
1559 if (! wxSize_helper(_obj5, &_arg5))
1560 return NULL;
1561}
1562 if (_argo7) {
1563 if (_argo7 == Py_None) { _arg7 = NULL; }
1564 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1565 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1566 return NULL;
1567 }
1568 }
1569{
4268f798 1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
1571 _result = (bool )wxBitmapButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
1572
4268f798 1573 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1574 if (PyErr_Occurred()) return NULL;
1575} _resultobj = Py_BuildValue("i",_result);
1576 return _resultobj;
1577}
1578
8ab979d7 1579#define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
efc5f224 1580static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1581 PyObject * _resultobj;
1582 wxBitmap * _result;
1583 wxBitmapButton * _arg0;
1d99702e 1584 PyObject * _argo0 = 0;
efc5f224 1585 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1586 char _ptemp[128];
1587
1588 self = self;
efc5f224 1589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
8ab979d7 1590 return NULL;
1d99702e
RD
1591 if (_argo0) {
1592 if (_argo0 == Py_None) { _arg0 = NULL; }
1593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1595 return NULL;
1596 }
1597 }
cf694132 1598{
4268f798 1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 1600 _result = new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0));
cf694132 1601
4268f798 1602 wxPyEndAllowThreads(__tstate);
493f1553 1603 if (PyErr_Occurred()) return NULL;
c5943253
RD
1604} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1605 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1606 return _resultobj;
1607}
1608
1609#define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
efc5f224 1610static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1611 PyObject * _resultobj;
1612 wxBitmap * _result;
1613 wxBitmapButton * _arg0;
1d99702e 1614 PyObject * _argo0 = 0;
efc5f224 1615 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1616 char _ptemp[128];
1617
1618 self = self;
efc5f224 1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
8ab979d7 1620 return NULL;
1d99702e
RD
1621 if (_argo0) {
1622 if (_argo0 == Py_None) { _arg0 = NULL; }
1623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1625 return NULL;
1626 }
1627 }
cf694132 1628{
4268f798 1629 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 1630 _result = new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0));
cf694132 1631
4268f798 1632 wxPyEndAllowThreads(__tstate);
493f1553 1633 if (PyErr_Occurred()) return NULL;
c5943253
RD
1634} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1635 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1636 return _resultobj;
1637}
1638
1639#define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
efc5f224 1640static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(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_GetBitmapFocus",_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_GetBitmapFocus. Expected _wxBitmapButton_p.");
1655 return NULL;
1656 }
1657 }
cf694132 1658{
4268f798 1659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 1660 _result = new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0));
cf694132 1661
4268f798 1662 wxPyEndAllowThreads(__tstate);
493f1553 1663 if (PyErr_Occurred()) return NULL;
c5943253
RD
1664} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1665 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1666 return _resultobj;
1667}
1668
1669#define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
efc5f224 1670static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1671 PyObject * _resultobj;
1672 wxBitmap * _result;
1673 wxBitmapButton * _arg0;
1d99702e 1674 PyObject * _argo0 = 0;
efc5f224 1675 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1676 char _ptemp[128];
1677
1678 self = self;
efc5f224 1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
8ab979d7 1680 return NULL;
1d99702e
RD
1681 if (_argo0) {
1682 if (_argo0 == Py_None) { _arg0 = NULL; }
1683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1685 return NULL;
1686 }
1687 }
cf694132 1688{
4268f798 1689 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 1690 _result = new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0));
cf694132 1691
4268f798 1692 wxPyEndAllowThreads(__tstate);
493f1553 1693 if (PyErr_Occurred()) return NULL;
c5943253
RD
1694} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1695 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1696 return _resultobj;
1697}
1698
1699#define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
efc5f224 1700static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1701 PyObject * _resultobj;
1702 wxBitmapButton * _arg0;
1703 wxBitmap * _arg1;
1d99702e
RD
1704 PyObject * _argo0 = 0;
1705 PyObject * _argo1 = 0;
efc5f224 1706 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1707
1708 self = self;
efc5f224 1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
8ab979d7 1710 return NULL;
1d99702e
RD
1711 if (_argo0) {
1712 if (_argo0 == Py_None) { _arg0 = NULL; }
1713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1715 return NULL;
1716 }
1717 }
1d99702e
RD
1718 if (_argo1) {
1719 if (_argo1 == Py_None) { _arg1 = NULL; }
1720 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1722 return NULL;
1723 }
1724 }
cf694132 1725{
4268f798 1726 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
1727 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
1728
4268f798 1729 wxPyEndAllowThreads(__tstate);
493f1553 1730 if (PyErr_Occurred()) return NULL;
cf694132 1731} Py_INCREF(Py_None);
8ab979d7
RD
1732 _resultobj = Py_None;
1733 return _resultobj;
1734}
1735
1736#define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
efc5f224 1737static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1738 PyObject * _resultobj;
1739 wxBitmapButton * _arg0;
1740 wxBitmap * _arg1;
1d99702e
RD
1741 PyObject * _argo0 = 0;
1742 PyObject * _argo1 = 0;
efc5f224 1743 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1744
1745 self = self;
efc5f224 1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
8ab979d7 1747 return NULL;
1d99702e
RD
1748 if (_argo0) {
1749 if (_argo0 == Py_None) { _arg0 = NULL; }
1750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1752 return NULL;
1753 }
1754 }
1d99702e
RD
1755 if (_argo1) {
1756 if (_argo1 == Py_None) { _arg1 = NULL; }
1757 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1758 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1759 return NULL;
1760 }
1761 }
cf694132 1762{
4268f798 1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
1764 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
1765
4268f798 1766 wxPyEndAllowThreads(__tstate);
493f1553 1767 if (PyErr_Occurred()) return NULL;
cf694132 1768} Py_INCREF(Py_None);
8ab979d7
RD
1769 _resultobj = Py_None;
1770 return _resultobj;
1771}
1772
1773#define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
efc5f224 1774static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1775 PyObject * _resultobj;
1776 wxBitmapButton * _arg0;
1777 wxBitmap * _arg1;
1d99702e
RD
1778 PyObject * _argo0 = 0;
1779 PyObject * _argo1 = 0;
efc5f224 1780 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1781
1782 self = self;
efc5f224 1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 1784 return NULL;
1d99702e
RD
1785 if (_argo0) {
1786 if (_argo0 == Py_None) { _arg0 = NULL; }
1787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1789 return NULL;
1790 }
1791 }
1d99702e
RD
1792 if (_argo1) {
1793 if (_argo1 == Py_None) { _arg1 = NULL; }
1794 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1795 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1796 return NULL;
1797 }
1798 }
cf694132 1799{
4268f798 1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
1801 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
1802
4268f798 1803 wxPyEndAllowThreads(__tstate);
493f1553 1804 if (PyErr_Occurred()) return NULL;
cf694132 1805} Py_INCREF(Py_None);
8ab979d7
RD
1806 _resultobj = Py_None;
1807 return _resultobj;
1808}
1809
1810#define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
efc5f224 1811static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1812 PyObject * _resultobj;
1813 wxBitmapButton * _arg0;
1814 wxBitmap * _arg1;
1d99702e
RD
1815 PyObject * _argo0 = 0;
1816 PyObject * _argo1 = 0;
efc5f224 1817 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1818
1819 self = self;
efc5f224 1820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
8ab979d7 1821 return NULL;
1d99702e
RD
1822 if (_argo0) {
1823 if (_argo0 == Py_None) { _arg0 = NULL; }
1824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1826 return NULL;
1827 }
1828 }
1d99702e
RD
1829 if (_argo1) {
1830 if (_argo1 == Py_None) { _arg1 = NULL; }
1831 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1832 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1833 return NULL;
1834 }
1835 }
cf694132 1836{
4268f798 1837 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
1838 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
1839
4268f798 1840 wxPyEndAllowThreads(__tstate);
493f1553 1841 if (PyErr_Occurred()) return NULL;
cf694132 1842} Py_INCREF(Py_None);
8ab979d7
RD
1843 _resultobj = Py_None;
1844 return _resultobj;
1845}
1846
f6bcfd97
BP
1847#define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1848static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject * _resultobj;
1850 wxBitmapButton * _arg0;
1851 int _arg1;
1852 int _arg2;
1853 PyObject * _argo0 = 0;
1854 char *_kwnames[] = { "self","x","y", NULL };
1855
1856 self = self;
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1858 return NULL;
1859 if (_argo0) {
1860 if (_argo0 == Py_None) { _arg0 = NULL; }
1861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1863 return NULL;
1864 }
1865 }
1866{
4268f798 1867 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1868 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
1869
4268f798 1870 wxPyEndAllowThreads(__tstate);
493f1553 1871 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1872} Py_INCREF(Py_None);
1873 _resultobj = Py_None;
1874 return _resultobj;
1875}
1876
1877#define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1878static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1879 PyObject * _resultobj;
1880 int _result;
1881 wxBitmapButton * _arg0;
1882 PyObject * _argo0 = 0;
1883 char *_kwnames[] = { "self", NULL };
1884
1885 self = self;
1886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0))
1887 return NULL;
1888 if (_argo0) {
1889 if (_argo0 == Py_None) { _arg0 = NULL; }
1890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1892 return NULL;
1893 }
1894 }
1895{
4268f798 1896 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1897 _result = (int )wxBitmapButton_GetMarginX(_arg0);
1898
4268f798 1899 wxPyEndAllowThreads(__tstate);
493f1553 1900 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1901} _resultobj = Py_BuildValue("i",_result);
1902 return _resultobj;
1903}
1904
1905#define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1906static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject * _resultobj;
1908 int _result;
1909 wxBitmapButton * _arg0;
1910 PyObject * _argo0 = 0;
1911 char *_kwnames[] = { "self", NULL };
1912
1913 self = self;
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0))
1915 return NULL;
1916 if (_argo0) {
1917 if (_argo0 == Py_None) { _arg0 = NULL; }
1918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1920 return NULL;
1921 }
1922 }
1923{
4268f798 1924 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
1925 _result = (int )wxBitmapButton_GetMarginY(_arg0);
1926
4268f798 1927 wxPyEndAllowThreads(__tstate);
493f1553 1928 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1929} _resultobj = Py_BuildValue("i",_result);
1930 return _resultobj;
1931}
1932
8ab979d7
RD
1933static void *SwigwxCheckBoxTowxControl(void *ptr) {
1934 wxCheckBox *src;
1935 wxControl *dest;
1936 src = (wxCheckBox *) ptr;
1937 dest = (wxControl *) src;
1938 return (void *) dest;
1939}
1940
1941static void *SwigwxCheckBoxTowxWindow(void *ptr) {
1942 wxCheckBox *src;
1943 wxWindow *dest;
1944 src = (wxCheckBox *) ptr;
1945 dest = (wxWindow *) src;
1946 return (void *) dest;
1947}
1948
1949static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
1950 wxCheckBox *src;
1951 wxEvtHandler *dest;
1952 src = (wxCheckBox *) ptr;
1953 dest = (wxEvtHandler *) src;
1954 return (void *) dest;
1955}
1956
9416aa89
RD
1957static void *SwigwxCheckBoxTowxObject(void *ptr) {
1958 wxCheckBox *src;
1959 wxObject *dest;
1960 src = (wxCheckBox *) ptr;
1961 dest = (wxObject *) src;
1962 return (void *) dest;
1963}
1964
8ab979d7 1965#define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 1966static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1967 PyObject * _resultobj;
1968 wxCheckBox * _result;
1969 wxWindow * _arg0;
1970 wxWindowID _arg1;
1971 wxString * _arg2;
e508a2b6
RD
1972 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1973 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 1974 long _arg5 = (long ) 0;
e508a2b6 1975 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
1976 char * _arg7 = (char *) "checkBox";
1977 PyObject * _argo0 = 0;
8ab979d7 1978 PyObject * _obj2 = 0;
2f90df85
RD
1979 wxPoint temp;
1980 PyObject * _obj3 = 0;
1981 wxSize temp0;
1982 PyObject * _obj4 = 0;
1d99702e 1983 PyObject * _argo6 = 0;
efc5f224 1984 char *_kwnames[] = { "parent","id","label","pos","size","style","val","name", NULL };
8ab979d7
RD
1985 char _ptemp[128];
1986
1987 self = self;
2f90df85 1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
8ab979d7 1989 return NULL;
1d99702e
RD
1990 if (_argo0) {
1991 if (_argo0 == Py_None) { _arg0 = NULL; }
1992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1994 return NULL;
1995 }
1996 }
1997{
185d7c3e
RD
1998#if PYTHON_API_VERSION >= 1009
1999 char* tmpPtr; int tmpSize;
2000 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 2001 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2002 return NULL;
2003 }
2004 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2005 return NULL;
2006 _arg2 = new wxString(tmpPtr, tmpSize);
2007#else
8ab979d7
RD
2008 if (!PyString_Check(_obj2)) {
2009 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2010 return NULL;
2011 }
185d7c3e
RD
2012 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2013#endif
8ab979d7 2014}
2f90df85
RD
2015 if (_obj3)
2016{
2017 _arg3 = &temp;
2018 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 2019 return NULL;
2f90df85
RD
2020}
2021 if (_obj4)
2022{
2023 _arg4 = &temp0;
2024 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 2025 return NULL;
2f90df85 2026}
1d99702e
RD
2027 if (_argo6) {
2028 if (_argo6 == Py_None) { _arg6 = NULL; }
2029 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
2030 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
2031 return NULL;
2032 }
2033 }
cf694132 2034{
4268f798 2035 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
2036 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
2037
4268f798 2038 wxPyEndAllowThreads(__tstate);
493f1553 2039 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2040} if (_result) {
2041 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2042 _resultobj = Py_BuildValue("s",_ptemp);
2043 } else {
2044 Py_INCREF(Py_None);
2045 _resultobj = Py_None;
2046 }
8ab979d7
RD
2047{
2048 if (_obj2)
2049 delete _arg2;
2050}
2051 return _resultobj;
2052}
2053
09f3d4e6
RD
2054#define new_wxPreCheckBox() (new wxCheckBox())
2055static PyObject *_wrap_new_wxPreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2056 PyObject * _resultobj;
2057 wxCheckBox * _result;
2058 char *_kwnames[] = { NULL };
2059 char _ptemp[128];
2060
2061 self = self;
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckBox",_kwnames))
2063 return NULL;
2064{
4268f798 2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
2066 _result = (wxCheckBox *)new_wxPreCheckBox();
2067
4268f798 2068 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2069 if (PyErr_Occurred()) return NULL;
2070} if (_result) {
2071 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2072 _resultobj = Py_BuildValue("s",_ptemp);
2073 } else {
2074 Py_INCREF(Py_None);
2075 _resultobj = Py_None;
2076 }
2077 return _resultobj;
2078}
2079
2080#define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2081static PyObject *_wrap_wxCheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2082 PyObject * _resultobj;
2083 bool _result;
2084 wxCheckBox * _arg0;
2085 wxWindow * _arg1;
2086 wxWindowID _arg2;
2087 wxString * _arg3;
2088 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2089 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2090 long _arg6 = (long ) 0;
2091 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2092 char * _arg8 = (char *) "checkBox";
2093 PyObject * _argo0 = 0;
2094 PyObject * _argo1 = 0;
2095 PyObject * _obj3 = 0;
2096 wxPoint temp;
2097 PyObject * _obj4 = 0;
2098 wxSize temp0;
2099 PyObject * _obj5 = 0;
2100 PyObject * _argo7 = 0;
2101 char *_kwnames[] = { "self","parent","id","label","pos","size","style","val","name", NULL };
2102
2103 self = self;
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxCheckBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
2105 return NULL;
2106 if (_argo0) {
2107 if (_argo0 == Py_None) { _arg0 = NULL; }
2108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2110 return NULL;
2111 }
2112 }
2113 if (_argo1) {
2114 if (_argo1 == Py_None) { _arg1 = NULL; }
2115 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2116 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2117 return NULL;
2118 }
2119 }
2120{
2121#if PYTHON_API_VERSION >= 1009
2122 char* tmpPtr; int tmpSize;
2123 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
2124 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2125 return NULL;
2126 }
2127 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
2128 return NULL;
2129 _arg3 = new wxString(tmpPtr, tmpSize);
2130#else
2131 if (!PyString_Check(_obj3)) {
2132 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2133 return NULL;
2134 }
2135 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
2136#endif
2137}
2138 if (_obj4)
2139{
2140 _arg4 = &temp;
2141 if (! wxPoint_helper(_obj4, &_arg4))
2142 return NULL;
2143}
2144 if (_obj5)
2145{
2146 _arg5 = &temp0;
2147 if (! wxSize_helper(_obj5, &_arg5))
2148 return NULL;
2149}
2150 if (_argo7) {
2151 if (_argo7 == Py_None) { _arg7 = NULL; }
2152 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
2153 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2154 return NULL;
2155 }
2156 }
2157{
4268f798 2158 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
2159 _result = (bool )wxCheckBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
2160
4268f798 2161 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2162 if (PyErr_Occurred()) return NULL;
2163} _resultobj = Py_BuildValue("i",_result);
2164{
2165 if (_obj3)
2166 delete _arg3;
2167}
2168 return _resultobj;
2169}
2170
8ab979d7 2171#define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 2172static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2173 PyObject * _resultobj;
2174 bool _result;
2175 wxCheckBox * _arg0;
1d99702e 2176 PyObject * _argo0 = 0;
efc5f224 2177 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2178
2179 self = self;
efc5f224 2180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
8ab979d7 2181 return NULL;
1d99702e
RD
2182 if (_argo0) {
2183 if (_argo0 == Py_None) { _arg0 = NULL; }
2184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
8ab979d7
RD
2185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2186 return NULL;
2187 }
2188 }
cf694132 2189{
4268f798 2190 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
2191 _result = (bool )wxCheckBox_GetValue(_arg0);
2192
4268f798 2193 wxPyEndAllowThreads(__tstate);
493f1553 2194 if (PyErr_Occurred()) return NULL;
cf694132 2195} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2196 return _resultobj;
2197}
2198
2199#define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 2200static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2201 PyObject * _resultobj;
2202 wxCheckBox * _arg0;
2203 bool _arg1;
1d99702e 2204 PyObject * _argo0 = 0;
8ab979d7 2205 int tempbool1;
efc5f224 2206 char *_kwnames[] = { "self","state", NULL };
8ab979d7
RD
2207
2208 self = self;
efc5f224 2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
8ab979d7 2210 return NULL;
1d99702e
RD
2211 if (_argo0) {
2212 if (_argo0 == Py_None) { _arg0 = NULL; }
2213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
8ab979d7
RD
2214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2215 return NULL;
2216 }
2217 }
2218 _arg1 = (bool ) tempbool1;
cf694132 2219{
4268f798 2220 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
2221 wxCheckBox_SetValue(_arg0,_arg1);
2222
4268f798 2223 wxPyEndAllowThreads(__tstate);
493f1553 2224 if (PyErr_Occurred()) return NULL;
cf694132 2225} Py_INCREF(Py_None);
8ab979d7
RD
2226 _resultobj = Py_None;
2227 return _resultobj;
2228}
2229
900d9886
RD
2230static void *SwigwxChoiceTowxControlWithItems(void *ptr) {
2231 wxChoice *src;
2232 wxControlWithItems *dest;
2233 src = (wxChoice *) ptr;
2234 dest = (wxControlWithItems *) src;
2235 return (void *) dest;
2236}
2237
8ab979d7
RD
2238static void *SwigwxChoiceTowxControl(void *ptr) {
2239 wxChoice *src;
2240 wxControl *dest;
2241 src = (wxChoice *) ptr;
2242 dest = (wxControl *) src;
2243 return (void *) dest;
2244}
2245
2246static void *SwigwxChoiceTowxWindow(void *ptr) {
2247 wxChoice *src;
2248 wxWindow *dest;
2249 src = (wxChoice *) ptr;
2250 dest = (wxWindow *) src;
2251 return (void *) dest;
2252}
2253
2254static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
2255 wxChoice *src;
2256 wxEvtHandler *dest;
2257 src = (wxChoice *) ptr;
2258 dest = (wxEvtHandler *) src;
2259 return (void *) dest;
2260}
2261
9416aa89
RD
2262static void *SwigwxChoiceTowxObject(void *ptr) {
2263 wxChoice *src;
2264 wxObject *dest;
2265 src = (wxChoice *) ptr;
2266 dest = (wxObject *) src;
2267 return (void *) dest;
2268}
2269
8ab979d7 2270#define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
efc5f224 2271static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2272 PyObject * _resultobj;
2273 wxChoice * _result;
2274 wxWindow * _arg0;
2275 wxWindowID _arg1;
e508a2b6
RD
2276 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2277 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e
RD
2278 int _arg4 = (int ) 0;
2279 wxString * _arg5 = (wxString *) NULL;
2280 long _arg6 = (long ) 0;
e508a2b6 2281 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
2282 char * _arg8 = (char *) "choice";
2283 PyObject * _argo0 = 0;
2f90df85
RD
2284 wxPoint temp;
2285 PyObject * _obj2 = 0;
2286 wxSize temp0;
2287 PyObject * _obj3 = 0;
8ab979d7 2288 PyObject * _obj5 = 0;
1d99702e 2289 PyObject * _argo7 = 0;
eec92d76 2290 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
8ab979d7
RD
2291 char _ptemp[128];
2292
2293 self = self;
2f90df85 2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
8ab979d7 2295 return NULL;
1d99702e
RD
2296 if (_argo0) {
2297 if (_argo0 == Py_None) { _arg0 = NULL; }
2298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2300 return NULL;
2301 }
2302 }
2f90df85
RD
2303 if (_obj2)
2304{
2305 _arg2 = &temp;
2306 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2307 return NULL;
2f90df85
RD
2308}
2309 if (_obj3)
2310{
2311 _arg3 = &temp0;
2312 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2313 return NULL;
2f90df85 2314}
8ab979d7
RD
2315 if (_obj5)
2316{
2317 _arg5 = wxString_LIST_helper(_obj5);
2318 if (_arg5 == NULL) {
2319 return NULL;
2320 }
2321}
1d99702e
RD
2322 if (_argo7) {
2323 if (_argo7 == Py_None) { _arg7 = NULL; }
2324 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
8ab979d7
RD
2325 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2326 return NULL;
2327 }
2328 }
2329{
cf694132
RD
2330 if (_obj5) {
2331 _arg4 = PyList_Size(_obj5);
2332 }
2333 else {
2334 _arg4 = 0;
2335 }
8ab979d7 2336}
cf694132 2337{
4268f798 2338 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
2339 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
2340
4268f798 2341 wxPyEndAllowThreads(__tstate);
493f1553 2342 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2343} if (_result) {
2344 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2345 _resultobj = Py_BuildValue("s",_ptemp);
2346 } else {
2347 Py_INCREF(Py_None);
2348 _resultobj = Py_None;
2349 }
8ab979d7
RD
2350{
2351 delete [] _arg5;
2352}
2353 return _resultobj;
2354}
2355
09f3d4e6
RD
2356#define new_wxPreChoice() (new wxChoice())
2357static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2358 PyObject * _resultobj;
09f3d4e6
RD
2359 wxChoice * _result;
2360 char *_kwnames[] = { NULL };
2361 char _ptemp[128];
8ab979d7
RD
2362
2363 self = self;
09f3d4e6
RD
2364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
2365 return NULL;
2366{
4268f798 2367 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
2368 _result = (wxChoice *)new_wxPreChoice();
2369
4268f798 2370 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2371 if (PyErr_Occurred()) return NULL;
2372} if (_result) {
2373 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2374 _resultobj = Py_BuildValue("s",_ptemp);
2375 } else {
2376 Py_INCREF(Py_None);
2377 _resultobj = Py_None;
2378 }
2379 return _resultobj;
2380}
2381
2382#define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2383static PyObject *_wrap_wxChoice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2384 PyObject * _resultobj;
2385 bool _result;
2386 wxChoice * _arg0;
2387 wxWindow * _arg1;
2388 wxWindowID _arg2;
2389 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2390 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2391 int _arg5 = (int ) 0;
2392 wxString * _arg6 = (wxString *) NULL;
2393 long _arg7 = (long ) 0;
2394 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2395 char * _arg9 = (char *) "choice";
2396 PyObject * _argo0 = 0;
2397 PyObject * _argo1 = 0;
2398 wxPoint temp;
2399 PyObject * _obj3 = 0;
2400 wxSize temp0;
2401 PyObject * _obj4 = 0;
2402 PyObject * _obj6 = 0;
2403 PyObject * _argo8 = 0;
2404 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
2405
2406 self = self;
2407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
2408 return NULL;
2409 if (_argo0) {
2410 if (_argo0 == Py_None) { _arg0 = NULL; }
2411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2413 return NULL;
2414 }
2415 }
2416 if (_argo1) {
2417 if (_argo1 == Py_None) { _arg1 = NULL; }
2418 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2420 return NULL;
2421 }
2422 }
2423 if (_obj3)
2424{
2425 _arg3 = &temp;
2426 if (! wxPoint_helper(_obj3, &_arg3))
2427 return NULL;
2428}
2429 if (_obj4)
2430{
2431 _arg4 = &temp0;
2432 if (! wxSize_helper(_obj4, &_arg4))
2433 return NULL;
2434}
2435 if (_obj6)
2436{
2437 _arg6 = wxString_LIST_helper(_obj6);
2438 if (_arg6 == NULL) {
2439 return NULL;
2440 }
2441}
2442 if (_argo8) {
2443 if (_argo8 == Py_None) { _arg8 = NULL; }
2444 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
2445 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2446 return NULL;
2447 }
2448 }
900d9886
RD
2449{
2450 if (_obj6) {
2451 _arg5 = PyList_Size(_obj6);
2452 }
2453 else {
2454 _arg5 = 0;
8ab979d7 2455 }
900d9886 2456}
8ab979d7 2457{
4268f798 2458 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886 2459 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
cf694132 2460
4268f798 2461 wxPyEndAllowThreads(__tstate);
493f1553 2462 if (PyErr_Occurred()) return NULL;
900d9886 2463} _resultobj = Py_BuildValue("i",_result);
8ab979d7 2464{
900d9886 2465 delete [] _arg6;
8ab979d7
RD
2466}
2467 return _resultobj;
2468}
2469
900d9886
RD
2470#define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2471static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2472 PyObject * _resultobj;
8ab979d7 2473 wxChoice * _arg0;
1d99702e 2474 PyObject * _argo0 = 0;
efc5f224 2475 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2476
2477 self = self;
900d9886 2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
8ab979d7 2479 return NULL;
1d99702e
RD
2480 if (_argo0) {
2481 if (_argo0 == Py_None) { _arg0 = NULL; }
2482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
900d9886 2483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
8ab979d7
RD
2484 return NULL;
2485 }
2486 }
8ab979d7 2487{
4268f798 2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886 2489 wxChoice_Clear(_arg0);
cf694132 2490
4268f798 2491 wxPyEndAllowThreads(__tstate);
493f1553 2492 if (PyErr_Occurred()) return NULL;
900d9886
RD
2493} Py_INCREF(Py_None);
2494 _resultobj = Py_None;
8ab979d7
RD
2495 return _resultobj;
2496}
2497
900d9886
RD
2498#define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2499static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2500 PyObject * _resultobj;
2501 int _result;
2502 wxChoice * _arg0;
1d99702e 2503 PyObject * _argo0 = 0;
efc5f224 2504 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2505
2506 self = self;
900d9886 2507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
8ab979d7 2508 return NULL;
1d99702e
RD
2509 if (_argo0) {
2510 if (_argo0 == Py_None) { _arg0 = NULL; }
2511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
900d9886 2512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
8ab979d7
RD
2513 return NULL;
2514 }
2515 }
cf694132 2516{
4268f798 2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886 2518 _result = (int )wxChoice_GetColumns(_arg0);
cf694132 2519
4268f798 2520 wxPyEndAllowThreads(__tstate);
493f1553 2521 if (PyErr_Occurred()) return NULL;
cf694132 2522} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2523 return _resultobj;
2524}
2525
2526#define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
efc5f224 2527static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2528 PyObject * _resultobj;
2529 wxChoice * _arg0;
1d99702e
RD
2530 int _arg1 = (int ) 1;
2531 PyObject * _argo0 = 0;
efc5f224 2532 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
2533
2534 self = self;
efc5f224 2535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
8ab979d7 2536 return NULL;
1d99702e
RD
2537 if (_argo0) {
2538 if (_argo0 == Py_None) { _arg0 = NULL; }
2539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
8ab979d7
RD
2540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2541 return NULL;
2542 }
2543 }
cf694132 2544{
4268f798 2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
2546 wxChoice_SetColumns(_arg0,_arg1);
2547
4268f798 2548 wxPyEndAllowThreads(__tstate);
493f1553 2549 if (PyErr_Occurred()) return NULL;
cf694132 2550} Py_INCREF(Py_None);
8ab979d7
RD
2551 _resultobj = Py_None;
2552 return _resultobj;
2553}
2554
2555#define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 2556static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2557 PyObject * _resultobj;
2558 wxChoice * _arg0;
2559 int _arg1;
1d99702e 2560 PyObject * _argo0 = 0;
efc5f224 2561 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
2562
2563 self = self;
efc5f224 2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 2565 return NULL;
1d99702e
RD
2566 if (_argo0) {
2567 if (_argo0 == Py_None) { _arg0 = NULL; }
2568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
8ab979d7
RD
2569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2570 return NULL;
2571 }
2572 }
cf694132 2573{
4268f798 2574 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
2575 wxChoice_SetSelection(_arg0,_arg1);
2576
4268f798 2577 wxPyEndAllowThreads(__tstate);
493f1553 2578 if (PyErr_Occurred()) return NULL;
cf694132 2579} Py_INCREF(Py_None);
8ab979d7
RD
2580 _resultobj = Py_None;
2581 return _resultobj;
2582}
2583
2584#define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
efc5f224 2585static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2586 PyObject * _resultobj;
2587 wxChoice * _arg0;
2588 wxString * _arg1;
1d99702e 2589 PyObject * _argo0 = 0;
8ab979d7 2590 PyObject * _obj1 = 0;
efc5f224 2591 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
2592
2593 self = self;
efc5f224 2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
8ab979d7 2595 return NULL;
1d99702e
RD
2596 if (_argo0) {
2597 if (_argo0 == Py_None) { _arg0 = NULL; }
2598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
8ab979d7
RD
2599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2600 return NULL;
2601 }
2602 }
2603{
185d7c3e
RD
2604#if PYTHON_API_VERSION >= 1009
2605 char* tmpPtr; int tmpSize;
2606 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 2607 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
2608 return NULL;
2609 }
2610 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2611 return NULL;
2612 _arg1 = new wxString(tmpPtr, tmpSize);
2613#else
8ab979d7
RD
2614 if (!PyString_Check(_obj1)) {
2615 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2616 return NULL;
2617 }
185d7c3e
RD
2618 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2619#endif
8ab979d7 2620}
cf694132 2621{
4268f798 2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
2623 wxChoice_SetStringSelection(_arg0,*_arg1);
2624
4268f798 2625 wxPyEndAllowThreads(__tstate);
493f1553 2626 if (PyErr_Occurred()) return NULL;
cf694132 2627} Py_INCREF(Py_None);
8ab979d7
RD
2628 _resultobj = Py_None;
2629{
2630 if (_obj1)
2631 delete _arg1;
2632}
2633 return _resultobj;
2634}
2635
0adbc166
RD
2636#define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2637static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2638 PyObject * _resultobj;
2639 wxChoice * _arg0;
2640 int _arg1;
2641 wxString * _arg2;
2642 PyObject * _argo0 = 0;
2643 PyObject * _obj2 = 0;
2644 char *_kwnames[] = { "self","n","s", NULL };
2645
2646 self = self;
2647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
2648 return NULL;
2649 if (_argo0) {
2650 if (_argo0 == Py_None) { _arg0 = NULL; }
2651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2653 return NULL;
2654 }
2655 }
2656{
2657#if PYTHON_API_VERSION >= 1009
2658 char* tmpPtr; int tmpSize;
2659 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2660 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2661 return NULL;
2662 }
2663 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2664 return NULL;
2665 _arg2 = new wxString(tmpPtr, tmpSize);
2666#else
2667 if (!PyString_Check(_obj2)) {
2668 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2669 return NULL;
2670 }
2671 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2672#endif
2673}
2674{
4268f798 2675 PyThreadState* __tstate = wxPyBeginAllowThreads();
0adbc166
RD
2676 wxChoice_SetString(_arg0,_arg1,*_arg2);
2677
4268f798 2678 wxPyEndAllowThreads(__tstate);
0adbc166
RD
2679 if (PyErr_Occurred()) return NULL;
2680} Py_INCREF(Py_None);
2681 _resultobj = Py_None;
2682{
2683 if (_obj2)
2684 delete _arg2;
2685}
2686 return _resultobj;
2687}
2688
bb0054cd
RD
2689static void *SwigwxComboBoxTowxChoice(void *ptr) {
2690 wxComboBox *src;
2691 wxChoice *dest;
2692 src = (wxComboBox *) ptr;
2693 dest = (wxChoice *) src;
2694 return (void *) dest;
2695}
2696
900d9886
RD
2697static void *SwigwxComboBoxTowxControlWithItems(void *ptr) {
2698 wxComboBox *src;
2699 wxControlWithItems *dest;
2700 src = (wxComboBox *) ptr;
2701 dest = (wxControlWithItems *) src;
2702 return (void *) dest;
2703}
2704
8ab979d7
RD
2705static void *SwigwxComboBoxTowxControl(void *ptr) {
2706 wxComboBox *src;
2707 wxControl *dest;
2708 src = (wxComboBox *) ptr;
2709 dest = (wxControl *) src;
2710 return (void *) dest;
2711}
2712
2713static void *SwigwxComboBoxTowxWindow(void *ptr) {
2714 wxComboBox *src;
2715 wxWindow *dest;
2716 src = (wxComboBox *) ptr;
2717 dest = (wxWindow *) src;
2718 return (void *) dest;
2719}
2720
2721static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2722 wxComboBox *src;
2723 wxEvtHandler *dest;
2724 src = (wxComboBox *) ptr;
2725 dest = (wxEvtHandler *) src;
2726 return (void *) dest;
2727}
2728
9416aa89
RD
2729static void *SwigwxComboBoxTowxObject(void *ptr) {
2730 wxComboBox *src;
2731 wxObject *dest;
2732 src = (wxComboBox *) ptr;
2733 dest = (wxObject *) src;
2734 return (void *) dest;
2735}
2736
8ab979d7 2737#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 2738static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2739 PyObject * _resultobj;
2740 wxComboBox * _result;
2741 wxWindow * _arg0;
2742 wxWindowID _arg1;
1d99702e 2743 char * _arg2 = (char *) "";
e508a2b6
RD
2744 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2745 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
2746 int _arg5 = (int ) 0;
2747 wxString * _arg6 = (wxString *) NULL;
2748 long _arg7 = (long ) 0;
e508a2b6 2749 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
2750 char * _arg9 = (char *) "comboBox";
2751 PyObject * _argo0 = 0;
2f90df85
RD
2752 wxPoint temp;
2753 PyObject * _obj3 = 0;
2754 wxSize temp0;
2755 PyObject * _obj4 = 0;
8ab979d7 2756 PyObject * _obj6 = 0;
1d99702e 2757 PyObject * _argo8 = 0;
eec92d76 2758 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
8ab979d7
RD
2759 char _ptemp[128];
2760
2761 self = self;
2f90df85 2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOOlOs:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
8ab979d7 2763 return NULL;
1d99702e
RD
2764 if (_argo0) {
2765 if (_argo0 == Py_None) { _arg0 = NULL; }
2766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2768 return NULL;
2769 }
2770 }
2f90df85
RD
2771 if (_obj3)
2772{
2773 _arg3 = &temp;
2774 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 2775 return NULL;
2f90df85
RD
2776}
2777 if (_obj4)
2778{
2779 _arg4 = &temp0;
2780 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 2781 return NULL;
2f90df85 2782}
8ab979d7
RD
2783 if (_obj6)
2784{
2785 _arg6 = wxString_LIST_helper(_obj6);
2786 if (_arg6 == NULL) {
2787 return NULL;
2788 }
2789}
1d99702e
RD
2790 if (_argo8) {
2791 if (_argo8 == Py_None) { _arg8 = NULL; }
2792 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
8ab979d7
RD
2793 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2794 return NULL;
2795 }
2796 }
2797{
cf694132
RD
2798 if (_obj6) {
2799 _arg5 = PyList_Size(_obj6);
2800 }
2801 else {
2802 _arg5 = 0;
2803 }
8ab979d7 2804}
cf694132 2805{
4268f798 2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
2807 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
2808
4268f798 2809 wxPyEndAllowThreads(__tstate);
493f1553 2810 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2811} if (_result) {
2812 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2813 _resultobj = Py_BuildValue("s",_ptemp);
2814 } else {
2815 Py_INCREF(Py_None);
2816 _resultobj = Py_None;
2817 }
8ab979d7
RD
2818{
2819 delete [] _arg6;
2820}
2821 return _resultobj;
2822}
2823
09f3d4e6
RD
2824#define new_wxPreComboBox() (new wxComboBox())
2825static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2826 PyObject * _resultobj;
2827 wxComboBox * _result;
2828 char *_kwnames[] = { NULL };
2829 char _ptemp[128];
2830
2831 self = self;
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2833 return NULL;
2834{
4268f798 2835 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
2836 _result = (wxComboBox *)new_wxPreComboBox();
2837
4268f798 2838 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2839 if (PyErr_Occurred()) return NULL;
2840} if (_result) {
2841 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2842 _resultobj = Py_BuildValue("s",_ptemp);
2843 } else {
2844 Py_INCREF(Py_None);
2845 _resultobj = Py_None;
2846 }
2847 return _resultobj;
2848}
2849
2850#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))
2851static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2852 PyObject * _resultobj;
2853 bool _result;
2854 wxComboBox * _arg0;
2855 wxWindow * _arg1;
2856 wxWindowID _arg2;
2857 char * _arg3 = (char *) "";
2858 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2859 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2860 int _arg6 = (int ) 0;
2861 wxString * _arg7 = (wxString *) NULL;
2862 long _arg8 = (long ) 0;
2863 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
2864 char * _arg10 = (char *) "comboBox";
2865 PyObject * _argo0 = 0;
2866 PyObject * _argo1 = 0;
2867 wxPoint temp;
2868 PyObject * _obj4 = 0;
2869 wxSize temp0;
2870 PyObject * _obj5 = 0;
2871 PyObject * _obj7 = 0;
2872 PyObject * _argo9 = 0;
2873 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2874
2875 self = self;
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|sOOOlOs:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_arg10))
2877 return NULL;
2878 if (_argo0) {
2879 if (_argo0 == Py_None) { _arg0 = NULL; }
2880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2882 return NULL;
2883 }
2884 }
2885 if (_argo1) {
2886 if (_argo1 == Py_None) { _arg1 = NULL; }
2887 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2888 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2889 return NULL;
2890 }
2891 }
2892 if (_obj4)
2893{
2894 _arg4 = &temp;
2895 if (! wxPoint_helper(_obj4, &_arg4))
2896 return NULL;
2897}
2898 if (_obj5)
2899{
2900 _arg5 = &temp0;
2901 if (! wxSize_helper(_obj5, &_arg5))
2902 return NULL;
2903}
2904 if (_obj7)
2905{
2906 _arg7 = wxString_LIST_helper(_obj7);
2907 if (_arg7 == NULL) {
2908 return NULL;
2909 }
2910}
2911 if (_argo9) {
2912 if (_argo9 == Py_None) { _arg9 = NULL; }
2913 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
2914 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2915 return NULL;
2916 }
2917 }
2918{
2919 if (_obj7) {
2920 _arg6 = PyList_Size(_obj7);
2921 }
2922 else {
2923 _arg6 = 0;
2924 }
2925}
2926{
4268f798 2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
2928 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
2929
4268f798 2930 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2931 if (PyErr_Occurred()) return NULL;
2932} _resultobj = Py_BuildValue("i",_result);
2933{
2934 delete [] _arg7;
2935}
2936 return _resultobj;
2937}
2938
8ab979d7 2939#define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
efc5f224 2940static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2941 PyObject * _resultobj;
2942 wxComboBox * _arg0;
1d99702e 2943 PyObject * _argo0 = 0;
efc5f224 2944 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2945
2946 self = self;
efc5f224 2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
8ab979d7 2948 return NULL;
1d99702e
RD
2949 if (_argo0) {
2950 if (_argo0 == Py_None) { _arg0 = NULL; }
2951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
2952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2953 return NULL;
2954 }
2955 }
cf694132 2956{
4268f798 2957 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
2958 wxComboBox_Copy(_arg0);
2959
4268f798 2960 wxPyEndAllowThreads(__tstate);
493f1553 2961 if (PyErr_Occurred()) return NULL;
cf694132 2962} Py_INCREF(Py_None);
8ab979d7
RD
2963 _resultobj = Py_None;
2964 return _resultobj;
2965}
2966
2967#define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
efc5f224 2968static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2969 PyObject * _resultobj;
2970 wxComboBox * _arg0;
1d99702e 2971 PyObject * _argo0 = 0;
efc5f224 2972 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2973
2974 self = self;
efc5f224 2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
8ab979d7 2976 return NULL;
1d99702e
RD
2977 if (_argo0) {
2978 if (_argo0 == Py_None) { _arg0 = NULL; }
2979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
2980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2981 return NULL;
2982 }
2983 }
cf694132 2984{
4268f798 2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
2986 wxComboBox_Cut(_arg0);
2987
4268f798 2988 wxPyEndAllowThreads(__tstate);
493f1553 2989 if (PyErr_Occurred()) return NULL;
cf694132 2990} Py_INCREF(Py_None);
8ab979d7
RD
2991 _resultobj = Py_None;
2992 return _resultobj;
2993}
2994
8ab979d7 2995#define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
efc5f224 2996static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2997 PyObject * _resultobj;
2998 long _result;
2999 wxComboBox * _arg0;
1d99702e 3000 PyObject * _argo0 = 0;
900d9886 3001 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3002
3003 self = self;
900d9886 3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
8ab979d7 3005 return NULL;
1d99702e
RD
3006 if (_argo0) {
3007 if (_argo0 == Py_None) { _arg0 = NULL; }
3008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
900d9886 3009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
8ab979d7
RD
3010 return NULL;
3011 }
3012 }
8ab979d7 3013{
4268f798 3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886 3015 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
cf694132 3016
4268f798 3017 wxPyEndAllowThreads(__tstate);
493f1553 3018 if (PyErr_Occurred()) return NULL;
900d9886 3019} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3020 return _resultobj;
3021}
3022
900d9886
RD
3023#define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3024static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3025 PyObject * _resultobj;
900d9886 3026 long _result;
8ab979d7 3027 wxComboBox * _arg0;
1d99702e 3028 PyObject * _argo0 = 0;
efc5f224 3029 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3030
3031 self = self;
900d9886 3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
8ab979d7 3033 return NULL;
1d99702e
RD
3034 if (_argo0) {
3035 if (_argo0 == Py_None) { _arg0 = NULL; }
3036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
900d9886 3037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
8ab979d7
RD
3038 return NULL;
3039 }
3040 }
8ab979d7 3041{
4268f798 3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
900d9886 3043 _result = (long )wxComboBox_GetLastPosition(_arg0);
cf694132 3044
4268f798 3045 wxPyEndAllowThreads(__tstate);
493f1553 3046 if (PyErr_Occurred()) return NULL;
900d9886 3047} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3048 return _resultobj;
3049}
3050
3051#define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 3052static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3053 PyObject * _resultobj;
3054 wxString * _result;
3055 wxComboBox * _arg0;
1d99702e 3056 PyObject * _argo0 = 0;
efc5f224 3057 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3058
3059 self = self;
efc5f224 3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
8ab979d7 3061 return NULL;
1d99702e
RD
3062 if (_argo0) {
3063 if (_argo0 == Py_None) { _arg0 = NULL; }
3064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3066 return NULL;
3067 }
3068 }
8ab979d7 3069{
4268f798 3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3071 _result = new wxString (wxComboBox_GetValue(_arg0));
3072
4268f798 3073 wxPyEndAllowThreads(__tstate);
493f1553 3074 if (PyErr_Occurred()) return NULL;
cf694132 3075}{
eec92d76 3076 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
3077}
3078{
3079 delete _result;
3080}
3081 return _resultobj;
3082}
3083
8ab979d7 3084#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
efc5f224 3085static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3086 PyObject * _resultobj;
3087 wxComboBox * _arg0;
1d99702e 3088 PyObject * _argo0 = 0;
efc5f224 3089 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3090
3091 self = self;
efc5f224 3092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
8ab979d7 3093 return NULL;
1d99702e
RD
3094 if (_argo0) {
3095 if (_argo0 == Py_None) { _arg0 = NULL; }
3096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3098 return NULL;
3099 }
3100 }
cf694132 3101{
4268f798 3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3103 wxComboBox_Paste(_arg0);
3104
4268f798 3105 wxPyEndAllowThreads(__tstate);
493f1553 3106 if (PyErr_Occurred()) return NULL;
cf694132 3107} Py_INCREF(Py_None);
8ab979d7
RD
3108 _resultobj = Py_None;
3109 return _resultobj;
3110}
3111
3112#define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3113static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3114 PyObject * _resultobj;
3115 wxComboBox * _arg0;
3116 long _arg1;
3117 long _arg2;
3118 wxString * _arg3;
1d99702e 3119 PyObject * _argo0 = 0;
8ab979d7 3120 PyObject * _obj3 = 0;
efc5f224 3121 char *_kwnames[] = { "self","from","to","text", NULL };
8ab979d7
RD
3122
3123 self = self;
efc5f224 3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 3125 return NULL;
1d99702e
RD
3126 if (_argo0) {
3127 if (_argo0 == Py_None) { _arg0 = NULL; }
3128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3130 return NULL;
3131 }
3132 }
3133{
185d7c3e
RD
3134#if PYTHON_API_VERSION >= 1009
3135 char* tmpPtr; int tmpSize;
3136 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
794c5cb1 3137 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
3138 return NULL;
3139 }
3140 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
3141 return NULL;
3142 _arg3 = new wxString(tmpPtr, tmpSize);
3143#else
8ab979d7
RD
3144 if (!PyString_Check(_obj3)) {
3145 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3146 return NULL;
3147 }
185d7c3e
RD
3148 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
3149#endif
8ab979d7 3150}
cf694132 3151{
4268f798 3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3153 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
3154
4268f798 3155 wxPyEndAllowThreads(__tstate);
493f1553 3156 if (PyErr_Occurred()) return NULL;
cf694132 3157} Py_INCREF(Py_None);
8ab979d7
RD
3158 _resultobj = Py_None;
3159{
3160 if (_obj3)
3161 delete _arg3;
3162}
3163 return _resultobj;
3164}
3165
3166#define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
efc5f224 3167static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3168 PyObject * _resultobj;
3169 wxComboBox * _arg0;
3170 long _arg1;
3171 long _arg2;
1d99702e 3172 PyObject * _argo0 = 0;
efc5f224 3173 char *_kwnames[] = { "self","from","to", NULL };
8ab979d7
RD
3174
3175 self = self;
efc5f224 3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3177 return NULL;
1d99702e
RD
3178 if (_argo0) {
3179 if (_argo0 == Py_None) { _arg0 = NULL; }
3180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3182 return NULL;
3183 }
3184 }
cf694132 3185{
4268f798 3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3187 wxComboBox_Remove(_arg0,_arg1,_arg2);
3188
4268f798 3189 wxPyEndAllowThreads(__tstate);
493f1553 3190 if (PyErr_Occurred()) return NULL;
cf694132 3191} Py_INCREF(Py_None);
8ab979d7
RD
3192 _resultobj = Py_None;
3193 return _resultobj;
3194}
3195
3196#define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
efc5f224 3197static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3198 PyObject * _resultobj;
3199 wxComboBox * _arg0;
3200 long _arg1;
1d99702e 3201 PyObject * _argo0 = 0;
efc5f224 3202 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
3203
3204 self = self;
efc5f224 3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
8ab979d7 3206 return NULL;
1d99702e
RD
3207 if (_argo0) {
3208 if (_argo0 == Py_None) { _arg0 = NULL; }
3209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3211 return NULL;
3212 }
3213 }
cf694132 3214{
4268f798 3215 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3216 wxComboBox_SetInsertionPoint(_arg0,_arg1);
3217
4268f798 3218 wxPyEndAllowThreads(__tstate);
493f1553 3219 if (PyErr_Occurred()) return NULL;
cf694132 3220} Py_INCREF(Py_None);
8ab979d7
RD
3221 _resultobj = Py_None;
3222 return _resultobj;
3223}
3224
3225#define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
efc5f224 3226static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3227 PyObject * _resultobj;
3228 wxComboBox * _arg0;
1d99702e 3229 PyObject * _argo0 = 0;
efc5f224 3230 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3231
3232 self = self;
efc5f224 3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
8ab979d7 3234 return NULL;
1d99702e
RD
3235 if (_argo0) {
3236 if (_argo0 == Py_None) { _arg0 = NULL; }
3237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3239 return NULL;
3240 }
3241 }
cf694132 3242{
4268f798 3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3244 wxComboBox_SetInsertionPointEnd(_arg0);
3245
4268f798 3246 wxPyEndAllowThreads(__tstate);
493f1553 3247 if (PyErr_Occurred()) return NULL;
cf694132 3248} Py_INCREF(Py_None);
8ab979d7
RD
3249 _resultobj = Py_None;
3250 return _resultobj;
3251}
3252
1d99702e 3253#define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 3254static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1d99702e
RD
3255 PyObject * _resultobj;
3256 wxComboBox * _arg0;
3257 int _arg1;
3258 PyObject * _argo0 = 0;
efc5f224 3259 char *_kwnames[] = { "self","n", NULL };
1d99702e
RD
3260
3261 self = self;
efc5f224 3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
1d99702e
RD
3263 return NULL;
3264 if (_argo0) {
3265 if (_argo0 == Py_None) { _arg0 = NULL; }
3266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3268 return NULL;
3269 }
3270 }
3271{
4268f798 3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
1d99702e
RD
3273 wxComboBox_SetSelection(_arg0,_arg1);
3274
4268f798 3275 wxPyEndAllowThreads(__tstate);
493f1553 3276 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3277} Py_INCREF(Py_None);
3278 _resultobj = Py_None;
3279 return _resultobj;
3280}
3281
8ab979d7 3282#define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
efc5f224 3283static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3284 PyObject * _resultobj;
3285 wxComboBox * _arg0;
3286 long _arg1;
3287 long _arg2;
1d99702e 3288 PyObject * _argo0 = 0;
efc5f224 3289 char *_kwnames[] = { "self","from","to", NULL };
8ab979d7
RD
3290
3291 self = self;
efc5f224 3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3293 return NULL;
1d99702e
RD
3294 if (_argo0) {
3295 if (_argo0 == Py_None) { _arg0 = NULL; }
3296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3298 return NULL;
3299 }
3300 }
cf694132 3301{
4268f798 3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3303 wxComboBox_SetMark(_arg0,_arg1,_arg2);
3304
4268f798 3305 wxPyEndAllowThreads(__tstate);
493f1553 3306 if (PyErr_Occurred()) return NULL;
cf694132 3307} Py_INCREF(Py_None);
8ab979d7
RD
3308 _resultobj = Py_None;
3309 return _resultobj;
3310}
3311
3312#define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 3313static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3314 PyObject * _resultobj;
3315 wxComboBox * _arg0;
3316 wxString * _arg1;
1d99702e 3317 PyObject * _argo0 = 0;
8ab979d7 3318 PyObject * _obj1 = 0;
efc5f224 3319 char *_kwnames[] = { "self","text", NULL };
8ab979d7
RD
3320
3321 self = self;
efc5f224 3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
8ab979d7 3323 return NULL;
1d99702e
RD
3324 if (_argo0) {
3325 if (_argo0 == Py_None) { _arg0 = NULL; }
3326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3328 return NULL;
3329 }
3330 }
3331{
185d7c3e
RD
3332#if PYTHON_API_VERSION >= 1009
3333 char* tmpPtr; int tmpSize;
3334 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 3335 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
3336 return NULL;
3337 }
3338 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3339 return NULL;
3340 _arg1 = new wxString(tmpPtr, tmpSize);
3341#else
8ab979d7
RD
3342 if (!PyString_Check(_obj1)) {
3343 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3344 return NULL;
3345 }
185d7c3e
RD
3346 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3347#endif
8ab979d7 3348}
cf694132 3349{
4268f798 3350 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3351 wxComboBox_SetValue(_arg0,*_arg1);
3352
4268f798 3353 wxPyEndAllowThreads(__tstate);
493f1553 3354 if (PyErr_Occurred()) return NULL;
cf694132 3355} Py_INCREF(Py_None);
8ab979d7
RD
3356 _resultobj = Py_None;
3357{
3358 if (_obj1)
3359 delete _arg1;
3360}
3361 return _resultobj;
3362}
3363
0adbc166
RD
3364#define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3365static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3366 PyObject * _resultobj;
3367 wxComboBox * _arg0;
3368 bool _arg1;
3369 PyObject * _argo0 = 0;
3370 int tempbool1;
3371 char *_kwnames[] = { "self","editable", NULL };
3372
3373 self = self;
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3375 return NULL;
3376 if (_argo0) {
3377 if (_argo0 == Py_None) { _arg0 = NULL; }
3378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3380 return NULL;
3381 }
3382 }
3383 _arg1 = (bool ) tempbool1;
3384{
4268f798 3385 PyThreadState* __tstate = wxPyBeginAllowThreads();
0adbc166
RD
3386 wxComboBox_SetEditable(_arg0,_arg1);
3387
4268f798 3388 wxPyEndAllowThreads(__tstate);
0adbc166
RD
3389 if (PyErr_Occurred()) return NULL;
3390} Py_INCREF(Py_None);
3391 _resultobj = Py_None;
3392 return _resultobj;
3393}
3394
8ab979d7
RD
3395static void *SwigwxGaugeTowxControl(void *ptr) {
3396 wxGauge *src;
3397 wxControl *dest;
3398 src = (wxGauge *) ptr;
3399 dest = (wxControl *) src;
3400 return (void *) dest;
3401}
3402
3403static void *SwigwxGaugeTowxWindow(void *ptr) {
3404 wxGauge *src;
3405 wxWindow *dest;
3406 src = (wxGauge *) ptr;
3407 dest = (wxWindow *) src;
3408 return (void *) dest;
3409}
3410
3411static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3412 wxGauge *src;
3413 wxEvtHandler *dest;
3414 src = (wxGauge *) ptr;
3415 dest = (wxEvtHandler *) src;
3416 return (void *) dest;
3417}
3418
9416aa89
RD
3419static void *SwigwxGaugeTowxObject(void *ptr) {
3420 wxGauge *src;
3421 wxObject *dest;
3422 src = (wxGauge *) ptr;
3423 dest = (wxObject *) src;
3424 return (void *) dest;
3425}
3426
8ab979d7 3427#define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 3428static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3429 PyObject * _resultobj;
3430 wxGauge * _result;
3431 wxWindow * _arg0;
3432 wxWindowID _arg1;
3433 int _arg2;
e508a2b6
RD
3434 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3435 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 3436 long _arg5 = (long ) wxGA_HORIZONTAL;
e508a2b6 3437 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
3438 char * _arg7 = (char *) "gauge";
3439 PyObject * _argo0 = 0;
2f90df85
RD
3440 wxPoint temp;
3441 PyObject * _obj3 = 0;
3442 wxSize temp0;
3443 PyObject * _obj4 = 0;
1d99702e 3444 PyObject * _argo6 = 0;
efc5f224 3445 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
8ab979d7
RD
3446 char _ptemp[128];
3447
3448 self = self;
2f90df85 3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOs:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
8ab979d7 3450 return NULL;
1d99702e
RD
3451 if (_argo0) {
3452 if (_argo0 == Py_None) { _arg0 = NULL; }
3453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3455 return NULL;
3456 }
3457 }
2f90df85
RD
3458 if (_obj3)
3459{
3460 _arg3 = &temp;
3461 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 3462 return NULL;
2f90df85
RD
3463}
3464 if (_obj4)
3465{
3466 _arg4 = &temp0;
3467 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 3468 return NULL;
2f90df85 3469}
1d99702e
RD
3470 if (_argo6) {
3471 if (_argo6 == Py_None) { _arg6 = NULL; }
3472 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
3473 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3474 return NULL;
3475 }
3476 }
cf694132 3477{
4268f798 3478 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3479 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3480
4268f798 3481 wxPyEndAllowThreads(__tstate);
493f1553 3482 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3483} if (_result) {
3484 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3485 _resultobj = Py_BuildValue("s",_ptemp);
3486 } else {
3487 Py_INCREF(Py_None);
3488 _resultobj = Py_None;
3489 }
8ab979d7
RD
3490 return _resultobj;
3491}
3492
09f3d4e6
RD
3493#define new_wxPreGauge() (new wxGauge())
3494static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3495 PyObject * _resultobj;
3496 wxGauge * _result;
3497 char *_kwnames[] = { NULL };
3498 char _ptemp[128];
3499
3500 self = self;
3501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
3502 return NULL;
3503{
4268f798 3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
3505 _result = (wxGauge *)new_wxPreGauge();
3506
4268f798 3507 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3508 if (PyErr_Occurred()) return NULL;
3509} if (_result) {
3510 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3511 _resultobj = Py_BuildValue("s",_ptemp);
3512 } else {
3513 Py_INCREF(Py_None);
3514 _resultobj = Py_None;
3515 }
3516 return _resultobj;
3517}
3518
3519#define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3520static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3521 PyObject * _resultobj;
3522 bool _result;
3523 wxGauge * _arg0;
3524 wxWindow * _arg1;
3525 wxWindowID _arg2;
3526 int _arg3;
3527 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3528 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3529 long _arg6 = (long ) wxGA_HORIZONTAL;
3530 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
3531 char * _arg8 = (char *) "gauge";
3532 PyObject * _argo0 = 0;
3533 PyObject * _argo1 = 0;
3534 wxPoint temp;
3535 PyObject * _obj4 = 0;
3536 wxSize temp0;
3537 PyObject * _obj5 = 0;
3538 PyObject * _argo7 = 0;
3539 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
3540
3541 self = self;
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOs:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
3543 return NULL;
3544 if (_argo0) {
3545 if (_argo0 == Py_None) { _arg0 = NULL; }
3546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3548 return NULL;
3549 }
3550 }
3551 if (_argo1) {
3552 if (_argo1 == Py_None) { _arg1 = NULL; }
3553 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3554 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3555 return NULL;
3556 }
3557 }
3558 if (_obj4)
3559{
3560 _arg4 = &temp;
3561 if (! wxPoint_helper(_obj4, &_arg4))
3562 return NULL;
3563}
3564 if (_obj5)
3565{
3566 _arg5 = &temp0;
3567 if (! wxSize_helper(_obj5, &_arg5))
3568 return NULL;
3569}
3570 if (_argo7) {
3571 if (_argo7 == Py_None) { _arg7 = NULL; }
3572 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
3573 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3574 return NULL;
3575 }
3576 }
3577{
4268f798 3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
3579 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
3580
4268f798 3581 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3582 if (PyErr_Occurred()) return NULL;
3583} _resultobj = Py_BuildValue("i",_result);
3584 return _resultobj;
3585}
3586
8ab979d7 3587#define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
efc5f224 3588static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3589 PyObject * _resultobj;
3590 int _result;
3591 wxGauge * _arg0;
1d99702e 3592 PyObject * _argo0 = 0;
efc5f224 3593 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3594
3595 self = self;
efc5f224 3596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
8ab979d7 3597 return NULL;
1d99702e
RD
3598 if (_argo0) {
3599 if (_argo0 == Py_None) { _arg0 = NULL; }
3600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3602 return NULL;
3603 }
3604 }
cf694132 3605{
4268f798 3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3607 _result = (int )wxGauge_GetBezelFace(_arg0);
3608
4268f798 3609 wxPyEndAllowThreads(__tstate);
493f1553 3610 if (PyErr_Occurred()) return NULL;
cf694132 3611} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3612 return _resultobj;
3613}
3614
3615#define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
efc5f224 3616static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3617 PyObject * _resultobj;
3618 int _result;
3619 wxGauge * _arg0;
1d99702e 3620 PyObject * _argo0 = 0;
efc5f224 3621 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3622
3623 self = self;
efc5f224 3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
8ab979d7 3625 return NULL;
1d99702e
RD
3626 if (_argo0) {
3627 if (_argo0 == Py_None) { _arg0 = NULL; }
3628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3630 return NULL;
3631 }
3632 }
cf694132 3633{
4268f798 3634 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3635 _result = (int )wxGauge_GetRange(_arg0);
3636
4268f798 3637 wxPyEndAllowThreads(__tstate);
493f1553 3638 if (PyErr_Occurred()) return NULL;
cf694132 3639} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3640 return _resultobj;
3641}
3642
3643#define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
efc5f224 3644static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3645 PyObject * _resultobj;
3646 int _result;
3647 wxGauge * _arg0;
1d99702e 3648 PyObject * _argo0 = 0;
efc5f224 3649 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3650
3651 self = self;
efc5f224 3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
8ab979d7 3653 return NULL;
1d99702e
RD
3654 if (_argo0) {
3655 if (_argo0 == Py_None) { _arg0 = NULL; }
3656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3658 return NULL;
3659 }
3660 }
cf694132 3661{
4268f798 3662 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3663 _result = (int )wxGauge_GetShadowWidth(_arg0);
3664
4268f798 3665 wxPyEndAllowThreads(__tstate);
493f1553 3666 if (PyErr_Occurred()) return NULL;
cf694132 3667} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3668 return _resultobj;
3669}
3670
3671#define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 3672static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3673 PyObject * _resultobj;
3674 int _result;
3675 wxGauge * _arg0;
1d99702e 3676 PyObject * _argo0 = 0;
efc5f224 3677 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3678
3679 self = self;
efc5f224 3680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
8ab979d7 3681 return NULL;
1d99702e
RD
3682 if (_argo0) {
3683 if (_argo0 == Py_None) { _arg0 = NULL; }
3684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3686 return NULL;
3687 }
3688 }
cf694132 3689{
4268f798 3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3691 _result = (int )wxGauge_GetValue(_arg0);
3692
4268f798 3693 wxPyEndAllowThreads(__tstate);
493f1553 3694 if (PyErr_Occurred()) return NULL;
cf694132 3695} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3696 return _resultobj;
3697}
3698
3699#define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
efc5f224 3700static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3701 PyObject * _resultobj;
3702 wxGauge * _arg0;
3703 int _arg1;
1d99702e 3704 PyObject * _argo0 = 0;
efc5f224 3705 char *_kwnames[] = { "self","width", NULL };
8ab979d7
RD
3706
3707 self = self;
efc5f224 3708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
8ab979d7 3709 return NULL;
1d99702e
RD
3710 if (_argo0) {
3711 if (_argo0 == Py_None) { _arg0 = NULL; }
3712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3714 return NULL;
3715 }
3716 }
cf694132 3717{
4268f798 3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3719 wxGauge_SetBezelFace(_arg0,_arg1);
3720
4268f798 3721 wxPyEndAllowThreads(__tstate);
493f1553 3722 if (PyErr_Occurred()) return NULL;
cf694132 3723} Py_INCREF(Py_None);
8ab979d7
RD
3724 _resultobj = Py_None;
3725 return _resultobj;
3726}
3727
3728#define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
efc5f224 3729static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3730 PyObject * _resultobj;
3731 wxGauge * _arg0;
3732 int _arg1;
1d99702e 3733 PyObject * _argo0 = 0;
efc5f224 3734 char *_kwnames[] = { "self","range", NULL };
8ab979d7
RD
3735
3736 self = self;
efc5f224 3737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
8ab979d7 3738 return NULL;
1d99702e
RD
3739 if (_argo0) {
3740 if (_argo0 == Py_None) { _arg0 = NULL; }
3741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3743 return NULL;
3744 }
3745 }
cf694132 3746{
4268f798 3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3748 wxGauge_SetRange(_arg0,_arg1);
3749
4268f798 3750 wxPyEndAllowThreads(__tstate);
493f1553 3751 if (PyErr_Occurred()) return NULL;
cf694132 3752} Py_INCREF(Py_None);
8ab979d7
RD
3753 _resultobj = Py_None;
3754 return _resultobj;
3755}
3756
3757#define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
efc5f224 3758static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3759 PyObject * _resultobj;
3760 wxGauge * _arg0;
3761 int _arg1;
1d99702e 3762 PyObject * _argo0 = 0;
efc5f224 3763 char *_kwnames[] = { "self","width", NULL };
8ab979d7
RD
3764
3765 self = self;
efc5f224 3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3767 return NULL;
1d99702e
RD
3768 if (_argo0) {
3769 if (_argo0 == Py_None) { _arg0 = NULL; }
3770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3772 return NULL;
3773 }
3774 }
cf694132 3775{
4268f798 3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3777 wxGauge_SetShadowWidth(_arg0,_arg1);
3778
4268f798 3779 wxPyEndAllowThreads(__tstate);
493f1553 3780 if (PyErr_Occurred()) return NULL;
cf694132 3781} Py_INCREF(Py_None);
8ab979d7
RD
3782 _resultobj = Py_None;
3783 return _resultobj;
3784}
3785
3786#define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 3787static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3788 PyObject * _resultobj;
3789 wxGauge * _arg0;
3790 int _arg1;
1d99702e 3791 PyObject * _argo0 = 0;
efc5f224 3792 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
3793
3794 self = self;
efc5f224 3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
8ab979d7 3796 return NULL;
1d99702e
RD
3797 if (_argo0) {
3798 if (_argo0 == Py_None) { _arg0 = NULL; }
3799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3801 return NULL;
3802 }
3803 }
cf694132 3804{
4268f798 3805 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3806 wxGauge_SetValue(_arg0,_arg1);
3807
4268f798 3808 wxPyEndAllowThreads(__tstate);
493f1553 3809 if (PyErr_Occurred()) return NULL;
cf694132 3810} Py_INCREF(Py_None);
8ab979d7
RD
3811 _resultobj = Py_None;
3812 return _resultobj;
3813}
3814
3815static void *SwigwxStaticBoxTowxControl(void *ptr) {
3816 wxStaticBox *src;
3817 wxControl *dest;
3818 src = (wxStaticBox *) ptr;
3819 dest = (wxControl *) src;
3820 return (void *) dest;
3821}
3822
3823static void *SwigwxStaticBoxTowxWindow(void *ptr) {
3824 wxStaticBox *src;
3825 wxWindow *dest;
3826 src = (wxStaticBox *) ptr;
3827 dest = (wxWindow *) src;
3828 return (void *) dest;
3829}
3830
3831static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
3832 wxStaticBox *src;
3833 wxEvtHandler *dest;
3834 src = (wxStaticBox *) ptr;
3835 dest = (wxEvtHandler *) src;
3836 return (void *) dest;
3837}
3838
9416aa89
RD
3839static void *SwigwxStaticBoxTowxObject(void *ptr) {
3840 wxStaticBox *src;
3841 wxObject *dest;
3842 src = (wxStaticBox *) ptr;
3843 dest = (wxObject *) src;
3844 return (void *) dest;
3845}
3846
8ab979d7 3847#define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 3848static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3849 PyObject * _resultobj;
3850 wxStaticBox * _result;
3851 wxWindow * _arg0;
3852 wxWindowID _arg1;
3853 wxString * _arg2;
e508a2b6
RD
3854 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3855 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
3856 long _arg5 = (long ) 0;
3857 char * _arg6 = (char *) "staticBox";
3858 PyObject * _argo0 = 0;
8ab979d7 3859 PyObject * _obj2 = 0;
2f90df85
RD
3860 wxPoint temp;
3861 PyObject * _obj3 = 0;
3862 wxSize temp0;
3863 PyObject * _obj4 = 0;
efc5f224 3864 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
8ab979d7
RD
3865 char _ptemp[128];
3866
3867 self = self;
2f90df85 3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
8ab979d7 3869 return NULL;
1d99702e
RD
3870 if (_argo0) {
3871 if (_argo0 == Py_None) { _arg0 = NULL; }
3872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3874 return NULL;
3875 }
3876 }
3877{
185d7c3e
RD
3878#if PYTHON_API_VERSION >= 1009
3879 char* tmpPtr; int tmpSize;
3880 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 3881 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
3882 return NULL;
3883 }
3884 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3885 return NULL;
3886 _arg2 = new wxString(tmpPtr, tmpSize);
3887#else
8ab979d7
RD
3888 if (!PyString_Check(_obj2)) {
3889 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3890 return NULL;
3891 }
185d7c3e
RD
3892 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3893#endif
8ab979d7 3894}
2f90df85
RD
3895 if (_obj3)
3896{
3897 _arg3 = &temp;
3898 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 3899 return NULL;
2f90df85
RD
3900}
3901 if (_obj4)
3902{
3903 _arg4 = &temp0;
3904 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 3905 return NULL;
2f90df85 3906}
cf694132 3907{
4268f798 3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
3909 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
3910
4268f798 3911 wxPyEndAllowThreads(__tstate);
493f1553 3912 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3913} if (_result) {
3914 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3915 _resultobj = Py_BuildValue("s",_ptemp);
3916 } else {
3917 Py_INCREF(Py_None);
3918 _resultobj = Py_None;
3919 }
8ab979d7
RD
3920{
3921 if (_obj2)
3922 delete _arg2;
3923}
3924 return _resultobj;
3925}
3926
09f3d4e6
RD
3927#define new_wxPreStaticBox() (new wxStaticBox())
3928static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3929 PyObject * _resultobj;
3930 wxStaticBox * _result;
3931 char *_kwnames[] = { NULL };
3932 char _ptemp[128];
3933
3934 self = self;
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
3936 return NULL;
3937{
4268f798 3938 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
3939 _result = (wxStaticBox *)new_wxPreStaticBox();
3940
4268f798 3941 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3942 if (PyErr_Occurred()) return NULL;
3943} if (_result) {
3944 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3945 _resultobj = Py_BuildValue("s",_ptemp);
3946 } else {
3947 Py_INCREF(Py_None);
3948 _resultobj = Py_None;
3949 }
3950 return _resultobj;
3951}
3952
3953#define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3954static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3955 PyObject * _resultobj;
3956 bool _result;
3957 wxStaticBox * _arg0;
3958 wxWindow * _arg1;
3959 wxWindowID _arg2;
3960 wxString * _arg3;
3961 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3962 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3963 long _arg6 = (long ) 0;
3964 char * _arg7 = (char *) "staticBox";
3965 PyObject * _argo0 = 0;
3966 PyObject * _argo1 = 0;
3967 PyObject * _obj3 = 0;
3968 wxPoint temp;
3969 PyObject * _obj4 = 0;
3970 wxSize temp0;
3971 PyObject * _obj5 = 0;
3972 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
3973
3974 self = self;
3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
3976 return NULL;
3977 if (_argo0) {
3978 if (_argo0 == Py_None) { _arg0 = NULL; }
3979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
3980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3981 return NULL;
3982 }
3983 }
3984 if (_argo1) {
3985 if (_argo1 == Py_None) { _arg1 = NULL; }
3986 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3987 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3988 return NULL;
3989 }
3990 }
3991{
3992#if PYTHON_API_VERSION >= 1009
3993 char* tmpPtr; int tmpSize;
3994 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
3995 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3996 return NULL;
3997 }
3998 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
3999 return NULL;
4000 _arg3 = new wxString(tmpPtr, tmpSize);
4001#else
4002 if (!PyString_Check(_obj3)) {
4003 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4004 return NULL;
4005 }
4006 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4007#endif
4008}
4009 if (_obj4)
4010{
4011 _arg4 = &temp;
4012 if (! wxPoint_helper(_obj4, &_arg4))
4013 return NULL;
4014}
4015 if (_obj5)
4016{
4017 _arg5 = &temp0;
4018 if (! wxSize_helper(_obj5, &_arg5))
4019 return NULL;
4020}
4021{
4268f798 4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
4023 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
4024
4268f798 4025 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4026 if (PyErr_Occurred()) return NULL;
4027} _resultobj = Py_BuildValue("i",_result);
4028{
4029 if (_obj3)
4030 delete _arg3;
4031}
4032 return _resultobj;
4033}
4034
8bf5d46e
RD
4035static void *SwigwxStaticLineTowxControl(void *ptr) {
4036 wxStaticLine *src;
4037 wxControl *dest;
4038 src = (wxStaticLine *) ptr;
4039 dest = (wxControl *) src;
4040 return (void *) dest;
4041}
4042
4043static void *SwigwxStaticLineTowxWindow(void *ptr) {
4044 wxStaticLine *src;
4045 wxWindow *dest;
4046 src = (wxStaticLine *) ptr;
4047 dest = (wxWindow *) src;
4048 return (void *) dest;
4049}
4050
4051static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
4052 wxStaticLine *src;
4053 wxEvtHandler *dest;
4054 src = (wxStaticLine *) ptr;
4055 dest = (wxEvtHandler *) src;
4056 return (void *) dest;
4057}
4058
9416aa89
RD
4059static void *SwigwxStaticLineTowxObject(void *ptr) {
4060 wxStaticLine *src;
4061 wxObject *dest;
4062 src = (wxStaticLine *) ptr;
4063 dest = (wxObject *) src;
4064 return (void *) dest;
4065}
4066
8bf5d46e 4067#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 4068static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
4069 PyObject * _resultobj;
4070 wxStaticLine * _result;
4071 wxWindow * _arg0;
4072 wxWindowID _arg1;
e508a2b6
RD
4073 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4074 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e
RD
4075 long _arg4 = (long ) wxLI_HORIZONTAL;
4076 char * _arg5 = (char *) "staticLine";
4077 PyObject * _argo0 = 0;
2f90df85
RD
4078 wxPoint temp;
4079 PyObject * _obj2 = 0;
4080 wxSize temp0;
4081 PyObject * _obj3 = 0;
efc5f224 4082 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8bf5d46e
RD
4083 char _ptemp[128];
4084
4085 self = self;
2f90df85 4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
8bf5d46e 4087 return NULL;
1d99702e
RD
4088 if (_argo0) {
4089 if (_argo0 == Py_None) { _arg0 = NULL; }
4090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
4091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4092 return NULL;
4093 }
4094 }
2f90df85
RD
4095 if (_obj2)
4096{
4097 _arg2 = &temp;
4098 if (! wxPoint_helper(_obj2, &_arg2))
8bf5d46e 4099 return NULL;
2f90df85
RD
4100}
4101 if (_obj3)
4102{
4103 _arg3 = &temp0;
4104 if (! wxSize_helper(_obj3, &_arg3))
8bf5d46e 4105 return NULL;
2f90df85 4106}
8bf5d46e 4107{
4268f798 4108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8bf5d46e
RD
4109 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4110
4268f798 4111 wxPyEndAllowThreads(__tstate);
493f1553 4112 if (PyErr_Occurred()) return NULL;
1d99702e
RD
4113} if (_result) {
4114 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4115 _resultobj = Py_BuildValue("s",_ptemp);
4116 } else {
4117 Py_INCREF(Py_None);
4118 _resultobj = Py_None;
4119 }
8bf5d46e
RD
4120 return _resultobj;
4121}
4122
09f3d4e6
RD
4123#define new_wxPreStaticLine() (new wxStaticLine())
4124static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4125 PyObject * _resultobj;
4126 wxStaticLine * _result;
4127 char *_kwnames[] = { NULL };
4128 char _ptemp[128];
4129
4130 self = self;
4131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4132 return NULL;
4133{
4268f798 4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
4135 _result = (wxStaticLine *)new_wxPreStaticLine();
4136
4268f798 4137 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4138 if (PyErr_Occurred()) return NULL;
4139} if (_result) {
4140 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4141 _resultobj = Py_BuildValue("s",_ptemp);
4142 } else {
4143 Py_INCREF(Py_None);
4144 _resultobj = Py_None;
4145 }
4146 return _resultobj;
4147}
4148
4149#define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4150static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4151 PyObject * _resultobj;
4152 bool _result;
4153 wxStaticLine * _arg0;
4154 wxWindow * _arg1;
4155 wxWindowID _arg2;
4156 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4157 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4158 long _arg5 = (long ) wxLI_HORIZONTAL;
4159 char * _arg6 = (char *) "staticLine";
4160 PyObject * _argo0 = 0;
4161 PyObject * _argo1 = 0;
4162 wxPoint temp;
4163 PyObject * _obj3 = 0;
4164 wxSize temp0;
4165 PyObject * _obj4 = 0;
4166 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4167
4168 self = self;
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
4170 return NULL;
4171 if (_argo0) {
4172 if (_argo0 == Py_None) { _arg0 = NULL; }
4173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4175 return NULL;
4176 }
4177 }
4178 if (_argo1) {
4179 if (_argo1 == Py_None) { _arg1 = NULL; }
4180 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4181 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4182 return NULL;
4183 }
4184 }
4185 if (_obj3)
4186{
4187 _arg3 = &temp;
4188 if (! wxPoint_helper(_obj3, &_arg3))
4189 return NULL;
4190}
4191 if (_obj4)
4192{
4193 _arg4 = &temp0;
4194 if (! wxSize_helper(_obj4, &_arg4))
4195 return NULL;
4196}
4197{
4268f798 4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
4199 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
4200
4268f798 4201 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4202 if (PyErr_Occurred()) return NULL;
4203} _resultobj = Py_BuildValue("i",_result);
4204 return _resultobj;
4205}
4206
8ab979d7
RD
4207static void *SwigwxStaticTextTowxControl(void *ptr) {
4208 wxStaticText *src;
4209 wxControl *dest;
4210 src = (wxStaticText *) ptr;
4211 dest = (wxControl *) src;
4212 return (void *) dest;
4213}
4214
4215static void *SwigwxStaticTextTowxWindow(void *ptr) {
4216 wxStaticText *src;
4217 wxWindow *dest;
4218 src = (wxStaticText *) ptr;
4219 dest = (wxWindow *) src;
4220 return (void *) dest;
4221}
4222
4223static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4224 wxStaticText *src;
4225 wxEvtHandler *dest;
4226 src = (wxStaticText *) ptr;
4227 dest = (wxEvtHandler *) src;
4228 return (void *) dest;
4229}
4230
9416aa89
RD
4231static void *SwigwxStaticTextTowxObject(void *ptr) {
4232 wxStaticText *src;
4233 wxObject *dest;
4234 src = (wxStaticText *) ptr;
4235 dest = (wxObject *) src;
4236 return (void *) dest;
4237}
4238
8ab979d7 4239#define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 4240static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4241 PyObject * _resultobj;
4242 wxStaticText * _result;
4243 wxWindow * _arg0;
4244 wxWindowID _arg1;
4245 wxString * _arg2;
e508a2b6
RD
4246 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4247 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
4248 long _arg5 = (long ) 0;
4249 char * _arg6 = (char *) "staticText";
4250 PyObject * _argo0 = 0;
8ab979d7 4251 PyObject * _obj2 = 0;
2f90df85
RD
4252 wxPoint temp;
4253 PyObject * _obj3 = 0;
4254 wxSize temp0;
4255 PyObject * _obj4 = 0;
efc5f224 4256 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
8ab979d7
RD
4257 char _ptemp[128];
4258
4259 self = self;
2f90df85 4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
8ab979d7 4261 return NULL;
1d99702e
RD
4262 if (_argo0) {
4263 if (_argo0 == Py_None) { _arg0 = NULL; }
4264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4266 return NULL;
4267 }
4268 }
4269{
185d7c3e
RD
4270#if PYTHON_API_VERSION >= 1009
4271 char* tmpPtr; int tmpSize;
4272 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 4273 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
4274 return NULL;
4275 }
4276 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4277 return NULL;
4278 _arg2 = new wxString(tmpPtr, tmpSize);
4279#else
8ab979d7
RD
4280 if (!PyString_Check(_obj2)) {
4281 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4282 return NULL;
4283 }
185d7c3e
RD
4284 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4285#endif
8ab979d7 4286}
2f90df85
RD
4287 if (_obj3)
4288{
4289 _arg3 = &temp;
4290 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 4291 return NULL;
2f90df85
RD
4292}
4293 if (_obj4)
4294{
4295 _arg4 = &temp0;
4296 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 4297 return NULL;
2f90df85 4298}
cf694132 4299{
4268f798 4300 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4301 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4302
4268f798 4303 wxPyEndAllowThreads(__tstate);
493f1553 4304 if (PyErr_Occurred()) return NULL;
1d99702e
RD
4305} if (_result) {
4306 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4307 _resultobj = Py_BuildValue("s",_ptemp);
4308 } else {
4309 Py_INCREF(Py_None);
4310 _resultobj = Py_None;
4311 }
8ab979d7
RD
4312{
4313 if (_obj2)
4314 delete _arg2;
4315}
4316 return _resultobj;
4317}
4318
09f3d4e6
RD
4319#define new_wxPreStaticText() (new wxStaticText())
4320static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4321 PyObject * _resultobj;
4322 wxStaticText * _result;
4323 char *_kwnames[] = { NULL };
4324 char _ptemp[128];
4325
4326 self = self;
4327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4328 return NULL;
4329{
4268f798 4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
4331 _result = (wxStaticText *)new_wxPreStaticText();
4332
4268f798 4333 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4334 if (PyErr_Occurred()) return NULL;
4335} if (_result) {
4336 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4337 _resultobj = Py_BuildValue("s",_ptemp);
4338 } else {
4339 Py_INCREF(Py_None);
4340 _resultobj = Py_None;
4341 }
4342 return _resultobj;
4343}
4344
4345#define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4346static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4347 PyObject * _resultobj;
4348 bool _result;
4349 wxStaticText * _arg0;
4350 wxWindow * _arg1;
4351 wxWindowID _arg2;
4352 wxString * _arg3;
4353 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4354 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4355 long _arg6 = (long ) 0;
4356 char * _arg7 = (char *) "staticText";
4357 PyObject * _argo0 = 0;
4358 PyObject * _argo1 = 0;
4359 PyObject * _obj3 = 0;
4360 wxPoint temp;
4361 PyObject * _obj4 = 0;
4362 wxSize temp0;
4363 PyObject * _obj5 = 0;
4364 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4365
4366 self = self;
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
4368 return NULL;
4369 if (_argo0) {
4370 if (_argo0 == Py_None) { _arg0 = NULL; }
4371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4373 return NULL;
4374 }
4375 }
4376 if (_argo1) {
4377 if (_argo1 == Py_None) { _arg1 = NULL; }
4378 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4379 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4380 return NULL;
4381 }
4382 }
4383{
4384#if PYTHON_API_VERSION >= 1009
4385 char* tmpPtr; int tmpSize;
4386 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4387 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4388 return NULL;
4389 }
4390 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4391 return NULL;
4392 _arg3 = new wxString(tmpPtr, tmpSize);
4393#else
4394 if (!PyString_Check(_obj3)) {
4395 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4396 return NULL;
4397 }
4398 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4399#endif
4400}
4401 if (_obj4)
4402{
4403 _arg4 = &temp;
4404 if (! wxPoint_helper(_obj4, &_arg4))
4405 return NULL;
4406}
4407 if (_obj5)
4408{
4409 _arg5 = &temp0;
4410 if (! wxSize_helper(_obj5, &_arg5))
4411 return NULL;
4412}
4413{
4268f798 4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
4415 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
4416
4268f798 4417 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4418 if (PyErr_Occurred()) return NULL;
4419} _resultobj = Py_BuildValue("i",_result);
4420{
4421 if (_obj3)
4422 delete _arg3;
4423}
4424 return _resultobj;
4425}
4426
8ab979d7 4427#define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 4428static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4429 PyObject * _resultobj;
4430 wxString * _result;
4431 wxStaticText * _arg0;
1d99702e 4432 PyObject * _argo0 = 0;
efc5f224 4433 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4434
4435 self = self;
efc5f224 4436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
8ab979d7 4437 return NULL;
1d99702e
RD
4438 if (_argo0) {
4439 if (_argo0 == Py_None) { _arg0 = NULL; }
4440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
8ab979d7
RD
4441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4442 return NULL;
4443 }
4444 }
8ab979d7 4445{
4268f798 4446 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4447 _result = new wxString (wxStaticText_GetLabel(_arg0));
4448
4268f798 4449 wxPyEndAllowThreads(__tstate);
493f1553 4450 if (PyErr_Occurred()) return NULL;
cf694132 4451}{
eec92d76 4452 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
4453}
4454{
4455 delete _result;
4456}
4457 return _resultobj;
4458}
4459
4460#define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 4461static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4462 PyObject * _resultobj;
4463 wxStaticText * _arg0;
4464 wxString * _arg1;
1d99702e 4465 PyObject * _argo0 = 0;
8ab979d7 4466 PyObject * _obj1 = 0;
efc5f224 4467 char *_kwnames[] = { "self","label", NULL };
8ab979d7
RD
4468
4469 self = self;
efc5f224 4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
8ab979d7 4471 return NULL;
1d99702e
RD
4472 if (_argo0) {
4473 if (_argo0 == Py_None) { _arg0 = NULL; }
4474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
8ab979d7
RD
4475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4476 return NULL;
4477 }
4478 }
4479{
185d7c3e
RD
4480#if PYTHON_API_VERSION >= 1009
4481 char* tmpPtr; int tmpSize;
4482 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 4483 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
4484 return NULL;
4485 }
4486 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4487 return NULL;
4488 _arg1 = new wxString(tmpPtr, tmpSize);
4489#else
8ab979d7
RD
4490 if (!PyString_Check(_obj1)) {
4491 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4492 return NULL;
4493 }
185d7c3e
RD
4494 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4495#endif
8ab979d7 4496}
cf694132 4497{
4268f798 4498 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4499 wxStaticText_SetLabel(_arg0,*_arg1);
4500
4268f798 4501 wxPyEndAllowThreads(__tstate);
493f1553 4502 if (PyErr_Occurred()) return NULL;
cf694132 4503} Py_INCREF(Py_None);
8ab979d7
RD
4504 _resultobj = Py_None;
4505{
4506 if (_obj1)
4507 delete _arg1;
4508}
4509 return _resultobj;
4510}
4511
900d9886
RD
4512static void *SwigwxListBoxTowxControlWithItems(void *ptr) {
4513 wxListBox *src;
4514 wxControlWithItems *dest;
4515 src = (wxListBox *) ptr;
4516 dest = (wxControlWithItems *) src;
4517 return (void *) dest;
4518}
4519
8ab979d7
RD
4520static void *SwigwxListBoxTowxControl(void *ptr) {
4521 wxListBox *src;
4522 wxControl *dest;
4523 src = (wxListBox *) ptr;
4524 dest = (wxControl *) src;
4525 return (void *) dest;
4526}
4527
4528static void *SwigwxListBoxTowxWindow(void *ptr) {
4529 wxListBox *src;
4530 wxWindow *dest;
4531 src = (wxListBox *) ptr;
4532 dest = (wxWindow *) src;
4533 return (void *) dest;
4534}
4535
4536static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
4537 wxListBox *src;
4538 wxEvtHandler *dest;
4539 src = (wxListBox *) ptr;
4540 dest = (wxEvtHandler *) src;
4541 return (void *) dest;
4542}
4543
9416aa89
RD
4544static void *SwigwxListBoxTowxObject(void *ptr) {
4545 wxListBox *src;
4546 wxObject *dest;
4547 src = (wxListBox *) ptr;
4548 dest = (wxObject *) src;
4549 return (void *) dest;
4550}
4551
09f3d4e6
RD
4552#define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4553static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4554 PyObject * _resultobj;
4555 wxListBox * _result;
4556 wxWindow * _arg0;
4557 wxWindowID _arg1;
4558 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4559 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4560 int _arg4;
4561 wxString * _arg5 = (wxString *) NULL;
4562 long _arg6 = (long ) 0;
4563 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
4564 char * _arg8 = (char *) "listBox";
4565 PyObject * _argo0 = 0;
4566 wxPoint temp;
4567 PyObject * _obj2 = 0;
4568 wxSize temp0;
4569 PyObject * _obj3 = 0;
4570 PyObject * _obj5 = 0;
4571 PyObject * _argo7 = 0;
4572 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4573 char _ptemp[128];
4574
4575 self = self;
4576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
4577 return NULL;
4578 if (_argo0) {
4579 if (_argo0 == Py_None) { _arg0 = NULL; }
4580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4582 return NULL;
4583 }
4584 }
4585 if (_obj2)
4586{
4587 _arg2 = &temp;
4588 if (! wxPoint_helper(_obj2, &_arg2))
4589 return NULL;
4590}
4591 if (_obj3)
4592{
4593 _arg3 = &temp0;
4594 if (! wxSize_helper(_obj3, &_arg3))
4595 return NULL;
4596}
4597 if (_obj5)
4598{
4599 _arg5 = wxString_LIST_helper(_obj5);
4600 if (_arg5 == NULL) {
4601 return NULL;
4602 }
4603}
4604 if (_argo7) {
4605 if (_argo7 == Py_None) { _arg7 = NULL; }
4606 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
4607 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4608 return NULL;
4609 }
4610 }
4611{
4612 if (_obj5) {
4613 _arg4 = PyList_Size(_obj5);
4614 }
4615 else {
4616 _arg4 = 0;
4617 }
4618}
4619{
4268f798 4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
4621 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
4622
4268f798 4623 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4624 if (PyErr_Occurred()) return NULL;
4625} if (_result) {
4626 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4627 _resultobj = Py_BuildValue("s",_ptemp);
4628 } else {
4629 Py_INCREF(Py_None);
4630 _resultobj = Py_None;
4631 }
4632{
4633 delete [] _arg5;
4634}
4635 return _resultobj;
4636}
4637
4638#define new_wxPreListBox() (new wxListBox())
4639static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4640 PyObject * _resultobj;
4641 wxListBox * _result;
4642 char *_kwnames[] = { NULL };
4643 char _ptemp[128];
4644
4645 self = self;
4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
4647 return NULL;
4648{
4268f798 4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
4650 _result = (wxListBox *)new_wxPreListBox();
4651
4268f798 4652 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4653 if (PyErr_Occurred()) return NULL;
4654} if (_result) {
4655 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4656 _resultobj = Py_BuildValue("s",_ptemp);
4657 } else {
4658 Py_INCREF(Py_None);
4659 _resultobj = Py_None;
4660 }
4661 return _resultobj;
4662}
4663
4664#define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4665static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4666 PyObject * _resultobj;
09f3d4e6
RD
4667 bool _result;
4668 wxListBox * _arg0;
4669 wxWindow * _arg1;
4670 wxWindowID _arg2;
4671 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4672 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4673 int _arg5;
4674 wxString * _arg6 = (wxString *) NULL;
4675 long _arg7 = (long ) 0;
4676 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
4677 char * _arg9 = (char *) "listBox";
1d99702e 4678 PyObject * _argo0 = 0;
09f3d4e6 4679 PyObject * _argo1 = 0;
2f90df85 4680 wxPoint temp;
2f90df85 4681 PyObject * _obj3 = 0;
09f3d4e6
RD
4682 wxSize temp0;
4683 PyObject * _obj4 = 0;
4684 PyObject * _obj6 = 0;
4685 PyObject * _argo8 = 0;
4686 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
8ab979d7
RD
4687
4688 self = self;
09f3d4e6 4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
8ab979d7 4690 return NULL;
1d99702e
RD
4691 if (_argo0) {
4692 if (_argo0 == Py_None) { _arg0 = NULL; }
09f3d4e6
RD
4693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
8ab979d7
RD
4695 return NULL;
4696 }
4697 }
09f3d4e6
RD
4698 if (_argo1) {
4699 if (_argo1 == Py_None) { _arg1 = NULL; }
4700 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4701 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4702 return NULL;
4703 }
4704 }
4705 if (_obj3)
2f90df85 4706{
09f3d4e6
RD
4707 _arg3 = &temp;
4708 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 4709 return NULL;
2f90df85 4710}
09f3d4e6 4711 if (_obj4)
2f90df85 4712{
09f3d4e6
RD
4713 _arg4 = &temp0;
4714 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 4715 return NULL;
2f90df85 4716}
09f3d4e6 4717 if (_obj6)
8ab979d7 4718{
09f3d4e6
RD
4719 _arg6 = wxString_LIST_helper(_obj6);
4720 if (_arg6 == NULL) {
8ab979d7
RD
4721 return NULL;
4722 }
4723}
09f3d4e6
RD
4724 if (_argo8) {
4725 if (_argo8 == Py_None) { _arg8 = NULL; }
4726 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
4727 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
8ab979d7
RD
4728 return NULL;
4729 }
4730 }
4731{
09f3d4e6
RD
4732 if (_obj6) {
4733 _arg5 = PyList_Size(_obj6);
cf694132
RD
4734 }
4735 else {
09f3d4e6 4736 _arg5 = 0;
cf694132 4737 }
8ab979d7 4738}
cf694132 4739{
4268f798 4740 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6 4741 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
cf694132 4742
4268f798 4743 wxPyEndAllowThreads(__tstate);
493f1553 4744 if (PyErr_Occurred()) return NULL;
09f3d4e6 4745} _resultobj = Py_BuildValue("i",_result);
8ab979d7 4746{
09f3d4e6 4747 delete [] _arg6;
8ab979d7
RD
4748}
4749 return _resultobj;
4750}
4751
8ab979d7 4752#define wxListBox_Clear(_swigobj) (_swigobj->Clear())
efc5f224 4753static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4754 PyObject * _resultobj;
4755 wxListBox * _arg0;
1d99702e 4756 PyObject * _argo0 = 0;
efc5f224 4757 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4758
4759 self = self;
efc5f224 4760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
8ab979d7 4761 return NULL;
1d99702e
RD
4762 if (_argo0) {
4763 if (_argo0 == Py_None) { _arg0 = NULL; }
4764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4766 return NULL;
4767 }
4768 }
cf694132 4769{
4268f798 4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4771 wxListBox_Clear(_arg0);
4772
4268f798 4773 wxPyEndAllowThreads(__tstate);
493f1553 4774 if (PyErr_Occurred()) return NULL;
cf694132 4775} Py_INCREF(Py_None);
8ab979d7
RD
4776 _resultobj = Py_None;
4777 return _resultobj;
4778}
4779
8ab979d7 4780#define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
efc5f224 4781static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4782 PyObject * _resultobj;
4783 wxListBox * _arg0;
4784 int _arg1;
1d99702e 4785 PyObject * _argo0 = 0;
efc5f224 4786 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
4787
4788 self = self;
efc5f224 4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
8ab979d7 4790 return NULL;
1d99702e
RD
4791 if (_argo0) {
4792 if (_argo0 == Py_None) { _arg0 = NULL; }
4793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4795 return NULL;
4796 }
4797 }
cf694132 4798{
4268f798 4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4800 wxListBox_Deselect(_arg0,_arg1);
4801
4268f798 4802 wxPyEndAllowThreads(__tstate);
493f1553 4803 if (PyErr_Occurred()) return NULL;
cf694132 4804} Py_INCREF(Py_None);
8ab979d7
RD
4805 _resultobj = Py_None;
4806 return _resultobj;
4807}
4808
cf694132
RD
4809static PyObject * wxListBox_GetSelections(wxListBox *self) {
4810 wxArrayInt lst;
4811 self->GetSelections(lst);
4812 PyObject *tup = PyTuple_New(lst.GetCount());
f6bcfd97 4813 for(size_t i=0; i<lst.GetCount(); i++) {
cf694132
RD
4814 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
4815 }
4816 return tup;
4817 }
efc5f224 4818static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
4819 PyObject * _resultobj;
4820 PyObject * _result;
4821 wxListBox * _arg0;
1d99702e 4822 PyObject * _argo0 = 0;
efc5f224 4823 char *_kwnames[] = { "self", NULL };
cf694132
RD
4824
4825 self = self;
efc5f224 4826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
cf694132 4827 return NULL;
1d99702e
RD
4828 if (_argo0) {
4829 if (_argo0 == Py_None) { _arg0 = NULL; }
4830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
cf694132
RD
4831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4832 return NULL;
4833 }
4834 }
4835{
4268f798 4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4837 _result = (PyObject *)wxListBox_GetSelections(_arg0);
4838
4268f798 4839 wxPyEndAllowThreads(__tstate);
493f1553 4840 if (PyErr_Occurred()) return NULL;
cf694132
RD
4841}{
4842 _resultobj = _result;
4843}
8ab979d7
RD
4844 return _resultobj;
4845}
4846
2f90df85
RD
4847#define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4848static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject * _resultobj;
4850 wxListBox * _arg0;
4851 int _arg1;
4852 wxString * _arg2;
4853 int _arg3;
4854 PyObject * _argo0 = 0;
4855 PyObject * _obj2 = 0;
eec92d76 4856 char *_kwnames[] = { "self","choices","pos", NULL };
2f90df85
RD
4857
4858 self = self;
4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
4860 return NULL;
4861 if (_argo0) {
4862 if (_argo0 == Py_None) { _arg0 = NULL; }
4863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4865 return NULL;
4866 }
4867 }
4868{
4869 _arg2 = wxString_LIST_helper(_obj2);
4870 if (_arg2 == NULL) {
4871 return NULL;
4872 }
4873}
4874{
4875 if (_obj2) {
4876 _arg1 = PyList_Size(_obj2);
4877 }
4878 else {
4879 _arg1 = 0;
4880 }
4881}
4882{
4268f798 4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f90df85
RD
4884 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
4885
4268f798 4886 wxPyEndAllowThreads(__tstate);
493f1553 4887 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4888} Py_INCREF(Py_None);
4889 _resultobj = Py_None;
4890{
4891 delete [] _arg2;
4892}
4893 return _resultobj;
4894}
4895
0adbc166
RD
4896#define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4897static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4898 PyObject * _resultobj;
4899 bool _result;
4900 wxListBox * _arg0;
4901 int _arg1;
4902 PyObject * _argo0 = 0;
4903 char *_kwnames[] = { "self","n", NULL };
4904
4905 self = self;
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
4907 return NULL;
4908 if (_argo0) {
4909 if (_argo0 == Py_None) { _arg0 = NULL; }
4910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4912 return NULL;
4913 }
4914 }
4915{
4268f798 4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
0adbc166 4917 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
cf694132 4918
4268f798 4919 wxPyEndAllowThreads(__tstate);
493f1553 4920 if (PyErr_Occurred()) return NULL;
cf694132 4921} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4922 return _resultobj;
4923}
4924
4925#define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
efc5f224 4926static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4927 PyObject * _resultobj;
4928 bool _result;
4929 wxListBox * _arg0;
4930 int _arg1;
1d99702e 4931 PyObject * _argo0 = 0;
efc5f224 4932 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
4933
4934 self = self;
efc5f224 4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
8ab979d7 4936 return NULL;
1d99702e
RD
4937 if (_argo0) {
4938 if (_argo0 == Py_None) { _arg0 = NULL; }
4939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4941 return NULL;
4942 }
4943 }
cf694132 4944{
4268f798 4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4946 _result = (bool )wxListBox_Selected(_arg0,_arg1);
4947
4268f798 4948 wxPyEndAllowThreads(__tstate);
493f1553 4949 if (PyErr_Occurred()) return NULL;
cf694132 4950} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
4951 return _resultobj;
4952}
4953
4954#define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
efc5f224 4955static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4956 PyObject * _resultobj;
4957 wxListBox * _arg0;
4958 int _arg1;
4959 wxString * _arg2;
1d99702e 4960 PyObject * _argo0 = 0;
8ab979d7 4961 PyObject * _obj2 = 0;
eec92d76 4962 char *_kwnames[] = { "self","choices", NULL };
8ab979d7
RD
4963
4964 self = self;
efc5f224 4965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
8ab979d7 4966 return NULL;
1d99702e
RD
4967 if (_argo0) {
4968 if (_argo0 == Py_None) { _arg0 = NULL; }
4969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4971 return NULL;
4972 }
4973 }
4974 if (_obj2)
4975{
4976 _arg2 = wxString_LIST_helper(_obj2);
4977 if (_arg2 == NULL) {
4978 return NULL;
4979 }
4980}
4981{
cf694132
RD
4982 if (_obj2) {
4983 _arg1 = PyList_Size(_obj2);
4984 }
4985 else {
4986 _arg1 = 0;
4987 }
8ab979d7 4988}
cf694132 4989{
4268f798 4990 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
4991 wxListBox_Set(_arg0,_arg1,_arg2);
4992
4268f798 4993 wxPyEndAllowThreads(__tstate);
493f1553 4994 if (PyErr_Occurred()) return NULL;
cf694132 4995} Py_INCREF(Py_None);
8ab979d7
RD
4996 _resultobj = Py_None;
4997{
4998 delete [] _arg2;
4999}
5000 return _resultobj;
5001}
5002
5003#define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
efc5f224 5004static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5005 PyObject * _resultobj;
5006 wxListBox * _arg0;
5007 int _arg1;
1d99702e 5008 PyObject * _argo0 = 0;
efc5f224 5009 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
5010
5011 self = self;
efc5f224 5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
8ab979d7 5013 return NULL;
1d99702e
RD
5014 if (_argo0) {
5015 if (_argo0 == Py_None) { _arg0 = NULL; }
5016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5018 return NULL;
5019 }
5020 }
cf694132 5021{
4268f798 5022 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
5023 wxListBox_SetFirstItem(_arg0,_arg1);
5024
4268f798 5025 wxPyEndAllowThreads(__tstate);
493f1553 5026 if (PyErr_Occurred()) return NULL;
cf694132 5027} Py_INCREF(Py_None);
8ab979d7
RD
5028 _resultobj = Py_None;
5029 return _resultobj;
5030}
5031
5032#define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
efc5f224 5033static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5034 PyObject * _resultobj;
5035 wxListBox * _arg0;
5036 wxString * _arg1;
1d99702e 5037 PyObject * _argo0 = 0;
8ab979d7 5038 PyObject * _obj1 = 0;
efc5f224 5039 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
5040
5041 self = self;
efc5f224 5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
8ab979d7 5043 return NULL;
1d99702e
RD
5044 if (_argo0) {
5045 if (_argo0 == Py_None) { _arg0 = NULL; }
5046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5048 return NULL;
5049 }
5050 }
5051{
185d7c3e
RD
5052#if PYTHON_API_VERSION >= 1009
5053 char* tmpPtr; int tmpSize;
5054 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 5055 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5056 return NULL;
5057 }
5058 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5059 return NULL;
5060 _arg1 = new wxString(tmpPtr, tmpSize);
5061#else
8ab979d7
RD
5062 if (!PyString_Check(_obj1)) {
5063 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5064 return NULL;
5065 }
185d7c3e
RD
5066 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5067#endif
8ab979d7 5068}
cf694132 5069{
4268f798 5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
5071 wxListBox_SetFirstItemStr(_arg0,*_arg1);
5072
4268f798 5073 wxPyEndAllowThreads(__tstate);
493f1553 5074 if (PyErr_Occurred()) return NULL;
cf694132 5075} Py_INCREF(Py_None);
8ab979d7
RD
5076 _resultobj = Py_None;
5077{
5078 if (_obj1)
5079 delete _arg1;
5080}
5081 return _resultobj;
5082}
5083
5084#define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
efc5f224 5085static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5086 PyObject * _resultobj;
5087 wxListBox * _arg0;
5088 int _arg1;
1d99702e
RD
5089 bool _arg2 = (bool ) TRUE;
5090 PyObject * _argo0 = 0;
5091 int tempbool2 = (int) TRUE;
efc5f224 5092 char *_kwnames[] = { "self","n","select", NULL };
8ab979d7
RD
5093
5094 self = self;
efc5f224 5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 5096 return NULL;
1d99702e
RD
5097 if (_argo0) {
5098 if (_argo0 == Py_None) { _arg0 = NULL; }
5099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5101 return NULL;
5102 }
5103 }
5104 _arg2 = (bool ) tempbool2;
cf694132 5105{
4268f798 5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
5107 wxListBox_SetSelection(_arg0,_arg1,_arg2);
5108
4268f798 5109 wxPyEndAllowThreads(__tstate);
493f1553 5110 if (PyErr_Occurred()) return NULL;
cf694132 5111} Py_INCREF(Py_None);
8ab979d7
RD
5112 _resultobj = Py_None;
5113 return _resultobj;
5114}
5115
5116#define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
efc5f224 5117static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5118 PyObject * _resultobj;
5119 wxListBox * _arg0;
5120 int _arg1;
5121 wxString * _arg2;
1d99702e 5122 PyObject * _argo0 = 0;
8ab979d7 5123 PyObject * _obj2 = 0;
efc5f224 5124 char *_kwnames[] = { "self","n","string", NULL };
8ab979d7
RD
5125
5126 self = self;
efc5f224 5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 5128 return NULL;
1d99702e
RD
5129 if (_argo0) {
5130 if (_argo0 == Py_None) { _arg0 = NULL; }
5131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5133 return NULL;
5134 }
5135 }
5136{
185d7c3e
RD
5137#if PYTHON_API_VERSION >= 1009
5138 char* tmpPtr; int tmpSize;
5139 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 5140 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5141 return NULL;
5142 }
5143 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5144 return NULL;
5145 _arg2 = new wxString(tmpPtr, tmpSize);
5146#else
8ab979d7
RD
5147 if (!PyString_Check(_obj2)) {
5148 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5149 return NULL;
5150 }
185d7c3e
RD
5151 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5152#endif
8ab979d7 5153}
cf694132 5154{
4268f798 5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
5156 wxListBox_SetString(_arg0,_arg1,*_arg2);
5157
4268f798 5158 wxPyEndAllowThreads(__tstate);
493f1553 5159 if (PyErr_Occurred()) return NULL;
cf694132 5160} Py_INCREF(Py_None);
8ab979d7
RD
5161 _resultobj = Py_None;
5162{
5163 if (_obj2)
5164 delete _arg2;
5165}
5166 return _resultobj;
5167}
5168
5169#define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
efc5f224 5170static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5171 PyObject * _resultobj;
5172 wxListBox * _arg0;
5173 wxString * _arg1;
1d99702e
RD
5174 bool _arg2 = (bool ) TRUE;
5175 PyObject * _argo0 = 0;
8ab979d7 5176 PyObject * _obj1 = 0;
1d99702e 5177 int tempbool2 = (int) TRUE;
efc5f224 5178 char *_kwnames[] = { "self","string","select", NULL };
8ab979d7
RD
5179
5180 self = self;
efc5f224 5181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
8ab979d7 5182 return NULL;
1d99702e
RD
5183 if (_argo0) {
5184 if (_argo0 == Py_None) { _arg0 = NULL; }
5185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5187 return NULL;
5188 }
5189 }
5190{
185d7c3e
RD
5191#if PYTHON_API_VERSION >= 1009
5192 char* tmpPtr; int tmpSize;
5193 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 5194 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5195 return NULL;
5196 }
5197 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5198 return NULL;
5199 _arg1 = new wxString(tmpPtr, tmpSize);
5200#else
8ab979d7
RD
5201 if (!PyString_Check(_obj1)) {
5202 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5203 return NULL;
5204 }
185d7c3e
RD
5205 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5206#endif
8ab979d7
RD
5207}
5208 _arg2 = (bool ) tempbool2;
cf694132 5209{
4268f798 5210 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
5211 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
5212
4268f798 5213 wxPyEndAllowThreads(__tstate);
493f1553 5214 if (PyErr_Occurred()) return NULL;
cf694132 5215} Py_INCREF(Py_None);
8ab979d7
RD
5216 _resultobj = Py_None;
5217{
5218 if (_obj1)
5219 delete _arg1;
5220}
5221 return _resultobj;
5222}
5223
9c039d08
RD
5224static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5225 wxCheckListBox *src;
5226 wxListBox *dest;
5227 src = (wxCheckListBox *) ptr;
5228 dest = (wxListBox *) src;
5229 return (void *) dest;
5230}
5231
900d9886
RD
5232static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr) {
5233 wxCheckListBox *src;
5234 wxControlWithItems *dest;
5235 src = (wxCheckListBox *) ptr;
5236 dest = (wxControlWithItems *) src;
5237 return (void *) dest;
5238}
5239
9c039d08
RD
5240static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5241 wxCheckListBox *src;
5242 wxControl *dest;
5243 src = (wxCheckListBox *) ptr;
5244 dest = (wxControl *) src;
5245 return (void *) dest;
5246}
5247
5248static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5249 wxCheckListBox *src;
5250 wxWindow *dest;
5251 src = (wxCheckListBox *) ptr;
5252 dest = (wxWindow *) src;
5253 return (void *) dest;
5254}
5255
5256static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5257 wxCheckListBox *src;
5258 wxEvtHandler *dest;
5259 src = (wxCheckListBox *) ptr;
5260 dest = (wxEvtHandler *) src;
5261 return (void *) dest;
5262}
5263
9416aa89
RD
5264static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5265 wxCheckListBox *src;
5266 wxObject *dest;
5267 src = (wxCheckListBox *) ptr;
5268 dest = (wxObject *) src;
5269 return (void *) dest;
5270}
5271
9c039d08 5272#define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
efc5f224 5273static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5274 PyObject * _resultobj;
5275 wxCheckListBox * _result;
5276 wxWindow * _arg0;
5277 wxWindowID _arg1;
e508a2b6
RD
5278 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5279 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e
RD
5280 int _arg4 = (int ) 0;
5281 wxString * _arg5 = (wxString *) NULL;
5282 long _arg6 = (long ) 0;
e508a2b6 5283 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
5284 char * _arg8 = (char *) "listBox";
5285 PyObject * _argo0 = 0;
2f90df85
RD
5286 wxPoint temp;
5287 PyObject * _obj2 = 0;
5288 wxSize temp0;
5289 PyObject * _obj3 = 0;
9c039d08 5290 PyObject * _obj5 = 0;
1d99702e 5291 PyObject * _argo7 = 0;
eec92d76 5292 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
9c039d08
RD
5293 char _ptemp[128];
5294
5295 self = self;
2f90df85 5296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
9c039d08 5297 return NULL;
1d99702e
RD
5298 if (_argo0) {
5299 if (_argo0 == Py_None) { _arg0 = NULL; }
5300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
5301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5302 return NULL;
5303 }
5304 }
2f90df85
RD
5305 if (_obj2)
5306{
5307 _arg2 = &temp;
5308 if (! wxPoint_helper(_obj2, &_arg2))
9c039d08 5309 return NULL;
2f90df85
RD
5310}
5311 if (_obj3)
5312{
5313 _arg3 = &temp0;
5314 if (! wxSize_helper(_obj3, &_arg3))
9c039d08 5315 return NULL;
2f90df85 5316}
9c039d08
RD
5317 if (_obj5)
5318{
5319 _arg5 = wxString_LIST_helper(_obj5);
5320 if (_arg5 == NULL) {
5321 return NULL;
5322 }
5323}
1d99702e
RD
5324 if (_argo7) {
5325 if (_argo7 == Py_None) { _arg7 = NULL; }
5326 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
9c039d08
RD
5327 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5328 return NULL;
5329 }
5330 }
5331{
cf694132
RD
5332 if (_obj5) {
5333 _arg4 = PyList_Size(_obj5);
5334 }
5335 else {
5336 _arg4 = 0;
5337 }
9c039d08 5338}
cf694132 5339{
4268f798 5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
5341 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
5342
4268f798 5343 wxPyEndAllowThreads(__tstate);
493f1553 5344 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5345} if (_result) {
5346 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5347 _resultobj = Py_BuildValue("s",_ptemp);
5348 } else {
5349 Py_INCREF(Py_None);
5350 _resultobj = Py_None;
5351 }
9c039d08
RD
5352{
5353 delete [] _arg5;
5354}
5355 return _resultobj;
5356}
5357
09f3d4e6
RD
5358#define new_wxPreCheckListBox() (new wxCheckListBox())
5359static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5360 PyObject * _resultobj;
5361 wxCheckListBox * _result;
5362 char *_kwnames[] = { NULL };
5363 char _ptemp[128];
5364
5365 self = self;
5366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
5367 return NULL;
5368{
4268f798 5369 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
5370 _result = (wxCheckListBox *)new_wxPreCheckListBox();
5371
4268f798 5372 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
5373 if (PyErr_Occurred()) return NULL;
5374} if (_result) {
5375 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5376 _resultobj = Py_BuildValue("s",_ptemp);
5377 } else {
5378 Py_INCREF(Py_None);
5379 _resultobj = Py_None;
5380 }
5381 return _resultobj;
5382}
5383
5384#define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5385static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5386 PyObject * _resultobj;
5387 bool _result;
5388 wxCheckListBox * _arg0;
5389 wxWindow * _arg1;
5390 wxWindowID _arg2;
5391 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5392 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5393 int _arg5 = (int ) 0;
5394 wxString * _arg6 = (wxString *) NULL;
5395 long _arg7 = (long ) 0;
5396 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
5397 char * _arg9 = (char *) "listBox";
5398 PyObject * _argo0 = 0;
5399 PyObject * _argo1 = 0;
5400 wxPoint temp;
5401 PyObject * _obj3 = 0;
5402 wxSize temp0;
5403 PyObject * _obj4 = 0;
5404 PyObject * _obj6 = 0;
5405 PyObject * _argo8 = 0;
5406 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5407
5408 self = self;
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
5410 return NULL;
5411 if (_argo0) {
5412 if (_argo0 == Py_None) { _arg0 = NULL; }
5413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5415 return NULL;
5416 }
5417 }
5418 if (_argo1) {
5419 if (_argo1 == Py_None) { _arg1 = NULL; }
5420 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5421 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5422 return NULL;
5423 }
5424 }
5425 if (_obj3)
5426{
5427 _arg3 = &temp;
5428 if (! wxPoint_helper(_obj3, &_arg3))
5429 return NULL;
5430}
5431 if (_obj4)
5432{
5433 _arg4 = &temp0;
5434 if (! wxSize_helper(_obj4, &_arg4))
5435 return NULL;
5436}
5437 if (_obj6)
5438{
5439 _arg6 = wxString_LIST_helper(_obj6);
5440 if (_arg6 == NULL) {
5441 return NULL;
5442 }
5443}
5444 if (_argo8) {
5445 if (_argo8 == Py_None) { _arg8 = NULL; }
5446 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
5447 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5448 return NULL;
5449 }
5450 }
5451{
5452 if (_obj6) {
5453 _arg5 = PyList_Size(_obj6);
5454 }
5455 else {
5456 _arg5 = 0;
5457 }
5458}
5459{
4268f798 5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
5461 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
5462
4268f798 5463 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
5464 if (PyErr_Occurred()) return NULL;
5465} _resultobj = Py_BuildValue("i",_result);
5466{
5467 delete [] _arg6;
5468}
5469 return _resultobj;
5470}
5471
9c039d08 5472#define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
efc5f224 5473static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5474 PyObject * _resultobj;
5475 bool _result;
5476 wxCheckListBox * _arg0;
5477 int _arg1;
1d99702e 5478 PyObject * _argo0 = 0;
efc5f224 5479 char *_kwnames[] = { "self","uiIndex", NULL };
9c039d08
RD
5480
5481 self = self;
efc5f224 5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
9c039d08 5483 return NULL;
1d99702e
RD
5484 if (_argo0) {
5485 if (_argo0 == Py_None) { _arg0 = NULL; }
5486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
9c039d08
RD
5487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5488 return NULL;
5489 }
5490 }
cf694132 5491{
4268f798 5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
5493 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
5494
4268f798 5495 wxPyEndAllowThreads(__tstate);
493f1553 5496 if (PyErr_Occurred()) return NULL;
cf694132 5497} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
5498 return _resultobj;
5499}
5500
5501#define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
efc5f224 5502static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5503 PyObject * _resultobj;
5504 wxCheckListBox * _arg0;
5505 int _arg1;
694759cf 5506 int _arg2 = (int ) TRUE;
1d99702e 5507 PyObject * _argo0 = 0;
efc5f224 5508 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
9c039d08
RD
5509
5510 self = self;
694759cf 5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
9c039d08 5512 return NULL;
1d99702e
RD
5513 if (_argo0) {
5514 if (_argo0 == Py_None) { _arg0 = NULL; }
5515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
9c039d08
RD
5516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5517 return NULL;
5518 }
5519 }
cf694132 5520{
4268f798 5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
5522 wxCheckListBox_Check(_arg0,_arg1,_arg2);
5523
4268f798 5524 wxPyEndAllowThreads(__tstate);
493f1553 5525 if (PyErr_Occurred()) return NULL;
cf694132 5526} Py_INCREF(Py_None);
9c039d08
RD
5527 _resultobj = Py_None;
5528 return _resultobj;
5529}
5530
694759cf
RD
5531#define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5532static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5533 PyObject * _resultobj;
5534 wxCheckListBox * _arg0;
5535 int _arg1;
5536 wxString * _arg2;
5537 int _arg3;
5538 PyObject * _argo0 = 0;
5539 PyObject * _obj2 = 0;
eec92d76 5540 char *_kwnames[] = { "self","choices","pos", NULL };
694759cf
RD
5541
5542 self = self;
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5544 return NULL;
5545 if (_argo0) {
5546 if (_argo0 == Py_None) { _arg0 = NULL; }
5547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5549 return NULL;
5550 }
5551 }
5552{
5553 _arg2 = wxString_LIST_helper(_obj2);
5554 if (_arg2 == NULL) {
5555 return NULL;
5556 }
5557}
5558{
5559 if (_obj2) {
5560 _arg1 = PyList_Size(_obj2);
5561 }
5562 else {
5563 _arg1 = 0;
5564 }
5565}
5566{
4268f798 5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
694759cf
RD
5568 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
5569
4268f798 5570 wxPyEndAllowThreads(__tstate);
493f1553 5571 if (PyErr_Occurred()) return NULL;
694759cf
RD
5572} Py_INCREF(Py_None);
5573 _resultobj = Py_None;
5574{
5575 delete [] _arg2;
5576}
5577 return _resultobj;
5578}
5579
9c039d08 5580#define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
efc5f224 5581static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5582 PyObject * _resultobj;
5583 int _result;
5584 wxCheckListBox * _arg0;
1d99702e 5585 PyObject * _argo0 = 0;
efc5f224 5586 char *_kwnames[] = { "self", NULL };
9c039d08
RD
5587
5588 self = self;
efc5f224 5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
9c039d08 5590 return NULL;
1d99702e
RD
5591 if (_argo0) {
5592 if (_argo0 == Py_None) { _arg0 = NULL; }
5593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
9c039d08
RD
5594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5595 return NULL;
5596 }
5597 }
cf694132 5598{
4268f798 5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
5600 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
5601
4268f798 5602 wxPyEndAllowThreads(__tstate);
493f1553 5603 if (PyErr_Occurred()) return NULL;
cf694132 5604} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
5605 return _resultobj;
5606}
5607
d56cebe7
RD
5608#define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5609static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5610 PyObject * _resultobj;
5611 wxTextAttr * _result;
5612 wxColour * _arg0 = (wxColour *) &wxNullColour;
5613 wxColour * _arg1 = (wxColour *) &wxNullColour;
5614 wxFont * _arg2 = (wxFont *) &wxNullFont;
5615 wxColour temp;
5616 PyObject * _obj0 = 0;
5617 wxColour temp0;
5618 PyObject * _obj1 = 0;
5619 PyObject * _argo2 = 0;
5620 char *_kwnames[] = { "colText","colBack","font", NULL };
5621 char _ptemp[128];
5622
5623 self = self;
5624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5625 return NULL;
5626 if (_obj0)
5627{
5628 _arg0 = &temp;
5629 if (! wxColour_helper(_obj0, &_arg0))
5630 return NULL;
5631}
5632 if (_obj1)
5633{
5634 _arg1 = &temp0;
5635 if (! wxColour_helper(_obj1, &_arg1))
5636 return NULL;
5637}
5638 if (_argo2) {
5639 if (_argo2 == Py_None) { _arg2 = NULL; }
5640 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5641 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5642 return NULL;
5643 }
5644 }
5645{
4268f798 5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
d56cebe7
RD
5647 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2);
5648
4268f798 5649 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5650 if (PyErr_Occurred()) return NULL;
5651} if (_result) {
5652 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
5653 _resultobj = Py_BuildValue("s",_ptemp);
5654 } else {
5655 Py_INCREF(Py_None);
5656 _resultobj = Py_None;
5657 }
5658 return _resultobj;
5659}
5660
5661#define delete_wxTextAttr(_swigobj) (delete _swigobj)
5662static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject * _resultobj;
5664 wxTextAttr * _arg0;
5665 PyObject * _argo0 = 0;
5666 char *_kwnames[] = { "self", NULL };
5667
5668 self = self;
5669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
5670 return NULL;
5671 if (_argo0) {
5672 if (_argo0 == Py_None) { _arg0 = NULL; }
5673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5675 return NULL;
5676 }
5677 }
5678{
4268f798 5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
d56cebe7
RD
5680 delete_wxTextAttr(_arg0);
5681
4268f798 5682 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5683 if (PyErr_Occurred()) return NULL;
5684} Py_INCREF(Py_None);
5685 _resultobj = Py_None;
5686 return _resultobj;
5687}
5688
5689#define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5690static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5691 PyObject * _resultobj;
5692 wxTextAttr * _arg0;
5693 wxColour * _arg1;
5694 PyObject * _argo0 = 0;
5695 wxColour temp;
5696 PyObject * _obj1 = 0;
5697 char *_kwnames[] = { "self","colText", NULL };
5698
5699 self = self;
5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5701 return NULL;
5702 if (_argo0) {
5703 if (_argo0 == Py_None) { _arg0 = NULL; }
5704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5706 return NULL;
5707 }
5708 }
5709{
5710 _arg1 = &temp;
5711 if (! wxColour_helper(_obj1, &_arg1))
5712 return NULL;
5713}
5714{
4268f798 5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
d56cebe7
RD
5716 wxTextAttr_SetTextColour(_arg0,*_arg1);
5717
4268f798 5718 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5719 if (PyErr_Occurred()) return NULL;
5720} Py_INCREF(Py_None);
5721 _resultobj = Py_None;
5722 return _resultobj;
5723}
5724
5725#define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5726static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5727 PyObject * _resultobj;
5728 wxTextAttr * _arg0;
5729 wxColour * _arg1;
5730 PyObject * _argo0 = 0;
5731 wxColour temp;
5732 PyObject * _obj1 = 0;
5733 char *_kwnames[] = { "self","colBack", NULL };
5734
5735 self = self;
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5737 return NULL;
5738 if (_argo0) {
5739 if (_argo0 == Py_None) { _arg0 = NULL; }
5740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5742 return NULL;
5743 }
5744 }
5745{
5746 _arg1 = &temp;
5747 if (! wxColour_helper(_obj1, &_arg1))
5748 return NULL;
5749}
5750{
4268f798 5751 PyThreadState* __tstate = wxPyBeginAllowThreads();
d56cebe7
RD
5752 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
5753
4268f798 5754 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5755 if (PyErr_Occurred()) return NULL;
5756} Py_INCREF(Py_None);
5757 _resultobj = Py_None;
5758 return _resultobj;
5759}
5760
5761#define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5762static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5763 PyObject * _resultobj;
5764 wxTextAttr * _arg0;
5765 wxFont * _arg1;
5766 PyObject * _argo0 = 0;
5767 PyObject * _argo1 = 0;
5768 char *_kwnames[] = { "self","font", NULL };
5769
5770 self = self;
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
5772 return NULL;
5773 if (_argo0) {
5774 if (_argo0 == Py_None) { _arg0 = NULL; }
5775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5777 return NULL;
5778 }
5779 }
5780 if (_argo1) {
5781 if (_argo1 == Py_None) { _arg1 = NULL; }
5782 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5783 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5784 return NULL;
5785 }
5786 }
5787{
4268f798 5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
d56cebe7
RD
5789 wxTextAttr_SetFont(_arg0,*_arg1);
5790
4268f798 5791 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5792 if (PyErr_Occurred()) return NULL;
5793} Py_INCREF(Py_None);
5794 _resultobj = Py_None;
5795 return _resultobj;
5796}
5797
5798#define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5799static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5800 PyObject * _resultobj;
5801 bool _result;
5802 wxTextAttr * _arg0;
5803 PyObject * _argo0 = 0;
5804 char *_kwnames[] = { "self", NULL };
5805
5806 self = self;
5807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
5808 return NULL;
5809 if (_argo0) {
5810 if (_argo0 == Py_None) { _arg0 = NULL; }
5811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5813 return NULL;
5814 }
5815 }
5816{
4268f798 5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
d56cebe7
RD
5818 _result = (bool )wxTextAttr_HasTextColour(_arg0);
5819
4268f798 5820 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5821 if (PyErr_Occurred()) return NULL;
5822} _resultobj = Py_BuildValue("i",_result);
5823 return _resultobj;
5824}
5825
5826#define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5827static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject * _resultobj;
5829 bool _result;
5830 wxTextAttr * _arg0;
5831 PyObject * _argo0 = 0;
5832 char *_kwnames[] = { "self", NULL };
5833
5834 self = self;
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
5836 return NULL;
5837 if (_argo0) {
5838 if (_argo0 == Py_None) { _arg0 = NULL; }
5839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5841 return NULL;
5842 }
5843 }
5844{
4268f798 5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
d56cebe7
RD
5846 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
5847
4268f798 5848 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5849 if (PyErr_Occurred()) return NULL;
5850} _resultobj = Py_BuildValue("i",_result);
5851 return _resultobj;
5852}
5853
5854#define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5855static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5856 PyObject * _resultobj;
5857 bool _result;
5858 wxTextAttr * _arg0;
5859 PyObject * _argo0 = 0;
5860 char *_kwnames[] = { "self", NULL };
5861
5862 self = self;
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
5864 return NULL;
5865 if (_argo0) {
5866 if (_argo0 == Py_None) { _arg0 = NULL; }
5867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5869 return NULL;
5870 }
5871 }
5872{
4268f798 5873 PyThreadState* __tstate = wxPyBeginAllowThreads();
d56cebe7
RD
5874 _result = (bool )wxTextAttr_HasFont(_arg0);
5875
4268f798 5876 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5877 if (PyErr_Occurred()) return NULL;
5878} _resultobj = Py_BuildValue("i",_result);
5879 return _resultobj;
5880}
5881
5882#define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5883static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5884 PyObject * _resultobj;
5885 wxColour * _result;
5886 wxTextAttr * _arg0;
5887 PyObject * _argo0 = 0;
5888 char *_kwnames[] = { "self", NULL };
5889 char _ptemp[128];
5890
5891 self = self;
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
5893 return NULL;
5894 if (_argo0) {
5895 if (_argo0 == Py_None) { _arg0 = NULL; }
5896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5898 return NULL;
5899 }
5900 }
5901{
4268f798 5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 5903 _result = new wxColour (wxTextAttr_GetTextColour(_arg0));
d56cebe7 5904
4268f798 5905 wxPyEndAllowThreads(__tstate);
d56cebe7 5906 if (PyErr_Occurred()) return NULL;
c5943253
RD
5907} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5908 _resultobj = Py_BuildValue("s",_ptemp);
d56cebe7
RD
5909 return _resultobj;
5910}
5911
5912#define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5913static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5914 PyObject * _resultobj;
5915 wxColour * _result;
5916 wxTextAttr * _arg0;
5917 PyObject * _argo0 = 0;
5918 char *_kwnames[] = { "self", NULL };
5919 char _ptemp[128];
5920
5921 self = self;
5922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
5923 return NULL;
5924 if (_argo0) {
5925 if (_argo0 == Py_None) { _arg0 = NULL; }
5926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5928 return NULL;
5929 }
5930 }
5931{
4268f798 5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 5933 _result = new wxColour (wxTextAttr_GetBackgroundColour(_arg0));
d56cebe7 5934
4268f798 5935 wxPyEndAllowThreads(__tstate);
d56cebe7 5936 if (PyErr_Occurred()) return NULL;
c5943253
RD
5937} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5938 _resultobj = Py_BuildValue("s",_ptemp);
d56cebe7
RD
5939 return _resultobj;
5940}
5941
5942#define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5943static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject * _resultobj;
5945 wxFont * _result;
5946 wxTextAttr * _arg0;
5947 PyObject * _argo0 = 0;
5948 char *_kwnames[] = { "self", NULL };
5949 char _ptemp[128];
5950
5951 self = self;
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
5953 return NULL;
5954 if (_argo0) {
5955 if (_argo0 == Py_None) { _arg0 = NULL; }
5956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5958 return NULL;
5959 }
5960 }
5961{
4268f798 5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 5963 _result = new wxFont (wxTextAttr_GetFont(_arg0));
d56cebe7 5964
4268f798 5965 wxPyEndAllowThreads(__tstate);
d56cebe7 5966 if (PyErr_Occurred()) return NULL;
c5943253
RD
5967} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
5968 _resultobj = Py_BuildValue("s",_ptemp);
d56cebe7
RD
5969 return _resultobj;
5970}
5971
98624b49
RD
5972#define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5973static PyObject *_wrap_wxTextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject * _resultobj;
5975 bool _result;
5976 wxTextAttr * _arg0;
5977 PyObject * _argo0 = 0;
5978 char *_kwnames[] = { "self", NULL };
5979
5980 self = self;
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_IsDefault",_kwnames,&_argo0))
5982 return NULL;
5983 if (_argo0) {
5984 if (_argo0 == Py_None) { _arg0 = NULL; }
5985 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5986 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5987 return NULL;
5988 }
5989 }
5990{
4268f798 5991 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49
RD
5992 _result = (bool )wxTextAttr_IsDefault(_arg0);
5993
4268f798 5994 wxPyEndAllowThreads(__tstate);
98624b49
RD
5995 if (PyErr_Occurred()) return NULL;
5996} _resultobj = Py_BuildValue("i",_result);
5997 return _resultobj;
5998}
5999
2f4e9287
RD
6000static PyObject *_wrap_wxTextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6001 PyObject * _resultobj;
6002 wxTextAttr * _result;
6003 wxTextAttr * _arg0;
6004 wxTextAttr * _arg1;
6005 wxTextCtrl * _arg2;
6006 PyObject * _argo0 = 0;
6007 PyObject * _argo1 = 0;
6008 PyObject * _argo2 = 0;
6009 char *_kwnames[] = { "attr","attrDef","text", NULL };
6010 char _ptemp[128];
6011
6012 self = self;
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTextAttr_Combine",_kwnames,&_argo0,&_argo1,&_argo2))
6014 return NULL;
6015 if (_argo0) {
6016 if (_argo0 == Py_None) { _arg0 = NULL; }
6017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6019 return NULL;
6020 }
6021 }
6022 if (_argo1) {
6023 if (_argo1 == Py_None) { _arg1 = NULL; }
6024 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
6025 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6026 return NULL;
6027 }
6028 }
6029 if (_argo2) {
6030 if (_argo2 == Py_None) { _arg2 = NULL; }
6031 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextCtrl_p")) {
6032 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6033 return NULL;
6034 }
6035 }
6036{
4268f798 6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f4e9287
RD
6038 _result = new wxTextAttr (wxTextAttr::Combine(*_arg0,*_arg1,_arg2));
6039
4268f798 6040 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
6041 if (PyErr_Occurred()) return NULL;
6042} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTextAttr_p");
6043 _resultobj = Py_BuildValue("s",_ptemp);
6044 return _resultobj;
6045}
6046
8ab979d7
RD
6047static void *SwigwxTextCtrlTowxControl(void *ptr) {
6048 wxTextCtrl *src;
6049 wxControl *dest;
6050 src = (wxTextCtrl *) ptr;
6051 dest = (wxControl *) src;
6052 return (void *) dest;
6053}
6054
6055static void *SwigwxTextCtrlTowxWindow(void *ptr) {
6056 wxTextCtrl *src;
6057 wxWindow *dest;
6058 src = (wxTextCtrl *) ptr;
6059 dest = (wxWindow *) src;
6060 return (void *) dest;
6061}
6062
6063static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
6064 wxTextCtrl *src;
6065 wxEvtHandler *dest;
6066 src = (wxTextCtrl *) ptr;
6067 dest = (wxEvtHandler *) src;
6068 return (void *) dest;
6069}
6070
9416aa89
RD
6071static void *SwigwxTextCtrlTowxObject(void *ptr) {
6072 wxTextCtrl *src;
6073 wxObject *dest;
6074 src = (wxTextCtrl *) ptr;
6075 dest = (wxObject *) src;
6076 return (void *) dest;
6077}
6078
8ab979d7 6079#define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 6080static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6081 PyObject * _resultobj;
6082 wxTextCtrl * _result;
6083 wxWindow * _arg0;
6084 wxWindowID _arg1;
1d99702e 6085 char * _arg2 = (char *) "";
e508a2b6
RD
6086 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6087 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 6088 long _arg5 = (long ) 0;
e508a2b6 6089 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
6090 char * _arg7 = (char *) "text";
6091 PyObject * _argo0 = 0;
2f90df85
RD
6092 wxPoint temp;
6093 PyObject * _obj3 = 0;
6094 wxSize temp0;
6095 PyObject * _obj4 = 0;
1d99702e 6096 PyObject * _argo6 = 0;
efc5f224 6097 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
8ab979d7
RD
6098 char _ptemp[128];
6099
6100 self = self;
09f3d4e6
RD
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOlOs:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
6102 return NULL;
6103 if (_argo0) {
6104 if (_argo0 == Py_None) { _arg0 = NULL; }
6105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6107 return NULL;
6108 }
6109 }
6110 if (_obj3)
6111{
6112 _arg3 = &temp;
6113 if (! wxPoint_helper(_obj3, &_arg3))
6114 return NULL;
6115}
6116 if (_obj4)
6117{
6118 _arg4 = &temp0;
6119 if (! wxSize_helper(_obj4, &_arg4))
6120 return NULL;
6121}
6122 if (_argo6) {
6123 if (_argo6 == Py_None) { _arg6 = NULL; }
6124 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6125 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6126 return NULL;
6127 }
6128 }
6129{
4268f798 6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
6131 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
6132
4268f798 6133 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6134 if (PyErr_Occurred()) return NULL;
6135} if (_result) {
6136 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6137 _resultobj = Py_BuildValue("s",_ptemp);
6138 } else {
6139 Py_INCREF(Py_None);
6140 _resultobj = Py_None;
6141 }
6142 return _resultobj;
6143}
6144
6145#define new_wxPreTextCtrl() (new wxTextCtrl())
6146static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6147 PyObject * _resultobj;
6148 wxTextCtrl * _result;
6149 char *_kwnames[] = { NULL };
6150 char _ptemp[128];
6151
6152 self = self;
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
6154 return NULL;
6155{
4268f798 6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
6157 _result = (wxTextCtrl *)new_wxPreTextCtrl();
6158
4268f798 6159 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6160 if (PyErr_Occurred()) return NULL;
6161} if (_result) {
6162 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6163 _resultobj = Py_BuildValue("s",_ptemp);
6164 } else {
6165 Py_INCREF(Py_None);
6166 _resultobj = Py_None;
6167 }
6168 return _resultobj;
6169}
6170
6171#define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6172static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject * _resultobj;
6174 bool _result;
6175 wxTextCtrl * _arg0;
6176 wxWindow * _arg1;
6177 wxWindowID _arg2;
6178 char * _arg3 = (char *) "";
6179 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
6180 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
6181 long _arg6 = (long ) 0;
6182 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
6183 char * _arg8 = (char *) "text";
6184 PyObject * _argo0 = 0;
6185 PyObject * _argo1 = 0;
6186 wxPoint temp;
6187 PyObject * _obj4 = 0;
6188 wxSize temp0;
6189 PyObject * _obj5 = 0;
6190 PyObject * _argo7 = 0;
6191 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
6192
6193 self = self;
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
8ab979d7 6195 return NULL;
1d99702e
RD
6196 if (_argo0) {
6197 if (_argo0 == Py_None) { _arg0 = NULL; }
09f3d4e6
RD
6198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
8ab979d7
RD
6200 return NULL;
6201 }
6202 }
09f3d4e6
RD
6203 if (_argo1) {
6204 if (_argo1 == Py_None) { _arg1 = NULL; }
6205 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6206 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6207 return NULL;
6208 }
6209 }
6210 if (_obj4)
2f90df85 6211{
09f3d4e6
RD
6212 _arg4 = &temp;
6213 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 6214 return NULL;
2f90df85 6215}
09f3d4e6 6216 if (_obj5)
2f90df85 6217{
09f3d4e6
RD
6218 _arg5 = &temp0;
6219 if (! wxSize_helper(_obj5, &_arg5))
8ab979d7 6220 return NULL;
2f90df85 6221}
09f3d4e6
RD
6222 if (_argo7) {
6223 if (_argo7 == Py_None) { _arg7 = NULL; }
6224 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
6225 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
8ab979d7
RD
6226 return NULL;
6227 }
6228 }
cf694132 6229{
4268f798 6230 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6 6231 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
cf694132 6232
4268f798 6233 wxPyEndAllowThreads(__tstate);
493f1553 6234 if (PyErr_Occurred()) return NULL;
09f3d4e6 6235} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6236 return _resultobj;
6237}
6238
98624b49
RD
6239#define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6240static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6241 PyObject * _resultobj;
98624b49 6242 wxString * _result;
8ab979d7 6243 wxTextCtrl * _arg0;
1d99702e 6244 PyObject * _argo0 = 0;
efc5f224 6245 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6246
6247 self = self;
98624b49 6248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
8ab979d7 6249 return NULL;
1d99702e
RD
6250 if (_argo0) {
6251 if (_argo0 == Py_None) { _arg0 = NULL; }
6252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
8ab979d7
RD
6254 return NULL;
6255 }
6256 }
cf694132 6257{
4268f798 6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6259 _result = new wxString (wxTextCtrl_GetValue(_arg0));
cf694132 6260
4268f798 6261 wxPyEndAllowThreads(__tstate);
493f1553 6262 if (PyErr_Occurred()) return NULL;
98624b49
RD
6263}{
6264 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6265}
6266{
6267 delete _result;
6268}
8ab979d7
RD
6269 return _resultobj;
6270}
6271
98624b49
RD
6272#define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6273static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6274 PyObject * _resultobj;
6275 wxTextCtrl * _arg0;
98624b49 6276 wxString * _arg1;
1d99702e 6277 PyObject * _argo0 = 0;
98624b49
RD
6278 PyObject * _obj1 = 0;
6279 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
6280
6281 self = self;
98624b49 6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
8ab979d7 6283 return NULL;
1d99702e
RD
6284 if (_argo0) {
6285 if (_argo0 == Py_None) { _arg0 = NULL; }
6286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
8ab979d7
RD
6288 return NULL;
6289 }
6290 }
98624b49
RD
6291{
6292#if PYTHON_API_VERSION >= 1009
6293 char* tmpPtr; int tmpSize;
6294 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6295 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6296 return NULL;
6297 }
6298 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6299 return NULL;
6300 _arg1 = new wxString(tmpPtr, tmpSize);
6301#else
6302 if (!PyString_Check(_obj1)) {
6303 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6304 return NULL;
6305 }
6306 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6307#endif
6308}
cf694132 6309{
4268f798 6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6311 wxTextCtrl_SetValue(_arg0,*_arg1);
cf694132 6312
4268f798 6313 wxPyEndAllowThreads(__tstate);
493f1553 6314 if (PyErr_Occurred()) return NULL;
cf694132 6315} Py_INCREF(Py_None);
8ab979d7 6316 _resultobj = Py_None;
98624b49
RD
6317{
6318 if (_obj1)
6319 delete _arg1;
6320}
8ab979d7
RD
6321 return _resultobj;
6322}
6323
68320e40
RD
6324#define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6325static PyObject *_wrap_wxTextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6326 PyObject * _resultobj;
6327 wxString * _result;
6328 wxTextCtrl * _arg0;
6329 long _arg1;
6330 long _arg2;
6331 PyObject * _argo0 = 0;
6332 char *_kwnames[] = { "self","from","to", NULL };
6333
6334 self = self;
6335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetRange",_kwnames,&_argo0,&_arg1,&_arg2))
6336 return NULL;
6337 if (_argo0) {
6338 if (_argo0 == Py_None) { _arg0 = NULL; }
6339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6341 return NULL;
6342 }
6343 }
6344{
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 _result = new wxString (wxTextCtrl_GetRange(_arg0,_arg1,_arg2));
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) return NULL;
6350}{
6351 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6352}
6353{
6354 delete _result;
6355}
6356 return _resultobj;
6357}
6358
98624b49
RD
6359#define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6360static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6361 PyObject * _resultobj;
98624b49 6362 int _result;
8ab979d7 6363 wxTextCtrl * _arg0;
98624b49 6364 long _arg1;
1d99702e 6365 PyObject * _argo0 = 0;
98624b49 6366 char *_kwnames[] = { "self","lineNo", NULL };
8ab979d7
RD
6367
6368 self = self;
98624b49 6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
8ab979d7 6370 return NULL;
1d99702e
RD
6371 if (_argo0) {
6372 if (_argo0 == Py_None) { _arg0 = NULL; }
6373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
8ab979d7
RD
6375 return NULL;
6376 }
6377 }
cf694132 6378{
4268f798 6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6380 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
cf694132 6381
4268f798 6382 wxPyEndAllowThreads(__tstate);
493f1553 6383 if (PyErr_Occurred()) return NULL;
98624b49 6384} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6385 return _resultobj;
6386}
6387
98624b49
RD
6388#define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6389static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6390 PyObject * _resultobj;
98624b49 6391 wxString * _result;
8ab979d7 6392 wxTextCtrl * _arg0;
98624b49 6393 long _arg1;
1d99702e 6394 PyObject * _argo0 = 0;
98624b49 6395 char *_kwnames[] = { "self","lineNo", NULL };
8ab979d7
RD
6396
6397 self = self;
98624b49 6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
8ab979d7 6399 return NULL;
1d99702e
RD
6400 if (_argo0) {
6401 if (_argo0 == Py_None) { _arg0 = NULL; }
6402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
8ab979d7
RD
6404 return NULL;
6405 }
6406 }
cf694132 6407{
4268f798 6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6409 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
cf694132 6410
4268f798 6411 wxPyEndAllowThreads(__tstate);
493f1553 6412 if (PyErr_Occurred()) return NULL;
98624b49
RD
6413}{
6414 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6415}
6416{
6417 delete _result;
6418}
8ab979d7
RD
6419 return _resultobj;
6420}
6421
98624b49
RD
6422#define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6423static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6424 PyObject * _resultobj;
98624b49 6425 int _result;
8ab979d7 6426 wxTextCtrl * _arg0;
1d99702e 6427 PyObject * _argo0 = 0;
efc5f224 6428 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6429
6430 self = self;
98624b49 6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
8ab979d7 6432 return NULL;
1d99702e
RD
6433 if (_argo0) {
6434 if (_argo0 == Py_None) { _arg0 = NULL; }
6435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
8ab979d7
RD
6437 return NULL;
6438 }
6439 }
cf694132 6440{
4268f798 6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6442 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
cf694132 6443
4268f798 6444 wxPyEndAllowThreads(__tstate);
493f1553 6445 if (PyErr_Occurred()) return NULL;
98624b49 6446} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6447 return _resultobj;
6448}
6449
98624b49
RD
6450#define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6451static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6452 PyObject * _resultobj;
98624b49 6453 bool _result;
8ab979d7 6454 wxTextCtrl * _arg0;
1d99702e 6455 PyObject * _argo0 = 0;
efc5f224 6456 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6457
6458 self = self;
98624b49 6459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
8ab979d7 6460 return NULL;
1d99702e
RD
6461 if (_argo0) {
6462 if (_argo0 == Py_None) { _arg0 = NULL; }
6463 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
8ab979d7
RD
6465 return NULL;
6466 }
6467 }
cf694132 6468{
4268f798 6469 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6470 _result = (bool )wxTextCtrl_IsModified(_arg0);
cf694132 6471
4268f798 6472 wxPyEndAllowThreads(__tstate);
493f1553 6473 if (PyErr_Occurred()) return NULL;
98624b49 6474} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6475 return _resultobj;
6476}
6477
98624b49
RD
6478#define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6479static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6480 PyObject * _resultobj;
98624b49 6481 bool _result;
8ab979d7 6482 wxTextCtrl * _arg0;
1d99702e 6483 PyObject * _argo0 = 0;
98624b49 6484 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6485
6486 self = self;
98624b49 6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
8ab979d7 6488 return NULL;
1d99702e
RD
6489 if (_argo0) {
6490 if (_argo0 == Py_None) { _arg0 = NULL; }
6491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
8ab979d7
RD
6493 return NULL;
6494 }
6495 }
cf694132 6496{
4268f798 6497 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6498 _result = (bool )wxTextCtrl_IsEditable(_arg0);
cf694132 6499
4268f798 6500 wxPyEndAllowThreads(__tstate);
493f1553 6501 if (PyErr_Occurred()) return NULL;
cf694132 6502} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6503 return _resultobj;
6504}
6505
98624b49
RD
6506#define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6507static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6508 PyObject * _resultobj;
8ab979d7 6509 wxTextCtrl * _arg0;
98624b49
RD
6510 long * _arg1;
6511 long temp;
6512 long * _arg2;
6513 long temp0;
1d99702e 6514 PyObject * _argo0 = 0;
98624b49 6515 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6516
6517 self = self;
98624b49
RD
6518{
6519 _arg1 = &temp;
6520}
6521{
6522 _arg2 = &temp0;
6523}
6524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 6525 return NULL;
1d99702e
RD
6526 if (_argo0) {
6527 if (_argo0 == Py_None) { _arg0 = NULL; }
6528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
8ab979d7
RD
6530 return NULL;
6531 }
6532 }
8ab979d7 6533{
4268f798 6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6535 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
cf694132 6536
4268f798 6537 wxPyEndAllowThreads(__tstate);
493f1553 6538 if (PyErr_Occurred()) return NULL;
98624b49
RD
6539} Py_INCREF(Py_None);
6540 _resultobj = Py_None;
6541{
6542 PyObject *o;
6543 o = PyInt_FromLong((long) (*_arg1));
6544 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
6545}
6546{
98624b49
RD
6547 PyObject *o;
6548 o = PyInt_FromLong((long) (*_arg2));
6549 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
6550}
6551 return _resultobj;
6552}
6553
b78b83ec
RD
6554#define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6555static PyObject *_wrap_wxTextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6556 PyObject * _resultobj;
6557 wxString * _result;
6558 wxTextCtrl * _arg0;
6559 PyObject * _argo0 = 0;
6560 char *_kwnames[] = { "self", NULL };
6561
6562 self = self;
6563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetStringSelection",_kwnames,&_argo0))
6564 return NULL;
6565 if (_argo0) {
6566 if (_argo0 == Py_None) { _arg0 = NULL; }
6567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6569 return NULL;
6570 }
6571 }
6572{
4268f798 6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
b78b83ec
RD
6574 _result = new wxString (wxTextCtrl_GetStringSelection(_arg0));
6575
4268f798 6576 wxPyEndAllowThreads(__tstate);
b78b83ec
RD
6577 if (PyErr_Occurred()) return NULL;
6578}{
6579 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6580}
6581{
6582 delete _result;
6583}
6584 return _resultobj;
6585}
6586
98624b49
RD
6587#define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6588static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6589 PyObject * _resultobj;
8ab979d7 6590 wxTextCtrl * _arg0;
1d99702e 6591 PyObject * _argo0 = 0;
efc5f224 6592 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6593
6594 self = self;
98624b49 6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
8ab979d7 6596 return NULL;
1d99702e
RD
6597 if (_argo0) {
6598 if (_argo0 == Py_None) { _arg0 = NULL; }
6599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
8ab979d7
RD
6601 return NULL;
6602 }
6603 }
cf694132 6604{
4268f798 6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6606 wxTextCtrl_Clear(_arg0);
cf694132 6607
4268f798 6608 wxPyEndAllowThreads(__tstate);
493f1553 6609 if (PyErr_Occurred()) return NULL;
98624b49
RD
6610} Py_INCREF(Py_None);
6611 _resultobj = Py_None;
8ab979d7
RD
6612 return _resultobj;
6613}
6614
98624b49
RD
6615#define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6616static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6617 PyObject * _resultobj;
8ab979d7 6618 wxTextCtrl * _arg0;
98624b49
RD
6619 long _arg1;
6620 long _arg2;
6621 wxString * _arg3;
1d99702e 6622 PyObject * _argo0 = 0;
98624b49
RD
6623 PyObject * _obj3 = 0;
6624 char *_kwnames[] = { "self","from","to","value", NULL };
8ab979d7
RD
6625
6626 self = self;
98624b49 6627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 6628 return NULL;
1d99702e
RD
6629 if (_argo0) {
6630 if (_argo0 == Py_None) { _arg0 = NULL; }
6631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
8ab979d7
RD
6633 return NULL;
6634 }
6635 }
98624b49
RD
6636{
6637#if PYTHON_API_VERSION >= 1009
6638 char* tmpPtr; int tmpSize;
6639 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
6640 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6641 return NULL;
6642 }
6643 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
6644 return NULL;
6645 _arg3 = new wxString(tmpPtr, tmpSize);
6646#else
6647 if (!PyString_Check(_obj3)) {
6648 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6649 return NULL;
6650 }
6651 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
6652#endif
6653}
8ab979d7 6654{
4268f798 6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6656 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
cf694132 6657
4268f798 6658 wxPyEndAllowThreads(__tstate);
493f1553 6659 if (PyErr_Occurred()) return NULL;
98624b49
RD
6660} Py_INCREF(Py_None);
6661 _resultobj = Py_None;
8ab979d7 6662{
98624b49
RD
6663 if (_obj3)
6664 delete _arg3;
8ab979d7
RD
6665}
6666 return _resultobj;
6667}
6668
98624b49
RD
6669#define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6670static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6671 PyObject * _resultobj;
8ab979d7 6672 wxTextCtrl * _arg0;
98624b49
RD
6673 long _arg1;
6674 long _arg2;
1d99702e 6675 PyObject * _argo0 = 0;
98624b49 6676 char *_kwnames[] = { "self","from","to", NULL };
8ab979d7
RD
6677
6678 self = self;
98624b49 6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 6680 return NULL;
1d99702e
RD
6681 if (_argo0) {
6682 if (_argo0 == Py_None) { _arg0 = NULL; }
6683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
8ab979d7
RD
6685 return NULL;
6686 }
6687 }
cf694132 6688{
4268f798 6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6690 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
cf694132 6691
4268f798 6692 wxPyEndAllowThreads(__tstate);
493f1553 6693 if (PyErr_Occurred()) return NULL;
98624b49
RD
6694} Py_INCREF(Py_None);
6695 _resultobj = Py_None;
8ab979d7
RD
6696 return _resultobj;
6697}
6698
6699#define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
efc5f224 6700static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6701 PyObject * _resultobj;
6702 bool _result;
6703 wxTextCtrl * _arg0;
6704 wxString * _arg1;
1d99702e 6705 PyObject * _argo0 = 0;
8ab979d7 6706 PyObject * _obj1 = 0;
98624b49 6707 char *_kwnames[] = { "self","file", NULL };
8ab979d7
RD
6708
6709 self = self;
efc5f224 6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
8ab979d7 6711 return NULL;
1d99702e
RD
6712 if (_argo0) {
6713 if (_argo0 == Py_None) { _arg0 = NULL; }
6714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8ab979d7
RD
6715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6716 return NULL;
6717 }
6718 }
6719{
185d7c3e
RD
6720#if PYTHON_API_VERSION >= 1009
6721 char* tmpPtr; int tmpSize;
6722 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 6723 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
6724 return NULL;
6725 }
6726 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6727 return NULL;
6728 _arg1 = new wxString(tmpPtr, tmpSize);
6729#else
8ab979d7
RD
6730 if (!PyString_Check(_obj1)) {
6731 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6732 return NULL;
6733 }
185d7c3e
RD
6734 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6735#endif
8ab979d7 6736}
cf694132 6737{
4268f798 6738 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
6739 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
6740
4268f798 6741 wxPyEndAllowThreads(__tstate);
493f1553 6742 if (PyErr_Occurred()) return NULL;
cf694132 6743} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
6744{
6745 if (_obj1)
6746 delete _arg1;
6747}
6748 return _resultobj;
6749}
6750
98624b49
RD
6751#define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6752static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6753 PyObject * _resultobj;
98624b49 6754 bool _result;
8ab979d7 6755 wxTextCtrl * _arg0;
98624b49 6756 wxString * _arg1 = (wxString *) &wxEmptyString;
1d99702e 6757 PyObject * _argo0 = 0;
98624b49
RD
6758 PyObject * _obj1 = 0;
6759 char *_kwnames[] = { "self","file", NULL };
8ab979d7
RD
6760
6761 self = self;
98624b49 6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
8ab979d7 6763 return NULL;
1d99702e
RD
6764 if (_argo0) {
6765 if (_argo0 == Py_None) { _arg0 = NULL; }
6766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
8ab979d7
RD
6768 return NULL;
6769 }
6770 }
98624b49
RD
6771 if (_obj1)
6772{
6773#if PYTHON_API_VERSION >= 1009
6774 char* tmpPtr; int tmpSize;
6775 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6776 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6777 return NULL;
6778 }
6779 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6780 return NULL;
6781 _arg1 = new wxString(tmpPtr, tmpSize);
6782#else
6783 if (!PyString_Check(_obj1)) {
6784 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6785 return NULL;
6786 }
6787 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6788#endif
6789}
cf694132 6790{
4268f798 6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6792 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
cf694132 6793
4268f798 6794 wxPyEndAllowThreads(__tstate);
493f1553 6795 if (PyErr_Occurred()) return NULL;
98624b49
RD
6796} _resultobj = Py_BuildValue("i",_result);
6797{
6798 if (_obj1)
6799 delete _arg1;
6800}
8ab979d7
RD
6801 return _resultobj;
6802}
6803
98624b49
RD
6804#define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6805static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6806 PyObject * _resultobj;
6807 wxTextCtrl * _arg0;
1d99702e 6808 PyObject * _argo0 = 0;
98624b49 6809 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6810
6811 self = self;
98624b49 6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
8ab979d7 6813 return NULL;
1d99702e
RD
6814 if (_argo0) {
6815 if (_argo0 == Py_None) { _arg0 = NULL; }
6816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
8ab979d7
RD
6818 return NULL;
6819 }
6820 }
cf694132 6821{
4268f798 6822 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6823 wxTextCtrl_DiscardEdits(_arg0);
cf694132 6824
4268f798 6825 wxPyEndAllowThreads(__tstate);
493f1553 6826 if (PyErr_Occurred()) return NULL;
cf694132 6827} Py_INCREF(Py_None);
8ab979d7 6828 _resultobj = Py_None;
8ab979d7
RD
6829 return _resultobj;
6830}
6831
98624b49
RD
6832#define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6833static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6834 PyObject * _resultobj;
6835 wxTextCtrl * _arg0;
98624b49 6836 unsigned long _arg1;
1d99702e 6837 PyObject * _argo0 = 0;
98624b49 6838 char *_kwnames[] = { "self","len", NULL };
8ab979d7
RD
6839
6840 self = self;
98624b49 6841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
8ab979d7 6842 return NULL;
1d99702e
RD
6843 if (_argo0) {
6844 if (_argo0 == Py_None) { _arg0 = NULL; }
6845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
8ab979d7
RD
6847 return NULL;
6848 }
6849 }
cf694132 6850{
4268f798 6851 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6852 wxTextCtrl_SetMaxLength(_arg0,_arg1);
cf694132 6853
4268f798 6854 wxPyEndAllowThreads(__tstate);
493f1553 6855 if (PyErr_Occurred()) return NULL;
cf694132 6856} Py_INCREF(Py_None);
8ab979d7
RD
6857 _resultobj = Py_None;
6858 return _resultobj;
6859}
6860
98624b49
RD
6861#define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6862static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6863 PyObject * _resultobj;
6864 wxTextCtrl * _arg0;
98624b49 6865 wxString * _arg1;
1d99702e 6866 PyObject * _argo0 = 0;
98624b49
RD
6867 PyObject * _obj1 = 0;
6868 char *_kwnames[] = { "self","text", NULL };
8ab979d7
RD
6869
6870 self = self;
98624b49 6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
8ab979d7 6872 return NULL;
1d99702e
RD
6873 if (_argo0) {
6874 if (_argo0 == Py_None) { _arg0 = NULL; }
6875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
8ab979d7
RD
6877 return NULL;
6878 }
6879 }
6880{
185d7c3e
RD
6881#if PYTHON_API_VERSION >= 1009
6882 char* tmpPtr; int tmpSize;
98624b49 6883 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 6884 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
6885 return NULL;
6886 }
98624b49 6887 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
185d7c3e 6888 return NULL;
98624b49 6889 _arg1 = new wxString(tmpPtr, tmpSize);
185d7c3e 6890#else
98624b49 6891 if (!PyString_Check(_obj1)) {
8ab979d7
RD
6892 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6893 return NULL;
6894 }
98624b49 6895 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
185d7c3e 6896#endif
8ab979d7 6897}
cf694132 6898{
4268f798 6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6900 wxTextCtrl_WriteText(_arg0,*_arg1);
cf694132 6901
4268f798 6902 wxPyEndAllowThreads(__tstate);
493f1553 6903 if (PyErr_Occurred()) return NULL;
cf694132 6904} Py_INCREF(Py_None);
8ab979d7
RD
6905 _resultobj = Py_None;
6906{
98624b49
RD
6907 if (_obj1)
6908 delete _arg1;
8ab979d7
RD
6909}
6910 return _resultobj;
6911}
6912
98624b49
RD
6913#define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6914static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6915 PyObject * _resultobj;
8ab979d7
RD
6916 wxTextCtrl * _arg0;
6917 wxString * _arg1;
1d99702e 6918 PyObject * _argo0 = 0;
8ab979d7 6919 PyObject * _obj1 = 0;
98624b49 6920 char *_kwnames[] = { "self","text", NULL };
8ab979d7
RD
6921
6922 self = self;
98624b49 6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
8ab979d7 6924 return NULL;
1d99702e
RD
6925 if (_argo0) {
6926 if (_argo0 == Py_None) { _arg0 = NULL; }
6927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
8ab979d7
RD
6929 return NULL;
6930 }
6931 }
6932{
185d7c3e
RD
6933#if PYTHON_API_VERSION >= 1009
6934 char* tmpPtr; int tmpSize;
6935 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 6936 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
6937 return NULL;
6938 }
6939 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6940 return NULL;
6941 _arg1 = new wxString(tmpPtr, tmpSize);
6942#else
8ab979d7
RD
6943 if (!PyString_Check(_obj1)) {
6944 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6945 return NULL;
6946 }
185d7c3e
RD
6947 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6948#endif
8ab979d7 6949}
cf694132 6950{
4268f798 6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6952 wxTextCtrl_AppendText(_arg0,*_arg1);
cf694132 6953
4268f798 6954 wxPyEndAllowThreads(__tstate);
493f1553 6955 if (PyErr_Occurred()) return NULL;
98624b49
RD
6956} Py_INCREF(Py_None);
6957 _resultobj = Py_None;
8ab979d7
RD
6958{
6959 if (_obj1)
6960 delete _arg1;
6961}
6962 return _resultobj;
6963}
6964
98624b49
RD
6965#define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6966static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6967 PyObject * _resultobj;
98624b49 6968 bool _result;
8ab979d7 6969 wxTextCtrl * _arg0;
98624b49
RD
6970 long _arg1;
6971 long _arg2;
6972 wxTextAttr * _arg3;
1d99702e 6973 PyObject * _argo0 = 0;
98624b49
RD
6974 PyObject * _argo3 = 0;
6975 char *_kwnames[] = { "self","start","end","style", NULL };
8ab979d7
RD
6976
6977 self = self;
98624b49 6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
8ab979d7 6979 return NULL;
1d99702e
RD
6980 if (_argo0) {
6981 if (_argo0 == Py_None) { _arg0 = NULL; }
6982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49
RD
6983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6984 return NULL;
6985 }
6986 }
6987 if (_argo3) {
6988 if (_argo3 == Py_None) { _arg3 = NULL; }
6989 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
6990 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
8ab979d7
RD
6991 return NULL;
6992 }
6993 }
cf694132 6994{
4268f798 6995 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 6996 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
cf694132 6997
4268f798 6998 wxPyEndAllowThreads(__tstate);
493f1553 6999 if (PyErr_Occurred()) return NULL;
98624b49 7000} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7001 return _resultobj;
7002}
7003
98624b49
RD
7004#define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7005static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7006 PyObject * _resultobj;
98624b49 7007 bool _result;
8ab979d7 7008 wxTextCtrl * _arg0;
98624b49 7009 wxTextAttr * _arg1;
1d99702e 7010 PyObject * _argo0 = 0;
98624b49
RD
7011 PyObject * _argo1 = 0;
7012 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
7013
7014 self = self;
98624b49 7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
8ab979d7 7016 return NULL;
1d99702e
RD
7017 if (_argo0) {
7018 if (_argo0 == Py_None) { _arg0 = NULL; }
7019 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49
RD
7020 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7021 return NULL;
7022 }
7023 }
7024 if (_argo1) {
7025 if (_argo1 == Py_None) { _arg1 = NULL; }
7026 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
7027 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
8ab979d7
RD
7028 return NULL;
7029 }
7030 }
cf694132 7031{
4268f798 7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7033 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
cf694132 7034
4268f798 7035 wxPyEndAllowThreads(__tstate);
493f1553 7036 if (PyErr_Occurred()) return NULL;
98624b49 7037} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7038 return _resultobj;
7039}
7040
98624b49
RD
7041#define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7042static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7043 PyObject * _resultobj;
98624b49 7044 wxTextAttr * _result;
8ab979d7 7045 wxTextCtrl * _arg0;
1d99702e 7046 PyObject * _argo0 = 0;
efc5f224 7047 char *_kwnames[] = { "self", NULL };
98624b49 7048 char _ptemp[128];
8ab979d7
RD
7049
7050 self = self;
98624b49 7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
8ab979d7 7052 return NULL;
1d99702e
RD
7053 if (_argo0) {
7054 if (_argo0 == Py_None) { _arg0 = NULL; }
7055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
8ab979d7
RD
7057 return NULL;
7058 }
7059 }
cf694132 7060{
4268f798 7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49
RD
7062 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
7063 _result = (wxTextAttr *) &_result_ref;
cf694132 7064
4268f798 7065 wxPyEndAllowThreads(__tstate);
493f1553 7066 if (PyErr_Occurred()) return NULL;
98624b49
RD
7067} if (_result) {
7068 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
7069 _resultobj = Py_BuildValue("s",_ptemp);
7070 } else {
7071 Py_INCREF(Py_None);
7072 _resultobj = Py_None;
7073 }
8ab979d7
RD
7074 return _resultobj;
7075}
7076
98624b49
RD
7077#define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7078static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7079 PyObject * _resultobj;
98624b49 7080 long _result;
8ab979d7
RD
7081 wxTextCtrl * _arg0;
7082 long _arg1;
7083 long _arg2;
1d99702e 7084 PyObject * _argo0 = 0;
98624b49 7085 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7086
7087 self = self;
98624b49 7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7089 return NULL;
1d99702e
RD
7090 if (_argo0) {
7091 if (_argo0 == Py_None) { _arg0 = NULL; }
7092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
8ab979d7
RD
7094 return NULL;
7095 }
7096 }
cf694132 7097{
4268f798 7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7099 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
cf694132 7100
4268f798 7101 wxPyEndAllowThreads(__tstate);
493f1553 7102 if (PyErr_Occurred()) return NULL;
98624b49 7103} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7104 return _resultobj;
7105}
7106
98624b49
RD
7107#define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7108static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7109 PyObject * _resultobj;
7110 wxTextCtrl * _arg0;
98624b49
RD
7111 long _arg1;
7112 long * _arg2;
7113 long temp;
7114 long * _arg3;
7115 long temp0;
1d99702e 7116 PyObject * _argo0 = 0;
98624b49 7117 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
7118
7119 self = self;
98624b49
RD
7120{
7121 _arg2 = &temp;
7122}
7123{
7124 _arg3 = &temp0;
7125}
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
8ab979d7 7127 return NULL;
1d99702e
RD
7128 if (_argo0) {
7129 if (_argo0 == Py_None) { _arg0 = NULL; }
7130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
8ab979d7
RD
7132 return NULL;
7133 }
7134 }
cf694132 7135{
4268f798 7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
68320e40 7137 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
cf694132 7138
4268f798 7139 wxPyEndAllowThreads(__tstate);
493f1553 7140 if (PyErr_Occurred()) return NULL;
68320e40
RD
7141} Py_INCREF(Py_None);
7142 _resultobj = Py_None;
8ab979d7 7143{
98624b49
RD
7144 PyObject *o;
7145 o = PyInt_FromLong((long) (*_arg2));
7146 _resultobj = t_output_helper(_resultobj, o);
7147}
7148{
7149 PyObject *o;
7150 o = PyInt_FromLong((long) (*_arg3));
7151 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7152}
7153 return _resultobj;
7154}
7155
7156#define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
efc5f224 7157static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7158 PyObject * _resultobj;
7159 wxTextCtrl * _arg0;
7160 long _arg1;
1d99702e 7161 PyObject * _argo0 = 0;
efc5f224 7162 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
7163
7164 self = self;
efc5f224 7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 7166 return NULL;
1d99702e
RD
7167 if (_argo0) {
7168 if (_argo0 == Py_None) { _arg0 = NULL; }
7169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8ab979d7
RD
7170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7171 return NULL;
7172 }
7173 }
cf694132 7174{
4268f798 7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7176 wxTextCtrl_ShowPosition(_arg0,_arg1);
7177
4268f798 7178 wxPyEndAllowThreads(__tstate);
493f1553 7179 if (PyErr_Occurred()) return NULL;
cf694132 7180} Py_INCREF(Py_None);
8ab979d7
RD
7181 _resultobj = Py_None;
7182 return _resultobj;
7183}
7184
98624b49
RD
7185#define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7186static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7187 PyObject * _resultobj;
7188 wxTextCtrl * _arg0;
1d99702e 7189 PyObject * _argo0 = 0;
98624b49 7190 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7191
7192 self = self;
98624b49 7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
8ab979d7 7194 return NULL;
1d99702e
RD
7195 if (_argo0) {
7196 if (_argo0 == Py_None) { _arg0 = NULL; }
7197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
8ab979d7
RD
7199 return NULL;
7200 }
7201 }
cf694132 7202{
4268f798 7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7204 wxTextCtrl_Copy(_arg0);
cf694132 7205
4268f798 7206 wxPyEndAllowThreads(__tstate);
493f1553 7207 if (PyErr_Occurred()) return NULL;
cf694132
RD
7208} Py_INCREF(Py_None);
7209 _resultobj = Py_None;
cf694132
RD
7210 return _resultobj;
7211}
7212
98624b49
RD
7213#define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7214static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7215 PyObject * _resultobj;
7216 wxTextCtrl * _arg0;
1d99702e 7217 PyObject * _argo0 = 0;
98624b49 7218 char *_kwnames[] = { "self", NULL };
cf694132
RD
7219
7220 self = self;
98624b49 7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
cf694132 7222 return NULL;
1d99702e
RD
7223 if (_argo0) {
7224 if (_argo0 == Py_None) { _arg0 = NULL; }
7225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
cf694132
RD
7227 return NULL;
7228 }
7229 }
cf694132 7230{
4268f798 7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7232 wxTextCtrl_Cut(_arg0);
cf694132 7233
4268f798 7234 wxPyEndAllowThreads(__tstate);
493f1553 7235 if (PyErr_Occurred()) return NULL;
cf694132 7236} Py_INCREF(Py_None);
8ab979d7 7237 _resultobj = Py_None;
8ab979d7
RD
7238 return _resultobj;
7239}
7240
98624b49
RD
7241#define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7242static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7243 PyObject * _resultobj;
8ab979d7 7244 wxTextCtrl * _arg0;
1d99702e 7245 PyObject * _argo0 = 0;
98624b49 7246 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7247
7248 self = self;
98624b49 7249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
8ab979d7 7250 return NULL;
1d99702e
RD
7251 if (_argo0) {
7252 if (_argo0 == Py_None) { _arg0 = NULL; }
7253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
8ab979d7
RD
7255 return NULL;
7256 }
7257 }
cf694132 7258{
4268f798 7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7260 wxTextCtrl_Paste(_arg0);
cf694132 7261
4268f798 7262 wxPyEndAllowThreads(__tstate);
493f1553 7263 if (PyErr_Occurred()) return NULL;
98624b49
RD
7264} Py_INCREF(Py_None);
7265 _resultobj = Py_None;
8ab979d7
RD
7266 return _resultobj;
7267}
7268
c127177f 7269#define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
efc5f224 7270static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7271 PyObject * _resultobj;
7272 bool _result;
7273 wxTextCtrl * _arg0;
1d99702e 7274 PyObject * _argo0 = 0;
efc5f224 7275 char *_kwnames[] = { "self", NULL };
c127177f
RD
7276
7277 self = self;
efc5f224 7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
c127177f 7279 return NULL;
1d99702e
RD
7280 if (_argo0) {
7281 if (_argo0 == Py_None) { _arg0 = NULL; }
7282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
c127177f
RD
7283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7284 return NULL;
7285 }
7286 }
7287{
4268f798 7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
c127177f
RD
7289 _result = (bool )wxTextCtrl_CanCopy(_arg0);
7290
4268f798 7291 wxPyEndAllowThreads(__tstate);
493f1553 7292 if (PyErr_Occurred()) return NULL;
c127177f
RD
7293} _resultobj = Py_BuildValue("i",_result);
7294 return _resultobj;
7295}
7296
7297#define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
efc5f224 7298static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7299 PyObject * _resultobj;
7300 bool _result;
7301 wxTextCtrl * _arg0;
1d99702e 7302 PyObject * _argo0 = 0;
efc5f224 7303 char *_kwnames[] = { "self", NULL };
c127177f
RD
7304
7305 self = self;
efc5f224 7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
c127177f 7307 return NULL;
1d99702e
RD
7308 if (_argo0) {
7309 if (_argo0 == Py_None) { _arg0 = NULL; }
7310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
c127177f
RD
7311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7312 return NULL;
7313 }
7314 }
7315{
4268f798 7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
c127177f
RD
7317 _result = (bool )wxTextCtrl_CanCut(_arg0);
7318
4268f798 7319 wxPyEndAllowThreads(__tstate);
493f1553 7320 if (PyErr_Occurred()) return NULL;
c127177f
RD
7321} _resultobj = Py_BuildValue("i",_result);
7322 return _resultobj;
7323}
7324
7325#define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
efc5f224 7326static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7327 PyObject * _resultobj;
7328 bool _result;
7329 wxTextCtrl * _arg0;
1d99702e 7330 PyObject * _argo0 = 0;
efc5f224 7331 char *_kwnames[] = { "self", NULL };
c127177f
RD
7332
7333 self = self;
efc5f224 7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
c127177f 7335 return NULL;
1d99702e
RD
7336 if (_argo0) {
7337 if (_argo0 == Py_None) { _arg0 = NULL; }
7338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
c127177f
RD
7339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7340 return NULL;
7341 }
7342 }
7343{
4268f798 7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
c127177f
RD
7345 _result = (bool )wxTextCtrl_CanPaste(_arg0);
7346
4268f798 7347 wxPyEndAllowThreads(__tstate);
493f1553 7348 if (PyErr_Occurred()) return NULL;
c127177f
RD
7349} _resultobj = Py_BuildValue("i",_result);
7350 return _resultobj;
7351}
7352
98624b49
RD
7353#define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7354static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f 7355 PyObject * _resultobj;
c127177f 7356 wxTextCtrl * _arg0;
1d99702e 7357 PyObject * _argo0 = 0;
efc5f224 7358 char *_kwnames[] = { "self", NULL };
c127177f
RD
7359
7360 self = self;
98624b49 7361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
c127177f 7362 return NULL;
1d99702e
RD
7363 if (_argo0) {
7364 if (_argo0 == Py_None) { _arg0 = NULL; }
7365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
c127177f
RD
7367 return NULL;
7368 }
7369 }
7370{
4268f798 7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7372 wxTextCtrl_Undo(_arg0);
c127177f 7373
4268f798 7374 wxPyEndAllowThreads(__tstate);
493f1553 7375 if (PyErr_Occurred()) return NULL;
98624b49
RD
7376} Py_INCREF(Py_None);
7377 _resultobj = Py_None;
c127177f
RD
7378 return _resultobj;
7379}
7380
98624b49
RD
7381#define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7382static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f 7383 PyObject * _resultobj;
c127177f 7384 wxTextCtrl * _arg0;
1d99702e 7385 PyObject * _argo0 = 0;
efc5f224 7386 char *_kwnames[] = { "self", NULL };
c127177f
RD
7387
7388 self = self;
98624b49 7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
c127177f 7390 return NULL;
1d99702e
RD
7391 if (_argo0) {
7392 if (_argo0 == Py_None) { _arg0 = NULL; }
7393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
c127177f
RD
7395 return NULL;
7396 }
7397 }
7398{
4268f798 7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7400 wxTextCtrl_Redo(_arg0);
c127177f 7401
4268f798 7402 wxPyEndAllowThreads(__tstate);
493f1553 7403 if (PyErr_Occurred()) return NULL;
98624b49
RD
7404} Py_INCREF(Py_None);
7405 _resultobj = Py_None;
c127177f
RD
7406 return _resultobj;
7407}
7408
98624b49
RD
7409#define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7410static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f 7411 PyObject * _resultobj;
98624b49 7412 bool _result;
c127177f 7413 wxTextCtrl * _arg0;
1d99702e 7414 PyObject * _argo0 = 0;
efc5f224 7415 char *_kwnames[] = { "self", NULL };
c127177f
RD
7416
7417 self = self;
98624b49 7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
c127177f 7419 return NULL;
1d99702e
RD
7420 if (_argo0) {
7421 if (_argo0 == Py_None) { _arg0 = NULL; }
7422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
c127177f
RD
7424 return NULL;
7425 }
7426 }
7427{
4268f798 7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7429 _result = (bool )wxTextCtrl_CanUndo(_arg0);
c127177f 7430
4268f798 7431 wxPyEndAllowThreads(__tstate);
493f1553 7432 if (PyErr_Occurred()) return NULL;
98624b49 7433} _resultobj = Py_BuildValue("i",_result);
c127177f
RD
7434 return _resultobj;
7435}
7436
98624b49
RD
7437#define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7438static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7439 PyObject * _resultobj;
7440 bool _result;
7441 wxTextCtrl * _arg0;
1d99702e 7442 PyObject * _argo0 = 0;
efc5f224 7443 char *_kwnames[] = { "self", NULL };
c127177f
RD
7444
7445 self = self;
98624b49 7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
c127177f 7447 return NULL;
1d99702e
RD
7448 if (_argo0) {
7449 if (_argo0 == Py_None) { _arg0 = NULL; }
7450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
c127177f
RD
7452 return NULL;
7453 }
7454 }
7455{
4268f798 7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7457 _result = (bool )wxTextCtrl_CanRedo(_arg0);
c127177f 7458
4268f798 7459 wxPyEndAllowThreads(__tstate);
493f1553 7460 if (PyErr_Occurred()) return NULL;
c127177f
RD
7461} _resultobj = Py_BuildValue("i",_result);
7462 return _resultobj;
7463}
7464
98624b49
RD
7465#define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7466static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
b1462dfa
RD
7467 PyObject * _resultobj;
7468 wxTextCtrl * _arg0;
98624b49 7469 long _arg1;
b1462dfa 7470 PyObject * _argo0 = 0;
98624b49 7471 char *_kwnames[] = { "self","pos", NULL };
b1462dfa
RD
7472
7473 self = self;
98624b49 7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
b1462dfa
RD
7475 return NULL;
7476 if (_argo0) {
7477 if (_argo0 == Py_None) { _arg0 = NULL; }
7478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
b1462dfa
RD
7480 return NULL;
7481 }
7482 }
7483{
4268f798 7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7485 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
b1462dfa 7486
4268f798 7487 wxPyEndAllowThreads(__tstate);
493f1553 7488 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7489} Py_INCREF(Py_None);
7490 _resultobj = Py_None;
7491 return _resultobj;
7492}
7493
98624b49
RD
7494#define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7495static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
b1462dfa
RD
7496 PyObject * _resultobj;
7497 wxTextCtrl * _arg0;
7498 PyObject * _argo0 = 0;
7499 char *_kwnames[] = { "self", NULL };
7500
7501 self = self;
98624b49 7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
b1462dfa
RD
7503 return NULL;
7504 if (_argo0) {
7505 if (_argo0 == Py_None) { _arg0 = NULL; }
7506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
b1462dfa
RD
7508 return NULL;
7509 }
7510 }
7511{
4268f798 7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7513 wxTextCtrl_SetInsertionPointEnd(_arg0);
b1462dfa 7514
4268f798 7515 wxPyEndAllowThreads(__tstate);
493f1553 7516 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7517} Py_INCREF(Py_None);
7518 _resultobj = Py_None;
7519 return _resultobj;
7520}
7521
98624b49
RD
7522#define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7523static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d56cebe7 7524 PyObject * _resultobj;
98624b49 7525 long _result;
d56cebe7 7526 wxTextCtrl * _arg0;
d56cebe7 7527 PyObject * _argo0 = 0;
98624b49 7528 char *_kwnames[] = { "self", NULL };
d56cebe7
RD
7529
7530 self = self;
98624b49 7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
d56cebe7
RD
7532 return NULL;
7533 if (_argo0) {
7534 if (_argo0 == Py_None) { _arg0 = NULL; }
7535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
d56cebe7
RD
7537 return NULL;
7538 }
7539 }
7540{
4268f798 7541 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7542 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
d56cebe7 7543
4268f798 7544 wxPyEndAllowThreads(__tstate);
d56cebe7 7545 if (PyErr_Occurred()) return NULL;
98624b49 7546} _resultobj = Py_BuildValue("l",_result);
d56cebe7
RD
7547 return _resultobj;
7548}
7549
98624b49
RD
7550#define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7551static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d56cebe7 7552 PyObject * _resultobj;
98624b49 7553 long _result;
d56cebe7 7554 wxTextCtrl * _arg0;
d56cebe7 7555 PyObject * _argo0 = 0;
98624b49 7556 char *_kwnames[] = { "self", NULL };
d56cebe7
RD
7557
7558 self = self;
98624b49 7559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
d56cebe7
RD
7560 return NULL;
7561 if (_argo0) {
7562 if (_argo0 == Py_None) { _arg0 = NULL; }
7563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
d56cebe7
RD
7565 return NULL;
7566 }
7567 }
98624b49 7568{
4268f798 7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49
RD
7570 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
7571
4268f798 7572 wxPyEndAllowThreads(__tstate);
98624b49
RD
7573 if (PyErr_Occurred()) return NULL;
7574} _resultobj = Py_BuildValue("l",_result);
7575 return _resultobj;
7576}
7577
7578#define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7579static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7580 PyObject * _resultobj;
7581 wxTextCtrl * _arg0;
7582 long _arg1;
7583 long _arg2;
7584 PyObject * _argo0 = 0;
7585 char *_kwnames[] = { "self","from","to", NULL };
7586
7587 self = self;
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
7589 return NULL;
7590 if (_argo0) {
7591 if (_argo0 == Py_None) { _arg0 = NULL; }
7592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
d56cebe7
RD
7594 return NULL;
7595 }
7596 }
7597{
4268f798 7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7599 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
d56cebe7 7600
4268f798 7601 wxPyEndAllowThreads(__tstate);
d56cebe7 7602 if (PyErr_Occurred()) return NULL;
98624b49
RD
7603} Py_INCREF(Py_None);
7604 _resultobj = Py_None;
d56cebe7
RD
7605 return _resultobj;
7606}
7607
98624b49
RD
7608#define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7609static PyObject *_wrap_wxTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
d56cebe7 7610 PyObject * _resultobj;
d56cebe7
RD
7611 wxTextCtrl * _arg0;
7612 PyObject * _argo0 = 0;
7613 char *_kwnames[] = { "self", NULL };
d56cebe7
RD
7614
7615 self = self;
98624b49 7616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SelectAll",_kwnames,&_argo0))
d56cebe7
RD
7617 return NULL;
7618 if (_argo0) {
7619 if (_argo0 == Py_None) { _arg0 = NULL; }
7620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
d56cebe7
RD
7622 return NULL;
7623 }
7624 }
7625{
4268f798 7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7627 wxTextCtrl_SelectAll(_arg0);
d56cebe7 7628
4268f798 7629 wxPyEndAllowThreads(__tstate);
d56cebe7 7630 if (PyErr_Occurred()) return NULL;
98624b49
RD
7631} Py_INCREF(Py_None);
7632 _resultobj = Py_None;
d56cebe7
RD
7633 return _resultobj;
7634}
7635
98624b49
RD
7636#define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7637static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
00b6c4e3
RD
7638 PyObject * _resultobj;
7639 wxTextCtrl * _arg0;
98624b49 7640 bool _arg1;
00b6c4e3 7641 PyObject * _argo0 = 0;
98624b49
RD
7642 int tempbool1;
7643 char *_kwnames[] = { "self","editable", NULL };
00b6c4e3
RD
7644
7645 self = self;
98624b49 7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
00b6c4e3
RD
7647 return NULL;
7648 if (_argo0) {
7649 if (_argo0 == Py_None) { _arg0 = NULL; }
7650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
00b6c4e3
RD
7652 return NULL;
7653 }
7654 }
98624b49 7655 _arg1 = (bool ) tempbool1;
00b6c4e3 7656{
4268f798 7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
98624b49 7658 wxTextCtrl_SetEditable(_arg0,_arg1);
00b6c4e3 7659
4268f798 7660 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
7661 if (PyErr_Occurred()) return NULL;
7662} Py_INCREF(Py_None);
7663 _resultobj = Py_None;
7664 return _resultobj;
7665}
7666
b1462dfa 7667static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
d56cebe7 7668 self->AppendText(text);
b1462dfa
RD
7669 }
7670static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7671 PyObject * _resultobj;
7672 wxTextCtrl * _arg0;
7673 wxString * _arg1;
7674 PyObject * _argo0 = 0;
7675 PyObject * _obj1 = 0;
7676 char *_kwnames[] = { "self","text", NULL };
7677
7678 self = self;
7679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
7680 return NULL;
7681 if (_argo0) {
7682 if (_argo0 == Py_None) { _arg0 = NULL; }
7683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7685 return NULL;
7686 }
7687 }
7688{
185d7c3e
RD
7689#if PYTHON_API_VERSION >= 1009
7690 char* tmpPtr; int tmpSize;
7691 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 7692 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
7693 return NULL;
7694 }
7695 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7696 return NULL;
7697 _arg1 = new wxString(tmpPtr, tmpSize);
7698#else
b1462dfa
RD
7699 if (!PyString_Check(_obj1)) {
7700 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7701 return NULL;
7702 }
185d7c3e
RD
7703 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7704#endif
b1462dfa
RD
7705}
7706{
4268f798 7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
b1462dfa
RD
7708 wxTextCtrl_write(_arg0,*_arg1);
7709
4268f798 7710 wxPyEndAllowThreads(__tstate);
493f1553 7711 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
7712} Py_INCREF(Py_None);
7713 _resultobj = Py_None;
7714{
7715 if (_obj1)
7716 delete _arg1;
7717}
7718 return _resultobj;
7719}
7720
2f4e9287
RD
7721static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to) {
7722 return self->GetValue().Mid(from, to-from);
7723 }
7724static PyObject *_wrap_wxTextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7725 PyObject * _resultobj;
7726 wxString * _result;
7727 wxTextCtrl * _arg0;
7728 long _arg1;
7729 long _arg2;
7730 PyObject * _argo0 = 0;
7731 char *_kwnames[] = { "self","from","to", NULL };
7732
7733 self = self;
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetString",_kwnames,&_argo0,&_arg1,&_arg2))
7735 return NULL;
7736 if (_argo0) {
7737 if (_argo0 == Py_None) { _arg0 = NULL; }
7738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7740 return NULL;
7741 }
7742 }
7743{
4268f798 7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
2f4e9287
RD
7745 _result = new wxString (wxTextCtrl_GetString(_arg0,_arg1,_arg2));
7746
4268f798 7747 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
7748 if (PyErr_Occurred()) return NULL;
7749}{
7750 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7751}
7752{
7753 delete _result;
7754}
7755 return _resultobj;
7756}
7757
8ab979d7
RD
7758static void *SwigwxScrollBarTowxControl(void *ptr) {
7759 wxScrollBar *src;
7760 wxControl *dest;
7761 src = (wxScrollBar *) ptr;
7762 dest = (wxControl *) src;
7763 return (void *) dest;
7764}
7765
7766static void *SwigwxScrollBarTowxWindow(void *ptr) {
7767 wxScrollBar *src;
7768 wxWindow *dest;
7769 src = (wxScrollBar *) ptr;
7770 dest = (wxWindow *) src;
7771 return (void *) dest;
7772}
7773
7774static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
7775 wxScrollBar *src;
7776 wxEvtHandler *dest;
7777 src = (wxScrollBar *) ptr;
7778 dest = (wxEvtHandler *) src;
7779 return (void *) dest;
7780}
7781
9416aa89
RD
7782static void *SwigwxScrollBarTowxObject(void *ptr) {
7783 wxScrollBar *src;
7784 wxObject *dest;
7785 src = (wxScrollBar *) ptr;
7786 dest = (wxObject *) src;
7787 return (void *) dest;
7788}
7789
8ab979d7 7790#define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 7791static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7792 PyObject * _resultobj;
7793 wxScrollBar * _result;
7794 wxWindow * _arg0;
1d99702e 7795 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
7796 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7797 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 7798 long _arg4 = (long ) wxSB_HORIZONTAL;
e508a2b6 7799 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
7800 char * _arg6 = (char *) "scrollBar";
7801 PyObject * _argo0 = 0;
2f90df85
RD
7802 wxPoint temp;
7803 PyObject * _obj2 = 0;
7804 wxSize temp0;
7805 PyObject * _obj3 = 0;
1d99702e 7806 PyObject * _argo5 = 0;
efc5f224 7807 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
7808 char _ptemp[128];
7809
7810 self = self;
2f90df85 7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
8ab979d7 7812 return NULL;
1d99702e
RD
7813 if (_argo0) {
7814 if (_argo0 == Py_None) { _arg0 = NULL; }
7815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
7816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7817 return NULL;
7818 }
7819 }
2f90df85
RD
7820 if (_obj2)
7821{
7822 _arg2 = &temp;
7823 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 7824 return NULL;
2f90df85
RD
7825}
7826 if (_obj3)
7827{
7828 _arg3 = &temp0;
7829 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 7830 return NULL;
2f90df85 7831}
1d99702e
RD
7832 if (_argo5) {
7833 if (_argo5 == Py_None) { _arg5 = NULL; }
7834 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
7835 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7836 return NULL;
7837 }
7838 }
cf694132 7839{
4268f798 7840 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7841 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
7842
4268f798 7843 wxPyEndAllowThreads(__tstate);
493f1553 7844 if (PyErr_Occurred()) return NULL;
1d99702e
RD
7845} if (_result) {
7846 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
7847 _resultobj = Py_BuildValue("s",_ptemp);
7848 } else {
7849 Py_INCREF(Py_None);
7850 _resultobj = Py_None;
7851 }
8ab979d7
RD
7852 return _resultobj;
7853}
7854
09f3d4e6
RD
7855#define new_wxPreScrollBar() (new wxScrollBar())
7856static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject * _resultobj;
7858 wxScrollBar * _result;
7859 char *_kwnames[] = { NULL };
7860 char _ptemp[128];
7861
7862 self = self;
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
7864 return NULL;
7865{
4268f798 7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
7867 _result = (wxScrollBar *)new_wxPreScrollBar();
7868
4268f798 7869 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
7870 if (PyErr_Occurred()) return NULL;
7871} if (_result) {
7872 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
7873 _resultobj = Py_BuildValue("s",_ptemp);
7874 } else {
7875 Py_INCREF(Py_None);
7876 _resultobj = Py_None;
7877 }
7878 return _resultobj;
7879}
7880
7881#define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7882static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject * _resultobj;
7884 bool _result;
7885 wxScrollBar * _arg0;
7886 wxWindow * _arg1;
7887 wxWindowID _arg2 = (wxWindowID ) -1;
7888 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7889 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7890 long _arg5 = (long ) wxSB_HORIZONTAL;
7891 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
7892 char * _arg7 = (char *) "scrollBar";
7893 PyObject * _argo0 = 0;
7894 PyObject * _argo1 = 0;
7895 wxPoint temp;
7896 PyObject * _obj3 = 0;
7897 wxSize temp0;
7898 PyObject * _obj4 = 0;
7899 PyObject * _argo6 = 0;
7900 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
7901
7902 self = self;
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
7904 return NULL;
7905 if (_argo0) {
7906 if (_argo0 == Py_None) { _arg0 = NULL; }
7907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
7908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7909 return NULL;
7910 }
7911 }
7912 if (_argo1) {
7913 if (_argo1 == Py_None) { _arg1 = NULL; }
7914 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7915 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7916 return NULL;
7917 }
7918 }
7919 if (_obj3)
7920{
7921 _arg3 = &temp;
7922 if (! wxPoint_helper(_obj3, &_arg3))
7923 return NULL;
7924}
7925 if (_obj4)
7926{
7927 _arg4 = &temp0;
7928 if (! wxSize_helper(_obj4, &_arg4))
7929 return NULL;
7930}
7931 if (_argo6) {
7932 if (_argo6 == Py_None) { _arg6 = NULL; }
7933 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
7934 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7935 return NULL;
7936 }
7937 }
7938{
4268f798 7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
7940 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
7941
4268f798 7942 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
7943 if (PyErr_Occurred()) return NULL;
7944} _resultobj = Py_BuildValue("i",_result);
7945 return _resultobj;
7946}
7947
8ab979d7 7948#define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
efc5f224 7949static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7950 PyObject * _resultobj;
7951 int _result;
7952 wxScrollBar * _arg0;
1d99702e 7953 PyObject * _argo0 = 0;
efc5f224 7954 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7955
7956 self = self;
efc5f224 7957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
8ab979d7 7958 return NULL;
1d99702e
RD
7959 if (_argo0) {
7960 if (_argo0 == Py_None) { _arg0 = NULL; }
7961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
7962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7963 return NULL;
7964 }
7965 }
cf694132 7966{
4268f798 7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7968 _result = (int )wxScrollBar_GetRange(_arg0);
7969
4268f798 7970 wxPyEndAllowThreads(__tstate);
493f1553 7971 if (PyErr_Occurred()) return NULL;
cf694132 7972} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7973 return _resultobj;
7974}
7975
7976#define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
efc5f224 7977static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7978 PyObject * _resultobj;
7979 int _result;
7980 wxScrollBar * _arg0;
1d99702e 7981 PyObject * _argo0 = 0;
efc5f224 7982 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7983
7984 self = self;
efc5f224 7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
8ab979d7 7986 return NULL;
1d99702e
RD
7987 if (_argo0) {
7988 if (_argo0 == Py_None) { _arg0 = NULL; }
7989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
7990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7991 return NULL;
7992 }
7993 }
cf694132 7994{
4268f798 7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
7996 _result = (int )wxScrollBar_GetPageSize(_arg0);
7997
4268f798 7998 wxPyEndAllowThreads(__tstate);
493f1553 7999 if (PyErr_Occurred()) return NULL;
cf694132 8000} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8001 return _resultobj;
8002}
8003
b8b8dda7 8004#define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
efc5f224 8005static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8006 PyObject * _resultobj;
8007 int _result;
8008 wxScrollBar * _arg0;
1d99702e 8009 PyObject * _argo0 = 0;
efc5f224 8010 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8011
8012 self = self;
efc5f224 8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
8ab979d7 8014 return NULL;
1d99702e
RD
8015 if (_argo0) {
8016 if (_argo0 == Py_None) { _arg0 = NULL; }
8017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
b8b8dda7 8018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8ab979d7
RD
8019 return NULL;
8020 }
8021 }
cf694132 8022{
4268f798 8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8024 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
8025
4268f798 8026 wxPyEndAllowThreads(__tstate);
493f1553 8027 if (PyErr_Occurred()) return NULL;
cf694132 8028} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8029 return _resultobj;
8030}
8031
8032#define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
efc5f224 8033static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8034 PyObject * _resultobj;
8035 int _result;
8036 wxScrollBar * _arg0;
1d99702e 8037 PyObject * _argo0 = 0;
efc5f224 8038 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8039
8040 self = self;
efc5f224 8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
8ab979d7 8042 return NULL;
1d99702e
RD
8043 if (_argo0) {
8044 if (_argo0 == Py_None) { _arg0 = NULL; }
8045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
8046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8047 return NULL;
8048 }
8049 }
cf694132 8050{
4268f798 8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8052 _result = (int )wxScrollBar_GetThumbSize(_arg0);
8053
4268f798 8054 wxPyEndAllowThreads(__tstate);
493f1553 8055 if (PyErr_Occurred()) return NULL;
cf694132 8056} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8057 return _resultobj;
8058}
8059
ebf4302c
RD
8060#define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8061static PyObject *_wrap_wxScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8062 PyObject * _resultobj;
8063 bool _result;
8064 wxScrollBar * _arg0;
8065 PyObject * _argo0 = 0;
8066 char *_kwnames[] = { "self", NULL };
8067
8068 self = self;
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_IsVertical",_kwnames,&_argo0))
8070 return NULL;
8071 if (_argo0) {
8072 if (_argo0 == Py_None) { _arg0 = NULL; }
8073 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8074 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8075 return NULL;
8076 }
8077 }
8078{
4268f798 8079 PyThreadState* __tstate = wxPyBeginAllowThreads();
ebf4302c
RD
8080 _result = (bool )wxScrollBar_IsVertical(_arg0);
8081
4268f798 8082 wxPyEndAllowThreads(__tstate);
ebf4302c
RD
8083 if (PyErr_Occurred()) return NULL;
8084} _resultobj = Py_BuildValue("i",_result);
8085 return _resultobj;
8086}
8087
b8b8dda7 8088#define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
efc5f224 8089static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8090 PyObject * _resultobj;
8091 wxScrollBar * _arg0;
8092 int _arg1;
1d99702e 8093 PyObject * _argo0 = 0;
efc5f224 8094 char *_kwnames[] = { "self","viewStart", NULL };
8ab979d7
RD
8095
8096 self = self;
efc5f224 8097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 8098 return NULL;
1d99702e
RD
8099 if (_argo0) {
8100 if (_argo0 == Py_None) { _arg0 = NULL; }
8101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
b8b8dda7 8102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8ab979d7
RD
8103 return NULL;
8104 }
8105 }
cf694132 8106{
4268f798 8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8108 wxScrollBar_SetThumbPosition(_arg0,_arg1);
8109
4268f798 8110 wxPyEndAllowThreads(__tstate);
493f1553 8111 if (PyErr_Occurred()) return NULL;
cf694132 8112} Py_INCREF(Py_None);
8ab979d7
RD
8113 _resultobj = Py_None;
8114 return _resultobj;
8115}
8116
8117#define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8118static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8119 PyObject * _resultobj;
8120 wxScrollBar * _arg0;
8121 int _arg1;
8122 int _arg2;
8123 int _arg3;
8124 int _arg4;
1d99702e
RD
8125 bool _arg5 = (bool ) TRUE;
8126 PyObject * _argo0 = 0;
8127 int tempbool5 = (int) TRUE;
efc5f224 8128 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
8ab979d7
RD
8129
8130 self = self;
efc5f224 8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
8ab979d7 8132 return NULL;
1d99702e
RD
8133 if (_argo0) {
8134 if (_argo0 == Py_None) { _arg0 = NULL; }
8135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
8136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8137 return NULL;
8138 }
8139 }
8140 _arg5 = (bool ) tempbool5;
cf694132 8141{
4268f798 8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8143 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8144
4268f798 8145 wxPyEndAllowThreads(__tstate);
493f1553 8146 if (PyErr_Occurred()) return NULL;
cf694132 8147} Py_INCREF(Py_None);
8ab979d7
RD
8148 _resultobj = Py_None;
8149 return _resultobj;
8150}
8151
8152static void *SwigwxSpinButtonTowxControl(void *ptr) {
8153 wxSpinButton *src;
8154 wxControl *dest;
8155 src = (wxSpinButton *) ptr;
8156 dest = (wxControl *) src;
8157 return (void *) dest;
8158}
8159
8160static void *SwigwxSpinButtonTowxWindow(void *ptr) {
8161 wxSpinButton *src;
8162 wxWindow *dest;
8163 src = (wxSpinButton *) ptr;
8164 dest = (wxWindow *) src;
8165 return (void *) dest;
8166}
8167
8168static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
8169 wxSpinButton *src;
8170 wxEvtHandler *dest;
8171 src = (wxSpinButton *) ptr;
8172 dest = (wxEvtHandler *) src;
8173 return (void *) dest;
8174}
8175
9416aa89
RD
8176static void *SwigwxSpinButtonTowxObject(void *ptr) {
8177 wxSpinButton *src;
8178 wxObject *dest;
8179 src = (wxSpinButton *) ptr;
8180 dest = (wxObject *) src;
8181 return (void *) dest;
8182}
8183
8ab979d7 8184#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8185static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8186 PyObject * _resultobj;
8187 wxSpinButton * _result;
8188 wxWindow * _arg0;
1d99702e 8189 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
8190 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8191 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e
RD
8192 long _arg4 = (long ) wxSP_HORIZONTAL;
8193 char * _arg5 = (char *) "spinButton";
8194 PyObject * _argo0 = 0;
2f90df85
RD
8195 wxPoint temp;
8196 PyObject * _obj2 = 0;
8197 wxSize temp0;
8198 PyObject * _obj3 = 0;
efc5f224 8199 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
8200 char _ptemp[128];
8201
8202 self = self;
2f90df85 8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
8ab979d7 8204 return NULL;
1d99702e
RD
8205 if (_argo0) {
8206 if (_argo0 == Py_None) { _arg0 = NULL; }
8207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
8208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8209 return NULL;
8210 }
8211 }
2f90df85
RD
8212 if (_obj2)
8213{
8214 _arg2 = &temp;
8215 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 8216 return NULL;
2f90df85
RD
8217}
8218 if (_obj3)
8219{
8220 _arg3 = &temp0;
8221 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 8222 return NULL;
2f90df85 8223}
cf694132 8224{
4268f798 8225 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8226 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
8227
4268f798 8228 wxPyEndAllowThreads(__tstate);
493f1553 8229 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8230} if (_result) {
8231 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8232 _resultobj = Py_BuildValue("s",_ptemp);
8233 } else {
8234 Py_INCREF(Py_None);
8235 _resultobj = Py_None;
8236 }
8ab979d7
RD
8237 return _resultobj;
8238}
8239
09f3d4e6
RD
8240#define new_wxPreSpinButton() (new wxSpinButton())
8241static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8242 PyObject * _resultobj;
8243 wxSpinButton * _result;
8244 char *_kwnames[] = { NULL };
8245 char _ptemp[128];
8246
8247 self = self;
8248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
8249 return NULL;
8250{
4268f798 8251 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
8252 _result = (wxSpinButton *)new_wxPreSpinButton();
8253
4268f798 8254 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
8255 if (PyErr_Occurred()) return NULL;
8256} if (_result) {
8257 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8258 _resultobj = Py_BuildValue("s",_ptemp);
8259 } else {
8260 Py_INCREF(Py_None);
8261 _resultobj = Py_None;
8262 }
8263 return _resultobj;
8264}
8265
8266#define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8267static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8268 PyObject * _resultobj;
8269 bool _result;
8270 wxSpinButton * _arg0;
8271 wxWindow * _arg1;
8272 wxWindowID _arg2 = (wxWindowID ) -1;
8273 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8274 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8275 long _arg5 = (long ) wxSP_HORIZONTAL;
8276 char * _arg6 = (char *) "spinButton";
8277 PyObject * _argo0 = 0;
8278 PyObject * _argo1 = 0;
8279 wxPoint temp;
8280 PyObject * _obj3 = 0;
8281 wxSize temp0;
8282 PyObject * _obj4 = 0;
8283 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
8284
8285 self = self;
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOls:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
8287 return NULL;
8288 if (_argo0) {
8289 if (_argo0 == Py_None) { _arg0 = NULL; }
8290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8292 return NULL;
8293 }
8294 }
8295 if (_argo1) {
8296 if (_argo1 == Py_None) { _arg1 = NULL; }
8297 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8298 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8299 return NULL;
8300 }
8301 }
8302 if (_obj3)
8303{
8304 _arg3 = &temp;
8305 if (! wxPoint_helper(_obj3, &_arg3))
8306 return NULL;
8307}
8308 if (_obj4)
8309{
8310 _arg4 = &temp0;
8311 if (! wxSize_helper(_obj4, &_arg4))
8312 return NULL;
8313}
8314{
4268f798 8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
8316 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
8317
4268f798 8318 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
8319 if (PyErr_Occurred()) return NULL;
8320} _resultobj = Py_BuildValue("i",_result);
8321 return _resultobj;
8322}
8323
8ab979d7 8324#define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
efc5f224 8325static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8326 PyObject * _resultobj;
8327 int _result;
8328 wxSpinButton * _arg0;
1d99702e 8329 PyObject * _argo0 = 0;
efc5f224 8330 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8331
8332 self = self;
efc5f224 8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
8ab979d7 8334 return NULL;
1d99702e
RD
8335 if (_argo0) {
8336 if (_argo0 == Py_None) { _arg0 = NULL; }
8337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
8338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8339 return NULL;
8340 }
8341 }
cf694132 8342{
4268f798 8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8344 _result = (int )wxSpinButton_GetMax(_arg0);
8345
4268f798 8346 wxPyEndAllowThreads(__tstate);
493f1553 8347 if (PyErr_Occurred()) return NULL;
cf694132 8348} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8349 return _resultobj;
8350}
8351
8352#define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
efc5f224 8353static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8354 PyObject * _resultobj;
8355 int _result;
8356 wxSpinButton * _arg0;
1d99702e 8357 PyObject * _argo0 = 0;
efc5f224 8358 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8359
8360 self = self;
efc5f224 8361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
8ab979d7 8362 return NULL;
1d99702e
RD
8363 if (_argo0) {
8364 if (_argo0 == Py_None) { _arg0 = NULL; }
8365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
8366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8367 return NULL;
8368 }
8369 }
cf694132 8370{
4268f798 8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8372 _result = (int )wxSpinButton_GetMin(_arg0);
8373
4268f798 8374 wxPyEndAllowThreads(__tstate);
493f1553 8375 if (PyErr_Occurred()) return NULL;
cf694132 8376} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8377 return _resultobj;
8378}
8379
8380#define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 8381static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8382 PyObject * _resultobj;
8383 int _result;
8384 wxSpinButton * _arg0;
1d99702e 8385 PyObject * _argo0 = 0;
efc5f224 8386 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8387
8388 self = self;
efc5f224 8389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
8ab979d7 8390 return NULL;
1d99702e
RD
8391 if (_argo0) {
8392 if (_argo0 == Py_None) { _arg0 = NULL; }
8393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
8394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8395 return NULL;
8396 }
8397 }
cf694132 8398{
4268f798 8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8400 _result = (int )wxSpinButton_GetValue(_arg0);
8401
4268f798 8402 wxPyEndAllowThreads(__tstate);
493f1553 8403 if (PyErr_Occurred()) return NULL;
cf694132 8404} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8405 return _resultobj;
8406}
8407
8408#define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
efc5f224 8409static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8410 PyObject * _resultobj;
8411 wxSpinButton * _arg0;
8412 int _arg1;
8413 int _arg2;
1d99702e 8414 PyObject * _argo0 = 0;
efc5f224 8415 char *_kwnames[] = { "self","min","max", NULL };
8ab979d7
RD
8416
8417 self = self;
efc5f224 8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 8419 return NULL;
1d99702e
RD
8420 if (_argo0) {
8421 if (_argo0 == Py_None) { _arg0 = NULL; }
8422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
8423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8424 return NULL;
8425 }
8426 }
cf694132 8427{
4268f798 8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8429 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
8430
4268f798 8431 wxPyEndAllowThreads(__tstate);
493f1553 8432 if (PyErr_Occurred()) return NULL;
cf694132 8433} Py_INCREF(Py_None);
8ab979d7
RD
8434 _resultobj = Py_None;
8435 return _resultobj;
8436}
8437
8438#define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 8439static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8440 PyObject * _resultobj;
8441 wxSpinButton * _arg0;
8442 int _arg1;
1d99702e 8443 PyObject * _argo0 = 0;
efc5f224 8444 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
8445
8446 self = self;
efc5f224 8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
8ab979d7 8448 return NULL;
1d99702e
RD
8449 if (_argo0) {
8450 if (_argo0 == Py_None) { _arg0 = NULL; }
8451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
8452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8453 return NULL;
8454 }
8455 }
cf694132 8456{
4268f798 8457 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8458 wxSpinButton_SetValue(_arg0,_arg1);
8459
4268f798 8460 wxPyEndAllowThreads(__tstate);
493f1553 8461 if (PyErr_Occurred()) return NULL;
cf694132 8462} Py_INCREF(Py_None);
8ab979d7
RD
8463 _resultobj = Py_None;
8464 return _resultobj;
8465}
8466
8467static void *SwigwxStaticBitmapTowxControl(void *ptr) {
8468 wxStaticBitmap *src;
8469 wxControl *dest;
8470 src = (wxStaticBitmap *) ptr;
8471 dest = (wxControl *) src;
8472 return (void *) dest;
8473}
8474
8475static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
8476 wxStaticBitmap *src;
8477 wxWindow *dest;
8478 src = (wxStaticBitmap *) ptr;
8479 dest = (wxWindow *) src;
8480 return (void *) dest;
8481}
8482
8483static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
8484 wxStaticBitmap *src;
8485 wxEvtHandler *dest;
8486 src = (wxStaticBitmap *) ptr;
8487 dest = (wxEvtHandler *) src;
8488 return (void *) dest;
8489}
8490
9416aa89
RD
8491static void *SwigwxStaticBitmapTowxObject(void *ptr) {
8492 wxStaticBitmap *src;
8493 wxObject *dest;
8494 src = (wxStaticBitmap *) ptr;
8495 dest = (wxObject *) src;
8496 return (void *) dest;
8497}
8498
8ab979d7 8499#define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 8500static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8501 PyObject * _resultobj;
8502 wxStaticBitmap * _result;
8503 wxWindow * _arg0;
8504 wxWindowID _arg1;
8505 wxBitmap * _arg2;
e508a2b6
RD
8506 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8507 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
8508 long _arg5 = (long ) 0;
8509 char * _arg6 = (char *) "staticBitmap";
8510 PyObject * _argo0 = 0;
09f3d4e6
RD
8511 PyObject * _argo2 = 0;
8512 wxPoint temp;
8513 PyObject * _obj3 = 0;
8514 wxSize temp0;
8515 PyObject * _obj4 = 0;
8516 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
8517 char _ptemp[128];
8518
8519 self = self;
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_arg6))
8521 return NULL;
8522 if (_argo0) {
8523 if (_argo0 == Py_None) { _arg0 = NULL; }
8524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8526 return NULL;
8527 }
8528 }
8529 if (_argo2) {
8530 if (_argo2 == Py_None) { _arg2 = NULL; }
8531 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
8532 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8533 return NULL;
8534 }
8535 }
8536 if (_obj3)
8537{
8538 _arg3 = &temp;
8539 if (! wxPoint_helper(_obj3, &_arg3))
8540 return NULL;
8541}
8542 if (_obj4)
8543{
8544 _arg4 = &temp0;
8545 if (! wxSize_helper(_obj4, &_arg4))
8546 return NULL;
8547}
8548{
4268f798 8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
8550 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
8551
4268f798 8552 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
8553 if (PyErr_Occurred()) return NULL;
8554} if (_result) {
8555 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8556 _resultobj = Py_BuildValue("s",_ptemp);
8557 } else {
8558 Py_INCREF(Py_None);
8559 _resultobj = Py_None;
8560 }
8561 return _resultobj;
8562}
8563
8564#define new_wxPreStaticBitmap() (new wxStaticBitmap())
8565static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8566 PyObject * _resultobj;
8567 wxStaticBitmap * _result;
8568 char *_kwnames[] = { NULL };
8569 char _ptemp[128];
8570
8571 self = self;
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
8573 return NULL;
8574{
4268f798 8575 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
8576 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
8577
4268f798 8578 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
8579 if (PyErr_Occurred()) return NULL;
8580} if (_result) {
8581 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8582 _resultobj = Py_BuildValue("s",_ptemp);
8583 } else {
8584 Py_INCREF(Py_None);
8585 _resultobj = Py_None;
8586 }
8587 return _resultobj;
8588}
8589
8590#define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8591static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8592 PyObject * _resultobj;
8593 bool _result;
8594 wxStaticBitmap * _arg0;
8595 wxWindow * _arg1;
8596 wxWindowID _arg2;
8597 wxBitmap * _arg3;
8598 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
8599 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
8600 long _arg6 = (long ) 0;
8601 char * _arg7 = (char *) "staticBitmap";
8602 PyObject * _argo0 = 0;
8603 PyObject * _argo1 = 0;
8604 PyObject * _argo3 = 0;
2f90df85 8605 wxPoint temp;
2f90df85 8606 PyObject * _obj4 = 0;
09f3d4e6
RD
8607 wxSize temp0;
8608 PyObject * _obj5 = 0;
8609 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
8ab979d7
RD
8610
8611 self = self;
09f3d4e6 8612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_arg7))
8ab979d7 8613 return NULL;
1d99702e
RD
8614 if (_argo0) {
8615 if (_argo0 == Py_None) { _arg0 = NULL; }
09f3d4e6
RD
8616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8ab979d7
RD
8618 return NULL;
8619 }
8620 }
09f3d4e6
RD
8621 if (_argo1) {
8622 if (_argo1 == Py_None) { _arg1 = NULL; }
8623 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8624 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8ab979d7
RD
8625 return NULL;
8626 }
8627 }
09f3d4e6
RD
8628 if (_argo3) {
8629 if (_argo3 == Py_None) { _arg3 = NULL; }
8630 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
8631 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8632 return NULL;
8633 }
8634 }
8635 if (_obj4)
2f90df85 8636{
09f3d4e6
RD
8637 _arg4 = &temp;
8638 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 8639 return NULL;
2f90df85 8640}
09f3d4e6 8641 if (_obj5)
2f90df85 8642{
09f3d4e6
RD
8643 _arg5 = &temp0;
8644 if (! wxSize_helper(_obj5, &_arg5))
8ab979d7 8645 return NULL;
2f90df85 8646}
cf694132 8647{
4268f798 8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6 8649 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
cf694132 8650
4268f798 8651 wxPyEndAllowThreads(__tstate);
493f1553 8652 if (PyErr_Occurred()) return NULL;
09f3d4e6 8653} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8654 return _resultobj;
8655}
8656
8657#define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
efc5f224 8658static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8659 PyObject * _resultobj;
8660 wxBitmap * _result;
8661 wxStaticBitmap * _arg0;
1d99702e 8662 PyObject * _argo0 = 0;
efc5f224 8663 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8664 char _ptemp[128];
8665
8666 self = self;
efc5f224 8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
8ab979d7 8668 return NULL;
1d99702e
RD
8669 if (_argo0) {
8670 if (_argo0 == Py_None) { _arg0 = NULL; }
8671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8ab979d7
RD
8672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8673 return NULL;
8674 }
8675 }
cf694132 8676{
4268f798 8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
c5943253 8678 _result = new wxBitmap (wxStaticBitmap_GetBitmap(_arg0));
cf694132 8679
4268f798 8680 wxPyEndAllowThreads(__tstate);
493f1553 8681 if (PyErr_Occurred()) return NULL;
c5943253
RD
8682} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
8683 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
8684 return _resultobj;
8685}
8686
8687#define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
efc5f224 8688static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8689 PyObject * _resultobj;
8690 wxStaticBitmap * _arg0;
8691 wxBitmap * _arg1;
1d99702e
RD
8692 PyObject * _argo0 = 0;
8693 PyObject * _argo1 = 0;
efc5f224 8694 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
8695
8696 self = self;
efc5f224 8697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
8ab979d7 8698 return NULL;
1d99702e
RD
8699 if (_argo0) {
8700 if (_argo0 == Py_None) { _arg0 = NULL; }
8701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8ab979d7
RD
8702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8703 return NULL;
8704 }
8705 }
1d99702e
RD
8706 if (_argo1) {
8707 if (_argo1 == Py_None) { _arg1 = NULL; }
8708 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
8709 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8710 return NULL;
8711 }
8712 }
cf694132 8713{
4268f798 8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8715 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
8716
4268f798 8717 wxPyEndAllowThreads(__tstate);
493f1553 8718 if (PyErr_Occurred()) return NULL;
cf694132 8719} Py_INCREF(Py_None);
8ab979d7
RD
8720 _resultobj = Py_None;
8721 return _resultobj;
8722}
8723
8bf5d46e 8724#define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
efc5f224 8725static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
8726 PyObject * _resultobj;
8727 wxStaticBitmap * _arg0;
8728 wxIcon * _arg1;
1d99702e
RD
8729 PyObject * _argo0 = 0;
8730 PyObject * _argo1 = 0;
efc5f224 8731 char *_kwnames[] = { "self","icon", NULL };
8bf5d46e
RD
8732
8733 self = self;
efc5f224 8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
8bf5d46e 8735 return NULL;
1d99702e
RD
8736 if (_argo0) {
8737 if (_argo0 == Py_None) { _arg0 = NULL; }
8738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8bf5d46e
RD
8739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8740 return NULL;
8741 }
8742 }
1d99702e
RD
8743 if (_argo1) {
8744 if (_argo1 == Py_None) { _arg1 = NULL; }
8745 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8bf5d46e
RD
8746 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8747 return NULL;
8748 }
8749 }
8750{
4268f798 8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8bf5d46e
RD
8752 wxStaticBitmap_SetIcon(_arg0,*_arg1);
8753
4268f798 8754 wxPyEndAllowThreads(__tstate);
493f1553 8755 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8756} Py_INCREF(Py_None);
8757 _resultobj = Py_None;
8758 return _resultobj;
8759}
8760
8ab979d7
RD
8761static void *SwigwxRadioBoxTowxControl(void *ptr) {
8762 wxRadioBox *src;
8763 wxControl *dest;
8764 src = (wxRadioBox *) ptr;
8765 dest = (wxControl *) src;
8766 return (void *) dest;
8767}
8768
8769static void *SwigwxRadioBoxTowxWindow(void *ptr) {
8770 wxRadioBox *src;
8771 wxWindow *dest;
8772 src = (wxRadioBox *) ptr;
8773 dest = (wxWindow *) src;
8774 return (void *) dest;
8775}
8776
8777static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
8778 wxRadioBox *src;
8779 wxEvtHandler *dest;
8780 src = (wxRadioBox *) ptr;
8781 dest = (wxEvtHandler *) src;
8782 return (void *) dest;
8783}
8784
9416aa89
RD
8785static void *SwigwxRadioBoxTowxObject(void *ptr) {
8786 wxRadioBox *src;
8787 wxObject *dest;
8788 src = (wxRadioBox *) ptr;
8789 dest = (wxObject *) src;
8790 return (void *) dest;
8791}
8792
8ab979d7 8793#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 8794static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8795 PyObject * _resultobj;
8796 wxRadioBox * _result;
8797 wxWindow * _arg0;
8798 wxWindowID _arg1;
8799 wxString * _arg2;
e508a2b6
RD
8800 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8801 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
8802 int _arg5 = (int ) 0;
8803 wxString * _arg6 = (wxString *) NULL;
8804 int _arg7 = (int ) 0;
8805 long _arg8 = (long ) wxRA_HORIZONTAL;
e508a2b6 8806 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
8807 char * _arg10 = (char *) "radioBox";
8808 PyObject * _argo0 = 0;
8ab979d7 8809 PyObject * _obj2 = 0;
2f90df85
RD
8810 wxPoint temp;
8811 PyObject * _obj3 = 0;
8812 wxSize temp0;
8813 PyObject * _obj4 = 0;
8ab979d7 8814 PyObject * _obj6 = 0;
1d99702e 8815 PyObject * _argo9 = 0;
eec92d76 8816 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
8ab979d7
RD
8817 char _ptemp[128];
8818
8819 self = self;
2f90df85 8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOs:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_arg10))
8ab979d7 8821 return NULL;
1d99702e
RD
8822 if (_argo0) {
8823 if (_argo0 == Py_None) { _arg0 = NULL; }
8824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
8825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8826 return NULL;
8827 }
8828 }
8829{
185d7c3e
RD
8830#if PYTHON_API_VERSION >= 1009
8831 char* tmpPtr; int tmpSize;
8832 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 8833 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
8834 return NULL;
8835 }
8836 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8837 return NULL;
8838 _arg2 = new wxString(tmpPtr, tmpSize);
8839#else
8ab979d7
RD
8840 if (!PyString_Check(_obj2)) {
8841 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8842 return NULL;
8843 }
185d7c3e
RD
8844 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8845#endif
8ab979d7 8846}
2f90df85
RD
8847 if (_obj3)
8848{
8849 _arg3 = &temp;
8850 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 8851 return NULL;
2f90df85
RD
8852}
8853 if (_obj4)
8854{
8855 _arg4 = &temp0;
8856 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 8857 return NULL;
2f90df85 8858}
8ab979d7
RD
8859 if (_obj6)
8860{
8861 _arg6 = wxString_LIST_helper(_obj6);
8862 if (_arg6 == NULL) {
8863 return NULL;
8864 }
8865}
1d99702e
RD
8866 if (_argo9) {
8867 if (_argo9 == Py_None) { _arg9 = NULL; }
8868 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
8ab979d7
RD
8869 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8870 return NULL;
8871 }
8872 }
8873{
cf694132
RD
8874 if (_obj6) {
8875 _arg5 = PyList_Size(_obj6);
8876 }
8877 else {
8878 _arg5 = 0;
8879 }
8ab979d7 8880}
cf694132 8881{
4268f798 8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
8883 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
8884
4268f798 8885 wxPyEndAllowThreads(__tstate);
493f1553 8886 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8887} if (_result) {
8888 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
8889 _resultobj = Py_BuildValue("s",_ptemp);
8890 } else {
8891 Py_INCREF(Py_None);
8892 _resultobj = Py_None;
8893 }
8ab979d7
RD
8894{
8895 if (_obj2)
8896 delete _arg2;
8897}
8898{
8899 delete [] _arg6;
8900}
8901 return _resultobj;
8902}
8903
09f3d4e6
RD
8904#define new_wxPreRadioBox() (new wxRadioBox())
8905static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8906 PyObject * _resultobj;
8907 wxRadioBox * _result;
8908 char *_kwnames[] = { NULL };
8909 char _ptemp[128];
8910
8911 self = self;
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
8913 return NULL;
8914{
4268f798 8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
8916 _result = (wxRadioBox *)new_wxPreRadioBox();
8917
4268f798 8918 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
8919 if (PyErr_Occurred()) return NULL;
8920} if (_result) {
8921 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
8922 _resultobj = Py_BuildValue("s",_ptemp);
8923 } else {
8924 Py_INCREF(Py_None);
8925 _resultobj = Py_None;
8926 }
8927 return _resultobj;
8928}
8929
8930#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))
8931static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8932 PyObject * _resultobj;
8933 bool _result;
8934 wxRadioBox * _arg0;
8935 wxWindow * _arg1;
8936 wxWindowID _arg2;
8937 wxString * _arg3;
8938 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
8939 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
8940 int _arg6 = (int ) 0;
8941 wxString * _arg7 = (wxString *) NULL;
8942 int _arg8 = (int ) 0;
8943 long _arg9 = (long ) wxRA_HORIZONTAL;
8944 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
8945 char * _arg11 = (char *) "radioBox";
8946 PyObject * _argo0 = 0;
8947 PyObject * _argo1 = 0;
8948 PyObject * _obj3 = 0;
8949 wxPoint temp;
8950 PyObject * _obj4 = 0;
8951 wxSize temp0;
8952 PyObject * _obj5 = 0;
8953 PyObject * _obj7 = 0;
8954 PyObject * _argo10 = 0;
8955 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
8956
8957 self = self;
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_arg11))
8959 return NULL;
8960 if (_argo0) {
8961 if (_argo0 == Py_None) { _arg0 = NULL; }
8962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8964 return NULL;
8965 }
8966 }
8967 if (_argo1) {
8968 if (_argo1 == Py_None) { _arg1 = NULL; }
8969 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8970 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8971 return NULL;
8972 }
8973 }
8974{
8975#if PYTHON_API_VERSION >= 1009
8976 char* tmpPtr; int tmpSize;
8977 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
8978 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8979 return NULL;
8980 }
8981 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8982 return NULL;
8983 _arg3 = new wxString(tmpPtr, tmpSize);
8984#else
8985 if (!PyString_Check(_obj3)) {
8986 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8987 return NULL;
8988 }
8989 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8990#endif
8991}
8992 if (_obj4)
8993{
8994 _arg4 = &temp;
8995 if (! wxPoint_helper(_obj4, &_arg4))
8996 return NULL;
8997}
8998 if (_obj5)
8999{
9000 _arg5 = &temp0;
9001 if (! wxSize_helper(_obj5, &_arg5))
9002 return NULL;
9003}
9004 if (_obj7)
9005{
9006 _arg7 = wxString_LIST_helper(_obj7);
9007 if (_arg7 == NULL) {
9008 return NULL;
9009 }
9010}
9011 if (_argo10) {
9012 if (_argo10 == Py_None) { _arg10 = NULL; }
9013 else if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
9014 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9015 return NULL;
9016 }
9017 }
9018{
9019 if (_obj7) {
9020 _arg6 = PyList_Size(_obj7);
9021 }
9022 else {
9023 _arg6 = 0;
9024 }
9025}
9026{
4268f798 9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
9028 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,_arg11);
9029
4268f798 9030 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
9031 if (PyErr_Occurred()) return NULL;
9032} _resultobj = Py_BuildValue("i",_result);
9033{
9034 if (_obj3)
9035 delete _arg3;
9036}
9037{
9038 delete [] _arg7;
9039}
9040 return _resultobj;
9041}
9042
0699c864 9043#define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
efc5f224 9044static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9045 PyObject * _resultobj;
9046 wxRadioBox * _arg0;
9047 bool _arg1;
1d99702e 9048 PyObject * _argo0 = 0;
8ab979d7 9049 int tempbool1;
efc5f224 9050 char *_kwnames[] = { "self","enable", NULL };
8ab979d7
RD
9051
9052 self = self;
efc5f224 9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
8ab979d7 9054 return NULL;
1d99702e
RD
9055 if (_argo0) {
9056 if (_argo0 == Py_None) { _arg0 = NULL; }
9057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0699c864 9058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8ab979d7
RD
9059 return NULL;
9060 }
9061 }
9062 _arg1 = (bool ) tempbool1;
cf694132 9063{
4268f798 9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9065 wxRadioBox_Enable(_arg0,_arg1);
9066
4268f798 9067 wxPyEndAllowThreads(__tstate);
493f1553 9068 if (PyErr_Occurred()) return NULL;
cf694132 9069} Py_INCREF(Py_None);
8ab979d7
RD
9070 _resultobj = Py_None;
9071 return _resultobj;
9072}
9073
0699c864 9074#define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
efc5f224 9075static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9076 PyObject * _resultobj;
9077 wxRadioBox * _arg0;
9078 int _arg1;
9079 bool _arg2;
1d99702e 9080 PyObject * _argo0 = 0;
8ab979d7 9081 int tempbool2;
efc5f224 9082 char *_kwnames[] = { "self","n","enable", NULL };
8ab979d7
RD
9083
9084 self = self;
efc5f224 9085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 9086 return NULL;
1d99702e
RD
9087 if (_argo0) {
9088 if (_argo0 == Py_None) { _arg0 = NULL; }
9089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0699c864 9090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
8ab979d7
RD
9091 return NULL;
9092 }
9093 }
9094 _arg2 = (bool ) tempbool2;
cf694132 9095{
4268f798 9096 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9097 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
9098
4268f798 9099 wxPyEndAllowThreads(__tstate);
493f1553 9100 if (PyErr_Occurred()) return NULL;
cf694132 9101} Py_INCREF(Py_None);
8ab979d7
RD
9102 _resultobj = Py_None;
9103 return _resultobj;
9104}
9105
9106#define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
efc5f224 9107static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9108 PyObject * _resultobj;
9109 int _result;
9110 wxRadioBox * _arg0;
9111 wxString * _arg1;
1d99702e 9112 PyObject * _argo0 = 0;
8ab979d7 9113 PyObject * _obj1 = 0;
efc5f224 9114 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
9115
9116 self = self;
efc5f224 9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
8ab979d7 9118 return NULL;
1d99702e
RD
9119 if (_argo0) {
9120 if (_argo0 == Py_None) { _arg0 = NULL; }
9121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
9122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9123 return NULL;
9124 }
9125 }
9126{
185d7c3e
RD
9127#if PYTHON_API_VERSION >= 1009
9128 char* tmpPtr; int tmpSize;
9129 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 9130 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
9131 return NULL;
9132 }
9133 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9134 return NULL;
9135 _arg1 = new wxString(tmpPtr, tmpSize);
9136#else
8ab979d7
RD
9137 if (!PyString_Check(_obj1)) {
9138 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9139 return NULL;
9140 }
185d7c3e
RD
9141 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9142#endif
8ab979d7 9143}
cf694132 9144{
4268f798 9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9146 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
9147
4268f798 9148 wxPyEndAllowThreads(__tstate);
493f1553 9149 if (PyErr_Occurred()) return NULL;
cf694132 9150} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9151{
9152 if (_obj1)
9153 delete _arg1;
9154}
9155 return _resultobj;
9156}
9157
0adbc166
RD
9158#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9159static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9160 PyObject * _resultobj;
9161 wxString * _result;
9162 wxRadioBox * _arg0;
9163 int _arg1;
1d99702e 9164 PyObject * _argo0 = 0;
efc5f224 9165 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
9166
9167 self = self;
0adbc166 9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
8ab979d7 9169 return NULL;
1d99702e
RD
9170 if (_argo0) {
9171 if (_argo0 == Py_None) { _arg0 = NULL; }
9172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0adbc166 9173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
8ab979d7
RD
9174 return NULL;
9175 }
9176 }
8ab979d7 9177{
4268f798 9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
0adbc166 9179 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
cf694132 9180
4268f798 9181 wxPyEndAllowThreads(__tstate);
493f1553 9182 if (PyErr_Occurred()) return NULL;
cf694132 9183}{
eec92d76 9184 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8ab979d7
RD
9185}
9186{
9187 delete _result;
9188}
9189 return _resultobj;
9190}
9191
0adbc166
RD
9192#define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9193static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9194 PyObject * _resultobj;
8ab979d7 9195 wxRadioBox * _arg0;
0adbc166
RD
9196 int _arg1;
9197 wxString * _arg2;
1d99702e 9198 PyObject * _argo0 = 0;
0adbc166
RD
9199 PyObject * _obj2 = 0;
9200 char *_kwnames[] = { "self","n","label", NULL };
8ab979d7
RD
9201
9202 self = self;
0adbc166 9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 9204 return NULL;
1d99702e
RD
9205 if (_argo0) {
9206 if (_argo0 == Py_None) { _arg0 = NULL; }
9207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0adbc166 9208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
8ab979d7
RD
9209 return NULL;
9210 }
9211 }
0adbc166
RD
9212{
9213#if PYTHON_API_VERSION >= 1009
9214 char* tmpPtr; int tmpSize;
9215 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9216 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9217 return NULL;
9218 }
9219 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9220 return NULL;
9221 _arg2 = new wxString(tmpPtr, tmpSize);
9222#else
9223 if (!PyString_Check(_obj2)) {
9224 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9225 return NULL;
9226 }
9227 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9228#endif
9229}
cf694132 9230{
4268f798 9231 PyThreadState* __tstate = wxPyBeginAllowThreads();
0adbc166 9232 wxRadioBox_SetString(_arg0,_arg1,*_arg2);
cf694132 9233
4268f798 9234 wxPyEndAllowThreads(__tstate);
493f1553 9235 if (PyErr_Occurred()) return NULL;
0adbc166
RD
9236} Py_INCREF(Py_None);
9237 _resultobj = Py_None;
9238{
9239 if (_obj2)
9240 delete _arg2;
9241}
8ab979d7
RD
9242 return _resultobj;
9243}
9244
3a0958b1
RD
9245#define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9246static PyObject *_wrap_wxRadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9247 PyObject * _resultobj;
0adbc166 9248 int _result;
8ab979d7 9249 wxRadioBox * _arg0;
1d99702e 9250 PyObject * _argo0 = 0;
0adbc166 9251 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9252
9253 self = self;
3a0958b1 9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetColumnCount",_kwnames,&_argo0))
8ab979d7 9255 return NULL;
1d99702e
RD
9256 if (_argo0) {
9257 if (_argo0 == Py_None) { _arg0 = NULL; }
9258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 9259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
8ab979d7
RD
9260 return NULL;
9261 }
9262 }
8ab979d7 9263{
4268f798 9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3a0958b1 9265 _result = (int )wxRadioBox_GetColumnCount(_arg0);
cf694132 9266
4268f798 9267 wxPyEndAllowThreads(__tstate);
493f1553 9268 if (PyErr_Occurred()) return NULL;
0adbc166 9269} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9270 return _resultobj;
9271}
9272
3a0958b1
RD
9273#define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9274static PyObject *_wrap_wxRadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9275 PyObject * _resultobj;
3a0958b1 9276 int _result;
8ab979d7 9277 wxRadioBox * _arg0;
1d99702e 9278 PyObject * _argo0 = 0;
efc5f224 9279 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9280
9281 self = self;
3a0958b1 9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetRowCount",_kwnames,&_argo0))
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")) {
3a0958b1 9287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
8ab979d7
RD
9288 return NULL;
9289 }
9290 }
8ab979d7 9291{
4268f798 9292 PyThreadState* __tstate = wxPyBeginAllowThreads();
3a0958b1 9293 _result = (int )wxRadioBox_GetRowCount(_arg0);
cf694132 9294
4268f798 9295 wxPyEndAllowThreads(__tstate);
493f1553 9296 if (PyErr_Occurred()) return NULL;
3a0958b1 9297} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9298 return _resultobj;
9299}
9300
3a0958b1
RD
9301#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9302static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9303 PyObject * _resultobj;
9304 int _result;
9305 wxRadioBox * _arg0;
1d99702e 9306 PyObject * _argo0 = 0;
efc5f224 9307 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9308
9309 self = self;
3a0958b1 9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
8ab979d7 9311 return NULL;
1d99702e
RD
9312 if (_argo0) {
9313 if (_argo0 == Py_None) { _arg0 = NULL; }
9314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 9315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
8ab979d7
RD
9316 return NULL;
9317 }
9318 }
cf694132 9319{
4268f798 9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
3a0958b1 9321 _result = (int )wxRadioBox_GetSelection(_arg0);
cf694132 9322
4268f798 9323 wxPyEndAllowThreads(__tstate);
493f1553 9324 if (PyErr_Occurred()) return NULL;
cf694132 9325} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9326 return _resultobj;
9327}
9328
3a0958b1
RD
9329#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9330static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9331 PyObject * _resultobj;
3a0958b1 9332 wxString * _result;
8ab979d7 9333 wxRadioBox * _arg0;
1d99702e 9334 PyObject * _argo0 = 0;
0adbc166 9335 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9336
9337 self = self;
3a0958b1 9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
8ab979d7 9339 return NULL;
1d99702e
RD
9340 if (_argo0) {
9341 if (_argo0 == Py_None) { _arg0 = NULL; }
9342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 9343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
8ab979d7
RD
9344 return NULL;
9345 }
9346 }
9347{
4268f798 9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3a0958b1 9349 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
0adbc166 9350
4268f798 9351 wxPyEndAllowThreads(__tstate);
0adbc166 9352 if (PyErr_Occurred()) return NULL;
3a0958b1
RD
9353}{
9354 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9355}
9356{
9357 delete _result;
9358}
0adbc166
RD
9359 return _resultobj;
9360}
9361
3a0958b1
RD
9362#define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9363static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
0adbc166
RD
9364 PyObject * _resultobj;
9365 int _result;
9366 wxRadioBox * _arg0;
9367 PyObject * _argo0 = 0;
9368 char *_kwnames[] = { "self", NULL };
9369
9370 self = self;
3a0958b1 9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
185d7c3e 9372 return NULL;
0adbc166
RD
9373 if (_argo0) {
9374 if (_argo0 == Py_None) { _arg0 = NULL; }
9375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 9376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
8ab979d7 9377 return NULL;
0adbc166 9378 }
8ab979d7 9379 }
cf694132 9380{
4268f798 9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3a0958b1 9382 _result = (int )wxRadioBox_GetCount(_arg0);
cf694132 9383
4268f798 9384 wxPyEndAllowThreads(__tstate);
493f1553 9385 if (PyErr_Occurred()) return NULL;
0adbc166 9386} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9387 return _resultobj;
9388}
9389
9390#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 9391static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9392 PyObject * _resultobj;
9393 wxRadioBox * _arg0;
9394 int _arg1;
1d99702e 9395 PyObject * _argo0 = 0;
efc5f224 9396 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
9397
9398 self = self;
efc5f224 9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 9400 return NULL;
1d99702e
RD
9401 if (_argo0) {
9402 if (_argo0 == Py_None) { _arg0 = NULL; }
9403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
9404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9405 return NULL;
9406 }
9407 }
cf694132 9408{
4268f798 9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9410 wxRadioBox_SetSelection(_arg0,_arg1);
9411
4268f798 9412 wxPyEndAllowThreads(__tstate);
493f1553 9413 if (PyErr_Occurred()) return NULL;
cf694132 9414} Py_INCREF(Py_None);
8ab979d7
RD
9415 _resultobj = Py_None;
9416 return _resultobj;
9417}
9418
9419#define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
efc5f224 9420static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9421 PyObject * _resultobj;
9422 wxRadioBox * _arg0;
9423 wxString * _arg1;
1d99702e 9424 PyObject * _argo0 = 0;
8ab979d7 9425 PyObject * _obj1 = 0;
efc5f224 9426 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
9427
9428 self = self;
efc5f224 9429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
8ab979d7 9430 return NULL;
1d99702e
RD
9431 if (_argo0) {
9432 if (_argo0 == Py_None) { _arg0 = NULL; }
9433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
9434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9435 return NULL;
9436 }
9437 }
9438{
185d7c3e
RD
9439#if PYTHON_API_VERSION >= 1009
9440 char* tmpPtr; int tmpSize;
9441 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 9442 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
9443 return NULL;
9444 }
9445 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9446 return NULL;
9447 _arg1 = new wxString(tmpPtr, tmpSize);
9448#else
8ab979d7
RD
9449 if (!PyString_Check(_obj1)) {
9450 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9451 return NULL;
9452 }
185d7c3e
RD
9453 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9454#endif
8ab979d7 9455}
cf694132 9456{
4268f798 9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9458 wxRadioBox_SetStringSelection(_arg0,*_arg1);
9459
4268f798 9460 wxPyEndAllowThreads(__tstate);
493f1553 9461 if (PyErr_Occurred()) return NULL;
cf694132 9462} Py_INCREF(Py_None);
8ab979d7
RD
9463 _resultobj = Py_None;
9464{
9465 if (_obj1)
9466 delete _arg1;
9467}
9468 return _resultobj;
9469}
9470
9471#define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
efc5f224 9472static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9473 PyObject * _resultobj;
9474 wxRadioBox * _arg0;
9475 bool _arg1;
1d99702e 9476 PyObject * _argo0 = 0;
8ab979d7 9477 int tempbool1;
efc5f224 9478 char *_kwnames[] = { "self","show", NULL };
8ab979d7
RD
9479
9480 self = self;
efc5f224 9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
8ab979d7 9482 return NULL;
1d99702e
RD
9483 if (_argo0) {
9484 if (_argo0 == Py_None) { _arg0 = NULL; }
9485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
9486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9487 return NULL;
9488 }
9489 }
9490 _arg1 = (bool ) tempbool1;
cf694132 9491{
4268f798 9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9493 wxRadioBox_Show(_arg0,_arg1);
9494
4268f798 9495 wxPyEndAllowThreads(__tstate);
493f1553 9496 if (PyErr_Occurred()) return NULL;
cf694132 9497} Py_INCREF(Py_None);
8ab979d7
RD
9498 _resultobj = Py_None;
9499 return _resultobj;
9500}
9501
9502#define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
efc5f224 9503static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9504 PyObject * _resultobj;
9505 wxRadioBox * _arg0;
9506 int _arg1;
9507 bool _arg2;
1d99702e 9508 PyObject * _argo0 = 0;
8ab979d7 9509 int tempbool2;
efc5f224 9510 char *_kwnames[] = { "self","item","show", NULL };
8ab979d7
RD
9511
9512 self = self;
efc5f224 9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 9514 return NULL;
1d99702e
RD
9515 if (_argo0) {
9516 if (_argo0 == Py_None) { _arg0 = NULL; }
9517 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
9518 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9519 return NULL;
9520 }
9521 }
9522 _arg2 = (bool ) tempbool2;
cf694132 9523{
4268f798 9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9525 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
9526
4268f798 9527 wxPyEndAllowThreads(__tstate);
493f1553 9528 if (PyErr_Occurred()) return NULL;
cf694132 9529} Py_INCREF(Py_None);
8ab979d7
RD
9530 _resultobj = Py_None;
9531 return _resultobj;
9532}
9533
9534static void *SwigwxRadioButtonTowxControl(void *ptr) {
9535 wxRadioButton *src;
9536 wxControl *dest;
9537 src = (wxRadioButton *) ptr;
9538 dest = (wxControl *) src;
9539 return (void *) dest;
9540}
9541
9542static void *SwigwxRadioButtonTowxWindow(void *ptr) {
9543 wxRadioButton *src;
9544 wxWindow *dest;
9545 src = (wxRadioButton *) ptr;
9546 dest = (wxWindow *) src;
9547 return (void *) dest;
9548}
9549
9550static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
9551 wxRadioButton *src;
9552 wxEvtHandler *dest;
9553 src = (wxRadioButton *) ptr;
9554 dest = (wxEvtHandler *) src;
9555 return (void *) dest;
9556}
9557
9416aa89
RD
9558static void *SwigwxRadioButtonTowxObject(void *ptr) {
9559 wxRadioButton *src;
9560 wxObject *dest;
9561 src = (wxRadioButton *) ptr;
9562 dest = (wxObject *) src;
9563 return (void *) dest;
9564}
9565
8ab979d7 9566#define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 9567static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9568 PyObject * _resultobj;
9569 wxRadioButton * _result;
9570 wxWindow * _arg0;
9571 wxWindowID _arg1;
9572 wxString * _arg2;
e508a2b6
RD
9573 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9574 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 9575 long _arg5 = (long ) 0;
e508a2b6 9576 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
9577 char * _arg7 = (char *) "radioButton";
9578 PyObject * _argo0 = 0;
8ab979d7 9579 PyObject * _obj2 = 0;
2f90df85
RD
9580 wxPoint temp;
9581 PyObject * _obj3 = 0;
9582 wxSize temp0;
9583 PyObject * _obj4 = 0;
1d99702e 9584 PyObject * _argo6 = 0;
efc5f224 9585 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
8ab979d7
RD
9586 char _ptemp[128];
9587
9588 self = self;
2f90df85 9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
8ab979d7 9590 return NULL;
1d99702e
RD
9591 if (_argo0) {
9592 if (_argo0 == Py_None) { _arg0 = NULL; }
9593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
9594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9595 return NULL;
9596 }
9597 }
9598{
185d7c3e
RD
9599#if PYTHON_API_VERSION >= 1009
9600 char* tmpPtr; int tmpSize;
9601 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 9602 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
9603 return NULL;
9604 }
9605 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9606 return NULL;
9607 _arg2 = new wxString(tmpPtr, tmpSize);
9608#else
8ab979d7
RD
9609 if (!PyString_Check(_obj2)) {
9610 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9611 return NULL;
9612 }
185d7c3e
RD
9613 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9614#endif
8ab979d7 9615}
2f90df85
RD
9616 if (_obj3)
9617{
09f3d4e6
RD
9618 _arg3 = &temp;
9619 if (! wxPoint_helper(_obj3, &_arg3))
9620 return NULL;
9621}
9622 if (_obj4)
9623{
9624 _arg4 = &temp0;
9625 if (! wxSize_helper(_obj4, &_arg4))
9626 return NULL;
9627}
9628 if (_argo6) {
9629 if (_argo6 == Py_None) { _arg6 = NULL; }
9630 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
9631 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9632 return NULL;
9633 }
9634 }
9635{
4268f798 9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
9637 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
9638
4268f798 9639 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
9640 if (PyErr_Occurred()) return NULL;
9641} if (_result) {
9642 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9643 _resultobj = Py_BuildValue("s",_ptemp);
9644 } else {
9645 Py_INCREF(Py_None);
9646 _resultobj = Py_None;
9647 }
9648{
9649 if (_obj2)
9650 delete _arg2;
9651}
9652 return _resultobj;
9653}
9654
9655#define new_wxPreRadioButton() (new wxRadioButton())
9656static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9657 PyObject * _resultobj;
9658 wxRadioButton * _result;
9659 char *_kwnames[] = { NULL };
9660 char _ptemp[128];
9661
9662 self = self;
9663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
9664 return NULL;
9665{
4268f798 9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
9667 _result = (wxRadioButton *)new_wxPreRadioButton();
9668
4268f798 9669 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
9670 if (PyErr_Occurred()) return NULL;
9671} if (_result) {
9672 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9673 _resultobj = Py_BuildValue("s",_ptemp);
9674 } else {
9675 Py_INCREF(Py_None);
9676 _resultobj = Py_None;
9677 }
9678 return _resultobj;
9679}
9680
9681#define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9682static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9683 PyObject * _resultobj;
9684 bool _result;
9685 wxRadioButton * _arg0;
9686 wxWindow * _arg1;
9687 wxWindowID _arg2;
9688 wxString * _arg3;
9689 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9690 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9691 long _arg6 = (long ) 0;
9692 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9693 char * _arg8 = (char *) "radioButton";
9694 PyObject * _argo0 = 0;
9695 PyObject * _argo1 = 0;
9696 PyObject * _obj3 = 0;
9697 wxPoint temp;
9698 PyObject * _obj4 = 0;
9699 wxSize temp0;
9700 PyObject * _obj5 = 0;
9701 PyObject * _argo7 = 0;
9702 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
9703
9704 self = self;
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
9706 return NULL;
9707 if (_argo0) {
9708 if (_argo0 == Py_None) { _arg0 = NULL; }
9709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9711 return NULL;
9712 }
9713 }
9714 if (_argo1) {
9715 if (_argo1 == Py_None) { _arg1 = NULL; }
9716 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9717 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9718 return NULL;
9719 }
9720 }
9721{
9722#if PYTHON_API_VERSION >= 1009
9723 char* tmpPtr; int tmpSize;
9724 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
9725 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9726 return NULL;
9727 }
9728 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
9729 return NULL;
9730 _arg3 = new wxString(tmpPtr, tmpSize);
9731#else
9732 if (!PyString_Check(_obj3)) {
9733 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9734 return NULL;
9735 }
9736 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
9737#endif
9738}
9739 if (_obj4)
9740{
9741 _arg4 = &temp;
9742 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 9743 return NULL;
2f90df85 9744}
09f3d4e6 9745 if (_obj5)
2f90df85 9746{
09f3d4e6
RD
9747 _arg5 = &temp0;
9748 if (! wxSize_helper(_obj5, &_arg5))
8ab979d7 9749 return NULL;
2f90df85 9750}
09f3d4e6
RD
9751 if (_argo7) {
9752 if (_argo7 == Py_None) { _arg7 = NULL; }
9753 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
9754 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
8ab979d7
RD
9755 return NULL;
9756 }
9757 }
cf694132 9758{
4268f798 9759 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6 9760 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
cf694132 9761
4268f798 9762 wxPyEndAllowThreads(__tstate);
493f1553 9763 if (PyErr_Occurred()) return NULL;
09f3d4e6 9764} _resultobj = Py_BuildValue("i",_result);
8ab979d7 9765{
09f3d4e6
RD
9766 if (_obj3)
9767 delete _arg3;
8ab979d7
RD
9768}
9769 return _resultobj;
9770}
9771
9772#define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 9773static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9774 PyObject * _resultobj;
9775 bool _result;
9776 wxRadioButton * _arg0;
1d99702e 9777 PyObject * _argo0 = 0;
efc5f224 9778 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9779
9780 self = self;
efc5f224 9781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
8ab979d7 9782 return NULL;
1d99702e
RD
9783 if (_argo0) {
9784 if (_argo0 == Py_None) { _arg0 = NULL; }
9785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
8ab979d7
RD
9786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9787 return NULL;
9788 }
9789 }
cf694132 9790{
4268f798 9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9792 _result = (bool )wxRadioButton_GetValue(_arg0);
9793
4268f798 9794 wxPyEndAllowThreads(__tstate);
493f1553 9795 if (PyErr_Occurred()) return NULL;
cf694132 9796} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9797 return _resultobj;
9798}
9799
9800#define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 9801static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9802 PyObject * _resultobj;
9803 wxRadioButton * _arg0;
9804 bool _arg1;
1d99702e 9805 PyObject * _argo0 = 0;
8ab979d7 9806 int tempbool1;
efc5f224 9807 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
9808
9809 self = self;
efc5f224 9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
8ab979d7 9811 return NULL;
1d99702e
RD
9812 if (_argo0) {
9813 if (_argo0 == Py_None) { _arg0 = NULL; }
9814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
8ab979d7
RD
9815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9816 return NULL;
9817 }
9818 }
9819 _arg1 = (bool ) tempbool1;
cf694132 9820{
4268f798 9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9822 wxRadioButton_SetValue(_arg0,_arg1);
9823
4268f798 9824 wxPyEndAllowThreads(__tstate);
493f1553 9825 if (PyErr_Occurred()) return NULL;
cf694132 9826} Py_INCREF(Py_None);
8ab979d7
RD
9827 _resultobj = Py_None;
9828 return _resultobj;
9829}
9830
9831static void *SwigwxSliderTowxControl(void *ptr) {
9832 wxSlider *src;
9833 wxControl *dest;
9834 src = (wxSlider *) ptr;
9835 dest = (wxControl *) src;
9836 return (void *) dest;
9837}
9838
9839static void *SwigwxSliderTowxWindow(void *ptr) {
9840 wxSlider *src;
9841 wxWindow *dest;
9842 src = (wxSlider *) ptr;
9843 dest = (wxWindow *) src;
9844 return (void *) dest;
9845}
9846
9847static void *SwigwxSliderTowxEvtHandler(void *ptr) {
9848 wxSlider *src;
9849 wxEvtHandler *dest;
9850 src = (wxSlider *) ptr;
9851 dest = (wxEvtHandler *) src;
9852 return (void *) dest;
9853}
9854
9416aa89
RD
9855static void *SwigwxSliderTowxObject(void *ptr) {
9856 wxSlider *src;
9857 wxObject *dest;
9858 src = (wxSlider *) ptr;
9859 dest = (wxObject *) src;
9860 return (void *) dest;
9861}
9862
8ab979d7 9863#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 9864static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9865 PyObject * _resultobj;
9866 wxSlider * _result;
9867 wxWindow * _arg0;
9868 wxWindowID _arg1;
9869 int _arg2;
9870 int _arg3;
9871 int _arg4;
e508a2b6
RD
9872 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
9873 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
1d99702e 9874 long _arg7 = (long ) wxSL_HORIZONTAL;
e508a2b6 9875 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
1d99702e
RD
9876 char * _arg9 = (char *) "slider";
9877 PyObject * _argo0 = 0;
2f90df85
RD
9878 wxPoint temp;
9879 PyObject * _obj5 = 0;
9880 wxSize temp0;
9881 PyObject * _obj6 = 0;
1d99702e 9882 PyObject * _argo8 = 0;
efc5f224 9883 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
8ab979d7
RD
9884 char _ptemp[128];
9885
9886 self = self;
2f90df85 9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOs:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_arg9))
8ab979d7 9888 return NULL;
1d99702e
RD
9889 if (_argo0) {
9890 if (_argo0 == Py_None) { _arg0 = NULL; }
9891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
9892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9893 return NULL;
9894 }
9895 }
2f90df85
RD
9896 if (_obj5)
9897{
9898 _arg5 = &temp;
9899 if (! wxPoint_helper(_obj5, &_arg5))
8ab979d7 9900 return NULL;
2f90df85
RD
9901}
9902 if (_obj6)
9903{
9904 _arg6 = &temp0;
9905 if (! wxSize_helper(_obj6, &_arg6))
8ab979d7 9906 return NULL;
2f90df85 9907}
1d99702e
RD
9908 if (_argo8) {
9909 if (_argo8 == Py_None) { _arg8 = NULL; }
9910 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
8ab979d7
RD
9911 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9912 return NULL;
9913 }
9914 }
cf694132 9915{
4268f798 9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
9917 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
9918
4268f798 9919 wxPyEndAllowThreads(__tstate);
493f1553 9920 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9921} if (_result) {
9922 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
9923 _resultobj = Py_BuildValue("s",_ptemp);
9924 } else {
9925 Py_INCREF(Py_None);
9926 _resultobj = Py_None;
9927 }
8ab979d7
RD
9928 return _resultobj;
9929}
9930
09f3d4e6
RD
9931#define new_wxPreSlider() (new wxSlider())
9932static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
9933 PyObject * _resultobj;
9934 wxSlider * _result;
9935 char *_kwnames[] = { NULL };
9936 char _ptemp[128];
9937
9938 self = self;
9939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
9940 return NULL;
9941{
4268f798 9942 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
9943 _result = (wxSlider *)new_wxPreSlider();
9944
4268f798 9945 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
9946 if (PyErr_Occurred()) return NULL;
9947} if (_result) {
9948 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
9949 _resultobj = Py_BuildValue("s",_ptemp);
9950 } else {
9951 Py_INCREF(Py_None);
9952 _resultobj = Py_None;
9953 }
9954 return _resultobj;
9955}
9956
9957#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))
9958static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9959 PyObject * _resultobj;
9960 bool _result;
9961 wxSlider * _arg0;
9962 wxWindow * _arg1;
9963 wxWindowID _arg2;
9964 int _arg3;
9965 int _arg4;
9966 int _arg5;
9967 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
9968 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
9969 long _arg8 = (long ) wxSL_HORIZONTAL;
9970 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9971 char * _arg10 = (char *) "slider";
9972 PyObject * _argo0 = 0;
9973 PyObject * _argo1 = 0;
9974 wxPoint temp;
9975 PyObject * _obj6 = 0;
9976 wxSize temp0;
9977 PyObject * _obj7 = 0;
9978 PyObject * _argo9 = 0;
9979 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
9980
9981 self = self;
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOs:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_arg10))
9983 return NULL;
9984 if (_argo0) {
9985 if (_argo0 == Py_None) { _arg0 = NULL; }
9986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
9987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9988 return NULL;
9989 }
9990 }
9991 if (_argo1) {
9992 if (_argo1 == Py_None) { _arg1 = NULL; }
9993 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9994 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9995 return NULL;
9996 }
9997 }
9998 if (_obj6)
9999{
10000 _arg6 = &temp;
10001 if (! wxPoint_helper(_obj6, &_arg6))
10002 return NULL;
10003}
10004 if (_obj7)
10005{
10006 _arg7 = &temp0;
10007 if (! wxSize_helper(_obj7, &_arg7))
10008 return NULL;
10009}
10010 if (_argo9) {
10011 if (_argo9 == Py_None) { _arg9 = NULL; }
10012 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
10013 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10014 return NULL;
10015 }
10016 }
10017{
4268f798 10018 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
10019 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,_arg10);
10020
4268f798 10021 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
10022 if (PyErr_Occurred()) return NULL;
10023} _resultobj = Py_BuildValue("i",_result);
10024 return _resultobj;
10025}
10026
8ab979d7 10027#define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
efc5f224 10028static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10029 PyObject * _resultobj;
10030 wxSlider * _arg0;
1d99702e 10031 PyObject * _argo0 = 0;
efc5f224 10032 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10033
10034 self = self;
efc5f224 10035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
8ab979d7 10036 return NULL;
1d99702e
RD
10037 if (_argo0) {
10038 if (_argo0 == Py_None) { _arg0 = NULL; }
10039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10041 return NULL;
10042 }
10043 }
cf694132 10044{
4268f798 10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10046 wxSlider_ClearSel(_arg0);
10047
4268f798 10048 wxPyEndAllowThreads(__tstate);
493f1553 10049 if (PyErr_Occurred()) return NULL;
cf694132 10050} Py_INCREF(Py_None);
8ab979d7
RD
10051 _resultobj = Py_None;
10052 return _resultobj;
10053}
10054
10055#define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
efc5f224 10056static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10057 PyObject * _resultobj;
10058 wxSlider * _arg0;
1d99702e 10059 PyObject * _argo0 = 0;
efc5f224 10060 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10061
10062 self = self;
efc5f224 10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
8ab979d7 10064 return NULL;
1d99702e
RD
10065 if (_argo0) {
10066 if (_argo0 == Py_None) { _arg0 = NULL; }
10067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10069 return NULL;
10070 }
10071 }
cf694132 10072{
4268f798 10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10074 wxSlider_ClearTicks(_arg0);
10075
4268f798 10076 wxPyEndAllowThreads(__tstate);
493f1553 10077 if (PyErr_Occurred()) return NULL;
cf694132 10078} Py_INCREF(Py_None);
8ab979d7
RD
10079 _resultobj = Py_None;
10080 return _resultobj;
10081}
10082
10083#define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
efc5f224 10084static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10085 PyObject * _resultobj;
10086 int _result;
10087 wxSlider * _arg0;
1d99702e 10088 PyObject * _argo0 = 0;
efc5f224 10089 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10090
10091 self = self;
efc5f224 10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
8ab979d7 10093 return NULL;
1d99702e
RD
10094 if (_argo0) {
10095 if (_argo0 == Py_None) { _arg0 = NULL; }
10096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10098 return NULL;
10099 }
10100 }
cf694132 10101{
4268f798 10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10103 _result = (int )wxSlider_GetLineSize(_arg0);
10104
4268f798 10105 wxPyEndAllowThreads(__tstate);
493f1553 10106 if (PyErr_Occurred()) return NULL;
cf694132 10107} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10108 return _resultobj;
10109}
10110
10111#define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
efc5f224 10112static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10113 PyObject * _resultobj;
10114 int _result;
10115 wxSlider * _arg0;
1d99702e 10116 PyObject * _argo0 = 0;
efc5f224 10117 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10118
10119 self = self;
efc5f224 10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
8ab979d7 10121 return NULL;
1d99702e
RD
10122 if (_argo0) {
10123 if (_argo0 == Py_None) { _arg0 = NULL; }
10124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10126 return NULL;
10127 }
10128 }
cf694132 10129{
4268f798 10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10131 _result = (int )wxSlider_GetMax(_arg0);
10132
4268f798 10133 wxPyEndAllowThreads(__tstate);
493f1553 10134 if (PyErr_Occurred()) return NULL;
cf694132 10135} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10136 return _resultobj;
10137}
10138
10139#define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
efc5f224 10140static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10141 PyObject * _resultobj;
10142 int _result;
10143 wxSlider * _arg0;
1d99702e 10144 PyObject * _argo0 = 0;
efc5f224 10145 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10146
10147 self = self;
efc5f224 10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
8ab979d7 10149 return NULL;
1d99702e
RD
10150 if (_argo0) {
10151 if (_argo0 == Py_None) { _arg0 = NULL; }
10152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10154 return NULL;
10155 }
10156 }
cf694132 10157{
4268f798 10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10159 _result = (int )wxSlider_GetMin(_arg0);
10160
4268f798 10161 wxPyEndAllowThreads(__tstate);
493f1553 10162 if (PyErr_Occurred()) return NULL;
cf694132 10163} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10164 return _resultobj;
10165}
10166
10167#define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
efc5f224 10168static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10169 PyObject * _resultobj;
10170 int _result;
10171 wxSlider * _arg0;
1d99702e 10172 PyObject * _argo0 = 0;
efc5f224 10173 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10174
10175 self = self;
efc5f224 10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
8ab979d7 10177 return NULL;
1d99702e
RD
10178 if (_argo0) {
10179 if (_argo0 == Py_None) { _arg0 = NULL; }
10180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10182 return NULL;
10183 }
10184 }
cf694132 10185{
4268f798 10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10187 _result = (int )wxSlider_GetPageSize(_arg0);
10188
4268f798 10189 wxPyEndAllowThreads(__tstate);
493f1553 10190 if (PyErr_Occurred()) return NULL;
cf694132 10191} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10192 return _resultobj;
10193}
10194
10195#define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
efc5f224 10196static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10197 PyObject * _resultobj;
10198 int _result;
10199 wxSlider * _arg0;
1d99702e 10200 PyObject * _argo0 = 0;
efc5f224 10201 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10202
10203 self = self;
efc5f224 10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
8ab979d7 10205 return NULL;
1d99702e
RD
10206 if (_argo0) {
10207 if (_argo0 == Py_None) { _arg0 = NULL; }
10208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10210 return NULL;
10211 }
10212 }
cf694132 10213{
4268f798 10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10215 _result = (int )wxSlider_GetSelEnd(_arg0);
10216
4268f798 10217 wxPyEndAllowThreads(__tstate);
493f1553 10218 if (PyErr_Occurred()) return NULL;
cf694132 10219} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10220 return _resultobj;
10221}
10222
10223#define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
efc5f224 10224static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10225 PyObject * _resultobj;
10226 int _result;
10227 wxSlider * _arg0;
1d99702e 10228 PyObject * _argo0 = 0;
efc5f224 10229 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10230
10231 self = self;
efc5f224 10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
8ab979d7 10233 return NULL;
1d99702e
RD
10234 if (_argo0) {
10235 if (_argo0 == Py_None) { _arg0 = NULL; }
10236 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10237 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10238 return NULL;
10239 }
10240 }
cf694132 10241{
4268f798 10242 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10243 _result = (int )wxSlider_GetSelStart(_arg0);
10244
4268f798 10245 wxPyEndAllowThreads(__tstate);
493f1553 10246 if (PyErr_Occurred()) return NULL;
cf694132 10247} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10248 return _resultobj;
10249}
10250
10251#define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
efc5f224 10252static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10253 PyObject * _resultobj;
10254 int _result;
10255 wxSlider * _arg0;
1d99702e 10256 PyObject * _argo0 = 0;
efc5f224 10257 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10258
10259 self = self;
efc5f224 10260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
8ab979d7 10261 return NULL;
1d99702e
RD
10262 if (_argo0) {
10263 if (_argo0 == Py_None) { _arg0 = NULL; }
10264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10266 return NULL;
10267 }
10268 }
cf694132 10269{
4268f798 10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10271 _result = (int )wxSlider_GetThumbLength(_arg0);
10272
4268f798 10273 wxPyEndAllowThreads(__tstate);
493f1553 10274 if (PyErr_Occurred()) return NULL;
cf694132 10275} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10276 return _resultobj;
10277}
10278
10279#define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
efc5f224 10280static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10281 PyObject * _resultobj;
10282 int _result;
10283 wxSlider * _arg0;
1d99702e 10284 PyObject * _argo0 = 0;
efc5f224 10285 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10286
10287 self = self;
efc5f224 10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
8ab979d7 10289 return NULL;
1d99702e
RD
10290 if (_argo0) {
10291 if (_argo0 == Py_None) { _arg0 = NULL; }
10292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10294 return NULL;
10295 }
10296 }
cf694132 10297{
4268f798 10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10299 _result = (int )wxSlider_GetTickFreq(_arg0);
10300
4268f798 10301 wxPyEndAllowThreads(__tstate);
493f1553 10302 if (PyErr_Occurred()) return NULL;
cf694132 10303} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10304 return _resultobj;
10305}
10306
10307#define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 10308static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10309 PyObject * _resultobj;
10310 int _result;
10311 wxSlider * _arg0;
1d99702e 10312 PyObject * _argo0 = 0;
efc5f224 10313 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10314
10315 self = self;
efc5f224 10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
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_GetValue. Expected _wxSlider_p.");
10322 return NULL;
10323 }
10324 }
cf694132 10325{
4268f798 10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10327 _result = (int )wxSlider_GetValue(_arg0);
10328
4268f798 10329 wxPyEndAllowThreads(__tstate);
493f1553 10330 if (PyErr_Occurred()) return NULL;
cf694132 10331} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10332 return _resultobj;
10333}
10334
10335#define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
efc5f224 10336static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10337 PyObject * _resultobj;
10338 wxSlider * _arg0;
10339 int _arg1;
10340 int _arg2;
1d99702e 10341 PyObject * _argo0 = 0;
efc5f224 10342 char *_kwnames[] = { "self","minValue","maxValue", NULL };
8ab979d7
RD
10343
10344 self = self;
efc5f224 10345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
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_SetRange. Expected _wxSlider_p.");
10351 return NULL;
10352 }
10353 }
cf694132 10354{
4268f798 10355 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10356 wxSlider_SetRange(_arg0,_arg1,_arg2);
10357
4268f798 10358 wxPyEndAllowThreads(__tstate);
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_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
efc5f224 10366static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10367 PyObject * _resultobj;
10368 wxSlider * _arg0;
10369 int _arg1;
10370 int _arg2;
1d99702e 10371 PyObject * _argo0 = 0;
efc5f224 10372 char *_kwnames[] = { "self","n","pos", NULL };
8ab979d7
RD
10373
10374 self = self;
efc5f224 10375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 10376 return NULL;
1d99702e
RD
10377 if (_argo0) {
10378 if (_argo0 == Py_None) { _arg0 = NULL; }
10379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10381 return NULL;
10382 }
10383 }
cf694132 10384{
4268f798 10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10386 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
10387
4268f798 10388 wxPyEndAllowThreads(__tstate);
493f1553 10389 if (PyErr_Occurred()) return NULL;
cf694132 10390} Py_INCREF(Py_None);
8ab979d7
RD
10391 _resultobj = Py_None;
10392 return _resultobj;
10393}
10394
10395#define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
efc5f224 10396static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10397 PyObject * _resultobj;
10398 wxSlider * _arg0;
10399 int _arg1;
1d99702e 10400 PyObject * _argo0 = 0;
efc5f224 10401 char *_kwnames[] = { "self","lineSize", NULL };
8ab979d7
RD
10402
10403 self = self;
efc5f224 10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
8ab979d7 10405 return NULL;
1d99702e
RD
10406 if (_argo0) {
10407 if (_argo0 == Py_None) { _arg0 = NULL; }
10408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10410 return NULL;
10411 }
10412 }
cf694132 10413{
4268f798 10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10415 wxSlider_SetLineSize(_arg0,_arg1);
10416
4268f798 10417 wxPyEndAllowThreads(__tstate);
493f1553 10418 if (PyErr_Occurred()) return NULL;
cf694132 10419} Py_INCREF(Py_None);
8ab979d7
RD
10420 _resultobj = Py_None;
10421 return _resultobj;
10422}
10423
10424#define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
efc5f224 10425static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10426 PyObject * _resultobj;
10427 wxSlider * _arg0;
10428 int _arg1;
1d99702e 10429 PyObject * _argo0 = 0;
efc5f224 10430 char *_kwnames[] = { "self","pageSize", NULL };
8ab979d7
RD
10431
10432 self = self;
efc5f224 10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
8ab979d7 10434 return NULL;
1d99702e
RD
10435 if (_argo0) {
10436 if (_argo0 == Py_None) { _arg0 = NULL; }
10437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10439 return NULL;
10440 }
10441 }
cf694132 10442{
4268f798 10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10444 wxSlider_SetPageSize(_arg0,_arg1);
10445
4268f798 10446 wxPyEndAllowThreads(__tstate);
493f1553 10447 if (PyErr_Occurred()) return NULL;
cf694132 10448} Py_INCREF(Py_None);
8ab979d7
RD
10449 _resultobj = Py_None;
10450 return _resultobj;
10451}
10452
10453#define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
efc5f224 10454static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10455 PyObject * _resultobj;
10456 wxSlider * _arg0;
10457 int _arg1;
10458 int _arg2;
1d99702e 10459 PyObject * _argo0 = 0;
efc5f224 10460 char *_kwnames[] = { "self","startPos","endPos", NULL };
8ab979d7
RD
10461
10462 self = self;
efc5f224 10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 10464 return NULL;
1d99702e
RD
10465 if (_argo0) {
10466 if (_argo0 == Py_None) { _arg0 = NULL; }
10467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10469 return NULL;
10470 }
10471 }
cf694132 10472{
4268f798 10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10474 wxSlider_SetSelection(_arg0,_arg1,_arg2);
10475
4268f798 10476 wxPyEndAllowThreads(__tstate);
493f1553 10477 if (PyErr_Occurred()) return NULL;
cf694132 10478} Py_INCREF(Py_None);
8ab979d7
RD
10479 _resultobj = Py_None;
10480 return _resultobj;
10481}
10482
10483#define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
efc5f224 10484static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10485 PyObject * _resultobj;
10486 wxSlider * _arg0;
10487 int _arg1;
1d99702e 10488 PyObject * _argo0 = 0;
efc5f224 10489 char *_kwnames[] = { "self","len", NULL };
8ab979d7
RD
10490
10491 self = self;
efc5f224 10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
8ab979d7 10493 return NULL;
1d99702e
RD
10494 if (_argo0) {
10495 if (_argo0 == Py_None) { _arg0 = NULL; }
10496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10498 return NULL;
10499 }
10500 }
cf694132 10501{
4268f798 10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10503 wxSlider_SetThumbLength(_arg0,_arg1);
10504
4268f798 10505 wxPyEndAllowThreads(__tstate);
493f1553 10506 if (PyErr_Occurred()) return NULL;
cf694132 10507} Py_INCREF(Py_None);
8ab979d7
RD
10508 _resultobj = Py_None;
10509 return _resultobj;
10510}
10511
10512#define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
efc5f224 10513static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10514 PyObject * _resultobj;
10515 wxSlider * _arg0;
10516 int _arg1;
1d99702e 10517 PyObject * _argo0 = 0;
efc5f224 10518 char *_kwnames[] = { "self","tickPos", NULL };
8ab979d7
RD
10519
10520 self = self;
efc5f224 10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
8ab979d7 10522 return NULL;
1d99702e
RD
10523 if (_argo0) {
10524 if (_argo0 == Py_None) { _arg0 = NULL; }
10525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10527 return NULL;
10528 }
10529 }
cf694132 10530{
4268f798 10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10532 wxSlider_SetTick(_arg0,_arg1);
10533
4268f798 10534 wxPyEndAllowThreads(__tstate);
493f1553 10535 if (PyErr_Occurred()) return NULL;
cf694132 10536} Py_INCREF(Py_None);
8ab979d7
RD
10537 _resultobj = Py_None;
10538 return _resultobj;
10539}
10540
10541#define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 10542static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10543 PyObject * _resultobj;
10544 wxSlider * _arg0;
10545 int _arg1;
1d99702e 10546 PyObject * _argo0 = 0;
efc5f224 10547 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
10548
10549 self = self;
efc5f224 10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
8ab979d7 10551 return NULL;
1d99702e
RD
10552 if (_argo0) {
10553 if (_argo0 == Py_None) { _arg0 = NULL; }
10554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10556 return NULL;
10557 }
10558 }
cf694132 10559{
4268f798 10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
cf694132
RD
10561 wxSlider_SetValue(_arg0,_arg1);
10562
4268f798 10563 wxPyEndAllowThreads(__tstate);
493f1553 10564 if (PyErr_Occurred()) return NULL;
cf694132 10565} Py_INCREF(Py_None);
8ab979d7
RD
10566 _resultobj = Py_None;
10567 return _resultobj;
10568}
10569
f6bcfd97
BP
10570static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
10571 wxSpinCtrl *src;
10572 wxSpinButton *dest;
10573 src = (wxSpinCtrl *) ptr;
10574 dest = (wxSpinButton *) src;
10575 return (void *) dest;
10576}
10577
10578static void *SwigwxSpinCtrlTowxControl(void *ptr) {
10579 wxSpinCtrl *src;
10580 wxControl *dest;
10581 src = (wxSpinCtrl *) ptr;
10582 dest = (wxControl *) src;
10583 return (void *) dest;
10584}
10585
10586static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
10587 wxSpinCtrl *src;
10588 wxWindow *dest;
10589 src = (wxSpinCtrl *) ptr;
10590 dest = (wxWindow *) src;
10591 return (void *) dest;
10592}
10593
10594static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
10595 wxSpinCtrl *src;
10596 wxEvtHandler *dest;
10597 src = (wxSpinCtrl *) ptr;
10598 dest = (wxEvtHandler *) src;
10599 return (void *) dest;
10600}
10601
9416aa89
RD
10602static void *SwigwxSpinCtrlTowxObject(void *ptr) {
10603 wxSpinCtrl *src;
10604 wxObject *dest;
10605 src = (wxSpinCtrl *) ptr;
10606 dest = (wxObject *) src;
10607 return (void *) dest;
10608}
10609
f6bcfd97
BP
10610#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))
10611static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10612 PyObject * _resultobj;
10613 wxSpinCtrl * _result;
10614 wxWindow * _arg0;
10615 wxWindowID _arg1 = (wxWindowID ) -1;
10616 char * _arg2 = (char *) "";
e508a2b6
RD
10617 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10618 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
f6bcfd97
BP
10619 long _arg5 = (long ) wxSP_ARROW_KEYS;
10620 int _arg6 = (int ) 0;
10621 int _arg7 = (int ) 100;
10622 int _arg8 = (int ) 0;
10623 char * _arg9 = (char *) "wxSpinCtrl";
10624 PyObject * _argo0 = 0;
10625 wxPoint temp;
10626 PyObject * _obj3 = 0;
10627 wxSize temp0;
10628 PyObject * _obj4 = 0;
10629 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
10630 char _ptemp[128];
10631
10632 self = self;
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|isOOliiis:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9))
10634 return NULL;
10635 if (_argo0) {
10636 if (_argo0 == Py_None) { _arg0 = NULL; }
10637 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10638 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10639 return NULL;
10640 }
10641 }
10642 if (_obj3)
10643{
10644 _arg3 = &temp;
10645 if (! wxPoint_helper(_obj3, &_arg3))
10646 return NULL;
10647}
10648 if (_obj4)
10649{
10650 _arg4 = &temp0;
10651 if (! wxSize_helper(_obj4, &_arg4))
10652 return NULL;
10653}
10654{
4268f798 10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
f6bcfd97
BP
10656 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
10657
4268f798 10658 wxPyEndAllowThreads(__tstate);
493f1553 10659 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10660} if (_result) {
10661 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10662 _resultobj = Py_BuildValue("s",_ptemp);
10663 } else {
10664 Py_INCREF(Py_None);
10665 _resultobj = Py_None;
10666 }
10667 return _resultobj;
10668}
10669
09f3d4e6
RD
10670#define new_wxPreSpinCtrl() (new wxSpinCtrl())
10671static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10672 PyObject * _resultobj;
10673 wxSpinCtrl * _result;
10674 char *_kwnames[] = { NULL };
10675 char _ptemp[128];
10676
10677 self = self;
10678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
10679 return NULL;
10680{
4268f798 10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
10682 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
10683
4268f798 10684 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
10685 if (PyErr_Occurred()) return NULL;
10686} if (_result) {
10687 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10688 _resultobj = Py_BuildValue("s",_ptemp);
10689 } else {
10690 Py_INCREF(Py_None);
10691 _resultobj = Py_None;
10692 }
10693 return _resultobj;
10694}
10695
10696#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))
10697static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10698 PyObject * _resultobj;
10699 bool _result;
10700 wxSpinCtrl * _arg0;
10701 wxWindow * _arg1;
10702 wxWindowID _arg2 = (wxWindowID ) -1;
10703 char * _arg3 = (char *) "";
10704 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10705 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10706 long _arg6 = (long ) wxSP_ARROW_KEYS;
10707 int _arg7 = (int ) 0;
10708 int _arg8 = (int ) 100;
10709 int _arg9 = (int ) 0;
10710 char * _arg10 = (char *) "wxSpinCtrl";
10711 PyObject * _argo0 = 0;
10712 PyObject * _argo1 = 0;
10713 wxPoint temp;
10714 PyObject * _obj4 = 0;
10715 wxSize temp0;
10716 PyObject * _obj5 = 0;
10717 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
10718
10719 self = self;
10720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_arg10))
10721 return NULL;
10722 if (_argo0) {
10723 if (_argo0 == Py_None) { _arg0 = NULL; }
10724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10726 return NULL;
10727 }
10728 }
10729 if (_argo1) {
10730 if (_argo1 == Py_None) { _arg1 = NULL; }
10731 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10732 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10733 return NULL;
10734 }
10735 }
10736 if (_obj4)
10737{
10738 _arg4 = &temp;
10739 if (! wxPoint_helper(_obj4, &_arg4))
10740 return NULL;
10741}
10742 if (_obj5)
10743{
10744 _arg5 = &temp0;
10745 if (! wxSize_helper(_obj5, &_arg5))
10746 return NULL;
10747}
10748{
4268f798 10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
10750 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,_arg10);
10751
4268f798 10752 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
10753 if (PyErr_Occurred()) return NULL;
10754} _resultobj = Py_BuildValue("i",_result);
10755 return _resultobj;
10756}
10757
c368d904
RD
10758#define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10759static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10760 PyObject * _resultobj;
10761 int _result;
10762 wxSpinCtrl * _arg0;
10763 PyObject * _argo0 = 0;
10764 char *_kwnames[] = { "self", NULL };
10765
10766 self = self;
10767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
10768 return NULL;
10769 if (_argo0) {
10770 if (_argo0 == Py_None) { _arg0 = NULL; }
10771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10773 return NULL;
10774 }
10775 }
10776{
4268f798 10777 PyThreadState* __tstate = wxPyBeginAllowThreads();
c368d904
RD
10778 _result = (int )wxSpinCtrl_GetMax(_arg0);
10779
4268f798 10780 wxPyEndAllowThreads(__tstate);
493f1553 10781 if (PyErr_Occurred()) return NULL;
c368d904
RD
10782} _resultobj = Py_BuildValue("i",_result);
10783 return _resultobj;
10784}
10785
10786#define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10787static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject * _resultobj;
10789 int _result;
10790 wxSpinCtrl * _arg0;
10791 PyObject * _argo0 = 0;
10792 char *_kwnames[] = { "self", NULL };
10793
10794 self = self;
10795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
10796 return NULL;
10797 if (_argo0) {
10798 if (_argo0 == Py_None) { _arg0 = NULL; }
10799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10801 return NULL;
10802 }
10803 }
10804{
4268f798 10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
c368d904
RD
10806 _result = (int )wxSpinCtrl_GetMin(_arg0);
10807
4268f798 10808 wxPyEndAllowThreads(__tstate);
493f1553 10809 if (PyErr_Occurred()) return NULL;
c368d904
RD
10810} _resultobj = Py_BuildValue("i",_result);
10811 return _resultobj;
10812}
10813
10814#define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10815static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10816 PyObject * _resultobj;
10817 int _result;
10818 wxSpinCtrl * _arg0;
10819 PyObject * _argo0 = 0;
10820 char *_kwnames[] = { "self", NULL };
10821
10822 self = self;
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
10824 return NULL;
10825 if (_argo0) {
10826 if (_argo0 == Py_None) { _arg0 = NULL; }
10827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10829 return NULL;
10830 }
10831 }
10832{
4268f798 10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
c368d904
RD
10834 _result = (int )wxSpinCtrl_GetValue(_arg0);
10835
4268f798 10836 wxPyEndAllowThreads(__tstate);
493f1553 10837 if (PyErr_Occurred()) return NULL;
c368d904
RD
10838} _resultobj = Py_BuildValue("i",_result);
10839 return _resultobj;
10840}
10841
10842#define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10843static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject * _resultobj;
10845 wxSpinCtrl * _arg0;
10846 int _arg1;
10847 int _arg2;
10848 PyObject * _argo0 = 0;
10849 char *_kwnames[] = { "self","min","max", NULL };
10850
10851 self = self;
10852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
10853 return NULL;
10854 if (_argo0) {
10855 if (_argo0 == Py_None) { _arg0 = NULL; }
10856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10858 return NULL;
10859 }
10860 }
10861{
4268f798 10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
c368d904
RD
10863 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
10864
4268f798 10865 wxPyEndAllowThreads(__tstate);
493f1553 10866 if (PyErr_Occurred()) return NULL;
c368d904
RD
10867} Py_INCREF(Py_None);
10868 _resultobj = Py_None;
10869 return _resultobj;
10870}
10871
10872#define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10873static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10874 PyObject * _resultobj;
10875 wxSpinCtrl * _arg0;
10876 int _arg1;
10877 PyObject * _argo0 = 0;
10878 char *_kwnames[] = { "self","value", NULL };
10879
10880 self = self;
10881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
10882 return NULL;
10883 if (_argo0) {
10884 if (_argo0 == Py_None) { _arg0 = NULL; }
10885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10887 return NULL;
10888 }
10889 }
10890{
4268f798 10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
c368d904
RD
10892 wxSpinCtrl_SetValue(_arg0,_arg1);
10893
4268f798 10894 wxPyEndAllowThreads(__tstate);
493f1553 10895 if (PyErr_Occurred()) return NULL;
c368d904
RD
10896} Py_INCREF(Py_None);
10897 _resultobj = Py_None;
10898 return _resultobj;
10899}
10900
d1679124
RD
10901static void *SwigwxToggleButtonTowxControl(void *ptr) {
10902 wxToggleButton *src;
10903 wxControl *dest;
10904 src = (wxToggleButton *) ptr;
10905 dest = (wxControl *) src;
10906 return (void *) dest;
10907}
10908
10909static void *SwigwxToggleButtonTowxWindow(void *ptr) {
10910 wxToggleButton *src;
10911 wxWindow *dest;
10912 src = (wxToggleButton *) ptr;
10913 dest = (wxWindow *) src;
10914 return (void *) dest;
10915}
10916
10917static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
10918 wxToggleButton *src;
10919 wxEvtHandler *dest;
10920 src = (wxToggleButton *) ptr;
10921 dest = (wxEvtHandler *) src;
10922 return (void *) dest;
10923}
10924
9416aa89
RD
10925static void *SwigwxToggleButtonTowxObject(void *ptr) {
10926 wxToggleButton *src;
10927 wxObject *dest;
10928 src = (wxToggleButton *) ptr;
10929 dest = (wxObject *) src;
10930 return (void *) dest;
10931}
10932
d1679124
RD
10933#define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10934static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10935 PyObject * _resultobj;
10936 wxToggleButton * _result;
10937 wxWindow * _arg0;
10938 wxWindowID _arg1;
10939 wxString * _arg2;
10940 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10941 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10942 long _arg5 = (long ) 0;
10943 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
10944 char * _arg7 = (char *) "toggle";
10945 PyObject * _argo0 = 0;
10946 PyObject * _obj2 = 0;
10947 wxPoint temp;
10948 PyObject * _obj3 = 0;
10949 wxSize temp0;
10950 PyObject * _obj4 = 0;
10951 PyObject * _argo6 = 0;
10952 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
10953 char _ptemp[128];
10954
10955 self = self;
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
10957 return NULL;
10958 if (_argo0) {
10959 if (_argo0 == Py_None) { _arg0 = NULL; }
10960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10962 return NULL;
10963 }
10964 }
10965{
10966#if PYTHON_API_VERSION >= 1009
10967 char* tmpPtr; int tmpSize;
10968 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
794c5cb1 10969 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
d1679124
RD
10970 return NULL;
10971 }
10972 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
10973 return NULL;
10974 _arg2 = new wxString(tmpPtr, tmpSize);
10975#else
10976 if (!PyString_Check(_obj2)) {
10977 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10978 return NULL;
10979 }
10980 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
10981#endif
10982}
10983 if (_obj3)
10984{
10985 _arg3 = &temp;
10986 if (! wxPoint_helper(_obj3, &_arg3))
10987 return NULL;
10988}
10989 if (_obj4)
10990{
10991 _arg4 = &temp0;
10992 if (! wxSize_helper(_obj4, &_arg4))
10993 return NULL;
10994}
10995 if (_argo6) {
10996 if (_argo6 == Py_None) { _arg6 = NULL; }
10997 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
10998 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
10999 return NULL;
11000 }
11001 }
11002{
4268f798 11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
d1679124
RD
11004 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
11005
4268f798 11006 wxPyEndAllowThreads(__tstate);
493f1553 11007 if (PyErr_Occurred()) return NULL;
d1679124
RD
11008} if (_result) {
11009 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
11010 _resultobj = Py_BuildValue("s",_ptemp);
11011 } else {
11012 Py_INCREF(Py_None);
11013 _resultobj = Py_None;
11014 }
11015{
11016 if (_obj2)
11017 delete _arg2;
11018}
11019 return _resultobj;
11020}
11021
09f3d4e6
RD
11022#define new_wxPreToggleButton() (new wxToggleButton())
11023static PyObject *_wrap_new_wxPreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11024 PyObject * _resultobj;
11025 wxToggleButton * _result;
11026 char *_kwnames[] = { NULL };
11027 char _ptemp[128];
11028
11029 self = self;
11030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToggleButton",_kwnames))
11031 return NULL;
11032{
4268f798 11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
11034 _result = (wxToggleButton *)new_wxPreToggleButton();
11035
4268f798 11036 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
11037 if (PyErr_Occurred()) return NULL;
11038} if (_result) {
11039 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
11040 _resultobj = Py_BuildValue("s",_ptemp);
11041 } else {
11042 Py_INCREF(Py_None);
11043 _resultobj = Py_None;
11044 }
11045 return _resultobj;
11046}
11047
11048#define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11049static PyObject *_wrap_wxToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11050 PyObject * _resultobj;
11051 bool _result;
11052 wxToggleButton * _arg0;
11053 wxWindow * _arg1;
11054 wxWindowID _arg2;
11055 wxString * _arg3;
11056 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
11057 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
11058 long _arg6 = (long ) 0;
11059 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
11060 char * _arg8 = (char *) "toggle";
11061 PyObject * _argo0 = 0;
11062 PyObject * _argo1 = 0;
11063 PyObject * _obj3 = 0;
11064 wxPoint temp;
11065 PyObject * _obj4 = 0;
11066 wxSize temp0;
11067 PyObject * _obj5 = 0;
11068 PyObject * _argo7 = 0;
11069 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
11070
11071 self = self;
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxToggleButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
11073 return NULL;
11074 if (_argo0) {
11075 if (_argo0 == Py_None) { _arg0 = NULL; }
11076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11078 return NULL;
11079 }
11080 }
11081 if (_argo1) {
11082 if (_argo1 == Py_None) { _arg1 = NULL; }
11083 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11084 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11085 return NULL;
11086 }
11087 }
11088{
11089#if PYTHON_API_VERSION >= 1009
11090 char* tmpPtr; int tmpSize;
11091 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
11092 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11093 return NULL;
11094 }
11095 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11096 return NULL;
11097 _arg3 = new wxString(tmpPtr, tmpSize);
11098#else
11099 if (!PyString_Check(_obj3)) {
11100 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11101 return NULL;
11102 }
11103 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11104#endif
11105}
11106 if (_obj4)
11107{
11108 _arg4 = &temp;
11109 if (! wxPoint_helper(_obj4, &_arg4))
11110 return NULL;
11111}
11112 if (_obj5)
11113{
11114 _arg5 = &temp0;
11115 if (! wxSize_helper(_obj5, &_arg5))
11116 return NULL;
11117}
11118 if (_argo7) {
11119 if (_argo7 == Py_None) { _arg7 = NULL; }
11120 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
11121 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11122 return NULL;
11123 }
11124 }
11125{
4268f798 11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
09f3d4e6
RD
11127 _result = (bool )wxToggleButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
11128
4268f798 11129 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
11130 if (PyErr_Occurred()) return NULL;
11131} _resultobj = Py_BuildValue("i",_result);
11132{
11133 if (_obj3)
11134 delete _arg3;
11135}
11136 return _resultobj;
11137}
11138
d1679124
RD
11139#define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11140static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11141 PyObject * _resultobj;
11142 wxToggleButton * _arg0;
11143 bool _arg1;
11144 PyObject * _argo0 = 0;
11145 int tempbool1;
11146 char *_kwnames[] = { "self","value", NULL };
11147
11148 self = self;
11149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
11150 return NULL;
11151 if (_argo0) {
11152 if (_argo0 == Py_None) { _arg0 = NULL; }
11153 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11155 return NULL;
11156 }
11157 }
11158 _arg1 = (bool ) tempbool1;
11159{
4268f798 11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
d1679124
RD
11161 wxToggleButton_SetValue(_arg0,_arg1);
11162
4268f798 11163 wxPyEndAllowThreads(__tstate);
493f1553 11164 if (PyErr_Occurred()) return NULL;
d1679124
RD
11165} Py_INCREF(Py_None);
11166 _resultobj = Py_None;
11167 return _resultobj;
11168}
11169
11170#define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11171static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11172 PyObject * _resultobj;
11173 bool _result;
11174 wxToggleButton * _arg0;
11175 PyObject * _argo0 = 0;
11176 char *_kwnames[] = { "self", NULL };
11177
11178 self = self;
11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
11180 return NULL;
11181 if (_argo0) {
11182 if (_argo0 == Py_None) { _arg0 = NULL; }
11183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11185 return NULL;
11186 }
11187 }
11188{
4268f798 11189 PyThreadState* __tstate = wxPyBeginAllowThreads();
d1679124
RD
11190 _result = (bool )wxToggleButton_GetValue(_arg0);
11191
4268f798 11192 wxPyEndAllowThreads(__tstate);
493f1553 11193 if (PyErr_Occurred()) return NULL;
d1679124
RD
11194} _resultobj = Py_BuildValue("i",_result);
11195 return _resultobj;
11196}
11197
11198#define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11199static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11200 PyObject * _resultobj;
11201 wxToggleButton * _arg0;
11202 wxString * _arg1;
11203 PyObject * _argo0 = 0;
11204 PyObject * _obj1 = 0;
11205 char *_kwnames[] = { "self","label", NULL };
11206
11207 self = self;
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
11209 return NULL;
11210 if (_argo0) {
11211 if (_argo0 == Py_None) { _arg0 = NULL; }
11212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11214 return NULL;
11215 }
11216 }
11217{
11218#if PYTHON_API_VERSION >= 1009
11219 char* tmpPtr; int tmpSize;
11220 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
794c5cb1 11221 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
d1679124
RD
11222 return NULL;
11223 }
11224 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11225 return NULL;
11226 _arg1 = new wxString(tmpPtr, tmpSize);
11227#else
11228 if (!PyString_Check(_obj1)) {
11229 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11230 return NULL;
11231 }
11232 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11233#endif
11234}
11235{
4268f798 11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
d1679124
RD
11237 wxToggleButton_SetLabel(_arg0,*_arg1);
11238
4268f798 11239 wxPyEndAllowThreads(__tstate);
493f1553 11240 if (PyErr_Occurred()) return NULL;
d1679124
RD
11241} Py_INCREF(Py_None);
11242 _resultobj = Py_None;
11243{
11244 if (_obj1)
11245 delete _arg1;
11246}
11247 return _resultobj;
11248}
11249
8ab979d7 11250static PyMethodDef controlscMethods[] = {
d1679124
RD
11251 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
11252 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11253 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11254 { "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
11255 { "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
d1679124 11256 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
11257 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11258 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
11259 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
11260 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
11261 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11262 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11263 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 11264 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11265 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
11266 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
11267 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
11268 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
11269 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
11270 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
11271 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
11272 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
11273 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
11274 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
11275 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
11276 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
11277 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
11278 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11279 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
11280 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
11281 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
11282 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
11283 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11284 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
11285 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11286 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
11287 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11288 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11289 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
11290 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11291 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
11292 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
11293 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
11294 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11295 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
0adbc166 11296 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
efc5f224 11297 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
efc5f224 11298 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
3a0958b1
RD
11299 { "wxRadioBox_GetRowCount", (PyCFunction) _wrap_wxRadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
11300 { "wxRadioBox_GetColumnCount", (PyCFunction) _wrap_wxRadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
0adbc166
RD
11301 { "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
11302 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11303 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
11304 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
11305 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11306 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
11307 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11308 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
11309 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
11310 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
11311 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11312 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
11313 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11314 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
11315 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11316 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
11317 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11318 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
11319 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11320 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
11321 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11322 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
11323 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
11324 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
ebf4302c 11325 { "wxScrollBar_IsVertical", (PyCFunction) _wrap_wxScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26b9cf27 11326 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11327 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
11328 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
11329 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11330 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11331 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
11332 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
efc5f224 11333 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
2f4e9287 11334 { "wxTextCtrl_GetString", (PyCFunction) _wrap_wxTextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
b1462dfa 11335 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11336 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
11337 { "wxTextCtrl_SelectAll", (PyCFunction) _wrap_wxTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
11338 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11339 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11340 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11341 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11342 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11343 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11344 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
11345 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11346 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11347 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11348 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
11349 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11350 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11351 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11352 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11353 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
11354 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
efc5f224 11355 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11356 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11357 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11358 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11359 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11360 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11361 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
11362 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
efc5f224 11363 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
efc5f224 11364 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11365 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
11366 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
11367 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
b78b83ec 11368 { "wxTextCtrl_GetStringSelection", (PyCFunction) _wrap_wxTextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11369 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11370 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
efc5f224 11371 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11372 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
11373 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
11374 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
68320e40 11375 { "wxTextCtrl_GetRange", (PyCFunction) _wrap_wxTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
11376 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11377 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11378 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11379 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 11380 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
2f4e9287 11381 { "wxTextAttr_Combine", (PyCFunction) _wrap_wxTextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
98624b49 11382 { "wxTextAttr_IsDefault", (PyCFunction) _wrap_wxTextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
d56cebe7
RD
11383 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11384 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11385 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11386 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11387 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11388 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11389 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11390 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11391 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11392 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
11393 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
efc5f224 11394 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
694759cf 11395 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11396 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
11397 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11398 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
11399 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11400 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
11401 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11402 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
11403 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11404 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
11405 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
11406 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
11407 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
0adbc166 11408 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
2f90df85 11409 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
efc5f224 11410 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
efc5f224 11411 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
efc5f224 11412 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11413 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
11414 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11415 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
11416 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
11417 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11418 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
11419 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
efc5f224 11420 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11421 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
11422 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
efc5f224 11423 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11424 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
11425 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11426 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
11427 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
11428 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11429 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
11430 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
11431 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
11432 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11433 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
11434 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11435 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
11436 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
efc5f224 11437 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
0adbc166 11438 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11439 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11440 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
11441 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11442 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11443 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11444 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
11445 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
11446 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
efc5f224 11447 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11448 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11449 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11450 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
11451 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11452 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
11453 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
efc5f224 11454 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
0adbc166 11455 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11456 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11457 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
11458 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
efc5f224 11459 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
efc5f224 11460 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11461 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
11462 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11463 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
11464 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11465 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11466 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
11467 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
efc5f224 11468 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11469 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
11470 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
11471 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11472 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
11473 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11474 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11475 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11476 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11477 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11478 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11479 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11480 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
11481 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
efc5f224 11482 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11483 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
11484 { "wxButton_SetImageMargins", (PyCFunction) _wrap_wxButton_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
11485 { "wxButton_SetImageLabel", (PyCFunction) _wrap_wxButton_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
11486 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11487 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
efc5f224 11488 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11489 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
11490 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
efc5f224 11491 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
ce914f73 11492 { "wxControlWithItems_AppendItems", (PyCFunction) _wrap_wxControlWithItems_AppendItems, METH_VARARGS | METH_KEYWORDS },
900d9886
RD
11493 { "wxControlWithItems_SetClientData", (PyCFunction) _wrap_wxControlWithItems_SetClientData, METH_VARARGS | METH_KEYWORDS },
11494 { "wxControlWithItems_GetClientData", (PyCFunction) _wrap_wxControlWithItems_GetClientData, METH_VARARGS | METH_KEYWORDS },
11495 { "wxControlWithItems_Append", (PyCFunction) _wrap_wxControlWithItems_Append, METH_VARARGS | METH_KEYWORDS },
11496 { "wxControlWithItems_GetStringSelection", (PyCFunction) _wrap_wxControlWithItems_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11497 { "wxControlWithItems_GetSelection", (PyCFunction) _wrap_wxControlWithItems_GetSelection, METH_VARARGS | METH_KEYWORDS },
11498 { "wxControlWithItems_Select", (PyCFunction) _wrap_wxControlWithItems_Select, METH_VARARGS | METH_KEYWORDS },
11499 { "wxControlWithItems_FindString", (PyCFunction) _wrap_wxControlWithItems_FindString, METH_VARARGS | METH_KEYWORDS },
11500 { "wxControlWithItems_SetString", (PyCFunction) _wrap_wxControlWithItems_SetString, METH_VARARGS | METH_KEYWORDS },
11501 { "wxControlWithItems_GetString", (PyCFunction) _wrap_wxControlWithItems_GetString, METH_VARARGS | METH_KEYWORDS },
11502 { "wxControlWithItems_GetCount", (PyCFunction) _wrap_wxControlWithItems_GetCount, METH_VARARGS | METH_KEYWORDS },
11503 { "wxControlWithItems_Delete", (PyCFunction) _wrap_wxControlWithItems_Delete, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
11504 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
11505 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
11506 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
11507 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
11508 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
6999b0d8 11509 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
11510 { NULL, NULL }
11511};
1d99702e
RD
11512#ifdef __cplusplus
11513}
11514#endif
11515/*
11516 * This table is used by the pointer type-checker
11517 */
11518static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 11519 { "_signed_long","_long",0},
b1462dfa 11520 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
11521 { "_wxPrintQuality","_int",0},
11522 { "_wxPrintQuality","_signed_int",0},
11523 { "_wxPrintQuality","_unsigned_int",0},
11524 { "_wxPrintQuality","_wxWindowID",0},
11525 { "_wxPrintQuality","_uint",0},
11526 { "_wxPrintQuality","_EBool",0},
11527 { "_wxPrintQuality","_size_t",0},
c368d904 11528 { "_wxPrintQuality","_time_t",0},
1d99702e 11529 { "_byte","_unsigned_char",0},
1d99702e 11530 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
1d99702e
RD
11531 { "_long","_unsigned_long",0},
11532 { "_long","_signed_long",0},
b1462dfa 11533 { "_size_t","_wxCoord",0},
1d99702e 11534 { "_size_t","_wxPrintQuality",0},
c368d904 11535 { "_size_t","_time_t",0},
1d99702e
RD
11536 { "_size_t","_unsigned_int",0},
11537 { "_size_t","_int",0},
11538 { "_size_t","_wxWindowID",0},
11539 { "_size_t","_uint",0},
b1462dfa 11540 { "_uint","_wxCoord",0},
1d99702e 11541 { "_uint","_wxPrintQuality",0},
c368d904 11542 { "_uint","_time_t",0},
1d99702e
RD
11543 { "_uint","_size_t",0},
11544 { "_uint","_unsigned_int",0},
11545 { "_uint","_int",0},
11546 { "_uint","_wxWindowID",0},
f6bcfd97 11547 { "_wxChar","_char",0},
f6bcfd97 11548 { "_char","_wxChar",0},
f6bcfd97 11549 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
cdf14688 11550 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 11551 { "_EBool","_wxCoord",0},
1d99702e
RD
11552 { "_EBool","_wxPrintQuality",0},
11553 { "_EBool","_signed_int",0},
11554 { "_EBool","_int",0},
11555 { "_EBool","_wxWindowID",0},
1d99702e 11556 { "_unsigned_long","_long",0},
cdf14688 11557 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 11558 { "_signed_int","_wxCoord",0},
1d99702e
RD
11559 { "_signed_int","_wxPrintQuality",0},
11560 { "_signed_int","_EBool",0},
11561 { "_signed_int","_wxWindowID",0},
11562 { "_signed_int","_int",0},
1d99702e 11563 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
1d99702e
RD
11564 { "_WXTYPE","_short",0},
11565 { "_WXTYPE","_signed_short",0},
11566 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
11567 { "_unsigned_short","_WXTYPE",0},
11568 { "_unsigned_short","_short",0},
9416aa89 11569 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
9416aa89 11570 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
9416aa89 11571 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
9416aa89 11572 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
9416aa89 11573 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
9416aa89 11574 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
9416aa89 11575 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
9416aa89 11576 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
9416aa89 11577 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
9416aa89 11578 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
9416aa89 11579 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
9416aa89 11580 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
9416aa89 11581 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
9416aa89 11582 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
9416aa89 11583 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
9416aa89 11584 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
9416aa89 11585 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
9416aa89 11586 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
9416aa89 11587 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
9416aa89 11588 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
900d9886 11589 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
9416aa89 11590 { "_wxObject","_wxControl",SwigwxControlTowxObject},
1d99702e
RD
11591 { "_signed_short","_WXTYPE",0},
11592 { "_signed_short","_short",0},
1d99702e 11593 { "_unsigned_char","_byte",0},
d1679124 11594 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
f6bcfd97 11595 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
1d99702e 11596 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
1d99702e 11597 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
1d99702e 11598 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
1d99702e 11599 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
1d99702e 11600 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
1d99702e 11601 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
1d99702e 11602 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
1d99702e 11603 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
1d99702e 11604 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
1d99702e 11605 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
1d99702e 11606 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
1d99702e 11607 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
1d99702e 11608 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
1d99702e 11609 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
1d99702e 11610 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
1d99702e 11611 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
1d99702e 11612 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
1d99702e 11613 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
900d9886 11614 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
b1462dfa 11615 { "_unsigned_int","_wxCoord",0},
1d99702e 11616 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11617 { "_unsigned_int","_time_t",0},
1d99702e
RD
11618 { "_unsigned_int","_size_t",0},
11619 { "_unsigned_int","_uint",0},
11620 { "_unsigned_int","_wxWindowID",0},
11621 { "_unsigned_int","_int",0},
1d99702e
RD
11622 { "_short","_WXTYPE",0},
11623 { "_short","_unsigned_short",0},
11624 { "_short","_signed_short",0},
900d9886
RD
11625 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
11626 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
11627 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems},
11628 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
b1462dfa 11629 { "_wxWindowID","_wxCoord",0},
1d99702e 11630 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11631 { "_wxWindowID","_time_t",0},
1d99702e
RD
11632 { "_wxWindowID","_size_t",0},
11633 { "_wxWindowID","_EBool",0},
11634 { "_wxWindowID","_uint",0},
11635 { "_wxWindowID","_int",0},
11636 { "_wxWindowID","_signed_int",0},
11637 { "_wxWindowID","_unsigned_int",0},
b1462dfa 11638 { "_int","_wxCoord",0},
1d99702e 11639 { "_int","_wxPrintQuality",0},
c368d904 11640 { "_int","_time_t",0},
1d99702e
RD
11641 { "_int","_size_t",0},
11642 { "_int","_EBool",0},
11643 { "_int","_uint",0},
11644 { "_int","_wxWindowID",0},
11645 { "_int","_unsigned_int",0},
11646 { "_int","_signed_int",0},
c368d904
RD
11647 { "_time_t","_wxCoord",0},
11648 { "_time_t","_wxPrintQuality",0},
11649 { "_time_t","_unsigned_int",0},
11650 { "_time_t","_int",0},
11651 { "_time_t","_wxWindowID",0},
11652 { "_time_t","_uint",0},
11653 { "_time_t","_size_t",0},
1d99702e 11654 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
b1462dfa
RD
11655 { "_wxCoord","_int",0},
11656 { "_wxCoord","_signed_int",0},
11657 { "_wxCoord","_unsigned_int",0},
11658 { "_wxCoord","_wxWindowID",0},
11659 { "_wxCoord","_uint",0},
11660 { "_wxCoord","_EBool",0},
11661 { "_wxCoord","_size_t",0},
c368d904 11662 { "_wxCoord","_time_t",0},
b1462dfa 11663 { "_wxCoord","_wxPrintQuality",0},
d1679124 11664 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
f6bcfd97 11665 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
1d99702e 11666 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
1d99702e 11667 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
1d99702e 11668 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
1d99702e 11669 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
1d99702e 11670 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
1d99702e 11671 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
1d99702e 11672 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
1d99702e 11673 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
1d99702e 11674 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
1d99702e 11675 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
1d99702e 11676 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
1d99702e 11677 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
1d99702e 11678 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
1d99702e 11679 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
1d99702e 11680 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
1d99702e 11681 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
1d99702e 11682 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
1d99702e 11683 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
900d9886 11684 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
1d99702e 11685 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
d1679124 11686 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
f6bcfd97 11687 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
1d99702e 11688 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
1d99702e 11689 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
1d99702e 11690 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
1d99702e 11691 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
1d99702e 11692 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
1d99702e 11693 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
1d99702e 11694 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
1d99702e 11695 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
1d99702e 11696 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
1d99702e 11697 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
1d99702e 11698 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
1d99702e 11699 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
1d99702e 11700 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
1d99702e 11701 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
1d99702e 11702 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
1d99702e 11703 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
1d99702e 11704 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
1d99702e 11705 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
900d9886 11706 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
1d99702e 11707 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
1d99702e
RD
11708{0,0,0}};
11709
8ab979d7
RD
11710static PyObject *SWIG_globals;
11711#ifdef __cplusplus
11712extern "C"
11713#endif
1d99702e 11714SWIGEXPORT(void) initcontrolsc() {
8ab979d7
RD
11715 PyObject *m, *d;
11716 SWIG_globals = SWIG_newvarlink();
11717 m = Py_InitModule("controlsc", controlscMethods);
11718 d = PyModule_GetDict(m);
2f90df85
RD
11719 PyDict_SetItemString(d,"cvar", SWIG_globals);
11720 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
d1679124 11721 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
1d99702e
RD
11722{
11723 int i;
11724 for (i = 0; _swig_mapping[i].n1; i++)
11725 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11726}
8ab979d7 11727}