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