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