]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls.cpp
Some little tweaks...
[wxWidgets.git] / wxPython / src / gtk / controls.cpp
CommitLineData
70551f47 1/*
2cd2fac8 2 * FILE : src/gtk/controls.cpp
70551f47
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
70551f47
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)
2d091820 27# define SWIGEXPORT(a) __declspec(dllexport) a
70551f47
RD
28# else
29# if defined(__BORLANDC__)
0220cbc1 30# define SWIGEXPORT(a) a _export
70551f47 31# else
0220cbc1 32# define SWIGEXPORT(a) a
70551f47
RD
33# endif
34# endif
35#else
0220cbc1 36# define SWIGEXPORT(a) a
70551f47
RD
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
0220cbc1 42#include "Python.h"
70551f47
RD
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
70551f47
RD
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
70551f47
RD
52#define SWIG_init initcontrolsc
53
54#define SWIG_name "controlsc"
55
56#include "helpers.h"
57#include <wx/slider.h>
62bd0874 58#include <wx/spinbutt.h>
f6bcfd97 59#include <wx/spinctrl.h>
ab9bc19b 60#include <wx/dynarray.h>
8bf5d46e 61#include <wx/statline.h>
7a446686 62#include <wx/tglbtn.h>
70551f47
RD
63
64#ifdef __WXMSW__
b26e2dc4
RD
65#if wxUSE_OWNER_DRAWN
66#include <wx/checklst.h>
67#endif
70551f47
RD
68#endif
69
c95e68d8
RD
70#ifdef __WXGTK__
71#include <wx/checklst.h>
72#endif
73
d24a34bb 74
0220cbc1
RD
75static PyObject* l_output_helper(PyObject* target, PyObject* o) {
76 PyObject* o2;
77 if (!target) {
78 target = o;
79 } else if (target == Py_None) {
80 Py_DECREF(Py_None);
81 target = o;
82 } else {
83 if (!PyList_Check(target)) {
84 o2 = target;
85 target = PyList_New(0);
86 PyList_Append(target, o2);
87 Py_XDECREF(o2);
88 }
89 PyList_Append(target,o);
90 Py_XDECREF(o);
91 }
92 return target;
93}
70551f47
RD
94
95static PyObject* t_output_helper(PyObject* target, PyObject* o) {
96 PyObject* o2;
97 PyObject* o3;
98
0220cbc1 99 if (!target) {
70551f47 100 target = o;
0220cbc1 101 } else if (target == Py_None) {
70551f47
RD
102 Py_DECREF(Py_None);
103 target = o;
0220cbc1 104 } else {
70551f47
RD
105 if (!PyTuple_Check(target)) {
106 o2 = target;
107 target = PyTuple_New(1);
108 PyTuple_SetItem(target, 0, o2);
109 }
0220cbc1
RD
110 o3 = PyTuple_New(1);
111 PyTuple_SetItem(o3, 0, o);
70551f47
RD
112
113 o2 = target;
0220cbc1
RD
114 target = PySequence_Concat(o2, o3);
115 Py_DECREF(o2);
70551f47
RD
116 Py_DECREF(o3);
117 }
118 return target;
119}
120
7a446686
RD
121#if PYTHON_API_VERSION >= 1009
122 static char* wxStringErrorMsg = "String or Unicode type required";
123#else
0220cbc1 124 static char* wxStringErrorMsg = "String type required";
7a446686 125#endif
2d091820
RD
126#ifdef __cplusplus
127extern "C" {
128#endif
37f6a977
RD
129static int _wrap_wxDefaultValidator_set(PyObject *val) {
130
131 PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only.");
132 return 1;
133}
134
135static PyObject *_wrap_wxDefaultValidator_get() {
136 PyObject * pyobj;
137 char ptemp[128];
138
139 SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p");
140 pyobj = PyString_FromString(ptemp);
141 return pyobj;
142}
143
70551f47
RD
144static void *SwigwxControlTowxWindow(void *ptr) {
145 wxControl *src;
146 wxWindow *dest;
147 src = (wxControl *) ptr;
148 dest = (wxWindow *) src;
149 return (void *) dest;
150}
151
152static void *SwigwxControlTowxEvtHandler(void *ptr) {
153 wxControl *src;
154 wxEvtHandler *dest;
155 src = (wxControl *) ptr;
156 dest = (wxEvtHandler *) src;
157 return (void *) dest;
158}
159
9df61a29
RD
160static void *SwigwxControlTowxObject(void *ptr) {
161 wxControl *src;
162 wxObject *dest;
163 src = (wxControl *) ptr;
164 dest = (wxObject *) src;
165 return (void *) dest;
166}
167
ab2208b5 168#define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
56f5d962
RD
169static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
170 PyObject * _resultobj;
171 wxControl * _result;
ab2208b5
RD
172 wxWindow * _arg0;
173 wxWindowID _arg1;
b68dc582
RD
174 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
175 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
ab2208b5 176 long _arg4 = (long ) 0;
b68dc582 177 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
ab2208b5 178 char * _arg6 = (char *) "control";
56f5d962 179 PyObject * _argo0 = 0;
56f5d962 180 wxPoint temp;
ab2208b5 181 PyObject * _obj2 = 0;
56f5d962 182 wxSize temp0;
ab2208b5
RD
183 PyObject * _obj3 = 0;
184 PyObject * _argo5 = 0;
185 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
186 char _ptemp[128];
56f5d962
RD
187
188 self = self;
ab2208b5 189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
56f5d962
RD
190 return NULL;
191 if (_argo0) {
192 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
56f5d962
RD
195 return NULL;
196 }
197 }
ab2208b5 198 if (_obj2)
56f5d962 199{
ab2208b5
RD
200 _arg2 = &temp;
201 if (! wxPoint_helper(_obj2, &_arg2))
56f5d962
RD
202 return NULL;
203}
ab2208b5 204 if (_obj3)
56f5d962 205{
ab2208b5
RD
206 _arg3 = &temp0;
207 if (! wxSize_helper(_obj3, &_arg3))
56f5d962
RD
208 return NULL;
209}
ab2208b5
RD
210 if (_argo5) {
211 if (_argo5 == Py_None) { _arg5 = NULL; }
212 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
213 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
56f5d962
RD
214 return NULL;
215 }
216 }
217{
218 wxPy_BEGIN_ALLOW_THREADS;
ab2208b5 219 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
56f5d962
RD
220
221 wxPy_END_ALLOW_THREADS;
4dfaa61e 222 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
223} if (_result) {
224 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
225 _resultobj = Py_BuildValue("s",_ptemp);
226 } else {
227 Py_INCREF(Py_None);
228 _resultobj = Py_None;
229 }
56f5d962
RD
230 return _resultobj;
231}
232
aa2a5b86
RD
233#define new_wxPreControl() (new wxControl())
234static PyObject *_wrap_new_wxPreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
235 PyObject * _resultobj;
236 wxControl * _result;
237 char *_kwnames[] = { NULL };
238 char _ptemp[128];
239
240 self = self;
241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreControl",_kwnames))
242 return NULL;
243{
244 wxPy_BEGIN_ALLOW_THREADS;
245 _result = (wxControl *)new_wxPreControl();
246
247 wxPy_END_ALLOW_THREADS;
248 if (PyErr_Occurred()) return NULL;
249} if (_result) {
250 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
251 _resultobj = Py_BuildValue("s",_ptemp);
252 } else {
253 Py_INCREF(Py_None);
254 _resultobj = Py_None;
255 }
256 return _resultobj;
257}
258
259#define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
260static PyObject *_wrap_wxControl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
261 PyObject * _resultobj;
262 bool _result;
263 wxControl * _arg0;
264 wxWindow * _arg1;
265 wxWindowID _arg2;
266 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
267 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
268 long _arg5 = (long ) 0;
269 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
270 char * _arg7 = (char *) "control";
271 PyObject * _argo0 = 0;
272 PyObject * _argo1 = 0;
273 wxPoint temp;
274 PyObject * _obj3 = 0;
275 wxSize temp0;
276 PyObject * _obj4 = 0;
277 PyObject * _argo6 = 0;
278 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
279
280 self = self;
281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOs:wxControl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
282 return NULL;
283 if (_argo0) {
284 if (_argo0 == Py_None) { _arg0 = NULL; }
285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
287 return NULL;
288 }
289 }
290 if (_argo1) {
291 if (_argo1 == Py_None) { _arg1 = NULL; }
292 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
293 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
294 return NULL;
295 }
296 }
297 if (_obj3)
298{
299 _arg3 = &temp;
300 if (! wxPoint_helper(_obj3, &_arg3))
301 return NULL;
302}
303 if (_obj4)
304{
305 _arg4 = &temp0;
306 if (! wxSize_helper(_obj4, &_arg4))
307 return NULL;
308}
309 if (_argo6) {
310 if (_argo6 == Py_None) { _arg6 = NULL; }
311 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
312 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
313 return NULL;
314 }
315 }
316{
317 wxPy_BEGIN_ALLOW_THREADS;
318 _result = (bool )wxControl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
319
320 wxPy_END_ALLOW_THREADS;
321 if (PyErr_Occurred()) return NULL;
322} _resultobj = Py_BuildValue("i",_result);
323 return _resultobj;
324}
325
56f5d962
RD
326#define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
327static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
328 PyObject * _resultobj;
329 wxControl * _arg0;
330 wxCommandEvent * _arg1;
331 PyObject * _argo0 = 0;
332 PyObject * _argo1 = 0;
333 char *_kwnames[] = { "self","event", NULL };
334
335 self = self;
336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1))
337 return NULL;
338 if (_argo0) {
339 if (_argo0 == Py_None) { _arg0 = NULL; }
340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
342 return NULL;
343 }
344 }
345 if (_argo1) {
346 if (_argo1 == Py_None) { _arg1 = NULL; }
347 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
348 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
349 return NULL;
350 }
351 }
352{
353 wxPy_BEGIN_ALLOW_THREADS;
354 wxControl_Command(_arg0,*_arg1);
355
356 wxPy_END_ALLOW_THREADS;
4dfaa61e 357 if (PyErr_Occurred()) return NULL;
56f5d962
RD
358} Py_INCREF(Py_None);
359 _resultobj = Py_None;
360 return _resultobj;
361}
362
70551f47 363#define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
107e4716 364static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
365 PyObject * _resultobj;
366 wxString * _result;
367 wxControl * _arg0;
2d091820 368 PyObject * _argo0 = 0;
107e4716 369 char *_kwnames[] = { "self", NULL };
70551f47
RD
370
371 self = self;
107e4716 372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
70551f47 373 return NULL;
2d091820
RD
374 if (_argo0) {
375 if (_argo0 == Py_None) { _arg0 = NULL; }
376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
70551f47
RD
377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
378 return NULL;
379 }
380 }
70551f47 381{
ab9bc19b
RD
382 wxPy_BEGIN_ALLOW_THREADS;
383 _result = new wxString (wxControl_GetLabel(_arg0));
384
385 wxPy_END_ALLOW_THREADS;
4dfaa61e 386 if (PyErr_Occurred()) return NULL;
ab9bc19b 387}{
e02c03a4 388 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
389}
390{
391 delete _result;
392}
393 return _resultobj;
394}
395
396#define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
107e4716 397static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
398 PyObject * _resultobj;
399 wxControl * _arg0;
400 wxString * _arg1;
2d091820 401 PyObject * _argo0 = 0;
70551f47 402 PyObject * _obj1 = 0;
107e4716 403 char *_kwnames[] = { "self","label", NULL };
70551f47
RD
404
405 self = self;
107e4716 406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
70551f47 407 return NULL;
2d091820
RD
408 if (_argo0) {
409 if (_argo0 == Py_None) { _arg0 = NULL; }
410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
70551f47
RD
411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
412 return NULL;
413 }
414 }
415{
2cd2fac8
RD
416#if PYTHON_API_VERSION >= 1009
417 char* tmpPtr; int tmpSize;
418 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 419 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
420 return NULL;
421 }
422 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
423 return NULL;
424 _arg1 = new wxString(tmpPtr, tmpSize);
425#else
70551f47
RD
426 if (!PyString_Check(_obj1)) {
427 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
428 return NULL;
429 }
2cd2fac8
RD
430 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
431#endif
70551f47 432}
ab9bc19b
RD
433{
434 wxPy_BEGIN_ALLOW_THREADS;
435 wxControl_SetLabel(_arg0,*_arg1);
436
437 wxPy_END_ALLOW_THREADS;
4dfaa61e 438 if (PyErr_Occurred()) return NULL;
ab9bc19b 439} Py_INCREF(Py_None);
70551f47
RD
440 _resultobj = Py_None;
441{
442 if (_obj1)
443 delete _arg1;
444}
445 return _resultobj;
446}
447
65191ae8
RD
448static void *SwigwxControlWithItemsTowxControl(void *ptr) {
449 wxControlWithItems *src;
450 wxControl *dest;
451 src = (wxControlWithItems *) ptr;
452 dest = (wxControl *) src;
453 return (void *) dest;
454}
455
456static void *SwigwxControlWithItemsTowxWindow(void *ptr) {
457 wxControlWithItems *src;
458 wxWindow *dest;
459 src = (wxControlWithItems *) ptr;
460 dest = (wxWindow *) src;
461 return (void *) dest;
462}
463
464static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr) {
465 wxControlWithItems *src;
466 wxEvtHandler *dest;
467 src = (wxControlWithItems *) ptr;
468 dest = (wxEvtHandler *) src;
469 return (void *) dest;
470}
471
472static void *SwigwxControlWithItemsTowxObject(void *ptr) {
473 wxControlWithItems *src;
474 wxObject *dest;
475 src = (wxControlWithItems *) ptr;
476 dest = (wxObject *) src;
477 return (void *) dest;
478}
479
480#define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
481static PyObject *_wrap_wxControlWithItems_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
482 PyObject * _resultobj;
483 wxControlWithItems * _arg0;
484 int _arg1;
485 PyObject * _argo0 = 0;
486 char *_kwnames[] = { "self","n", NULL };
487
488 self = self;
489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Delete",_kwnames,&_argo0,&_arg1))
490 return NULL;
491 if (_argo0) {
492 if (_argo0 == Py_None) { _arg0 = NULL; }
493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
495 return NULL;
496 }
497 }
498{
499 wxPy_BEGIN_ALLOW_THREADS;
500 wxControlWithItems_Delete(_arg0,_arg1);
501
502 wxPy_END_ALLOW_THREADS;
503 if (PyErr_Occurred()) return NULL;
504} Py_INCREF(Py_None);
505 _resultobj = Py_None;
506 return _resultobj;
507}
508
509#define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
510static PyObject *_wrap_wxControlWithItems_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
511 PyObject * _resultobj;
512 int _result;
513 wxControlWithItems * _arg0;
514 PyObject * _argo0 = 0;
515 char *_kwnames[] = { "self", NULL };
516
517 self = self;
518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetCount",_kwnames,&_argo0))
519 return NULL;
520 if (_argo0) {
521 if (_argo0 == Py_None) { _arg0 = NULL; }
522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
524 return NULL;
525 }
526 }
527{
528 wxPy_BEGIN_ALLOW_THREADS;
529 _result = (int )wxControlWithItems_GetCount(_arg0);
530
531 wxPy_END_ALLOW_THREADS;
532 if (PyErr_Occurred()) return NULL;
533} _resultobj = Py_BuildValue("i",_result);
534 return _resultobj;
535}
536
537#define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
538static PyObject *_wrap_wxControlWithItems_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
539 PyObject * _resultobj;
540 wxString * _result;
541 wxControlWithItems * _arg0;
542 int _arg1;
543 PyObject * _argo0 = 0;
544 char *_kwnames[] = { "self","n", NULL };
545
546 self = self;
547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetString",_kwnames,&_argo0,&_arg1))
548 return NULL;
549 if (_argo0) {
550 if (_argo0 == Py_None) { _arg0 = NULL; }
551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
553 return NULL;
554 }
555 }
556{
557 wxPy_BEGIN_ALLOW_THREADS;
558 _result = new wxString (wxControlWithItems_GetString(_arg0,_arg1));
559
560 wxPy_END_ALLOW_THREADS;
561 if (PyErr_Occurred()) return NULL;
562}{
563 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
564}
565{
566 delete _result;
567}
568 return _resultobj;
569}
570
571#define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
572static PyObject *_wrap_wxControlWithItems_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
573 PyObject * _resultobj;
574 wxControlWithItems * _arg0;
575 int _arg1;
576 wxString * _arg2;
577 PyObject * _argo0 = 0;
578 PyObject * _obj2 = 0;
579 char *_kwnames[] = { "self","n","s", NULL };
580
581 self = self;
582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
583 return NULL;
584 if (_argo0) {
585 if (_argo0 == Py_None) { _arg0 = NULL; }
586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
588 return NULL;
589 }
590 }
591{
592#if PYTHON_API_VERSION >= 1009
593 char* tmpPtr; int tmpSize;
594 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
595 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
596 return NULL;
597 }
598 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
599 return NULL;
600 _arg2 = new wxString(tmpPtr, tmpSize);
601#else
602 if (!PyString_Check(_obj2)) {
603 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
604 return NULL;
605 }
606 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
607#endif
608}
609{
610 wxPy_BEGIN_ALLOW_THREADS;
611 wxControlWithItems_SetString(_arg0,_arg1,*_arg2);
612
613 wxPy_END_ALLOW_THREADS;
614 if (PyErr_Occurred()) return NULL;
615} Py_INCREF(Py_None);
616 _resultobj = Py_None;
617{
618 if (_obj2)
619 delete _arg2;
620}
621 return _resultobj;
622}
623
624#define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
625static PyObject *_wrap_wxControlWithItems_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
626 PyObject * _resultobj;
627 int _result;
628 wxControlWithItems * _arg0;
629 wxString * _arg1;
630 PyObject * _argo0 = 0;
631 PyObject * _obj1 = 0;
632 char *_kwnames[] = { "self","s", NULL };
633
634 self = self;
635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_FindString",_kwnames,&_argo0,&_obj1))
636 return NULL;
637 if (_argo0) {
638 if (_argo0 == Py_None) { _arg0 = NULL; }
639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
641 return NULL;
642 }
643 }
644{
645#if PYTHON_API_VERSION >= 1009
646 char* tmpPtr; int tmpSize;
647 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
648 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
649 return NULL;
650 }
651 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
652 return NULL;
653 _arg1 = new wxString(tmpPtr, tmpSize);
654#else
655 if (!PyString_Check(_obj1)) {
656 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
657 return NULL;
658 }
659 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
660#endif
661}
662{
663 wxPy_BEGIN_ALLOW_THREADS;
664 _result = (int )wxControlWithItems_FindString(_arg0,*_arg1);
665
666 wxPy_END_ALLOW_THREADS;
667 if (PyErr_Occurred()) return NULL;
668} _resultobj = Py_BuildValue("i",_result);
669{
670 if (_obj1)
671 delete _arg1;
672}
673 return _resultobj;
674}
675
676#define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
677static PyObject *_wrap_wxControlWithItems_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
678 PyObject * _resultobj;
679 wxControlWithItems * _arg0;
680 int _arg1;
681 PyObject * _argo0 = 0;
682 char *_kwnames[] = { "self","n", NULL };
683
684 self = self;
685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Select",_kwnames,&_argo0,&_arg1))
686 return NULL;
687 if (_argo0) {
688 if (_argo0 == Py_None) { _arg0 = NULL; }
689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
691 return NULL;
692 }
693 }
694{
695 wxPy_BEGIN_ALLOW_THREADS;
696 wxControlWithItems_Select(_arg0,_arg1);
697
698 wxPy_END_ALLOW_THREADS;
699 if (PyErr_Occurred()) return NULL;
700} Py_INCREF(Py_None);
701 _resultobj = Py_None;
702 return _resultobj;
703}
704
705#define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
706static PyObject *_wrap_wxControlWithItems_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
707 PyObject * _resultobj;
708 int _result;
709 wxControlWithItems * _arg0;
710 PyObject * _argo0 = 0;
711 char *_kwnames[] = { "self", NULL };
712
713 self = self;
714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetSelection",_kwnames,&_argo0))
715 return NULL;
716 if (_argo0) {
717 if (_argo0 == Py_None) { _arg0 = NULL; }
718 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
719 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
720 return NULL;
721 }
722 }
723{
724 wxPy_BEGIN_ALLOW_THREADS;
725 _result = (int )wxControlWithItems_GetSelection(_arg0);
726
727 wxPy_END_ALLOW_THREADS;
728 if (PyErr_Occurred()) return NULL;
729} _resultobj = Py_BuildValue("i",_result);
730 return _resultobj;
731}
732
733#define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
734static PyObject *_wrap_wxControlWithItems_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
735 PyObject * _resultobj;
736 wxString * _result;
737 wxControlWithItems * _arg0;
738 PyObject * _argo0 = 0;
739 char *_kwnames[] = { "self", NULL };
740
741 self = self;
742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetStringSelection",_kwnames,&_argo0))
743 return NULL;
744 if (_argo0) {
745 if (_argo0 == Py_None) { _arg0 = NULL; }
746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
748 return NULL;
749 }
750 }
751{
752 wxPy_BEGIN_ALLOW_THREADS;
753 _result = new wxString (wxControlWithItems_GetStringSelection(_arg0));
754
755 wxPy_END_ALLOW_THREADS;
756 if (PyErr_Occurred()) return NULL;
757}{
758 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
759}
760{
761 delete _result;
762}
763 return _resultobj;
764}
765
766static void wxControlWithItems_Append(wxControlWithItems *self,const wxString & item,PyObject * clientData) {
767 if (clientData) {
768 wxPyClientData* data = new wxPyClientData(clientData);
769 self->Append(item, data);
770 } else
771 self->Append(item);
772 }
773static PyObject *_wrap_wxControlWithItems_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
774 PyObject * _resultobj;
775 wxControlWithItems * _arg0;
776 wxString * _arg1;
777 PyObject * _arg2 = (PyObject *) NULL;
778 PyObject * _argo0 = 0;
779 PyObject * _obj1 = 0;
780 PyObject * _obj2 = 0;
781 char *_kwnames[] = { "self","item","clientData", NULL };
782
783 self = self;
784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxControlWithItems_Append",_kwnames,&_argo0,&_obj1,&_obj2))
785 return NULL;
786 if (_argo0) {
787 if (_argo0 == Py_None) { _arg0 = NULL; }
788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
790 return NULL;
791 }
792 }
793{
794#if PYTHON_API_VERSION >= 1009
795 char* tmpPtr; int tmpSize;
796 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
797 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
798 return NULL;
799 }
800 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
801 return NULL;
802 _arg1 = new wxString(tmpPtr, tmpSize);
803#else
804 if (!PyString_Check(_obj1)) {
805 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
806 return NULL;
807 }
808 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
809#endif
810}
811 if (_obj2)
812{
813 _arg2 = _obj2;
814}
815{
816 wxPy_BEGIN_ALLOW_THREADS;
817 wxControlWithItems_Append(_arg0,*_arg1,_arg2);
818
819 wxPy_END_ALLOW_THREADS;
820 if (PyErr_Occurred()) return NULL;
821} Py_INCREF(Py_None);
822 _resultobj = Py_None;
823{
824 if (_obj1)
825 delete _arg1;
826}
827 return _resultobj;
828}
829
830static PyObject * wxControlWithItems_GetClientData(wxControlWithItems *self,int n) {
831 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
832 if (data) {
833 Py_INCREF(data->m_obj);
834 return data->m_obj;
835 } else {
836 Py_INCREF(Py_None);
837 return Py_None;
838 }
839 }
840static PyObject *_wrap_wxControlWithItems_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
841 PyObject * _resultobj;
842 PyObject * _result;
843 wxControlWithItems * _arg0;
844 int _arg1;
845 PyObject * _argo0 = 0;
846 char *_kwnames[] = { "self","n", NULL };
847
848 self = self;
849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetClientData",_kwnames,&_argo0,&_arg1))
850 return NULL;
851 if (_argo0) {
852 if (_argo0 == Py_None) { _arg0 = NULL; }
853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
855 return NULL;
856 }
857 }
858{
859 wxPy_BEGIN_ALLOW_THREADS;
860 _result = (PyObject *)wxControlWithItems_GetClientData(_arg0,_arg1);
861
862 wxPy_END_ALLOW_THREADS;
863 if (PyErr_Occurred()) return NULL;
864}{
865 _resultobj = _result;
866}
867 return _resultobj;
868}
869
870static void wxControlWithItems_SetClientData(wxControlWithItems *self,int n,PyObject * clientData) {
871 wxPyClientData* data = new wxPyClientData(clientData);
872 self->SetClientObject(n, data);
873 }
874static PyObject *_wrap_wxControlWithItems_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
875 PyObject * _resultobj;
876 wxControlWithItems * _arg0;
877 int _arg1;
878 PyObject * _arg2;
879 PyObject * _argo0 = 0;
880 PyObject * _obj2 = 0;
881 char *_kwnames[] = { "self","n","clientData", NULL };
882
883 self = self;
884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
885 return NULL;
886 if (_argo0) {
887 if (_argo0 == Py_None) { _arg0 = NULL; }
888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
890 return NULL;
891 }
892 }
893{
894 _arg2 = _obj2;
895}
896{
897 wxPy_BEGIN_ALLOW_THREADS;
898 wxControlWithItems_SetClientData(_arg0,_arg1,_arg2);
899
900 wxPy_END_ALLOW_THREADS;
901 if (PyErr_Occurred()) return NULL;
902} Py_INCREF(Py_None);
903 _resultobj = Py_None;
904 return _resultobj;
905}
906
70551f47
RD
907static void *SwigwxButtonTowxControl(void *ptr) {
908 wxButton *src;
909 wxControl *dest;
910 src = (wxButton *) ptr;
911 dest = (wxControl *) src;
912 return (void *) dest;
913}
914
915static void *SwigwxButtonTowxWindow(void *ptr) {
916 wxButton *src;
917 wxWindow *dest;
918 src = (wxButton *) ptr;
919 dest = (wxWindow *) src;
920 return (void *) dest;
921}
922
923static void *SwigwxButtonTowxEvtHandler(void *ptr) {
924 wxButton *src;
925 wxEvtHandler *dest;
926 src = (wxButton *) ptr;
927 dest = (wxEvtHandler *) src;
928 return (void *) dest;
929}
930
9df61a29
RD
931static void *SwigwxButtonTowxObject(void *ptr) {
932 wxButton *src;
933 wxObject *dest;
934 src = (wxButton *) ptr;
935 dest = (wxObject *) src;
936 return (void *) dest;
937}
938
70551f47 939#define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 940static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
941 PyObject * _resultobj;
942 wxButton * _result;
943 wxWindow * _arg0;
944 wxWindowID _arg1;
945 wxString * _arg2;
b68dc582
RD
946 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
947 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 948 long _arg5 = (long ) 0;
b68dc582 949 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
950 char * _arg7 = (char *) "button";
951 PyObject * _argo0 = 0;
70551f47 952 PyObject * _obj2 = 0;
37f6a977
RD
953 wxPoint temp;
954 PyObject * _obj3 = 0;
955 wxSize temp0;
956 PyObject * _obj4 = 0;
2d091820 957 PyObject * _argo6 = 0;
107e4716 958 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
70551f47
RD
959 char _ptemp[128];
960
961 self = self;
37f6a977 962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 963 return NULL;
2d091820
RD
964 if (_argo0) {
965 if (_argo0 == Py_None) { _arg0 = NULL; }
966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
968 return NULL;
969 }
970 }
971{
2cd2fac8
RD
972#if PYTHON_API_VERSION >= 1009
973 char* tmpPtr; int tmpSize;
974 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 975 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
976 return NULL;
977 }
978 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
979 return NULL;
980 _arg2 = new wxString(tmpPtr, tmpSize);
981#else
70551f47
RD
982 if (!PyString_Check(_obj2)) {
983 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
984 return NULL;
985 }
2cd2fac8
RD
986 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
987#endif
70551f47 988}
37f6a977
RD
989 if (_obj3)
990{
991 _arg3 = &temp;
992 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 993 return NULL;
37f6a977
RD
994}
995 if (_obj4)
996{
997 _arg4 = &temp0;
998 if (! wxSize_helper(_obj4, &_arg4))
70551f47 999 return NULL;
37f6a977 1000}
2d091820
RD
1001 if (_argo6) {
1002 if (_argo6 == Py_None) { _arg6 = NULL; }
1003 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
1004 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1005 return NULL;
1006 }
1007 }
ab9bc19b
RD
1008{
1009 wxPy_BEGIN_ALLOW_THREADS;
1010 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
1011
1012 wxPy_END_ALLOW_THREADS;
4dfaa61e 1013 if (PyErr_Occurred()) return NULL;
2d091820
RD
1014} if (_result) {
1015 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1016 _resultobj = Py_BuildValue("s",_ptemp);
1017 } else {
1018 Py_INCREF(Py_None);
1019 _resultobj = Py_None;
1020 }
70551f47
RD
1021{
1022 if (_obj2)
1023 delete _arg2;
1024}
1025 return _resultobj;
1026}
1027
aa2a5b86
RD
1028#define new_wxPreButton() (new wxButton())
1029static PyObject *_wrap_new_wxPreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1030 PyObject * _resultobj;
1031 wxButton * _result;
1032 char *_kwnames[] = { NULL };
1033 char _ptemp[128];
1034
1035 self = self;
1036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreButton",_kwnames))
1037 return NULL;
1038{
1039 wxPy_BEGIN_ALLOW_THREADS;
1040 _result = (wxButton *)new_wxPreButton();
1041
1042 wxPy_END_ALLOW_THREADS;
1043 if (PyErr_Occurred()) return NULL;
1044} if (_result) {
1045 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1046 _resultobj = Py_BuildValue("s",_ptemp);
1047 } else {
1048 Py_INCREF(Py_None);
1049 _resultobj = Py_None;
1050 }
1051 return _resultobj;
1052}
1053
1054#define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1055static PyObject *_wrap_wxButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1056 PyObject * _resultobj;
1057 bool _result;
1058 wxButton * _arg0;
1059 wxWindow * _arg1;
1060 wxWindowID _arg2;
1061 wxString * _arg3;
1062 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1063 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1064 long _arg6 = (long ) 0;
1065 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1066 char * _arg8 = (char *) "button";
1067 PyObject * _argo0 = 0;
1068 PyObject * _argo1 = 0;
1069 PyObject * _obj3 = 0;
1070 wxPoint temp;
1071 PyObject * _obj4 = 0;
1072 wxSize temp0;
1073 PyObject * _obj5 = 0;
1074 PyObject * _argo7 = 0;
1075 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
1076
1077 self = self;
1078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
1079 return NULL;
1080 if (_argo0) {
1081 if (_argo0 == Py_None) { _arg0 = NULL; }
1082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1084 return NULL;
1085 }
1086 }
1087 if (_argo1) {
1088 if (_argo1 == Py_None) { _arg1 = NULL; }
1089 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1090 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1091 return NULL;
1092 }
1093 }
1094{
1095#if PYTHON_API_VERSION >= 1009
1096 char* tmpPtr; int tmpSize;
1097 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
1098 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1099 return NULL;
1100 }
1101 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
1102 return NULL;
1103 _arg3 = new wxString(tmpPtr, tmpSize);
1104#else
1105 if (!PyString_Check(_obj3)) {
1106 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1107 return NULL;
1108 }
1109 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
1110#endif
1111}
1112 if (_obj4)
1113{
1114 _arg4 = &temp;
1115 if (! wxPoint_helper(_obj4, &_arg4))
1116 return NULL;
1117}
1118 if (_obj5)
1119{
1120 _arg5 = &temp0;
1121 if (! wxSize_helper(_obj5, &_arg5))
1122 return NULL;
1123}
1124 if (_argo7) {
1125 if (_argo7 == Py_None) { _arg7 = NULL; }
1126 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1127 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1128 return NULL;
1129 }
1130 }
1131{
1132 wxPy_BEGIN_ALLOW_THREADS;
1133 _result = (bool )wxButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
1134
1135 wxPy_END_ALLOW_THREADS;
1136 if (PyErr_Occurred()) return NULL;
1137} _resultobj = Py_BuildValue("i",_result);
1138{
1139 if (_obj3)
1140 delete _arg3;
1141}
1142 return _resultobj;
1143}
1144
70551f47 1145#define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
107e4716 1146static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1147 PyObject * _resultobj;
1148 wxButton * _arg0;
2d091820 1149 PyObject * _argo0 = 0;
107e4716 1150 char *_kwnames[] = { "self", NULL };
70551f47
RD
1151
1152 self = self;
107e4716 1153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
70551f47 1154 return NULL;
2d091820
RD
1155 if (_argo0) {
1156 if (_argo0 == Py_None) { _arg0 = NULL; }
1157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
70551f47
RD
1158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1159 return NULL;
1160 }
1161 }
ab9bc19b
RD
1162{
1163 wxPy_BEGIN_ALLOW_THREADS;
1164 wxButton_SetDefault(_arg0);
1165
1166 wxPy_END_ALLOW_THREADS;
4dfaa61e 1167 if (PyErr_Occurred()) return NULL;
ab9bc19b 1168} Py_INCREF(Py_None);
70551f47
RD
1169 _resultobj = Py_None;
1170 return _resultobj;
1171}
1172
ab2208b5
RD
1173#define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1174static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1175 PyObject * _resultobj;
1176 wxButton * _arg0;
1177 wxColour * _arg1;
1178 PyObject * _argo0 = 0;
f6bcfd97
BP
1179 wxColour temp;
1180 PyObject * _obj1 = 0;
ab2208b5
RD
1181 char *_kwnames[] = { "self","colour", NULL };
1182
1183 self = self;
f6bcfd97 1184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
ab2208b5
RD
1185 return NULL;
1186 if (_argo0) {
1187 if (_argo0 == Py_None) { _arg0 = NULL; }
1188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1190 return NULL;
1191 }
1192 }
f6bcfd97
BP
1193{
1194 _arg1 = &temp;
1195 if (! wxColour_helper(_obj1, &_arg1))
ab2208b5 1196 return NULL;
f6bcfd97 1197}
ab2208b5
RD
1198{
1199 wxPy_BEGIN_ALLOW_THREADS;
1200 wxButton_SetBackgroundColour(_arg0,*_arg1);
1201
1202 wxPy_END_ALLOW_THREADS;
4dfaa61e 1203 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
1204} Py_INCREF(Py_None);
1205 _resultobj = Py_None;
1206 return _resultobj;
1207}
1208
1209#define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1210static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1211 PyObject * _resultobj;
1212 wxButton * _arg0;
1213 wxColour * _arg1;
1214 PyObject * _argo0 = 0;
f6bcfd97
BP
1215 wxColour temp;
1216 PyObject * _obj1 = 0;
ab2208b5
RD
1217 char *_kwnames[] = { "self","colour", NULL };
1218
1219 self = self;
f6bcfd97 1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
ab2208b5
RD
1221 return NULL;
1222 if (_argo0) {
1223 if (_argo0 == Py_None) { _arg0 = NULL; }
1224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1226 return NULL;
1227 }
1228 }
f6bcfd97
BP
1229{
1230 _arg1 = &temp;
1231 if (! wxColour_helper(_obj1, &_arg1))
ab2208b5 1232 return NULL;
f6bcfd97 1233}
ab2208b5
RD
1234{
1235 wxPy_BEGIN_ALLOW_THREADS;
1236 wxButton_SetForegroundColour(_arg0,*_arg1);
1237
1238 wxPy_END_ALLOW_THREADS;
4dfaa61e 1239 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
1240} Py_INCREF(Py_None);
1241 _resultobj = Py_None;
1242 return _resultobj;
1243}
1244
aa2a5b86
RD
1245static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1246 PyObject * _resultobj;
1247 wxSize * _result;
1248 char *_kwnames[] = { NULL };
1249 char _ptemp[128];
1250
1251 self = self;
1252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames))
1253 return NULL;
1254{
1255 wxPy_BEGIN_ALLOW_THREADS;
1256 _result = new wxSize (wxButton::GetDefaultSize());
1257
1258 wxPy_END_ALLOW_THREADS;
1259 if (PyErr_Occurred()) return NULL;
1260} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1261 _resultobj = Py_BuildValue("s",_ptemp);
1262 return _resultobj;
1263}
1264
1265static void *SwigwxBitmapButtonTowxButton(void *ptr) {
1266 wxBitmapButton *src;
1267 wxButton *dest;
1268 src = (wxBitmapButton *) ptr;
1269 dest = (wxButton *) src;
1270 return (void *) dest;
1271}
1272
1273static void *SwigwxBitmapButtonTowxControl(void *ptr) {
1274 wxBitmapButton *src;
1275 wxControl *dest;
1276 src = (wxBitmapButton *) ptr;
1277 dest = (wxControl *) src;
1278 return (void *) dest;
1279}
1280
1281static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
1282 wxBitmapButton *src;
1283 wxWindow *dest;
1284 src = (wxBitmapButton *) ptr;
1285 dest = (wxWindow *) src;
1286 return (void *) dest;
1287}
1288
1289static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
1290 wxBitmapButton *src;
1291 wxEvtHandler *dest;
1292 src = (wxBitmapButton *) ptr;
1293 dest = (wxEvtHandler *) src;
1294 return (void *) dest;
1295}
1296
1297static void *SwigwxBitmapButtonTowxObject(void *ptr) {
1298 wxBitmapButton *src;
1299 wxObject *dest;
1300 src = (wxBitmapButton *) ptr;
1301 dest = (wxObject *) src;
9df61a29
RD
1302 return (void *) dest;
1303}
1304
70551f47 1305#define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 1306static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1307 PyObject * _resultobj;
1308 wxBitmapButton * _result;
1309 wxWindow * _arg0;
1310 wxWindowID _arg1;
1311 wxBitmap * _arg2;
b68dc582
RD
1312 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1313 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 1314 long _arg5 = (long ) wxBU_AUTODRAW;
b68dc582 1315 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
1316 char * _arg7 = (char *) "button";
1317 PyObject * _argo0 = 0;
1318 PyObject * _argo2 = 0;
37f6a977
RD
1319 wxPoint temp;
1320 PyObject * _obj3 = 0;
1321 wxSize temp0;
1322 PyObject * _obj4 = 0;
2d091820 1323 PyObject * _argo6 = 0;
107e4716 1324 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
70551f47
RD
1325 char _ptemp[128];
1326
1327 self = self;
37f6a977 1328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 1329 return NULL;
2d091820
RD
1330 if (_argo0) {
1331 if (_argo0 == Py_None) { _arg0 = NULL; }
1332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
1333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1334 return NULL;
1335 }
1336 }
2d091820
RD
1337 if (_argo2) {
1338 if (_argo2 == Py_None) { _arg2 = NULL; }
1339 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
70551f47
RD
1340 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1341 return NULL;
1342 }
1343 }
37f6a977
RD
1344 if (_obj3)
1345{
1346 _arg3 = &temp;
1347 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 1348 return NULL;
37f6a977
RD
1349}
1350 if (_obj4)
1351{
1352 _arg4 = &temp0;
1353 if (! wxSize_helper(_obj4, &_arg4))
70551f47 1354 return NULL;
37f6a977 1355}
2d091820
RD
1356 if (_argo6) {
1357 if (_argo6 == Py_None) { _arg6 = NULL; }
1358 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
1359 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1360 return NULL;
1361 }
1362 }
ab9bc19b
RD
1363{
1364 wxPy_BEGIN_ALLOW_THREADS;
1365 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
1366
1367 wxPy_END_ALLOW_THREADS;
4dfaa61e 1368 if (PyErr_Occurred()) return NULL;
2d091820
RD
1369} if (_result) {
1370 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1371 _resultobj = Py_BuildValue("s",_ptemp);
1372 } else {
1373 Py_INCREF(Py_None);
1374 _resultobj = Py_None;
1375 }
70551f47
RD
1376 return _resultobj;
1377}
1378
aa2a5b86
RD
1379#define new_wxPreBitmapButton() (new wxBitmapButton())
1380static PyObject *_wrap_new_wxPreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject * _resultobj;
1382 wxBitmapButton * _result;
1383 char *_kwnames[] = { NULL };
1384 char _ptemp[128];
1385
1386 self = self;
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreBitmapButton",_kwnames))
1388 return NULL;
1389{
1390 wxPy_BEGIN_ALLOW_THREADS;
1391 _result = (wxBitmapButton *)new_wxPreBitmapButton();
1392
1393 wxPy_END_ALLOW_THREADS;
1394 if (PyErr_Occurred()) return NULL;
1395} if (_result) {
1396 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1397 _resultobj = Py_BuildValue("s",_ptemp);
1398 } else {
1399 Py_INCREF(Py_None);
1400 _resultobj = Py_None;
1401 }
1402 return _resultobj;
1403}
1404
1405#define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1406static PyObject *_wrap_wxBitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject * _resultobj;
1408 bool _result;
1409 wxBitmapButton * _arg0;
1410 wxWindow * _arg1;
1411 wxWindowID _arg2;
1412 wxBitmap * _arg3;
1413 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1414 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1415 long _arg6 = (long ) wxBU_AUTODRAW;
1416 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1417 char * _arg8 = (char *) "button";
1418 PyObject * _argo0 = 0;
1419 PyObject * _argo1 = 0;
1420 PyObject * _argo3 = 0;
1421 wxPoint temp;
1422 PyObject * _obj4 = 0;
1423 wxSize temp0;
1424 PyObject * _obj5 = 0;
1425 PyObject * _argo7 = 0;
1426 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL };
1427
1428 self = self;
1429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
1430 return NULL;
1431 if (_argo0) {
1432 if (_argo0 == Py_None) { _arg0 = NULL; }
1433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1435 return NULL;
1436 }
1437 }
1438 if (_argo1) {
1439 if (_argo1 == Py_None) { _arg1 = NULL; }
1440 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1441 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1442 return NULL;
1443 }
1444 }
1445 if (_argo3) {
1446 if (_argo3 == Py_None) { _arg3 = NULL; }
1447 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1448 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1449 return NULL;
1450 }
1451 }
1452 if (_obj4)
1453{
1454 _arg4 = &temp;
1455 if (! wxPoint_helper(_obj4, &_arg4))
1456 return NULL;
1457}
1458 if (_obj5)
1459{
1460 _arg5 = &temp0;
1461 if (! wxSize_helper(_obj5, &_arg5))
1462 return NULL;
1463}
1464 if (_argo7) {
1465 if (_argo7 == Py_None) { _arg7 = NULL; }
1466 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1467 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1468 return NULL;
1469 }
1470 }
1471{
1472 wxPy_BEGIN_ALLOW_THREADS;
1473 _result = (bool )wxBitmapButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
1474
1475 wxPy_END_ALLOW_THREADS;
1476 if (PyErr_Occurred()) return NULL;
1477} _resultobj = Py_BuildValue("i",_result);
1478 return _resultobj;
1479}
1480
70551f47 1481#define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
107e4716 1482static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1483 PyObject * _resultobj;
1484 wxBitmap * _result;
1485 wxBitmapButton * _arg0;
2d091820 1486 PyObject * _argo0 = 0;
107e4716 1487 char *_kwnames[] = { "self", NULL };
70551f47
RD
1488 char _ptemp[128];
1489
1490 self = self;
107e4716 1491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
70551f47 1492 return NULL;
2d091820
RD
1493 if (_argo0) {
1494 if (_argo0 == Py_None) { _arg0 = NULL; }
1495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
70551f47
RD
1496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1497 return NULL;
1498 }
1499 }
ab9bc19b
RD
1500{
1501 wxPy_BEGIN_ALLOW_THREADS;
1502 wxBitmap & _result_ref = wxBitmapButton_GetBitmapLabel(_arg0);
70551f47 1503 _result = (wxBitmap *) &_result_ref;
ab9bc19b
RD
1504
1505 wxPy_END_ALLOW_THREADS;
4dfaa61e 1506 if (PyErr_Occurred()) return NULL;
2d091820
RD
1507} if (_result) {
1508 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1509 _resultobj = Py_BuildValue("s",_ptemp);
1510 } else {
1511 Py_INCREF(Py_None);
1512 _resultobj = Py_None;
1513 }
70551f47
RD
1514 return _resultobj;
1515}
1516
c95e68d8 1517#define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
107e4716 1518static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1519 PyObject * _resultobj;
1520 wxBitmap * _result;
1521 wxBitmapButton * _arg0;
2d091820 1522 PyObject * _argo0 = 0;
107e4716 1523 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1524 char _ptemp[128];
1525
1526 self = self;
107e4716 1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
c95e68d8 1528 return NULL;
2d091820
RD
1529 if (_argo0) {
1530 if (_argo0 == Py_None) { _arg0 = NULL; }
1531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1533 return NULL;
1534 }
1535 }
ab9bc19b
RD
1536{
1537 wxPy_BEGIN_ALLOW_THREADS;
1538 wxBitmap & _result_ref = wxBitmapButton_GetBitmapDisabled(_arg0);
c95e68d8 1539 _result = (wxBitmap *) &_result_ref;
ab9bc19b
RD
1540
1541 wxPy_END_ALLOW_THREADS;
4dfaa61e 1542 if (PyErr_Occurred()) return NULL;
2d091820
RD
1543} if (_result) {
1544 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1545 _resultobj = Py_BuildValue("s",_ptemp);
1546 } else {
1547 Py_INCREF(Py_None);
1548 _resultobj = Py_None;
1549 }
c95e68d8
RD
1550 return _resultobj;
1551}
1552
1553#define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
107e4716 1554static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1555 PyObject * _resultobj;
1556 wxBitmap * _result;
1557 wxBitmapButton * _arg0;
2d091820 1558 PyObject * _argo0 = 0;
107e4716 1559 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1560 char _ptemp[128];
1561
1562 self = self;
107e4716 1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0))
c95e68d8 1564 return NULL;
2d091820
RD
1565 if (_argo0) {
1566 if (_argo0 == Py_None) { _arg0 = NULL; }
1567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1569 return NULL;
1570 }
1571 }
ab9bc19b
RD
1572{
1573 wxPy_BEGIN_ALLOW_THREADS;
1574 wxBitmap & _result_ref = wxBitmapButton_GetBitmapFocus(_arg0);
c95e68d8 1575 _result = (wxBitmap *) &_result_ref;
ab9bc19b
RD
1576
1577 wxPy_END_ALLOW_THREADS;
4dfaa61e 1578 if (PyErr_Occurred()) return NULL;
2d091820
RD
1579} if (_result) {
1580 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1581 _resultobj = Py_BuildValue("s",_ptemp);
1582 } else {
1583 Py_INCREF(Py_None);
1584 _resultobj = Py_None;
1585 }
c95e68d8
RD
1586 return _resultobj;
1587}
1588
1589#define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
107e4716 1590static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1591 PyObject * _resultobj;
1592 wxBitmap * _result;
1593 wxBitmapButton * _arg0;
2d091820 1594 PyObject * _argo0 = 0;
107e4716 1595 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1596 char _ptemp[128];
1597
1598 self = self;
107e4716 1599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
c95e68d8 1600 return NULL;
2d091820
RD
1601 if (_argo0) {
1602 if (_argo0 == Py_None) { _arg0 = NULL; }
1603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1605 return NULL;
1606 }
1607 }
ab9bc19b
RD
1608{
1609 wxPy_BEGIN_ALLOW_THREADS;
1610 wxBitmap & _result_ref = wxBitmapButton_GetBitmapSelected(_arg0);
c95e68d8 1611 _result = (wxBitmap *) &_result_ref;
ab9bc19b
RD
1612
1613 wxPy_END_ALLOW_THREADS;
4dfaa61e 1614 if (PyErr_Occurred()) return NULL;
2d091820
RD
1615} if (_result) {
1616 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
1617 _resultobj = Py_BuildValue("s",_ptemp);
1618 } else {
1619 Py_INCREF(Py_None);
1620 _resultobj = Py_None;
1621 }
c95e68d8
RD
1622 return _resultobj;
1623}
1624
1625#define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
107e4716 1626static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1627 PyObject * _resultobj;
1628 wxBitmapButton * _arg0;
1629 wxBitmap * _arg1;
2d091820
RD
1630 PyObject * _argo0 = 0;
1631 PyObject * _argo1 = 0;
107e4716 1632 char *_kwnames[] = { "self","bitmap", NULL };
c95e68d8
RD
1633
1634 self = self;
107e4716 1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
c95e68d8 1636 return NULL;
2d091820
RD
1637 if (_argo0) {
1638 if (_argo0 == Py_None) { _arg0 = NULL; }
1639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1641 return NULL;
1642 }
1643 }
2d091820
RD
1644 if (_argo1) {
1645 if (_argo1 == Py_None) { _arg1 = NULL; }
1646 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
c95e68d8
RD
1647 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1648 return NULL;
1649 }
1650 }
ab9bc19b
RD
1651{
1652 wxPy_BEGIN_ALLOW_THREADS;
1653 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
1654
1655 wxPy_END_ALLOW_THREADS;
4dfaa61e 1656 if (PyErr_Occurred()) return NULL;
ab9bc19b 1657} Py_INCREF(Py_None);
c95e68d8
RD
1658 _resultobj = Py_None;
1659 return _resultobj;
1660}
1661
1662#define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
107e4716 1663static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1664 PyObject * _resultobj;
1665 wxBitmapButton * _arg0;
1666 wxBitmap * _arg1;
2d091820
RD
1667 PyObject * _argo0 = 0;
1668 PyObject * _argo1 = 0;
107e4716 1669 char *_kwnames[] = { "self","bitmap", NULL };
c95e68d8
RD
1670
1671 self = self;
107e4716 1672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
c95e68d8 1673 return NULL;
2d091820
RD
1674 if (_argo0) {
1675 if (_argo0 == Py_None) { _arg0 = NULL; }
1676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1678 return NULL;
1679 }
1680 }
2d091820
RD
1681 if (_argo1) {
1682 if (_argo1 == Py_None) { _arg1 = NULL; }
1683 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
c95e68d8
RD
1684 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1685 return NULL;
1686 }
1687 }
ab9bc19b
RD
1688{
1689 wxPy_BEGIN_ALLOW_THREADS;
1690 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
1691
1692 wxPy_END_ALLOW_THREADS;
4dfaa61e 1693 if (PyErr_Occurred()) return NULL;
ab9bc19b 1694} Py_INCREF(Py_None);
c95e68d8
RD
1695 _resultobj = Py_None;
1696 return _resultobj;
1697}
1698
1699#define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
107e4716 1700static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1701 PyObject * _resultobj;
1702 wxBitmapButton * _arg0;
1703 wxBitmap * _arg1;
2d091820
RD
1704 PyObject * _argo0 = 0;
1705 PyObject * _argo1 = 0;
107e4716 1706 char *_kwnames[] = { "self","bitmap", NULL };
c95e68d8
RD
1707
1708 self = self;
107e4716 1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
c95e68d8 1710 return NULL;
2d091820
RD
1711 if (_argo0) {
1712 if (_argo0 == Py_None) { _arg0 = NULL; }
1713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1715 return NULL;
1716 }
1717 }
2d091820
RD
1718 if (_argo1) {
1719 if (_argo1 == Py_None) { _arg1 = NULL; }
1720 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
c95e68d8
RD
1721 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1722 return NULL;
1723 }
1724 }
ab9bc19b
RD
1725{
1726 wxPy_BEGIN_ALLOW_THREADS;
1727 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
1728
1729 wxPy_END_ALLOW_THREADS;
4dfaa61e 1730 if (PyErr_Occurred()) return NULL;
ab9bc19b 1731} Py_INCREF(Py_None);
c95e68d8
RD
1732 _resultobj = Py_None;
1733 return _resultobj;
1734}
1735
70551f47 1736#define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
107e4716 1737static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1738 PyObject * _resultobj;
1739 wxBitmapButton * _arg0;
1740 wxBitmap * _arg1;
2d091820
RD
1741 PyObject * _argo0 = 0;
1742 PyObject * _argo1 = 0;
107e4716 1743 char *_kwnames[] = { "self","bitmap", NULL };
70551f47
RD
1744
1745 self = self;
107e4716 1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
70551f47 1747 return NULL;
2d091820
RD
1748 if (_argo0) {
1749 if (_argo0 == Py_None) { _arg0 = NULL; }
1750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
70551f47
RD
1751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1752 return NULL;
1753 }
1754 }
2d091820
RD
1755 if (_argo1) {
1756 if (_argo1 == Py_None) { _arg1 = NULL; }
1757 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
70551f47
RD
1758 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1759 return NULL;
1760 }
1761 }
ab9bc19b
RD
1762{
1763 wxPy_BEGIN_ALLOW_THREADS;
1764 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
1765
1766 wxPy_END_ALLOW_THREADS;
4dfaa61e 1767 if (PyErr_Occurred()) return NULL;
ab9bc19b 1768} Py_INCREF(Py_None);
70551f47
RD
1769 _resultobj = Py_None;
1770 return _resultobj;
1771}
1772
f6bcfd97
BP
1773#define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1774static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1775 PyObject * _resultobj;
1776 wxBitmapButton * _arg0;
1777 int _arg1;
1778 int _arg2;
1779 PyObject * _argo0 = 0;
1780 char *_kwnames[] = { "self","x","y", NULL };
1781
1782 self = self;
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1784 return NULL;
1785 if (_argo0) {
1786 if (_argo0 == Py_None) { _arg0 = NULL; }
1787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1789 return NULL;
1790 }
1791 }
1792{
1793 wxPy_BEGIN_ALLOW_THREADS;
1794 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
1795
1796 wxPy_END_ALLOW_THREADS;
4dfaa61e 1797 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1798} Py_INCREF(Py_None);
1799 _resultobj = Py_None;
1800 return _resultobj;
1801}
1802
1803#define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1804static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject * _resultobj;
1806 int _result;
1807 wxBitmapButton * _arg0;
1808 PyObject * _argo0 = 0;
1809 char *_kwnames[] = { "self", NULL };
1810
1811 self = self;
1812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0))
1813 return NULL;
1814 if (_argo0) {
1815 if (_argo0 == Py_None) { _arg0 = NULL; }
1816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1818 return NULL;
1819 }
1820 }
1821{
1822 wxPy_BEGIN_ALLOW_THREADS;
1823 _result = (int )wxBitmapButton_GetMarginX(_arg0);
1824
1825 wxPy_END_ALLOW_THREADS;
4dfaa61e 1826 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1827} _resultobj = Py_BuildValue("i",_result);
1828 return _resultobj;
1829}
1830
1831#define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1832static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1833 PyObject * _resultobj;
1834 int _result;
1835 wxBitmapButton * _arg0;
1836 PyObject * _argo0 = 0;
1837 char *_kwnames[] = { "self", NULL };
1838
1839 self = self;
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0))
1841 return NULL;
1842 if (_argo0) {
1843 if (_argo0 == Py_None) { _arg0 = NULL; }
1844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1846 return NULL;
1847 }
1848 }
1849{
1850 wxPy_BEGIN_ALLOW_THREADS;
1851 _result = (int )wxBitmapButton_GetMarginY(_arg0);
1852
1853 wxPy_END_ALLOW_THREADS;
4dfaa61e 1854 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1855} _resultobj = Py_BuildValue("i",_result);
1856 return _resultobj;
1857}
1858
70551f47
RD
1859static void *SwigwxCheckBoxTowxControl(void *ptr) {
1860 wxCheckBox *src;
1861 wxControl *dest;
1862 src = (wxCheckBox *) ptr;
1863 dest = (wxControl *) src;
1864 return (void *) dest;
1865}
1866
1867static void *SwigwxCheckBoxTowxWindow(void *ptr) {
1868 wxCheckBox *src;
1869 wxWindow *dest;
1870 src = (wxCheckBox *) ptr;
1871 dest = (wxWindow *) src;
1872 return (void *) dest;
1873}
1874
1875static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
1876 wxCheckBox *src;
1877 wxEvtHandler *dest;
1878 src = (wxCheckBox *) ptr;
1879 dest = (wxEvtHandler *) src;
1880 return (void *) dest;
1881}
1882
9df61a29
RD
1883static void *SwigwxCheckBoxTowxObject(void *ptr) {
1884 wxCheckBox *src;
1885 wxObject *dest;
1886 src = (wxCheckBox *) ptr;
1887 dest = (wxObject *) src;
1888 return (void *) dest;
1889}
1890
70551f47 1891#define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 1892static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1893 PyObject * _resultobj;
1894 wxCheckBox * _result;
1895 wxWindow * _arg0;
1896 wxWindowID _arg1;
1897 wxString * _arg2;
b68dc582
RD
1898 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1899 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 1900 long _arg5 = (long ) 0;
b68dc582 1901 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
1902 char * _arg7 = (char *) "checkBox";
1903 PyObject * _argo0 = 0;
70551f47 1904 PyObject * _obj2 = 0;
37f6a977
RD
1905 wxPoint temp;
1906 PyObject * _obj3 = 0;
1907 wxSize temp0;
1908 PyObject * _obj4 = 0;
2d091820 1909 PyObject * _argo6 = 0;
107e4716 1910 char *_kwnames[] = { "parent","id","label","pos","size","style","val","name", NULL };
70551f47
RD
1911 char _ptemp[128];
1912
1913 self = self;
37f6a977 1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 1915 return NULL;
2d091820
RD
1916 if (_argo0) {
1917 if (_argo0 == Py_None) { _arg0 = NULL; }
1918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
1919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1920 return NULL;
1921 }
1922 }
1923{
2cd2fac8
RD
1924#if PYTHON_API_VERSION >= 1009
1925 char* tmpPtr; int tmpSize;
1926 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 1927 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
1928 return NULL;
1929 }
1930 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1931 return NULL;
1932 _arg2 = new wxString(tmpPtr, tmpSize);
1933#else
70551f47
RD
1934 if (!PyString_Check(_obj2)) {
1935 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1936 return NULL;
1937 }
2cd2fac8
RD
1938 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1939#endif
70551f47 1940}
37f6a977
RD
1941 if (_obj3)
1942{
1943 _arg3 = &temp;
1944 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 1945 return NULL;
37f6a977
RD
1946}
1947 if (_obj4)
1948{
1949 _arg4 = &temp0;
1950 if (! wxSize_helper(_obj4, &_arg4))
70551f47 1951 return NULL;
37f6a977 1952}
2d091820
RD
1953 if (_argo6) {
1954 if (_argo6 == Py_None) { _arg6 = NULL; }
1955 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1957 return NULL;
1958 }
1959 }
ab9bc19b
RD
1960{
1961 wxPy_BEGIN_ALLOW_THREADS;
1962 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
1963
1964 wxPy_END_ALLOW_THREADS;
4dfaa61e 1965 if (PyErr_Occurred()) return NULL;
2d091820
RD
1966} if (_result) {
1967 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
1968 _resultobj = Py_BuildValue("s",_ptemp);
1969 } else {
1970 Py_INCREF(Py_None);
1971 _resultobj = Py_None;
1972 }
70551f47
RD
1973{
1974 if (_obj2)
1975 delete _arg2;
1976}
1977 return _resultobj;
1978}
1979
aa2a5b86
RD
1980#define new_wxPreCheckBox() (new wxCheckBox())
1981static PyObject *_wrap_new_wxPreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject * _resultobj;
1983 wxCheckBox * _result;
1984 char *_kwnames[] = { NULL };
1985 char _ptemp[128];
1986
1987 self = self;
1988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckBox",_kwnames))
1989 return NULL;
1990{
1991 wxPy_BEGIN_ALLOW_THREADS;
1992 _result = (wxCheckBox *)new_wxPreCheckBox();
1993
1994 wxPy_END_ALLOW_THREADS;
1995 if (PyErr_Occurred()) return NULL;
1996} if (_result) {
1997 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
1998 _resultobj = Py_BuildValue("s",_ptemp);
1999 } else {
2000 Py_INCREF(Py_None);
2001 _resultobj = Py_None;
2002 }
2003 return _resultobj;
2004}
2005
2006#define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2007static PyObject *_wrap_wxCheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2008 PyObject * _resultobj;
2009 bool _result;
2010 wxCheckBox * _arg0;
2011 wxWindow * _arg1;
2012 wxWindowID _arg2;
2013 wxString * _arg3;
2014 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2015 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2016 long _arg6 = (long ) 0;
2017 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2018 char * _arg8 = (char *) "checkBox";
2019 PyObject * _argo0 = 0;
2020 PyObject * _argo1 = 0;
2021 PyObject * _obj3 = 0;
2022 wxPoint temp;
2023 PyObject * _obj4 = 0;
2024 wxSize temp0;
2025 PyObject * _obj5 = 0;
2026 PyObject * _argo7 = 0;
2027 char *_kwnames[] = { "self","parent","id","label","pos","size","style","val","name", NULL };
2028
2029 self = self;
2030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxCheckBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
2031 return NULL;
2032 if (_argo0) {
2033 if (_argo0 == Py_None) { _arg0 = NULL; }
2034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2036 return NULL;
2037 }
2038 }
2039 if (_argo1) {
2040 if (_argo1 == Py_None) { _arg1 = NULL; }
2041 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2042 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2043 return NULL;
2044 }
2045 }
2046{
2047#if PYTHON_API_VERSION >= 1009
2048 char* tmpPtr; int tmpSize;
2049 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
2050 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2051 return NULL;
2052 }
2053 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
2054 return NULL;
2055 _arg3 = new wxString(tmpPtr, tmpSize);
2056#else
2057 if (!PyString_Check(_obj3)) {
2058 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2059 return NULL;
2060 }
2061 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
2062#endif
2063}
2064 if (_obj4)
2065{
2066 _arg4 = &temp;
2067 if (! wxPoint_helper(_obj4, &_arg4))
2068 return NULL;
2069}
2070 if (_obj5)
2071{
2072 _arg5 = &temp0;
2073 if (! wxSize_helper(_obj5, &_arg5))
2074 return NULL;
2075}
2076 if (_argo7) {
2077 if (_argo7 == Py_None) { _arg7 = NULL; }
2078 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
2079 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2080 return NULL;
2081 }
2082 }
2083{
2084 wxPy_BEGIN_ALLOW_THREADS;
2085 _result = (bool )wxCheckBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
2086
2087 wxPy_END_ALLOW_THREADS;
2088 if (PyErr_Occurred()) return NULL;
2089} _resultobj = Py_BuildValue("i",_result);
2090{
2091 if (_obj3)
2092 delete _arg3;
2093}
2094 return _resultobj;
2095}
2096
70551f47 2097#define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 2098static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2099 PyObject * _resultobj;
2100 bool _result;
2101 wxCheckBox * _arg0;
2d091820 2102 PyObject * _argo0 = 0;
107e4716 2103 char *_kwnames[] = { "self", NULL };
70551f47
RD
2104
2105 self = self;
107e4716 2106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
70551f47 2107 return NULL;
2d091820
RD
2108 if (_argo0) {
2109 if (_argo0 == Py_None) { _arg0 = NULL; }
2110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
70551f47
RD
2111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2112 return NULL;
2113 }
2114 }
ab9bc19b
RD
2115{
2116 wxPy_BEGIN_ALLOW_THREADS;
2117 _result = (bool )wxCheckBox_GetValue(_arg0);
2118
2119 wxPy_END_ALLOW_THREADS;
4dfaa61e 2120 if (PyErr_Occurred()) return NULL;
ab9bc19b 2121} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2122 return _resultobj;
2123}
2124
2125#define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 2126static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2127 PyObject * _resultobj;
2128 wxCheckBox * _arg0;
2129 bool _arg1;
2d091820 2130 PyObject * _argo0 = 0;
70551f47 2131 int tempbool1;
107e4716 2132 char *_kwnames[] = { "self","state", NULL };
70551f47
RD
2133
2134 self = self;
107e4716 2135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
70551f47 2136 return NULL;
2d091820
RD
2137 if (_argo0) {
2138 if (_argo0 == Py_None) { _arg0 = NULL; }
2139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
70551f47
RD
2140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2141 return NULL;
2142 }
2143 }
2144 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
2145{
2146 wxPy_BEGIN_ALLOW_THREADS;
2147 wxCheckBox_SetValue(_arg0,_arg1);
2148
2149 wxPy_END_ALLOW_THREADS;
4dfaa61e 2150 if (PyErr_Occurred()) return NULL;
ab9bc19b 2151} Py_INCREF(Py_None);
70551f47
RD
2152 _resultobj = Py_None;
2153 return _resultobj;
2154}
2155
65191ae8
RD
2156static void *SwigwxChoiceTowxControlWithItems(void *ptr) {
2157 wxChoice *src;
2158 wxControlWithItems *dest;
2159 src = (wxChoice *) ptr;
2160 dest = (wxControlWithItems *) src;
2161 return (void *) dest;
2162}
2163
70551f47
RD
2164static void *SwigwxChoiceTowxControl(void *ptr) {
2165 wxChoice *src;
2166 wxControl *dest;
2167 src = (wxChoice *) ptr;
2168 dest = (wxControl *) src;
2169 return (void *) dest;
2170}
2171
2172static void *SwigwxChoiceTowxWindow(void *ptr) {
2173 wxChoice *src;
2174 wxWindow *dest;
2175 src = (wxChoice *) ptr;
2176 dest = (wxWindow *) src;
2177 return (void *) dest;
2178}
2179
2180static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
2181 wxChoice *src;
2182 wxEvtHandler *dest;
2183 src = (wxChoice *) ptr;
2184 dest = (wxEvtHandler *) src;
2185 return (void *) dest;
2186}
2187
9df61a29
RD
2188static void *SwigwxChoiceTowxObject(void *ptr) {
2189 wxChoice *src;
2190 wxObject *dest;
2191 src = (wxChoice *) ptr;
2192 dest = (wxObject *) src;
2193 return (void *) dest;
2194}
2195
70551f47 2196#define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
107e4716 2197static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2198 PyObject * _resultobj;
2199 wxChoice * _result;
2200 wxWindow * _arg0;
2201 wxWindowID _arg1;
b68dc582
RD
2202 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2203 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
2204 int _arg4 = (int ) 0;
2205 wxString * _arg5 = (wxString *) NULL;
2206 long _arg6 = (long ) 0;
b68dc582 2207 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
2208 char * _arg8 = (char *) "choice";
2209 PyObject * _argo0 = 0;
37f6a977
RD
2210 wxPoint temp;
2211 PyObject * _obj2 = 0;
2212 wxSize temp0;
2213 PyObject * _obj3 = 0;
70551f47 2214 PyObject * _obj5 = 0;
2d091820 2215 PyObject * _argo7 = 0;
e02c03a4 2216 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
70551f47
RD
2217 char _ptemp[128];
2218
2219 self = self;
37f6a977 2220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
70551f47 2221 return NULL;
2d091820
RD
2222 if (_argo0) {
2223 if (_argo0 == Py_None) { _arg0 = NULL; }
2224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
2225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2226 return NULL;
2227 }
2228 }
37f6a977
RD
2229 if (_obj2)
2230{
2231 _arg2 = &temp;
2232 if (! wxPoint_helper(_obj2, &_arg2))
70551f47 2233 return NULL;
37f6a977
RD
2234}
2235 if (_obj3)
2236{
2237 _arg3 = &temp0;
2238 if (! wxSize_helper(_obj3, &_arg3))
70551f47 2239 return NULL;
37f6a977 2240}
70551f47
RD
2241 if (_obj5)
2242{
2243 _arg5 = wxString_LIST_helper(_obj5);
2244 if (_arg5 == NULL) {
2245 return NULL;
2246 }
2247}
2d091820
RD
2248 if (_argo7) {
2249 if (_argo7 == Py_None) { _arg7 = NULL; }
2250 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
70551f47
RD
2251 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2252 return NULL;
2253 }
2254 }
2255{
ab9bc19b
RD
2256 if (_obj5) {
2257 _arg4 = PyList_Size(_obj5);
2258 }
2259 else {
2260 _arg4 = 0;
2261 }
70551f47 2262}
ab9bc19b
RD
2263{
2264 wxPy_BEGIN_ALLOW_THREADS;
2265 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
2266
2267 wxPy_END_ALLOW_THREADS;
4dfaa61e 2268 if (PyErr_Occurred()) return NULL;
2d091820
RD
2269} if (_result) {
2270 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2271 _resultobj = Py_BuildValue("s",_ptemp);
2272 } else {
2273 Py_INCREF(Py_None);
2274 _resultobj = Py_None;
2275 }
70551f47
RD
2276{
2277 delete [] _arg5;
2278}
2279 return _resultobj;
2280}
2281
aa2a5b86
RD
2282#define new_wxPreChoice() (new wxChoice())
2283static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2284 PyObject * _resultobj;
aa2a5b86
RD
2285 wxChoice * _result;
2286 char *_kwnames[] = { NULL };
2287 char _ptemp[128];
70551f47
RD
2288
2289 self = self;
aa2a5b86
RD
2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
2291 return NULL;
2292{
2293 wxPy_BEGIN_ALLOW_THREADS;
2294 _result = (wxChoice *)new_wxPreChoice();
2295
2296 wxPy_END_ALLOW_THREADS;
2297 if (PyErr_Occurred()) return NULL;
2298} if (_result) {
2299 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2300 _resultobj = Py_BuildValue("s",_ptemp);
2301 } else {
2302 Py_INCREF(Py_None);
2303 _resultobj = Py_None;
2304 }
2305 return _resultobj;
2306}
2307
2308#define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2309static PyObject *_wrap_wxChoice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2310 PyObject * _resultobj;
2311 bool _result;
2312 wxChoice * _arg0;
2313 wxWindow * _arg1;
2314 wxWindowID _arg2;
2315 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2316 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2317 int _arg5 = (int ) 0;
2318 wxString * _arg6 = (wxString *) NULL;
2319 long _arg7 = (long ) 0;
2320 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2321 char * _arg9 = (char *) "choice";
2322 PyObject * _argo0 = 0;
2323 PyObject * _argo1 = 0;
2324 wxPoint temp;
2325 PyObject * _obj3 = 0;
2326 wxSize temp0;
2327 PyObject * _obj4 = 0;
2328 PyObject * _obj6 = 0;
2329 PyObject * _argo8 = 0;
2330 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
2331
2332 self = self;
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
2334 return NULL;
2335 if (_argo0) {
2336 if (_argo0 == Py_None) { _arg0 = NULL; }
2337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2339 return NULL;
2340 }
2341 }
2342 if (_argo1) {
2343 if (_argo1 == Py_None) { _arg1 = NULL; }
2344 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2345 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2346 return NULL;
2347 }
2348 }
2349 if (_obj3)
2350{
2351 _arg3 = &temp;
2352 if (! wxPoint_helper(_obj3, &_arg3))
2353 return NULL;
2354}
2355 if (_obj4)
2356{
2357 _arg4 = &temp0;
2358 if (! wxSize_helper(_obj4, &_arg4))
2359 return NULL;
2360}
2361 if (_obj6)
2362{
2363 _arg6 = wxString_LIST_helper(_obj6);
2364 if (_arg6 == NULL) {
2365 return NULL;
2366 }
2367}
2368 if (_argo8) {
2369 if (_argo8 == Py_None) { _arg8 = NULL; }
2370 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
2371 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2372 return NULL;
2373 }
2374 }
2375{
2376 if (_obj6) {
65191ae8
RD
2377 _arg5 = PyList_Size(_obj6);
2378 }
2379 else {
2380 _arg5 = 0;
70551f47 2381 }
65191ae8 2382}
70551f47 2383{
ab9bc19b 2384 wxPy_BEGIN_ALLOW_THREADS;
65191ae8 2385 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
ab9bc19b
RD
2386
2387 wxPy_END_ALLOW_THREADS;
4dfaa61e 2388 if (PyErr_Occurred()) return NULL;
65191ae8 2389} _resultobj = Py_BuildValue("i",_result);
70551f47 2390{
65191ae8 2391 delete [] _arg6;
70551f47
RD
2392}
2393 return _resultobj;
2394}
2395
65191ae8
RD
2396#define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2397static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2398 PyObject * _resultobj;
70551f47 2399 wxChoice * _arg0;
2d091820 2400 PyObject * _argo0 = 0;
107e4716 2401 char *_kwnames[] = { "self", NULL };
70551f47
RD
2402
2403 self = self;
65191ae8 2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
70551f47 2405 return NULL;
2d091820
RD
2406 if (_argo0) {
2407 if (_argo0 == Py_None) { _arg0 = NULL; }
2408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
65191ae8 2409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
70551f47
RD
2410 return NULL;
2411 }
2412 }
70551f47 2413{
ab9bc19b 2414 wxPy_BEGIN_ALLOW_THREADS;
65191ae8 2415 wxChoice_Clear(_arg0);
ab9bc19b
RD
2416
2417 wxPy_END_ALLOW_THREADS;
4dfaa61e 2418 if (PyErr_Occurred()) return NULL;
65191ae8
RD
2419} Py_INCREF(Py_None);
2420 _resultobj = Py_None;
70551f47
RD
2421 return _resultobj;
2422}
2423
65191ae8
RD
2424#define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2425static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2426 PyObject * _resultobj;
2427 int _result;
2428 wxChoice * _arg0;
2d091820 2429 PyObject * _argo0 = 0;
107e4716 2430 char *_kwnames[] = { "self", NULL };
70551f47
RD
2431
2432 self = self;
65191ae8 2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
70551f47 2434 return NULL;
2d091820
RD
2435 if (_argo0) {
2436 if (_argo0 == Py_None) { _arg0 = NULL; }
2437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
65191ae8 2438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
70551f47
RD
2439 return NULL;
2440 }
2441 }
ab9bc19b
RD
2442{
2443 wxPy_BEGIN_ALLOW_THREADS;
65191ae8 2444 _result = (int )wxChoice_GetColumns(_arg0);
ab9bc19b
RD
2445
2446 wxPy_END_ALLOW_THREADS;
4dfaa61e 2447 if (PyErr_Occurred()) return NULL;
ab9bc19b 2448} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2449 return _resultobj;
2450}
2451
2452#define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
107e4716 2453static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2454 PyObject * _resultobj;
2455 wxChoice * _arg0;
2d091820
RD
2456 int _arg1 = (int ) 1;
2457 PyObject * _argo0 = 0;
107e4716 2458 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2459
2460 self = self;
107e4716 2461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
70551f47 2462 return NULL;
2d091820
RD
2463 if (_argo0) {
2464 if (_argo0 == Py_None) { _arg0 = NULL; }
2465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2467 return NULL;
2468 }
2469 }
ab9bc19b
RD
2470{
2471 wxPy_BEGIN_ALLOW_THREADS;
2472 wxChoice_SetColumns(_arg0,_arg1);
2473
2474 wxPy_END_ALLOW_THREADS;
4dfaa61e 2475 if (PyErr_Occurred()) return NULL;
ab9bc19b 2476} Py_INCREF(Py_None);
70551f47
RD
2477 _resultobj = Py_None;
2478 return _resultobj;
2479}
2480
2481#define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 2482static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2483 PyObject * _resultobj;
2484 wxChoice * _arg0;
2485 int _arg1;
2d091820 2486 PyObject * _argo0 = 0;
107e4716 2487 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2488
2489 self = self;
107e4716 2490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 2491 return NULL;
2d091820
RD
2492 if (_argo0) {
2493 if (_argo0 == Py_None) { _arg0 = NULL; }
2494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2496 return NULL;
2497 }
2498 }
ab9bc19b
RD
2499{
2500 wxPy_BEGIN_ALLOW_THREADS;
2501 wxChoice_SetSelection(_arg0,_arg1);
2502
2503 wxPy_END_ALLOW_THREADS;
4dfaa61e 2504 if (PyErr_Occurred()) return NULL;
ab9bc19b 2505} Py_INCREF(Py_None);
70551f47
RD
2506 _resultobj = Py_None;
2507 return _resultobj;
2508}
2509
2510#define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
107e4716 2511static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2512 PyObject * _resultobj;
2513 wxChoice * _arg0;
2514 wxString * _arg1;
2d091820 2515 PyObject * _argo0 = 0;
70551f47 2516 PyObject * _obj1 = 0;
107e4716 2517 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
2518
2519 self = self;
107e4716 2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
70551f47 2521 return NULL;
2d091820
RD
2522 if (_argo0) {
2523 if (_argo0 == Py_None) { _arg0 = NULL; }
2524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2526 return NULL;
2527 }
2528 }
2529{
2cd2fac8
RD
2530#if PYTHON_API_VERSION >= 1009
2531 char* tmpPtr; int tmpSize;
2532 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 2533 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
2534 return NULL;
2535 }
2536 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2537 return NULL;
2538 _arg1 = new wxString(tmpPtr, tmpSize);
2539#else
70551f47
RD
2540 if (!PyString_Check(_obj1)) {
2541 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2542 return NULL;
2543 }
2cd2fac8
RD
2544 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2545#endif
70551f47 2546}
ab9bc19b
RD
2547{
2548 wxPy_BEGIN_ALLOW_THREADS;
2549 wxChoice_SetStringSelection(_arg0,*_arg1);
2550
2551 wxPy_END_ALLOW_THREADS;
4dfaa61e 2552 if (PyErr_Occurred()) return NULL;
ab9bc19b 2553} Py_INCREF(Py_None);
70551f47
RD
2554 _resultobj = Py_None;
2555{
2556 if (_obj1)
2557 delete _arg1;
2558}
2559 return _resultobj;
2560}
2561
2c8a649d
RD
2562#define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2563static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2564 PyObject * _resultobj;
2565 wxChoice * _arg0;
2566 int _arg1;
2567 wxString * _arg2;
2568 PyObject * _argo0 = 0;
2569 PyObject * _obj2 = 0;
2570 char *_kwnames[] = { "self","n","s", NULL };
2571
2572 self = self;
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
2574 return NULL;
2575 if (_argo0) {
2576 if (_argo0 == Py_None) { _arg0 = NULL; }
2577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2579 return NULL;
2580 }
2581 }
2582{
2583#if PYTHON_API_VERSION >= 1009
2584 char* tmpPtr; int tmpSize;
2585 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2586 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2587 return NULL;
2588 }
2589 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2590 return NULL;
2591 _arg2 = new wxString(tmpPtr, tmpSize);
2592#else
2593 if (!PyString_Check(_obj2)) {
2594 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2595 return NULL;
2596 }
2597 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2598#endif
2599}
2600{
2601 wxPy_BEGIN_ALLOW_THREADS;
2602 wxChoice_SetString(_arg0,_arg1,*_arg2);
2603
2604 wxPy_END_ALLOW_THREADS;
2605 if (PyErr_Occurred()) return NULL;
2606} Py_INCREF(Py_None);
2607 _resultobj = Py_None;
2608{
2609 if (_obj2)
2610 delete _arg2;
2611}
2612 return _resultobj;
2613}
2614
d24a34bb
RD
2615static void *SwigwxComboBoxTowxChoice(void *ptr) {
2616 wxComboBox *src;
2617 wxChoice *dest;
2618 src = (wxComboBox *) ptr;
2619 dest = (wxChoice *) src;
2620 return (void *) dest;
2621}
2622
65191ae8
RD
2623static void *SwigwxComboBoxTowxControlWithItems(void *ptr) {
2624 wxComboBox *src;
2625 wxControlWithItems *dest;
2626 src = (wxComboBox *) ptr;
2627 dest = (wxControlWithItems *) src;
2628 return (void *) dest;
2629}
2630
70551f47
RD
2631static void *SwigwxComboBoxTowxControl(void *ptr) {
2632 wxComboBox *src;
2633 wxControl *dest;
2634 src = (wxComboBox *) ptr;
2635 dest = (wxControl *) src;
2636 return (void *) dest;
2637}
2638
2639static void *SwigwxComboBoxTowxWindow(void *ptr) {
2640 wxComboBox *src;
2641 wxWindow *dest;
2642 src = (wxComboBox *) ptr;
2643 dest = (wxWindow *) src;
2644 return (void *) dest;
2645}
2646
2647static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2648 wxComboBox *src;
2649 wxEvtHandler *dest;
2650 src = (wxComboBox *) ptr;
2651 dest = (wxEvtHandler *) src;
2652 return (void *) dest;
2653}
2654
9df61a29
RD
2655static void *SwigwxComboBoxTowxObject(void *ptr) {
2656 wxComboBox *src;
2657 wxObject *dest;
2658 src = (wxComboBox *) ptr;
2659 dest = (wxObject *) src;
2660 return (void *) dest;
2661}
2662
70551f47 2663#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))
107e4716 2664static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2665 PyObject * _resultobj;
2666 wxComboBox * _result;
2667 wxWindow * _arg0;
2668 wxWindowID _arg1;
2d091820 2669 char * _arg2 = (char *) "";
b68dc582
RD
2670 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2671 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
2672 int _arg5 = (int ) 0;
2673 wxString * _arg6 = (wxString *) NULL;
2674 long _arg7 = (long ) 0;
b68dc582 2675 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
2676 char * _arg9 = (char *) "comboBox";
2677 PyObject * _argo0 = 0;
37f6a977
RD
2678 wxPoint temp;
2679 PyObject * _obj3 = 0;
2680 wxSize temp0;
2681 PyObject * _obj4 = 0;
70551f47 2682 PyObject * _obj6 = 0;
2d091820 2683 PyObject * _argo8 = 0;
e02c03a4 2684 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
70551f47
RD
2685 char _ptemp[128];
2686
2687 self = self;
37f6a977 2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOOlOs:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
70551f47 2689 return NULL;
2d091820
RD
2690 if (_argo0) {
2691 if (_argo0 == Py_None) { _arg0 = NULL; }
2692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
2693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2694 return NULL;
2695 }
2696 }
37f6a977
RD
2697 if (_obj3)
2698{
2699 _arg3 = &temp;
2700 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 2701 return NULL;
37f6a977
RD
2702}
2703 if (_obj4)
2704{
2705 _arg4 = &temp0;
2706 if (! wxSize_helper(_obj4, &_arg4))
70551f47 2707 return NULL;
37f6a977 2708}
70551f47
RD
2709 if (_obj6)
2710{
2711 _arg6 = wxString_LIST_helper(_obj6);
2712 if (_arg6 == NULL) {
2713 return NULL;
2714 }
2715}
2d091820
RD
2716 if (_argo8) {
2717 if (_argo8 == Py_None) { _arg8 = NULL; }
2718 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
70551f47
RD
2719 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2720 return NULL;
2721 }
2722 }
2723{
ab9bc19b
RD
2724 if (_obj6) {
2725 _arg5 = PyList_Size(_obj6);
2726 }
2727 else {
2728 _arg5 = 0;
2729 }
70551f47 2730}
ab9bc19b
RD
2731{
2732 wxPy_BEGIN_ALLOW_THREADS;
2733 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
2734
2735 wxPy_END_ALLOW_THREADS;
4dfaa61e 2736 if (PyErr_Occurred()) return NULL;
2d091820
RD
2737} if (_result) {
2738 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2739 _resultobj = Py_BuildValue("s",_ptemp);
2740 } else {
2741 Py_INCREF(Py_None);
2742 _resultobj = Py_None;
2743 }
70551f47
RD
2744{
2745 delete [] _arg6;
2746}
2747 return _resultobj;
2748}
2749
aa2a5b86
RD
2750#define new_wxPreComboBox() (new wxComboBox())
2751static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2752 PyObject * _resultobj;
2753 wxComboBox * _result;
2754 char *_kwnames[] = { NULL };
2755 char _ptemp[128];
2756
2757 self = self;
2758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2759 return NULL;
2760{
2761 wxPy_BEGIN_ALLOW_THREADS;
2762 _result = (wxComboBox *)new_wxPreComboBox();
2763
2764 wxPy_END_ALLOW_THREADS;
2765 if (PyErr_Occurred()) return NULL;
2766} if (_result) {
2767 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2768 _resultobj = Py_BuildValue("s",_ptemp);
2769 } else {
2770 Py_INCREF(Py_None);
2771 _resultobj = Py_None;
2772 }
2773 return _resultobj;
2774}
2775
2776#define wxComboBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
2777static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2778 PyObject * _resultobj;
2779 bool _result;
2780 wxComboBox * _arg0;
2781 wxWindow * _arg1;
2782 wxWindowID _arg2;
2783 char * _arg3 = (char *) "";
2784 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2785 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2786 int _arg6 = (int ) 0;
2787 wxString * _arg7 = (wxString *) NULL;
2788 long _arg8 = (long ) 0;
2789 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
2790 char * _arg10 = (char *) "comboBox";
2791 PyObject * _argo0 = 0;
2792 PyObject * _argo1 = 0;
2793 wxPoint temp;
2794 PyObject * _obj4 = 0;
2795 wxSize temp0;
2796 PyObject * _obj5 = 0;
2797 PyObject * _obj7 = 0;
2798 PyObject * _argo9 = 0;
2799 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2800
2801 self = self;
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|sOOOlOs:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_arg10))
2803 return NULL;
2804 if (_argo0) {
2805 if (_argo0 == Py_None) { _arg0 = NULL; }
2806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2808 return NULL;
2809 }
2810 }
2811 if (_argo1) {
2812 if (_argo1 == Py_None) { _arg1 = NULL; }
2813 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2814 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2815 return NULL;
2816 }
2817 }
2818 if (_obj4)
2819{
2820 _arg4 = &temp;
2821 if (! wxPoint_helper(_obj4, &_arg4))
2822 return NULL;
2823}
2824 if (_obj5)
2825{
2826 _arg5 = &temp0;
2827 if (! wxSize_helper(_obj5, &_arg5))
2828 return NULL;
2829}
2830 if (_obj7)
2831{
2832 _arg7 = wxString_LIST_helper(_obj7);
2833 if (_arg7 == NULL) {
2834 return NULL;
2835 }
2836}
2837 if (_argo9) {
2838 if (_argo9 == Py_None) { _arg9 = NULL; }
2839 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
2840 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2841 return NULL;
2842 }
2843 }
2844{
2845 if (_obj7) {
2846 _arg6 = PyList_Size(_obj7);
2847 }
2848 else {
2849 _arg6 = 0;
2850 }
2851}
2852{
2853 wxPy_BEGIN_ALLOW_THREADS;
2854 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
2855
2856 wxPy_END_ALLOW_THREADS;
2857 if (PyErr_Occurred()) return NULL;
2858} _resultobj = Py_BuildValue("i",_result);
2859{
2860 delete [] _arg7;
2861}
2862 return _resultobj;
2863}
2864
70551f47 2865#define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
107e4716 2866static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2867 PyObject * _resultobj;
2868 wxComboBox * _arg0;
2d091820 2869 PyObject * _argo0 = 0;
107e4716 2870 char *_kwnames[] = { "self", NULL };
70551f47
RD
2871
2872 self = self;
107e4716 2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
70551f47 2874 return NULL;
2d091820
RD
2875 if (_argo0) {
2876 if (_argo0 == Py_None) { _arg0 = NULL; }
2877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2879 return NULL;
2880 }
2881 }
ab9bc19b
RD
2882{
2883 wxPy_BEGIN_ALLOW_THREADS;
2884 wxComboBox_Copy(_arg0);
2885
2886 wxPy_END_ALLOW_THREADS;
4dfaa61e 2887 if (PyErr_Occurred()) return NULL;
ab9bc19b 2888} Py_INCREF(Py_None);
70551f47
RD
2889 _resultobj = Py_None;
2890 return _resultobj;
2891}
2892
2893#define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
107e4716 2894static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2895 PyObject * _resultobj;
2896 wxComboBox * _arg0;
2d091820 2897 PyObject * _argo0 = 0;
107e4716 2898 char *_kwnames[] = { "self", NULL };
70551f47
RD
2899
2900 self = self;
107e4716 2901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
70551f47 2902 return NULL;
2d091820
RD
2903 if (_argo0) {
2904 if (_argo0 == Py_None) { _arg0 = NULL; }
2905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2907 return NULL;
2908 }
2909 }
ab9bc19b
RD
2910{
2911 wxPy_BEGIN_ALLOW_THREADS;
2912 wxComboBox_Cut(_arg0);
2913
2914 wxPy_END_ALLOW_THREADS;
4dfaa61e 2915 if (PyErr_Occurred()) return NULL;
ab9bc19b 2916} Py_INCREF(Py_None);
70551f47
RD
2917 _resultobj = Py_None;
2918 return _resultobj;
2919}
2920
70551f47 2921#define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
107e4716 2922static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2923 PyObject * _resultobj;
2924 long _result;
2925 wxComboBox * _arg0;
2d091820 2926 PyObject * _argo0 = 0;
65191ae8 2927 char *_kwnames[] = { "self", NULL };
70551f47
RD
2928
2929 self = self;
65191ae8 2930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
70551f47 2931 return NULL;
2d091820
RD
2932 if (_argo0) {
2933 if (_argo0 == Py_None) { _arg0 = NULL; }
2934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
65191ae8 2935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
70551f47
RD
2936 return NULL;
2937 }
2938 }
70551f47 2939{
ab9bc19b 2940 wxPy_BEGIN_ALLOW_THREADS;
65191ae8 2941 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
ab9bc19b
RD
2942
2943 wxPy_END_ALLOW_THREADS;
4dfaa61e 2944 if (PyErr_Occurred()) return NULL;
65191ae8 2945} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
2946 return _resultobj;
2947}
2948
65191ae8
RD
2949#define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2950static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2951 PyObject * _resultobj;
65191ae8 2952 long _result;
70551f47 2953 wxComboBox * _arg0;
2d091820 2954 PyObject * _argo0 = 0;
107e4716 2955 char *_kwnames[] = { "self", NULL };
70551f47
RD
2956
2957 self = self;
65191ae8 2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
70551f47 2959 return NULL;
2d091820
RD
2960 if (_argo0) {
2961 if (_argo0 == Py_None) { _arg0 = NULL; }
2962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
65191ae8 2963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
70551f47
RD
2964 return NULL;
2965 }
2966 }
70551f47 2967{
ab9bc19b 2968 wxPy_BEGIN_ALLOW_THREADS;
65191ae8 2969 _result = (long )wxComboBox_GetLastPosition(_arg0);
ab9bc19b
RD
2970
2971 wxPy_END_ALLOW_THREADS;
4dfaa61e 2972 if (PyErr_Occurred()) return NULL;
65191ae8 2973} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
2974 return _resultobj;
2975}
2976
2977#define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 2978static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2979 PyObject * _resultobj;
2980 wxString * _result;
2981 wxComboBox * _arg0;
2d091820 2982 PyObject * _argo0 = 0;
107e4716 2983 char *_kwnames[] = { "self", NULL };
70551f47
RD
2984
2985 self = self;
107e4716 2986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
70551f47 2987 return NULL;
2d091820
RD
2988 if (_argo0) {
2989 if (_argo0 == Py_None) { _arg0 = NULL; }
2990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2992 return NULL;
2993 }
2994 }
70551f47 2995{
ab9bc19b
RD
2996 wxPy_BEGIN_ALLOW_THREADS;
2997 _result = new wxString (wxComboBox_GetValue(_arg0));
2998
2999 wxPy_END_ALLOW_THREADS;
4dfaa61e 3000 if (PyErr_Occurred()) return NULL;
ab9bc19b 3001}{
e02c03a4 3002 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
3003}
3004{
3005 delete _result;
3006}
3007 return _resultobj;
3008}
3009
70551f47 3010#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
107e4716 3011static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3012 PyObject * _resultobj;
3013 wxComboBox * _arg0;
2d091820 3014 PyObject * _argo0 = 0;
107e4716 3015 char *_kwnames[] = { "self", NULL };
70551f47
RD
3016
3017 self = self;
107e4716 3018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
70551f47 3019 return NULL;
2d091820
RD
3020 if (_argo0) {
3021 if (_argo0 == Py_None) { _arg0 = NULL; }
3022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3024 return NULL;
3025 }
3026 }
ab9bc19b
RD
3027{
3028 wxPy_BEGIN_ALLOW_THREADS;
3029 wxComboBox_Paste(_arg0);
3030
3031 wxPy_END_ALLOW_THREADS;
4dfaa61e 3032 if (PyErr_Occurred()) return NULL;
ab9bc19b 3033} Py_INCREF(Py_None);
70551f47
RD
3034 _resultobj = Py_None;
3035 return _resultobj;
3036}
3037
3038#define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
107e4716 3039static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3040 PyObject * _resultobj;
3041 wxComboBox * _arg0;
3042 long _arg1;
3043 long _arg2;
3044 wxString * _arg3;
2d091820 3045 PyObject * _argo0 = 0;
70551f47 3046 PyObject * _obj3 = 0;
107e4716 3047 char *_kwnames[] = { "self","from","to","text", NULL };
70551f47
RD
3048
3049 self = self;
107e4716 3050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
70551f47 3051 return NULL;
2d091820
RD
3052 if (_argo0) {
3053 if (_argo0 == Py_None) { _arg0 = NULL; }
3054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3056 return NULL;
3057 }
3058 }
3059{
2cd2fac8
RD
3060#if PYTHON_API_VERSION >= 1009
3061 char* tmpPtr; int tmpSize;
3062 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 3063 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
3064 return NULL;
3065 }
3066 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
3067 return NULL;
3068 _arg3 = new wxString(tmpPtr, tmpSize);
3069#else
70551f47
RD
3070 if (!PyString_Check(_obj3)) {
3071 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3072 return NULL;
3073 }
2cd2fac8
RD
3074 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
3075#endif
70551f47 3076}
ab9bc19b
RD
3077{
3078 wxPy_BEGIN_ALLOW_THREADS;
3079 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
3080
3081 wxPy_END_ALLOW_THREADS;
4dfaa61e 3082 if (PyErr_Occurred()) return NULL;
ab9bc19b 3083} Py_INCREF(Py_None);
70551f47
RD
3084 _resultobj = Py_None;
3085{
3086 if (_obj3)
3087 delete _arg3;
3088}
3089 return _resultobj;
3090}
3091
3092#define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
107e4716 3093static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3094 PyObject * _resultobj;
3095 wxComboBox * _arg0;
3096 long _arg1;
3097 long _arg2;
2d091820 3098 PyObject * _argo0 = 0;
107e4716 3099 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
3100
3101 self = self;
107e4716 3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 3103 return NULL;
2d091820
RD
3104 if (_argo0) {
3105 if (_argo0 == Py_None) { _arg0 = NULL; }
3106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3108 return NULL;
3109 }
3110 }
ab9bc19b
RD
3111{
3112 wxPy_BEGIN_ALLOW_THREADS;
3113 wxComboBox_Remove(_arg0,_arg1,_arg2);
3114
3115 wxPy_END_ALLOW_THREADS;
4dfaa61e 3116 if (PyErr_Occurred()) return NULL;
ab9bc19b 3117} Py_INCREF(Py_None);
70551f47
RD
3118 _resultobj = Py_None;
3119 return _resultobj;
3120}
3121
3122#define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
107e4716 3123static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3124 PyObject * _resultobj;
3125 wxComboBox * _arg0;
3126 long _arg1;
2d091820 3127 PyObject * _argo0 = 0;
107e4716 3128 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
3129
3130 self = self;
107e4716 3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
70551f47 3132 return NULL;
2d091820
RD
3133 if (_argo0) {
3134 if (_argo0 == Py_None) { _arg0 = NULL; }
3135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3137 return NULL;
3138 }
3139 }
ab9bc19b
RD
3140{
3141 wxPy_BEGIN_ALLOW_THREADS;
3142 wxComboBox_SetInsertionPoint(_arg0,_arg1);
3143
3144 wxPy_END_ALLOW_THREADS;
4dfaa61e 3145 if (PyErr_Occurred()) return NULL;
ab9bc19b 3146} Py_INCREF(Py_None);
70551f47
RD
3147 _resultobj = Py_None;
3148 return _resultobj;
3149}
3150
3151#define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
107e4716 3152static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3153 PyObject * _resultobj;
3154 wxComboBox * _arg0;
2d091820 3155 PyObject * _argo0 = 0;
107e4716 3156 char *_kwnames[] = { "self", NULL };
70551f47
RD
3157
3158 self = self;
107e4716 3159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
70551f47 3160 return NULL;
2d091820
RD
3161 if (_argo0) {
3162 if (_argo0 == Py_None) { _arg0 = NULL; }
3163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3165 return NULL;
3166 }
3167 }
ab9bc19b
RD
3168{
3169 wxPy_BEGIN_ALLOW_THREADS;
3170 wxComboBox_SetInsertionPointEnd(_arg0);
3171
3172 wxPy_END_ALLOW_THREADS;
4dfaa61e 3173 if (PyErr_Occurred()) return NULL;
ab9bc19b 3174} Py_INCREF(Py_None);
70551f47
RD
3175 _resultobj = Py_None;
3176 return _resultobj;
3177}
3178
2d091820 3179#define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 3180static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2d091820
RD
3181 PyObject * _resultobj;
3182 wxComboBox * _arg0;
3183 int _arg1;
3184 PyObject * _argo0 = 0;
107e4716 3185 char *_kwnames[] = { "self","n", NULL };
2d091820
RD
3186
3187 self = self;
107e4716 3188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
2d091820
RD
3189 return NULL;
3190 if (_argo0) {
3191 if (_argo0 == Py_None) { _arg0 = NULL; }
3192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3194 return NULL;
3195 }
3196 }
3197{
3198 wxPy_BEGIN_ALLOW_THREADS;
3199 wxComboBox_SetSelection(_arg0,_arg1);
3200
3201 wxPy_END_ALLOW_THREADS;
4dfaa61e 3202 if (PyErr_Occurred()) return NULL;
2d091820
RD
3203} Py_INCREF(Py_None);
3204 _resultobj = Py_None;
3205 return _resultobj;
3206}
3207
70551f47 3208#define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 3209static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3210 PyObject * _resultobj;
3211 wxComboBox * _arg0;
3212 long _arg1;
3213 long _arg2;
2d091820 3214 PyObject * _argo0 = 0;
107e4716 3215 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
3216
3217 self = self;
107e4716 3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 3219 return NULL;
2d091820
RD
3220 if (_argo0) {
3221 if (_argo0 == Py_None) { _arg0 = NULL; }
3222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3224 return NULL;
3225 }
3226 }
ab9bc19b
RD
3227{
3228 wxPy_BEGIN_ALLOW_THREADS;
3229 wxComboBox_SetMark(_arg0,_arg1,_arg2);
3230
3231 wxPy_END_ALLOW_THREADS;
4dfaa61e 3232 if (PyErr_Occurred()) return NULL;
ab9bc19b 3233} Py_INCREF(Py_None);
70551f47
RD
3234 _resultobj = Py_None;
3235 return _resultobj;
3236}
3237
3238#define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 3239static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3240 PyObject * _resultobj;
3241 wxComboBox * _arg0;
3242 wxString * _arg1;
2d091820 3243 PyObject * _argo0 = 0;
70551f47 3244 PyObject * _obj1 = 0;
107e4716 3245 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
3246
3247 self = self;
107e4716 3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
70551f47 3249 return NULL;
2d091820
RD
3250 if (_argo0) {
3251 if (_argo0 == Py_None) { _arg0 = NULL; }
3252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3254 return NULL;
3255 }
3256 }
3257{
2cd2fac8
RD
3258#if PYTHON_API_VERSION >= 1009
3259 char* tmpPtr; int tmpSize;
3260 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 3261 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
3262 return NULL;
3263 }
3264 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3265 return NULL;
3266 _arg1 = new wxString(tmpPtr, tmpSize);
3267#else
70551f47
RD
3268 if (!PyString_Check(_obj1)) {
3269 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3270 return NULL;
3271 }
2cd2fac8
RD
3272 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3273#endif
70551f47 3274}
ab9bc19b
RD
3275{
3276 wxPy_BEGIN_ALLOW_THREADS;
3277 wxComboBox_SetValue(_arg0,*_arg1);
3278
3279 wxPy_END_ALLOW_THREADS;
4dfaa61e 3280 if (PyErr_Occurred()) return NULL;
ab9bc19b 3281} Py_INCREF(Py_None);
70551f47
RD
3282 _resultobj = Py_None;
3283{
3284 if (_obj1)
3285 delete _arg1;
3286}
3287 return _resultobj;
3288}
3289
2c8a649d
RD
3290#define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3291static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject * _resultobj;
3293 wxComboBox * _arg0;
3294 bool _arg1;
3295 PyObject * _argo0 = 0;
3296 int tempbool1;
3297 char *_kwnames[] = { "self","editable", NULL };
3298
3299 self = self;
3300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3301 return NULL;
3302 if (_argo0) {
3303 if (_argo0 == Py_None) { _arg0 = NULL; }
3304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3306 return NULL;
3307 }
3308 }
3309 _arg1 = (bool ) tempbool1;
3310{
3311 wxPy_BEGIN_ALLOW_THREADS;
3312 wxComboBox_SetEditable(_arg0,_arg1);
3313
3314 wxPy_END_ALLOW_THREADS;
3315 if (PyErr_Occurred()) return NULL;
3316} Py_INCREF(Py_None);
3317 _resultobj = Py_None;
3318 return _resultobj;
3319}
3320
70551f47
RD
3321static void *SwigwxGaugeTowxControl(void *ptr) {
3322 wxGauge *src;
3323 wxControl *dest;
3324 src = (wxGauge *) ptr;
3325 dest = (wxControl *) src;
3326 return (void *) dest;
3327}
3328
3329static void *SwigwxGaugeTowxWindow(void *ptr) {
3330 wxGauge *src;
3331 wxWindow *dest;
3332 src = (wxGauge *) ptr;
3333 dest = (wxWindow *) src;
3334 return (void *) dest;
3335}
3336
3337static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3338 wxGauge *src;
3339 wxEvtHandler *dest;
3340 src = (wxGauge *) ptr;
3341 dest = (wxEvtHandler *) src;
3342 return (void *) dest;
3343}
3344
9df61a29
RD
3345static void *SwigwxGaugeTowxObject(void *ptr) {
3346 wxGauge *src;
3347 wxObject *dest;
3348 src = (wxGauge *) ptr;
3349 dest = (wxObject *) src;
3350 return (void *) dest;
3351}
3352
70551f47 3353#define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 3354static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3355 PyObject * _resultobj;
3356 wxGauge * _result;
3357 wxWindow * _arg0;
3358 wxWindowID _arg1;
3359 int _arg2;
b68dc582
RD
3360 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3361 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 3362 long _arg5 = (long ) wxGA_HORIZONTAL;
b68dc582 3363 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
3364 char * _arg7 = (char *) "gauge";
3365 PyObject * _argo0 = 0;
37f6a977
RD
3366 wxPoint temp;
3367 PyObject * _obj3 = 0;
3368 wxSize temp0;
3369 PyObject * _obj4 = 0;
2d091820 3370 PyObject * _argo6 = 0;
107e4716 3371 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
70551f47
RD
3372 char _ptemp[128];
3373
3374 self = self;
37f6a977 3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOs:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 3376 return NULL;
2d091820
RD
3377 if (_argo0) {
3378 if (_argo0 == Py_None) { _arg0 = NULL; }
3379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
3380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3381 return NULL;
3382 }
3383 }
37f6a977
RD
3384 if (_obj3)
3385{
3386 _arg3 = &temp;
3387 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 3388 return NULL;
37f6a977
RD
3389}
3390 if (_obj4)
3391{
3392 _arg4 = &temp0;
3393 if (! wxSize_helper(_obj4, &_arg4))
70551f47 3394 return NULL;
37f6a977 3395}
2d091820
RD
3396 if (_argo6) {
3397 if (_argo6 == Py_None) { _arg6 = NULL; }
3398 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3400 return NULL;
3401 }
3402 }
ab9bc19b
RD
3403{
3404 wxPy_BEGIN_ALLOW_THREADS;
3405 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3406
3407 wxPy_END_ALLOW_THREADS;
4dfaa61e 3408 if (PyErr_Occurred()) return NULL;
2d091820
RD
3409} if (_result) {
3410 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3411 _resultobj = Py_BuildValue("s",_ptemp);
3412 } else {
3413 Py_INCREF(Py_None);
3414 _resultobj = Py_None;
3415 }
70551f47
RD
3416 return _resultobj;
3417}
3418
aa2a5b86
RD
3419#define new_wxPreGauge() (new wxGauge())
3420static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject * _resultobj;
3422 wxGauge * _result;
3423 char *_kwnames[] = { NULL };
3424 char _ptemp[128];
3425
3426 self = self;
3427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
3428 return NULL;
3429{
3430 wxPy_BEGIN_ALLOW_THREADS;
3431 _result = (wxGauge *)new_wxPreGauge();
3432
3433 wxPy_END_ALLOW_THREADS;
3434 if (PyErr_Occurred()) return NULL;
3435} if (_result) {
3436 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3437 _resultobj = Py_BuildValue("s",_ptemp);
3438 } else {
3439 Py_INCREF(Py_None);
3440 _resultobj = Py_None;
3441 }
3442 return _resultobj;
3443}
3444
3445#define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3446static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3447 PyObject * _resultobj;
3448 bool _result;
3449 wxGauge * _arg0;
3450 wxWindow * _arg1;
3451 wxWindowID _arg2;
3452 int _arg3;
3453 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3454 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3455 long _arg6 = (long ) wxGA_HORIZONTAL;
3456 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
3457 char * _arg8 = (char *) "gauge";
3458 PyObject * _argo0 = 0;
3459 PyObject * _argo1 = 0;
3460 wxPoint temp;
3461 PyObject * _obj4 = 0;
3462 wxSize temp0;
3463 PyObject * _obj5 = 0;
3464 PyObject * _argo7 = 0;
3465 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
3466
3467 self = self;
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOs:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
3469 return NULL;
3470 if (_argo0) {
3471 if (_argo0 == Py_None) { _arg0 = NULL; }
3472 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3473 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3474 return NULL;
3475 }
3476 }
3477 if (_argo1) {
3478 if (_argo1 == Py_None) { _arg1 = NULL; }
3479 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3480 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3481 return NULL;
3482 }
3483 }
3484 if (_obj4)
3485{
3486 _arg4 = &temp;
3487 if (! wxPoint_helper(_obj4, &_arg4))
3488 return NULL;
3489}
3490 if (_obj5)
3491{
3492 _arg5 = &temp0;
3493 if (! wxSize_helper(_obj5, &_arg5))
3494 return NULL;
3495}
3496 if (_argo7) {
3497 if (_argo7 == Py_None) { _arg7 = NULL; }
3498 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
3499 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3500 return NULL;
3501 }
3502 }
3503{
3504 wxPy_BEGIN_ALLOW_THREADS;
3505 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
3506
3507 wxPy_END_ALLOW_THREADS;
3508 if (PyErr_Occurred()) return NULL;
3509} _resultobj = Py_BuildValue("i",_result);
3510 return _resultobj;
3511}
3512
70551f47 3513#define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
107e4716 3514static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3515 PyObject * _resultobj;
3516 int _result;
3517 wxGauge * _arg0;
2d091820 3518 PyObject * _argo0 = 0;
107e4716 3519 char *_kwnames[] = { "self", NULL };
70551f47
RD
3520
3521 self = self;
107e4716 3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
70551f47 3523 return NULL;
2d091820
RD
3524 if (_argo0) {
3525 if (_argo0 == Py_None) { _arg0 = NULL; }
3526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3528 return NULL;
3529 }
3530 }
ab9bc19b
RD
3531{
3532 wxPy_BEGIN_ALLOW_THREADS;
3533 _result = (int )wxGauge_GetBezelFace(_arg0);
3534
3535 wxPy_END_ALLOW_THREADS;
4dfaa61e 3536 if (PyErr_Occurred()) return NULL;
ab9bc19b 3537} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3538 return _resultobj;
3539}
3540
3541#define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
107e4716 3542static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3543 PyObject * _resultobj;
3544 int _result;
3545 wxGauge * _arg0;
2d091820 3546 PyObject * _argo0 = 0;
107e4716 3547 char *_kwnames[] = { "self", NULL };
70551f47
RD
3548
3549 self = self;
107e4716 3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
70551f47 3551 return NULL;
2d091820
RD
3552 if (_argo0) {
3553 if (_argo0 == Py_None) { _arg0 = NULL; }
3554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3556 return NULL;
3557 }
3558 }
ab9bc19b
RD
3559{
3560 wxPy_BEGIN_ALLOW_THREADS;
3561 _result = (int )wxGauge_GetRange(_arg0);
3562
3563 wxPy_END_ALLOW_THREADS;
4dfaa61e 3564 if (PyErr_Occurred()) return NULL;
ab9bc19b 3565} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3566 return _resultobj;
3567}
3568
3569#define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
107e4716 3570static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3571 PyObject * _resultobj;
3572 int _result;
3573 wxGauge * _arg0;
2d091820 3574 PyObject * _argo0 = 0;
107e4716 3575 char *_kwnames[] = { "self", NULL };
70551f47
RD
3576
3577 self = self;
107e4716 3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
70551f47 3579 return NULL;
2d091820
RD
3580 if (_argo0) {
3581 if (_argo0 == Py_None) { _arg0 = NULL; }
3582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3584 return NULL;
3585 }
3586 }
ab9bc19b
RD
3587{
3588 wxPy_BEGIN_ALLOW_THREADS;
3589 _result = (int )wxGauge_GetShadowWidth(_arg0);
3590
3591 wxPy_END_ALLOW_THREADS;
4dfaa61e 3592 if (PyErr_Occurred()) return NULL;
ab9bc19b 3593} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3594 return _resultobj;
3595}
3596
3597#define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 3598static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3599 PyObject * _resultobj;
3600 int _result;
3601 wxGauge * _arg0;
2d091820 3602 PyObject * _argo0 = 0;
107e4716 3603 char *_kwnames[] = { "self", NULL };
70551f47
RD
3604
3605 self = self;
107e4716 3606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
70551f47 3607 return NULL;
2d091820
RD
3608 if (_argo0) {
3609 if (_argo0 == Py_None) { _arg0 = NULL; }
3610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3612 return NULL;
3613 }
3614 }
ab9bc19b
RD
3615{
3616 wxPy_BEGIN_ALLOW_THREADS;
3617 _result = (int )wxGauge_GetValue(_arg0);
3618
3619 wxPy_END_ALLOW_THREADS;
4dfaa61e 3620 if (PyErr_Occurred()) return NULL;
ab9bc19b 3621} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3622 return _resultobj;
3623}
3624
3625#define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
107e4716 3626static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3627 PyObject * _resultobj;
3628 wxGauge * _arg0;
3629 int _arg1;
2d091820 3630 PyObject * _argo0 = 0;
107e4716 3631 char *_kwnames[] = { "self","width", NULL };
70551f47
RD
3632
3633 self = self;
107e4716 3634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
70551f47 3635 return NULL;
2d091820
RD
3636 if (_argo0) {
3637 if (_argo0 == Py_None) { _arg0 = NULL; }
3638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3640 return NULL;
3641 }
3642 }
ab9bc19b
RD
3643{
3644 wxPy_BEGIN_ALLOW_THREADS;
3645 wxGauge_SetBezelFace(_arg0,_arg1);
3646
3647 wxPy_END_ALLOW_THREADS;
4dfaa61e 3648 if (PyErr_Occurred()) return NULL;
ab9bc19b 3649} Py_INCREF(Py_None);
70551f47
RD
3650 _resultobj = Py_None;
3651 return _resultobj;
3652}
3653
3654#define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
107e4716 3655static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3656 PyObject * _resultobj;
3657 wxGauge * _arg0;
3658 int _arg1;
2d091820 3659 PyObject * _argo0 = 0;
107e4716 3660 char *_kwnames[] = { "self","range", NULL };
70551f47
RD
3661
3662 self = self;
107e4716 3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
70551f47 3664 return NULL;
2d091820
RD
3665 if (_argo0) {
3666 if (_argo0 == Py_None) { _arg0 = NULL; }
3667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3669 return NULL;
3670 }
3671 }
ab9bc19b
RD
3672{
3673 wxPy_BEGIN_ALLOW_THREADS;
3674 wxGauge_SetRange(_arg0,_arg1);
3675
3676 wxPy_END_ALLOW_THREADS;
4dfaa61e 3677 if (PyErr_Occurred()) return NULL;
ab9bc19b 3678} Py_INCREF(Py_None);
70551f47
RD
3679 _resultobj = Py_None;
3680 return _resultobj;
3681}
3682
3683#define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
107e4716 3684static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3685 PyObject * _resultobj;
3686 wxGauge * _arg0;
3687 int _arg1;
2d091820 3688 PyObject * _argo0 = 0;
107e4716 3689 char *_kwnames[] = { "self","width", NULL };
70551f47
RD
3690
3691 self = self;
107e4716 3692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
70551f47 3693 return NULL;
2d091820
RD
3694 if (_argo0) {
3695 if (_argo0 == Py_None) { _arg0 = NULL; }
3696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3698 return NULL;
3699 }
3700 }
ab9bc19b
RD
3701{
3702 wxPy_BEGIN_ALLOW_THREADS;
3703 wxGauge_SetShadowWidth(_arg0,_arg1);
3704
3705 wxPy_END_ALLOW_THREADS;
4dfaa61e 3706 if (PyErr_Occurred()) return NULL;
ab9bc19b 3707} Py_INCREF(Py_None);
70551f47
RD
3708 _resultobj = Py_None;
3709 return _resultobj;
3710}
3711
3712#define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 3713static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3714 PyObject * _resultobj;
3715 wxGauge * _arg0;
3716 int _arg1;
2d091820 3717 PyObject * _argo0 = 0;
107e4716 3718 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
3719
3720 self = self;
107e4716 3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
70551f47 3722 return NULL;
2d091820
RD
3723 if (_argo0) {
3724 if (_argo0 == Py_None) { _arg0 = NULL; }
3725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3727 return NULL;
3728 }
3729 }
ab9bc19b
RD
3730{
3731 wxPy_BEGIN_ALLOW_THREADS;
3732 wxGauge_SetValue(_arg0,_arg1);
3733
3734 wxPy_END_ALLOW_THREADS;
4dfaa61e 3735 if (PyErr_Occurred()) return NULL;
ab9bc19b 3736} Py_INCREF(Py_None);
70551f47
RD
3737 _resultobj = Py_None;
3738 return _resultobj;
3739}
3740
3741static void *SwigwxStaticBoxTowxControl(void *ptr) {
3742 wxStaticBox *src;
3743 wxControl *dest;
3744 src = (wxStaticBox *) ptr;
3745 dest = (wxControl *) src;
3746 return (void *) dest;
3747}
3748
3749static void *SwigwxStaticBoxTowxWindow(void *ptr) {
3750 wxStaticBox *src;
3751 wxWindow *dest;
3752 src = (wxStaticBox *) ptr;
3753 dest = (wxWindow *) src;
3754 return (void *) dest;
3755}
3756
3757static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
3758 wxStaticBox *src;
3759 wxEvtHandler *dest;
3760 src = (wxStaticBox *) ptr;
3761 dest = (wxEvtHandler *) src;
3762 return (void *) dest;
3763}
3764
9df61a29
RD
3765static void *SwigwxStaticBoxTowxObject(void *ptr) {
3766 wxStaticBox *src;
3767 wxObject *dest;
3768 src = (wxStaticBox *) ptr;
3769 dest = (wxObject *) src;
3770 return (void *) dest;
3771}
3772
70551f47 3773#define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 3774static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3775 PyObject * _resultobj;
3776 wxStaticBox * _result;
3777 wxWindow * _arg0;
3778 wxWindowID _arg1;
3779 wxString * _arg2;
b68dc582
RD
3780 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3781 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
3782 long _arg5 = (long ) 0;
3783 char * _arg6 = (char *) "staticBox";
3784 PyObject * _argo0 = 0;
70551f47 3785 PyObject * _obj2 = 0;
37f6a977
RD
3786 wxPoint temp;
3787 PyObject * _obj3 = 0;
3788 wxSize temp0;
3789 PyObject * _obj4 = 0;
107e4716 3790 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
70551f47
RD
3791 char _ptemp[128];
3792
3793 self = self;
37f6a977 3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
70551f47 3795 return NULL;
2d091820
RD
3796 if (_argo0) {
3797 if (_argo0 == Py_None) { _arg0 = NULL; }
3798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
3799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3800 return NULL;
3801 }
3802 }
3803{
2cd2fac8
RD
3804#if PYTHON_API_VERSION >= 1009
3805 char* tmpPtr; int tmpSize;
3806 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 3807 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
3808 return NULL;
3809 }
3810 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3811 return NULL;
3812 _arg2 = new wxString(tmpPtr, tmpSize);
3813#else
70551f47
RD
3814 if (!PyString_Check(_obj2)) {
3815 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3816 return NULL;
3817 }
2cd2fac8
RD
3818 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3819#endif
70551f47 3820}
37f6a977
RD
3821 if (_obj3)
3822{
3823 _arg3 = &temp;
3824 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 3825 return NULL;
37f6a977
RD
3826}
3827 if (_obj4)
3828{
3829 _arg4 = &temp0;
3830 if (! wxSize_helper(_obj4, &_arg4))
70551f47 3831 return NULL;
37f6a977 3832}
ab9bc19b
RD
3833{
3834 wxPy_BEGIN_ALLOW_THREADS;
3835 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
3836
3837 wxPy_END_ALLOW_THREADS;
4dfaa61e 3838 if (PyErr_Occurred()) return NULL;
2d091820
RD
3839} if (_result) {
3840 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3841 _resultobj = Py_BuildValue("s",_ptemp);
3842 } else {
3843 Py_INCREF(Py_None);
3844 _resultobj = Py_None;
3845 }
70551f47
RD
3846{
3847 if (_obj2)
3848 delete _arg2;
3849}
3850 return _resultobj;
3851}
3852
aa2a5b86
RD
3853#define new_wxPreStaticBox() (new wxStaticBox())
3854static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3855 PyObject * _resultobj;
3856 wxStaticBox * _result;
3857 char *_kwnames[] = { NULL };
3858 char _ptemp[128];
3859
3860 self = self;
3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
3862 return NULL;
3863{
3864 wxPy_BEGIN_ALLOW_THREADS;
3865 _result = (wxStaticBox *)new_wxPreStaticBox();
3866
3867 wxPy_END_ALLOW_THREADS;
3868 if (PyErr_Occurred()) return NULL;
3869} if (_result) {
3870 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3871 _resultobj = Py_BuildValue("s",_ptemp);
3872 } else {
3873 Py_INCREF(Py_None);
3874 _resultobj = Py_None;
3875 }
3876 return _resultobj;
3877}
3878
3879#define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3880static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3881 PyObject * _resultobj;
3882 bool _result;
3883 wxStaticBox * _arg0;
3884 wxWindow * _arg1;
3885 wxWindowID _arg2;
3886 wxString * _arg3;
3887 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3888 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3889 long _arg6 = (long ) 0;
3890 char * _arg7 = (char *) "staticBox";
3891 PyObject * _argo0 = 0;
3892 PyObject * _argo1 = 0;
3893 PyObject * _obj3 = 0;
3894 wxPoint temp;
3895 PyObject * _obj4 = 0;
3896 wxSize temp0;
3897 PyObject * _obj5 = 0;
3898 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
3899
3900 self = self;
3901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
3902 return NULL;
3903 if (_argo0) {
3904 if (_argo0 == Py_None) { _arg0 = NULL; }
3905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
3906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3907 return NULL;
3908 }
3909 }
3910 if (_argo1) {
3911 if (_argo1 == Py_None) { _arg1 = NULL; }
3912 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3913 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3914 return NULL;
3915 }
3916 }
3917{
3918#if PYTHON_API_VERSION >= 1009
3919 char* tmpPtr; int tmpSize;
3920 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
3921 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3922 return NULL;
3923 }
3924 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
3925 return NULL;
3926 _arg3 = new wxString(tmpPtr, tmpSize);
3927#else
3928 if (!PyString_Check(_obj3)) {
3929 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3930 return NULL;
3931 }
3932 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
3933#endif
3934}
3935 if (_obj4)
3936{
3937 _arg4 = &temp;
3938 if (! wxPoint_helper(_obj4, &_arg4))
3939 return NULL;
3940}
3941 if (_obj5)
3942{
3943 _arg5 = &temp0;
3944 if (! wxSize_helper(_obj5, &_arg5))
3945 return NULL;
3946}
3947{
3948 wxPy_BEGIN_ALLOW_THREADS;
3949 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
3950
3951 wxPy_END_ALLOW_THREADS;
3952 if (PyErr_Occurred()) return NULL;
3953} _resultobj = Py_BuildValue("i",_result);
3954{
3955 if (_obj3)
3956 delete _arg3;
3957}
3958 return _resultobj;
3959}
3960
d24a34bb
RD
3961static void *SwigwxStaticLineTowxControl(void *ptr) {
3962 wxStaticLine *src;
3963 wxControl *dest;
3964 src = (wxStaticLine *) ptr;
3965 dest = (wxControl *) src;
3966 return (void *) dest;
3967}
3968
3969static void *SwigwxStaticLineTowxWindow(void *ptr) {
3970 wxStaticLine *src;
3971 wxWindow *dest;
3972 src = (wxStaticLine *) ptr;
3973 dest = (wxWindow *) src;
3974 return (void *) dest;
3975}
3976
3977static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
3978 wxStaticLine *src;
3979 wxEvtHandler *dest;
3980 src = (wxStaticLine *) ptr;
3981 dest = (wxEvtHandler *) src;
3982 return (void *) dest;
3983}
3984
9df61a29
RD
3985static void *SwigwxStaticLineTowxObject(void *ptr) {
3986 wxStaticLine *src;
3987 wxObject *dest;
3988 src = (wxStaticLine *) ptr;
3989 dest = (wxObject *) src;
3990 return (void *) dest;
3991}
3992
d24a34bb 3993#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 3994static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
3995 PyObject * _resultobj;
3996 wxStaticLine * _result;
3997 wxWindow * _arg0;
3998 wxWindowID _arg1;
b68dc582
RD
3999 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4000 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
4001 long _arg4 = (long ) wxLI_HORIZONTAL;
4002 char * _arg5 = (char *) "staticLine";
4003 PyObject * _argo0 = 0;
37f6a977
RD
4004 wxPoint temp;
4005 PyObject * _obj2 = 0;
4006 wxSize temp0;
4007 PyObject * _obj3 = 0;
107e4716 4008 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
d24a34bb
RD
4009 char _ptemp[128];
4010
4011 self = self;
37f6a977 4012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
d24a34bb 4013 return NULL;
2d091820
RD
4014 if (_argo0) {
4015 if (_argo0 == Py_None) { _arg0 = NULL; }
4016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d24a34bb
RD
4017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4018 return NULL;
4019 }
4020 }
37f6a977
RD
4021 if (_obj2)
4022{
4023 _arg2 = &temp;
4024 if (! wxPoint_helper(_obj2, &_arg2))
d24a34bb 4025 return NULL;
37f6a977
RD
4026}
4027 if (_obj3)
4028{
4029 _arg3 = &temp0;
4030 if (! wxSize_helper(_obj3, &_arg3))
d24a34bb 4031 return NULL;
37f6a977 4032}
d24a34bb
RD
4033{
4034 wxPy_BEGIN_ALLOW_THREADS;
4035 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
4036
4037 wxPy_END_ALLOW_THREADS;
4dfaa61e 4038 if (PyErr_Occurred()) return NULL;
2d091820
RD
4039} if (_result) {
4040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4041 _resultobj = Py_BuildValue("s",_ptemp);
4042 } else {
4043 Py_INCREF(Py_None);
4044 _resultobj = Py_None;
4045 }
d24a34bb
RD
4046 return _resultobj;
4047}
4048
aa2a5b86
RD
4049#define new_wxPreStaticLine() (new wxStaticLine())
4050static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject * _resultobj;
4052 wxStaticLine * _result;
4053 char *_kwnames[] = { NULL };
4054 char _ptemp[128];
4055
4056 self = self;
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4058 return NULL;
4059{
4060 wxPy_BEGIN_ALLOW_THREADS;
4061 _result = (wxStaticLine *)new_wxPreStaticLine();
4062
4063 wxPy_END_ALLOW_THREADS;
4064 if (PyErr_Occurred()) return NULL;
4065} if (_result) {
4066 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4067 _resultobj = Py_BuildValue("s",_ptemp);
4068 } else {
4069 Py_INCREF(Py_None);
4070 _resultobj = Py_None;
4071 }
4072 return _resultobj;
4073}
4074
4075#define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4076static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject * _resultobj;
4078 bool _result;
4079 wxStaticLine * _arg0;
4080 wxWindow * _arg1;
4081 wxWindowID _arg2;
4082 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4083 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4084 long _arg5 = (long ) wxLI_HORIZONTAL;
4085 char * _arg6 = (char *) "staticLine";
4086 PyObject * _argo0 = 0;
4087 PyObject * _argo1 = 0;
4088 wxPoint temp;
4089 PyObject * _obj3 = 0;
4090 wxSize temp0;
4091 PyObject * _obj4 = 0;
4092 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4093
4094 self = self;
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOls:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
4096 return NULL;
4097 if (_argo0) {
4098 if (_argo0 == Py_None) { _arg0 = NULL; }
4099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4101 return NULL;
4102 }
4103 }
4104 if (_argo1) {
4105 if (_argo1 == Py_None) { _arg1 = NULL; }
4106 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4107 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4108 return NULL;
4109 }
4110 }
4111 if (_obj3)
4112{
4113 _arg3 = &temp;
4114 if (! wxPoint_helper(_obj3, &_arg3))
4115 return NULL;
4116}
4117 if (_obj4)
4118{
4119 _arg4 = &temp0;
4120 if (! wxSize_helper(_obj4, &_arg4))
4121 return NULL;
4122}
4123{
4124 wxPy_BEGIN_ALLOW_THREADS;
4125 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
4126
4127 wxPy_END_ALLOW_THREADS;
4128 if (PyErr_Occurred()) return NULL;
4129} _resultobj = Py_BuildValue("i",_result);
4130 return _resultobj;
4131}
4132
70551f47
RD
4133static void *SwigwxStaticTextTowxControl(void *ptr) {
4134 wxStaticText *src;
4135 wxControl *dest;
4136 src = (wxStaticText *) ptr;
4137 dest = (wxControl *) src;
4138 return (void *) dest;
4139}
4140
4141static void *SwigwxStaticTextTowxWindow(void *ptr) {
4142 wxStaticText *src;
4143 wxWindow *dest;
4144 src = (wxStaticText *) ptr;
4145 dest = (wxWindow *) src;
4146 return (void *) dest;
4147}
4148
4149static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4150 wxStaticText *src;
4151 wxEvtHandler *dest;
4152 src = (wxStaticText *) ptr;
4153 dest = (wxEvtHandler *) src;
4154 return (void *) dest;
4155}
4156
9df61a29
RD
4157static void *SwigwxStaticTextTowxObject(void *ptr) {
4158 wxStaticText *src;
4159 wxObject *dest;
4160 src = (wxStaticText *) ptr;
4161 dest = (wxObject *) src;
4162 return (void *) dest;
4163}
4164
70551f47 4165#define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 4166static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4167 PyObject * _resultobj;
4168 wxStaticText * _result;
4169 wxWindow * _arg0;
4170 wxWindowID _arg1;
4171 wxString * _arg2;
b68dc582
RD
4172 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4173 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
4174 long _arg5 = (long ) 0;
4175 char * _arg6 = (char *) "staticText";
4176 PyObject * _argo0 = 0;
70551f47 4177 PyObject * _obj2 = 0;
37f6a977
RD
4178 wxPoint temp;
4179 PyObject * _obj3 = 0;
4180 wxSize temp0;
4181 PyObject * _obj4 = 0;
107e4716 4182 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
70551f47
RD
4183 char _ptemp[128];
4184
4185 self = self;
37f6a977 4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
70551f47 4187 return NULL;
2d091820
RD
4188 if (_argo0) {
4189 if (_argo0 == Py_None) { _arg0 = NULL; }
4190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
4191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4192 return NULL;
4193 }
4194 }
4195{
2cd2fac8
RD
4196#if PYTHON_API_VERSION >= 1009
4197 char* tmpPtr; int tmpSize;
4198 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 4199 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4200 return NULL;
4201 }
4202 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
4203 return NULL;
4204 _arg2 = new wxString(tmpPtr, tmpSize);
4205#else
70551f47
RD
4206 if (!PyString_Check(_obj2)) {
4207 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4208 return NULL;
4209 }
2cd2fac8
RD
4210 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
4211#endif
70551f47 4212}
37f6a977
RD
4213 if (_obj3)
4214{
4215 _arg3 = &temp;
4216 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 4217 return NULL;
37f6a977
RD
4218}
4219 if (_obj4)
4220{
4221 _arg4 = &temp0;
4222 if (! wxSize_helper(_obj4, &_arg4))
70551f47 4223 return NULL;
37f6a977 4224}
ab9bc19b
RD
4225{
4226 wxPy_BEGIN_ALLOW_THREADS;
4227 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
4228
4229 wxPy_END_ALLOW_THREADS;
4dfaa61e 4230 if (PyErr_Occurred()) return NULL;
2d091820
RD
4231} if (_result) {
4232 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4233 _resultobj = Py_BuildValue("s",_ptemp);
4234 } else {
4235 Py_INCREF(Py_None);
4236 _resultobj = Py_None;
4237 }
70551f47
RD
4238{
4239 if (_obj2)
4240 delete _arg2;
4241}
4242 return _resultobj;
4243}
4244
aa2a5b86
RD
4245#define new_wxPreStaticText() (new wxStaticText())
4246static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4247 PyObject * _resultobj;
4248 wxStaticText * _result;
4249 char *_kwnames[] = { NULL };
4250 char _ptemp[128];
4251
4252 self = self;
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4254 return NULL;
4255{
4256 wxPy_BEGIN_ALLOW_THREADS;
4257 _result = (wxStaticText *)new_wxPreStaticText();
4258
4259 wxPy_END_ALLOW_THREADS;
4260 if (PyErr_Occurred()) return NULL;
4261} if (_result) {
4262 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4263 _resultobj = Py_BuildValue("s",_ptemp);
4264 } else {
4265 Py_INCREF(Py_None);
4266 _resultobj = Py_None;
4267 }
4268 return _resultobj;
4269}
4270
4271#define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4272static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject * _resultobj;
4274 bool _result;
4275 wxStaticText * _arg0;
4276 wxWindow * _arg1;
4277 wxWindowID _arg2;
4278 wxString * _arg3;
4279 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4280 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4281 long _arg6 = (long ) 0;
4282 char * _arg7 = (char *) "staticText";
4283 PyObject * _argo0 = 0;
4284 PyObject * _argo1 = 0;
4285 PyObject * _obj3 = 0;
4286 wxPoint temp;
4287 PyObject * _obj4 = 0;
4288 wxSize temp0;
4289 PyObject * _obj5 = 0;
4290 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4291
4292 self = self;
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7))
4294 return NULL;
4295 if (_argo0) {
4296 if (_argo0 == Py_None) { _arg0 = NULL; }
4297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4299 return NULL;
4300 }
4301 }
4302 if (_argo1) {
4303 if (_argo1 == Py_None) { _arg1 = NULL; }
4304 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4305 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4306 return NULL;
4307 }
4308 }
4309{
4310#if PYTHON_API_VERSION >= 1009
4311 char* tmpPtr; int tmpSize;
4312 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4313 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4314 return NULL;
4315 }
4316 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4317 return NULL;
4318 _arg3 = new wxString(tmpPtr, tmpSize);
4319#else
4320 if (!PyString_Check(_obj3)) {
4321 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4322 return NULL;
4323 }
4324 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4325#endif
4326}
4327 if (_obj4)
4328{
4329 _arg4 = &temp;
4330 if (! wxPoint_helper(_obj4, &_arg4))
4331 return NULL;
4332}
4333 if (_obj5)
4334{
4335 _arg5 = &temp0;
4336 if (! wxSize_helper(_obj5, &_arg5))
4337 return NULL;
4338}
4339{
4340 wxPy_BEGIN_ALLOW_THREADS;
4341 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
4342
4343 wxPy_END_ALLOW_THREADS;
4344 if (PyErr_Occurred()) return NULL;
4345} _resultobj = Py_BuildValue("i",_result);
4346{
4347 if (_obj3)
4348 delete _arg3;
4349}
4350 return _resultobj;
4351}
4352
70551f47 4353#define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
107e4716 4354static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4355 PyObject * _resultobj;
4356 wxString * _result;
4357 wxStaticText * _arg0;
2d091820 4358 PyObject * _argo0 = 0;
107e4716 4359 char *_kwnames[] = { "self", NULL };
70551f47
RD
4360
4361 self = self;
107e4716 4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
70551f47 4363 return NULL;
2d091820
RD
4364 if (_argo0) {
4365 if (_argo0 == Py_None) { _arg0 = NULL; }
4366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
70551f47
RD
4367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4368 return NULL;
4369 }
4370 }
70551f47 4371{
ab9bc19b
RD
4372 wxPy_BEGIN_ALLOW_THREADS;
4373 _result = new wxString (wxStaticText_GetLabel(_arg0));
4374
4375 wxPy_END_ALLOW_THREADS;
4dfaa61e 4376 if (PyErr_Occurred()) return NULL;
ab9bc19b 4377}{
e02c03a4 4378 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
4379}
4380{
4381 delete _result;
4382}
4383 return _resultobj;
4384}
4385
4386#define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
107e4716 4387static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4388 PyObject * _resultobj;
4389 wxStaticText * _arg0;
4390 wxString * _arg1;
2d091820 4391 PyObject * _argo0 = 0;
70551f47 4392 PyObject * _obj1 = 0;
107e4716 4393 char *_kwnames[] = { "self","label", NULL };
70551f47
RD
4394
4395 self = self;
107e4716 4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
70551f47 4397 return NULL;
2d091820
RD
4398 if (_argo0) {
4399 if (_argo0 == Py_None) { _arg0 = NULL; }
4400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
70551f47
RD
4401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4402 return NULL;
4403 }
4404 }
4405{
2cd2fac8
RD
4406#if PYTHON_API_VERSION >= 1009
4407 char* tmpPtr; int tmpSize;
4408 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 4409 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4410 return NULL;
4411 }
4412 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4413 return NULL;
4414 _arg1 = new wxString(tmpPtr, tmpSize);
4415#else
70551f47
RD
4416 if (!PyString_Check(_obj1)) {
4417 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4418 return NULL;
4419 }
2cd2fac8
RD
4420 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4421#endif
70551f47 4422}
ab9bc19b
RD
4423{
4424 wxPy_BEGIN_ALLOW_THREADS;
4425 wxStaticText_SetLabel(_arg0,*_arg1);
4426
4427 wxPy_END_ALLOW_THREADS;
4dfaa61e 4428 if (PyErr_Occurred()) return NULL;
ab9bc19b 4429} Py_INCREF(Py_None);
70551f47
RD
4430 _resultobj = Py_None;
4431{
4432 if (_obj1)
4433 delete _arg1;
4434}
4435 return _resultobj;
4436}
4437
65191ae8
RD
4438static void *SwigwxListBoxTowxControlWithItems(void *ptr) {
4439 wxListBox *src;
4440 wxControlWithItems *dest;
4441 src = (wxListBox *) ptr;
4442 dest = (wxControlWithItems *) src;
4443 return (void *) dest;
4444}
4445
70551f47
RD
4446static void *SwigwxListBoxTowxControl(void *ptr) {
4447 wxListBox *src;
4448 wxControl *dest;
4449 src = (wxListBox *) ptr;
4450 dest = (wxControl *) src;
4451 return (void *) dest;
4452}
4453
4454static void *SwigwxListBoxTowxWindow(void *ptr) {
4455 wxListBox *src;
4456 wxWindow *dest;
4457 src = (wxListBox *) ptr;
4458 dest = (wxWindow *) src;
4459 return (void *) dest;
4460}
4461
4462static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
4463 wxListBox *src;
4464 wxEvtHandler *dest;
4465 src = (wxListBox *) ptr;
4466 dest = (wxEvtHandler *) src;
4467 return (void *) dest;
4468}
4469
9df61a29
RD
4470static void *SwigwxListBoxTowxObject(void *ptr) {
4471 wxListBox *src;
4472 wxObject *dest;
4473 src = (wxListBox *) ptr;
4474 dest = (wxObject *) src;
4475 return (void *) dest;
4476}
4477
aa2a5b86
RD
4478#define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4479static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4480 PyObject * _resultobj;
4481 wxListBox * _result;
4482 wxWindow * _arg0;
4483 wxWindowID _arg1;
4484 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4485 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4486 int _arg4;
4487 wxString * _arg5 = (wxString *) NULL;
4488 long _arg6 = (long ) 0;
4489 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
4490 char * _arg8 = (char *) "listBox";
4491 PyObject * _argo0 = 0;
4492 wxPoint temp;
4493 PyObject * _obj2 = 0;
4494 wxSize temp0;
4495 PyObject * _obj3 = 0;
4496 PyObject * _obj5 = 0;
4497 PyObject * _argo7 = 0;
4498 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4499 char _ptemp[128];
4500
4501 self = self;
4502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
4503 return NULL;
4504 if (_argo0) {
4505 if (_argo0 == Py_None) { _arg0 = NULL; }
4506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4508 return NULL;
4509 }
4510 }
4511 if (_obj2)
4512{
4513 _arg2 = &temp;
4514 if (! wxPoint_helper(_obj2, &_arg2))
4515 return NULL;
4516}
4517 if (_obj3)
4518{
4519 _arg3 = &temp0;
4520 if (! wxSize_helper(_obj3, &_arg3))
4521 return NULL;
4522}
4523 if (_obj5)
4524{
4525 _arg5 = wxString_LIST_helper(_obj5);
4526 if (_arg5 == NULL) {
4527 return NULL;
4528 }
4529}
4530 if (_argo7) {
4531 if (_argo7 == Py_None) { _arg7 = NULL; }
4532 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
4533 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4534 return NULL;
4535 }
4536 }
4537{
4538 if (_obj5) {
4539 _arg4 = PyList_Size(_obj5);
4540 }
4541 else {
4542 _arg4 = 0;
4543 }
4544}
4545{
4546 wxPy_BEGIN_ALLOW_THREADS;
4547 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
4548
4549 wxPy_END_ALLOW_THREADS;
4550 if (PyErr_Occurred()) return NULL;
4551} if (_result) {
4552 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4553 _resultobj = Py_BuildValue("s",_ptemp);
4554 } else {
4555 Py_INCREF(Py_None);
4556 _resultobj = Py_None;
4557 }
4558{
4559 delete [] _arg5;
4560}
4561 return _resultobj;
4562}
4563
4564#define new_wxPreListBox() (new wxListBox())
4565static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4566 PyObject * _resultobj;
4567 wxListBox * _result;
4568 char *_kwnames[] = { NULL };
4569 char _ptemp[128];
4570
4571 self = self;
4572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
4573 return NULL;
4574{
4575 wxPy_BEGIN_ALLOW_THREADS;
4576 _result = (wxListBox *)new_wxPreListBox();
4577
4578 wxPy_END_ALLOW_THREADS;
4579 if (PyErr_Occurred()) return NULL;
4580} if (_result) {
4581 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4582 _resultobj = Py_BuildValue("s",_ptemp);
4583 } else {
4584 Py_INCREF(Py_None);
4585 _resultobj = Py_None;
4586 }
4587 return _resultobj;
4588}
4589
4590#define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4591static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 4592 PyObject * _resultobj;
aa2a5b86
RD
4593 bool _result;
4594 wxListBox * _arg0;
4595 wxWindow * _arg1;
4596 wxWindowID _arg2;
4597 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4598 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4599 int _arg5;
4600 wxString * _arg6 = (wxString *) NULL;
4601 long _arg7 = (long ) 0;
4602 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
4603 char * _arg9 = (char *) "listBox";
2d091820 4604 PyObject * _argo0 = 0;
aa2a5b86 4605 PyObject * _argo1 = 0;
37f6a977 4606 wxPoint temp;
37f6a977 4607 PyObject * _obj3 = 0;
aa2a5b86
RD
4608 wxSize temp0;
4609 PyObject * _obj4 = 0;
4610 PyObject * _obj6 = 0;
4611 PyObject * _argo8 = 0;
4612 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
70551f47
RD
4613
4614 self = self;
aa2a5b86 4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
70551f47 4616 return NULL;
2d091820
RD
4617 if (_argo0) {
4618 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
4619 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4620 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
70551f47
RD
4621 return NULL;
4622 }
4623 }
aa2a5b86
RD
4624 if (_argo1) {
4625 if (_argo1 == Py_None) { _arg1 = NULL; }
4626 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4627 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4628 return NULL;
4629 }
4630 }
4631 if (_obj3)
37f6a977 4632{
aa2a5b86
RD
4633 _arg3 = &temp;
4634 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 4635 return NULL;
37f6a977 4636}
aa2a5b86 4637 if (_obj4)
37f6a977 4638{
aa2a5b86
RD
4639 _arg4 = &temp0;
4640 if (! wxSize_helper(_obj4, &_arg4))
70551f47 4641 return NULL;
37f6a977 4642}
aa2a5b86 4643 if (_obj6)
70551f47 4644{
aa2a5b86
RD
4645 _arg6 = wxString_LIST_helper(_obj6);
4646 if (_arg6 == NULL) {
70551f47
RD
4647 return NULL;
4648 }
4649}
aa2a5b86
RD
4650 if (_argo8) {
4651 if (_argo8 == Py_None) { _arg8 = NULL; }
4652 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
4653 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
70551f47
RD
4654 return NULL;
4655 }
4656 }
4657{
aa2a5b86
RD
4658 if (_obj6) {
4659 _arg5 = PyList_Size(_obj6);
ab9bc19b
RD
4660 }
4661 else {
aa2a5b86 4662 _arg5 = 0;
ab9bc19b 4663 }
70551f47 4664}
ab9bc19b
RD
4665{
4666 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 4667 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
ab9bc19b
RD
4668
4669 wxPy_END_ALLOW_THREADS;
4dfaa61e 4670 if (PyErr_Occurred()) return NULL;
aa2a5b86 4671} _resultobj = Py_BuildValue("i",_result);
70551f47 4672{
aa2a5b86 4673 delete [] _arg6;
70551f47
RD
4674}
4675 return _resultobj;
4676}
4677
70551f47 4678#define wxListBox_Clear(_swigobj) (_swigobj->Clear())
107e4716 4679static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4680 PyObject * _resultobj;
4681 wxListBox * _arg0;
2d091820 4682 PyObject * _argo0 = 0;
107e4716 4683 char *_kwnames[] = { "self", NULL };
70551f47
RD
4684
4685 self = self;
107e4716 4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
70551f47 4687 return NULL;
2d091820
RD
4688 if (_argo0) {
4689 if (_argo0 == Py_None) { _arg0 = NULL; }
4690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4692 return NULL;
4693 }
4694 }
ab9bc19b
RD
4695{
4696 wxPy_BEGIN_ALLOW_THREADS;
4697 wxListBox_Clear(_arg0);
4698
4699 wxPy_END_ALLOW_THREADS;
4dfaa61e 4700 if (PyErr_Occurred()) return NULL;
ab9bc19b 4701} Py_INCREF(Py_None);
70551f47
RD
4702 _resultobj = Py_None;
4703 return _resultobj;
4704}
4705
70551f47 4706#define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
107e4716 4707static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4708 PyObject * _resultobj;
4709 wxListBox * _arg0;
4710 int _arg1;
2d091820 4711 PyObject * _argo0 = 0;
107e4716 4712 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
4713
4714 self = self;
107e4716 4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
70551f47 4716 return NULL;
2d091820
RD
4717 if (_argo0) {
4718 if (_argo0 == Py_None) { _arg0 = NULL; }
4719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4721 return NULL;
4722 }
4723 }
ab9bc19b
RD
4724{
4725 wxPy_BEGIN_ALLOW_THREADS;
4726 wxListBox_Deselect(_arg0,_arg1);
4727
4728 wxPy_END_ALLOW_THREADS;
4dfaa61e 4729 if (PyErr_Occurred()) return NULL;
ab9bc19b 4730} Py_INCREF(Py_None);
70551f47
RD
4731 _resultobj = Py_None;
4732 return _resultobj;
4733}
4734
ab9bc19b
RD
4735static PyObject * wxListBox_GetSelections(wxListBox *self) {
4736 wxArrayInt lst;
4737 self->GetSelections(lst);
4738 PyObject *tup = PyTuple_New(lst.GetCount());
f6bcfd97 4739 for(size_t i=0; i<lst.GetCount(); i++) {
ab9bc19b
RD
4740 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
4741 }
4742 return tup;
4743 }
107e4716 4744static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
4745 PyObject * _resultobj;
4746 PyObject * _result;
4747 wxListBox * _arg0;
2d091820 4748 PyObject * _argo0 = 0;
107e4716 4749 char *_kwnames[] = { "self", NULL };
ab9bc19b
RD
4750
4751 self = self;
107e4716 4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
ab9bc19b 4753 return NULL;
2d091820
RD
4754 if (_argo0) {
4755 if (_argo0 == Py_None) { _arg0 = NULL; }
4756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
ab9bc19b
RD
4757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4758 return NULL;
4759 }
4760 }
4761{
4762 wxPy_BEGIN_ALLOW_THREADS;
4763 _result = (PyObject *)wxListBox_GetSelections(_arg0);
4764
4765 wxPy_END_ALLOW_THREADS;
4dfaa61e 4766 if (PyErr_Occurred()) return NULL;
ab9bc19b
RD
4767}{
4768 _resultobj = _result;
4769}
70551f47
RD
4770 return _resultobj;
4771}
4772
37f6a977
RD
4773#define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4774static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject * _resultobj;
4776 wxListBox * _arg0;
4777 int _arg1;
4778 wxString * _arg2;
4779 int _arg3;
4780 PyObject * _argo0 = 0;
4781 PyObject * _obj2 = 0;
e02c03a4 4782 char *_kwnames[] = { "self","choices","pos", NULL };
37f6a977
RD
4783
4784 self = self;
4785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
4786 return NULL;
4787 if (_argo0) {
4788 if (_argo0 == Py_None) { _arg0 = NULL; }
4789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4791 return NULL;
4792 }
4793 }
4794{
4795 _arg2 = wxString_LIST_helper(_obj2);
4796 if (_arg2 == NULL) {
4797 return NULL;
4798 }
4799}
4800{
4801 if (_obj2) {
4802 _arg1 = PyList_Size(_obj2);
4803 }
4804 else {
4805 _arg1 = 0;
4806 }
4807}
4808{
4809 wxPy_BEGIN_ALLOW_THREADS;
4810 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
4811
4812 wxPy_END_ALLOW_THREADS;
4dfaa61e 4813 if (PyErr_Occurred()) return NULL;
37f6a977
RD
4814} Py_INCREF(Py_None);
4815 _resultobj = Py_None;
4816{
4817 delete [] _arg2;
4818}
4819 return _resultobj;
4820}
4821
2c8a649d
RD
4822#define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4823static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4824 PyObject * _resultobj;
4825 bool _result;
4826 wxListBox * _arg0;
4827 int _arg1;
4828 PyObject * _argo0 = 0;
4829 char *_kwnames[] = { "self","n", NULL };
4830
4831 self = self;
4832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
70551f47 4833 return NULL;
2d091820
RD
4834 if (_argo0) {
4835 if (_argo0 == Py_None) { _arg0 = NULL; }
4836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
2c8a649d 4837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
70551f47
RD
4838 return NULL;
4839 }
4840 }
ab9bc19b
RD
4841{
4842 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 4843 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
ab9bc19b
RD
4844
4845 wxPy_END_ALLOW_THREADS;
4dfaa61e 4846 if (PyErr_Occurred()) return NULL;
ab9bc19b 4847} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4848 return _resultobj;
4849}
4850
4851#define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
107e4716 4852static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4853 PyObject * _resultobj;
4854 bool _result;
4855 wxListBox * _arg0;
4856 int _arg1;
2d091820 4857 PyObject * _argo0 = 0;
107e4716 4858 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
4859
4860 self = self;
107e4716 4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
70551f47 4862 return NULL;
2d091820
RD
4863 if (_argo0) {
4864 if (_argo0 == Py_None) { _arg0 = NULL; }
4865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4867 return NULL;
4868 }
4869 }
ab9bc19b
RD
4870{
4871 wxPy_BEGIN_ALLOW_THREADS;
4872 _result = (bool )wxListBox_Selected(_arg0,_arg1);
4873
4874 wxPy_END_ALLOW_THREADS;
4dfaa61e 4875 if (PyErr_Occurred()) return NULL;
ab9bc19b 4876} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4877 return _resultobj;
4878}
4879
4880#define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
107e4716 4881static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4882 PyObject * _resultobj;
4883 wxListBox * _arg0;
4884 int _arg1;
4885 wxString * _arg2;
2d091820 4886 PyObject * _argo0 = 0;
70551f47 4887 PyObject * _obj2 = 0;
e02c03a4 4888 char *_kwnames[] = { "self","choices", NULL };
70551f47
RD
4889
4890 self = self;
107e4716 4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
70551f47 4892 return NULL;
2d091820
RD
4893 if (_argo0) {
4894 if (_argo0 == Py_None) { _arg0 = NULL; }
4895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4897 return NULL;
4898 }
4899 }
4900 if (_obj2)
4901{
4902 _arg2 = wxString_LIST_helper(_obj2);
4903 if (_arg2 == NULL) {
4904 return NULL;
4905 }
4906}
4907{
ab9bc19b
RD
4908 if (_obj2) {
4909 _arg1 = PyList_Size(_obj2);
4910 }
4911 else {
4912 _arg1 = 0;
4913 }
70551f47 4914}
ab9bc19b
RD
4915{
4916 wxPy_BEGIN_ALLOW_THREADS;
4917 wxListBox_Set(_arg0,_arg1,_arg2);
4918
4919 wxPy_END_ALLOW_THREADS;
4dfaa61e 4920 if (PyErr_Occurred()) return NULL;
ab9bc19b 4921} Py_INCREF(Py_None);
70551f47
RD
4922 _resultobj = Py_None;
4923{
4924 delete [] _arg2;
4925}
4926 return _resultobj;
4927}
4928
4929#define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
107e4716 4930static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4931 PyObject * _resultobj;
4932 wxListBox * _arg0;
4933 int _arg1;
2d091820 4934 PyObject * _argo0 = 0;
107e4716 4935 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
4936
4937 self = self;
107e4716 4938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
70551f47 4939 return NULL;
2d091820
RD
4940 if (_argo0) {
4941 if (_argo0 == Py_None) { _arg0 = NULL; }
4942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4944 return NULL;
4945 }
4946 }
ab9bc19b
RD
4947{
4948 wxPy_BEGIN_ALLOW_THREADS;
4949 wxListBox_SetFirstItem(_arg0,_arg1);
4950
4951 wxPy_END_ALLOW_THREADS;
4dfaa61e 4952 if (PyErr_Occurred()) return NULL;
ab9bc19b 4953} Py_INCREF(Py_None);
70551f47
RD
4954 _resultobj = Py_None;
4955 return _resultobj;
4956}
4957
4958#define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
107e4716 4959static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4960 PyObject * _resultobj;
4961 wxListBox * _arg0;
4962 wxString * _arg1;
2d091820 4963 PyObject * _argo0 = 0;
70551f47 4964 PyObject * _obj1 = 0;
107e4716 4965 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
4966
4967 self = self;
107e4716 4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
70551f47 4969 return NULL;
2d091820
RD
4970 if (_argo0) {
4971 if (_argo0 == Py_None) { _arg0 = NULL; }
4972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
4973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
4974 return NULL;
4975 }
4976 }
4977{
2cd2fac8
RD
4978#if PYTHON_API_VERSION >= 1009
4979 char* tmpPtr; int tmpSize;
4980 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 4981 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
4982 return NULL;
4983 }
4984 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4985 return NULL;
4986 _arg1 = new wxString(tmpPtr, tmpSize);
4987#else
70551f47
RD
4988 if (!PyString_Check(_obj1)) {
4989 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4990 return NULL;
4991 }
2cd2fac8
RD
4992 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4993#endif
70551f47 4994}
ab9bc19b
RD
4995{
4996 wxPy_BEGIN_ALLOW_THREADS;
4997 wxListBox_SetFirstItemStr(_arg0,*_arg1);
4998
4999 wxPy_END_ALLOW_THREADS;
4dfaa61e 5000 if (PyErr_Occurred()) return NULL;
ab9bc19b 5001} Py_INCREF(Py_None);
70551f47
RD
5002 _resultobj = Py_None;
5003{
5004 if (_obj1)
5005 delete _arg1;
5006}
5007 return _resultobj;
5008}
5009
5010#define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 5011static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5012 PyObject * _resultobj;
5013 wxListBox * _arg0;
5014 int _arg1;
2d091820
RD
5015 bool _arg2 = (bool ) TRUE;
5016 PyObject * _argo0 = 0;
5017 int tempbool2 = (int) TRUE;
107e4716 5018 char *_kwnames[] = { "self","n","select", NULL };
70551f47
RD
5019
5020 self = self;
107e4716 5021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 5022 return NULL;
2d091820
RD
5023 if (_argo0) {
5024 if (_argo0 == Py_None) { _arg0 = NULL; }
5025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5027 return NULL;
5028 }
5029 }
5030 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
5031{
5032 wxPy_BEGIN_ALLOW_THREADS;
5033 wxListBox_SetSelection(_arg0,_arg1,_arg2);
5034
5035 wxPy_END_ALLOW_THREADS;
4dfaa61e 5036 if (PyErr_Occurred()) return NULL;
ab9bc19b 5037} Py_INCREF(Py_None);
70551f47
RD
5038 _resultobj = Py_None;
5039 return _resultobj;
5040}
5041
5042#define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
107e4716 5043static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5044 PyObject * _resultobj;
5045 wxListBox * _arg0;
5046 int _arg1;
5047 wxString * _arg2;
2d091820 5048 PyObject * _argo0 = 0;
70551f47 5049 PyObject * _obj2 = 0;
107e4716 5050 char *_kwnames[] = { "self","n","string", NULL };
70551f47
RD
5051
5052 self = self;
107e4716 5053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 5054 return NULL;
2d091820
RD
5055 if (_argo0) {
5056 if (_argo0 == Py_None) { _arg0 = NULL; }
5057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5059 return NULL;
5060 }
5061 }
5062{
2cd2fac8
RD
5063#if PYTHON_API_VERSION >= 1009
5064 char* tmpPtr; int tmpSize;
5065 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 5066 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
5067 return NULL;
5068 }
5069 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5070 return NULL;
5071 _arg2 = new wxString(tmpPtr, tmpSize);
5072#else
70551f47
RD
5073 if (!PyString_Check(_obj2)) {
5074 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5075 return NULL;
5076 }
2cd2fac8
RD
5077 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5078#endif
70551f47 5079}
ab9bc19b
RD
5080{
5081 wxPy_BEGIN_ALLOW_THREADS;
5082 wxListBox_SetString(_arg0,_arg1,*_arg2);
5083
5084 wxPy_END_ALLOW_THREADS;
4dfaa61e 5085 if (PyErr_Occurred()) return NULL;
ab9bc19b 5086} Py_INCREF(Py_None);
70551f47
RD
5087 _resultobj = Py_None;
5088{
5089 if (_obj2)
5090 delete _arg2;
5091}
5092 return _resultobj;
5093}
5094
5095#define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
107e4716 5096static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5097 PyObject * _resultobj;
5098 wxListBox * _arg0;
5099 wxString * _arg1;
2d091820
RD
5100 bool _arg2 = (bool ) TRUE;
5101 PyObject * _argo0 = 0;
70551f47 5102 PyObject * _obj1 = 0;
2d091820 5103 int tempbool2 = (int) TRUE;
107e4716 5104 char *_kwnames[] = { "self","string","select", NULL };
70551f47
RD
5105
5106 self = self;
107e4716 5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
70551f47 5108 return NULL;
2d091820
RD
5109 if (_argo0) {
5110 if (_argo0 == Py_None) { _arg0 = NULL; }
5111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5113 return NULL;
5114 }
5115 }
5116{
2cd2fac8
RD
5117#if PYTHON_API_VERSION >= 1009
5118 char* tmpPtr; int tmpSize;
5119 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 5120 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
5121 return NULL;
5122 }
5123 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5124 return NULL;
5125 _arg1 = new wxString(tmpPtr, tmpSize);
5126#else
70551f47
RD
5127 if (!PyString_Check(_obj1)) {
5128 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5129 return NULL;
5130 }
2cd2fac8
RD
5131 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5132#endif
70551f47
RD
5133}
5134 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
5135{
5136 wxPy_BEGIN_ALLOW_THREADS;
5137 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
5138
5139 wxPy_END_ALLOW_THREADS;
4dfaa61e 5140 if (PyErr_Occurred()) return NULL;
ab9bc19b 5141} Py_INCREF(Py_None);
70551f47
RD
5142 _resultobj = Py_None;
5143{
5144 if (_obj1)
5145 delete _arg1;
5146}
5147 return _resultobj;
5148}
5149
c95e68d8
RD
5150static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5151 wxCheckListBox *src;
5152 wxListBox *dest;
5153 src = (wxCheckListBox *) ptr;
5154 dest = (wxListBox *) src;
5155 return (void *) dest;
5156}
5157
65191ae8
RD
5158static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr) {
5159 wxCheckListBox *src;
5160 wxControlWithItems *dest;
5161 src = (wxCheckListBox *) ptr;
5162 dest = (wxControlWithItems *) src;
5163 return (void *) dest;
5164}
5165
c95e68d8
RD
5166static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5167 wxCheckListBox *src;
5168 wxControl *dest;
5169 src = (wxCheckListBox *) ptr;
5170 dest = (wxControl *) src;
5171 return (void *) dest;
5172}
5173
5174static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5175 wxCheckListBox *src;
5176 wxWindow *dest;
5177 src = (wxCheckListBox *) ptr;
5178 dest = (wxWindow *) src;
5179 return (void *) dest;
5180}
5181
5182static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5183 wxCheckListBox *src;
5184 wxEvtHandler *dest;
5185 src = (wxCheckListBox *) ptr;
5186 dest = (wxEvtHandler *) src;
5187 return (void *) dest;
5188}
5189
9df61a29
RD
5190static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5191 wxCheckListBox *src;
5192 wxObject *dest;
5193 src = (wxCheckListBox *) ptr;
5194 dest = (wxObject *) src;
5195 return (void *) dest;
5196}
5197
c95e68d8 5198#define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
107e4716 5199static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5200 PyObject * _resultobj;
5201 wxCheckListBox * _result;
5202 wxWindow * _arg0;
5203 wxWindowID _arg1;
b68dc582
RD
5204 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5205 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
5206 int _arg4 = (int ) 0;
5207 wxString * _arg5 = (wxString *) NULL;
5208 long _arg6 = (long ) 0;
b68dc582 5209 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
5210 char * _arg8 = (char *) "listBox";
5211 PyObject * _argo0 = 0;
37f6a977
RD
5212 wxPoint temp;
5213 PyObject * _obj2 = 0;
5214 wxSize temp0;
5215 PyObject * _obj3 = 0;
c95e68d8 5216 PyObject * _obj5 = 0;
2d091820 5217 PyObject * _argo7 = 0;
e02c03a4 5218 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
c95e68d8
RD
5219 char _ptemp[128];
5220
5221 self = self;
37f6a977 5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
c95e68d8 5223 return NULL;
2d091820
RD
5224 if (_argo0) {
5225 if (_argo0 == Py_None) { _arg0 = NULL; }
5226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
c95e68d8
RD
5227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5228 return NULL;
5229 }
5230 }
37f6a977
RD
5231 if (_obj2)
5232{
5233 _arg2 = &temp;
5234 if (! wxPoint_helper(_obj2, &_arg2))
c95e68d8 5235 return NULL;
37f6a977
RD
5236}
5237 if (_obj3)
5238{
5239 _arg3 = &temp0;
5240 if (! wxSize_helper(_obj3, &_arg3))
c95e68d8 5241 return NULL;
37f6a977 5242}
c95e68d8
RD
5243 if (_obj5)
5244{
5245 _arg5 = wxString_LIST_helper(_obj5);
5246 if (_arg5 == NULL) {
5247 return NULL;
5248 }
5249}
2d091820
RD
5250 if (_argo7) {
5251 if (_argo7 == Py_None) { _arg7 = NULL; }
5252 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
c95e68d8
RD
5253 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5254 return NULL;
5255 }
5256 }
5257{
ab9bc19b
RD
5258 if (_obj5) {
5259 _arg4 = PyList_Size(_obj5);
5260 }
5261 else {
5262 _arg4 = 0;
5263 }
c95e68d8 5264}
ab9bc19b
RD
5265{
5266 wxPy_BEGIN_ALLOW_THREADS;
5267 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
5268
5269 wxPy_END_ALLOW_THREADS;
4dfaa61e 5270 if (PyErr_Occurred()) return NULL;
2d091820
RD
5271} if (_result) {
5272 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5273 _resultobj = Py_BuildValue("s",_ptemp);
5274 } else {
5275 Py_INCREF(Py_None);
5276 _resultobj = Py_None;
5277 }
c95e68d8
RD
5278{
5279 delete [] _arg5;
5280}
5281 return _resultobj;
5282}
5283
aa2a5b86
RD
5284#define new_wxPreCheckListBox() (new wxCheckListBox())
5285static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5286 PyObject * _resultobj;
5287 wxCheckListBox * _result;
5288 char *_kwnames[] = { NULL };
5289 char _ptemp[128];
5290
5291 self = self;
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
5293 return NULL;
5294{
5295 wxPy_BEGIN_ALLOW_THREADS;
5296 _result = (wxCheckListBox *)new_wxPreCheckListBox();
5297
5298 wxPy_END_ALLOW_THREADS;
5299 if (PyErr_Occurred()) return NULL;
5300} if (_result) {
5301 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5302 _resultobj = Py_BuildValue("s",_ptemp);
5303 } else {
5304 Py_INCREF(Py_None);
5305 _resultobj = Py_None;
5306 }
5307 return _resultobj;
5308}
5309
5310#define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5311static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject * _resultobj;
5313 bool _result;
5314 wxCheckListBox * _arg0;
5315 wxWindow * _arg1;
5316 wxWindowID _arg2;
5317 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5318 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5319 int _arg5 = (int ) 0;
5320 wxString * _arg6 = (wxString *) NULL;
5321 long _arg7 = (long ) 0;
5322 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
5323 char * _arg9 = (char *) "listBox";
5324 PyObject * _argo0 = 0;
5325 PyObject * _argo1 = 0;
5326 wxPoint temp;
5327 PyObject * _obj3 = 0;
5328 wxSize temp0;
5329 PyObject * _obj4 = 0;
5330 PyObject * _obj6 = 0;
5331 PyObject * _argo8 = 0;
5332 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5333
5334 self = self;
5335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
5336 return NULL;
5337 if (_argo0) {
5338 if (_argo0 == Py_None) { _arg0 = NULL; }
5339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5341 return NULL;
5342 }
5343 }
5344 if (_argo1) {
5345 if (_argo1 == Py_None) { _arg1 = NULL; }
5346 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5347 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5348 return NULL;
5349 }
5350 }
5351 if (_obj3)
5352{
5353 _arg3 = &temp;
5354 if (! wxPoint_helper(_obj3, &_arg3))
5355 return NULL;
5356}
5357 if (_obj4)
5358{
5359 _arg4 = &temp0;
5360 if (! wxSize_helper(_obj4, &_arg4))
5361 return NULL;
5362}
5363 if (_obj6)
5364{
5365 _arg6 = wxString_LIST_helper(_obj6);
5366 if (_arg6 == NULL) {
5367 return NULL;
5368 }
5369}
5370 if (_argo8) {
5371 if (_argo8 == Py_None) { _arg8 = NULL; }
5372 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
5373 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5374 return NULL;
5375 }
5376 }
5377{
5378 if (_obj6) {
5379 _arg5 = PyList_Size(_obj6);
5380 }
5381 else {
5382 _arg5 = 0;
5383 }
5384}
5385{
5386 wxPy_BEGIN_ALLOW_THREADS;
5387 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
5388
5389 wxPy_END_ALLOW_THREADS;
5390 if (PyErr_Occurred()) return NULL;
5391} _resultobj = Py_BuildValue("i",_result);
5392{
5393 delete [] _arg6;
5394}
5395 return _resultobj;
5396}
5397
c95e68d8 5398#define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
107e4716 5399static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5400 PyObject * _resultobj;
5401 bool _result;
5402 wxCheckListBox * _arg0;
5403 int _arg1;
2d091820 5404 PyObject * _argo0 = 0;
107e4716 5405 char *_kwnames[] = { "self","uiIndex", NULL };
c95e68d8
RD
5406
5407 self = self;
107e4716 5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
c95e68d8 5409 return NULL;
2d091820
RD
5410 if (_argo0) {
5411 if (_argo0 == Py_None) { _arg0 = NULL; }
5412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
5413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5414 return NULL;
5415 }
5416 }
ab9bc19b
RD
5417{
5418 wxPy_BEGIN_ALLOW_THREADS;
5419 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
5420
5421 wxPy_END_ALLOW_THREADS;
4dfaa61e 5422 if (PyErr_Occurred()) return NULL;
ab9bc19b 5423} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
5424 return _resultobj;
5425}
5426
5427#define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
107e4716 5428static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5429 PyObject * _resultobj;
5430 wxCheckListBox * _arg0;
5431 int _arg1;
d29aba2f 5432 int _arg2 = (int ) TRUE;
2d091820 5433 PyObject * _argo0 = 0;
107e4716 5434 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
c95e68d8
RD
5435
5436 self = self;
d29aba2f 5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
c95e68d8 5438 return NULL;
2d091820
RD
5439 if (_argo0) {
5440 if (_argo0 == Py_None) { _arg0 = NULL; }
5441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
5442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5443 return NULL;
5444 }
5445 }
ab9bc19b
RD
5446{
5447 wxPy_BEGIN_ALLOW_THREADS;
5448 wxCheckListBox_Check(_arg0,_arg1,_arg2);
5449
5450 wxPy_END_ALLOW_THREADS;
4dfaa61e 5451 if (PyErr_Occurred()) return NULL;
ab9bc19b 5452} Py_INCREF(Py_None);
c95e68d8
RD
5453 _resultobj = Py_None;
5454 return _resultobj;
5455}
5456
d29aba2f
RD
5457#define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5458static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject * _resultobj;
5460 wxCheckListBox * _arg0;
5461 int _arg1;
5462 wxString * _arg2;
5463 int _arg3;
5464 PyObject * _argo0 = 0;
5465 PyObject * _obj2 = 0;
e02c03a4 5466 char *_kwnames[] = { "self","choices","pos", NULL };
d29aba2f
RD
5467
5468 self = self;
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5470 return NULL;
5471 if (_argo0) {
5472 if (_argo0 == Py_None) { _arg0 = NULL; }
5473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5475 return NULL;
5476 }
5477 }
5478{
5479 _arg2 = wxString_LIST_helper(_obj2);
5480 if (_arg2 == NULL) {
5481 return NULL;
5482 }
5483}
5484{
5485 if (_obj2) {
5486 _arg1 = PyList_Size(_obj2);
5487 }
5488 else {
5489 _arg1 = 0;
5490 }
5491}
5492{
5493 wxPy_BEGIN_ALLOW_THREADS;
5494 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
5495
5496 wxPy_END_ALLOW_THREADS;
4dfaa61e 5497 if (PyErr_Occurred()) return NULL;
d29aba2f
RD
5498} Py_INCREF(Py_None);
5499 _resultobj = Py_None;
5500{
5501 delete [] _arg2;
5502}
5503 return _resultobj;
5504}
5505
c95e68d8 5506#define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
107e4716 5507static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5508 PyObject * _resultobj;
5509 int _result;
5510 wxCheckListBox * _arg0;
2d091820 5511 PyObject * _argo0 = 0;
107e4716 5512 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
5513
5514 self = self;
107e4716 5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
c95e68d8 5516 return NULL;
2d091820
RD
5517 if (_argo0) {
5518 if (_argo0 == Py_None) { _arg0 = NULL; }
5519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
5520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5521 return NULL;
5522 }
5523 }
ab9bc19b
RD
5524{
5525 wxPy_BEGIN_ALLOW_THREADS;
5526 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
5527
5528 wxPy_END_ALLOW_THREADS;
4dfaa61e 5529 if (PyErr_Occurred()) return NULL;
ab9bc19b 5530} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
5531 return _resultobj;
5532}
5533
9d6da64a
RD
5534#define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5535static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject * _resultobj;
5537 wxTextAttr * _result;
5538 wxColour * _arg0 = (wxColour *) &wxNullColour;
5539 wxColour * _arg1 = (wxColour *) &wxNullColour;
5540 wxFont * _arg2 = (wxFont *) &wxNullFont;
5541 wxColour temp;
5542 PyObject * _obj0 = 0;
5543 wxColour temp0;
5544 PyObject * _obj1 = 0;
5545 PyObject * _argo2 = 0;
5546 char *_kwnames[] = { "colText","colBack","font", NULL };
5547 char _ptemp[128];
5548
5549 self = self;
5550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5551 return NULL;
5552 if (_obj0)
5553{
5554 _arg0 = &temp;
5555 if (! wxColour_helper(_obj0, &_arg0))
5556 return NULL;
5557}
5558 if (_obj1)
5559{
5560 _arg1 = &temp0;
5561 if (! wxColour_helper(_obj1, &_arg1))
5562 return NULL;
5563}
5564 if (_argo2) {
5565 if (_argo2 == Py_None) { _arg2 = NULL; }
5566 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5567 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5568 return NULL;
5569 }
5570 }
5571{
5572 wxPy_BEGIN_ALLOW_THREADS;
5573 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2);
5574
5575 wxPy_END_ALLOW_THREADS;
5576 if (PyErr_Occurred()) return NULL;
5577} if (_result) {
5578 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
5579 _resultobj = Py_BuildValue("s",_ptemp);
5580 } else {
5581 Py_INCREF(Py_None);
5582 _resultobj = Py_None;
5583 }
5584 return _resultobj;
5585}
5586
5587#define delete_wxTextAttr(_swigobj) (delete _swigobj)
5588static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5589 PyObject * _resultobj;
5590 wxTextAttr * _arg0;
5591 PyObject * _argo0 = 0;
5592 char *_kwnames[] = { "self", NULL };
5593
5594 self = self;
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
5596 return NULL;
5597 if (_argo0) {
5598 if (_argo0 == Py_None) { _arg0 = NULL; }
5599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5601 return NULL;
5602 }
5603 }
5604{
5605 wxPy_BEGIN_ALLOW_THREADS;
5606 delete_wxTextAttr(_arg0);
5607
5608 wxPy_END_ALLOW_THREADS;
5609 if (PyErr_Occurred()) return NULL;
5610} Py_INCREF(Py_None);
5611 _resultobj = Py_None;
5612 return _resultobj;
5613}
5614
5615#define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5616static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5617 PyObject * _resultobj;
5618 wxTextAttr * _arg0;
5619 wxColour * _arg1;
5620 PyObject * _argo0 = 0;
5621 wxColour temp;
5622 PyObject * _obj1 = 0;
5623 char *_kwnames[] = { "self","colText", NULL };
5624
5625 self = self;
5626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5627 return NULL;
5628 if (_argo0) {
5629 if (_argo0 == Py_None) { _arg0 = NULL; }
5630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5632 return NULL;
5633 }
5634 }
5635{
5636 _arg1 = &temp;
5637 if (! wxColour_helper(_obj1, &_arg1))
5638 return NULL;
5639}
5640{
5641 wxPy_BEGIN_ALLOW_THREADS;
5642 wxTextAttr_SetTextColour(_arg0,*_arg1);
5643
5644 wxPy_END_ALLOW_THREADS;
5645 if (PyErr_Occurred()) return NULL;
5646} Py_INCREF(Py_None);
5647 _resultobj = Py_None;
5648 return _resultobj;
5649}
5650
5651#define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5652static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5653 PyObject * _resultobj;
5654 wxTextAttr * _arg0;
5655 wxColour * _arg1;
5656 PyObject * _argo0 = 0;
5657 wxColour temp;
5658 PyObject * _obj1 = 0;
5659 char *_kwnames[] = { "self","colBack", NULL };
5660
5661 self = self;
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5663 return NULL;
5664 if (_argo0) {
5665 if (_argo0 == Py_None) { _arg0 = NULL; }
5666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5668 return NULL;
5669 }
5670 }
5671{
5672 _arg1 = &temp;
5673 if (! wxColour_helper(_obj1, &_arg1))
5674 return NULL;
5675}
5676{
5677 wxPy_BEGIN_ALLOW_THREADS;
5678 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
5679
5680 wxPy_END_ALLOW_THREADS;
5681 if (PyErr_Occurred()) return NULL;
5682} Py_INCREF(Py_None);
5683 _resultobj = Py_None;
5684 return _resultobj;
5685}
5686
5687#define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5688static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5689 PyObject * _resultobj;
5690 wxTextAttr * _arg0;
5691 wxFont * _arg1;
5692 PyObject * _argo0 = 0;
5693 PyObject * _argo1 = 0;
5694 char *_kwnames[] = { "self","font", NULL };
5695
5696 self = self;
5697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
5698 return NULL;
5699 if (_argo0) {
5700 if (_argo0 == Py_None) { _arg0 = NULL; }
5701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5703 return NULL;
5704 }
5705 }
5706 if (_argo1) {
5707 if (_argo1 == Py_None) { _arg1 = NULL; }
5708 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5709 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5710 return NULL;
5711 }
5712 }
5713{
5714 wxPy_BEGIN_ALLOW_THREADS;
5715 wxTextAttr_SetFont(_arg0,*_arg1);
5716
5717 wxPy_END_ALLOW_THREADS;
5718 if (PyErr_Occurred()) return NULL;
5719} Py_INCREF(Py_None);
5720 _resultobj = Py_None;
5721 return _resultobj;
5722}
5723
5724#define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5725static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5726 PyObject * _resultobj;
5727 bool _result;
5728 wxTextAttr * _arg0;
5729 PyObject * _argo0 = 0;
5730 char *_kwnames[] = { "self", NULL };
5731
5732 self = self;
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
5734 return NULL;
5735 if (_argo0) {
5736 if (_argo0 == Py_None) { _arg0 = NULL; }
5737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5739 return NULL;
5740 }
5741 }
5742{
5743 wxPy_BEGIN_ALLOW_THREADS;
5744 _result = (bool )wxTextAttr_HasTextColour(_arg0);
5745
5746 wxPy_END_ALLOW_THREADS;
5747 if (PyErr_Occurred()) return NULL;
5748} _resultobj = Py_BuildValue("i",_result);
5749 return _resultobj;
5750}
5751
5752#define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5753static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject * _resultobj;
5755 bool _result;
5756 wxTextAttr * _arg0;
5757 PyObject * _argo0 = 0;
5758 char *_kwnames[] = { "self", NULL };
5759
5760 self = self;
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
5762 return NULL;
5763 if (_argo0) {
5764 if (_argo0 == Py_None) { _arg0 = NULL; }
5765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5767 return NULL;
5768 }
5769 }
5770{
5771 wxPy_BEGIN_ALLOW_THREADS;
5772 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
5773
5774 wxPy_END_ALLOW_THREADS;
5775 if (PyErr_Occurred()) return NULL;
5776} _resultobj = Py_BuildValue("i",_result);
5777 return _resultobj;
5778}
5779
5780#define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5781static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5782 PyObject * _resultobj;
5783 bool _result;
5784 wxTextAttr * _arg0;
5785 PyObject * _argo0 = 0;
5786 char *_kwnames[] = { "self", NULL };
5787
5788 self = self;
5789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
5790 return NULL;
5791 if (_argo0) {
5792 if (_argo0 == Py_None) { _arg0 = NULL; }
5793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5795 return NULL;
5796 }
5797 }
5798{
5799 wxPy_BEGIN_ALLOW_THREADS;
5800 _result = (bool )wxTextAttr_HasFont(_arg0);
5801
5802 wxPy_END_ALLOW_THREADS;
5803 if (PyErr_Occurred()) return NULL;
5804} _resultobj = Py_BuildValue("i",_result);
5805 return _resultobj;
5806}
5807
5808#define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5809static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject * _resultobj;
5811 wxColour * _result;
5812 wxTextAttr * _arg0;
5813 PyObject * _argo0 = 0;
5814 char *_kwnames[] = { "self", NULL };
5815 char _ptemp[128];
5816
5817 self = self;
5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
5819 return NULL;
5820 if (_argo0) {
5821 if (_argo0 == Py_None) { _arg0 = NULL; }
5822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5824 return NULL;
5825 }
5826 }
5827{
5828 wxPy_BEGIN_ALLOW_THREADS;
5829 const wxColour & _result_ref = wxTextAttr_GetTextColour(_arg0);
5830 _result = (wxColour *) &_result_ref;
5831
5832 wxPy_END_ALLOW_THREADS;
5833 if (PyErr_Occurred()) return NULL;
5834} if (_result) {
5835 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5836 _resultobj = Py_BuildValue("s",_ptemp);
5837 } else {
5838 Py_INCREF(Py_None);
5839 _resultobj = Py_None;
5840 }
5841 return _resultobj;
5842}
5843
5844#define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5845static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5846 PyObject * _resultobj;
5847 wxColour * _result;
5848 wxTextAttr * _arg0;
5849 PyObject * _argo0 = 0;
5850 char *_kwnames[] = { "self", NULL };
5851 char _ptemp[128];
5852
5853 self = self;
5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
5855 return NULL;
5856 if (_argo0) {
5857 if (_argo0 == Py_None) { _arg0 = NULL; }
5858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5860 return NULL;
5861 }
5862 }
5863{
5864 wxPy_BEGIN_ALLOW_THREADS;
5865 const wxColour & _result_ref = wxTextAttr_GetBackgroundColour(_arg0);
5866 _result = (wxColour *) &_result_ref;
5867
5868 wxPy_END_ALLOW_THREADS;
5869 if (PyErr_Occurred()) return NULL;
5870} if (_result) {
5871 SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p");
5872 _resultobj = Py_BuildValue("s",_ptemp);
5873 } else {
5874 Py_INCREF(Py_None);
5875 _resultobj = Py_None;
5876 }
5877 return _resultobj;
5878}
5879
5880#define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5881static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject * _resultobj;
5883 wxFont * _result;
5884 wxTextAttr * _arg0;
5885 PyObject * _argo0 = 0;
5886 char *_kwnames[] = { "self", NULL };
5887 char _ptemp[128];
5888
5889 self = self;
5890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
5891 return NULL;
5892 if (_argo0) {
5893 if (_argo0 == Py_None) { _arg0 = NULL; }
5894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5896 return NULL;
5897 }
5898 }
5899{
5900 wxPy_BEGIN_ALLOW_THREADS;
5901 const wxFont & _result_ref = wxTextAttr_GetFont(_arg0);
5902 _result = (wxFont *) &_result_ref;
5903
5904 wxPy_END_ALLOW_THREADS;
5905 if (PyErr_Occurred()) return NULL;
5906} if (_result) {
5907 SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p");
5908 _resultobj = Py_BuildValue("s",_ptemp);
5909 } else {
5910 Py_INCREF(Py_None);
5911 _resultobj = Py_None;
5912 }
5913 return _resultobj;
5914}
5915
70551f47
RD
5916static void *SwigwxTextCtrlTowxControl(void *ptr) {
5917 wxTextCtrl *src;
5918 wxControl *dest;
5919 src = (wxTextCtrl *) ptr;
5920 dest = (wxControl *) src;
5921 return (void *) dest;
5922}
5923
5924static void *SwigwxTextCtrlTowxWindow(void *ptr) {
5925 wxTextCtrl *src;
5926 wxWindow *dest;
5927 src = (wxTextCtrl *) ptr;
5928 dest = (wxWindow *) src;
5929 return (void *) dest;
5930}
5931
5932static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
5933 wxTextCtrl *src;
5934 wxEvtHandler *dest;
5935 src = (wxTextCtrl *) ptr;
5936 dest = (wxEvtHandler *) src;
5937 return (void *) dest;
5938}
5939
9df61a29
RD
5940static void *SwigwxTextCtrlTowxObject(void *ptr) {
5941 wxTextCtrl *src;
5942 wxObject *dest;
5943 src = (wxTextCtrl *) ptr;
5944 dest = (wxObject *) src;
5945 return (void *) dest;
5946}
5947
70551f47 5948#define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 5949static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5950 PyObject * _resultobj;
5951 wxTextCtrl * _result;
5952 wxWindow * _arg0;
5953 wxWindowID _arg1;
2d091820 5954 char * _arg2 = (char *) "";
b68dc582
RD
5955 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5956 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 5957 long _arg5 = (long ) 0;
b68dc582 5958 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
5959 char * _arg7 = (char *) "text";
5960 PyObject * _argo0 = 0;
37f6a977
RD
5961 wxPoint temp;
5962 PyObject * _obj3 = 0;
5963 wxSize temp0;
5964 PyObject * _obj4 = 0;
2d091820 5965 PyObject * _argo6 = 0;
107e4716 5966 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
70551f47
RD
5967 char _ptemp[128];
5968
5969 self = self;
37f6a977 5970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOlOs:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 5971 return NULL;
2d091820
RD
5972 if (_argo0) {
5973 if (_argo0 == Py_None) { _arg0 = NULL; }
5974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
5975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
5976 return NULL;
5977 }
5978 }
37f6a977
RD
5979 if (_obj3)
5980{
5981 _arg3 = &temp;
5982 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 5983 return NULL;
37f6a977
RD
5984}
5985 if (_obj4)
5986{
5987 _arg4 = &temp0;
5988 if (! wxSize_helper(_obj4, &_arg4))
70551f47 5989 return NULL;
37f6a977 5990}
2d091820
RD
5991 if (_argo6) {
5992 if (_argo6 == Py_None) { _arg6 = NULL; }
5993 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
5994 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
5995 return NULL;
5996 }
5997 }
ab9bc19b
RD
5998{
5999 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86
RD
6000 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
6001
6002 wxPy_END_ALLOW_THREADS;
6003 if (PyErr_Occurred()) return NULL;
6004} if (_result) {
6005 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6006 _resultobj = Py_BuildValue("s",_ptemp);
6007 } else {
6008 Py_INCREF(Py_None);
6009 _resultobj = Py_None;
6010 }
6011 return _resultobj;
6012}
6013
6014#define new_wxPreTextCtrl() (new wxTextCtrl())
6015static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6016 PyObject * _resultobj;
6017 wxTextCtrl * _result;
6018 char *_kwnames[] = { NULL };
6019 char _ptemp[128];
6020
6021 self = self;
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
6023 return NULL;
6024{
6025 wxPy_BEGIN_ALLOW_THREADS;
6026 _result = (wxTextCtrl *)new_wxPreTextCtrl();
6027
6028 wxPy_END_ALLOW_THREADS;
6029 if (PyErr_Occurred()) return NULL;
6030} if (_result) {
6031 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6032 _resultobj = Py_BuildValue("s",_ptemp);
6033 } else {
6034 Py_INCREF(Py_None);
6035 _resultobj = Py_None;
6036 }
6037 return _resultobj;
6038}
6039
6040#define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6041static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6042 PyObject * _resultobj;
6043 bool _result;
6044 wxTextCtrl * _arg0;
6045 wxWindow * _arg1;
6046 wxWindowID _arg2;
6047 char * _arg3 = (char *) "";
6048 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
6049 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
6050 long _arg6 = (long ) 0;
6051 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
6052 char * _arg8 = (char *) "text";
6053 PyObject * _argo0 = 0;
6054 PyObject * _argo1 = 0;
6055 wxPoint temp;
6056 PyObject * _obj4 = 0;
6057 wxSize temp0;
6058 PyObject * _obj5 = 0;
6059 PyObject * _argo7 = 0;
6060 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
6061
6062 self = self;
6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
6064 return NULL;
6065 if (_argo0) {
6066 if (_argo0 == Py_None) { _arg0 = NULL; }
6067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6069 return NULL;
6070 }
6071 }
6072 if (_argo1) {
6073 if (_argo1 == Py_None) { _arg1 = NULL; }
6074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6076 return NULL;
6077 }
6078 }
6079 if (_obj4)
6080{
6081 _arg4 = &temp;
6082 if (! wxPoint_helper(_obj4, &_arg4))
6083 return NULL;
6084}
6085 if (_obj5)
6086{
6087 _arg5 = &temp0;
6088 if (! wxSize_helper(_obj5, &_arg5))
6089 return NULL;
6090}
6091 if (_argo7) {
6092 if (_argo7 == Py_None) { _arg7 = NULL; }
6093 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
6094 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6095 return NULL;
6096 }
6097 }
6098{
6099 wxPy_BEGIN_ALLOW_THREADS;
6100 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
ab9bc19b
RD
6101
6102 wxPy_END_ALLOW_THREADS;
4dfaa61e 6103 if (PyErr_Occurred()) return NULL;
aa2a5b86 6104} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
6105 return _resultobj;
6106}
6107
6108#define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
107e4716 6109static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6110 PyObject * _resultobj;
6111 wxTextCtrl * _arg0;
2d091820 6112 PyObject * _argo0 = 0;
107e4716 6113 char *_kwnames[] = { "self", NULL };
70551f47
RD
6114
6115 self = self;
107e4716 6116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
70551f47 6117 return NULL;
2d091820
RD
6118 if (_argo0) {
6119 if (_argo0 == Py_None) { _arg0 = NULL; }
6120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6122 return NULL;
6123 }
6124 }
ab9bc19b
RD
6125{
6126 wxPy_BEGIN_ALLOW_THREADS;
6127 wxTextCtrl_Clear(_arg0);
6128
6129 wxPy_END_ALLOW_THREADS;
4dfaa61e 6130 if (PyErr_Occurred()) return NULL;
ab9bc19b 6131} Py_INCREF(Py_None);
70551f47
RD
6132 _resultobj = Py_None;
6133 return _resultobj;
6134}
6135
6136#define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
107e4716 6137static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6138 PyObject * _resultobj;
6139 wxTextCtrl * _arg0;
2d091820 6140 PyObject * _argo0 = 0;
107e4716 6141 char *_kwnames[] = { "self", NULL };
70551f47
RD
6142
6143 self = self;
107e4716 6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
70551f47 6145 return NULL;
2d091820
RD
6146 if (_argo0) {
6147 if (_argo0 == Py_None) { _arg0 = NULL; }
6148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
6150 return NULL;
6151 }
6152 }
ab9bc19b
RD
6153{
6154 wxPy_BEGIN_ALLOW_THREADS;
6155 wxTextCtrl_Copy(_arg0);
6156
6157 wxPy_END_ALLOW_THREADS;
4dfaa61e 6158 if (PyErr_Occurred()) return NULL;
ab9bc19b 6159} Py_INCREF(Py_None);
70551f47
RD
6160 _resultobj = Py_None;
6161 return _resultobj;
6162}
6163
6164#define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
107e4716 6165static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6166 PyObject * _resultobj;
6167 wxTextCtrl * _arg0;
2d091820 6168 PyObject * _argo0 = 0;
107e4716 6169 char *_kwnames[] = { "self", NULL };
70551f47
RD
6170
6171 self = self;
107e4716 6172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
70551f47 6173 return NULL;
2d091820
RD
6174 if (_argo0) {
6175 if (_argo0 == Py_None) { _arg0 = NULL; }
6176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
6178 return NULL;
6179 }
6180 }
ab9bc19b
RD
6181{
6182 wxPy_BEGIN_ALLOW_THREADS;
6183 wxTextCtrl_Cut(_arg0);
6184
6185 wxPy_END_ALLOW_THREADS;
4dfaa61e 6186 if (PyErr_Occurred()) return NULL;
ab9bc19b 6187} Py_INCREF(Py_None);
70551f47
RD
6188 _resultobj = Py_None;
6189 return _resultobj;
6190}
6191
6192#define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
107e4716 6193static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6194 PyObject * _resultobj;
6195 wxTextCtrl * _arg0;
2d091820 6196 PyObject * _argo0 = 0;
107e4716 6197 char *_kwnames[] = { "self", NULL };
70551f47
RD
6198
6199 self = self;
107e4716 6200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
70551f47 6201 return NULL;
2d091820
RD
6202 if (_argo0) {
6203 if (_argo0 == Py_None) { _arg0 = NULL; }
6204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6206 return NULL;
6207 }
6208 }
ab9bc19b
RD
6209{
6210 wxPy_BEGIN_ALLOW_THREADS;
6211 wxTextCtrl_DiscardEdits(_arg0);
6212
6213 wxPy_END_ALLOW_THREADS;
4dfaa61e 6214 if (PyErr_Occurred()) return NULL;
ab9bc19b 6215} Py_INCREF(Py_None);
70551f47
RD
6216 _resultobj = Py_None;
6217 return _resultobj;
6218}
6219
6220#define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
107e4716 6221static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6222 PyObject * _resultobj;
6223 long _result;
6224 wxTextCtrl * _arg0;
2d091820 6225 PyObject * _argo0 = 0;
107e4716 6226 char *_kwnames[] = { "self", NULL };
70551f47
RD
6227
6228 self = self;
107e4716 6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
70551f47 6230 return NULL;
2d091820
RD
6231 if (_argo0) {
6232 if (_argo0 == Py_None) { _arg0 = NULL; }
6233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
6235 return NULL;
6236 }
6237 }
ab9bc19b
RD
6238{
6239 wxPy_BEGIN_ALLOW_THREADS;
6240 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
6241
6242 wxPy_END_ALLOW_THREADS;
4dfaa61e 6243 if (PyErr_Occurred()) return NULL;
ab9bc19b 6244} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
6245 return _resultobj;
6246}
6247
6248#define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
107e4716 6249static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6250 PyObject * _resultobj;
6251 long _result;
6252 wxTextCtrl * _arg0;
2d091820 6253 PyObject * _argo0 = 0;
107e4716 6254 char *_kwnames[] = { "self", NULL };
70551f47
RD
6255
6256 self = self;
107e4716 6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
70551f47 6258 return NULL;
2d091820
RD
6259 if (_argo0) {
6260 if (_argo0 == Py_None) { _arg0 = NULL; }
6261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
6263 return NULL;
6264 }
6265 }
ab9bc19b
RD
6266{
6267 wxPy_BEGIN_ALLOW_THREADS;
6268 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
6269
6270 wxPy_END_ALLOW_THREADS;
4dfaa61e 6271 if (PyErr_Occurred()) return NULL;
ab9bc19b 6272} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
6273 return _resultobj;
6274}
6275
faf3cb35 6276#define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
107e4716 6277static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
6278 PyObject * _resultobj;
6279 int _result;
6280 wxTextCtrl * _arg0;
6281 long _arg1;
2d091820 6282 PyObject * _argo0 = 0;
107e4716 6283 char *_kwnames[] = { "self","lineNo", NULL };
faf3cb35
RD
6284
6285 self = self;
107e4716 6286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
faf3cb35 6287 return NULL;
2d091820
RD
6288 if (_argo0) {
6289 if (_argo0 == Py_None) { _arg0 = NULL; }
6290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
faf3cb35
RD
6291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6292 return NULL;
6293 }
6294 }
ab9bc19b
RD
6295{
6296 wxPy_BEGIN_ALLOW_THREADS;
6297 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
6298
6299 wxPy_END_ALLOW_THREADS;
4dfaa61e 6300 if (PyErr_Occurred()) return NULL;
ab9bc19b 6301} _resultobj = Py_BuildValue("i",_result);
faf3cb35
RD
6302 return _resultobj;
6303}
6304
6305#define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
107e4716 6306static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
6307 PyObject * _resultobj;
6308 wxString * _result;
6309 wxTextCtrl * _arg0;
6310 long _arg1;
2d091820 6311 PyObject * _argo0 = 0;
107e4716 6312 char *_kwnames[] = { "self","lineNo", NULL };
faf3cb35
RD
6313
6314 self = self;
107e4716 6315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
faf3cb35 6316 return NULL;
2d091820
RD
6317 if (_argo0) {
6318 if (_argo0 == Py_None) { _arg0 = NULL; }
6319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
faf3cb35
RD
6320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6321 return NULL;
6322 }
6323 }
faf3cb35 6324{
ab9bc19b
RD
6325 wxPy_BEGIN_ALLOW_THREADS;
6326 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
6327
6328 wxPy_END_ALLOW_THREADS;
4dfaa61e 6329 if (PyErr_Occurred()) return NULL;
ab9bc19b 6330}{
e02c03a4 6331 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
faf3cb35
RD
6332}
6333{
6334 delete _result;
6335}
6336 return _resultobj;
6337}
6338
6339#define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
107e4716 6340static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
6341 PyObject * _resultobj;
6342 int _result;
6343 wxTextCtrl * _arg0;
2d091820 6344 PyObject * _argo0 = 0;
107e4716 6345 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
6346
6347 self = self;
107e4716 6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
faf3cb35 6349 return NULL;
2d091820
RD
6350 if (_argo0) {
6351 if (_argo0 == Py_None) { _arg0 = NULL; }
6352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
faf3cb35
RD
6353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6354 return NULL;
6355 }
6356 }
ab9bc19b
RD
6357{
6358 wxPy_BEGIN_ALLOW_THREADS;
6359 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
6360
6361 wxPy_END_ALLOW_THREADS;
4dfaa61e 6362 if (PyErr_Occurred()) return NULL;
ab9bc19b 6363} _resultobj = Py_BuildValue("i",_result);
faf3cb35
RD
6364 return _resultobj;
6365}
6366
70551f47 6367#define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 6368static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6369 PyObject * _resultobj;
6370 wxString * _result;
6371 wxTextCtrl * _arg0;
2d091820 6372 PyObject * _argo0 = 0;
107e4716 6373 char *_kwnames[] = { "self", NULL };
70551f47
RD
6374
6375 self = self;
107e4716 6376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
70551f47 6377 return NULL;
2d091820
RD
6378 if (_argo0) {
6379 if (_argo0 == Py_None) { _arg0 = NULL; }
6380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6382 return NULL;
6383 }
6384 }
70551f47 6385{
ab9bc19b
RD
6386 wxPy_BEGIN_ALLOW_THREADS;
6387 _result = new wxString (wxTextCtrl_GetValue(_arg0));
6388
6389 wxPy_END_ALLOW_THREADS;
4dfaa61e 6390 if (PyErr_Occurred()) return NULL;
ab9bc19b 6391}{
e02c03a4 6392 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
6393}
6394{
6395 delete _result;
6396}
6397 return _resultobj;
6398}
6399
6400#define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
107e4716 6401static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6402 PyObject * _resultobj;
6403 bool _result;
6404 wxTextCtrl * _arg0;
2d091820 6405 PyObject * _argo0 = 0;
107e4716 6406 char *_kwnames[] = { "self", NULL };
70551f47
RD
6407
6408 self = self;
107e4716 6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
70551f47 6410 return NULL;
2d091820
RD
6411 if (_argo0) {
6412 if (_argo0 == Py_None) { _arg0 = NULL; }
6413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6415 return NULL;
6416 }
6417 }
ab9bc19b
RD
6418{
6419 wxPy_BEGIN_ALLOW_THREADS;
6420 _result = (bool )wxTextCtrl_IsModified(_arg0);
6421
6422 wxPy_END_ALLOW_THREADS;
4dfaa61e 6423 if (PyErr_Occurred()) return NULL;
ab9bc19b 6424} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
6425 return _resultobj;
6426}
6427
6428#define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
107e4716 6429static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6430 PyObject * _resultobj;
6431 bool _result;
6432 wxTextCtrl * _arg0;
6433 wxString * _arg1;
2d091820 6434 PyObject * _argo0 = 0;
70551f47 6435 PyObject * _obj1 = 0;
107e4716 6436 char *_kwnames[] = { "self","filename", NULL };
70551f47
RD
6437
6438 self = self;
107e4716 6439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
70551f47 6440 return NULL;
2d091820
RD
6441 if (_argo0) {
6442 if (_argo0 == Py_None) { _arg0 = NULL; }
6443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6445 return NULL;
6446 }
6447 }
6448{
2cd2fac8
RD
6449#if PYTHON_API_VERSION >= 1009
6450 char* tmpPtr; int tmpSize;
6451 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 6452 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6453 return NULL;
6454 }
6455 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6456 return NULL;
6457 _arg1 = new wxString(tmpPtr, tmpSize);
6458#else
70551f47
RD
6459 if (!PyString_Check(_obj1)) {
6460 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6461 return NULL;
6462 }
2cd2fac8
RD
6463 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6464#endif
70551f47 6465}
ab9bc19b
RD
6466{
6467 wxPy_BEGIN_ALLOW_THREADS;
6468 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
6469
6470 wxPy_END_ALLOW_THREADS;
4dfaa61e 6471 if (PyErr_Occurred()) return NULL;
ab9bc19b 6472} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
6473{
6474 if (_obj1)
6475 delete _arg1;
6476}
6477 return _resultobj;
6478}
6479
6480#define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
107e4716 6481static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6482 PyObject * _resultobj;
6483 wxTextCtrl * _arg0;
2d091820 6484 PyObject * _argo0 = 0;
107e4716 6485 char *_kwnames[] = { "self", NULL };
70551f47
RD
6486
6487 self = self;
107e4716 6488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
70551f47 6489 return NULL;
2d091820
RD
6490 if (_argo0) {
6491 if (_argo0 == Py_None) { _arg0 = NULL; }
6492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
6494 return NULL;
6495 }
6496 }
ab9bc19b
RD
6497{
6498 wxPy_BEGIN_ALLOW_THREADS;
6499 wxTextCtrl_Paste(_arg0);
6500
6501 wxPy_END_ALLOW_THREADS;
4dfaa61e 6502 if (PyErr_Occurred()) return NULL;
ab9bc19b 6503} Py_INCREF(Py_None);
70551f47
RD
6504 _resultobj = Py_None;
6505 return _resultobj;
6506}
6507
faf3cb35 6508#define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
107e4716 6509static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
6510 PyObject * _resultobj;
6511 wxTextCtrl * _arg0;
6512 long _arg1;
6513 long * _arg2;
6514 long temp;
6515 long * _arg3;
6516 long temp0;
2d091820 6517 PyObject * _argo0 = 0;
107e4716 6518 char *_kwnames[] = { "self","pos", NULL };
faf3cb35
RD
6519
6520 self = self;
6521{
6522 _arg2 = &temp;
6523}
6524{
6525 _arg3 = &temp0;
6526}
107e4716 6527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
faf3cb35 6528 return NULL;
2d091820
RD
6529 if (_argo0) {
6530 if (_argo0 == Py_None) { _arg0 = NULL; }
6531 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
faf3cb35
RD
6532 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
6533 return NULL;
6534 }
6535 }
ab9bc19b
RD
6536{
6537 wxPy_BEGIN_ALLOW_THREADS;
6538 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
6539
6540 wxPy_END_ALLOW_THREADS;
4dfaa61e 6541 if (PyErr_Occurred()) return NULL;
ab9bc19b 6542} Py_INCREF(Py_None);
faf3cb35
RD
6543 _resultobj = Py_None;
6544{
6545 PyObject *o;
6546 o = PyInt_FromLong((long) (*_arg2));
6547 _resultobj = t_output_helper(_resultobj, o);
6548}
6549{
6550 PyObject *o;
6551 o = PyInt_FromLong((long) (*_arg3));
6552 _resultobj = t_output_helper(_resultobj, o);
6553}
6554 return _resultobj;
6555}
6556
70551f47 6557#define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
107e4716 6558static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6559 PyObject * _resultobj;
6560 wxTextCtrl * _arg0;
6561 long _arg1;
6562 long _arg2;
2d091820 6563 PyObject * _argo0 = 0;
107e4716 6564 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
6565
6566 self = self;
107e4716 6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 6568 return NULL;
2d091820
RD
6569 if (_argo0) {
6570 if (_argo0 == Py_None) { _arg0 = NULL; }
6571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6573 return NULL;
6574 }
6575 }
ab9bc19b
RD
6576{
6577 wxPy_BEGIN_ALLOW_THREADS;
6578 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
6579
6580 wxPy_END_ALLOW_THREADS;
4dfaa61e 6581 if (PyErr_Occurred()) return NULL;
ab9bc19b 6582} Py_INCREF(Py_None);
70551f47
RD
6583 _resultobj = Py_None;
6584 return _resultobj;
6585}
6586
6587#define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
107e4716 6588static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6589 PyObject * _resultobj;
6590 wxTextCtrl * _arg0;
6591 long _arg1;
6592 long _arg2;
6593 wxString * _arg3;
2d091820 6594 PyObject * _argo0 = 0;
70551f47 6595 PyObject * _obj3 = 0;
107e4716 6596 char *_kwnames[] = { "self","from","to","value", NULL };
70551f47
RD
6597
6598 self = self;
107e4716 6599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
70551f47 6600 return NULL;
2d091820
RD
6601 if (_argo0) {
6602 if (_argo0 == Py_None) { _arg0 = NULL; }
6603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6605 return NULL;
6606 }
6607 }
6608{
2cd2fac8
RD
6609#if PYTHON_API_VERSION >= 1009
6610 char* tmpPtr; int tmpSize;
6611 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7a446686 6612 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6613 return NULL;
6614 }
6615 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
6616 return NULL;
6617 _arg3 = new wxString(tmpPtr, tmpSize);
6618#else
70551f47
RD
6619 if (!PyString_Check(_obj3)) {
6620 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6621 return NULL;
6622 }
2cd2fac8
RD
6623 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
6624#endif
70551f47 6625}
ab9bc19b
RD
6626{
6627 wxPy_BEGIN_ALLOW_THREADS;
6628 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
6629
6630 wxPy_END_ALLOW_THREADS;
4dfaa61e 6631 if (PyErr_Occurred()) return NULL;
ab9bc19b 6632} Py_INCREF(Py_None);
70551f47
RD
6633 _resultobj = Py_None;
6634{
6635 if (_obj3)
6636 delete _arg3;
6637}
6638 return _resultobj;
6639}
6640
6641#define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
107e4716 6642static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6643 PyObject * _resultobj;
6644 bool _result;
6645 wxTextCtrl * _arg0;
6646 wxString * _arg1;
2d091820 6647 PyObject * _argo0 = 0;
70551f47 6648 PyObject * _obj1 = 0;
107e4716 6649 char *_kwnames[] = { "self","filename", NULL };
70551f47
RD
6650
6651 self = self;
107e4716 6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
70551f47 6653 return NULL;
2d091820
RD
6654 if (_argo0) {
6655 if (_argo0 == Py_None) { _arg0 = NULL; }
6656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6658 return NULL;
6659 }
6660 }
6661{
2cd2fac8
RD
6662#if PYTHON_API_VERSION >= 1009
6663 char* tmpPtr; int tmpSize;
6664 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 6665 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6666 return NULL;
6667 }
6668 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6669 return NULL;
6670 _arg1 = new wxString(tmpPtr, tmpSize);
6671#else
70551f47
RD
6672 if (!PyString_Check(_obj1)) {
6673 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6674 return NULL;
6675 }
2cd2fac8
RD
6676 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6677#endif
70551f47 6678}
ab9bc19b
RD
6679{
6680 wxPy_BEGIN_ALLOW_THREADS;
6681 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
6682
6683 wxPy_END_ALLOW_THREADS;
4dfaa61e 6684 if (PyErr_Occurred()) return NULL;
ab9bc19b 6685} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
6686{
6687 if (_obj1)
6688 delete _arg1;
6689}
6690 return _resultobj;
6691}
6692
6693#define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
107e4716 6694static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6695 PyObject * _resultobj;
6696 wxTextCtrl * _arg0;
6697 bool _arg1;
2d091820 6698 PyObject * _argo0 = 0;
70551f47 6699 int tempbool1;
107e4716 6700 char *_kwnames[] = { "self","editable", NULL };
70551f47
RD
6701
6702 self = self;
107e4716 6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
70551f47 6704 return NULL;
2d091820
RD
6705 if (_argo0) {
6706 if (_argo0 == Py_None) { _arg0 = NULL; }
6707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
6709 return NULL;
6710 }
6711 }
6712 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
6713{
6714 wxPy_BEGIN_ALLOW_THREADS;
6715 wxTextCtrl_SetEditable(_arg0,_arg1);
6716
6717 wxPy_END_ALLOW_THREADS;
4dfaa61e 6718 if (PyErr_Occurred()) return NULL;
ab9bc19b 6719} Py_INCREF(Py_None);
70551f47
RD
6720 _resultobj = Py_None;
6721 return _resultobj;
6722}
6723
6724#define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
107e4716 6725static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6726 PyObject * _resultobj;
6727 wxTextCtrl * _arg0;
6728 long _arg1;
2d091820 6729 PyObject * _argo0 = 0;
107e4716 6730 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
6731
6732 self = self;
107e4716 6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
70551f47 6734 return NULL;
2d091820
RD
6735 if (_argo0) {
6736 if (_argo0 == Py_None) { _arg0 = NULL; }
6737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
6739 return NULL;
6740 }
6741 }
ab9bc19b
RD
6742{
6743 wxPy_BEGIN_ALLOW_THREADS;
6744 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
6745
6746 wxPy_END_ALLOW_THREADS;
4dfaa61e 6747 if (PyErr_Occurred()) return NULL;
ab9bc19b 6748} Py_INCREF(Py_None);
70551f47
RD
6749 _resultobj = Py_None;
6750 return _resultobj;
6751}
6752
6753#define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
107e4716 6754static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6755 PyObject * _resultobj;
6756 wxTextCtrl * _arg0;
2d091820 6757 PyObject * _argo0 = 0;
107e4716 6758 char *_kwnames[] = { "self", NULL };
70551f47
RD
6759
6760 self = self;
107e4716 6761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
70551f47 6762 return NULL;
2d091820
RD
6763 if (_argo0) {
6764 if (_argo0 == Py_None) { _arg0 = NULL; }
6765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
6767 return NULL;
6768 }
6769 }
ab9bc19b
RD
6770{
6771 wxPy_BEGIN_ALLOW_THREADS;
6772 wxTextCtrl_SetInsertionPointEnd(_arg0);
6773
6774 wxPy_END_ALLOW_THREADS;
4dfaa61e 6775 if (PyErr_Occurred()) return NULL;
ab9bc19b 6776} Py_INCREF(Py_None);
70551f47
RD
6777 _resultobj = Py_None;
6778 return _resultobj;
6779}
6780
6781#define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 6782static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6783 PyObject * _resultobj;
6784 wxTextCtrl * _arg0;
6785 long _arg1;
6786 long _arg2;
2d091820 6787 PyObject * _argo0 = 0;
107e4716 6788 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
6789
6790 self = self;
107e4716 6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 6792 return NULL;
2d091820
RD
6793 if (_argo0) {
6794 if (_argo0 == Py_None) { _arg0 = NULL; }
6795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
6797 return NULL;
6798 }
6799 }
ab9bc19b
RD
6800{
6801 wxPy_BEGIN_ALLOW_THREADS;
6802 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
6803
6804 wxPy_END_ALLOW_THREADS;
4dfaa61e 6805 if (PyErr_Occurred()) return NULL;
ab9bc19b 6806} Py_INCREF(Py_None);
70551f47
RD
6807 _resultobj = Py_None;
6808 return _resultobj;
6809}
6810
6811#define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 6812static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6813 PyObject * _resultobj;
6814 wxTextCtrl * _arg0;
6815 wxString * _arg1;
2d091820 6816 PyObject * _argo0 = 0;
70551f47 6817 PyObject * _obj1 = 0;
107e4716 6818 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
6819
6820 self = self;
107e4716 6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
70551f47 6822 return NULL;
2d091820
RD
6823 if (_argo0) {
6824 if (_argo0 == Py_None) { _arg0 = NULL; }
6825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6827 return NULL;
6828 }
6829 }
6830{
2cd2fac8
RD
6831#if PYTHON_API_VERSION >= 1009
6832 char* tmpPtr; int tmpSize;
6833 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 6834 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6835 return NULL;
6836 }
6837 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6838 return NULL;
6839 _arg1 = new wxString(tmpPtr, tmpSize);
6840#else
70551f47
RD
6841 if (!PyString_Check(_obj1)) {
6842 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6843 return NULL;
6844 }
2cd2fac8
RD
6845 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6846#endif
70551f47 6847}
ab9bc19b
RD
6848{
6849 wxPy_BEGIN_ALLOW_THREADS;
6850 wxTextCtrl_SetValue(_arg0,*_arg1);
6851
6852 wxPy_END_ALLOW_THREADS;
4dfaa61e 6853 if (PyErr_Occurred()) return NULL;
ab9bc19b 6854} Py_INCREF(Py_None);
70551f47
RD
6855 _resultobj = Py_None;
6856{
6857 if (_obj1)
6858 delete _arg1;
6859}
6860 return _resultobj;
6861}
6862
6863#define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
107e4716 6864static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6865 PyObject * _resultobj;
6866 wxTextCtrl * _arg0;
6867 long _arg1;
2d091820 6868 PyObject * _argo0 = 0;
107e4716 6869 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
6870
6871 self = self;
107e4716 6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
70551f47 6873 return NULL;
2d091820
RD
6874 if (_argo0) {
6875 if (_argo0 == Py_None) { _arg0 = NULL; }
6876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
6878 return NULL;
6879 }
6880 }
ab9bc19b
RD
6881{
6882 wxPy_BEGIN_ALLOW_THREADS;
6883 wxTextCtrl_ShowPosition(_arg0,_arg1);
6884
6885 wxPy_END_ALLOW_THREADS;
4dfaa61e 6886 if (PyErr_Occurred()) return NULL;
ab9bc19b 6887} Py_INCREF(Py_None);
70551f47
RD
6888 _resultobj = Py_None;
6889 return _resultobj;
6890}
6891
6892#define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
107e4716 6893static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6894 PyObject * _resultobj;
6895 wxTextCtrl * _arg0;
6896 wxString * _arg1;
2d091820 6897 PyObject * _argo0 = 0;
70551f47 6898 PyObject * _obj1 = 0;
107e4716 6899 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
6900
6901 self = self;
107e4716 6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
70551f47 6903 return NULL;
2d091820
RD
6904 if (_argo0) {
6905 if (_argo0 == Py_None) { _arg0 = NULL; }
6906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
6907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6908 return NULL;
6909 }
6910 }
6911{
2cd2fac8
RD
6912#if PYTHON_API_VERSION >= 1009
6913 char* tmpPtr; int tmpSize;
6914 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 6915 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6916 return NULL;
6917 }
6918 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6919 return NULL;
6920 _arg1 = new wxString(tmpPtr, tmpSize);
6921#else
70551f47
RD
6922 if (!PyString_Check(_obj1)) {
6923 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6924 return NULL;
6925 }
2cd2fac8
RD
6926 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6927#endif
70551f47 6928}
ab9bc19b
RD
6929{
6930 wxPy_BEGIN_ALLOW_THREADS;
6931 wxTextCtrl_WriteText(_arg0,*_arg1);
6932
6933 wxPy_END_ALLOW_THREADS;
4dfaa61e 6934 if (PyErr_Occurred()) return NULL;
ab9bc19b
RD
6935} Py_INCREF(Py_None);
6936 _resultobj = Py_None;
6937{
6938 if (_obj1)
6939 delete _arg1;
6940}
6941 return _resultobj;
6942}
6943
6944#define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
107e4716 6945static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
6946 PyObject * _resultobj;
6947 wxTextCtrl * _arg0;
6948 wxString * _arg1;
2d091820 6949 PyObject * _argo0 = 0;
ab9bc19b 6950 PyObject * _obj1 = 0;
107e4716 6951 char *_kwnames[] = { "self","text", NULL };
ab9bc19b
RD
6952
6953 self = self;
107e4716 6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
ab9bc19b 6955 return NULL;
2d091820
RD
6956 if (_argo0) {
6957 if (_argo0 == Py_None) { _arg0 = NULL; }
6958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
ab9bc19b
RD
6959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6960 return NULL;
6961 }
6962 }
6963{
2cd2fac8
RD
6964#if PYTHON_API_VERSION >= 1009
6965 char* tmpPtr; int tmpSize;
6966 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 6967 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
6968 return NULL;
6969 }
6970 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6971 return NULL;
6972 _arg1 = new wxString(tmpPtr, tmpSize);
6973#else
ab9bc19b
RD
6974 if (!PyString_Check(_obj1)) {
6975 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6976 return NULL;
6977 }
2cd2fac8
RD
6978 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6979#endif
ab9bc19b
RD
6980}
6981{
6982 wxPy_BEGIN_ALLOW_THREADS;
6983 wxTextCtrl_AppendText(_arg0,*_arg1);
6984
6985 wxPy_END_ALLOW_THREADS;
4dfaa61e 6986 if (PyErr_Occurred()) return NULL;
ab9bc19b 6987} Py_INCREF(Py_None);
70551f47
RD
6988 _resultobj = Py_None;
6989{
6990 if (_obj1)
6991 delete _arg1;
6992}
6993 return _resultobj;
6994}
6995
faf3cb35 6996#define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
107e4716 6997static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
6998 PyObject * _resultobj;
6999 long _result;
7000 wxTextCtrl * _arg0;
7001 long _arg1;
7002 long _arg2;
2d091820 7003 PyObject * _argo0 = 0;
107e4716 7004 char *_kwnames[] = { "self","x","y", NULL };
faf3cb35
RD
7005
7006 self = self;
107e4716 7007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
faf3cb35 7008 return NULL;
2d091820
RD
7009 if (_argo0) {
7010 if (_argo0 == Py_None) { _arg0 = NULL; }
7011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
faf3cb35
RD
7012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7013 return NULL;
7014 }
7015 }
ab9bc19b
RD
7016{
7017 wxPy_BEGIN_ALLOW_THREADS;
7018 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
7019
7020 wxPy_END_ALLOW_THREADS;
4dfaa61e 7021 if (PyErr_Occurred()) return NULL;
ab9bc19b 7022} _resultobj = Py_BuildValue("l",_result);
faf3cb35
RD
7023 return _resultobj;
7024}
7025
53920141 7026#define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
107e4716 7027static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7028 PyObject * _resultobj;
7029 bool _result;
7030 wxTextCtrl * _arg0;
2d091820 7031 PyObject * _argo0 = 0;
107e4716 7032 char *_kwnames[] = { "self", NULL };
53920141
RD
7033
7034 self = self;
107e4716 7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
53920141 7036 return NULL;
2d091820
RD
7037 if (_argo0) {
7038 if (_argo0 == Py_None) { _arg0 = NULL; }
7039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7041 return NULL;
7042 }
7043 }
7044{
7045 wxPy_BEGIN_ALLOW_THREADS;
7046 _result = (bool )wxTextCtrl_CanCopy(_arg0);
7047
7048 wxPy_END_ALLOW_THREADS;
4dfaa61e 7049 if (PyErr_Occurred()) return NULL;
53920141
RD
7050} _resultobj = Py_BuildValue("i",_result);
7051 return _resultobj;
7052}
7053
7054#define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
107e4716 7055static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7056 PyObject * _resultobj;
7057 bool _result;
7058 wxTextCtrl * _arg0;
2d091820 7059 PyObject * _argo0 = 0;
107e4716 7060 char *_kwnames[] = { "self", NULL };
53920141
RD
7061
7062 self = self;
107e4716 7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
53920141 7064 return NULL;
2d091820
RD
7065 if (_argo0) {
7066 if (_argo0 == Py_None) { _arg0 = NULL; }
7067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7069 return NULL;
7070 }
7071 }
7072{
7073 wxPy_BEGIN_ALLOW_THREADS;
7074 _result = (bool )wxTextCtrl_CanCut(_arg0);
7075
7076 wxPy_END_ALLOW_THREADS;
4dfaa61e 7077 if (PyErr_Occurred()) return NULL;
53920141
RD
7078} _resultobj = Py_BuildValue("i",_result);
7079 return _resultobj;
7080}
7081
7082#define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
107e4716 7083static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7084 PyObject * _resultobj;
7085 bool _result;
7086 wxTextCtrl * _arg0;
2d091820 7087 PyObject * _argo0 = 0;
107e4716 7088 char *_kwnames[] = { "self", NULL };
53920141
RD
7089
7090 self = self;
107e4716 7091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
53920141 7092 return NULL;
2d091820
RD
7093 if (_argo0) {
7094 if (_argo0 == Py_None) { _arg0 = NULL; }
7095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7097 return NULL;
7098 }
7099 }
7100{
7101 wxPy_BEGIN_ALLOW_THREADS;
7102 _result = (bool )wxTextCtrl_CanPaste(_arg0);
7103
7104 wxPy_END_ALLOW_THREADS;
4dfaa61e 7105 if (PyErr_Occurred()) return NULL;
53920141
RD
7106} _resultobj = Py_BuildValue("i",_result);
7107 return _resultobj;
7108}
7109
7110#define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
107e4716 7111static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7112 PyObject * _resultobj;
7113 bool _result;
7114 wxTextCtrl * _arg0;
2d091820 7115 PyObject * _argo0 = 0;
107e4716 7116 char *_kwnames[] = { "self", NULL };
53920141
RD
7117
7118 self = self;
107e4716 7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
53920141 7120 return NULL;
2d091820
RD
7121 if (_argo0) {
7122 if (_argo0 == Py_None) { _arg0 = NULL; }
7123 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7124 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7125 return NULL;
7126 }
7127 }
7128{
7129 wxPy_BEGIN_ALLOW_THREADS;
7130 _result = (bool )wxTextCtrl_CanRedo(_arg0);
7131
7132 wxPy_END_ALLOW_THREADS;
4dfaa61e 7133 if (PyErr_Occurred()) return NULL;
53920141
RD
7134} _resultobj = Py_BuildValue("i",_result);
7135 return _resultobj;
7136}
7137
7138#define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
107e4716 7139static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7140 PyObject * _resultobj;
7141 bool _result;
7142 wxTextCtrl * _arg0;
2d091820 7143 PyObject * _argo0 = 0;
107e4716 7144 char *_kwnames[] = { "self", NULL };
53920141
RD
7145
7146 self = self;
107e4716 7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
53920141 7148 return NULL;
2d091820
RD
7149 if (_argo0) {
7150 if (_argo0 == Py_None) { _arg0 = NULL; }
7151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7153 return NULL;
7154 }
7155 }
7156{
7157 wxPy_BEGIN_ALLOW_THREADS;
7158 _result = (bool )wxTextCtrl_CanUndo(_arg0);
7159
7160 wxPy_END_ALLOW_THREADS;
4dfaa61e 7161 if (PyErr_Occurred()) return NULL;
53920141
RD
7162} _resultobj = Py_BuildValue("i",_result);
7163 return _resultobj;
7164}
7165
7166#define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
107e4716 7167static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7168 PyObject * _resultobj;
7169 wxTextCtrl * _arg0;
7170 long * _arg1;
7171 long temp;
7172 long * _arg2;
7173 long temp0;
2d091820 7174 PyObject * _argo0 = 0;
107e4716 7175 char *_kwnames[] = { "self", NULL };
53920141
RD
7176
7177 self = self;
7178{
7179 _arg1 = &temp;
7180}
7181{
7182 _arg2 = &temp0;
7183}
107e4716 7184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
53920141 7185 return NULL;
2d091820
RD
7186 if (_argo0) {
7187 if (_argo0 == Py_None) { _arg0 = NULL; }
7188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
7190 return NULL;
7191 }
7192 }
7193{
7194 wxPy_BEGIN_ALLOW_THREADS;
7195 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
7196
7197 wxPy_END_ALLOW_THREADS;
4dfaa61e 7198 if (PyErr_Occurred()) return NULL;
53920141
RD
7199} Py_INCREF(Py_None);
7200 _resultobj = Py_None;
7201{
7202 PyObject *o;
7203 o = PyInt_FromLong((long) (*_arg1));
7204 _resultobj = t_output_helper(_resultobj, o);
7205}
7206{
7207 PyObject *o;
7208 o = PyInt_FromLong((long) (*_arg2));
7209 _resultobj = t_output_helper(_resultobj, o);
7210}
7211 return _resultobj;
7212}
7213
7214#define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
107e4716 7215static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
7216 PyObject * _resultobj;
7217 bool _result;
7218 wxTextCtrl * _arg0;
2d091820 7219 PyObject * _argo0 = 0;
107e4716 7220 char *_kwnames[] = { "self", NULL };
53920141
RD
7221
7222 self = self;
107e4716 7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
53920141 7224 return NULL;
2d091820
RD
7225 if (_argo0) {
7226 if (_argo0 == Py_None) { _arg0 = NULL; }
7227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
7228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
7229 return NULL;
7230 }
7231 }
7232{
7233 wxPy_BEGIN_ALLOW_THREADS;
7234 _result = (bool )wxTextCtrl_IsEditable(_arg0);
7235
7236 wxPy_END_ALLOW_THREADS;
4dfaa61e 7237 if (PyErr_Occurred()) return NULL;
53920141
RD
7238} _resultobj = Py_BuildValue("i",_result);
7239 return _resultobj;
7240}
7241
4120ef2b
RD
7242#define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7243static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7244 PyObject * _resultobj;
7245 wxTextCtrl * _arg0;
7246 PyObject * _argo0 = 0;
7247 char *_kwnames[] = { "self", NULL };
7248
7249 self = self;
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
7251 return NULL;
7252 if (_argo0) {
7253 if (_argo0 == Py_None) { _arg0 = NULL; }
7254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7256 return NULL;
7257 }
7258 }
7259{
7260 wxPy_BEGIN_ALLOW_THREADS;
7261 wxTextCtrl_Undo(_arg0);
7262
7263 wxPy_END_ALLOW_THREADS;
4dfaa61e 7264 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
7265} Py_INCREF(Py_None);
7266 _resultobj = Py_None;
7267 return _resultobj;
7268}
7269
7270#define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7271static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7272 PyObject * _resultobj;
7273 wxTextCtrl * _arg0;
7274 PyObject * _argo0 = 0;
7275 char *_kwnames[] = { "self", NULL };
7276
7277 self = self;
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
7279 return NULL;
7280 if (_argo0) {
7281 if (_argo0 == Py_None) { _arg0 = NULL; }
7282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7284 return NULL;
7285 }
7286 }
7287{
7288 wxPy_BEGIN_ALLOW_THREADS;
7289 wxTextCtrl_Redo(_arg0);
7290
7291 wxPy_END_ALLOW_THREADS;
4dfaa61e 7292 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
7293} Py_INCREF(Py_None);
7294 _resultobj = Py_None;
7295 return _resultobj;
7296}
7297
9d6da64a
RD
7298#define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7299static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7300 PyObject * _resultobj;
7301 bool _result;
7302 wxTextCtrl * _arg0;
7303 long _arg1;
7304 long _arg2;
7305 wxTextAttr * _arg3;
7306 PyObject * _argo0 = 0;
7307 PyObject * _argo3 = 0;
7308 char *_kwnames[] = { "self","start","end","style", NULL };
7309
7310 self = self;
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
7312 return NULL;
7313 if (_argo0) {
7314 if (_argo0 == Py_None) { _arg0 = NULL; }
7315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7317 return NULL;
7318 }
7319 }
7320 if (_argo3) {
7321 if (_argo3 == Py_None) { _arg3 = NULL; }
7322 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
7323 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7324 return NULL;
7325 }
7326 }
7327{
7328 wxPy_BEGIN_ALLOW_THREADS;
7329 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
7330
7331 wxPy_END_ALLOW_THREADS;
7332 if (PyErr_Occurred()) return NULL;
7333} _resultobj = Py_BuildValue("i",_result);
7334 return _resultobj;
7335}
7336
7337#define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7338static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7339 PyObject * _resultobj;
7340 bool _result;
7341 wxTextCtrl * _arg0;
7342 wxTextAttr * _arg1;
7343 PyObject * _argo0 = 0;
7344 PyObject * _argo1 = 0;
7345 char *_kwnames[] = { "self","style", NULL };
7346
7347 self = self;
7348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
7349 return NULL;
7350 if (_argo0) {
7351 if (_argo0 == Py_None) { _arg0 = NULL; }
7352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7354 return NULL;
7355 }
7356 }
7357 if (_argo1) {
7358 if (_argo1 == Py_None) { _arg1 = NULL; }
7359 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
7360 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7361 return NULL;
7362 }
7363 }
7364{
7365 wxPy_BEGIN_ALLOW_THREADS;
7366 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
7367
7368 wxPy_END_ALLOW_THREADS;
7369 if (PyErr_Occurred()) return NULL;
7370} _resultobj = Py_BuildValue("i",_result);
7371 return _resultobj;
7372}
7373
7374#define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7375static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject * _resultobj;
7377 wxTextAttr * _result;
7378 wxTextCtrl * _arg0;
7379 PyObject * _argo0 = 0;
7380 char *_kwnames[] = { "self", NULL };
7381 char _ptemp[128];
7382
7383 self = self;
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
7385 return NULL;
7386 if (_argo0) {
7387 if (_argo0 == Py_None) { _arg0 = NULL; }
7388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7390 return NULL;
7391 }
7392 }
7393{
7394 wxPy_BEGIN_ALLOW_THREADS;
7395 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
7396 _result = (wxTextAttr *) &_result_ref;
7397
7398 wxPy_END_ALLOW_THREADS;
7399 if (PyErr_Occurred()) return NULL;
7400} if (_result) {
7401 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
7402 _resultobj = Py_BuildValue("s",_ptemp);
7403 } else {
7404 Py_INCREF(Py_None);
7405 _resultobj = Py_None;
7406 }
7407 return _resultobj;
7408}
7409
aa2a5b86
RD
7410#define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7411static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject * _resultobj;
7413 wxTextCtrl * _arg0;
7414 unsigned long _arg1;
7415 PyObject * _argo0 = 0;
7416 char *_kwnames[] = { "self","len", NULL };
7417
7418 self = self;
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
7420 return NULL;
7421 if (_argo0) {
7422 if (_argo0 == Py_None) { _arg0 = NULL; }
7423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7425 return NULL;
7426 }
7427 }
7428{
7429 wxPy_BEGIN_ALLOW_THREADS;
7430 wxTextCtrl_SetMaxLength(_arg0,_arg1);
7431
7432 wxPy_END_ALLOW_THREADS;
7433 if (PyErr_Occurred()) return NULL;
7434} Py_INCREF(Py_None);
7435 _resultobj = Py_None;
7436 return _resultobj;
7437}
7438
4120ef2b 7439static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
9d6da64a 7440 self->AppendText(text);
4120ef2b
RD
7441 }
7442static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject * _resultobj;
7444 wxTextCtrl * _arg0;
7445 wxString * _arg1;
7446 PyObject * _argo0 = 0;
7447 PyObject * _obj1 = 0;
7448 char *_kwnames[] = { "self","text", NULL };
7449
7450 self = self;
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
7452 return NULL;
7453 if (_argo0) {
7454 if (_argo0 == Py_None) { _arg0 = NULL; }
7455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7457 return NULL;
7458 }
7459 }
7460{
2cd2fac8
RD
7461#if PYTHON_API_VERSION >= 1009
7462 char* tmpPtr; int tmpSize;
7463 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 7464 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
7465 return NULL;
7466 }
7467 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7468 return NULL;
7469 _arg1 = new wxString(tmpPtr, tmpSize);
7470#else
4120ef2b
RD
7471 if (!PyString_Check(_obj1)) {
7472 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7473 return NULL;
7474 }
2cd2fac8
RD
7475 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
7476#endif
4120ef2b
RD
7477}
7478{
7479 wxPy_BEGIN_ALLOW_THREADS;
7480 wxTextCtrl_write(_arg0,*_arg1);
7481
7482 wxPy_END_ALLOW_THREADS;
4dfaa61e 7483 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
7484} Py_INCREF(Py_None);
7485 _resultobj = Py_None;
7486{
7487 if (_obj1)
7488 delete _arg1;
7489}
7490 return _resultobj;
7491}
7492
70551f47
RD
7493static void *SwigwxScrollBarTowxControl(void *ptr) {
7494 wxScrollBar *src;
7495 wxControl *dest;
7496 src = (wxScrollBar *) ptr;
7497 dest = (wxControl *) src;
7498 return (void *) dest;
7499}
7500
7501static void *SwigwxScrollBarTowxWindow(void *ptr) {
7502 wxScrollBar *src;
7503 wxWindow *dest;
7504 src = (wxScrollBar *) ptr;
7505 dest = (wxWindow *) src;
7506 return (void *) dest;
7507}
7508
7509static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
7510 wxScrollBar *src;
7511 wxEvtHandler *dest;
7512 src = (wxScrollBar *) ptr;
7513 dest = (wxEvtHandler *) src;
7514 return (void *) dest;
7515}
7516
9df61a29
RD
7517static void *SwigwxScrollBarTowxObject(void *ptr) {
7518 wxScrollBar *src;
7519 wxObject *dest;
7520 src = (wxScrollBar *) ptr;
7521 dest = (wxObject *) src;
7522 return (void *) dest;
7523}
7524
70551f47 7525#define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 7526static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7527 PyObject * _resultobj;
7528 wxScrollBar * _result;
7529 wxWindow * _arg0;
2d091820 7530 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
7531 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7532 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820 7533 long _arg4 = (long ) wxSB_HORIZONTAL;
b68dc582 7534 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
7535 char * _arg6 = (char *) "scrollBar";
7536 PyObject * _argo0 = 0;
37f6a977
RD
7537 wxPoint temp;
7538 PyObject * _obj2 = 0;
7539 wxSize temp0;
7540 PyObject * _obj3 = 0;
2d091820 7541 PyObject * _argo5 = 0;
107e4716 7542 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
70551f47
RD
7543 char _ptemp[128];
7544
7545 self = self;
37f6a977 7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
70551f47 7547 return NULL;
2d091820
RD
7548 if (_argo0) {
7549 if (_argo0 == Py_None) { _arg0 = NULL; }
7550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
7551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7552 return NULL;
7553 }
7554 }
37f6a977
RD
7555 if (_obj2)
7556{
7557 _arg2 = &temp;
7558 if (! wxPoint_helper(_obj2, &_arg2))
70551f47 7559 return NULL;
37f6a977
RD
7560}
7561 if (_obj3)
7562{
7563 _arg3 = &temp0;
7564 if (! wxSize_helper(_obj3, &_arg3))
70551f47 7565 return NULL;
37f6a977 7566}
2d091820
RD
7567 if (_argo5) {
7568 if (_argo5 == Py_None) { _arg5 = NULL; }
7569 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
70551f47
RD
7570 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7571 return NULL;
7572 }
7573 }
ab9bc19b
RD
7574{
7575 wxPy_BEGIN_ALLOW_THREADS;
7576 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
7577
7578 wxPy_END_ALLOW_THREADS;
4dfaa61e 7579 if (PyErr_Occurred()) return NULL;
2d091820
RD
7580} if (_result) {
7581 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
7582 _resultobj = Py_BuildValue("s",_ptemp);
7583 } else {
7584 Py_INCREF(Py_None);
7585 _resultobj = Py_None;
7586 }
70551f47
RD
7587 return _resultobj;
7588}
7589
aa2a5b86
RD
7590#define new_wxPreScrollBar() (new wxScrollBar())
7591static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7592 PyObject * _resultobj;
7593 wxScrollBar * _result;
7594 char *_kwnames[] = { NULL };
7595 char _ptemp[128];
7596
7597 self = self;
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
7599 return NULL;
7600{
7601 wxPy_BEGIN_ALLOW_THREADS;
7602 _result = (wxScrollBar *)new_wxPreScrollBar();
7603
7604 wxPy_END_ALLOW_THREADS;
7605 if (PyErr_Occurred()) return NULL;
7606} if (_result) {
7607 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
7608 _resultobj = Py_BuildValue("s",_ptemp);
7609 } else {
7610 Py_INCREF(Py_None);
7611 _resultobj = Py_None;
7612 }
7613 return _resultobj;
7614}
7615
7616#define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7617static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject * _resultobj;
7619 bool _result;
7620 wxScrollBar * _arg0;
7621 wxWindow * _arg1;
7622 wxWindowID _arg2 = (wxWindowID ) -1;
7623 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7624 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7625 long _arg5 = (long ) wxSB_HORIZONTAL;
7626 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
7627 char * _arg7 = (char *) "scrollBar";
7628 PyObject * _argo0 = 0;
7629 PyObject * _argo1 = 0;
7630 wxPoint temp;
7631 PyObject * _obj3 = 0;
7632 wxSize temp0;
7633 PyObject * _obj4 = 0;
7634 PyObject * _argo6 = 0;
7635 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
7636
7637 self = self;
7638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOs:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
7639 return NULL;
7640 if (_argo0) {
7641 if (_argo0 == Py_None) { _arg0 = NULL; }
7642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
7643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7644 return NULL;
7645 }
7646 }
7647 if (_argo1) {
7648 if (_argo1 == Py_None) { _arg1 = NULL; }
7649 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7650 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7651 return NULL;
7652 }
7653 }
7654 if (_obj3)
7655{
7656 _arg3 = &temp;
7657 if (! wxPoint_helper(_obj3, &_arg3))
7658 return NULL;
7659}
7660 if (_obj4)
7661{
7662 _arg4 = &temp0;
7663 if (! wxSize_helper(_obj4, &_arg4))
7664 return NULL;
7665}
7666 if (_argo6) {
7667 if (_argo6 == Py_None) { _arg6 = NULL; }
7668 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
7669 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7670 return NULL;
7671 }
7672 }
7673{
7674 wxPy_BEGIN_ALLOW_THREADS;
7675 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
7676
7677 wxPy_END_ALLOW_THREADS;
7678 if (PyErr_Occurred()) return NULL;
7679} _resultobj = Py_BuildValue("i",_result);
7680 return _resultobj;
7681}
7682
70551f47 7683#define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
107e4716 7684static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7685 PyObject * _resultobj;
7686 int _result;
7687 wxScrollBar * _arg0;
2d091820 7688 PyObject * _argo0 = 0;
107e4716 7689 char *_kwnames[] = { "self", NULL };
70551f47
RD
7690
7691 self = self;
107e4716 7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
70551f47 7693 return NULL;
2d091820
RD
7694 if (_argo0) {
7695 if (_argo0 == Py_None) { _arg0 = NULL; }
7696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
7697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7698 return NULL;
7699 }
7700 }
ab9bc19b
RD
7701{
7702 wxPy_BEGIN_ALLOW_THREADS;
7703 _result = (int )wxScrollBar_GetRange(_arg0);
7704
7705 wxPy_END_ALLOW_THREADS;
4dfaa61e 7706 if (PyErr_Occurred()) return NULL;
ab9bc19b 7707} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7708 return _resultobj;
7709}
7710
7711#define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
107e4716 7712static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7713 PyObject * _resultobj;
7714 int _result;
7715 wxScrollBar * _arg0;
2d091820 7716 PyObject * _argo0 = 0;
107e4716 7717 char *_kwnames[] = { "self", NULL };
70551f47
RD
7718
7719 self = self;
107e4716 7720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
70551f47 7721 return NULL;
2d091820
RD
7722 if (_argo0) {
7723 if (_argo0 == Py_None) { _arg0 = NULL; }
7724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
7725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7726 return NULL;
7727 }
7728 }
ab9bc19b
RD
7729{
7730 wxPy_BEGIN_ALLOW_THREADS;
7731 _result = (int )wxScrollBar_GetPageSize(_arg0);
7732
7733 wxPy_END_ALLOW_THREADS;
4dfaa61e 7734 if (PyErr_Occurred()) return NULL;
ab9bc19b 7735} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7736 return _resultobj;
7737}
7738
105e45b9 7739#define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
107e4716 7740static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7741 PyObject * _resultobj;
7742 int _result;
7743 wxScrollBar * _arg0;
2d091820 7744 PyObject * _argo0 = 0;
107e4716 7745 char *_kwnames[] = { "self", NULL };
70551f47
RD
7746
7747 self = self;
107e4716 7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
70551f47 7749 return NULL;
2d091820
RD
7750 if (_argo0) {
7751 if (_argo0 == Py_None) { _arg0 = NULL; }
7752 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
105e45b9 7753 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
70551f47
RD
7754 return NULL;
7755 }
7756 }
ab9bc19b
RD
7757{
7758 wxPy_BEGIN_ALLOW_THREADS;
7759 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
7760
7761 wxPy_END_ALLOW_THREADS;
4dfaa61e 7762 if (PyErr_Occurred()) return NULL;
ab9bc19b 7763} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7764 return _resultobj;
7765}
7766
7767#define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
107e4716 7768static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7769 PyObject * _resultobj;
7770 int _result;
7771 wxScrollBar * _arg0;
2d091820 7772 PyObject * _argo0 = 0;
107e4716 7773 char *_kwnames[] = { "self", NULL };
70551f47
RD
7774
7775 self = self;
107e4716 7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
70551f47 7777 return NULL;
2d091820
RD
7778 if (_argo0) {
7779 if (_argo0 == Py_None) { _arg0 = NULL; }
7780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
7781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
7782 return NULL;
7783 }
7784 }
ab9bc19b
RD
7785{
7786 wxPy_BEGIN_ALLOW_THREADS;
7787 _result = (int )wxScrollBar_GetThumbSize(_arg0);
7788
7789 wxPy_END_ALLOW_THREADS;
4dfaa61e 7790 if (PyErr_Occurred()) return NULL;
ab9bc19b 7791} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7792 return _resultobj;
7793}
7794
105e45b9 7795#define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
107e4716 7796static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7797 PyObject * _resultobj;
7798 wxScrollBar * _arg0;
7799 int _arg1;
2d091820 7800 PyObject * _argo0 = 0;
107e4716 7801 char *_kwnames[] = { "self","viewStart", NULL };
70551f47
RD
7802
7803 self = self;
107e4716 7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
70551f47 7805 return NULL;
2d091820
RD
7806 if (_argo0) {
7807 if (_argo0 == Py_None) { _arg0 = NULL; }
7808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
105e45b9 7809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
70551f47
RD
7810 return NULL;
7811 }
7812 }
ab9bc19b
RD
7813{
7814 wxPy_BEGIN_ALLOW_THREADS;
7815 wxScrollBar_SetThumbPosition(_arg0,_arg1);
7816
7817 wxPy_END_ALLOW_THREADS;
4dfaa61e 7818 if (PyErr_Occurred()) return NULL;
ab9bc19b 7819} Py_INCREF(Py_None);
70551f47
RD
7820 _resultobj = Py_None;
7821 return _resultobj;
7822}
7823
7824#define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 7825static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7826 PyObject * _resultobj;
7827 wxScrollBar * _arg0;
7828 int _arg1;
7829 int _arg2;
7830 int _arg3;
7831 int _arg4;
2d091820
RD
7832 bool _arg5 = (bool ) TRUE;
7833 PyObject * _argo0 = 0;
7834 int tempbool5 = (int) TRUE;
107e4716 7835 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
70551f47
RD
7836
7837 self = self;
107e4716 7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
70551f47 7839 return NULL;
2d091820
RD
7840 if (_argo0) {
7841 if (_argo0 == Py_None) { _arg0 = NULL; }
7842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
7843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
7844 return NULL;
7845 }
7846 }
7847 _arg5 = (bool ) tempbool5;
ab9bc19b
RD
7848{
7849 wxPy_BEGIN_ALLOW_THREADS;
7850 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7851
7852 wxPy_END_ALLOW_THREADS;
4dfaa61e 7853 if (PyErr_Occurred()) return NULL;
ab9bc19b 7854} Py_INCREF(Py_None);
70551f47
RD
7855 _resultobj = Py_None;
7856 return _resultobj;
7857}
7858
62bd0874
RD
7859static void *SwigwxSpinButtonTowxControl(void *ptr) {
7860 wxSpinButton *src;
7861 wxControl *dest;
7862 src = (wxSpinButton *) ptr;
7863 dest = (wxControl *) src;
7864 return (void *) dest;
7865}
7866
7867static void *SwigwxSpinButtonTowxWindow(void *ptr) {
7868 wxSpinButton *src;
7869 wxWindow *dest;
7870 src = (wxSpinButton *) ptr;
7871 dest = (wxWindow *) src;
7872 return (void *) dest;
7873}
7874
7875static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
7876 wxSpinButton *src;
7877 wxEvtHandler *dest;
7878 src = (wxSpinButton *) ptr;
7879 dest = (wxEvtHandler *) src;
7880 return (void *) dest;
7881}
7882
9df61a29
RD
7883static void *SwigwxSpinButtonTowxObject(void *ptr) {
7884 wxSpinButton *src;
7885 wxObject *dest;
7886 src = (wxSpinButton *) ptr;
7887 dest = (wxObject *) src;
7888 return (void *) dest;
7889}
7890
62bd0874 7891#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 7892static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
7893 PyObject * _resultobj;
7894 wxSpinButton * _result;
7895 wxWindow * _arg0;
2d091820 7896 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
7897 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7898 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
7899 long _arg4 = (long ) wxSP_HORIZONTAL;
7900 char * _arg5 = (char *) "spinButton";
7901 PyObject * _argo0 = 0;
37f6a977
RD
7902 wxPoint temp;
7903 PyObject * _obj2 = 0;
7904 wxSize temp0;
7905 PyObject * _obj3 = 0;
107e4716 7906 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
62bd0874
RD
7907 char _ptemp[128];
7908
7909 self = self;
37f6a977 7910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
62bd0874 7911 return NULL;
2d091820
RD
7912 if (_argo0) {
7913 if (_argo0 == Py_None) { _arg0 = NULL; }
7914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
62bd0874
RD
7915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
7916 return NULL;
7917 }
7918 }
37f6a977
RD
7919 if (_obj2)
7920{
7921 _arg2 = &temp;
7922 if (! wxPoint_helper(_obj2, &_arg2))
62bd0874 7923 return NULL;
37f6a977
RD
7924}
7925 if (_obj3)
7926{
7927 _arg3 = &temp0;
7928 if (! wxSize_helper(_obj3, &_arg3))
62bd0874 7929 return NULL;
37f6a977 7930}
ab9bc19b
RD
7931{
7932 wxPy_BEGIN_ALLOW_THREADS;
7933 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
7934
7935 wxPy_END_ALLOW_THREADS;
4dfaa61e 7936 if (PyErr_Occurred()) return NULL;
2d091820
RD
7937} if (_result) {
7938 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
7939 _resultobj = Py_BuildValue("s",_ptemp);
7940 } else {
7941 Py_INCREF(Py_None);
7942 _resultobj = Py_None;
7943 }
62bd0874
RD
7944 return _resultobj;
7945}
7946
aa2a5b86
RD
7947#define new_wxPreSpinButton() (new wxSpinButton())
7948static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
7949 PyObject * _resultobj;
7950 wxSpinButton * _result;
7951 char *_kwnames[] = { NULL };
7952 char _ptemp[128];
7953
7954 self = self;
7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
7956 return NULL;
7957{
7958 wxPy_BEGIN_ALLOW_THREADS;
7959 _result = (wxSpinButton *)new_wxPreSpinButton();
7960
7961 wxPy_END_ALLOW_THREADS;
7962 if (PyErr_Occurred()) return NULL;
7963} if (_result) {
7964 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
7965 _resultobj = Py_BuildValue("s",_ptemp);
7966 } else {
7967 Py_INCREF(Py_None);
7968 _resultobj = Py_None;
7969 }
7970 return _resultobj;
7971}
7972
7973#define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7974static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7975 PyObject * _resultobj;
7976 bool _result;
7977 wxSpinButton * _arg0;
7978 wxWindow * _arg1;
7979 wxWindowID _arg2 = (wxWindowID ) -1;
7980 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7981 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7982 long _arg5 = (long ) wxSP_HORIZONTAL;
7983 char * _arg6 = (char *) "spinButton";
7984 PyObject * _argo0 = 0;
7985 PyObject * _argo1 = 0;
7986 wxPoint temp;
7987 PyObject * _obj3 = 0;
7988 wxSize temp0;
7989 PyObject * _obj4 = 0;
7990 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
7991
7992 self = self;
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOls:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6))
7994 return NULL;
7995 if (_argo0) {
7996 if (_argo0 == Py_None) { _arg0 = NULL; }
7997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
7998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
7999 return NULL;
8000 }
8001 }
8002 if (_argo1) {
8003 if (_argo1 == Py_None) { _arg1 = NULL; }
8004 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8005 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8006 return NULL;
8007 }
8008 }
8009 if (_obj3)
8010{
8011 _arg3 = &temp;
8012 if (! wxPoint_helper(_obj3, &_arg3))
8013 return NULL;
8014}
8015 if (_obj4)
8016{
8017 _arg4 = &temp0;
8018 if (! wxSize_helper(_obj4, &_arg4))
8019 return NULL;
8020}
8021{
8022 wxPy_BEGIN_ALLOW_THREADS;
8023 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6);
8024
8025 wxPy_END_ALLOW_THREADS;
8026 if (PyErr_Occurred()) return NULL;
8027} _resultobj = Py_BuildValue("i",_result);
8028 return _resultobj;
8029}
8030
62bd0874 8031#define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
107e4716 8032static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8033 PyObject * _resultobj;
8034 int _result;
8035 wxSpinButton * _arg0;
2d091820 8036 PyObject * _argo0 = 0;
107e4716 8037 char *_kwnames[] = { "self", NULL };
62bd0874
RD
8038
8039 self = self;
107e4716 8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
62bd0874 8041 return NULL;
2d091820
RD
8042 if (_argo0) {
8043 if (_argo0 == Py_None) { _arg0 = NULL; }
8044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
8045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8046 return NULL;
8047 }
8048 }
ab9bc19b
RD
8049{
8050 wxPy_BEGIN_ALLOW_THREADS;
8051 _result = (int )wxSpinButton_GetMax(_arg0);
8052
8053 wxPy_END_ALLOW_THREADS;
4dfaa61e 8054 if (PyErr_Occurred()) return NULL;
ab9bc19b 8055} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
8056 return _resultobj;
8057}
8058
8059#define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
107e4716 8060static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8061 PyObject * _resultobj;
8062 int _result;
8063 wxSpinButton * _arg0;
2d091820 8064 PyObject * _argo0 = 0;
107e4716 8065 char *_kwnames[] = { "self", NULL };
62bd0874
RD
8066
8067 self = self;
107e4716 8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
62bd0874 8069 return NULL;
2d091820
RD
8070 if (_argo0) {
8071 if (_argo0 == Py_None) { _arg0 = NULL; }
8072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
8073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8074 return NULL;
8075 }
8076 }
ab9bc19b
RD
8077{
8078 wxPy_BEGIN_ALLOW_THREADS;
8079 _result = (int )wxSpinButton_GetMin(_arg0);
8080
8081 wxPy_END_ALLOW_THREADS;
4dfaa61e 8082 if (PyErr_Occurred()) return NULL;
ab9bc19b 8083} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
8084 return _resultobj;
8085}
8086
8087#define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 8088static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8089 PyObject * _resultobj;
8090 int _result;
8091 wxSpinButton * _arg0;
2d091820 8092 PyObject * _argo0 = 0;
107e4716 8093 char *_kwnames[] = { "self", NULL };
62bd0874
RD
8094
8095 self = self;
107e4716 8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
62bd0874 8097 return NULL;
2d091820
RD
8098 if (_argo0) {
8099 if (_argo0 == Py_None) { _arg0 = NULL; }
8100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
8101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8102 return NULL;
8103 }
8104 }
ab9bc19b
RD
8105{
8106 wxPy_BEGIN_ALLOW_THREADS;
8107 _result = (int )wxSpinButton_GetValue(_arg0);
8108
8109 wxPy_END_ALLOW_THREADS;
4dfaa61e 8110 if (PyErr_Occurred()) return NULL;
ab9bc19b 8111} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
8112 return _resultobj;
8113}
8114
8115#define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
107e4716 8116static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8117 PyObject * _resultobj;
8118 wxSpinButton * _arg0;
8119 int _arg1;
8120 int _arg2;
2d091820 8121 PyObject * _argo0 = 0;
107e4716 8122 char *_kwnames[] = { "self","min","max", NULL };
62bd0874
RD
8123
8124 self = self;
107e4716 8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
62bd0874 8126 return NULL;
2d091820
RD
8127 if (_argo0) {
8128 if (_argo0 == Py_None) { _arg0 = NULL; }
8129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
8130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8131 return NULL;
8132 }
8133 }
ab9bc19b
RD
8134{
8135 wxPy_BEGIN_ALLOW_THREADS;
8136 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
8137
8138 wxPy_END_ALLOW_THREADS;
4dfaa61e 8139 if (PyErr_Occurred()) return NULL;
ab9bc19b 8140} Py_INCREF(Py_None);
62bd0874
RD
8141 _resultobj = Py_None;
8142 return _resultobj;
8143}
8144
8145#define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 8146static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
8147 PyObject * _resultobj;
8148 wxSpinButton * _arg0;
8149 int _arg1;
2d091820 8150 PyObject * _argo0 = 0;
107e4716 8151 char *_kwnames[] = { "self","value", NULL };
62bd0874
RD
8152
8153 self = self;
107e4716 8154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
62bd0874 8155 return NULL;
2d091820
RD
8156 if (_argo0) {
8157 if (_argo0 == Py_None) { _arg0 = NULL; }
8158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
8159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8160 return NULL;
8161 }
8162 }
ab9bc19b
RD
8163{
8164 wxPy_BEGIN_ALLOW_THREADS;
8165 wxSpinButton_SetValue(_arg0,_arg1);
8166
8167 wxPy_END_ALLOW_THREADS;
4dfaa61e 8168 if (PyErr_Occurred()) return NULL;
ab9bc19b 8169} Py_INCREF(Py_None);
62bd0874
RD
8170 _resultobj = Py_None;
8171 return _resultobj;
8172}
8173
70551f47
RD
8174static void *SwigwxStaticBitmapTowxControl(void *ptr) {
8175 wxStaticBitmap *src;
8176 wxControl *dest;
8177 src = (wxStaticBitmap *) ptr;
8178 dest = (wxControl *) src;
8179 return (void *) dest;
8180}
8181
8182static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
8183 wxStaticBitmap *src;
8184 wxWindow *dest;
8185 src = (wxStaticBitmap *) ptr;
8186 dest = (wxWindow *) src;
8187 return (void *) dest;
8188}
8189
8190static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
8191 wxStaticBitmap *src;
8192 wxEvtHandler *dest;
8193 src = (wxStaticBitmap *) ptr;
8194 dest = (wxEvtHandler *) src;
8195 return (void *) dest;
8196}
8197
9df61a29
RD
8198static void *SwigwxStaticBitmapTowxObject(void *ptr) {
8199 wxStaticBitmap *src;
8200 wxObject *dest;
8201 src = (wxStaticBitmap *) ptr;
8202 dest = (wxObject *) src;
8203 return (void *) dest;
8204}
8205
70551f47 8206#define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 8207static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8208 PyObject * _resultobj;
8209 wxStaticBitmap * _result;
8210 wxWindow * _arg0;
8211 wxWindowID _arg1;
8212 wxBitmap * _arg2;
b68dc582
RD
8213 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8214 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
8215 long _arg5 = (long ) 0;
8216 char * _arg6 = (char *) "staticBitmap";
8217 PyObject * _argo0 = 0;
aa2a5b86
RD
8218 PyObject * _argo2 = 0;
8219 wxPoint temp;
8220 PyObject * _obj3 = 0;
8221 wxSize temp0;
8222 PyObject * _obj4 = 0;
8223 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
8224 char _ptemp[128];
8225
8226 self = self;
8227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_arg6))
8228 return NULL;
8229 if (_argo0) {
8230 if (_argo0 == Py_None) { _arg0 = NULL; }
8231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8233 return NULL;
8234 }
8235 }
8236 if (_argo2) {
8237 if (_argo2 == Py_None) { _arg2 = NULL; }
8238 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
8239 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8240 return NULL;
8241 }
8242 }
8243 if (_obj3)
8244{
8245 _arg3 = &temp;
8246 if (! wxPoint_helper(_obj3, &_arg3))
8247 return NULL;
8248}
8249 if (_obj4)
8250{
8251 _arg4 = &temp0;
8252 if (! wxSize_helper(_obj4, &_arg4))
8253 return NULL;
8254}
8255{
8256 wxPy_BEGIN_ALLOW_THREADS;
8257 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
8258
8259 wxPy_END_ALLOW_THREADS;
8260 if (PyErr_Occurred()) return NULL;
8261} if (_result) {
8262 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8263 _resultobj = Py_BuildValue("s",_ptemp);
8264 } else {
8265 Py_INCREF(Py_None);
8266 _resultobj = Py_None;
8267 }
8268 return _resultobj;
8269}
8270
8271#define new_wxPreStaticBitmap() (new wxStaticBitmap())
8272static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8273 PyObject * _resultobj;
8274 wxStaticBitmap * _result;
8275 char *_kwnames[] = { NULL };
8276 char _ptemp[128];
8277
8278 self = self;
8279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
8280 return NULL;
8281{
8282 wxPy_BEGIN_ALLOW_THREADS;
8283 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
8284
8285 wxPy_END_ALLOW_THREADS;
8286 if (PyErr_Occurred()) return NULL;
8287} if (_result) {
8288 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8289 _resultobj = Py_BuildValue("s",_ptemp);
8290 } else {
8291 Py_INCREF(Py_None);
8292 _resultobj = Py_None;
8293 }
8294 return _resultobj;
8295}
8296
8297#define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8298static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8299 PyObject * _resultobj;
8300 bool _result;
8301 wxStaticBitmap * _arg0;
8302 wxWindow * _arg1;
8303 wxWindowID _arg2;
8304 wxBitmap * _arg3;
8305 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
8306 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
8307 long _arg6 = (long ) 0;
8308 char * _arg7 = (char *) "staticBitmap";
8309 PyObject * _argo0 = 0;
8310 PyObject * _argo1 = 0;
8311 PyObject * _argo3 = 0;
37f6a977 8312 wxPoint temp;
37f6a977 8313 PyObject * _obj4 = 0;
aa2a5b86
RD
8314 wxSize temp0;
8315 PyObject * _obj5 = 0;
8316 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
70551f47
RD
8317
8318 self = self;
aa2a5b86 8319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOls:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_arg7))
70551f47 8320 return NULL;
2d091820
RD
8321 if (_argo0) {
8322 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
8323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
70551f47
RD
8325 return NULL;
8326 }
8327 }
aa2a5b86
RD
8328 if (_argo1) {
8329 if (_argo1 == Py_None) { _arg1 = NULL; }
8330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
70551f47
RD
8332 return NULL;
8333 }
8334 }
aa2a5b86
RD
8335 if (_argo3) {
8336 if (_argo3 == Py_None) { _arg3 = NULL; }
8337 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
8338 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8339 return NULL;
8340 }
8341 }
8342 if (_obj4)
37f6a977 8343{
aa2a5b86
RD
8344 _arg4 = &temp;
8345 if (! wxPoint_helper(_obj4, &_arg4))
70551f47 8346 return NULL;
37f6a977 8347}
aa2a5b86 8348 if (_obj5)
37f6a977 8349{
aa2a5b86
RD
8350 _arg5 = &temp0;
8351 if (! wxSize_helper(_obj5, &_arg5))
70551f47 8352 return NULL;
37f6a977 8353}
ab9bc19b
RD
8354{
8355 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 8356 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7);
ab9bc19b
RD
8357
8358 wxPy_END_ALLOW_THREADS;
4dfaa61e 8359 if (PyErr_Occurred()) return NULL;
aa2a5b86 8360} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
8361 return _resultobj;
8362}
8363
8364#define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
107e4716 8365static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8366 PyObject * _resultobj;
8367 wxBitmap * _result;
8368 wxStaticBitmap * _arg0;
2d091820 8369 PyObject * _argo0 = 0;
107e4716 8370 char *_kwnames[] = { "self", NULL };
70551f47
RD
8371 char _ptemp[128];
8372
8373 self = self;
107e4716 8374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
70551f47 8375 return NULL;
2d091820
RD
8376 if (_argo0) {
8377 if (_argo0 == Py_None) { _arg0 = NULL; }
8378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
70551f47
RD
8379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8380 return NULL;
8381 }
8382 }
ab9bc19b
RD
8383{
8384 wxPy_BEGIN_ALLOW_THREADS;
8385 const wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0);
70551f47 8386 _result = (wxBitmap *) &_result_ref;
ab9bc19b
RD
8387
8388 wxPy_END_ALLOW_THREADS;
4dfaa61e 8389 if (PyErr_Occurred()) return NULL;
2d091820
RD
8390} if (_result) {
8391 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
8392 _resultobj = Py_BuildValue("s",_ptemp);
8393 } else {
8394 Py_INCREF(Py_None);
8395 _resultobj = Py_None;
8396 }
70551f47
RD
8397 return _resultobj;
8398}
8399
8400#define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
107e4716 8401static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8402 PyObject * _resultobj;
8403 wxStaticBitmap * _arg0;
8404 wxBitmap * _arg1;
2d091820
RD
8405 PyObject * _argo0 = 0;
8406 PyObject * _argo1 = 0;
107e4716 8407 char *_kwnames[] = { "self","bitmap", NULL };
70551f47
RD
8408
8409 self = self;
107e4716 8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
70551f47 8411 return NULL;
2d091820
RD
8412 if (_argo0) {
8413 if (_argo0 == Py_None) { _arg0 = NULL; }
8414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
70551f47
RD
8415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8416 return NULL;
8417 }
8418 }
2d091820
RD
8419 if (_argo1) {
8420 if (_argo1 == Py_None) { _arg1 = NULL; }
8421 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
70551f47
RD
8422 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8423 return NULL;
8424 }
8425 }
ab9bc19b
RD
8426{
8427 wxPy_BEGIN_ALLOW_THREADS;
8428 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
8429
8430 wxPy_END_ALLOW_THREADS;
4dfaa61e 8431 if (PyErr_Occurred()) return NULL;
ab9bc19b 8432} Py_INCREF(Py_None);
70551f47
RD
8433 _resultobj = Py_None;
8434 return _resultobj;
8435}
8436
8bf5d46e 8437#define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
107e4716 8438static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
8439 PyObject * _resultobj;
8440 wxStaticBitmap * _arg0;
8441 wxIcon * _arg1;
2d091820
RD
8442 PyObject * _argo0 = 0;
8443 PyObject * _argo1 = 0;
107e4716 8444 char *_kwnames[] = { "self","icon", NULL };
8bf5d46e
RD
8445
8446 self = self;
107e4716 8447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
8bf5d46e 8448 return NULL;
2d091820
RD
8449 if (_argo0) {
8450 if (_argo0 == Py_None) { _arg0 = NULL; }
8451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8bf5d46e
RD
8452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8453 return NULL;
8454 }
8455 }
2d091820
RD
8456 if (_argo1) {
8457 if (_argo1 == Py_None) { _arg1 = NULL; }
8458 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8bf5d46e
RD
8459 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8460 return NULL;
8461 }
8462 }
8463{
8464 wxPy_BEGIN_ALLOW_THREADS;
8465 wxStaticBitmap_SetIcon(_arg0,*_arg1);
8466
8467 wxPy_END_ALLOW_THREADS;
4dfaa61e 8468 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
8469} Py_INCREF(Py_None);
8470 _resultobj = Py_None;
8471 return _resultobj;
8472}
8473
70551f47
RD
8474static void *SwigwxRadioBoxTowxControl(void *ptr) {
8475 wxRadioBox *src;
8476 wxControl *dest;
8477 src = (wxRadioBox *) ptr;
8478 dest = (wxControl *) src;
8479 return (void *) dest;
8480}
8481
8482static void *SwigwxRadioBoxTowxWindow(void *ptr) {
8483 wxRadioBox *src;
8484 wxWindow *dest;
8485 src = (wxRadioBox *) ptr;
8486 dest = (wxWindow *) src;
8487 return (void *) dest;
8488}
8489
8490static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
8491 wxRadioBox *src;
8492 wxEvtHandler *dest;
8493 src = (wxRadioBox *) ptr;
8494 dest = (wxEvtHandler *) src;
8495 return (void *) dest;
8496}
8497
9df61a29
RD
8498static void *SwigwxRadioBoxTowxObject(void *ptr) {
8499 wxRadioBox *src;
8500 wxObject *dest;
8501 src = (wxRadioBox *) ptr;
8502 dest = (wxObject *) src;
8503 return (void *) dest;
8504}
8505
70551f47 8506#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))
107e4716 8507static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8508 PyObject * _resultobj;
8509 wxRadioBox * _result;
8510 wxWindow * _arg0;
8511 wxWindowID _arg1;
8512 wxString * _arg2;
b68dc582
RD
8513 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8514 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
8515 int _arg5 = (int ) 0;
8516 wxString * _arg6 = (wxString *) NULL;
8517 int _arg7 = (int ) 0;
8518 long _arg8 = (long ) wxRA_HORIZONTAL;
b68dc582 8519 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
8520 char * _arg10 = (char *) "radioBox";
8521 PyObject * _argo0 = 0;
70551f47 8522 PyObject * _obj2 = 0;
37f6a977
RD
8523 wxPoint temp;
8524 PyObject * _obj3 = 0;
8525 wxSize temp0;
8526 PyObject * _obj4 = 0;
70551f47 8527 PyObject * _obj6 = 0;
2d091820 8528 PyObject * _argo9 = 0;
e02c03a4 8529 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
70551f47
RD
8530 char _ptemp[128];
8531
8532 self = self;
37f6a977 8533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOs:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_arg10))
70551f47 8534 return NULL;
2d091820
RD
8535 if (_argo0) {
8536 if (_argo0 == Py_None) { _arg0 = NULL; }
8537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
8538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8539 return NULL;
8540 }
8541 }
8542{
2cd2fac8
RD
8543#if PYTHON_API_VERSION >= 1009
8544 char* tmpPtr; int tmpSize;
8545 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 8546 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8547 return NULL;
8548 }
8549 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8550 return NULL;
8551 _arg2 = new wxString(tmpPtr, tmpSize);
8552#else
70551f47
RD
8553 if (!PyString_Check(_obj2)) {
8554 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8555 return NULL;
8556 }
2cd2fac8
RD
8557 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8558#endif
70551f47 8559}
37f6a977
RD
8560 if (_obj3)
8561{
8562 _arg3 = &temp;
8563 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 8564 return NULL;
37f6a977
RD
8565}
8566 if (_obj4)
8567{
8568 _arg4 = &temp0;
8569 if (! wxSize_helper(_obj4, &_arg4))
70551f47 8570 return NULL;
37f6a977 8571}
70551f47
RD
8572 if (_obj6)
8573{
8574 _arg6 = wxString_LIST_helper(_obj6);
8575 if (_arg6 == NULL) {
8576 return NULL;
8577 }
8578}
2d091820
RD
8579 if (_argo9) {
8580 if (_argo9 == Py_None) { _arg9 = NULL; }
8581 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
70551f47
RD
8582 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8583 return NULL;
8584 }
8585 }
8586{
ab9bc19b
RD
8587 if (_obj6) {
8588 _arg5 = PyList_Size(_obj6);
8589 }
8590 else {
8591 _arg5 = 0;
8592 }
70551f47 8593}
ab9bc19b
RD
8594{
8595 wxPy_BEGIN_ALLOW_THREADS;
8596 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
8597
8598 wxPy_END_ALLOW_THREADS;
4dfaa61e 8599 if (PyErr_Occurred()) return NULL;
2d091820
RD
8600} if (_result) {
8601 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
8602 _resultobj = Py_BuildValue("s",_ptemp);
8603 } else {
8604 Py_INCREF(Py_None);
8605 _resultobj = Py_None;
8606 }
70551f47
RD
8607{
8608 if (_obj2)
8609 delete _arg2;
8610}
8611{
8612 delete [] _arg6;
8613}
8614 return _resultobj;
8615}
8616
aa2a5b86
RD
8617#define new_wxPreRadioBox() (new wxRadioBox())
8618static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8619 PyObject * _resultobj;
8620 wxRadioBox * _result;
8621 char *_kwnames[] = { NULL };
8622 char _ptemp[128];
8623
8624 self = self;
8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
8626 return NULL;
8627{
8628 wxPy_BEGIN_ALLOW_THREADS;
8629 _result = (wxRadioBox *)new_wxPreRadioBox();
8630
8631 wxPy_END_ALLOW_THREADS;
8632 if (PyErr_Occurred()) return NULL;
8633} if (_result) {
8634 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
8635 _resultobj = Py_BuildValue("s",_ptemp);
8636 } else {
8637 Py_INCREF(Py_None);
8638 _resultobj = Py_None;
8639 }
8640 return _resultobj;
8641}
8642
8643#define wxRadioBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10))
8644static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8645 PyObject * _resultobj;
8646 bool _result;
8647 wxRadioBox * _arg0;
8648 wxWindow * _arg1;
8649 wxWindowID _arg2;
8650 wxString * _arg3;
8651 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
8652 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
8653 int _arg6 = (int ) 0;
8654 wxString * _arg7 = (wxString *) NULL;
8655 int _arg8 = (int ) 0;
8656 long _arg9 = (long ) wxRA_HORIZONTAL;
8657 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
8658 char * _arg11 = (char *) "radioBox";
8659 PyObject * _argo0 = 0;
8660 PyObject * _argo1 = 0;
8661 PyObject * _obj3 = 0;
8662 wxPoint temp;
8663 PyObject * _obj4 = 0;
8664 wxSize temp0;
8665 PyObject * _obj5 = 0;
8666 PyObject * _obj7 = 0;
8667 PyObject * _argo10 = 0;
8668 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
8669
8670 self = self;
8671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_arg11))
8672 return NULL;
8673 if (_argo0) {
8674 if (_argo0 == Py_None) { _arg0 = NULL; }
8675 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8676 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8677 return NULL;
8678 }
8679 }
8680 if (_argo1) {
8681 if (_argo1 == Py_None) { _arg1 = NULL; }
8682 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8683 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8684 return NULL;
8685 }
8686 }
8687{
8688#if PYTHON_API_VERSION >= 1009
8689 char* tmpPtr; int tmpSize;
8690 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
8691 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8692 return NULL;
8693 }
8694 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8695 return NULL;
8696 _arg3 = new wxString(tmpPtr, tmpSize);
8697#else
8698 if (!PyString_Check(_obj3)) {
8699 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8700 return NULL;
8701 }
8702 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8703#endif
8704}
8705 if (_obj4)
8706{
8707 _arg4 = &temp;
8708 if (! wxPoint_helper(_obj4, &_arg4))
8709 return NULL;
8710}
8711 if (_obj5)
8712{
8713 _arg5 = &temp0;
8714 if (! wxSize_helper(_obj5, &_arg5))
8715 return NULL;
8716}
8717 if (_obj7)
8718{
8719 _arg7 = wxString_LIST_helper(_obj7);
8720 if (_arg7 == NULL) {
8721 return NULL;
8722 }
8723}
8724 if (_argo10) {
8725 if (_argo10 == Py_None) { _arg10 = NULL; }
8726 else if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
8727 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8728 return NULL;
8729 }
8730 }
8731{
8732 if (_obj7) {
8733 _arg6 = PyList_Size(_obj7);
8734 }
8735 else {
8736 _arg6 = 0;
8737 }
8738}
8739{
8740 wxPy_BEGIN_ALLOW_THREADS;
8741 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,_arg11);
8742
8743 wxPy_END_ALLOW_THREADS;
8744 if (PyErr_Occurred()) return NULL;
8745} _resultobj = Py_BuildValue("i",_result);
8746{
8747 if (_obj3)
8748 delete _arg3;
8749}
8750{
8751 delete [] _arg7;
8752}
8753 return _resultobj;
8754}
8755
c3c1cebe 8756#define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
107e4716 8757static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8758 PyObject * _resultobj;
8759 wxRadioBox * _arg0;
8760 bool _arg1;
2d091820 8761 PyObject * _argo0 = 0;
70551f47 8762 int tempbool1;
107e4716 8763 char *_kwnames[] = { "self","enable", NULL };
70551f47
RD
8764
8765 self = self;
107e4716 8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
70551f47 8767 return NULL;
2d091820
RD
8768 if (_argo0) {
8769 if (_argo0 == Py_None) { _arg0 = NULL; }
8770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
c3c1cebe 8771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
70551f47
RD
8772 return NULL;
8773 }
8774 }
8775 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
8776{
8777 wxPy_BEGIN_ALLOW_THREADS;
8778 wxRadioBox_Enable(_arg0,_arg1);
8779
8780 wxPy_END_ALLOW_THREADS;
4dfaa61e 8781 if (PyErr_Occurred()) return NULL;
ab9bc19b 8782} Py_INCREF(Py_None);
70551f47
RD
8783 _resultobj = Py_None;
8784 return _resultobj;
8785}
8786
c3c1cebe 8787#define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
107e4716 8788static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8789 PyObject * _resultobj;
8790 wxRadioBox * _arg0;
8791 int _arg1;
8792 bool _arg2;
2d091820 8793 PyObject * _argo0 = 0;
70551f47 8794 int tempbool2;
107e4716 8795 char *_kwnames[] = { "self","n","enable", NULL };
70551f47
RD
8796
8797 self = self;
107e4716 8798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 8799 return NULL;
2d091820
RD
8800 if (_argo0) {
8801 if (_argo0 == Py_None) { _arg0 = NULL; }
8802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
c3c1cebe 8803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
70551f47
RD
8804 return NULL;
8805 }
8806 }
8807 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
8808{
8809 wxPy_BEGIN_ALLOW_THREADS;
8810 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
8811
8812 wxPy_END_ALLOW_THREADS;
4dfaa61e 8813 if (PyErr_Occurred()) return NULL;
ab9bc19b 8814} Py_INCREF(Py_None);
70551f47
RD
8815 _resultobj = Py_None;
8816 return _resultobj;
8817}
8818
8819#define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
107e4716 8820static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8821 PyObject * _resultobj;
8822 int _result;
8823 wxRadioBox * _arg0;
8824 wxString * _arg1;
2d091820 8825 PyObject * _argo0 = 0;
70551f47 8826 PyObject * _obj1 = 0;
107e4716 8827 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
8828
8829 self = self;
107e4716 8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
70551f47 8831 return NULL;
2d091820
RD
8832 if (_argo0) {
8833 if (_argo0 == Py_None) { _arg0 = NULL; }
8834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
8835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
8836 return NULL;
8837 }
8838 }
8839{
2cd2fac8
RD
8840#if PYTHON_API_VERSION >= 1009
8841 char* tmpPtr; int tmpSize;
8842 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 8843 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
8844 return NULL;
8845 }
8846 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8847 return NULL;
8848 _arg1 = new wxString(tmpPtr, tmpSize);
8849#else
70551f47
RD
8850 if (!PyString_Check(_obj1)) {
8851 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8852 return NULL;
8853 }
2cd2fac8
RD
8854 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8855#endif
70551f47 8856}
ab9bc19b
RD
8857{
8858 wxPy_BEGIN_ALLOW_THREADS;
8859 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
8860
8861 wxPy_END_ALLOW_THREADS;
4dfaa61e 8862 if (PyErr_Occurred()) return NULL;
ab9bc19b 8863} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
8864{
8865 if (_obj1)
8866 delete _arg1;
8867}
8868 return _resultobj;
8869}
8870
2c8a649d
RD
8871#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
8872static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8873 PyObject * _resultobj;
8874 wxString * _result;
8875 wxRadioBox * _arg0;
8876 int _arg1;
2d091820 8877 PyObject * _argo0 = 0;
107e4716 8878 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
8879
8880 self = self;
2c8a649d 8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
70551f47 8882 return NULL;
2d091820
RD
8883 if (_argo0) {
8884 if (_argo0 == Py_None) { _arg0 = NULL; }
8885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 8886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
70551f47
RD
8887 return NULL;
8888 }
8889 }
70551f47 8890{
ab9bc19b 8891 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 8892 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
ab9bc19b
RD
8893
8894 wxPy_END_ALLOW_THREADS;
4dfaa61e 8895 if (PyErr_Occurred()) return NULL;
ab9bc19b 8896}{
e02c03a4 8897 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
70551f47
RD
8898}
8899{
8900 delete _result;
8901}
8902 return _resultobj;
8903}
8904
2c8a649d
RD
8905#define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
8906static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 8907 PyObject * _resultobj;
2c8a649d 8908 wxString * _result;
70551f47 8909 wxRadioBox * _arg0;
2c8a649d 8910 int _arg1;
2d091820 8911 PyObject * _argo0 = 0;
2c8a649d 8912 char *_kwnames[] = { "self","item", NULL };
70551f47
RD
8913
8914 self = self;
2c8a649d 8915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetItemLabel",_kwnames,&_argo0,&_arg1))
70551f47 8916 return NULL;
2d091820
RD
8917 if (_argo0) {
8918 if (_argo0 == Py_None) { _arg0 = NULL; }
8919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 8920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
70551f47
RD
8921 return NULL;
8922 }
8923 }
ab9bc19b
RD
8924{
8925 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 8926 _result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1));
ab9bc19b
RD
8927
8928 wxPy_END_ALLOW_THREADS;
4dfaa61e 8929 if (PyErr_Occurred()) return NULL;
2c8a649d
RD
8930}{
8931 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8932}
8933{
8934 delete _result;
8935}
70551f47
RD
8936 return _resultobj;
8937}
8938
2c8a649d
RD
8939#define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
8940static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 8941 PyObject * _resultobj;
70551f47
RD
8942 wxRadioBox * _arg0;
8943 int _arg1;
2c8a649d 8944 wxString * _arg2;
2d091820 8945 PyObject * _argo0 = 0;
2c8a649d
RD
8946 PyObject * _obj2 = 0;
8947 char *_kwnames[] = { "self","item","label", NULL };
70551f47
RD
8948
8949 self = self;
2c8a649d 8950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetItemLabel",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 8951 return NULL;
2d091820
RD
8952 if (_argo0) {
8953 if (_argo0 == Py_None) { _arg0 = NULL; }
8954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 8955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
70551f47
RD
8956 return NULL;
8957 }
8958 }
2c8a649d
RD
8959{
8960#if PYTHON_API_VERSION >= 1009
8961 char* tmpPtr; int tmpSize;
8962 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8963 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8964 return NULL;
8965 }
8966 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8967 return NULL;
8968 _arg2 = new wxString(tmpPtr, tmpSize);
8969#else
8970 if (!PyString_Check(_obj2)) {
8971 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8972 return NULL;
8973 }
8974 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8975#endif
8976}
70551f47 8977{
ab9bc19b 8978 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 8979 wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2);
ab9bc19b
RD
8980
8981 wxPy_END_ALLOW_THREADS;
4dfaa61e 8982 if (PyErr_Occurred()) return NULL;
2c8a649d
RD
8983} Py_INCREF(Py_None);
8984 _resultobj = Py_None;
70551f47 8985{
2c8a649d
RD
8986 if (_obj2)
8987 delete _arg2;
70551f47
RD
8988}
8989 return _resultobj;
8990}
8991
2c8a649d
RD
8992#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
8993static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 8994 PyObject * _resultobj;
2c8a649d 8995 int _result;
70551f47 8996 wxRadioBox * _arg0;
2d091820 8997 PyObject * _argo0 = 0;
107e4716 8998 char *_kwnames[] = { "self", NULL };
70551f47
RD
8999
9000 self = self;
2c8a649d 9001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
70551f47 9002 return NULL;
2d091820
RD
9003 if (_argo0) {
9004 if (_argo0 == Py_None) { _arg0 = NULL; }
9005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 9006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
70551f47
RD
9007 return NULL;
9008 }
9009 }
70551f47 9010{
ab9bc19b 9011 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 9012 _result = (int )wxRadioBox_GetSelection(_arg0);
ab9bc19b
RD
9013
9014 wxPy_END_ALLOW_THREADS;
4dfaa61e 9015 if (PyErr_Occurred()) return NULL;
2c8a649d 9016} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9017 return _resultobj;
9018}
9019
2c8a649d
RD
9020#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9021static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 9022 PyObject * _resultobj;
2c8a649d 9023 wxString * _result;
70551f47 9024 wxRadioBox * _arg0;
2d091820 9025 PyObject * _argo0 = 0;
107e4716 9026 char *_kwnames[] = { "self", NULL };
70551f47
RD
9027
9028 self = self;
2c8a649d 9029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
70551f47 9030 return NULL;
2d091820
RD
9031 if (_argo0) {
9032 if (_argo0 == Py_None) { _arg0 = NULL; }
9033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 9034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
70551f47
RD
9035 return NULL;
9036 }
9037 }
ab9bc19b
RD
9038{
9039 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 9040 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
ab9bc19b
RD
9041
9042 wxPy_END_ALLOW_THREADS;
4dfaa61e 9043 if (PyErr_Occurred()) return NULL;
2c8a649d
RD
9044}{
9045 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9046}
9047{
9048 delete _result;
9049}
70551f47
RD
9050 return _resultobj;
9051}
9052
2c8a649d
RD
9053#define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9054static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 9055 PyObject * _resultobj;
2c8a649d 9056 int _result;
70551f47 9057 wxRadioBox * _arg0;
2d091820 9058 PyObject * _argo0 = 0;
2c8a649d 9059 char *_kwnames[] = { "self", NULL };
70551f47
RD
9060
9061 self = self;
2c8a649d 9062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
70551f47 9063 return NULL;
2d091820
RD
9064 if (_argo0) {
9065 if (_argo0 == Py_None) { _arg0 = NULL; }
9066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 9067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
70551f47
RD
9068 return NULL;
9069 }
9070 }
ab9bc19b
RD
9071{
9072 wxPy_BEGIN_ALLOW_THREADS;
2c8a649d 9073 _result = (int )wxRadioBox_GetCount(_arg0);
ab9bc19b
RD
9074
9075 wxPy_END_ALLOW_THREADS;
4dfaa61e 9076 if (PyErr_Occurred()) return NULL;
2c8a649d 9077} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9078 return _resultobj;
9079}
9080
9081#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 9082static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9083 PyObject * _resultobj;
9084 wxRadioBox * _arg0;
9085 int _arg1;
2d091820 9086 PyObject * _argo0 = 0;
107e4716 9087 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
9088
9089 self = self;
107e4716 9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 9091 return NULL;
2d091820
RD
9092 if (_argo0) {
9093 if (_argo0 == Py_None) { _arg0 = NULL; }
9094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
9095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9096 return NULL;
9097 }
9098 }
ab9bc19b
RD
9099{
9100 wxPy_BEGIN_ALLOW_THREADS;
9101 wxRadioBox_SetSelection(_arg0,_arg1);
9102
9103 wxPy_END_ALLOW_THREADS;
4dfaa61e 9104 if (PyErr_Occurred()) return NULL;
ab9bc19b 9105} Py_INCREF(Py_None);
70551f47
RD
9106 _resultobj = Py_None;
9107 return _resultobj;
9108}
9109
9110#define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
107e4716 9111static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9112 PyObject * _resultobj;
9113 wxRadioBox * _arg0;
9114 wxString * _arg1;
2d091820 9115 PyObject * _argo0 = 0;
70551f47 9116 PyObject * _obj1 = 0;
107e4716 9117 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
9118
9119 self = self;
107e4716 9120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
70551f47 9121 return NULL;
2d091820
RD
9122 if (_argo0) {
9123 if (_argo0 == Py_None) { _arg0 = NULL; }
9124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
9125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9126 return NULL;
9127 }
9128 }
9129{
2cd2fac8
RD
9130#if PYTHON_API_VERSION >= 1009
9131 char* tmpPtr; int tmpSize;
9132 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 9133 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
9134 return NULL;
9135 }
9136 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9137 return NULL;
9138 _arg1 = new wxString(tmpPtr, tmpSize);
9139#else
70551f47
RD
9140 if (!PyString_Check(_obj1)) {
9141 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9142 return NULL;
9143 }
2cd2fac8
RD
9144 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9145#endif
70551f47 9146}
ab9bc19b
RD
9147{
9148 wxPy_BEGIN_ALLOW_THREADS;
9149 wxRadioBox_SetStringSelection(_arg0,*_arg1);
9150
9151 wxPy_END_ALLOW_THREADS;
4dfaa61e 9152 if (PyErr_Occurred()) return NULL;
ab9bc19b 9153} Py_INCREF(Py_None);
70551f47
RD
9154 _resultobj = Py_None;
9155{
9156 if (_obj1)
9157 delete _arg1;
9158}
9159 return _resultobj;
9160}
9161
9162#define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
107e4716 9163static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9164 PyObject * _resultobj;
9165 wxRadioBox * _arg0;
9166 bool _arg1;
2d091820 9167 PyObject * _argo0 = 0;
70551f47 9168 int tempbool1;
107e4716 9169 char *_kwnames[] = { "self","show", NULL };
70551f47
RD
9170
9171 self = self;
107e4716 9172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
70551f47 9173 return NULL;
2d091820
RD
9174 if (_argo0) {
9175 if (_argo0 == Py_None) { _arg0 = NULL; }
9176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
9177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9178 return NULL;
9179 }
9180 }
9181 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
9182{
9183 wxPy_BEGIN_ALLOW_THREADS;
9184 wxRadioBox_Show(_arg0,_arg1);
9185
9186 wxPy_END_ALLOW_THREADS;
4dfaa61e 9187 if (PyErr_Occurred()) return NULL;
ab9bc19b 9188} Py_INCREF(Py_None);
70551f47
RD
9189 _resultobj = Py_None;
9190 return _resultobj;
9191}
9192
9193#define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
107e4716 9194static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9195 PyObject * _resultobj;
9196 wxRadioBox * _arg0;
9197 int _arg1;
9198 bool _arg2;
2d091820 9199 PyObject * _argo0 = 0;
70551f47 9200 int tempbool2;
107e4716 9201 char *_kwnames[] = { "self","item","show", NULL };
70551f47
RD
9202
9203 self = self;
107e4716 9204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 9205 return NULL;
2d091820
RD
9206 if (_argo0) {
9207 if (_argo0 == Py_None) { _arg0 = NULL; }
9208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
9209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9210 return NULL;
9211 }
9212 }
9213 _arg2 = (bool ) tempbool2;
ab9bc19b
RD
9214{
9215 wxPy_BEGIN_ALLOW_THREADS;
9216 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
9217
9218 wxPy_END_ALLOW_THREADS;
4dfaa61e 9219 if (PyErr_Occurred()) return NULL;
ab9bc19b 9220} Py_INCREF(Py_None);
70551f47
RD
9221 _resultobj = Py_None;
9222 return _resultobj;
9223}
9224
9225static void *SwigwxRadioButtonTowxControl(void *ptr) {
9226 wxRadioButton *src;
9227 wxControl *dest;
9228 src = (wxRadioButton *) ptr;
9229 dest = (wxControl *) src;
9230 return (void *) dest;
9231}
9232
9233static void *SwigwxRadioButtonTowxWindow(void *ptr) {
9234 wxRadioButton *src;
9235 wxWindow *dest;
9236 src = (wxRadioButton *) ptr;
9237 dest = (wxWindow *) src;
9238 return (void *) dest;
9239}
9240
9241static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
9242 wxRadioButton *src;
9243 wxEvtHandler *dest;
9244 src = (wxRadioButton *) ptr;
9245 dest = (wxEvtHandler *) src;
9246 return (void *) dest;
9247}
9248
9df61a29
RD
9249static void *SwigwxRadioButtonTowxObject(void *ptr) {
9250 wxRadioButton *src;
9251 wxObject *dest;
9252 src = (wxRadioButton *) ptr;
9253 dest = (wxObject *) src;
9254 return (void *) dest;
9255}
9256
70551f47 9257#define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 9258static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9259 PyObject * _resultobj;
9260 wxRadioButton * _result;
9261 wxWindow * _arg0;
9262 wxWindowID _arg1;
9263 wxString * _arg2;
b68dc582
RD
9264 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9265 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 9266 long _arg5 = (long ) 0;
b68dc582 9267 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
9268 char * _arg7 = (char *) "radioButton";
9269 PyObject * _argo0 = 0;
70551f47 9270 PyObject * _obj2 = 0;
37f6a977
RD
9271 wxPoint temp;
9272 PyObject * _obj3 = 0;
9273 wxSize temp0;
9274 PyObject * _obj4 = 0;
2d091820 9275 PyObject * _argo6 = 0;
107e4716 9276 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
70551f47
RD
9277 char _ptemp[128];
9278
9279 self = self;
37f6a977 9280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
70551f47 9281 return NULL;
2d091820
RD
9282 if (_argo0) {
9283 if (_argo0 == Py_None) { _arg0 = NULL; }
9284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
9285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9286 return NULL;
9287 }
9288 }
9289{
2cd2fac8
RD
9290#if PYTHON_API_VERSION >= 1009
9291 char* tmpPtr; int tmpSize;
9292 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7a446686 9293 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2cd2fac8
RD
9294 return NULL;
9295 }
9296 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9297 return NULL;
9298 _arg2 = new wxString(tmpPtr, tmpSize);
9299#else
70551f47
RD
9300 if (!PyString_Check(_obj2)) {
9301 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9302 return NULL;
9303 }
2cd2fac8
RD
9304 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9305#endif
70551f47 9306}
37f6a977
RD
9307 if (_obj3)
9308{
aa2a5b86
RD
9309 _arg3 = &temp;
9310 if (! wxPoint_helper(_obj3, &_arg3))
9311 return NULL;
9312}
9313 if (_obj4)
9314{
9315 _arg4 = &temp0;
9316 if (! wxSize_helper(_obj4, &_arg4))
9317 return NULL;
9318}
9319 if (_argo6) {
9320 if (_argo6 == Py_None) { _arg6 = NULL; }
9321 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
9322 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9323 return NULL;
9324 }
9325 }
9326{
9327 wxPy_BEGIN_ALLOW_THREADS;
9328 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
9329
9330 wxPy_END_ALLOW_THREADS;
9331 if (PyErr_Occurred()) return NULL;
9332} if (_result) {
9333 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9334 _resultobj = Py_BuildValue("s",_ptemp);
9335 } else {
9336 Py_INCREF(Py_None);
9337 _resultobj = Py_None;
9338 }
9339{
9340 if (_obj2)
9341 delete _arg2;
9342}
9343 return _resultobj;
9344}
9345
9346#define new_wxPreRadioButton() (new wxRadioButton())
9347static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9348 PyObject * _resultobj;
9349 wxRadioButton * _result;
9350 char *_kwnames[] = { NULL };
9351 char _ptemp[128];
9352
9353 self = self;
9354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
9355 return NULL;
9356{
9357 wxPy_BEGIN_ALLOW_THREADS;
9358 _result = (wxRadioButton *)new_wxPreRadioButton();
9359
9360 wxPy_END_ALLOW_THREADS;
9361 if (PyErr_Occurred()) return NULL;
9362} if (_result) {
9363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9364 _resultobj = Py_BuildValue("s",_ptemp);
9365 } else {
9366 Py_INCREF(Py_None);
9367 _resultobj = Py_None;
9368 }
9369 return _resultobj;
9370}
9371
9372#define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9373static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9374 PyObject * _resultobj;
9375 bool _result;
9376 wxRadioButton * _arg0;
9377 wxWindow * _arg1;
9378 wxWindowID _arg2;
9379 wxString * _arg3;
9380 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9381 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9382 long _arg6 = (long ) 0;
9383 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9384 char * _arg8 = (char *) "radioButton";
9385 PyObject * _argo0 = 0;
9386 PyObject * _argo1 = 0;
9387 PyObject * _obj3 = 0;
9388 wxPoint temp;
9389 PyObject * _obj4 = 0;
9390 wxSize temp0;
9391 PyObject * _obj5 = 0;
9392 PyObject * _argo7 = 0;
9393 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
9394
9395 self = self;
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
9397 return NULL;
9398 if (_argo0) {
9399 if (_argo0 == Py_None) { _arg0 = NULL; }
9400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9402 return NULL;
9403 }
9404 }
9405 if (_argo1) {
9406 if (_argo1 == Py_None) { _arg1 = NULL; }
9407 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9409 return NULL;
9410 }
9411 }
9412{
9413#if PYTHON_API_VERSION >= 1009
9414 char* tmpPtr; int tmpSize;
9415 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
9416 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9417 return NULL;
9418 }
9419 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
9420 return NULL;
9421 _arg3 = new wxString(tmpPtr, tmpSize);
9422#else
9423 if (!PyString_Check(_obj3)) {
9424 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9425 return NULL;
9426 }
9427 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
9428#endif
9429}
9430 if (_obj4)
9431{
9432 _arg4 = &temp;
9433 if (! wxPoint_helper(_obj4, &_arg4))
70551f47 9434 return NULL;
37f6a977 9435}
aa2a5b86 9436 if (_obj5)
37f6a977 9437{
aa2a5b86
RD
9438 _arg5 = &temp0;
9439 if (! wxSize_helper(_obj5, &_arg5))
70551f47 9440 return NULL;
37f6a977 9441}
aa2a5b86
RD
9442 if (_argo7) {
9443 if (_argo7 == Py_None) { _arg7 = NULL; }
9444 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
9445 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
70551f47
RD
9446 return NULL;
9447 }
9448 }
ab9bc19b
RD
9449{
9450 wxPy_BEGIN_ALLOW_THREADS;
aa2a5b86 9451 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
ab9bc19b
RD
9452
9453 wxPy_END_ALLOW_THREADS;
4dfaa61e 9454 if (PyErr_Occurred()) return NULL;
aa2a5b86 9455} _resultobj = Py_BuildValue("i",_result);
70551f47 9456{
aa2a5b86
RD
9457 if (_obj3)
9458 delete _arg3;
70551f47
RD
9459}
9460 return _resultobj;
9461}
9462
9463#define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 9464static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9465 PyObject * _resultobj;
9466 bool _result;
9467 wxRadioButton * _arg0;
2d091820 9468 PyObject * _argo0 = 0;
107e4716 9469 char *_kwnames[] = { "self", NULL };
70551f47
RD
9470
9471 self = self;
107e4716 9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
70551f47 9473 return NULL;
2d091820
RD
9474 if (_argo0) {
9475 if (_argo0 == Py_None) { _arg0 = NULL; }
9476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
70551f47
RD
9477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9478 return NULL;
9479 }
9480 }
ab9bc19b
RD
9481{
9482 wxPy_BEGIN_ALLOW_THREADS;
9483 _result = (bool )wxRadioButton_GetValue(_arg0);
9484
9485 wxPy_END_ALLOW_THREADS;
4dfaa61e 9486 if (PyErr_Occurred()) return NULL;
ab9bc19b 9487} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9488 return _resultobj;
9489}
9490
9491#define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 9492static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9493 PyObject * _resultobj;
9494 wxRadioButton * _arg0;
9495 bool _arg1;
2d091820 9496 PyObject * _argo0 = 0;
70551f47 9497 int tempbool1;
107e4716 9498 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
9499
9500 self = self;
107e4716 9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
70551f47 9502 return NULL;
2d091820
RD
9503 if (_argo0) {
9504 if (_argo0 == Py_None) { _arg0 = NULL; }
9505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
70551f47
RD
9506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9507 return NULL;
9508 }
9509 }
9510 _arg1 = (bool ) tempbool1;
ab9bc19b
RD
9511{
9512 wxPy_BEGIN_ALLOW_THREADS;
9513 wxRadioButton_SetValue(_arg0,_arg1);
9514
9515 wxPy_END_ALLOW_THREADS;
4dfaa61e 9516 if (PyErr_Occurred()) return NULL;
ab9bc19b 9517} Py_INCREF(Py_None);
70551f47
RD
9518 _resultobj = Py_None;
9519 return _resultobj;
9520}
9521
9522static void *SwigwxSliderTowxControl(void *ptr) {
9523 wxSlider *src;
9524 wxControl *dest;
9525 src = (wxSlider *) ptr;
9526 dest = (wxControl *) src;
9527 return (void *) dest;
9528}
9529
9530static void *SwigwxSliderTowxWindow(void *ptr) {
9531 wxSlider *src;
9532 wxWindow *dest;
9533 src = (wxSlider *) ptr;
9534 dest = (wxWindow *) src;
9535 return (void *) dest;
9536}
9537
9538static void *SwigwxSliderTowxEvtHandler(void *ptr) {
9539 wxSlider *src;
9540 wxEvtHandler *dest;
9541 src = (wxSlider *) ptr;
9542 dest = (wxEvtHandler *) src;
9543 return (void *) dest;
9544}
9545
9df61a29
RD
9546static void *SwigwxSliderTowxObject(void *ptr) {
9547 wxSlider *src;
9548 wxObject *dest;
9549 src = (wxSlider *) ptr;
9550 dest = (wxObject *) src;
9551 return (void *) dest;
9552}
9553
70551f47 9554#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))
107e4716 9555static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9556 PyObject * _resultobj;
9557 wxSlider * _result;
9558 wxWindow * _arg0;
9559 wxWindowID _arg1;
9560 int _arg2;
9561 int _arg3;
9562 int _arg4;
b68dc582
RD
9563 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
9564 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
2d091820 9565 long _arg7 = (long ) wxSL_HORIZONTAL;
b68dc582 9566 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2d091820
RD
9567 char * _arg9 = (char *) "slider";
9568 PyObject * _argo0 = 0;
37f6a977
RD
9569 wxPoint temp;
9570 PyObject * _obj5 = 0;
9571 wxSize temp0;
9572 PyObject * _obj6 = 0;
2d091820 9573 PyObject * _argo8 = 0;
107e4716 9574 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
70551f47
RD
9575 char _ptemp[128];
9576
9577 self = self;
37f6a977 9578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOs:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_arg9))
70551f47 9579 return NULL;
2d091820
RD
9580 if (_argo0) {
9581 if (_argo0 == Py_None) { _arg0 = NULL; }
9582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
9583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9584 return NULL;
9585 }
9586 }
37f6a977
RD
9587 if (_obj5)
9588{
9589 _arg5 = &temp;
9590 if (! wxPoint_helper(_obj5, &_arg5))
70551f47 9591 return NULL;
37f6a977
RD
9592}
9593 if (_obj6)
9594{
9595 _arg6 = &temp0;
9596 if (! wxSize_helper(_obj6, &_arg6))
70551f47 9597 return NULL;
37f6a977 9598}
2d091820
RD
9599 if (_argo8) {
9600 if (_argo8 == Py_None) { _arg8 = NULL; }
9601 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
70551f47
RD
9602 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9603 return NULL;
9604 }
9605 }
ab9bc19b
RD
9606{
9607 wxPy_BEGIN_ALLOW_THREADS;
9608 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
9609
9610 wxPy_END_ALLOW_THREADS;
4dfaa61e 9611 if (PyErr_Occurred()) return NULL;
2d091820
RD
9612} if (_result) {
9613 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
9614 _resultobj = Py_BuildValue("s",_ptemp);
9615 } else {
9616 Py_INCREF(Py_None);
9617 _resultobj = Py_None;
9618 }
70551f47
RD
9619 return _resultobj;
9620}
9621
aa2a5b86
RD
9622#define new_wxPreSlider() (new wxSlider())
9623static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
9624 PyObject * _resultobj;
9625 wxSlider * _result;
9626 char *_kwnames[] = { NULL };
9627 char _ptemp[128];
9628
9629 self = self;
9630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
9631 return NULL;
9632{
9633 wxPy_BEGIN_ALLOW_THREADS;
9634 _result = (wxSlider *)new_wxPreSlider();
9635
9636 wxPy_END_ALLOW_THREADS;
9637 if (PyErr_Occurred()) return NULL;
9638} if (_result) {
9639 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
9640 _resultobj = Py_BuildValue("s",_ptemp);
9641 } else {
9642 Py_INCREF(Py_None);
9643 _resultobj = Py_None;
9644 }
9645 return _resultobj;
9646}
9647
9648#define wxSlider_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
9649static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9650 PyObject * _resultobj;
9651 bool _result;
9652 wxSlider * _arg0;
9653 wxWindow * _arg1;
9654 wxWindowID _arg2;
9655 int _arg3;
9656 int _arg4;
9657 int _arg5;
9658 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
9659 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
9660 long _arg8 = (long ) wxSL_HORIZONTAL;
9661 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9662 char * _arg10 = (char *) "slider";
9663 PyObject * _argo0 = 0;
9664 PyObject * _argo1 = 0;
9665 wxPoint temp;
9666 PyObject * _obj6 = 0;
9667 wxSize temp0;
9668 PyObject * _obj7 = 0;
9669 PyObject * _argo9 = 0;
9670 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
9671
9672 self = self;
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOs:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_arg10))
9674 return NULL;
9675 if (_argo0) {
9676 if (_argo0 == Py_None) { _arg0 = NULL; }
9677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
9678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9679 return NULL;
9680 }
9681 }
9682 if (_argo1) {
9683 if (_argo1 == Py_None) { _arg1 = NULL; }
9684 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9685 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9686 return NULL;
9687 }
9688 }
9689 if (_obj6)
9690{
9691 _arg6 = &temp;
9692 if (! wxPoint_helper(_obj6, &_arg6))
9693 return NULL;
9694}
9695 if (_obj7)
9696{
9697 _arg7 = &temp0;
9698 if (! wxSize_helper(_obj7, &_arg7))
9699 return NULL;
9700}
9701 if (_argo9) {
9702 if (_argo9 == Py_None) { _arg9 = NULL; }
9703 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
9704 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9705 return NULL;
9706 }
9707 }
9708{
9709 wxPy_BEGIN_ALLOW_THREADS;
9710 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,_arg10);
9711
9712 wxPy_END_ALLOW_THREADS;
9713 if (PyErr_Occurred()) return NULL;
9714} _resultobj = Py_BuildValue("i",_result);
9715 return _resultobj;
9716}
9717
70551f47 9718#define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
107e4716 9719static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9720 PyObject * _resultobj;
9721 wxSlider * _arg0;
2d091820 9722 PyObject * _argo0 = 0;
107e4716 9723 char *_kwnames[] = { "self", NULL };
70551f47
RD
9724
9725 self = self;
107e4716 9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
70551f47 9727 return NULL;
2d091820
RD
9728 if (_argo0) {
9729 if (_argo0 == Py_None) { _arg0 = NULL; }
9730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9732 return NULL;
9733 }
9734 }
ab9bc19b
RD
9735{
9736 wxPy_BEGIN_ALLOW_THREADS;
9737 wxSlider_ClearSel(_arg0);
9738
9739 wxPy_END_ALLOW_THREADS;
4dfaa61e 9740 if (PyErr_Occurred()) return NULL;
ab9bc19b 9741} Py_INCREF(Py_None);
70551f47
RD
9742 _resultobj = Py_None;
9743 return _resultobj;
9744}
9745
9746#define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
107e4716 9747static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9748 PyObject * _resultobj;
9749 wxSlider * _arg0;
2d091820 9750 PyObject * _argo0 = 0;
107e4716 9751 char *_kwnames[] = { "self", NULL };
70551f47
RD
9752
9753 self = self;
107e4716 9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
70551f47 9755 return NULL;
2d091820
RD
9756 if (_argo0) {
9757 if (_argo0 == Py_None) { _arg0 = NULL; }
9758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9760 return NULL;
9761 }
9762 }
ab9bc19b
RD
9763{
9764 wxPy_BEGIN_ALLOW_THREADS;
9765 wxSlider_ClearTicks(_arg0);
9766
9767 wxPy_END_ALLOW_THREADS;
4dfaa61e 9768 if (PyErr_Occurred()) return NULL;
ab9bc19b 9769} Py_INCREF(Py_None);
70551f47
RD
9770 _resultobj = Py_None;
9771 return _resultobj;
9772}
9773
9774#define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
107e4716 9775static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9776 PyObject * _resultobj;
9777 int _result;
9778 wxSlider * _arg0;
2d091820 9779 PyObject * _argo0 = 0;
107e4716 9780 char *_kwnames[] = { "self", NULL };
70551f47
RD
9781
9782 self = self;
107e4716 9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
70551f47 9784 return NULL;
2d091820
RD
9785 if (_argo0) {
9786 if (_argo0 == Py_None) { _arg0 = NULL; }
9787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
9789 return NULL;
9790 }
9791 }
ab9bc19b
RD
9792{
9793 wxPy_BEGIN_ALLOW_THREADS;
9794 _result = (int )wxSlider_GetLineSize(_arg0);
9795
9796 wxPy_END_ALLOW_THREADS;
4dfaa61e 9797 if (PyErr_Occurred()) return NULL;
ab9bc19b 9798} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9799 return _resultobj;
9800}
9801
9802#define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
107e4716 9803static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9804 PyObject * _resultobj;
9805 int _result;
9806 wxSlider * _arg0;
2d091820 9807 PyObject * _argo0 = 0;
107e4716 9808 char *_kwnames[] = { "self", NULL };
70551f47
RD
9809
9810 self = self;
107e4716 9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
70551f47 9812 return NULL;
2d091820
RD
9813 if (_argo0) {
9814 if (_argo0 == Py_None) { _arg0 = NULL; }
9815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
9817 return NULL;
9818 }
9819 }
ab9bc19b
RD
9820{
9821 wxPy_BEGIN_ALLOW_THREADS;
9822 _result = (int )wxSlider_GetMax(_arg0);
9823
9824 wxPy_END_ALLOW_THREADS;
4dfaa61e 9825 if (PyErr_Occurred()) return NULL;
ab9bc19b 9826} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9827 return _resultobj;
9828}
9829
9830#define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
107e4716 9831static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9832 PyObject * _resultobj;
9833 int _result;
9834 wxSlider * _arg0;
2d091820 9835 PyObject * _argo0 = 0;
107e4716 9836 char *_kwnames[] = { "self", NULL };
70551f47
RD
9837
9838 self = self;
107e4716 9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
70551f47 9840 return NULL;
2d091820
RD
9841 if (_argo0) {
9842 if (_argo0 == Py_None) { _arg0 = NULL; }
9843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
9845 return NULL;
9846 }
9847 }
ab9bc19b
RD
9848{
9849 wxPy_BEGIN_ALLOW_THREADS;
9850 _result = (int )wxSlider_GetMin(_arg0);
9851
9852 wxPy_END_ALLOW_THREADS;
4dfaa61e 9853 if (PyErr_Occurred()) return NULL;
ab9bc19b 9854} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9855 return _resultobj;
9856}
9857
9858#define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
107e4716 9859static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9860 PyObject * _resultobj;
9861 int _result;
9862 wxSlider * _arg0;
2d091820 9863 PyObject * _argo0 = 0;
107e4716 9864 char *_kwnames[] = { "self", NULL };
70551f47
RD
9865
9866 self = self;
107e4716 9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
70551f47 9868 return NULL;
2d091820
RD
9869 if (_argo0) {
9870 if (_argo0 == Py_None) { _arg0 = NULL; }
9871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
9873 return NULL;
9874 }
9875 }
ab9bc19b
RD
9876{
9877 wxPy_BEGIN_ALLOW_THREADS;
9878 _result = (int )wxSlider_GetPageSize(_arg0);
9879
9880 wxPy_END_ALLOW_THREADS;
4dfaa61e 9881 if (PyErr_Occurred()) return NULL;
ab9bc19b 9882} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9883 return _resultobj;
9884}
9885
9886#define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
107e4716 9887static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9888 PyObject * _resultobj;
9889 int _result;
9890 wxSlider * _arg0;
2d091820 9891 PyObject * _argo0 = 0;
107e4716 9892 char *_kwnames[] = { "self", NULL };
70551f47
RD
9893
9894 self = self;
107e4716 9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
70551f47 9896 return NULL;
2d091820
RD
9897 if (_argo0) {
9898 if (_argo0 == Py_None) { _arg0 = NULL; }
9899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
9901 return NULL;
9902 }
9903 }
ab9bc19b
RD
9904{
9905 wxPy_BEGIN_ALLOW_THREADS;
9906 _result = (int )wxSlider_GetSelEnd(_arg0);
9907
9908 wxPy_END_ALLOW_THREADS;
4dfaa61e 9909 if (PyErr_Occurred()) return NULL;
ab9bc19b 9910} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9911 return _resultobj;
9912}
9913
9914#define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
107e4716 9915static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9916 PyObject * _resultobj;
9917 int _result;
9918 wxSlider * _arg0;
2d091820 9919 PyObject * _argo0 = 0;
107e4716 9920 char *_kwnames[] = { "self", NULL };
70551f47
RD
9921
9922 self = self;
107e4716 9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
70551f47 9924 return NULL;
2d091820
RD
9925 if (_argo0) {
9926 if (_argo0 == Py_None) { _arg0 = NULL; }
9927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
9929 return NULL;
9930 }
9931 }
ab9bc19b
RD
9932{
9933 wxPy_BEGIN_ALLOW_THREADS;
9934 _result = (int )wxSlider_GetSelStart(_arg0);
9935
9936 wxPy_END_ALLOW_THREADS;
4dfaa61e 9937 if (PyErr_Occurred()) return NULL;
ab9bc19b 9938} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9939 return _resultobj;
9940}
9941
9942#define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
107e4716 9943static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9944 PyObject * _resultobj;
9945 int _result;
9946 wxSlider * _arg0;
2d091820 9947 PyObject * _argo0 = 0;
107e4716 9948 char *_kwnames[] = { "self", NULL };
70551f47
RD
9949
9950 self = self;
107e4716 9951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
70551f47 9952 return NULL;
2d091820
RD
9953 if (_argo0) {
9954 if (_argo0 == Py_None) { _arg0 = NULL; }
9955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
9957 return NULL;
9958 }
9959 }
ab9bc19b
RD
9960{
9961 wxPy_BEGIN_ALLOW_THREADS;
9962 _result = (int )wxSlider_GetThumbLength(_arg0);
9963
9964 wxPy_END_ALLOW_THREADS;
4dfaa61e 9965 if (PyErr_Occurred()) return NULL;
ab9bc19b 9966} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9967 return _resultobj;
9968}
9969
9970#define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
107e4716 9971static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9972 PyObject * _resultobj;
9973 int _result;
9974 wxSlider * _arg0;
2d091820 9975 PyObject * _argo0 = 0;
107e4716 9976 char *_kwnames[] = { "self", NULL };
70551f47
RD
9977
9978 self = self;
107e4716 9979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
70551f47 9980 return NULL;
2d091820
RD
9981 if (_argo0) {
9982 if (_argo0 == Py_None) { _arg0 = NULL; }
9983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
9984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
9985 return NULL;
9986 }
9987 }
ab9bc19b
RD
9988{
9989 wxPy_BEGIN_ALLOW_THREADS;
9990 _result = (int )wxSlider_GetTickFreq(_arg0);
9991
9992 wxPy_END_ALLOW_THREADS;
4dfaa61e 9993 if (PyErr_Occurred()) return NULL;
ab9bc19b 9994} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9995 return _resultobj;
9996}
9997
9998#define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 9999static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10000 PyObject * _resultobj;
10001 int _result;
10002 wxSlider * _arg0;
2d091820 10003 PyObject * _argo0 = 0;
107e4716 10004 char *_kwnames[] = { "self", NULL };
70551f47
RD
10005
10006 self = self;
107e4716 10007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
70551f47 10008 return NULL;
2d091820
RD
10009 if (_argo0) {
10010 if (_argo0 == Py_None) { _arg0 = NULL; }
10011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10013 return NULL;
10014 }
10015 }
ab9bc19b
RD
10016{
10017 wxPy_BEGIN_ALLOW_THREADS;
10018 _result = (int )wxSlider_GetValue(_arg0);
10019
10020 wxPy_END_ALLOW_THREADS;
4dfaa61e 10021 if (PyErr_Occurred()) return NULL;
ab9bc19b 10022} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10023 return _resultobj;
10024}
10025
10026#define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
107e4716 10027static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10028 PyObject * _resultobj;
10029 wxSlider * _arg0;
10030 int _arg1;
10031 int _arg2;
2d091820 10032 PyObject * _argo0 = 0;
107e4716 10033 char *_kwnames[] = { "self","minValue","maxValue", NULL };
70551f47
RD
10034
10035 self = self;
107e4716 10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 10037 return NULL;
2d091820
RD
10038 if (_argo0) {
10039 if (_argo0 == Py_None) { _arg0 = NULL; }
10040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10042 return NULL;
10043 }
10044 }
ab9bc19b
RD
10045{
10046 wxPy_BEGIN_ALLOW_THREADS;
10047 wxSlider_SetRange(_arg0,_arg1,_arg2);
10048
10049 wxPy_END_ALLOW_THREADS;
4dfaa61e 10050 if (PyErr_Occurred()) return NULL;
ab9bc19b 10051} Py_INCREF(Py_None);
70551f47
RD
10052 _resultobj = Py_None;
10053 return _resultobj;
10054}
10055
10056#define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
107e4716 10057static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10058 PyObject * _resultobj;
10059 wxSlider * _arg0;
10060 int _arg1;
10061 int _arg2;
2d091820 10062 PyObject * _argo0 = 0;
107e4716 10063 char *_kwnames[] = { "self","n","pos", NULL };
70551f47
RD
10064
10065 self = self;
107e4716 10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 10067 return NULL;
2d091820
RD
10068 if (_argo0) {
10069 if (_argo0 == Py_None) { _arg0 = NULL; }
10070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10072 return NULL;
10073 }
10074 }
ab9bc19b
RD
10075{
10076 wxPy_BEGIN_ALLOW_THREADS;
10077 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
10078
10079 wxPy_END_ALLOW_THREADS;
4dfaa61e 10080 if (PyErr_Occurred()) return NULL;
ab9bc19b 10081} Py_INCREF(Py_None);
70551f47
RD
10082 _resultobj = Py_None;
10083 return _resultobj;
10084}
10085
10086#define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
107e4716 10087static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10088 PyObject * _resultobj;
10089 wxSlider * _arg0;
10090 int _arg1;
2d091820 10091 PyObject * _argo0 = 0;
107e4716 10092 char *_kwnames[] = { "self","lineSize", NULL };
70551f47
RD
10093
10094 self = self;
107e4716 10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
70551f47 10096 return NULL;
2d091820
RD
10097 if (_argo0) {
10098 if (_argo0 == Py_None) { _arg0 = NULL; }
10099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10101 return NULL;
10102 }
10103 }
ab9bc19b
RD
10104{
10105 wxPy_BEGIN_ALLOW_THREADS;
10106 wxSlider_SetLineSize(_arg0,_arg1);
10107
10108 wxPy_END_ALLOW_THREADS;
4dfaa61e 10109 if (PyErr_Occurred()) return NULL;
ab9bc19b 10110} Py_INCREF(Py_None);
70551f47
RD
10111 _resultobj = Py_None;
10112 return _resultobj;
10113}
10114
10115#define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
107e4716 10116static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10117 PyObject * _resultobj;
10118 wxSlider * _arg0;
10119 int _arg1;
2d091820 10120 PyObject * _argo0 = 0;
107e4716 10121 char *_kwnames[] = { "self","pageSize", NULL };
70551f47
RD
10122
10123 self = self;
107e4716 10124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
70551f47 10125 return NULL;
2d091820
RD
10126 if (_argo0) {
10127 if (_argo0 == Py_None) { _arg0 = NULL; }
10128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10130 return NULL;
10131 }
10132 }
ab9bc19b
RD
10133{
10134 wxPy_BEGIN_ALLOW_THREADS;
10135 wxSlider_SetPageSize(_arg0,_arg1);
10136
10137 wxPy_END_ALLOW_THREADS;
4dfaa61e 10138 if (PyErr_Occurred()) return NULL;
ab9bc19b 10139} Py_INCREF(Py_None);
70551f47
RD
10140 _resultobj = Py_None;
10141 return _resultobj;
10142}
10143
10144#define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 10145static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10146 PyObject * _resultobj;
10147 wxSlider * _arg0;
10148 int _arg1;
10149 int _arg2;
2d091820 10150 PyObject * _argo0 = 0;
107e4716 10151 char *_kwnames[] = { "self","startPos","endPos", NULL };
70551f47
RD
10152
10153 self = self;
107e4716 10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 10155 return NULL;
2d091820
RD
10156 if (_argo0) {
10157 if (_argo0 == Py_None) { _arg0 = NULL; }
10158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10160 return NULL;
10161 }
10162 }
ab9bc19b
RD
10163{
10164 wxPy_BEGIN_ALLOW_THREADS;
10165 wxSlider_SetSelection(_arg0,_arg1,_arg2);
10166
10167 wxPy_END_ALLOW_THREADS;
4dfaa61e 10168 if (PyErr_Occurred()) return NULL;
ab9bc19b 10169} Py_INCREF(Py_None);
70551f47
RD
10170 _resultobj = Py_None;
10171 return _resultobj;
10172}
10173
10174#define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
107e4716 10175static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10176 PyObject * _resultobj;
10177 wxSlider * _arg0;
10178 int _arg1;
2d091820 10179 PyObject * _argo0 = 0;
107e4716 10180 char *_kwnames[] = { "self","len", NULL };
70551f47
RD
10181
10182 self = self;
107e4716 10183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
70551f47 10184 return NULL;
2d091820
RD
10185 if (_argo0) {
10186 if (_argo0 == Py_None) { _arg0 = NULL; }
10187 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10188 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10189 return NULL;
10190 }
10191 }
ab9bc19b
RD
10192{
10193 wxPy_BEGIN_ALLOW_THREADS;
10194 wxSlider_SetThumbLength(_arg0,_arg1);
10195
10196 wxPy_END_ALLOW_THREADS;
4dfaa61e 10197 if (PyErr_Occurred()) return NULL;
ab9bc19b 10198} Py_INCREF(Py_None);
70551f47
RD
10199 _resultobj = Py_None;
10200 return _resultobj;
10201}
10202
10203#define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
107e4716 10204static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10205 PyObject * _resultobj;
10206 wxSlider * _arg0;
10207 int _arg1;
2d091820 10208 PyObject * _argo0 = 0;
107e4716 10209 char *_kwnames[] = { "self","tickPos", NULL };
70551f47
RD
10210
10211 self = self;
107e4716 10212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
70551f47 10213 return NULL;
2d091820
RD
10214 if (_argo0) {
10215 if (_argo0 == Py_None) { _arg0 = NULL; }
10216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10218 return NULL;
10219 }
10220 }
ab9bc19b
RD
10221{
10222 wxPy_BEGIN_ALLOW_THREADS;
10223 wxSlider_SetTick(_arg0,_arg1);
10224
10225 wxPy_END_ALLOW_THREADS;
4dfaa61e 10226 if (PyErr_Occurred()) return NULL;
ab9bc19b 10227} Py_INCREF(Py_None);
70551f47
RD
10228 _resultobj = Py_None;
10229 return _resultobj;
10230}
10231
10232#define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 10233static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10234 PyObject * _resultobj;
10235 wxSlider * _arg0;
10236 int _arg1;
2d091820 10237 PyObject * _argo0 = 0;
107e4716 10238 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
10239
10240 self = self;
107e4716 10241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
70551f47 10242 return NULL;
2d091820
RD
10243 if (_argo0) {
10244 if (_argo0 == Py_None) { _arg0 = NULL; }
10245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
10246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10247 return NULL;
10248 }
10249 }
ab9bc19b
RD
10250{
10251 wxPy_BEGIN_ALLOW_THREADS;
10252 wxSlider_SetValue(_arg0,_arg1);
10253
10254 wxPy_END_ALLOW_THREADS;
4dfaa61e 10255 if (PyErr_Occurred()) return NULL;
ab9bc19b 10256} Py_INCREF(Py_None);
70551f47
RD
10257 _resultobj = Py_None;
10258 return _resultobj;
10259}
10260
f6bcfd97
BP
10261static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
10262 wxSpinCtrl *src;
10263 wxSpinButton *dest;
10264 src = (wxSpinCtrl *) ptr;
10265 dest = (wxSpinButton *) src;
10266 return (void *) dest;
10267}
10268
10269static void *SwigwxSpinCtrlTowxControl(void *ptr) {
10270 wxSpinCtrl *src;
10271 wxControl *dest;
10272 src = (wxSpinCtrl *) ptr;
10273 dest = (wxControl *) src;
10274 return (void *) dest;
10275}
10276
10277static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
10278 wxSpinCtrl *src;
10279 wxWindow *dest;
10280 src = (wxSpinCtrl *) ptr;
10281 dest = (wxWindow *) src;
10282 return (void *) dest;
10283}
10284
10285static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
10286 wxSpinCtrl *src;
10287 wxEvtHandler *dest;
10288 src = (wxSpinCtrl *) ptr;
10289 dest = (wxEvtHandler *) src;
10290 return (void *) dest;
10291}
10292
9df61a29
RD
10293static void *SwigwxSpinCtrlTowxObject(void *ptr) {
10294 wxSpinCtrl *src;
10295 wxObject *dest;
10296 src = (wxSpinCtrl *) ptr;
10297 dest = (wxObject *) src;
10298 return (void *) dest;
10299}
10300
f6bcfd97
BP
10301#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))
10302static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10303 PyObject * _resultobj;
10304 wxSpinCtrl * _result;
10305 wxWindow * _arg0;
10306 wxWindowID _arg1 = (wxWindowID ) -1;
10307 char * _arg2 = (char *) "";
b68dc582
RD
10308 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10309 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
f6bcfd97
BP
10310 long _arg5 = (long ) wxSP_ARROW_KEYS;
10311 int _arg6 = (int ) 0;
10312 int _arg7 = (int ) 100;
10313 int _arg8 = (int ) 0;
10314 char * _arg9 = (char *) "wxSpinCtrl";
10315 PyObject * _argo0 = 0;
10316 wxPoint temp;
10317 PyObject * _obj3 = 0;
10318 wxSize temp0;
10319 PyObject * _obj4 = 0;
10320 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
10321 char _ptemp[128];
10322
10323 self = self;
10324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|isOOliiis:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9))
10325 return NULL;
10326 if (_argo0) {
10327 if (_argo0 == Py_None) { _arg0 = NULL; }
10328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10330 return NULL;
10331 }
10332 }
10333 if (_obj3)
10334{
10335 _arg3 = &temp;
10336 if (! wxPoint_helper(_obj3, &_arg3))
10337 return NULL;
10338}
10339 if (_obj4)
10340{
10341 _arg4 = &temp0;
10342 if (! wxSize_helper(_obj4, &_arg4))
10343 return NULL;
10344}
10345{
10346 wxPy_BEGIN_ALLOW_THREADS;
10347 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
10348
10349 wxPy_END_ALLOW_THREADS;
4dfaa61e 10350 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
10351} if (_result) {
10352 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10353 _resultobj = Py_BuildValue("s",_ptemp);
10354 } else {
10355 Py_INCREF(Py_None);
10356 _resultobj = Py_None;
10357 }
10358 return _resultobj;
10359}
10360
aa2a5b86
RD
10361#define new_wxPreSpinCtrl() (new wxSpinCtrl())
10362static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10363 PyObject * _resultobj;
10364 wxSpinCtrl * _result;
10365 char *_kwnames[] = { NULL };
10366 char _ptemp[128];
10367
10368 self = self;
10369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
10370 return NULL;
10371{
10372 wxPy_BEGIN_ALLOW_THREADS;
10373 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
10374
10375 wxPy_END_ALLOW_THREADS;
10376 if (PyErr_Occurred()) return NULL;
10377} if (_result) {
10378 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10379 _resultobj = Py_BuildValue("s",_ptemp);
10380 } else {
10381 Py_INCREF(Py_None);
10382 _resultobj = Py_None;
10383 }
10384 return _resultobj;
10385}
10386
10387#define wxSpinCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
10388static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10389 PyObject * _resultobj;
10390 bool _result;
10391 wxSpinCtrl * _arg0;
10392 wxWindow * _arg1;
10393 wxWindowID _arg2 = (wxWindowID ) -1;
10394 char * _arg3 = (char *) "";
10395 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10396 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10397 long _arg6 = (long ) wxSP_ARROW_KEYS;
10398 int _arg7 = (int ) 0;
10399 int _arg8 = (int ) 100;
10400 int _arg9 = (int ) 0;
10401 char * _arg10 = (char *) "wxSpinCtrl";
10402 PyObject * _argo0 = 0;
10403 PyObject * _argo1 = 0;
10404 wxPoint temp;
10405 PyObject * _obj4 = 0;
10406 wxSize temp0;
10407 PyObject * _obj5 = 0;
10408 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
10409
10410 self = self;
10411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_arg10))
10412 return NULL;
10413 if (_argo0) {
10414 if (_argo0 == Py_None) { _arg0 = NULL; }
10415 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10416 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10417 return NULL;
10418 }
10419 }
10420 if (_argo1) {
10421 if (_argo1 == Py_None) { _arg1 = NULL; }
10422 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10423 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10424 return NULL;
10425 }
10426 }
10427 if (_obj4)
10428{
10429 _arg4 = &temp;
10430 if (! wxPoint_helper(_obj4, &_arg4))
10431 return NULL;
10432}
10433 if (_obj5)
10434{
10435 _arg5 = &temp0;
10436 if (! wxSize_helper(_obj5, &_arg5))
10437 return NULL;
10438}
10439{
10440 wxPy_BEGIN_ALLOW_THREADS;
10441 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,_arg10);
10442
10443 wxPy_END_ALLOW_THREADS;
10444 if (PyErr_Occurred()) return NULL;
10445} _resultobj = Py_BuildValue("i",_result);
10446 return _resultobj;
10447}
10448
c368d904
RD
10449#define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10450static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject * _resultobj;
10452 int _result;
10453 wxSpinCtrl * _arg0;
10454 PyObject * _argo0 = 0;
10455 char *_kwnames[] = { "self", NULL };
10456
10457 self = self;
10458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
10459 return NULL;
10460 if (_argo0) {
10461 if (_argo0 == Py_None) { _arg0 = NULL; }
10462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10464 return NULL;
10465 }
10466 }
10467{
10468 wxPy_BEGIN_ALLOW_THREADS;
10469 _result = (int )wxSpinCtrl_GetMax(_arg0);
10470
10471 wxPy_END_ALLOW_THREADS;
4dfaa61e 10472 if (PyErr_Occurred()) return NULL;
c368d904
RD
10473} _resultobj = Py_BuildValue("i",_result);
10474 return _resultobj;
10475}
10476
10477#define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10478static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10479 PyObject * _resultobj;
10480 int _result;
10481 wxSpinCtrl * _arg0;
10482 PyObject * _argo0 = 0;
10483 char *_kwnames[] = { "self", NULL };
10484
10485 self = self;
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
10487 return NULL;
10488 if (_argo0) {
10489 if (_argo0 == Py_None) { _arg0 = NULL; }
10490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10492 return NULL;
10493 }
10494 }
10495{
10496 wxPy_BEGIN_ALLOW_THREADS;
10497 _result = (int )wxSpinCtrl_GetMin(_arg0);
10498
10499 wxPy_END_ALLOW_THREADS;
4dfaa61e 10500 if (PyErr_Occurred()) return NULL;
c368d904
RD
10501} _resultobj = Py_BuildValue("i",_result);
10502 return _resultobj;
10503}
10504
10505#define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10506static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10507 PyObject * _resultobj;
10508 int _result;
10509 wxSpinCtrl * _arg0;
10510 PyObject * _argo0 = 0;
10511 char *_kwnames[] = { "self", NULL };
10512
10513 self = self;
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
10515 return NULL;
10516 if (_argo0) {
10517 if (_argo0 == Py_None) { _arg0 = NULL; }
10518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10520 return NULL;
10521 }
10522 }
10523{
10524 wxPy_BEGIN_ALLOW_THREADS;
10525 _result = (int )wxSpinCtrl_GetValue(_arg0);
10526
10527 wxPy_END_ALLOW_THREADS;
4dfaa61e 10528 if (PyErr_Occurred()) return NULL;
c368d904
RD
10529} _resultobj = Py_BuildValue("i",_result);
10530 return _resultobj;
10531}
10532
10533#define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10534static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject * _resultobj;
10536 wxSpinCtrl * _arg0;
10537 int _arg1;
10538 int _arg2;
10539 PyObject * _argo0 = 0;
10540 char *_kwnames[] = { "self","min","max", NULL };
10541
10542 self = self;
10543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
10544 return NULL;
10545 if (_argo0) {
10546 if (_argo0 == Py_None) { _arg0 = NULL; }
10547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10549 return NULL;
10550 }
10551 }
10552{
10553 wxPy_BEGIN_ALLOW_THREADS;
10554 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
10555
10556 wxPy_END_ALLOW_THREADS;
4dfaa61e 10557 if (PyErr_Occurred()) return NULL;
c368d904
RD
10558} Py_INCREF(Py_None);
10559 _resultobj = Py_None;
10560 return _resultobj;
10561}
10562
10563#define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10564static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10565 PyObject * _resultobj;
10566 wxSpinCtrl * _arg0;
10567 int _arg1;
10568 PyObject * _argo0 = 0;
10569 char *_kwnames[] = { "self","value", NULL };
10570
10571 self = self;
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
10573 return NULL;
10574 if (_argo0) {
10575 if (_argo0 == Py_None) { _arg0 = NULL; }
10576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10578 return NULL;
10579 }
10580 }
10581{
10582 wxPy_BEGIN_ALLOW_THREADS;
10583 wxSpinCtrl_SetValue(_arg0,_arg1);
10584
10585 wxPy_END_ALLOW_THREADS;
4dfaa61e 10586 if (PyErr_Occurred()) return NULL;
c368d904
RD
10587} Py_INCREF(Py_None);
10588 _resultobj = Py_None;
10589 return _resultobj;
10590}
10591
7a446686
RD
10592static void *SwigwxToggleButtonTowxControl(void *ptr) {
10593 wxToggleButton *src;
10594 wxControl *dest;
10595 src = (wxToggleButton *) ptr;
10596 dest = (wxControl *) src;
10597 return (void *) dest;
10598}
10599
10600static void *SwigwxToggleButtonTowxWindow(void *ptr) {
10601 wxToggleButton *src;
10602 wxWindow *dest;
10603 src = (wxToggleButton *) ptr;
10604 dest = (wxWindow *) src;
10605 return (void *) dest;
10606}
10607
10608static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
10609 wxToggleButton *src;
10610 wxEvtHandler *dest;
10611 src = (wxToggleButton *) ptr;
10612 dest = (wxEvtHandler *) src;
10613 return (void *) dest;
10614}
10615
9df61a29
RD
10616static void *SwigwxToggleButtonTowxObject(void *ptr) {
10617 wxToggleButton *src;
10618 wxObject *dest;
10619 src = (wxToggleButton *) ptr;
10620 dest = (wxObject *) src;
10621 return (void *) dest;
10622}
10623
7a446686
RD
10624#define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10625static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10626 PyObject * _resultobj;
10627 wxToggleButton * _result;
10628 wxWindow * _arg0;
10629 wxWindowID _arg1;
10630 wxString * _arg2;
10631 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10632 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10633 long _arg5 = (long ) 0;
10634 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
10635 char * _arg7 = (char *) "toggle";
10636 PyObject * _argo0 = 0;
10637 PyObject * _obj2 = 0;
10638 wxPoint temp;
10639 PyObject * _obj3 = 0;
10640 wxSize temp0;
10641 PyObject * _obj4 = 0;
10642 PyObject * _argo6 = 0;
10643 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
10644 char _ptemp[128];
10645
10646 self = self;
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
10648 return NULL;
10649 if (_argo0) {
10650 if (_argo0 == Py_None) { _arg0 = NULL; }
10651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10653 return NULL;
10654 }
10655 }
10656{
10657#if PYTHON_API_VERSION >= 1009
10658 char* tmpPtr; int tmpSize;
10659 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
10660 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10661 return NULL;
10662 }
10663 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
10664 return NULL;
10665 _arg2 = new wxString(tmpPtr, tmpSize);
10666#else
10667 if (!PyString_Check(_obj2)) {
10668 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10669 return NULL;
10670 }
10671 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
10672#endif
10673}
10674 if (_obj3)
10675{
10676 _arg3 = &temp;
10677 if (! wxPoint_helper(_obj3, &_arg3))
10678 return NULL;
10679}
10680 if (_obj4)
10681{
10682 _arg4 = &temp0;
10683 if (! wxSize_helper(_obj4, &_arg4))
10684 return NULL;
10685}
10686 if (_argo6) {
10687 if (_argo6 == Py_None) { _arg6 = NULL; }
10688 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
10689 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
10690 return NULL;
10691 }
10692 }
10693{
10694 wxPy_BEGIN_ALLOW_THREADS;
10695 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
10696
10697 wxPy_END_ALLOW_THREADS;
4dfaa61e 10698 if (PyErr_Occurred()) return NULL;
7a446686
RD
10699} if (_result) {
10700 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
10701 _resultobj = Py_BuildValue("s",_ptemp);
10702 } else {
10703 Py_INCREF(Py_None);
10704 _resultobj = Py_None;
10705 }
10706{
10707 if (_obj2)
10708 delete _arg2;
10709}
10710 return _resultobj;
10711}
10712
aa2a5b86
RD
10713#define new_wxPreToggleButton() (new wxToggleButton())
10714static PyObject *_wrap_new_wxPreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10715 PyObject * _resultobj;
10716 wxToggleButton * _result;
10717 char *_kwnames[] = { NULL };
10718 char _ptemp[128];
10719
10720 self = self;
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToggleButton",_kwnames))
10722 return NULL;
10723{
10724 wxPy_BEGIN_ALLOW_THREADS;
10725 _result = (wxToggleButton *)new_wxPreToggleButton();
10726
10727 wxPy_END_ALLOW_THREADS;
10728 if (PyErr_Occurred()) return NULL;
10729} if (_result) {
10730 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
10731 _resultobj = Py_BuildValue("s",_ptemp);
10732 } else {
10733 Py_INCREF(Py_None);
10734 _resultobj = Py_None;
10735 }
10736 return _resultobj;
10737}
10738
10739#define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10740static PyObject *_wrap_wxToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10741 PyObject * _resultobj;
10742 bool _result;
10743 wxToggleButton * _arg0;
10744 wxWindow * _arg1;
10745 wxWindowID _arg2;
10746 wxString * _arg3;
10747 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10748 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10749 long _arg6 = (long ) 0;
10750 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
10751 char * _arg8 = (char *) "toggle";
10752 PyObject * _argo0 = 0;
10753 PyObject * _argo1 = 0;
10754 PyObject * _obj3 = 0;
10755 wxPoint temp;
10756 PyObject * _obj4 = 0;
10757 wxSize temp0;
10758 PyObject * _obj5 = 0;
10759 PyObject * _argo7 = 0;
10760 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
10761
10762 self = self;
10763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxToggleButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
10764 return NULL;
10765 if (_argo0) {
10766 if (_argo0 == Py_None) { _arg0 = NULL; }
10767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
10768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
10769 return NULL;
10770 }
10771 }
10772 if (_argo1) {
10773 if (_argo1 == Py_None) { _arg1 = NULL; }
10774 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10775 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
10776 return NULL;
10777 }
10778 }
10779{
10780#if PYTHON_API_VERSION >= 1009
10781 char* tmpPtr; int tmpSize;
10782 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
10783 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10784 return NULL;
10785 }
10786 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
10787 return NULL;
10788 _arg3 = new wxString(tmpPtr, tmpSize);
10789#else
10790 if (!PyString_Check(_obj3)) {
10791 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10792 return NULL;
10793 }
10794 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
10795#endif
10796}
10797 if (_obj4)
10798{
10799 _arg4 = &temp;
10800 if (! wxPoint_helper(_obj4, &_arg4))
10801 return NULL;
10802}
10803 if (_obj5)
10804{
10805 _arg5 = &temp0;
10806 if (! wxSize_helper(_obj5, &_arg5))
10807 return NULL;
10808}
10809 if (_argo7) {
10810 if (_argo7 == Py_None) { _arg7 = NULL; }
10811 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
10812 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
10813 return NULL;
10814 }
10815 }
10816{
10817 wxPy_BEGIN_ALLOW_THREADS;
10818 _result = (bool )wxToggleButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
10819
10820 wxPy_END_ALLOW_THREADS;
10821 if (PyErr_Occurred()) return NULL;
10822} _resultobj = Py_BuildValue("i",_result);
10823{
10824 if (_obj3)
10825 delete _arg3;
10826}
10827 return _resultobj;
10828}
10829
7a446686
RD
10830#define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10831static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10832 PyObject * _resultobj;
10833 wxToggleButton * _arg0;
10834 bool _arg1;
10835 PyObject * _argo0 = 0;
10836 int tempbool1;
10837 char *_kwnames[] = { "self","value", NULL };
10838
10839 self = self;
10840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
10841 return NULL;
10842 if (_argo0) {
10843 if (_argo0 == Py_None) { _arg0 = NULL; }
10844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
10845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
10846 return NULL;
10847 }
10848 }
10849 _arg1 = (bool ) tempbool1;
10850{
10851 wxPy_BEGIN_ALLOW_THREADS;
10852 wxToggleButton_SetValue(_arg0,_arg1);
10853
10854 wxPy_END_ALLOW_THREADS;
4dfaa61e 10855 if (PyErr_Occurred()) return NULL;
7a446686
RD
10856} Py_INCREF(Py_None);
10857 _resultobj = Py_None;
10858 return _resultobj;
10859}
10860
10861#define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
10862static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10863 PyObject * _resultobj;
10864 bool _result;
10865 wxToggleButton * _arg0;
10866 PyObject * _argo0 = 0;
10867 char *_kwnames[] = { "self", NULL };
10868
10869 self = self;
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
10871 return NULL;
10872 if (_argo0) {
10873 if (_argo0 == Py_None) { _arg0 = NULL; }
10874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
10875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
10876 return NULL;
10877 }
10878 }
10879{
10880 wxPy_BEGIN_ALLOW_THREADS;
10881 _result = (bool )wxToggleButton_GetValue(_arg0);
10882
10883 wxPy_END_ALLOW_THREADS;
4dfaa61e 10884 if (PyErr_Occurred()) return NULL;
7a446686
RD
10885} _resultobj = Py_BuildValue("i",_result);
10886 return _resultobj;
10887}
10888
10889#define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
10890static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
10891 PyObject * _resultobj;
10892 wxToggleButton * _arg0;
10893 wxString * _arg1;
10894 PyObject * _argo0 = 0;
10895 PyObject * _obj1 = 0;
10896 char *_kwnames[] = { "self","label", NULL };
10897
10898 self = self;
10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
10900 return NULL;
10901 if (_argo0) {
10902 if (_argo0 == Py_None) { _arg0 = NULL; }
10903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
10904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
10905 return NULL;
10906 }
10907 }
10908{
10909#if PYTHON_API_VERSION >= 1009
10910 char* tmpPtr; int tmpSize;
10911 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
10912 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10913 return NULL;
10914 }
10915 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10916 return NULL;
10917 _arg1 = new wxString(tmpPtr, tmpSize);
10918#else
10919 if (!PyString_Check(_obj1)) {
10920 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10921 return NULL;
10922 }
10923 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10924#endif
10925}
10926{
10927 wxPy_BEGIN_ALLOW_THREADS;
10928 wxToggleButton_SetLabel(_arg0,*_arg1);
10929
10930 wxPy_END_ALLOW_THREADS;
4dfaa61e 10931 if (PyErr_Occurred()) return NULL;
7a446686
RD
10932} Py_INCREF(Py_None);
10933 _resultobj = Py_None;
10934{
10935 if (_obj1)
10936 delete _arg1;
10937}
10938 return _resultobj;
10939}
10940
70551f47 10941static PyMethodDef controlscMethods[] = {
7a446686
RD
10942 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
10943 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
10944 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10945 { "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
10946 { "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
7a446686 10947 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
10948 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
10949 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
10950 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
10951 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
10952 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10953 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
10954 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 10955 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
10956 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
10957 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
10958 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
10959 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
10960 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
10961 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
10962 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
10963 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
10964 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
10965 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
10966 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
10967 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
10968 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
10969 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
10970 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
10971 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
10972 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
10973 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
10974 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10975 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
10976 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
10977 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
10978 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
10979 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10980 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
10981 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
10982 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
10983 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
10984 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
10985 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
10986 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
2c8a649d 10987 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
107e4716 10988 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
107e4716 10989 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
2c8a649d 10990 { "wxRadioBox_SetItemLabel", (PyCFunction) _wrap_wxRadioBox_SetItemLabel, METH_VARARGS | METH_KEYWORDS },
107e4716 10991 { "wxRadioBox_GetItemLabel", (PyCFunction) _wrap_wxRadioBox_GetItemLabel, METH_VARARGS | METH_KEYWORDS },
2c8a649d 10992 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
10993 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
10994 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
10995 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
10996 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
10997 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
10998 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
10999 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
11000 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
11001 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11002 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
11003 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11004 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
11005 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11006 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
11007 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11008 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
11009 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11010 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
11011 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11012 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
11013 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
11014 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
2fc99549 11015 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11016 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
11017 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
11018 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11019 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11020 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
11021 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
107e4716 11022 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
4120ef2b 11023 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 11024 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
11025 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11026 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11027 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
4120ef2b
RD
11028 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11029 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11030 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
11031 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11032 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
11033 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11034 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11035 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
11036 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
11037 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
11038 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11039 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
11040 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
11041 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11042 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11043 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11044 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11045 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
11046 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
11047 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
11048 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
11049 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
11050 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11051 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
11052 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
11053 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
11054 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
11055 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
11056 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
11057 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11058 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11059 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
11060 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11061 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11062 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11063 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11064 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
107e4716 11065 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
11066 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11067 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11068 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11069 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11070 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11071 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11072 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11073 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11074 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11075 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
11076 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
107e4716 11077 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
d29aba2f 11078 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11079 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
11080 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11081 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
11082 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11083 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
11084 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11085 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
11086 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11087 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
11088 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
11089 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
11090 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
2c8a649d 11091 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
37f6a977 11092 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
107e4716 11093 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
107e4716 11094 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
107e4716 11095 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11096 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
11097 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11098 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
11099 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
11100 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11101 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
11102 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
107e4716 11103 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11104 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
11105 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
107e4716 11106 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11107 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
11108 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11109 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
11110 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
11111 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11112 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
11113 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
11114 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
11115 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11116 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
11117 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11118 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
11119 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
107e4716 11120 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
2c8a649d 11121 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11122 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11123 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
11124 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11125 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11126 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11127 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
11128 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
11129 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
107e4716 11130 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11131 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11132 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11133 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
11134 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11135 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
11136 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
107e4716 11137 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
2c8a649d 11138 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11139 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11140 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
11141 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
107e4716 11142 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
107e4716 11143 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11144 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
11145 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11146 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
11147 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11148 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11149 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
11150 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
107e4716 11151 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
11152 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
11153 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
11154 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11155 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
11156 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11157 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11158 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11159 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11160 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11161 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11162 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11163 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
11164 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
107e4716 11165 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 11166 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
11167 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11168 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
107e4716 11169 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11170 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
11171 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
107e4716 11172 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
65191ae8
RD
11173 { "wxControlWithItems_SetClientData", (PyCFunction) _wrap_wxControlWithItems_SetClientData, METH_VARARGS | METH_KEYWORDS },
11174 { "wxControlWithItems_GetClientData", (PyCFunction) _wrap_wxControlWithItems_GetClientData, METH_VARARGS | METH_KEYWORDS },
11175 { "wxControlWithItems_Append", (PyCFunction) _wrap_wxControlWithItems_Append, METH_VARARGS | METH_KEYWORDS },
11176 { "wxControlWithItems_GetStringSelection", (PyCFunction) _wrap_wxControlWithItems_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11177 { "wxControlWithItems_GetSelection", (PyCFunction) _wrap_wxControlWithItems_GetSelection, METH_VARARGS | METH_KEYWORDS },
11178 { "wxControlWithItems_Select", (PyCFunction) _wrap_wxControlWithItems_Select, METH_VARARGS | METH_KEYWORDS },
11179 { "wxControlWithItems_FindString", (PyCFunction) _wrap_wxControlWithItems_FindString, METH_VARARGS | METH_KEYWORDS },
11180 { "wxControlWithItems_SetString", (PyCFunction) _wrap_wxControlWithItems_SetString, METH_VARARGS | METH_KEYWORDS },
11181 { "wxControlWithItems_GetString", (PyCFunction) _wrap_wxControlWithItems_GetString, METH_VARARGS | METH_KEYWORDS },
11182 { "wxControlWithItems_GetCount", (PyCFunction) _wrap_wxControlWithItems_GetCount, METH_VARARGS | METH_KEYWORDS },
11183 { "wxControlWithItems_Delete", (PyCFunction) _wrap_wxControlWithItems_Delete, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
11184 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
11185 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
56f5d962 11186 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
11187 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
11188 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
56f5d962 11189 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
70551f47
RD
11190 { NULL, NULL }
11191};
2d091820
RD
11192#ifdef __cplusplus
11193}
11194#endif
11195/*
11196 * This table is used by the pointer type-checker
11197 */
11198static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2d091820 11199 { "_signed_long","_long",0},
4120ef2b 11200 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
11201 { "_wxPrintQuality","_int",0},
11202 { "_wxPrintQuality","_signed_int",0},
11203 { "_wxPrintQuality","_unsigned_int",0},
11204 { "_wxPrintQuality","_wxWindowID",0},
11205 { "_wxPrintQuality","_uint",0},
11206 { "_wxPrintQuality","_EBool",0},
11207 { "_wxPrintQuality","_size_t",0},
c368d904 11208 { "_wxPrintQuality","_time_t",0},
7a446686
RD
11209 { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
11210 { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
f6bcfd97
BP
11211 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
11212 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
2d091820
RD
11213 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
11214 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
11215 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11216 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11217 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11218 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11219 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11220 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11221 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11222 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11223 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11224 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11225 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11226 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11227 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11228 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11229 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler},
11230 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
11231 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11232 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11233 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11234 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11235 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11236 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11237 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler},
11238 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
11239 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11240 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11241 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler},
11242 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
11243 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11244 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11245 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11246 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11247 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler},
11248 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
65191ae8
RD
11249 { "_class_wxEvtHandler","_class_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
11250 { "_class_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
2d091820
RD
11251 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler},
11252 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
2d091820 11253 { "_byte","_unsigned_char",0},
2d091820
RD
11254 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice},
11255 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
2d091820
RD
11256 { "_long","_unsigned_long",0},
11257 { "_long","_signed_long",0},
9df61a29
RD
11258 { "_class_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject},
11259 { "_class_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
11260 { "_class_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11261 { "_class_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11262 { "_class_wxObject","_class_wxSlider",SwigwxSliderTowxObject},
11263 { "_class_wxObject","_wxSlider",SwigwxSliderTowxObject},
11264 { "_class_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject},
11265 { "_class_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
11266 { "_class_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject},
11267 { "_class_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
11268 { "_class_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11269 { "_class_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11270 { "_class_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject},
11271 { "_class_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
11272 { "_class_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject},
11273 { "_class_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
11274 { "_class_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject},
11275 { "_class_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
11276 { "_class_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11277 { "_class_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11278 { "_class_wxObject","_class_wxListBox",SwigwxListBoxTowxObject},
11279 { "_class_wxObject","_wxListBox",SwigwxListBoxTowxObject},
11280 { "_class_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject},
11281 { "_class_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
11282 { "_class_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject},
11283 { "_class_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
11284 { "_class_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject},
11285 { "_class_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
11286 { "_class_wxObject","_class_wxGauge",SwigwxGaugeTowxObject},
11287 { "_class_wxObject","_wxGauge",SwigwxGaugeTowxObject},
11288 { "_class_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject},
11289 { "_class_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
11290 { "_class_wxObject","_class_wxChoice",SwigwxChoiceTowxObject},
11291 { "_class_wxObject","_wxChoice",SwigwxChoiceTowxObject},
11292 { "_class_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject},
11293 { "_class_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
11294 { "_class_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11295 { "_class_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11296 { "_class_wxObject","_class_wxButton",SwigwxButtonTowxObject},
11297 { "_class_wxObject","_wxButton",SwigwxButtonTowxObject},
65191ae8
RD
11298 { "_class_wxObject","_class_wxControlWithItems",SwigwxControlWithItemsTowxObject},
11299 { "_class_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
9df61a29
RD
11300 { "_class_wxObject","_class_wxControl",SwigwxControlTowxObject},
11301 { "_class_wxObject","_wxControl",SwigwxControlTowxObject},
4120ef2b 11302 { "_size_t","_wxCoord",0},
2d091820 11303 { "_size_t","_wxPrintQuality",0},
c368d904 11304 { "_size_t","_time_t",0},
2d091820
RD
11305 { "_size_t","_unsigned_int",0},
11306 { "_size_t","_int",0},
11307 { "_size_t","_wxWindowID",0},
11308 { "_size_t","_uint",0},
4120ef2b 11309 { "_uint","_wxCoord",0},
2d091820 11310 { "_uint","_wxPrintQuality",0},
c368d904 11311 { "_uint","_time_t",0},
2d091820
RD
11312 { "_uint","_size_t",0},
11313 { "_uint","_unsigned_int",0},
11314 { "_uint","_int",0},
11315 { "_uint","_wxWindowID",0},
f6bcfd97 11316 { "_wxChar","_char",0},
2d091820
RD
11317 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton},
11318 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
f6bcfd97 11319 { "_char","_wxChar",0},
f6bcfd97
BP
11320 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
11321 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
059a841c 11322 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4120ef2b 11323 { "_EBool","_wxCoord",0},
2d091820
RD
11324 { "_EBool","_wxPrintQuality",0},
11325 { "_EBool","_signed_int",0},
11326 { "_EBool","_int",0},
11327 { "_EBool","_wxWindowID",0},
2d091820 11328 { "_unsigned_long","_long",0},
059a841c 11329 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
f6bcfd97
BP
11330 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
11331 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
4120ef2b 11332 { "_signed_int","_wxCoord",0},
2d091820
RD
11333 { "_signed_int","_wxPrintQuality",0},
11334 { "_signed_int","_EBool",0},
11335 { "_signed_int","_wxWindowID",0},
11336 { "_signed_int","_int",0},
2d091820
RD
11337 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
11338 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
2d091820
RD
11339 { "_WXTYPE","_short",0},
11340 { "_WXTYPE","_signed_short",0},
11341 { "_WXTYPE","_unsigned_short",0},
2d091820
RD
11342 { "_unsigned_short","_WXTYPE",0},
11343 { "_unsigned_short","_short",0},
7a446686
RD
11344 { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow},
11345 { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
f6bcfd97
BP
11346 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
11347 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
2d091820
RD
11348 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
11349 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
11350 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow},
11351 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
11352 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow},
11353 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
11354 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11355 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11356 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow},
11357 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
11358 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow},
11359 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
11360 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11361 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11362 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11363 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11364 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow},
11365 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
11366 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow},
11367 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
11368 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow},
11369 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
11370 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow},
11371 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
11372 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow},
11373 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
11374 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow},
11375 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
11376 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow},
11377 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
11378 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow},
11379 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
11380 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11381 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11382 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow},
11383 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow},
65191ae8
RD
11384 { "_class_wxWindow","_class_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
11385 { "_class_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
2d091820
RD
11386 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow},
11387 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow},
9df61a29
RD
11388 { "_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject},
11389 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
11390 { "_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11391 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11392 { "_wxObject","_class_wxSlider",SwigwxSliderTowxObject},
11393 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
11394 { "_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject},
11395 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
11396 { "_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject},
11397 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
11398 { "_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11399 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11400 { "_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject},
11401 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
11402 { "_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject},
11403 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
11404 { "_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject},
11405 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
11406 { "_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11407 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11408 { "_wxObject","_class_wxListBox",SwigwxListBoxTowxObject},
11409 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
11410 { "_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject},
11411 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
11412 { "_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject},
11413 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
11414 { "_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject},
11415 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
11416 { "_wxObject","_class_wxGauge",SwigwxGaugeTowxObject},
11417 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
11418 { "_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject},
11419 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
11420 { "_wxObject","_class_wxChoice",SwigwxChoiceTowxObject},
11421 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
11422 { "_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject},
11423 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
11424 { "_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11425 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11426 { "_wxObject","_class_wxButton",SwigwxButtonTowxObject},
11427 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
65191ae8
RD
11428 { "_wxObject","_class_wxControlWithItems",SwigwxControlWithItemsTowxObject},
11429 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
9df61a29
RD
11430 { "_wxObject","_class_wxControl",SwigwxControlTowxObject},
11431 { "_wxObject","_wxControl",SwigwxControlTowxObject},
2d091820
RD
11432 { "_signed_short","_WXTYPE",0},
11433 { "_signed_short","_short",0},
2d091820 11434 { "_unsigned_char","_byte",0},
7a446686
RD
11435 { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl},
11436 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
f6bcfd97
BP
11437 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
11438 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
2d091820
RD
11439 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
11440 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
11441 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl},
11442 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
11443 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl},
11444 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
11445 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11446 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11447 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl},
11448 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
11449 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl},
11450 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
11451 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl},
11452 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
11453 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11454 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11455 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl},
11456 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
11457 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl},
11458 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
11459 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl},
11460 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
11461 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl},
11462 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
11463 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl},
11464 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
11465 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl},
11466 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
11467 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl},
11468 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
11469 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl},
11470 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
11471 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11472 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11473 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl},
11474 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
65191ae8
RD
11475 { "_wxControl","_class_wxControlWithItems",SwigwxControlWithItemsTowxControl},
11476 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
2d091820
RD
11477 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
11478 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
4120ef2b 11479 { "_unsigned_int","_wxCoord",0},
2d091820 11480 { "_unsigned_int","_wxPrintQuality",0},
c368d904 11481 { "_unsigned_int","_time_t",0},
2d091820
RD
11482 { "_unsigned_int","_size_t",0},
11483 { "_unsigned_int","_uint",0},
11484 { "_unsigned_int","_wxWindowID",0},
11485 { "_unsigned_int","_int",0},
2d091820
RD
11486 { "_short","_WXTYPE",0},
11487 { "_short","_unsigned_short",0},
11488 { "_short","_signed_short",0},
65191ae8
RD
11489 { "_wxControlWithItems","_class_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
11490 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
11491 { "_wxControlWithItems","_class_wxListBox",SwigwxListBoxTowxControlWithItems},
11492 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
11493 { "_wxControlWithItems","_class_wxComboBox",SwigwxComboBoxTowxControlWithItems},
11494 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems},
11495 { "_wxControlWithItems","_class_wxChoice",SwigwxChoiceTowxControlWithItems},
11496 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
2d091820
RD
11497 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice},
11498 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
4120ef2b 11499 { "_wxWindowID","_wxCoord",0},
2d091820 11500 { "_wxWindowID","_wxPrintQuality",0},
c368d904 11501 { "_wxWindowID","_time_t",0},
2d091820
RD
11502 { "_wxWindowID","_size_t",0},
11503 { "_wxWindowID","_EBool",0},
11504 { "_wxWindowID","_uint",0},
11505 { "_wxWindowID","_int",0},
11506 { "_wxWindowID","_signed_int",0},
11507 { "_wxWindowID","_unsigned_int",0},
4120ef2b 11508 { "_int","_wxCoord",0},
2d091820 11509 { "_int","_wxPrintQuality",0},
c368d904 11510 { "_int","_time_t",0},
2d091820
RD
11511 { "_int","_size_t",0},
11512 { "_int","_EBool",0},
11513 { "_int","_uint",0},
11514 { "_int","_wxWindowID",0},
11515 { "_int","_unsigned_int",0},
11516 { "_int","_signed_int",0},
c368d904
RD
11517 { "_time_t","_wxCoord",0},
11518 { "_time_t","_wxPrintQuality",0},
11519 { "_time_t","_unsigned_int",0},
11520 { "_time_t","_int",0},
11521 { "_time_t","_wxWindowID",0},
11522 { "_time_t","_uint",0},
11523 { "_time_t","_size_t",0},
2d091820
RD
11524 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton},
11525 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
7a446686
RD
11526 { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl},
11527 { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
f6bcfd97
BP
11528 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
11529 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
2d091820
RD
11530 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
11531 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl},
11532 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl},
11533 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
11534 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl},
11535 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
11536 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11537 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11538 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl},
11539 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
11540 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl},
11541 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
11542 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl},
11543 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
11544 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11545 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11546 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl},
11547 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl},
11548 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl},
11549 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
11550 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl},
11551 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
11552 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl},
11553 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
11554 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl},
11555 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl},
11556 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl},
11557 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
11558 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl},
11559 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl},
11560 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl},
11561 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
11562 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11563 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11564 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl},
11565 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl},
65191ae8
RD
11566 { "_class_wxControl","_class_wxControlWithItems",SwigwxControlWithItemsTowxControl},
11567 { "_class_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
4120ef2b
RD
11568 { "_wxCoord","_int",0},
11569 { "_wxCoord","_signed_int",0},
11570 { "_wxCoord","_unsigned_int",0},
11571 { "_wxCoord","_wxWindowID",0},
11572 { "_wxCoord","_uint",0},
11573 { "_wxCoord","_EBool",0},
11574 { "_wxCoord","_size_t",0},
c368d904 11575 { "_wxCoord","_time_t",0},
4120ef2b 11576 { "_wxCoord","_wxPrintQuality",0},
65191ae8
RD
11577 { "_class_wxControlWithItems","_class_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
11578 { "_class_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
11579 { "_class_wxControlWithItems","_class_wxListBox",SwigwxListBoxTowxControlWithItems},
11580 { "_class_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
11581 { "_class_wxControlWithItems","_class_wxComboBox",SwigwxComboBoxTowxControlWithItems},
11582 { "_class_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems},
11583 { "_class_wxControlWithItems","_class_wxChoice",SwigwxChoiceTowxControlWithItems},
11584 { "_class_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
7a446686
RD
11585 { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
11586 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
f6bcfd97
BP
11587 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
11588 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
2d091820
RD
11589 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
11590 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
11591 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11592 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11593 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11594 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11595 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11596 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11597 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11598 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11599 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11600 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11601 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11602 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11603 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11604 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11605 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler},
11606 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
11607 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11608 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11609 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11610 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11611 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11612 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11613 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler},
11614 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
11615 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11616 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11617 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler},
11618 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
11619 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11620 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11621 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11622 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11623 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler},
11624 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
65191ae8
RD
11625 { "_wxEvtHandler","_class_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
11626 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
2d091820
RD
11627 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler},
11628 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
7a446686
RD
11629 { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow},
11630 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
f6bcfd97
BP
11631 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
11632 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
2d091820
RD
11633 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
11634 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
11635 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow},
11636 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
11637 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow},
11638 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
11639 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11640 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11641 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow},
11642 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
11643 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow},
11644 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
11645 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11646 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11647 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11648 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11649 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow},
11650 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
11651 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow},
11652 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
11653 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow},
11654 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
11655 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow},
11656 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
11657 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow},
11658 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
11659 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow},
11660 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
11661 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow},
11662 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
11663 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow},
11664 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
11665 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11666 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11667 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow},
11668 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
65191ae8
RD
11669 { "_wxWindow","_class_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
11670 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
2d091820
RD
11671 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow},
11672 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
2d091820
RD
11673{0,0,0}};
11674
70551f47
RD
11675static PyObject *SWIG_globals;
11676#ifdef __cplusplus
11677extern "C"
11678#endif
2d091820 11679SWIGEXPORT(void) initcontrolsc() {
70551f47
RD
11680 PyObject *m, *d;
11681 SWIG_globals = SWIG_newvarlink();
11682 m = Py_InitModule("controlsc", controlscMethods);
11683 d = PyModule_GetDict(m);
37f6a977
RD
11684 PyDict_SetItemString(d,"cvar", SWIG_globals);
11685 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
7a446686 11686 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
2d091820
RD
11687{
11688 int i;
11689 for (i = 0; _swig_mapping[i].n1; i++)
11690 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11691}
70551f47 11692}