]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/controls.cpp
fix text scrolling in GTK2 (patch 703988)
[wxWidgets.git] / wxPython / src / msw / controls.cpp
CommitLineData
8ab979d7 1/*
c368d904 2 * FILE : src/msw/controls.cpp
8ab979d7
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
dbbb98cd 6 * Version 1.1 (Build 883)
8ab979d7
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
7e50db3f
RD
22#include "Python.h"
23
8ab979d7
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
1d99702e 29# define SWIGEXPORT(a) __declspec(dllexport) a
8ab979d7
RD
30# else
31# if defined(__BORLANDC__)
c368d904 32# define SWIGEXPORT(a) a _export
8ab979d7 33# else
c368d904 34# define SWIGEXPORT(a) a
8ab979d7
RD
35# endif
36# endif
37#else
c368d904 38# define SWIGEXPORT(a) a
8ab979d7
RD
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
8ab979d7
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
1d99702e 47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
8ab979d7
RD
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
8ab979d7
RD
53#define SWIG_init initcontrolsc
54
55#define SWIG_name "controlsc"
56
57#include "helpers.h"
58#include <wx/slider.h>
b639c3c5 59#include <wx/spinbutt.h>
f6bcfd97 60#include <wx/spinctrl.h>
cf694132 61#include <wx/dynarray.h>
8bf5d46e 62#include <wx/statline.h>
d1679124 63#include <wx/tglbtn.h>
8ab979d7
RD
64
65#ifdef __WXMSW__
9c039d08
RD
66#if wxUSE_OWNER_DRAWN
67#include <wx/checklst.h>
68#endif
8ab979d7
RD
69#endif
70
be4d9c1f
RD
71#ifdef __WXGTK__
72#include <wx/checklst.h>
73#endif
74
bb0054cd 75
8ab979d7
RD
76static PyObject* t_output_helper(PyObject* target, PyObject* o) {
77 PyObject* o2;
78 PyObject* o3;
79
e0672e2f 80 if (!target) {
8ab979d7 81 target = o;
e0672e2f 82 } else if (target == Py_None) {
8ab979d7
RD
83 Py_DECREF(Py_None);
84 target = o;
e0672e2f 85 } else {
8ab979d7
RD
86 if (!PyTuple_Check(target)) {
87 o2 = target;
88 target = PyTuple_New(1);
89 PyTuple_SetItem(target, 0, o2);
90 }
e0672e2f
RD
91 o3 = PyTuple_New(1);
92 PyTuple_SetItem(o3, 0, o);
8ab979d7
RD
93
94 o2 = target;
e0672e2f
RD
95 target = PySequence_Concat(o2, o3);
96 Py_DECREF(o2);
8ab979d7
RD
97 Py_DECREF(o3);
98 }
99 return target;
100}
137b5242
RD
101
102//#define DECLARE_DEF_STRING(name) static wxString* wxPy##name
103
104 // Put some wx default wxChar* values into wxStrings.
105 DECLARE_DEF_STRING(ControlNameStr);
106 DECLARE_DEF_STRING(ButtonNameStr);
107 DECLARE_DEF_STRING(CheckBoxNameStr);
108 DECLARE_DEF_STRING(ChoiceNameStr);
109 DECLARE_DEF_STRING(ComboBoxNameStr);
110 DECLARE_DEF_STRING(GaugeNameStr);
111 DECLARE_DEF_STRING(StaticBoxNameStr);
112 DECLARE_DEF_STRING(StaticTextNameStr);
113 DECLARE_DEF_STRING(ListBoxNameStr);
114 DECLARE_DEF_STRING(TextCtrlNameStr);
115 DECLARE_DEF_STRING(ScrollBarNameStr);
116 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
117 DECLARE_DEF_STRING(StaticBitmapNameStr);
118 DECLARE_DEF_STRING(RadioBoxNameStr);
119 DECLARE_DEF_STRING(RadioButtonNameStr);
120 DECLARE_DEF_STRING(SliderNameStr);
121
122 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
123 DECLARE_DEF_STRING(SpinCtrlNameStr);
124
125 static const wxString wxPyEmptyString(wxT(""));
1d99702e
RD
126#ifdef __cplusplus
127extern "C" {
128#endif
2f90df85
RD
129static int _wrap_wxDefaultValidator_set(PyObject *val) {
130
131 PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only.");
132 return 1;
133}
134
135static PyObject *_wrap_wxDefaultValidator_get() {
136 PyObject * pyobj;
137 char ptemp[128];
138
139 SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p");
140 pyobj = PyString_FromString(ptemp);
141 return pyobj;
142}
143
8ab979d7
RD
144static void *SwigwxControlTowxWindow(void *ptr) {
145 wxControl *src;
146 wxWindow *dest;
147 src = (wxControl *) ptr;
148 dest = (wxWindow *) src;
149 return (void *) dest;
150}
151
152static void *SwigwxControlTowxEvtHandler(void *ptr) {
153 wxControl *src;
154 wxEvtHandler *dest;
155 src = (wxControl *) ptr;
156 dest = (wxEvtHandler *) src;
157 return (void *) dest;
158}
159
9416aa89
RD
160static void *SwigwxControlTowxObject(void *ptr) {
161 wxControl *src;
162 wxObject *dest;
163 src = (wxControl *) ptr;
164 dest = (wxObject *) src;
165 return (void *) dest;
166}
167
9b3d3bc4 168#define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6999b0d8
RD
169static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
170 PyObject * _resultobj;
171 wxControl * _result;
9b3d3bc4
RD
172 wxWindow * _arg0;
173 wxWindowID _arg1;
e508a2b6
RD
174 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
175 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
9b3d3bc4 176 long _arg4 = (long ) 0;
e508a2b6 177 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 178 wxString * _arg6 = (wxString *) &wxPyControlNameStr;
9b3d3bc4
RD
179 PyObject * _argo0 = 0;
180 wxPoint temp;
181 PyObject * _obj2 = 0;
182 wxSize temp0;
183 PyObject * _obj3 = 0;
184 PyObject * _argo5 = 0;
137b5242 185 PyObject * _obj6 = 0;
9b3d3bc4 186 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
6999b0d8
RD
187 char _ptemp[128];
188
189 self = self;
137b5242 190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
9b3d3bc4
RD
191 return NULL;
192 if (_argo0) {
193 if (_argo0 == Py_None) { _arg0 = NULL; }
194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
196 return NULL;
197 }
198 }
199 if (_obj2)
200{
201 _arg2 = &temp;
202 if (! wxPoint_helper(_obj2, &_arg2))
6999b0d8 203 return NULL;
9b3d3bc4
RD
204}
205 if (_obj3)
206{
207 _arg3 = &temp0;
208 if (! wxSize_helper(_obj3, &_arg3))
209 return NULL;
210}
211 if (_argo5) {
7e50db3f 212 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
9b3d3bc4
RD
213 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
214 return NULL;
215 }
216 }
137b5242
RD
217 if (_obj6)
218{
219 _arg6 = wxString_in_helper(_obj6);
220 if (_arg6 == NULL)
221 return NULL;
222}
6999b0d8 223{
4268f798 224 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 225 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
6999b0d8 226
4268f798 227 wxPyEndAllowThreads(__tstate);
493f1553 228 if (PyErr_Occurred()) return NULL;
6999b0d8
RD
229} if (_result) {
230 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
231 _resultobj = Py_BuildValue("s",_ptemp);
232 } else {
233 Py_INCREF(Py_None);
234 _resultobj = Py_None;
235 }
137b5242
RD
236{
237 if (_obj6)
238 delete _arg6;
239}
6999b0d8
RD
240 return _resultobj;
241}
242
09f3d4e6
RD
243#define new_wxPreControl() (new wxControl())
244static PyObject *_wrap_new_wxPreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
245 PyObject * _resultobj;
246 wxControl * _result;
247 char *_kwnames[] = { NULL };
248 char _ptemp[128];
249
250 self = self;
251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreControl",_kwnames))
252 return NULL;
253{
4268f798 254 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 255 _result = (wxControl *)new_wxPreControl();
09f3d4e6 256
4268f798 257 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
258 if (PyErr_Occurred()) return NULL;
259} if (_result) {
260 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
261 _resultobj = Py_BuildValue("s",_ptemp);
262 } else {
263 Py_INCREF(Py_None);
264 _resultobj = Py_None;
265 }
266 return _resultobj;
267}
268
269#define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
270static PyObject *_wrap_wxControl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
271 PyObject * _resultobj;
272 bool _result;
273 wxControl * _arg0;
274 wxWindow * _arg1;
275 wxWindowID _arg2;
276 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
277 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
278 long _arg5 = (long ) 0;
279 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 280 wxString * _arg7 = (wxString *) &wxPyControlNameStr;
09f3d4e6
RD
281 PyObject * _argo0 = 0;
282 PyObject * _argo1 = 0;
283 wxPoint temp;
284 PyObject * _obj3 = 0;
285 wxSize temp0;
286 PyObject * _obj4 = 0;
287 PyObject * _argo6 = 0;
137b5242 288 PyObject * _obj7 = 0;
09f3d4e6
RD
289 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
290
291 self = self;
137b5242 292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOO:wxControl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
293 return NULL;
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
298 return NULL;
299 }
300 }
301 if (_argo1) {
302 if (_argo1 == Py_None) { _arg1 = NULL; }
303 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
304 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
305 return NULL;
306 }
307 }
308 if (_obj3)
309{
310 _arg3 = &temp;
311 if (! wxPoint_helper(_obj3, &_arg3))
312 return NULL;
313}
314 if (_obj4)
315{
316 _arg4 = &temp0;
317 if (! wxSize_helper(_obj4, &_arg4))
318 return NULL;
319}
320 if (_argo6) {
7e50db3f 321 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
09f3d4e6
RD
322 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
323 return NULL;
324 }
325 }
137b5242
RD
326 if (_obj7)
327{
328 _arg7 = wxString_in_helper(_obj7);
329 if (_arg7 == NULL)
330 return NULL;
331}
09f3d4e6 332{
4268f798 333 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 334 _result = (bool )wxControl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 335
4268f798 336 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
337 if (PyErr_Occurred()) return NULL;
338} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
339{
340 if (_obj7)
341 delete _arg7;
342}
09f3d4e6
RD
343 return _resultobj;
344}
345
8ab979d7 346#define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
efc5f224 347static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
348 PyObject * _resultobj;
349 wxControl * _arg0;
350 wxCommandEvent * _arg1;
1d99702e
RD
351 PyObject * _argo0 = 0;
352 PyObject * _argo1 = 0;
efc5f224 353 char *_kwnames[] = { "self","event", NULL };
8ab979d7
RD
354
355 self = self;
efc5f224 356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1))
8ab979d7 357 return NULL;
1d99702e
RD
358 if (_argo0) {
359 if (_argo0 == Py_None) { _arg0 = NULL; }
360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
8ab979d7
RD
361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
362 return NULL;
363 }
364 }
1d99702e 365 if (_argo1) {
7e50db3f 366 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
8ab979d7
RD
367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
368 return NULL;
369 }
370 }
cf694132 371{
4268f798 372 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 373 wxControl_Command(_arg0,*_arg1);
cf694132 374
4268f798 375 wxPyEndAllowThreads(__tstate);
493f1553 376 if (PyErr_Occurred()) return NULL;
cf694132 377} Py_INCREF(Py_None);
8ab979d7
RD
378 _resultobj = Py_None;
379 return _resultobj;
380}
381
382#define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 383static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
384 PyObject * _resultobj;
385 wxString * _result;
386 wxControl * _arg0;
1d99702e 387 PyObject * _argo0 = 0;
efc5f224 388 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
389
390 self = self;
efc5f224 391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
8ab979d7 392 return NULL;
1d99702e
RD
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
8ab979d7
RD
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
397 return NULL;
398 }
399 }
8ab979d7 400{
4268f798 401 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 402 _result = new wxString (wxControl_GetLabel(_arg0));
cf694132 403
4268f798 404 wxPyEndAllowThreads(__tstate);
493f1553 405 if (PyErr_Occurred()) return NULL;
cf694132 406}{
c8bc7bb8 407#if wxUSE_UNICODE
7e50db3f 408 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 409#else
eec92d76 410 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 411#endif
8ab979d7
RD
412}
413{
414 delete _result;
415}
416 return _resultobj;
417}
418
419#define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 420static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
421 PyObject * _resultobj;
422 wxControl * _arg0;
423 wxString * _arg1;
1d99702e 424 PyObject * _argo0 = 0;
8ab979d7 425 PyObject * _obj1 = 0;
efc5f224 426 char *_kwnames[] = { "self","label", NULL };
8ab979d7
RD
427
428 self = self;
efc5f224 429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
8ab979d7 430 return NULL;
1d99702e
RD
431 if (_argo0) {
432 if (_argo0 == Py_None) { _arg0 = NULL; }
433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
8ab979d7
RD
434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
435 return NULL;
436 }
437 }
438{
c8bc7bb8
RD
439 _arg1 = wxString_in_helper(_obj1);
440 if (_arg1 == NULL)
8ab979d7 441 return NULL;
8ab979d7 442}
cf694132 443{
4268f798 444 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 445 wxControl_SetLabel(_arg0,*_arg1);
cf694132 446
4268f798 447 wxPyEndAllowThreads(__tstate);
493f1553 448 if (PyErr_Occurred()) return NULL;
cf694132 449} Py_INCREF(Py_None);
8ab979d7
RD
450 _resultobj = Py_None;
451{
452 if (_obj1)
453 delete _arg1;
454}
455 return _resultobj;
456}
457
900d9886
RD
458static void *SwigwxControlWithItemsTowxControl(void *ptr) {
459 wxControlWithItems *src;
460 wxControl *dest;
461 src = (wxControlWithItems *) ptr;
462 dest = (wxControl *) src;
463 return (void *) dest;
464}
465
466static void *SwigwxControlWithItemsTowxWindow(void *ptr) {
467 wxControlWithItems *src;
468 wxWindow *dest;
469 src = (wxControlWithItems *) ptr;
470 dest = (wxWindow *) src;
471 return (void *) dest;
472}
473
474static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr) {
475 wxControlWithItems *src;
476 wxEvtHandler *dest;
477 src = (wxControlWithItems *) ptr;
478 dest = (wxEvtHandler *) src;
479 return (void *) dest;
480}
481
482static void *SwigwxControlWithItemsTowxObject(void *ptr) {
483 wxControlWithItems *src;
484 wxObject *dest;
485 src = (wxControlWithItems *) ptr;
486 dest = (wxObject *) src;
487 return (void *) dest;
488}
489
490#define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
491static PyObject *_wrap_wxControlWithItems_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
492 PyObject * _resultobj;
493 wxControlWithItems * _arg0;
494 int _arg1;
495 PyObject * _argo0 = 0;
496 char *_kwnames[] = { "self","n", NULL };
497
498 self = self;
499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Delete",_kwnames,&_argo0,&_arg1))
500 return NULL;
501 if (_argo0) {
502 if (_argo0 == Py_None) { _arg0 = NULL; }
503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
505 return NULL;
506 }
507 }
508{
4268f798 509 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 510 wxControlWithItems_Delete(_arg0,_arg1);
900d9886 511
4268f798 512 wxPyEndAllowThreads(__tstate);
900d9886
RD
513 if (PyErr_Occurred()) return NULL;
514} Py_INCREF(Py_None);
515 _resultobj = Py_None;
516 return _resultobj;
517}
518
519#define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
520static PyObject *_wrap_wxControlWithItems_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
521 PyObject * _resultobj;
522 int _result;
523 wxControlWithItems * _arg0;
524 PyObject * _argo0 = 0;
525 char *_kwnames[] = { "self", NULL };
526
527 self = self;
528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetCount",_kwnames,&_argo0))
529 return NULL;
530 if (_argo0) {
531 if (_argo0 == Py_None) { _arg0 = NULL; }
532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
534 return NULL;
535 }
536 }
537{
4268f798 538 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 539 _result = (int )wxControlWithItems_GetCount(_arg0);
900d9886 540
4268f798 541 wxPyEndAllowThreads(__tstate);
900d9886
RD
542 if (PyErr_Occurred()) return NULL;
543} _resultobj = Py_BuildValue("i",_result);
544 return _resultobj;
545}
546
547#define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
548static PyObject *_wrap_wxControlWithItems_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
549 PyObject * _resultobj;
550 wxString * _result;
551 wxControlWithItems * _arg0;
552 int _arg1;
553 PyObject * _argo0 = 0;
554 char *_kwnames[] = { "self","n", NULL };
555
556 self = self;
557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetString",_kwnames,&_argo0,&_arg1))
558 return NULL;
559 if (_argo0) {
560 if (_argo0 == Py_None) { _arg0 = NULL; }
561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
563 return NULL;
564 }
565 }
566{
4268f798 567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 568 _result = new wxString (wxControlWithItems_GetString(_arg0,_arg1));
900d9886 569
4268f798 570 wxPyEndAllowThreads(__tstate);
900d9886
RD
571 if (PyErr_Occurred()) return NULL;
572}{
c8bc7bb8 573#if wxUSE_UNICODE
7e50db3f 574 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 575#else
900d9886 576 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 577#endif
900d9886
RD
578}
579{
580 delete _result;
581}
582 return _resultobj;
583}
584
585#define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
586static PyObject *_wrap_wxControlWithItems_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
587 PyObject * _resultobj;
588 wxControlWithItems * _arg0;
589 int _arg1;
590 wxString * _arg2;
591 PyObject * _argo0 = 0;
592 PyObject * _obj2 = 0;
593 char *_kwnames[] = { "self","n","s", NULL };
594
595 self = self;
596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
597 return NULL;
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
602 return NULL;
603 }
604 }
605{
c8bc7bb8
RD
606 _arg2 = wxString_in_helper(_obj2);
607 if (_arg2 == NULL)
900d9886 608 return NULL;
900d9886
RD
609}
610{
4268f798 611 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 612 wxControlWithItems_SetString(_arg0,_arg1,*_arg2);
900d9886 613
4268f798 614 wxPyEndAllowThreads(__tstate);
900d9886
RD
615 if (PyErr_Occurred()) return NULL;
616} Py_INCREF(Py_None);
617 _resultobj = Py_None;
618{
619 if (_obj2)
620 delete _arg2;
621}
622 return _resultobj;
623}
624
625#define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
626static PyObject *_wrap_wxControlWithItems_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
627 PyObject * _resultobj;
628 int _result;
629 wxControlWithItems * _arg0;
630 wxString * _arg1;
631 PyObject * _argo0 = 0;
632 PyObject * _obj1 = 0;
633 char *_kwnames[] = { "self","s", NULL };
634
635 self = self;
636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_FindString",_kwnames,&_argo0,&_obj1))
637 return NULL;
638 if (_argo0) {
639 if (_argo0 == Py_None) { _arg0 = NULL; }
640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
642 return NULL;
643 }
644 }
645{
c8bc7bb8
RD
646 _arg1 = wxString_in_helper(_obj1);
647 if (_arg1 == NULL)
900d9886 648 return NULL;
900d9886
RD
649}
650{
4268f798 651 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 652 _result = (int )wxControlWithItems_FindString(_arg0,*_arg1);
900d9886 653
4268f798 654 wxPyEndAllowThreads(__tstate);
900d9886
RD
655 if (PyErr_Occurred()) return NULL;
656} _resultobj = Py_BuildValue("i",_result);
657{
658 if (_obj1)
659 delete _arg1;
660}
661 return _resultobj;
662}
663
664#define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
665static PyObject *_wrap_wxControlWithItems_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
666 PyObject * _resultobj;
667 wxControlWithItems * _arg0;
668 int _arg1;
669 PyObject * _argo0 = 0;
670 char *_kwnames[] = { "self","n", NULL };
671
672 self = self;
673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Select",_kwnames,&_argo0,&_arg1))
674 return NULL;
675 if (_argo0) {
676 if (_argo0 == Py_None) { _arg0 = NULL; }
677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
679 return NULL;
680 }
681 }
682{
4268f798 683 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 684 wxControlWithItems_Select(_arg0,_arg1);
900d9886 685
4268f798 686 wxPyEndAllowThreads(__tstate);
900d9886
RD
687 if (PyErr_Occurred()) return NULL;
688} Py_INCREF(Py_None);
689 _resultobj = Py_None;
690 return _resultobj;
691}
692
693#define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
694static PyObject *_wrap_wxControlWithItems_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
695 PyObject * _resultobj;
696 int _result;
697 wxControlWithItems * _arg0;
698 PyObject * _argo0 = 0;
699 char *_kwnames[] = { "self", NULL };
700
701 self = self;
702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetSelection",_kwnames,&_argo0))
703 return NULL;
704 if (_argo0) {
705 if (_argo0 == Py_None) { _arg0 = NULL; }
706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
708 return NULL;
709 }
710 }
711{
4268f798 712 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 713 _result = (int )wxControlWithItems_GetSelection(_arg0);
900d9886 714
4268f798 715 wxPyEndAllowThreads(__tstate);
900d9886
RD
716 if (PyErr_Occurred()) return NULL;
717} _resultobj = Py_BuildValue("i",_result);
718 return _resultobj;
719}
720
721#define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
722static PyObject *_wrap_wxControlWithItems_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
723 PyObject * _resultobj;
724 wxString * _result;
725 wxControlWithItems * _arg0;
726 PyObject * _argo0 = 0;
727 char *_kwnames[] = { "self", NULL };
728
729 self = self;
730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetStringSelection",_kwnames,&_argo0))
731 return NULL;
732 if (_argo0) {
733 if (_argo0 == Py_None) { _arg0 = NULL; }
734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
736 return NULL;
737 }
738 }
739{
4268f798 740 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 741 _result = new wxString (wxControlWithItems_GetStringSelection(_arg0));
900d9886 742
4268f798 743 wxPyEndAllowThreads(__tstate);
900d9886
RD
744 if (PyErr_Occurred()) return NULL;
745}{
c8bc7bb8 746#if wxUSE_UNICODE
7e50db3f 747 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 748#else
900d9886 749 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 750#endif
900d9886
RD
751}
752{
753 delete _result;
754}
755 return _resultobj;
756}
757
758static void wxControlWithItems_Append(wxControlWithItems *self,const wxString & item,PyObject * clientData) {
759 if (clientData) {
760 wxPyClientData* data = new wxPyClientData(clientData);
761 self->Append(item, data);
762 } else
763 self->Append(item);
764 }
765static PyObject *_wrap_wxControlWithItems_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
766 PyObject * _resultobj;
767 wxControlWithItems * _arg0;
768 wxString * _arg1;
769 PyObject * _arg2 = (PyObject *) NULL;
770 PyObject * _argo0 = 0;
771 PyObject * _obj1 = 0;
772 PyObject * _obj2 = 0;
773 char *_kwnames[] = { "self","item","clientData", NULL };
774
775 self = self;
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxControlWithItems_Append",_kwnames,&_argo0,&_obj1,&_obj2))
777 return NULL;
778 if (_argo0) {
779 if (_argo0 == Py_None) { _arg0 = NULL; }
780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
782 return NULL;
783 }
784 }
785{
c8bc7bb8
RD
786 _arg1 = wxString_in_helper(_obj1);
787 if (_arg1 == NULL)
900d9886 788 return NULL;
900d9886
RD
789}
790 if (_obj2)
791{
792 _arg2 = _obj2;
793}
794{
4268f798 795 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 796 wxControlWithItems_Append(_arg0,*_arg1,_arg2);
900d9886 797
4268f798 798 wxPyEndAllowThreads(__tstate);
900d9886
RD
799 if (PyErr_Occurred()) return NULL;
800} Py_INCREF(Py_None);
801 _resultobj = Py_None;
802{
803 if (_obj1)
804 delete _arg1;
805}
806 return _resultobj;
807}
808
809static PyObject * wxControlWithItems_GetClientData(wxControlWithItems *self,int n) {
810 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
811 if (data) {
812 Py_INCREF(data->m_obj);
813 return data->m_obj;
814 } else {
815 Py_INCREF(Py_None);
816 return Py_None;
817 }
818 }
819static PyObject *_wrap_wxControlWithItems_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
820 PyObject * _resultobj;
821 PyObject * _result;
822 wxControlWithItems * _arg0;
823 int _arg1;
824 PyObject * _argo0 = 0;
825 char *_kwnames[] = { "self","n", NULL };
826
827 self = self;
828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetClientData",_kwnames,&_argo0,&_arg1))
829 return NULL;
830 if (_argo0) {
831 if (_argo0 == Py_None) { _arg0 = NULL; }
832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
834 return NULL;
835 }
836 }
837{
4268f798 838 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 839 _result = (PyObject *)wxControlWithItems_GetClientData(_arg0,_arg1);
900d9886 840
4268f798 841 wxPyEndAllowThreads(__tstate);
900d9886
RD
842 if (PyErr_Occurred()) return NULL;
843}{
844 _resultobj = _result;
845}
846 return _resultobj;
847}
848
849static void wxControlWithItems_SetClientData(wxControlWithItems *self,int n,PyObject * clientData) {
850 wxPyClientData* data = new wxPyClientData(clientData);
851 self->SetClientObject(n, data);
852 }
853static PyObject *_wrap_wxControlWithItems_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
854 PyObject * _resultobj;
855 wxControlWithItems * _arg0;
856 int _arg1;
857 PyObject * _arg2;
858 PyObject * _argo0 = 0;
859 PyObject * _obj2 = 0;
860 char *_kwnames[] = { "self","n","clientData", NULL };
861
862 self = self;
863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
864 return NULL;
865 if (_argo0) {
866 if (_argo0 == Py_None) { _arg0 = NULL; }
867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
869 return NULL;
870 }
871 }
872{
873 _arg2 = _obj2;
874}
875{
4268f798 876 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 877 wxControlWithItems_SetClientData(_arg0,_arg1,_arg2);
900d9886 878
4268f798 879 wxPyEndAllowThreads(__tstate);
900d9886
RD
880 if (PyErr_Occurred()) return NULL;
881} Py_INCREF(Py_None);
882 _resultobj = Py_None;
883 return _resultobj;
884}
885
ce914f73
RD
886#define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
887static PyObject *_wrap_wxControlWithItems_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
888 PyObject * _resultobj;
889 wxControlWithItems * _arg0;
890 wxArrayString * _arg1;
891 PyObject * _argo0 = 0;
892 PyObject * _obj1 = 0;
893 char *_kwnames[] = { "self","strings", NULL };
894
895 self = self;
896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_AppendItems",_kwnames,&_argo0,&_obj1))
897 return NULL;
898 if (_argo0) {
899 if (_argo0 == Py_None) { _arg0 = NULL; }
900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
902 return NULL;
903 }
904 }
905{
906 if (! PySequence_Check(_obj1)) {
907 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
908 return NULL;
909 }
910 _arg1 = new wxArrayString;
911 int i, len=PySequence_Length(_obj1);
912 for (i=0; i<len; i++) {
913 PyObject* item = PySequence_GetItem(_obj1, i);
c8bc7bb8
RD
914#if wxUSE_UNICODE
915 PyObject* str = PyObject_Unicode(item);
c8bc7bb8 916#else
ce914f73 917 PyObject* str = PyObject_Str(item);
c8bc7bb8 918#endif
7e50db3f 919 _arg1->Add(Py2wxString(str));
ce914f73
RD
920 Py_DECREF(item);
921 Py_DECREF(str);
922 }
923}
924{
925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 926 wxControlWithItems_AppendItems(_arg0,*_arg1);
ce914f73
RD
927
928 wxPyEndAllowThreads(__tstate);
929 if (PyErr_Occurred()) return NULL;
930} Py_INCREF(Py_None);
931 _resultobj = Py_None;
932{
933 if (_obj1)
934 delete _arg1;
935}
936 return _resultobj;
937}
938
8ab979d7
RD
939static void *SwigwxButtonTowxControl(void *ptr) {
940 wxButton *src;
941 wxControl *dest;
942 src = (wxButton *) ptr;
943 dest = (wxControl *) src;
944 return (void *) dest;
945}
946
947static void *SwigwxButtonTowxWindow(void *ptr) {
948 wxButton *src;
949 wxWindow *dest;
950 src = (wxButton *) ptr;
951 dest = (wxWindow *) src;
952 return (void *) dest;
953}
954
955static void *SwigwxButtonTowxEvtHandler(void *ptr) {
956 wxButton *src;
957 wxEvtHandler *dest;
958 src = (wxButton *) ptr;
959 dest = (wxEvtHandler *) src;
960 return (void *) dest;
961}
962
9416aa89
RD
963static void *SwigwxButtonTowxObject(void *ptr) {
964 wxButton *src;
965 wxObject *dest;
966 src = (wxButton *) ptr;
967 dest = (wxObject *) src;
968 return (void *) dest;
969}
970
8ab979d7 971#define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 972static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
973 PyObject * _resultobj;
974 wxButton * _result;
975 wxWindow * _arg0;
976 wxWindowID _arg1;
977 wxString * _arg2;
e508a2b6
RD
978 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
979 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 980 long _arg5 = (long ) 0;
e508a2b6 981 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 982 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
1d99702e 983 PyObject * _argo0 = 0;
8ab979d7 984 PyObject * _obj2 = 0;
2f90df85
RD
985 wxPoint temp;
986 PyObject * _obj3 = 0;
987 wxSize temp0;
988 PyObject * _obj4 = 0;
1d99702e 989 PyObject * _argo6 = 0;
137b5242 990 PyObject * _obj7 = 0;
efc5f224 991 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
8ab979d7
RD
992 char _ptemp[128];
993
994 self = self;
137b5242 995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
8ab979d7 996 return NULL;
1d99702e
RD
997 if (_argo0) {
998 if (_argo0 == Py_None) { _arg0 = NULL; }
999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
1001 return NULL;
1002 }
1003 }
1004{
c8bc7bb8
RD
1005 _arg2 = wxString_in_helper(_obj2);
1006 if (_arg2 == NULL)
8ab979d7 1007 return NULL;
8ab979d7 1008}
2f90df85
RD
1009 if (_obj3)
1010{
1011 _arg3 = &temp;
1012 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 1013 return NULL;
2f90df85
RD
1014}
1015 if (_obj4)
1016{
1017 _arg4 = &temp0;
1018 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 1019 return NULL;
2f90df85 1020}
1d99702e 1021 if (_argo6) {
7e50db3f 1022 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
1023 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1024 return NULL;
1025 }
1026 }
137b5242
RD
1027 if (_obj7)
1028{
1029 _arg7 = wxString_in_helper(_obj7);
1030 if (_arg7 == NULL)
1031 return NULL;
1032}
cf694132 1033{
4268f798 1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1035 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
cf694132 1036
4268f798 1037 wxPyEndAllowThreads(__tstate);
493f1553 1038 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1039} if (_result) {
1040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1041 _resultobj = Py_BuildValue("s",_ptemp);
1042 } else {
1043 Py_INCREF(Py_None);
1044 _resultobj = Py_None;
1045 }
8ab979d7
RD
1046{
1047 if (_obj2)
1048 delete _arg2;
137b5242
RD
1049}
1050{
1051 if (_obj7)
1052 delete _arg7;
8ab979d7
RD
1053}
1054 return _resultobj;
1055}
1056
09f3d4e6
RD
1057#define new_wxPreButton() (new wxButton())
1058static PyObject *_wrap_new_wxPreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1059 PyObject * _resultobj;
1060 wxButton * _result;
1061 char *_kwnames[] = { NULL };
1062 char _ptemp[128];
1063
1064 self = self;
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreButton",_kwnames))
1066 return NULL;
1067{
4268f798 1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1069 _result = (wxButton *)new_wxPreButton();
09f3d4e6 1070
4268f798 1071 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1072 if (PyErr_Occurred()) return NULL;
1073} if (_result) {
1074 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1075 _resultobj = Py_BuildValue("s",_ptemp);
1076 } else {
1077 Py_INCREF(Py_None);
1078 _resultobj = Py_None;
1079 }
1080 return _resultobj;
1081}
1082
1083#define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1084static PyObject *_wrap_wxButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1085 PyObject * _resultobj;
1086 bool _result;
1087 wxButton * _arg0;
1088 wxWindow * _arg1;
1089 wxWindowID _arg2;
1090 wxString * _arg3;
1091 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1092 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1093 long _arg6 = (long ) 0;
1094 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
137b5242 1095 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
09f3d4e6
RD
1096 PyObject * _argo0 = 0;
1097 PyObject * _argo1 = 0;
1098 PyObject * _obj3 = 0;
1099 wxPoint temp;
1100 PyObject * _obj4 = 0;
1101 wxSize temp0;
1102 PyObject * _obj5 = 0;
1103 PyObject * _argo7 = 0;
137b5242 1104 PyObject * _obj8 = 0;
09f3d4e6
RD
1105 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
1106
1107 self = self;
137b5242 1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
09f3d4e6
RD
1109 return NULL;
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1114 return NULL;
1115 }
1116 }
1117 if (_argo1) {
1118 if (_argo1 == Py_None) { _arg1 = NULL; }
1119 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1120 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1121 return NULL;
1122 }
1123 }
1124{
c8bc7bb8
RD
1125 _arg3 = wxString_in_helper(_obj3);
1126 if (_arg3 == NULL)
09f3d4e6 1127 return NULL;
09f3d4e6
RD
1128}
1129 if (_obj4)
1130{
1131 _arg4 = &temp;
1132 if (! wxPoint_helper(_obj4, &_arg4))
1133 return NULL;
1134}
1135 if (_obj5)
1136{
1137 _arg5 = &temp0;
1138 if (! wxSize_helper(_obj5, &_arg5))
1139 return NULL;
1140}
1141 if (_argo7) {
7e50db3f 1142 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
09f3d4e6
RD
1143 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1144 return NULL;
1145 }
1146 }
137b5242
RD
1147 if (_obj8)
1148{
1149 _arg8 = wxString_in_helper(_obj8);
1150 if (_arg8 == NULL)
1151 return NULL;
1152}
09f3d4e6 1153{
4268f798 1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1155 _result = (bool )wxButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
09f3d4e6 1156
4268f798 1157 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1158 if (PyErr_Occurred()) return NULL;
1159} _resultobj = Py_BuildValue("i",_result);
1160{
1161 if (_obj3)
1162 delete _arg3;
137b5242
RD
1163}
1164{
1165 if (_obj8)
1166 delete _arg8;
09f3d4e6
RD
1167}
1168 return _resultobj;
1169}
1170
8ab979d7 1171#define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
efc5f224 1172static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1173 PyObject * _resultobj;
1174 wxButton * _arg0;
1d99702e 1175 PyObject * _argo0 = 0;
efc5f224 1176 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1177
1178 self = self;
efc5f224 1179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
8ab979d7 1180 return NULL;
1d99702e
RD
1181 if (_argo0) {
1182 if (_argo0 == Py_None) { _arg0 = NULL; }
1183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
8ab979d7
RD
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1185 return NULL;
1186 }
1187 }
cf694132 1188{
4268f798 1189 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1190 wxButton_SetDefault(_arg0);
cf694132 1191
4268f798 1192 wxPyEndAllowThreads(__tstate);
493f1553 1193 if (PyErr_Occurred()) return NULL;
cf694132 1194} Py_INCREF(Py_None);
8ab979d7
RD
1195 _resultobj = Py_None;
1196 return _resultobj;
1197}
1198
9b3d3bc4
RD
1199#define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1200static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1201 PyObject * _resultobj;
1202 wxButton * _arg0;
1203 wxColour * _arg1;
1204 PyObject * _argo0 = 0;
f6bcfd97
BP
1205 wxColour temp;
1206 PyObject * _obj1 = 0;
9b3d3bc4
RD
1207 char *_kwnames[] = { "self","colour", NULL };
1208
1209 self = self;
f6bcfd97 1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
9b3d3bc4
RD
1211 return NULL;
1212 if (_argo0) {
1213 if (_argo0 == Py_None) { _arg0 = NULL; }
1214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1216 return NULL;
1217 }
1218 }
f6bcfd97
BP
1219{
1220 _arg1 = &temp;
1221 if (! wxColour_helper(_obj1, &_arg1))
9b3d3bc4 1222 return NULL;
f6bcfd97 1223}
9b3d3bc4 1224{
4268f798 1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1226 wxButton_SetBackgroundColour(_arg0,*_arg1);
9b3d3bc4 1227
4268f798 1228 wxPyEndAllowThreads(__tstate);
493f1553 1229 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1230} Py_INCREF(Py_None);
1231 _resultobj = Py_None;
1232 return _resultobj;
1233}
1234
1235#define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1236static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject * _resultobj;
1238 wxButton * _arg0;
1239 wxColour * _arg1;
1240 PyObject * _argo0 = 0;
f6bcfd97
BP
1241 wxColour temp;
1242 PyObject * _obj1 = 0;
9b3d3bc4
RD
1243 char *_kwnames[] = { "self","colour", NULL };
1244
1245 self = self;
f6bcfd97 1246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
9b3d3bc4
RD
1247 return NULL;
1248 if (_argo0) {
1249 if (_argo0 == Py_None) { _arg0 = NULL; }
1250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1252 return NULL;
1253 }
1254 }
f6bcfd97
BP
1255{
1256 _arg1 = &temp;
1257 if (! wxColour_helper(_obj1, &_arg1))
9b3d3bc4 1258 return NULL;
f6bcfd97 1259}
9b3d3bc4 1260{
4268f798 1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1262 wxButton_SetForegroundColour(_arg0,*_arg1);
9b3d3bc4 1263
4268f798 1264 wxPyEndAllowThreads(__tstate);
493f1553 1265 if (PyErr_Occurred()) return NULL;
9b3d3bc4
RD
1266} Py_INCREF(Py_None);
1267 _resultobj = Py_None;
1268 return _resultobj;
1269}
1270
09f3d4e6
RD
1271#define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
1272static PyObject *_wrap_wxButton_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1273 PyObject * _resultobj;
1274 wxButton * _arg0;
1275 wxBitmap * _arg1;
1276 PyObject * _argo0 = 0;
1277 PyObject * _argo1 = 0;
1278 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7 1279
09f3d4e6
RD
1280 self = self;
1281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetImageLabel",_kwnames,&_argo0,&_argo1))
1282 return NULL;
1283 if (_argo0) {
1284 if (_argo0 == Py_None) { _arg0 = NULL; }
1285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
1287 return NULL;
1288 }
1289 }
1290 if (_argo1) {
7e50db3f 1291 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
09f3d4e6
RD
1292 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
1293 return NULL;
1294 }
1295 }
1296{
4268f798 1297 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1298 wxButton_SetImageLabel(_arg0,*_arg1);
8ab979d7 1299
4268f798 1300 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1301 if (PyErr_Occurred()) return NULL;
1302} Py_INCREF(Py_None);
1303 _resultobj = Py_None;
1304 return _resultobj;
8ab979d7
RD
1305}
1306
09f3d4e6
RD
1307#define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
1308static PyObject *_wrap_wxButton_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1309 PyObject * _resultobj;
1310 wxButton * _arg0;
1311 wxCoord _arg1;
1312 wxCoord _arg2;
1313 PyObject * _argo0 = 0;
1314 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7 1315
09f3d4e6
RD
1316 self = self;
1317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxButton_SetImageMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1318 return NULL;
1319 if (_argo0) {
1320 if (_argo0 == Py_None) { _arg0 = NULL; }
1321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
1323 return NULL;
1324 }
1325 }
1326{
4268f798 1327 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1328 wxButton_SetImageMargins(_arg0,_arg1,_arg2);
09f3d4e6 1329
4268f798 1330 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1331 if (PyErr_Occurred()) return NULL;
1332} Py_INCREF(Py_None);
1333 _resultobj = Py_None;
1334 return _resultobj;
1335}
1336
1337static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1338 PyObject * _resultobj;
1339 wxSize * _result;
1340 char *_kwnames[] = { NULL };
1341 char _ptemp[128];
1342
1343 self = self;
1344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames))
1345 return NULL;
1346{
4268f798 1347 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1348 _result = new wxSize (wxButton::GetDefaultSize());
09f3d4e6 1349
4268f798 1350 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1351 if (PyErr_Occurred()) return NULL;
1352} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1353 _resultobj = Py_BuildValue("s",_ptemp);
1354 return _resultobj;
1355}
1356
1357static void *SwigwxBitmapButtonTowxButton(void *ptr) {
1358 wxBitmapButton *src;
1359 wxButton *dest;
1360 src = (wxBitmapButton *) ptr;
1361 dest = (wxButton *) src;
1362 return (void *) dest;
1363}
1364
1365static void *SwigwxBitmapButtonTowxControl(void *ptr) {
1366 wxBitmapButton *src;
1367 wxControl *dest;
1368 src = (wxBitmapButton *) ptr;
1369 dest = (wxControl *) src;
1370 return (void *) dest;
1371}
1372
1373static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
1374 wxBitmapButton *src;
1375 wxWindow *dest;
1376 src = (wxBitmapButton *) ptr;
1377 dest = (wxWindow *) src;
1378 return (void *) dest;
1379}
1380
1381static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
1382 wxBitmapButton *src;
1383 wxEvtHandler *dest;
1384 src = (wxBitmapButton *) ptr;
1385 dest = (wxEvtHandler *) src;
1386 return (void *) dest;
1387}
1388
1389static void *SwigwxBitmapButtonTowxObject(void *ptr) {
1390 wxBitmapButton *src;
1391 wxObject *dest;
1392 src = (wxBitmapButton *) ptr;
1393 dest = (wxObject *) src;
9416aa89
RD
1394 return (void *) dest;
1395}
1396
8ab979d7 1397#define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 1398static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1399 PyObject * _resultobj;
1400 wxBitmapButton * _result;
1401 wxWindow * _arg0;
1402 wxWindowID _arg1;
1403 wxBitmap * _arg2;
e508a2b6
RD
1404 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1405 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 1406 long _arg5 = (long ) wxBU_AUTODRAW;
e508a2b6 1407 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 1408 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
1d99702e
RD
1409 PyObject * _argo0 = 0;
1410 PyObject * _argo2 = 0;
2f90df85
RD
1411 wxPoint temp;
1412 PyObject * _obj3 = 0;
1413 wxSize temp0;
1414 PyObject * _obj4 = 0;
1d99702e 1415 PyObject * _argo6 = 0;
137b5242 1416 PyObject * _obj7 = 0;
efc5f224 1417 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
8ab979d7
RD
1418 char _ptemp[128];
1419
1420 self = self;
137b5242 1421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
8ab979d7 1422 return NULL;
1d99702e
RD
1423 if (_argo0) {
1424 if (_argo0 == Py_None) { _arg0 = NULL; }
1425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
1426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1427 return NULL;
1428 }
1429 }
1d99702e 1430 if (_argo2) {
7e50db3f 1431 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
8ab979d7
RD
1432 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1433 return NULL;
1434 }
1435 }
2f90df85
RD
1436 if (_obj3)
1437{
1438 _arg3 = &temp;
1439 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 1440 return NULL;
2f90df85
RD
1441}
1442 if (_obj4)
1443{
1444 _arg4 = &temp0;
1445 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 1446 return NULL;
2f90df85 1447}
1d99702e 1448 if (_argo6) {
7e50db3f 1449 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
1450 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1451 return NULL;
1452 }
1453 }
137b5242
RD
1454 if (_obj7)
1455{
1456 _arg7 = wxString_in_helper(_obj7);
1457 if (_arg7 == NULL)
1458 return NULL;
1459}
cf694132 1460{
4268f798 1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1462 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
cf694132 1463
4268f798 1464 wxPyEndAllowThreads(__tstate);
493f1553 1465 if (PyErr_Occurred()) return NULL;
1d99702e
RD
1466} if (_result) {
1467 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1468 _resultobj = Py_BuildValue("s",_ptemp);
1469 } else {
1470 Py_INCREF(Py_None);
1471 _resultobj = Py_None;
1472 }
137b5242
RD
1473{
1474 if (_obj7)
1475 delete _arg7;
1476}
8ab979d7
RD
1477 return _resultobj;
1478}
1479
09f3d4e6
RD
1480#define new_wxPreBitmapButton() (new wxBitmapButton())
1481static PyObject *_wrap_new_wxPreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1482 PyObject * _resultobj;
1483 wxBitmapButton * _result;
1484 char *_kwnames[] = { NULL };
1485 char _ptemp[128];
1486
1487 self = self;
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreBitmapButton",_kwnames))
1489 return NULL;
1490{
4268f798 1491 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1492 _result = (wxBitmapButton *)new_wxPreBitmapButton();
09f3d4e6 1493
4268f798 1494 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1495 if (PyErr_Occurred()) return NULL;
1496} if (_result) {
1497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1498 _resultobj = Py_BuildValue("s",_ptemp);
1499 } else {
1500 Py_INCREF(Py_None);
1501 _resultobj = Py_None;
1502 }
1503 return _resultobj;
1504}
1505
1506#define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1507static PyObject *_wrap_wxBitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1508 PyObject * _resultobj;
1509 bool _result;
1510 wxBitmapButton * _arg0;
1511 wxWindow * _arg1;
1512 wxWindowID _arg2;
1513 wxBitmap * _arg3;
1514 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1515 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1516 long _arg6 = (long ) wxBU_AUTODRAW;
1517 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
137b5242 1518 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
09f3d4e6
RD
1519 PyObject * _argo0 = 0;
1520 PyObject * _argo1 = 0;
1521 PyObject * _argo3 = 0;
1522 wxPoint temp;
1523 PyObject * _obj4 = 0;
1524 wxSize temp0;
1525 PyObject * _obj5 = 0;
1526 PyObject * _argo7 = 0;
137b5242 1527 PyObject * _obj8 = 0;
09f3d4e6
RD
1528 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL };
1529
1530 self = self;
137b5242 1531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
09f3d4e6
RD
1532 return NULL;
1533 if (_argo0) {
1534 if (_argo0 == Py_None) { _arg0 = NULL; }
1535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1537 return NULL;
1538 }
1539 }
1540 if (_argo1) {
1541 if (_argo1 == Py_None) { _arg1 = NULL; }
1542 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1544 return NULL;
1545 }
1546 }
1547 if (_argo3) {
7e50db3f 1548 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
09f3d4e6
RD
1549 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1550 return NULL;
1551 }
1552 }
1553 if (_obj4)
1554{
1555 _arg4 = &temp;
1556 if (! wxPoint_helper(_obj4, &_arg4))
1557 return NULL;
1558}
1559 if (_obj5)
1560{
1561 _arg5 = &temp0;
1562 if (! wxSize_helper(_obj5, &_arg5))
1563 return NULL;
1564}
1565 if (_argo7) {
7e50db3f 1566 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
09f3d4e6
RD
1567 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1568 return NULL;
1569 }
1570 }
137b5242
RD
1571 if (_obj8)
1572{
1573 _arg8 = wxString_in_helper(_obj8);
1574 if (_arg8 == NULL)
1575 return NULL;
1576}
09f3d4e6 1577{
4268f798 1578 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 1579 _result = (bool )wxBitmapButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
09f3d4e6 1580
4268f798 1581 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
1582 if (PyErr_Occurred()) return NULL;
1583} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
1584{
1585 if (_obj8)
1586 delete _arg8;
1587}
09f3d4e6
RD
1588 return _resultobj;
1589}
1590
8ab979d7 1591#define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
efc5f224 1592static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1593 PyObject * _resultobj;
1594 wxBitmap * _result;
1595 wxBitmapButton * _arg0;
1d99702e 1596 PyObject * _argo0 = 0;
efc5f224 1597 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1598 char _ptemp[128];
1599
1600 self = self;
efc5f224 1601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
8ab979d7 1602 return NULL;
1d99702e
RD
1603 if (_argo0) {
1604 if (_argo0 == Py_None) { _arg0 = NULL; }
1605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1607 return NULL;
1608 }
1609 }
cf694132 1610{
4268f798 1611 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1612 _result = new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0));
cf694132 1613
4268f798 1614 wxPyEndAllowThreads(__tstate);
493f1553 1615 if (PyErr_Occurred()) return NULL;
c5943253
RD
1616} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1617 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1618 return _resultobj;
1619}
1620
1621#define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
efc5f224 1622static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1623 PyObject * _resultobj;
1624 wxBitmap * _result;
1625 wxBitmapButton * _arg0;
1d99702e 1626 PyObject * _argo0 = 0;
efc5f224 1627 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1628 char _ptemp[128];
1629
1630 self = self;
efc5f224 1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
8ab979d7 1632 return NULL;
1d99702e
RD
1633 if (_argo0) {
1634 if (_argo0 == Py_None) { _arg0 = NULL; }
1635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1637 return NULL;
1638 }
1639 }
cf694132 1640{
4268f798 1641 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1642 _result = new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0));
cf694132 1643
4268f798 1644 wxPyEndAllowThreads(__tstate);
493f1553 1645 if (PyErr_Occurred()) return NULL;
c5943253
RD
1646} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1647 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1648 return _resultobj;
1649}
1650
1651#define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
efc5f224 1652static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1653 PyObject * _resultobj;
1654 wxBitmap * _result;
1655 wxBitmapButton * _arg0;
1d99702e 1656 PyObject * _argo0 = 0;
efc5f224 1657 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1658 char _ptemp[128];
1659
1660 self = self;
efc5f224 1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0))
8ab979d7 1662 return NULL;
1d99702e
RD
1663 if (_argo0) {
1664 if (_argo0 == Py_None) { _arg0 = NULL; }
1665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1667 return NULL;
1668 }
1669 }
cf694132 1670{
4268f798 1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1672 _result = new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0));
cf694132 1673
4268f798 1674 wxPyEndAllowThreads(__tstate);
493f1553 1675 if (PyErr_Occurred()) return NULL;
c5943253
RD
1676} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1677 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1678 return _resultobj;
1679}
1680
1681#define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
efc5f224 1682static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1683 PyObject * _resultobj;
1684 wxBitmap * _result;
1685 wxBitmapButton * _arg0;
1d99702e 1686 PyObject * _argo0 = 0;
efc5f224 1687 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
1688 char _ptemp[128];
1689
1690 self = self;
efc5f224 1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
8ab979d7 1692 return NULL;
1d99702e
RD
1693 if (_argo0) {
1694 if (_argo0 == Py_None) { _arg0 = NULL; }
1695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1697 return NULL;
1698 }
1699 }
cf694132 1700{
4268f798 1701 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1702 _result = new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0));
cf694132 1703
4268f798 1704 wxPyEndAllowThreads(__tstate);
493f1553 1705 if (PyErr_Occurred()) return NULL;
c5943253
RD
1706} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1707 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
1708 return _resultobj;
1709}
1710
1711#define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
efc5f224 1712static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1713 PyObject * _resultobj;
1714 wxBitmapButton * _arg0;
1715 wxBitmap * _arg1;
1d99702e
RD
1716 PyObject * _argo0 = 0;
1717 PyObject * _argo1 = 0;
efc5f224 1718 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1719
1720 self = self;
efc5f224 1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
8ab979d7 1722 return NULL;
1d99702e
RD
1723 if (_argo0) {
1724 if (_argo0 == Py_None) { _arg0 = NULL; }
1725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1727 return NULL;
1728 }
1729 }
1d99702e 1730 if (_argo1) {
7e50db3f 1731 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1732 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1733 return NULL;
1734 }
1735 }
cf694132 1736{
4268f798 1737 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1738 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
cf694132 1739
4268f798 1740 wxPyEndAllowThreads(__tstate);
493f1553 1741 if (PyErr_Occurred()) return NULL;
cf694132 1742} Py_INCREF(Py_None);
8ab979d7
RD
1743 _resultobj = Py_None;
1744 return _resultobj;
1745}
1746
1747#define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
efc5f224 1748static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1749 PyObject * _resultobj;
1750 wxBitmapButton * _arg0;
1751 wxBitmap * _arg1;
1d99702e
RD
1752 PyObject * _argo0 = 0;
1753 PyObject * _argo1 = 0;
efc5f224 1754 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1755
1756 self = self;
efc5f224 1757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
8ab979d7 1758 return NULL;
1d99702e
RD
1759 if (_argo0) {
1760 if (_argo0 == Py_None) { _arg0 = NULL; }
1761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1763 return NULL;
1764 }
1765 }
1d99702e 1766 if (_argo1) {
7e50db3f 1767 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1769 return NULL;
1770 }
1771 }
cf694132 1772{
4268f798 1773 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1774 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
cf694132 1775
4268f798 1776 wxPyEndAllowThreads(__tstate);
493f1553 1777 if (PyErr_Occurred()) return NULL;
cf694132 1778} Py_INCREF(Py_None);
8ab979d7
RD
1779 _resultobj = Py_None;
1780 return _resultobj;
1781}
1782
1783#define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
efc5f224 1784static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1785 PyObject * _resultobj;
1786 wxBitmapButton * _arg0;
1787 wxBitmap * _arg1;
1d99702e
RD
1788 PyObject * _argo0 = 0;
1789 PyObject * _argo1 = 0;
efc5f224 1790 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1791
1792 self = self;
efc5f224 1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
8ab979d7 1794 return NULL;
1d99702e
RD
1795 if (_argo0) {
1796 if (_argo0 == Py_None) { _arg0 = NULL; }
1797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1799 return NULL;
1800 }
1801 }
1d99702e 1802 if (_argo1) {
7e50db3f 1803 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1804 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1805 return NULL;
1806 }
1807 }
cf694132 1808{
4268f798 1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1810 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
cf694132 1811
4268f798 1812 wxPyEndAllowThreads(__tstate);
493f1553 1813 if (PyErr_Occurred()) return NULL;
cf694132 1814} Py_INCREF(Py_None);
8ab979d7
RD
1815 _resultobj = Py_None;
1816 return _resultobj;
1817}
1818
1819#define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
efc5f224 1820static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1821 PyObject * _resultobj;
1822 wxBitmapButton * _arg0;
1823 wxBitmap * _arg1;
1d99702e
RD
1824 PyObject * _argo0 = 0;
1825 PyObject * _argo1 = 0;
efc5f224 1826 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
1827
1828 self = self;
efc5f224 1829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
8ab979d7 1830 return NULL;
1d99702e
RD
1831 if (_argo0) {
1832 if (_argo0 == Py_None) { _arg0 = NULL; }
1833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
8ab979d7
RD
1834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1835 return NULL;
1836 }
1837 }
1d99702e 1838 if (_argo1) {
7e50db3f 1839 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
1840 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1841 return NULL;
1842 }
1843 }
cf694132 1844{
4268f798 1845 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1846 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
cf694132 1847
4268f798 1848 wxPyEndAllowThreads(__tstate);
493f1553 1849 if (PyErr_Occurred()) return NULL;
cf694132 1850} Py_INCREF(Py_None);
8ab979d7
RD
1851 _resultobj = Py_None;
1852 return _resultobj;
1853}
1854
f6bcfd97
BP
1855#define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1856static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1857 PyObject * _resultobj;
1858 wxBitmapButton * _arg0;
1859 int _arg1;
1860 int _arg2;
1861 PyObject * _argo0 = 0;
1862 char *_kwnames[] = { "self","x","y", NULL };
1863
1864 self = self;
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1866 return NULL;
1867 if (_argo0) {
1868 if (_argo0 == Py_None) { _arg0 = NULL; }
1869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1871 return NULL;
1872 }
1873 }
1874{
4268f798 1875 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1876 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
f6bcfd97 1877
4268f798 1878 wxPyEndAllowThreads(__tstate);
493f1553 1879 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1880} Py_INCREF(Py_None);
1881 _resultobj = Py_None;
1882 return _resultobj;
1883}
1884
1885#define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1886static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1887 PyObject * _resultobj;
1888 int _result;
1889 wxBitmapButton * _arg0;
1890 PyObject * _argo0 = 0;
1891 char *_kwnames[] = { "self", NULL };
1892
1893 self = self;
1894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0))
1895 return NULL;
1896 if (_argo0) {
1897 if (_argo0 == Py_None) { _arg0 = NULL; }
1898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1900 return NULL;
1901 }
1902 }
1903{
4268f798 1904 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1905 _result = (int )wxBitmapButton_GetMarginX(_arg0);
f6bcfd97 1906
4268f798 1907 wxPyEndAllowThreads(__tstate);
493f1553 1908 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1909} _resultobj = Py_BuildValue("i",_result);
1910 return _resultobj;
1911}
1912
1913#define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1914static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1915 PyObject * _resultobj;
1916 int _result;
1917 wxBitmapButton * _arg0;
1918 PyObject * _argo0 = 0;
1919 char *_kwnames[] = { "self", NULL };
1920
1921 self = self;
1922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0))
1923 return NULL;
1924 if (_argo0) {
1925 if (_argo0 == Py_None) { _arg0 = NULL; }
1926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1928 return NULL;
1929 }
1930 }
1931{
4268f798 1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1933 _result = (int )wxBitmapButton_GetMarginY(_arg0);
f6bcfd97 1934
4268f798 1935 wxPyEndAllowThreads(__tstate);
493f1553 1936 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1937} _resultobj = Py_BuildValue("i",_result);
1938 return _resultobj;
1939}
1940
8ab979d7
RD
1941static void *SwigwxCheckBoxTowxControl(void *ptr) {
1942 wxCheckBox *src;
1943 wxControl *dest;
1944 src = (wxCheckBox *) ptr;
1945 dest = (wxControl *) src;
1946 return (void *) dest;
1947}
1948
1949static void *SwigwxCheckBoxTowxWindow(void *ptr) {
1950 wxCheckBox *src;
1951 wxWindow *dest;
1952 src = (wxCheckBox *) ptr;
1953 dest = (wxWindow *) src;
1954 return (void *) dest;
1955}
1956
1957static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
1958 wxCheckBox *src;
1959 wxEvtHandler *dest;
1960 src = (wxCheckBox *) ptr;
1961 dest = (wxEvtHandler *) src;
1962 return (void *) dest;
1963}
1964
9416aa89
RD
1965static void *SwigwxCheckBoxTowxObject(void *ptr) {
1966 wxCheckBox *src;
1967 wxObject *dest;
1968 src = (wxCheckBox *) ptr;
1969 dest = (wxObject *) src;
1970 return (void *) dest;
1971}
1972
8ab979d7 1973#define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 1974static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
1975 PyObject * _resultobj;
1976 wxCheckBox * _result;
1977 wxWindow * _arg0;
1978 wxWindowID _arg1;
1979 wxString * _arg2;
e508a2b6
RD
1980 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1981 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 1982 long _arg5 = (long ) 0;
e508a2b6 1983 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 1984 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
1d99702e 1985 PyObject * _argo0 = 0;
8ab979d7 1986 PyObject * _obj2 = 0;
2f90df85
RD
1987 wxPoint temp;
1988 PyObject * _obj3 = 0;
1989 wxSize temp0;
1990 PyObject * _obj4 = 0;
1d99702e 1991 PyObject * _argo6 = 0;
137b5242 1992 PyObject * _obj7 = 0;
5a2a9da2 1993 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
8ab979d7
RD
1994 char _ptemp[128];
1995
1996 self = self;
137b5242 1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
8ab979d7 1998 return NULL;
1d99702e
RD
1999 if (_argo0) {
2000 if (_argo0 == Py_None) { _arg0 = NULL; }
2001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
2003 return NULL;
2004 }
2005 }
2006{
c8bc7bb8
RD
2007 _arg2 = wxString_in_helper(_obj2);
2008 if (_arg2 == NULL)
185d7c3e 2009 return NULL;
8ab979d7 2010}
2f90df85
RD
2011 if (_obj3)
2012{
2013 _arg3 = &temp;
2014 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 2015 return NULL;
2f90df85
RD
2016}
2017 if (_obj4)
2018{
2019 _arg4 = &temp0;
2020 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 2021 return NULL;
2f90df85 2022}
1d99702e 2023 if (_argo6) {
7e50db3f 2024 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
2025 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
2026 return NULL;
2027 }
2028 }
137b5242
RD
2029 if (_obj7)
2030{
2031 _arg7 = wxString_in_helper(_obj7);
2032 if (_arg7 == NULL)
2033 return NULL;
2034}
cf694132 2035{
4268f798 2036 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2037 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
cf694132 2038
4268f798 2039 wxPyEndAllowThreads(__tstate);
493f1553 2040 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2041} if (_result) {
2042 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2043 _resultobj = Py_BuildValue("s",_ptemp);
2044 } else {
2045 Py_INCREF(Py_None);
2046 _resultobj = Py_None;
2047 }
8ab979d7
RD
2048{
2049 if (_obj2)
2050 delete _arg2;
137b5242
RD
2051}
2052{
2053 if (_obj7)
2054 delete _arg7;
8ab979d7
RD
2055}
2056 return _resultobj;
2057}
2058
09f3d4e6
RD
2059#define new_wxPreCheckBox() (new wxCheckBox())
2060static PyObject *_wrap_new_wxPreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2061 PyObject * _resultobj;
2062 wxCheckBox * _result;
2063 char *_kwnames[] = { NULL };
2064 char _ptemp[128];
2065
2066 self = self;
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckBox",_kwnames))
2068 return NULL;
2069{
4268f798 2070 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2071 _result = (wxCheckBox *)new_wxPreCheckBox();
09f3d4e6 2072
4268f798 2073 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2074 if (PyErr_Occurred()) return NULL;
2075} if (_result) {
2076 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2077 _resultobj = Py_BuildValue("s",_ptemp);
2078 } else {
2079 Py_INCREF(Py_None);
2080 _resultobj = Py_None;
2081 }
2082 return _resultobj;
2083}
2084
2085#define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2086static PyObject *_wrap_wxCheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2087 PyObject * _resultobj;
2088 bool _result;
2089 wxCheckBox * _arg0;
2090 wxWindow * _arg1;
2091 wxWindowID _arg2;
2092 wxString * _arg3;
2093 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2094 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2095 long _arg6 = (long ) 0;
2096 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
137b5242 2097 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
09f3d4e6
RD
2098 PyObject * _argo0 = 0;
2099 PyObject * _argo1 = 0;
2100 PyObject * _obj3 = 0;
2101 wxPoint temp;
2102 PyObject * _obj4 = 0;
2103 wxSize temp0;
2104 PyObject * _obj5 = 0;
2105 PyObject * _argo7 = 0;
137b5242 2106 PyObject * _obj8 = 0;
5a2a9da2 2107 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
09f3d4e6
RD
2108
2109 self = self;
137b5242 2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxCheckBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
09f3d4e6
RD
2111 return NULL;
2112 if (_argo0) {
2113 if (_argo0 == Py_None) { _arg0 = NULL; }
2114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2116 return NULL;
2117 }
2118 }
2119 if (_argo1) {
2120 if (_argo1 == Py_None) { _arg1 = NULL; }
2121 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2122 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2123 return NULL;
2124 }
2125 }
2126{
c8bc7bb8
RD
2127 _arg3 = wxString_in_helper(_obj3);
2128 if (_arg3 == NULL)
09f3d4e6 2129 return NULL;
09f3d4e6
RD
2130}
2131 if (_obj4)
2132{
2133 _arg4 = &temp;
2134 if (! wxPoint_helper(_obj4, &_arg4))
2135 return NULL;
2136}
2137 if (_obj5)
2138{
2139 _arg5 = &temp0;
2140 if (! wxSize_helper(_obj5, &_arg5))
2141 return NULL;
2142}
2143 if (_argo7) {
7e50db3f 2144 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
09f3d4e6
RD
2145 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2146 return NULL;
2147 }
2148 }
137b5242
RD
2149 if (_obj8)
2150{
2151 _arg8 = wxString_in_helper(_obj8);
2152 if (_arg8 == NULL)
2153 return NULL;
2154}
09f3d4e6 2155{
4268f798 2156 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2157 _result = (bool )wxCheckBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
09f3d4e6 2158
4268f798 2159 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2160 if (PyErr_Occurred()) return NULL;
2161} _resultobj = Py_BuildValue("i",_result);
2162{
2163 if (_obj3)
2164 delete _arg3;
137b5242
RD
2165}
2166{
2167 if (_obj8)
2168 delete _arg8;
09f3d4e6
RD
2169}
2170 return _resultobj;
2171}
2172
8ab979d7 2173#define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 2174static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2175 PyObject * _resultobj;
2176 bool _result;
2177 wxCheckBox * _arg0;
1d99702e 2178 PyObject * _argo0 = 0;
efc5f224 2179 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2180
2181 self = self;
efc5f224 2182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
8ab979d7 2183 return NULL;
1d99702e
RD
2184 if (_argo0) {
2185 if (_argo0 == Py_None) { _arg0 = NULL; }
2186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
8ab979d7
RD
2187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2188 return NULL;
2189 }
2190 }
cf694132 2191{
4268f798 2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2193 _result = (bool )wxCheckBox_GetValue(_arg0);
cf694132 2194
4268f798 2195 wxPyEndAllowThreads(__tstate);
493f1553 2196 if (PyErr_Occurred()) return NULL;
cf694132 2197} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2198 return _resultobj;
2199}
2200
7e50db3f
RD
2201#define wxCheckBox_IsChecked(_swigobj) (_swigobj->IsChecked())
2202static PyObject *_wrap_wxCheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject * _resultobj;
2204 bool _result;
2205 wxCheckBox * _arg0;
2206 PyObject * _argo0 = 0;
2207 char *_kwnames[] = { "self", NULL };
2208
2209 self = self;
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_IsChecked",_kwnames,&_argo0))
2211 return NULL;
2212 if (_argo0) {
2213 if (_argo0 == Py_None) { _arg0 = NULL; }
2214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_IsChecked. Expected _wxCheckBox_p.");
2216 return NULL;
2217 }
2218 }
2219{
2220 PyThreadState* __tstate = wxPyBeginAllowThreads();
2221 _result = (bool )wxCheckBox_IsChecked(_arg0);
2222
2223 wxPyEndAllowThreads(__tstate);
2224 if (PyErr_Occurred()) return NULL;
2225} _resultobj = Py_BuildValue("i",_result);
2226 return _resultobj;
2227}
2228
8ab979d7 2229#define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 2230static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2231 PyObject * _resultobj;
2232 wxCheckBox * _arg0;
2233 bool _arg1;
1d99702e 2234 PyObject * _argo0 = 0;
8ab979d7 2235 int tempbool1;
efc5f224 2236 char *_kwnames[] = { "self","state", NULL };
8ab979d7
RD
2237
2238 self = self;
efc5f224 2239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
8ab979d7 2240 return NULL;
1d99702e
RD
2241 if (_argo0) {
2242 if (_argo0 == Py_None) { _arg0 = NULL; }
2243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
8ab979d7
RD
2244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2245 return NULL;
2246 }
2247 }
2248 _arg1 = (bool ) tempbool1;
cf694132 2249{
4268f798 2250 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2251 wxCheckBox_SetValue(_arg0,_arg1);
cf694132 2252
4268f798 2253 wxPyEndAllowThreads(__tstate);
493f1553 2254 if (PyErr_Occurred()) return NULL;
cf694132 2255} Py_INCREF(Py_None);
8ab979d7
RD
2256 _resultobj = Py_None;
2257 return _resultobj;
2258}
2259
900d9886
RD
2260static void *SwigwxChoiceTowxControlWithItems(void *ptr) {
2261 wxChoice *src;
2262 wxControlWithItems *dest;
2263 src = (wxChoice *) ptr;
2264 dest = (wxControlWithItems *) src;
2265 return (void *) dest;
2266}
2267
8ab979d7
RD
2268static void *SwigwxChoiceTowxControl(void *ptr) {
2269 wxChoice *src;
2270 wxControl *dest;
2271 src = (wxChoice *) ptr;
2272 dest = (wxControl *) src;
2273 return (void *) dest;
2274}
2275
2276static void *SwigwxChoiceTowxWindow(void *ptr) {
2277 wxChoice *src;
2278 wxWindow *dest;
2279 src = (wxChoice *) ptr;
2280 dest = (wxWindow *) src;
2281 return (void *) dest;
2282}
2283
2284static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
2285 wxChoice *src;
2286 wxEvtHandler *dest;
2287 src = (wxChoice *) ptr;
2288 dest = (wxEvtHandler *) src;
2289 return (void *) dest;
2290}
2291
9416aa89
RD
2292static void *SwigwxChoiceTowxObject(void *ptr) {
2293 wxChoice *src;
2294 wxObject *dest;
2295 src = (wxChoice *) ptr;
2296 dest = (wxObject *) src;
2297 return (void *) dest;
2298}
2299
8ab979d7 2300#define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
efc5f224 2301static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2302 PyObject * _resultobj;
2303 wxChoice * _result;
2304 wxWindow * _arg0;
2305 wxWindowID _arg1;
e508a2b6
RD
2306 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2307 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e
RD
2308 int _arg4 = (int ) 0;
2309 wxString * _arg5 = (wxString *) NULL;
2310 long _arg6 = (long ) 0;
e508a2b6 2311 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
137b5242 2312 wxString * _arg8 = (wxString *) &wxPyChoiceNameStr;
1d99702e 2313 PyObject * _argo0 = 0;
2f90df85
RD
2314 wxPoint temp;
2315 PyObject * _obj2 = 0;
2316 wxSize temp0;
2317 PyObject * _obj3 = 0;
8ab979d7 2318 PyObject * _obj5 = 0;
1d99702e 2319 PyObject * _argo7 = 0;
137b5242 2320 PyObject * _obj8 = 0;
eec92d76 2321 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
8ab979d7
RD
2322 char _ptemp[128];
2323
2324 self = self;
137b5242 2325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
8ab979d7 2326 return NULL;
1d99702e
RD
2327 if (_argo0) {
2328 if (_argo0 == Py_None) { _arg0 = NULL; }
2329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2331 return NULL;
2332 }
2333 }
2f90df85
RD
2334 if (_obj2)
2335{
2336 _arg2 = &temp;
2337 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 2338 return NULL;
2f90df85
RD
2339}
2340 if (_obj3)
2341{
2342 _arg3 = &temp0;
2343 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 2344 return NULL;
2f90df85 2345}
8ab979d7
RD
2346 if (_obj5)
2347{
2348 _arg5 = wxString_LIST_helper(_obj5);
2349 if (_arg5 == NULL) {
2350 return NULL;
2351 }
2352}
1d99702e 2353 if (_argo7) {
7e50db3f 2354 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
8ab979d7
RD
2355 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2356 return NULL;
2357 }
2358 }
137b5242
RD
2359 if (_obj8)
2360{
2361 _arg8 = wxString_in_helper(_obj8);
2362 if (_arg8 == NULL)
2363 return NULL;
2364}
8ab979d7 2365{
cf694132
RD
2366 if (_obj5) {
2367 _arg4 = PyList_Size(_obj5);
2368 }
2369 else {
2370 _arg4 = 0;
2371 }
8ab979d7 2372}
cf694132 2373{
4268f798 2374 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2375 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
cf694132 2376
4268f798 2377 wxPyEndAllowThreads(__tstate);
493f1553 2378 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2379} if (_result) {
2380 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2381 _resultobj = Py_BuildValue("s",_ptemp);
2382 } else {
2383 Py_INCREF(Py_None);
2384 _resultobj = Py_None;
2385 }
8ab979d7
RD
2386{
2387 delete [] _arg5;
137b5242
RD
2388}
2389{
2390 if (_obj8)
2391 delete _arg8;
8ab979d7
RD
2392}
2393 return _resultobj;
2394}
2395
09f3d4e6
RD
2396#define new_wxPreChoice() (new wxChoice())
2397static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2398 PyObject * _resultobj;
09f3d4e6
RD
2399 wxChoice * _result;
2400 char *_kwnames[] = { NULL };
2401 char _ptemp[128];
8ab979d7
RD
2402
2403 self = self;
09f3d4e6
RD
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
2405 return NULL;
2406{
4268f798 2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2408 _result = (wxChoice *)new_wxPreChoice();
09f3d4e6 2409
4268f798 2410 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2411 if (PyErr_Occurred()) return NULL;
2412} if (_result) {
2413 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2414 _resultobj = Py_BuildValue("s",_ptemp);
2415 } else {
2416 Py_INCREF(Py_None);
2417 _resultobj = Py_None;
2418 }
2419 return _resultobj;
2420}
2421
2422#define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2423static PyObject *_wrap_wxChoice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2424 PyObject * _resultobj;
2425 bool _result;
2426 wxChoice * _arg0;
2427 wxWindow * _arg1;
2428 wxWindowID _arg2;
2429 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2430 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2431 int _arg5 = (int ) 0;
2432 wxString * _arg6 = (wxString *) NULL;
2433 long _arg7 = (long ) 0;
2434 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
137b5242 2435 wxString * _arg9 = (wxString *) &wxPyChoiceNameStr;
09f3d4e6
RD
2436 PyObject * _argo0 = 0;
2437 PyObject * _argo1 = 0;
2438 wxPoint temp;
2439 PyObject * _obj3 = 0;
2440 wxSize temp0;
2441 PyObject * _obj4 = 0;
2442 PyObject * _obj6 = 0;
2443 PyObject * _argo8 = 0;
137b5242 2444 PyObject * _obj9 = 0;
09f3d4e6
RD
2445 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
2446
2447 self = self;
137b5242 2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
09f3d4e6
RD
2449 return NULL;
2450 if (_argo0) {
2451 if (_argo0 == Py_None) { _arg0 = NULL; }
2452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2454 return NULL;
2455 }
2456 }
2457 if (_argo1) {
2458 if (_argo1 == Py_None) { _arg1 = NULL; }
2459 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2460 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2461 return NULL;
2462 }
2463 }
2464 if (_obj3)
2465{
2466 _arg3 = &temp;
2467 if (! wxPoint_helper(_obj3, &_arg3))
2468 return NULL;
2469}
2470 if (_obj4)
2471{
2472 _arg4 = &temp0;
2473 if (! wxSize_helper(_obj4, &_arg4))
2474 return NULL;
2475}
2476 if (_obj6)
2477{
2478 _arg6 = wxString_LIST_helper(_obj6);
2479 if (_arg6 == NULL) {
2480 return NULL;
2481 }
2482}
2483 if (_argo8) {
7e50db3f 2484 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
09f3d4e6
RD
2485 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2486 return NULL;
2487 }
2488 }
137b5242
RD
2489 if (_obj9)
2490{
2491 _arg9 = wxString_in_helper(_obj9);
2492 if (_arg9 == NULL)
2493 return NULL;
2494}
900d9886
RD
2495{
2496 if (_obj6) {
2497 _arg5 = PyList_Size(_obj6);
2498 }
2499 else {
2500 _arg5 = 0;
8ab979d7 2501 }
900d9886 2502}
8ab979d7 2503{
4268f798 2504 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2505 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
cf694132 2506
4268f798 2507 wxPyEndAllowThreads(__tstate);
493f1553 2508 if (PyErr_Occurred()) return NULL;
900d9886 2509} _resultobj = Py_BuildValue("i",_result);
8ab979d7 2510{
900d9886 2511 delete [] _arg6;
137b5242
RD
2512}
2513{
2514 if (_obj9)
2515 delete _arg9;
8ab979d7
RD
2516}
2517 return _resultobj;
2518}
2519
900d9886
RD
2520#define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2521static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 2522 PyObject * _resultobj;
8ab979d7 2523 wxChoice * _arg0;
1d99702e 2524 PyObject * _argo0 = 0;
efc5f224 2525 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2526
2527 self = self;
900d9886 2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
8ab979d7 2529 return NULL;
1d99702e
RD
2530 if (_argo0) {
2531 if (_argo0 == Py_None) { _arg0 = NULL; }
2532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
900d9886 2533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
8ab979d7
RD
2534 return NULL;
2535 }
2536 }
8ab979d7 2537{
4268f798 2538 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2539 wxChoice_Clear(_arg0);
cf694132 2540
4268f798 2541 wxPyEndAllowThreads(__tstate);
493f1553 2542 if (PyErr_Occurred()) return NULL;
900d9886
RD
2543} Py_INCREF(Py_None);
2544 _resultobj = Py_None;
8ab979d7
RD
2545 return _resultobj;
2546}
2547
900d9886
RD
2548#define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2549static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2550 PyObject * _resultobj;
2551 int _result;
2552 wxChoice * _arg0;
1d99702e 2553 PyObject * _argo0 = 0;
efc5f224 2554 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
2555
2556 self = self;
900d9886 2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
8ab979d7 2558 return NULL;
1d99702e
RD
2559 if (_argo0) {
2560 if (_argo0 == Py_None) { _arg0 = NULL; }
2561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
900d9886 2562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
8ab979d7
RD
2563 return NULL;
2564 }
2565 }
cf694132 2566{
4268f798 2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2568 _result = (int )wxChoice_GetColumns(_arg0);
cf694132 2569
4268f798 2570 wxPyEndAllowThreads(__tstate);
493f1553 2571 if (PyErr_Occurred()) return NULL;
cf694132 2572} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
2573 return _resultobj;
2574}
2575
2576#define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
efc5f224 2577static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2578 PyObject * _resultobj;
2579 wxChoice * _arg0;
1d99702e
RD
2580 int _arg1 = (int ) 1;
2581 PyObject * _argo0 = 0;
efc5f224 2582 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
2583
2584 self = self;
efc5f224 2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
8ab979d7 2586 return NULL;
1d99702e
RD
2587 if (_argo0) {
2588 if (_argo0 == Py_None) { _arg0 = NULL; }
2589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
8ab979d7
RD
2590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2591 return NULL;
2592 }
2593 }
cf694132 2594{
4268f798 2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2596 wxChoice_SetColumns(_arg0,_arg1);
cf694132 2597
4268f798 2598 wxPyEndAllowThreads(__tstate);
493f1553 2599 if (PyErr_Occurred()) return NULL;
cf694132 2600} Py_INCREF(Py_None);
8ab979d7
RD
2601 _resultobj = Py_None;
2602 return _resultobj;
2603}
2604
2605#define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 2606static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2607 PyObject * _resultobj;
2608 wxChoice * _arg0;
2609 int _arg1;
1d99702e 2610 PyObject * _argo0 = 0;
efc5f224 2611 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
2612
2613 self = self;
efc5f224 2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 2615 return NULL;
1d99702e
RD
2616 if (_argo0) {
2617 if (_argo0 == Py_None) { _arg0 = NULL; }
2618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
8ab979d7
RD
2619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2620 return NULL;
2621 }
2622 }
cf694132 2623{
4268f798 2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2625 wxChoice_SetSelection(_arg0,_arg1);
cf694132 2626
4268f798 2627 wxPyEndAllowThreads(__tstate);
493f1553 2628 if (PyErr_Occurred()) return NULL;
cf694132 2629} Py_INCREF(Py_None);
8ab979d7
RD
2630 _resultobj = Py_None;
2631 return _resultobj;
2632}
2633
2634#define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
efc5f224 2635static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2636 PyObject * _resultobj;
2637 wxChoice * _arg0;
2638 wxString * _arg1;
1d99702e 2639 PyObject * _argo0 = 0;
8ab979d7 2640 PyObject * _obj1 = 0;
efc5f224 2641 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
2642
2643 self = self;
efc5f224 2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
8ab979d7 2645 return NULL;
1d99702e
RD
2646 if (_argo0) {
2647 if (_argo0 == Py_None) { _arg0 = NULL; }
2648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
8ab979d7
RD
2649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2650 return NULL;
2651 }
2652 }
2653{
c8bc7bb8
RD
2654 _arg1 = wxString_in_helper(_obj1);
2655 if (_arg1 == NULL)
8ab979d7 2656 return NULL;
8ab979d7 2657}
cf694132 2658{
4268f798 2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2660 wxChoice_SetStringSelection(_arg0,*_arg1);
cf694132 2661
4268f798 2662 wxPyEndAllowThreads(__tstate);
493f1553 2663 if (PyErr_Occurred()) return NULL;
cf694132 2664} Py_INCREF(Py_None);
8ab979d7
RD
2665 _resultobj = Py_None;
2666{
2667 if (_obj1)
2668 delete _arg1;
2669}
2670 return _resultobj;
2671}
2672
0adbc166
RD
2673#define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2674static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject * _resultobj;
2676 wxChoice * _arg0;
2677 int _arg1;
2678 wxString * _arg2;
2679 PyObject * _argo0 = 0;
2680 PyObject * _obj2 = 0;
2681 char *_kwnames[] = { "self","n","s", NULL };
2682
2683 self = self;
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
2685 return NULL;
2686 if (_argo0) {
2687 if (_argo0 == Py_None) { _arg0 = NULL; }
2688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2690 return NULL;
2691 }
2692 }
2693{
c8bc7bb8
RD
2694 _arg2 = wxString_in_helper(_obj2);
2695 if (_arg2 == NULL)
0adbc166 2696 return NULL;
0adbc166
RD
2697}
2698{
4268f798 2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2700 wxChoice_SetString(_arg0,_arg1,*_arg2);
0adbc166 2701
4268f798 2702 wxPyEndAllowThreads(__tstate);
0adbc166
RD
2703 if (PyErr_Occurred()) return NULL;
2704} Py_INCREF(Py_None);
2705 _resultobj = Py_None;
2706{
2707 if (_obj2)
2708 delete _arg2;
2709}
2710 return _resultobj;
2711}
2712
bb0054cd
RD
2713static void *SwigwxComboBoxTowxChoice(void *ptr) {
2714 wxComboBox *src;
2715 wxChoice *dest;
2716 src = (wxComboBox *) ptr;
2717 dest = (wxChoice *) src;
2718 return (void *) dest;
2719}
2720
900d9886
RD
2721static void *SwigwxComboBoxTowxControlWithItems(void *ptr) {
2722 wxComboBox *src;
2723 wxControlWithItems *dest;
2724 src = (wxComboBox *) ptr;
2725 dest = (wxControlWithItems *) src;
2726 return (void *) dest;
2727}
2728
8ab979d7
RD
2729static void *SwigwxComboBoxTowxControl(void *ptr) {
2730 wxComboBox *src;
2731 wxControl *dest;
2732 src = (wxComboBox *) ptr;
2733 dest = (wxControl *) src;
2734 return (void *) dest;
2735}
2736
2737static void *SwigwxComboBoxTowxWindow(void *ptr) {
2738 wxComboBox *src;
2739 wxWindow *dest;
2740 src = (wxComboBox *) ptr;
2741 dest = (wxWindow *) src;
2742 return (void *) dest;
2743}
2744
2745static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2746 wxComboBox *src;
2747 wxEvtHandler *dest;
2748 src = (wxComboBox *) ptr;
2749 dest = (wxEvtHandler *) src;
2750 return (void *) dest;
2751}
2752
9416aa89
RD
2753static void *SwigwxComboBoxTowxObject(void *ptr) {
2754 wxComboBox *src;
2755 wxObject *dest;
2756 src = (wxComboBox *) ptr;
2757 dest = (wxObject *) src;
2758 return (void *) dest;
2759}
2760
8ab979d7 2761#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 2762static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
2763 PyObject * _resultobj;
2764 wxComboBox * _result;
2765 wxWindow * _arg0;
2766 wxWindowID _arg1;
137b5242 2767 wxString * _arg2 = (wxString *) &wxPyEmptyString;
e508a2b6
RD
2768 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2769 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
2770 int _arg5 = (int ) 0;
2771 wxString * _arg6 = (wxString *) NULL;
2772 long _arg7 = (long ) 0;
e508a2b6 2773 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
137b5242 2774 wxString * _arg9 = (wxString *) &wxPyComboBoxNameStr;
1d99702e 2775 PyObject * _argo0 = 0;
137b5242 2776 PyObject * _obj2 = 0;
2f90df85
RD
2777 wxPoint temp;
2778 PyObject * _obj3 = 0;
2779 wxSize temp0;
2780 PyObject * _obj4 = 0;
8ab979d7 2781 PyObject * _obj6 = 0;
1d99702e 2782 PyObject * _argo8 = 0;
137b5242 2783 PyObject * _obj9 = 0;
eec92d76 2784 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
8ab979d7
RD
2785 char _ptemp[128];
2786
2787 self = self;
137b5242 2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOOlOO:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
8ab979d7 2789 return NULL;
1d99702e
RD
2790 if (_argo0) {
2791 if (_argo0 == Py_None) { _arg0 = NULL; }
2792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
2793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2794 return NULL;
2795 }
2796 }
137b5242
RD
2797 if (_obj2)
2798{
2799 _arg2 = wxString_in_helper(_obj2);
2800 if (_arg2 == NULL)
2801 return NULL;
2802}
2f90df85
RD
2803 if (_obj3)
2804{
2805 _arg3 = &temp;
2806 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 2807 return NULL;
2f90df85
RD
2808}
2809 if (_obj4)
2810{
2811 _arg4 = &temp0;
2812 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 2813 return NULL;
2f90df85 2814}
8ab979d7
RD
2815 if (_obj6)
2816{
2817 _arg6 = wxString_LIST_helper(_obj6);
2818 if (_arg6 == NULL) {
2819 return NULL;
2820 }
2821}
1d99702e 2822 if (_argo8) {
7e50db3f 2823 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
8ab979d7
RD
2824 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2825 return NULL;
2826 }
2827 }
137b5242
RD
2828 if (_obj9)
2829{
2830 _arg9 = wxString_in_helper(_obj9);
2831 if (_arg9 == NULL)
2832 return NULL;
2833}
8ab979d7 2834{
cf694132
RD
2835 if (_obj6) {
2836 _arg5 = PyList_Size(_obj6);
2837 }
2838 else {
2839 _arg5 = 0;
2840 }
8ab979d7 2841}
cf694132 2842{
4268f798 2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2844 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
cf694132 2845
4268f798 2846 wxPyEndAllowThreads(__tstate);
493f1553 2847 if (PyErr_Occurred()) return NULL;
1d99702e
RD
2848} if (_result) {
2849 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2850 _resultobj = Py_BuildValue("s",_ptemp);
2851 } else {
2852 Py_INCREF(Py_None);
2853 _resultobj = Py_None;
2854 }
137b5242
RD
2855{
2856 if (_obj2)
2857 delete _arg2;
2858}
8ab979d7
RD
2859{
2860 delete [] _arg6;
137b5242
RD
2861}
2862{
2863 if (_obj9)
2864 delete _arg9;
8ab979d7
RD
2865}
2866 return _resultobj;
2867}
2868
09f3d4e6
RD
2869#define new_wxPreComboBox() (new wxComboBox())
2870static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2871 PyObject * _resultobj;
2872 wxComboBox * _result;
2873 char *_kwnames[] = { NULL };
2874 char _ptemp[128];
2875
2876 self = self;
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2878 return NULL;
2879{
4268f798 2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2881 _result = (wxComboBox *)new_wxPreComboBox();
09f3d4e6 2882
4268f798 2883 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2884 if (PyErr_Occurred()) return NULL;
2885} if (_result) {
2886 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2887 _resultobj = Py_BuildValue("s",_ptemp);
2888 } else {
2889 Py_INCREF(Py_None);
2890 _resultobj = Py_None;
2891 }
2892 return _resultobj;
2893}
2894
2895#define wxComboBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
2896static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2897 PyObject * _resultobj;
2898 bool _result;
2899 wxComboBox * _arg0;
2900 wxWindow * _arg1;
2901 wxWindowID _arg2;
137b5242 2902 wxString * _arg3 = (wxString *) &wxPyEmptyString;
09f3d4e6
RD
2903 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2904 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2905 int _arg6 = (int ) 0;
2906 wxString * _arg7 = (wxString *) NULL;
2907 long _arg8 = (long ) 0;
2908 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
137b5242 2909 wxString * _arg10 = (wxString *) &wxPyComboBoxNameStr;
09f3d4e6
RD
2910 PyObject * _argo0 = 0;
2911 PyObject * _argo1 = 0;
137b5242 2912 PyObject * _obj3 = 0;
09f3d4e6
RD
2913 wxPoint temp;
2914 PyObject * _obj4 = 0;
2915 wxSize temp0;
2916 PyObject * _obj5 = 0;
2917 PyObject * _obj7 = 0;
2918 PyObject * _argo9 = 0;
137b5242 2919 PyObject * _obj10 = 0;
09f3d4e6
RD
2920 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2921
2922 self = self;
137b5242 2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOOlOO:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_obj10))
09f3d4e6
RD
2924 return NULL;
2925 if (_argo0) {
2926 if (_argo0 == Py_None) { _arg0 = NULL; }
2927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2929 return NULL;
2930 }
2931 }
2932 if (_argo1) {
2933 if (_argo1 == Py_None) { _arg1 = NULL; }
2934 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2935 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2936 return NULL;
2937 }
2938 }
137b5242
RD
2939 if (_obj3)
2940{
2941 _arg3 = wxString_in_helper(_obj3);
2942 if (_arg3 == NULL)
2943 return NULL;
2944}
09f3d4e6
RD
2945 if (_obj4)
2946{
2947 _arg4 = &temp;
2948 if (! wxPoint_helper(_obj4, &_arg4))
2949 return NULL;
2950}
2951 if (_obj5)
2952{
2953 _arg5 = &temp0;
2954 if (! wxSize_helper(_obj5, &_arg5))
2955 return NULL;
2956}
2957 if (_obj7)
2958{
2959 _arg7 = wxString_LIST_helper(_obj7);
2960 if (_arg7 == NULL) {
2961 return NULL;
2962 }
2963}
2964 if (_argo9) {
7e50db3f 2965 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
09f3d4e6
RD
2966 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2967 return NULL;
2968 }
2969 }
137b5242
RD
2970 if (_obj10)
2971{
2972 _arg10 = wxString_in_helper(_obj10);
2973 if (_arg10 == NULL)
2974 return NULL;
2975}
09f3d4e6
RD
2976{
2977 if (_obj7) {
2978 _arg6 = PyList_Size(_obj7);
2979 }
2980 else {
2981 _arg6 = 0;
2982 }
2983}
2984{
4268f798 2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 2986 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
09f3d4e6 2987
4268f798 2988 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
2989 if (PyErr_Occurred()) return NULL;
2990} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
2991{
2992 if (_obj3)
2993 delete _arg3;
2994}
09f3d4e6
RD
2995{
2996 delete [] _arg7;
137b5242
RD
2997}
2998{
2999 if (_obj10)
3000 delete _arg10;
09f3d4e6
RD
3001}
3002 return _resultobj;
3003}
3004
8ab979d7 3005#define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
efc5f224 3006static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3007 PyObject * _resultobj;
3008 wxComboBox * _arg0;
1d99702e 3009 PyObject * _argo0 = 0;
efc5f224 3010 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3011
3012 self = self;
efc5f224 3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
8ab979d7 3014 return NULL;
1d99702e
RD
3015 if (_argo0) {
3016 if (_argo0 == Py_None) { _arg0 = NULL; }
3017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
3019 return NULL;
3020 }
3021 }
cf694132 3022{
4268f798 3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3024 wxComboBox_Copy(_arg0);
cf694132 3025
4268f798 3026 wxPyEndAllowThreads(__tstate);
493f1553 3027 if (PyErr_Occurred()) return NULL;
cf694132 3028} Py_INCREF(Py_None);
8ab979d7
RD
3029 _resultobj = Py_None;
3030 return _resultobj;
3031}
3032
3033#define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
efc5f224 3034static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3035 PyObject * _resultobj;
3036 wxComboBox * _arg0;
1d99702e 3037 PyObject * _argo0 = 0;
efc5f224 3038 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3039
3040 self = self;
efc5f224 3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
8ab979d7 3042 return NULL;
1d99702e
RD
3043 if (_argo0) {
3044 if (_argo0 == Py_None) { _arg0 = NULL; }
3045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
3047 return NULL;
3048 }
3049 }
cf694132 3050{
4268f798 3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3052 wxComboBox_Cut(_arg0);
cf694132 3053
4268f798 3054 wxPyEndAllowThreads(__tstate);
493f1553 3055 if (PyErr_Occurred()) return NULL;
cf694132 3056} Py_INCREF(Py_None);
8ab979d7
RD
3057 _resultobj = Py_None;
3058 return _resultobj;
3059}
3060
8ab979d7 3061#define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
efc5f224 3062static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3063 PyObject * _resultobj;
3064 long _result;
3065 wxComboBox * _arg0;
1d99702e 3066 PyObject * _argo0 = 0;
900d9886 3067 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3068
3069 self = self;
900d9886 3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
8ab979d7 3071 return NULL;
1d99702e
RD
3072 if (_argo0) {
3073 if (_argo0 == Py_None) { _arg0 = NULL; }
3074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
900d9886 3075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
8ab979d7
RD
3076 return NULL;
3077 }
3078 }
8ab979d7 3079{
4268f798 3080 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3081 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
cf694132 3082
4268f798 3083 wxPyEndAllowThreads(__tstate);
493f1553 3084 if (PyErr_Occurred()) return NULL;
900d9886 3085} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3086 return _resultobj;
3087}
3088
900d9886
RD
3089#define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3090static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 3091 PyObject * _resultobj;
900d9886 3092 long _result;
8ab979d7 3093 wxComboBox * _arg0;
1d99702e 3094 PyObject * _argo0 = 0;
efc5f224 3095 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3096
3097 self = self;
900d9886 3098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
8ab979d7 3099 return NULL;
1d99702e
RD
3100 if (_argo0) {
3101 if (_argo0 == Py_None) { _arg0 = NULL; }
3102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
900d9886 3103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
8ab979d7
RD
3104 return NULL;
3105 }
3106 }
8ab979d7 3107{
4268f798 3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3109 _result = (long )wxComboBox_GetLastPosition(_arg0);
cf694132 3110
4268f798 3111 wxPyEndAllowThreads(__tstate);
493f1553 3112 if (PyErr_Occurred()) return NULL;
900d9886 3113} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
3114 return _resultobj;
3115}
3116
3117#define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 3118static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3119 PyObject * _resultobj;
3120 wxString * _result;
3121 wxComboBox * _arg0;
1d99702e 3122 PyObject * _argo0 = 0;
efc5f224 3123 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3124
3125 self = self;
efc5f224 3126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
8ab979d7 3127 return NULL;
1d99702e
RD
3128 if (_argo0) {
3129 if (_argo0 == Py_None) { _arg0 = NULL; }
3130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3132 return NULL;
3133 }
3134 }
8ab979d7 3135{
4268f798 3136 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3137 _result = new wxString (wxComboBox_GetValue(_arg0));
cf694132 3138
4268f798 3139 wxPyEndAllowThreads(__tstate);
493f1553 3140 if (PyErr_Occurred()) return NULL;
cf694132 3141}{
c8bc7bb8 3142#if wxUSE_UNICODE
7e50db3f 3143 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 3144#else
eec92d76 3145 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3146#endif
8ab979d7
RD
3147}
3148{
3149 delete _result;
3150}
3151 return _resultobj;
3152}
3153
8ab979d7 3154#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
efc5f224 3155static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3156 PyObject * _resultobj;
3157 wxComboBox * _arg0;
1d99702e 3158 PyObject * _argo0 = 0;
efc5f224 3159 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3160
3161 self = self;
efc5f224 3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
8ab979d7 3163 return NULL;
1d99702e
RD
3164 if (_argo0) {
3165 if (_argo0 == Py_None) { _arg0 = NULL; }
3166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3168 return NULL;
3169 }
3170 }
cf694132 3171{
4268f798 3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3173 wxComboBox_Paste(_arg0);
cf694132 3174
4268f798 3175 wxPyEndAllowThreads(__tstate);
493f1553 3176 if (PyErr_Occurred()) return NULL;
cf694132 3177} Py_INCREF(Py_None);
8ab979d7
RD
3178 _resultobj = Py_None;
3179 return _resultobj;
3180}
3181
3182#define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
efc5f224 3183static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3184 PyObject * _resultobj;
3185 wxComboBox * _arg0;
3186 long _arg1;
3187 long _arg2;
3188 wxString * _arg3;
1d99702e 3189 PyObject * _argo0 = 0;
8ab979d7 3190 PyObject * _obj3 = 0;
efc5f224 3191 char *_kwnames[] = { "self","from","to","text", NULL };
8ab979d7
RD
3192
3193 self = self;
efc5f224 3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 3195 return NULL;
1d99702e
RD
3196 if (_argo0) {
3197 if (_argo0 == Py_None) { _arg0 = NULL; }
3198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3200 return NULL;
3201 }
3202 }
3203{
c8bc7bb8
RD
3204 _arg3 = wxString_in_helper(_obj3);
3205 if (_arg3 == NULL)
185d7c3e 3206 return NULL;
8ab979d7 3207}
cf694132 3208{
4268f798 3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3210 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
cf694132 3211
4268f798 3212 wxPyEndAllowThreads(__tstate);
493f1553 3213 if (PyErr_Occurred()) return NULL;
cf694132 3214} Py_INCREF(Py_None);
8ab979d7
RD
3215 _resultobj = Py_None;
3216{
3217 if (_obj3)
3218 delete _arg3;
3219}
3220 return _resultobj;
3221}
3222
3223#define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
efc5f224 3224static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3225 PyObject * _resultobj;
3226 wxComboBox * _arg0;
3227 long _arg1;
3228 long _arg2;
1d99702e 3229 PyObject * _argo0 = 0;
efc5f224 3230 char *_kwnames[] = { "self","from","to", NULL };
8ab979d7
RD
3231
3232 self = self;
efc5f224 3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3234 return NULL;
1d99702e
RD
3235 if (_argo0) {
3236 if (_argo0 == Py_None) { _arg0 = NULL; }
3237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3239 return NULL;
3240 }
3241 }
cf694132 3242{
4268f798 3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3244 wxComboBox_Remove(_arg0,_arg1,_arg2);
cf694132 3245
4268f798 3246 wxPyEndAllowThreads(__tstate);
493f1553 3247 if (PyErr_Occurred()) return NULL;
cf694132 3248} Py_INCREF(Py_None);
8ab979d7
RD
3249 _resultobj = Py_None;
3250 return _resultobj;
3251}
3252
3253#define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
efc5f224 3254static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3255 PyObject * _resultobj;
3256 wxComboBox * _arg0;
3257 long _arg1;
1d99702e 3258 PyObject * _argo0 = 0;
efc5f224 3259 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
3260
3261 self = self;
efc5f224 3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
8ab979d7 3263 return NULL;
1d99702e
RD
3264 if (_argo0) {
3265 if (_argo0 == Py_None) { _arg0 = NULL; }
3266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3268 return NULL;
3269 }
3270 }
cf694132 3271{
4268f798 3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3273 wxComboBox_SetInsertionPoint(_arg0,_arg1);
cf694132 3274
4268f798 3275 wxPyEndAllowThreads(__tstate);
493f1553 3276 if (PyErr_Occurred()) return NULL;
cf694132 3277} Py_INCREF(Py_None);
8ab979d7
RD
3278 _resultobj = Py_None;
3279 return _resultobj;
3280}
3281
3282#define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
efc5f224 3283static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3284 PyObject * _resultobj;
3285 wxComboBox * _arg0;
1d99702e 3286 PyObject * _argo0 = 0;
efc5f224 3287 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3288
3289 self = self;
efc5f224 3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
8ab979d7 3291 return NULL;
1d99702e
RD
3292 if (_argo0) {
3293 if (_argo0 == Py_None) { _arg0 = NULL; }
3294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3296 return NULL;
3297 }
3298 }
cf694132 3299{
4268f798 3300 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3301 wxComboBox_SetInsertionPointEnd(_arg0);
cf694132 3302
4268f798 3303 wxPyEndAllowThreads(__tstate);
493f1553 3304 if (PyErr_Occurred()) return NULL;
cf694132 3305} Py_INCREF(Py_None);
8ab979d7
RD
3306 _resultobj = Py_None;
3307 return _resultobj;
3308}
3309
1d99702e 3310#define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 3311static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1d99702e
RD
3312 PyObject * _resultobj;
3313 wxComboBox * _arg0;
3314 int _arg1;
3315 PyObject * _argo0 = 0;
efc5f224 3316 char *_kwnames[] = { "self","n", NULL };
1d99702e
RD
3317
3318 self = self;
efc5f224 3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
1d99702e
RD
3320 return NULL;
3321 if (_argo0) {
3322 if (_argo0 == Py_None) { _arg0 = NULL; }
3323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3325 return NULL;
3326 }
3327 }
3328{
4268f798 3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3330 wxComboBox_SetSelection(_arg0,_arg1);
1d99702e 3331
4268f798 3332 wxPyEndAllowThreads(__tstate);
493f1553 3333 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3334} Py_INCREF(Py_None);
3335 _resultobj = Py_None;
3336 return _resultobj;
3337}
3338
8ab979d7 3339#define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
efc5f224 3340static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3341 PyObject * _resultobj;
3342 wxComboBox * _arg0;
3343 long _arg1;
3344 long _arg2;
1d99702e 3345 PyObject * _argo0 = 0;
efc5f224 3346 char *_kwnames[] = { "self","from","to", NULL };
8ab979d7
RD
3347
3348 self = self;
efc5f224 3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 3350 return NULL;
1d99702e
RD
3351 if (_argo0) {
3352 if (_argo0 == Py_None) { _arg0 = NULL; }
3353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3355 return NULL;
3356 }
3357 }
cf694132 3358{
4268f798 3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3360 wxComboBox_SetMark(_arg0,_arg1,_arg2);
cf694132 3361
4268f798 3362 wxPyEndAllowThreads(__tstate);
493f1553 3363 if (PyErr_Occurred()) return NULL;
cf694132 3364} Py_INCREF(Py_None);
8ab979d7
RD
3365 _resultobj = Py_None;
3366 return _resultobj;
3367}
3368
3369#define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 3370static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3371 PyObject * _resultobj;
3372 wxComboBox * _arg0;
3373 wxString * _arg1;
1d99702e 3374 PyObject * _argo0 = 0;
8ab979d7 3375 PyObject * _obj1 = 0;
efc5f224 3376 char *_kwnames[] = { "self","text", NULL };
8ab979d7
RD
3377
3378 self = self;
efc5f224 3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
8ab979d7 3380 return NULL;
1d99702e
RD
3381 if (_argo0) {
3382 if (_argo0 == Py_None) { _arg0 = NULL; }
3383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
8ab979d7
RD
3384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3385 return NULL;
3386 }
3387 }
3388{
c8bc7bb8
RD
3389 _arg1 = wxString_in_helper(_obj1);
3390 if (_arg1 == NULL)
185d7c3e 3391 return NULL;
8ab979d7 3392}
cf694132 3393{
4268f798 3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3395 wxComboBox_SetValue(_arg0,*_arg1);
cf694132 3396
4268f798 3397 wxPyEndAllowThreads(__tstate);
493f1553 3398 if (PyErr_Occurred()) return NULL;
cf694132 3399} Py_INCREF(Py_None);
8ab979d7
RD
3400 _resultobj = Py_None;
3401{
3402 if (_obj1)
3403 delete _arg1;
3404}
3405 return _resultobj;
3406}
3407
0adbc166
RD
3408#define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3409static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3410 PyObject * _resultobj;
3411 wxComboBox * _arg0;
3412 bool _arg1;
3413 PyObject * _argo0 = 0;
3414 int tempbool1;
3415 char *_kwnames[] = { "self","editable", NULL };
3416
3417 self = self;
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3419 return NULL;
3420 if (_argo0) {
3421 if (_argo0 == Py_None) { _arg0 = NULL; }
3422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3424 return NULL;
3425 }
3426 }
3427 _arg1 = (bool ) tempbool1;
3428{
4268f798 3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3430 wxComboBox_SetEditable(_arg0,_arg1);
0adbc166 3431
4268f798 3432 wxPyEndAllowThreads(__tstate);
0adbc166
RD
3433 if (PyErr_Occurred()) return NULL;
3434} Py_INCREF(Py_None);
3435 _resultobj = Py_None;
3436 return _resultobj;
3437}
3438
8ab979d7
RD
3439static void *SwigwxGaugeTowxControl(void *ptr) {
3440 wxGauge *src;
3441 wxControl *dest;
3442 src = (wxGauge *) ptr;
3443 dest = (wxControl *) src;
3444 return (void *) dest;
3445}
3446
3447static void *SwigwxGaugeTowxWindow(void *ptr) {
3448 wxGauge *src;
3449 wxWindow *dest;
3450 src = (wxGauge *) ptr;
3451 dest = (wxWindow *) src;
3452 return (void *) dest;
3453}
3454
3455static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3456 wxGauge *src;
3457 wxEvtHandler *dest;
3458 src = (wxGauge *) ptr;
3459 dest = (wxEvtHandler *) src;
3460 return (void *) dest;
3461}
3462
9416aa89
RD
3463static void *SwigwxGaugeTowxObject(void *ptr) {
3464 wxGauge *src;
3465 wxObject *dest;
3466 src = (wxGauge *) ptr;
3467 dest = (wxObject *) src;
3468 return (void *) dest;
3469}
3470
8ab979d7 3471#define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 3472static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3473 PyObject * _resultobj;
3474 wxGauge * _result;
3475 wxWindow * _arg0;
3476 wxWindowID _arg1;
3477 int _arg2;
e508a2b6
RD
3478 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3479 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 3480 long _arg5 = (long ) wxGA_HORIZONTAL;
e508a2b6 3481 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 3482 wxString * _arg7 = (wxString *) &wxPyGaugeNameStr;
1d99702e 3483 PyObject * _argo0 = 0;
2f90df85
RD
3484 wxPoint temp;
3485 PyObject * _obj3 = 0;
3486 wxSize temp0;
3487 PyObject * _obj4 = 0;
1d99702e 3488 PyObject * _argo6 = 0;
137b5242 3489 PyObject * _obj7 = 0;
efc5f224 3490 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
8ab979d7
RD
3491 char _ptemp[128];
3492
3493 self = self;
137b5242 3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOO:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
8ab979d7 3495 return NULL;
1d99702e
RD
3496 if (_argo0) {
3497 if (_argo0 == Py_None) { _arg0 = NULL; }
3498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3500 return NULL;
3501 }
3502 }
2f90df85
RD
3503 if (_obj3)
3504{
3505 _arg3 = &temp;
3506 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 3507 return NULL;
2f90df85
RD
3508}
3509 if (_obj4)
3510{
3511 _arg4 = &temp0;
3512 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 3513 return NULL;
2f90df85 3514}
1d99702e 3515 if (_argo6) {
7e50db3f 3516 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8ab979d7
RD
3517 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3518 return NULL;
3519 }
3520 }
137b5242
RD
3521 if (_obj7)
3522{
3523 _arg7 = wxString_in_helper(_obj7);
3524 if (_arg7 == NULL)
3525 return NULL;
3526}
cf694132 3527{
4268f798 3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 3529 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
cf694132 3530
4268f798 3531 wxPyEndAllowThreads(__tstate);
493f1553 3532 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3533} if (_result) {
3534 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3535 _resultobj = Py_BuildValue("s",_ptemp);
3536 } else {
3537 Py_INCREF(Py_None);
3538 _resultobj = Py_None;
3539 }
137b5242
RD
3540{
3541 if (_obj7)
3542 delete _arg7;
3543}
8ab979d7
RD
3544 return _resultobj;
3545}
3546
09f3d4e6
RD
3547#define new_wxPreGauge() (new wxGauge())
3548static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3549 PyObject * _resultobj;
3550 wxGauge * _result;
3551 char *_kwnames[] = { NULL };
3552 char _ptemp[128];
3553
3554 self = self;
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
3556 return NULL;
3557{
4268f798 3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3559 _result = (wxGauge *)new_wxPreGauge();
09f3d4e6 3560
4268f798 3561 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3562 if (PyErr_Occurred()) return NULL;
3563} if (_result) {
3564 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3565 _resultobj = Py_BuildValue("s",_ptemp);
3566 } else {
3567 Py_INCREF(Py_None);
3568 _resultobj = Py_None;
3569 }
3570 return _resultobj;
3571}
3572
3573#define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3574static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3575 PyObject * _resultobj;
3576 bool _result;
3577 wxGauge * _arg0;
3578 wxWindow * _arg1;
3579 wxWindowID _arg2;
3580 int _arg3;
3581 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3582 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3583 long _arg6 = (long ) wxGA_HORIZONTAL;
3584 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
137b5242 3585 wxString * _arg8 = (wxString *) &wxPyGaugeNameStr;
09f3d4e6
RD
3586 PyObject * _argo0 = 0;
3587 PyObject * _argo1 = 0;
3588 wxPoint temp;
3589 PyObject * _obj4 = 0;
3590 wxSize temp0;
3591 PyObject * _obj5 = 0;
3592 PyObject * _argo7 = 0;
137b5242 3593 PyObject * _obj8 = 0;
09f3d4e6
RD
3594 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
3595
3596 self = self;
137b5242 3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOO:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
09f3d4e6
RD
3598 return NULL;
3599 if (_argo0) {
3600 if (_argo0 == Py_None) { _arg0 = NULL; }
3601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3603 return NULL;
3604 }
3605 }
3606 if (_argo1) {
3607 if (_argo1 == Py_None) { _arg1 = NULL; }
3608 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3609 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3610 return NULL;
3611 }
3612 }
3613 if (_obj4)
3614{
3615 _arg4 = &temp;
3616 if (! wxPoint_helper(_obj4, &_arg4))
3617 return NULL;
3618}
3619 if (_obj5)
3620{
3621 _arg5 = &temp0;
3622 if (! wxSize_helper(_obj5, &_arg5))
3623 return NULL;
3624}
3625 if (_argo7) {
7e50db3f 3626 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
09f3d4e6
RD
3627 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3628 return NULL;
3629 }
3630 }
137b5242
RD
3631 if (_obj8)
3632{
3633 _arg8 = wxString_in_helper(_obj8);
3634 if (_arg8 == NULL)
3635 return NULL;
3636}
09f3d4e6 3637{
4268f798 3638 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 3639 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
09f3d4e6 3640
4268f798 3641 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
3642 if (PyErr_Occurred()) return NULL;
3643} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
3644{
3645 if (_obj8)
3646 delete _arg8;
3647}
09f3d4e6
RD
3648 return _resultobj;
3649}
3650
8ab979d7 3651#define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
efc5f224 3652static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3653 PyObject * _resultobj;
3654 int _result;
3655 wxGauge * _arg0;
1d99702e 3656 PyObject * _argo0 = 0;
efc5f224 3657 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3658
3659 self = self;
efc5f224 3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
8ab979d7 3661 return NULL;
1d99702e
RD
3662 if (_argo0) {
3663 if (_argo0 == Py_None) { _arg0 = NULL; }
3664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3666 return NULL;
3667 }
3668 }
cf694132 3669{
4268f798 3670 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3671 _result = (int )wxGauge_GetBezelFace(_arg0);
cf694132 3672
4268f798 3673 wxPyEndAllowThreads(__tstate);
493f1553 3674 if (PyErr_Occurred()) return NULL;
cf694132 3675} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3676 return _resultobj;
3677}
3678
3679#define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
efc5f224 3680static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3681 PyObject * _resultobj;
3682 int _result;
3683 wxGauge * _arg0;
1d99702e 3684 PyObject * _argo0 = 0;
efc5f224 3685 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3686
3687 self = self;
efc5f224 3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
8ab979d7 3689 return NULL;
1d99702e
RD
3690 if (_argo0) {
3691 if (_argo0 == Py_None) { _arg0 = NULL; }
3692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3694 return NULL;
3695 }
3696 }
cf694132 3697{
4268f798 3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3699 _result = (int )wxGauge_GetRange(_arg0);
cf694132 3700
4268f798 3701 wxPyEndAllowThreads(__tstate);
493f1553 3702 if (PyErr_Occurred()) return NULL;
cf694132 3703} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3704 return _resultobj;
3705}
3706
3707#define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
efc5f224 3708static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3709 PyObject * _resultobj;
3710 int _result;
3711 wxGauge * _arg0;
1d99702e 3712 PyObject * _argo0 = 0;
efc5f224 3713 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3714
3715 self = self;
efc5f224 3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
8ab979d7 3717 return NULL;
1d99702e
RD
3718 if (_argo0) {
3719 if (_argo0 == Py_None) { _arg0 = NULL; }
3720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3722 return NULL;
3723 }
3724 }
cf694132 3725{
4268f798 3726 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3727 _result = (int )wxGauge_GetShadowWidth(_arg0);
cf694132 3728
4268f798 3729 wxPyEndAllowThreads(__tstate);
493f1553 3730 if (PyErr_Occurred()) return NULL;
cf694132 3731} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3732 return _resultobj;
3733}
3734
3735#define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 3736static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3737 PyObject * _resultobj;
3738 int _result;
3739 wxGauge * _arg0;
1d99702e 3740 PyObject * _argo0 = 0;
efc5f224 3741 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
3742
3743 self = self;
efc5f224 3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
8ab979d7 3745 return NULL;
1d99702e
RD
3746 if (_argo0) {
3747 if (_argo0 == Py_None) { _arg0 = NULL; }
3748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3750 return NULL;
3751 }
3752 }
cf694132 3753{
4268f798 3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3755 _result = (int )wxGauge_GetValue(_arg0);
cf694132 3756
4268f798 3757 wxPyEndAllowThreads(__tstate);
493f1553 3758 if (PyErr_Occurred()) return NULL;
cf694132 3759} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
3760 return _resultobj;
3761}
3762
3763#define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
efc5f224 3764static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3765 PyObject * _resultobj;
3766 wxGauge * _arg0;
3767 int _arg1;
1d99702e 3768 PyObject * _argo0 = 0;
efc5f224 3769 char *_kwnames[] = { "self","width", NULL };
8ab979d7
RD
3770
3771 self = self;
efc5f224 3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
8ab979d7 3773 return NULL;
1d99702e
RD
3774 if (_argo0) {
3775 if (_argo0 == Py_None) { _arg0 = NULL; }
3776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3778 return NULL;
3779 }
3780 }
cf694132 3781{
4268f798 3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3783 wxGauge_SetBezelFace(_arg0,_arg1);
cf694132 3784
4268f798 3785 wxPyEndAllowThreads(__tstate);
493f1553 3786 if (PyErr_Occurred()) return NULL;
cf694132 3787} Py_INCREF(Py_None);
8ab979d7
RD
3788 _resultobj = Py_None;
3789 return _resultobj;
3790}
3791
3792#define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
efc5f224 3793static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3794 PyObject * _resultobj;
3795 wxGauge * _arg0;
3796 int _arg1;
1d99702e 3797 PyObject * _argo0 = 0;
efc5f224 3798 char *_kwnames[] = { "self","range", NULL };
8ab979d7
RD
3799
3800 self = self;
efc5f224 3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
8ab979d7 3802 return NULL;
1d99702e
RD
3803 if (_argo0) {
3804 if (_argo0 == Py_None) { _arg0 = NULL; }
3805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3807 return NULL;
3808 }
3809 }
cf694132 3810{
4268f798 3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3812 wxGauge_SetRange(_arg0,_arg1);
cf694132 3813
4268f798 3814 wxPyEndAllowThreads(__tstate);
493f1553 3815 if (PyErr_Occurred()) return NULL;
cf694132 3816} Py_INCREF(Py_None);
8ab979d7
RD
3817 _resultobj = Py_None;
3818 return _resultobj;
3819}
3820
3821#define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
efc5f224 3822static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3823 PyObject * _resultobj;
3824 wxGauge * _arg0;
3825 int _arg1;
1d99702e 3826 PyObject * _argo0 = 0;
efc5f224 3827 char *_kwnames[] = { "self","width", NULL };
8ab979d7
RD
3828
3829 self = self;
efc5f224 3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
8ab979d7 3831 return NULL;
1d99702e
RD
3832 if (_argo0) {
3833 if (_argo0 == Py_None) { _arg0 = NULL; }
3834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3836 return NULL;
3837 }
3838 }
cf694132 3839{
4268f798 3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3841 wxGauge_SetShadowWidth(_arg0,_arg1);
cf694132 3842
4268f798 3843 wxPyEndAllowThreads(__tstate);
493f1553 3844 if (PyErr_Occurred()) return NULL;
cf694132 3845} Py_INCREF(Py_None);
8ab979d7
RD
3846 _resultobj = Py_None;
3847 return _resultobj;
3848}
3849
3850#define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 3851static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3852 PyObject * _resultobj;
3853 wxGauge * _arg0;
3854 int _arg1;
1d99702e 3855 PyObject * _argo0 = 0;
efc5f224 3856 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
3857
3858 self = self;
efc5f224 3859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
8ab979d7 3860 return NULL;
1d99702e
RD
3861 if (_argo0) {
3862 if (_argo0 == Py_None) { _arg0 = NULL; }
3863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
8ab979d7
RD
3864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3865 return NULL;
3866 }
3867 }
cf694132 3868{
4268f798 3869 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3870 wxGauge_SetValue(_arg0,_arg1);
cf694132 3871
4268f798 3872 wxPyEndAllowThreads(__tstate);
493f1553 3873 if (PyErr_Occurred()) return NULL;
cf694132 3874} Py_INCREF(Py_None);
8ab979d7
RD
3875 _resultobj = Py_None;
3876 return _resultobj;
3877}
3878
3879static void *SwigwxStaticBoxTowxControl(void *ptr) {
3880 wxStaticBox *src;
3881 wxControl *dest;
3882 src = (wxStaticBox *) ptr;
3883 dest = (wxControl *) src;
3884 return (void *) dest;
3885}
3886
3887static void *SwigwxStaticBoxTowxWindow(void *ptr) {
3888 wxStaticBox *src;
3889 wxWindow *dest;
3890 src = (wxStaticBox *) ptr;
3891 dest = (wxWindow *) src;
3892 return (void *) dest;
3893}
3894
3895static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
3896 wxStaticBox *src;
3897 wxEvtHandler *dest;
3898 src = (wxStaticBox *) ptr;
3899 dest = (wxEvtHandler *) src;
3900 return (void *) dest;
3901}
3902
9416aa89
RD
3903static void *SwigwxStaticBoxTowxObject(void *ptr) {
3904 wxStaticBox *src;
3905 wxObject *dest;
3906 src = (wxStaticBox *) ptr;
3907 dest = (wxObject *) src;
3908 return (void *) dest;
3909}
3910
8ab979d7 3911#define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 3912static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
3913 PyObject * _resultobj;
3914 wxStaticBox * _result;
3915 wxWindow * _arg0;
3916 wxWindowID _arg1;
3917 wxString * _arg2;
e508a2b6
RD
3918 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3919 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 3920 long _arg5 = (long ) 0;
137b5242 3921 wxString * _arg6 = (wxString *) &wxPyStaticBoxNameStr;
1d99702e 3922 PyObject * _argo0 = 0;
8ab979d7 3923 PyObject * _obj2 = 0;
2f90df85
RD
3924 wxPoint temp;
3925 PyObject * _obj3 = 0;
3926 wxSize temp0;
3927 PyObject * _obj4 = 0;
137b5242 3928 PyObject * _obj6 = 0;
efc5f224 3929 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
8ab979d7
RD
3930 char _ptemp[128];
3931
3932 self = self;
137b5242 3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
8ab979d7 3934 return NULL;
1d99702e
RD
3935 if (_argo0) {
3936 if (_argo0 == Py_None) { _arg0 = NULL; }
3937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
3938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3939 return NULL;
3940 }
3941 }
3942{
c8bc7bb8
RD
3943 _arg2 = wxString_in_helper(_obj2);
3944 if (_arg2 == NULL)
185d7c3e 3945 return NULL;
8ab979d7 3946}
2f90df85
RD
3947 if (_obj3)
3948{
3949 _arg3 = &temp;
3950 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 3951 return NULL;
2f90df85
RD
3952}
3953 if (_obj4)
3954{
3955 _arg4 = &temp0;
3956 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 3957 return NULL;
137b5242
RD
3958}
3959 if (_obj6)
3960{
3961 _arg6 = wxString_in_helper(_obj6);
3962 if (_arg6 == NULL)
3963 return NULL;
2f90df85 3964}
cf694132 3965{
4268f798 3966 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 3967 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
cf694132 3968
4268f798 3969 wxPyEndAllowThreads(__tstate);
493f1553 3970 if (PyErr_Occurred()) return NULL;
1d99702e
RD
3971} if (_result) {
3972 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3973 _resultobj = Py_BuildValue("s",_ptemp);
3974 } else {
3975 Py_INCREF(Py_None);
3976 _resultobj = Py_None;
3977 }
8ab979d7
RD
3978{
3979 if (_obj2)
3980 delete _arg2;
137b5242
RD
3981}
3982{
3983 if (_obj6)
3984 delete _arg6;
8ab979d7
RD
3985}
3986 return _resultobj;
3987}
3988
09f3d4e6
RD
3989#define new_wxPreStaticBox() (new wxStaticBox())
3990static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3991 PyObject * _resultobj;
3992 wxStaticBox * _result;
3993 char *_kwnames[] = { NULL };
3994 char _ptemp[128];
3995
3996 self = self;
3997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
3998 return NULL;
3999{
4268f798 4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4001 _result = (wxStaticBox *)new_wxPreStaticBox();
09f3d4e6 4002
4268f798 4003 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4004 if (PyErr_Occurred()) return NULL;
4005} if (_result) {
4006 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
4007 _resultobj = Py_BuildValue("s",_ptemp);
4008 } else {
4009 Py_INCREF(Py_None);
4010 _resultobj = Py_None;
4011 }
4012 return _resultobj;
4013}
4014
4015#define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4016static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject * _resultobj;
4018 bool _result;
4019 wxStaticBox * _arg0;
4020 wxWindow * _arg1;
4021 wxWindowID _arg2;
4022 wxString * _arg3;
4023 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4024 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4025 long _arg6 = (long ) 0;
137b5242 4026 wxString * _arg7 = (wxString *) &wxPyStaticBoxNameStr;
09f3d4e6
RD
4027 PyObject * _argo0 = 0;
4028 PyObject * _argo1 = 0;
4029 PyObject * _obj3 = 0;
4030 wxPoint temp;
4031 PyObject * _obj4 = 0;
4032 wxSize temp0;
4033 PyObject * _obj5 = 0;
137b5242 4034 PyObject * _obj7 = 0;
09f3d4e6
RD
4035 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4036
4037 self = self;
137b5242 4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
09f3d4e6
RD
4039 return NULL;
4040 if (_argo0) {
4041 if (_argo0 == Py_None) { _arg0 = NULL; }
4042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
4043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4044 return NULL;
4045 }
4046 }
4047 if (_argo1) {
4048 if (_argo1 == Py_None) { _arg1 = NULL; }
4049 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4050 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4051 return NULL;
4052 }
4053 }
4054{
c8bc7bb8
RD
4055 _arg3 = wxString_in_helper(_obj3);
4056 if (_arg3 == NULL)
09f3d4e6 4057 return NULL;
09f3d4e6
RD
4058}
4059 if (_obj4)
4060{
4061 _arg4 = &temp;
4062 if (! wxPoint_helper(_obj4, &_arg4))
4063 return NULL;
4064}
4065 if (_obj5)
4066{
4067 _arg5 = &temp0;
4068 if (! wxSize_helper(_obj5, &_arg5))
4069 return NULL;
137b5242
RD
4070}
4071 if (_obj7)
4072{
4073 _arg7 = wxString_in_helper(_obj7);
4074 if (_arg7 == NULL)
4075 return NULL;
09f3d4e6
RD
4076}
4077{
4268f798 4078 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 4079 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
09f3d4e6 4080
4268f798 4081 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4082 if (PyErr_Occurred()) return NULL;
4083} _resultobj = Py_BuildValue("i",_result);
4084{
4085 if (_obj3)
4086 delete _arg3;
137b5242
RD
4087}
4088{
4089 if (_obj7)
4090 delete _arg7;
09f3d4e6
RD
4091}
4092 return _resultobj;
4093}
4094
8bf5d46e
RD
4095static void *SwigwxStaticLineTowxControl(void *ptr) {
4096 wxStaticLine *src;
4097 wxControl *dest;
4098 src = (wxStaticLine *) ptr;
4099 dest = (wxControl *) src;
4100 return (void *) dest;
4101}
4102
4103static void *SwigwxStaticLineTowxWindow(void *ptr) {
4104 wxStaticLine *src;
4105 wxWindow *dest;
4106 src = (wxStaticLine *) ptr;
4107 dest = (wxWindow *) src;
4108 return (void *) dest;
4109}
4110
4111static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
4112 wxStaticLine *src;
4113 wxEvtHandler *dest;
4114 src = (wxStaticLine *) ptr;
4115 dest = (wxEvtHandler *) src;
4116 return (void *) dest;
4117}
4118
9416aa89
RD
4119static void *SwigwxStaticLineTowxObject(void *ptr) {
4120 wxStaticLine *src;
4121 wxObject *dest;
4122 src = (wxStaticLine *) ptr;
4123 dest = (wxObject *) src;
4124 return (void *) dest;
4125}
4126
8bf5d46e 4127#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 4128static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
4129 PyObject * _resultobj;
4130 wxStaticLine * _result;
4131 wxWindow * _arg0;
4132 wxWindowID _arg1;
e508a2b6
RD
4133 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4134 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 4135 long _arg4 = (long ) wxLI_HORIZONTAL;
137b5242 4136 wxString * _arg5 = (wxString *) &wxPyStaticTextNameStr;
1d99702e 4137 PyObject * _argo0 = 0;
2f90df85
RD
4138 wxPoint temp;
4139 PyObject * _obj2 = 0;
4140 wxSize temp0;
4141 PyObject * _obj3 = 0;
137b5242 4142 PyObject * _obj5 = 0;
efc5f224 4143 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8bf5d46e
RD
4144 char _ptemp[128];
4145
4146 self = self;
137b5242 4147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8bf5d46e 4148 return NULL;
1d99702e
RD
4149 if (_argo0) {
4150 if (_argo0 == Py_None) { _arg0 = NULL; }
4151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8bf5d46e
RD
4152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4153 return NULL;
4154 }
4155 }
2f90df85
RD
4156 if (_obj2)
4157{
4158 _arg2 = &temp;
4159 if (! wxPoint_helper(_obj2, &_arg2))
8bf5d46e 4160 return NULL;
2f90df85
RD
4161}
4162 if (_obj3)
4163{
4164 _arg3 = &temp0;
4165 if (! wxSize_helper(_obj3, &_arg3))
8bf5d46e 4166 return NULL;
137b5242
RD
4167}
4168 if (_obj5)
4169{
4170 _arg5 = wxString_in_helper(_obj5);
4171 if (_arg5 == NULL)
4172 return NULL;
2f90df85 4173}
8bf5d46e 4174{
4268f798 4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 4176 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
8bf5d46e 4177
4268f798 4178 wxPyEndAllowThreads(__tstate);
493f1553 4179 if (PyErr_Occurred()) return NULL;
1d99702e
RD
4180} if (_result) {
4181 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4182 _resultobj = Py_BuildValue("s",_ptemp);
4183 } else {
4184 Py_INCREF(Py_None);
4185 _resultobj = Py_None;
4186 }
137b5242
RD
4187{
4188 if (_obj5)
4189 delete _arg5;
4190}
8bf5d46e
RD
4191 return _resultobj;
4192}
4193
09f3d4e6
RD
4194#define new_wxPreStaticLine() (new wxStaticLine())
4195static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4196 PyObject * _resultobj;
4197 wxStaticLine * _result;
4198 char *_kwnames[] = { NULL };
4199 char _ptemp[128];
4200
4201 self = self;
4202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4203 return NULL;
4204{
4268f798 4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4206 _result = (wxStaticLine *)new_wxPreStaticLine();
09f3d4e6 4207
4268f798 4208 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4209 if (PyErr_Occurred()) return NULL;
4210} if (_result) {
4211 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4212 _resultobj = Py_BuildValue("s",_ptemp);
4213 } else {
4214 Py_INCREF(Py_None);
4215 _resultobj = Py_None;
4216 }
4217 return _resultobj;
4218}
4219
4220#define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4221static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject * _resultobj;
4223 bool _result;
4224 wxStaticLine * _arg0;
4225 wxWindow * _arg1;
4226 wxWindowID _arg2;
4227 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4228 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4229 long _arg5 = (long ) wxLI_HORIZONTAL;
137b5242 4230 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
09f3d4e6
RD
4231 PyObject * _argo0 = 0;
4232 PyObject * _argo1 = 0;
4233 wxPoint temp;
4234 PyObject * _obj3 = 0;
4235 wxSize temp0;
4236 PyObject * _obj4 = 0;
137b5242 4237 PyObject * _obj6 = 0;
09f3d4e6
RD
4238 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4239
4240 self = self;
137b5242 4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
4242 return NULL;
4243 if (_argo0) {
4244 if (_argo0 == Py_None) { _arg0 = NULL; }
4245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4247 return NULL;
4248 }
4249 }
4250 if (_argo1) {
4251 if (_argo1 == Py_None) { _arg1 = NULL; }
4252 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4253 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4254 return NULL;
4255 }
4256 }
4257 if (_obj3)
4258{
4259 _arg3 = &temp;
4260 if (! wxPoint_helper(_obj3, &_arg3))
4261 return NULL;
4262}
4263 if (_obj4)
4264{
4265 _arg4 = &temp0;
4266 if (! wxSize_helper(_obj4, &_arg4))
4267 return NULL;
137b5242
RD
4268}
4269 if (_obj6)
4270{
4271 _arg6 = wxString_in_helper(_obj6);
4272 if (_arg6 == NULL)
4273 return NULL;
09f3d4e6
RD
4274}
4275{
4268f798 4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 4277 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 4278
4268f798 4279 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4280 if (PyErr_Occurred()) return NULL;
4281} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
4282{
4283 if (_obj6)
4284 delete _arg6;
4285}
09f3d4e6
RD
4286 return _resultobj;
4287}
4288
8ab979d7
RD
4289static void *SwigwxStaticTextTowxControl(void *ptr) {
4290 wxStaticText *src;
4291 wxControl *dest;
4292 src = (wxStaticText *) ptr;
4293 dest = (wxControl *) src;
4294 return (void *) dest;
4295}
4296
4297static void *SwigwxStaticTextTowxWindow(void *ptr) {
4298 wxStaticText *src;
4299 wxWindow *dest;
4300 src = (wxStaticText *) ptr;
4301 dest = (wxWindow *) src;
4302 return (void *) dest;
4303}
4304
4305static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4306 wxStaticText *src;
4307 wxEvtHandler *dest;
4308 src = (wxStaticText *) ptr;
4309 dest = (wxEvtHandler *) src;
4310 return (void *) dest;
4311}
4312
9416aa89
RD
4313static void *SwigwxStaticTextTowxObject(void *ptr) {
4314 wxStaticText *src;
4315 wxObject *dest;
4316 src = (wxStaticText *) ptr;
4317 dest = (wxObject *) src;
4318 return (void *) dest;
4319}
4320
8ab979d7 4321#define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 4322static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4323 PyObject * _resultobj;
4324 wxStaticText * _result;
4325 wxWindow * _arg0;
4326 wxWindowID _arg1;
4327 wxString * _arg2;
e508a2b6
RD
4328 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4329 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 4330 long _arg5 = (long ) 0;
137b5242 4331 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
1d99702e 4332 PyObject * _argo0 = 0;
8ab979d7 4333 PyObject * _obj2 = 0;
2f90df85
RD
4334 wxPoint temp;
4335 PyObject * _obj3 = 0;
4336 wxSize temp0;
4337 PyObject * _obj4 = 0;
137b5242 4338 PyObject * _obj6 = 0;
efc5f224 4339 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
8ab979d7
RD
4340 char _ptemp[128];
4341
4342 self = self;
137b5242 4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
8ab979d7 4344 return NULL;
1d99702e
RD
4345 if (_argo0) {
4346 if (_argo0 == Py_None) { _arg0 = NULL; }
4347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
4348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4349 return NULL;
4350 }
4351 }
4352{
c8bc7bb8
RD
4353 _arg2 = wxString_in_helper(_obj2);
4354 if (_arg2 == NULL)
185d7c3e 4355 return NULL;
8ab979d7 4356}
2f90df85
RD
4357 if (_obj3)
4358{
4359 _arg3 = &temp;
4360 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 4361 return NULL;
2f90df85
RD
4362}
4363 if (_obj4)
4364{
4365 _arg4 = &temp0;
4366 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 4367 return NULL;
137b5242
RD
4368}
4369 if (_obj6)
4370{
4371 _arg6 = wxString_in_helper(_obj6);
4372 if (_arg6 == NULL)
4373 return NULL;
2f90df85 4374}
cf694132 4375{
4268f798 4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 4377 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
cf694132 4378
4268f798 4379 wxPyEndAllowThreads(__tstate);
493f1553 4380 if (PyErr_Occurred()) return NULL;
1d99702e
RD
4381} if (_result) {
4382 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4383 _resultobj = Py_BuildValue("s",_ptemp);
4384 } else {
4385 Py_INCREF(Py_None);
4386 _resultobj = Py_None;
4387 }
8ab979d7
RD
4388{
4389 if (_obj2)
4390 delete _arg2;
137b5242
RD
4391}
4392{
4393 if (_obj6)
4394 delete _arg6;
8ab979d7
RD
4395}
4396 return _resultobj;
4397}
4398
09f3d4e6
RD
4399#define new_wxPreStaticText() (new wxStaticText())
4400static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4401 PyObject * _resultobj;
4402 wxStaticText * _result;
4403 char *_kwnames[] = { NULL };
4404 char _ptemp[128];
4405
4406 self = self;
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4408 return NULL;
4409{
4268f798 4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4411 _result = (wxStaticText *)new_wxPreStaticText();
09f3d4e6 4412
4268f798 4413 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4414 if (PyErr_Occurred()) return NULL;
4415} if (_result) {
4416 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4417 _resultobj = Py_BuildValue("s",_ptemp);
4418 } else {
4419 Py_INCREF(Py_None);
4420 _resultobj = Py_None;
4421 }
4422 return _resultobj;
4423}
4424
4425#define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4426static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject * _resultobj;
4428 bool _result;
4429 wxStaticText * _arg0;
4430 wxWindow * _arg1;
4431 wxWindowID _arg2;
4432 wxString * _arg3;
4433 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4434 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4435 long _arg6 = (long ) 0;
137b5242 4436 wxString * _arg7 = (wxString *) &wxPyStaticTextNameStr;
09f3d4e6
RD
4437 PyObject * _argo0 = 0;
4438 PyObject * _argo1 = 0;
4439 PyObject * _obj3 = 0;
4440 wxPoint temp;
4441 PyObject * _obj4 = 0;
4442 wxSize temp0;
4443 PyObject * _obj5 = 0;
137b5242 4444 PyObject * _obj7 = 0;
09f3d4e6
RD
4445 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4446
4447 self = self;
137b5242 4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
09f3d4e6
RD
4449 return NULL;
4450 if (_argo0) {
4451 if (_argo0 == Py_None) { _arg0 = NULL; }
4452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4454 return NULL;
4455 }
4456 }
4457 if (_argo1) {
4458 if (_argo1 == Py_None) { _arg1 = NULL; }
4459 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4460 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4461 return NULL;
4462 }
4463 }
4464{
c8bc7bb8
RD
4465 _arg3 = wxString_in_helper(_obj3);
4466 if (_arg3 == NULL)
09f3d4e6 4467 return NULL;
09f3d4e6
RD
4468}
4469 if (_obj4)
4470{
4471 _arg4 = &temp;
4472 if (! wxPoint_helper(_obj4, &_arg4))
4473 return NULL;
4474}
4475 if (_obj5)
4476{
4477 _arg5 = &temp0;
4478 if (! wxSize_helper(_obj5, &_arg5))
4479 return NULL;
137b5242
RD
4480}
4481 if (_obj7)
4482{
4483 _arg7 = wxString_in_helper(_obj7);
4484 if (_arg7 == NULL)
4485 return NULL;
09f3d4e6
RD
4486}
4487{
4268f798 4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 4489 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
09f3d4e6 4490
4268f798 4491 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4492 if (PyErr_Occurred()) return NULL;
4493} _resultobj = Py_BuildValue("i",_result);
4494{
4495 if (_obj3)
4496 delete _arg3;
137b5242
RD
4497}
4498{
4499 if (_obj7)
4500 delete _arg7;
09f3d4e6
RD
4501}
4502 return _resultobj;
4503}
4504
8ab979d7 4505#define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
efc5f224 4506static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4507 PyObject * _resultobj;
4508 wxString * _result;
4509 wxStaticText * _arg0;
1d99702e 4510 PyObject * _argo0 = 0;
efc5f224 4511 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4512
4513 self = self;
efc5f224 4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
8ab979d7 4515 return NULL;
1d99702e
RD
4516 if (_argo0) {
4517 if (_argo0 == Py_None) { _arg0 = NULL; }
4518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
8ab979d7
RD
4519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4520 return NULL;
4521 }
4522 }
8ab979d7 4523{
4268f798 4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4525 _result = new wxString (wxStaticText_GetLabel(_arg0));
cf694132 4526
4268f798 4527 wxPyEndAllowThreads(__tstate);
493f1553 4528 if (PyErr_Occurred()) return NULL;
cf694132 4529}{
c8bc7bb8 4530#if wxUSE_UNICODE
7e50db3f 4531 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 4532#else
eec92d76 4533 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4534#endif
8ab979d7
RD
4535}
4536{
4537 delete _result;
4538}
4539 return _resultobj;
4540}
4541
4542#define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
efc5f224 4543static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4544 PyObject * _resultobj;
4545 wxStaticText * _arg0;
4546 wxString * _arg1;
1d99702e 4547 PyObject * _argo0 = 0;
8ab979d7 4548 PyObject * _obj1 = 0;
efc5f224 4549 char *_kwnames[] = { "self","label", NULL };
8ab979d7
RD
4550
4551 self = self;
efc5f224 4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
8ab979d7 4553 return NULL;
1d99702e
RD
4554 if (_argo0) {
4555 if (_argo0 == Py_None) { _arg0 = NULL; }
4556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
8ab979d7
RD
4557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4558 return NULL;
4559 }
4560 }
4561{
c8bc7bb8
RD
4562 _arg1 = wxString_in_helper(_obj1);
4563 if (_arg1 == NULL)
185d7c3e 4564 return NULL;
8ab979d7 4565}
cf694132 4566{
4268f798 4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4568 wxStaticText_SetLabel(_arg0,*_arg1);
cf694132 4569
4268f798 4570 wxPyEndAllowThreads(__tstate);
493f1553 4571 if (PyErr_Occurred()) return NULL;
cf694132 4572} Py_INCREF(Py_None);
8ab979d7
RD
4573 _resultobj = Py_None;
4574{
4575 if (_obj1)
4576 delete _arg1;
4577}
4578 return _resultobj;
4579}
4580
900d9886
RD
4581static void *SwigwxListBoxTowxControlWithItems(void *ptr) {
4582 wxListBox *src;
4583 wxControlWithItems *dest;
4584 src = (wxListBox *) ptr;
4585 dest = (wxControlWithItems *) src;
4586 return (void *) dest;
4587}
4588
8ab979d7
RD
4589static void *SwigwxListBoxTowxControl(void *ptr) {
4590 wxListBox *src;
4591 wxControl *dest;
4592 src = (wxListBox *) ptr;
4593 dest = (wxControl *) src;
4594 return (void *) dest;
4595}
4596
4597static void *SwigwxListBoxTowxWindow(void *ptr) {
4598 wxListBox *src;
4599 wxWindow *dest;
4600 src = (wxListBox *) ptr;
4601 dest = (wxWindow *) src;
4602 return (void *) dest;
4603}
4604
4605static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
4606 wxListBox *src;
4607 wxEvtHandler *dest;
4608 src = (wxListBox *) ptr;
4609 dest = (wxEvtHandler *) src;
4610 return (void *) dest;
4611}
4612
9416aa89
RD
4613static void *SwigwxListBoxTowxObject(void *ptr) {
4614 wxListBox *src;
4615 wxObject *dest;
4616 src = (wxListBox *) ptr;
4617 dest = (wxObject *) src;
4618 return (void *) dest;
4619}
4620
09f3d4e6
RD
4621#define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4622static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject * _resultobj;
4624 wxListBox * _result;
4625 wxWindow * _arg0;
4626 wxWindowID _arg1;
4627 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4628 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4629 int _arg4;
4630 wxString * _arg5 = (wxString *) NULL;
4631 long _arg6 = (long ) 0;
4632 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
137b5242 4633 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
09f3d4e6
RD
4634 PyObject * _argo0 = 0;
4635 wxPoint temp;
4636 PyObject * _obj2 = 0;
4637 wxSize temp0;
4638 PyObject * _obj3 = 0;
4639 PyObject * _obj5 = 0;
4640 PyObject * _argo7 = 0;
137b5242 4641 PyObject * _obj8 = 0;
09f3d4e6
RD
4642 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4643 char _ptemp[128];
4644
4645 self = self;
137b5242 4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
09f3d4e6
RD
4647 return NULL;
4648 if (_argo0) {
4649 if (_argo0 == Py_None) { _arg0 = NULL; }
4650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4652 return NULL;
4653 }
4654 }
4655 if (_obj2)
4656{
4657 _arg2 = &temp;
4658 if (! wxPoint_helper(_obj2, &_arg2))
4659 return NULL;
4660}
4661 if (_obj3)
4662{
4663 _arg3 = &temp0;
4664 if (! wxSize_helper(_obj3, &_arg3))
4665 return NULL;
4666}
4667 if (_obj5)
4668{
4669 _arg5 = wxString_LIST_helper(_obj5);
4670 if (_arg5 == NULL) {
4671 return NULL;
4672 }
4673}
4674 if (_argo7) {
7e50db3f 4675 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
09f3d4e6
RD
4676 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4677 return NULL;
4678 }
4679 }
137b5242
RD
4680 if (_obj8)
4681{
4682 _arg8 = wxString_in_helper(_obj8);
4683 if (_arg8 == NULL)
4684 return NULL;
4685}
09f3d4e6
RD
4686{
4687 if (_obj5) {
4688 _arg4 = PyList_Size(_obj5);
4689 }
4690 else {
4691 _arg4 = 0;
4692 }
4693}
4694{
4268f798 4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 4696 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
09f3d4e6 4697
4268f798 4698 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4699 if (PyErr_Occurred()) return NULL;
4700} if (_result) {
4701 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4702 _resultobj = Py_BuildValue("s",_ptemp);
4703 } else {
4704 Py_INCREF(Py_None);
4705 _resultobj = Py_None;
4706 }
4707{
4708 delete [] _arg5;
137b5242
RD
4709}
4710{
4711 if (_obj8)
4712 delete _arg8;
09f3d4e6
RD
4713}
4714 return _resultobj;
4715}
4716
4717#define new_wxPreListBox() (new wxListBox())
4718static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4719 PyObject * _resultobj;
4720 wxListBox * _result;
4721 char *_kwnames[] = { NULL };
4722 char _ptemp[128];
4723
4724 self = self;
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
4726 return NULL;
4727{
4268f798 4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4729 _result = (wxListBox *)new_wxPreListBox();
09f3d4e6 4730
4268f798 4731 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
4732 if (PyErr_Occurred()) return NULL;
4733} if (_result) {
4734 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4735 _resultobj = Py_BuildValue("s",_ptemp);
4736 } else {
4737 Py_INCREF(Py_None);
4738 _resultobj = Py_None;
4739 }
4740 return _resultobj;
4741}
4742
4743#define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4744static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 4745 PyObject * _resultobj;
09f3d4e6
RD
4746 bool _result;
4747 wxListBox * _arg0;
4748 wxWindow * _arg1;
4749 wxWindowID _arg2;
4750 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4751 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4752 int _arg5;
4753 wxString * _arg6 = (wxString *) NULL;
4754 long _arg7 = (long ) 0;
4755 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
137b5242 4756 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
1d99702e 4757 PyObject * _argo0 = 0;
09f3d4e6 4758 PyObject * _argo1 = 0;
2f90df85 4759 wxPoint temp;
2f90df85 4760 PyObject * _obj3 = 0;
09f3d4e6
RD
4761 wxSize temp0;
4762 PyObject * _obj4 = 0;
4763 PyObject * _obj6 = 0;
4764 PyObject * _argo8 = 0;
137b5242 4765 PyObject * _obj9 = 0;
09f3d4e6 4766 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
8ab979d7
RD
4767
4768 self = self;
137b5242 4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
8ab979d7 4770 return NULL;
1d99702e
RD
4771 if (_argo0) {
4772 if (_argo0 == Py_None) { _arg0 = NULL; }
09f3d4e6
RD
4773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
8ab979d7
RD
4775 return NULL;
4776 }
4777 }
09f3d4e6
RD
4778 if (_argo1) {
4779 if (_argo1 == Py_None) { _arg1 = NULL; }
4780 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4781 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4782 return NULL;
4783 }
4784 }
4785 if (_obj3)
2f90df85 4786{
09f3d4e6
RD
4787 _arg3 = &temp;
4788 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 4789 return NULL;
2f90df85 4790}
09f3d4e6 4791 if (_obj4)
2f90df85 4792{
09f3d4e6
RD
4793 _arg4 = &temp0;
4794 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 4795 return NULL;
2f90df85 4796}
09f3d4e6 4797 if (_obj6)
8ab979d7 4798{
09f3d4e6
RD
4799 _arg6 = wxString_LIST_helper(_obj6);
4800 if (_arg6 == NULL) {
8ab979d7
RD
4801 return NULL;
4802 }
4803}
09f3d4e6 4804 if (_argo8) {
7e50db3f 4805 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
09f3d4e6 4806 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
8ab979d7
RD
4807 return NULL;
4808 }
4809 }
137b5242
RD
4810 if (_obj9)
4811{
4812 _arg9 = wxString_in_helper(_obj9);
4813 if (_arg9 == NULL)
4814 return NULL;
4815}
8ab979d7 4816{
09f3d4e6
RD
4817 if (_obj6) {
4818 _arg5 = PyList_Size(_obj6);
cf694132
RD
4819 }
4820 else {
09f3d4e6 4821 _arg5 = 0;
cf694132 4822 }
8ab979d7 4823}
cf694132 4824{
4268f798 4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 4826 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
cf694132 4827
4268f798 4828 wxPyEndAllowThreads(__tstate);
493f1553 4829 if (PyErr_Occurred()) return NULL;
09f3d4e6 4830} _resultobj = Py_BuildValue("i",_result);
8ab979d7 4831{
09f3d4e6 4832 delete [] _arg6;
137b5242
RD
4833}
4834{
4835 if (_obj9)
4836 delete _arg9;
8ab979d7
RD
4837}
4838 return _resultobj;
4839}
4840
8ab979d7 4841#define wxListBox_Clear(_swigobj) (_swigobj->Clear())
efc5f224 4842static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4843 PyObject * _resultobj;
4844 wxListBox * _arg0;
1d99702e 4845 PyObject * _argo0 = 0;
efc5f224 4846 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
4847
4848 self = self;
efc5f224 4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
8ab979d7 4850 return NULL;
1d99702e
RD
4851 if (_argo0) {
4852 if (_argo0 == Py_None) { _arg0 = NULL; }
4853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4855 return NULL;
4856 }
4857 }
cf694132 4858{
4268f798 4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4860 wxListBox_Clear(_arg0);
cf694132 4861
4268f798 4862 wxPyEndAllowThreads(__tstate);
493f1553 4863 if (PyErr_Occurred()) return NULL;
cf694132 4864} Py_INCREF(Py_None);
8ab979d7
RD
4865 _resultobj = Py_None;
4866 return _resultobj;
4867}
4868
8ab979d7 4869#define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
efc5f224 4870static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
4871 PyObject * _resultobj;
4872 wxListBox * _arg0;
4873 int _arg1;
1d99702e 4874 PyObject * _argo0 = 0;
efc5f224 4875 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
4876
4877 self = self;
efc5f224 4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
8ab979d7 4879 return NULL;
1d99702e
RD
4880 if (_argo0) {
4881 if (_argo0 == Py_None) { _arg0 = NULL; }
4882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
4883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4884 return NULL;
4885 }
4886 }
cf694132 4887{
4268f798 4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4889 wxListBox_Deselect(_arg0,_arg1);
cf694132 4890
4268f798 4891 wxPyEndAllowThreads(__tstate);
493f1553 4892 if (PyErr_Occurred()) return NULL;
cf694132 4893} Py_INCREF(Py_None);
8ab979d7
RD
4894 _resultobj = Py_None;
4895 return _resultobj;
4896}
4897
cf694132
RD
4898static PyObject * wxListBox_GetSelections(wxListBox *self) {
4899 wxArrayInt lst;
4900 self->GetSelections(lst);
4901 PyObject *tup = PyTuple_New(lst.GetCount());
f6bcfd97 4902 for(size_t i=0; i<lst.GetCount(); i++) {
cf694132
RD
4903 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
4904 }
4905 return tup;
4906 }
efc5f224 4907static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
4908 PyObject * _resultobj;
4909 PyObject * _result;
4910 wxListBox * _arg0;
1d99702e 4911 PyObject * _argo0 = 0;
efc5f224 4912 char *_kwnames[] = { "self", NULL };
cf694132
RD
4913
4914 self = self;
efc5f224 4915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
cf694132 4916 return NULL;
1d99702e
RD
4917 if (_argo0) {
4918 if (_argo0 == Py_None) { _arg0 = NULL; }
4919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
cf694132
RD
4920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4921 return NULL;
4922 }
4923 }
4924{
4268f798 4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4926 _result = (PyObject *)wxListBox_GetSelections(_arg0);
cf694132 4927
4268f798 4928 wxPyEndAllowThreads(__tstate);
493f1553 4929 if (PyErr_Occurred()) return NULL;
cf694132
RD
4930}{
4931 _resultobj = _result;
4932}
8ab979d7
RD
4933 return _resultobj;
4934}
4935
2f90df85
RD
4936#define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4937static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4938 PyObject * _resultobj;
4939 wxListBox * _arg0;
4940 int _arg1;
4941 wxString * _arg2;
4942 int _arg3;
4943 PyObject * _argo0 = 0;
4944 PyObject * _obj2 = 0;
eec92d76 4945 char *_kwnames[] = { "self","choices","pos", NULL };
2f90df85
RD
4946
4947 self = self;
4948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
4949 return NULL;
4950 if (_argo0) {
4951 if (_argo0 == Py_None) { _arg0 = NULL; }
4952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4954 return NULL;
4955 }
4956 }
4957{
4958 _arg2 = wxString_LIST_helper(_obj2);
4959 if (_arg2 == NULL) {
4960 return NULL;
4961 }
4962}
4963{
4964 if (_obj2) {
4965 _arg1 = PyList_Size(_obj2);
4966 }
4967 else {
4968 _arg1 = 0;
4969 }
4970}
4971{
4268f798 4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4973 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
2f90df85 4974
4268f798 4975 wxPyEndAllowThreads(__tstate);
493f1553 4976 if (PyErr_Occurred()) return NULL;
2f90df85
RD
4977} Py_INCREF(Py_None);
4978 _resultobj = Py_None;
4979{
4980 delete [] _arg2;
4981}
4982 return _resultobj;
4983}
4984
0adbc166
RD
4985#define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4986static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject * _resultobj;
4988 bool _result;
4989 wxListBox * _arg0;
4990 int _arg1;
4991 PyObject * _argo0 = 0;
4992 char *_kwnames[] = { "self","n", NULL };
4993
4994 self = self;
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
4996 return NULL;
4997 if (_argo0) {
4998 if (_argo0 == Py_None) { _arg0 = NULL; }
4999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5001 return NULL;
5002 }
5003 }
5004{
4268f798 5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5006 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
cf694132 5007
4268f798 5008 wxPyEndAllowThreads(__tstate);
493f1553 5009 if (PyErr_Occurred()) return NULL;
cf694132 5010} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5011 return _resultobj;
5012}
5013
5014#define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
efc5f224 5015static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5016 PyObject * _resultobj;
5017 bool _result;
5018 wxListBox * _arg0;
5019 int _arg1;
1d99702e 5020 PyObject * _argo0 = 0;
efc5f224 5021 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
5022
5023 self = self;
efc5f224 5024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
8ab979d7 5025 return NULL;
1d99702e
RD
5026 if (_argo0) {
5027 if (_argo0 == Py_None) { _arg0 = NULL; }
5028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5030 return NULL;
5031 }
5032 }
cf694132 5033{
4268f798 5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5035 _result = (bool )wxListBox_Selected(_arg0,_arg1);
cf694132 5036
4268f798 5037 wxPyEndAllowThreads(__tstate);
493f1553 5038 if (PyErr_Occurred()) return NULL;
cf694132 5039} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
5040 return _resultobj;
5041}
5042
5043#define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
efc5f224 5044static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5045 PyObject * _resultobj;
5046 wxListBox * _arg0;
5047 int _arg1;
5048 wxString * _arg2;
1d99702e 5049 PyObject * _argo0 = 0;
8ab979d7 5050 PyObject * _obj2 = 0;
eec92d76 5051 char *_kwnames[] = { "self","choices", NULL };
8ab979d7
RD
5052
5053 self = self;
efc5f224 5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
8ab979d7 5055 return NULL;
1d99702e
RD
5056 if (_argo0) {
5057 if (_argo0 == Py_None) { _arg0 = NULL; }
5058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5060 return NULL;
5061 }
5062 }
5063 if (_obj2)
5064{
5065 _arg2 = wxString_LIST_helper(_obj2);
5066 if (_arg2 == NULL) {
5067 return NULL;
5068 }
5069}
5070{
cf694132
RD
5071 if (_obj2) {
5072 _arg1 = PyList_Size(_obj2);
5073 }
5074 else {
5075 _arg1 = 0;
5076 }
8ab979d7 5077}
cf694132 5078{
4268f798 5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5080 wxListBox_Set(_arg0,_arg1,_arg2);
cf694132 5081
4268f798 5082 wxPyEndAllowThreads(__tstate);
493f1553 5083 if (PyErr_Occurred()) return NULL;
cf694132 5084} Py_INCREF(Py_None);
8ab979d7
RD
5085 _resultobj = Py_None;
5086{
5087 delete [] _arg2;
5088}
5089 return _resultobj;
5090}
5091
5092#define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
efc5f224 5093static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5094 PyObject * _resultobj;
5095 wxListBox * _arg0;
5096 int _arg1;
1d99702e 5097 PyObject * _argo0 = 0;
efc5f224 5098 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
5099
5100 self = self;
efc5f224 5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
8ab979d7 5102 return NULL;
1d99702e
RD
5103 if (_argo0) {
5104 if (_argo0 == Py_None) { _arg0 = NULL; }
5105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5107 return NULL;
5108 }
5109 }
cf694132 5110{
4268f798 5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5112 wxListBox_SetFirstItem(_arg0,_arg1);
cf694132 5113
4268f798 5114 wxPyEndAllowThreads(__tstate);
493f1553 5115 if (PyErr_Occurred()) return NULL;
cf694132 5116} Py_INCREF(Py_None);
8ab979d7
RD
5117 _resultobj = Py_None;
5118 return _resultobj;
5119}
5120
5121#define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
efc5f224 5122static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5123 PyObject * _resultobj;
5124 wxListBox * _arg0;
5125 wxString * _arg1;
1d99702e 5126 PyObject * _argo0 = 0;
8ab979d7 5127 PyObject * _obj1 = 0;
efc5f224 5128 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
5129
5130 self = self;
efc5f224 5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
8ab979d7 5132 return NULL;
1d99702e
RD
5133 if (_argo0) {
5134 if (_argo0 == Py_None) { _arg0 = NULL; }
5135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5137 return NULL;
5138 }
5139 }
5140{
c8bc7bb8
RD
5141 _arg1 = wxString_in_helper(_obj1);
5142 if (_arg1 == NULL)
185d7c3e 5143 return NULL;
8ab979d7 5144}
cf694132 5145{
4268f798 5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5147 wxListBox_SetFirstItemStr(_arg0,*_arg1);
cf694132 5148
4268f798 5149 wxPyEndAllowThreads(__tstate);
493f1553 5150 if (PyErr_Occurred()) return NULL;
cf694132 5151} Py_INCREF(Py_None);
8ab979d7
RD
5152 _resultobj = Py_None;
5153{
5154 if (_obj1)
5155 delete _arg1;
5156}
5157 return _resultobj;
5158}
5159
5160#define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
efc5f224 5161static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5162 PyObject * _resultobj;
5163 wxListBox * _arg0;
5164 int _arg1;
1d99702e
RD
5165 bool _arg2 = (bool ) TRUE;
5166 PyObject * _argo0 = 0;
5167 int tempbool2 = (int) TRUE;
efc5f224 5168 char *_kwnames[] = { "self","n","select", NULL };
8ab979d7
RD
5169
5170 self = self;
efc5f224 5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 5172 return NULL;
1d99702e
RD
5173 if (_argo0) {
5174 if (_argo0 == Py_None) { _arg0 = NULL; }
5175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5177 return NULL;
5178 }
5179 }
5180 _arg2 = (bool ) tempbool2;
cf694132 5181{
4268f798 5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5183 wxListBox_SetSelection(_arg0,_arg1,_arg2);
cf694132 5184
4268f798 5185 wxPyEndAllowThreads(__tstate);
493f1553 5186 if (PyErr_Occurred()) return NULL;
cf694132 5187} Py_INCREF(Py_None);
8ab979d7
RD
5188 _resultobj = Py_None;
5189 return _resultobj;
5190}
5191
5192#define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
efc5f224 5193static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5194 PyObject * _resultobj;
5195 wxListBox * _arg0;
5196 int _arg1;
5197 wxString * _arg2;
1d99702e 5198 PyObject * _argo0 = 0;
8ab979d7 5199 PyObject * _obj2 = 0;
efc5f224 5200 char *_kwnames[] = { "self","n","string", NULL };
8ab979d7
RD
5201
5202 self = self;
efc5f224 5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 5204 return NULL;
1d99702e
RD
5205 if (_argo0) {
5206 if (_argo0 == Py_None) { _arg0 = NULL; }
5207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5209 return NULL;
5210 }
5211 }
5212{
c8bc7bb8
RD
5213 _arg2 = wxString_in_helper(_obj2);
5214 if (_arg2 == NULL)
185d7c3e 5215 return NULL;
8ab979d7 5216}
cf694132 5217{
4268f798 5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5219 wxListBox_SetString(_arg0,_arg1,*_arg2);
cf694132 5220
4268f798 5221 wxPyEndAllowThreads(__tstate);
493f1553 5222 if (PyErr_Occurred()) return NULL;
cf694132 5223} Py_INCREF(Py_None);
8ab979d7
RD
5224 _resultobj = Py_None;
5225{
5226 if (_obj2)
5227 delete _arg2;
5228}
5229 return _resultobj;
5230}
5231
5232#define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
efc5f224 5233static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
5234 PyObject * _resultobj;
5235 wxListBox * _arg0;
5236 wxString * _arg1;
1d99702e
RD
5237 bool _arg2 = (bool ) TRUE;
5238 PyObject * _argo0 = 0;
8ab979d7 5239 PyObject * _obj1 = 0;
1d99702e 5240 int tempbool2 = (int) TRUE;
efc5f224 5241 char *_kwnames[] = { "self","string","select", NULL };
8ab979d7
RD
5242
5243 self = self;
efc5f224 5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
8ab979d7 5245 return NULL;
1d99702e
RD
5246 if (_argo0) {
5247 if (_argo0 == Py_None) { _arg0 = NULL; }
5248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
8ab979d7
RD
5249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5250 return NULL;
5251 }
5252 }
5253{
c8bc7bb8
RD
5254 _arg1 = wxString_in_helper(_obj1);
5255 if (_arg1 == NULL)
8ab979d7 5256 return NULL;
8ab979d7
RD
5257}
5258 _arg2 = (bool ) tempbool2;
cf694132 5259{
4268f798 5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5261 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
cf694132 5262
4268f798 5263 wxPyEndAllowThreads(__tstate);
493f1553 5264 if (PyErr_Occurred()) return NULL;
cf694132 5265} Py_INCREF(Py_None);
8ab979d7
RD
5266 _resultobj = Py_None;
5267{
5268 if (_obj1)
5269 delete _arg1;
5270}
5271 return _resultobj;
5272}
5273
9c039d08
RD
5274static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5275 wxCheckListBox *src;
5276 wxListBox *dest;
5277 src = (wxCheckListBox *) ptr;
5278 dest = (wxListBox *) src;
5279 return (void *) dest;
5280}
5281
900d9886
RD
5282static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr) {
5283 wxCheckListBox *src;
5284 wxControlWithItems *dest;
5285 src = (wxCheckListBox *) ptr;
5286 dest = (wxControlWithItems *) src;
5287 return (void *) dest;
5288}
5289
9c039d08
RD
5290static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5291 wxCheckListBox *src;
5292 wxControl *dest;
5293 src = (wxCheckListBox *) ptr;
5294 dest = (wxControl *) src;
5295 return (void *) dest;
5296}
5297
5298static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5299 wxCheckListBox *src;
5300 wxWindow *dest;
5301 src = (wxCheckListBox *) ptr;
5302 dest = (wxWindow *) src;
5303 return (void *) dest;
5304}
5305
5306static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5307 wxCheckListBox *src;
5308 wxEvtHandler *dest;
5309 src = (wxCheckListBox *) ptr;
5310 dest = (wxEvtHandler *) src;
5311 return (void *) dest;
5312}
5313
9416aa89
RD
5314static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5315 wxCheckListBox *src;
5316 wxObject *dest;
5317 src = (wxCheckListBox *) ptr;
5318 dest = (wxObject *) src;
5319 return (void *) dest;
5320}
5321
9c039d08 5322#define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
efc5f224 5323static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5324 PyObject * _resultobj;
5325 wxCheckListBox * _result;
5326 wxWindow * _arg0;
5327 wxWindowID _arg1;
e508a2b6
RD
5328 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5329 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e
RD
5330 int _arg4 = (int ) 0;
5331 wxString * _arg5 = (wxString *) NULL;
5332 long _arg6 = (long ) 0;
e508a2b6 5333 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
137b5242 5334 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
1d99702e 5335 PyObject * _argo0 = 0;
2f90df85
RD
5336 wxPoint temp;
5337 PyObject * _obj2 = 0;
5338 wxSize temp0;
5339 PyObject * _obj3 = 0;
9c039d08 5340 PyObject * _obj5 = 0;
1d99702e 5341 PyObject * _argo7 = 0;
137b5242 5342 PyObject * _obj8 = 0;
eec92d76 5343 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
9c039d08
RD
5344 char _ptemp[128];
5345
5346 self = self;
137b5242 5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
9c039d08 5348 return NULL;
1d99702e
RD
5349 if (_argo0) {
5350 if (_argo0 == Py_None) { _arg0 = NULL; }
5351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9c039d08
RD
5352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5353 return NULL;
5354 }
5355 }
2f90df85
RD
5356 if (_obj2)
5357{
5358 _arg2 = &temp;
5359 if (! wxPoint_helper(_obj2, &_arg2))
9c039d08 5360 return NULL;
2f90df85
RD
5361}
5362 if (_obj3)
5363{
5364 _arg3 = &temp0;
5365 if (! wxSize_helper(_obj3, &_arg3))
9c039d08 5366 return NULL;
2f90df85 5367}
9c039d08
RD
5368 if (_obj5)
5369{
5370 _arg5 = wxString_LIST_helper(_obj5);
5371 if (_arg5 == NULL) {
5372 return NULL;
5373 }
5374}
1d99702e 5375 if (_argo7) {
7e50db3f 5376 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
9c039d08
RD
5377 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5378 return NULL;
5379 }
5380 }
137b5242
RD
5381 if (_obj8)
5382{
5383 _arg8 = wxString_in_helper(_obj8);
5384 if (_arg8 == NULL)
5385 return NULL;
5386}
9c039d08 5387{
cf694132
RD
5388 if (_obj5) {
5389 _arg4 = PyList_Size(_obj5);
5390 }
5391 else {
5392 _arg4 = 0;
5393 }
9c039d08 5394}
cf694132 5395{
4268f798 5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 5397 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
cf694132 5398
4268f798 5399 wxPyEndAllowThreads(__tstate);
493f1553 5400 if (PyErr_Occurred()) return NULL;
1d99702e
RD
5401} if (_result) {
5402 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5403 _resultobj = Py_BuildValue("s",_ptemp);
5404 } else {
5405 Py_INCREF(Py_None);
5406 _resultobj = Py_None;
5407 }
9c039d08
RD
5408{
5409 delete [] _arg5;
137b5242
RD
5410}
5411{
5412 if (_obj8)
5413 delete _arg8;
9c039d08
RD
5414}
5415 return _resultobj;
5416}
5417
09f3d4e6
RD
5418#define new_wxPreCheckListBox() (new wxCheckListBox())
5419static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5420 PyObject * _resultobj;
5421 wxCheckListBox * _result;
5422 char *_kwnames[] = { NULL };
5423 char _ptemp[128];
5424
5425 self = self;
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
5427 return NULL;
5428{
4268f798 5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5430 _result = (wxCheckListBox *)new_wxPreCheckListBox();
09f3d4e6 5431
4268f798 5432 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
5433 if (PyErr_Occurred()) return NULL;
5434} if (_result) {
5435 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5436 _resultobj = Py_BuildValue("s",_ptemp);
5437 } else {
5438 Py_INCREF(Py_None);
5439 _resultobj = Py_None;
5440 }
5441 return _resultobj;
5442}
5443
5444#define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5445static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5446 PyObject * _resultobj;
5447 bool _result;
5448 wxCheckListBox * _arg0;
5449 wxWindow * _arg1;
5450 wxWindowID _arg2;
5451 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5452 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5453 int _arg5 = (int ) 0;
5454 wxString * _arg6 = (wxString *) NULL;
5455 long _arg7 = (long ) 0;
5456 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
137b5242 5457 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
09f3d4e6
RD
5458 PyObject * _argo0 = 0;
5459 PyObject * _argo1 = 0;
5460 wxPoint temp;
5461 PyObject * _obj3 = 0;
5462 wxSize temp0;
5463 PyObject * _obj4 = 0;
5464 PyObject * _obj6 = 0;
5465 PyObject * _argo8 = 0;
137b5242 5466 PyObject * _obj9 = 0;
09f3d4e6
RD
5467 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5468
5469 self = self;
137b5242 5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
09f3d4e6
RD
5471 return NULL;
5472 if (_argo0) {
5473 if (_argo0 == Py_None) { _arg0 = NULL; }
5474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5476 return NULL;
5477 }
5478 }
5479 if (_argo1) {
5480 if (_argo1 == Py_None) { _arg1 = NULL; }
5481 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5482 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5483 return NULL;
5484 }
5485 }
5486 if (_obj3)
5487{
5488 _arg3 = &temp;
5489 if (! wxPoint_helper(_obj3, &_arg3))
5490 return NULL;
5491}
5492 if (_obj4)
5493{
5494 _arg4 = &temp0;
5495 if (! wxSize_helper(_obj4, &_arg4))
5496 return NULL;
5497}
5498 if (_obj6)
5499{
5500 _arg6 = wxString_LIST_helper(_obj6);
5501 if (_arg6 == NULL) {
5502 return NULL;
5503 }
5504}
5505 if (_argo8) {
7e50db3f 5506 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
09f3d4e6
RD
5507 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5508 return NULL;
5509 }
5510 }
137b5242
RD
5511 if (_obj9)
5512{
5513 _arg9 = wxString_in_helper(_obj9);
5514 if (_arg9 == NULL)
5515 return NULL;
5516}
09f3d4e6
RD
5517{
5518 if (_obj6) {
5519 _arg5 = PyList_Size(_obj6);
5520 }
5521 else {
5522 _arg5 = 0;
5523 }
5524}
5525{
4268f798 5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 5527 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
09f3d4e6 5528
4268f798 5529 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
5530 if (PyErr_Occurred()) return NULL;
5531} _resultobj = Py_BuildValue("i",_result);
5532{
5533 delete [] _arg6;
137b5242
RD
5534}
5535{
5536 if (_obj9)
5537 delete _arg9;
09f3d4e6
RD
5538}
5539 return _resultobj;
5540}
5541
9c039d08 5542#define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
efc5f224 5543static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5544 PyObject * _resultobj;
5545 bool _result;
5546 wxCheckListBox * _arg0;
5547 int _arg1;
1d99702e 5548 PyObject * _argo0 = 0;
efc5f224 5549 char *_kwnames[] = { "self","uiIndex", NULL };
9c039d08
RD
5550
5551 self = self;
efc5f224 5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
9c039d08 5553 return NULL;
1d99702e
RD
5554 if (_argo0) {
5555 if (_argo0 == Py_None) { _arg0 = NULL; }
5556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
9c039d08
RD
5557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5558 return NULL;
5559 }
5560 }
cf694132 5561{
4268f798 5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5563 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
cf694132 5564
4268f798 5565 wxPyEndAllowThreads(__tstate);
493f1553 5566 if (PyErr_Occurred()) return NULL;
cf694132 5567} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
5568 return _resultobj;
5569}
5570
5571#define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
efc5f224 5572static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5573 PyObject * _resultobj;
5574 wxCheckListBox * _arg0;
5575 int _arg1;
694759cf 5576 int _arg2 = (int ) TRUE;
1d99702e 5577 PyObject * _argo0 = 0;
efc5f224 5578 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
9c039d08
RD
5579
5580 self = self;
694759cf 5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
9c039d08 5582 return NULL;
1d99702e
RD
5583 if (_argo0) {
5584 if (_argo0 == Py_None) { _arg0 = NULL; }
5585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
9c039d08
RD
5586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5587 return NULL;
5588 }
5589 }
cf694132 5590{
4268f798 5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5592 wxCheckListBox_Check(_arg0,_arg1,_arg2);
cf694132 5593
4268f798 5594 wxPyEndAllowThreads(__tstate);
493f1553 5595 if (PyErr_Occurred()) return NULL;
cf694132 5596} Py_INCREF(Py_None);
9c039d08
RD
5597 _resultobj = Py_None;
5598 return _resultobj;
5599}
5600
694759cf
RD
5601#define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5602static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject * _resultobj;
5604 wxCheckListBox * _arg0;
5605 int _arg1;
5606 wxString * _arg2;
5607 int _arg3;
5608 PyObject * _argo0 = 0;
5609 PyObject * _obj2 = 0;
eec92d76 5610 char *_kwnames[] = { "self","choices","pos", NULL };
694759cf
RD
5611
5612 self = self;
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5614 return NULL;
5615 if (_argo0) {
5616 if (_argo0 == Py_None) { _arg0 = NULL; }
5617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5619 return NULL;
5620 }
5621 }
5622{
5623 _arg2 = wxString_LIST_helper(_obj2);
5624 if (_arg2 == NULL) {
5625 return NULL;
5626 }
5627}
5628{
5629 if (_obj2) {
5630 _arg1 = PyList_Size(_obj2);
5631 }
5632 else {
5633 _arg1 = 0;
5634 }
5635}
5636{
4268f798 5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5638 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
694759cf 5639
4268f798 5640 wxPyEndAllowThreads(__tstate);
493f1553 5641 if (PyErr_Occurred()) return NULL;
694759cf
RD
5642} Py_INCREF(Py_None);
5643 _resultobj = Py_None;
5644{
5645 delete [] _arg2;
5646}
5647 return _resultobj;
5648}
5649
9c039d08 5650#define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
efc5f224 5651static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
9c039d08
RD
5652 PyObject * _resultobj;
5653 int _result;
5654 wxCheckListBox * _arg0;
1d99702e 5655 PyObject * _argo0 = 0;
efc5f224 5656 char *_kwnames[] = { "self", NULL };
9c039d08
RD
5657
5658 self = self;
efc5f224 5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
9c039d08 5660 return NULL;
1d99702e
RD
5661 if (_argo0) {
5662 if (_argo0 == Py_None) { _arg0 = NULL; }
5663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
9c039d08
RD
5664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5665 return NULL;
5666 }
5667 }
cf694132 5668{
4268f798 5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5670 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
cf694132 5671
4268f798 5672 wxPyEndAllowThreads(__tstate);
493f1553 5673 if (PyErr_Occurred()) return NULL;
cf694132 5674} _resultobj = Py_BuildValue("i",_result);
9c039d08
RD
5675 return _resultobj;
5676}
5677
5d5d57f3
RD
5678#define wxCheckListBox_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5679static PyObject *_wrap_wxCheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5680 PyObject * _resultobj;
5681 int _result;
5682 wxCheckListBox * _arg0;
5683 wxPoint * _arg1;
5684 PyObject * _argo0 = 0;
5685 wxPoint temp;
5686 PyObject * _obj1 = 0;
5687 char *_kwnames[] = { "self","pt", NULL };
5688
5689 self = self;
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCheckListBox_HitTest",_kwnames,&_argo0,&_obj1))
5691 return NULL;
5692 if (_argo0) {
5693 if (_argo0 == Py_None) { _arg0 = NULL; }
5694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p.");
5696 return NULL;
5697 }
5698 }
5699{
5700 _arg1 = &temp;
5701 if (! wxPoint_helper(_obj1, &_arg1))
5702 return NULL;
5703}
5704{
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 _result = (int )wxCheckListBox_HitTest(_arg0,*_arg1);
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) return NULL;
5710} _resultobj = Py_BuildValue("i",_result);
5711 return _resultobj;
5712}
5713
5714#define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
5715static PyObject *_wrap_wxCheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject * _resultobj;
5717 int _result;
5718 wxCheckListBox * _arg0;
5719 wxCoord _arg1;
5720 wxCoord _arg2;
5721 PyObject * _argo0 = 0;
5722 char *_kwnames[] = { "self","x","y", NULL };
5723
5724 self = self;
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCheckListBox_HitTestXY",_kwnames,&_argo0,&_arg1,&_arg2))
5726 return NULL;
5727 if (_argo0) {
5728 if (_argo0 == Py_None) { _arg0 = NULL; }
5729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p.");
5731 return NULL;
5732 }
5733 }
5734{
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 _result = (int )wxCheckListBox_HitTestXY(_arg0,_arg1,_arg2);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) return NULL;
5740} _resultobj = Py_BuildValue("i",_result);
5741 return _resultobj;
5742}
5743
5a2a9da2 5744#define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
d56cebe7
RD
5745static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5746 PyObject * _resultobj;
5747 wxTextAttr * _result;
5748 wxColour * _arg0 = (wxColour *) &wxNullColour;
5749 wxColour * _arg1 = (wxColour *) &wxNullColour;
5750 wxFont * _arg2 = (wxFont *) &wxNullFont;
5a2a9da2 5751 wxTextAttrAlignment _arg3 = (wxTextAttrAlignment ) (wxTEXT_ALIGNMENT_DEFAULT);
d56cebe7
RD
5752 wxColour temp;
5753 PyObject * _obj0 = 0;
5754 wxColour temp0;
5755 PyObject * _obj1 = 0;
5756 PyObject * _argo2 = 0;
5a2a9da2 5757 char *_kwnames[] = { "colText","colBack","font","alignment", NULL };
d56cebe7
RD
5758 char _ptemp[128];
5759
5760 self = self;
5a2a9da2 5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOOi:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2,&_arg3))
d56cebe7
RD
5762 return NULL;
5763 if (_obj0)
5764{
5765 _arg0 = &temp;
5766 if (! wxColour_helper(_obj0, &_arg0))
5767 return NULL;
5768}
5769 if (_obj1)
5770{
5771 _arg1 = &temp0;
5772 if (! wxColour_helper(_obj1, &_arg1))
5773 return NULL;
5774}
5775 if (_argo2) {
7e50db3f 5776 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
d56cebe7
RD
5777 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5778 return NULL;
5779 }
5780 }
5781{
4268f798 5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5a2a9da2 5783 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2,_arg3);
d56cebe7 5784
4268f798 5785 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5786 if (PyErr_Occurred()) return NULL;
5787} if (_result) {
5788 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
5789 _resultobj = Py_BuildValue("s",_ptemp);
5790 } else {
5791 Py_INCREF(Py_None);
5792 _resultobj = Py_None;
5793 }
5794 return _resultobj;
5795}
5796
5797#define delete_wxTextAttr(_swigobj) (delete _swigobj)
5798static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5799 PyObject * _resultobj;
5800 wxTextAttr * _arg0;
5801 PyObject * _argo0 = 0;
5802 char *_kwnames[] = { "self", NULL };
5803
5804 self = self;
5805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
5806 return NULL;
5807 if (_argo0) {
5808 if (_argo0 == Py_None) { _arg0 = NULL; }
5809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5811 return NULL;
5812 }
5813 }
5814{
4268f798 5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5816 delete_wxTextAttr(_arg0);
d56cebe7 5817
4268f798 5818 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5819 if (PyErr_Occurred()) return NULL;
5820} Py_INCREF(Py_None);
5821 _resultobj = Py_None;
5822 return _resultobj;
5823}
5824
5a2a9da2
RD
5825#define wxTextAttr_Init(_swigobj) (_swigobj->Init())
5826static PyObject *_wrap_wxTextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5827 PyObject * _resultobj;
5828 wxTextAttr * _arg0;
5829 PyObject * _argo0 = 0;
5830 char *_kwnames[] = { "self", NULL };
5831
5832 self = self;
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_Init",_kwnames,&_argo0))
5834 return NULL;
5835 if (_argo0) {
5836 if (_argo0 == Py_None) { _arg0 = NULL; }
5837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Init. Expected _wxTextAttr_p.");
5839 return NULL;
5840 }
5841 }
5842{
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 wxTextAttr_Init(_arg0);
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) return NULL;
5848} Py_INCREF(Py_None);
5849 _resultobj = Py_None;
5850 return _resultobj;
5851}
5852
d56cebe7
RD
5853#define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5854static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject * _resultobj;
5856 wxTextAttr * _arg0;
5857 wxColour * _arg1;
5858 PyObject * _argo0 = 0;
5859 wxColour temp;
5860 PyObject * _obj1 = 0;
5861 char *_kwnames[] = { "self","colText", NULL };
5862
5863 self = self;
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5865 return NULL;
5866 if (_argo0) {
5867 if (_argo0 == Py_None) { _arg0 = NULL; }
5868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5870 return NULL;
5871 }
5872 }
5873{
5874 _arg1 = &temp;
5875 if (! wxColour_helper(_obj1, &_arg1))
5876 return NULL;
5877}
5878{
4268f798 5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5880 wxTextAttr_SetTextColour(_arg0,*_arg1);
d56cebe7 5881
4268f798 5882 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5883 if (PyErr_Occurred()) return NULL;
5884} Py_INCREF(Py_None);
5885 _resultobj = Py_None;
5886 return _resultobj;
5887}
5888
5889#define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5890static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject * _resultobj;
5892 wxTextAttr * _arg0;
5893 wxColour * _arg1;
5894 PyObject * _argo0 = 0;
5895 wxColour temp;
5896 PyObject * _obj1 = 0;
5897 char *_kwnames[] = { "self","colBack", NULL };
5898
5899 self = self;
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5901 return NULL;
5902 if (_argo0) {
5903 if (_argo0 == Py_None) { _arg0 = NULL; }
5904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5906 return NULL;
5907 }
5908 }
5909{
5910 _arg1 = &temp;
5911 if (! wxColour_helper(_obj1, &_arg1))
5912 return NULL;
5913}
5914{
4268f798 5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5916 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
d56cebe7 5917
4268f798 5918 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5919 if (PyErr_Occurred()) return NULL;
5920} Py_INCREF(Py_None);
5921 _resultobj = Py_None;
5922 return _resultobj;
5923}
5924
5925#define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5926static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject * _resultobj;
5928 wxTextAttr * _arg0;
5929 wxFont * _arg1;
5930 PyObject * _argo0 = 0;
5931 PyObject * _argo1 = 0;
5932 char *_kwnames[] = { "self","font", NULL };
5933
5934 self = self;
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
5936 return NULL;
5937 if (_argo0) {
5938 if (_argo0 == Py_None) { _arg0 = NULL; }
5939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5941 return NULL;
5942 }
5943 }
5944 if (_argo1) {
7e50db3f 5945 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
d56cebe7
RD
5946 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5947 return NULL;
5948 }
5949 }
5950{
4268f798 5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5952 wxTextAttr_SetFont(_arg0,*_arg1);
d56cebe7 5953
4268f798 5954 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
5955 if (PyErr_Occurred()) return NULL;
5956} Py_INCREF(Py_None);
5957 _resultobj = Py_None;
5958 return _resultobj;
5959}
5960
5a2a9da2
RD
5961#define wxTextAttr_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
5962static PyObject *_wrap_wxTextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5963 PyObject * _resultobj;
5964 wxTextAttr * _arg0;
5965 wxTextAttrAlignment _arg1;
5966 PyObject * _argo0 = 0;
5967 char *_kwnames[] = { "self","alignment", NULL };
5968
5969 self = self;
5970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetAlignment",_kwnames,&_argo0,&_arg1))
5971 return NULL;
5972 if (_argo0) {
5973 if (_argo0 == Py_None) { _arg0 = NULL; }
5974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetAlignment. Expected _wxTextAttr_p.");
5976 return NULL;
5977 }
5978 }
5979{
5980 PyThreadState* __tstate = wxPyBeginAllowThreads();
5981 wxTextAttr_SetAlignment(_arg0,_arg1);
5982
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) return NULL;
5985} Py_INCREF(Py_None);
5986 _resultobj = Py_None;
5987 return _resultobj;
5988}
5989
5990#define wxTextAttr_SetTabs(_swigobj,_swigarg0) (_swigobj->SetTabs(_swigarg0))
5991static PyObject *_wrap_wxTextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5992 PyObject * _resultobj;
5993 wxTextAttr * _arg0;
5994 wxArrayInt * _arg1;
5995 PyObject * _argo0 = 0;
5996 PyObject * _obj1 = 0;
5997 char *_kwnames[] = { "self","tabs", NULL };
5998
5999 self = self;
6000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTabs",_kwnames,&_argo0,&_obj1))
6001 return NULL;
6002 if (_argo0) {
6003 if (_argo0 == Py_None) { _arg0 = NULL; }
6004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTabs. Expected _wxTextAttr_p.");
6006 return NULL;
6007 }
6008 }
6009{
6010 if (! PySequence_Check(_obj1)) {
6011 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6012 return NULL;
6013 }
6014 _arg1 = new wxArrayInt;
6015 int i, len=PySequence_Length(_obj1);
6016 for (i=0; i<len; i++) {
6017 PyObject* item = PySequence_GetItem(_obj1, i);
6018 PyObject* number = PyNumber_Int(item);
6019 _arg1->Add(PyInt_AS_LONG(number));
6020 Py_DECREF(item);
6021 Py_DECREF(number);
6022 }
6023}
6024{
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 wxTextAttr_SetTabs(_arg0,*_arg1);
6027
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) return NULL;
6030} Py_INCREF(Py_None);
6031 _resultobj = Py_None;
6032{
6033 if (_obj1)
6034 delete _arg1;
6035}
6036 return _resultobj;
6037}
6038
6039#define wxTextAttr_SetLeftIndent(_swigobj,_swigarg0) (_swigobj->SetLeftIndent(_swigarg0))
6040static PyObject *_wrap_wxTextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6041 PyObject * _resultobj;
6042 wxTextAttr * _arg0;
6043 int _arg1;
6044 PyObject * _argo0 = 0;
6045 char *_kwnames[] = { "self","indent", NULL };
6046
6047 self = self;
6048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetLeftIndent",_kwnames,&_argo0,&_arg1))
6049 return NULL;
6050 if (_argo0) {
6051 if (_argo0 == Py_None) { _arg0 = NULL; }
6052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetLeftIndent. Expected _wxTextAttr_p.");
6054 return NULL;
6055 }
6056 }
6057{
6058 PyThreadState* __tstate = wxPyBeginAllowThreads();
6059 wxTextAttr_SetLeftIndent(_arg0,_arg1);
6060
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) return NULL;
6063} Py_INCREF(Py_None);
6064 _resultobj = Py_None;
6065 return _resultobj;
6066}
6067
6068#define wxTextAttr_SetRightIndent(_swigobj,_swigarg0) (_swigobj->SetRightIndent(_swigarg0))
6069static PyObject *_wrap_wxTextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject * _resultobj;
6071 wxTextAttr * _arg0;
6072 int _arg1;
6073 PyObject * _argo0 = 0;
6074 char *_kwnames[] = { "self","indent", NULL };
6075
6076 self = self;
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetRightIndent",_kwnames,&_argo0,&_arg1))
6078 return NULL;
6079 if (_argo0) {
6080 if (_argo0 == Py_None) { _arg0 = NULL; }
6081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetRightIndent. Expected _wxTextAttr_p.");
6083 return NULL;
6084 }
6085 }
6086{
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 wxTextAttr_SetRightIndent(_arg0,_arg1);
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) return NULL;
6092} Py_INCREF(Py_None);
6093 _resultobj = Py_None;
6094 return _resultobj;
6095}
6096
6097#define wxTextAttr_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
6098static PyObject *_wrap_wxTextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject * _resultobj;
6100 wxTextAttr * _arg0;
6101 long _arg1;
6102 PyObject * _argo0 = 0;
6103 char *_kwnames[] = { "self","flags", NULL };
6104
6105 self = self;
6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextAttr_SetFlags",_kwnames,&_argo0,&_arg1))
6107 return NULL;
6108 if (_argo0) {
6109 if (_argo0 == Py_None) { _arg0 = NULL; }
6110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFlags. Expected _wxTextAttr_p.");
6112 return NULL;
6113 }
6114 }
6115{
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 wxTextAttr_SetFlags(_arg0,_arg1);
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) return NULL;
6121} Py_INCREF(Py_None);
6122 _resultobj = Py_None;
6123 return _resultobj;
6124}
6125
d56cebe7
RD
6126#define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6127static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject * _resultobj;
6129 bool _result;
6130 wxTextAttr * _arg0;
6131 PyObject * _argo0 = 0;
6132 char *_kwnames[] = { "self", NULL };
6133
6134 self = self;
6135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
6136 return NULL;
6137 if (_argo0) {
6138 if (_argo0 == Py_None) { _arg0 = NULL; }
6139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6141 return NULL;
6142 }
6143 }
6144{
4268f798 6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6146 _result = (bool )wxTextAttr_HasTextColour(_arg0);
d56cebe7 6147
4268f798 6148 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
6149 if (PyErr_Occurred()) return NULL;
6150} _resultobj = Py_BuildValue("i",_result);
6151 return _resultobj;
6152}
6153
6154#define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6155static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject * _resultobj;
6157 bool _result;
6158 wxTextAttr * _arg0;
6159 PyObject * _argo0 = 0;
6160 char *_kwnames[] = { "self", NULL };
6161
6162 self = self;
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
6164 return NULL;
6165 if (_argo0) {
6166 if (_argo0 == Py_None) { _arg0 = NULL; }
6167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6169 return NULL;
6170 }
6171 }
6172{
4268f798 6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6174 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
d56cebe7 6175
4268f798 6176 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
6177 if (PyErr_Occurred()) return NULL;
6178} _resultobj = Py_BuildValue("i",_result);
6179 return _resultobj;
6180}
6181
6182#define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6183static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6184 PyObject * _resultobj;
6185 bool _result;
6186 wxTextAttr * _arg0;
6187 PyObject * _argo0 = 0;
6188 char *_kwnames[] = { "self", NULL };
6189
6190 self = self;
6191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
6192 return NULL;
6193 if (_argo0) {
6194 if (_argo0 == Py_None) { _arg0 = NULL; }
6195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6197 return NULL;
6198 }
6199 }
6200{
4268f798 6201 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6202 _result = (bool )wxTextAttr_HasFont(_arg0);
d56cebe7 6203
4268f798 6204 wxPyEndAllowThreads(__tstate);
d56cebe7
RD
6205 if (PyErr_Occurred()) return NULL;
6206} _resultobj = Py_BuildValue("i",_result);
6207 return _resultobj;
6208}
6209
5a2a9da2
RD
6210#define wxTextAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
6211static PyObject *_wrap_wxTextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6212 PyObject * _resultobj;
6213 bool _result;
6214 wxTextAttr * _arg0;
6215 PyObject * _argo0 = 0;
6216 char *_kwnames[] = { "self", NULL };
6217
6218 self = self;
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasAlignment",_kwnames,&_argo0))
6220 return NULL;
6221 if (_argo0) {
6222 if (_argo0 == Py_None) { _arg0 = NULL; }
6223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasAlignment. Expected _wxTextAttr_p.");
6225 return NULL;
6226 }
6227 }
6228{
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 _result = (bool )wxTextAttr_HasAlignment(_arg0);
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) return NULL;
6234} _resultobj = Py_BuildValue("i",_result);
6235 return _resultobj;
6236}
6237
6238#define wxTextAttr_HasTabs(_swigobj) (_swigobj->HasTabs())
6239static PyObject *_wrap_wxTextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6240 PyObject * _resultobj;
6241 bool _result;
6242 wxTextAttr * _arg0;
6243 PyObject * _argo0 = 0;
6244 char *_kwnames[] = { "self", NULL };
6245
6246 self = self;
6247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTabs",_kwnames,&_argo0))
6248 return NULL;
6249 if (_argo0) {
6250 if (_argo0 == Py_None) { _arg0 = NULL; }
6251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTabs. Expected _wxTextAttr_p.");
6253 return NULL;
6254 }
6255 }
6256{
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 _result = (bool )wxTextAttr_HasTabs(_arg0);
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) return NULL;
6262} _resultobj = Py_BuildValue("i",_result);
6263 return _resultobj;
6264}
6265
6266#define wxTextAttr_HasLeftIndent(_swigobj) (_swigobj->HasLeftIndent())
6267static PyObject *_wrap_wxTextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6268 PyObject * _resultobj;
6269 bool _result;
6270 wxTextAttr * _arg0;
6271 PyObject * _argo0 = 0;
6272 char *_kwnames[] = { "self", NULL };
6273
6274 self = self;
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasLeftIndent",_kwnames,&_argo0))
6276 return NULL;
6277 if (_argo0) {
6278 if (_argo0 == Py_None) { _arg0 = NULL; }
6279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasLeftIndent. Expected _wxTextAttr_p.");
6281 return NULL;
6282 }
6283 }
6284{
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 _result = (bool )wxTextAttr_HasLeftIndent(_arg0);
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) return NULL;
6290} _resultobj = Py_BuildValue("i",_result);
6291 return _resultobj;
6292}
6293
6294#define wxTextAttr_HasRightIndent(_swigobj) (_swigobj->HasRightIndent())
6295static PyObject *_wrap_wxTextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6296 PyObject * _resultobj;
6297 bool _result;
6298 wxTextAttr * _arg0;
6299 PyObject * _argo0 = 0;
6300 char *_kwnames[] = { "self", NULL };
6301
6302 self = self;
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasRightIndent",_kwnames,&_argo0))
6304 return NULL;
6305 if (_argo0) {
6306 if (_argo0 == Py_None) { _arg0 = NULL; }
6307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasRightIndent. Expected _wxTextAttr_p.");
6309 return NULL;
6310 }
6311 }
6312{
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 _result = (bool )wxTextAttr_HasRightIndent(_arg0);
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) return NULL;
6318} _resultobj = Py_BuildValue("i",_result);
6319 return _resultobj;
6320}
6321
6322#define wxTextAttr_HasFlag(_swigobj,_swigarg0) (_swigobj->HasFlag(_swigarg0))
6323static PyObject *_wrap_wxTextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6324 PyObject * _resultobj;
6325 bool _result;
6326 wxTextAttr * _arg0;
6327 long _arg1;
6328 PyObject * _argo0 = 0;
6329 char *_kwnames[] = { "self","flag", NULL };
6330
6331 self = self;
6332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextAttr_HasFlag",_kwnames,&_argo0,&_arg1))
6333 return NULL;
6334 if (_argo0) {
6335 if (_argo0 == Py_None) { _arg0 = NULL; }
6336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFlag. Expected _wxTextAttr_p.");
6338 return NULL;
6339 }
6340 }
6341{
6342 PyThreadState* __tstate = wxPyBeginAllowThreads();
6343 _result = (bool )wxTextAttr_HasFlag(_arg0,_arg1);
6344
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) return NULL;
6347} _resultobj = Py_BuildValue("i",_result);
6348 return _resultobj;
6349}
6350
d56cebe7
RD
6351#define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6352static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6353 PyObject * _resultobj;
6354 wxColour * _result;
6355 wxTextAttr * _arg0;
6356 PyObject * _argo0 = 0;
6357 char *_kwnames[] = { "self", NULL };
6358 char _ptemp[128];
6359
6360 self = self;
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
6362 return NULL;
6363 if (_argo0) {
6364 if (_argo0 == Py_None) { _arg0 = NULL; }
6365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6367 return NULL;
6368 }
6369 }
6370{
4268f798 6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6372 _result = new wxColour (wxTextAttr_GetTextColour(_arg0));
d56cebe7 6373
4268f798 6374 wxPyEndAllowThreads(__tstate);
d56cebe7 6375 if (PyErr_Occurred()) return NULL;
c5943253
RD
6376} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6377 _resultobj = Py_BuildValue("s",_ptemp);
d56cebe7
RD
6378 return _resultobj;
6379}
6380
6381#define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6382static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6383 PyObject * _resultobj;
6384 wxColour * _result;
6385 wxTextAttr * _arg0;
6386 PyObject * _argo0 = 0;
6387 char *_kwnames[] = { "self", NULL };
6388 char _ptemp[128];
6389
6390 self = self;
6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
6392 return NULL;
6393 if (_argo0) {
6394 if (_argo0 == Py_None) { _arg0 = NULL; }
6395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6397 return NULL;
6398 }
6399 }
6400{
4268f798 6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6402 _result = new wxColour (wxTextAttr_GetBackgroundColour(_arg0));
d56cebe7 6403
4268f798 6404 wxPyEndAllowThreads(__tstate);
d56cebe7 6405 if (PyErr_Occurred()) return NULL;
c5943253
RD
6406} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6407 _resultobj = Py_BuildValue("s",_ptemp);
d56cebe7
RD
6408 return _resultobj;
6409}
6410
6411#define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6412static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6413 PyObject * _resultobj;
6414 wxFont * _result;
6415 wxTextAttr * _arg0;
6416 PyObject * _argo0 = 0;
6417 char *_kwnames[] = { "self", NULL };
6418 char _ptemp[128];
6419
6420 self = self;
6421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
6422 return NULL;
6423 if (_argo0) {
6424 if (_argo0 == Py_None) { _arg0 = NULL; }
6425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6427 return NULL;
6428 }
6429 }
6430{
4268f798 6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6432 _result = new wxFont (wxTextAttr_GetFont(_arg0));
d56cebe7 6433
4268f798 6434 wxPyEndAllowThreads(__tstate);
d56cebe7 6435 if (PyErr_Occurred()) return NULL;
c5943253
RD
6436} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
6437 _resultobj = Py_BuildValue("s",_ptemp);
d56cebe7
RD
6438 return _resultobj;
6439}
6440
5a2a9da2
RD
6441#define wxTextAttr_GetAlignment(_swigobj) (_swigobj->GetAlignment())
6442static PyObject *_wrap_wxTextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6443 PyObject * _resultobj;
6444 wxTextAttrAlignment _result;
6445 wxTextAttr * _arg0;
6446 PyObject * _argo0 = 0;
6447 char *_kwnames[] = { "self", NULL };
6448
6449 self = self;
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetAlignment",_kwnames,&_argo0))
6451 return NULL;
6452 if (_argo0) {
6453 if (_argo0 == Py_None) { _arg0 = NULL; }
6454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetAlignment. Expected _wxTextAttr_p.");
6456 return NULL;
6457 }
6458 }
6459{
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 _result = (wxTextAttrAlignment )wxTextAttr_GetAlignment(_arg0);
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) return NULL;
6465} _resultobj = Py_BuildValue("i",_result);
6466 return _resultobj;
6467}
6468
6469#define wxTextAttr_GetTabs(_swigobj) (_swigobj->GetTabs())
6470static PyObject *_wrap_wxTextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6471 PyObject * _resultobj;
6472 wxArrayInt * _result;
6473 wxTextAttr * _arg0;
6474 PyObject * _argo0 = 0;
6475 char *_kwnames[] = { "self", NULL };
6476
6477 self = self;
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTabs",_kwnames,&_argo0))
6479 return NULL;
6480 if (_argo0) {
6481 if (_argo0 == Py_None) { _arg0 = NULL; }
6482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTabs. Expected _wxTextAttr_p.");
6484 return NULL;
6485 }
6486 }
6487{
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 const wxArrayInt & _result_ref = wxTextAttr_GetTabs(_arg0);
6490 _result = (wxArrayInt *) &_result_ref;
6491
6492 wxPyEndAllowThreads(__tstate);
6493 if (PyErr_Occurred()) return NULL;
6494}{
6495 _resultobj = PyList_New(0);
6496 size_t idx;
6497 for (idx = 0; idx < _result->GetCount(); idx += 1) {
6498 PyObject* val = PyInt_FromLong(_result->Item(idx));
6499 PyList_Append(_resultobj, val);
6500 Py_DECREF(val);
6501 }
6502}
6503 return _resultobj;
6504}
6505
6506#define wxTextAttr_GetLeftIndent(_swigobj) (_swigobj->GetLeftIndent())
6507static PyObject *_wrap_wxTextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6508 PyObject * _resultobj;
6509 long _result;
6510 wxTextAttr * _arg0;
6511 PyObject * _argo0 = 0;
6512 char *_kwnames[] = { "self", NULL };
6513
6514 self = self;
6515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetLeftIndent",_kwnames,&_argo0))
6516 return NULL;
6517 if (_argo0) {
6518 if (_argo0 == Py_None) { _arg0 = NULL; }
6519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetLeftIndent. Expected _wxTextAttr_p.");
6521 return NULL;
6522 }
6523 }
6524{
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 _result = (long )wxTextAttr_GetLeftIndent(_arg0);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) return NULL;
6530} _resultobj = Py_BuildValue("l",_result);
6531 return _resultobj;
6532}
6533
6534#define wxTextAttr_GetRightIndent(_swigobj) (_swigobj->GetRightIndent())
6535static PyObject *_wrap_wxTextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6536 PyObject * _resultobj;
6537 long _result;
6538 wxTextAttr * _arg0;
6539 PyObject * _argo0 = 0;
6540 char *_kwnames[] = { "self", NULL };
6541
6542 self = self;
6543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetRightIndent",_kwnames,&_argo0))
6544 return NULL;
6545 if (_argo0) {
6546 if (_argo0 == Py_None) { _arg0 = NULL; }
6547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetRightIndent. Expected _wxTextAttr_p.");
6549 return NULL;
6550 }
6551 }
6552{
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 _result = (long )wxTextAttr_GetRightIndent(_arg0);
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) return NULL;
6558} _resultobj = Py_BuildValue("l",_result);
6559 return _resultobj;
6560}
6561
6562#define wxTextAttr_GetFlags(_swigobj) (_swigobj->GetFlags())
6563static PyObject *_wrap_wxTextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject * _resultobj;
6565 long _result;
6566 wxTextAttr * _arg0;
6567 PyObject * _argo0 = 0;
6568 char *_kwnames[] = { "self", NULL };
6569
6570 self = self;
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFlags",_kwnames,&_argo0))
6572 return NULL;
6573 if (_argo0) {
6574 if (_argo0 == Py_None) { _arg0 = NULL; }
6575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFlags. Expected _wxTextAttr_p.");
6577 return NULL;
6578 }
6579 }
6580{
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 _result = (long )wxTextAttr_GetFlags(_arg0);
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) return NULL;
6586} _resultobj = Py_BuildValue("l",_result);
6587 return _resultobj;
6588}
6589
98624b49
RD
6590#define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6591static PyObject *_wrap_wxTextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6592 PyObject * _resultobj;
6593 bool _result;
6594 wxTextAttr * _arg0;
6595 PyObject * _argo0 = 0;
6596 char *_kwnames[] = { "self", NULL };
6597
6598 self = self;
6599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_IsDefault",_kwnames,&_argo0))
6600 return NULL;
6601 if (_argo0) {
6602 if (_argo0 == Py_None) { _arg0 = NULL; }
6603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6605 return NULL;
6606 }
6607 }
6608{
4268f798 6609 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6610 _result = (bool )wxTextAttr_IsDefault(_arg0);
98624b49 6611
4268f798 6612 wxPyEndAllowThreads(__tstate);
98624b49
RD
6613 if (PyErr_Occurred()) return NULL;
6614} _resultobj = Py_BuildValue("i",_result);
6615 return _resultobj;
6616}
6617
2f4e9287
RD
6618static PyObject *_wrap_wxTextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6619 PyObject * _resultobj;
6620 wxTextAttr * _result;
6621 wxTextAttr * _arg0;
6622 wxTextAttr * _arg1;
6623 wxTextCtrl * _arg2;
6624 PyObject * _argo0 = 0;
6625 PyObject * _argo1 = 0;
6626 PyObject * _argo2 = 0;
6627 char *_kwnames[] = { "attr","attrDef","text", NULL };
6628 char _ptemp[128];
6629
6630 self = self;
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTextAttr_Combine",_kwnames,&_argo0,&_argo1,&_argo2))
6632 return NULL;
6633 if (_argo0) {
7e50db3f 6634 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
2f4e9287
RD
6635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6636 return NULL;
6637 }
6638 }
6639 if (_argo1) {
7e50db3f 6640 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
2f4e9287
RD
6641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6642 return NULL;
6643 }
6644 }
6645 if (_argo2) {
6646 if (_argo2 == Py_None) { _arg2 = NULL; }
6647 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextCtrl_p")) {
6648 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6649 return NULL;
6650 }
6651 }
6652{
4268f798 6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6654 _result = new wxTextAttr (wxTextAttr::Combine(*_arg0,*_arg1,_arg2));
2f4e9287 6655
4268f798 6656 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
6657 if (PyErr_Occurred()) return NULL;
6658} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTextAttr_p");
6659 _resultobj = Py_BuildValue("s",_ptemp);
6660 return _resultobj;
6661}
6662
8ab979d7
RD
6663static void *SwigwxTextCtrlTowxControl(void *ptr) {
6664 wxTextCtrl *src;
6665 wxControl *dest;
6666 src = (wxTextCtrl *) ptr;
6667 dest = (wxControl *) src;
6668 return (void *) dest;
6669}
6670
6671static void *SwigwxTextCtrlTowxWindow(void *ptr) {
6672 wxTextCtrl *src;
6673 wxWindow *dest;
6674 src = (wxTextCtrl *) ptr;
6675 dest = (wxWindow *) src;
6676 return (void *) dest;
6677}
6678
6679static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
6680 wxTextCtrl *src;
6681 wxEvtHandler *dest;
6682 src = (wxTextCtrl *) ptr;
6683 dest = (wxEvtHandler *) src;
6684 return (void *) dest;
6685}
6686
9416aa89
RD
6687static void *SwigwxTextCtrlTowxObject(void *ptr) {
6688 wxTextCtrl *src;
6689 wxObject *dest;
6690 src = (wxTextCtrl *) ptr;
6691 dest = (wxObject *) src;
6692 return (void *) dest;
6693}
6694
8ab979d7 6695#define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 6696static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6697 PyObject * _resultobj;
6698 wxTextCtrl * _result;
6699 wxWindow * _arg0;
6700 wxWindowID _arg1;
137b5242 6701 wxString * _arg2 = (wxString *) &wxPyEmptyString;
e508a2b6
RD
6702 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6703 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 6704 long _arg5 = (long ) 0;
e508a2b6 6705 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 6706 wxString * _arg7 = (wxString *) &wxPyTextCtrlNameStr;
1d99702e 6707 PyObject * _argo0 = 0;
137b5242 6708 PyObject * _obj2 = 0;
2f90df85
RD
6709 wxPoint temp;
6710 PyObject * _obj3 = 0;
6711 wxSize temp0;
6712 PyObject * _obj4 = 0;
1d99702e 6713 PyObject * _argo6 = 0;
137b5242 6714 PyObject * _obj7 = 0;
efc5f224 6715 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
8ab979d7
RD
6716 char _ptemp[128];
6717
6718 self = self;
137b5242 6719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
6720 return NULL;
6721 if (_argo0) {
6722 if (_argo0 == Py_None) { _arg0 = NULL; }
6723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6725 return NULL;
6726 }
6727 }
137b5242
RD
6728 if (_obj2)
6729{
6730 _arg2 = wxString_in_helper(_obj2);
6731 if (_arg2 == NULL)
6732 return NULL;
6733}
09f3d4e6
RD
6734 if (_obj3)
6735{
6736 _arg3 = &temp;
6737 if (! wxPoint_helper(_obj3, &_arg3))
6738 return NULL;
6739}
6740 if (_obj4)
6741{
6742 _arg4 = &temp0;
6743 if (! wxSize_helper(_obj4, &_arg4))
6744 return NULL;
6745}
6746 if (_argo6) {
7e50db3f 6747 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
09f3d4e6
RD
6748 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6749 return NULL;
6750 }
6751 }
137b5242
RD
6752 if (_obj7)
6753{
6754 _arg7 = wxString_in_helper(_obj7);
6755 if (_arg7 == NULL)
6756 return NULL;
6757}
09f3d4e6 6758{
4268f798 6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6760 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 6761
4268f798 6762 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6763 if (PyErr_Occurred()) return NULL;
6764} if (_result) {
6765 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6766 _resultobj = Py_BuildValue("s",_ptemp);
6767 } else {
6768 Py_INCREF(Py_None);
6769 _resultobj = Py_None;
6770 }
137b5242
RD
6771{
6772 if (_obj2)
6773 delete _arg2;
6774}
6775{
6776 if (_obj7)
6777 delete _arg7;
6778}
09f3d4e6
RD
6779 return _resultobj;
6780}
6781
6782#define new_wxPreTextCtrl() (new wxTextCtrl())
6783static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject * _resultobj;
6785 wxTextCtrl * _result;
6786 char *_kwnames[] = { NULL };
6787 char _ptemp[128];
6788
6789 self = self;
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
6791 return NULL;
6792{
4268f798 6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6794 _result = (wxTextCtrl *)new_wxPreTextCtrl();
09f3d4e6 6795
4268f798 6796 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
6797 if (PyErr_Occurred()) return NULL;
6798} if (_result) {
6799 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6800 _resultobj = Py_BuildValue("s",_ptemp);
6801 } else {
6802 Py_INCREF(Py_None);
6803 _resultobj = Py_None;
6804 }
6805 return _resultobj;
6806}
6807
6808#define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6809static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6810 PyObject * _resultobj;
6811 bool _result;
6812 wxTextCtrl * _arg0;
6813 wxWindow * _arg1;
6814 wxWindowID _arg2;
137b5242 6815 wxString * _arg3 = (wxString *) &wxPyEmptyString;
09f3d4e6
RD
6816 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
6817 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
6818 long _arg6 = (long ) 0;
6819 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
137b5242 6820 wxString * _arg8 = (wxString *) &wxPyTextCtrlNameStr;
09f3d4e6
RD
6821 PyObject * _argo0 = 0;
6822 PyObject * _argo1 = 0;
137b5242 6823 PyObject * _obj3 = 0;
09f3d4e6
RD
6824 wxPoint temp;
6825 PyObject * _obj4 = 0;
6826 wxSize temp0;
6827 PyObject * _obj5 = 0;
6828 PyObject * _argo7 = 0;
137b5242 6829 PyObject * _obj8 = 0;
09f3d4e6
RD
6830 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
6831
6832 self = self;
137b5242 6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
8ab979d7 6834 return NULL;
1d99702e
RD
6835 if (_argo0) {
6836 if (_argo0 == Py_None) { _arg0 = NULL; }
09f3d4e6
RD
6837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
8ab979d7
RD
6839 return NULL;
6840 }
6841 }
09f3d4e6
RD
6842 if (_argo1) {
6843 if (_argo1 == Py_None) { _arg1 = NULL; }
6844 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6845 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6846 return NULL;
6847 }
6848 }
137b5242
RD
6849 if (_obj3)
6850{
6851 _arg3 = wxString_in_helper(_obj3);
6852 if (_arg3 == NULL)
6853 return NULL;
6854}
09f3d4e6 6855 if (_obj4)
2f90df85 6856{
09f3d4e6
RD
6857 _arg4 = &temp;
6858 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 6859 return NULL;
2f90df85 6860}
09f3d4e6 6861 if (_obj5)
2f90df85 6862{
09f3d4e6
RD
6863 _arg5 = &temp0;
6864 if (! wxSize_helper(_obj5, &_arg5))
8ab979d7 6865 return NULL;
2f90df85 6866}
09f3d4e6 6867 if (_argo7) {
7e50db3f 6868 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
09f3d4e6 6869 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
8ab979d7
RD
6870 return NULL;
6871 }
6872 }
137b5242
RD
6873 if (_obj8)
6874{
6875 _arg8 = wxString_in_helper(_obj8);
6876 if (_arg8 == NULL)
6877 return NULL;
6878}
cf694132 6879{
4268f798 6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 6881 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
cf694132 6882
4268f798 6883 wxPyEndAllowThreads(__tstate);
493f1553 6884 if (PyErr_Occurred()) return NULL;
09f3d4e6 6885} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
6886{
6887 if (_obj3)
6888 delete _arg3;
6889}
6890{
6891 if (_obj8)
6892 delete _arg8;
6893}
8ab979d7
RD
6894 return _resultobj;
6895}
6896
98624b49
RD
6897#define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6898static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 6899 PyObject * _resultobj;
98624b49 6900 wxString * _result;
8ab979d7 6901 wxTextCtrl * _arg0;
1d99702e 6902 PyObject * _argo0 = 0;
efc5f224 6903 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
6904
6905 self = self;
98624b49 6906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
8ab979d7 6907 return NULL;
1d99702e
RD
6908 if (_argo0) {
6909 if (_argo0 == Py_None) { _arg0 = NULL; }
6910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
8ab979d7
RD
6912 return NULL;
6913 }
6914 }
cf694132 6915{
4268f798 6916 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6917 _result = new wxString (wxTextCtrl_GetValue(_arg0));
cf694132 6918
4268f798 6919 wxPyEndAllowThreads(__tstate);
493f1553 6920 if (PyErr_Occurred()) return NULL;
98624b49 6921}{
c8bc7bb8 6922#if wxUSE_UNICODE
7e50db3f 6923 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 6924#else
98624b49 6925 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 6926#endif
98624b49
RD
6927}
6928{
6929 delete _result;
6930}
8ab979d7
RD
6931 return _resultobj;
6932}
6933
98624b49
RD
6934#define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6935static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
6936 PyObject * _resultobj;
6937 wxTextCtrl * _arg0;
98624b49 6938 wxString * _arg1;
1d99702e 6939 PyObject * _argo0 = 0;
98624b49
RD
6940 PyObject * _obj1 = 0;
6941 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
6942
6943 self = self;
98624b49 6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
8ab979d7 6945 return NULL;
1d99702e
RD
6946 if (_argo0) {
6947 if (_argo0 == Py_None) { _arg0 = NULL; }
6948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 6949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
8ab979d7
RD
6950 return NULL;
6951 }
6952 }
98624b49 6953{
c8bc7bb8
RD
6954 _arg1 = wxString_in_helper(_obj1);
6955 if (_arg1 == NULL)
98624b49 6956 return NULL;
98624b49 6957}
cf694132 6958{
4268f798 6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6960 wxTextCtrl_SetValue(_arg0,*_arg1);
cf694132 6961
4268f798 6962 wxPyEndAllowThreads(__tstate);
493f1553 6963 if (PyErr_Occurred()) return NULL;
cf694132 6964} Py_INCREF(Py_None);
8ab979d7 6965 _resultobj = Py_None;
98624b49
RD
6966{
6967 if (_obj1)
6968 delete _arg1;
6969}
8ab979d7
RD
6970 return _resultobj;
6971}
6972
68320e40
RD
6973#define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6974static PyObject *_wrap_wxTextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6975 PyObject * _resultobj;
6976 wxString * _result;
6977 wxTextCtrl * _arg0;
6978 long _arg1;
6979 long _arg2;
6980 PyObject * _argo0 = 0;
6981 char *_kwnames[] = { "self","from","to", NULL };
6982
6983 self = self;
6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetRange",_kwnames,&_argo0,&_arg1,&_arg2))
6985 return NULL;
6986 if (_argo0) {
6987 if (_argo0 == Py_None) { _arg0 = NULL; }
6988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6990 return NULL;
6991 }
6992 }
6993{
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6995 _result = new wxString (wxTextCtrl_GetRange(_arg0,_arg1,_arg2));
68320e40
RD
6996
6997 wxPyEndAllowThreads(__tstate);
6998 if (PyErr_Occurred()) return NULL;
6999}{
c8bc7bb8 7000#if wxUSE_UNICODE
7e50db3f 7001 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7002#else
68320e40 7003 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7004#endif
68320e40
RD
7005}
7006{
7007 delete _result;
7008}
7009 return _resultobj;
7010}
7011
98624b49
RD
7012#define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
7013static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7014 PyObject * _resultobj;
98624b49 7015 int _result;
8ab979d7 7016 wxTextCtrl * _arg0;
98624b49 7017 long _arg1;
1d99702e 7018 PyObject * _argo0 = 0;
98624b49 7019 char *_kwnames[] = { "self","lineNo", NULL };
8ab979d7
RD
7020
7021 self = self;
98624b49 7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
8ab979d7 7023 return NULL;
1d99702e
RD
7024 if (_argo0) {
7025 if (_argo0 == Py_None) { _arg0 = NULL; }
7026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
8ab979d7
RD
7028 return NULL;
7029 }
7030 }
cf694132 7031{
4268f798 7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7033 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
cf694132 7034
4268f798 7035 wxPyEndAllowThreads(__tstate);
493f1553 7036 if (PyErr_Occurred()) return NULL;
98624b49 7037} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7038 return _resultobj;
7039}
7040
98624b49
RD
7041#define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
7042static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7043 PyObject * _resultobj;
98624b49 7044 wxString * _result;
8ab979d7 7045 wxTextCtrl * _arg0;
98624b49 7046 long _arg1;
1d99702e 7047 PyObject * _argo0 = 0;
98624b49 7048 char *_kwnames[] = { "self","lineNo", NULL };
8ab979d7
RD
7049
7050 self = self;
98624b49 7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
8ab979d7 7052 return NULL;
1d99702e
RD
7053 if (_argo0) {
7054 if (_argo0 == Py_None) { _arg0 = NULL; }
7055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
8ab979d7
RD
7057 return NULL;
7058 }
7059 }
cf694132 7060{
4268f798 7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7062 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
cf694132 7063
4268f798 7064 wxPyEndAllowThreads(__tstate);
493f1553 7065 if (PyErr_Occurred()) return NULL;
98624b49 7066}{
c8bc7bb8 7067#if wxUSE_UNICODE
7e50db3f 7068 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7069#else
98624b49 7070 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7071#endif
98624b49
RD
7072}
7073{
7074 delete _result;
7075}
8ab979d7
RD
7076 return _resultobj;
7077}
7078
98624b49
RD
7079#define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
7080static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7081 PyObject * _resultobj;
98624b49 7082 int _result;
8ab979d7 7083 wxTextCtrl * _arg0;
1d99702e 7084 PyObject * _argo0 = 0;
efc5f224 7085 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7086
7087 self = self;
98624b49 7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
8ab979d7 7089 return NULL;
1d99702e
RD
7090 if (_argo0) {
7091 if (_argo0 == Py_None) { _arg0 = NULL; }
7092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
8ab979d7
RD
7094 return NULL;
7095 }
7096 }
cf694132 7097{
4268f798 7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7099 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
cf694132 7100
4268f798 7101 wxPyEndAllowThreads(__tstate);
493f1553 7102 if (PyErr_Occurred()) return NULL;
98624b49 7103} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7104 return _resultobj;
7105}
7106
98624b49
RD
7107#define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
7108static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7109 PyObject * _resultobj;
98624b49 7110 bool _result;
8ab979d7 7111 wxTextCtrl * _arg0;
1d99702e 7112 PyObject * _argo0 = 0;
efc5f224 7113 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7114
7115 self = self;
98624b49 7116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
8ab979d7 7117 return NULL;
1d99702e
RD
7118 if (_argo0) {
7119 if (_argo0 == Py_None) { _arg0 = NULL; }
7120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
8ab979d7
RD
7122 return NULL;
7123 }
7124 }
cf694132 7125{
4268f798 7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7127 _result = (bool )wxTextCtrl_IsModified(_arg0);
cf694132 7128
4268f798 7129 wxPyEndAllowThreads(__tstate);
493f1553 7130 if (PyErr_Occurred()) return NULL;
98624b49 7131} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7132 return _resultobj;
7133}
7134
98624b49
RD
7135#define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
7136static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7137 PyObject * _resultobj;
98624b49 7138 bool _result;
8ab979d7 7139 wxTextCtrl * _arg0;
1d99702e 7140 PyObject * _argo0 = 0;
98624b49 7141 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7142
7143 self = self;
98624b49 7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
8ab979d7 7145 return NULL;
1d99702e
RD
7146 if (_argo0) {
7147 if (_argo0 == Py_None) { _arg0 = NULL; }
7148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
8ab979d7
RD
7150 return NULL;
7151 }
7152 }
cf694132 7153{
4268f798 7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7155 _result = (bool )wxTextCtrl_IsEditable(_arg0);
cf694132 7156
4268f798 7157 wxPyEndAllowThreads(__tstate);
493f1553 7158 if (PyErr_Occurred()) return NULL;
cf694132 7159} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7160 return _resultobj;
7161}
7162
98624b49
RD
7163#define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7164static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7165 PyObject * _resultobj;
8ab979d7 7166 wxTextCtrl * _arg0;
98624b49
RD
7167 long * _arg1;
7168 long temp;
7169 long * _arg2;
7170 long temp0;
1d99702e 7171 PyObject * _argo0 = 0;
98624b49 7172 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7173
7174 self = self;
98624b49
RD
7175{
7176 _arg1 = &temp;
7177}
7178{
7179 _arg2 = &temp0;
7180}
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
8ab979d7 7182 return NULL;
1d99702e
RD
7183 if (_argo0) {
7184 if (_argo0 == Py_None) { _arg0 = NULL; }
7185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
8ab979d7
RD
7187 return NULL;
7188 }
7189 }
8ab979d7 7190{
4268f798 7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7192 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
cf694132 7193
4268f798 7194 wxPyEndAllowThreads(__tstate);
493f1553 7195 if (PyErr_Occurred()) return NULL;
98624b49
RD
7196} Py_INCREF(Py_None);
7197 _resultobj = Py_None;
7198{
7199 PyObject *o;
7200 o = PyInt_FromLong((long) (*_arg1));
7201 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7202}
7203{
98624b49
RD
7204 PyObject *o;
7205 o = PyInt_FromLong((long) (*_arg2));
7206 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7207}
7208 return _resultobj;
7209}
7210
b78b83ec
RD
7211#define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
7212static PyObject *_wrap_wxTextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject * _resultobj;
7214 wxString * _result;
7215 wxTextCtrl * _arg0;
7216 PyObject * _argo0 = 0;
7217 char *_kwnames[] = { "self", NULL };
7218
7219 self = self;
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetStringSelection",_kwnames,&_argo0))
7221 return NULL;
7222 if (_argo0) {
7223 if (_argo0 == Py_None) { _arg0 = NULL; }
7224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
7226 return NULL;
7227 }
7228 }
7229{
4268f798 7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7231 _result = new wxString (wxTextCtrl_GetStringSelection(_arg0));
b78b83ec 7232
4268f798 7233 wxPyEndAllowThreads(__tstate);
b78b83ec
RD
7234 if (PyErr_Occurred()) return NULL;
7235}{
c8bc7bb8 7236#if wxUSE_UNICODE
7e50db3f 7237 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7238#else
b78b83ec 7239 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7240#endif
b78b83ec
RD
7241}
7242{
7243 delete _result;
7244}
7245 return _resultobj;
7246}
7247
98624b49
RD
7248#define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
7249static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7250 PyObject * _resultobj;
8ab979d7 7251 wxTextCtrl * _arg0;
1d99702e 7252 PyObject * _argo0 = 0;
efc5f224 7253 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7254
7255 self = self;
98624b49 7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
8ab979d7 7257 return NULL;
1d99702e
RD
7258 if (_argo0) {
7259 if (_argo0 == Py_None) { _arg0 = NULL; }
7260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
8ab979d7
RD
7262 return NULL;
7263 }
7264 }
cf694132 7265{
4268f798 7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7267 wxTextCtrl_Clear(_arg0);
cf694132 7268
4268f798 7269 wxPyEndAllowThreads(__tstate);
493f1553 7270 if (PyErr_Occurred()) return NULL;
98624b49
RD
7271} Py_INCREF(Py_None);
7272 _resultobj = Py_None;
8ab979d7
RD
7273 return _resultobj;
7274}
7275
98624b49
RD
7276#define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7277static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7278 PyObject * _resultobj;
8ab979d7 7279 wxTextCtrl * _arg0;
98624b49
RD
7280 long _arg1;
7281 long _arg2;
7282 wxString * _arg3;
1d99702e 7283 PyObject * _argo0 = 0;
98624b49
RD
7284 PyObject * _obj3 = 0;
7285 char *_kwnames[] = { "self","from","to","value", NULL };
8ab979d7
RD
7286
7287 self = self;
98624b49 7288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
8ab979d7 7289 return NULL;
1d99702e
RD
7290 if (_argo0) {
7291 if (_argo0 == Py_None) { _arg0 = NULL; }
7292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
8ab979d7
RD
7294 return NULL;
7295 }
7296 }
98624b49 7297{
c8bc7bb8
RD
7298 _arg3 = wxString_in_helper(_obj3);
7299 if (_arg3 == NULL)
98624b49 7300 return NULL;
98624b49 7301}
8ab979d7 7302{
4268f798 7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7304 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
cf694132 7305
4268f798 7306 wxPyEndAllowThreads(__tstate);
493f1553 7307 if (PyErr_Occurred()) return NULL;
98624b49
RD
7308} Py_INCREF(Py_None);
7309 _resultobj = Py_None;
8ab979d7 7310{
98624b49
RD
7311 if (_obj3)
7312 delete _arg3;
8ab979d7
RD
7313}
7314 return _resultobj;
7315}
7316
98624b49
RD
7317#define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
7318static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject * _resultobj;
8ab979d7 7320 wxTextCtrl * _arg0;
98624b49
RD
7321 long _arg1;
7322 long _arg2;
1d99702e 7323 PyObject * _argo0 = 0;
98624b49 7324 char *_kwnames[] = { "self","from","to", NULL };
8ab979d7
RD
7325
7326 self = self;
98624b49 7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7328 return NULL;
1d99702e
RD
7329 if (_argo0) {
7330 if (_argo0 == Py_None) { _arg0 = NULL; }
7331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
8ab979d7
RD
7333 return NULL;
7334 }
7335 }
cf694132 7336{
4268f798 7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7338 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
cf694132 7339
4268f798 7340 wxPyEndAllowThreads(__tstate);
493f1553 7341 if (PyErr_Occurred()) return NULL;
98624b49
RD
7342} Py_INCREF(Py_None);
7343 _resultobj = Py_None;
8ab979d7
RD
7344 return _resultobj;
7345}
7346
7347#define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
efc5f224 7348static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7349 PyObject * _resultobj;
7350 bool _result;
7351 wxTextCtrl * _arg0;
7352 wxString * _arg1;
1d99702e 7353 PyObject * _argo0 = 0;
8ab979d7 7354 PyObject * _obj1 = 0;
98624b49 7355 char *_kwnames[] = { "self","file", NULL };
8ab979d7
RD
7356
7357 self = self;
efc5f224 7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
8ab979d7 7359 return NULL;
1d99702e
RD
7360 if (_argo0) {
7361 if (_argo0 == Py_None) { _arg0 = NULL; }
7362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8ab979d7
RD
7363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
7364 return NULL;
7365 }
7366 }
7367{
c8bc7bb8
RD
7368 _arg1 = wxString_in_helper(_obj1);
7369 if (_arg1 == NULL)
185d7c3e 7370 return NULL;
8ab979d7 7371}
cf694132 7372{
4268f798 7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7374 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
cf694132 7375
4268f798 7376 wxPyEndAllowThreads(__tstate);
493f1553 7377 if (PyErr_Occurred()) return NULL;
cf694132 7378} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7379{
7380 if (_obj1)
7381 delete _arg1;
7382}
7383 return _resultobj;
7384}
7385
98624b49
RD
7386#define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
7387static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7388 PyObject * _resultobj;
98624b49 7389 bool _result;
8ab979d7 7390 wxTextCtrl * _arg0;
137b5242 7391 wxString * _arg1 = (wxString *) &wxPyEmptyString;
1d99702e 7392 PyObject * _argo0 = 0;
98624b49
RD
7393 PyObject * _obj1 = 0;
7394 char *_kwnames[] = { "self","file", NULL };
8ab979d7
RD
7395
7396 self = self;
98624b49 7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
8ab979d7 7398 return NULL;
1d99702e
RD
7399 if (_argo0) {
7400 if (_argo0 == Py_None) { _arg0 = NULL; }
7401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
8ab979d7
RD
7403 return NULL;
7404 }
7405 }
98624b49
RD
7406 if (_obj1)
7407{
c8bc7bb8
RD
7408 _arg1 = wxString_in_helper(_obj1);
7409 if (_arg1 == NULL)
98624b49 7410 return NULL;
98624b49 7411}
cf694132 7412{
4268f798 7413 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7414 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
cf694132 7415
4268f798 7416 wxPyEndAllowThreads(__tstate);
493f1553 7417 if (PyErr_Occurred()) return NULL;
98624b49
RD
7418} _resultobj = Py_BuildValue("i",_result);
7419{
7420 if (_obj1)
7421 delete _arg1;
7422}
8ab979d7
RD
7423 return _resultobj;
7424}
7425
98624b49
RD
7426#define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7427static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7428 PyObject * _resultobj;
7429 wxTextCtrl * _arg0;
1d99702e 7430 PyObject * _argo0 = 0;
98624b49 7431 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7432
7433 self = self;
98624b49 7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
8ab979d7 7435 return NULL;
1d99702e
RD
7436 if (_argo0) {
7437 if (_argo0 == Py_None) { _arg0 = NULL; }
7438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
8ab979d7
RD
7440 return NULL;
7441 }
7442 }
cf694132 7443{
4268f798 7444 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7445 wxTextCtrl_DiscardEdits(_arg0);
cf694132 7446
4268f798 7447 wxPyEndAllowThreads(__tstate);
493f1553 7448 if (PyErr_Occurred()) return NULL;
cf694132 7449} Py_INCREF(Py_None);
8ab979d7 7450 _resultobj = Py_None;
8ab979d7
RD
7451 return _resultobj;
7452}
7453
98624b49
RD
7454#define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7455static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7456 PyObject * _resultobj;
7457 wxTextCtrl * _arg0;
98624b49 7458 unsigned long _arg1;
1d99702e 7459 PyObject * _argo0 = 0;
98624b49 7460 char *_kwnames[] = { "self","len", NULL };
8ab979d7
RD
7461
7462 self = self;
98624b49 7463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
8ab979d7 7464 return NULL;
1d99702e
RD
7465 if (_argo0) {
7466 if (_argo0 == Py_None) { _arg0 = NULL; }
7467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
8ab979d7
RD
7469 return NULL;
7470 }
7471 }
cf694132 7472{
4268f798 7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7474 wxTextCtrl_SetMaxLength(_arg0,_arg1);
cf694132 7475
4268f798 7476 wxPyEndAllowThreads(__tstate);
493f1553 7477 if (PyErr_Occurred()) return NULL;
cf694132 7478} Py_INCREF(Py_None);
8ab979d7
RD
7479 _resultobj = Py_None;
7480 return _resultobj;
7481}
7482
98624b49
RD
7483#define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7484static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7485 PyObject * _resultobj;
7486 wxTextCtrl * _arg0;
98624b49 7487 wxString * _arg1;
1d99702e 7488 PyObject * _argo0 = 0;
98624b49
RD
7489 PyObject * _obj1 = 0;
7490 char *_kwnames[] = { "self","text", NULL };
8ab979d7
RD
7491
7492 self = self;
98624b49 7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
8ab979d7 7494 return NULL;
1d99702e
RD
7495 if (_argo0) {
7496 if (_argo0 == Py_None) { _arg0 = NULL; }
7497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
8ab979d7
RD
7499 return NULL;
7500 }
7501 }
7502{
c8bc7bb8
RD
7503 _arg1 = wxString_in_helper(_obj1);
7504 if (_arg1 == NULL)
8ab979d7 7505 return NULL;
8ab979d7 7506}
cf694132 7507{
4268f798 7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7509 wxTextCtrl_WriteText(_arg0,*_arg1);
cf694132 7510
4268f798 7511 wxPyEndAllowThreads(__tstate);
493f1553 7512 if (PyErr_Occurred()) return NULL;
cf694132 7513} Py_INCREF(Py_None);
8ab979d7
RD
7514 _resultobj = Py_None;
7515{
98624b49
RD
7516 if (_obj1)
7517 delete _arg1;
8ab979d7
RD
7518}
7519 return _resultobj;
7520}
7521
98624b49
RD
7522#define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7523static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7524 PyObject * _resultobj;
8ab979d7
RD
7525 wxTextCtrl * _arg0;
7526 wxString * _arg1;
1d99702e 7527 PyObject * _argo0 = 0;
8ab979d7 7528 PyObject * _obj1 = 0;
98624b49 7529 char *_kwnames[] = { "self","text", NULL };
8ab979d7
RD
7530
7531 self = self;
98624b49 7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
8ab979d7 7533 return NULL;
1d99702e
RD
7534 if (_argo0) {
7535 if (_argo0 == Py_None) { _arg0 = NULL; }
7536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
8ab979d7
RD
7538 return NULL;
7539 }
7540 }
7541{
c8bc7bb8
RD
7542 _arg1 = wxString_in_helper(_obj1);
7543 if (_arg1 == NULL)
185d7c3e 7544 return NULL;
8ab979d7 7545}
cf694132 7546{
4268f798 7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7548 wxTextCtrl_AppendText(_arg0,*_arg1);
cf694132 7549
4268f798 7550 wxPyEndAllowThreads(__tstate);
493f1553 7551 if (PyErr_Occurred()) return NULL;
98624b49
RD
7552} Py_INCREF(Py_None);
7553 _resultobj = Py_None;
8ab979d7
RD
7554{
7555 if (_obj1)
7556 delete _arg1;
7557}
7558 return _resultobj;
7559}
7560
db0ff83e
RD
7561#define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
7562static PyObject *_wrap_wxTextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7563 PyObject * _resultobj;
7564 bool _result;
7565 wxTextCtrl * _arg0;
7566 wxKeyEvent * _arg1;
7567 PyObject * _argo0 = 0;
7568 PyObject * _argo1 = 0;
7569 char *_kwnames[] = { "self","event", NULL };
7570
7571 self = self;
7572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_EmulateKeyPress",_kwnames,&_argo0,&_argo1))
7573 return NULL;
7574 if (_argo0) {
7575 if (_argo0 == Py_None) { _arg0 = NULL; }
7576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
7578 return NULL;
7579 }
7580 }
7581 if (_argo1) {
7e50db3f 7582 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
db0ff83e
RD
7583 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
7584 return NULL;
7585 }
7586 }
7587{
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 _result = (bool )wxTextCtrl_EmulateKeyPress(_arg0,*_arg1);
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) return NULL;
7593} _resultobj = Py_BuildValue("i",_result);
7594 return _resultobj;
7595}
7596
98624b49
RD
7597#define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7598static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7599 PyObject * _resultobj;
98624b49 7600 bool _result;
8ab979d7 7601 wxTextCtrl * _arg0;
98624b49
RD
7602 long _arg1;
7603 long _arg2;
7604 wxTextAttr * _arg3;
1d99702e 7605 PyObject * _argo0 = 0;
98624b49
RD
7606 PyObject * _argo3 = 0;
7607 char *_kwnames[] = { "self","start","end","style", NULL };
8ab979d7
RD
7608
7609 self = self;
98624b49 7610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
8ab979d7 7611 return NULL;
1d99702e
RD
7612 if (_argo0) {
7613 if (_argo0 == Py_None) { _arg0 = NULL; }
7614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49
RD
7615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7616 return NULL;
7617 }
7618 }
7619 if (_argo3) {
7e50db3f 7620 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
98624b49 7621 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
8ab979d7
RD
7622 return NULL;
7623 }
7624 }
cf694132 7625{
4268f798 7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7627 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
cf694132 7628
4268f798 7629 wxPyEndAllowThreads(__tstate);
493f1553 7630 if (PyErr_Occurred()) return NULL;
98624b49 7631} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7632 return _resultobj;
7633}
7634
98624b49
RD
7635#define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7636static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7637 PyObject * _resultobj;
98624b49 7638 bool _result;
8ab979d7 7639 wxTextCtrl * _arg0;
98624b49 7640 wxTextAttr * _arg1;
1d99702e 7641 PyObject * _argo0 = 0;
98624b49
RD
7642 PyObject * _argo1 = 0;
7643 char *_kwnames[] = { "self","style", NULL };
8ab979d7
RD
7644
7645 self = self;
98624b49 7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
8ab979d7 7647 return NULL;
1d99702e
RD
7648 if (_argo0) {
7649 if (_argo0 == Py_None) { _arg0 = NULL; }
7650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49
RD
7651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7652 return NULL;
7653 }
7654 }
7655 if (_argo1) {
7e50db3f 7656 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
98624b49 7657 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
8ab979d7
RD
7658 return NULL;
7659 }
7660 }
cf694132 7661{
4268f798 7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7663 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
cf694132 7664
4268f798 7665 wxPyEndAllowThreads(__tstate);
493f1553 7666 if (PyErr_Occurred()) return NULL;
98624b49 7667} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
7668 return _resultobj;
7669}
7670
98624b49
RD
7671#define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7672static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7673 PyObject * _resultobj;
98624b49 7674 wxTextAttr * _result;
8ab979d7 7675 wxTextCtrl * _arg0;
1d99702e 7676 PyObject * _argo0 = 0;
efc5f224 7677 char *_kwnames[] = { "self", NULL };
98624b49 7678 char _ptemp[128];
8ab979d7
RD
7679
7680 self = self;
98624b49 7681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
8ab979d7 7682 return NULL;
1d99702e
RD
7683 if (_argo0) {
7684 if (_argo0 == Py_None) { _arg0 = NULL; }
7685 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7686 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
8ab979d7
RD
7687 return NULL;
7688 }
7689 }
cf694132 7690{
4268f798 7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7692 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
98624b49 7693 _result = (wxTextAttr *) &_result_ref;
cf694132 7694
4268f798 7695 wxPyEndAllowThreads(__tstate);
493f1553 7696 if (PyErr_Occurred()) return NULL;
98624b49
RD
7697} if (_result) {
7698 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
7699 _resultobj = Py_BuildValue("s",_ptemp);
7700 } else {
7701 Py_INCREF(Py_None);
7702 _resultobj = Py_None;
7703 }
8ab979d7
RD
7704 return _resultobj;
7705}
7706
5a2a9da2
RD
7707#define wxTextCtrl_GetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyle(_swigarg0,_swigarg1))
7708static PyObject *_wrap_wxTextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7709 PyObject * _resultobj;
7710 bool _result;
7711 wxTextCtrl * _arg0;
7712 long _arg1;
7713 wxTextAttr * _arg2;
7714 PyObject * _argo0 = 0;
7715 PyObject * _argo2 = 0;
7716 char *_kwnames[] = { "self","position","style", NULL };
7717
7718 self = self;
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxTextCtrl_GetStyle",_kwnames,&_argo0,&_arg1,&_argo2))
7720 return NULL;
7721 if (_argo0) {
7722 if (_argo0 == Py_None) { _arg0 = NULL; }
7723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStyle. Expected _wxTextCtrl_p.");
7725 return NULL;
7726 }
7727 }
7728 if (_argo2) {
7729 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextAttr_p")) {
7730 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextCtrl_GetStyle. Expected _wxTextAttr_p.");
7731 return NULL;
7732 }
7733 }
7734{
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 _result = (bool )wxTextCtrl_GetStyle(_arg0,_arg1,*_arg2);
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) return NULL;
7740} _resultobj = Py_BuildValue("i",_result);
7741 return _resultobj;
7742}
7743
98624b49
RD
7744#define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7745static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7746 PyObject * _resultobj;
98624b49 7747 long _result;
8ab979d7
RD
7748 wxTextCtrl * _arg0;
7749 long _arg1;
7750 long _arg2;
1d99702e 7751 PyObject * _argo0 = 0;
98624b49 7752 char *_kwnames[] = { "self","x","y", NULL };
8ab979d7
RD
7753
7754 self = self;
98624b49 7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 7756 return NULL;
1d99702e
RD
7757 if (_argo0) {
7758 if (_argo0 == Py_None) { _arg0 = NULL; }
7759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
8ab979d7
RD
7761 return NULL;
7762 }
7763 }
cf694132 7764{
4268f798 7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7766 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
cf694132 7767
4268f798 7768 wxPyEndAllowThreads(__tstate);
493f1553 7769 if (PyErr_Occurred()) return NULL;
98624b49 7770} _resultobj = Py_BuildValue("l",_result);
8ab979d7
RD
7771 return _resultobj;
7772}
7773
98624b49
RD
7774#define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7775static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7776 PyObject * _resultobj;
7777 wxTextCtrl * _arg0;
98624b49
RD
7778 long _arg1;
7779 long * _arg2;
7780 long temp;
7781 long * _arg3;
7782 long temp0;
1d99702e 7783 PyObject * _argo0 = 0;
98624b49 7784 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
7785
7786 self = self;
98624b49
RD
7787{
7788 _arg2 = &temp;
7789}
7790{
7791 _arg3 = &temp0;
7792}
7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
8ab979d7 7794 return NULL;
1d99702e
RD
7795 if (_argo0) {
7796 if (_argo0 == Py_None) { _arg0 = NULL; }
7797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
8ab979d7
RD
7799 return NULL;
7800 }
7801 }
cf694132 7802{
4268f798 7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7804 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
cf694132 7805
4268f798 7806 wxPyEndAllowThreads(__tstate);
493f1553 7807 if (PyErr_Occurred()) return NULL;
68320e40
RD
7808} Py_INCREF(Py_None);
7809 _resultobj = Py_None;
8ab979d7 7810{
98624b49
RD
7811 PyObject *o;
7812 o = PyInt_FromLong((long) (*_arg2));
7813 _resultobj = t_output_helper(_resultobj, o);
7814}
7815{
7816 PyObject *o;
7817 o = PyInt_FromLong((long) (*_arg3));
7818 _resultobj = t_output_helper(_resultobj, o);
8ab979d7
RD
7819}
7820 return _resultobj;
7821}
7822
7823#define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
efc5f224 7824static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7825 PyObject * _resultobj;
7826 wxTextCtrl * _arg0;
7827 long _arg1;
1d99702e 7828 PyObject * _argo0 = 0;
efc5f224 7829 char *_kwnames[] = { "self","pos", NULL };
8ab979d7
RD
7830
7831 self = self;
efc5f224 7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 7833 return NULL;
1d99702e
RD
7834 if (_argo0) {
7835 if (_argo0 == Py_None) { _arg0 = NULL; }
7836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8ab979d7
RD
7837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7838 return NULL;
7839 }
7840 }
cf694132 7841{
4268f798 7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7843 wxTextCtrl_ShowPosition(_arg0,_arg1);
cf694132 7844
4268f798 7845 wxPyEndAllowThreads(__tstate);
493f1553 7846 if (PyErr_Occurred()) return NULL;
cf694132 7847} Py_INCREF(Py_None);
8ab979d7
RD
7848 _resultobj = Py_None;
7849 return _resultobj;
7850}
7851
98624b49
RD
7852#define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7853static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
7854 PyObject * _resultobj;
7855 wxTextCtrl * _arg0;
1d99702e 7856 PyObject * _argo0 = 0;
98624b49 7857 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7858
7859 self = self;
98624b49 7860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
8ab979d7 7861 return NULL;
1d99702e
RD
7862 if (_argo0) {
7863 if (_argo0 == Py_None) { _arg0 = NULL; }
7864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
8ab979d7
RD
7866 return NULL;
7867 }
7868 }
cf694132 7869{
4268f798 7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7871 wxTextCtrl_Copy(_arg0);
cf694132 7872
4268f798 7873 wxPyEndAllowThreads(__tstate);
493f1553 7874 if (PyErr_Occurred()) return NULL;
cf694132
RD
7875} Py_INCREF(Py_None);
7876 _resultobj = Py_None;
cf694132
RD
7877 return _resultobj;
7878}
7879
98624b49
RD
7880#define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7881static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
cf694132
RD
7882 PyObject * _resultobj;
7883 wxTextCtrl * _arg0;
1d99702e 7884 PyObject * _argo0 = 0;
98624b49 7885 char *_kwnames[] = { "self", NULL };
cf694132
RD
7886
7887 self = self;
98624b49 7888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
cf694132 7889 return NULL;
1d99702e
RD
7890 if (_argo0) {
7891 if (_argo0 == Py_None) { _arg0 = NULL; }
7892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
cf694132
RD
7894 return NULL;
7895 }
7896 }
cf694132 7897{
4268f798 7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7899 wxTextCtrl_Cut(_arg0);
cf694132 7900
4268f798 7901 wxPyEndAllowThreads(__tstate);
493f1553 7902 if (PyErr_Occurred()) return NULL;
cf694132 7903} Py_INCREF(Py_None);
8ab979d7 7904 _resultobj = Py_None;
8ab979d7
RD
7905 return _resultobj;
7906}
7907
98624b49
RD
7908#define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7909static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 7910 PyObject * _resultobj;
8ab979d7 7911 wxTextCtrl * _arg0;
1d99702e 7912 PyObject * _argo0 = 0;
98624b49 7913 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
7914
7915 self = self;
98624b49 7916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
8ab979d7 7917 return NULL;
1d99702e
RD
7918 if (_argo0) {
7919 if (_argo0 == Py_None) { _arg0 = NULL; }
7920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 7921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
8ab979d7
RD
7922 return NULL;
7923 }
7924 }
cf694132 7925{
4268f798 7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7927 wxTextCtrl_Paste(_arg0);
cf694132 7928
4268f798 7929 wxPyEndAllowThreads(__tstate);
493f1553 7930 if (PyErr_Occurred()) return NULL;
98624b49
RD
7931} Py_INCREF(Py_None);
7932 _resultobj = Py_None;
8ab979d7
RD
7933 return _resultobj;
7934}
7935
c127177f 7936#define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
efc5f224 7937static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7938 PyObject * _resultobj;
7939 bool _result;
7940 wxTextCtrl * _arg0;
1d99702e 7941 PyObject * _argo0 = 0;
efc5f224 7942 char *_kwnames[] = { "self", NULL };
c127177f
RD
7943
7944 self = self;
efc5f224 7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
c127177f 7946 return NULL;
1d99702e
RD
7947 if (_argo0) {
7948 if (_argo0 == Py_None) { _arg0 = NULL; }
7949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
c127177f
RD
7950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7951 return NULL;
7952 }
7953 }
7954{
4268f798 7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7956 _result = (bool )wxTextCtrl_CanCopy(_arg0);
c127177f 7957
4268f798 7958 wxPyEndAllowThreads(__tstate);
493f1553 7959 if (PyErr_Occurred()) return NULL;
c127177f
RD
7960} _resultobj = Py_BuildValue("i",_result);
7961 return _resultobj;
7962}
7963
7964#define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
efc5f224 7965static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7966 PyObject * _resultobj;
7967 bool _result;
7968 wxTextCtrl * _arg0;
1d99702e 7969 PyObject * _argo0 = 0;
efc5f224 7970 char *_kwnames[] = { "self", NULL };
c127177f
RD
7971
7972 self = self;
efc5f224 7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
c127177f 7974 return NULL;
1d99702e
RD
7975 if (_argo0) {
7976 if (_argo0 == Py_None) { _arg0 = NULL; }
7977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
c127177f
RD
7978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7979 return NULL;
7980 }
7981 }
7982{
4268f798 7983 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7984 _result = (bool )wxTextCtrl_CanCut(_arg0);
c127177f 7985
4268f798 7986 wxPyEndAllowThreads(__tstate);
493f1553 7987 if (PyErr_Occurred()) return NULL;
c127177f
RD
7988} _resultobj = Py_BuildValue("i",_result);
7989 return _resultobj;
7990}
7991
7992#define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
efc5f224 7993static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
7994 PyObject * _resultobj;
7995 bool _result;
7996 wxTextCtrl * _arg0;
1d99702e 7997 PyObject * _argo0 = 0;
efc5f224 7998 char *_kwnames[] = { "self", NULL };
c127177f
RD
7999
8000 self = self;
efc5f224 8001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
c127177f 8002 return NULL;
1d99702e
RD
8003 if (_argo0) {
8004 if (_argo0 == Py_None) { _arg0 = NULL; }
8005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
c127177f
RD
8006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
8007 return NULL;
8008 }
8009 }
8010{
4268f798 8011 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8012 _result = (bool )wxTextCtrl_CanPaste(_arg0);
c127177f 8013
4268f798 8014 wxPyEndAllowThreads(__tstate);
493f1553 8015 if (PyErr_Occurred()) return NULL;
c127177f
RD
8016} _resultobj = Py_BuildValue("i",_result);
8017 return _resultobj;
8018}
8019
98624b49
RD
8020#define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
8021static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f 8022 PyObject * _resultobj;
c127177f 8023 wxTextCtrl * _arg0;
1d99702e 8024 PyObject * _argo0 = 0;
efc5f224 8025 char *_kwnames[] = { "self", NULL };
c127177f
RD
8026
8027 self = self;
98624b49 8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
c127177f 8029 return NULL;
1d99702e
RD
8030 if (_argo0) {
8031 if (_argo0 == Py_None) { _arg0 = NULL; }
8032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 8033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
c127177f
RD
8034 return NULL;
8035 }
8036 }
8037{
4268f798 8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8039 wxTextCtrl_Undo(_arg0);
c127177f 8040
4268f798 8041 wxPyEndAllowThreads(__tstate);
493f1553 8042 if (PyErr_Occurred()) return NULL;
98624b49
RD
8043} Py_INCREF(Py_None);
8044 _resultobj = Py_None;
c127177f
RD
8045 return _resultobj;
8046}
8047
98624b49
RD
8048#define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
8049static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f 8050 PyObject * _resultobj;
c127177f 8051 wxTextCtrl * _arg0;
1d99702e 8052 PyObject * _argo0 = 0;
efc5f224 8053 char *_kwnames[] = { "self", NULL };
c127177f
RD
8054
8055 self = self;
98624b49 8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
c127177f 8057 return NULL;
1d99702e
RD
8058 if (_argo0) {
8059 if (_argo0 == Py_None) { _arg0 = NULL; }
8060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 8061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
c127177f
RD
8062 return NULL;
8063 }
8064 }
8065{
4268f798 8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8067 wxTextCtrl_Redo(_arg0);
c127177f 8068
4268f798 8069 wxPyEndAllowThreads(__tstate);
493f1553 8070 if (PyErr_Occurred()) return NULL;
98624b49
RD
8071} Py_INCREF(Py_None);
8072 _resultobj = Py_None;
c127177f
RD
8073 return _resultobj;
8074}
8075
98624b49
RD
8076#define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
8077static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f 8078 PyObject * _resultobj;
98624b49 8079 bool _result;
c127177f 8080 wxTextCtrl * _arg0;
1d99702e 8081 PyObject * _argo0 = 0;
efc5f224 8082 char *_kwnames[] = { "self", NULL };
c127177f
RD
8083
8084 self = self;
98624b49 8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
c127177f 8086 return NULL;
1d99702e
RD
8087 if (_argo0) {
8088 if (_argo0 == Py_None) { _arg0 = NULL; }
8089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 8090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
c127177f
RD
8091 return NULL;
8092 }
8093 }
8094{
4268f798 8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8096 _result = (bool )wxTextCtrl_CanUndo(_arg0);
c127177f 8097
4268f798 8098 wxPyEndAllowThreads(__tstate);
493f1553 8099 if (PyErr_Occurred()) return NULL;
98624b49 8100} _resultobj = Py_BuildValue("i",_result);
c127177f
RD
8101 return _resultobj;
8102}
8103
98624b49
RD
8104#define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
8105static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
c127177f
RD
8106 PyObject * _resultobj;
8107 bool _result;
8108 wxTextCtrl * _arg0;
1d99702e 8109 PyObject * _argo0 = 0;
efc5f224 8110 char *_kwnames[] = { "self", NULL };
c127177f
RD
8111
8112 self = self;
98624b49 8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
c127177f 8114 return NULL;
1d99702e
RD
8115 if (_argo0) {
8116 if (_argo0 == Py_None) { _arg0 = NULL; }
8117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 8118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
c127177f
RD
8119 return NULL;
8120 }
8121 }
8122{
4268f798 8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8124 _result = (bool )wxTextCtrl_CanRedo(_arg0);
c127177f 8125
4268f798 8126 wxPyEndAllowThreads(__tstate);
493f1553 8127 if (PyErr_Occurred()) return NULL;
c127177f
RD
8128} _resultobj = Py_BuildValue("i",_result);
8129 return _resultobj;
8130}
8131
98624b49
RD
8132#define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
8133static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
b1462dfa
RD
8134 PyObject * _resultobj;
8135 wxTextCtrl * _arg0;
98624b49 8136 long _arg1;
b1462dfa 8137 PyObject * _argo0 = 0;
98624b49 8138 char *_kwnames[] = { "self","pos", NULL };
b1462dfa
RD
8139
8140 self = self;
98624b49 8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
b1462dfa
RD
8142 return NULL;
8143 if (_argo0) {
8144 if (_argo0 == Py_None) { _arg0 = NULL; }
8145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 8146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
b1462dfa
RD
8147 return NULL;
8148 }
8149 }
8150{
4268f798 8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8152 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
b1462dfa 8153
4268f798 8154 wxPyEndAllowThreads(__tstate);
493f1553 8155 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8156} Py_INCREF(Py_None);
8157 _resultobj = Py_None;
8158 return _resultobj;
8159}
8160
98624b49
RD
8161#define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
8162static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
b1462dfa
RD
8163 PyObject * _resultobj;
8164 wxTextCtrl * _arg0;
8165 PyObject * _argo0 = 0;
8166 char *_kwnames[] = { "self", NULL };
8167
8168 self = self;
98624b49 8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
b1462dfa
RD
8170 return NULL;
8171 if (_argo0) {
8172 if (_argo0 == Py_None) { _arg0 = NULL; }
8173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 8174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
b1462dfa
RD
8175 return NULL;
8176 }
8177 }
8178{
4268f798 8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8180 wxTextCtrl_SetInsertionPointEnd(_arg0);
b1462dfa 8181
4268f798 8182 wxPyEndAllowThreads(__tstate);
493f1553 8183 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8184} Py_INCREF(Py_None);
8185 _resultobj = Py_None;
8186 return _resultobj;
8187}
8188
98624b49
RD
8189#define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
8190static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
d56cebe7 8191 PyObject * _resultobj;
98624b49 8192 long _result;
d56cebe7 8193 wxTextCtrl * _arg0;
d56cebe7 8194 PyObject * _argo0 = 0;
98624b49 8195 char *_kwnames[] = { "self", NULL };
d56cebe7
RD
8196
8197 self = self;
98624b49 8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
d56cebe7
RD
8199 return NULL;
8200 if (_argo0) {
8201 if (_argo0 == Py_None) { _arg0 = NULL; }
8202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 8203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
d56cebe7
RD
8204 return NULL;
8205 }
8206 }
8207{
4268f798 8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8209 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
d56cebe7 8210
4268f798 8211 wxPyEndAllowThreads(__tstate);
d56cebe7 8212 if (PyErr_Occurred()) return NULL;
98624b49 8213} _resultobj = Py_BuildValue("l",_result);
d56cebe7
RD
8214 return _resultobj;
8215}
8216
98624b49
RD
8217#define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
8218static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
d56cebe7 8219 PyObject * _resultobj;
98624b49 8220 long _result;
d56cebe7 8221 wxTextCtrl * _arg0;
d56cebe7 8222 PyObject * _argo0 = 0;
98624b49 8223 char *_kwnames[] = { "self", NULL };
d56cebe7
RD
8224
8225 self = self;
98624b49 8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
d56cebe7
RD
8227 return NULL;
8228 if (_argo0) {
8229 if (_argo0 == Py_None) { _arg0 = NULL; }
8230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 8231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
d56cebe7
RD
8232 return NULL;
8233 }
8234 }
98624b49 8235{
4268f798 8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8237 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
98624b49 8238
4268f798 8239 wxPyEndAllowThreads(__tstate);
98624b49
RD
8240 if (PyErr_Occurred()) return NULL;
8241} _resultobj = Py_BuildValue("l",_result);
8242 return _resultobj;
8243}
8244
8245#define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
8246static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8247 PyObject * _resultobj;
8248 wxTextCtrl * _arg0;
8249 long _arg1;
8250 long _arg2;
8251 PyObject * _argo0 = 0;
8252 char *_kwnames[] = { "self","from","to", NULL };
8253
8254 self = self;
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
8256 return NULL;
8257 if (_argo0) {
8258 if (_argo0 == Py_None) { _arg0 = NULL; }
8259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
d56cebe7
RD
8261 return NULL;
8262 }
8263 }
8264{
4268f798 8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8266 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
d56cebe7 8267
4268f798 8268 wxPyEndAllowThreads(__tstate);
d56cebe7 8269 if (PyErr_Occurred()) return NULL;
98624b49
RD
8270} Py_INCREF(Py_None);
8271 _resultobj = Py_None;
d56cebe7
RD
8272 return _resultobj;
8273}
8274
98624b49
RD
8275#define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
8276static PyObject *_wrap_wxTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
d56cebe7 8277 PyObject * _resultobj;
d56cebe7
RD
8278 wxTextCtrl * _arg0;
8279 PyObject * _argo0 = 0;
8280 char *_kwnames[] = { "self", NULL };
d56cebe7
RD
8281
8282 self = self;
98624b49 8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SelectAll",_kwnames,&_argo0))
d56cebe7
RD
8284 return NULL;
8285 if (_argo0) {
8286 if (_argo0 == Py_None) { _arg0 = NULL; }
8287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 8288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
d56cebe7
RD
8289 return NULL;
8290 }
8291 }
8292{
4268f798 8293 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8294 wxTextCtrl_SelectAll(_arg0);
d56cebe7 8295
4268f798 8296 wxPyEndAllowThreads(__tstate);
d56cebe7 8297 if (PyErr_Occurred()) return NULL;
98624b49
RD
8298} Py_INCREF(Py_None);
8299 _resultobj = Py_None;
d56cebe7
RD
8300 return _resultobj;
8301}
8302
98624b49
RD
8303#define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
8304static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
00b6c4e3
RD
8305 PyObject * _resultobj;
8306 wxTextCtrl * _arg0;
98624b49 8307 bool _arg1;
00b6c4e3 8308 PyObject * _argo0 = 0;
98624b49
RD
8309 int tempbool1;
8310 char *_kwnames[] = { "self","editable", NULL };
00b6c4e3
RD
8311
8312 self = self;
98624b49 8313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
00b6c4e3
RD
8314 return NULL;
8315 if (_argo0) {
8316 if (_argo0 == Py_None) { _arg0 = NULL; }
8317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
98624b49 8318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
00b6c4e3
RD
8319 return NULL;
8320 }
8321 }
98624b49 8322 _arg1 = (bool ) tempbool1;
00b6c4e3 8323{
4268f798 8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8325 wxTextCtrl_SetEditable(_arg0,_arg1);
00b6c4e3 8326
4268f798 8327 wxPyEndAllowThreads(__tstate);
00b6c4e3
RD
8328 if (PyErr_Occurred()) return NULL;
8329} Py_INCREF(Py_None);
8330 _resultobj = Py_None;
8331 return _resultobj;
8332}
8333
64c06a50
RD
8334#define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
8335static PyObject *_wrap_wxTextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8336 PyObject * _resultobj;
8337 bool _result;
8338 wxTextCtrl * _arg0;
8339 PyObject * _argo0 = 0;
8340 char *_kwnames[] = { "self", NULL };
8341
8342 self = self;
8343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsSingleLine",_kwnames,&_argo0))
8344 return NULL;
8345 if (_argo0) {
8346 if (_argo0 == Py_None) { _arg0 = NULL; }
8347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
8349 return NULL;
8350 }
8351 }
8352{
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 _result = (bool )wxTextCtrl_IsSingleLine(_arg0);
8355
8356 wxPyEndAllowThreads(__tstate);
8357 if (PyErr_Occurred()) return NULL;
8358} _resultobj = Py_BuildValue("i",_result);
8359 return _resultobj;
8360}
8361
8362#define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
8363static PyObject *_wrap_wxTextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8364 PyObject * _resultobj;
8365 bool _result;
8366 wxTextCtrl * _arg0;
8367 PyObject * _argo0 = 0;
8368 char *_kwnames[] = { "self", NULL };
8369
8370 self = self;
8371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsMultiLine",_kwnames,&_argo0))
8372 return NULL;
8373 if (_argo0) {
8374 if (_argo0 == Py_None) { _arg0 = NULL; }
8375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
8377 return NULL;
8378 }
8379 }
8380{
8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8382 _result = (bool )wxTextCtrl_IsMultiLine(_arg0);
8383
8384 wxPyEndAllowThreads(__tstate);
8385 if (PyErr_Occurred()) return NULL;
8386} _resultobj = Py_BuildValue("i",_result);
8387 return _resultobj;
8388}
8389
b1462dfa 8390static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
d56cebe7 8391 self->AppendText(text);
b1462dfa
RD
8392 }
8393static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8394 PyObject * _resultobj;
8395 wxTextCtrl * _arg0;
8396 wxString * _arg1;
8397 PyObject * _argo0 = 0;
8398 PyObject * _obj1 = 0;
8399 char *_kwnames[] = { "self","text", NULL };
8400
8401 self = self;
8402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
8403 return NULL;
8404 if (_argo0) {
8405 if (_argo0 == Py_None) { _arg0 = NULL; }
8406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
8408 return NULL;
8409 }
8410 }
8411{
c8bc7bb8
RD
8412 _arg1 = wxString_in_helper(_obj1);
8413 if (_arg1 == NULL)
185d7c3e 8414 return NULL;
b1462dfa
RD
8415}
8416{
4268f798 8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8418 wxTextCtrl_write(_arg0,*_arg1);
b1462dfa 8419
4268f798 8420 wxPyEndAllowThreads(__tstate);
493f1553 8421 if (PyErr_Occurred()) return NULL;
b1462dfa
RD
8422} Py_INCREF(Py_None);
8423 _resultobj = Py_None;
8424{
8425 if (_obj1)
8426 delete _arg1;
8427}
8428 return _resultobj;
8429}
8430
2f4e9287 8431static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to) {
64c06a50 8432 return self->GetValue().Mid(from, to - from);
2f4e9287
RD
8433 }
8434static PyObject *_wrap_wxTextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8435 PyObject * _resultobj;
8436 wxString * _result;
8437 wxTextCtrl * _arg0;
8438 long _arg1;
8439 long _arg2;
8440 PyObject * _argo0 = 0;
8441 char *_kwnames[] = { "self","from","to", NULL };
8442
8443 self = self;
8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetString",_kwnames,&_argo0,&_arg1,&_arg2))
8445 return NULL;
8446 if (_argo0) {
8447 if (_argo0 == Py_None) { _arg0 = NULL; }
8448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
8450 return NULL;
8451 }
8452 }
8453{
4268f798 8454 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8455 _result = new wxString (wxTextCtrl_GetString(_arg0,_arg1,_arg2));
2f4e9287 8456
4268f798 8457 wxPyEndAllowThreads(__tstate);
2f4e9287
RD
8458 if (PyErr_Occurred()) return NULL;
8459}{
c8bc7bb8 8460#if wxUSE_UNICODE
7e50db3f 8461 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 8462#else
2f4e9287 8463 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8464#endif
2f4e9287
RD
8465}
8466{
8467 delete _result;
8468}
8469 return _resultobj;
8470}
8471
8ab979d7
RD
8472static void *SwigwxScrollBarTowxControl(void *ptr) {
8473 wxScrollBar *src;
8474 wxControl *dest;
8475 src = (wxScrollBar *) ptr;
8476 dest = (wxControl *) src;
8477 return (void *) dest;
8478}
8479
8480static void *SwigwxScrollBarTowxWindow(void *ptr) {
8481 wxScrollBar *src;
8482 wxWindow *dest;
8483 src = (wxScrollBar *) ptr;
8484 dest = (wxWindow *) src;
8485 return (void *) dest;
8486}
8487
8488static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
8489 wxScrollBar *src;
8490 wxEvtHandler *dest;
8491 src = (wxScrollBar *) ptr;
8492 dest = (wxEvtHandler *) src;
8493 return (void *) dest;
8494}
8495
9416aa89
RD
8496static void *SwigwxScrollBarTowxObject(void *ptr) {
8497 wxScrollBar *src;
8498 wxObject *dest;
8499 src = (wxScrollBar *) ptr;
8500 dest = (wxObject *) src;
8501 return (void *) dest;
8502}
8503
8ab979d7 8504#define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 8505static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8506 PyObject * _resultobj;
8507 wxScrollBar * _result;
8508 wxWindow * _arg0;
1d99702e 8509 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
8510 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8511 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 8512 long _arg4 = (long ) wxSB_HORIZONTAL;
e508a2b6 8513 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
137b5242 8514 wxString * _arg6 = (wxString *) &wxPyScrollBarNameStr;
1d99702e 8515 PyObject * _argo0 = 0;
2f90df85
RD
8516 wxPoint temp;
8517 PyObject * _obj2 = 0;
8518 wxSize temp0;
8519 PyObject * _obj3 = 0;
1d99702e 8520 PyObject * _argo5 = 0;
137b5242 8521 PyObject * _obj6 = 0;
efc5f224 8522 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8ab979d7
RD
8523 char _ptemp[128];
8524
8525 self = self;
137b5242 8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8ab979d7 8527 return NULL;
1d99702e
RD
8528 if (_argo0) {
8529 if (_argo0 == Py_None) { _arg0 = NULL; }
8530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
8531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8532 return NULL;
8533 }
8534 }
2f90df85
RD
8535 if (_obj2)
8536{
8537 _arg2 = &temp;
8538 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 8539 return NULL;
2f90df85
RD
8540}
8541 if (_obj3)
8542{
8543 _arg3 = &temp0;
8544 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 8545 return NULL;
2f90df85 8546}
1d99702e 8547 if (_argo5) {
7e50db3f 8548 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8ab979d7
RD
8549 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8550 return NULL;
8551 }
8552 }
137b5242
RD
8553 if (_obj6)
8554{
8555 _arg6 = wxString_in_helper(_obj6);
8556 if (_arg6 == NULL)
8557 return NULL;
8558}
cf694132 8559{
4268f798 8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 8561 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
cf694132 8562
4268f798 8563 wxPyEndAllowThreads(__tstate);
493f1553 8564 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8565} if (_result) {
8566 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
8567 _resultobj = Py_BuildValue("s",_ptemp);
8568 } else {
8569 Py_INCREF(Py_None);
8570 _resultobj = Py_None;
8571 }
137b5242
RD
8572{
8573 if (_obj6)
8574 delete _arg6;
8575}
8ab979d7
RD
8576 return _resultobj;
8577}
8578
09f3d4e6
RD
8579#define new_wxPreScrollBar() (new wxScrollBar())
8580static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject * _resultobj;
8582 wxScrollBar * _result;
8583 char *_kwnames[] = { NULL };
8584 char _ptemp[128];
8585
8586 self = self;
8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
8588 return NULL;
8589{
4268f798 8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8591 _result = (wxScrollBar *)new_wxPreScrollBar();
09f3d4e6 8592
4268f798 8593 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
8594 if (PyErr_Occurred()) return NULL;
8595} if (_result) {
8596 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
8597 _resultobj = Py_BuildValue("s",_ptemp);
8598 } else {
8599 Py_INCREF(Py_None);
8600 _resultobj = Py_None;
8601 }
8602 return _resultobj;
8603}
8604
8605#define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8606static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8607 PyObject * _resultobj;
8608 bool _result;
8609 wxScrollBar * _arg0;
8610 wxWindow * _arg1;
8611 wxWindowID _arg2 = (wxWindowID ) -1;
8612 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8613 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8614 long _arg5 = (long ) wxSB_HORIZONTAL;
8615 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 8616 wxString * _arg7 = (wxString *) &wxPyScrollBarNameStr;
09f3d4e6
RD
8617 PyObject * _argo0 = 0;
8618 PyObject * _argo1 = 0;
8619 wxPoint temp;
8620 PyObject * _obj3 = 0;
8621 wxSize temp0;
8622 PyObject * _obj4 = 0;
8623 PyObject * _argo6 = 0;
137b5242 8624 PyObject * _obj7 = 0;
09f3d4e6
RD
8625 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
8626
8627 self = self;
137b5242 8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
09f3d4e6
RD
8629 return NULL;
8630 if (_argo0) {
8631 if (_argo0 == Py_None) { _arg0 = NULL; }
8632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8634 return NULL;
8635 }
8636 }
8637 if (_argo1) {
8638 if (_argo1 == Py_None) { _arg1 = NULL; }
8639 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8640 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8641 return NULL;
8642 }
8643 }
8644 if (_obj3)
8645{
8646 _arg3 = &temp;
8647 if (! wxPoint_helper(_obj3, &_arg3))
8648 return NULL;
8649}
8650 if (_obj4)
8651{
8652 _arg4 = &temp0;
8653 if (! wxSize_helper(_obj4, &_arg4))
8654 return NULL;
8655}
8656 if (_argo6) {
7e50db3f 8657 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
09f3d4e6
RD
8658 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8659 return NULL;
8660 }
8661 }
137b5242
RD
8662 if (_obj7)
8663{
8664 _arg7 = wxString_in_helper(_obj7);
8665 if (_arg7 == NULL)
8666 return NULL;
8667}
09f3d4e6 8668{
4268f798 8669 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 8670 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 8671
4268f798 8672 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
8673 if (PyErr_Occurred()) return NULL;
8674} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
8675{
8676 if (_obj7)
8677 delete _arg7;
8678}
09f3d4e6
RD
8679 return _resultobj;
8680}
8681
8ab979d7 8682#define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
efc5f224 8683static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8684 PyObject * _resultobj;
8685 int _result;
8686 wxScrollBar * _arg0;
1d99702e 8687 PyObject * _argo0 = 0;
efc5f224 8688 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8689
8690 self = self;
efc5f224 8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
8ab979d7 8692 return NULL;
1d99702e
RD
8693 if (_argo0) {
8694 if (_argo0 == Py_None) { _arg0 = NULL; }
8695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
8696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8697 return NULL;
8698 }
8699 }
cf694132 8700{
4268f798 8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8702 _result = (int )wxScrollBar_GetRange(_arg0);
cf694132 8703
4268f798 8704 wxPyEndAllowThreads(__tstate);
493f1553 8705 if (PyErr_Occurred()) return NULL;
cf694132 8706} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8707 return _resultobj;
8708}
8709
8710#define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
efc5f224 8711static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8712 PyObject * _resultobj;
8713 int _result;
8714 wxScrollBar * _arg0;
1d99702e 8715 PyObject * _argo0 = 0;
efc5f224 8716 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8717
8718 self = self;
efc5f224 8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
8ab979d7 8720 return NULL;
1d99702e
RD
8721 if (_argo0) {
8722 if (_argo0 == Py_None) { _arg0 = NULL; }
8723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
8724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8725 return NULL;
8726 }
8727 }
cf694132 8728{
4268f798 8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8730 _result = (int )wxScrollBar_GetPageSize(_arg0);
cf694132 8731
4268f798 8732 wxPyEndAllowThreads(__tstate);
493f1553 8733 if (PyErr_Occurred()) return NULL;
cf694132 8734} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8735 return _resultobj;
8736}
8737
b8b8dda7 8738#define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
efc5f224 8739static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8740 PyObject * _resultobj;
8741 int _result;
8742 wxScrollBar * _arg0;
1d99702e 8743 PyObject * _argo0 = 0;
efc5f224 8744 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8745
8746 self = self;
efc5f224 8747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
8ab979d7 8748 return NULL;
1d99702e
RD
8749 if (_argo0) {
8750 if (_argo0 == Py_None) { _arg0 = NULL; }
8751 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
b8b8dda7 8752 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8ab979d7
RD
8753 return NULL;
8754 }
8755 }
cf694132 8756{
4268f798 8757 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8758 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
cf694132 8759
4268f798 8760 wxPyEndAllowThreads(__tstate);
493f1553 8761 if (PyErr_Occurred()) return NULL;
cf694132 8762} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8763 return _resultobj;
8764}
8765
8766#define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
efc5f224 8767static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8768 PyObject * _resultobj;
8769 int _result;
8770 wxScrollBar * _arg0;
1d99702e 8771 PyObject * _argo0 = 0;
efc5f224 8772 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
8773
8774 self = self;
efc5f224 8775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
8ab979d7 8776 return NULL;
1d99702e
RD
8777 if (_argo0) {
8778 if (_argo0 == Py_None) { _arg0 = NULL; }
8779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
8780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8781 return NULL;
8782 }
8783 }
cf694132 8784{
4268f798 8785 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8786 _result = (int )wxScrollBar_GetThumbSize(_arg0);
cf694132 8787
4268f798 8788 wxPyEndAllowThreads(__tstate);
493f1553 8789 if (PyErr_Occurred()) return NULL;
cf694132 8790} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
8791 return _resultobj;
8792}
8793
ebf4302c
RD
8794#define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8795static PyObject *_wrap_wxScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject * _resultobj;
8797 bool _result;
8798 wxScrollBar * _arg0;
8799 PyObject * _argo0 = 0;
8800 char *_kwnames[] = { "self", NULL };
8801
8802 self = self;
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_IsVertical",_kwnames,&_argo0))
8804 return NULL;
8805 if (_argo0) {
8806 if (_argo0 == Py_None) { _arg0 = NULL; }
8807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8809 return NULL;
8810 }
8811 }
8812{
4268f798 8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8814 _result = (bool )wxScrollBar_IsVertical(_arg0);
ebf4302c 8815
4268f798 8816 wxPyEndAllowThreads(__tstate);
ebf4302c
RD
8817 if (PyErr_Occurred()) return NULL;
8818} _resultobj = Py_BuildValue("i",_result);
8819 return _resultobj;
8820}
8821
b8b8dda7 8822#define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
efc5f224 8823static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8824 PyObject * _resultobj;
8825 wxScrollBar * _arg0;
8826 int _arg1;
1d99702e 8827 PyObject * _argo0 = 0;
efc5f224 8828 char *_kwnames[] = { "self","viewStart", NULL };
8ab979d7
RD
8829
8830 self = self;
efc5f224 8831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
8ab979d7 8832 return NULL;
1d99702e
RD
8833 if (_argo0) {
8834 if (_argo0 == Py_None) { _arg0 = NULL; }
8835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
b8b8dda7 8836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8ab979d7
RD
8837 return NULL;
8838 }
8839 }
cf694132 8840{
4268f798 8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8842 wxScrollBar_SetThumbPosition(_arg0,_arg1);
cf694132 8843
4268f798 8844 wxPyEndAllowThreads(__tstate);
493f1553 8845 if (PyErr_Occurred()) return NULL;
cf694132 8846} Py_INCREF(Py_None);
8ab979d7
RD
8847 _resultobj = Py_None;
8848 return _resultobj;
8849}
8850
8851#define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
efc5f224 8852static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8853 PyObject * _resultobj;
8854 wxScrollBar * _arg0;
8855 int _arg1;
8856 int _arg2;
8857 int _arg3;
8858 int _arg4;
1d99702e
RD
8859 bool _arg5 = (bool ) TRUE;
8860 PyObject * _argo0 = 0;
8861 int tempbool5 = (int) TRUE;
efc5f224 8862 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
8ab979d7
RD
8863
8864 self = self;
efc5f224 8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
8ab979d7 8866 return NULL;
1d99702e
RD
8867 if (_argo0) {
8868 if (_argo0 == Py_None) { _arg0 = NULL; }
8869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8ab979d7
RD
8870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8871 return NULL;
8872 }
8873 }
8874 _arg5 = (bool ) tempbool5;
cf694132 8875{
4268f798 8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8877 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
cf694132 8878
4268f798 8879 wxPyEndAllowThreads(__tstate);
493f1553 8880 if (PyErr_Occurred()) return NULL;
cf694132 8881} Py_INCREF(Py_None);
8ab979d7
RD
8882 _resultobj = Py_None;
8883 return _resultobj;
8884}
8885
8886static void *SwigwxSpinButtonTowxControl(void *ptr) {
8887 wxSpinButton *src;
8888 wxControl *dest;
8889 src = (wxSpinButton *) ptr;
8890 dest = (wxControl *) src;
8891 return (void *) dest;
8892}
8893
8894static void *SwigwxSpinButtonTowxWindow(void *ptr) {
8895 wxSpinButton *src;
8896 wxWindow *dest;
8897 src = (wxSpinButton *) ptr;
8898 dest = (wxWindow *) src;
8899 return (void *) dest;
8900}
8901
8902static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
8903 wxSpinButton *src;
8904 wxEvtHandler *dest;
8905 src = (wxSpinButton *) ptr;
8906 dest = (wxEvtHandler *) src;
8907 return (void *) dest;
8908}
8909
9416aa89
RD
8910static void *SwigwxSpinButtonTowxObject(void *ptr) {
8911 wxSpinButton *src;
8912 wxObject *dest;
8913 src = (wxSpinButton *) ptr;
8914 dest = (wxObject *) src;
8915 return (void *) dest;
8916}
8917
8ab979d7 8918#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
efc5f224 8919static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
8920 PyObject * _resultobj;
8921 wxSpinButton * _result;
8922 wxWindow * _arg0;
1d99702e 8923 wxWindowID _arg1 = (wxWindowID ) -1;
e508a2b6
RD
8924 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8925 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1d99702e 8926 long _arg4 = (long ) wxSP_HORIZONTAL;
137b5242 8927 wxString * _arg5 = (wxString *) &wxPySPIN_BUTTON_NAME;
1d99702e 8928 PyObject * _argo0 = 0;
2f90df85
RD
8929 wxPoint temp;
8930 PyObject * _obj2 = 0;
8931 wxSize temp0;
8932 PyObject * _obj3 = 0;
137b5242 8933 PyObject * _obj5 = 0;
efc5f224 8934 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8ab979d7
RD
8935 char _ptemp[128];
8936
8937 self = self;
137b5242 8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8ab979d7 8939 return NULL;
1d99702e
RD
8940 if (_argo0) {
8941 if (_argo0 == Py_None) { _arg0 = NULL; }
8942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
8943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8944 return NULL;
8945 }
8946 }
2f90df85
RD
8947 if (_obj2)
8948{
8949 _arg2 = &temp;
8950 if (! wxPoint_helper(_obj2, &_arg2))
8ab979d7 8951 return NULL;
2f90df85
RD
8952}
8953 if (_obj3)
8954{
8955 _arg3 = &temp0;
8956 if (! wxSize_helper(_obj3, &_arg3))
8ab979d7 8957 return NULL;
137b5242
RD
8958}
8959 if (_obj5)
8960{
8961 _arg5 = wxString_in_helper(_obj5);
8962 if (_arg5 == NULL)
8963 return NULL;
2f90df85 8964}
cf694132 8965{
4268f798 8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 8967 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
cf694132 8968
4268f798 8969 wxPyEndAllowThreads(__tstate);
493f1553 8970 if (PyErr_Occurred()) return NULL;
1d99702e
RD
8971} if (_result) {
8972 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8973 _resultobj = Py_BuildValue("s",_ptemp);
8974 } else {
8975 Py_INCREF(Py_None);
8976 _resultobj = Py_None;
8977 }
137b5242
RD
8978{
8979 if (_obj5)
8980 delete _arg5;
8981}
8ab979d7
RD
8982 return _resultobj;
8983}
8984
09f3d4e6
RD
8985#define new_wxPreSpinButton() (new wxSpinButton())
8986static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject * _resultobj;
8988 wxSpinButton * _result;
8989 char *_kwnames[] = { NULL };
8990 char _ptemp[128];
8991
8992 self = self;
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
8994 return NULL;
8995{
4268f798 8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8997 _result = (wxSpinButton *)new_wxPreSpinButton();
09f3d4e6 8998
4268f798 8999 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
9000 if (PyErr_Occurred()) return NULL;
9001} if (_result) {
9002 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
9003 _resultobj = Py_BuildValue("s",_ptemp);
9004 } else {
9005 Py_INCREF(Py_None);
9006 _resultobj = Py_None;
9007 }
9008 return _resultobj;
9009}
9010
9011#define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9012static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9013 PyObject * _resultobj;
9014 bool _result;
9015 wxSpinButton * _arg0;
9016 wxWindow * _arg1;
9017 wxWindowID _arg2 = (wxWindowID ) -1;
9018 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9019 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9020 long _arg5 = (long ) wxSP_HORIZONTAL;
137b5242 9021 wxString * _arg6 = (wxString *) &wxPySPIN_BUTTON_NAME;
09f3d4e6
RD
9022 PyObject * _argo0 = 0;
9023 PyObject * _argo1 = 0;
9024 wxPoint temp;
9025 PyObject * _obj3 = 0;
9026 wxSize temp0;
9027 PyObject * _obj4 = 0;
137b5242 9028 PyObject * _obj6 = 0;
09f3d4e6
RD
9029 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
9030
9031 self = self;
137b5242 9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
9033 return NULL;
9034 if (_argo0) {
9035 if (_argo0 == Py_None) { _arg0 = NULL; }
9036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
9038 return NULL;
9039 }
9040 }
9041 if (_argo1) {
9042 if (_argo1 == Py_None) { _arg1 = NULL; }
9043 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9044 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
9045 return NULL;
9046 }
9047 }
9048 if (_obj3)
9049{
9050 _arg3 = &temp;
9051 if (! wxPoint_helper(_obj3, &_arg3))
9052 return NULL;
9053}
9054 if (_obj4)
9055{
9056 _arg4 = &temp0;
9057 if (! wxSize_helper(_obj4, &_arg4))
9058 return NULL;
137b5242
RD
9059}
9060 if (_obj6)
9061{
9062 _arg6 = wxString_in_helper(_obj6);
9063 if (_arg6 == NULL)
9064 return NULL;
09f3d4e6
RD
9065}
9066{
4268f798 9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 9068 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 9069
4268f798 9070 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
9071 if (PyErr_Occurred()) return NULL;
9072} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
9073{
9074 if (_obj6)
9075 delete _arg6;
9076}
09f3d4e6
RD
9077 return _resultobj;
9078}
9079
8ab979d7 9080#define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
efc5f224 9081static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9082 PyObject * _resultobj;
9083 int _result;
9084 wxSpinButton * _arg0;
1d99702e 9085 PyObject * _argo0 = 0;
efc5f224 9086 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9087
9088 self = self;
efc5f224 9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
8ab979d7 9090 return NULL;
1d99702e
RD
9091 if (_argo0) {
9092 if (_argo0 == Py_None) { _arg0 = NULL; }
9093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
9094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
9095 return NULL;
9096 }
9097 }
cf694132 9098{
4268f798 9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9100 _result = (int )wxSpinButton_GetMax(_arg0);
cf694132 9101
4268f798 9102 wxPyEndAllowThreads(__tstate);
493f1553 9103 if (PyErr_Occurred()) return NULL;
cf694132 9104} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9105 return _resultobj;
9106}
9107
9108#define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
efc5f224 9109static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9110 PyObject * _resultobj;
9111 int _result;
9112 wxSpinButton * _arg0;
1d99702e 9113 PyObject * _argo0 = 0;
efc5f224 9114 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9115
9116 self = self;
efc5f224 9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
8ab979d7 9118 return NULL;
1d99702e
RD
9119 if (_argo0) {
9120 if (_argo0 == Py_None) { _arg0 = NULL; }
9121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
9122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
9123 return NULL;
9124 }
9125 }
cf694132 9126{
4268f798 9127 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9128 _result = (int )wxSpinButton_GetMin(_arg0);
cf694132 9129
4268f798 9130 wxPyEndAllowThreads(__tstate);
493f1553 9131 if (PyErr_Occurred()) return NULL;
cf694132 9132} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9133 return _resultobj;
9134}
9135
9136#define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 9137static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9138 PyObject * _resultobj;
9139 int _result;
9140 wxSpinButton * _arg0;
1d99702e 9141 PyObject * _argo0 = 0;
efc5f224 9142 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9143
9144 self = self;
efc5f224 9145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
8ab979d7 9146 return NULL;
1d99702e
RD
9147 if (_argo0) {
9148 if (_argo0 == Py_None) { _arg0 = NULL; }
9149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
9150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
9151 return NULL;
9152 }
9153 }
cf694132 9154{
4268f798 9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9156 _result = (int )wxSpinButton_GetValue(_arg0);
cf694132 9157
4268f798 9158 wxPyEndAllowThreads(__tstate);
493f1553 9159 if (PyErr_Occurred()) return NULL;
cf694132 9160} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9161 return _resultobj;
9162}
9163
9164#define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
efc5f224 9165static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9166 PyObject * _resultobj;
9167 wxSpinButton * _arg0;
9168 int _arg1;
9169 int _arg2;
1d99702e 9170 PyObject * _argo0 = 0;
efc5f224 9171 char *_kwnames[] = { "self","min","max", NULL };
8ab979d7
RD
9172
9173 self = self;
efc5f224 9174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 9175 return NULL;
1d99702e
RD
9176 if (_argo0) {
9177 if (_argo0 == Py_None) { _arg0 = NULL; }
9178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
9179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
9180 return NULL;
9181 }
9182 }
cf694132 9183{
4268f798 9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9185 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
cf694132 9186
4268f798 9187 wxPyEndAllowThreads(__tstate);
493f1553 9188 if (PyErr_Occurred()) return NULL;
cf694132 9189} Py_INCREF(Py_None);
8ab979d7
RD
9190 _resultobj = Py_None;
9191 return _resultobj;
9192}
9193
9194#define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 9195static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9196 PyObject * _resultobj;
9197 wxSpinButton * _arg0;
9198 int _arg1;
1d99702e 9199 PyObject * _argo0 = 0;
efc5f224 9200 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
9201
9202 self = self;
efc5f224 9203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
8ab979d7 9204 return NULL;
1d99702e
RD
9205 if (_argo0) {
9206 if (_argo0 == Py_None) { _arg0 = NULL; }
9207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8ab979d7
RD
9208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
9209 return NULL;
9210 }
9211 }
cf694132 9212{
4268f798 9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9214 wxSpinButton_SetValue(_arg0,_arg1);
cf694132 9215
4268f798 9216 wxPyEndAllowThreads(__tstate);
493f1553 9217 if (PyErr_Occurred()) return NULL;
cf694132 9218} Py_INCREF(Py_None);
8ab979d7
RD
9219 _resultobj = Py_None;
9220 return _resultobj;
9221}
9222
9223static void *SwigwxStaticBitmapTowxControl(void *ptr) {
9224 wxStaticBitmap *src;
9225 wxControl *dest;
9226 src = (wxStaticBitmap *) ptr;
9227 dest = (wxControl *) src;
9228 return (void *) dest;
9229}
9230
9231static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
9232 wxStaticBitmap *src;
9233 wxWindow *dest;
9234 src = (wxStaticBitmap *) ptr;
9235 dest = (wxWindow *) src;
9236 return (void *) dest;
9237}
9238
9239static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
9240 wxStaticBitmap *src;
9241 wxEvtHandler *dest;
9242 src = (wxStaticBitmap *) ptr;
9243 dest = (wxEvtHandler *) src;
9244 return (void *) dest;
9245}
9246
9416aa89
RD
9247static void *SwigwxStaticBitmapTowxObject(void *ptr) {
9248 wxStaticBitmap *src;
9249 wxObject *dest;
9250 src = (wxStaticBitmap *) ptr;
9251 dest = (wxObject *) src;
9252 return (void *) dest;
9253}
9254
8ab979d7 9255#define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
efc5f224 9256static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9257 PyObject * _resultobj;
9258 wxStaticBitmap * _result;
9259 wxWindow * _arg0;
9260 wxWindowID _arg1;
9261 wxBitmap * _arg2;
e508a2b6
RD
9262 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9263 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 9264 long _arg5 = (long ) 0;
137b5242 9265 wxString * _arg6 = (wxString *) &wxPyStaticBitmapNameStr;
1d99702e 9266 PyObject * _argo0 = 0;
09f3d4e6
RD
9267 PyObject * _argo2 = 0;
9268 wxPoint temp;
9269 PyObject * _obj3 = 0;
9270 wxSize temp0;
9271 PyObject * _obj4 = 0;
137b5242 9272 PyObject * _obj6 = 0;
09f3d4e6
RD
9273 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
9274 char _ptemp[128];
9275
9276 self = self;
137b5242 9277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_obj6))
09f3d4e6
RD
9278 return NULL;
9279 if (_argo0) {
9280 if (_argo0 == Py_None) { _arg0 = NULL; }
9281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
9283 return NULL;
9284 }
9285 }
9286 if (_argo2) {
7e50db3f 9287 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
09f3d4e6
RD
9288 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
9289 return NULL;
9290 }
9291 }
9292 if (_obj3)
9293{
9294 _arg3 = &temp;
9295 if (! wxPoint_helper(_obj3, &_arg3))
9296 return NULL;
9297}
9298 if (_obj4)
9299{
9300 _arg4 = &temp0;
9301 if (! wxSize_helper(_obj4, &_arg4))
9302 return NULL;
137b5242
RD
9303}
9304 if (_obj6)
9305{
9306 _arg6 = wxString_in_helper(_obj6);
9307 if (_arg6 == NULL)
9308 return NULL;
09f3d4e6
RD
9309}
9310{
4268f798 9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 9312 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
09f3d4e6 9313
4268f798 9314 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
9315 if (PyErr_Occurred()) return NULL;
9316} if (_result) {
9317 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
9318 _resultobj = Py_BuildValue("s",_ptemp);
9319 } else {
9320 Py_INCREF(Py_None);
9321 _resultobj = Py_None;
9322 }
137b5242
RD
9323{
9324 if (_obj6)
9325 delete _arg6;
9326}
09f3d4e6
RD
9327 return _resultobj;
9328}
9329
9330#define new_wxPreStaticBitmap() (new wxStaticBitmap())
9331static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9332 PyObject * _resultobj;
9333 wxStaticBitmap * _result;
9334 char *_kwnames[] = { NULL };
9335 char _ptemp[128];
9336
9337 self = self;
9338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
9339 return NULL;
9340{
4268f798 9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9342 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
09f3d4e6 9343
4268f798 9344 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
9345 if (PyErr_Occurred()) return NULL;
9346} if (_result) {
9347 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
9348 _resultobj = Py_BuildValue("s",_ptemp);
9349 } else {
9350 Py_INCREF(Py_None);
9351 _resultobj = Py_None;
9352 }
9353 return _resultobj;
9354}
9355
9356#define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9357static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9358 PyObject * _resultobj;
9359 bool _result;
9360 wxStaticBitmap * _arg0;
9361 wxWindow * _arg1;
9362 wxWindowID _arg2;
9363 wxBitmap * _arg3;
9364 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9365 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9366 long _arg6 = (long ) 0;
137b5242 9367 wxString * _arg7 = (wxString *) &wxPyStaticBitmapNameStr;
09f3d4e6
RD
9368 PyObject * _argo0 = 0;
9369 PyObject * _argo1 = 0;
9370 PyObject * _argo3 = 0;
2f90df85 9371 wxPoint temp;
2f90df85 9372 PyObject * _obj4 = 0;
09f3d4e6
RD
9373 wxSize temp0;
9374 PyObject * _obj5 = 0;
137b5242 9375 PyObject * _obj7 = 0;
09f3d4e6 9376 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
8ab979d7
RD
9377
9378 self = self;
137b5242 9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_obj7))
8ab979d7 9380 return NULL;
1d99702e
RD
9381 if (_argo0) {
9382 if (_argo0 == Py_None) { _arg0 = NULL; }
09f3d4e6
RD
9383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8ab979d7
RD
9385 return NULL;
9386 }
9387 }
09f3d4e6
RD
9388 if (_argo1) {
9389 if (_argo1 == Py_None) { _arg1 = NULL; }
9390 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9391 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8ab979d7
RD
9392 return NULL;
9393 }
9394 }
09f3d4e6 9395 if (_argo3) {
7e50db3f 9396 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
09f3d4e6
RD
9397 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
9398 return NULL;
9399 }
9400 }
9401 if (_obj4)
2f90df85 9402{
09f3d4e6
RD
9403 _arg4 = &temp;
9404 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 9405 return NULL;
2f90df85 9406}
09f3d4e6 9407 if (_obj5)
2f90df85 9408{
09f3d4e6
RD
9409 _arg5 = &temp0;
9410 if (! wxSize_helper(_obj5, &_arg5))
8ab979d7 9411 return NULL;
137b5242
RD
9412}
9413 if (_obj7)
9414{
9415 _arg7 = wxString_in_helper(_obj7);
9416 if (_arg7 == NULL)
9417 return NULL;
2f90df85 9418}
cf694132 9419{
4268f798 9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 9421 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
cf694132 9422
4268f798 9423 wxPyEndAllowThreads(__tstate);
493f1553 9424 if (PyErr_Occurred()) return NULL;
09f3d4e6 9425} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
9426{
9427 if (_obj7)
9428 delete _arg7;
9429}
8ab979d7
RD
9430 return _resultobj;
9431}
9432
9433#define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
efc5f224 9434static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9435 PyObject * _resultobj;
9436 wxBitmap * _result;
9437 wxStaticBitmap * _arg0;
1d99702e 9438 PyObject * _argo0 = 0;
efc5f224 9439 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9440 char _ptemp[128];
9441
9442 self = self;
efc5f224 9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
8ab979d7 9444 return NULL;
1d99702e
RD
9445 if (_argo0) {
9446 if (_argo0 == Py_None) { _arg0 = NULL; }
9447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8ab979d7
RD
9448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
9449 return NULL;
9450 }
9451 }
cf694132 9452{
4268f798 9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9454 _result = new wxBitmap (wxStaticBitmap_GetBitmap(_arg0));
cf694132 9455
4268f798 9456 wxPyEndAllowThreads(__tstate);
493f1553 9457 if (PyErr_Occurred()) return NULL;
c5943253
RD
9458} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
9459 _resultobj = Py_BuildValue("s",_ptemp);
8ab979d7
RD
9460 return _resultobj;
9461}
9462
9463#define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
efc5f224 9464static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9465 PyObject * _resultobj;
9466 wxStaticBitmap * _arg0;
9467 wxBitmap * _arg1;
1d99702e
RD
9468 PyObject * _argo0 = 0;
9469 PyObject * _argo1 = 0;
efc5f224 9470 char *_kwnames[] = { "self","bitmap", NULL };
8ab979d7
RD
9471
9472 self = self;
efc5f224 9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
8ab979d7 9474 return NULL;
1d99702e
RD
9475 if (_argo0) {
9476 if (_argo0 == Py_None) { _arg0 = NULL; }
9477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8ab979d7
RD
9478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
9479 return NULL;
9480 }
9481 }
1d99702e 9482 if (_argo1) {
7e50db3f 9483 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8ab979d7
RD
9484 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
9485 return NULL;
9486 }
9487 }
cf694132 9488{
4268f798 9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9490 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
cf694132 9491
4268f798 9492 wxPyEndAllowThreads(__tstate);
493f1553 9493 if (PyErr_Occurred()) return NULL;
cf694132 9494} Py_INCREF(Py_None);
8ab979d7
RD
9495 _resultobj = Py_None;
9496 return _resultobj;
9497}
9498
8bf5d46e 9499#define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
efc5f224 9500static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
9501 PyObject * _resultobj;
9502 wxStaticBitmap * _arg0;
9503 wxIcon * _arg1;
1d99702e
RD
9504 PyObject * _argo0 = 0;
9505 PyObject * _argo1 = 0;
efc5f224 9506 char *_kwnames[] = { "self","icon", NULL };
8bf5d46e
RD
9507
9508 self = self;
efc5f224 9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
8bf5d46e 9510 return NULL;
1d99702e
RD
9511 if (_argo0) {
9512 if (_argo0 == Py_None) { _arg0 = NULL; }
9513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8bf5d46e
RD
9514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
9515 return NULL;
9516 }
9517 }
1d99702e 9518 if (_argo1) {
7e50db3f 9519 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8bf5d46e
RD
9520 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
9521 return NULL;
9522 }
9523 }
9524{
4268f798 9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9526 wxStaticBitmap_SetIcon(_arg0,*_arg1);
8bf5d46e 9527
4268f798 9528 wxPyEndAllowThreads(__tstate);
493f1553 9529 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
9530} Py_INCREF(Py_None);
9531 _resultobj = Py_None;
9532 return _resultobj;
9533}
9534
8ab979d7
RD
9535static void *SwigwxRadioBoxTowxControl(void *ptr) {
9536 wxRadioBox *src;
9537 wxControl *dest;
9538 src = (wxRadioBox *) ptr;
9539 dest = (wxControl *) src;
9540 return (void *) dest;
9541}
9542
9543static void *SwigwxRadioBoxTowxWindow(void *ptr) {
9544 wxRadioBox *src;
9545 wxWindow *dest;
9546 src = (wxRadioBox *) ptr;
9547 dest = (wxWindow *) src;
9548 return (void *) dest;
9549}
9550
9551static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
9552 wxRadioBox *src;
9553 wxEvtHandler *dest;
9554 src = (wxRadioBox *) ptr;
9555 dest = (wxEvtHandler *) src;
9556 return (void *) dest;
9557}
9558
9416aa89
RD
9559static void *SwigwxRadioBoxTowxObject(void *ptr) {
9560 wxRadioBox *src;
9561 wxObject *dest;
9562 src = (wxRadioBox *) ptr;
9563 dest = (wxObject *) src;
9564 return (void *) dest;
9565}
9566
8ab979d7 9567#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 9568static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9569 PyObject * _resultobj;
9570 wxRadioBox * _result;
9571 wxWindow * _arg0;
9572 wxWindowID _arg1;
9573 wxString * _arg2;
e508a2b6
RD
9574 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9575 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e
RD
9576 int _arg5 = (int ) 0;
9577 wxString * _arg6 = (wxString *) NULL;
9578 int _arg7 = (int ) 0;
9579 long _arg8 = (long ) wxRA_HORIZONTAL;
e508a2b6 9580 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
137b5242 9581 wxString * _arg10 = (wxString *) &wxPyRadioBoxNameStr;
1d99702e 9582 PyObject * _argo0 = 0;
8ab979d7 9583 PyObject * _obj2 = 0;
2f90df85
RD
9584 wxPoint temp;
9585 PyObject * _obj3 = 0;
9586 wxSize temp0;
9587 PyObject * _obj4 = 0;
8ab979d7 9588 PyObject * _obj6 = 0;
1d99702e 9589 PyObject * _argo9 = 0;
137b5242 9590 PyObject * _obj10 = 0;
eec92d76 9591 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
8ab979d7
RD
9592 char _ptemp[128];
9593
9594 self = self;
137b5242 9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOO:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_obj10))
8ab979d7 9596 return NULL;
1d99702e
RD
9597 if (_argo0) {
9598 if (_argo0 == Py_None) { _arg0 = NULL; }
9599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
9600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9601 return NULL;
9602 }
9603 }
9604{
c8bc7bb8
RD
9605 _arg2 = wxString_in_helper(_obj2);
9606 if (_arg2 == NULL)
185d7c3e 9607 return NULL;
8ab979d7 9608}
2f90df85
RD
9609 if (_obj3)
9610{
9611 _arg3 = &temp;
9612 if (! wxPoint_helper(_obj3, &_arg3))
8ab979d7 9613 return NULL;
2f90df85
RD
9614}
9615 if (_obj4)
9616{
9617 _arg4 = &temp0;
9618 if (! wxSize_helper(_obj4, &_arg4))
8ab979d7 9619 return NULL;
2f90df85 9620}
8ab979d7
RD
9621 if (_obj6)
9622{
9623 _arg6 = wxString_LIST_helper(_obj6);
9624 if (_arg6 == NULL) {
9625 return NULL;
9626 }
9627}
1d99702e 9628 if (_argo9) {
7e50db3f 9629 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
8ab979d7
RD
9630 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9631 return NULL;
9632 }
9633 }
137b5242
RD
9634 if (_obj10)
9635{
9636 _arg10 = wxString_in_helper(_obj10);
9637 if (_arg10 == NULL)
9638 return NULL;
9639}
8ab979d7 9640{
cf694132
RD
9641 if (_obj6) {
9642 _arg5 = PyList_Size(_obj6);
9643 }
9644 else {
9645 _arg5 = 0;
9646 }
8ab979d7 9647}
cf694132 9648{
4268f798 9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 9650 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
cf694132 9651
4268f798 9652 wxPyEndAllowThreads(__tstate);
493f1553 9653 if (PyErr_Occurred()) return NULL;
1d99702e
RD
9654} if (_result) {
9655 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9656 _resultobj = Py_BuildValue("s",_ptemp);
9657 } else {
9658 Py_INCREF(Py_None);
9659 _resultobj = Py_None;
9660 }
8ab979d7
RD
9661{
9662 if (_obj2)
9663 delete _arg2;
9664}
9665{
9666 delete [] _arg6;
137b5242
RD
9667}
9668{
9669 if (_obj10)
9670 delete _arg10;
8ab979d7
RD
9671}
9672 return _resultobj;
9673}
9674
09f3d4e6
RD
9675#define new_wxPreRadioBox() (new wxRadioBox())
9676static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9677 PyObject * _resultobj;
9678 wxRadioBox * _result;
9679 char *_kwnames[] = { NULL };
9680 char _ptemp[128];
9681
9682 self = self;
9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
9684 return NULL;
9685{
4268f798 9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9687 _result = (wxRadioBox *)new_wxPreRadioBox();
09f3d4e6 9688
4268f798 9689 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
9690 if (PyErr_Occurred()) return NULL;
9691} if (_result) {
9692 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9693 _resultobj = Py_BuildValue("s",_ptemp);
9694 } else {
9695 Py_INCREF(Py_None);
9696 _resultobj = Py_None;
9697 }
9698 return _resultobj;
9699}
9700
9701#define wxRadioBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10))
9702static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9703 PyObject * _resultobj;
9704 bool _result;
9705 wxRadioBox * _arg0;
9706 wxWindow * _arg1;
9707 wxWindowID _arg2;
9708 wxString * _arg3;
9709 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9710 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9711 int _arg6 = (int ) 0;
9712 wxString * _arg7 = (wxString *) NULL;
9713 int _arg8 = (int ) 0;
9714 long _arg9 = (long ) wxRA_HORIZONTAL;
9715 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
137b5242 9716 wxString * _arg11 = (wxString *) &wxPyRadioBoxNameStr;
09f3d4e6
RD
9717 PyObject * _argo0 = 0;
9718 PyObject * _argo1 = 0;
9719 PyObject * _obj3 = 0;
9720 wxPoint temp;
9721 PyObject * _obj4 = 0;
9722 wxSize temp0;
9723 PyObject * _obj5 = 0;
9724 PyObject * _obj7 = 0;
9725 PyObject * _argo10 = 0;
137b5242 9726 PyObject * _obj11 = 0;
09f3d4e6
RD
9727 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
9728
9729 self = self;
137b5242 9730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_obj11))
09f3d4e6
RD
9731 return NULL;
9732 if (_argo0) {
9733 if (_argo0 == Py_None) { _arg0 = NULL; }
9734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9736 return NULL;
9737 }
9738 }
9739 if (_argo1) {
9740 if (_argo1 == Py_None) { _arg1 = NULL; }
9741 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9742 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9743 return NULL;
9744 }
9745 }
9746{
c8bc7bb8
RD
9747 _arg3 = wxString_in_helper(_obj3);
9748 if (_arg3 == NULL)
09f3d4e6 9749 return NULL;
09f3d4e6
RD
9750}
9751 if (_obj4)
9752{
9753 _arg4 = &temp;
9754 if (! wxPoint_helper(_obj4, &_arg4))
9755 return NULL;
9756}
9757 if (_obj5)
9758{
9759 _arg5 = &temp0;
9760 if (! wxSize_helper(_obj5, &_arg5))
9761 return NULL;
9762}
9763 if (_obj7)
9764{
9765 _arg7 = wxString_LIST_helper(_obj7);
9766 if (_arg7 == NULL) {
9767 return NULL;
9768 }
9769}
9770 if (_argo10) {
7e50db3f 9771 if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
09f3d4e6
RD
9772 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9773 return NULL;
9774 }
9775 }
137b5242
RD
9776 if (_obj11)
9777{
9778 _arg11 = wxString_in_helper(_obj11);
9779 if (_arg11 == NULL)
9780 return NULL;
9781}
09f3d4e6
RD
9782{
9783 if (_obj7) {
9784 _arg6 = PyList_Size(_obj7);
9785 }
9786 else {
9787 _arg6 = 0;
9788 }
9789}
9790{
4268f798 9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 9792 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,*_arg11);
09f3d4e6 9793
4268f798 9794 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
9795 if (PyErr_Occurred()) return NULL;
9796} _resultobj = Py_BuildValue("i",_result);
9797{
9798 if (_obj3)
9799 delete _arg3;
9800}
9801{
9802 delete [] _arg7;
137b5242
RD
9803}
9804{
9805 if (_obj11)
9806 delete _arg11;
09f3d4e6
RD
9807}
9808 return _resultobj;
9809}
9810
0699c864 9811#define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
efc5f224 9812static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9813 PyObject * _resultobj;
9814 wxRadioBox * _arg0;
9815 bool _arg1;
1d99702e 9816 PyObject * _argo0 = 0;
8ab979d7 9817 int tempbool1;
efc5f224 9818 char *_kwnames[] = { "self","enable", NULL };
8ab979d7
RD
9819
9820 self = self;
efc5f224 9821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
8ab979d7 9822 return NULL;
1d99702e
RD
9823 if (_argo0) {
9824 if (_argo0 == Py_None) { _arg0 = NULL; }
9825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0699c864 9826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8ab979d7
RD
9827 return NULL;
9828 }
9829 }
9830 _arg1 = (bool ) tempbool1;
cf694132 9831{
4268f798 9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9833 wxRadioBox_Enable(_arg0,_arg1);
cf694132 9834
4268f798 9835 wxPyEndAllowThreads(__tstate);
493f1553 9836 if (PyErr_Occurred()) return NULL;
cf694132 9837} Py_INCREF(Py_None);
8ab979d7
RD
9838 _resultobj = Py_None;
9839 return _resultobj;
9840}
9841
0699c864 9842#define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
efc5f224 9843static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9844 PyObject * _resultobj;
9845 wxRadioBox * _arg0;
9846 int _arg1;
9847 bool _arg2;
1d99702e 9848 PyObject * _argo0 = 0;
8ab979d7 9849 int tempbool2;
efc5f224 9850 char *_kwnames[] = { "self","n","enable", NULL };
8ab979d7
RD
9851
9852 self = self;
efc5f224 9853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 9854 return NULL;
1d99702e
RD
9855 if (_argo0) {
9856 if (_argo0 == Py_None) { _arg0 = NULL; }
9857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0699c864 9858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
8ab979d7
RD
9859 return NULL;
9860 }
9861 }
9862 _arg2 = (bool ) tempbool2;
cf694132 9863{
4268f798 9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9865 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
cf694132 9866
4268f798 9867 wxPyEndAllowThreads(__tstate);
493f1553 9868 if (PyErr_Occurred()) return NULL;
cf694132 9869} Py_INCREF(Py_None);
8ab979d7
RD
9870 _resultobj = Py_None;
9871 return _resultobj;
9872}
9873
9874#define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
efc5f224 9875static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9876 PyObject * _resultobj;
9877 int _result;
9878 wxRadioBox * _arg0;
9879 wxString * _arg1;
1d99702e 9880 PyObject * _argo0 = 0;
8ab979d7 9881 PyObject * _obj1 = 0;
efc5f224 9882 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
9883
9884 self = self;
efc5f224 9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
8ab979d7 9886 return NULL;
1d99702e
RD
9887 if (_argo0) {
9888 if (_argo0 == Py_None) { _arg0 = NULL; }
9889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
9890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9891 return NULL;
9892 }
9893 }
9894{
c8bc7bb8
RD
9895 _arg1 = wxString_in_helper(_obj1);
9896 if (_arg1 == NULL)
185d7c3e 9897 return NULL;
8ab979d7 9898}
cf694132 9899{
4268f798 9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9901 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
cf694132 9902
4268f798 9903 wxPyEndAllowThreads(__tstate);
493f1553 9904 if (PyErr_Occurred()) return NULL;
cf694132 9905} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
9906{
9907 if (_obj1)
9908 delete _arg1;
9909}
9910 return _resultobj;
9911}
9912
0adbc166
RD
9913#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9914static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
9915 PyObject * _resultobj;
9916 wxString * _result;
9917 wxRadioBox * _arg0;
9918 int _arg1;
1d99702e 9919 PyObject * _argo0 = 0;
efc5f224 9920 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
9921
9922 self = self;
0adbc166 9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
8ab979d7 9924 return NULL;
1d99702e
RD
9925 if (_argo0) {
9926 if (_argo0 == Py_None) { _arg0 = NULL; }
9927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0adbc166 9928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
8ab979d7
RD
9929 return NULL;
9930 }
9931 }
8ab979d7 9932{
4268f798 9933 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9934 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
cf694132 9935
4268f798 9936 wxPyEndAllowThreads(__tstate);
493f1553 9937 if (PyErr_Occurred()) return NULL;
cf694132 9938}{
c8bc7bb8 9939#if wxUSE_UNICODE
7e50db3f 9940 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 9941#else
eec92d76 9942 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 9943#endif
8ab979d7
RD
9944}
9945{
9946 delete _result;
9947}
9948 return _resultobj;
9949}
9950
0adbc166
RD
9951#define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9952static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9953 PyObject * _resultobj;
8ab979d7 9954 wxRadioBox * _arg0;
0adbc166
RD
9955 int _arg1;
9956 wxString * _arg2;
1d99702e 9957 PyObject * _argo0 = 0;
0adbc166
RD
9958 PyObject * _obj2 = 0;
9959 char *_kwnames[] = { "self","n","label", NULL };
8ab979d7
RD
9960
9961 self = self;
0adbc166 9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
8ab979d7 9963 return NULL;
1d99702e
RD
9964 if (_argo0) {
9965 if (_argo0 == Py_None) { _arg0 = NULL; }
9966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
0adbc166 9967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
8ab979d7
RD
9968 return NULL;
9969 }
9970 }
0adbc166 9971{
c8bc7bb8
RD
9972 _arg2 = wxString_in_helper(_obj2);
9973 if (_arg2 == NULL)
0adbc166 9974 return NULL;
0adbc166 9975}
cf694132 9976{
4268f798 9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9978 wxRadioBox_SetString(_arg0,_arg1,*_arg2);
cf694132 9979
4268f798 9980 wxPyEndAllowThreads(__tstate);
493f1553 9981 if (PyErr_Occurred()) return NULL;
0adbc166
RD
9982} Py_INCREF(Py_None);
9983 _resultobj = Py_None;
9984{
9985 if (_obj2)
9986 delete _arg2;
9987}
8ab979d7
RD
9988 return _resultobj;
9989}
9990
3a0958b1
RD
9991#define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9992static PyObject *_wrap_wxRadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 9993 PyObject * _resultobj;
0adbc166 9994 int _result;
8ab979d7 9995 wxRadioBox * _arg0;
1d99702e 9996 PyObject * _argo0 = 0;
0adbc166 9997 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
9998
9999 self = self;
3a0958b1 10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetColumnCount",_kwnames,&_argo0))
8ab979d7 10001 return NULL;
1d99702e
RD
10002 if (_argo0) {
10003 if (_argo0 == Py_None) { _arg0 = NULL; }
10004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 10005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
8ab979d7
RD
10006 return NULL;
10007 }
10008 }
8ab979d7 10009{
4268f798 10010 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10011 _result = (int )wxRadioBox_GetColumnCount(_arg0);
cf694132 10012
4268f798 10013 wxPyEndAllowThreads(__tstate);
493f1553 10014 if (PyErr_Occurred()) return NULL;
0adbc166 10015} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10016 return _resultobj;
10017}
10018
3a0958b1
RD
10019#define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
10020static PyObject *_wrap_wxRadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10021 PyObject * _resultobj;
3a0958b1 10022 int _result;
8ab979d7 10023 wxRadioBox * _arg0;
1d99702e 10024 PyObject * _argo0 = 0;
efc5f224 10025 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10026
10027 self = self;
3a0958b1 10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetRowCount",_kwnames,&_argo0))
8ab979d7 10029 return NULL;
1d99702e
RD
10030 if (_argo0) {
10031 if (_argo0 == Py_None) { _arg0 = NULL; }
10032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 10033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
8ab979d7
RD
10034 return NULL;
10035 }
10036 }
8ab979d7 10037{
4268f798 10038 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10039 _result = (int )wxRadioBox_GetRowCount(_arg0);
cf694132 10040
4268f798 10041 wxPyEndAllowThreads(__tstate);
493f1553 10042 if (PyErr_Occurred()) return NULL;
3a0958b1 10043} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10044 return _resultobj;
10045}
10046
7e50db3f
RD
10047#define wxRadioBox_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
10048static PyObject *_wrap_wxRadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10049 PyObject * _resultobj;
10050 int _result;
10051 wxRadioBox * _arg0;
10052 int _arg1;
10053 wxDirection * _arg2;
10054 long _arg3;
10055 PyObject * _argo0 = 0;
10056 PyObject * _argo2 = 0;
10057 char *_kwnames[] = { "self","item","dir","style", NULL };
10058
10059 self = self;
10060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOl:wxRadioBox_GetNextItem",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3))
10061 return NULL;
10062 if (_argo0) {
10063 if (_argo0 == Py_None) { _arg0 = NULL; }
10064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetNextItem. Expected _wxRadioBox_p.");
10066 return NULL;
10067 }
10068 }
10069 if (_argo2) {
10070 if (_argo2 == Py_None) { _arg2 = NULL; }
10071 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDirection_p")) {
10072 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxRadioBox_GetNextItem. Expected _wxDirection_p.");
10073 return NULL;
10074 }
10075 }
10076{
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 _result = (int )wxRadioBox_GetNextItem(_arg0,_arg1,*_arg2,_arg3);
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) return NULL;
10082} _resultobj = Py_BuildValue("i",_result);
10083 return _resultobj;
10084}
10085
3a0958b1
RD
10086#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
10087static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10088 PyObject * _resultobj;
10089 int _result;
10090 wxRadioBox * _arg0;
1d99702e 10091 PyObject * _argo0 = 0;
efc5f224 10092 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10093
10094 self = self;
3a0958b1 10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
8ab979d7 10096 return NULL;
1d99702e
RD
10097 if (_argo0) {
10098 if (_argo0 == Py_None) { _arg0 = NULL; }
10099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 10100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
8ab979d7
RD
10101 return NULL;
10102 }
10103 }
cf694132 10104{
4268f798 10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10106 _result = (int )wxRadioBox_GetSelection(_arg0);
cf694132 10107
4268f798 10108 wxPyEndAllowThreads(__tstate);
493f1553 10109 if (PyErr_Occurred()) return NULL;
cf694132 10110} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10111 return _resultobj;
10112}
10113
3a0958b1
RD
10114#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
10115static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7 10116 PyObject * _resultobj;
3a0958b1 10117 wxString * _result;
8ab979d7 10118 wxRadioBox * _arg0;
1d99702e 10119 PyObject * _argo0 = 0;
0adbc166 10120 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10121
10122 self = self;
3a0958b1 10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
8ab979d7 10124 return NULL;
1d99702e
RD
10125 if (_argo0) {
10126 if (_argo0 == Py_None) { _arg0 = NULL; }
10127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 10128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
8ab979d7
RD
10129 return NULL;
10130 }
10131 }
10132{
4268f798 10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10134 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
0adbc166 10135
4268f798 10136 wxPyEndAllowThreads(__tstate);
0adbc166 10137 if (PyErr_Occurred()) return NULL;
3a0958b1 10138}{
c8bc7bb8 10139#if wxUSE_UNICODE
7e50db3f 10140 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10141#else
3a0958b1 10142 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10143#endif
3a0958b1
RD
10144}
10145{
10146 delete _result;
10147}
0adbc166
RD
10148 return _resultobj;
10149}
10150
3a0958b1
RD
10151#define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
10152static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
0adbc166
RD
10153 PyObject * _resultobj;
10154 int _result;
10155 wxRadioBox * _arg0;
10156 PyObject * _argo0 = 0;
10157 char *_kwnames[] = { "self", NULL };
10158
10159 self = self;
3a0958b1 10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
185d7c3e 10161 return NULL;
0adbc166
RD
10162 if (_argo0) {
10163 if (_argo0 == Py_None) { _arg0 = NULL; }
10164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
3a0958b1 10165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
8ab979d7 10166 return NULL;
0adbc166 10167 }
8ab979d7 10168 }
cf694132 10169{
4268f798 10170 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10171 _result = (int )wxRadioBox_GetCount(_arg0);
cf694132 10172
4268f798 10173 wxPyEndAllowThreads(__tstate);
493f1553 10174 if (PyErr_Occurred()) return NULL;
0adbc166 10175} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10176 return _resultobj;
10177}
10178
10179#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
efc5f224 10180static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10181 PyObject * _resultobj;
10182 wxRadioBox * _arg0;
10183 int _arg1;
1d99702e 10184 PyObject * _argo0 = 0;
efc5f224 10185 char *_kwnames[] = { "self","n", NULL };
8ab979d7
RD
10186
10187 self = self;
efc5f224 10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
8ab979d7 10189 return NULL;
1d99702e
RD
10190 if (_argo0) {
10191 if (_argo0 == Py_None) { _arg0 = NULL; }
10192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
10193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
10194 return NULL;
10195 }
10196 }
cf694132 10197{
4268f798 10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10199 wxRadioBox_SetSelection(_arg0,_arg1);
cf694132 10200
4268f798 10201 wxPyEndAllowThreads(__tstate);
493f1553 10202 if (PyErr_Occurred()) return NULL;
cf694132 10203} Py_INCREF(Py_None);
8ab979d7
RD
10204 _resultobj = Py_None;
10205 return _resultobj;
10206}
10207
10208#define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
efc5f224 10209static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10210 PyObject * _resultobj;
10211 wxRadioBox * _arg0;
10212 wxString * _arg1;
1d99702e 10213 PyObject * _argo0 = 0;
8ab979d7 10214 PyObject * _obj1 = 0;
efc5f224 10215 char *_kwnames[] = { "self","string", NULL };
8ab979d7
RD
10216
10217 self = self;
efc5f224 10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
8ab979d7 10219 return NULL;
1d99702e
RD
10220 if (_argo0) {
10221 if (_argo0 == Py_None) { _arg0 = NULL; }
10222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
10223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
10224 return NULL;
10225 }
10226 }
10227{
c8bc7bb8
RD
10228 _arg1 = wxString_in_helper(_obj1);
10229 if (_arg1 == NULL)
185d7c3e 10230 return NULL;
8ab979d7 10231}
cf694132 10232{
4268f798 10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10234 wxRadioBox_SetStringSelection(_arg0,*_arg1);
cf694132 10235
4268f798 10236 wxPyEndAllowThreads(__tstate);
493f1553 10237 if (PyErr_Occurred()) return NULL;
cf694132 10238} Py_INCREF(Py_None);
8ab979d7
RD
10239 _resultobj = Py_None;
10240{
10241 if (_obj1)
10242 delete _arg1;
10243}
10244 return _resultobj;
10245}
10246
10247#define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
efc5f224 10248static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10249 PyObject * _resultobj;
10250 wxRadioBox * _arg0;
10251 bool _arg1;
1d99702e 10252 PyObject * _argo0 = 0;
8ab979d7 10253 int tempbool1;
efc5f224 10254 char *_kwnames[] = { "self","show", NULL };
8ab979d7
RD
10255
10256 self = self;
efc5f224 10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
8ab979d7 10258 return NULL;
1d99702e
RD
10259 if (_argo0) {
10260 if (_argo0 == Py_None) { _arg0 = NULL; }
10261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
10262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
10263 return NULL;
10264 }
10265 }
10266 _arg1 = (bool ) tempbool1;
cf694132 10267{
4268f798 10268 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10269 wxRadioBox_Show(_arg0,_arg1);
cf694132 10270
4268f798 10271 wxPyEndAllowThreads(__tstate);
493f1553 10272 if (PyErr_Occurred()) return NULL;
cf694132 10273} Py_INCREF(Py_None);
8ab979d7
RD
10274 _resultobj = Py_None;
10275 return _resultobj;
10276}
10277
10278#define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
efc5f224 10279static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10280 PyObject * _resultobj;
10281 wxRadioBox * _arg0;
10282 int _arg1;
10283 bool _arg2;
1d99702e 10284 PyObject * _argo0 = 0;
8ab979d7 10285 int tempbool2;
efc5f224 10286 char *_kwnames[] = { "self","item","show", NULL };
8ab979d7
RD
10287
10288 self = self;
efc5f224 10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
8ab979d7 10290 return NULL;
1d99702e
RD
10291 if (_argo0) {
10292 if (_argo0 == Py_None) { _arg0 = NULL; }
10293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
8ab979d7
RD
10294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
10295 return NULL;
10296 }
10297 }
10298 _arg2 = (bool ) tempbool2;
cf694132 10299{
4268f798 10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10301 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
cf694132 10302
4268f798 10303 wxPyEndAllowThreads(__tstate);
493f1553 10304 if (PyErr_Occurred()) return NULL;
cf694132 10305} Py_INCREF(Py_None);
8ab979d7
RD
10306 _resultobj = Py_None;
10307 return _resultobj;
10308}
10309
10310static void *SwigwxRadioButtonTowxControl(void *ptr) {
10311 wxRadioButton *src;
10312 wxControl *dest;
10313 src = (wxRadioButton *) ptr;
10314 dest = (wxControl *) src;
10315 return (void *) dest;
10316}
10317
10318static void *SwigwxRadioButtonTowxWindow(void *ptr) {
10319 wxRadioButton *src;
10320 wxWindow *dest;
10321 src = (wxRadioButton *) ptr;
10322 dest = (wxWindow *) src;
10323 return (void *) dest;
10324}
10325
10326static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
10327 wxRadioButton *src;
10328 wxEvtHandler *dest;
10329 src = (wxRadioButton *) ptr;
10330 dest = (wxEvtHandler *) src;
10331 return (void *) dest;
10332}
10333
9416aa89
RD
10334static void *SwigwxRadioButtonTowxObject(void *ptr) {
10335 wxRadioButton *src;
10336 wxObject *dest;
10337 src = (wxRadioButton *) ptr;
10338 dest = (wxObject *) src;
10339 return (void *) dest;
10340}
10341
8ab979d7 10342#define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 10343static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10344 PyObject * _resultobj;
10345 wxRadioButton * _result;
10346 wxWindow * _arg0;
10347 wxWindowID _arg1;
10348 wxString * _arg2;
e508a2b6
RD
10349 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10350 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1d99702e 10351 long _arg5 = (long ) 0;
e508a2b6 10352 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 10353 wxString * _arg7 = (wxString *) &wxPyRadioButtonNameStr;
1d99702e 10354 PyObject * _argo0 = 0;
8ab979d7 10355 PyObject * _obj2 = 0;
2f90df85
RD
10356 wxPoint temp;
10357 PyObject * _obj3 = 0;
10358 wxSize temp0;
10359 PyObject * _obj4 = 0;
1d99702e 10360 PyObject * _argo6 = 0;
137b5242 10361 PyObject * _obj7 = 0;
efc5f224 10362 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
8ab979d7
RD
10363 char _ptemp[128];
10364
10365 self = self;
137b5242 10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
8ab979d7 10367 return NULL;
1d99702e
RD
10368 if (_argo0) {
10369 if (_argo0 == Py_None) { _arg0 = NULL; }
10370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
10371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
10372 return NULL;
10373 }
10374 }
10375{
c8bc7bb8
RD
10376 _arg2 = wxString_in_helper(_obj2);
10377 if (_arg2 == NULL)
8ab979d7 10378 return NULL;
8ab979d7 10379}
2f90df85
RD
10380 if (_obj3)
10381{
09f3d4e6
RD
10382 _arg3 = &temp;
10383 if (! wxPoint_helper(_obj3, &_arg3))
10384 return NULL;
10385}
10386 if (_obj4)
10387{
10388 _arg4 = &temp0;
10389 if (! wxSize_helper(_obj4, &_arg4))
10390 return NULL;
10391}
10392 if (_argo6) {
7e50db3f 10393 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
09f3d4e6
RD
10394 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
10395 return NULL;
10396 }
10397 }
137b5242
RD
10398 if (_obj7)
10399{
10400 _arg7 = wxString_in_helper(_obj7);
10401 if (_arg7 == NULL)
10402 return NULL;
10403}
09f3d4e6 10404{
4268f798 10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 10406 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
09f3d4e6 10407
4268f798 10408 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
10409 if (PyErr_Occurred()) return NULL;
10410} if (_result) {
10411 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
10412 _resultobj = Py_BuildValue("s",_ptemp);
10413 } else {
10414 Py_INCREF(Py_None);
10415 _resultobj = Py_None;
10416 }
10417{
10418 if (_obj2)
10419 delete _arg2;
137b5242
RD
10420}
10421{
10422 if (_obj7)
10423 delete _arg7;
09f3d4e6
RD
10424}
10425 return _resultobj;
10426}
10427
10428#define new_wxPreRadioButton() (new wxRadioButton())
10429static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10430 PyObject * _resultobj;
10431 wxRadioButton * _result;
10432 char *_kwnames[] = { NULL };
10433 char _ptemp[128];
10434
10435 self = self;
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
10437 return NULL;
10438{
4268f798 10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10440 _result = (wxRadioButton *)new_wxPreRadioButton();
09f3d4e6 10441
4268f798 10442 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
10443 if (PyErr_Occurred()) return NULL;
10444} if (_result) {
10445 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
10446 _resultobj = Py_BuildValue("s",_ptemp);
10447 } else {
10448 Py_INCREF(Py_None);
10449 _resultobj = Py_None;
10450 }
10451 return _resultobj;
10452}
10453
10454#define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10455static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10456 PyObject * _resultobj;
10457 bool _result;
10458 wxRadioButton * _arg0;
10459 wxWindow * _arg1;
10460 wxWindowID _arg2;
10461 wxString * _arg3;
10462 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10463 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10464 long _arg6 = (long ) 0;
10465 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
137b5242 10466 wxString * _arg8 = (wxString *) &wxPyRadioButtonNameStr;
09f3d4e6
RD
10467 PyObject * _argo0 = 0;
10468 PyObject * _argo1 = 0;
10469 PyObject * _obj3 = 0;
10470 wxPoint temp;
10471 PyObject * _obj4 = 0;
10472 wxSize temp0;
10473 PyObject * _obj5 = 0;
10474 PyObject * _argo7 = 0;
137b5242 10475 PyObject * _obj8 = 0;
09f3d4e6
RD
10476 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
10477
10478 self = self;
137b5242 10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
09f3d4e6
RD
10480 return NULL;
10481 if (_argo0) {
10482 if (_argo0 == Py_None) { _arg0 = NULL; }
10483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
10485 return NULL;
10486 }
10487 }
10488 if (_argo1) {
10489 if (_argo1 == Py_None) { _arg1 = NULL; }
10490 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10491 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
10492 return NULL;
10493 }
10494 }
10495{
c8bc7bb8
RD
10496 _arg3 = wxString_in_helper(_obj3);
10497 if (_arg3 == NULL)
09f3d4e6 10498 return NULL;
09f3d4e6
RD
10499}
10500 if (_obj4)
10501{
10502 _arg4 = &temp;
10503 if (! wxPoint_helper(_obj4, &_arg4))
8ab979d7 10504 return NULL;
2f90df85 10505}
09f3d4e6 10506 if (_obj5)
2f90df85 10507{
09f3d4e6
RD
10508 _arg5 = &temp0;
10509 if (! wxSize_helper(_obj5, &_arg5))
8ab979d7 10510 return NULL;
2f90df85 10511}
09f3d4e6 10512 if (_argo7) {
7e50db3f 10513 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
09f3d4e6 10514 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
8ab979d7
RD
10515 return NULL;
10516 }
10517 }
137b5242
RD
10518 if (_obj8)
10519{
10520 _arg8 = wxString_in_helper(_obj8);
10521 if (_arg8 == NULL)
10522 return NULL;
10523}
cf694132 10524{
4268f798 10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 10526 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
cf694132 10527
4268f798 10528 wxPyEndAllowThreads(__tstate);
493f1553 10529 if (PyErr_Occurred()) return NULL;
09f3d4e6 10530} _resultobj = Py_BuildValue("i",_result);
8ab979d7 10531{
09f3d4e6
RD
10532 if (_obj3)
10533 delete _arg3;
137b5242
RD
10534}
10535{
10536 if (_obj8)
10537 delete _arg8;
8ab979d7
RD
10538}
10539 return _resultobj;
10540}
10541
10542#define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 10543static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10544 PyObject * _resultobj;
10545 bool _result;
10546 wxRadioButton * _arg0;
1d99702e 10547 PyObject * _argo0 = 0;
efc5f224 10548 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10549
10550 self = self;
efc5f224 10551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
8ab979d7 10552 return NULL;
1d99702e
RD
10553 if (_argo0) {
10554 if (_argo0 == Py_None) { _arg0 = NULL; }
10555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
8ab979d7
RD
10556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10557 return NULL;
10558 }
10559 }
cf694132 10560{
4268f798 10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10562 _result = (bool )wxRadioButton_GetValue(_arg0);
cf694132 10563
4268f798 10564 wxPyEndAllowThreads(__tstate);
493f1553 10565 if (PyErr_Occurred()) return NULL;
cf694132 10566} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10567 return _resultobj;
10568}
10569
10570#define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 10571static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10572 PyObject * _resultobj;
10573 wxRadioButton * _arg0;
10574 bool _arg1;
1d99702e 10575 PyObject * _argo0 = 0;
8ab979d7 10576 int tempbool1;
efc5f224 10577 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
10578
10579 self = self;
efc5f224 10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
8ab979d7 10581 return NULL;
1d99702e
RD
10582 if (_argo0) {
10583 if (_argo0 == Py_None) { _arg0 = NULL; }
10584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
8ab979d7
RD
10585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10586 return NULL;
10587 }
10588 }
10589 _arg1 = (bool ) tempbool1;
cf694132 10590{
4268f798 10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10592 wxRadioButton_SetValue(_arg0,_arg1);
cf694132 10593
4268f798 10594 wxPyEndAllowThreads(__tstate);
493f1553 10595 if (PyErr_Occurred()) return NULL;
cf694132 10596} Py_INCREF(Py_None);
8ab979d7
RD
10597 _resultobj = Py_None;
10598 return _resultobj;
10599}
10600
10601static void *SwigwxSliderTowxControl(void *ptr) {
10602 wxSlider *src;
10603 wxControl *dest;
10604 src = (wxSlider *) ptr;
10605 dest = (wxControl *) src;
10606 return (void *) dest;
10607}
10608
10609static void *SwigwxSliderTowxWindow(void *ptr) {
10610 wxSlider *src;
10611 wxWindow *dest;
10612 src = (wxSlider *) ptr;
10613 dest = (wxWindow *) src;
10614 return (void *) dest;
10615}
10616
10617static void *SwigwxSliderTowxEvtHandler(void *ptr) {
10618 wxSlider *src;
10619 wxEvtHandler *dest;
10620 src = (wxSlider *) ptr;
10621 dest = (wxEvtHandler *) src;
10622 return (void *) dest;
10623}
10624
9416aa89
RD
10625static void *SwigwxSliderTowxObject(void *ptr) {
10626 wxSlider *src;
10627 wxObject *dest;
10628 src = (wxSlider *) ptr;
10629 dest = (wxObject *) src;
10630 return (void *) dest;
10631}
10632
8ab979d7 10633#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 10634static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10635 PyObject * _resultobj;
10636 wxSlider * _result;
10637 wxWindow * _arg0;
10638 wxWindowID _arg1;
10639 int _arg2;
10640 int _arg3;
10641 int _arg4;
e508a2b6
RD
10642 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
10643 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
1d99702e 10644 long _arg7 = (long ) wxSL_HORIZONTAL;
e508a2b6 10645 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
137b5242 10646 wxString * _arg9 = (wxString *) &wxPySliderNameStr;
1d99702e 10647 PyObject * _argo0 = 0;
2f90df85
RD
10648 wxPoint temp;
10649 PyObject * _obj5 = 0;
10650 wxSize temp0;
10651 PyObject * _obj6 = 0;
1d99702e 10652 PyObject * _argo8 = 0;
137b5242 10653 PyObject * _obj9 = 0;
efc5f224 10654 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
8ab979d7
RD
10655 char _ptemp[128];
10656
10657 self = self;
137b5242 10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOO:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_obj9))
8ab979d7 10659 return NULL;
1d99702e
RD
10660 if (_argo0) {
10661 if (_argo0 == Py_None) { _arg0 = NULL; }
10662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8ab979d7
RD
10663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10664 return NULL;
10665 }
10666 }
2f90df85
RD
10667 if (_obj5)
10668{
10669 _arg5 = &temp;
10670 if (! wxPoint_helper(_obj5, &_arg5))
8ab979d7 10671 return NULL;
2f90df85
RD
10672}
10673 if (_obj6)
10674{
10675 _arg6 = &temp0;
10676 if (! wxSize_helper(_obj6, &_arg6))
8ab979d7 10677 return NULL;
2f90df85 10678}
1d99702e 10679 if (_argo8) {
7e50db3f 10680 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
8ab979d7
RD
10681 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10682 return NULL;
10683 }
10684 }
137b5242
RD
10685 if (_obj9)
10686{
10687 _arg9 = wxString_in_helper(_obj9);
10688 if (_arg9 == NULL)
10689 return NULL;
10690}
cf694132 10691{
4268f798 10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 10693 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,*_arg9);
cf694132 10694
4268f798 10695 wxPyEndAllowThreads(__tstate);
493f1553 10696 if (PyErr_Occurred()) return NULL;
1d99702e
RD
10697} if (_result) {
10698 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10699 _resultobj = Py_BuildValue("s",_ptemp);
10700 } else {
10701 Py_INCREF(Py_None);
10702 _resultobj = Py_None;
10703 }
137b5242
RD
10704{
10705 if (_obj9)
10706 delete _arg9;
10707}
8ab979d7
RD
10708 return _resultobj;
10709}
10710
09f3d4e6
RD
10711#define new_wxPreSlider() (new wxSlider())
10712static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10713 PyObject * _resultobj;
10714 wxSlider * _result;
10715 char *_kwnames[] = { NULL };
10716 char _ptemp[128];
10717
10718 self = self;
10719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
10720 return NULL;
10721{
4268f798 10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10723 _result = (wxSlider *)new_wxPreSlider();
09f3d4e6 10724
4268f798 10725 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
10726 if (PyErr_Occurred()) return NULL;
10727} if (_result) {
10728 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10729 _resultobj = Py_BuildValue("s",_ptemp);
10730 } else {
10731 Py_INCREF(Py_None);
10732 _resultobj = Py_None;
10733 }
10734 return _resultobj;
10735}
10736
10737#define wxSlider_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
10738static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10739 PyObject * _resultobj;
10740 bool _result;
10741 wxSlider * _arg0;
10742 wxWindow * _arg1;
10743 wxWindowID _arg2;
10744 int _arg3;
10745 int _arg4;
10746 int _arg5;
10747 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
10748 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
10749 long _arg8 = (long ) wxSL_HORIZONTAL;
10750 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
137b5242 10751 wxString * _arg10 = (wxString *) &wxPySliderNameStr;
09f3d4e6
RD
10752 PyObject * _argo0 = 0;
10753 PyObject * _argo1 = 0;
10754 wxPoint temp;
10755 PyObject * _obj6 = 0;
10756 wxSize temp0;
10757 PyObject * _obj7 = 0;
10758 PyObject * _argo9 = 0;
137b5242 10759 PyObject * _obj10 = 0;
09f3d4e6
RD
10760 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
10761
10762 self = self;
137b5242 10763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOO:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_obj10))
09f3d4e6
RD
10764 return NULL;
10765 if (_argo0) {
10766 if (_argo0 == Py_None) { _arg0 = NULL; }
10767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10769 return NULL;
10770 }
10771 }
10772 if (_argo1) {
10773 if (_argo1 == Py_None) { _arg1 = NULL; }
10774 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10775 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10776 return NULL;
10777 }
10778 }
10779 if (_obj6)
10780{
10781 _arg6 = &temp;
10782 if (! wxPoint_helper(_obj6, &_arg6))
10783 return NULL;
10784}
10785 if (_obj7)
10786{
10787 _arg7 = &temp0;
10788 if (! wxSize_helper(_obj7, &_arg7))
10789 return NULL;
10790}
10791 if (_argo9) {
7e50db3f 10792 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
09f3d4e6
RD
10793 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10794 return NULL;
10795 }
10796 }
137b5242
RD
10797 if (_obj10)
10798{
10799 _arg10 = wxString_in_helper(_obj10);
10800 if (_arg10 == NULL)
10801 return NULL;
10802}
09f3d4e6 10803{
4268f798 10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 10805 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,*_arg10);
09f3d4e6 10806
4268f798 10807 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
10808 if (PyErr_Occurred()) return NULL;
10809} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
10810{
10811 if (_obj10)
10812 delete _arg10;
10813}
09f3d4e6
RD
10814 return _resultobj;
10815}
10816
8ab979d7 10817#define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
efc5f224 10818static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10819 PyObject * _resultobj;
10820 wxSlider * _arg0;
1d99702e 10821 PyObject * _argo0 = 0;
efc5f224 10822 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10823
10824 self = self;
efc5f224 10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
8ab979d7 10826 return NULL;
1d99702e
RD
10827 if (_argo0) {
10828 if (_argo0 == Py_None) { _arg0 = NULL; }
10829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10831 return NULL;
10832 }
10833 }
cf694132 10834{
4268f798 10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10836 wxSlider_ClearSel(_arg0);
cf694132 10837
4268f798 10838 wxPyEndAllowThreads(__tstate);
493f1553 10839 if (PyErr_Occurred()) return NULL;
cf694132 10840} Py_INCREF(Py_None);
8ab979d7
RD
10841 _resultobj = Py_None;
10842 return _resultobj;
10843}
10844
10845#define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
efc5f224 10846static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10847 PyObject * _resultobj;
10848 wxSlider * _arg0;
1d99702e 10849 PyObject * _argo0 = 0;
efc5f224 10850 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10851
10852 self = self;
efc5f224 10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
8ab979d7 10854 return NULL;
1d99702e
RD
10855 if (_argo0) {
10856 if (_argo0 == Py_None) { _arg0 = NULL; }
10857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10859 return NULL;
10860 }
10861 }
cf694132 10862{
4268f798 10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10864 wxSlider_ClearTicks(_arg0);
cf694132 10865
4268f798 10866 wxPyEndAllowThreads(__tstate);
493f1553 10867 if (PyErr_Occurred()) return NULL;
cf694132 10868} Py_INCREF(Py_None);
8ab979d7
RD
10869 _resultobj = Py_None;
10870 return _resultobj;
10871}
10872
10873#define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
efc5f224 10874static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10875 PyObject * _resultobj;
10876 int _result;
10877 wxSlider * _arg0;
1d99702e 10878 PyObject * _argo0 = 0;
efc5f224 10879 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10880
10881 self = self;
efc5f224 10882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
8ab979d7 10883 return NULL;
1d99702e
RD
10884 if (_argo0) {
10885 if (_argo0 == Py_None) { _arg0 = NULL; }
10886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10888 return NULL;
10889 }
10890 }
cf694132 10891{
4268f798 10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10893 _result = (int )wxSlider_GetLineSize(_arg0);
cf694132 10894
4268f798 10895 wxPyEndAllowThreads(__tstate);
493f1553 10896 if (PyErr_Occurred()) return NULL;
cf694132 10897} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10898 return _resultobj;
10899}
10900
10901#define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
efc5f224 10902static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10903 PyObject * _resultobj;
10904 int _result;
10905 wxSlider * _arg0;
1d99702e 10906 PyObject * _argo0 = 0;
efc5f224 10907 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10908
10909 self = self;
efc5f224 10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
8ab979d7 10911 return NULL;
1d99702e
RD
10912 if (_argo0) {
10913 if (_argo0 == Py_None) { _arg0 = NULL; }
10914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10916 return NULL;
10917 }
10918 }
cf694132 10919{
4268f798 10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10921 _result = (int )wxSlider_GetMax(_arg0);
cf694132 10922
4268f798 10923 wxPyEndAllowThreads(__tstate);
493f1553 10924 if (PyErr_Occurred()) return NULL;
cf694132 10925} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10926 return _resultobj;
10927}
10928
10929#define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
efc5f224 10930static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10931 PyObject * _resultobj;
10932 int _result;
10933 wxSlider * _arg0;
1d99702e 10934 PyObject * _argo0 = 0;
efc5f224 10935 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10936
10937 self = self;
efc5f224 10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
8ab979d7 10939 return NULL;
1d99702e
RD
10940 if (_argo0) {
10941 if (_argo0 == Py_None) { _arg0 = NULL; }
10942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10944 return NULL;
10945 }
10946 }
cf694132 10947{
4268f798 10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10949 _result = (int )wxSlider_GetMin(_arg0);
cf694132 10950
4268f798 10951 wxPyEndAllowThreads(__tstate);
493f1553 10952 if (PyErr_Occurred()) return NULL;
cf694132 10953} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10954 return _resultobj;
10955}
10956
10957#define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
efc5f224 10958static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10959 PyObject * _resultobj;
10960 int _result;
10961 wxSlider * _arg0;
1d99702e 10962 PyObject * _argo0 = 0;
efc5f224 10963 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10964
10965 self = self;
efc5f224 10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
8ab979d7 10967 return NULL;
1d99702e
RD
10968 if (_argo0) {
10969 if (_argo0 == Py_None) { _arg0 = NULL; }
10970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10972 return NULL;
10973 }
10974 }
cf694132 10975{
4268f798 10976 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10977 _result = (int )wxSlider_GetPageSize(_arg0);
cf694132 10978
4268f798 10979 wxPyEndAllowThreads(__tstate);
493f1553 10980 if (PyErr_Occurred()) return NULL;
cf694132 10981} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
10982 return _resultobj;
10983}
10984
10985#define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
efc5f224 10986static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
10987 PyObject * _resultobj;
10988 int _result;
10989 wxSlider * _arg0;
1d99702e 10990 PyObject * _argo0 = 0;
efc5f224 10991 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
10992
10993 self = self;
efc5f224 10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
8ab979d7 10995 return NULL;
1d99702e
RD
10996 if (_argo0) {
10997 if (_argo0 == Py_None) { _arg0 = NULL; }
10998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
10999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
11000 return NULL;
11001 }
11002 }
cf694132 11003{
4268f798 11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11005 _result = (int )wxSlider_GetSelEnd(_arg0);
cf694132 11006
4268f798 11007 wxPyEndAllowThreads(__tstate);
493f1553 11008 if (PyErr_Occurred()) return NULL;
cf694132 11009} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
11010 return _resultobj;
11011}
11012
11013#define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
efc5f224 11014static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11015 PyObject * _resultobj;
11016 int _result;
11017 wxSlider * _arg0;
1d99702e 11018 PyObject * _argo0 = 0;
efc5f224 11019 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
11020
11021 self = self;
efc5f224 11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
8ab979d7 11023 return NULL;
1d99702e
RD
11024 if (_argo0) {
11025 if (_argo0 == Py_None) { _arg0 = NULL; }
11026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
11028 return NULL;
11029 }
11030 }
cf694132 11031{
4268f798 11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11033 _result = (int )wxSlider_GetSelStart(_arg0);
cf694132 11034
4268f798 11035 wxPyEndAllowThreads(__tstate);
493f1553 11036 if (PyErr_Occurred()) return NULL;
cf694132 11037} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
11038 return _resultobj;
11039}
11040
11041#define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
efc5f224 11042static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11043 PyObject * _resultobj;
11044 int _result;
11045 wxSlider * _arg0;
1d99702e 11046 PyObject * _argo0 = 0;
efc5f224 11047 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
11048
11049 self = self;
efc5f224 11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
8ab979d7 11051 return NULL;
1d99702e
RD
11052 if (_argo0) {
11053 if (_argo0 == Py_None) { _arg0 = NULL; }
11054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
11056 return NULL;
11057 }
11058 }
cf694132 11059{
4268f798 11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11061 _result = (int )wxSlider_GetThumbLength(_arg0);
cf694132 11062
4268f798 11063 wxPyEndAllowThreads(__tstate);
493f1553 11064 if (PyErr_Occurred()) return NULL;
cf694132 11065} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
11066 return _resultobj;
11067}
11068
11069#define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
efc5f224 11070static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11071 PyObject * _resultobj;
11072 int _result;
11073 wxSlider * _arg0;
1d99702e 11074 PyObject * _argo0 = 0;
efc5f224 11075 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
11076
11077 self = self;
efc5f224 11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
8ab979d7 11079 return NULL;
1d99702e
RD
11080 if (_argo0) {
11081 if (_argo0 == Py_None) { _arg0 = NULL; }
11082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
11084 return NULL;
11085 }
11086 }
cf694132 11087{
4268f798 11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11089 _result = (int )wxSlider_GetTickFreq(_arg0);
cf694132 11090
4268f798 11091 wxPyEndAllowThreads(__tstate);
493f1553 11092 if (PyErr_Occurred()) return NULL;
cf694132 11093} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
11094 return _resultobj;
11095}
11096
11097#define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
efc5f224 11098static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11099 PyObject * _resultobj;
11100 int _result;
11101 wxSlider * _arg0;
1d99702e 11102 PyObject * _argo0 = 0;
efc5f224 11103 char *_kwnames[] = { "self", NULL };
8ab979d7
RD
11104
11105 self = self;
efc5f224 11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
8ab979d7 11107 return NULL;
1d99702e
RD
11108 if (_argo0) {
11109 if (_argo0 == Py_None) { _arg0 = NULL; }
11110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
11112 return NULL;
11113 }
11114 }
cf694132 11115{
4268f798 11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11117 _result = (int )wxSlider_GetValue(_arg0);
cf694132 11118
4268f798 11119 wxPyEndAllowThreads(__tstate);
493f1553 11120 if (PyErr_Occurred()) return NULL;
cf694132 11121} _resultobj = Py_BuildValue("i",_result);
8ab979d7
RD
11122 return _resultobj;
11123}
11124
11125#define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
efc5f224 11126static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11127 PyObject * _resultobj;
11128 wxSlider * _arg0;
11129 int _arg1;
11130 int _arg2;
1d99702e 11131 PyObject * _argo0 = 0;
efc5f224 11132 char *_kwnames[] = { "self","minValue","maxValue", NULL };
8ab979d7
RD
11133
11134 self = self;
efc5f224 11135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 11136 return NULL;
1d99702e
RD
11137 if (_argo0) {
11138 if (_argo0 == Py_None) { _arg0 = NULL; }
11139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
11141 return NULL;
11142 }
11143 }
cf694132 11144{
4268f798 11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11146 wxSlider_SetRange(_arg0,_arg1,_arg2);
cf694132 11147
4268f798 11148 wxPyEndAllowThreads(__tstate);
493f1553 11149 if (PyErr_Occurred()) return NULL;
cf694132 11150} Py_INCREF(Py_None);
8ab979d7
RD
11151 _resultobj = Py_None;
11152 return _resultobj;
11153}
11154
11155#define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
efc5f224 11156static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11157 PyObject * _resultobj;
11158 wxSlider * _arg0;
11159 int _arg1;
11160 int _arg2;
1d99702e 11161 PyObject * _argo0 = 0;
efc5f224 11162 char *_kwnames[] = { "self","n","pos", NULL };
8ab979d7
RD
11163
11164 self = self;
efc5f224 11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 11166 return NULL;
1d99702e
RD
11167 if (_argo0) {
11168 if (_argo0 == Py_None) { _arg0 = NULL; }
11169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
11171 return NULL;
11172 }
11173 }
cf694132 11174{
4268f798 11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11176 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
cf694132 11177
4268f798 11178 wxPyEndAllowThreads(__tstate);
493f1553 11179 if (PyErr_Occurred()) return NULL;
cf694132 11180} Py_INCREF(Py_None);
8ab979d7
RD
11181 _resultobj = Py_None;
11182 return _resultobj;
11183}
11184
11185#define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
efc5f224 11186static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11187 PyObject * _resultobj;
11188 wxSlider * _arg0;
11189 int _arg1;
1d99702e 11190 PyObject * _argo0 = 0;
efc5f224 11191 char *_kwnames[] = { "self","lineSize", NULL };
8ab979d7
RD
11192
11193 self = self;
efc5f224 11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
8ab979d7 11195 return NULL;
1d99702e
RD
11196 if (_argo0) {
11197 if (_argo0 == Py_None) { _arg0 = NULL; }
11198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
11200 return NULL;
11201 }
11202 }
cf694132 11203{
4268f798 11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11205 wxSlider_SetLineSize(_arg0,_arg1);
cf694132 11206
4268f798 11207 wxPyEndAllowThreads(__tstate);
493f1553 11208 if (PyErr_Occurred()) return NULL;
cf694132 11209} Py_INCREF(Py_None);
8ab979d7
RD
11210 _resultobj = Py_None;
11211 return _resultobj;
11212}
11213
11214#define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
efc5f224 11215static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11216 PyObject * _resultobj;
11217 wxSlider * _arg0;
11218 int _arg1;
1d99702e 11219 PyObject * _argo0 = 0;
efc5f224 11220 char *_kwnames[] = { "self","pageSize", NULL };
8ab979d7
RD
11221
11222 self = self;
efc5f224 11223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
8ab979d7 11224 return NULL;
1d99702e
RD
11225 if (_argo0) {
11226 if (_argo0 == Py_None) { _arg0 = NULL; }
11227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
11229 return NULL;
11230 }
11231 }
cf694132 11232{
4268f798 11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11234 wxSlider_SetPageSize(_arg0,_arg1);
cf694132 11235
4268f798 11236 wxPyEndAllowThreads(__tstate);
493f1553 11237 if (PyErr_Occurred()) return NULL;
cf694132 11238} Py_INCREF(Py_None);
8ab979d7
RD
11239 _resultobj = Py_None;
11240 return _resultobj;
11241}
11242
11243#define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
efc5f224 11244static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11245 PyObject * _resultobj;
11246 wxSlider * _arg0;
11247 int _arg1;
11248 int _arg2;
1d99702e 11249 PyObject * _argo0 = 0;
efc5f224 11250 char *_kwnames[] = { "self","startPos","endPos", NULL };
8ab979d7
RD
11251
11252 self = self;
efc5f224 11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
8ab979d7 11254 return NULL;
1d99702e
RD
11255 if (_argo0) {
11256 if (_argo0 == Py_None) { _arg0 = NULL; }
11257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
11259 return NULL;
11260 }
11261 }
cf694132 11262{
4268f798 11263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11264 wxSlider_SetSelection(_arg0,_arg1,_arg2);
cf694132 11265
4268f798 11266 wxPyEndAllowThreads(__tstate);
493f1553 11267 if (PyErr_Occurred()) return NULL;
cf694132 11268} Py_INCREF(Py_None);
8ab979d7
RD
11269 _resultobj = Py_None;
11270 return _resultobj;
11271}
11272
11273#define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
efc5f224 11274static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11275 PyObject * _resultobj;
11276 wxSlider * _arg0;
11277 int _arg1;
1d99702e 11278 PyObject * _argo0 = 0;
efc5f224 11279 char *_kwnames[] = { "self","len", NULL };
8ab979d7
RD
11280
11281 self = self;
efc5f224 11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
8ab979d7 11283 return NULL;
1d99702e
RD
11284 if (_argo0) {
11285 if (_argo0 == Py_None) { _arg0 = NULL; }
11286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
11288 return NULL;
11289 }
11290 }
cf694132 11291{
4268f798 11292 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11293 wxSlider_SetThumbLength(_arg0,_arg1);
cf694132 11294
4268f798 11295 wxPyEndAllowThreads(__tstate);
493f1553 11296 if (PyErr_Occurred()) return NULL;
cf694132 11297} Py_INCREF(Py_None);
8ab979d7
RD
11298 _resultobj = Py_None;
11299 return _resultobj;
11300}
11301
11302#define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
efc5f224 11303static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11304 PyObject * _resultobj;
11305 wxSlider * _arg0;
11306 int _arg1;
1d99702e 11307 PyObject * _argo0 = 0;
efc5f224 11308 char *_kwnames[] = { "self","tickPos", NULL };
8ab979d7
RD
11309
11310 self = self;
efc5f224 11311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
8ab979d7 11312 return NULL;
1d99702e
RD
11313 if (_argo0) {
11314 if (_argo0 == Py_None) { _arg0 = NULL; }
11315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
11317 return NULL;
11318 }
11319 }
cf694132 11320{
4268f798 11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11322 wxSlider_SetTick(_arg0,_arg1);
cf694132 11323
4268f798 11324 wxPyEndAllowThreads(__tstate);
493f1553 11325 if (PyErr_Occurred()) return NULL;
cf694132 11326} Py_INCREF(Py_None);
8ab979d7
RD
11327 _resultobj = Py_None;
11328 return _resultobj;
11329}
11330
11331#define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
efc5f224 11332static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8ab979d7
RD
11333 PyObject * _resultobj;
11334 wxSlider * _arg0;
11335 int _arg1;
1d99702e 11336 PyObject * _argo0 = 0;
efc5f224 11337 char *_kwnames[] = { "self","value", NULL };
8ab979d7
RD
11338
11339 self = self;
efc5f224 11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
8ab979d7 11341 return NULL;
1d99702e
RD
11342 if (_argo0) {
11343 if (_argo0 == Py_None) { _arg0 = NULL; }
11344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
8ab979d7
RD
11345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
11346 return NULL;
11347 }
11348 }
cf694132 11349{
4268f798 11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11351 wxSlider_SetValue(_arg0,_arg1);
cf694132 11352
4268f798 11353 wxPyEndAllowThreads(__tstate);
493f1553 11354 if (PyErr_Occurred()) return NULL;
cf694132 11355} Py_INCREF(Py_None);
8ab979d7
RD
11356 _resultobj = Py_None;
11357 return _resultobj;
11358}
11359
f6bcfd97
BP
11360static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
11361 wxSpinCtrl *src;
11362 wxSpinButton *dest;
11363 src = (wxSpinCtrl *) ptr;
11364 dest = (wxSpinButton *) src;
11365 return (void *) dest;
11366}
11367
11368static void *SwigwxSpinCtrlTowxControl(void *ptr) {
11369 wxSpinCtrl *src;
11370 wxControl *dest;
11371 src = (wxSpinCtrl *) ptr;
11372 dest = (wxControl *) src;
11373 return (void *) dest;
11374}
11375
11376static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
11377 wxSpinCtrl *src;
11378 wxWindow *dest;
11379 src = (wxSpinCtrl *) ptr;
11380 dest = (wxWindow *) src;
11381 return (void *) dest;
11382}
11383
11384static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
11385 wxSpinCtrl *src;
11386 wxEvtHandler *dest;
11387 src = (wxSpinCtrl *) ptr;
11388 dest = (wxEvtHandler *) src;
11389 return (void *) dest;
11390}
11391
9416aa89
RD
11392static void *SwigwxSpinCtrlTowxObject(void *ptr) {
11393 wxSpinCtrl *src;
11394 wxObject *dest;
11395 src = (wxSpinCtrl *) ptr;
11396 dest = (wxObject *) src;
11397 return (void *) dest;
11398}
11399
f6bcfd97
BP
11400#define new_wxSpinCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSpinCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
11401static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11402 PyObject * _resultobj;
11403 wxSpinCtrl * _result;
11404 wxWindow * _arg0;
11405 wxWindowID _arg1 = (wxWindowID ) -1;
137b5242 11406 wxString * _arg2 = (wxString *) &wxPyEmptyString;
e508a2b6
RD
11407 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
11408 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
f6bcfd97
BP
11409 long _arg5 = (long ) wxSP_ARROW_KEYS;
11410 int _arg6 = (int ) 0;
11411 int _arg7 = (int ) 100;
11412 int _arg8 = (int ) 0;
137b5242 11413 wxString * _arg9 = (wxString *) &wxPySpinCtrlNameStr;
f6bcfd97 11414 PyObject * _argo0 = 0;
137b5242 11415 PyObject * _obj2 = 0;
f6bcfd97
BP
11416 wxPoint temp;
11417 PyObject * _obj3 = 0;
11418 wxSize temp0;
11419 PyObject * _obj4 = 0;
137b5242 11420 PyObject * _obj9 = 0;
f6bcfd97
BP
11421 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
11422 char _ptemp[128];
11423
11424 self = self;
137b5242 11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_obj9))
f6bcfd97
BP
11426 return NULL;
11427 if (_argo0) {
11428 if (_argo0 == Py_None) { _arg0 = NULL; }
11429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
11430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
11431 return NULL;
11432 }
11433 }
137b5242
RD
11434 if (_obj2)
11435{
11436 _arg2 = wxString_in_helper(_obj2);
11437 if (_arg2 == NULL)
11438 return NULL;
11439}
f6bcfd97
BP
11440 if (_obj3)
11441{
11442 _arg3 = &temp;
11443 if (! wxPoint_helper(_obj3, &_arg3))
11444 return NULL;
11445}
11446 if (_obj4)
11447{
11448 _arg4 = &temp0;
11449 if (! wxSize_helper(_obj4, &_arg4))
11450 return NULL;
137b5242
RD
11451}
11452 if (_obj9)
11453{
11454 _arg9 = wxString_in_helper(_obj9);
11455 if (_arg9 == NULL)
11456 return NULL;
f6bcfd97
BP
11457}
11458{
4268f798 11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 11460 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9);
f6bcfd97 11461
4268f798 11462 wxPyEndAllowThreads(__tstate);
493f1553 11463 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11464} if (_result) {
11465 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
11466 _resultobj = Py_BuildValue("s",_ptemp);
11467 } else {
11468 Py_INCREF(Py_None);
11469 _resultobj = Py_None;
11470 }
137b5242
RD
11471{
11472 if (_obj2)
11473 delete _arg2;
11474}
11475{
11476 if (_obj9)
11477 delete _arg9;
11478}
f6bcfd97
BP
11479 return _resultobj;
11480}
11481
09f3d4e6
RD
11482#define new_wxPreSpinCtrl() (new wxSpinCtrl())
11483static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11484 PyObject * _resultobj;
11485 wxSpinCtrl * _result;
11486 char *_kwnames[] = { NULL };
11487 char _ptemp[128];
11488
11489 self = self;
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
11491 return NULL;
11492{
4268f798 11493 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11494 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
09f3d4e6 11495
4268f798 11496 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
11497 if (PyErr_Occurred()) return NULL;
11498} if (_result) {
11499 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
11500 _resultobj = Py_BuildValue("s",_ptemp);
11501 } else {
11502 Py_INCREF(Py_None);
11503 _resultobj = Py_None;
11504 }
11505 return _resultobj;
11506}
11507
11508#define wxSpinCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
11509static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11510 PyObject * _resultobj;
11511 bool _result;
11512 wxSpinCtrl * _arg0;
11513 wxWindow * _arg1;
11514 wxWindowID _arg2 = (wxWindowID ) -1;
137b5242 11515 wxString * _arg3 = (wxString *) &wxPyEmptyString;
09f3d4e6
RD
11516 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
11517 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
11518 long _arg6 = (long ) wxSP_ARROW_KEYS;
11519 int _arg7 = (int ) 0;
11520 int _arg8 = (int ) 100;
11521 int _arg9 = (int ) 0;
137b5242 11522 wxString * _arg10 = (wxString *) &wxPySpinCtrlNameStr;
09f3d4e6
RD
11523 PyObject * _argo0 = 0;
11524 PyObject * _argo1 = 0;
137b5242 11525 PyObject * _obj3 = 0;
09f3d4e6
RD
11526 wxPoint temp;
11527 PyObject * _obj4 = 0;
11528 wxSize temp0;
11529 PyObject * _obj5 = 0;
137b5242 11530 PyObject * _obj10 = 0;
09f3d4e6
RD
11531 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
11532
11533 self = self;
137b5242 11534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_obj10))
09f3d4e6
RD
11535 return NULL;
11536 if (_argo0) {
11537 if (_argo0 == Py_None) { _arg0 = NULL; }
11538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
11540 return NULL;
11541 }
11542 }
11543 if (_argo1) {
11544 if (_argo1 == Py_None) { _arg1 = NULL; }
11545 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11546 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
11547 return NULL;
11548 }
11549 }
137b5242
RD
11550 if (_obj3)
11551{
11552 _arg3 = wxString_in_helper(_obj3);
11553 if (_arg3 == NULL)
11554 return NULL;
11555}
09f3d4e6
RD
11556 if (_obj4)
11557{
11558 _arg4 = &temp;
11559 if (! wxPoint_helper(_obj4, &_arg4))
11560 return NULL;
11561}
11562 if (_obj5)
11563{
11564 _arg5 = &temp0;
11565 if (! wxSize_helper(_obj5, &_arg5))
11566 return NULL;
137b5242
RD
11567}
11568 if (_obj10)
11569{
11570 _arg10 = wxString_in_helper(_obj10);
11571 if (_arg10 == NULL)
11572 return NULL;
09f3d4e6
RD
11573}
11574{
4268f798 11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 11576 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10);
09f3d4e6 11577
4268f798 11578 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
11579 if (PyErr_Occurred()) return NULL;
11580} _resultobj = Py_BuildValue("i",_result);
137b5242
RD
11581{
11582 if (_obj3)
11583 delete _arg3;
11584}
11585{
11586 if (_obj10)
11587 delete _arg10;
11588}
09f3d4e6
RD
11589 return _resultobj;
11590}
11591
c368d904
RD
11592#define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
11593static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11594 PyObject * _resultobj;
11595 int _result;
11596 wxSpinCtrl * _arg0;
11597 PyObject * _argo0 = 0;
11598 char *_kwnames[] = { "self", NULL };
11599
11600 self = self;
11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
11602 return NULL;
11603 if (_argo0) {
11604 if (_argo0 == Py_None) { _arg0 = NULL; }
11605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11607 return NULL;
11608 }
11609 }
11610{
4268f798 11611 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11612 _result = (int )wxSpinCtrl_GetMax(_arg0);
c368d904 11613
4268f798 11614 wxPyEndAllowThreads(__tstate);
493f1553 11615 if (PyErr_Occurred()) return NULL;
c368d904
RD
11616} _resultobj = Py_BuildValue("i",_result);
11617 return _resultobj;
11618}
11619
11620#define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11621static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11622 PyObject * _resultobj;
11623 int _result;
11624 wxSpinCtrl * _arg0;
11625 PyObject * _argo0 = 0;
11626 char *_kwnames[] = { "self", NULL };
11627
11628 self = self;
11629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
11630 return NULL;
11631 if (_argo0) {
11632 if (_argo0 == Py_None) { _arg0 = NULL; }
11633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11635 return NULL;
11636 }
11637 }
11638{
4268f798 11639 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11640 _result = (int )wxSpinCtrl_GetMin(_arg0);
c368d904 11641
4268f798 11642 wxPyEndAllowThreads(__tstate);
493f1553 11643 if (PyErr_Occurred()) return NULL;
c368d904
RD
11644} _resultobj = Py_BuildValue("i",_result);
11645 return _resultobj;
11646}
11647
11648#define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11649static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11650 PyObject * _resultobj;
11651 int _result;
11652 wxSpinCtrl * _arg0;
11653 PyObject * _argo0 = 0;
11654 char *_kwnames[] = { "self", NULL };
11655
11656 self = self;
11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
11658 return NULL;
11659 if (_argo0) {
11660 if (_argo0 == Py_None) { _arg0 = NULL; }
11661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11663 return NULL;
11664 }
11665 }
11666{
4268f798 11667 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11668 _result = (int )wxSpinCtrl_GetValue(_arg0);
c368d904 11669
4268f798 11670 wxPyEndAllowThreads(__tstate);
493f1553 11671 if (PyErr_Occurred()) return NULL;
c368d904
RD
11672} _resultobj = Py_BuildValue("i",_result);
11673 return _resultobj;
11674}
11675
11676#define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11677static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11678 PyObject * _resultobj;
11679 wxSpinCtrl * _arg0;
11680 int _arg1;
11681 int _arg2;
11682 PyObject * _argo0 = 0;
11683 char *_kwnames[] = { "self","min","max", NULL };
11684
11685 self = self;
11686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
11687 return NULL;
11688 if (_argo0) {
11689 if (_argo0 == Py_None) { _arg0 = NULL; }
11690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11692 return NULL;
11693 }
11694 }
11695{
4268f798 11696 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11697 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
c368d904 11698
4268f798 11699 wxPyEndAllowThreads(__tstate);
493f1553 11700 if (PyErr_Occurred()) return NULL;
c368d904
RD
11701} Py_INCREF(Py_None);
11702 _resultobj = Py_None;
11703 return _resultobj;
11704}
11705
11706#define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11707static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11708 PyObject * _resultobj;
11709 wxSpinCtrl * _arg0;
11710 int _arg1;
11711 PyObject * _argo0 = 0;
11712 char *_kwnames[] = { "self","value", NULL };
11713
11714 self = self;
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
11716 return NULL;
11717 if (_argo0) {
11718 if (_argo0 == Py_None) { _arg0 = NULL; }
11719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11721 return NULL;
11722 }
11723 }
11724{
4268f798 11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11726 wxSpinCtrl_SetValue(_arg0,_arg1);
c368d904 11727
4268f798 11728 wxPyEndAllowThreads(__tstate);
493f1553 11729 if (PyErr_Occurred()) return NULL;
c368d904
RD
11730} Py_INCREF(Py_None);
11731 _resultobj = Py_None;
11732 return _resultobj;
11733}
11734
5a2a9da2
RD
11735#define wxSpinCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
11736static PyObject *_wrap_wxSpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11737 PyObject * _resultobj;
11738 wxSpinCtrl * _arg0;
11739 long _arg1;
11740 long _arg2;
11741 PyObject * _argo0 = 0;
11742 char *_kwnames[] = { "self","from","to", NULL };
11743
11744 self = self;
11745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxSpinCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11746 return NULL;
11747 if (_argo0) {
11748 if (_argo0 == Py_None) { _arg0 = NULL; }
11749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetSelection. Expected _wxSpinCtrl_p.");
11751 return NULL;
11752 }
11753 }
11754{
11755 PyThreadState* __tstate = wxPyBeginAllowThreads();
11756 wxSpinCtrl_SetSelection(_arg0,_arg1,_arg2);
11757
11758 wxPyEndAllowThreads(__tstate);
11759 if (PyErr_Occurred()) return NULL;
11760} Py_INCREF(Py_None);
11761 _resultobj = Py_None;
11762 return _resultobj;
11763}
11764
d1679124
RD
11765static void *SwigwxToggleButtonTowxControl(void *ptr) {
11766 wxToggleButton *src;
11767 wxControl *dest;
11768 src = (wxToggleButton *) ptr;
11769 dest = (wxControl *) src;
11770 return (void *) dest;
11771}
11772
11773static void *SwigwxToggleButtonTowxWindow(void *ptr) {
11774 wxToggleButton *src;
11775 wxWindow *dest;
11776 src = (wxToggleButton *) ptr;
11777 dest = (wxWindow *) src;
11778 return (void *) dest;
11779}
11780
11781static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
11782 wxToggleButton *src;
11783 wxEvtHandler *dest;
11784 src = (wxToggleButton *) ptr;
11785 dest = (wxEvtHandler *) src;
11786 return (void *) dest;
11787}
11788
9416aa89
RD
11789static void *SwigwxToggleButtonTowxObject(void *ptr) {
11790 wxToggleButton *src;
11791 wxObject *dest;
11792 src = (wxToggleButton *) ptr;
11793 dest = (wxObject *) src;
11794 return (void *) dest;
11795}
11796
d1679124
RD
11797#define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11798static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11799 PyObject * _resultobj;
11800 wxToggleButton * _result;
11801 wxWindow * _arg0;
11802 wxWindowID _arg1;
11803 wxString * _arg2;
11804 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
11805 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
11806 long _arg5 = (long ) 0;
11807 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
137b5242 11808 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
d1679124
RD
11809 PyObject * _argo0 = 0;
11810 PyObject * _obj2 = 0;
11811 wxPoint temp;
11812 PyObject * _obj3 = 0;
11813 wxSize temp0;
11814 PyObject * _obj4 = 0;
11815 PyObject * _argo6 = 0;
137b5242 11816 PyObject * _obj7 = 0;
d1679124
RD
11817 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
11818 char _ptemp[128];
11819
11820 self = self;
137b5242 11821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
d1679124
RD
11822 return NULL;
11823 if (_argo0) {
11824 if (_argo0 == Py_None) { _arg0 = NULL; }
11825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
11826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
11827 return NULL;
11828 }
11829 }
11830{
c8bc7bb8
RD
11831 _arg2 = wxString_in_helper(_obj2);
11832 if (_arg2 == NULL)
d1679124 11833 return NULL;
d1679124
RD
11834}
11835 if (_obj3)
11836{
11837 _arg3 = &temp;
11838 if (! wxPoint_helper(_obj3, &_arg3))
11839 return NULL;
11840}
11841 if (_obj4)
11842{
11843 _arg4 = &temp0;
11844 if (! wxSize_helper(_obj4, &_arg4))
11845 return NULL;
11846}
11847 if (_argo6) {
7e50db3f 11848 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
d1679124
RD
11849 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11850 return NULL;
11851 }
11852 }
137b5242
RD
11853 if (_obj7)
11854{
11855 _arg7 = wxString_in_helper(_obj7);
11856 if (_arg7 == NULL)
11857 return NULL;
11858}
d1679124 11859{
4268f798 11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 11861 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
d1679124 11862
4268f798 11863 wxPyEndAllowThreads(__tstate);
493f1553 11864 if (PyErr_Occurred()) return NULL;
d1679124
RD
11865} if (_result) {
11866 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
11867 _resultobj = Py_BuildValue("s",_ptemp);
11868 } else {
11869 Py_INCREF(Py_None);
11870 _resultobj = Py_None;
11871 }
11872{
11873 if (_obj2)
11874 delete _arg2;
137b5242
RD
11875}
11876{
11877 if (_obj7)
11878 delete _arg7;
d1679124
RD
11879}
11880 return _resultobj;
11881}
11882
09f3d4e6
RD
11883#define new_wxPreToggleButton() (new wxToggleButton())
11884static PyObject *_wrap_new_wxPreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11885 PyObject * _resultobj;
11886 wxToggleButton * _result;
11887 char *_kwnames[] = { NULL };
11888 char _ptemp[128];
11889
11890 self = self;
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToggleButton",_kwnames))
11892 return NULL;
11893{
4268f798 11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11895 _result = (wxToggleButton *)new_wxPreToggleButton();
09f3d4e6 11896
4268f798 11897 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
11898 if (PyErr_Occurred()) return NULL;
11899} if (_result) {
11900 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
11901 _resultobj = Py_BuildValue("s",_ptemp);
11902 } else {
11903 Py_INCREF(Py_None);
11904 _resultobj = Py_None;
11905 }
11906 return _resultobj;
11907}
11908
11909#define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11910static PyObject *_wrap_wxToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11911 PyObject * _resultobj;
11912 bool _result;
11913 wxToggleButton * _arg0;
11914 wxWindow * _arg1;
11915 wxWindowID _arg2;
11916 wxString * _arg3;
11917 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
11918 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
11919 long _arg6 = (long ) 0;
11920 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
137b5242 11921 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
09f3d4e6
RD
11922 PyObject * _argo0 = 0;
11923 PyObject * _argo1 = 0;
11924 PyObject * _obj3 = 0;
11925 wxPoint temp;
11926 PyObject * _obj4 = 0;
11927 wxSize temp0;
11928 PyObject * _obj5 = 0;
11929 PyObject * _argo7 = 0;
137b5242 11930 PyObject * _obj8 = 0;
09f3d4e6
RD
11931 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
11932
11933 self = self;
137b5242 11934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxToggleButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
09f3d4e6
RD
11935 return NULL;
11936 if (_argo0) {
11937 if (_argo0 == Py_None) { _arg0 = NULL; }
11938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11940 return NULL;
11941 }
11942 }
11943 if (_argo1) {
11944 if (_argo1 == Py_None) { _arg1 = NULL; }
11945 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11946 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11947 return NULL;
11948 }
11949 }
11950{
c8bc7bb8
RD
11951 _arg3 = wxString_in_helper(_obj3);
11952 if (_arg3 == NULL)
09f3d4e6 11953 return NULL;
09f3d4e6
RD
11954}
11955 if (_obj4)
11956{
11957 _arg4 = &temp;
11958 if (! wxPoint_helper(_obj4, &_arg4))
11959 return NULL;
11960}
11961 if (_obj5)
11962{
11963 _arg5 = &temp0;
11964 if (! wxSize_helper(_obj5, &_arg5))
11965 return NULL;
11966}
11967 if (_argo7) {
7e50db3f 11968 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
09f3d4e6
RD
11969 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11970 return NULL;
11971 }
11972 }
137b5242
RD
11973 if (_obj8)
11974{
11975 _arg8 = wxString_in_helper(_obj8);
11976 if (_arg8 == NULL)
11977 return NULL;
11978}
09f3d4e6 11979{
4268f798 11980 PyThreadState* __tstate = wxPyBeginAllowThreads();
137b5242 11981 _result = (bool )wxToggleButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
09f3d4e6 11982
4268f798 11983 wxPyEndAllowThreads(__tstate);
09f3d4e6
RD
11984 if (PyErr_Occurred()) return NULL;
11985} _resultobj = Py_BuildValue("i",_result);
11986{
11987 if (_obj3)
11988 delete _arg3;
137b5242
RD
11989}
11990{
11991 if (_obj8)
11992 delete _arg8;
09f3d4e6
RD
11993}
11994 return _resultobj;
11995}
11996
d1679124
RD
11997#define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11998static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11999 PyObject * _resultobj;
12000 wxToggleButton * _arg0;
12001 bool _arg1;
12002 PyObject * _argo0 = 0;
12003 int tempbool1;
12004 char *_kwnames[] = { "self","value", NULL };
12005
12006 self = self;
12007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
12008 return NULL;
12009 if (_argo0) {
12010 if (_argo0 == Py_None) { _arg0 = NULL; }
12011 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
12013 return NULL;
12014 }
12015 }
12016 _arg1 = (bool ) tempbool1;
12017{
4268f798 12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12019 wxToggleButton_SetValue(_arg0,_arg1);
d1679124 12020
4268f798 12021 wxPyEndAllowThreads(__tstate);
493f1553 12022 if (PyErr_Occurred()) return NULL;
d1679124
RD
12023} Py_INCREF(Py_None);
12024 _resultobj = Py_None;
12025 return _resultobj;
12026}
12027
12028#define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
12029static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject * _resultobj;
12031 bool _result;
12032 wxToggleButton * _arg0;
12033 PyObject * _argo0 = 0;
12034 char *_kwnames[] = { "self", NULL };
12035
12036 self = self;
12037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
12038 return NULL;
12039 if (_argo0) {
12040 if (_argo0 == Py_None) { _arg0 = NULL; }
12041 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
12043 return NULL;
12044 }
12045 }
12046{
4268f798 12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12048 _result = (bool )wxToggleButton_GetValue(_arg0);
d1679124 12049
4268f798 12050 wxPyEndAllowThreads(__tstate);
493f1553 12051 if (PyErr_Occurred()) return NULL;
d1679124
RD
12052} _resultobj = Py_BuildValue("i",_result);
12053 return _resultobj;
12054}
12055
12056#define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
12057static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12058 PyObject * _resultobj;
12059 wxToggleButton * _arg0;
12060 wxString * _arg1;
12061 PyObject * _argo0 = 0;
12062 PyObject * _obj1 = 0;
12063 char *_kwnames[] = { "self","label", NULL };
12064
12065 self = self;
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
12067 return NULL;
12068 if (_argo0) {
12069 if (_argo0 == Py_None) { _arg0 = NULL; }
12070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
12072 return NULL;
12073 }
12074 }
12075{
c8bc7bb8
RD
12076 _arg1 = wxString_in_helper(_obj1);
12077 if (_arg1 == NULL)
d1679124 12078 return NULL;
d1679124
RD
12079}
12080{
4268f798 12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12082 wxToggleButton_SetLabel(_arg0,*_arg1);
d1679124 12083
4268f798 12084 wxPyEndAllowThreads(__tstate);
493f1553 12085 if (PyErr_Occurred()) return NULL;
d1679124
RD
12086} Py_INCREF(Py_None);
12087 _resultobj = Py_None;
12088{
12089 if (_obj1)
12090 delete _arg1;
12091}
12092 return _resultobj;
12093}
12094
8ab979d7 12095static PyMethodDef controlscMethods[] = {
d1679124
RD
12096 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
12097 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12098 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12099 { "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
12100 { "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
d1679124 12101 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12102 { "wxSpinCtrl_SetSelection", (PyCFunction) _wrap_wxSpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
12103 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
12104 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
12105 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
12106 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
12107 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12108 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12109 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 12110 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12111 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
12112 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
12113 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
12114 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
12115 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
12116 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
12117 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
12118 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
12119 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
12120 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
12121 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
12122 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
12123 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
12124 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
12125 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
12126 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
12127 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
12128 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
12129 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12130 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
12131 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12132 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
12133 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12134 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12135 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
12136 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12137 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
12138 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
12139 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
12140 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12141 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
0adbc166 12142 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
efc5f224 12143 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
efc5f224 12144 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
7e50db3f 12145 { "wxRadioBox_GetNextItem", (PyCFunction) _wrap_wxRadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
3a0958b1
RD
12146 { "wxRadioBox_GetRowCount", (PyCFunction) _wrap_wxRadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
12147 { "wxRadioBox_GetColumnCount", (PyCFunction) _wrap_wxRadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
0adbc166
RD
12148 { "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
12149 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12150 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
12151 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
12152 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12153 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
12154 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12155 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
12156 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
12157 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12158 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12159 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
12160 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12161 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
12162 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12163 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
12164 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12165 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
12166 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12167 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
12168 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12169 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
12170 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
12171 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
ebf4302c 12172 { "wxScrollBar_IsVertical", (PyCFunction) _wrap_wxScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26b9cf27 12173 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12174 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
12175 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
12176 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
12177 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12178 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
12179 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
efc5f224 12180 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
2f4e9287 12181 { "wxTextCtrl_GetString", (PyCFunction) _wrap_wxTextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
b1462dfa 12182 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
64c06a50
RD
12183 { "wxTextCtrl_IsMultiLine", (PyCFunction) _wrap_wxTextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
12184 { "wxTextCtrl_IsSingleLine", (PyCFunction) _wrap_wxTextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
12185 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
12186 { "wxTextCtrl_SelectAll", (PyCFunction) _wrap_wxTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
12187 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
12188 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
12189 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12190 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
12191 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12192 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
12193 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
b1462dfa
RD
12194 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
12195 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12196 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
12197 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
12198 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
12199 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
12200 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
12201 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
12202 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
12203 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
efc5f224 12204 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12205 { "wxTextCtrl_GetStyle", (PyCFunction) _wrap_wxTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
12206 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
12207 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
12208 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
db0ff83e 12209 { "wxTextCtrl_EmulateKeyPress", (PyCFunction) _wrap_wxTextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12210 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
12211 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
12212 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
12213 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
efc5f224 12214 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
efc5f224 12215 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
12216 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
12217 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
12218 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
b78b83ec 12219 { "wxTextCtrl_GetStringSelection", (PyCFunction) _wrap_wxTextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
12220 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
12221 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
efc5f224 12222 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12223 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
12224 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
12225 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
68320e40 12226 { "wxTextCtrl_GetRange", (PyCFunction) _wrap_wxTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
98624b49
RD
12227 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
12228 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12229 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12230 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
efc5f224 12231 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
2f4e9287 12232 { "wxTextAttr_Combine", (PyCFunction) _wrap_wxTextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
98624b49 12233 { "wxTextAttr_IsDefault", (PyCFunction) _wrap_wxTextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
12234 { "wxTextAttr_GetFlags", (PyCFunction) _wrap_wxTextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
12235 { "wxTextAttr_GetRightIndent", (PyCFunction) _wrap_wxTextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
12236 { "wxTextAttr_GetLeftIndent", (PyCFunction) _wrap_wxTextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
12237 { "wxTextAttr_GetTabs", (PyCFunction) _wrap_wxTextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
12238 { "wxTextAttr_GetAlignment", (PyCFunction) _wrap_wxTextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
d56cebe7
RD
12239 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
12240 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12241 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
12242 { "wxTextAttr_HasFlag", (PyCFunction) _wrap_wxTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
12243 { "wxTextAttr_HasRightIndent", (PyCFunction) _wrap_wxTextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
12244 { "wxTextAttr_HasLeftIndent", (PyCFunction) _wrap_wxTextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
12245 { "wxTextAttr_HasTabs", (PyCFunction) _wrap_wxTextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
12246 { "wxTextAttr_HasAlignment", (PyCFunction) _wrap_wxTextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
d56cebe7
RD
12247 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
12248 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12249 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
5a2a9da2
RD
12250 { "wxTextAttr_SetFlags", (PyCFunction) _wrap_wxTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
12251 { "wxTextAttr_SetRightIndent", (PyCFunction) _wrap_wxTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
12252 { "wxTextAttr_SetLeftIndent", (PyCFunction) _wrap_wxTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
12253 { "wxTextAttr_SetTabs", (PyCFunction) _wrap_wxTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
12254 { "wxTextAttr_SetAlignment", (PyCFunction) _wrap_wxTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
d56cebe7
RD
12255 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
12256 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12257 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
5a2a9da2 12258 { "wxTextAttr_Init", (PyCFunction) _wrap_wxTextAttr_Init, METH_VARARGS | METH_KEYWORDS },
d56cebe7
RD
12259 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
12260 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
5d5d57f3
RD
12261 { "wxCheckListBox_HitTestXY", (PyCFunction) _wrap_wxCheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
12262 { "wxCheckListBox_HitTest", (PyCFunction) _wrap_wxCheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
efc5f224 12263 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
694759cf 12264 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12265 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
12266 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12267 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
12268 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12269 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
12270 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12271 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
12272 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12273 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
12274 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
12275 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
12276 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
0adbc166 12277 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
2f90df85 12278 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
efc5f224 12279 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
efc5f224 12280 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
efc5f224 12281 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12282 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
12283 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12284 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
12285 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
12286 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12287 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
12288 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
efc5f224 12289 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12290 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
12291 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
efc5f224 12292 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12293 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
12294 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12295 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
12296 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
12297 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
12298 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
12299 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
12300 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
12301 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
12302 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
12303 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12304 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
12305 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
efc5f224 12306 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
0adbc166 12307 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12308 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
12309 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
12310 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12311 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
12312 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12313 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
12314 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
12315 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
efc5f224 12316 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12317 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
12318 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12319 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
12320 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12321 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
12322 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
efc5f224 12323 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
0adbc166 12324 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12325 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12326 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
12327 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
efc5f224 12328 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
efc5f224 12329 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12330 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
12331 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12332 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
12333 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
7e50db3f 12334 { "wxCheckBox_IsChecked", (PyCFunction) _wrap_wxCheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
efc5f224 12335 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12336 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
12337 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
efc5f224 12338 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
12339 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
12340 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
12341 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12342 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
12343 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
12344 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
12345 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
12346 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
12347 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
12348 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
12349 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12350 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
12351 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
efc5f224 12352 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12353 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
12354 { "wxButton_SetImageMargins", (PyCFunction) _wrap_wxButton_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
12355 { "wxButton_SetImageLabel", (PyCFunction) _wrap_wxButton_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
9b3d3bc4
RD
12356 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12357 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
efc5f224 12358 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12359 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
12360 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
efc5f224 12361 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
ce914f73 12362 { "wxControlWithItems_AppendItems", (PyCFunction) _wrap_wxControlWithItems_AppendItems, METH_VARARGS | METH_KEYWORDS },
900d9886
RD
12363 { "wxControlWithItems_SetClientData", (PyCFunction) _wrap_wxControlWithItems_SetClientData, METH_VARARGS | METH_KEYWORDS },
12364 { "wxControlWithItems_GetClientData", (PyCFunction) _wrap_wxControlWithItems_GetClientData, METH_VARARGS | METH_KEYWORDS },
12365 { "wxControlWithItems_Append", (PyCFunction) _wrap_wxControlWithItems_Append, METH_VARARGS | METH_KEYWORDS },
12366 { "wxControlWithItems_GetStringSelection", (PyCFunction) _wrap_wxControlWithItems_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12367 { "wxControlWithItems_GetSelection", (PyCFunction) _wrap_wxControlWithItems_GetSelection, METH_VARARGS | METH_KEYWORDS },
12368 { "wxControlWithItems_Select", (PyCFunction) _wrap_wxControlWithItems_Select, METH_VARARGS | METH_KEYWORDS },
12369 { "wxControlWithItems_FindString", (PyCFunction) _wrap_wxControlWithItems_FindString, METH_VARARGS | METH_KEYWORDS },
12370 { "wxControlWithItems_SetString", (PyCFunction) _wrap_wxControlWithItems_SetString, METH_VARARGS | METH_KEYWORDS },
12371 { "wxControlWithItems_GetString", (PyCFunction) _wrap_wxControlWithItems_GetString, METH_VARARGS | METH_KEYWORDS },
12372 { "wxControlWithItems_GetCount", (PyCFunction) _wrap_wxControlWithItems_GetCount, METH_VARARGS | METH_KEYWORDS },
12373 { "wxControlWithItems_Delete", (PyCFunction) _wrap_wxControlWithItems_Delete, METH_VARARGS | METH_KEYWORDS },
efc5f224
RD
12374 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
12375 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
12376 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
09f3d4e6
RD
12377 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
12378 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
6999b0d8 12379 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
8ab979d7
RD
12380 { NULL, NULL }
12381};
1d99702e
RD
12382#ifdef __cplusplus
12383}
12384#endif
12385/*
12386 * This table is used by the pointer type-checker
12387 */
12388static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
1d99702e 12389 { "_signed_long","_long",0},
b1462dfa 12390 { "_wxPrintQuality","_wxCoord",0},
1d99702e
RD
12391 { "_wxPrintQuality","_int",0},
12392 { "_wxPrintQuality","_signed_int",0},
12393 { "_wxPrintQuality","_unsigned_int",0},
12394 { "_wxPrintQuality","_wxWindowID",0},
12395 { "_wxPrintQuality","_uint",0},
12396 { "_wxPrintQuality","_EBool",0},
12397 { "_wxPrintQuality","_size_t",0},
c368d904 12398 { "_wxPrintQuality","_time_t",0},
1d99702e 12399 { "_byte","_unsigned_char",0},
1d99702e 12400 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
1d99702e
RD
12401 { "_long","_unsigned_long",0},
12402 { "_long","_signed_long",0},
b1462dfa 12403 { "_size_t","_wxCoord",0},
1d99702e 12404 { "_size_t","_wxPrintQuality",0},
c368d904 12405 { "_size_t","_time_t",0},
1d99702e
RD
12406 { "_size_t","_unsigned_int",0},
12407 { "_size_t","_int",0},
12408 { "_size_t","_wxWindowID",0},
12409 { "_size_t","_uint",0},
b1462dfa 12410 { "_uint","_wxCoord",0},
1d99702e 12411 { "_uint","_wxPrintQuality",0},
c368d904 12412 { "_uint","_time_t",0},
1d99702e
RD
12413 { "_uint","_size_t",0},
12414 { "_uint","_unsigned_int",0},
12415 { "_uint","_int",0},
12416 { "_uint","_wxWindowID",0},
f6bcfd97 12417 { "_wxChar","_char",0},
f6bcfd97 12418 { "_char","_wxChar",0},
f6bcfd97 12419 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
cdf14688 12420 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
b1462dfa 12421 { "_EBool","_wxCoord",0},
1d99702e
RD
12422 { "_EBool","_wxPrintQuality",0},
12423 { "_EBool","_signed_int",0},
12424 { "_EBool","_int",0},
12425 { "_EBool","_wxWindowID",0},
1d99702e 12426 { "_unsigned_long","_long",0},
cdf14688 12427 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
b1462dfa 12428 { "_signed_int","_wxCoord",0},
1d99702e
RD
12429 { "_signed_int","_wxPrintQuality",0},
12430 { "_signed_int","_EBool",0},
12431 { "_signed_int","_wxWindowID",0},
12432 { "_signed_int","_int",0},
1d99702e 12433 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
1d99702e
RD
12434 { "_WXTYPE","_short",0},
12435 { "_WXTYPE","_signed_short",0},
12436 { "_WXTYPE","_unsigned_short",0},
1d99702e
RD
12437 { "_unsigned_short","_WXTYPE",0},
12438 { "_unsigned_short","_short",0},
9416aa89 12439 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
9416aa89 12440 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
9416aa89 12441 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
9416aa89 12442 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
9416aa89 12443 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
9416aa89 12444 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
9416aa89 12445 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
9416aa89 12446 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
9416aa89 12447 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
9416aa89 12448 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
9416aa89 12449 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
9416aa89 12450 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
9416aa89 12451 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
9416aa89 12452 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
9416aa89 12453 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
9416aa89 12454 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
9416aa89 12455 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
9416aa89 12456 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
9416aa89 12457 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
9416aa89 12458 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
900d9886 12459 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
9416aa89 12460 { "_wxObject","_wxControl",SwigwxControlTowxObject},
1d99702e
RD
12461 { "_signed_short","_WXTYPE",0},
12462 { "_signed_short","_short",0},
1d99702e 12463 { "_unsigned_char","_byte",0},
d1679124 12464 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
f6bcfd97 12465 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
1d99702e 12466 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
1d99702e 12467 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
1d99702e 12468 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
1d99702e 12469 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
1d99702e 12470 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
1d99702e 12471 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
1d99702e 12472 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
1d99702e 12473 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
1d99702e 12474 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
1d99702e 12475 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
1d99702e 12476 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
1d99702e 12477 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
1d99702e 12478 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
1d99702e 12479 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
1d99702e 12480 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
1d99702e 12481 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
1d99702e 12482 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
1d99702e 12483 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
900d9886 12484 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
b1462dfa 12485 { "_unsigned_int","_wxCoord",0},
1d99702e 12486 { "_unsigned_int","_wxPrintQuality",0},
c368d904 12487 { "_unsigned_int","_time_t",0},
1d99702e
RD
12488 { "_unsigned_int","_size_t",0},
12489 { "_unsigned_int","_uint",0},
12490 { "_unsigned_int","_wxWindowID",0},
12491 { "_unsigned_int","_int",0},
1d99702e
RD
12492 { "_short","_WXTYPE",0},
12493 { "_short","_unsigned_short",0},
12494 { "_short","_signed_short",0},
900d9886
RD
12495 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
12496 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
12497 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems},
12498 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
b1462dfa 12499 { "_wxWindowID","_wxCoord",0},
1d99702e 12500 { "_wxWindowID","_wxPrintQuality",0},
c368d904 12501 { "_wxWindowID","_time_t",0},
1d99702e
RD
12502 { "_wxWindowID","_size_t",0},
12503 { "_wxWindowID","_EBool",0},
12504 { "_wxWindowID","_uint",0},
12505 { "_wxWindowID","_int",0},
12506 { "_wxWindowID","_signed_int",0},
12507 { "_wxWindowID","_unsigned_int",0},
b1462dfa 12508 { "_int","_wxCoord",0},
1d99702e 12509 { "_int","_wxPrintQuality",0},
c368d904 12510 { "_int","_time_t",0},
1d99702e
RD
12511 { "_int","_size_t",0},
12512 { "_int","_EBool",0},
12513 { "_int","_uint",0},
12514 { "_int","_wxWindowID",0},
12515 { "_int","_unsigned_int",0},
12516 { "_int","_signed_int",0},
c368d904
RD
12517 { "_time_t","_wxCoord",0},
12518 { "_time_t","_wxPrintQuality",0},
12519 { "_time_t","_unsigned_int",0},
12520 { "_time_t","_int",0},
12521 { "_time_t","_wxWindowID",0},
12522 { "_time_t","_uint",0},
12523 { "_time_t","_size_t",0},
1d99702e 12524 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
b1462dfa
RD
12525 { "_wxCoord","_int",0},
12526 { "_wxCoord","_signed_int",0},
12527 { "_wxCoord","_unsigned_int",0},
12528 { "_wxCoord","_wxWindowID",0},
12529 { "_wxCoord","_uint",0},
12530 { "_wxCoord","_EBool",0},
12531 { "_wxCoord","_size_t",0},
c368d904 12532 { "_wxCoord","_time_t",0},
b1462dfa 12533 { "_wxCoord","_wxPrintQuality",0},
d1679124 12534 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
f6bcfd97 12535 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
1d99702e 12536 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
1d99702e 12537 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
1d99702e 12538 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
1d99702e 12539 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
1d99702e 12540 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
1d99702e 12541 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
1d99702e 12542 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
1d99702e 12543 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
1d99702e 12544 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
1d99702e 12545 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
1d99702e 12546 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
1d99702e 12547 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
1d99702e 12548 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
1d99702e 12549 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
1d99702e 12550 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
1d99702e 12551 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
1d99702e 12552 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
1d99702e 12553 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
900d9886 12554 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
1d99702e 12555 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
d1679124 12556 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
f6bcfd97 12557 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
1d99702e 12558 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
1d99702e 12559 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
1d99702e 12560 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
1d99702e 12561 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
1d99702e 12562 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
1d99702e 12563 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
1d99702e 12564 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
1d99702e 12565 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
1d99702e 12566 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
1d99702e 12567 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
1d99702e 12568 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
1d99702e 12569 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
1d99702e 12570 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
1d99702e 12571 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
1d99702e 12572 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
1d99702e 12573 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
1d99702e 12574 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
1d99702e 12575 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
900d9886 12576 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
1d99702e 12577 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
1d99702e
RD
12578{0,0,0}};
12579
8ab979d7
RD
12580static PyObject *SWIG_globals;
12581#ifdef __cplusplus
12582extern "C"
12583#endif
1d99702e 12584SWIGEXPORT(void) initcontrolsc() {
8ab979d7
RD
12585 PyObject *m, *d;
12586 SWIG_globals = SWIG_newvarlink();
12587 m = Py_InitModule("controlsc", controlscMethods);
12588 d = PyModule_GetDict(m);
2f90df85
RD
12589 PyDict_SetItemString(d,"cvar", SWIG_globals);
12590 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
5a2a9da2
RD
12591 PyDict_SetItemString(d,"wxTE_NO_VSCROLL", PyInt_FromLong((long) wxTE_NO_VSCROLL));
12592 PyDict_SetItemString(d,"wxTE_AUTO_SCROLL", PyInt_FromLong((long) wxTE_AUTO_SCROLL));
12593 PyDict_SetItemString(d,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY));
12594 PyDict_SetItemString(d,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE));
12595 PyDict_SetItemString(d,"wxTE_PROCESS_TAB", PyInt_FromLong((long) wxTE_PROCESS_TAB));
12596 PyDict_SetItemString(d,"wxTE_LEFT", PyInt_FromLong((long) wxTE_LEFT));
12597 PyDict_SetItemString(d,"wxTE_CENTER", PyInt_FromLong((long) wxTE_CENTER));
12598 PyDict_SetItemString(d,"wxTE_RIGHT", PyInt_FromLong((long) wxTE_RIGHT));
12599 PyDict_SetItemString(d,"wxTE_CENTRE", PyInt_FromLong((long) wxTE_CENTRE));
12600 PyDict_SetItemString(d,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH));
12601 PyDict_SetItemString(d,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER));
12602 PyDict_SetItemString(d,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD));
12603 PyDict_SetItemString(d,"wxTE_AUTO_URL", PyInt_FromLong((long) wxTE_AUTO_URL));
12604 PyDict_SetItemString(d,"wxTE_NOHIDESEL", PyInt_FromLong((long) wxTE_NOHIDESEL));
12605 PyDict_SetItemString(d,"wxTE_DONTWRAP", PyInt_FromLong((long) wxTE_DONTWRAP));
12606 PyDict_SetItemString(d,"wxTE_LINEWRAP", PyInt_FromLong((long) wxTE_LINEWRAP));
12607 PyDict_SetItemString(d,"wxTE_WORDWRAP", PyInt_FromLong((long) wxTE_WORDWRAP));
12608 PyDict_SetItemString(d,"wxTE_RICH2", PyInt_FromLong((long) wxTE_RICH2));
12609 PyDict_SetItemString(d,"wxTEXT_ATTR_TEXT_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_TEXT_COLOUR));
12610 PyDict_SetItemString(d,"wxTEXT_ATTR_BACKGROUND_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_BACKGROUND_COLOUR));
12611 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_FACE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_FACE));
12612 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_SIZE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_SIZE));
12613 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_WEIGHT", PyInt_FromLong((long) wxTEXT_ATTR_FONT_WEIGHT));
12614 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_ITALIC", PyInt_FromLong((long) wxTEXT_ATTR_FONT_ITALIC));
12615 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_UNDERLINE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_UNDERLINE));
12616 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT", PyInt_FromLong((long) wxTEXT_ATTR_FONT));
12617 PyDict_SetItemString(d,"wxTEXT_ATTR_ALIGNMENT", PyInt_FromLong((long) wxTEXT_ATTR_ALIGNMENT));
12618 PyDict_SetItemString(d,"wxTEXT_ATTR_LEFT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_LEFT_INDENT));
12619 PyDict_SetItemString(d,"wxTEXT_ATTR_RIGHT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_RIGHT_INDENT));
12620 PyDict_SetItemString(d,"wxTEXT_ATTR_TABS", PyInt_FromLong((long) wxTEXT_ATTR_TABS));
12621 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_DEFAULT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_DEFAULT));
12622 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_LEFT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_LEFT));
12623 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_CENTRE", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTRE));
12624 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_CENTER", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTER));
12625 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_RIGHT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_RIGHT));
12626 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_JUSTIFIED", PyInt_FromLong((long) wxTEXT_ALIGNMENT_JUSTIFIED));
d1679124 12627 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
1d99702e
RD
12628{
12629 int i;
12630 for (i = 0; _swig_mapping[i].n1; i++)
12631 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12632}
8ab979d7 12633}