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