]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls.cpp
Save the initial tstate during initialization
[wxWidgets.git] / wxPython / src / gtk / controls.cpp
CommitLineData
70551f47 1/*
2cd2fac8 2 * FILE : src/gtk/controls.cpp
70551f47
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
2cd2fac8 6 * Version 1.1 (Build 883)
70551f47
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
b67a9327
RD
22#include "Python.h"
23
70551f47
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
2d091820 29# define SWIGEXPORT(a) __declspec(dllexport) a
70551f47
RD
30# else
31# if defined(__BORLANDC__)
3bcd5e1c 32# define SWIGEXPORT(a) a _export
70551f47 33# else
3bcd5e1c 34# define SWIGEXPORT(a) a
70551f47
RD
35# endif
36# endif
37#else
3bcd5e1c 38# define SWIGEXPORT(a) a
70551f47
RD
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
70551f47
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
2d091820 47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
70551f47
RD
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
70551f47
RD
53#define SWIG_init initcontrolsc
54
55#define SWIG_name "controlsc"
56
57#include "helpers.h"
58#include <wx/slider.h>
62bd0874 59#include <wx/spinbutt.h>
f6bcfd97 60#include <wx/spinctrl.h>
ab9bc19b 61#include <wx/dynarray.h>
8bf5d46e 62#include <wx/statline.h>
7a446686 63#include <wx/tglbtn.h>
70551f47
RD
64
65#ifdef __WXMSW__
b26e2dc4
RD
66#if wxUSE_OWNER_DRAWN
67#include <wx/checklst.h>
68#endif
70551f47
RD
69#endif
70
c95e68d8
RD
71#ifdef __WXGTK__
72#include <wx/checklst.h>
73#endif
74
d24a34bb 75
70551f47
RD
76static PyObject* t_output_helper(PyObject* target, PyObject* o) {
77 PyObject* o2;
78 PyObject* o3;
79
3bcd5e1c 80 if (!target) {
70551f47 81 target = o;
3bcd5e1c 82 } else if (target == Py_None) {
70551f47
RD
83 Py_DECREF(Py_None);
84 target = o;
3bcd5e1c 85 } else {
70551f47
RD
86 if (!PyTuple_Check(target)) {
87 o2 = target;
88 target = PyTuple_New(1);
89 PyTuple_SetItem(target, 0, o2);
90 }
3bcd5e1c
RD
91 o3 = PyTuple_New(1);
92 PyTuple_SetItem(o3, 0, o);
70551f47
RD
93
94 o2 = target;
3bcd5e1c
RD
95 target = PySequence_Concat(o2, o3);
96 Py_DECREF(o2);
70551f47
RD
97 Py_DECREF(o3);
98 }
99 return target;
100}
9a74fcaf
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(""));
2d091820
RD
126#ifdef __cplusplus
127extern "C" {
128#endif
37f6a977
RD
129static int _wrap_wxDefaultValidator_set(PyObject *val) {
130
131 PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only.");
132 return 1;
133}
134
135static PyObject *_wrap_wxDefaultValidator_get() {
136 PyObject * pyobj;
137 char ptemp[128];
138
139 SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p");
140 pyobj = PyString_FromString(ptemp);
141 return pyobj;
142}
143
70551f47
RD
144static void *SwigwxControlTowxWindow(void *ptr) {
145 wxControl *src;
146 wxWindow *dest;
147 src = (wxControl *) ptr;
148 dest = (wxWindow *) src;
149 return (void *) dest;
150}
151
152static void *SwigwxControlTowxEvtHandler(void *ptr) {
153 wxControl *src;
154 wxEvtHandler *dest;
155 src = (wxControl *) ptr;
156 dest = (wxEvtHandler *) src;
157 return (void *) dest;
158}
159
9df61a29
RD
160static void *SwigwxControlTowxObject(void *ptr) {
161 wxControl *src;
162 wxObject *dest;
163 src = (wxControl *) ptr;
164 dest = (wxObject *) src;
165 return (void *) dest;
166}
167
ab2208b5 168#define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
56f5d962
RD
169static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
170 PyObject * _resultobj;
171 wxControl * _result;
ab2208b5
RD
172 wxWindow * _arg0;
173 wxWindowID _arg1;
b68dc582
RD
174 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
175 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
ab2208b5 176 long _arg4 = (long ) 0;
b68dc582 177 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 178 wxString * _arg6 = (wxString *) &wxPyControlNameStr;
56f5d962 179 PyObject * _argo0 = 0;
56f5d962 180 wxPoint temp;
ab2208b5 181 PyObject * _obj2 = 0;
56f5d962 182 wxSize temp0;
ab2208b5
RD
183 PyObject * _obj3 = 0;
184 PyObject * _argo5 = 0;
9a74fcaf 185 PyObject * _obj6 = 0;
ab2208b5
RD
186 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
187 char _ptemp[128];
56f5d962
RD
188
189 self = self;
9a74fcaf 190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
56f5d962
RD
191 return NULL;
192 if (_argo0) {
193 if (_argo0 == Py_None) { _arg0 = NULL; }
ab2208b5
RD
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.");
56f5d962
RD
196 return NULL;
197 }
198 }
ab2208b5 199 if (_obj2)
56f5d962 200{
ab2208b5
RD
201 _arg2 = &temp;
202 if (! wxPoint_helper(_obj2, &_arg2))
56f5d962
RD
203 return NULL;
204}
ab2208b5 205 if (_obj3)
56f5d962 206{
ab2208b5
RD
207 _arg3 = &temp0;
208 if (! wxSize_helper(_obj3, &_arg3))
56f5d962
RD
209 return NULL;
210}
ab2208b5 211 if (_argo5) {
b67a9327 212 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
ab2208b5 213 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
56f5d962
RD
214 return NULL;
215 }
216 }
9a74fcaf
RD
217 if (_obj6)
218{
219 _arg6 = wxString_in_helper(_obj6);
220 if (_arg6 == NULL)
221 return NULL;
222}
56f5d962 223{
474c48f9 224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 225 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
56f5d962 226
474c48f9 227 wxPyEndAllowThreads(__tstate);
4dfaa61e 228 if (PyErr_Occurred()) return NULL;
ab2208b5
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 }
9a74fcaf
RD
236{
237 if (_obj6)
238 delete _arg6;
239}
56f5d962
RD
240 return _resultobj;
241}
242
aa2a5b86
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{
474c48f9 254 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 255 _result = (wxControl *)new_wxPreControl();
aa2a5b86 256
474c48f9 257 wxPyEndAllowThreads(__tstate);
aa2a5b86
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;
9a74fcaf 280 wxString * _arg7 = (wxString *) &wxPyControlNameStr;
aa2a5b86
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;
9a74fcaf 288 PyObject * _obj7 = 0;
aa2a5b86
RD
289 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
290
291 self = self;
9a74fcaf 292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOO:wxControl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
aa2a5b86
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) {
b67a9327 321 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
aa2a5b86
RD
322 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
323 return NULL;
324 }
325 }
9a74fcaf
RD
326 if (_obj7)
327{
328 _arg7 = wxString_in_helper(_obj7);
329 if (_arg7 == NULL)
330 return NULL;
331}
aa2a5b86 332{
474c48f9 333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 334 _result = (bool )wxControl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
aa2a5b86 335
474c48f9 336 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
337 if (PyErr_Occurred()) return NULL;
338} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
339{
340 if (_obj7)
341 delete _arg7;
342}
aa2a5b86
RD
343 return _resultobj;
344}
345
56f5d962
RD
346#define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
347static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
348 PyObject * _resultobj;
349 wxControl * _arg0;
350 wxCommandEvent * _arg1;
351 PyObject * _argo0 = 0;
352 PyObject * _argo1 = 0;
353 char *_kwnames[] = { "self","event", NULL };
354
355 self = self;
356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1))
357 return NULL;
358 if (_argo0) {
359 if (_argo0 == Py_None) { _arg0 = NULL; }
360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
362 return NULL;
363 }
364 }
365 if (_argo1) {
b67a9327 366 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
56f5d962
RD
367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
368 return NULL;
369 }
370 }
371{
474c48f9 372 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 373 wxControl_Command(_arg0,*_arg1);
56f5d962 374
474c48f9 375 wxPyEndAllowThreads(__tstate);
4dfaa61e 376 if (PyErr_Occurred()) return NULL;
56f5d962
RD
377} Py_INCREF(Py_None);
378 _resultobj = Py_None;
379 return _resultobj;
380}
381
70551f47 382#define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
107e4716 383static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
384 PyObject * _resultobj;
385 wxString * _result;
386 wxControl * _arg0;
2d091820 387 PyObject * _argo0 = 0;
107e4716 388 char *_kwnames[] = { "self", NULL };
70551f47
RD
389
390 self = self;
107e4716 391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
70551f47 392 return NULL;
2d091820
RD
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
70551f47
RD
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
397 return NULL;
398 }
399 }
70551f47 400{
474c48f9 401 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 402 _result = new wxString (wxControl_GetLabel(_arg0));
ab9bc19b 403
474c48f9 404 wxPyEndAllowThreads(__tstate);
4dfaa61e 405 if (PyErr_Occurred()) return NULL;
ab9bc19b 406}{
c8bc7bb8 407#if wxUSE_UNICODE
b67a9327 408 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 409#else
e02c03a4 410 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 411#endif
70551f47
RD
412}
413{
414 delete _result;
415}
416 return _resultobj;
417}
418
419#define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
107e4716 420static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
421 PyObject * _resultobj;
422 wxControl * _arg0;
423 wxString * _arg1;
2d091820 424 PyObject * _argo0 = 0;
70551f47 425 PyObject * _obj1 = 0;
107e4716 426 char *_kwnames[] = { "self","label", NULL };
70551f47
RD
427
428 self = self;
107e4716 429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
70551f47 430 return NULL;
2d091820
RD
431 if (_argo0) {
432 if (_argo0 == Py_None) { _arg0 = NULL; }
433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
70551f47
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)
70551f47 441 return NULL;
70551f47 442}
ab9bc19b 443{
474c48f9 444 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 445 wxControl_SetLabel(_arg0,*_arg1);
ab9bc19b 446
474c48f9 447 wxPyEndAllowThreads(__tstate);
4dfaa61e 448 if (PyErr_Occurred()) return NULL;
ab9bc19b 449} Py_INCREF(Py_None);
70551f47
RD
450 _resultobj = Py_None;
451{
452 if (_obj1)
453 delete _arg1;
454}
455 return _resultobj;
456}
457
65191ae8
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{
474c48f9 509 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 510 wxControlWithItems_Delete(_arg0,_arg1);
65191ae8 511
474c48f9 512 wxPyEndAllowThreads(__tstate);
65191ae8
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{
474c48f9 538 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 539 _result = (int )wxControlWithItems_GetCount(_arg0);
65191ae8 540
474c48f9 541 wxPyEndAllowThreads(__tstate);
65191ae8
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{
474c48f9 567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 568 _result = new wxString (wxControlWithItems_GetString(_arg0,_arg1));
65191ae8 569
474c48f9 570 wxPyEndAllowThreads(__tstate);
65191ae8
RD
571 if (PyErr_Occurred()) return NULL;
572}{
c8bc7bb8 573#if wxUSE_UNICODE
b67a9327 574 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 575#else
65191ae8 576 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 577#endif
65191ae8
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)
65191ae8 608 return NULL;
65191ae8
RD
609}
610{
474c48f9 611 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 612 wxControlWithItems_SetString(_arg0,_arg1,*_arg2);
65191ae8 613
474c48f9 614 wxPyEndAllowThreads(__tstate);
65191ae8
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)
65191ae8 648 return NULL;
65191ae8
RD
649}
650{
474c48f9 651 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 652 _result = (int )wxControlWithItems_FindString(_arg0,*_arg1);
65191ae8 653
474c48f9 654 wxPyEndAllowThreads(__tstate);
65191ae8
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{
474c48f9 683 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 684 wxControlWithItems_Select(_arg0,_arg1);
65191ae8 685
474c48f9 686 wxPyEndAllowThreads(__tstate);
65191ae8
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{
474c48f9 712 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 713 _result = (int )wxControlWithItems_GetSelection(_arg0);
65191ae8 714
474c48f9 715 wxPyEndAllowThreads(__tstate);
65191ae8
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{
474c48f9 740 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 741 _result = new wxString (wxControlWithItems_GetStringSelection(_arg0));
65191ae8 742
474c48f9 743 wxPyEndAllowThreads(__tstate);
65191ae8
RD
744 if (PyErr_Occurred()) return NULL;
745}{
c8bc7bb8 746#if wxUSE_UNICODE
b67a9327 747 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 748#else
65191ae8 749 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 750#endif
65191ae8
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)
65191ae8 788 return NULL;
65191ae8
RD
789}
790 if (_obj2)
791{
792 _arg2 = _obj2;
793}
794{
474c48f9 795 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 796 wxControlWithItems_Append(_arg0,*_arg1,_arg2);
65191ae8 797
474c48f9 798 wxPyEndAllowThreads(__tstate);
65191ae8
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{
474c48f9 838 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 839 _result = (PyObject *)wxControlWithItems_GetClientData(_arg0,_arg1);
65191ae8 840
474c48f9 841 wxPyEndAllowThreads(__tstate);
65191ae8
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{
474c48f9 876 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 877 wxControlWithItems_SetClientData(_arg0,_arg1,_arg2);
65191ae8 878
474c48f9 879 wxPyEndAllowThreads(__tstate);
65191ae8
RD
880 if (PyErr_Occurred()) return NULL;
881} Py_INCREF(Py_None);
882 _resultobj = Py_None;
883 return _resultobj;
884}
885
85247b36
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
85247b36 917 PyObject* str = PyObject_Str(item);
c8bc7bb8 918#endif
b67a9327 919 _arg1->Add(Py2wxString(str));
85247b36
RD
920 Py_DECREF(item);
921 Py_DECREF(str);
922 }
923}
924{
925 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 926 wxControlWithItems_AppendItems(_arg0,*_arg1);
85247b36
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
70551f47
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
9df61a29
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
70551f47 971#define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 972static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
973 PyObject * _resultobj;
974 wxButton * _result;
975 wxWindow * _arg0;
976 wxWindowID _arg1;
977 wxString * _arg2;
b68dc582
RD
978 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
979 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 980 long _arg5 = (long ) 0;
b68dc582 981 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 982 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
2d091820 983 PyObject * _argo0 = 0;
70551f47 984 PyObject * _obj2 = 0;
37f6a977
RD
985 wxPoint temp;
986 PyObject * _obj3 = 0;
987 wxSize temp0;
988 PyObject * _obj4 = 0;
2d091820 989 PyObject * _argo6 = 0;
9a74fcaf 990 PyObject * _obj7 = 0;
107e4716 991 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
70551f47
RD
992 char _ptemp[128];
993
994 self = self;
9a74fcaf 995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
70551f47 996 return NULL;
2d091820
RD
997 if (_argo0) {
998 if (_argo0 == Py_None) { _arg0 = NULL; }
999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
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)
70551f47 1007 return NULL;
70551f47 1008}
37f6a977
RD
1009 if (_obj3)
1010{
1011 _arg3 = &temp;
1012 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 1013 return NULL;
37f6a977
RD
1014}
1015 if (_obj4)
1016{
1017 _arg4 = &temp0;
1018 if (! wxSize_helper(_obj4, &_arg4))
70551f47 1019 return NULL;
37f6a977 1020}
2d091820 1021 if (_argo6) {
b67a9327 1022 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
1023 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1024 return NULL;
1025 }
1026 }
9a74fcaf
RD
1027 if (_obj7)
1028{
1029 _arg7 = wxString_in_helper(_obj7);
1030 if (_arg7 == NULL)
1031 return NULL;
1032}
ab9bc19b 1033{
474c48f9 1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 1035 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
ab9bc19b 1036
474c48f9 1037 wxPyEndAllowThreads(__tstate);
4dfaa61e 1038 if (PyErr_Occurred()) return NULL;
2d091820
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 }
70551f47
RD
1046{
1047 if (_obj2)
1048 delete _arg2;
9a74fcaf
RD
1049}
1050{
1051 if (_obj7)
1052 delete _arg7;
70551f47
RD
1053}
1054 return _resultobj;
1055}
1056
aa2a5b86
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{
474c48f9 1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1069 _result = (wxButton *)new_wxPreButton();
aa2a5b86 1070
474c48f9 1071 wxPyEndAllowThreads(__tstate);
aa2a5b86
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;
9a74fcaf 1095 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
aa2a5b86
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;
9a74fcaf 1104 PyObject * _obj8 = 0;
aa2a5b86
RD
1105 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
1106
1107 self = self;
9a74fcaf 1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
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)
aa2a5b86 1127 return NULL;
aa2a5b86
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) {
b67a9327 1142 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
1143 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1144 return NULL;
1145 }
1146 }
9a74fcaf
RD
1147 if (_obj8)
1148{
1149 _arg8 = wxString_in_helper(_obj8);
1150 if (_arg8 == NULL)
1151 return NULL;
1152}
aa2a5b86 1153{
474c48f9 1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 1155 _result = (bool )wxButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
aa2a5b86 1156
474c48f9 1157 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
1158 if (PyErr_Occurred()) return NULL;
1159} _resultobj = Py_BuildValue("i",_result);
1160{
1161 if (_obj3)
1162 delete _arg3;
9a74fcaf
RD
1163}
1164{
1165 if (_obj8)
1166 delete _arg8;
aa2a5b86
RD
1167}
1168 return _resultobj;
1169}
1170
70551f47 1171#define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
107e4716 1172static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1173 PyObject * _resultobj;
1174 wxButton * _arg0;
2d091820 1175 PyObject * _argo0 = 0;
107e4716 1176 char *_kwnames[] = { "self", NULL };
70551f47
RD
1177
1178 self = self;
107e4716 1179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
70551f47 1180 return NULL;
2d091820
RD
1181 if (_argo0) {
1182 if (_argo0 == Py_None) { _arg0 = NULL; }
1183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
70551f47
RD
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1185 return NULL;
1186 }
1187 }
ab9bc19b 1188{
474c48f9 1189 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1190 wxButton_SetDefault(_arg0);
ab9bc19b 1191
474c48f9 1192 wxPyEndAllowThreads(__tstate);
4dfaa61e 1193 if (PyErr_Occurred()) return NULL;
ab9bc19b 1194} Py_INCREF(Py_None);
70551f47
RD
1195 _resultobj = Py_None;
1196 return _resultobj;
1197}
1198
ab2208b5
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;
ab2208b5
RD
1207 char *_kwnames[] = { "self","colour", NULL };
1208
1209 self = self;
f6bcfd97 1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
ab2208b5
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))
ab2208b5 1222 return NULL;
f6bcfd97 1223}
ab2208b5 1224{
474c48f9 1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1226 wxButton_SetBackgroundColour(_arg0,*_arg1);
ab2208b5 1227
474c48f9 1228 wxPyEndAllowThreads(__tstate);
4dfaa61e 1229 if (PyErr_Occurred()) return NULL;
ab2208b5
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;
ab2208b5
RD
1243 char *_kwnames[] = { "self","colour", NULL };
1244
1245 self = self;
f6bcfd97 1246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
ab2208b5
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))
ab2208b5 1258 return NULL;
f6bcfd97 1259}
ab2208b5 1260{
474c48f9 1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1262 wxButton_SetForegroundColour(_arg0,*_arg1);
ab2208b5 1263
474c48f9 1264 wxPyEndAllowThreads(__tstate);
4dfaa61e 1265 if (PyErr_Occurred()) return NULL;
ab2208b5
RD
1266} Py_INCREF(Py_None);
1267 _resultobj = Py_None;
1268 return _resultobj;
1269}
1270
aa2a5b86
RD
1271static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject * _resultobj;
1273 wxSize * _result;
1274 char *_kwnames[] = { NULL };
1275 char _ptemp[128];
1276
1277 self = self;
1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames))
1279 return NULL;
1280{
474c48f9 1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1282 _result = new wxSize (wxButton::GetDefaultSize());
aa2a5b86 1283
474c48f9 1284 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
1285 if (PyErr_Occurred()) return NULL;
1286} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1287 _resultobj = Py_BuildValue("s",_ptemp);
1288 return _resultobj;
1289}
1290
1291static void *SwigwxBitmapButtonTowxButton(void *ptr) {
1292 wxBitmapButton *src;
1293 wxButton *dest;
1294 src = (wxBitmapButton *) ptr;
1295 dest = (wxButton *) src;
1296 return (void *) dest;
1297}
1298
1299static void *SwigwxBitmapButtonTowxControl(void *ptr) {
1300 wxBitmapButton *src;
1301 wxControl *dest;
1302 src = (wxBitmapButton *) ptr;
1303 dest = (wxControl *) src;
1304 return (void *) dest;
1305}
1306
1307static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
1308 wxBitmapButton *src;
1309 wxWindow *dest;
1310 src = (wxBitmapButton *) ptr;
1311 dest = (wxWindow *) src;
1312 return (void *) dest;
1313}
1314
1315static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
1316 wxBitmapButton *src;
1317 wxEvtHandler *dest;
1318 src = (wxBitmapButton *) ptr;
1319 dest = (wxEvtHandler *) src;
1320 return (void *) dest;
1321}
1322
1323static void *SwigwxBitmapButtonTowxObject(void *ptr) {
1324 wxBitmapButton *src;
1325 wxObject *dest;
1326 src = (wxBitmapButton *) ptr;
1327 dest = (wxObject *) src;
9df61a29
RD
1328 return (void *) dest;
1329}
1330
70551f47 1331#define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 1332static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1333 PyObject * _resultobj;
1334 wxBitmapButton * _result;
1335 wxWindow * _arg0;
1336 wxWindowID _arg1;
1337 wxBitmap * _arg2;
b68dc582
RD
1338 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1339 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 1340 long _arg5 = (long ) wxBU_AUTODRAW;
b68dc582 1341 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 1342 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
2d091820
RD
1343 PyObject * _argo0 = 0;
1344 PyObject * _argo2 = 0;
37f6a977
RD
1345 wxPoint temp;
1346 PyObject * _obj3 = 0;
1347 wxSize temp0;
1348 PyObject * _obj4 = 0;
2d091820 1349 PyObject * _argo6 = 0;
9a74fcaf 1350 PyObject * _obj7 = 0;
107e4716 1351 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
70551f47
RD
1352 char _ptemp[128];
1353
1354 self = self;
9a74fcaf 1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
70551f47 1356 return NULL;
2d091820
RD
1357 if (_argo0) {
1358 if (_argo0 == Py_None) { _arg0 = NULL; }
1359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1361 return NULL;
1362 }
1363 }
2d091820 1364 if (_argo2) {
b67a9327 1365 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
70551f47
RD
1366 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1367 return NULL;
1368 }
1369 }
37f6a977
RD
1370 if (_obj3)
1371{
1372 _arg3 = &temp;
1373 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 1374 return NULL;
37f6a977
RD
1375}
1376 if (_obj4)
1377{
1378 _arg4 = &temp0;
1379 if (! wxSize_helper(_obj4, &_arg4))
70551f47 1380 return NULL;
37f6a977 1381}
2d091820 1382 if (_argo6) {
b67a9327 1383 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
1384 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1385 return NULL;
1386 }
1387 }
9a74fcaf
RD
1388 if (_obj7)
1389{
1390 _arg7 = wxString_in_helper(_obj7);
1391 if (_arg7 == NULL)
1392 return NULL;
1393}
ab9bc19b 1394{
474c48f9 1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 1396 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
ab9bc19b 1397
474c48f9 1398 wxPyEndAllowThreads(__tstate);
4dfaa61e 1399 if (PyErr_Occurred()) return NULL;
2d091820
RD
1400} if (_result) {
1401 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1402 _resultobj = Py_BuildValue("s",_ptemp);
1403 } else {
1404 Py_INCREF(Py_None);
1405 _resultobj = Py_None;
1406 }
9a74fcaf
RD
1407{
1408 if (_obj7)
1409 delete _arg7;
1410}
70551f47
RD
1411 return _resultobj;
1412}
1413
aa2a5b86
RD
1414#define new_wxPreBitmapButton() (new wxBitmapButton())
1415static PyObject *_wrap_new_wxPreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1416 PyObject * _resultobj;
1417 wxBitmapButton * _result;
1418 char *_kwnames[] = { NULL };
1419 char _ptemp[128];
1420
1421 self = self;
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreBitmapButton",_kwnames))
1423 return NULL;
1424{
474c48f9 1425 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1426 _result = (wxBitmapButton *)new_wxPreBitmapButton();
aa2a5b86 1427
474c48f9 1428 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
1429 if (PyErr_Occurred()) return NULL;
1430} if (_result) {
1431 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1432 _resultobj = Py_BuildValue("s",_ptemp);
1433 } else {
1434 Py_INCREF(Py_None);
1435 _resultobj = Py_None;
1436 }
1437 return _resultobj;
1438}
1439
1440#define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1441static PyObject *_wrap_wxBitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1442 PyObject * _resultobj;
1443 bool _result;
1444 wxBitmapButton * _arg0;
1445 wxWindow * _arg1;
1446 wxWindowID _arg2;
1447 wxBitmap * _arg3;
1448 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1449 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1450 long _arg6 = (long ) wxBU_AUTODRAW;
1451 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 1452 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
aa2a5b86
RD
1453 PyObject * _argo0 = 0;
1454 PyObject * _argo1 = 0;
1455 PyObject * _argo3 = 0;
1456 wxPoint temp;
1457 PyObject * _obj4 = 0;
1458 wxSize temp0;
1459 PyObject * _obj5 = 0;
1460 PyObject * _argo7 = 0;
9a74fcaf 1461 PyObject * _obj8 = 0;
aa2a5b86
RD
1462 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL };
1463
1464 self = self;
9a74fcaf 1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
1466 return NULL;
1467 if (_argo0) {
1468 if (_argo0 == Py_None) { _arg0 = NULL; }
1469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1471 return NULL;
1472 }
1473 }
1474 if (_argo1) {
1475 if (_argo1 == Py_None) { _arg1 = NULL; }
1476 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1478 return NULL;
1479 }
1480 }
1481 if (_argo3) {
b67a9327 1482 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
aa2a5b86
RD
1483 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1484 return NULL;
1485 }
1486 }
1487 if (_obj4)
1488{
1489 _arg4 = &temp;
1490 if (! wxPoint_helper(_obj4, &_arg4))
1491 return NULL;
1492}
1493 if (_obj5)
1494{
1495 _arg5 = &temp0;
1496 if (! wxSize_helper(_obj5, &_arg5))
1497 return NULL;
1498}
1499 if (_argo7) {
b67a9327 1500 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
1501 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1502 return NULL;
1503 }
1504 }
9a74fcaf
RD
1505 if (_obj8)
1506{
1507 _arg8 = wxString_in_helper(_obj8);
1508 if (_arg8 == NULL)
1509 return NULL;
1510}
aa2a5b86 1511{
474c48f9 1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 1513 _result = (bool )wxBitmapButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
aa2a5b86 1514
474c48f9 1515 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
1516 if (PyErr_Occurred()) return NULL;
1517} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
1518{
1519 if (_obj8)
1520 delete _arg8;
1521}
aa2a5b86
RD
1522 return _resultobj;
1523}
1524
70551f47 1525#define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
107e4716 1526static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1527 PyObject * _resultobj;
1528 wxBitmap * _result;
1529 wxBitmapButton * _arg0;
2d091820 1530 PyObject * _argo0 = 0;
107e4716 1531 char *_kwnames[] = { "self", NULL };
70551f47
RD
1532 char _ptemp[128];
1533
1534 self = self;
107e4716 1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
70551f47 1536 return NULL;
2d091820
RD
1537 if (_argo0) {
1538 if (_argo0 == Py_None) { _arg0 = NULL; }
1539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
70551f47
RD
1540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1541 return NULL;
1542 }
1543 }
ab9bc19b 1544{
474c48f9 1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1546 _result = new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0));
ab9bc19b 1547
474c48f9 1548 wxPyEndAllowThreads(__tstate);
4dfaa61e 1549 if (PyErr_Occurred()) return NULL;
3e212503
RD
1550} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1551 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
1552 return _resultobj;
1553}
1554
c95e68d8 1555#define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
107e4716 1556static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1557 PyObject * _resultobj;
1558 wxBitmap * _result;
1559 wxBitmapButton * _arg0;
2d091820 1560 PyObject * _argo0 = 0;
107e4716 1561 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1562 char _ptemp[128];
1563
1564 self = self;
107e4716 1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
c95e68d8 1566 return NULL;
2d091820
RD
1567 if (_argo0) {
1568 if (_argo0 == Py_None) { _arg0 = NULL; }
1569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1571 return NULL;
1572 }
1573 }
ab9bc19b 1574{
474c48f9 1575 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1576 _result = new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0));
ab9bc19b 1577
474c48f9 1578 wxPyEndAllowThreads(__tstate);
4dfaa61e 1579 if (PyErr_Occurred()) return NULL;
3e212503
RD
1580} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1581 _resultobj = Py_BuildValue("s",_ptemp);
c95e68d8
RD
1582 return _resultobj;
1583}
1584
1585#define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
107e4716 1586static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1587 PyObject * _resultobj;
1588 wxBitmap * _result;
1589 wxBitmapButton * _arg0;
2d091820 1590 PyObject * _argo0 = 0;
107e4716 1591 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1592 char _ptemp[128];
1593
1594 self = self;
107e4716 1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0))
c95e68d8 1596 return NULL;
2d091820
RD
1597 if (_argo0) {
1598 if (_argo0 == Py_None) { _arg0 = NULL; }
1599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1601 return NULL;
1602 }
1603 }
ab9bc19b 1604{
474c48f9 1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1606 _result = new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0));
ab9bc19b 1607
474c48f9 1608 wxPyEndAllowThreads(__tstate);
4dfaa61e 1609 if (PyErr_Occurred()) return NULL;
3e212503
RD
1610} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1611 _resultobj = Py_BuildValue("s",_ptemp);
c95e68d8
RD
1612 return _resultobj;
1613}
1614
1615#define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
107e4716 1616static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1617 PyObject * _resultobj;
1618 wxBitmap * _result;
1619 wxBitmapButton * _arg0;
2d091820 1620 PyObject * _argo0 = 0;
107e4716 1621 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
1622 char _ptemp[128];
1623
1624 self = self;
107e4716 1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
c95e68d8 1626 return NULL;
2d091820
RD
1627 if (_argo0) {
1628 if (_argo0 == Py_None) { _arg0 = NULL; }
1629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1631 return NULL;
1632 }
1633 }
ab9bc19b 1634{
474c48f9 1635 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1636 _result = new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0));
ab9bc19b 1637
474c48f9 1638 wxPyEndAllowThreads(__tstate);
4dfaa61e 1639 if (PyErr_Occurred()) return NULL;
3e212503
RD
1640} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1641 _resultobj = Py_BuildValue("s",_ptemp);
c95e68d8
RD
1642 return _resultobj;
1643}
1644
1645#define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
107e4716 1646static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1647 PyObject * _resultobj;
1648 wxBitmapButton * _arg0;
1649 wxBitmap * _arg1;
2d091820
RD
1650 PyObject * _argo0 = 0;
1651 PyObject * _argo1 = 0;
107e4716 1652 char *_kwnames[] = { "self","bitmap", NULL };
c95e68d8
RD
1653
1654 self = self;
107e4716 1655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
c95e68d8 1656 return NULL;
2d091820
RD
1657 if (_argo0) {
1658 if (_argo0 == Py_None) { _arg0 = NULL; }
1659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1661 return NULL;
1662 }
1663 }
2d091820 1664 if (_argo1) {
b67a9327 1665 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
c95e68d8
RD
1666 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1667 return NULL;
1668 }
1669 }
ab9bc19b 1670{
474c48f9 1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1672 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
ab9bc19b 1673
474c48f9 1674 wxPyEndAllowThreads(__tstate);
4dfaa61e 1675 if (PyErr_Occurred()) return NULL;
ab9bc19b 1676} Py_INCREF(Py_None);
c95e68d8
RD
1677 _resultobj = Py_None;
1678 return _resultobj;
1679}
1680
1681#define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
107e4716 1682static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1683 PyObject * _resultobj;
1684 wxBitmapButton * _arg0;
1685 wxBitmap * _arg1;
2d091820
RD
1686 PyObject * _argo0 = 0;
1687 PyObject * _argo1 = 0;
107e4716 1688 char *_kwnames[] = { "self","bitmap", NULL };
c95e68d8
RD
1689
1690 self = self;
107e4716 1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
c95e68d8 1692 return NULL;
2d091820
RD
1693 if (_argo0) {
1694 if (_argo0 == Py_None) { _arg0 = NULL; }
1695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1697 return NULL;
1698 }
1699 }
2d091820 1700 if (_argo1) {
b67a9327 1701 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
c95e68d8
RD
1702 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1703 return NULL;
1704 }
1705 }
ab9bc19b 1706{
474c48f9 1707 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1708 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
ab9bc19b 1709
474c48f9 1710 wxPyEndAllowThreads(__tstate);
4dfaa61e 1711 if (PyErr_Occurred()) return NULL;
ab9bc19b 1712} Py_INCREF(Py_None);
c95e68d8
RD
1713 _resultobj = Py_None;
1714 return _resultobj;
1715}
1716
1717#define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
107e4716 1718static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
1719 PyObject * _resultobj;
1720 wxBitmapButton * _arg0;
1721 wxBitmap * _arg1;
2d091820
RD
1722 PyObject * _argo0 = 0;
1723 PyObject * _argo1 = 0;
107e4716 1724 char *_kwnames[] = { "self","bitmap", NULL };
c95e68d8
RD
1725
1726 self = self;
107e4716 1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
c95e68d8 1728 return NULL;
2d091820
RD
1729 if (_argo0) {
1730 if (_argo0 == Py_None) { _arg0 = NULL; }
1731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
c95e68d8
RD
1732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1733 return NULL;
1734 }
1735 }
2d091820 1736 if (_argo1) {
b67a9327 1737 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
c95e68d8
RD
1738 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1739 return NULL;
1740 }
1741 }
ab9bc19b 1742{
474c48f9 1743 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1744 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
ab9bc19b 1745
474c48f9 1746 wxPyEndAllowThreads(__tstate);
4dfaa61e 1747 if (PyErr_Occurred()) return NULL;
ab9bc19b 1748} Py_INCREF(Py_None);
c95e68d8
RD
1749 _resultobj = Py_None;
1750 return _resultobj;
1751}
1752
70551f47 1753#define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
107e4716 1754static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1755 PyObject * _resultobj;
1756 wxBitmapButton * _arg0;
1757 wxBitmap * _arg1;
2d091820
RD
1758 PyObject * _argo0 = 0;
1759 PyObject * _argo1 = 0;
107e4716 1760 char *_kwnames[] = { "self","bitmap", NULL };
70551f47
RD
1761
1762 self = self;
107e4716 1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
70551f47 1764 return NULL;
2d091820
RD
1765 if (_argo0) {
1766 if (_argo0 == Py_None) { _arg0 = NULL; }
1767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
70551f47
RD
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1769 return NULL;
1770 }
1771 }
2d091820 1772 if (_argo1) {
b67a9327 1773 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
70551f47
RD
1774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1775 return NULL;
1776 }
1777 }
ab9bc19b 1778{
474c48f9 1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1780 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
ab9bc19b 1781
474c48f9 1782 wxPyEndAllowThreads(__tstate);
4dfaa61e 1783 if (PyErr_Occurred()) return NULL;
ab9bc19b 1784} Py_INCREF(Py_None);
70551f47
RD
1785 _resultobj = Py_None;
1786 return _resultobj;
1787}
1788
f6bcfd97
BP
1789#define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1790static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1791 PyObject * _resultobj;
1792 wxBitmapButton * _arg0;
1793 int _arg1;
1794 int _arg2;
1795 PyObject * _argo0 = 0;
1796 char *_kwnames[] = { "self","x","y", NULL };
1797
1798 self = self;
1799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1800 return NULL;
1801 if (_argo0) {
1802 if (_argo0 == Py_None) { _arg0 = NULL; }
1803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1805 return NULL;
1806 }
1807 }
1808{
474c48f9 1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1810 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
f6bcfd97 1811
474c48f9 1812 wxPyEndAllowThreads(__tstate);
4dfaa61e 1813 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1814} Py_INCREF(Py_None);
1815 _resultobj = Py_None;
1816 return _resultobj;
1817}
1818
1819#define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1820static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1821 PyObject * _resultobj;
1822 int _result;
1823 wxBitmapButton * _arg0;
1824 PyObject * _argo0 = 0;
1825 char *_kwnames[] = { "self", NULL };
1826
1827 self = self;
1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0))
1829 return NULL;
1830 if (_argo0) {
1831 if (_argo0 == Py_None) { _arg0 = NULL; }
1832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1834 return NULL;
1835 }
1836 }
1837{
474c48f9 1838 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1839 _result = (int )wxBitmapButton_GetMarginX(_arg0);
f6bcfd97 1840
474c48f9 1841 wxPyEndAllowThreads(__tstate);
4dfaa61e 1842 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1843} _resultobj = Py_BuildValue("i",_result);
1844 return _resultobj;
1845}
1846
1847#define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1848static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject * _resultobj;
1850 int _result;
1851 wxBitmapButton * _arg0;
1852 PyObject * _argo0 = 0;
1853 char *_kwnames[] = { "self", NULL };
1854
1855 self = self;
1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0))
1857 return NULL;
1858 if (_argo0) {
1859 if (_argo0 == Py_None) { _arg0 = NULL; }
1860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1862 return NULL;
1863 }
1864 }
1865{
474c48f9 1866 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 1867 _result = (int )wxBitmapButton_GetMarginY(_arg0);
f6bcfd97 1868
474c48f9 1869 wxPyEndAllowThreads(__tstate);
4dfaa61e 1870 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
1871} _resultobj = Py_BuildValue("i",_result);
1872 return _resultobj;
1873}
1874
70551f47
RD
1875static void *SwigwxCheckBoxTowxControl(void *ptr) {
1876 wxCheckBox *src;
1877 wxControl *dest;
1878 src = (wxCheckBox *) ptr;
1879 dest = (wxControl *) src;
1880 return (void *) dest;
1881}
1882
1883static void *SwigwxCheckBoxTowxWindow(void *ptr) {
1884 wxCheckBox *src;
1885 wxWindow *dest;
1886 src = (wxCheckBox *) ptr;
1887 dest = (wxWindow *) src;
1888 return (void *) dest;
1889}
1890
1891static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
1892 wxCheckBox *src;
1893 wxEvtHandler *dest;
1894 src = (wxCheckBox *) ptr;
1895 dest = (wxEvtHandler *) src;
1896 return (void *) dest;
1897}
1898
9df61a29
RD
1899static void *SwigwxCheckBoxTowxObject(void *ptr) {
1900 wxCheckBox *src;
1901 wxObject *dest;
1902 src = (wxCheckBox *) ptr;
1903 dest = (wxObject *) src;
1904 return (void *) dest;
1905}
1906
70551f47 1907#define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 1908static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
1909 PyObject * _resultobj;
1910 wxCheckBox * _result;
1911 wxWindow * _arg0;
1912 wxWindowID _arg1;
1913 wxString * _arg2;
b68dc582
RD
1914 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1915 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 1916 long _arg5 = (long ) 0;
b68dc582 1917 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 1918 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
2d091820 1919 PyObject * _argo0 = 0;
70551f47 1920 PyObject * _obj2 = 0;
37f6a977
RD
1921 wxPoint temp;
1922 PyObject * _obj3 = 0;
1923 wxSize temp0;
1924 PyObject * _obj4 = 0;
2d091820 1925 PyObject * _argo6 = 0;
9a74fcaf 1926 PyObject * _obj7 = 0;
1fded56b 1927 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
70551f47
RD
1928 char _ptemp[128];
1929
1930 self = self;
9a74fcaf 1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
70551f47 1932 return NULL;
2d091820
RD
1933 if (_argo0) {
1934 if (_argo0 == Py_None) { _arg0 = NULL; }
1935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
1936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1937 return NULL;
1938 }
1939 }
1940{
c8bc7bb8
RD
1941 _arg2 = wxString_in_helper(_obj2);
1942 if (_arg2 == NULL)
70551f47 1943 return NULL;
70551f47 1944}
37f6a977
RD
1945 if (_obj3)
1946{
1947 _arg3 = &temp;
1948 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 1949 return NULL;
37f6a977
RD
1950}
1951 if (_obj4)
1952{
1953 _arg4 = &temp0;
1954 if (! wxSize_helper(_obj4, &_arg4))
70551f47 1955 return NULL;
37f6a977 1956}
2d091820 1957 if (_argo6) {
b67a9327 1958 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1960 return NULL;
1961 }
1962 }
9a74fcaf
RD
1963 if (_obj7)
1964{
1965 _arg7 = wxString_in_helper(_obj7);
1966 if (_arg7 == NULL)
1967 return NULL;
1968}
ab9bc19b 1969{
474c48f9 1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 1971 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
ab9bc19b 1972
474c48f9 1973 wxPyEndAllowThreads(__tstate);
4dfaa61e 1974 if (PyErr_Occurred()) return NULL;
2d091820
RD
1975} if (_result) {
1976 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
1977 _resultobj = Py_BuildValue("s",_ptemp);
1978 } else {
1979 Py_INCREF(Py_None);
1980 _resultobj = Py_None;
1981 }
70551f47
RD
1982{
1983 if (_obj2)
1984 delete _arg2;
9a74fcaf
RD
1985}
1986{
1987 if (_obj7)
1988 delete _arg7;
70551f47
RD
1989}
1990 return _resultobj;
1991}
1992
aa2a5b86
RD
1993#define new_wxPreCheckBox() (new wxCheckBox())
1994static PyObject *_wrap_new_wxPreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1995 PyObject * _resultobj;
1996 wxCheckBox * _result;
1997 char *_kwnames[] = { NULL };
1998 char _ptemp[128];
1999
2000 self = self;
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckBox",_kwnames))
2002 return NULL;
2003{
474c48f9 2004 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2005 _result = (wxCheckBox *)new_wxPreCheckBox();
aa2a5b86 2006
474c48f9 2007 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2008 if (PyErr_Occurred()) return NULL;
2009} if (_result) {
2010 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2011 _resultobj = Py_BuildValue("s",_ptemp);
2012 } else {
2013 Py_INCREF(Py_None);
2014 _resultobj = Py_None;
2015 }
2016 return _resultobj;
2017}
2018
2019#define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2020static PyObject *_wrap_wxCheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2021 PyObject * _resultobj;
2022 bool _result;
2023 wxCheckBox * _arg0;
2024 wxWindow * _arg1;
2025 wxWindowID _arg2;
2026 wxString * _arg3;
2027 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2028 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2029 long _arg6 = (long ) 0;
2030 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2031 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
aa2a5b86
RD
2032 PyObject * _argo0 = 0;
2033 PyObject * _argo1 = 0;
2034 PyObject * _obj3 = 0;
2035 wxPoint temp;
2036 PyObject * _obj4 = 0;
2037 wxSize temp0;
2038 PyObject * _obj5 = 0;
2039 PyObject * _argo7 = 0;
9a74fcaf 2040 PyObject * _obj8 = 0;
1fded56b 2041 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
aa2a5b86
RD
2042
2043 self = self;
9a74fcaf 2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxCheckBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
2045 return NULL;
2046 if (_argo0) {
2047 if (_argo0 == Py_None) { _arg0 = NULL; }
2048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2050 return NULL;
2051 }
2052 }
2053 if (_argo1) {
2054 if (_argo1 == Py_None) { _arg1 = NULL; }
2055 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2056 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2057 return NULL;
2058 }
2059 }
2060{
c8bc7bb8
RD
2061 _arg3 = wxString_in_helper(_obj3);
2062 if (_arg3 == NULL)
aa2a5b86 2063 return NULL;
aa2a5b86
RD
2064}
2065 if (_obj4)
2066{
2067 _arg4 = &temp;
2068 if (! wxPoint_helper(_obj4, &_arg4))
2069 return NULL;
2070}
2071 if (_obj5)
2072{
2073 _arg5 = &temp0;
2074 if (! wxSize_helper(_obj5, &_arg5))
2075 return NULL;
2076}
2077 if (_argo7) {
b67a9327 2078 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
2079 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2080 return NULL;
2081 }
2082 }
9a74fcaf
RD
2083 if (_obj8)
2084{
2085 _arg8 = wxString_in_helper(_obj8);
2086 if (_arg8 == NULL)
2087 return NULL;
2088}
aa2a5b86 2089{
474c48f9 2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2091 _result = (bool )wxCheckBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
aa2a5b86 2092
474c48f9 2093 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2094 if (PyErr_Occurred()) return NULL;
2095} _resultobj = Py_BuildValue("i",_result);
2096{
2097 if (_obj3)
2098 delete _arg3;
9a74fcaf
RD
2099}
2100{
2101 if (_obj8)
2102 delete _arg8;
aa2a5b86
RD
2103}
2104 return _resultobj;
2105}
2106
70551f47 2107#define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 2108static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2109 PyObject * _resultobj;
2110 bool _result;
2111 wxCheckBox * _arg0;
2d091820 2112 PyObject * _argo0 = 0;
107e4716 2113 char *_kwnames[] = { "self", NULL };
70551f47
RD
2114
2115 self = self;
107e4716 2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
70551f47 2117 return NULL;
2d091820
RD
2118 if (_argo0) {
2119 if (_argo0 == Py_None) { _arg0 = NULL; }
2120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
70551f47
RD
2121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2122 return NULL;
2123 }
2124 }
ab9bc19b 2125{
474c48f9 2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2127 _result = (bool )wxCheckBox_GetValue(_arg0);
ab9bc19b 2128
474c48f9 2129 wxPyEndAllowThreads(__tstate);
4dfaa61e 2130 if (PyErr_Occurred()) return NULL;
ab9bc19b 2131} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2132 return _resultobj;
2133}
2134
b67a9327
RD
2135#define wxCheckBox_IsChecked(_swigobj) (_swigobj->IsChecked())
2136static PyObject *_wrap_wxCheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject * _resultobj;
2138 bool _result;
2139 wxCheckBox * _arg0;
2140 PyObject * _argo0 = 0;
2141 char *_kwnames[] = { "self", NULL };
2142
2143 self = self;
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_IsChecked",_kwnames,&_argo0))
2145 return NULL;
2146 if (_argo0) {
2147 if (_argo0 == Py_None) { _arg0 = NULL; }
2148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_IsChecked. Expected _wxCheckBox_p.");
2150 return NULL;
2151 }
2152 }
2153{
2154 PyThreadState* __tstate = wxPyBeginAllowThreads();
2155 _result = (bool )wxCheckBox_IsChecked(_arg0);
2156
2157 wxPyEndAllowThreads(__tstate);
2158 if (PyErr_Occurred()) return NULL;
2159} _resultobj = Py_BuildValue("i",_result);
2160 return _resultobj;
2161}
2162
70551f47 2163#define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 2164static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2165 PyObject * _resultobj;
2166 wxCheckBox * _arg0;
2167 bool _arg1;
2d091820 2168 PyObject * _argo0 = 0;
70551f47 2169 int tempbool1;
107e4716 2170 char *_kwnames[] = { "self","state", NULL };
70551f47
RD
2171
2172 self = self;
107e4716 2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
70551f47 2174 return NULL;
2d091820
RD
2175 if (_argo0) {
2176 if (_argo0 == Py_None) { _arg0 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
70551f47
RD
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2179 return NULL;
2180 }
2181 }
2182 _arg1 = (bool ) tempbool1;
ab9bc19b 2183{
474c48f9 2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2185 wxCheckBox_SetValue(_arg0,_arg1);
ab9bc19b 2186
474c48f9 2187 wxPyEndAllowThreads(__tstate);
4dfaa61e 2188 if (PyErr_Occurred()) return NULL;
ab9bc19b 2189} Py_INCREF(Py_None);
70551f47
RD
2190 _resultobj = Py_None;
2191 return _resultobj;
2192}
2193
7ea515ab
RD
2194#define wxCheckBox_Get3StateValue(_swigobj) (_swigobj->Get3StateValue())
2195static PyObject *_wrap_wxCheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2196 PyObject * _resultobj;
2197 wxCheckBoxState _result;
2198 wxCheckBox * _arg0;
2199 PyObject * _argo0 = 0;
2200 char *_kwnames[] = { "self", NULL };
2201
2202 self = self;
2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_Get3StateValue",_kwnames,&_argo0))
2204 return NULL;
2205 if (_argo0) {
2206 if (_argo0 == Py_None) { _arg0 = NULL; }
2207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Get3StateValue. Expected _wxCheckBox_p.");
2209 return NULL;
2210 }
2211 }
2212{
2213 PyThreadState* __tstate = wxPyBeginAllowThreads();
2214 _result = (wxCheckBoxState )wxCheckBox_Get3StateValue(_arg0);
2215
2216 wxPyEndAllowThreads(__tstate);
2217 if (PyErr_Occurred()) return NULL;
2218} _resultobj = Py_BuildValue("i",_result);
2219 return _resultobj;
2220}
2221
2222#define wxCheckBox_Set3StateValue(_swigobj,_swigarg0) (_swigobj->Set3StateValue(_swigarg0))
2223static PyObject *_wrap_wxCheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject * _resultobj;
2225 wxCheckBox * _arg0;
2226 wxCheckBoxState _arg1;
2227 PyObject * _argo0 = 0;
2228 char *_kwnames[] = { "self","state", NULL };
2229
2230 self = self;
2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_Set3StateValue",_kwnames,&_argo0,&_arg1))
2232 return NULL;
2233 if (_argo0) {
2234 if (_argo0 == Py_None) { _arg0 = NULL; }
2235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Set3StateValue. Expected _wxCheckBox_p.");
2237 return NULL;
2238 }
2239 }
2240{
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 wxCheckBox_Set3StateValue(_arg0,_arg1);
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) return NULL;
2246} Py_INCREF(Py_None);
2247 _resultobj = Py_None;
2248 return _resultobj;
2249}
2250
2251#define wxCheckBox_Is3State(_swigobj) (_swigobj->Is3State())
2252static PyObject *_wrap_wxCheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2253 PyObject * _resultobj;
2254 bool _result;
2255 wxCheckBox * _arg0;
2256 PyObject * _argo0 = 0;
2257 char *_kwnames[] = { "self", NULL };
2258
2259 self = self;
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_Is3State",_kwnames,&_argo0))
2261 return NULL;
2262 if (_argo0) {
2263 if (_argo0 == Py_None) { _arg0 = NULL; }
2264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Is3State. Expected _wxCheckBox_p.");
2266 return NULL;
2267 }
2268 }
2269{
2270 PyThreadState* __tstate = wxPyBeginAllowThreads();
2271 _result = (bool )wxCheckBox_Is3State(_arg0);
2272
2273 wxPyEndAllowThreads(__tstate);
2274 if (PyErr_Occurred()) return NULL;
2275} _resultobj = Py_BuildValue("i",_result);
2276 return _resultobj;
2277}
2278
2279#define wxCheckBox_Is3rdStateAllowedForUser(_swigobj) (_swigobj->Is3rdStateAllowedForUser())
2280static PyObject *_wrap_wxCheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2281 PyObject * _resultobj;
2282 bool _result;
2283 wxCheckBox * _arg0;
2284 PyObject * _argo0 = 0;
2285 char *_kwnames[] = { "self", NULL };
2286
2287 self = self;
2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_Is3rdStateAllowedForUser",_kwnames,&_argo0))
2289 return NULL;
2290 if (_argo0) {
2291 if (_argo0 == Py_None) { _arg0 = NULL; }
2292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Is3rdStateAllowedForUser. Expected _wxCheckBox_p.");
2294 return NULL;
2295 }
2296 }
2297{
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 _result = (bool )wxCheckBox_Is3rdStateAllowedForUser(_arg0);
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) return NULL;
2303} _resultobj = Py_BuildValue("i",_result);
2304 return _resultobj;
2305}
2306
65191ae8
RD
2307static void *SwigwxChoiceTowxControlWithItems(void *ptr) {
2308 wxChoice *src;
2309 wxControlWithItems *dest;
2310 src = (wxChoice *) ptr;
2311 dest = (wxControlWithItems *) src;
2312 return (void *) dest;
2313}
2314
70551f47
RD
2315static void *SwigwxChoiceTowxControl(void *ptr) {
2316 wxChoice *src;
2317 wxControl *dest;
2318 src = (wxChoice *) ptr;
2319 dest = (wxControl *) src;
2320 return (void *) dest;
2321}
2322
2323static void *SwigwxChoiceTowxWindow(void *ptr) {
2324 wxChoice *src;
2325 wxWindow *dest;
2326 src = (wxChoice *) ptr;
2327 dest = (wxWindow *) src;
2328 return (void *) dest;
2329}
2330
2331static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
2332 wxChoice *src;
2333 wxEvtHandler *dest;
2334 src = (wxChoice *) ptr;
2335 dest = (wxEvtHandler *) src;
2336 return (void *) dest;
2337}
2338
9df61a29
RD
2339static void *SwigwxChoiceTowxObject(void *ptr) {
2340 wxChoice *src;
2341 wxObject *dest;
2342 src = (wxChoice *) ptr;
2343 dest = (wxObject *) src;
2344 return (void *) dest;
2345}
2346
70551f47 2347#define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
107e4716 2348static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2349 PyObject * _resultobj;
2350 wxChoice * _result;
2351 wxWindow * _arg0;
2352 wxWindowID _arg1;
b68dc582
RD
2353 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2354 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
2355 int _arg4 = (int ) 0;
2356 wxString * _arg5 = (wxString *) NULL;
2357 long _arg6 = (long ) 0;
b68dc582 2358 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2359 wxString * _arg8 = (wxString *) &wxPyChoiceNameStr;
2d091820 2360 PyObject * _argo0 = 0;
37f6a977
RD
2361 wxPoint temp;
2362 PyObject * _obj2 = 0;
2363 wxSize temp0;
2364 PyObject * _obj3 = 0;
70551f47 2365 PyObject * _obj5 = 0;
2d091820 2366 PyObject * _argo7 = 0;
9a74fcaf 2367 PyObject * _obj8 = 0;
e02c03a4 2368 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
70551f47
RD
2369 char _ptemp[128];
2370
2371 self = self;
9a74fcaf 2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
70551f47 2373 return NULL;
2d091820
RD
2374 if (_argo0) {
2375 if (_argo0 == Py_None) { _arg0 = NULL; }
2376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
2377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2378 return NULL;
2379 }
2380 }
37f6a977
RD
2381 if (_obj2)
2382{
2383 _arg2 = &temp;
2384 if (! wxPoint_helper(_obj2, &_arg2))
70551f47 2385 return NULL;
37f6a977
RD
2386}
2387 if (_obj3)
2388{
2389 _arg3 = &temp0;
2390 if (! wxSize_helper(_obj3, &_arg3))
70551f47 2391 return NULL;
37f6a977 2392}
70551f47
RD
2393 if (_obj5)
2394{
2395 _arg5 = wxString_LIST_helper(_obj5);
2396 if (_arg5 == NULL) {
2397 return NULL;
2398 }
2399}
2d091820 2400 if (_argo7) {
b67a9327 2401 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
70551f47
RD
2402 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2403 return NULL;
2404 }
2405 }
9a74fcaf
RD
2406 if (_obj8)
2407{
2408 _arg8 = wxString_in_helper(_obj8);
2409 if (_arg8 == NULL)
2410 return NULL;
2411}
70551f47 2412{
ab9bc19b
RD
2413 if (_obj5) {
2414 _arg4 = PyList_Size(_obj5);
2415 }
2416 else {
2417 _arg4 = 0;
2418 }
70551f47 2419}
ab9bc19b 2420{
474c48f9 2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2422 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
ab9bc19b 2423
474c48f9 2424 wxPyEndAllowThreads(__tstate);
4dfaa61e 2425 if (PyErr_Occurred()) return NULL;
2d091820
RD
2426} if (_result) {
2427 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2428 _resultobj = Py_BuildValue("s",_ptemp);
2429 } else {
2430 Py_INCREF(Py_None);
2431 _resultobj = Py_None;
2432 }
70551f47
RD
2433{
2434 delete [] _arg5;
9a74fcaf
RD
2435}
2436{
2437 if (_obj8)
2438 delete _arg8;
70551f47
RD
2439}
2440 return _resultobj;
2441}
2442
aa2a5b86
RD
2443#define new_wxPreChoice() (new wxChoice())
2444static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2445 PyObject * _resultobj;
aa2a5b86
RD
2446 wxChoice * _result;
2447 char *_kwnames[] = { NULL };
2448 char _ptemp[128];
70551f47
RD
2449
2450 self = self;
aa2a5b86
RD
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
2452 return NULL;
2453{
474c48f9 2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2455 _result = (wxChoice *)new_wxPreChoice();
aa2a5b86 2456
474c48f9 2457 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2458 if (PyErr_Occurred()) return NULL;
2459} if (_result) {
2460 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2461 _resultobj = Py_BuildValue("s",_ptemp);
2462 } else {
2463 Py_INCREF(Py_None);
2464 _resultobj = Py_None;
2465 }
2466 return _resultobj;
2467}
2468
2469#define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2470static PyObject *_wrap_wxChoice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2471 PyObject * _resultobj;
2472 bool _result;
2473 wxChoice * _arg0;
2474 wxWindow * _arg1;
2475 wxWindowID _arg2;
2476 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2477 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2478 int _arg5 = (int ) 0;
2479 wxString * _arg6 = (wxString *) NULL;
2480 long _arg7 = (long ) 0;
2481 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2482 wxString * _arg9 = (wxString *) &wxPyChoiceNameStr;
aa2a5b86
RD
2483 PyObject * _argo0 = 0;
2484 PyObject * _argo1 = 0;
2485 wxPoint temp;
2486 PyObject * _obj3 = 0;
2487 wxSize temp0;
2488 PyObject * _obj4 = 0;
2489 PyObject * _obj6 = 0;
2490 PyObject * _argo8 = 0;
9a74fcaf 2491 PyObject * _obj9 = 0;
aa2a5b86
RD
2492 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
2493
2494 self = self;
9a74fcaf 2495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
aa2a5b86
RD
2496 return NULL;
2497 if (_argo0) {
2498 if (_argo0 == Py_None) { _arg0 = NULL; }
2499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2501 return NULL;
2502 }
2503 }
2504 if (_argo1) {
2505 if (_argo1 == Py_None) { _arg1 = NULL; }
2506 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2507 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2508 return NULL;
2509 }
2510 }
2511 if (_obj3)
2512{
2513 _arg3 = &temp;
2514 if (! wxPoint_helper(_obj3, &_arg3))
2515 return NULL;
2516}
2517 if (_obj4)
2518{
2519 _arg4 = &temp0;
2520 if (! wxSize_helper(_obj4, &_arg4))
2521 return NULL;
2522}
2523 if (_obj6)
2524{
2525 _arg6 = wxString_LIST_helper(_obj6);
2526 if (_arg6 == NULL) {
2527 return NULL;
2528 }
2529}
2530 if (_argo8) {
b67a9327 2531 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
aa2a5b86
RD
2532 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2533 return NULL;
2534 }
2535 }
9a74fcaf
RD
2536 if (_obj9)
2537{
2538 _arg9 = wxString_in_helper(_obj9);
2539 if (_arg9 == NULL)
2540 return NULL;
2541}
aa2a5b86
RD
2542{
2543 if (_obj6) {
65191ae8
RD
2544 _arg5 = PyList_Size(_obj6);
2545 }
2546 else {
2547 _arg5 = 0;
70551f47 2548 }
65191ae8 2549}
70551f47 2550{
474c48f9 2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2552 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
ab9bc19b 2553
474c48f9 2554 wxPyEndAllowThreads(__tstate);
4dfaa61e 2555 if (PyErr_Occurred()) return NULL;
65191ae8 2556} _resultobj = Py_BuildValue("i",_result);
70551f47 2557{
65191ae8 2558 delete [] _arg6;
9a74fcaf
RD
2559}
2560{
2561 if (_obj9)
2562 delete _arg9;
70551f47
RD
2563}
2564 return _resultobj;
2565}
2566
65191ae8
RD
2567#define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2568static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2569 PyObject * _resultobj;
70551f47 2570 wxChoice * _arg0;
2d091820 2571 PyObject * _argo0 = 0;
107e4716 2572 char *_kwnames[] = { "self", NULL };
70551f47
RD
2573
2574 self = self;
65191ae8 2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
70551f47 2576 return NULL;
2d091820
RD
2577 if (_argo0) {
2578 if (_argo0 == Py_None) { _arg0 = NULL; }
2579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
65191ae8 2580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
70551f47
RD
2581 return NULL;
2582 }
2583 }
70551f47 2584{
474c48f9 2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2586 wxChoice_Clear(_arg0);
ab9bc19b 2587
474c48f9 2588 wxPyEndAllowThreads(__tstate);
4dfaa61e 2589 if (PyErr_Occurred()) return NULL;
65191ae8
RD
2590} Py_INCREF(Py_None);
2591 _resultobj = Py_None;
70551f47
RD
2592 return _resultobj;
2593}
2594
65191ae8
RD
2595#define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2596static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2597 PyObject * _resultobj;
2598 int _result;
2599 wxChoice * _arg0;
2d091820 2600 PyObject * _argo0 = 0;
107e4716 2601 char *_kwnames[] = { "self", NULL };
70551f47
RD
2602
2603 self = self;
65191ae8 2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
70551f47 2605 return NULL;
2d091820
RD
2606 if (_argo0) {
2607 if (_argo0 == Py_None) { _arg0 = NULL; }
2608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
65191ae8 2609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
70551f47
RD
2610 return NULL;
2611 }
2612 }
ab9bc19b 2613{
474c48f9 2614 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2615 _result = (int )wxChoice_GetColumns(_arg0);
ab9bc19b 2616
474c48f9 2617 wxPyEndAllowThreads(__tstate);
4dfaa61e 2618 if (PyErr_Occurred()) return NULL;
ab9bc19b 2619} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2620 return _resultobj;
2621}
2622
2623#define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
107e4716 2624static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2625 PyObject * _resultobj;
2626 wxChoice * _arg0;
2d091820
RD
2627 int _arg1 = (int ) 1;
2628 PyObject * _argo0 = 0;
107e4716 2629 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2630
2631 self = self;
107e4716 2632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
70551f47 2633 return NULL;
2d091820
RD
2634 if (_argo0) {
2635 if (_argo0 == Py_None) { _arg0 = NULL; }
2636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2638 return NULL;
2639 }
2640 }
ab9bc19b 2641{
474c48f9 2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2643 wxChoice_SetColumns(_arg0,_arg1);
ab9bc19b 2644
474c48f9 2645 wxPyEndAllowThreads(__tstate);
4dfaa61e 2646 if (PyErr_Occurred()) return NULL;
ab9bc19b 2647} Py_INCREF(Py_None);
70551f47
RD
2648 _resultobj = Py_None;
2649 return _resultobj;
2650}
2651
2652#define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 2653static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2654 PyObject * _resultobj;
2655 wxChoice * _arg0;
2656 int _arg1;
2d091820 2657 PyObject * _argo0 = 0;
107e4716 2658 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2659
2660 self = self;
107e4716 2661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 2662 return NULL;
2d091820
RD
2663 if (_argo0) {
2664 if (_argo0 == Py_None) { _arg0 = NULL; }
2665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2667 return NULL;
2668 }
2669 }
ab9bc19b 2670{
474c48f9 2671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2672 wxChoice_SetSelection(_arg0,_arg1);
ab9bc19b 2673
474c48f9 2674 wxPyEndAllowThreads(__tstate);
4dfaa61e 2675 if (PyErr_Occurred()) return NULL;
ab9bc19b 2676} Py_INCREF(Py_None);
70551f47
RD
2677 _resultobj = Py_None;
2678 return _resultobj;
2679}
2680
2681#define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
107e4716 2682static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2683 PyObject * _resultobj;
2684 wxChoice * _arg0;
2685 wxString * _arg1;
2d091820 2686 PyObject * _argo0 = 0;
70551f47 2687 PyObject * _obj1 = 0;
107e4716 2688 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
2689
2690 self = self;
107e4716 2691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
70551f47 2692 return NULL;
2d091820
RD
2693 if (_argo0) {
2694 if (_argo0 == Py_None) { _arg0 = NULL; }
2695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2697 return NULL;
2698 }
2699 }
2700{
c8bc7bb8
RD
2701 _arg1 = wxString_in_helper(_obj1);
2702 if (_arg1 == NULL)
2cd2fac8 2703 return NULL;
70551f47 2704}
ab9bc19b 2705{
474c48f9 2706 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2707 wxChoice_SetStringSelection(_arg0,*_arg1);
ab9bc19b 2708
474c48f9 2709 wxPyEndAllowThreads(__tstate);
4dfaa61e 2710 if (PyErr_Occurred()) return NULL;
ab9bc19b 2711} Py_INCREF(Py_None);
70551f47
RD
2712 _resultobj = Py_None;
2713{
2714 if (_obj1)
2715 delete _arg1;
2716}
2717 return _resultobj;
2718}
2719
2c8a649d
RD
2720#define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2721static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2722 PyObject * _resultobj;
2723 wxChoice * _arg0;
2724 int _arg1;
2725 wxString * _arg2;
2726 PyObject * _argo0 = 0;
2727 PyObject * _obj2 = 0;
2728 char *_kwnames[] = { "self","n","s", NULL };
2729
2730 self = self;
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
2732 return NULL;
2733 if (_argo0) {
2734 if (_argo0 == Py_None) { _arg0 = NULL; }
2735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2737 return NULL;
2738 }
2739 }
2740{
c8bc7bb8
RD
2741 _arg2 = wxString_in_helper(_obj2);
2742 if (_arg2 == NULL)
2c8a649d 2743 return NULL;
2c8a649d
RD
2744}
2745{
474c48f9 2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2747 wxChoice_SetString(_arg0,_arg1,*_arg2);
2c8a649d 2748
474c48f9 2749 wxPyEndAllowThreads(__tstate);
2c8a649d
RD
2750 if (PyErr_Occurred()) return NULL;
2751} Py_INCREF(Py_None);
2752 _resultobj = Py_None;
2753{
2754 if (_obj2)
2755 delete _arg2;
2756}
2757 return _resultobj;
2758}
2759
70551f47
RD
2760static void *SwigwxComboBoxTowxControl(void *ptr) {
2761 wxComboBox *src;
2762 wxControl *dest;
2763 src = (wxComboBox *) ptr;
2764 dest = (wxControl *) src;
2765 return (void *) dest;
2766}
2767
2768static void *SwigwxComboBoxTowxWindow(void *ptr) {
2769 wxComboBox *src;
2770 wxWindow *dest;
2771 src = (wxComboBox *) ptr;
2772 dest = (wxWindow *) src;
2773 return (void *) dest;
2774}
2775
2776static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2777 wxComboBox *src;
2778 wxEvtHandler *dest;
2779 src = (wxComboBox *) ptr;
2780 dest = (wxEvtHandler *) src;
2781 return (void *) dest;
2782}
2783
9df61a29
RD
2784static void *SwigwxComboBoxTowxObject(void *ptr) {
2785 wxComboBox *src;
2786 wxObject *dest;
2787 src = (wxComboBox *) ptr;
2788 dest = (wxObject *) src;
2789 return (void *) dest;
2790}
2791
70551f47 2792#define new_wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
107e4716 2793static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2794 PyObject * _resultobj;
2795 wxComboBox * _result;
2796 wxWindow * _arg0;
2797 wxWindowID _arg1;
9a74fcaf 2798 wxString * _arg2 = (wxString *) &wxPyEmptyString;
b68dc582
RD
2799 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2800 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
2801 int _arg5 = (int ) 0;
2802 wxString * _arg6 = (wxString *) NULL;
2803 long _arg7 = (long ) 0;
b68dc582 2804 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2805 wxString * _arg9 = (wxString *) &wxPyComboBoxNameStr;
2d091820 2806 PyObject * _argo0 = 0;
9a74fcaf 2807 PyObject * _obj2 = 0;
37f6a977
RD
2808 wxPoint temp;
2809 PyObject * _obj3 = 0;
2810 wxSize temp0;
2811 PyObject * _obj4 = 0;
70551f47 2812 PyObject * _obj6 = 0;
2d091820 2813 PyObject * _argo8 = 0;
9a74fcaf 2814 PyObject * _obj9 = 0;
e02c03a4 2815 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
70551f47
RD
2816 char _ptemp[128];
2817
2818 self = self;
9a74fcaf 2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOOlOO:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
70551f47 2820 return NULL;
2d091820
RD
2821 if (_argo0) {
2822 if (_argo0 == Py_None) { _arg0 = NULL; }
2823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
2824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2825 return NULL;
2826 }
2827 }
9a74fcaf
RD
2828 if (_obj2)
2829{
2830 _arg2 = wxString_in_helper(_obj2);
2831 if (_arg2 == NULL)
2832 return NULL;
2833}
37f6a977
RD
2834 if (_obj3)
2835{
2836 _arg3 = &temp;
2837 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 2838 return NULL;
37f6a977
RD
2839}
2840 if (_obj4)
2841{
2842 _arg4 = &temp0;
2843 if (! wxSize_helper(_obj4, &_arg4))
70551f47 2844 return NULL;
37f6a977 2845}
70551f47
RD
2846 if (_obj6)
2847{
2848 _arg6 = wxString_LIST_helper(_obj6);
2849 if (_arg6 == NULL) {
2850 return NULL;
2851 }
2852}
2d091820 2853 if (_argo8) {
b67a9327 2854 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
70551f47
RD
2855 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2856 return NULL;
2857 }
2858 }
9a74fcaf
RD
2859 if (_obj9)
2860{
2861 _arg9 = wxString_in_helper(_obj9);
2862 if (_arg9 == NULL)
2863 return NULL;
2864}
70551f47 2865{
ab9bc19b
RD
2866 if (_obj6) {
2867 _arg5 = PyList_Size(_obj6);
2868 }
2869 else {
2870 _arg5 = 0;
2871 }
70551f47 2872}
ab9bc19b 2873{
474c48f9 2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2875 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
ab9bc19b 2876
474c48f9 2877 wxPyEndAllowThreads(__tstate);
4dfaa61e 2878 if (PyErr_Occurred()) return NULL;
2d091820
RD
2879} if (_result) {
2880 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2881 _resultobj = Py_BuildValue("s",_ptemp);
2882 } else {
2883 Py_INCREF(Py_None);
2884 _resultobj = Py_None;
2885 }
9a74fcaf
RD
2886{
2887 if (_obj2)
2888 delete _arg2;
2889}
70551f47
RD
2890{
2891 delete [] _arg6;
9a74fcaf
RD
2892}
2893{
2894 if (_obj9)
2895 delete _arg9;
70551f47
RD
2896}
2897 return _resultobj;
2898}
2899
aa2a5b86
RD
2900#define new_wxPreComboBox() (new wxComboBox())
2901static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2902 PyObject * _resultobj;
2903 wxComboBox * _result;
2904 char *_kwnames[] = { NULL };
2905 char _ptemp[128];
2906
2907 self = self;
2908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2909 return NULL;
2910{
474c48f9 2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2912 _result = (wxComboBox *)new_wxPreComboBox();
aa2a5b86 2913
474c48f9 2914 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2915 if (PyErr_Occurred()) return NULL;
2916} if (_result) {
2917 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2918 _resultobj = Py_BuildValue("s",_ptemp);
2919 } else {
2920 Py_INCREF(Py_None);
2921 _resultobj = Py_None;
2922 }
2923 return _resultobj;
2924}
2925
2926#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))
2927static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2928 PyObject * _resultobj;
2929 bool _result;
2930 wxComboBox * _arg0;
2931 wxWindow * _arg1;
2932 wxWindowID _arg2;
9a74fcaf 2933 wxString * _arg3 = (wxString *) &wxPyEmptyString;
aa2a5b86
RD
2934 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2935 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2936 int _arg6 = (int ) 0;
2937 wxString * _arg7 = (wxString *) NULL;
2938 long _arg8 = (long ) 0;
2939 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2940 wxString * _arg10 = (wxString *) &wxPyComboBoxNameStr;
aa2a5b86
RD
2941 PyObject * _argo0 = 0;
2942 PyObject * _argo1 = 0;
9a74fcaf 2943 PyObject * _obj3 = 0;
aa2a5b86
RD
2944 wxPoint temp;
2945 PyObject * _obj4 = 0;
2946 wxSize temp0;
2947 PyObject * _obj5 = 0;
2948 PyObject * _obj7 = 0;
2949 PyObject * _argo9 = 0;
9a74fcaf 2950 PyObject * _obj10 = 0;
aa2a5b86
RD
2951 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2952
2953 self = self;
9a74fcaf 2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOOlOO:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_obj10))
aa2a5b86
RD
2955 return NULL;
2956 if (_argo0) {
2957 if (_argo0 == Py_None) { _arg0 = NULL; }
2958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2960 return NULL;
2961 }
2962 }
2963 if (_argo1) {
2964 if (_argo1 == Py_None) { _arg1 = NULL; }
2965 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2966 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2967 return NULL;
2968 }
2969 }
9a74fcaf
RD
2970 if (_obj3)
2971{
2972 _arg3 = wxString_in_helper(_obj3);
2973 if (_arg3 == NULL)
2974 return NULL;
2975}
aa2a5b86
RD
2976 if (_obj4)
2977{
2978 _arg4 = &temp;
2979 if (! wxPoint_helper(_obj4, &_arg4))
2980 return NULL;
2981}
2982 if (_obj5)
2983{
2984 _arg5 = &temp0;
2985 if (! wxSize_helper(_obj5, &_arg5))
2986 return NULL;
2987}
2988 if (_obj7)
2989{
2990 _arg7 = wxString_LIST_helper(_obj7);
2991 if (_arg7 == NULL) {
2992 return NULL;
2993 }
2994}
2995 if (_argo9) {
b67a9327 2996 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
aa2a5b86
RD
2997 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2998 return NULL;
2999 }
3000 }
9a74fcaf
RD
3001 if (_obj10)
3002{
3003 _arg10 = wxString_in_helper(_obj10);
3004 if (_arg10 == NULL)
3005 return NULL;
3006}
aa2a5b86
RD
3007{
3008 if (_obj7) {
3009 _arg6 = PyList_Size(_obj7);
3010 }
3011 else {
3012 _arg6 = 0;
3013 }
3014}
3015{
474c48f9 3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 3017 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
aa2a5b86 3018
474c48f9 3019 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3020 if (PyErr_Occurred()) return NULL;
3021} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
3022{
3023 if (_obj3)
3024 delete _arg3;
3025}
aa2a5b86
RD
3026{
3027 delete [] _arg7;
9a74fcaf
RD
3028}
3029{
3030 if (_obj10)
3031 delete _arg10;
aa2a5b86
RD
3032}
3033 return _resultobj;
3034}
3035
70551f47 3036#define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
107e4716 3037static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3038 PyObject * _resultobj;
3039 wxComboBox * _arg0;
2d091820 3040 PyObject * _argo0 = 0;
107e4716 3041 char *_kwnames[] = { "self", NULL };
70551f47
RD
3042
3043 self = self;
107e4716 3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
70551f47 3045 return NULL;
2d091820
RD
3046 if (_argo0) {
3047 if (_argo0 == Py_None) { _arg0 = NULL; }
3048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
3050 return NULL;
3051 }
3052 }
ab9bc19b 3053{
474c48f9 3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3055 wxComboBox_Copy(_arg0);
ab9bc19b 3056
474c48f9 3057 wxPyEndAllowThreads(__tstate);
4dfaa61e 3058 if (PyErr_Occurred()) return NULL;
ab9bc19b 3059} Py_INCREF(Py_None);
70551f47
RD
3060 _resultobj = Py_None;
3061 return _resultobj;
3062}
3063
3064#define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
107e4716 3065static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3066 PyObject * _resultobj;
3067 wxComboBox * _arg0;
2d091820 3068 PyObject * _argo0 = 0;
107e4716 3069 char *_kwnames[] = { "self", NULL };
70551f47
RD
3070
3071 self = self;
107e4716 3072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
70551f47 3073 return NULL;
2d091820
RD
3074 if (_argo0) {
3075 if (_argo0 == Py_None) { _arg0 = NULL; }
3076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
3078 return NULL;
3079 }
3080 }
ab9bc19b 3081{
474c48f9 3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3083 wxComboBox_Cut(_arg0);
ab9bc19b 3084
474c48f9 3085 wxPyEndAllowThreads(__tstate);
4dfaa61e 3086 if (PyErr_Occurred()) return NULL;
ab9bc19b 3087} Py_INCREF(Py_None);
70551f47
RD
3088 _resultobj = Py_None;
3089 return _resultobj;
3090}
3091
70551f47 3092#define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
107e4716 3093static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3094 PyObject * _resultobj;
3095 long _result;
3096 wxComboBox * _arg0;
2d091820 3097 PyObject * _argo0 = 0;
65191ae8 3098 char *_kwnames[] = { "self", NULL };
70551f47
RD
3099
3100 self = self;
65191ae8 3101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
70551f47 3102 return NULL;
2d091820
RD
3103 if (_argo0) {
3104 if (_argo0 == Py_None) { _arg0 = NULL; }
3105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
65191ae8 3106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
70551f47
RD
3107 return NULL;
3108 }
3109 }
70551f47 3110{
474c48f9 3111 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3112 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
ab9bc19b 3113
474c48f9 3114 wxPyEndAllowThreads(__tstate);
4dfaa61e 3115 if (PyErr_Occurred()) return NULL;
65191ae8 3116} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
3117 return _resultobj;
3118}
3119
65191ae8
RD
3120#define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3121static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3122 PyObject * _resultobj;
65191ae8 3123 long _result;
70551f47 3124 wxComboBox * _arg0;
2d091820 3125 PyObject * _argo0 = 0;
107e4716 3126 char *_kwnames[] = { "self", NULL };
70551f47
RD
3127
3128 self = self;
65191ae8 3129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
70551f47 3130 return NULL;
2d091820
RD
3131 if (_argo0) {
3132 if (_argo0 == Py_None) { _arg0 = NULL; }
3133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
65191ae8 3134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
70551f47
RD
3135 return NULL;
3136 }
3137 }
70551f47 3138{
474c48f9 3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3140 _result = (long )wxComboBox_GetLastPosition(_arg0);
ab9bc19b 3141
474c48f9 3142 wxPyEndAllowThreads(__tstate);
4dfaa61e 3143 if (PyErr_Occurred()) return NULL;
65191ae8 3144} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
3145 return _resultobj;
3146}
3147
3148#define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 3149static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3150 PyObject * _resultobj;
3151 wxString * _result;
3152 wxComboBox * _arg0;
2d091820 3153 PyObject * _argo0 = 0;
107e4716 3154 char *_kwnames[] = { "self", NULL };
70551f47
RD
3155
3156 self = self;
107e4716 3157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
70551f47 3158 return NULL;
2d091820
RD
3159 if (_argo0) {
3160 if (_argo0 == Py_None) { _arg0 = NULL; }
3161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3163 return NULL;
3164 }
3165 }
70551f47 3166{
474c48f9 3167 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3168 _result = new wxString (wxComboBox_GetValue(_arg0));
ab9bc19b 3169
474c48f9 3170 wxPyEndAllowThreads(__tstate);
4dfaa61e 3171 if (PyErr_Occurred()) return NULL;
ab9bc19b 3172}{
c8bc7bb8 3173#if wxUSE_UNICODE
b67a9327 3174 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 3175#else
e02c03a4 3176 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3177#endif
70551f47
RD
3178}
3179{
3180 delete _result;
3181}
3182 return _resultobj;
3183}
3184
70551f47 3185#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
107e4716 3186static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3187 PyObject * _resultobj;
3188 wxComboBox * _arg0;
2d091820 3189 PyObject * _argo0 = 0;
107e4716 3190 char *_kwnames[] = { "self", NULL };
70551f47
RD
3191
3192 self = self;
107e4716 3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
70551f47 3194 return NULL;
2d091820
RD
3195 if (_argo0) {
3196 if (_argo0 == Py_None) { _arg0 = NULL; }
3197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3199 return NULL;
3200 }
3201 }
ab9bc19b 3202{
474c48f9 3203 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3204 wxComboBox_Paste(_arg0);
ab9bc19b 3205
474c48f9 3206 wxPyEndAllowThreads(__tstate);
4dfaa61e 3207 if (PyErr_Occurred()) return NULL;
ab9bc19b 3208} Py_INCREF(Py_None);
70551f47
RD
3209 _resultobj = Py_None;
3210 return _resultobj;
3211}
3212
3213#define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
107e4716 3214static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3215 PyObject * _resultobj;
3216 wxComboBox * _arg0;
3217 long _arg1;
3218 long _arg2;
3219 wxString * _arg3;
2d091820 3220 PyObject * _argo0 = 0;
70551f47 3221 PyObject * _obj3 = 0;
107e4716 3222 char *_kwnames[] = { "self","from","to","text", NULL };
70551f47
RD
3223
3224 self = self;
107e4716 3225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
70551f47 3226 return NULL;
2d091820
RD
3227 if (_argo0) {
3228 if (_argo0 == Py_None) { _arg0 = NULL; }
3229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3231 return NULL;
3232 }
3233 }
3234{
c8bc7bb8
RD
3235 _arg3 = wxString_in_helper(_obj3);
3236 if (_arg3 == NULL)
70551f47 3237 return NULL;
70551f47 3238}
ab9bc19b 3239{
474c48f9 3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3241 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
ab9bc19b 3242
474c48f9 3243 wxPyEndAllowThreads(__tstate);
4dfaa61e 3244 if (PyErr_Occurred()) return NULL;
ab9bc19b 3245} Py_INCREF(Py_None);
70551f47
RD
3246 _resultobj = Py_None;
3247{
3248 if (_obj3)
3249 delete _arg3;
3250}
3251 return _resultobj;
3252}
3253
3254#define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
107e4716 3255static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3256 PyObject * _resultobj;
3257 wxComboBox * _arg0;
3258 long _arg1;
3259 long _arg2;
2d091820 3260 PyObject * _argo0 = 0;
107e4716 3261 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
3262
3263 self = self;
107e4716 3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 3265 return NULL;
2d091820
RD
3266 if (_argo0) {
3267 if (_argo0 == Py_None) { _arg0 = NULL; }
3268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3270 return NULL;
3271 }
3272 }
ab9bc19b 3273{
474c48f9 3274 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3275 wxComboBox_Remove(_arg0,_arg1,_arg2);
ab9bc19b 3276
474c48f9 3277 wxPyEndAllowThreads(__tstate);
4dfaa61e 3278 if (PyErr_Occurred()) return NULL;
ab9bc19b 3279} Py_INCREF(Py_None);
70551f47
RD
3280 _resultobj = Py_None;
3281 return _resultobj;
3282}
3283
3284#define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
107e4716 3285static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3286 PyObject * _resultobj;
3287 wxComboBox * _arg0;
3288 long _arg1;
2d091820 3289 PyObject * _argo0 = 0;
107e4716 3290 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
3291
3292 self = self;
107e4716 3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
70551f47 3294 return NULL;
2d091820
RD
3295 if (_argo0) {
3296 if (_argo0 == Py_None) { _arg0 = NULL; }
3297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3299 return NULL;
3300 }
3301 }
ab9bc19b 3302{
474c48f9 3303 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3304 wxComboBox_SetInsertionPoint(_arg0,_arg1);
ab9bc19b 3305
474c48f9 3306 wxPyEndAllowThreads(__tstate);
4dfaa61e 3307 if (PyErr_Occurred()) return NULL;
ab9bc19b 3308} Py_INCREF(Py_None);
70551f47
RD
3309 _resultobj = Py_None;
3310 return _resultobj;
3311}
3312
3313#define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
107e4716 3314static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3315 PyObject * _resultobj;
3316 wxComboBox * _arg0;
2d091820 3317 PyObject * _argo0 = 0;
107e4716 3318 char *_kwnames[] = { "self", NULL };
70551f47
RD
3319
3320 self = self;
107e4716 3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
70551f47 3322 return NULL;
2d091820
RD
3323 if (_argo0) {
3324 if (_argo0 == Py_None) { _arg0 = NULL; }
3325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3327 return NULL;
3328 }
3329 }
ab9bc19b 3330{
474c48f9 3331 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3332 wxComboBox_SetInsertionPointEnd(_arg0);
ab9bc19b 3333
474c48f9 3334 wxPyEndAllowThreads(__tstate);
4dfaa61e 3335 if (PyErr_Occurred()) return NULL;
ab9bc19b 3336} Py_INCREF(Py_None);
70551f47
RD
3337 _resultobj = Py_None;
3338 return _resultobj;
3339}
3340
2d091820 3341#define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 3342static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2d091820
RD
3343 PyObject * _resultobj;
3344 wxComboBox * _arg0;
3345 int _arg1;
3346 PyObject * _argo0 = 0;
107e4716 3347 char *_kwnames[] = { "self","n", NULL };
2d091820
RD
3348
3349 self = self;
107e4716 3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
2d091820
RD
3351 return NULL;
3352 if (_argo0) {
3353 if (_argo0 == Py_None) { _arg0 = NULL; }
3354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3356 return NULL;
3357 }
3358 }
3359{
474c48f9 3360 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3361 wxComboBox_SetSelection(_arg0,_arg1);
2d091820 3362
474c48f9 3363 wxPyEndAllowThreads(__tstate);
4dfaa61e 3364 if (PyErr_Occurred()) return NULL;
2d091820
RD
3365} Py_INCREF(Py_None);
3366 _resultobj = Py_None;
3367 return _resultobj;
3368}
3369
70551f47 3370#define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 3371static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3372 PyObject * _resultobj;
3373 wxComboBox * _arg0;
3374 long _arg1;
3375 long _arg2;
2d091820 3376 PyObject * _argo0 = 0;
107e4716 3377 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
3378
3379 self = self;
107e4716 3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 3381 return NULL;
2d091820
RD
3382 if (_argo0) {
3383 if (_argo0 == Py_None) { _arg0 = NULL; }
3384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3386 return NULL;
3387 }
3388 }
ab9bc19b 3389{
474c48f9 3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3391 wxComboBox_SetMark(_arg0,_arg1,_arg2);
ab9bc19b 3392
474c48f9 3393 wxPyEndAllowThreads(__tstate);
4dfaa61e 3394 if (PyErr_Occurred()) return NULL;
ab9bc19b 3395} Py_INCREF(Py_None);
70551f47
RD
3396 _resultobj = Py_None;
3397 return _resultobj;
3398}
3399
3400#define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 3401static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3402 PyObject * _resultobj;
3403 wxComboBox * _arg0;
3404 wxString * _arg1;
2d091820 3405 PyObject * _argo0 = 0;
70551f47 3406 PyObject * _obj1 = 0;
107e4716 3407 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
3408
3409 self = self;
107e4716 3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
70551f47 3411 return NULL;
2d091820
RD
3412 if (_argo0) {
3413 if (_argo0 == Py_None) { _arg0 = NULL; }
3414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3416 return NULL;
3417 }
3418 }
3419{
c8bc7bb8
RD
3420 _arg1 = wxString_in_helper(_obj1);
3421 if (_arg1 == NULL)
2cd2fac8 3422 return NULL;
70551f47 3423}
ab9bc19b 3424{
474c48f9 3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3426 wxComboBox_SetValue(_arg0,*_arg1);
ab9bc19b 3427
474c48f9 3428 wxPyEndAllowThreads(__tstate);
4dfaa61e 3429 if (PyErr_Occurred()) return NULL;
ab9bc19b 3430} Py_INCREF(Py_None);
70551f47
RD
3431 _resultobj = Py_None;
3432{
3433 if (_obj1)
3434 delete _arg1;
3435}
3436 return _resultobj;
3437}
3438
2c8a649d
RD
3439#define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3440static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3441 PyObject * _resultobj;
3442 wxComboBox * _arg0;
3443 bool _arg1;
3444 PyObject * _argo0 = 0;
3445 int tempbool1;
3446 char *_kwnames[] = { "self","editable", NULL };
3447
3448 self = self;
3449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3450 return NULL;
3451 if (_argo0) {
3452 if (_argo0 == Py_None) { _arg0 = NULL; }
3453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3455 return NULL;
3456 }
3457 }
3458 _arg1 = (bool ) tempbool1;
3459{
474c48f9 3460 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3461 wxComboBox_SetEditable(_arg0,_arg1);
2c8a649d 3462
474c48f9 3463 wxPyEndAllowThreads(__tstate);
2c8a649d
RD
3464 if (PyErr_Occurred()) return NULL;
3465} Py_INCREF(Py_None);
3466 _resultobj = Py_None;
3467 return _resultobj;
3468}
3469
c70fd24f
RD
3470#define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3471static PyObject *_wrap_wxComboBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
3472 PyObject * _resultobj;
3473 wxComboBox * _arg0;
3474 PyObject * _argo0 = 0;
3475 char *_kwnames[] = { "self", NULL };
3476
3477 self = self;
3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Clear",_kwnames,&_argo0))
3479 return NULL;
3480 if (_argo0) {
3481 if (_argo0 == Py_None) { _arg0 = NULL; }
3482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
3484 return NULL;
3485 }
3486 }
3487{
474c48f9 3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3489 wxComboBox_Clear(_arg0);
c70fd24f 3490
474c48f9 3491 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3492 if (PyErr_Occurred()) return NULL;
3493} Py_INCREF(Py_None);
3494 _resultobj = Py_None;
3495 return _resultobj;
3496}
3497
3498#define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3499static PyObject *_wrap_wxComboBox_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
3500 PyObject * _resultobj;
3501 wxComboBox * _arg0;
3502 int _arg1;
3503 PyObject * _argo0 = 0;
3504 char *_kwnames[] = { "self","n", NULL };
3505
3506 self = self;
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_Delete",_kwnames,&_argo0,&_arg1))
3508 return NULL;
3509 if (_argo0) {
3510 if (_argo0 == Py_None) { _arg0 = NULL; }
3511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
3513 return NULL;
3514 }
3515 }
3516{
474c48f9 3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3518 wxComboBox_Delete(_arg0,_arg1);
c70fd24f 3519
474c48f9 3520 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3521 if (PyErr_Occurred()) return NULL;
3522} Py_INCREF(Py_None);
3523 _resultobj = Py_None;
3524 return _resultobj;
3525}
3526
3527#define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3528static PyObject *_wrap_wxComboBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject * _resultobj;
3530 int _result;
3531 wxComboBox * _arg0;
3532 PyObject * _argo0 = 0;
3533 char *_kwnames[] = { "self", NULL };
3534
3535 self = self;
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetCount",_kwnames,&_argo0))
3537 return NULL;
3538 if (_argo0) {
3539 if (_argo0 == Py_None) { _arg0 = NULL; }
3540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
3542 return NULL;
3543 }
3544 }
3545{
474c48f9 3546 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3547 _result = (int )wxComboBox_GetCount(_arg0);
c70fd24f 3548
474c48f9 3549 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3550 if (PyErr_Occurred()) return NULL;
3551} _resultobj = Py_BuildValue("i",_result);
3552 return _resultobj;
3553}
3554
3555#define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3556static PyObject *_wrap_wxComboBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject * _resultobj;
3558 wxString * _result;
3559 wxComboBox * _arg0;
3560 int _arg1;
3561 PyObject * _argo0 = 0;
3562 char *_kwnames[] = { "self","n", NULL };
3563
3564 self = self;
3565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetString",_kwnames,&_argo0,&_arg1))
3566 return NULL;
3567 if (_argo0) {
3568 if (_argo0 == Py_None) { _arg0 = NULL; }
3569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3571 return NULL;
3572 }
3573 }
3574{
474c48f9 3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3576 _result = new wxString (wxComboBox_GetString(_arg0,_arg1));
c70fd24f 3577
474c48f9 3578 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3579 if (PyErr_Occurred()) return NULL;
3580}{
c8bc7bb8 3581#if wxUSE_UNICODE
b67a9327 3582 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 3583#else
c70fd24f 3584 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3585#endif
c70fd24f
RD
3586}
3587{
3588 delete _result;
3589}
3590 return _resultobj;
3591}
3592
3593#define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3594static PyObject *_wrap_wxComboBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
3595 PyObject * _resultobj;
3596 int _result;
3597 wxComboBox * _arg0;
3598 wxString * _arg1;
3599 PyObject * _argo0 = 0;
3600 PyObject * _obj1 = 0;
3601 char *_kwnames[] = { "self","s", NULL };
3602
3603 self = self;
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_FindString",_kwnames,&_argo0,&_obj1))
3605 return NULL;
3606 if (_argo0) {
3607 if (_argo0 == Py_None) { _arg0 = NULL; }
3608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
3610 return NULL;
3611 }
3612 }
3613{
c8bc7bb8
RD
3614 _arg1 = wxString_in_helper(_obj1);
3615 if (_arg1 == NULL)
c70fd24f 3616 return NULL;
c70fd24f
RD
3617}
3618{
474c48f9 3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3620 _result = (int )wxComboBox_FindString(_arg0,*_arg1);
c70fd24f 3621
474c48f9 3622 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3623 if (PyErr_Occurred()) return NULL;
3624} _resultobj = Py_BuildValue("i",_result);
3625{
3626 if (_obj1)
3627 delete _arg1;
3628}
3629 return _resultobj;
3630}
3631
3632#define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3633static PyObject *_wrap_wxComboBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3634 PyObject * _resultobj;
3635 int _result;
3636 wxComboBox * _arg0;
3637 PyObject * _argo0 = 0;
3638 char *_kwnames[] = { "self", NULL };
3639
3640 self = self;
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetSelection",_kwnames,&_argo0))
3642 return NULL;
3643 if (_argo0) {
3644 if (_argo0 == Py_None) { _arg0 = NULL; }
3645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
3647 return NULL;
3648 }
3649 }
3650{
474c48f9 3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3652 _result = (int )wxComboBox_GetSelection(_arg0);
c70fd24f 3653
474c48f9 3654 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3655 if (PyErr_Occurred()) return NULL;
3656} _resultobj = Py_BuildValue("i",_result);
3657 return _resultobj;
3658}
3659
3660#define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3661static PyObject *_wrap_wxComboBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject * _resultobj;
3663 wxString * _result;
3664 wxComboBox * _arg0;
3665 PyObject * _argo0 = 0;
3666 char *_kwnames[] = { "self", NULL };
3667
3668 self = self;
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetStringSelection",_kwnames,&_argo0))
3670 return NULL;
3671 if (_argo0) {
3672 if (_argo0 == Py_None) { _arg0 = NULL; }
3673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3675 return NULL;
3676 }
3677 }
3678{
474c48f9 3679 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3680 _result = new wxString (wxComboBox_GetStringSelection(_arg0));
c70fd24f 3681
474c48f9 3682 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3683 if (PyErr_Occurred()) return NULL;
3684}{
c8bc7bb8 3685#if wxUSE_UNICODE
b67a9327 3686 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 3687#else
c70fd24f 3688 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3689#endif
c70fd24f
RD
3690}
3691{
3692 delete _result;
3693}
3694 return _resultobj;
3695}
3696
3697static void wxComboBox_Append(wxComboBox *self,const wxString & item,PyObject * clientData) {
3698 if (clientData) {
3699 wxPyClientData* data = new wxPyClientData(clientData);
3700 self->Append(item, data);
3701 } else
3702 self->Append(item);
3703 }
3704static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
3705 PyObject * _resultobj;
3706 wxComboBox * _arg0;
3707 wxString * _arg1;
3708 PyObject * _arg2 = (PyObject *) NULL;
3709 PyObject * _argo0 = 0;
3710 PyObject * _obj1 = 0;
3711 PyObject * _obj2 = 0;
3712 char *_kwnames[] = { "self","item","clientData", NULL };
3713
3714 self = self;
3715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxComboBox_Append",_kwnames,&_argo0,&_obj1,&_obj2))
3716 return NULL;
3717 if (_argo0) {
3718 if (_argo0 == Py_None) { _arg0 = NULL; }
3719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
3721 return NULL;
3722 }
3723 }
3724{
c8bc7bb8
RD
3725 _arg1 = wxString_in_helper(_obj1);
3726 if (_arg1 == NULL)
c70fd24f 3727 return NULL;
c70fd24f
RD
3728}
3729 if (_obj2)
3730{
3731 _arg2 = _obj2;
3732}
3733{
474c48f9 3734 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3735 wxComboBox_Append(_arg0,*_arg1,_arg2);
c70fd24f 3736
474c48f9 3737 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3738 if (PyErr_Occurred()) return NULL;
3739} Py_INCREF(Py_None);
3740 _resultobj = Py_None;
3741{
3742 if (_obj1)
3743 delete _arg1;
3744}
3745 return _resultobj;
3746}
3747
3748static PyObject * wxComboBox_GetClientData(wxComboBox *self,int n) {
1dbd5759
RD
3749#ifdef __WXMAC__
3750 wxPyClientData* data = (wxPyClientData*)self->wxItemContainer::GetClientObject(n);
3751#else
c70fd24f 3752 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1dbd5759 3753#endif
c70fd24f
RD
3754 if (data) {
3755 Py_INCREF(data->m_obj);
3756 return data->m_obj;
3757 } else {
3758 Py_INCREF(Py_None);
3759 return Py_None;
3760 }
3761 }
3762static PyObject *_wrap_wxComboBox_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
3763 PyObject * _resultobj;
3764 PyObject * _result;
3765 wxComboBox * _arg0;
3766 int _arg1;
3767 PyObject * _argo0 = 0;
3768 char *_kwnames[] = { "self","n", NULL };
3769
3770 self = self;
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetClientData",_kwnames,&_argo0,&_arg1))
3772 return NULL;
3773 if (_argo0) {
3774 if (_argo0 == Py_None) { _arg0 = NULL; }
3775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
3777 return NULL;
3778 }
3779 }
3780{
474c48f9 3781 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3782 _result = (PyObject *)wxComboBox_GetClientData(_arg0,_arg1);
c70fd24f 3783
474c48f9 3784 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3785 if (PyErr_Occurred()) return NULL;
3786}{
3787 _resultobj = _result;
3788}
3789 return _resultobj;
3790}
3791
3792static void wxComboBox_SetClientData(wxComboBox *self,int n,PyObject * clientData) {
3793 wxPyClientData* data = new wxPyClientData(clientData);
1dbd5759
RD
3794#ifdef __WXMAC__
3795 self->wxItemContainer::SetClientObject(n, data);
3796#else
c70fd24f 3797 self->SetClientObject(n, data);
1dbd5759 3798#endif
c70fd24f
RD
3799 }
3800static PyObject *_wrap_wxComboBox_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
3801 PyObject * _resultobj;
3802 wxComboBox * _arg0;
3803 int _arg1;
3804 PyObject * _arg2;
3805 PyObject * _argo0 = 0;
3806 PyObject * _obj2 = 0;
3807 char *_kwnames[] = { "self","n","clientData", NULL };
3808
3809 self = self;
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxComboBox_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
3811 return NULL;
3812 if (_argo0) {
3813 if (_argo0 == Py_None) { _arg0 = NULL; }
3814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
3816 return NULL;
3817 }
3818 }
3819{
3820 _arg2 = _obj2;
3821}
3822{
474c48f9 3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3824 wxComboBox_SetClientData(_arg0,_arg1,_arg2);
c70fd24f 3825
474c48f9 3826 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3827 if (PyErr_Occurred()) return NULL;
3828} Py_INCREF(Py_None);
3829 _resultobj = Py_None;
3830 return _resultobj;
3831}
3832
70551f47
RD
3833static void *SwigwxGaugeTowxControl(void *ptr) {
3834 wxGauge *src;
3835 wxControl *dest;
3836 src = (wxGauge *) ptr;
3837 dest = (wxControl *) src;
3838 return (void *) dest;
3839}
3840
3841static void *SwigwxGaugeTowxWindow(void *ptr) {
3842 wxGauge *src;
3843 wxWindow *dest;
3844 src = (wxGauge *) ptr;
3845 dest = (wxWindow *) src;
3846 return (void *) dest;
3847}
3848
3849static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3850 wxGauge *src;
3851 wxEvtHandler *dest;
3852 src = (wxGauge *) ptr;
3853 dest = (wxEvtHandler *) src;
3854 return (void *) dest;
3855}
3856
9df61a29
RD
3857static void *SwigwxGaugeTowxObject(void *ptr) {
3858 wxGauge *src;
3859 wxObject *dest;
3860 src = (wxGauge *) ptr;
3861 dest = (wxObject *) src;
3862 return (void *) dest;
3863}
3864
70551f47 3865#define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 3866static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3867 PyObject * _resultobj;
3868 wxGauge * _result;
3869 wxWindow * _arg0;
3870 wxWindowID _arg1;
3871 int _arg2;
b68dc582
RD
3872 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3873 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 3874 long _arg5 = (long ) wxGA_HORIZONTAL;
b68dc582 3875 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 3876 wxString * _arg7 = (wxString *) &wxPyGaugeNameStr;
2d091820 3877 PyObject * _argo0 = 0;
37f6a977
RD
3878 wxPoint temp;
3879 PyObject * _obj3 = 0;
3880 wxSize temp0;
3881 PyObject * _obj4 = 0;
2d091820 3882 PyObject * _argo6 = 0;
9a74fcaf 3883 PyObject * _obj7 = 0;
107e4716 3884 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
70551f47
RD
3885 char _ptemp[128];
3886
3887 self = self;
9a74fcaf 3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOO:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
70551f47 3889 return NULL;
2d091820
RD
3890 if (_argo0) {
3891 if (_argo0 == Py_None) { _arg0 = NULL; }
3892 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
3893 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3894 return NULL;
3895 }
3896 }
37f6a977
RD
3897 if (_obj3)
3898{
3899 _arg3 = &temp;
3900 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 3901 return NULL;
37f6a977
RD
3902}
3903 if (_obj4)
3904{
3905 _arg4 = &temp0;
3906 if (! wxSize_helper(_obj4, &_arg4))
70551f47 3907 return NULL;
37f6a977 3908}
2d091820 3909 if (_argo6) {
b67a9327 3910 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
3911 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3912 return NULL;
3913 }
3914 }
9a74fcaf
RD
3915 if (_obj7)
3916{
3917 _arg7 = wxString_in_helper(_obj7);
3918 if (_arg7 == NULL)
3919 return NULL;
3920}
ab9bc19b 3921{
474c48f9 3922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 3923 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
ab9bc19b 3924
474c48f9 3925 wxPyEndAllowThreads(__tstate);
4dfaa61e 3926 if (PyErr_Occurred()) return NULL;
2d091820
RD
3927} if (_result) {
3928 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3929 _resultobj = Py_BuildValue("s",_ptemp);
3930 } else {
3931 Py_INCREF(Py_None);
3932 _resultobj = Py_None;
3933 }
9a74fcaf
RD
3934{
3935 if (_obj7)
3936 delete _arg7;
3937}
70551f47
RD
3938 return _resultobj;
3939}
3940
aa2a5b86
RD
3941#define new_wxPreGauge() (new wxGauge())
3942static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3943 PyObject * _resultobj;
3944 wxGauge * _result;
3945 char *_kwnames[] = { NULL };
3946 char _ptemp[128];
3947
3948 self = self;
3949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
3950 return NULL;
3951{
474c48f9 3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3953 _result = (wxGauge *)new_wxPreGauge();
aa2a5b86 3954
474c48f9 3955 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3956 if (PyErr_Occurred()) return NULL;
3957} if (_result) {
3958 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3959 _resultobj = Py_BuildValue("s",_ptemp);
3960 } else {
3961 Py_INCREF(Py_None);
3962 _resultobj = Py_None;
3963 }
3964 return _resultobj;
3965}
3966
3967#define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3968static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3969 PyObject * _resultobj;
3970 bool _result;
3971 wxGauge * _arg0;
3972 wxWindow * _arg1;
3973 wxWindowID _arg2;
3974 int _arg3;
3975 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3976 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3977 long _arg6 = (long ) wxGA_HORIZONTAL;
3978 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 3979 wxString * _arg8 = (wxString *) &wxPyGaugeNameStr;
aa2a5b86
RD
3980 PyObject * _argo0 = 0;
3981 PyObject * _argo1 = 0;
3982 wxPoint temp;
3983 PyObject * _obj4 = 0;
3984 wxSize temp0;
3985 PyObject * _obj5 = 0;
3986 PyObject * _argo7 = 0;
9a74fcaf 3987 PyObject * _obj8 = 0;
aa2a5b86
RD
3988 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
3989
3990 self = self;
9a74fcaf 3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOO:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
3992 return NULL;
3993 if (_argo0) {
3994 if (_argo0 == Py_None) { _arg0 = NULL; }
3995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3997 return NULL;
3998 }
3999 }
4000 if (_argo1) {
4001 if (_argo1 == Py_None) { _arg1 = NULL; }
4002 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4003 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
4004 return NULL;
4005 }
4006 }
4007 if (_obj4)
4008{
4009 _arg4 = &temp;
4010 if (! wxPoint_helper(_obj4, &_arg4))
4011 return NULL;
4012}
4013 if (_obj5)
4014{
4015 _arg5 = &temp0;
4016 if (! wxSize_helper(_obj5, &_arg5))
4017 return NULL;
4018}
4019 if (_argo7) {
b67a9327 4020 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
4021 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
4022 return NULL;
4023 }
4024 }
9a74fcaf
RD
4025 if (_obj8)
4026{
4027 _arg8 = wxString_in_helper(_obj8);
4028 if (_arg8 == NULL)
4029 return NULL;
4030}
aa2a5b86 4031{
474c48f9 4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4033 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
aa2a5b86 4034
474c48f9 4035 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4036 if (PyErr_Occurred()) return NULL;
4037} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
4038{
4039 if (_obj8)
4040 delete _arg8;
4041}
aa2a5b86
RD
4042 return _resultobj;
4043}
4044
70551f47 4045#define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
107e4716 4046static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4047 PyObject * _resultobj;
4048 int _result;
4049 wxGauge * _arg0;
2d091820 4050 PyObject * _argo0 = 0;
107e4716 4051 char *_kwnames[] = { "self", NULL };
70551f47
RD
4052
4053 self = self;
107e4716 4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
70551f47 4055 return NULL;
2d091820
RD
4056 if (_argo0) {
4057 if (_argo0 == Py_None) { _arg0 = NULL; }
4058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
4060 return NULL;
4061 }
4062 }
ab9bc19b 4063{
474c48f9 4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4065 _result = (int )wxGauge_GetBezelFace(_arg0);
ab9bc19b 4066
474c48f9 4067 wxPyEndAllowThreads(__tstate);
4dfaa61e 4068 if (PyErr_Occurred()) return NULL;
ab9bc19b 4069} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4070 return _resultobj;
4071}
4072
4073#define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
107e4716 4074static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4075 PyObject * _resultobj;
4076 int _result;
4077 wxGauge * _arg0;
2d091820 4078 PyObject * _argo0 = 0;
107e4716 4079 char *_kwnames[] = { "self", NULL };
70551f47
RD
4080
4081 self = self;
107e4716 4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
70551f47 4083 return NULL;
2d091820
RD
4084 if (_argo0) {
4085 if (_argo0 == Py_None) { _arg0 = NULL; }
4086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
4088 return NULL;
4089 }
4090 }
ab9bc19b 4091{
474c48f9 4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4093 _result = (int )wxGauge_GetRange(_arg0);
ab9bc19b 4094
474c48f9 4095 wxPyEndAllowThreads(__tstate);
4dfaa61e 4096 if (PyErr_Occurred()) return NULL;
ab9bc19b 4097} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4098 return _resultobj;
4099}
4100
4101#define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
107e4716 4102static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4103 PyObject * _resultobj;
4104 int _result;
4105 wxGauge * _arg0;
2d091820 4106 PyObject * _argo0 = 0;
107e4716 4107 char *_kwnames[] = { "self", NULL };
70551f47
RD
4108
4109 self = self;
107e4716 4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
70551f47 4111 return NULL;
2d091820
RD
4112 if (_argo0) {
4113 if (_argo0 == Py_None) { _arg0 = NULL; }
4114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
4116 return NULL;
4117 }
4118 }
ab9bc19b 4119{
474c48f9 4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4121 _result = (int )wxGauge_GetShadowWidth(_arg0);
ab9bc19b 4122
474c48f9 4123 wxPyEndAllowThreads(__tstate);
4dfaa61e 4124 if (PyErr_Occurred()) return NULL;
ab9bc19b 4125} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4126 return _resultobj;
4127}
4128
4129#define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 4130static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4131 PyObject * _resultobj;
4132 int _result;
4133 wxGauge * _arg0;
2d091820 4134 PyObject * _argo0 = 0;
107e4716 4135 char *_kwnames[] = { "self", NULL };
70551f47
RD
4136
4137 self = self;
107e4716 4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
70551f47 4139 return NULL;
2d091820
RD
4140 if (_argo0) {
4141 if (_argo0 == Py_None) { _arg0 = NULL; }
4142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
4144 return NULL;
4145 }
4146 }
ab9bc19b 4147{
474c48f9 4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4149 _result = (int )wxGauge_GetValue(_arg0);
ab9bc19b 4150
474c48f9 4151 wxPyEndAllowThreads(__tstate);
4dfaa61e 4152 if (PyErr_Occurred()) return NULL;
ab9bc19b 4153} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4154 return _resultobj;
4155}
4156
1a8372ba
RD
4157#define wxGauge_IsVertical(_swigobj) (_swigobj->IsVertical())
4158static PyObject *_wrap_wxGauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject * _resultobj;
4160 bool _result;
4161 wxGauge * _arg0;
4162 PyObject * _argo0 = 0;
4163 char *_kwnames[] = { "self", NULL };
4164
4165 self = self;
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_IsVertical",_kwnames,&_argo0))
4167 return NULL;
4168 if (_argo0) {
4169 if (_argo0 == Py_None) { _arg0 = NULL; }
4170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_IsVertical. Expected _wxGauge_p.");
4172 return NULL;
4173 }
4174 }
4175{
4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
4177 _result = (bool )wxGauge_IsVertical(_arg0);
4178
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) return NULL;
4181} _resultobj = Py_BuildValue("i",_result);
4182 return _resultobj;
4183}
4184
70551f47 4185#define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
107e4716 4186static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4187 PyObject * _resultobj;
4188 wxGauge * _arg0;
4189 int _arg1;
2d091820 4190 PyObject * _argo0 = 0;
107e4716 4191 char *_kwnames[] = { "self","width", NULL };
70551f47
RD
4192
4193 self = self;
107e4716 4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
70551f47 4195 return NULL;
2d091820
RD
4196 if (_argo0) {
4197 if (_argo0 == Py_None) { _arg0 = NULL; }
4198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
4200 return NULL;
4201 }
4202 }
ab9bc19b 4203{
474c48f9 4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4205 wxGauge_SetBezelFace(_arg0,_arg1);
ab9bc19b 4206
474c48f9 4207 wxPyEndAllowThreads(__tstate);
4dfaa61e 4208 if (PyErr_Occurred()) return NULL;
ab9bc19b 4209} Py_INCREF(Py_None);
70551f47
RD
4210 _resultobj = Py_None;
4211 return _resultobj;
4212}
4213
4214#define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
107e4716 4215static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4216 PyObject * _resultobj;
4217 wxGauge * _arg0;
4218 int _arg1;
2d091820 4219 PyObject * _argo0 = 0;
107e4716 4220 char *_kwnames[] = { "self","range", NULL };
70551f47
RD
4221
4222 self = self;
107e4716 4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
70551f47 4224 return NULL;
2d091820
RD
4225 if (_argo0) {
4226 if (_argo0 == Py_None) { _arg0 = NULL; }
4227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
4229 return NULL;
4230 }
4231 }
ab9bc19b 4232{
474c48f9 4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4234 wxGauge_SetRange(_arg0,_arg1);
ab9bc19b 4235
474c48f9 4236 wxPyEndAllowThreads(__tstate);
4dfaa61e 4237 if (PyErr_Occurred()) return NULL;
ab9bc19b 4238} Py_INCREF(Py_None);
70551f47
RD
4239 _resultobj = Py_None;
4240 return _resultobj;
4241}
4242
4243#define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
107e4716 4244static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4245 PyObject * _resultobj;
4246 wxGauge * _arg0;
4247 int _arg1;
2d091820 4248 PyObject * _argo0 = 0;
107e4716 4249 char *_kwnames[] = { "self","width", NULL };
70551f47
RD
4250
4251 self = self;
107e4716 4252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
70551f47 4253 return NULL;
2d091820
RD
4254 if (_argo0) {
4255 if (_argo0 == Py_None) { _arg0 = NULL; }
4256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
4258 return NULL;
4259 }
4260 }
ab9bc19b 4261{
474c48f9 4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4263 wxGauge_SetShadowWidth(_arg0,_arg1);
ab9bc19b 4264
474c48f9 4265 wxPyEndAllowThreads(__tstate);
4dfaa61e 4266 if (PyErr_Occurred()) return NULL;
ab9bc19b 4267} Py_INCREF(Py_None);
70551f47
RD
4268 _resultobj = Py_None;
4269 return _resultobj;
4270}
4271
4272#define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 4273static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4274 PyObject * _resultobj;
4275 wxGauge * _arg0;
4276 int _arg1;
2d091820 4277 PyObject * _argo0 = 0;
107e4716 4278 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
4279
4280 self = self;
107e4716 4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
70551f47 4282 return NULL;
2d091820
RD
4283 if (_argo0) {
4284 if (_argo0 == Py_None) { _arg0 = NULL; }
4285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
4287 return NULL;
4288 }
4289 }
ab9bc19b 4290{
474c48f9 4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4292 wxGauge_SetValue(_arg0,_arg1);
ab9bc19b 4293
474c48f9 4294 wxPyEndAllowThreads(__tstate);
4dfaa61e 4295 if (PyErr_Occurred()) return NULL;
ab9bc19b 4296} Py_INCREF(Py_None);
70551f47
RD
4297 _resultobj = Py_None;
4298 return _resultobj;
4299}
4300
4301static void *SwigwxStaticBoxTowxControl(void *ptr) {
4302 wxStaticBox *src;
4303 wxControl *dest;
4304 src = (wxStaticBox *) ptr;
4305 dest = (wxControl *) src;
4306 return (void *) dest;
4307}
4308
4309static void *SwigwxStaticBoxTowxWindow(void *ptr) {
4310 wxStaticBox *src;
4311 wxWindow *dest;
4312 src = (wxStaticBox *) ptr;
4313 dest = (wxWindow *) src;
4314 return (void *) dest;
4315}
4316
4317static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
4318 wxStaticBox *src;
4319 wxEvtHandler *dest;
4320 src = (wxStaticBox *) ptr;
4321 dest = (wxEvtHandler *) src;
4322 return (void *) dest;
4323}
4324
9df61a29
RD
4325static void *SwigwxStaticBoxTowxObject(void *ptr) {
4326 wxStaticBox *src;
4327 wxObject *dest;
4328 src = (wxStaticBox *) ptr;
4329 dest = (wxObject *) src;
4330 return (void *) dest;
4331}
4332
70551f47 4333#define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 4334static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4335 PyObject * _resultobj;
4336 wxStaticBox * _result;
4337 wxWindow * _arg0;
4338 wxWindowID _arg1;
4339 wxString * _arg2;
b68dc582
RD
4340 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4341 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 4342 long _arg5 = (long ) 0;
9a74fcaf 4343 wxString * _arg6 = (wxString *) &wxPyStaticBoxNameStr;
2d091820 4344 PyObject * _argo0 = 0;
70551f47 4345 PyObject * _obj2 = 0;
37f6a977
RD
4346 wxPoint temp;
4347 PyObject * _obj3 = 0;
4348 wxSize temp0;
4349 PyObject * _obj4 = 0;
9a74fcaf 4350 PyObject * _obj6 = 0;
107e4716 4351 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
70551f47
RD
4352 char _ptemp[128];
4353
4354 self = self;
9a74fcaf 4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
70551f47 4356 return NULL;
2d091820
RD
4357 if (_argo0) {
4358 if (_argo0 == Py_None) { _arg0 = NULL; }
4359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
4360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
4361 return NULL;
4362 }
4363 }
4364{
c8bc7bb8
RD
4365 _arg2 = wxString_in_helper(_obj2);
4366 if (_arg2 == NULL)
2cd2fac8 4367 return NULL;
70551f47 4368}
37f6a977
RD
4369 if (_obj3)
4370{
4371 _arg3 = &temp;
4372 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 4373 return NULL;
37f6a977
RD
4374}
4375 if (_obj4)
4376{
4377 _arg4 = &temp0;
4378 if (! wxSize_helper(_obj4, &_arg4))
70551f47 4379 return NULL;
9a74fcaf
RD
4380}
4381 if (_obj6)
4382{
4383 _arg6 = wxString_in_helper(_obj6);
4384 if (_arg6 == NULL)
4385 return NULL;
37f6a977 4386}
ab9bc19b 4387{
474c48f9 4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4389 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
ab9bc19b 4390
474c48f9 4391 wxPyEndAllowThreads(__tstate);
4dfaa61e 4392 if (PyErr_Occurred()) return NULL;
2d091820
RD
4393} if (_result) {
4394 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
4395 _resultobj = Py_BuildValue("s",_ptemp);
4396 } else {
4397 Py_INCREF(Py_None);
4398 _resultobj = Py_None;
4399 }
70551f47
RD
4400{
4401 if (_obj2)
4402 delete _arg2;
9a74fcaf
RD
4403}
4404{
4405 if (_obj6)
4406 delete _arg6;
70551f47
RD
4407}
4408 return _resultobj;
4409}
4410
aa2a5b86
RD
4411#define new_wxPreStaticBox() (new wxStaticBox())
4412static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4413 PyObject * _resultobj;
4414 wxStaticBox * _result;
4415 char *_kwnames[] = { NULL };
4416 char _ptemp[128];
4417
4418 self = self;
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
4420 return NULL;
4421{
474c48f9 4422 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4423 _result = (wxStaticBox *)new_wxPreStaticBox();
aa2a5b86 4424
474c48f9 4425 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4426 if (PyErr_Occurred()) return NULL;
4427} if (_result) {
4428 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
4429 _resultobj = Py_BuildValue("s",_ptemp);
4430 } else {
4431 Py_INCREF(Py_None);
4432 _resultobj = Py_None;
4433 }
4434 return _resultobj;
4435}
4436
4437#define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4438static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4439 PyObject * _resultobj;
4440 bool _result;
4441 wxStaticBox * _arg0;
4442 wxWindow * _arg1;
4443 wxWindowID _arg2;
4444 wxString * _arg3;
4445 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4446 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4447 long _arg6 = (long ) 0;
9a74fcaf 4448 wxString * _arg7 = (wxString *) &wxPyStaticBoxNameStr;
aa2a5b86
RD
4449 PyObject * _argo0 = 0;
4450 PyObject * _argo1 = 0;
4451 PyObject * _obj3 = 0;
4452 wxPoint temp;
4453 PyObject * _obj4 = 0;
4454 wxSize temp0;
4455 PyObject * _obj5 = 0;
9a74fcaf 4456 PyObject * _obj7 = 0;
aa2a5b86
RD
4457 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4458
4459 self = self;
9a74fcaf 4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
aa2a5b86
RD
4461 return NULL;
4462 if (_argo0) {
4463 if (_argo0 == Py_None) { _arg0 = NULL; }
4464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
4465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4466 return NULL;
4467 }
4468 }
4469 if (_argo1) {
4470 if (_argo1 == Py_None) { _arg1 = NULL; }
4471 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4472 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4473 return NULL;
4474 }
4475 }
4476{
c8bc7bb8
RD
4477 _arg3 = wxString_in_helper(_obj3);
4478 if (_arg3 == NULL)
aa2a5b86 4479 return NULL;
aa2a5b86
RD
4480}
4481 if (_obj4)
4482{
4483 _arg4 = &temp;
4484 if (! wxPoint_helper(_obj4, &_arg4))
4485 return NULL;
4486}
4487 if (_obj5)
4488{
4489 _arg5 = &temp0;
4490 if (! wxSize_helper(_obj5, &_arg5))
4491 return NULL;
9a74fcaf
RD
4492}
4493 if (_obj7)
4494{
4495 _arg7 = wxString_in_helper(_obj7);
4496 if (_arg7 == NULL)
4497 return NULL;
aa2a5b86
RD
4498}
4499{
474c48f9 4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4501 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
aa2a5b86 4502
474c48f9 4503 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4504 if (PyErr_Occurred()) return NULL;
4505} _resultobj = Py_BuildValue("i",_result);
4506{
4507 if (_obj3)
4508 delete _arg3;
9a74fcaf
RD
4509}
4510{
4511 if (_obj7)
4512 delete _arg7;
aa2a5b86
RD
4513}
4514 return _resultobj;
4515}
4516
d24a34bb
RD
4517static void *SwigwxStaticLineTowxControl(void *ptr) {
4518 wxStaticLine *src;
4519 wxControl *dest;
4520 src = (wxStaticLine *) ptr;
4521 dest = (wxControl *) src;
4522 return (void *) dest;
4523}
4524
4525static void *SwigwxStaticLineTowxWindow(void *ptr) {
4526 wxStaticLine *src;
4527 wxWindow *dest;
4528 src = (wxStaticLine *) ptr;
4529 dest = (wxWindow *) src;
4530 return (void *) dest;
4531}
4532
4533static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
4534 wxStaticLine *src;
4535 wxEvtHandler *dest;
4536 src = (wxStaticLine *) ptr;
4537 dest = (wxEvtHandler *) src;
4538 return (void *) dest;
4539}
4540
9df61a29
RD
4541static void *SwigwxStaticLineTowxObject(void *ptr) {
4542 wxStaticLine *src;
4543 wxObject *dest;
4544 src = (wxStaticLine *) ptr;
4545 dest = (wxObject *) src;
4546 return (void *) dest;
4547}
4548
d24a34bb 4549#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 4550static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4551 PyObject * _resultobj;
4552 wxStaticLine * _result;
4553 wxWindow * _arg0;
4554 wxWindowID _arg1;
b68dc582
RD
4555 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4556 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820 4557 long _arg4 = (long ) wxLI_HORIZONTAL;
9a74fcaf 4558 wxString * _arg5 = (wxString *) &wxPyStaticTextNameStr;
2d091820 4559 PyObject * _argo0 = 0;
37f6a977
RD
4560 wxPoint temp;
4561 PyObject * _obj2 = 0;
4562 wxSize temp0;
4563 PyObject * _obj3 = 0;
9a74fcaf 4564 PyObject * _obj5 = 0;
107e4716 4565 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
d24a34bb
RD
4566 char _ptemp[128];
4567
4568 self = self;
9a74fcaf 4569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
d24a34bb 4570 return NULL;
2d091820
RD
4571 if (_argo0) {
4572 if (_argo0 == Py_None) { _arg0 = NULL; }
4573 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d24a34bb
RD
4574 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4575 return NULL;
4576 }
4577 }
37f6a977
RD
4578 if (_obj2)
4579{
4580 _arg2 = &temp;
4581 if (! wxPoint_helper(_obj2, &_arg2))
d24a34bb 4582 return NULL;
37f6a977
RD
4583}
4584 if (_obj3)
4585{
4586 _arg3 = &temp0;
4587 if (! wxSize_helper(_obj3, &_arg3))
d24a34bb 4588 return NULL;
9a74fcaf
RD
4589}
4590 if (_obj5)
4591{
4592 _arg5 = wxString_in_helper(_obj5);
4593 if (_arg5 == NULL)
4594 return NULL;
37f6a977 4595}
d24a34bb 4596{
474c48f9 4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4598 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
d24a34bb 4599
474c48f9 4600 wxPyEndAllowThreads(__tstate);
4dfaa61e 4601 if (PyErr_Occurred()) return NULL;
2d091820
RD
4602} if (_result) {
4603 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4604 _resultobj = Py_BuildValue("s",_ptemp);
4605 } else {
4606 Py_INCREF(Py_None);
4607 _resultobj = Py_None;
4608 }
9a74fcaf
RD
4609{
4610 if (_obj5)
4611 delete _arg5;
4612}
d24a34bb
RD
4613 return _resultobj;
4614}
4615
aa2a5b86
RD
4616#define new_wxPreStaticLine() (new wxStaticLine())
4617static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4618 PyObject * _resultobj;
4619 wxStaticLine * _result;
4620 char *_kwnames[] = { NULL };
4621 char _ptemp[128];
4622
4623 self = self;
4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4625 return NULL;
4626{
474c48f9 4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4628 _result = (wxStaticLine *)new_wxPreStaticLine();
aa2a5b86 4629
474c48f9 4630 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4631 if (PyErr_Occurred()) return NULL;
4632} if (_result) {
4633 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4634 _resultobj = Py_BuildValue("s",_ptemp);
4635 } else {
4636 Py_INCREF(Py_None);
4637 _resultobj = Py_None;
4638 }
4639 return _resultobj;
4640}
4641
4642#define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4643static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4644 PyObject * _resultobj;
4645 bool _result;
4646 wxStaticLine * _arg0;
4647 wxWindow * _arg1;
4648 wxWindowID _arg2;
4649 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4650 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4651 long _arg5 = (long ) wxLI_HORIZONTAL;
9a74fcaf 4652 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
aa2a5b86
RD
4653 PyObject * _argo0 = 0;
4654 PyObject * _argo1 = 0;
4655 wxPoint temp;
4656 PyObject * _obj3 = 0;
4657 wxSize temp0;
4658 PyObject * _obj4 = 0;
9a74fcaf 4659 PyObject * _obj6 = 0;
aa2a5b86
RD
4660 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4661
4662 self = self;
9a74fcaf 4663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
4664 return NULL;
4665 if (_argo0) {
4666 if (_argo0 == Py_None) { _arg0 = NULL; }
4667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4669 return NULL;
4670 }
4671 }
4672 if (_argo1) {
4673 if (_argo1 == Py_None) { _arg1 = NULL; }
4674 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4675 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4676 return NULL;
4677 }
4678 }
4679 if (_obj3)
4680{
4681 _arg3 = &temp;
4682 if (! wxPoint_helper(_obj3, &_arg3))
4683 return NULL;
4684}
4685 if (_obj4)
4686{
4687 _arg4 = &temp0;
4688 if (! wxSize_helper(_obj4, &_arg4))
4689 return NULL;
9a74fcaf
RD
4690}
4691 if (_obj6)
4692{
4693 _arg6 = wxString_in_helper(_obj6);
4694 if (_arg6 == NULL)
4695 return NULL;
aa2a5b86
RD
4696}
4697{
474c48f9 4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4699 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 4700
474c48f9 4701 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4702 if (PyErr_Occurred()) return NULL;
4703} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
4704{
4705 if (_obj6)
4706 delete _arg6;
4707}
aa2a5b86
RD
4708 return _resultobj;
4709}
4710
70551f47
RD
4711static void *SwigwxStaticTextTowxControl(void *ptr) {
4712 wxStaticText *src;
4713 wxControl *dest;
4714 src = (wxStaticText *) ptr;
4715 dest = (wxControl *) src;
4716 return (void *) dest;
4717}
4718
4719static void *SwigwxStaticTextTowxWindow(void *ptr) {
4720 wxStaticText *src;
4721 wxWindow *dest;
4722 src = (wxStaticText *) ptr;
4723 dest = (wxWindow *) src;
4724 return (void *) dest;
4725}
4726
4727static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4728 wxStaticText *src;
4729 wxEvtHandler *dest;
4730 src = (wxStaticText *) ptr;
4731 dest = (wxEvtHandler *) src;
4732 return (void *) dest;
4733}
4734
9df61a29
RD
4735static void *SwigwxStaticTextTowxObject(void *ptr) {
4736 wxStaticText *src;
4737 wxObject *dest;
4738 src = (wxStaticText *) ptr;
4739 dest = (wxObject *) src;
4740 return (void *) dest;
4741}
4742
70551f47 4743#define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 4744static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4745 PyObject * _resultobj;
4746 wxStaticText * _result;
4747 wxWindow * _arg0;
4748 wxWindowID _arg1;
4749 wxString * _arg2;
b68dc582
RD
4750 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4751 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 4752 long _arg5 = (long ) 0;
9a74fcaf 4753 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
2d091820 4754 PyObject * _argo0 = 0;
70551f47 4755 PyObject * _obj2 = 0;
37f6a977
RD
4756 wxPoint temp;
4757 PyObject * _obj3 = 0;
4758 wxSize temp0;
4759 PyObject * _obj4 = 0;
9a74fcaf 4760 PyObject * _obj6 = 0;
107e4716 4761 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
70551f47
RD
4762 char _ptemp[128];
4763
4764 self = self;
9a74fcaf 4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
70551f47 4766 return NULL;
2d091820
RD
4767 if (_argo0) {
4768 if (_argo0 == Py_None) { _arg0 = NULL; }
4769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
4770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4771 return NULL;
4772 }
4773 }
4774{
c8bc7bb8
RD
4775 _arg2 = wxString_in_helper(_obj2);
4776 if (_arg2 == NULL)
2cd2fac8 4777 return NULL;
70551f47 4778}
37f6a977
RD
4779 if (_obj3)
4780{
4781 _arg3 = &temp;
4782 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 4783 return NULL;
37f6a977
RD
4784}
4785 if (_obj4)
4786{
4787 _arg4 = &temp0;
4788 if (! wxSize_helper(_obj4, &_arg4))
70551f47 4789 return NULL;
9a74fcaf
RD
4790}
4791 if (_obj6)
4792{
4793 _arg6 = wxString_in_helper(_obj6);
4794 if (_arg6 == NULL)
4795 return NULL;
37f6a977 4796}
ab9bc19b 4797{
474c48f9 4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4799 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
ab9bc19b 4800
474c48f9 4801 wxPyEndAllowThreads(__tstate);
4dfaa61e 4802 if (PyErr_Occurred()) return NULL;
2d091820
RD
4803} if (_result) {
4804 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4805 _resultobj = Py_BuildValue("s",_ptemp);
4806 } else {
4807 Py_INCREF(Py_None);
4808 _resultobj = Py_None;
4809 }
70551f47
RD
4810{
4811 if (_obj2)
4812 delete _arg2;
9a74fcaf
RD
4813}
4814{
4815 if (_obj6)
4816 delete _arg6;
70551f47
RD
4817}
4818 return _resultobj;
4819}
4820
aa2a5b86
RD
4821#define new_wxPreStaticText() (new wxStaticText())
4822static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4823 PyObject * _resultobj;
4824 wxStaticText * _result;
4825 char *_kwnames[] = { NULL };
4826 char _ptemp[128];
4827
4828 self = self;
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4830 return NULL;
4831{
474c48f9 4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4833 _result = (wxStaticText *)new_wxPreStaticText();
aa2a5b86 4834
474c48f9 4835 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4836 if (PyErr_Occurred()) return NULL;
4837} if (_result) {
4838 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4839 _resultobj = Py_BuildValue("s",_ptemp);
4840 } else {
4841 Py_INCREF(Py_None);
4842 _resultobj = Py_None;
4843 }
4844 return _resultobj;
4845}
4846
4847#define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4848static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject * _resultobj;
4850 bool _result;
4851 wxStaticText * _arg0;
4852 wxWindow * _arg1;
4853 wxWindowID _arg2;
4854 wxString * _arg3;
4855 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4856 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4857 long _arg6 = (long ) 0;
9a74fcaf 4858 wxString * _arg7 = (wxString *) &wxPyStaticTextNameStr;
aa2a5b86
RD
4859 PyObject * _argo0 = 0;
4860 PyObject * _argo1 = 0;
4861 PyObject * _obj3 = 0;
4862 wxPoint temp;
4863 PyObject * _obj4 = 0;
4864 wxSize temp0;
4865 PyObject * _obj5 = 0;
9a74fcaf 4866 PyObject * _obj7 = 0;
aa2a5b86
RD
4867 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4868
4869 self = self;
9a74fcaf 4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
aa2a5b86
RD
4871 return NULL;
4872 if (_argo0) {
4873 if (_argo0 == Py_None) { _arg0 = NULL; }
4874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4876 return NULL;
4877 }
4878 }
4879 if (_argo1) {
4880 if (_argo1 == Py_None) { _arg1 = NULL; }
4881 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4882 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4883 return NULL;
4884 }
4885 }
4886{
c8bc7bb8
RD
4887 _arg3 = wxString_in_helper(_obj3);
4888 if (_arg3 == NULL)
aa2a5b86 4889 return NULL;
aa2a5b86
RD
4890}
4891 if (_obj4)
4892{
4893 _arg4 = &temp;
4894 if (! wxPoint_helper(_obj4, &_arg4))
4895 return NULL;
4896}
4897 if (_obj5)
4898{
4899 _arg5 = &temp0;
4900 if (! wxSize_helper(_obj5, &_arg5))
4901 return NULL;
9a74fcaf
RD
4902}
4903 if (_obj7)
4904{
4905 _arg7 = wxString_in_helper(_obj7);
4906 if (_arg7 == NULL)
4907 return NULL;
aa2a5b86
RD
4908}
4909{
474c48f9 4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4911 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
aa2a5b86 4912
474c48f9 4913 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4914 if (PyErr_Occurred()) return NULL;
4915} _resultobj = Py_BuildValue("i",_result);
4916{
4917 if (_obj3)
4918 delete _arg3;
9a74fcaf
RD
4919}
4920{
4921 if (_obj7)
4922 delete _arg7;
aa2a5b86
RD
4923}
4924 return _resultobj;
4925}
4926
70551f47 4927#define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
107e4716 4928static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4929 PyObject * _resultobj;
4930 wxString * _result;
4931 wxStaticText * _arg0;
2d091820 4932 PyObject * _argo0 = 0;
107e4716 4933 char *_kwnames[] = { "self", NULL };
70551f47
RD
4934
4935 self = self;
107e4716 4936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
70551f47 4937 return NULL;
2d091820
RD
4938 if (_argo0) {
4939 if (_argo0 == Py_None) { _arg0 = NULL; }
4940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
70551f47
RD
4941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4942 return NULL;
4943 }
4944 }
70551f47 4945{
474c48f9 4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4947 _result = new wxString (wxStaticText_GetLabel(_arg0));
ab9bc19b 4948
474c48f9 4949 wxPyEndAllowThreads(__tstate);
4dfaa61e 4950 if (PyErr_Occurred()) return NULL;
ab9bc19b 4951}{
c8bc7bb8 4952#if wxUSE_UNICODE
b67a9327 4953 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 4954#else
e02c03a4 4955 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4956#endif
70551f47
RD
4957}
4958{
4959 delete _result;
4960}
4961 return _resultobj;
4962}
4963
4964#define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
107e4716 4965static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4966 PyObject * _resultobj;
4967 wxStaticText * _arg0;
4968 wxString * _arg1;
2d091820 4969 PyObject * _argo0 = 0;
70551f47 4970 PyObject * _obj1 = 0;
107e4716 4971 char *_kwnames[] = { "self","label", NULL };
70551f47
RD
4972
4973 self = self;
107e4716 4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
70551f47 4975 return NULL;
2d091820
RD
4976 if (_argo0) {
4977 if (_argo0 == Py_None) { _arg0 = NULL; }
4978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
70551f47
RD
4979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4980 return NULL;
4981 }
4982 }
4983{
c8bc7bb8
RD
4984 _arg1 = wxString_in_helper(_obj1);
4985 if (_arg1 == NULL)
2cd2fac8 4986 return NULL;
70551f47 4987}
ab9bc19b 4988{
474c48f9 4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4990 wxStaticText_SetLabel(_arg0,*_arg1);
ab9bc19b 4991
474c48f9 4992 wxPyEndAllowThreads(__tstate);
4dfaa61e 4993 if (PyErr_Occurred()) return NULL;
ab9bc19b 4994} Py_INCREF(Py_None);
70551f47
RD
4995 _resultobj = Py_None;
4996{
4997 if (_obj1)
4998 delete _arg1;
4999}
5000 return _resultobj;
5001}
5002
65191ae8
RD
5003static void *SwigwxListBoxTowxControlWithItems(void *ptr) {
5004 wxListBox *src;
5005 wxControlWithItems *dest;
5006 src = (wxListBox *) ptr;
5007 dest = (wxControlWithItems *) src;
5008 return (void *) dest;
5009}
5010
70551f47
RD
5011static void *SwigwxListBoxTowxControl(void *ptr) {
5012 wxListBox *src;
5013 wxControl *dest;
5014 src = (wxListBox *) ptr;
5015 dest = (wxControl *) src;
5016 return (void *) dest;
5017}
5018
5019static void *SwigwxListBoxTowxWindow(void *ptr) {
5020 wxListBox *src;
5021 wxWindow *dest;
5022 src = (wxListBox *) ptr;
5023 dest = (wxWindow *) src;
5024 return (void *) dest;
5025}
5026
5027static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
5028 wxListBox *src;
5029 wxEvtHandler *dest;
5030 src = (wxListBox *) ptr;
5031 dest = (wxEvtHandler *) src;
5032 return (void *) dest;
5033}
5034
9df61a29
RD
5035static void *SwigwxListBoxTowxObject(void *ptr) {
5036 wxListBox *src;
5037 wxObject *dest;
5038 src = (wxListBox *) ptr;
5039 dest = (wxObject *) src;
5040 return (void *) dest;
5041}
5042
aa2a5b86
RD
5043#define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5044static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5045 PyObject * _resultobj;
5046 wxListBox * _result;
5047 wxWindow * _arg0;
5048 wxWindowID _arg1;
5049 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5050 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5051 int _arg4;
5052 wxString * _arg5 = (wxString *) NULL;
5053 long _arg6 = (long ) 0;
5054 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 5055 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
aa2a5b86
RD
5056 PyObject * _argo0 = 0;
5057 wxPoint temp;
5058 PyObject * _obj2 = 0;
5059 wxSize temp0;
5060 PyObject * _obj3 = 0;
5061 PyObject * _obj5 = 0;
5062 PyObject * _argo7 = 0;
9a74fcaf 5063 PyObject * _obj8 = 0;
aa2a5b86
RD
5064 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
5065 char _ptemp[128];
5066
5067 self = self;
9a74fcaf 5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
5069 return NULL;
5070 if (_argo0) {
5071 if (_argo0 == Py_None) { _arg0 = NULL; }
5072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
5074 return NULL;
5075 }
5076 }
5077 if (_obj2)
5078{
5079 _arg2 = &temp;
5080 if (! wxPoint_helper(_obj2, &_arg2))
5081 return NULL;
5082}
5083 if (_obj3)
5084{
5085 _arg3 = &temp0;
5086 if (! wxSize_helper(_obj3, &_arg3))
5087 return NULL;
5088}
5089 if (_obj5)
5090{
5091 _arg5 = wxString_LIST_helper(_obj5);
5092 if (_arg5 == NULL) {
5093 return NULL;
5094 }
5095}
5096 if (_argo7) {
b67a9327 5097 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
5098 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
5099 return NULL;
5100 }
5101 }
9a74fcaf
RD
5102 if (_obj8)
5103{
5104 _arg8 = wxString_in_helper(_obj8);
5105 if (_arg8 == NULL)
5106 return NULL;
5107}
aa2a5b86
RD
5108{
5109 if (_obj5) {
5110 _arg4 = PyList_Size(_obj5);
5111 }
5112 else {
5113 _arg4 = 0;
5114 }
5115}
5116{
474c48f9 5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 5118 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
aa2a5b86 5119
474c48f9 5120 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5121 if (PyErr_Occurred()) return NULL;
5122} if (_result) {
5123 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
5124 _resultobj = Py_BuildValue("s",_ptemp);
5125 } else {
5126 Py_INCREF(Py_None);
5127 _resultobj = Py_None;
5128 }
5129{
5130 delete [] _arg5;
9a74fcaf
RD
5131}
5132{
5133 if (_obj8)
5134 delete _arg8;
aa2a5b86
RD
5135}
5136 return _resultobj;
5137}
5138
5139#define new_wxPreListBox() (new wxListBox())
5140static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5141 PyObject * _resultobj;
5142 wxListBox * _result;
5143 char *_kwnames[] = { NULL };
5144 char _ptemp[128];
5145
5146 self = self;
5147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
5148 return NULL;
5149{
474c48f9 5150 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5151 _result = (wxListBox *)new_wxPreListBox();
aa2a5b86 5152
474c48f9 5153 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5154 if (PyErr_Occurred()) return NULL;
5155} if (_result) {
5156 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
5157 _resultobj = Py_BuildValue("s",_ptemp);
5158 } else {
5159 Py_INCREF(Py_None);
5160 _resultobj = Py_None;
5161 }
5162 return _resultobj;
5163}
5164
5165#define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5166static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5167 PyObject * _resultobj;
aa2a5b86
RD
5168 bool _result;
5169 wxListBox * _arg0;
5170 wxWindow * _arg1;
5171 wxWindowID _arg2;
5172 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5173 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5174 int _arg5;
5175 wxString * _arg6 = (wxString *) NULL;
5176 long _arg7 = (long ) 0;
5177 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 5178 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
2d091820 5179 PyObject * _argo0 = 0;
aa2a5b86 5180 PyObject * _argo1 = 0;
37f6a977 5181 wxPoint temp;
37f6a977 5182 PyObject * _obj3 = 0;
aa2a5b86
RD
5183 wxSize temp0;
5184 PyObject * _obj4 = 0;
5185 PyObject * _obj6 = 0;
5186 PyObject * _argo8 = 0;
9a74fcaf 5187 PyObject * _obj9 = 0;
aa2a5b86 5188 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
70551f47
RD
5189
5190 self = self;
9a74fcaf 5191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
70551f47 5192 return NULL;
2d091820
RD
5193 if (_argo0) {
5194 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
70551f47
RD
5197 return NULL;
5198 }
5199 }
aa2a5b86
RD
5200 if (_argo1) {
5201 if (_argo1 == Py_None) { _arg1 = NULL; }
5202 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5203 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
5204 return NULL;
5205 }
5206 }
5207 if (_obj3)
37f6a977 5208{
aa2a5b86
RD
5209 _arg3 = &temp;
5210 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 5211 return NULL;
37f6a977 5212}
aa2a5b86 5213 if (_obj4)
37f6a977 5214{
aa2a5b86
RD
5215 _arg4 = &temp0;
5216 if (! wxSize_helper(_obj4, &_arg4))
70551f47 5217 return NULL;
37f6a977 5218}
aa2a5b86 5219 if (_obj6)
70551f47 5220{
aa2a5b86
RD
5221 _arg6 = wxString_LIST_helper(_obj6);
5222 if (_arg6 == NULL) {
70551f47
RD
5223 return NULL;
5224 }
5225}
aa2a5b86 5226 if (_argo8) {
b67a9327 5227 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
aa2a5b86 5228 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
70551f47
RD
5229 return NULL;
5230 }
5231 }
9a74fcaf
RD
5232 if (_obj9)
5233{
5234 _arg9 = wxString_in_helper(_obj9);
5235 if (_arg9 == NULL)
5236 return NULL;
5237}
70551f47 5238{
aa2a5b86
RD
5239 if (_obj6) {
5240 _arg5 = PyList_Size(_obj6);
ab9bc19b
RD
5241 }
5242 else {
aa2a5b86 5243 _arg5 = 0;
ab9bc19b 5244 }
70551f47 5245}
ab9bc19b 5246{
474c48f9 5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 5248 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
ab9bc19b 5249
474c48f9 5250 wxPyEndAllowThreads(__tstate);
4dfaa61e 5251 if (PyErr_Occurred()) return NULL;
aa2a5b86 5252} _resultobj = Py_BuildValue("i",_result);
70551f47 5253{
aa2a5b86 5254 delete [] _arg6;
9a74fcaf
RD
5255}
5256{
5257 if (_obj9)
5258 delete _arg9;
70551f47
RD
5259}
5260 return _resultobj;
5261}
5262
70551f47 5263#define wxListBox_Clear(_swigobj) (_swigobj->Clear())
107e4716 5264static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5265 PyObject * _resultobj;
5266 wxListBox * _arg0;
2d091820 5267 PyObject * _argo0 = 0;
107e4716 5268 char *_kwnames[] = { "self", NULL };
70551f47
RD
5269
5270 self = self;
107e4716 5271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
70551f47 5272 return NULL;
2d091820
RD
5273 if (_argo0) {
5274 if (_argo0 == Py_None) { _arg0 = NULL; }
5275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
5277 return NULL;
5278 }
5279 }
ab9bc19b 5280{
474c48f9 5281 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5282 wxListBox_Clear(_arg0);
ab9bc19b 5283
474c48f9 5284 wxPyEndAllowThreads(__tstate);
4dfaa61e 5285 if (PyErr_Occurred()) return NULL;
ab9bc19b 5286} Py_INCREF(Py_None);
70551f47
RD
5287 _resultobj = Py_None;
5288 return _resultobj;
5289}
5290
70551f47 5291#define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
107e4716 5292static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5293 PyObject * _resultobj;
5294 wxListBox * _arg0;
5295 int _arg1;
2d091820 5296 PyObject * _argo0 = 0;
107e4716 5297 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
5298
5299 self = self;
107e4716 5300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
70551f47 5301 return NULL;
2d091820
RD
5302 if (_argo0) {
5303 if (_argo0 == Py_None) { _arg0 = NULL; }
5304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
5306 return NULL;
5307 }
5308 }
ab9bc19b 5309{
474c48f9 5310 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5311 wxListBox_Deselect(_arg0,_arg1);
ab9bc19b 5312
474c48f9 5313 wxPyEndAllowThreads(__tstate);
4dfaa61e 5314 if (PyErr_Occurred()) return NULL;
ab9bc19b 5315} Py_INCREF(Py_None);
70551f47
RD
5316 _resultobj = Py_None;
5317 return _resultobj;
5318}
5319
ab9bc19b
RD
5320static PyObject * wxListBox_GetSelections(wxListBox *self) {
5321 wxArrayInt lst;
5322 self->GetSelections(lst);
5323 PyObject *tup = PyTuple_New(lst.GetCount());
f6bcfd97 5324 for(size_t i=0; i<lst.GetCount(); i++) {
ab9bc19b
RD
5325 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
5326 }
5327 return tup;
5328 }
107e4716 5329static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
5330 PyObject * _resultobj;
5331 PyObject * _result;
5332 wxListBox * _arg0;
2d091820 5333 PyObject * _argo0 = 0;
107e4716 5334 char *_kwnames[] = { "self", NULL };
ab9bc19b
RD
5335
5336 self = self;
107e4716 5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
ab9bc19b 5338 return NULL;
2d091820
RD
5339 if (_argo0) {
5340 if (_argo0 == Py_None) { _arg0 = NULL; }
5341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
ab9bc19b
RD
5342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5343 return NULL;
5344 }
5345 }
5346{
474c48f9 5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5348 _result = (PyObject *)wxListBox_GetSelections(_arg0);
ab9bc19b 5349
474c48f9 5350 wxPyEndAllowThreads(__tstate);
4dfaa61e 5351 if (PyErr_Occurred()) return NULL;
ab9bc19b
RD
5352}{
5353 _resultobj = _result;
5354}
70551f47
RD
5355 return _resultobj;
5356}
5357
37f6a977
RD
5358#define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5359static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5360 PyObject * _resultobj;
5361 wxListBox * _arg0;
5362 int _arg1;
5363 wxString * _arg2;
5364 int _arg3;
5365 PyObject * _argo0 = 0;
5366 PyObject * _obj2 = 0;
e02c03a4 5367 char *_kwnames[] = { "self","choices","pos", NULL };
37f6a977
RD
5368
5369 self = self;
5370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5371 return NULL;
5372 if (_argo0) {
5373 if (_argo0 == Py_None) { _arg0 = NULL; }
5374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5376 return NULL;
5377 }
5378 }
5379{
5380 _arg2 = wxString_LIST_helper(_obj2);
5381 if (_arg2 == NULL) {
5382 return NULL;
5383 }
5384}
5385{
5386 if (_obj2) {
5387 _arg1 = PyList_Size(_obj2);
5388 }
5389 else {
5390 _arg1 = 0;
5391 }
5392}
5393{
474c48f9 5394 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5395 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
37f6a977 5396
474c48f9 5397 wxPyEndAllowThreads(__tstate);
4dfaa61e 5398 if (PyErr_Occurred()) return NULL;
37f6a977
RD
5399} Py_INCREF(Py_None);
5400 _resultobj = Py_None;
5401{
5402 delete [] _arg2;
5403}
5404 return _resultobj;
5405}
5406
2c8a649d
RD
5407#define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5408static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5409 PyObject * _resultobj;
5410 bool _result;
5411 wxListBox * _arg0;
5412 int _arg1;
5413 PyObject * _argo0 = 0;
5414 char *_kwnames[] = { "self","n", NULL };
5415
5416 self = self;
5417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
70551f47 5418 return NULL;
2d091820
RD
5419 if (_argo0) {
5420 if (_argo0 == Py_None) { _arg0 = NULL; }
5421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
2c8a649d 5422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
70551f47
RD
5423 return NULL;
5424 }
5425 }
ab9bc19b 5426{
474c48f9 5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5428 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
ab9bc19b 5429
474c48f9 5430 wxPyEndAllowThreads(__tstate);
4dfaa61e 5431 if (PyErr_Occurred()) return NULL;
ab9bc19b 5432} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5433 return _resultobj;
5434}
5435
5436#define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
107e4716 5437static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5438 PyObject * _resultobj;
5439 bool _result;
5440 wxListBox * _arg0;
5441 int _arg1;
2d091820 5442 PyObject * _argo0 = 0;
107e4716 5443 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
5444
5445 self = self;
107e4716 5446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
70551f47 5447 return NULL;
2d091820
RD
5448 if (_argo0) {
5449 if (_argo0 == Py_None) { _arg0 = NULL; }
5450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5452 return NULL;
5453 }
5454 }
ab9bc19b 5455{
474c48f9 5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5457 _result = (bool )wxListBox_Selected(_arg0,_arg1);
ab9bc19b 5458
474c48f9 5459 wxPyEndAllowThreads(__tstate);
4dfaa61e 5460 if (PyErr_Occurred()) return NULL;
ab9bc19b 5461} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5462 return _resultobj;
5463}
5464
5465#define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
107e4716 5466static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5467 PyObject * _resultobj;
5468 wxListBox * _arg0;
5469 int _arg1;
5470 wxString * _arg2;
2d091820 5471 PyObject * _argo0 = 0;
70551f47 5472 PyObject * _obj2 = 0;
e02c03a4 5473 char *_kwnames[] = { "self","choices", NULL };
70551f47
RD
5474
5475 self = self;
107e4716 5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
70551f47 5477 return NULL;
2d091820
RD
5478 if (_argo0) {
5479 if (_argo0 == Py_None) { _arg0 = NULL; }
5480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5482 return NULL;
5483 }
5484 }
5485 if (_obj2)
5486{
5487 _arg2 = wxString_LIST_helper(_obj2);
5488 if (_arg2 == NULL) {
5489 return NULL;
5490 }
5491}
5492{
ab9bc19b
RD
5493 if (_obj2) {
5494 _arg1 = PyList_Size(_obj2);
5495 }
5496 else {
5497 _arg1 = 0;
5498 }
70551f47 5499}
ab9bc19b 5500{
474c48f9 5501 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5502 wxListBox_Set(_arg0,_arg1,_arg2);
ab9bc19b 5503
474c48f9 5504 wxPyEndAllowThreads(__tstate);
4dfaa61e 5505 if (PyErr_Occurred()) return NULL;
ab9bc19b 5506} Py_INCREF(Py_None);
70551f47
RD
5507 _resultobj = Py_None;
5508{
5509 delete [] _arg2;
5510}
5511 return _resultobj;
5512}
5513
5514#define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
107e4716 5515static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5516 PyObject * _resultobj;
5517 wxListBox * _arg0;
5518 int _arg1;
2d091820 5519 PyObject * _argo0 = 0;
107e4716 5520 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
5521
5522 self = self;
107e4716 5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
70551f47 5524 return NULL;
2d091820
RD
5525 if (_argo0) {
5526 if (_argo0 == Py_None) { _arg0 = NULL; }
5527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5529 return NULL;
5530 }
5531 }
ab9bc19b 5532{
474c48f9 5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5534 wxListBox_SetFirstItem(_arg0,_arg1);
ab9bc19b 5535
474c48f9 5536 wxPyEndAllowThreads(__tstate);
4dfaa61e 5537 if (PyErr_Occurred()) return NULL;
ab9bc19b 5538} Py_INCREF(Py_None);
70551f47
RD
5539 _resultobj = Py_None;
5540 return _resultobj;
5541}
5542
5543#define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
107e4716 5544static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5545 PyObject * _resultobj;
5546 wxListBox * _arg0;
5547 wxString * _arg1;
2d091820 5548 PyObject * _argo0 = 0;
70551f47 5549 PyObject * _obj1 = 0;
107e4716 5550 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
5551
5552 self = self;
107e4716 5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
70551f47 5554 return NULL;
2d091820
RD
5555 if (_argo0) {
5556 if (_argo0 == Py_None) { _arg0 = NULL; }
5557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5559 return NULL;
5560 }
5561 }
5562{
c8bc7bb8
RD
5563 _arg1 = wxString_in_helper(_obj1);
5564 if (_arg1 == NULL)
2cd2fac8 5565 return NULL;
70551f47 5566}
ab9bc19b 5567{
474c48f9 5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5569 wxListBox_SetFirstItemStr(_arg0,*_arg1);
ab9bc19b 5570
474c48f9 5571 wxPyEndAllowThreads(__tstate);
4dfaa61e 5572 if (PyErr_Occurred()) return NULL;
ab9bc19b 5573} Py_INCREF(Py_None);
70551f47
RD
5574 _resultobj = Py_None;
5575{
5576 if (_obj1)
5577 delete _arg1;
5578}
5579 return _resultobj;
5580}
5581
5582#define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 5583static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5584 PyObject * _resultobj;
5585 wxListBox * _arg0;
5586 int _arg1;
2d091820
RD
5587 bool _arg2 = (bool ) TRUE;
5588 PyObject * _argo0 = 0;
5589 int tempbool2 = (int) TRUE;
107e4716 5590 char *_kwnames[] = { "self","n","select", NULL };
70551f47
RD
5591
5592 self = self;
107e4716 5593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 5594 return NULL;
2d091820
RD
5595 if (_argo0) {
5596 if (_argo0 == Py_None) { _arg0 = NULL; }
5597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5599 return NULL;
5600 }
5601 }
5602 _arg2 = (bool ) tempbool2;
ab9bc19b 5603{
474c48f9 5604 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5605 wxListBox_SetSelection(_arg0,_arg1,_arg2);
ab9bc19b 5606
474c48f9 5607 wxPyEndAllowThreads(__tstate);
4dfaa61e 5608 if (PyErr_Occurred()) return NULL;
ab9bc19b 5609} Py_INCREF(Py_None);
70551f47
RD
5610 _resultobj = Py_None;
5611 return _resultobj;
5612}
5613
5614#define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
107e4716 5615static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5616 PyObject * _resultobj;
5617 wxListBox * _arg0;
5618 int _arg1;
5619 wxString * _arg2;
2d091820 5620 PyObject * _argo0 = 0;
70551f47 5621 PyObject * _obj2 = 0;
107e4716 5622 char *_kwnames[] = { "self","n","string", NULL };
70551f47
RD
5623
5624 self = self;
107e4716 5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 5626 return NULL;
2d091820
RD
5627 if (_argo0) {
5628 if (_argo0 == Py_None) { _arg0 = NULL; }
5629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5631 return NULL;
5632 }
5633 }
5634{
c8bc7bb8
RD
5635 _arg2 = wxString_in_helper(_obj2);
5636 if (_arg2 == NULL)
2cd2fac8 5637 return NULL;
70551f47 5638}
ab9bc19b 5639{
474c48f9 5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5641 wxListBox_SetString(_arg0,_arg1,*_arg2);
ab9bc19b 5642
474c48f9 5643 wxPyEndAllowThreads(__tstate);
4dfaa61e 5644 if (PyErr_Occurred()) return NULL;
ab9bc19b 5645} Py_INCREF(Py_None);
70551f47
RD
5646 _resultobj = Py_None;
5647{
5648 if (_obj2)
5649 delete _arg2;
5650}
5651 return _resultobj;
5652}
5653
5654#define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
107e4716 5655static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5656 PyObject * _resultobj;
5657 wxListBox * _arg0;
5658 wxString * _arg1;
2d091820
RD
5659 bool _arg2 = (bool ) TRUE;
5660 PyObject * _argo0 = 0;
70551f47 5661 PyObject * _obj1 = 0;
2d091820 5662 int tempbool2 = (int) TRUE;
107e4716 5663 char *_kwnames[] = { "self","string","select", NULL };
70551f47
RD
5664
5665 self = self;
107e4716 5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
70551f47 5667 return NULL;
2d091820
RD
5668 if (_argo0) {
5669 if (_argo0 == Py_None) { _arg0 = NULL; }
5670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5672 return NULL;
5673 }
5674 }
5675{
c8bc7bb8
RD
5676 _arg1 = wxString_in_helper(_obj1);
5677 if (_arg1 == NULL)
70551f47 5678 return NULL;
70551f47
RD
5679}
5680 _arg2 = (bool ) tempbool2;
ab9bc19b 5681{
474c48f9 5682 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5683 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
ab9bc19b 5684
474c48f9 5685 wxPyEndAllowThreads(__tstate);
4dfaa61e 5686 if (PyErr_Occurred()) return NULL;
ab9bc19b 5687} Py_INCREF(Py_None);
70551f47
RD
5688 _resultobj = Py_None;
5689{
5690 if (_obj1)
5691 delete _arg1;
5692}
5693 return _resultobj;
5694}
5695
c95e68d8
RD
5696static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5697 wxCheckListBox *src;
5698 wxListBox *dest;
5699 src = (wxCheckListBox *) ptr;
5700 dest = (wxListBox *) src;
5701 return (void *) dest;
5702}
5703
65191ae8
RD
5704static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr) {
5705 wxCheckListBox *src;
5706 wxControlWithItems *dest;
5707 src = (wxCheckListBox *) ptr;
5708 dest = (wxControlWithItems *) src;
5709 return (void *) dest;
5710}
5711
c95e68d8
RD
5712static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5713 wxCheckListBox *src;
5714 wxControl *dest;
5715 src = (wxCheckListBox *) ptr;
5716 dest = (wxControl *) src;
5717 return (void *) dest;
5718}
5719
5720static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5721 wxCheckListBox *src;
5722 wxWindow *dest;
5723 src = (wxCheckListBox *) ptr;
5724 dest = (wxWindow *) src;
5725 return (void *) dest;
5726}
5727
5728static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5729 wxCheckListBox *src;
5730 wxEvtHandler *dest;
5731 src = (wxCheckListBox *) ptr;
5732 dest = (wxEvtHandler *) src;
5733 return (void *) dest;
5734}
5735
9df61a29
RD
5736static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5737 wxCheckListBox *src;
5738 wxObject *dest;
5739 src = (wxCheckListBox *) ptr;
5740 dest = (wxObject *) src;
5741 return (void *) dest;
5742}
5743
c95e68d8 5744#define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
107e4716 5745static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5746 PyObject * _resultobj;
5747 wxCheckListBox * _result;
5748 wxWindow * _arg0;
5749 wxWindowID _arg1;
b68dc582
RD
5750 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5751 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
5752 int _arg4 = (int ) 0;
5753 wxString * _arg5 = (wxString *) NULL;
5754 long _arg6 = (long ) 0;
b68dc582 5755 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 5756 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
2d091820 5757 PyObject * _argo0 = 0;
37f6a977
RD
5758 wxPoint temp;
5759 PyObject * _obj2 = 0;
5760 wxSize temp0;
5761 PyObject * _obj3 = 0;
c95e68d8 5762 PyObject * _obj5 = 0;
2d091820 5763 PyObject * _argo7 = 0;
9a74fcaf 5764 PyObject * _obj8 = 0;
e02c03a4 5765 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
c95e68d8
RD
5766 char _ptemp[128];
5767
5768 self = self;
9a74fcaf 5769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
c95e68d8 5770 return NULL;
2d091820
RD
5771 if (_argo0) {
5772 if (_argo0 == Py_None) { _arg0 = NULL; }
5773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
c95e68d8
RD
5774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5775 return NULL;
5776 }
5777 }
37f6a977
RD
5778 if (_obj2)
5779{
5780 _arg2 = &temp;
5781 if (! wxPoint_helper(_obj2, &_arg2))
c95e68d8 5782 return NULL;
37f6a977
RD
5783}
5784 if (_obj3)
5785{
5786 _arg3 = &temp0;
5787 if (! wxSize_helper(_obj3, &_arg3))
c95e68d8 5788 return NULL;
37f6a977 5789}
c95e68d8
RD
5790 if (_obj5)
5791{
5792 _arg5 = wxString_LIST_helper(_obj5);
5793 if (_arg5 == NULL) {
5794 return NULL;
5795 }
5796}
2d091820 5797 if (_argo7) {
b67a9327 5798 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
c95e68d8
RD
5799 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5800 return NULL;
5801 }
5802 }
9a74fcaf
RD
5803 if (_obj8)
5804{
5805 _arg8 = wxString_in_helper(_obj8);
5806 if (_arg8 == NULL)
5807 return NULL;
5808}
c95e68d8 5809{
ab9bc19b
RD
5810 if (_obj5) {
5811 _arg4 = PyList_Size(_obj5);
5812 }
5813 else {
5814 _arg4 = 0;
5815 }
c95e68d8 5816}
ab9bc19b 5817{
474c48f9 5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 5819 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
ab9bc19b 5820
474c48f9 5821 wxPyEndAllowThreads(__tstate);
4dfaa61e 5822 if (PyErr_Occurred()) return NULL;
2d091820
RD
5823} if (_result) {
5824 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5825 _resultobj = Py_BuildValue("s",_ptemp);
5826 } else {
5827 Py_INCREF(Py_None);
5828 _resultobj = Py_None;
5829 }
c95e68d8
RD
5830{
5831 delete [] _arg5;
9a74fcaf
RD
5832}
5833{
5834 if (_obj8)
5835 delete _arg8;
c95e68d8
RD
5836}
5837 return _resultobj;
5838}
5839
aa2a5b86
RD
5840#define new_wxPreCheckListBox() (new wxCheckListBox())
5841static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5842 PyObject * _resultobj;
5843 wxCheckListBox * _result;
5844 char *_kwnames[] = { NULL };
5845 char _ptemp[128];
5846
5847 self = self;
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
5849 return NULL;
5850{
474c48f9 5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5852 _result = (wxCheckListBox *)new_wxPreCheckListBox();
aa2a5b86 5853
474c48f9 5854 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5855 if (PyErr_Occurred()) return NULL;
5856} if (_result) {
5857 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5858 _resultobj = Py_BuildValue("s",_ptemp);
5859 } else {
5860 Py_INCREF(Py_None);
5861 _resultobj = Py_None;
5862 }
5863 return _resultobj;
5864}
5865
5866#define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5867static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject * _resultobj;
5869 bool _result;
5870 wxCheckListBox * _arg0;
5871 wxWindow * _arg1;
5872 wxWindowID _arg2;
5873 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5874 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5875 int _arg5 = (int ) 0;
5876 wxString * _arg6 = (wxString *) NULL;
5877 long _arg7 = (long ) 0;
5878 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 5879 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
aa2a5b86
RD
5880 PyObject * _argo0 = 0;
5881 PyObject * _argo1 = 0;
5882 wxPoint temp;
5883 PyObject * _obj3 = 0;
5884 wxSize temp0;
5885 PyObject * _obj4 = 0;
5886 PyObject * _obj6 = 0;
5887 PyObject * _argo8 = 0;
9a74fcaf 5888 PyObject * _obj9 = 0;
aa2a5b86
RD
5889 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5890
5891 self = self;
9a74fcaf 5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
aa2a5b86
RD
5893 return NULL;
5894 if (_argo0) {
5895 if (_argo0 == Py_None) { _arg0 = NULL; }
5896 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5898 return NULL;
5899 }
5900 }
5901 if (_argo1) {
5902 if (_argo1 == Py_None) { _arg1 = NULL; }
5903 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5904 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5905 return NULL;
5906 }
5907 }
5908 if (_obj3)
5909{
5910 _arg3 = &temp;
5911 if (! wxPoint_helper(_obj3, &_arg3))
5912 return NULL;
5913}
5914 if (_obj4)
5915{
5916 _arg4 = &temp0;
5917 if (! wxSize_helper(_obj4, &_arg4))
5918 return NULL;
5919}
5920 if (_obj6)
5921{
5922 _arg6 = wxString_LIST_helper(_obj6);
5923 if (_arg6 == NULL) {
5924 return NULL;
5925 }
5926}
5927 if (_argo8) {
b67a9327 5928 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
aa2a5b86
RD
5929 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5930 return NULL;
5931 }
5932 }
9a74fcaf
RD
5933 if (_obj9)
5934{
5935 _arg9 = wxString_in_helper(_obj9);
5936 if (_arg9 == NULL)
5937 return NULL;
5938}
aa2a5b86
RD
5939{
5940 if (_obj6) {
5941 _arg5 = PyList_Size(_obj6);
5942 }
5943 else {
5944 _arg5 = 0;
5945 }
5946}
5947{
474c48f9 5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 5949 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
aa2a5b86 5950
474c48f9 5951 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5952 if (PyErr_Occurred()) return NULL;
5953} _resultobj = Py_BuildValue("i",_result);
5954{
5955 delete [] _arg6;
9a74fcaf
RD
5956}
5957{
5958 if (_obj9)
5959 delete _arg9;
aa2a5b86
RD
5960}
5961 return _resultobj;
5962}
5963
c95e68d8 5964#define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
107e4716 5965static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5966 PyObject * _resultobj;
5967 bool _result;
5968 wxCheckListBox * _arg0;
5969 int _arg1;
2d091820 5970 PyObject * _argo0 = 0;
107e4716 5971 char *_kwnames[] = { "self","uiIndex", NULL };
c95e68d8
RD
5972
5973 self = self;
107e4716 5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
c95e68d8 5975 return NULL;
2d091820
RD
5976 if (_argo0) {
5977 if (_argo0 == Py_None) { _arg0 = NULL; }
5978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
5979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5980 return NULL;
5981 }
5982 }
ab9bc19b 5983{
474c48f9 5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5985 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
ab9bc19b 5986
474c48f9 5987 wxPyEndAllowThreads(__tstate);
4dfaa61e 5988 if (PyErr_Occurred()) return NULL;
ab9bc19b 5989} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
5990 return _resultobj;
5991}
5992
5993#define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
107e4716 5994static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5995 PyObject * _resultobj;
5996 wxCheckListBox * _arg0;
5997 int _arg1;
d29aba2f 5998 int _arg2 = (int ) TRUE;
2d091820 5999 PyObject * _argo0 = 0;
107e4716 6000 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
c95e68d8
RD
6001
6002 self = self;
d29aba2f 6003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
c95e68d8 6004 return NULL;
2d091820
RD
6005 if (_argo0) {
6006 if (_argo0 == Py_None) { _arg0 = NULL; }
6007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
6008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
6009 return NULL;
6010 }
6011 }
ab9bc19b 6012{
474c48f9 6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6014 wxCheckListBox_Check(_arg0,_arg1,_arg2);
ab9bc19b 6015
474c48f9 6016 wxPyEndAllowThreads(__tstate);
4dfaa61e 6017 if (PyErr_Occurred()) return NULL;
ab9bc19b 6018} Py_INCREF(Py_None);
c95e68d8
RD
6019 _resultobj = Py_None;
6020 return _resultobj;
6021}
6022
d29aba2f
RD
6023#define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
6024static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
6025 PyObject * _resultobj;
6026 wxCheckListBox * _arg0;
6027 int _arg1;
6028 wxString * _arg2;
6029 int _arg3;
6030 PyObject * _argo0 = 0;
6031 PyObject * _obj2 = 0;
e02c03a4 6032 char *_kwnames[] = { "self","choices","pos", NULL };
d29aba2f
RD
6033
6034 self = self;
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
6036 return NULL;
6037 if (_argo0) {
6038 if (_argo0 == Py_None) { _arg0 = NULL; }
6039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
6040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
6041 return NULL;
6042 }
6043 }
6044{
6045 _arg2 = wxString_LIST_helper(_obj2);
6046 if (_arg2 == NULL) {
6047 return NULL;
6048 }
6049}
6050{
6051 if (_obj2) {
6052 _arg1 = PyList_Size(_obj2);
6053 }
6054 else {
6055 _arg1 = 0;
6056 }
6057}
6058{
474c48f9 6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6060 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
d29aba2f 6061
474c48f9 6062 wxPyEndAllowThreads(__tstate);
4dfaa61e 6063 if (PyErr_Occurred()) return NULL;
d29aba2f
RD
6064} Py_INCREF(Py_None);
6065 _resultobj = Py_None;
6066{
6067 delete [] _arg2;
6068}
6069 return _resultobj;
6070}
6071
c95e68d8 6072#define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
107e4716 6073static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
6074 PyObject * _resultobj;
6075 int _result;
6076 wxCheckListBox * _arg0;
2d091820 6077 PyObject * _argo0 = 0;
107e4716 6078 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
6079
6080 self = self;
107e4716 6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
c95e68d8 6082 return NULL;
2d091820
RD
6083 if (_argo0) {
6084 if (_argo0 == Py_None) { _arg0 = NULL; }
6085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
6086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
6087 return NULL;
6088 }
6089 }
ab9bc19b 6090{
474c48f9 6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6092 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
ab9bc19b 6093
474c48f9 6094 wxPyEndAllowThreads(__tstate);
4dfaa61e 6095 if (PyErr_Occurred()) return NULL;
ab9bc19b 6096} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
6097 return _resultobj;
6098}
6099
c81fd4b9
RD
6100#define wxCheckListBox_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
6101static PyObject *_wrap_wxCheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6102 PyObject * _resultobj;
6103 int _result;
6104 wxCheckListBox * _arg0;
6105 wxPoint * _arg1;
6106 PyObject * _argo0 = 0;
6107 wxPoint temp;
6108 PyObject * _obj1 = 0;
6109 char *_kwnames[] = { "self","pt", NULL };
6110
6111 self = self;
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCheckListBox_HitTest",_kwnames,&_argo0,&_obj1))
6113 return NULL;
6114 if (_argo0) {
6115 if (_argo0 == Py_None) { _arg0 = NULL; }
6116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
6117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p.");
6118 return NULL;
6119 }
6120 }
6121{
6122 _arg1 = &temp;
6123 if (! wxPoint_helper(_obj1, &_arg1))
6124 return NULL;
6125}
6126{
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 _result = (int )wxCheckListBox_HitTest(_arg0,*_arg1);
6129
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) return NULL;
6132} _resultobj = Py_BuildValue("i",_result);
6133 return _resultobj;
6134}
6135
6136#define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
6137static PyObject *_wrap_wxCheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6138 PyObject * _resultobj;
6139 int _result;
6140 wxCheckListBox * _arg0;
6141 wxCoord _arg1;
6142 wxCoord _arg2;
6143 PyObject * _argo0 = 0;
6144 char *_kwnames[] = { "self","x","y", NULL };
6145
6146 self = self;
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCheckListBox_HitTestXY",_kwnames,&_argo0,&_arg1,&_arg2))
6148 return NULL;
6149 if (_argo0) {
6150 if (_argo0 == Py_None) { _arg0 = NULL; }
6151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
6152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p.");
6153 return NULL;
6154 }
6155 }
6156{
6157 PyThreadState* __tstate = wxPyBeginAllowThreads();
6158 _result = (int )wxCheckListBox_HitTestXY(_arg0,_arg1,_arg2);
6159
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) return NULL;
6162} _resultobj = Py_BuildValue("i",_result);
6163 return _resultobj;
6164}
6165
3ef86e32 6166#define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9d6da64a
RD
6167static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject * _resultobj;
6169 wxTextAttr * _result;
6170 wxColour * _arg0 = (wxColour *) &wxNullColour;
6171 wxColour * _arg1 = (wxColour *) &wxNullColour;
6172 wxFont * _arg2 = (wxFont *) &wxNullFont;
3ef86e32 6173 wxTextAttrAlignment _arg3 = (wxTextAttrAlignment ) (wxTEXT_ALIGNMENT_DEFAULT);
9d6da64a
RD
6174 wxColour temp;
6175 PyObject * _obj0 = 0;
6176 wxColour temp0;
6177 PyObject * _obj1 = 0;
6178 PyObject * _argo2 = 0;
3ef86e32 6179 char *_kwnames[] = { "colText","colBack","font","alignment", NULL };
9d6da64a
RD
6180 char _ptemp[128];
6181
6182 self = self;
3ef86e32 6183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOOi:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2,&_arg3))
9d6da64a
RD
6184 return NULL;
6185 if (_obj0)
6186{
6187 _arg0 = &temp;
6188 if (! wxColour_helper(_obj0, &_arg0))
6189 return NULL;
6190}
6191 if (_obj1)
6192{
6193 _arg1 = &temp0;
6194 if (! wxColour_helper(_obj1, &_arg1))
6195 return NULL;
6196}
6197 if (_argo2) {
b67a9327 6198 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9d6da64a
RD
6199 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
6200 return NULL;
6201 }
6202 }
6203{
474c48f9 6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3ef86e32 6205 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2,_arg3);
9d6da64a 6206
474c48f9 6207 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6208 if (PyErr_Occurred()) return NULL;
6209} if (_result) {
6210 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
6211 _resultobj = Py_BuildValue("s",_ptemp);
6212 } else {
6213 Py_INCREF(Py_None);
6214 _resultobj = Py_None;
6215 }
6216 return _resultobj;
6217}
6218
6219#define delete_wxTextAttr(_swigobj) (delete _swigobj)
6220static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject * _resultobj;
6222 wxTextAttr * _arg0;
6223 PyObject * _argo0 = 0;
6224 char *_kwnames[] = { "self", NULL };
6225
6226 self = self;
6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
6228 return NULL;
6229 if (_argo0) {
6230 if (_argo0 == Py_None) { _arg0 = NULL; }
6231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
6233 return NULL;
6234 }
6235 }
6236{
474c48f9 6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6238 delete_wxTextAttr(_arg0);
9d6da64a 6239
474c48f9 6240 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6241 if (PyErr_Occurred()) return NULL;
6242} Py_INCREF(Py_None);
6243 _resultobj = Py_None;
6244 return _resultobj;
6245}
6246
3ef86e32
RD
6247#define wxTextAttr_Init(_swigobj) (_swigobj->Init())
6248static PyObject *_wrap_wxTextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6249 PyObject * _resultobj;
6250 wxTextAttr * _arg0;
6251 PyObject * _argo0 = 0;
6252 char *_kwnames[] = { "self", NULL };
6253
6254 self = self;
6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_Init",_kwnames,&_argo0))
6256 return NULL;
6257 if (_argo0) {
6258 if (_argo0 == Py_None) { _arg0 = NULL; }
6259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Init. Expected _wxTextAttr_p.");
6261 return NULL;
6262 }
6263 }
6264{
6265 PyThreadState* __tstate = wxPyBeginAllowThreads();
6266 wxTextAttr_Init(_arg0);
6267
6268 wxPyEndAllowThreads(__tstate);
6269 if (PyErr_Occurred()) return NULL;
6270} Py_INCREF(Py_None);
6271 _resultobj = Py_None;
6272 return _resultobj;
6273}
6274
9d6da64a
RD
6275#define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6276static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6277 PyObject * _resultobj;
6278 wxTextAttr * _arg0;
6279 wxColour * _arg1;
6280 PyObject * _argo0 = 0;
6281 wxColour temp;
6282 PyObject * _obj1 = 0;
6283 char *_kwnames[] = { "self","colText", NULL };
6284
6285 self = self;
6286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
6287 return NULL;
6288 if (_argo0) {
6289 if (_argo0 == Py_None) { _arg0 = NULL; }
6290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
6292 return NULL;
6293 }
6294 }
6295{
6296 _arg1 = &temp;
6297 if (! wxColour_helper(_obj1, &_arg1))
6298 return NULL;
6299}
6300{
474c48f9 6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6302 wxTextAttr_SetTextColour(_arg0,*_arg1);
9d6da64a 6303
474c48f9 6304 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6305 if (PyErr_Occurred()) return NULL;
6306} Py_INCREF(Py_None);
6307 _resultobj = Py_None;
6308 return _resultobj;
6309}
6310
6311#define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
6312static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6313 PyObject * _resultobj;
6314 wxTextAttr * _arg0;
6315 wxColour * _arg1;
6316 PyObject * _argo0 = 0;
6317 wxColour temp;
6318 PyObject * _obj1 = 0;
6319 char *_kwnames[] = { "self","colBack", NULL };
6320
6321 self = self;
6322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
6323 return NULL;
6324 if (_argo0) {
6325 if (_argo0 == Py_None) { _arg0 = NULL; }
6326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
6328 return NULL;
6329 }
6330 }
6331{
6332 _arg1 = &temp;
6333 if (! wxColour_helper(_obj1, &_arg1))
6334 return NULL;
6335}
6336{
474c48f9 6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6338 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
9d6da64a 6339
474c48f9 6340 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6341 if (PyErr_Occurred()) return NULL;
6342} Py_INCREF(Py_None);
6343 _resultobj = Py_None;
6344 return _resultobj;
6345}
6346
6347#define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6348static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject * _resultobj;
6350 wxTextAttr * _arg0;
6351 wxFont * _arg1;
6352 PyObject * _argo0 = 0;
6353 PyObject * _argo1 = 0;
6354 char *_kwnames[] = { "self","font", NULL };
6355
6356 self = self;
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
6358 return NULL;
6359 if (_argo0) {
6360 if (_argo0 == Py_None) { _arg0 = NULL; }
6361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
6363 return NULL;
6364 }
6365 }
6366 if (_argo1) {
b67a9327 6367 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9d6da64a
RD
6368 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
6369 return NULL;
6370 }
6371 }
6372{
474c48f9 6373 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6374 wxTextAttr_SetFont(_arg0,*_arg1);
9d6da64a 6375
474c48f9 6376 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6377 if (PyErr_Occurred()) return NULL;
6378} Py_INCREF(Py_None);
6379 _resultobj = Py_None;
6380 return _resultobj;
6381}
6382
3ef86e32
RD
6383#define wxTextAttr_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
6384static PyObject *_wrap_wxTextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6385 PyObject * _resultobj;
6386 wxTextAttr * _arg0;
6387 wxTextAttrAlignment _arg1;
6388 PyObject * _argo0 = 0;
6389 char *_kwnames[] = { "self","alignment", NULL };
6390
6391 self = self;
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetAlignment",_kwnames,&_argo0,&_arg1))
6393 return NULL;
6394 if (_argo0) {
6395 if (_argo0 == Py_None) { _arg0 = NULL; }
6396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetAlignment. Expected _wxTextAttr_p.");
6398 return NULL;
6399 }
6400 }
6401{
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 wxTextAttr_SetAlignment(_arg0,_arg1);
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) return NULL;
6407} Py_INCREF(Py_None);
6408 _resultobj = Py_None;
6409 return _resultobj;
6410}
6411
6412#define wxTextAttr_SetTabs(_swigobj,_swigarg0) (_swigobj->SetTabs(_swigarg0))
6413static PyObject *_wrap_wxTextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6414 PyObject * _resultobj;
6415 wxTextAttr * _arg0;
6416 wxArrayInt * _arg1;
6417 PyObject * _argo0 = 0;
6418 PyObject * _obj1 = 0;
6419 char *_kwnames[] = { "self","tabs", NULL };
6420
6421 self = self;
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTabs",_kwnames,&_argo0,&_obj1))
6423 return NULL;
6424 if (_argo0) {
6425 if (_argo0 == Py_None) { _arg0 = NULL; }
6426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTabs. Expected _wxTextAttr_p.");
6428 return NULL;
6429 }
6430 }
6431{
6432 if (! PySequence_Check(_obj1)) {
6433 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6434 return NULL;
6435 }
6436 _arg1 = new wxArrayInt;
6437 int i, len=PySequence_Length(_obj1);
6438 for (i=0; i<len; i++) {
6439 PyObject* item = PySequence_GetItem(_obj1, i);
6440 PyObject* number = PyNumber_Int(item);
6441 _arg1->Add(PyInt_AS_LONG(number));
6442 Py_DECREF(item);
6443 Py_DECREF(number);
6444 }
6445}
6446{
6447 PyThreadState* __tstate = wxPyBeginAllowThreads();
6448 wxTextAttr_SetTabs(_arg0,*_arg1);
6449
6450 wxPyEndAllowThreads(__tstate);
6451 if (PyErr_Occurred()) return NULL;
6452} Py_INCREF(Py_None);
6453 _resultobj = Py_None;
6454{
6455 if (_obj1)
6456 delete _arg1;
6457}
6458 return _resultobj;
6459}
6460
6461#define wxTextAttr_SetLeftIndent(_swigobj,_swigarg0) (_swigobj->SetLeftIndent(_swigarg0))
6462static PyObject *_wrap_wxTextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6463 PyObject * _resultobj;
6464 wxTextAttr * _arg0;
6465 int _arg1;
6466 PyObject * _argo0 = 0;
6467 char *_kwnames[] = { "self","indent", NULL };
6468
6469 self = self;
6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetLeftIndent",_kwnames,&_argo0,&_arg1))
6471 return NULL;
6472 if (_argo0) {
6473 if (_argo0 == Py_None) { _arg0 = NULL; }
6474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetLeftIndent. Expected _wxTextAttr_p.");
6476 return NULL;
6477 }
6478 }
6479{
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 wxTextAttr_SetLeftIndent(_arg0,_arg1);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) return NULL;
6485} Py_INCREF(Py_None);
6486 _resultobj = Py_None;
6487 return _resultobj;
6488}
6489
6490#define wxTextAttr_SetRightIndent(_swigobj,_swigarg0) (_swigobj->SetRightIndent(_swigarg0))
6491static PyObject *_wrap_wxTextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6492 PyObject * _resultobj;
6493 wxTextAttr * _arg0;
6494 int _arg1;
6495 PyObject * _argo0 = 0;
6496 char *_kwnames[] = { "self","indent", NULL };
6497
6498 self = self;
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetRightIndent",_kwnames,&_argo0,&_arg1))
6500 return NULL;
6501 if (_argo0) {
6502 if (_argo0 == Py_None) { _arg0 = NULL; }
6503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetRightIndent. Expected _wxTextAttr_p.");
6505 return NULL;
6506 }
6507 }
6508{
6509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6510 wxTextAttr_SetRightIndent(_arg0,_arg1);
6511
6512 wxPyEndAllowThreads(__tstate);
6513 if (PyErr_Occurred()) return NULL;
6514} Py_INCREF(Py_None);
6515 _resultobj = Py_None;
6516 return _resultobj;
6517}
6518
6519#define wxTextAttr_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
6520static PyObject *_wrap_wxTextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6521 PyObject * _resultobj;
6522 wxTextAttr * _arg0;
6523 long _arg1;
6524 PyObject * _argo0 = 0;
6525 char *_kwnames[] = { "self","flags", NULL };
6526
6527 self = self;
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextAttr_SetFlags",_kwnames,&_argo0,&_arg1))
6529 return NULL;
6530 if (_argo0) {
6531 if (_argo0 == Py_None) { _arg0 = NULL; }
6532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFlags. Expected _wxTextAttr_p.");
6534 return NULL;
6535 }
6536 }
6537{
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 wxTextAttr_SetFlags(_arg0,_arg1);
6540
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) return NULL;
6543} Py_INCREF(Py_None);
6544 _resultobj = Py_None;
6545 return _resultobj;
6546}
6547
9d6da64a
RD
6548#define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6549static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6550 PyObject * _resultobj;
6551 bool _result;
6552 wxTextAttr * _arg0;
6553 PyObject * _argo0 = 0;
6554 char *_kwnames[] = { "self", NULL };
6555
6556 self = self;
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
6558 return NULL;
6559 if (_argo0) {
6560 if (_argo0 == Py_None) { _arg0 = NULL; }
6561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6563 return NULL;
6564 }
6565 }
6566{
474c48f9 6567 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6568 _result = (bool )wxTextAttr_HasTextColour(_arg0);
9d6da64a 6569
474c48f9 6570 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6571 if (PyErr_Occurred()) return NULL;
6572} _resultobj = Py_BuildValue("i",_result);
6573 return _resultobj;
6574}
6575
6576#define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6577static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6578 PyObject * _resultobj;
6579 bool _result;
6580 wxTextAttr * _arg0;
6581 PyObject * _argo0 = 0;
6582 char *_kwnames[] = { "self", NULL };
6583
6584 self = self;
6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
6586 return NULL;
6587 if (_argo0) {
6588 if (_argo0 == Py_None) { _arg0 = NULL; }
6589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6591 return NULL;
6592 }
6593 }
6594{
474c48f9 6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6596 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
9d6da64a 6597
474c48f9 6598 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6599 if (PyErr_Occurred()) return NULL;
6600} _resultobj = Py_BuildValue("i",_result);
6601 return _resultobj;
6602}
6603
6604#define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6605static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6606 PyObject * _resultobj;
6607 bool _result;
6608 wxTextAttr * _arg0;
6609 PyObject * _argo0 = 0;
6610 char *_kwnames[] = { "self", NULL };
6611
6612 self = self;
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
6614 return NULL;
6615 if (_argo0) {
6616 if (_argo0 == Py_None) { _arg0 = NULL; }
6617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6619 return NULL;
6620 }
6621 }
6622{
474c48f9 6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6624 _result = (bool )wxTextAttr_HasFont(_arg0);
9d6da64a 6625
474c48f9 6626 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6627 if (PyErr_Occurred()) return NULL;
6628} _resultobj = Py_BuildValue("i",_result);
6629 return _resultobj;
6630}
6631
3ef86e32
RD
6632#define wxTextAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
6633static PyObject *_wrap_wxTextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6634 PyObject * _resultobj;
6635 bool _result;
6636 wxTextAttr * _arg0;
6637 PyObject * _argo0 = 0;
6638 char *_kwnames[] = { "self", NULL };
6639
6640 self = self;
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasAlignment",_kwnames,&_argo0))
6642 return NULL;
6643 if (_argo0) {
6644 if (_argo0 == Py_None) { _arg0 = NULL; }
6645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasAlignment. Expected _wxTextAttr_p.");
6647 return NULL;
6648 }
6649 }
6650{
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 _result = (bool )wxTextAttr_HasAlignment(_arg0);
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) return NULL;
6656} _resultobj = Py_BuildValue("i",_result);
6657 return _resultobj;
6658}
6659
6660#define wxTextAttr_HasTabs(_swigobj) (_swigobj->HasTabs())
6661static PyObject *_wrap_wxTextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6662 PyObject * _resultobj;
6663 bool _result;
6664 wxTextAttr * _arg0;
6665 PyObject * _argo0 = 0;
6666 char *_kwnames[] = { "self", NULL };
6667
6668 self = self;
6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTabs",_kwnames,&_argo0))
6670 return NULL;
6671 if (_argo0) {
6672 if (_argo0 == Py_None) { _arg0 = NULL; }
6673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTabs. Expected _wxTextAttr_p.");
6675 return NULL;
6676 }
6677 }
6678{
6679 PyThreadState* __tstate = wxPyBeginAllowThreads();
6680 _result = (bool )wxTextAttr_HasTabs(_arg0);
6681
6682 wxPyEndAllowThreads(__tstate);
6683 if (PyErr_Occurred()) return NULL;
6684} _resultobj = Py_BuildValue("i",_result);
6685 return _resultobj;
6686}
6687
6688#define wxTextAttr_HasLeftIndent(_swigobj) (_swigobj->HasLeftIndent())
6689static PyObject *_wrap_wxTextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject * _resultobj;
6691 bool _result;
6692 wxTextAttr * _arg0;
6693 PyObject * _argo0 = 0;
6694 char *_kwnames[] = { "self", NULL };
6695
6696 self = self;
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasLeftIndent",_kwnames,&_argo0))
6698 return NULL;
6699 if (_argo0) {
6700 if (_argo0 == Py_None) { _arg0 = NULL; }
6701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasLeftIndent. Expected _wxTextAttr_p.");
6703 return NULL;
6704 }
6705 }
6706{
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 _result = (bool )wxTextAttr_HasLeftIndent(_arg0);
6709
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) return NULL;
6712} _resultobj = Py_BuildValue("i",_result);
6713 return _resultobj;
6714}
6715
6716#define wxTextAttr_HasRightIndent(_swigobj) (_swigobj->HasRightIndent())
6717static PyObject *_wrap_wxTextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6718 PyObject * _resultobj;
6719 bool _result;
6720 wxTextAttr * _arg0;
6721 PyObject * _argo0 = 0;
6722 char *_kwnames[] = { "self", NULL };
6723
6724 self = self;
6725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasRightIndent",_kwnames,&_argo0))
6726 return NULL;
6727 if (_argo0) {
6728 if (_argo0 == Py_None) { _arg0 = NULL; }
6729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasRightIndent. Expected _wxTextAttr_p.");
6731 return NULL;
6732 }
6733 }
6734{
6735 PyThreadState* __tstate = wxPyBeginAllowThreads();
6736 _result = (bool )wxTextAttr_HasRightIndent(_arg0);
6737
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) return NULL;
6740} _resultobj = Py_BuildValue("i",_result);
6741 return _resultobj;
6742}
6743
6744#define wxTextAttr_HasFlag(_swigobj,_swigarg0) (_swigobj->HasFlag(_swigarg0))
6745static PyObject *_wrap_wxTextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject * _resultobj;
6747 bool _result;
6748 wxTextAttr * _arg0;
6749 long _arg1;
6750 PyObject * _argo0 = 0;
6751 char *_kwnames[] = { "self","flag", NULL };
6752
6753 self = self;
6754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextAttr_HasFlag",_kwnames,&_argo0,&_arg1))
6755 return NULL;
6756 if (_argo0) {
6757 if (_argo0 == Py_None) { _arg0 = NULL; }
6758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFlag. Expected _wxTextAttr_p.");
6760 return NULL;
6761 }
6762 }
6763{
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 _result = (bool )wxTextAttr_HasFlag(_arg0,_arg1);
6766
6767 wxPyEndAllowThreads(__tstate);
6768 if (PyErr_Occurred()) return NULL;
6769} _resultobj = Py_BuildValue("i",_result);
6770 return _resultobj;
6771}
6772
9d6da64a
RD
6773#define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6774static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject * _resultobj;
6776 wxColour * _result;
6777 wxTextAttr * _arg0;
6778 PyObject * _argo0 = 0;
6779 char *_kwnames[] = { "self", NULL };
6780 char _ptemp[128];
6781
6782 self = self;
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
6784 return NULL;
6785 if (_argo0) {
6786 if (_argo0 == Py_None) { _arg0 = NULL; }
6787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6789 return NULL;
6790 }
6791 }
6792{
474c48f9 6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6794 _result = new wxColour (wxTextAttr_GetTextColour(_arg0));
9d6da64a 6795
474c48f9 6796 wxPyEndAllowThreads(__tstate);
9d6da64a 6797 if (PyErr_Occurred()) return NULL;
3e212503
RD
6798} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6799 _resultobj = Py_BuildValue("s",_ptemp);
9d6da64a
RD
6800 return _resultobj;
6801}
6802
6803#define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6804static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject * _resultobj;
6806 wxColour * _result;
6807 wxTextAttr * _arg0;
6808 PyObject * _argo0 = 0;
6809 char *_kwnames[] = { "self", NULL };
6810 char _ptemp[128];
6811
6812 self = self;
6813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
6814 return NULL;
6815 if (_argo0) {
6816 if (_argo0 == Py_None) { _arg0 = NULL; }
6817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6819 return NULL;
6820 }
6821 }
6822{
474c48f9 6823 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6824 _result = new wxColour (wxTextAttr_GetBackgroundColour(_arg0));
9d6da64a 6825
474c48f9 6826 wxPyEndAllowThreads(__tstate);
9d6da64a 6827 if (PyErr_Occurred()) return NULL;
3e212503
RD
6828} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6829 _resultobj = Py_BuildValue("s",_ptemp);
9d6da64a
RD
6830 return _resultobj;
6831}
6832
6833#define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6834static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6835 PyObject * _resultobj;
6836 wxFont * _result;
6837 wxTextAttr * _arg0;
6838 PyObject * _argo0 = 0;
6839 char *_kwnames[] = { "self", NULL };
6840 char _ptemp[128];
6841
6842 self = self;
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
6844 return NULL;
6845 if (_argo0) {
6846 if (_argo0 == Py_None) { _arg0 = NULL; }
6847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6849 return NULL;
6850 }
6851 }
6852{
474c48f9 6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6854 _result = new wxFont (wxTextAttr_GetFont(_arg0));
9d6da64a 6855
474c48f9 6856 wxPyEndAllowThreads(__tstate);
9d6da64a 6857 if (PyErr_Occurred()) return NULL;
3e212503
RD
6858} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
6859 _resultobj = Py_BuildValue("s",_ptemp);
9d6da64a
RD
6860 return _resultobj;
6861}
6862
3ef86e32
RD
6863#define wxTextAttr_GetAlignment(_swigobj) (_swigobj->GetAlignment())
6864static PyObject *_wrap_wxTextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6865 PyObject * _resultobj;
6866 wxTextAttrAlignment _result;
6867 wxTextAttr * _arg0;
6868 PyObject * _argo0 = 0;
6869 char *_kwnames[] = { "self", NULL };
6870
6871 self = self;
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetAlignment",_kwnames,&_argo0))
6873 return NULL;
6874 if (_argo0) {
6875 if (_argo0 == Py_None) { _arg0 = NULL; }
6876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetAlignment. Expected _wxTextAttr_p.");
6878 return NULL;
6879 }
6880 }
6881{
6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
6883 _result = (wxTextAttrAlignment )wxTextAttr_GetAlignment(_arg0);
6884
6885 wxPyEndAllowThreads(__tstate);
6886 if (PyErr_Occurred()) return NULL;
6887} _resultobj = Py_BuildValue("i",_result);
6888 return _resultobj;
6889}
6890
6891#define wxTextAttr_GetTabs(_swigobj) (_swigobj->GetTabs())
6892static PyObject *_wrap_wxTextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject * _resultobj;
6894 wxArrayInt * _result;
6895 wxTextAttr * _arg0;
6896 PyObject * _argo0 = 0;
6897 char *_kwnames[] = { "self", NULL };
6898
6899 self = self;
6900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTabs",_kwnames,&_argo0))
6901 return NULL;
6902 if (_argo0) {
6903 if (_argo0 == Py_None) { _arg0 = NULL; }
6904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTabs. Expected _wxTextAttr_p.");
6906 return NULL;
6907 }
6908 }
6909{
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 const wxArrayInt & _result_ref = wxTextAttr_GetTabs(_arg0);
6912 _result = (wxArrayInt *) &_result_ref;
6913
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) return NULL;
6916}{
6917 _resultobj = PyList_New(0);
6918 size_t idx;
6919 for (idx = 0; idx < _result->GetCount(); idx += 1) {
6920 PyObject* val = PyInt_FromLong(_result->Item(idx));
6921 PyList_Append(_resultobj, val);
6922 Py_DECREF(val);
6923 }
6924}
6925 return _resultobj;
6926}
6927
6928#define wxTextAttr_GetLeftIndent(_swigobj) (_swigobj->GetLeftIndent())
6929static PyObject *_wrap_wxTextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6930 PyObject * _resultobj;
6931 long _result;
6932 wxTextAttr * _arg0;
6933 PyObject * _argo0 = 0;
6934 char *_kwnames[] = { "self", NULL };
6935
6936 self = self;
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetLeftIndent",_kwnames,&_argo0))
6938 return NULL;
6939 if (_argo0) {
6940 if (_argo0 == Py_None) { _arg0 = NULL; }
6941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetLeftIndent. Expected _wxTextAttr_p.");
6943 return NULL;
6944 }
6945 }
6946{
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 _result = (long )wxTextAttr_GetLeftIndent(_arg0);
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) return NULL;
6952} _resultobj = Py_BuildValue("l",_result);
6953 return _resultobj;
6954}
6955
6956#define wxTextAttr_GetRightIndent(_swigobj) (_swigobj->GetRightIndent())
6957static PyObject *_wrap_wxTextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6958 PyObject * _resultobj;
6959 long _result;
6960 wxTextAttr * _arg0;
6961 PyObject * _argo0 = 0;
6962 char *_kwnames[] = { "self", NULL };
6963
6964 self = self;
6965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetRightIndent",_kwnames,&_argo0))
6966 return NULL;
6967 if (_argo0) {
6968 if (_argo0 == Py_None) { _arg0 = NULL; }
6969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetRightIndent. Expected _wxTextAttr_p.");
6971 return NULL;
6972 }
6973 }
6974{
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 _result = (long )wxTextAttr_GetRightIndent(_arg0);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) return NULL;
6980} _resultobj = Py_BuildValue("l",_result);
6981 return _resultobj;
6982}
6983
6984#define wxTextAttr_GetFlags(_swigobj) (_swigobj->GetFlags())
6985static PyObject *_wrap_wxTextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6986 PyObject * _resultobj;
6987 long _result;
6988 wxTextAttr * _arg0;
6989 PyObject * _argo0 = 0;
6990 char *_kwnames[] = { "self", NULL };
6991
6992 self = self;
6993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFlags",_kwnames,&_argo0))
6994 return NULL;
6995 if (_argo0) {
6996 if (_argo0 == Py_None) { _arg0 = NULL; }
6997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFlags. Expected _wxTextAttr_p.");
6999 return NULL;
7000 }
7001 }
7002{
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 _result = (long )wxTextAttr_GetFlags(_arg0);
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) return NULL;
7008} _resultobj = Py_BuildValue("l",_result);
7009 return _resultobj;
7010}
7011
a57d56d6
RD
7012#define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
7013static PyObject *_wrap_wxTextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7014 PyObject * _resultobj;
7015 bool _result;
7016 wxTextAttr * _arg0;
7017 PyObject * _argo0 = 0;
7018 char *_kwnames[] = { "self", NULL };
7019
7020 self = self;
7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_IsDefault",_kwnames,&_argo0))
7022 return NULL;
7023 if (_argo0) {
7024 if (_argo0 == Py_None) { _arg0 = NULL; }
7025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
7026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
7027 return NULL;
7028 }
7029 }
7030{
474c48f9 7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7032 _result = (bool )wxTextAttr_IsDefault(_arg0);
a57d56d6 7033
474c48f9 7034 wxPyEndAllowThreads(__tstate);
a57d56d6
RD
7035 if (PyErr_Occurred()) return NULL;
7036} _resultobj = Py_BuildValue("i",_result);
7037 return _resultobj;
7038}
7039
7a9b33db
RD
7040static PyObject *_wrap_wxTextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7041 PyObject * _resultobj;
7042 wxTextAttr * _result;
7043 wxTextAttr * _arg0;
7044 wxTextAttr * _arg1;
7045 wxTextCtrl * _arg2;
7046 PyObject * _argo0 = 0;
7047 PyObject * _argo1 = 0;
7048 PyObject * _argo2 = 0;
7049 char *_kwnames[] = { "attr","attrDef","text", NULL };
7050 char _ptemp[128];
7051
7052 self = self;
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTextAttr_Combine",_kwnames,&_argo0,&_argo1,&_argo2))
7054 return NULL;
7055 if (_argo0) {
b67a9327 7056 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
7a9b33db
RD
7057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
7058 return NULL;
7059 }
7060 }
7061 if (_argo1) {
b67a9327 7062 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
7a9b33db
RD
7063 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
7064 return NULL;
7065 }
7066 }
7067 if (_argo2) {
7068 if (_argo2 == Py_None) { _arg2 = NULL; }
7069 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextCtrl_p")) {
7070 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
7071 return NULL;
7072 }
7073 }
7074{
474c48f9 7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7076 _result = new wxTextAttr (wxTextAttr::Combine(*_arg0,*_arg1,_arg2));
7a9b33db 7077
474c48f9 7078 wxPyEndAllowThreads(__tstate);
7a9b33db
RD
7079 if (PyErr_Occurred()) return NULL;
7080} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTextAttr_p");
7081 _resultobj = Py_BuildValue("s",_ptemp);
7082 return _resultobj;
7083}
7084
70551f47
RD
7085static void *SwigwxTextCtrlTowxControl(void *ptr) {
7086 wxTextCtrl *src;
7087 wxControl *dest;
7088 src = (wxTextCtrl *) ptr;
7089 dest = (wxControl *) src;
7090 return (void *) dest;
7091}
7092
7093static void *SwigwxTextCtrlTowxWindow(void *ptr) {
7094 wxTextCtrl *src;
7095 wxWindow *dest;
7096 src = (wxTextCtrl *) ptr;
7097 dest = (wxWindow *) src;
7098 return (void *) dest;
7099}
7100
7101static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
7102 wxTextCtrl *src;
7103 wxEvtHandler *dest;
7104 src = (wxTextCtrl *) ptr;
7105 dest = (wxEvtHandler *) src;
7106 return (void *) dest;
7107}
7108
9df61a29
RD
7109static void *SwigwxTextCtrlTowxObject(void *ptr) {
7110 wxTextCtrl *src;
7111 wxObject *dest;
7112 src = (wxTextCtrl *) ptr;
7113 dest = (wxObject *) src;
7114 return (void *) dest;
7115}
7116
70551f47 7117#define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 7118static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7119 PyObject * _resultobj;
7120 wxTextCtrl * _result;
7121 wxWindow * _arg0;
7122 wxWindowID _arg1;
9a74fcaf 7123 wxString * _arg2 = (wxString *) &wxPyEmptyString;
b68dc582
RD
7124 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7125 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 7126 long _arg5 = (long ) 0;
b68dc582 7127 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 7128 wxString * _arg7 = (wxString *) &wxPyTextCtrlNameStr;
2d091820 7129 PyObject * _argo0 = 0;
9a74fcaf 7130 PyObject * _obj2 = 0;
37f6a977
RD
7131 wxPoint temp;
7132 PyObject * _obj3 = 0;
7133 wxSize temp0;
7134 PyObject * _obj4 = 0;
2d091820 7135 PyObject * _argo6 = 0;
9a74fcaf 7136 PyObject * _obj7 = 0;
107e4716 7137 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
70551f47
RD
7138 char _ptemp[128];
7139
7140 self = self;
9a74fcaf 7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
70551f47 7142 return NULL;
2d091820
RD
7143 if (_argo0) {
7144 if (_argo0 == Py_None) { _arg0 = NULL; }
7145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
7146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
7147 return NULL;
7148 }
7149 }
9a74fcaf
RD
7150 if (_obj2)
7151{
7152 _arg2 = wxString_in_helper(_obj2);
7153 if (_arg2 == NULL)
7154 return NULL;
7155}
37f6a977
RD
7156 if (_obj3)
7157{
7158 _arg3 = &temp;
7159 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 7160 return NULL;
37f6a977
RD
7161}
7162 if (_obj4)
7163{
7164 _arg4 = &temp0;
7165 if (! wxSize_helper(_obj4, &_arg4))
70551f47 7166 return NULL;
37f6a977 7167}
2d091820 7168 if (_argo6) {
b67a9327 7169 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
7170 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
7171 return NULL;
7172 }
7173 }
9a74fcaf
RD
7174 if (_obj7)
7175{
7176 _arg7 = wxString_in_helper(_obj7);
7177 if (_arg7 == NULL)
7178 return NULL;
7179}
ab9bc19b 7180{
474c48f9 7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 7182 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
aa2a5b86 7183
474c48f9 7184 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
7185 if (PyErr_Occurred()) return NULL;
7186} if (_result) {
7187 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
7188 _resultobj = Py_BuildValue("s",_ptemp);
7189 } else {
7190 Py_INCREF(Py_None);
7191 _resultobj = Py_None;
7192 }
9a74fcaf
RD
7193{
7194 if (_obj2)
7195 delete _arg2;
7196}
7197{
7198 if (_obj7)
7199 delete _arg7;
7200}
aa2a5b86
RD
7201 return _resultobj;
7202}
7203
7204#define new_wxPreTextCtrl() (new wxTextCtrl())
7205static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7206 PyObject * _resultobj;
7207 wxTextCtrl * _result;
7208 char *_kwnames[] = { NULL };
7209 char _ptemp[128];
7210
7211 self = self;
7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
7213 return NULL;
7214{
474c48f9 7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7216 _result = (wxTextCtrl *)new_wxPreTextCtrl();
aa2a5b86 7217
474c48f9 7218 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
7219 if (PyErr_Occurred()) return NULL;
7220} if (_result) {
7221 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
7222 _resultobj = Py_BuildValue("s",_ptemp);
7223 } else {
7224 Py_INCREF(Py_None);
7225 _resultobj = Py_None;
7226 }
7227 return _resultobj;
7228}
7229
7230#define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7231static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7232 PyObject * _resultobj;
7233 bool _result;
7234 wxTextCtrl * _arg0;
7235 wxWindow * _arg1;
7236 wxWindowID _arg2;
9a74fcaf 7237 wxString * _arg3 = (wxString *) &wxPyEmptyString;
aa2a5b86
RD
7238 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
7239 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
7240 long _arg6 = (long ) 0;
7241 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 7242 wxString * _arg8 = (wxString *) &wxPyTextCtrlNameStr;
aa2a5b86
RD
7243 PyObject * _argo0 = 0;
7244 PyObject * _argo1 = 0;
9a74fcaf 7245 PyObject * _obj3 = 0;
aa2a5b86
RD
7246 wxPoint temp;
7247 PyObject * _obj4 = 0;
7248 wxSize temp0;
7249 PyObject * _obj5 = 0;
7250 PyObject * _argo7 = 0;
9a74fcaf 7251 PyObject * _obj8 = 0;
aa2a5b86
RD
7252 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
7253
7254 self = self;
9a74fcaf 7255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
7256 return NULL;
7257 if (_argo0) {
7258 if (_argo0 == Py_None) { _arg0 = NULL; }
7259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
7261 return NULL;
7262 }
7263 }
7264 if (_argo1) {
7265 if (_argo1 == Py_None) { _arg1 = NULL; }
7266 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7267 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
7268 return NULL;
7269 }
7270 }
9a74fcaf
RD
7271 if (_obj3)
7272{
7273 _arg3 = wxString_in_helper(_obj3);
7274 if (_arg3 == NULL)
7275 return NULL;
7276}
aa2a5b86
RD
7277 if (_obj4)
7278{
7279 _arg4 = &temp;
7280 if (! wxPoint_helper(_obj4, &_arg4))
7281 return NULL;
7282}
7283 if (_obj5)
7284{
7285 _arg5 = &temp0;
7286 if (! wxSize_helper(_obj5, &_arg5))
7287 return NULL;
7288}
7289 if (_argo7) {
b67a9327 7290 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
7291 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
7292 return NULL;
7293 }
7294 }
9a74fcaf
RD
7295 if (_obj8)
7296{
7297 _arg8 = wxString_in_helper(_obj8);
7298 if (_arg8 == NULL)
7299 return NULL;
7300}
aa2a5b86 7301{
474c48f9 7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 7303 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
ab9bc19b 7304
474c48f9 7305 wxPyEndAllowThreads(__tstate);
4dfaa61e 7306 if (PyErr_Occurred()) return NULL;
aa2a5b86 7307} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
7308{
7309 if (_obj3)
7310 delete _arg3;
7311}
7312{
7313 if (_obj8)
7314 delete _arg8;
7315}
70551f47
RD
7316 return _resultobj;
7317}
7318
a57d56d6
RD
7319#define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
7320static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7321 PyObject * _resultobj;
a57d56d6 7322 wxString * _result;
70551f47 7323 wxTextCtrl * _arg0;
2d091820 7324 PyObject * _argo0 = 0;
107e4716 7325 char *_kwnames[] = { "self", NULL };
70551f47
RD
7326
7327 self = self;
a57d56d6 7328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
70551f47 7329 return NULL;
2d091820
RD
7330 if (_argo0) {
7331 if (_argo0 == Py_None) { _arg0 = NULL; }
7332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
70551f47
RD
7334 return NULL;
7335 }
7336 }
ab9bc19b 7337{
474c48f9 7338 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7339 _result = new wxString (wxTextCtrl_GetValue(_arg0));
ab9bc19b 7340
474c48f9 7341 wxPyEndAllowThreads(__tstate);
4dfaa61e 7342 if (PyErr_Occurred()) return NULL;
a57d56d6 7343}{
c8bc7bb8 7344#if wxUSE_UNICODE
b67a9327 7345 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7346#else
a57d56d6 7347 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7348#endif
a57d56d6
RD
7349}
7350{
7351 delete _result;
7352}
70551f47
RD
7353 return _resultobj;
7354}
7355
a57d56d6
RD
7356#define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7357static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7358 PyObject * _resultobj;
7359 wxTextCtrl * _arg0;
a57d56d6 7360 wxString * _arg1;
2d091820 7361 PyObject * _argo0 = 0;
a57d56d6
RD
7362 PyObject * _obj1 = 0;
7363 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
7364
7365 self = self;
a57d56d6 7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
70551f47 7367 return NULL;
2d091820
RD
7368 if (_argo0) {
7369 if (_argo0 == Py_None) { _arg0 = NULL; }
7370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
70551f47
RD
7372 return NULL;
7373 }
7374 }
a57d56d6 7375{
c8bc7bb8
RD
7376 _arg1 = wxString_in_helper(_obj1);
7377 if (_arg1 == NULL)
a57d56d6 7378 return NULL;
a57d56d6 7379}
ab9bc19b 7380{
474c48f9 7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7382 wxTextCtrl_SetValue(_arg0,*_arg1);
ab9bc19b 7383
474c48f9 7384 wxPyEndAllowThreads(__tstate);
4dfaa61e 7385 if (PyErr_Occurred()) return NULL;
ab9bc19b 7386} Py_INCREF(Py_None);
70551f47 7387 _resultobj = Py_None;
a57d56d6
RD
7388{
7389 if (_obj1)
7390 delete _arg1;
7391}
70551f47
RD
7392 return _resultobj;
7393}
7394
db34b2d4
RD
7395#define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
7396static PyObject *_wrap_wxTextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject * _resultobj;
7398 wxString * _result;
7399 wxTextCtrl * _arg0;
7400 long _arg1;
7401 long _arg2;
7402 PyObject * _argo0 = 0;
7403 char *_kwnames[] = { "self","from","to", NULL };
7404
7405 self = self;
7406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetRange",_kwnames,&_argo0,&_arg1,&_arg2))
7407 return NULL;
7408 if (_argo0) {
7409 if (_argo0 == Py_None) { _arg0 = NULL; }
7410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
7412 return NULL;
7413 }
7414 }
7415{
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7417 _result = new wxString (wxTextCtrl_GetRange(_arg0,_arg1,_arg2));
db34b2d4
RD
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) return NULL;
7421}{
c8bc7bb8 7422#if wxUSE_UNICODE
b67a9327 7423 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7424#else
db34b2d4 7425 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7426#endif
db34b2d4
RD
7427}
7428{
7429 delete _result;
7430}
7431 return _resultobj;
7432}
7433
a57d56d6
RD
7434#define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
7435static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7436 PyObject * _resultobj;
a57d56d6 7437 int _result;
70551f47 7438 wxTextCtrl * _arg0;
a57d56d6 7439 long _arg1;
2d091820 7440 PyObject * _argo0 = 0;
a57d56d6 7441 char *_kwnames[] = { "self","lineNo", NULL };
70551f47
RD
7442
7443 self = self;
a57d56d6 7444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
70551f47 7445 return NULL;
2d091820
RD
7446 if (_argo0) {
7447 if (_argo0 == Py_None) { _arg0 = NULL; }
7448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
70551f47
RD
7450 return NULL;
7451 }
7452 }
ab9bc19b 7453{
474c48f9 7454 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7455 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
ab9bc19b 7456
474c48f9 7457 wxPyEndAllowThreads(__tstate);
4dfaa61e 7458 if (PyErr_Occurred()) return NULL;
a57d56d6 7459} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7460 return _resultobj;
7461}
7462
a57d56d6
RD
7463#define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
7464static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7465 PyObject * _resultobj;
a57d56d6 7466 wxString * _result;
70551f47 7467 wxTextCtrl * _arg0;
a57d56d6 7468 long _arg1;
2d091820 7469 PyObject * _argo0 = 0;
a57d56d6 7470 char *_kwnames[] = { "self","lineNo", NULL };
70551f47
RD
7471
7472 self = self;
a57d56d6 7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
70551f47 7474 return NULL;
2d091820
RD
7475 if (_argo0) {
7476 if (_argo0 == Py_None) { _arg0 = NULL; }
7477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
70551f47
RD
7479 return NULL;
7480 }
7481 }
ab9bc19b 7482{
474c48f9 7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7484 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
ab9bc19b 7485
474c48f9 7486 wxPyEndAllowThreads(__tstate);
4dfaa61e 7487 if (PyErr_Occurred()) return NULL;
a57d56d6 7488}{
c8bc7bb8 7489#if wxUSE_UNICODE
b67a9327 7490 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7491#else
a57d56d6 7492 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7493#endif
a57d56d6
RD
7494}
7495{
7496 delete _result;
7497}
70551f47
RD
7498 return _resultobj;
7499}
7500
a57d56d6
RD
7501#define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
7502static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7503 PyObject * _resultobj;
a57d56d6 7504 int _result;
70551f47 7505 wxTextCtrl * _arg0;
2d091820 7506 PyObject * _argo0 = 0;
107e4716 7507 char *_kwnames[] = { "self", NULL };
70551f47
RD
7508
7509 self = self;
a57d56d6 7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
70551f47 7511 return NULL;
2d091820
RD
7512 if (_argo0) {
7513 if (_argo0 == Py_None) { _arg0 = NULL; }
7514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
70551f47
RD
7516 return NULL;
7517 }
7518 }
ab9bc19b 7519{
474c48f9 7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7521 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
ab9bc19b 7522
474c48f9 7523 wxPyEndAllowThreads(__tstate);
4dfaa61e 7524 if (PyErr_Occurred()) return NULL;
a57d56d6 7525} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7526 return _resultobj;
7527}
7528
a57d56d6
RD
7529#define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
7530static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7531 PyObject * _resultobj;
a57d56d6 7532 bool _result;
70551f47 7533 wxTextCtrl * _arg0;
2d091820 7534 PyObject * _argo0 = 0;
107e4716 7535 char *_kwnames[] = { "self", NULL };
70551f47
RD
7536
7537 self = self;
a57d56d6 7538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
70551f47 7539 return NULL;
2d091820
RD
7540 if (_argo0) {
7541 if (_argo0 == Py_None) { _arg0 = NULL; }
7542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
70551f47
RD
7544 return NULL;
7545 }
7546 }
ab9bc19b 7547{
474c48f9 7548 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7549 _result = (bool )wxTextCtrl_IsModified(_arg0);
ab9bc19b 7550
474c48f9 7551 wxPyEndAllowThreads(__tstate);
4dfaa61e 7552 if (PyErr_Occurred()) return NULL;
a57d56d6 7553} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7554 return _resultobj;
7555}
7556
a57d56d6
RD
7557#define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
7558static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 7559 PyObject * _resultobj;
a57d56d6 7560 bool _result;
faf3cb35 7561 wxTextCtrl * _arg0;
2d091820 7562 PyObject * _argo0 = 0;
a57d56d6 7563 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
7564
7565 self = self;
a57d56d6 7566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
faf3cb35 7567 return NULL;
2d091820
RD
7568 if (_argo0) {
7569 if (_argo0 == Py_None) { _arg0 = NULL; }
7570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
faf3cb35
RD
7572 return NULL;
7573 }
7574 }
ab9bc19b 7575{
474c48f9 7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7577 _result = (bool )wxTextCtrl_IsEditable(_arg0);
ab9bc19b 7578
474c48f9 7579 wxPyEndAllowThreads(__tstate);
4dfaa61e 7580 if (PyErr_Occurred()) return NULL;
ab9bc19b 7581} _resultobj = Py_BuildValue("i",_result);
faf3cb35
RD
7582 return _resultobj;
7583}
7584
a57d56d6
RD
7585#define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7586static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 7587 PyObject * _resultobj;
faf3cb35 7588 wxTextCtrl * _arg0;
a57d56d6
RD
7589 long * _arg1;
7590 long temp;
7591 long * _arg2;
7592 long temp0;
2d091820 7593 PyObject * _argo0 = 0;
a57d56d6 7594 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
7595
7596 self = self;
a57d56d6
RD
7597{
7598 _arg1 = &temp;
7599}
7600{
7601 _arg2 = &temp0;
7602}
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
faf3cb35 7604 return NULL;
2d091820
RD
7605 if (_argo0) {
7606 if (_argo0 == Py_None) { _arg0 = NULL; }
7607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
faf3cb35
RD
7609 return NULL;
7610 }
7611 }
faf3cb35 7612{
474c48f9 7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7614 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
ab9bc19b 7615
474c48f9 7616 wxPyEndAllowThreads(__tstate);
4dfaa61e 7617 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7618} Py_INCREF(Py_None);
7619 _resultobj = Py_None;
7620{
7621 PyObject *o;
7622 o = PyInt_FromLong((long) (*_arg1));
7623 _resultobj = t_output_helper(_resultobj, o);
faf3cb35
RD
7624}
7625{
a57d56d6
RD
7626 PyObject *o;
7627 o = PyInt_FromLong((long) (*_arg2));
7628 _resultobj = t_output_helper(_resultobj, o);
faf3cb35
RD
7629}
7630 return _resultobj;
7631}
7632
93283355
RD
7633#define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
7634static PyObject *_wrap_wxTextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7635 PyObject * _resultobj;
7636 wxString * _result;
7637 wxTextCtrl * _arg0;
7638 PyObject * _argo0 = 0;
7639 char *_kwnames[] = { "self", NULL };
7640
7641 self = self;
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetStringSelection",_kwnames,&_argo0))
7643 return NULL;
7644 if (_argo0) {
7645 if (_argo0 == Py_None) { _arg0 = NULL; }
7646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
7648 return NULL;
7649 }
7650 }
7651{
474c48f9 7652 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7653 _result = new wxString (wxTextCtrl_GetStringSelection(_arg0));
93283355 7654
474c48f9 7655 wxPyEndAllowThreads(__tstate);
93283355
RD
7656 if (PyErr_Occurred()) return NULL;
7657}{
c8bc7bb8 7658#if wxUSE_UNICODE
b67a9327 7659 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7660#else
93283355 7661 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7662#endif
93283355
RD
7663}
7664{
7665 delete _result;
7666}
7667 return _resultobj;
7668}
7669
a57d56d6
RD
7670#define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
7671static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 7672 PyObject * _resultobj;
faf3cb35 7673 wxTextCtrl * _arg0;
2d091820 7674 PyObject * _argo0 = 0;
107e4716 7675 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
7676
7677 self = self;
a57d56d6 7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
faf3cb35 7679 return NULL;
2d091820
RD
7680 if (_argo0) {
7681 if (_argo0 == Py_None) { _arg0 = NULL; }
7682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
faf3cb35
RD
7684 return NULL;
7685 }
7686 }
ab9bc19b 7687{
474c48f9 7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7689 wxTextCtrl_Clear(_arg0);
ab9bc19b 7690
474c48f9 7691 wxPyEndAllowThreads(__tstate);
4dfaa61e 7692 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7693} Py_INCREF(Py_None);
7694 _resultobj = Py_None;
faf3cb35
RD
7695 return _resultobj;
7696}
7697
a57d56d6
RD
7698#define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7699static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7700 PyObject * _resultobj;
70551f47 7701 wxTextCtrl * _arg0;
a57d56d6
RD
7702 long _arg1;
7703 long _arg2;
7704 wxString * _arg3;
2d091820 7705 PyObject * _argo0 = 0;
a57d56d6
RD
7706 PyObject * _obj3 = 0;
7707 char *_kwnames[] = { "self","from","to","value", NULL };
70551f47
RD
7708
7709 self = self;
a57d56d6 7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
70551f47 7711 return NULL;
2d091820
RD
7712 if (_argo0) {
7713 if (_argo0 == Py_None) { _arg0 = NULL; }
7714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
70551f47
RD
7716 return NULL;
7717 }
7718 }
a57d56d6 7719{
c8bc7bb8
RD
7720 _arg3 = wxString_in_helper(_obj3);
7721 if (_arg3 == NULL)
a57d56d6 7722 return NULL;
a57d56d6 7723}
70551f47 7724{
474c48f9 7725 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7726 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
ab9bc19b 7727
474c48f9 7728 wxPyEndAllowThreads(__tstate);
4dfaa61e 7729 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7730} Py_INCREF(Py_None);
7731 _resultobj = Py_None;
70551f47 7732{
a57d56d6
RD
7733 if (_obj3)
7734 delete _arg3;
70551f47
RD
7735}
7736 return _resultobj;
7737}
7738
a57d56d6
RD
7739#define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
7740static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7741 PyObject * _resultobj;
70551f47 7742 wxTextCtrl * _arg0;
a57d56d6
RD
7743 long _arg1;
7744 long _arg2;
2d091820 7745 PyObject * _argo0 = 0;
a57d56d6 7746 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
7747
7748 self = self;
a57d56d6 7749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 7750 return NULL;
2d091820
RD
7751 if (_argo0) {
7752 if (_argo0 == Py_None) { _arg0 = NULL; }
7753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
70551f47
RD
7755 return NULL;
7756 }
7757 }
ab9bc19b 7758{
474c48f9 7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7760 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
ab9bc19b 7761
474c48f9 7762 wxPyEndAllowThreads(__tstate);
4dfaa61e 7763 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7764} Py_INCREF(Py_None);
7765 _resultobj = Py_None;
70551f47
RD
7766 return _resultobj;
7767}
7768
7769#define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
107e4716 7770static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7771 PyObject * _resultobj;
7772 bool _result;
7773 wxTextCtrl * _arg0;
7774 wxString * _arg1;
2d091820 7775 PyObject * _argo0 = 0;
70551f47 7776 PyObject * _obj1 = 0;
a57d56d6 7777 char *_kwnames[] = { "self","file", NULL };
70551f47
RD
7778
7779 self = self;
107e4716 7780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
70551f47 7781 return NULL;
2d091820
RD
7782 if (_argo0) {
7783 if (_argo0 == Py_None) { _arg0 = NULL; }
7784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
7785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
7786 return NULL;
7787 }
7788 }
7789{
c8bc7bb8
RD
7790 _arg1 = wxString_in_helper(_obj1);
7791 if (_arg1 == NULL)
2cd2fac8 7792 return NULL;
70551f47 7793}
ab9bc19b 7794{
474c48f9 7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7796 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
ab9bc19b 7797
474c48f9 7798 wxPyEndAllowThreads(__tstate);
4dfaa61e 7799 if (PyErr_Occurred()) return NULL;
ab9bc19b 7800} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7801{
7802 if (_obj1)
7803 delete _arg1;
7804}
7805 return _resultobj;
7806}
7807
a57d56d6
RD
7808#define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
7809static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7810 PyObject * _resultobj;
a57d56d6 7811 bool _result;
70551f47 7812 wxTextCtrl * _arg0;
9a74fcaf 7813 wxString * _arg1 = (wxString *) &wxPyEmptyString;
2d091820 7814 PyObject * _argo0 = 0;
a57d56d6
RD
7815 PyObject * _obj1 = 0;
7816 char *_kwnames[] = { "self","file", NULL };
70551f47
RD
7817
7818 self = self;
a57d56d6 7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
70551f47 7820 return NULL;
2d091820
RD
7821 if (_argo0) {
7822 if (_argo0 == Py_None) { _arg0 = NULL; }
7823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
70551f47
RD
7825 return NULL;
7826 }
7827 }
a57d56d6
RD
7828 if (_obj1)
7829{
c8bc7bb8
RD
7830 _arg1 = wxString_in_helper(_obj1);
7831 if (_arg1 == NULL)
a57d56d6 7832 return NULL;
a57d56d6 7833}
ab9bc19b 7834{
474c48f9 7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7836 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
ab9bc19b 7837
474c48f9 7838 wxPyEndAllowThreads(__tstate);
4dfaa61e 7839 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7840} _resultobj = Py_BuildValue("i",_result);
7841{
7842 if (_obj1)
7843 delete _arg1;
7844}
70551f47
RD
7845 return _resultobj;
7846}
7847
1a8372ba
RD
7848#define wxTextCtrl_MarkDirty(_swigobj) (_swigobj->MarkDirty())
7849static PyObject *_wrap_wxTextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7850 PyObject * _resultobj;
7851 wxTextCtrl * _arg0;
7852 PyObject * _argo0 = 0;
7853 char *_kwnames[] = { "self", NULL };
7854
7855 self = self;
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_MarkDirty",_kwnames,&_argo0))
7857 return NULL;
7858 if (_argo0) {
7859 if (_argo0 == Py_None) { _arg0 = NULL; }
7860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_MarkDirty. Expected _wxTextCtrl_p.");
7862 return NULL;
7863 }
7864 }
7865{
7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
7867 wxTextCtrl_MarkDirty(_arg0);
7868
7869 wxPyEndAllowThreads(__tstate);
7870 if (PyErr_Occurred()) return NULL;
7871} Py_INCREF(Py_None);
7872 _resultobj = Py_None;
7873 return _resultobj;
7874}
7875
a57d56d6
RD
7876#define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7877static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
7878 PyObject * _resultobj;
7879 wxTextCtrl * _arg0;
2d091820 7880 PyObject * _argo0 = 0;
a57d56d6 7881 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
7882
7883 self = self;
a57d56d6 7884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
faf3cb35 7885 return NULL;
2d091820
RD
7886 if (_argo0) {
7887 if (_argo0 == Py_None) { _arg0 = NULL; }
7888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
faf3cb35
RD
7890 return NULL;
7891 }
7892 }
ab9bc19b 7893{
474c48f9 7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7895 wxTextCtrl_DiscardEdits(_arg0);
ab9bc19b 7896
474c48f9 7897 wxPyEndAllowThreads(__tstate);
4dfaa61e 7898 if (PyErr_Occurred()) return NULL;
ab9bc19b 7899} Py_INCREF(Py_None);
faf3cb35 7900 _resultobj = Py_None;
faf3cb35
RD
7901 return _resultobj;
7902}
7903
a57d56d6
RD
7904#define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7905static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7906 PyObject * _resultobj;
7907 wxTextCtrl * _arg0;
a57d56d6 7908 unsigned long _arg1;
2d091820 7909 PyObject * _argo0 = 0;
a57d56d6 7910 char *_kwnames[] = { "self","len", NULL };
70551f47
RD
7911
7912 self = self;
a57d56d6 7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
70551f47 7914 return NULL;
2d091820
RD
7915 if (_argo0) {
7916 if (_argo0 == Py_None) { _arg0 = NULL; }
7917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
70551f47
RD
7919 return NULL;
7920 }
7921 }
ab9bc19b 7922{
474c48f9 7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7924 wxTextCtrl_SetMaxLength(_arg0,_arg1);
ab9bc19b 7925
474c48f9 7926 wxPyEndAllowThreads(__tstate);
4dfaa61e 7927 if (PyErr_Occurred()) return NULL;
ab9bc19b 7928} Py_INCREF(Py_None);
70551f47
RD
7929 _resultobj = Py_None;
7930 return _resultobj;
7931}
7932
a57d56d6
RD
7933#define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7934static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7935 PyObject * _resultobj;
7936 wxTextCtrl * _arg0;
a57d56d6 7937 wxString * _arg1;
2d091820 7938 PyObject * _argo0 = 0;
a57d56d6
RD
7939 PyObject * _obj1 = 0;
7940 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
7941
7942 self = self;
a57d56d6 7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
70551f47 7944 return NULL;
2d091820
RD
7945 if (_argo0) {
7946 if (_argo0 == Py_None) { _arg0 = NULL; }
7947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
70551f47
RD
7949 return NULL;
7950 }
7951 }
7952{
c8bc7bb8
RD
7953 _arg1 = wxString_in_helper(_obj1);
7954 if (_arg1 == NULL)
2cd2fac8 7955 return NULL;
70551f47 7956}
ab9bc19b 7957{
474c48f9 7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7959 wxTextCtrl_WriteText(_arg0,*_arg1);
ab9bc19b 7960
474c48f9 7961 wxPyEndAllowThreads(__tstate);
4dfaa61e 7962 if (PyErr_Occurred()) return NULL;
ab9bc19b 7963} Py_INCREF(Py_None);
70551f47
RD
7964 _resultobj = Py_None;
7965{
a57d56d6
RD
7966 if (_obj1)
7967 delete _arg1;
70551f47
RD
7968}
7969 return _resultobj;
7970}
7971
a57d56d6
RD
7972#define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7973static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7974 PyObject * _resultobj;
70551f47
RD
7975 wxTextCtrl * _arg0;
7976 wxString * _arg1;
2d091820 7977 PyObject * _argo0 = 0;
70551f47 7978 PyObject * _obj1 = 0;
a57d56d6 7979 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
7980
7981 self = self;
a57d56d6 7982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
70551f47 7983 return NULL;
2d091820
RD
7984 if (_argo0) {
7985 if (_argo0 == Py_None) { _arg0 = NULL; }
7986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
70551f47
RD
7988 return NULL;
7989 }
7990 }
7991{
c8bc7bb8
RD
7992 _arg1 = wxString_in_helper(_obj1);
7993 if (_arg1 == NULL)
70551f47 7994 return NULL;
70551f47 7995}
ab9bc19b 7996{
474c48f9 7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7998 wxTextCtrl_AppendText(_arg0,*_arg1);
ab9bc19b 7999
474c48f9 8000 wxPyEndAllowThreads(__tstate);
4dfaa61e 8001 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8002} Py_INCREF(Py_None);
8003 _resultobj = Py_None;
70551f47
RD
8004{
8005 if (_obj1)
8006 delete _arg1;
8007}
8008 return _resultobj;
8009}
8010
87439dd8
RD
8011#define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
8012static PyObject *_wrap_wxTextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8013 PyObject * _resultobj;
8014 bool _result;
8015 wxTextCtrl * _arg0;
8016 wxKeyEvent * _arg1;
8017 PyObject * _argo0 = 0;
8018 PyObject * _argo1 = 0;
8019 char *_kwnames[] = { "self","event", NULL };
8020
8021 self = self;
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_EmulateKeyPress",_kwnames,&_argo0,&_argo1))
8023 return NULL;
8024 if (_argo0) {
8025 if (_argo0 == Py_None) { _arg0 = NULL; }
8026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
8028 return NULL;
8029 }
8030 }
8031 if (_argo1) {
b67a9327 8032 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
87439dd8
RD
8033 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
8034 return NULL;
8035 }
8036 }
8037{
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 _result = (bool )wxTextCtrl_EmulateKeyPress(_arg0,*_arg1);
8040
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) return NULL;
8043} _resultobj = Py_BuildValue("i",_result);
8044 return _resultobj;
8045}
8046
a57d56d6
RD
8047#define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
8048static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 8049 PyObject * _resultobj;
a57d56d6 8050 bool _result;
70551f47 8051 wxTextCtrl * _arg0;
a57d56d6
RD
8052 long _arg1;
8053 long _arg2;
8054 wxTextAttr * _arg3;
2d091820 8055 PyObject * _argo0 = 0;
a57d56d6
RD
8056 PyObject * _argo3 = 0;
8057 char *_kwnames[] = { "self","start","end","style", NULL };
70551f47
RD
8058
8059 self = self;
a57d56d6 8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
70551f47 8061 return NULL;
2d091820
RD
8062 if (_argo0) {
8063 if (_argo0 == Py_None) { _arg0 = NULL; }
8064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6
RD
8065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
8066 return NULL;
8067 }
8068 }
8069 if (_argo3) {
b67a9327 8070 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
a57d56d6 8071 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
70551f47
RD
8072 return NULL;
8073 }
8074 }
ab9bc19b 8075{
474c48f9 8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8077 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
ab9bc19b 8078
474c48f9 8079 wxPyEndAllowThreads(__tstate);
4dfaa61e 8080 if (PyErr_Occurred()) return NULL;
a57d56d6 8081} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
8082 return _resultobj;
8083}
8084
a57d56d6
RD
8085#define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
8086static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 8087 PyObject * _resultobj;
a57d56d6 8088 bool _result;
70551f47 8089 wxTextCtrl * _arg0;
a57d56d6 8090 wxTextAttr * _arg1;
2d091820 8091 PyObject * _argo0 = 0;
a57d56d6
RD
8092 PyObject * _argo1 = 0;
8093 char *_kwnames[] = { "self","style", NULL };
70551f47
RD
8094
8095 self = self;
a57d56d6 8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
70551f47 8097 return NULL;
2d091820
RD
8098 if (_argo0) {
8099 if (_argo0 == Py_None) { _arg0 = NULL; }
8100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6
RD
8101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
8102 return NULL;
8103 }
8104 }
8105 if (_argo1) {
b67a9327 8106 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
a57d56d6 8107 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
70551f47
RD
8108 return NULL;
8109 }
8110 }
ab9bc19b 8111{
474c48f9 8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8113 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
ab9bc19b 8114
474c48f9 8115 wxPyEndAllowThreads(__tstate);
4dfaa61e 8116 if (PyErr_Occurred()) return NULL;
a57d56d6 8117} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
8118 return _resultobj;
8119}
8120
a57d56d6
RD
8121#define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
8122static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 8123 PyObject * _resultobj;
a57d56d6 8124 wxTextAttr * _result;
70551f47 8125 wxTextCtrl * _arg0;
2d091820 8126 PyObject * _argo0 = 0;
107e4716 8127 char *_kwnames[] = { "self", NULL };
a57d56d6 8128 char _ptemp[128];
70551f47
RD
8129
8130 self = self;
a57d56d6 8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
70551f47 8132 return NULL;
2d091820
RD
8133 if (_argo0) {
8134 if (_argo0 == Py_None) { _arg0 = NULL; }
8135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
70551f47
RD
8137 return NULL;
8138 }
8139 }
ab9bc19b 8140{
474c48f9 8141 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8142 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
a57d56d6 8143 _result = (wxTextAttr *) &_result_ref;
ab9bc19b 8144
474c48f9 8145 wxPyEndAllowThreads(__tstate);
4dfaa61e 8146 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8147} if (_result) {
8148 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
8149 _resultobj = Py_BuildValue("s",_ptemp);
8150 } else {
8151 Py_INCREF(Py_None);
8152 _resultobj = Py_None;
8153 }
70551f47
RD
8154 return _resultobj;
8155}
8156
3ef86e32
RD
8157#define wxTextCtrl_GetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyle(_swigarg0,_swigarg1))
8158static PyObject *_wrap_wxTextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8159 PyObject * _resultobj;
8160 bool _result;
8161 wxTextCtrl * _arg0;
8162 long _arg1;
8163 wxTextAttr * _arg2;
8164 PyObject * _argo0 = 0;
8165 PyObject * _argo2 = 0;
8166 char *_kwnames[] = { "self","position","style", NULL };
8167
8168 self = self;
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxTextCtrl_GetStyle",_kwnames,&_argo0,&_arg1,&_argo2))
8170 return NULL;
8171 if (_argo0) {
8172 if (_argo0 == Py_None) { _arg0 = NULL; }
8173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStyle. Expected _wxTextCtrl_p.");
8175 return NULL;
8176 }
8177 }
8178 if (_argo2) {
8179 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextAttr_p")) {
8180 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextCtrl_GetStyle. Expected _wxTextAttr_p.");
8181 return NULL;
8182 }
8183 }
8184{
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 _result = (bool )wxTextCtrl_GetStyle(_arg0,_arg1,*_arg2);
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) return NULL;
8190} _resultobj = Py_BuildValue("i",_result);
8191 return _resultobj;
8192}
8193
a57d56d6
RD
8194#define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
8195static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 8196 PyObject * _resultobj;
a57d56d6 8197 long _result;
70551f47
RD
8198 wxTextCtrl * _arg0;
8199 long _arg1;
8200 long _arg2;
2d091820 8201 PyObject * _argo0 = 0;
a57d56d6 8202 char *_kwnames[] = { "self","x","y", NULL };
70551f47
RD
8203
8204 self = self;
a57d56d6 8205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 8206 return NULL;
2d091820
RD
8207 if (_argo0) {
8208 if (_argo0 == Py_None) { _arg0 = NULL; }
8209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
70551f47
RD
8211 return NULL;
8212 }
8213 }
ab9bc19b 8214{
474c48f9 8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8216 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
ab9bc19b 8217
474c48f9 8218 wxPyEndAllowThreads(__tstate);
4dfaa61e 8219 if (PyErr_Occurred()) return NULL;
a57d56d6 8220} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
8221 return _resultobj;
8222}
8223
a57d56d6
RD
8224#define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
8225static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8226 PyObject * _resultobj;
8227 wxTextCtrl * _arg0;
a57d56d6
RD
8228 long _arg1;
8229 long * _arg2;
8230 long temp;
8231 long * _arg3;
8232 long temp0;
2d091820 8233 PyObject * _argo0 = 0;
a57d56d6 8234 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
8235
8236 self = self;
a57d56d6
RD
8237{
8238 _arg2 = &temp;
8239}
8240{
8241 _arg3 = &temp0;
8242}
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
70551f47 8244 return NULL;
2d091820
RD
8245 if (_argo0) {
8246 if (_argo0 == Py_None) { _arg0 = NULL; }
8247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
70551f47
RD
8249 return NULL;
8250 }
8251 }
ab9bc19b 8252{
474c48f9 8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8254 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
ab9bc19b 8255
474c48f9 8256 wxPyEndAllowThreads(__tstate);
4dfaa61e 8257 if (PyErr_Occurred()) return NULL;
db34b2d4
RD
8258} Py_INCREF(Py_None);
8259 _resultobj = Py_None;
70551f47 8260{
a57d56d6
RD
8261 PyObject *o;
8262 o = PyInt_FromLong((long) (*_arg2));
8263 _resultobj = t_output_helper(_resultobj, o);
8264}
8265{
8266 PyObject *o;
8267 o = PyInt_FromLong((long) (*_arg3));
8268 _resultobj = t_output_helper(_resultobj, o);
70551f47
RD
8269}
8270 return _resultobj;
8271}
8272
8273#define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
107e4716 8274static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8275 PyObject * _resultobj;
8276 wxTextCtrl * _arg0;
8277 long _arg1;
2d091820 8278 PyObject * _argo0 = 0;
107e4716 8279 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
8280
8281 self = self;
107e4716 8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
70551f47 8283 return NULL;
2d091820
RD
8284 if (_argo0) {
8285 if (_argo0 == Py_None) { _arg0 = NULL; }
8286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
8287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
8288 return NULL;
8289 }
8290 }
ab9bc19b 8291{
474c48f9 8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8293 wxTextCtrl_ShowPosition(_arg0,_arg1);
ab9bc19b 8294
474c48f9 8295 wxPyEndAllowThreads(__tstate);
4dfaa61e 8296 if (PyErr_Occurred()) return NULL;
ab9bc19b 8297} Py_INCREF(Py_None);
70551f47
RD
8298 _resultobj = Py_None;
8299 return _resultobj;
8300}
8301
a57d56d6
RD
8302#define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
8303static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8304 PyObject * _resultobj;
8305 wxTextCtrl * _arg0;
2d091820 8306 PyObject * _argo0 = 0;
a57d56d6 8307 char *_kwnames[] = { "self", NULL };
70551f47
RD
8308
8309 self = self;
a57d56d6 8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
70551f47 8311 return NULL;
2d091820
RD
8312 if (_argo0) {
8313 if (_argo0 == Py_None) { _arg0 = NULL; }
8314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
70551f47
RD
8316 return NULL;
8317 }
8318 }
ab9bc19b 8319{
474c48f9 8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8321 wxTextCtrl_Copy(_arg0);
ab9bc19b 8322
474c48f9 8323 wxPyEndAllowThreads(__tstate);
4dfaa61e 8324 if (PyErr_Occurred()) return NULL;
ab9bc19b
RD
8325} Py_INCREF(Py_None);
8326 _resultobj = Py_None;
ab9bc19b
RD
8327 return _resultobj;
8328}
8329
a57d56d6
RD
8330#define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
8331static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
8332 PyObject * _resultobj;
8333 wxTextCtrl * _arg0;
2d091820 8334 PyObject * _argo0 = 0;
a57d56d6 8335 char *_kwnames[] = { "self", NULL };
ab9bc19b
RD
8336
8337 self = self;
a57d56d6 8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
ab9bc19b 8339 return NULL;
2d091820
RD
8340 if (_argo0) {
8341 if (_argo0 == Py_None) { _arg0 = NULL; }
8342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
ab9bc19b
RD
8344 return NULL;
8345 }
8346 }
ab9bc19b 8347{
474c48f9 8348 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8349 wxTextCtrl_Cut(_arg0);
ab9bc19b 8350
474c48f9 8351 wxPyEndAllowThreads(__tstate);
4dfaa61e 8352 if (PyErr_Occurred()) return NULL;
ab9bc19b 8353} Py_INCREF(Py_None);
70551f47 8354 _resultobj = Py_None;
70551f47
RD
8355 return _resultobj;
8356}
8357
a57d56d6
RD
8358#define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
8359static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 8360 PyObject * _resultobj;
faf3cb35 8361 wxTextCtrl * _arg0;
2d091820 8362 PyObject * _argo0 = 0;
a57d56d6 8363 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
8364
8365 self = self;
a57d56d6 8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
faf3cb35 8367 return NULL;
2d091820
RD
8368 if (_argo0) {
8369 if (_argo0 == Py_None) { _arg0 = NULL; }
8370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
faf3cb35
RD
8372 return NULL;
8373 }
8374 }
ab9bc19b 8375{
474c48f9 8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8377 wxTextCtrl_Paste(_arg0);
ab9bc19b 8378
474c48f9 8379 wxPyEndAllowThreads(__tstate);
4dfaa61e 8380 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8381} Py_INCREF(Py_None);
8382 _resultobj = Py_None;
faf3cb35
RD
8383 return _resultobj;
8384}
8385
53920141 8386#define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
107e4716 8387static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
8388 PyObject * _resultobj;
8389 bool _result;
8390 wxTextCtrl * _arg0;
2d091820 8391 PyObject * _argo0 = 0;
107e4716 8392 char *_kwnames[] = { "self", NULL };
53920141
RD
8393
8394 self = self;
107e4716 8395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
53920141 8396 return NULL;
2d091820
RD
8397 if (_argo0) {
8398 if (_argo0 == Py_None) { _arg0 = NULL; }
8399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
8400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
8401 return NULL;
8402 }
8403 }
8404{
474c48f9 8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8406 _result = (bool )wxTextCtrl_CanCopy(_arg0);
53920141 8407
474c48f9 8408 wxPyEndAllowThreads(__tstate);
4dfaa61e 8409 if (PyErr_Occurred()) return NULL;
53920141
RD
8410} _resultobj = Py_BuildValue("i",_result);
8411 return _resultobj;
8412}
8413
8414#define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
107e4716 8415static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
8416 PyObject * _resultobj;
8417 bool _result;
8418 wxTextCtrl * _arg0;
2d091820 8419 PyObject * _argo0 = 0;
107e4716 8420 char *_kwnames[] = { "self", NULL };
53920141
RD
8421
8422 self = self;
107e4716 8423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
53920141 8424 return NULL;
2d091820
RD
8425 if (_argo0) {
8426 if (_argo0 == Py_None) { _arg0 = NULL; }
8427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
8428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
8429 return NULL;
8430 }
8431 }
8432{
474c48f9 8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8434 _result = (bool )wxTextCtrl_CanCut(_arg0);
53920141 8435
474c48f9 8436 wxPyEndAllowThreads(__tstate);
4dfaa61e 8437 if (PyErr_Occurred()) return NULL;
53920141
RD
8438} _resultobj = Py_BuildValue("i",_result);
8439 return _resultobj;
8440}
8441
8442#define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
107e4716 8443static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
8444 PyObject * _resultobj;
8445 bool _result;
8446 wxTextCtrl * _arg0;
2d091820 8447 PyObject * _argo0 = 0;
107e4716 8448 char *_kwnames[] = { "self", NULL };
53920141
RD
8449
8450 self = self;
107e4716 8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
53920141 8452 return NULL;
2d091820
RD
8453 if (_argo0) {
8454 if (_argo0 == Py_None) { _arg0 = NULL; }
8455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
8456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
8457 return NULL;
8458 }
8459 }
8460{
474c48f9 8461 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8462 _result = (bool )wxTextCtrl_CanPaste(_arg0);
53920141 8463
474c48f9 8464 wxPyEndAllowThreads(__tstate);
4dfaa61e 8465 if (PyErr_Occurred()) return NULL;
53920141
RD
8466} _resultobj = Py_BuildValue("i",_result);
8467 return _resultobj;
8468}
8469
a57d56d6
RD
8470#define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
8471static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141 8472 PyObject * _resultobj;
53920141 8473 wxTextCtrl * _arg0;
2d091820 8474 PyObject * _argo0 = 0;
107e4716 8475 char *_kwnames[] = { "self", NULL };
53920141
RD
8476
8477 self = self;
a57d56d6 8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
53920141 8479 return NULL;
2d091820
RD
8480 if (_argo0) {
8481 if (_argo0 == Py_None) { _arg0 = NULL; }
8482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
53920141
RD
8484 return NULL;
8485 }
8486 }
8487{
474c48f9 8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8489 wxTextCtrl_Undo(_arg0);
53920141 8490
474c48f9 8491 wxPyEndAllowThreads(__tstate);
4dfaa61e 8492 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8493} Py_INCREF(Py_None);
8494 _resultobj = Py_None;
53920141
RD
8495 return _resultobj;
8496}
8497
a57d56d6
RD
8498#define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
8499static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141 8500 PyObject * _resultobj;
53920141 8501 wxTextCtrl * _arg0;
2d091820 8502 PyObject * _argo0 = 0;
107e4716 8503 char *_kwnames[] = { "self", NULL };
53920141
RD
8504
8505 self = self;
a57d56d6 8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
53920141 8507 return NULL;
2d091820
RD
8508 if (_argo0) {
8509 if (_argo0 == Py_None) { _arg0 = NULL; }
8510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
53920141
RD
8512 return NULL;
8513 }
8514 }
8515{
474c48f9 8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8517 wxTextCtrl_Redo(_arg0);
53920141 8518
474c48f9 8519 wxPyEndAllowThreads(__tstate);
4dfaa61e 8520 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8521} Py_INCREF(Py_None);
8522 _resultobj = Py_None;
53920141
RD
8523 return _resultobj;
8524}
8525
a57d56d6
RD
8526#define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
8527static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141 8528 PyObject * _resultobj;
a57d56d6 8529 bool _result;
53920141 8530 wxTextCtrl * _arg0;
2d091820 8531 PyObject * _argo0 = 0;
107e4716 8532 char *_kwnames[] = { "self", NULL };
53920141
RD
8533
8534 self = self;
a57d56d6 8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
53920141 8536 return NULL;
2d091820
RD
8537 if (_argo0) {
8538 if (_argo0 == Py_None) { _arg0 = NULL; }
8539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
53920141
RD
8541 return NULL;
8542 }
8543 }
8544{
474c48f9 8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8546 _result = (bool )wxTextCtrl_CanUndo(_arg0);
53920141 8547
474c48f9 8548 wxPyEndAllowThreads(__tstate);
4dfaa61e 8549 if (PyErr_Occurred()) return NULL;
a57d56d6 8550} _resultobj = Py_BuildValue("i",_result);
53920141
RD
8551 return _resultobj;
8552}
8553
a57d56d6
RD
8554#define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
8555static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
8556 PyObject * _resultobj;
8557 bool _result;
8558 wxTextCtrl * _arg0;
2d091820 8559 PyObject * _argo0 = 0;
107e4716 8560 char *_kwnames[] = { "self", NULL };
53920141
RD
8561
8562 self = self;
a57d56d6 8563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
53920141 8564 return NULL;
2d091820
RD
8565 if (_argo0) {
8566 if (_argo0 == Py_None) { _arg0 = NULL; }
8567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
53920141
RD
8569 return NULL;
8570 }
8571 }
8572{
474c48f9 8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8574 _result = (bool )wxTextCtrl_CanRedo(_arg0);
53920141 8575
474c48f9 8576 wxPyEndAllowThreads(__tstate);
4dfaa61e 8577 if (PyErr_Occurred()) return NULL;
53920141
RD
8578} _resultobj = Py_BuildValue("i",_result);
8579 return _resultobj;
8580}
8581
a57d56d6
RD
8582#define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
8583static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b
RD
8584 PyObject * _resultobj;
8585 wxTextCtrl * _arg0;
a57d56d6 8586 long _arg1;
4120ef2b 8587 PyObject * _argo0 = 0;
a57d56d6 8588 char *_kwnames[] = { "self","pos", NULL };
4120ef2b
RD
8589
8590 self = self;
a57d56d6 8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
4120ef2b
RD
8592 return NULL;
8593 if (_argo0) {
8594 if (_argo0 == Py_None) { _arg0 = NULL; }
8595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
4120ef2b
RD
8597 return NULL;
8598 }
8599 }
8600{
474c48f9 8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8602 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
4120ef2b 8603
474c48f9 8604 wxPyEndAllowThreads(__tstate);
4dfaa61e 8605 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
8606} Py_INCREF(Py_None);
8607 _resultobj = Py_None;
8608 return _resultobj;
8609}
8610
a57d56d6
RD
8611#define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
8612static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b
RD
8613 PyObject * _resultobj;
8614 wxTextCtrl * _arg0;
8615 PyObject * _argo0 = 0;
8616 char *_kwnames[] = { "self", NULL };
8617
8618 self = self;
a57d56d6 8619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
4120ef2b
RD
8620 return NULL;
8621 if (_argo0) {
8622 if (_argo0 == Py_None) { _arg0 = NULL; }
8623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4120ef2b
RD
8625 return NULL;
8626 }
8627 }
8628{
474c48f9 8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8630 wxTextCtrl_SetInsertionPointEnd(_arg0);
4120ef2b 8631
474c48f9 8632 wxPyEndAllowThreads(__tstate);
4dfaa61e 8633 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
8634} Py_INCREF(Py_None);
8635 _resultobj = Py_None;
8636 return _resultobj;
8637}
8638
a57d56d6
RD
8639#define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
8640static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9d6da64a 8641 PyObject * _resultobj;
a57d56d6 8642 long _result;
9d6da64a 8643 wxTextCtrl * _arg0;
9d6da64a 8644 PyObject * _argo0 = 0;
a57d56d6 8645 char *_kwnames[] = { "self", NULL };
9d6da64a
RD
8646
8647 self = self;
a57d56d6 8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
9d6da64a
RD
8649 return NULL;
8650 if (_argo0) {
8651 if (_argo0 == Py_None) { _arg0 = NULL; }
8652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
9d6da64a
RD
8654 return NULL;
8655 }
8656 }
8657{
474c48f9 8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8659 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
9d6da64a 8660
474c48f9 8661 wxPyEndAllowThreads(__tstate);
9d6da64a 8662 if (PyErr_Occurred()) return NULL;
a57d56d6 8663} _resultobj = Py_BuildValue("l",_result);
9d6da64a
RD
8664 return _resultobj;
8665}
8666
a57d56d6
RD
8667#define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
8668static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9d6da64a 8669 PyObject * _resultobj;
a57d56d6 8670 long _result;
9d6da64a 8671 wxTextCtrl * _arg0;
9d6da64a 8672 PyObject * _argo0 = 0;
a57d56d6 8673 char *_kwnames[] = { "self", NULL };
9d6da64a
RD
8674
8675 self = self;
a57d56d6 8676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
9d6da64a
RD
8677 return NULL;
8678 if (_argo0) {
8679 if (_argo0 == Py_None) { _arg0 = NULL; }
8680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
9d6da64a
RD
8682 return NULL;
8683 }
8684 }
a57d56d6 8685{
474c48f9 8686 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8687 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
a57d56d6 8688
474c48f9 8689 wxPyEndAllowThreads(__tstate);
a57d56d6
RD
8690 if (PyErr_Occurred()) return NULL;
8691} _resultobj = Py_BuildValue("l",_result);
8692 return _resultobj;
8693}
8694
8695#define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
8696static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8697 PyObject * _resultobj;
8698 wxTextCtrl * _arg0;
8699 long _arg1;
8700 long _arg2;
8701 PyObject * _argo0 = 0;
8702 char *_kwnames[] = { "self","from","to", NULL };
8703
8704 self = self;
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
8706 return NULL;
8707 if (_argo0) {
8708 if (_argo0 == Py_None) { _arg0 = NULL; }
8709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
9d6da64a
RD
8711 return NULL;
8712 }
8713 }
8714{
474c48f9 8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8716 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
9d6da64a 8717
474c48f9 8718 wxPyEndAllowThreads(__tstate);
9d6da64a 8719 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8720} Py_INCREF(Py_None);
8721 _resultobj = Py_None;
9d6da64a
RD
8722 return _resultobj;
8723}
8724
a57d56d6
RD
8725#define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
8726static PyObject *_wrap_wxTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9d6da64a 8727 PyObject * _resultobj;
9d6da64a
RD
8728 wxTextCtrl * _arg0;
8729 PyObject * _argo0 = 0;
8730 char *_kwnames[] = { "self", NULL };
9d6da64a
RD
8731
8732 self = self;
a57d56d6 8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SelectAll",_kwnames,&_argo0))
9d6da64a
RD
8734 return NULL;
8735 if (_argo0) {
8736 if (_argo0 == Py_None) { _arg0 = NULL; }
8737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
9d6da64a
RD
8739 return NULL;
8740 }
8741 }
8742{
474c48f9 8743 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8744 wxTextCtrl_SelectAll(_arg0);
9d6da64a 8745
474c48f9 8746 wxPyEndAllowThreads(__tstate);
9d6da64a 8747 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8748} Py_INCREF(Py_None);
8749 _resultobj = Py_None;
9d6da64a
RD
8750 return _resultobj;
8751}
8752
a57d56d6
RD
8753#define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
8754static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
aa2a5b86
RD
8755 PyObject * _resultobj;
8756 wxTextCtrl * _arg0;
a57d56d6 8757 bool _arg1;
aa2a5b86 8758 PyObject * _argo0 = 0;
a57d56d6
RD
8759 int tempbool1;
8760 char *_kwnames[] = { "self","editable", NULL };
aa2a5b86
RD
8761
8762 self = self;
a57d56d6 8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
aa2a5b86
RD
8764 return NULL;
8765 if (_argo0) {
8766 if (_argo0 == Py_None) { _arg0 = NULL; }
8767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
aa2a5b86
RD
8769 return NULL;
8770 }
8771 }
a57d56d6 8772 _arg1 = (bool ) tempbool1;
aa2a5b86 8773{
474c48f9 8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8775 wxTextCtrl_SetEditable(_arg0,_arg1);
aa2a5b86 8776
474c48f9 8777 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
8778 if (PyErr_Occurred()) return NULL;
8779} Py_INCREF(Py_None);
8780 _resultobj = Py_None;
8781 return _resultobj;
8782}
8783
d99400b2
RD
8784#define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
8785static PyObject *_wrap_wxTextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject * _resultobj;
8787 bool _result;
8788 wxTextCtrl * _arg0;
8789 PyObject * _argo0 = 0;
8790 char *_kwnames[] = { "self", NULL };
8791
8792 self = self;
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsSingleLine",_kwnames,&_argo0))
8794 return NULL;
8795 if (_argo0) {
8796 if (_argo0 == Py_None) { _arg0 = NULL; }
8797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
8799 return NULL;
8800 }
8801 }
8802{
8803 PyThreadState* __tstate = wxPyBeginAllowThreads();
8804 _result = (bool )wxTextCtrl_IsSingleLine(_arg0);
8805
8806 wxPyEndAllowThreads(__tstate);
8807 if (PyErr_Occurred()) return NULL;
8808} _resultobj = Py_BuildValue("i",_result);
8809 return _resultobj;
8810}
8811
8812#define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
8813static PyObject *_wrap_wxTextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8814 PyObject * _resultobj;
8815 bool _result;
8816 wxTextCtrl * _arg0;
8817 PyObject * _argo0 = 0;
8818 char *_kwnames[] = { "self", NULL };
8819
8820 self = self;
8821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsMultiLine",_kwnames,&_argo0))
8822 return NULL;
8823 if (_argo0) {
8824 if (_argo0 == Py_None) { _arg0 = NULL; }
8825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
8827 return NULL;
8828 }
8829 }
8830{
8831 PyThreadState* __tstate = wxPyBeginAllowThreads();
8832 _result = (bool )wxTextCtrl_IsMultiLine(_arg0);
8833
8834 wxPyEndAllowThreads(__tstate);
8835 if (PyErr_Occurred()) return NULL;
8836} _resultobj = Py_BuildValue("i",_result);
8837 return _resultobj;
8838}
8839
4120ef2b 8840static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
9d6da64a 8841 self->AppendText(text);
4120ef2b
RD
8842 }
8843static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8844 PyObject * _resultobj;
8845 wxTextCtrl * _arg0;
8846 wxString * _arg1;
8847 PyObject * _argo0 = 0;
8848 PyObject * _obj1 = 0;
8849 char *_kwnames[] = { "self","text", NULL };
8850
8851 self = self;
8852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
8853 return NULL;
8854 if (_argo0) {
8855 if (_argo0 == Py_None) { _arg0 = NULL; }
8856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
8858 return NULL;
8859 }
8860 }
8861{
c8bc7bb8
RD
8862 _arg1 = wxString_in_helper(_obj1);
8863 if (_arg1 == NULL)
4120ef2b 8864 return NULL;
4120ef2b
RD
8865}
8866{
474c48f9 8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8868 wxTextCtrl_write(_arg0,*_arg1);
4120ef2b 8869
474c48f9 8870 wxPyEndAllowThreads(__tstate);
4dfaa61e 8871 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
8872} Py_INCREF(Py_None);
8873 _resultobj = Py_None;
8874{
8875 if (_obj1)
8876 delete _arg1;
8877}
8878 return _resultobj;
8879}
8880
7a9b33db 8881static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to) {
d99400b2 8882 return self->GetValue().Mid(from, to - from);
7a9b33db
RD
8883 }
8884static PyObject *_wrap_wxTextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8885 PyObject * _resultobj;
8886 wxString * _result;
8887 wxTextCtrl * _arg0;
8888 long _arg1;
8889 long _arg2;
8890 PyObject * _argo0 = 0;
8891 char *_kwnames[] = { "self","from","to", NULL };
8892
8893 self = self;
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetString",_kwnames,&_argo0,&_arg1,&_arg2))
8895 return NULL;
8896 if (_argo0) {
8897 if (_argo0 == Py_None) { _arg0 = NULL; }
8898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
8900 return NULL;
8901 }
8902 }
8903{
474c48f9 8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8905 _result = new wxString (wxTextCtrl_GetString(_arg0,_arg1,_arg2));
7a9b33db 8906
474c48f9 8907 wxPyEndAllowThreads(__tstate);
7a9b33db
RD
8908 if (PyErr_Occurred()) return NULL;
8909}{
c8bc7bb8 8910#if wxUSE_UNICODE
b67a9327 8911 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 8912#else
7a9b33db 8913 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8914#endif
7a9b33db
RD
8915}
8916{
8917 delete _result;
8918}
8919 return _resultobj;
8920}
8921
70551f47
RD
8922static void *SwigwxScrollBarTowxControl(void *ptr) {
8923 wxScrollBar *src;
8924 wxControl *dest;
8925 src = (wxScrollBar *) ptr;
8926 dest = (wxControl *) src;
8927 return (void *) dest;
8928}
8929
8930static void *SwigwxScrollBarTowxWindow(void *ptr) {
8931 wxScrollBar *src;
8932 wxWindow *dest;
8933 src = (wxScrollBar *) ptr;
8934 dest = (wxWindow *) src;
8935 return (void *) dest;
8936}
8937
8938static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
8939 wxScrollBar *src;
8940 wxEvtHandler *dest;
8941 src = (wxScrollBar *) ptr;
8942 dest = (wxEvtHandler *) src;
8943 return (void *) dest;
8944}
8945
9df61a29
RD
8946static void *SwigwxScrollBarTowxObject(void *ptr) {
8947 wxScrollBar *src;
8948 wxObject *dest;
8949 src = (wxScrollBar *) ptr;
8950 dest = (wxObject *) src;
8951 return (void *) dest;
8952}
8953
70551f47 8954#define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 8955static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8956 PyObject * _resultobj;
8957 wxScrollBar * _result;
8958 wxWindow * _arg0;
2d091820 8959 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
8960 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8961 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820 8962 long _arg4 = (long ) wxSB_HORIZONTAL;
b68dc582 8963 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 8964 wxString * _arg6 = (wxString *) &wxPyScrollBarNameStr;
2d091820 8965 PyObject * _argo0 = 0;
37f6a977
RD
8966 wxPoint temp;
8967 PyObject * _obj2 = 0;
8968 wxSize temp0;
8969 PyObject * _obj3 = 0;
2d091820 8970 PyObject * _argo5 = 0;
9a74fcaf 8971 PyObject * _obj6 = 0;
107e4716 8972 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
70551f47
RD
8973 char _ptemp[128];
8974
8975 self = self;
9a74fcaf 8976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
70551f47 8977 return NULL;
2d091820
RD
8978 if (_argo0) {
8979 if (_argo0 == Py_None) { _arg0 = NULL; }
8980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
8981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8982 return NULL;
8983 }
8984 }
37f6a977
RD
8985 if (_obj2)
8986{
8987 _arg2 = &temp;
8988 if (! wxPoint_helper(_obj2, &_arg2))
70551f47 8989 return NULL;
37f6a977
RD
8990}
8991 if (_obj3)
8992{
8993 _arg3 = &temp0;
8994 if (! wxSize_helper(_obj3, &_arg3))
70551f47 8995 return NULL;
37f6a977 8996}
2d091820 8997 if (_argo5) {
b67a9327 8998 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
70551f47
RD
8999 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
9000 return NULL;
9001 }
9002 }
9a74fcaf
RD
9003 if (_obj6)
9004{
9005 _arg6 = wxString_in_helper(_obj6);
9006 if (_arg6 == NULL)
9007 return NULL;
9008}
ab9bc19b 9009{
474c48f9 9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9011 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
ab9bc19b 9012
474c48f9 9013 wxPyEndAllowThreads(__tstate);
4dfaa61e 9014 if (PyErr_Occurred()) return NULL;
2d091820
RD
9015} if (_result) {
9016 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
9017 _resultobj = Py_BuildValue("s",_ptemp);
9018 } else {
9019 Py_INCREF(Py_None);
9020 _resultobj = Py_None;
9021 }
9a74fcaf
RD
9022{
9023 if (_obj6)
9024 delete _arg6;
9025}
70551f47
RD
9026 return _resultobj;
9027}
9028
aa2a5b86
RD
9029#define new_wxPreScrollBar() (new wxScrollBar())
9030static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject * _resultobj;
9032 wxScrollBar * _result;
9033 char *_kwnames[] = { NULL };
9034 char _ptemp[128];
9035
9036 self = self;
9037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
9038 return NULL;
9039{
474c48f9 9040 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9041 _result = (wxScrollBar *)new_wxPreScrollBar();
aa2a5b86 9042
474c48f9 9043 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9044 if (PyErr_Occurred()) return NULL;
9045} if (_result) {
9046 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
9047 _resultobj = Py_BuildValue("s",_ptemp);
9048 } else {
9049 Py_INCREF(Py_None);
9050 _resultobj = Py_None;
9051 }
9052 return _resultobj;
9053}
9054
9055#define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9056static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9057 PyObject * _resultobj;
9058 bool _result;
9059 wxScrollBar * _arg0;
9060 wxWindow * _arg1;
9061 wxWindowID _arg2 = (wxWindowID ) -1;
9062 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9063 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9064 long _arg5 = (long ) wxSB_HORIZONTAL;
9065 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 9066 wxString * _arg7 = (wxString *) &wxPyScrollBarNameStr;
aa2a5b86
RD
9067 PyObject * _argo0 = 0;
9068 PyObject * _argo1 = 0;
9069 wxPoint temp;
9070 PyObject * _obj3 = 0;
9071 wxSize temp0;
9072 PyObject * _obj4 = 0;
9073 PyObject * _argo6 = 0;
9a74fcaf 9074 PyObject * _obj7 = 0;
aa2a5b86
RD
9075 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
9076
9077 self = self;
9a74fcaf 9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
aa2a5b86
RD
9079 return NULL;
9080 if (_argo0) {
9081 if (_argo0 == Py_None) { _arg0 = NULL; }
9082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
9084 return NULL;
9085 }
9086 }
9087 if (_argo1) {
9088 if (_argo1 == Py_None) { _arg1 = NULL; }
9089 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9090 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
9091 return NULL;
9092 }
9093 }
9094 if (_obj3)
9095{
9096 _arg3 = &temp;
9097 if (! wxPoint_helper(_obj3, &_arg3))
9098 return NULL;
9099}
9100 if (_obj4)
9101{
9102 _arg4 = &temp0;
9103 if (! wxSize_helper(_obj4, &_arg4))
9104 return NULL;
9105}
9106 if (_argo6) {
b67a9327 9107 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
aa2a5b86
RD
9108 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
9109 return NULL;
9110 }
9111 }
9a74fcaf
RD
9112 if (_obj7)
9113{
9114 _arg7 = wxString_in_helper(_obj7);
9115 if (_arg7 == NULL)
9116 return NULL;
9117}
aa2a5b86 9118{
474c48f9 9119 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9120 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
aa2a5b86 9121
474c48f9 9122 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9123 if (PyErr_Occurred()) return NULL;
9124} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
9125{
9126 if (_obj7)
9127 delete _arg7;
9128}
aa2a5b86
RD
9129 return _resultobj;
9130}
9131
70551f47 9132#define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
107e4716 9133static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9134 PyObject * _resultobj;
9135 int _result;
9136 wxScrollBar * _arg0;
2d091820 9137 PyObject * _argo0 = 0;
107e4716 9138 char *_kwnames[] = { "self", NULL };
70551f47
RD
9139
9140 self = self;
107e4716 9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
70551f47 9142 return NULL;
2d091820
RD
9143 if (_argo0) {
9144 if (_argo0 == Py_None) { _arg0 = NULL; }
9145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
9146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
9147 return NULL;
9148 }
9149 }
ab9bc19b 9150{
474c48f9 9151 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9152 _result = (int )wxScrollBar_GetRange(_arg0);
ab9bc19b 9153
474c48f9 9154 wxPyEndAllowThreads(__tstate);
4dfaa61e 9155 if (PyErr_Occurred()) return NULL;
ab9bc19b 9156} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9157 return _resultobj;
9158}
9159
9160#define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
107e4716 9161static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9162 PyObject * _resultobj;
9163 int _result;
9164 wxScrollBar * _arg0;
2d091820 9165 PyObject * _argo0 = 0;
107e4716 9166 char *_kwnames[] = { "self", NULL };
70551f47
RD
9167
9168 self = self;
107e4716 9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
70551f47 9170 return NULL;
2d091820
RD
9171 if (_argo0) {
9172 if (_argo0 == Py_None) { _arg0 = NULL; }
9173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
9174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
9175 return NULL;
9176 }
9177 }
ab9bc19b 9178{
474c48f9 9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9180 _result = (int )wxScrollBar_GetPageSize(_arg0);
ab9bc19b 9181
474c48f9 9182 wxPyEndAllowThreads(__tstate);
4dfaa61e 9183 if (PyErr_Occurred()) return NULL;
ab9bc19b 9184} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9185 return _resultobj;
9186}
9187
105e45b9 9188#define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
107e4716 9189static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9190 PyObject * _resultobj;
9191 int _result;
9192 wxScrollBar * _arg0;
2d091820 9193 PyObject * _argo0 = 0;
107e4716 9194 char *_kwnames[] = { "self", NULL };
70551f47
RD
9195
9196 self = self;
107e4716 9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
70551f47 9198 return NULL;
2d091820
RD
9199 if (_argo0) {
9200 if (_argo0 == Py_None) { _arg0 = NULL; }
9201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
105e45b9 9202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
70551f47
RD
9203 return NULL;
9204 }
9205 }
ab9bc19b 9206{
474c48f9 9207 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9208 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
ab9bc19b 9209
474c48f9 9210 wxPyEndAllowThreads(__tstate);
4dfaa61e 9211 if (PyErr_Occurred()) return NULL;
ab9bc19b 9212} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9213 return _resultobj;
9214}
9215
9216#define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
107e4716 9217static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9218 PyObject * _resultobj;
9219 int _result;
9220 wxScrollBar * _arg0;
2d091820 9221 PyObject * _argo0 = 0;
107e4716 9222 char *_kwnames[] = { "self", NULL };
70551f47
RD
9223
9224 self = self;
107e4716 9225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
70551f47 9226 return NULL;
2d091820
RD
9227 if (_argo0) {
9228 if (_argo0 == Py_None) { _arg0 = NULL; }
9229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
9230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
9231 return NULL;
9232 }
9233 }
ab9bc19b 9234{
474c48f9 9235 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9236 _result = (int )wxScrollBar_GetThumbSize(_arg0);
ab9bc19b 9237
474c48f9 9238 wxPyEndAllowThreads(__tstate);
4dfaa61e 9239 if (PyErr_Occurred()) return NULL;
ab9bc19b 9240} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9241 return _resultobj;
9242}
9243
6e8a778a
RD
9244#define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
9245static PyObject *_wrap_wxScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9246 PyObject * _resultobj;
9247 bool _result;
9248 wxScrollBar * _arg0;
9249 PyObject * _argo0 = 0;
9250 char *_kwnames[] = { "self", NULL };
9251
9252 self = self;
9253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_IsVertical",_kwnames,&_argo0))
9254 return NULL;
9255 if (_argo0) {
9256 if (_argo0 == Py_None) { _arg0 = NULL; }
9257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
9259 return NULL;
9260 }
9261 }
9262{
474c48f9 9263 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9264 _result = (bool )wxScrollBar_IsVertical(_arg0);
6e8a778a 9265
474c48f9 9266 wxPyEndAllowThreads(__tstate);
6e8a778a
RD
9267 if (PyErr_Occurred()) return NULL;
9268} _resultobj = Py_BuildValue("i",_result);
9269 return _resultobj;
9270}
9271
105e45b9 9272#define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
107e4716 9273static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9274 PyObject * _resultobj;
9275 wxScrollBar * _arg0;
9276 int _arg1;
2d091820 9277 PyObject * _argo0 = 0;
107e4716 9278 char *_kwnames[] = { "self","viewStart", NULL };
70551f47
RD
9279
9280 self = self;
107e4716 9281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
70551f47 9282 return NULL;
2d091820
RD
9283 if (_argo0) {
9284 if (_argo0 == Py_None) { _arg0 = NULL; }
9285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
105e45b9 9286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
70551f47
RD
9287 return NULL;
9288 }
9289 }
ab9bc19b 9290{
474c48f9 9291 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9292 wxScrollBar_SetThumbPosition(_arg0,_arg1);
ab9bc19b 9293
474c48f9 9294 wxPyEndAllowThreads(__tstate);
4dfaa61e 9295 if (PyErr_Occurred()) return NULL;
ab9bc19b 9296} Py_INCREF(Py_None);
70551f47
RD
9297 _resultobj = Py_None;
9298 return _resultobj;
9299}
9300
9301#define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 9302static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9303 PyObject * _resultobj;
9304 wxScrollBar * _arg0;
9305 int _arg1;
9306 int _arg2;
9307 int _arg3;
9308 int _arg4;
2d091820
RD
9309 bool _arg5 = (bool ) TRUE;
9310 PyObject * _argo0 = 0;
9311 int tempbool5 = (int) TRUE;
107e4716 9312 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
70551f47
RD
9313
9314 self = self;
107e4716 9315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
70551f47 9316 return NULL;
2d091820
RD
9317 if (_argo0) {
9318 if (_argo0 == Py_None) { _arg0 = NULL; }
9319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
9320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
9321 return NULL;
9322 }
9323 }
9324 _arg5 = (bool ) tempbool5;
ab9bc19b 9325{
474c48f9 9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9327 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
ab9bc19b 9328
474c48f9 9329 wxPyEndAllowThreads(__tstate);
4dfaa61e 9330 if (PyErr_Occurred()) return NULL;
ab9bc19b 9331} Py_INCREF(Py_None);
70551f47
RD
9332 _resultobj = Py_None;
9333 return _resultobj;
9334}
9335
62bd0874
RD
9336static void *SwigwxSpinButtonTowxControl(void *ptr) {
9337 wxSpinButton *src;
9338 wxControl *dest;
9339 src = (wxSpinButton *) ptr;
9340 dest = (wxControl *) src;
9341 return (void *) dest;
9342}
9343
9344static void *SwigwxSpinButtonTowxWindow(void *ptr) {
9345 wxSpinButton *src;
9346 wxWindow *dest;
9347 src = (wxSpinButton *) ptr;
9348 dest = (wxWindow *) src;
9349 return (void *) dest;
9350}
9351
9352static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
9353 wxSpinButton *src;
9354 wxEvtHandler *dest;
9355 src = (wxSpinButton *) ptr;
9356 dest = (wxEvtHandler *) src;
9357 return (void *) dest;
9358}
9359
9df61a29
RD
9360static void *SwigwxSpinButtonTowxObject(void *ptr) {
9361 wxSpinButton *src;
9362 wxObject *dest;
9363 src = (wxSpinButton *) ptr;
9364 dest = (wxObject *) src;
9365 return (void *) dest;
9366}
9367
62bd0874 9368#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 9369static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9370 PyObject * _resultobj;
9371 wxSpinButton * _result;
9372 wxWindow * _arg0;
2d091820 9373 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
9374 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
9375 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820 9376 long _arg4 = (long ) wxSP_HORIZONTAL;
9a74fcaf 9377 wxString * _arg5 = (wxString *) &wxPySPIN_BUTTON_NAME;
2d091820 9378 PyObject * _argo0 = 0;
37f6a977
RD
9379 wxPoint temp;
9380 PyObject * _obj2 = 0;
9381 wxSize temp0;
9382 PyObject * _obj3 = 0;
9a74fcaf 9383 PyObject * _obj5 = 0;
107e4716 9384 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
62bd0874
RD
9385 char _ptemp[128];
9386
9387 self = self;
9a74fcaf 9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
62bd0874 9389 return NULL;
2d091820
RD
9390 if (_argo0) {
9391 if (_argo0 == Py_None) { _arg0 = NULL; }
9392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
62bd0874
RD
9393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
9394 return NULL;
9395 }
9396 }
37f6a977
RD
9397 if (_obj2)
9398{
9399 _arg2 = &temp;
9400 if (! wxPoint_helper(_obj2, &_arg2))
62bd0874 9401 return NULL;
37f6a977
RD
9402}
9403 if (_obj3)
9404{
9405 _arg3 = &temp0;
9406 if (! wxSize_helper(_obj3, &_arg3))
62bd0874 9407 return NULL;
9a74fcaf
RD
9408}
9409 if (_obj5)
9410{
9411 _arg5 = wxString_in_helper(_obj5);
9412 if (_arg5 == NULL)
9413 return NULL;
37f6a977 9414}
ab9bc19b 9415{
474c48f9 9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9417 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
ab9bc19b 9418
474c48f9 9419 wxPyEndAllowThreads(__tstate);
4dfaa61e 9420 if (PyErr_Occurred()) return NULL;
2d091820
RD
9421} if (_result) {
9422 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
9423 _resultobj = Py_BuildValue("s",_ptemp);
9424 } else {
9425 Py_INCREF(Py_None);
9426 _resultobj = Py_None;
9427 }
9a74fcaf
RD
9428{
9429 if (_obj5)
9430 delete _arg5;
9431}
62bd0874
RD
9432 return _resultobj;
9433}
9434
aa2a5b86
RD
9435#define new_wxPreSpinButton() (new wxSpinButton())
9436static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9437 PyObject * _resultobj;
9438 wxSpinButton * _result;
9439 char *_kwnames[] = { NULL };
9440 char _ptemp[128];
9441
9442 self = self;
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
9444 return NULL;
9445{
474c48f9 9446 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9447 _result = (wxSpinButton *)new_wxPreSpinButton();
aa2a5b86 9448
474c48f9 9449 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9450 if (PyErr_Occurred()) return NULL;
9451} if (_result) {
9452 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
9453 _resultobj = Py_BuildValue("s",_ptemp);
9454 } else {
9455 Py_INCREF(Py_None);
9456 _resultobj = Py_None;
9457 }
9458 return _resultobj;
9459}
9460
9461#define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9462static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9463 PyObject * _resultobj;
9464 bool _result;
9465 wxSpinButton * _arg0;
9466 wxWindow * _arg1;
9467 wxWindowID _arg2 = (wxWindowID ) -1;
9468 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9469 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9470 long _arg5 = (long ) wxSP_HORIZONTAL;
9a74fcaf 9471 wxString * _arg6 = (wxString *) &wxPySPIN_BUTTON_NAME;
aa2a5b86
RD
9472 PyObject * _argo0 = 0;
9473 PyObject * _argo1 = 0;
9474 wxPoint temp;
9475 PyObject * _obj3 = 0;
9476 wxSize temp0;
9477 PyObject * _obj4 = 0;
9a74fcaf 9478 PyObject * _obj6 = 0;
aa2a5b86
RD
9479 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
9480
9481 self = self;
9a74fcaf 9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
9483 return NULL;
9484 if (_argo0) {
9485 if (_argo0 == Py_None) { _arg0 = NULL; }
9486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
9488 return NULL;
9489 }
9490 }
9491 if (_argo1) {
9492 if (_argo1 == Py_None) { _arg1 = NULL; }
9493 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9494 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
9495 return NULL;
9496 }
9497 }
9498 if (_obj3)
9499{
9500 _arg3 = &temp;
9501 if (! wxPoint_helper(_obj3, &_arg3))
9502 return NULL;
9503}
9504 if (_obj4)
9505{
9506 _arg4 = &temp0;
9507 if (! wxSize_helper(_obj4, &_arg4))
9508 return NULL;
9a74fcaf
RD
9509}
9510 if (_obj6)
9511{
9512 _arg6 = wxString_in_helper(_obj6);
9513 if (_arg6 == NULL)
9514 return NULL;
aa2a5b86
RD
9515}
9516{
474c48f9 9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9518 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 9519
474c48f9 9520 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9521 if (PyErr_Occurred()) return NULL;
9522} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
9523{
9524 if (_obj6)
9525 delete _arg6;
9526}
aa2a5b86
RD
9527 return _resultobj;
9528}
9529
62bd0874 9530#define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
107e4716 9531static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9532 PyObject * _resultobj;
9533 int _result;
9534 wxSpinButton * _arg0;
2d091820 9535 PyObject * _argo0 = 0;
107e4716 9536 char *_kwnames[] = { "self", NULL };
62bd0874
RD
9537
9538 self = self;
107e4716 9539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
62bd0874 9540 return NULL;
2d091820
RD
9541 if (_argo0) {
9542 if (_argo0 == Py_None) { _arg0 = NULL; }
9543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
9544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
9545 return NULL;
9546 }
9547 }
ab9bc19b 9548{
474c48f9 9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9550 _result = (int )wxSpinButton_GetMax(_arg0);
ab9bc19b 9551
474c48f9 9552 wxPyEndAllowThreads(__tstate);
4dfaa61e 9553 if (PyErr_Occurred()) return NULL;
ab9bc19b 9554} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
9555 return _resultobj;
9556}
9557
9558#define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
107e4716 9559static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9560 PyObject * _resultobj;
9561 int _result;
9562 wxSpinButton * _arg0;
2d091820 9563 PyObject * _argo0 = 0;
107e4716 9564 char *_kwnames[] = { "self", NULL };
62bd0874
RD
9565
9566 self = self;
107e4716 9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
62bd0874 9568 return NULL;
2d091820
RD
9569 if (_argo0) {
9570 if (_argo0 == Py_None) { _arg0 = NULL; }
9571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
9572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
9573 return NULL;
9574 }
9575 }
ab9bc19b 9576{
474c48f9 9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9578 _result = (int )wxSpinButton_GetMin(_arg0);
ab9bc19b 9579
474c48f9 9580 wxPyEndAllowThreads(__tstate);
4dfaa61e 9581 if (PyErr_Occurred()) return NULL;
ab9bc19b 9582} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
9583 return _resultobj;
9584}
9585
9586#define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 9587static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9588 PyObject * _resultobj;
9589 int _result;
9590 wxSpinButton * _arg0;
2d091820 9591 PyObject * _argo0 = 0;
107e4716 9592 char *_kwnames[] = { "self", NULL };
62bd0874
RD
9593
9594 self = self;
107e4716 9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
62bd0874 9596 return NULL;
2d091820
RD
9597 if (_argo0) {
9598 if (_argo0 == Py_None) { _arg0 = NULL; }
9599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
9600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
9601 return NULL;
9602 }
9603 }
ab9bc19b 9604{
474c48f9 9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9606 _result = (int )wxSpinButton_GetValue(_arg0);
ab9bc19b 9607
474c48f9 9608 wxPyEndAllowThreads(__tstate);
4dfaa61e 9609 if (PyErr_Occurred()) return NULL;
ab9bc19b 9610} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
9611 return _resultobj;
9612}
9613
9614#define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
107e4716 9615static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9616 PyObject * _resultobj;
9617 wxSpinButton * _arg0;
9618 int _arg1;
9619 int _arg2;
2d091820 9620 PyObject * _argo0 = 0;
107e4716 9621 char *_kwnames[] = { "self","min","max", NULL };
62bd0874
RD
9622
9623 self = self;
107e4716 9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
62bd0874 9625 return NULL;
2d091820
RD
9626 if (_argo0) {
9627 if (_argo0 == Py_None) { _arg0 = NULL; }
9628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
9629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
9630 return NULL;
9631 }
9632 }
ab9bc19b 9633{
474c48f9 9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9635 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
ab9bc19b 9636
474c48f9 9637 wxPyEndAllowThreads(__tstate);
4dfaa61e 9638 if (PyErr_Occurred()) return NULL;
ab9bc19b 9639} Py_INCREF(Py_None);
62bd0874
RD
9640 _resultobj = Py_None;
9641 return _resultobj;
9642}
9643
9644#define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 9645static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9646 PyObject * _resultobj;
9647 wxSpinButton * _arg0;
9648 int _arg1;
2d091820 9649 PyObject * _argo0 = 0;
107e4716 9650 char *_kwnames[] = { "self","value", NULL };
62bd0874
RD
9651
9652 self = self;
107e4716 9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
62bd0874 9654 return NULL;
2d091820
RD
9655 if (_argo0) {
9656 if (_argo0 == Py_None) { _arg0 = NULL; }
9657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
9658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
9659 return NULL;
9660 }
9661 }
ab9bc19b 9662{
474c48f9 9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9664 wxSpinButton_SetValue(_arg0,_arg1);
ab9bc19b 9665
474c48f9 9666 wxPyEndAllowThreads(__tstate);
4dfaa61e 9667 if (PyErr_Occurred()) return NULL;
ab9bc19b 9668} Py_INCREF(Py_None);
62bd0874
RD
9669 _resultobj = Py_None;
9670 return _resultobj;
9671}
9672
70551f47
RD
9673static void *SwigwxStaticBitmapTowxControl(void *ptr) {
9674 wxStaticBitmap *src;
9675 wxControl *dest;
9676 src = (wxStaticBitmap *) ptr;
9677 dest = (wxControl *) src;
9678 return (void *) dest;
9679}
9680
9681static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
9682 wxStaticBitmap *src;
9683 wxWindow *dest;
9684 src = (wxStaticBitmap *) ptr;
9685 dest = (wxWindow *) src;
9686 return (void *) dest;
9687}
9688
9689static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
9690 wxStaticBitmap *src;
9691 wxEvtHandler *dest;
9692 src = (wxStaticBitmap *) ptr;
9693 dest = (wxEvtHandler *) src;
9694 return (void *) dest;
9695}
9696
9df61a29
RD
9697static void *SwigwxStaticBitmapTowxObject(void *ptr) {
9698 wxStaticBitmap *src;
9699 wxObject *dest;
9700 src = (wxStaticBitmap *) ptr;
9701 dest = (wxObject *) src;
9702 return (void *) dest;
9703}
9704
70551f47 9705#define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 9706static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9707 PyObject * _resultobj;
9708 wxStaticBitmap * _result;
9709 wxWindow * _arg0;
9710 wxWindowID _arg1;
9711 wxBitmap * _arg2;
b68dc582
RD
9712 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9713 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 9714 long _arg5 = (long ) 0;
9a74fcaf 9715 wxString * _arg6 = (wxString *) &wxPyStaticBitmapNameStr;
2d091820 9716 PyObject * _argo0 = 0;
aa2a5b86
RD
9717 PyObject * _argo2 = 0;
9718 wxPoint temp;
9719 PyObject * _obj3 = 0;
9720 wxSize temp0;
9721 PyObject * _obj4 = 0;
9a74fcaf 9722 PyObject * _obj6 = 0;
aa2a5b86
RD
9723 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
9724 char _ptemp[128];
9725
9726 self = self;
9a74fcaf 9727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
9728 return NULL;
9729 if (_argo0) {
9730 if (_argo0 == Py_None) { _arg0 = NULL; }
9731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
9733 return NULL;
9734 }
9735 }
9736 if (_argo2) {
b67a9327 9737 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
aa2a5b86
RD
9738 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
9739 return NULL;
9740 }
9741 }
9742 if (_obj3)
9743{
9744 _arg3 = &temp;
9745 if (! wxPoint_helper(_obj3, &_arg3))
9746 return NULL;
9747}
9748 if (_obj4)
9749{
9750 _arg4 = &temp0;
9751 if (! wxSize_helper(_obj4, &_arg4))
9752 return NULL;
9a74fcaf
RD
9753}
9754 if (_obj6)
9755{
9756 _arg6 = wxString_in_helper(_obj6);
9757 if (_arg6 == NULL)
9758 return NULL;
aa2a5b86
RD
9759}
9760{
474c48f9 9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9762 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 9763
474c48f9 9764 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9765 if (PyErr_Occurred()) return NULL;
9766} if (_result) {
9767 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
9768 _resultobj = Py_BuildValue("s",_ptemp);
9769 } else {
9770 Py_INCREF(Py_None);
9771 _resultobj = Py_None;
9772 }
9a74fcaf
RD
9773{
9774 if (_obj6)
9775 delete _arg6;
9776}
aa2a5b86
RD
9777 return _resultobj;
9778}
9779
9780#define new_wxPreStaticBitmap() (new wxStaticBitmap())
9781static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9782 PyObject * _resultobj;
9783 wxStaticBitmap * _result;
9784 char *_kwnames[] = { NULL };
9785 char _ptemp[128];
9786
9787 self = self;
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
9789 return NULL;
9790{
474c48f9 9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9792 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
aa2a5b86 9793
474c48f9 9794 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9795 if (PyErr_Occurred()) return NULL;
9796} if (_result) {
9797 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
9798 _resultobj = Py_BuildValue("s",_ptemp);
9799 } else {
9800 Py_INCREF(Py_None);
9801 _resultobj = Py_None;
9802 }
9803 return _resultobj;
9804}
9805
9806#define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9807static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9808 PyObject * _resultobj;
9809 bool _result;
9810 wxStaticBitmap * _arg0;
9811 wxWindow * _arg1;
9812 wxWindowID _arg2;
9813 wxBitmap * _arg3;
9814 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9815 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9816 long _arg6 = (long ) 0;
9a74fcaf 9817 wxString * _arg7 = (wxString *) &wxPyStaticBitmapNameStr;
aa2a5b86
RD
9818 PyObject * _argo0 = 0;
9819 PyObject * _argo1 = 0;
9820 PyObject * _argo3 = 0;
37f6a977 9821 wxPoint temp;
37f6a977 9822 PyObject * _obj4 = 0;
aa2a5b86
RD
9823 wxSize temp0;
9824 PyObject * _obj5 = 0;
9a74fcaf 9825 PyObject * _obj7 = 0;
aa2a5b86 9826 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
70551f47
RD
9827
9828 self = self;
9a74fcaf 9829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_obj7))
70551f47 9830 return NULL;
2d091820
RD
9831 if (_argo0) {
9832 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
9833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
70551f47
RD
9835 return NULL;
9836 }
9837 }
aa2a5b86
RD
9838 if (_argo1) {
9839 if (_argo1 == Py_None) { _arg1 = NULL; }
9840 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9841 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
70551f47
RD
9842 return NULL;
9843 }
9844 }
aa2a5b86 9845 if (_argo3) {
b67a9327 9846 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
aa2a5b86
RD
9847 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
9848 return NULL;
9849 }
9850 }
9851 if (_obj4)
37f6a977 9852{
aa2a5b86
RD
9853 _arg4 = &temp;
9854 if (! wxPoint_helper(_obj4, &_arg4))
70551f47 9855 return NULL;
37f6a977 9856}
aa2a5b86 9857 if (_obj5)
37f6a977 9858{
aa2a5b86
RD
9859 _arg5 = &temp0;
9860 if (! wxSize_helper(_obj5, &_arg5))
70551f47 9861 return NULL;
9a74fcaf
RD
9862}
9863 if (_obj7)
9864{
9865 _arg7 = wxString_in_helper(_obj7);
9866 if (_arg7 == NULL)
9867 return NULL;
37f6a977 9868}
ab9bc19b 9869{
474c48f9 9870 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9871 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
ab9bc19b 9872
474c48f9 9873 wxPyEndAllowThreads(__tstate);
4dfaa61e 9874 if (PyErr_Occurred()) return NULL;
aa2a5b86 9875} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
9876{
9877 if (_obj7)
9878 delete _arg7;
9879}
70551f47
RD
9880 return _resultobj;
9881}
9882
9883#define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
107e4716 9884static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9885 PyObject * _resultobj;
9886 wxBitmap * _result;
9887 wxStaticBitmap * _arg0;
2d091820 9888 PyObject * _argo0 = 0;
107e4716 9889 char *_kwnames[] = { "self", NULL };
70551f47
RD
9890 char _ptemp[128];
9891
9892 self = self;
107e4716 9893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
70551f47 9894 return NULL;
2d091820
RD
9895 if (_argo0) {
9896 if (_argo0 == Py_None) { _arg0 = NULL; }
9897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
70551f47
RD
9898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
9899 return NULL;
9900 }
9901 }
ab9bc19b 9902{
474c48f9 9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9904 _result = new wxBitmap (wxStaticBitmap_GetBitmap(_arg0));
ab9bc19b 9905
474c48f9 9906 wxPyEndAllowThreads(__tstate);
4dfaa61e 9907 if (PyErr_Occurred()) return NULL;
3e212503
RD
9908} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
9909 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
9910 return _resultobj;
9911}
9912
9913#define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
107e4716 9914static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9915 PyObject * _resultobj;
9916 wxStaticBitmap * _arg0;
9917 wxBitmap * _arg1;
2d091820
RD
9918 PyObject * _argo0 = 0;
9919 PyObject * _argo1 = 0;
107e4716 9920 char *_kwnames[] = { "self","bitmap", NULL };
70551f47
RD
9921
9922 self = self;
107e4716 9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
70551f47 9924 return NULL;
2d091820
RD
9925 if (_argo0) {
9926 if (_argo0 == Py_None) { _arg0 = NULL; }
9927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
70551f47
RD
9928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
9929 return NULL;
9930 }
9931 }
2d091820 9932 if (_argo1) {
b67a9327 9933 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
70551f47
RD
9934 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
9935 return NULL;
9936 }
9937 }
ab9bc19b 9938{
474c48f9 9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9940 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
ab9bc19b 9941
474c48f9 9942 wxPyEndAllowThreads(__tstate);
4dfaa61e 9943 if (PyErr_Occurred()) return NULL;
ab9bc19b 9944} Py_INCREF(Py_None);
70551f47
RD
9945 _resultobj = Py_None;
9946 return _resultobj;
9947}
9948
8bf5d46e 9949#define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
107e4716 9950static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
9951 PyObject * _resultobj;
9952 wxStaticBitmap * _arg0;
9953 wxIcon * _arg1;
2d091820
RD
9954 PyObject * _argo0 = 0;
9955 PyObject * _argo1 = 0;
107e4716 9956 char *_kwnames[] = { "self","icon", NULL };
8bf5d46e
RD
9957
9958 self = self;
107e4716 9959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
8bf5d46e 9960 return NULL;
2d091820
RD
9961 if (_argo0) {
9962 if (_argo0 == Py_None) { _arg0 = NULL; }
9963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8bf5d46e
RD
9964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
9965 return NULL;
9966 }
9967 }
2d091820 9968 if (_argo1) {
b67a9327 9969 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8bf5d46e
RD
9970 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
9971 return NULL;
9972 }
9973 }
9974{
474c48f9 9975 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9976 wxStaticBitmap_SetIcon(_arg0,*_arg1);
8bf5d46e 9977
474c48f9 9978 wxPyEndAllowThreads(__tstate);
4dfaa61e 9979 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
9980} Py_INCREF(Py_None);
9981 _resultobj = Py_None;
9982 return _resultobj;
9983}
9984
70551f47
RD
9985static void *SwigwxRadioBoxTowxControl(void *ptr) {
9986 wxRadioBox *src;
9987 wxControl *dest;
9988 src = (wxRadioBox *) ptr;
9989 dest = (wxControl *) src;
9990 return (void *) dest;
9991}
9992
9993static void *SwigwxRadioBoxTowxWindow(void *ptr) {
9994 wxRadioBox *src;
9995 wxWindow *dest;
9996 src = (wxRadioBox *) ptr;
9997 dest = (wxWindow *) src;
9998 return (void *) dest;
9999}
10000
10001static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
10002 wxRadioBox *src;
10003 wxEvtHandler *dest;
10004 src = (wxRadioBox *) ptr;
10005 dest = (wxEvtHandler *) src;
10006 return (void *) dest;
10007}
10008
9df61a29
RD
10009static void *SwigwxRadioBoxTowxObject(void *ptr) {
10010 wxRadioBox *src;
10011 wxObject *dest;
10012 src = (wxRadioBox *) ptr;
10013 dest = (wxObject *) src;
10014 return (void *) dest;
10015}
10016
70551f47 10017#define new_wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (new wxRadioBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10))
107e4716 10018static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10019 PyObject * _resultobj;
10020 wxRadioBox * _result;
10021 wxWindow * _arg0;
10022 wxWindowID _arg1;
10023 wxString * _arg2;
b68dc582
RD
10024 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10025 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
10026 int _arg5 = (int ) 0;
10027 wxString * _arg6 = (wxString *) NULL;
10028 int _arg7 = (int ) 0;
10029 long _arg8 = (long ) wxRA_HORIZONTAL;
b68dc582 10030 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 10031 wxString * _arg10 = (wxString *) &wxPyRadioBoxNameStr;
2d091820 10032 PyObject * _argo0 = 0;
70551f47 10033 PyObject * _obj2 = 0;
37f6a977
RD
10034 wxPoint temp;
10035 PyObject * _obj3 = 0;
10036 wxSize temp0;
10037 PyObject * _obj4 = 0;
70551f47 10038 PyObject * _obj6 = 0;
2d091820 10039 PyObject * _argo9 = 0;
9a74fcaf 10040 PyObject * _obj10 = 0;
e02c03a4 10041 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
70551f47
RD
10042 char _ptemp[128];
10043
10044 self = self;
9a74fcaf 10045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOO:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_obj10))
70551f47 10046 return NULL;
2d091820
RD
10047 if (_argo0) {
10048 if (_argo0 == Py_None) { _arg0 = NULL; }
10049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
10050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
10051 return NULL;
10052 }
10053 }
10054{
c8bc7bb8
RD
10055 _arg2 = wxString_in_helper(_obj2);
10056 if (_arg2 == NULL)
70551f47 10057 return NULL;
70551f47 10058}
37f6a977
RD
10059 if (_obj3)
10060{
10061 _arg3 = &temp;
10062 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 10063 return NULL;
37f6a977
RD
10064}
10065 if (_obj4)
10066{
10067 _arg4 = &temp0;
10068 if (! wxSize_helper(_obj4, &_arg4))
70551f47 10069 return NULL;
37f6a977 10070}
70551f47
RD
10071 if (_obj6)
10072{
10073 _arg6 = wxString_LIST_helper(_obj6);
10074 if (_arg6 == NULL) {
10075 return NULL;
10076 }
10077}
2d091820 10078 if (_argo9) {
b67a9327 10079 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
70551f47
RD
10080 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
10081 return NULL;
10082 }
10083 }
9a74fcaf
RD
10084 if (_obj10)
10085{
10086 _arg10 = wxString_in_helper(_obj10);
10087 if (_arg10 == NULL)
10088 return NULL;
10089}
70551f47 10090{
ab9bc19b
RD
10091 if (_obj6) {
10092 _arg5 = PyList_Size(_obj6);
10093 }
10094 else {
10095 _arg5 = 0;
10096 }
70551f47 10097}
ab9bc19b 10098{
474c48f9 10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 10100 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
ab9bc19b 10101
474c48f9 10102 wxPyEndAllowThreads(__tstate);
4dfaa61e 10103 if (PyErr_Occurred()) return NULL;
2d091820
RD
10104} if (_result) {
10105 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
10106 _resultobj = Py_BuildValue("s",_ptemp);
10107 } else {
10108 Py_INCREF(Py_None);
10109 _resultobj = Py_None;
10110 }
70551f47
RD
10111{
10112 if (_obj2)
10113 delete _arg2;
10114}
10115{
10116 delete [] _arg6;
9a74fcaf
RD
10117}
10118{
10119 if (_obj10)
10120 delete _arg10;
70551f47
RD
10121}
10122 return _resultobj;
10123}
10124
aa2a5b86
RD
10125#define new_wxPreRadioBox() (new wxRadioBox())
10126static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10127 PyObject * _resultobj;
10128 wxRadioBox * _result;
10129 char *_kwnames[] = { NULL };
10130 char _ptemp[128];
10131
10132 self = self;
10133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
10134 return NULL;
10135{
474c48f9 10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10137 _result = (wxRadioBox *)new_wxPreRadioBox();
aa2a5b86 10138
474c48f9 10139 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
10140 if (PyErr_Occurred()) return NULL;
10141} if (_result) {
10142 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
10143 _resultobj = Py_BuildValue("s",_ptemp);
10144 } else {
10145 Py_INCREF(Py_None);
10146 _resultobj = Py_None;
10147 }
10148 return _resultobj;
10149}
10150
10151#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))
10152static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10153 PyObject * _resultobj;
10154 bool _result;
10155 wxRadioBox * _arg0;
10156 wxWindow * _arg1;
10157 wxWindowID _arg2;
10158 wxString * _arg3;
10159 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10160 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10161 int _arg6 = (int ) 0;
10162 wxString * _arg7 = (wxString *) NULL;
10163 int _arg8 = (int ) 0;
10164 long _arg9 = (long ) wxRA_HORIZONTAL;
10165 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 10166 wxString * _arg11 = (wxString *) &wxPyRadioBoxNameStr;
aa2a5b86
RD
10167 PyObject * _argo0 = 0;
10168 PyObject * _argo1 = 0;
10169 PyObject * _obj3 = 0;
10170 wxPoint temp;
10171 PyObject * _obj4 = 0;
10172 wxSize temp0;
10173 PyObject * _obj5 = 0;
10174 PyObject * _obj7 = 0;
10175 PyObject * _argo10 = 0;
9a74fcaf 10176 PyObject * _obj11 = 0;
aa2a5b86
RD
10177 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
10178
10179 self = self;
9a74fcaf 10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_obj11))
aa2a5b86
RD
10181 return NULL;
10182 if (_argo0) {
10183 if (_argo0 == Py_None) { _arg0 = NULL; }
10184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
10186 return NULL;
10187 }
10188 }
10189 if (_argo1) {
10190 if (_argo1 == Py_None) { _arg1 = NULL; }
10191 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10192 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
10193 return NULL;
10194 }
10195 }
10196{
c8bc7bb8
RD
10197 _arg3 = wxString_in_helper(_obj3);
10198 if (_arg3 == NULL)
aa2a5b86 10199 return NULL;
aa2a5b86
RD
10200}
10201 if (_obj4)
10202{
10203 _arg4 = &temp;
10204 if (! wxPoint_helper(_obj4, &_arg4))
10205 return NULL;
10206}
10207 if (_obj5)
10208{
10209 _arg5 = &temp0;
10210 if (! wxSize_helper(_obj5, &_arg5))
10211 return NULL;
10212}
10213 if (_obj7)
10214{
10215 _arg7 = wxString_LIST_helper(_obj7);
10216 if (_arg7 == NULL) {
10217 return NULL;
10218 }
10219}
10220 if (_argo10) {
b67a9327 10221 if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
aa2a5b86
RD
10222 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
10223 return NULL;
10224 }
10225 }
9a74fcaf
RD
10226 if (_obj11)
10227{
10228 _arg11 = wxString_in_helper(_obj11);
10229 if (_arg11 == NULL)
10230 return NULL;
10231}
aa2a5b86
RD
10232{
10233 if (_obj7) {
10234 _arg6 = PyList_Size(_obj7);
10235 }
10236 else {
10237 _arg6 = 0;
10238 }
10239}
10240{
474c48f9 10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 10242 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,*_arg11);
aa2a5b86 10243
474c48f9 10244 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
10245 if (PyErr_Occurred()) return NULL;
10246} _resultobj = Py_BuildValue("i",_result);
10247{
10248 if (_obj3)
10249 delete _arg3;
10250}
10251{
10252 delete [] _arg7;
9a74fcaf
RD
10253}
10254{
10255 if (_obj11)
10256 delete _arg11;
aa2a5b86
RD
10257}
10258 return _resultobj;
10259}
10260
c3c1cebe 10261#define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
107e4716 10262static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10263 PyObject * _resultobj;
10264 wxRadioBox * _arg0;
10265 bool _arg1;
2d091820 10266 PyObject * _argo0 = 0;
70551f47 10267 int tempbool1;
107e4716 10268 char *_kwnames[] = { "self","enable", NULL };
70551f47
RD
10269
10270 self = self;
107e4716 10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
70551f47 10272 return NULL;
2d091820
RD
10273 if (_argo0) {
10274 if (_argo0 == Py_None) { _arg0 = NULL; }
10275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
c3c1cebe 10276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
70551f47
RD
10277 return NULL;
10278 }
10279 }
10280 _arg1 = (bool ) tempbool1;
ab9bc19b 10281{
474c48f9 10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10283 wxRadioBox_Enable(_arg0,_arg1);
ab9bc19b 10284
474c48f9 10285 wxPyEndAllowThreads(__tstate);
4dfaa61e 10286 if (PyErr_Occurred()) return NULL;
ab9bc19b 10287} Py_INCREF(Py_None);
70551f47
RD
10288 _resultobj = Py_None;
10289 return _resultobj;
10290}
10291
c3c1cebe 10292#define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
107e4716 10293static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10294 PyObject * _resultobj;
10295 wxRadioBox * _arg0;
10296 int _arg1;
10297 bool _arg2;
2d091820 10298 PyObject * _argo0 = 0;
70551f47 10299 int tempbool2;
107e4716 10300 char *_kwnames[] = { "self","n","enable", NULL };
70551f47
RD
10301
10302 self = self;
107e4716 10303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 10304 return NULL;
2d091820
RD
10305 if (_argo0) {
10306 if (_argo0 == Py_None) { _arg0 = NULL; }
10307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
c3c1cebe 10308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
70551f47
RD
10309 return NULL;
10310 }
10311 }
10312 _arg2 = (bool ) tempbool2;
ab9bc19b 10313{
474c48f9 10314 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10315 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
ab9bc19b 10316
474c48f9 10317 wxPyEndAllowThreads(__tstate);
4dfaa61e 10318 if (PyErr_Occurred()) return NULL;
ab9bc19b 10319} Py_INCREF(Py_None);
70551f47
RD
10320 _resultobj = Py_None;
10321 return _resultobj;
10322}
10323
10324#define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
107e4716 10325static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10326 PyObject * _resultobj;
10327 int _result;
10328 wxRadioBox * _arg0;
10329 wxString * _arg1;
2d091820 10330 PyObject * _argo0 = 0;
70551f47 10331 PyObject * _obj1 = 0;
107e4716 10332 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
10333
10334 self = self;
107e4716 10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
70551f47 10336 return NULL;
2d091820
RD
10337 if (_argo0) {
10338 if (_argo0 == Py_None) { _arg0 = NULL; }
10339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
10340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
10341 return NULL;
10342 }
10343 }
10344{
c8bc7bb8
RD
10345 _arg1 = wxString_in_helper(_obj1);
10346 if (_arg1 == NULL)
70551f47 10347 return NULL;
70551f47 10348}
ab9bc19b 10349{
474c48f9 10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10351 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
ab9bc19b 10352
474c48f9 10353 wxPyEndAllowThreads(__tstate);
4dfaa61e 10354 if (PyErr_Occurred()) return NULL;
ab9bc19b 10355} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10356{
10357 if (_obj1)
10358 delete _arg1;
10359}
10360 return _resultobj;
10361}
10362
2c8a649d
RD
10363#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
10364static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10365 PyObject * _resultobj;
10366 wxString * _result;
10367 wxRadioBox * _arg0;
10368 int _arg1;
2d091820 10369 PyObject * _argo0 = 0;
107e4716 10370 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
10371
10372 self = self;
2c8a649d 10373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
70551f47 10374 return NULL;
2d091820
RD
10375 if (_argo0) {
10376 if (_argo0 == Py_None) { _arg0 = NULL; }
10377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 10378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
70551f47
RD
10379 return NULL;
10380 }
10381 }
70551f47 10382{
474c48f9 10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10384 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
ab9bc19b 10385
474c48f9 10386 wxPyEndAllowThreads(__tstate);
4dfaa61e 10387 if (PyErr_Occurred()) return NULL;
ab9bc19b 10388}{
c8bc7bb8 10389#if wxUSE_UNICODE
b67a9327 10390 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10391#else
2c8a649d 10392 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10393#endif
2c8a649d
RD
10394}
10395{
10396 delete _result;
10397}
70551f47
RD
10398 return _resultobj;
10399}
10400
b67a9327
RD
10401#define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
10402static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 10403 PyObject * _resultobj;
70551f47
RD
10404 wxRadioBox * _arg0;
10405 int _arg1;
2c8a649d 10406 wxString * _arg2;
2d091820 10407 PyObject * _argo0 = 0;
2c8a649d 10408 PyObject * _obj2 = 0;
b67a9327 10409 char *_kwnames[] = { "self","n","label", NULL };
70551f47
RD
10410
10411 self = self;
b67a9327 10412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 10413 return NULL;
2d091820
RD
10414 if (_argo0) {
10415 if (_argo0 == Py_None) { _arg0 = NULL; }
10416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
b67a9327 10417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
70551f47
RD
10418 return NULL;
10419 }
10420 }
2c8a649d 10421{
c8bc7bb8
RD
10422 _arg2 = wxString_in_helper(_obj2);
10423 if (_arg2 == NULL)
2c8a649d 10424 return NULL;
2c8a649d 10425}
70551f47 10426{
474c48f9 10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 10428 wxRadioBox_SetString(_arg0,_arg1,*_arg2);
ab9bc19b 10429
474c48f9 10430 wxPyEndAllowThreads(__tstate);
4dfaa61e 10431 if (PyErr_Occurred()) return NULL;
2c8a649d
RD
10432} Py_INCREF(Py_None);
10433 _resultobj = Py_None;
70551f47 10434{
2c8a649d
RD
10435 if (_obj2)
10436 delete _arg2;
70551f47
RD
10437}
10438 return _resultobj;
10439}
10440
2c8a649d
RD
10441#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
10442static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 10443 PyObject * _resultobj;
2c8a649d 10444 int _result;
70551f47 10445 wxRadioBox * _arg0;
2d091820 10446 PyObject * _argo0 = 0;
107e4716 10447 char *_kwnames[] = { "self", NULL };
70551f47
RD
10448
10449 self = self;
2c8a649d 10450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
70551f47 10451 return NULL;
2d091820
RD
10452 if (_argo0) {
10453 if (_argo0 == Py_None) { _arg0 = NULL; }
10454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 10455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
70551f47
RD
10456 return NULL;
10457 }
10458 }
70551f47 10459{
474c48f9 10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10461 _result = (int )wxRadioBox_GetSelection(_arg0);
ab9bc19b 10462
474c48f9 10463 wxPyEndAllowThreads(__tstate);
4dfaa61e 10464 if (PyErr_Occurred()) return NULL;
2c8a649d 10465} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10466 return _resultobj;
10467}
10468
2c8a649d
RD
10469#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
10470static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 10471 PyObject * _resultobj;
2c8a649d 10472 wxString * _result;
70551f47 10473 wxRadioBox * _arg0;
2d091820 10474 PyObject * _argo0 = 0;
107e4716 10475 char *_kwnames[] = { "self", NULL };
70551f47
RD
10476
10477 self = self;
2c8a649d 10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
70551f47 10479 return NULL;
2d091820
RD
10480 if (_argo0) {
10481 if (_argo0 == Py_None) { _arg0 = NULL; }
10482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 10483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
70551f47
RD
10484 return NULL;
10485 }
10486 }
ab9bc19b 10487{
474c48f9 10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10489 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
ab9bc19b 10490
474c48f9 10491 wxPyEndAllowThreads(__tstate);
4dfaa61e 10492 if (PyErr_Occurred()) return NULL;
2c8a649d 10493}{
c8bc7bb8 10494#if wxUSE_UNICODE
b67a9327 10495 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10496#else
2c8a649d 10497 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10498#endif
2c8a649d
RD
10499}
10500{
10501 delete _result;
10502}
70551f47
RD
10503 return _resultobj;
10504}
10505
2c8a649d
RD
10506#define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
10507static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 10508 PyObject * _resultobj;
2c8a649d 10509 int _result;
70551f47 10510 wxRadioBox * _arg0;
2d091820 10511 PyObject * _argo0 = 0;
2c8a649d 10512 char *_kwnames[] = { "self", NULL };
70551f47
RD
10513
10514 self = self;
2c8a649d 10515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
70551f47 10516 return NULL;
2d091820
RD
10517 if (_argo0) {
10518 if (_argo0 == Py_None) { _arg0 = NULL; }
10519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 10520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
70551f47
RD
10521 return NULL;
10522 }
10523 }
ab9bc19b 10524{
474c48f9 10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10526 _result = (int )wxRadioBox_GetCount(_arg0);
ab9bc19b 10527
474c48f9 10528 wxPyEndAllowThreads(__tstate);
4dfaa61e 10529 if (PyErr_Occurred()) return NULL;
2c8a649d 10530} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10531 return _resultobj;
10532}
10533
10534#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 10535static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10536 PyObject * _resultobj;
10537 wxRadioBox * _arg0;
10538 int _arg1;
2d091820 10539 PyObject * _argo0 = 0;
107e4716 10540 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
10541
10542 self = self;
107e4716 10543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 10544 return NULL;
2d091820
RD
10545 if (_argo0) {
10546 if (_argo0 == Py_None) { _arg0 = NULL; }
10547 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
10548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
10549 return NULL;
10550 }
10551 }
ab9bc19b 10552{
474c48f9 10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10554 wxRadioBox_SetSelection(_arg0,_arg1);
ab9bc19b 10555
474c48f9 10556 wxPyEndAllowThreads(__tstate);
4dfaa61e 10557 if (PyErr_Occurred()) return NULL;
ab9bc19b 10558} Py_INCREF(Py_None);
70551f47
RD
10559 _resultobj = Py_None;
10560 return _resultobj;
10561}
10562
10563#define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
107e4716 10564static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10565 PyObject * _resultobj;
10566 wxRadioBox * _arg0;
10567 wxString * _arg1;
2d091820 10568 PyObject * _argo0 = 0;
70551f47 10569 PyObject * _obj1 = 0;
107e4716 10570 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
10571
10572 self = self;
107e4716 10573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
70551f47 10574 return NULL;
2d091820
RD
10575 if (_argo0) {
10576 if (_argo0 == Py_None) { _arg0 = NULL; }
10577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
10578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
10579 return NULL;
10580 }
10581 }
10582{
c8bc7bb8
RD
10583 _arg1 = wxString_in_helper(_obj1);
10584 if (_arg1 == NULL)
2cd2fac8 10585 return NULL;
70551f47 10586}
ab9bc19b 10587{
474c48f9 10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10589 wxRadioBox_SetStringSelection(_arg0,*_arg1);
ab9bc19b 10590
474c48f9 10591 wxPyEndAllowThreads(__tstate);
4dfaa61e 10592 if (PyErr_Occurred()) return NULL;
ab9bc19b 10593} Py_INCREF(Py_None);
70551f47
RD
10594 _resultobj = Py_None;
10595{
10596 if (_obj1)
10597 delete _arg1;
10598}
10599 return _resultobj;
10600}
10601
10602#define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
107e4716 10603static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10604 PyObject * _resultobj;
10605 wxRadioBox * _arg0;
10606 bool _arg1;
2d091820 10607 PyObject * _argo0 = 0;
70551f47 10608 int tempbool1;
107e4716 10609 char *_kwnames[] = { "self","show", NULL };
70551f47
RD
10610
10611 self = self;
107e4716 10612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
70551f47 10613 return NULL;
2d091820
RD
10614 if (_argo0) {
10615 if (_argo0 == Py_None) { _arg0 = NULL; }
10616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
10617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
10618 return NULL;
10619 }
10620 }
10621 _arg1 = (bool ) tempbool1;
ab9bc19b 10622{
474c48f9 10623 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10624 wxRadioBox_Show(_arg0,_arg1);
ab9bc19b 10625
474c48f9 10626 wxPyEndAllowThreads(__tstate);
4dfaa61e 10627 if (PyErr_Occurred()) return NULL;
ab9bc19b 10628} Py_INCREF(Py_None);
70551f47
RD
10629 _resultobj = Py_None;
10630 return _resultobj;
10631}
10632
10633#define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
107e4716 10634static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10635 PyObject * _resultobj;
10636 wxRadioBox * _arg0;
10637 int _arg1;
10638 bool _arg2;
2d091820 10639 PyObject * _argo0 = 0;
70551f47 10640 int tempbool2;
107e4716 10641 char *_kwnames[] = { "self","item","show", NULL };
70551f47
RD
10642
10643 self = self;
107e4716 10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 10645 return NULL;
2d091820
RD
10646 if (_argo0) {
10647 if (_argo0 == Py_None) { _arg0 = NULL; }
10648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
10649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
10650 return NULL;
10651 }
10652 }
10653 _arg2 = (bool ) tempbool2;
ab9bc19b 10654{
474c48f9 10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10656 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
ab9bc19b 10657
474c48f9 10658 wxPyEndAllowThreads(__tstate);
4dfaa61e 10659 if (PyErr_Occurred()) return NULL;
ab9bc19b 10660} Py_INCREF(Py_None);
70551f47
RD
10661 _resultobj = Py_None;
10662 return _resultobj;
10663}
10664
10665static void *SwigwxRadioButtonTowxControl(void *ptr) {
10666 wxRadioButton *src;
10667 wxControl *dest;
10668 src = (wxRadioButton *) ptr;
10669 dest = (wxControl *) src;
10670 return (void *) dest;
10671}
10672
10673static void *SwigwxRadioButtonTowxWindow(void *ptr) {
10674 wxRadioButton *src;
10675 wxWindow *dest;
10676 src = (wxRadioButton *) ptr;
10677 dest = (wxWindow *) src;
10678 return (void *) dest;
10679}
10680
10681static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
10682 wxRadioButton *src;
10683 wxEvtHandler *dest;
10684 src = (wxRadioButton *) ptr;
10685 dest = (wxEvtHandler *) src;
10686 return (void *) dest;
10687}
10688
9df61a29
RD
10689static void *SwigwxRadioButtonTowxObject(void *ptr) {
10690 wxRadioButton *src;
10691 wxObject *dest;
10692 src = (wxRadioButton *) ptr;
10693 dest = (wxObject *) src;
10694 return (void *) dest;
10695}
10696
70551f47 10697#define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 10698static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10699 PyObject * _resultobj;
10700 wxRadioButton * _result;
10701 wxWindow * _arg0;
10702 wxWindowID _arg1;
10703 wxString * _arg2;
b68dc582
RD
10704 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10705 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 10706 long _arg5 = (long ) 0;
b68dc582 10707 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 10708 wxString * _arg7 = (wxString *) &wxPyRadioButtonNameStr;
2d091820 10709 PyObject * _argo0 = 0;
70551f47 10710 PyObject * _obj2 = 0;
37f6a977
RD
10711 wxPoint temp;
10712 PyObject * _obj3 = 0;
10713 wxSize temp0;
10714 PyObject * _obj4 = 0;
2d091820 10715 PyObject * _argo6 = 0;
9a74fcaf 10716 PyObject * _obj7 = 0;
107e4716 10717 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
70551f47
RD
10718 char _ptemp[128];
10719
10720 self = self;
9a74fcaf 10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
70551f47 10722 return NULL;
2d091820
RD
10723 if (_argo0) {
10724 if (_argo0 == Py_None) { _arg0 = NULL; }
10725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
10726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
10727 return NULL;
10728 }
10729 }
10730{
c8bc7bb8
RD
10731 _arg2 = wxString_in_helper(_obj2);
10732 if (_arg2 == NULL)
2cd2fac8 10733 return NULL;
70551f47 10734}
37f6a977
RD
10735 if (_obj3)
10736{
aa2a5b86
RD
10737 _arg3 = &temp;
10738 if (! wxPoint_helper(_obj3, &_arg3))
10739 return NULL;
10740}
10741 if (_obj4)
10742{
10743 _arg4 = &temp0;
10744 if (! wxSize_helper(_obj4, &_arg4))
10745 return NULL;
10746}
10747 if (_argo6) {
b67a9327 10748 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
aa2a5b86
RD
10749 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
10750 return NULL;
10751 }
10752 }
9a74fcaf
RD
10753 if (_obj7)
10754{
10755 _arg7 = wxString_in_helper(_obj7);
10756 if (_arg7 == NULL)
10757 return NULL;
10758}
aa2a5b86 10759{
474c48f9 10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 10761 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
aa2a5b86 10762
474c48f9 10763 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
10764 if (PyErr_Occurred()) return NULL;
10765} if (_result) {
10766 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
10767 _resultobj = Py_BuildValue("s",_ptemp);
10768 } else {
10769 Py_INCREF(Py_None);
10770 _resultobj = Py_None;
10771 }
10772{
10773 if (_obj2)
10774 delete _arg2;
9a74fcaf
RD
10775}
10776{
10777 if (_obj7)
10778 delete _arg7;
aa2a5b86
RD
10779}
10780 return _resultobj;
10781}
10782
10783#define new_wxPreRadioButton() (new wxRadioButton())
10784static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10785 PyObject * _resultobj;
10786 wxRadioButton * _result;
10787 char *_kwnames[] = { NULL };
10788 char _ptemp[128];
10789
10790 self = self;
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
10792 return NULL;
10793{
474c48f9 10794 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10795 _result = (wxRadioButton *)new_wxPreRadioButton();
aa2a5b86 10796
474c48f9 10797 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
10798 if (PyErr_Occurred()) return NULL;
10799} if (_result) {
10800 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
10801 _resultobj = Py_BuildValue("s",_ptemp);
10802 } else {
10803 Py_INCREF(Py_None);
10804 _resultobj = Py_None;
10805 }
10806 return _resultobj;
10807}
10808
10809#define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10810static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10811 PyObject * _resultobj;
10812 bool _result;
10813 wxRadioButton * _arg0;
10814 wxWindow * _arg1;
10815 wxWindowID _arg2;
10816 wxString * _arg3;
10817 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10818 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10819 long _arg6 = (long ) 0;
10820 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 10821 wxString * _arg8 = (wxString *) &wxPyRadioButtonNameStr;
aa2a5b86
RD
10822 PyObject * _argo0 = 0;
10823 PyObject * _argo1 = 0;
10824 PyObject * _obj3 = 0;
10825 wxPoint temp;
10826 PyObject * _obj4 = 0;
10827 wxSize temp0;
10828 PyObject * _obj5 = 0;
10829 PyObject * _argo7 = 0;
9a74fcaf 10830 PyObject * _obj8 = 0;
aa2a5b86
RD
10831 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
10832
10833 self = self;
9a74fcaf 10834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
10835 return NULL;
10836 if (_argo0) {
10837 if (_argo0 == Py_None) { _arg0 = NULL; }
10838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
10840 return NULL;
10841 }
10842 }
10843 if (_argo1) {
10844 if (_argo1 == Py_None) { _arg1 = NULL; }
10845 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10846 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
10847 return NULL;
10848 }
10849 }
10850{
c8bc7bb8
RD
10851 _arg3 = wxString_in_helper(_obj3);
10852 if (_arg3 == NULL)
aa2a5b86 10853 return NULL;
aa2a5b86
RD
10854}
10855 if (_obj4)
10856{
10857 _arg4 = &temp;
10858 if (! wxPoint_helper(_obj4, &_arg4))
70551f47 10859 return NULL;
37f6a977 10860}
aa2a5b86 10861 if (_obj5)
37f6a977 10862{
aa2a5b86
RD
10863 _arg5 = &temp0;
10864 if (! wxSize_helper(_obj5, &_arg5))
70551f47 10865 return NULL;
37f6a977 10866}
aa2a5b86 10867 if (_argo7) {
b67a9327 10868 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86 10869 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
70551f47
RD
10870 return NULL;
10871 }
10872 }
9a74fcaf
RD
10873 if (_obj8)
10874{
10875 _arg8 = wxString_in_helper(_obj8);
10876 if (_arg8 == NULL)
10877 return NULL;
10878}
ab9bc19b 10879{
474c48f9 10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 10881 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
ab9bc19b 10882
474c48f9 10883 wxPyEndAllowThreads(__tstate);
4dfaa61e 10884 if (PyErr_Occurred()) return NULL;
aa2a5b86 10885} _resultobj = Py_BuildValue("i",_result);
70551f47 10886{
aa2a5b86
RD
10887 if (_obj3)
10888 delete _arg3;
9a74fcaf
RD
10889}
10890{
10891 if (_obj8)
10892 delete _arg8;
70551f47
RD
10893}
10894 return _resultobj;
10895}
10896
10897#define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 10898static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10899 PyObject * _resultobj;
10900 bool _result;
10901 wxRadioButton * _arg0;
2d091820 10902 PyObject * _argo0 = 0;
107e4716 10903 char *_kwnames[] = { "self", NULL };
70551f47
RD
10904
10905 self = self;
107e4716 10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
70551f47 10907 return NULL;
2d091820
RD
10908 if (_argo0) {
10909 if (_argo0 == Py_None) { _arg0 = NULL; }
10910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
70551f47
RD
10911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10912 return NULL;
10913 }
10914 }
ab9bc19b 10915{
474c48f9 10916 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10917 _result = (bool )wxRadioButton_GetValue(_arg0);
ab9bc19b 10918
474c48f9 10919 wxPyEndAllowThreads(__tstate);
4dfaa61e 10920 if (PyErr_Occurred()) return NULL;
ab9bc19b 10921} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10922 return _resultobj;
10923}
10924
10925#define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 10926static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10927 PyObject * _resultobj;
10928 wxRadioButton * _arg0;
10929 bool _arg1;
2d091820 10930 PyObject * _argo0 = 0;
70551f47 10931 int tempbool1;
107e4716 10932 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
10933
10934 self = self;
107e4716 10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
70551f47 10936 return NULL;
2d091820
RD
10937 if (_argo0) {
10938 if (_argo0 == Py_None) { _arg0 = NULL; }
10939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
70551f47
RD
10940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10941 return NULL;
10942 }
10943 }
10944 _arg1 = (bool ) tempbool1;
ab9bc19b 10945{
474c48f9 10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10947 wxRadioButton_SetValue(_arg0,_arg1);
ab9bc19b 10948
474c48f9 10949 wxPyEndAllowThreads(__tstate);
4dfaa61e 10950 if (PyErr_Occurred()) return NULL;
ab9bc19b 10951} Py_INCREF(Py_None);
70551f47
RD
10952 _resultobj = Py_None;
10953 return _resultobj;
10954}
10955
10956static void *SwigwxSliderTowxControl(void *ptr) {
10957 wxSlider *src;
10958 wxControl *dest;
10959 src = (wxSlider *) ptr;
10960 dest = (wxControl *) src;
10961 return (void *) dest;
10962}
10963
10964static void *SwigwxSliderTowxWindow(void *ptr) {
10965 wxSlider *src;
10966 wxWindow *dest;
10967 src = (wxSlider *) ptr;
10968 dest = (wxWindow *) src;
10969 return (void *) dest;
10970}
10971
10972static void *SwigwxSliderTowxEvtHandler(void *ptr) {
10973 wxSlider *src;
10974 wxEvtHandler *dest;
10975 src = (wxSlider *) ptr;
10976 dest = (wxEvtHandler *) src;
10977 return (void *) dest;
10978}
10979
9df61a29
RD
10980static void *SwigwxSliderTowxObject(void *ptr) {
10981 wxSlider *src;
10982 wxObject *dest;
10983 src = (wxSlider *) ptr;
10984 dest = (wxObject *) src;
10985 return (void *) dest;
10986}
10987
70551f47 10988#define new_wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxSlider(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
107e4716 10989static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10990 PyObject * _resultobj;
10991 wxSlider * _result;
10992 wxWindow * _arg0;
10993 wxWindowID _arg1;
10994 int _arg2;
10995 int _arg3;
10996 int _arg4;
b68dc582
RD
10997 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
10998 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
2d091820 10999 long _arg7 = (long ) wxSL_HORIZONTAL;
b68dc582 11000 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 11001 wxString * _arg9 = (wxString *) &wxPySliderNameStr;
2d091820 11002 PyObject * _argo0 = 0;
37f6a977
RD
11003 wxPoint temp;
11004 PyObject * _obj5 = 0;
11005 wxSize temp0;
11006 PyObject * _obj6 = 0;
2d091820 11007 PyObject * _argo8 = 0;
9a74fcaf 11008 PyObject * _obj9 = 0;
107e4716 11009 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
70551f47
RD
11010 char _ptemp[128];
11011
11012 self = self;
9a74fcaf 11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOO:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_obj9))
70551f47 11014 return NULL;
2d091820
RD
11015 if (_argo0) {
11016 if (_argo0 == Py_None) { _arg0 = NULL; }
11017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
11018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
11019 return NULL;
11020 }
11021 }
37f6a977
RD
11022 if (_obj5)
11023{
11024 _arg5 = &temp;
11025 if (! wxPoint_helper(_obj5, &_arg5))
70551f47 11026 return NULL;
37f6a977
RD
11027}
11028 if (_obj6)
11029{
11030 _arg6 = &temp0;
11031 if (! wxSize_helper(_obj6, &_arg6))
70551f47 11032 return NULL;
37f6a977 11033}
2d091820 11034 if (_argo8) {
b67a9327 11035 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
70551f47
RD
11036 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
11037 return NULL;
11038 }
11039 }
9a74fcaf
RD
11040 if (_obj9)
11041{
11042 _arg9 = wxString_in_helper(_obj9);
11043 if (_arg9 == NULL)
11044 return NULL;
11045}
ab9bc19b 11046{
474c48f9 11047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 11048 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,*_arg9);
ab9bc19b 11049
474c48f9 11050 wxPyEndAllowThreads(__tstate);
4dfaa61e 11051 if (PyErr_Occurred()) return NULL;
2d091820
RD
11052} if (_result) {
11053 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
11054 _resultobj = Py_BuildValue("s",_ptemp);
11055 } else {
11056 Py_INCREF(Py_None);
11057 _resultobj = Py_None;
11058 }
9a74fcaf
RD
11059{
11060 if (_obj9)
11061 delete _arg9;
11062}
70551f47
RD
11063 return _resultobj;
11064}
11065
aa2a5b86
RD
11066#define new_wxPreSlider() (new wxSlider())
11067static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject * _resultobj;
11069 wxSlider * _result;
11070 char *_kwnames[] = { NULL };
11071 char _ptemp[128];
11072
11073 self = self;
11074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
11075 return NULL;
11076{
474c48f9 11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11078 _result = (wxSlider *)new_wxPreSlider();
aa2a5b86 11079
474c48f9 11080 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
11081 if (PyErr_Occurred()) return NULL;
11082} if (_result) {
11083 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
11084 _resultobj = Py_BuildValue("s",_ptemp);
11085 } else {
11086 Py_INCREF(Py_None);
11087 _resultobj = Py_None;
11088 }
11089 return _resultobj;
11090}
11091
11092#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))
11093static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11094 PyObject * _resultobj;
11095 bool _result;
11096 wxSlider * _arg0;
11097 wxWindow * _arg1;
11098 wxWindowID _arg2;
11099 int _arg3;
11100 int _arg4;
11101 int _arg5;
11102 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
11103 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
11104 long _arg8 = (long ) wxSL_HORIZONTAL;
11105 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 11106 wxString * _arg10 = (wxString *) &wxPySliderNameStr;
aa2a5b86
RD
11107 PyObject * _argo0 = 0;
11108 PyObject * _argo1 = 0;
11109 wxPoint temp;
11110 PyObject * _obj6 = 0;
11111 wxSize temp0;
11112 PyObject * _obj7 = 0;
11113 PyObject * _argo9 = 0;
9a74fcaf 11114 PyObject * _obj10 = 0;
aa2a5b86
RD
11115 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
11116
11117 self = self;
9a74fcaf 11118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOO:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_obj10))
aa2a5b86
RD
11119 return NULL;
11120 if (_argo0) {
11121 if (_argo0 == Py_None) { _arg0 = NULL; }
11122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
11124 return NULL;
11125 }
11126 }
11127 if (_argo1) {
11128 if (_argo1 == Py_None) { _arg1 = NULL; }
11129 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11130 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
11131 return NULL;
11132 }
11133 }
11134 if (_obj6)
11135{
11136 _arg6 = &temp;
11137 if (! wxPoint_helper(_obj6, &_arg6))
11138 return NULL;
11139}
11140 if (_obj7)
11141{
11142 _arg7 = &temp0;
11143 if (! wxSize_helper(_obj7, &_arg7))
11144 return NULL;
11145}
11146 if (_argo9) {
b67a9327 11147 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
aa2a5b86
RD
11148 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
11149 return NULL;
11150 }
11151 }
9a74fcaf
RD
11152 if (_obj10)
11153{
11154 _arg10 = wxString_in_helper(_obj10);
11155 if (_arg10 == NULL)
11156 return NULL;
11157}
aa2a5b86 11158{
474c48f9 11159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 11160 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,*_arg10);
aa2a5b86 11161
474c48f9 11162 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
11163 if (PyErr_Occurred()) return NULL;
11164} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
11165{
11166 if (_obj10)
11167 delete _arg10;
11168}
aa2a5b86
RD
11169 return _resultobj;
11170}
11171
70551f47 11172#define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
107e4716 11173static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11174 PyObject * _resultobj;
11175 wxSlider * _arg0;
2d091820 11176 PyObject * _argo0 = 0;
107e4716 11177 char *_kwnames[] = { "self", NULL };
70551f47
RD
11178
11179 self = self;
107e4716 11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
70551f47 11181 return NULL;
2d091820
RD
11182 if (_argo0) {
11183 if (_argo0 == Py_None) { _arg0 = NULL; }
11184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
11186 return NULL;
11187 }
11188 }
ab9bc19b 11189{
474c48f9 11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11191 wxSlider_ClearSel(_arg0);
ab9bc19b 11192
474c48f9 11193 wxPyEndAllowThreads(__tstate);
4dfaa61e 11194 if (PyErr_Occurred()) return NULL;
ab9bc19b 11195} Py_INCREF(Py_None);
70551f47
RD
11196 _resultobj = Py_None;
11197 return _resultobj;
11198}
11199
11200#define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
107e4716 11201static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11202 PyObject * _resultobj;
11203 wxSlider * _arg0;
2d091820 11204 PyObject * _argo0 = 0;
107e4716 11205 char *_kwnames[] = { "self", NULL };
70551f47
RD
11206
11207 self = self;
107e4716 11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
70551f47 11209 return NULL;
2d091820
RD
11210 if (_argo0) {
11211 if (_argo0 == Py_None) { _arg0 = NULL; }
11212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
11214 return NULL;
11215 }
11216 }
ab9bc19b 11217{
474c48f9 11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11219 wxSlider_ClearTicks(_arg0);
ab9bc19b 11220
474c48f9 11221 wxPyEndAllowThreads(__tstate);
4dfaa61e 11222 if (PyErr_Occurred()) return NULL;
ab9bc19b 11223} Py_INCREF(Py_None);
70551f47
RD
11224 _resultobj = Py_None;
11225 return _resultobj;
11226}
11227
11228#define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
107e4716 11229static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11230 PyObject * _resultobj;
11231 int _result;
11232 wxSlider * _arg0;
2d091820 11233 PyObject * _argo0 = 0;
107e4716 11234 char *_kwnames[] = { "self", NULL };
70551f47
RD
11235
11236 self = self;
107e4716 11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
70551f47 11238 return NULL;
2d091820
RD
11239 if (_argo0) {
11240 if (_argo0 == Py_None) { _arg0 = NULL; }
11241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
11243 return NULL;
11244 }
11245 }
ab9bc19b 11246{
474c48f9 11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11248 _result = (int )wxSlider_GetLineSize(_arg0);
ab9bc19b 11249
474c48f9 11250 wxPyEndAllowThreads(__tstate);
4dfaa61e 11251 if (PyErr_Occurred()) return NULL;
ab9bc19b 11252} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11253 return _resultobj;
11254}
11255
11256#define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
107e4716 11257static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11258 PyObject * _resultobj;
11259 int _result;
11260 wxSlider * _arg0;
2d091820 11261 PyObject * _argo0 = 0;
107e4716 11262 char *_kwnames[] = { "self", NULL };
70551f47
RD
11263
11264 self = self;
107e4716 11265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
70551f47 11266 return NULL;
2d091820
RD
11267 if (_argo0) {
11268 if (_argo0 == Py_None) { _arg0 = NULL; }
11269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
11271 return NULL;
11272 }
11273 }
ab9bc19b 11274{
474c48f9 11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11276 _result = (int )wxSlider_GetMax(_arg0);
ab9bc19b 11277
474c48f9 11278 wxPyEndAllowThreads(__tstate);
4dfaa61e 11279 if (PyErr_Occurred()) return NULL;
ab9bc19b 11280} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11281 return _resultobj;
11282}
11283
11284#define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
107e4716 11285static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11286 PyObject * _resultobj;
11287 int _result;
11288 wxSlider * _arg0;
2d091820 11289 PyObject * _argo0 = 0;
107e4716 11290 char *_kwnames[] = { "self", NULL };
70551f47
RD
11291
11292 self = self;
107e4716 11293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
70551f47 11294 return NULL;
2d091820
RD
11295 if (_argo0) {
11296 if (_argo0 == Py_None) { _arg0 = NULL; }
11297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
11299 return NULL;
11300 }
11301 }
ab9bc19b 11302{
474c48f9 11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11304 _result = (int )wxSlider_GetMin(_arg0);
ab9bc19b 11305
474c48f9 11306 wxPyEndAllowThreads(__tstate);
4dfaa61e 11307 if (PyErr_Occurred()) return NULL;
ab9bc19b 11308} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11309 return _resultobj;
11310}
11311
11312#define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
107e4716 11313static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11314 PyObject * _resultobj;
11315 int _result;
11316 wxSlider * _arg0;
2d091820 11317 PyObject * _argo0 = 0;
107e4716 11318 char *_kwnames[] = { "self", NULL };
70551f47
RD
11319
11320 self = self;
107e4716 11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
70551f47 11322 return NULL;
2d091820
RD
11323 if (_argo0) {
11324 if (_argo0 == Py_None) { _arg0 = NULL; }
11325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
11327 return NULL;
11328 }
11329 }
ab9bc19b 11330{
474c48f9 11331 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11332 _result = (int )wxSlider_GetPageSize(_arg0);
ab9bc19b 11333
474c48f9 11334 wxPyEndAllowThreads(__tstate);
4dfaa61e 11335 if (PyErr_Occurred()) return NULL;
ab9bc19b 11336} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11337 return _resultobj;
11338}
11339
11340#define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
107e4716 11341static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11342 PyObject * _resultobj;
11343 int _result;
11344 wxSlider * _arg0;
2d091820 11345 PyObject * _argo0 = 0;
107e4716 11346 char *_kwnames[] = { "self", NULL };
70551f47
RD
11347
11348 self = self;
107e4716 11349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
70551f47 11350 return NULL;
2d091820
RD
11351 if (_argo0) {
11352 if (_argo0 == Py_None) { _arg0 = NULL; }
11353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
11355 return NULL;
11356 }
11357 }
ab9bc19b 11358{
474c48f9 11359 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11360 _result = (int )wxSlider_GetSelEnd(_arg0);
ab9bc19b 11361
474c48f9 11362 wxPyEndAllowThreads(__tstate);
4dfaa61e 11363 if (PyErr_Occurred()) return NULL;
ab9bc19b 11364} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11365 return _resultobj;
11366}
11367
11368#define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
107e4716 11369static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11370 PyObject * _resultobj;
11371 int _result;
11372 wxSlider * _arg0;
2d091820 11373 PyObject * _argo0 = 0;
107e4716 11374 char *_kwnames[] = { "self", NULL };
70551f47
RD
11375
11376 self = self;
107e4716 11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
70551f47 11378 return NULL;
2d091820
RD
11379 if (_argo0) {
11380 if (_argo0 == Py_None) { _arg0 = NULL; }
11381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
11383 return NULL;
11384 }
11385 }
ab9bc19b 11386{
474c48f9 11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11388 _result = (int )wxSlider_GetSelStart(_arg0);
ab9bc19b 11389
474c48f9 11390 wxPyEndAllowThreads(__tstate);
4dfaa61e 11391 if (PyErr_Occurred()) return NULL;
ab9bc19b 11392} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11393 return _resultobj;
11394}
11395
11396#define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
107e4716 11397static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11398 PyObject * _resultobj;
11399 int _result;
11400 wxSlider * _arg0;
2d091820 11401 PyObject * _argo0 = 0;
107e4716 11402 char *_kwnames[] = { "self", NULL };
70551f47
RD
11403
11404 self = self;
107e4716 11405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
70551f47 11406 return NULL;
2d091820
RD
11407 if (_argo0) {
11408 if (_argo0 == Py_None) { _arg0 = NULL; }
11409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
11411 return NULL;
11412 }
11413 }
ab9bc19b 11414{
474c48f9 11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11416 _result = (int )wxSlider_GetThumbLength(_arg0);
ab9bc19b 11417
474c48f9 11418 wxPyEndAllowThreads(__tstate);
4dfaa61e 11419 if (PyErr_Occurred()) return NULL;
ab9bc19b 11420} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11421 return _resultobj;
11422}
11423
11424#define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
107e4716 11425static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11426 PyObject * _resultobj;
11427 int _result;
11428 wxSlider * _arg0;
2d091820 11429 PyObject * _argo0 = 0;
107e4716 11430 char *_kwnames[] = { "self", NULL };
70551f47
RD
11431
11432 self = self;
107e4716 11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
70551f47 11434 return NULL;
2d091820
RD
11435 if (_argo0) {
11436 if (_argo0 == Py_None) { _arg0 = NULL; }
11437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
11439 return NULL;
11440 }
11441 }
ab9bc19b 11442{
474c48f9 11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11444 _result = (int )wxSlider_GetTickFreq(_arg0);
ab9bc19b 11445
474c48f9 11446 wxPyEndAllowThreads(__tstate);
4dfaa61e 11447 if (PyErr_Occurred()) return NULL;
ab9bc19b 11448} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11449 return _resultobj;
11450}
11451
11452#define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 11453static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11454 PyObject * _resultobj;
11455 int _result;
11456 wxSlider * _arg0;
2d091820 11457 PyObject * _argo0 = 0;
107e4716 11458 char *_kwnames[] = { "self", NULL };
70551f47
RD
11459
11460 self = self;
107e4716 11461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
70551f47 11462 return NULL;
2d091820
RD
11463 if (_argo0) {
11464 if (_argo0 == Py_None) { _arg0 = NULL; }
11465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
11467 return NULL;
11468 }
11469 }
ab9bc19b 11470{
474c48f9 11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11472 _result = (int )wxSlider_GetValue(_arg0);
ab9bc19b 11473
474c48f9 11474 wxPyEndAllowThreads(__tstate);
4dfaa61e 11475 if (PyErr_Occurred()) return NULL;
ab9bc19b 11476} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11477 return _resultobj;
11478}
11479
11480#define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
107e4716 11481static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11482 PyObject * _resultobj;
11483 wxSlider * _arg0;
11484 int _arg1;
11485 int _arg2;
2d091820 11486 PyObject * _argo0 = 0;
107e4716 11487 char *_kwnames[] = { "self","minValue","maxValue", NULL };
70551f47
RD
11488
11489 self = self;
107e4716 11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 11491 return NULL;
2d091820
RD
11492 if (_argo0) {
11493 if (_argo0 == Py_None) { _arg0 = NULL; }
11494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
11496 return NULL;
11497 }
11498 }
ab9bc19b 11499{
474c48f9 11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11501 wxSlider_SetRange(_arg0,_arg1,_arg2);
ab9bc19b 11502
474c48f9 11503 wxPyEndAllowThreads(__tstate);
4dfaa61e 11504 if (PyErr_Occurred()) return NULL;
ab9bc19b 11505} Py_INCREF(Py_None);
70551f47
RD
11506 _resultobj = Py_None;
11507 return _resultobj;
11508}
11509
11510#define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
107e4716 11511static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11512 PyObject * _resultobj;
11513 wxSlider * _arg0;
11514 int _arg1;
11515 int _arg2;
2d091820 11516 PyObject * _argo0 = 0;
107e4716 11517 char *_kwnames[] = { "self","n","pos", NULL };
70551f47
RD
11518
11519 self = self;
107e4716 11520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 11521 return NULL;
2d091820
RD
11522 if (_argo0) {
11523 if (_argo0 == Py_None) { _arg0 = NULL; }
11524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
11526 return NULL;
11527 }
11528 }
ab9bc19b 11529{
474c48f9 11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11531 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
ab9bc19b 11532
474c48f9 11533 wxPyEndAllowThreads(__tstate);
4dfaa61e 11534 if (PyErr_Occurred()) return NULL;
ab9bc19b 11535} Py_INCREF(Py_None);
70551f47
RD
11536 _resultobj = Py_None;
11537 return _resultobj;
11538}
11539
11540#define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
107e4716 11541static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11542 PyObject * _resultobj;
11543 wxSlider * _arg0;
11544 int _arg1;
2d091820 11545 PyObject * _argo0 = 0;
107e4716 11546 char *_kwnames[] = { "self","lineSize", NULL };
70551f47
RD
11547
11548 self = self;
107e4716 11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
70551f47 11550 return NULL;
2d091820
RD
11551 if (_argo0) {
11552 if (_argo0 == Py_None) { _arg0 = NULL; }
11553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
11555 return NULL;
11556 }
11557 }
ab9bc19b 11558{
474c48f9 11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11560 wxSlider_SetLineSize(_arg0,_arg1);
ab9bc19b 11561
474c48f9 11562 wxPyEndAllowThreads(__tstate);
4dfaa61e 11563 if (PyErr_Occurred()) return NULL;
ab9bc19b 11564} Py_INCREF(Py_None);
70551f47
RD
11565 _resultobj = Py_None;
11566 return _resultobj;
11567}
11568
11569#define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
107e4716 11570static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11571 PyObject * _resultobj;
11572 wxSlider * _arg0;
11573 int _arg1;
2d091820 11574 PyObject * _argo0 = 0;
107e4716 11575 char *_kwnames[] = { "self","pageSize", NULL };
70551f47
RD
11576
11577 self = self;
107e4716 11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
70551f47 11579 return NULL;
2d091820
RD
11580 if (_argo0) {
11581 if (_argo0 == Py_None) { _arg0 = NULL; }
11582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
11584 return NULL;
11585 }
11586 }
ab9bc19b 11587{
474c48f9 11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11589 wxSlider_SetPageSize(_arg0,_arg1);
ab9bc19b 11590
474c48f9 11591 wxPyEndAllowThreads(__tstate);
4dfaa61e 11592 if (PyErr_Occurred()) return NULL;
ab9bc19b 11593} Py_INCREF(Py_None);
70551f47
RD
11594 _resultobj = Py_None;
11595 return _resultobj;
11596}
11597
11598#define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 11599static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11600 PyObject * _resultobj;
11601 wxSlider * _arg0;
11602 int _arg1;
11603 int _arg2;
2d091820 11604 PyObject * _argo0 = 0;
107e4716 11605 char *_kwnames[] = { "self","startPos","endPos", NULL };
70551f47
RD
11606
11607 self = self;
107e4716 11608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 11609 return NULL;
2d091820
RD
11610 if (_argo0) {
11611 if (_argo0 == Py_None) { _arg0 = NULL; }
11612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
11614 return NULL;
11615 }
11616 }
ab9bc19b 11617{
474c48f9 11618 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11619 wxSlider_SetSelection(_arg0,_arg1,_arg2);
ab9bc19b 11620
474c48f9 11621 wxPyEndAllowThreads(__tstate);
4dfaa61e 11622 if (PyErr_Occurred()) return NULL;
ab9bc19b 11623} Py_INCREF(Py_None);
70551f47
RD
11624 _resultobj = Py_None;
11625 return _resultobj;
11626}
11627
11628#define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
107e4716 11629static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11630 PyObject * _resultobj;
11631 wxSlider * _arg0;
11632 int _arg1;
2d091820 11633 PyObject * _argo0 = 0;
107e4716 11634 char *_kwnames[] = { "self","len", NULL };
70551f47
RD
11635
11636 self = self;
107e4716 11637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
70551f47 11638 return NULL;
2d091820
RD
11639 if (_argo0) {
11640 if (_argo0 == Py_None) { _arg0 = NULL; }
11641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
11643 return NULL;
11644 }
11645 }
ab9bc19b 11646{
474c48f9 11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11648 wxSlider_SetThumbLength(_arg0,_arg1);
ab9bc19b 11649
474c48f9 11650 wxPyEndAllowThreads(__tstate);
4dfaa61e 11651 if (PyErr_Occurred()) return NULL;
ab9bc19b 11652} Py_INCREF(Py_None);
70551f47
RD
11653 _resultobj = Py_None;
11654 return _resultobj;
11655}
11656
11657#define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
107e4716 11658static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11659 PyObject * _resultobj;
11660 wxSlider * _arg0;
11661 int _arg1;
2d091820 11662 PyObject * _argo0 = 0;
107e4716 11663 char *_kwnames[] = { "self","tickPos", NULL };
70551f47
RD
11664
11665 self = self;
107e4716 11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
70551f47 11667 return NULL;
2d091820
RD
11668 if (_argo0) {
11669 if (_argo0 == Py_None) { _arg0 = NULL; }
11670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
11672 return NULL;
11673 }
11674 }
ab9bc19b 11675{
474c48f9 11676 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11677 wxSlider_SetTick(_arg0,_arg1);
ab9bc19b 11678
474c48f9 11679 wxPyEndAllowThreads(__tstate);
4dfaa61e 11680 if (PyErr_Occurred()) return NULL;
ab9bc19b 11681} Py_INCREF(Py_None);
70551f47
RD
11682 _resultobj = Py_None;
11683 return _resultobj;
11684}
11685
11686#define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 11687static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11688 PyObject * _resultobj;
11689 wxSlider * _arg0;
11690 int _arg1;
2d091820 11691 PyObject * _argo0 = 0;
107e4716 11692 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
11693
11694 self = self;
107e4716 11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
70551f47 11696 return NULL;
2d091820
RD
11697 if (_argo0) {
11698 if (_argo0 == Py_None) { _arg0 = NULL; }
11699 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
11701 return NULL;
11702 }
11703 }
ab9bc19b 11704{
474c48f9 11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11706 wxSlider_SetValue(_arg0,_arg1);
ab9bc19b 11707
474c48f9 11708 wxPyEndAllowThreads(__tstate);
4dfaa61e 11709 if (PyErr_Occurred()) return NULL;
ab9bc19b 11710} Py_INCREF(Py_None);
70551f47
RD
11711 _resultobj = Py_None;
11712 return _resultobj;
11713}
11714
f6bcfd97
BP
11715static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
11716 wxSpinCtrl *src;
11717 wxSpinButton *dest;
11718 src = (wxSpinCtrl *) ptr;
11719 dest = (wxSpinButton *) src;
11720 return (void *) dest;
11721}
11722
11723static void *SwigwxSpinCtrlTowxControl(void *ptr) {
11724 wxSpinCtrl *src;
11725 wxControl *dest;
11726 src = (wxSpinCtrl *) ptr;
11727 dest = (wxControl *) src;
11728 return (void *) dest;
11729}
11730
11731static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
11732 wxSpinCtrl *src;
11733 wxWindow *dest;
11734 src = (wxSpinCtrl *) ptr;
11735 dest = (wxWindow *) src;
11736 return (void *) dest;
11737}
11738
11739static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
11740 wxSpinCtrl *src;
11741 wxEvtHandler *dest;
11742 src = (wxSpinCtrl *) ptr;
11743 dest = (wxEvtHandler *) src;
11744 return (void *) dest;
11745}
11746
9df61a29
RD
11747static void *SwigwxSpinCtrlTowxObject(void *ptr) {
11748 wxSpinCtrl *src;
11749 wxObject *dest;
11750 src = (wxSpinCtrl *) ptr;
11751 dest = (wxObject *) src;
11752 return (void *) dest;
11753}
11754
f6bcfd97
BP
11755#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))
11756static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11757 PyObject * _resultobj;
11758 wxSpinCtrl * _result;
11759 wxWindow * _arg0;
11760 wxWindowID _arg1 = (wxWindowID ) -1;
9a74fcaf 11761 wxString * _arg2 = (wxString *) &wxPyEmptyString;
b68dc582
RD
11762 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
11763 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
f6bcfd97
BP
11764 long _arg5 = (long ) wxSP_ARROW_KEYS;
11765 int _arg6 = (int ) 0;
11766 int _arg7 = (int ) 100;
11767 int _arg8 = (int ) 0;
9a74fcaf 11768 wxString * _arg9 = (wxString *) &wxPySpinCtrlNameStr;
f6bcfd97 11769 PyObject * _argo0 = 0;
9a74fcaf 11770 PyObject * _obj2 = 0;
f6bcfd97
BP
11771 wxPoint temp;
11772 PyObject * _obj3 = 0;
11773 wxSize temp0;
11774 PyObject * _obj4 = 0;
9a74fcaf 11775 PyObject * _obj9 = 0;
f6bcfd97
BP
11776 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
11777 char _ptemp[128];
11778
11779 self = self;
9a74fcaf 11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_obj9))
f6bcfd97
BP
11781 return NULL;
11782 if (_argo0) {
11783 if (_argo0 == Py_None) { _arg0 = NULL; }
11784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
11785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
11786 return NULL;
11787 }
11788 }
9a74fcaf
RD
11789 if (_obj2)
11790{
11791 _arg2 = wxString_in_helper(_obj2);
11792 if (_arg2 == NULL)
11793 return NULL;
11794}
f6bcfd97
BP
11795 if (_obj3)
11796{
11797 _arg3 = &temp;
11798 if (! wxPoint_helper(_obj3, &_arg3))
11799 return NULL;
11800}
11801 if (_obj4)
11802{
11803 _arg4 = &temp0;
11804 if (! wxSize_helper(_obj4, &_arg4))
11805 return NULL;
9a74fcaf
RD
11806}
11807 if (_obj9)
11808{
11809 _arg9 = wxString_in_helper(_obj9);
11810 if (_arg9 == NULL)
11811 return NULL;
f6bcfd97
BP
11812}
11813{
474c48f9 11814 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 11815 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9);
f6bcfd97 11816
474c48f9 11817 wxPyEndAllowThreads(__tstate);
4dfaa61e 11818 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11819} if (_result) {
11820 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
11821 _resultobj = Py_BuildValue("s",_ptemp);
11822 } else {
11823 Py_INCREF(Py_None);
11824 _resultobj = Py_None;
11825 }
9a74fcaf
RD
11826{
11827 if (_obj2)
11828 delete _arg2;
11829}
11830{
11831 if (_obj9)
11832 delete _arg9;
11833}
f6bcfd97
BP
11834 return _resultobj;
11835}
11836
aa2a5b86
RD
11837#define new_wxPreSpinCtrl() (new wxSpinCtrl())
11838static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11839 PyObject * _resultobj;
11840 wxSpinCtrl * _result;
11841 char *_kwnames[] = { NULL };
11842 char _ptemp[128];
11843
11844 self = self;
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
11846 return NULL;
11847{
474c48f9 11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11849 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
aa2a5b86 11850
474c48f9 11851 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
11852 if (PyErr_Occurred()) return NULL;
11853} if (_result) {
11854 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
11855 _resultobj = Py_BuildValue("s",_ptemp);
11856 } else {
11857 Py_INCREF(Py_None);
11858 _resultobj = Py_None;
11859 }
11860 return _resultobj;
11861}
11862
11863#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))
11864static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11865 PyObject * _resultobj;
11866 bool _result;
11867 wxSpinCtrl * _arg0;
11868 wxWindow * _arg1;
11869 wxWindowID _arg2 = (wxWindowID ) -1;
9a74fcaf 11870 wxString * _arg3 = (wxString *) &wxPyEmptyString;
aa2a5b86
RD
11871 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
11872 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
11873 long _arg6 = (long ) wxSP_ARROW_KEYS;
11874 int _arg7 = (int ) 0;
11875 int _arg8 = (int ) 100;
11876 int _arg9 = (int ) 0;
9a74fcaf 11877 wxString * _arg10 = (wxString *) &wxPySpinCtrlNameStr;
aa2a5b86
RD
11878 PyObject * _argo0 = 0;
11879 PyObject * _argo1 = 0;
9a74fcaf 11880 PyObject * _obj3 = 0;
aa2a5b86
RD
11881 wxPoint temp;
11882 PyObject * _obj4 = 0;
11883 wxSize temp0;
11884 PyObject * _obj5 = 0;
9a74fcaf 11885 PyObject * _obj10 = 0;
aa2a5b86
RD
11886 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
11887
11888 self = self;
9a74fcaf 11889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_obj10))
aa2a5b86
RD
11890 return NULL;
11891 if (_argo0) {
11892 if (_argo0 == Py_None) { _arg0 = NULL; }
11893 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11894 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
11895 return NULL;
11896 }
11897 }
11898 if (_argo1) {
11899 if (_argo1 == Py_None) { _arg1 = NULL; }
11900 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11901 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
11902 return NULL;
11903 }
11904 }
9a74fcaf
RD
11905 if (_obj3)
11906{
11907 _arg3 = wxString_in_helper(_obj3);
11908 if (_arg3 == NULL)
11909 return NULL;
11910}
aa2a5b86
RD
11911 if (_obj4)
11912{
11913 _arg4 = &temp;
11914 if (! wxPoint_helper(_obj4, &_arg4))
11915 return NULL;
11916}
11917 if (_obj5)
11918{
11919 _arg5 = &temp0;
11920 if (! wxSize_helper(_obj5, &_arg5))
11921 return NULL;
9a74fcaf
RD
11922}
11923 if (_obj10)
11924{
11925 _arg10 = wxString_in_helper(_obj10);
11926 if (_arg10 == NULL)
11927 return NULL;
aa2a5b86
RD
11928}
11929{
474c48f9 11930 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 11931 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10);
aa2a5b86 11932
474c48f9 11933 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
11934 if (PyErr_Occurred()) return NULL;
11935} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
11936{
11937 if (_obj3)
11938 delete _arg3;
11939}
11940{
11941 if (_obj10)
11942 delete _arg10;
11943}
aa2a5b86
RD
11944 return _resultobj;
11945}
11946
c368d904
RD
11947#define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
11948static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11949 PyObject * _resultobj;
11950 int _result;
11951 wxSpinCtrl * _arg0;
11952 PyObject * _argo0 = 0;
11953 char *_kwnames[] = { "self", NULL };
11954
11955 self = self;
11956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
11957 return NULL;
11958 if (_argo0) {
11959 if (_argo0 == Py_None) { _arg0 = NULL; }
11960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11962 return NULL;
11963 }
11964 }
11965{
474c48f9 11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11967 _result = (int )wxSpinCtrl_GetMax(_arg0);
c368d904 11968
474c48f9 11969 wxPyEndAllowThreads(__tstate);
4dfaa61e 11970 if (PyErr_Occurred()) return NULL;
c368d904
RD
11971} _resultobj = Py_BuildValue("i",_result);
11972 return _resultobj;
11973}
11974
11975#define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11976static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11977 PyObject * _resultobj;
11978 int _result;
11979 wxSpinCtrl * _arg0;
11980 PyObject * _argo0 = 0;
11981 char *_kwnames[] = { "self", NULL };
11982
11983 self = self;
11984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
11985 return NULL;
11986 if (_argo0) {
11987 if (_argo0 == Py_None) { _arg0 = NULL; }
11988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11990 return NULL;
11991 }
11992 }
11993{
474c48f9 11994 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11995 _result = (int )wxSpinCtrl_GetMin(_arg0);
c368d904 11996
474c48f9 11997 wxPyEndAllowThreads(__tstate);
4dfaa61e 11998 if (PyErr_Occurred()) return NULL;
c368d904
RD
11999} _resultobj = Py_BuildValue("i",_result);
12000 return _resultobj;
12001}
12002
12003#define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
12004static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12005 PyObject * _resultobj;
12006 int _result;
12007 wxSpinCtrl * _arg0;
12008 PyObject * _argo0 = 0;
12009 char *_kwnames[] = { "self", NULL };
12010
12011 self = self;
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
12013 return NULL;
12014 if (_argo0) {
12015 if (_argo0 == Py_None) { _arg0 = NULL; }
12016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
12017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
12018 return NULL;
12019 }
12020 }
12021{
474c48f9 12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12023 _result = (int )wxSpinCtrl_GetValue(_arg0);
c368d904 12024
474c48f9 12025 wxPyEndAllowThreads(__tstate);
4dfaa61e 12026 if (PyErr_Occurred()) return NULL;
c368d904
RD
12027} _resultobj = Py_BuildValue("i",_result);
12028 return _resultobj;
12029}
12030
12031#define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
12032static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12033 PyObject * _resultobj;
12034 wxSpinCtrl * _arg0;
12035 int _arg1;
12036 int _arg2;
12037 PyObject * _argo0 = 0;
12038 char *_kwnames[] = { "self","min","max", NULL };
12039
12040 self = self;
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
12042 return NULL;
12043 if (_argo0) {
12044 if (_argo0 == Py_None) { _arg0 = NULL; }
12045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
12046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
12047 return NULL;
12048 }
12049 }
12050{
474c48f9 12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12052 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
c368d904 12053
474c48f9 12054 wxPyEndAllowThreads(__tstate);
4dfaa61e 12055 if (PyErr_Occurred()) return NULL;
c368d904
RD
12056} Py_INCREF(Py_None);
12057 _resultobj = Py_None;
12058 return _resultobj;
12059}
12060
12061#define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
12062static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12063 PyObject * _resultobj;
12064 wxSpinCtrl * _arg0;
12065 int _arg1;
12066 PyObject * _argo0 = 0;
12067 char *_kwnames[] = { "self","value", NULL };
12068
12069 self = self;
12070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
12071 return NULL;
12072 if (_argo0) {
12073 if (_argo0 == Py_None) { _arg0 = NULL; }
12074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
12075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
12076 return NULL;
12077 }
12078 }
12079{
474c48f9 12080 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12081 wxSpinCtrl_SetValue(_arg0,_arg1);
c368d904 12082
474c48f9 12083 wxPyEndAllowThreads(__tstate);
4dfaa61e 12084 if (PyErr_Occurred()) return NULL;
c368d904
RD
12085} Py_INCREF(Py_None);
12086 _resultobj = Py_None;
12087 return _resultobj;
12088}
12089
1fded56b
RD
12090static void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to) {
12091 }
12092static PyObject *_wrap_wxSpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject * _resultobj;
12094 wxSpinCtrl * _arg0;
12095 long _arg1;
12096 long _arg2;
12097 PyObject * _argo0 = 0;
12098 char *_kwnames[] = { "self","from","to", NULL };
12099
12100 self = self;
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxSpinCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
12102 return NULL;
12103 if (_argo0) {
12104 if (_argo0 == Py_None) { _arg0 = NULL; }
12105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
12106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetSelection. Expected _wxSpinCtrl_p.");
12107 return NULL;
12108 }
12109 }
12110{
12111 PyThreadState* __tstate = wxPyBeginAllowThreads();
12112 wxSpinCtrl_SetSelection(_arg0,_arg1,_arg2);
12113
12114 wxPyEndAllowThreads(__tstate);
12115 if (PyErr_Occurred()) return NULL;
12116} Py_INCREF(Py_None);
12117 _resultobj = Py_None;
12118 return _resultobj;
12119}
12120
7a446686
RD
12121static void *SwigwxToggleButtonTowxControl(void *ptr) {
12122 wxToggleButton *src;
12123 wxControl *dest;
12124 src = (wxToggleButton *) ptr;
12125 dest = (wxControl *) src;
12126 return (void *) dest;
12127}
12128
12129static void *SwigwxToggleButtonTowxWindow(void *ptr) {
12130 wxToggleButton *src;
12131 wxWindow *dest;
12132 src = (wxToggleButton *) ptr;
12133 dest = (wxWindow *) src;
12134 return (void *) dest;
12135}
12136
12137static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
12138 wxToggleButton *src;
12139 wxEvtHandler *dest;
12140 src = (wxToggleButton *) ptr;
12141 dest = (wxEvtHandler *) src;
12142 return (void *) dest;
12143}
12144
9df61a29
RD
12145static void *SwigwxToggleButtonTowxObject(void *ptr) {
12146 wxToggleButton *src;
12147 wxObject *dest;
12148 src = (wxToggleButton *) ptr;
12149 dest = (wxObject *) src;
12150 return (void *) dest;
12151}
12152
7a446686
RD
12153#define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
12154static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12155 PyObject * _resultobj;
12156 wxToggleButton * _result;
12157 wxWindow * _arg0;
12158 wxWindowID _arg1;
12159 wxString * _arg2;
12160 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
12161 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
12162 long _arg5 = (long ) 0;
12163 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 12164 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
7a446686
RD
12165 PyObject * _argo0 = 0;
12166 PyObject * _obj2 = 0;
12167 wxPoint temp;
12168 PyObject * _obj3 = 0;
12169 wxSize temp0;
12170 PyObject * _obj4 = 0;
12171 PyObject * _argo6 = 0;
9a74fcaf 12172 PyObject * _obj7 = 0;
7a446686
RD
12173 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
12174 char _ptemp[128];
12175
12176 self = self;
9a74fcaf 12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
7a446686
RD
12178 return NULL;
12179 if (_argo0) {
12180 if (_argo0 == Py_None) { _arg0 = NULL; }
12181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
12182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
12183 return NULL;
12184 }
12185 }
12186{
c8bc7bb8
RD
12187 _arg2 = wxString_in_helper(_obj2);
12188 if (_arg2 == NULL)
7a446686 12189 return NULL;
7a446686
RD
12190}
12191 if (_obj3)
12192{
12193 _arg3 = &temp;
12194 if (! wxPoint_helper(_obj3, &_arg3))
12195 return NULL;
12196}
12197 if (_obj4)
12198{
12199 _arg4 = &temp0;
12200 if (! wxSize_helper(_obj4, &_arg4))
12201 return NULL;
12202}
12203 if (_argo6) {
b67a9327 12204 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
7a446686
RD
12205 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
12206 return NULL;
12207 }
12208 }
9a74fcaf
RD
12209 if (_obj7)
12210{
12211 _arg7 = wxString_in_helper(_obj7);
12212 if (_arg7 == NULL)
12213 return NULL;
12214}
7a446686 12215{
474c48f9 12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 12217 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
7a446686 12218
474c48f9 12219 wxPyEndAllowThreads(__tstate);
4dfaa61e 12220 if (PyErr_Occurred()) return NULL;
7a446686
RD
12221} if (_result) {
12222 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
12223 _resultobj = Py_BuildValue("s",_ptemp);
12224 } else {
12225 Py_INCREF(Py_None);
12226 _resultobj = Py_None;
12227 }
12228{
12229 if (_obj2)
12230 delete _arg2;
9a74fcaf
RD
12231}
12232{
12233 if (_obj7)
12234 delete _arg7;
7a446686
RD
12235}
12236 return _resultobj;
12237}
12238
aa2a5b86
RD
12239#define new_wxPreToggleButton() (new wxToggleButton())
12240static PyObject *_wrap_new_wxPreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12241 PyObject * _resultobj;
12242 wxToggleButton * _result;
12243 char *_kwnames[] = { NULL };
12244 char _ptemp[128];
12245
12246 self = self;
12247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToggleButton",_kwnames))
12248 return NULL;
12249{
474c48f9 12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12251 _result = (wxToggleButton *)new_wxPreToggleButton();
aa2a5b86 12252
474c48f9 12253 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
12254 if (PyErr_Occurred()) return NULL;
12255} if (_result) {
12256 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
12257 _resultobj = Py_BuildValue("s",_ptemp);
12258 } else {
12259 Py_INCREF(Py_None);
12260 _resultobj = Py_None;
12261 }
12262 return _resultobj;
12263}
12264
12265#define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
12266static PyObject *_wrap_wxToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12267 PyObject * _resultobj;
12268 bool _result;
12269 wxToggleButton * _arg0;
12270 wxWindow * _arg1;
12271 wxWindowID _arg2;
12272 wxString * _arg3;
12273 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
12274 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
12275 long _arg6 = (long ) 0;
12276 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 12277 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
aa2a5b86
RD
12278 PyObject * _argo0 = 0;
12279 PyObject * _argo1 = 0;
12280 PyObject * _obj3 = 0;
12281 wxPoint temp;
12282 PyObject * _obj4 = 0;
12283 wxSize temp0;
12284 PyObject * _obj5 = 0;
12285 PyObject * _argo7 = 0;
9a74fcaf 12286 PyObject * _obj8 = 0;
aa2a5b86
RD
12287 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
12288
12289 self = self;
9a74fcaf 12290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxToggleButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
12291 return NULL;
12292 if (_argo0) {
12293 if (_argo0 == Py_None) { _arg0 = NULL; }
12294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
12296 return NULL;
12297 }
12298 }
12299 if (_argo1) {
12300 if (_argo1 == Py_None) { _arg1 = NULL; }
12301 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
12302 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
12303 return NULL;
12304 }
12305 }
12306{
c8bc7bb8
RD
12307 _arg3 = wxString_in_helper(_obj3);
12308 if (_arg3 == NULL)
aa2a5b86 12309 return NULL;
aa2a5b86
RD
12310}
12311 if (_obj4)
12312{
12313 _arg4 = &temp;
12314 if (! wxPoint_helper(_obj4, &_arg4))
12315 return NULL;
12316}
12317 if (_obj5)
12318{
12319 _arg5 = &temp0;
12320 if (! wxSize_helper(_obj5, &_arg5))
12321 return NULL;
12322}
12323 if (_argo7) {
b67a9327 12324 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
12325 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
12326 return NULL;
12327 }
12328 }
9a74fcaf
RD
12329 if (_obj8)
12330{
12331 _arg8 = wxString_in_helper(_obj8);
12332 if (_arg8 == NULL)
12333 return NULL;
12334}
aa2a5b86 12335{
474c48f9 12336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 12337 _result = (bool )wxToggleButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
aa2a5b86 12338
474c48f9 12339 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
12340 if (PyErr_Occurred()) return NULL;
12341} _resultobj = Py_BuildValue("i",_result);
12342{
12343 if (_obj3)
12344 delete _arg3;
9a74fcaf
RD
12345}
12346{
12347 if (_obj8)
12348 delete _arg8;
aa2a5b86
RD
12349}
12350 return _resultobj;
12351}
12352
7a446686
RD
12353#define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
12354static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12355 PyObject * _resultobj;
12356 wxToggleButton * _arg0;
12357 bool _arg1;
12358 PyObject * _argo0 = 0;
12359 int tempbool1;
12360 char *_kwnames[] = { "self","value", NULL };
12361
12362 self = self;
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
12364 return NULL;
12365 if (_argo0) {
12366 if (_argo0 == Py_None) { _arg0 = NULL; }
12367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
12369 return NULL;
12370 }
12371 }
12372 _arg1 = (bool ) tempbool1;
12373{
474c48f9 12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12375 wxToggleButton_SetValue(_arg0,_arg1);
7a446686 12376
474c48f9 12377 wxPyEndAllowThreads(__tstate);
4dfaa61e 12378 if (PyErr_Occurred()) return NULL;
7a446686
RD
12379} Py_INCREF(Py_None);
12380 _resultobj = Py_None;
12381 return _resultobj;
12382}
12383
12384#define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
12385static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12386 PyObject * _resultobj;
12387 bool _result;
12388 wxToggleButton * _arg0;
12389 PyObject * _argo0 = 0;
12390 char *_kwnames[] = { "self", NULL };
12391
12392 self = self;
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
12394 return NULL;
12395 if (_argo0) {
12396 if (_argo0 == Py_None) { _arg0 = NULL; }
12397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
12399 return NULL;
12400 }
12401 }
12402{
474c48f9 12403 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12404 _result = (bool )wxToggleButton_GetValue(_arg0);
7a446686 12405
474c48f9 12406 wxPyEndAllowThreads(__tstate);
4dfaa61e 12407 if (PyErr_Occurred()) return NULL;
7a446686
RD
12408} _resultobj = Py_BuildValue("i",_result);
12409 return _resultobj;
12410}
12411
12412#define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
12413static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12414 PyObject * _resultobj;
12415 wxToggleButton * _arg0;
12416 wxString * _arg1;
12417 PyObject * _argo0 = 0;
12418 PyObject * _obj1 = 0;
12419 char *_kwnames[] = { "self","label", NULL };
12420
12421 self = self;
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
12423 return NULL;
12424 if (_argo0) {
12425 if (_argo0 == Py_None) { _arg0 = NULL; }
12426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
12428 return NULL;
12429 }
12430 }
12431{
c8bc7bb8
RD
12432 _arg1 = wxString_in_helper(_obj1);
12433 if (_arg1 == NULL)
7a446686 12434 return NULL;
7a446686
RD
12435}
12436{
474c48f9 12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12438 wxToggleButton_SetLabel(_arg0,*_arg1);
7a446686 12439
474c48f9 12440 wxPyEndAllowThreads(__tstate);
4dfaa61e 12441 if (PyErr_Occurred()) return NULL;
7a446686
RD
12442} Py_INCREF(Py_None);
12443 _resultobj = Py_None;
12444{
12445 if (_obj1)
12446 delete _arg1;
12447}
12448 return _resultobj;
12449}
12450
70551f47 12451static PyMethodDef controlscMethods[] = {
7a446686
RD
12452 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
12453 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12454 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12455 { "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
12456 { "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
7a446686 12457 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
1fded56b 12458 { "wxSpinCtrl_SetSelection", (PyCFunction) _wrap_wxSpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
12459 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
12460 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
12461 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
12462 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
12463 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12464 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12465 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 12466 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12467 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
12468 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
12469 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
12470 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
12471 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
12472 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
12473 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
12474 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
12475 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
12476 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
12477 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
12478 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
12479 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
12480 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
12481 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
12482 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
12483 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
12484 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
12485 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12486 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
12487 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12488 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
12489 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12490 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12491 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
12492 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12493 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
12494 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
12495 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
12496 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12497 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
2c8a649d 12498 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
107e4716 12499 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
107e4716 12500 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
b67a9327 12501 { "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
2c8a649d 12502 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12503 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
12504 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
12505 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12506 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
12507 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12508 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
12509 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
12510 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12511 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12512 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
12513 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12514 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
12515 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12516 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
12517 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12518 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
12519 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12520 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
12521 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12522 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
12523 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
12524 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
6e8a778a 12525 { "wxScrollBar_IsVertical", (PyCFunction) _wrap_wxScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
2fc99549 12526 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12527 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
12528 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
12529 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
12530 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12531 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
12532 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
107e4716 12533 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
7a9b33db 12534 { "wxTextCtrl_GetString", (PyCFunction) _wrap_wxTextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
4120ef2b 12535 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
d99400b2
RD
12536 { "wxTextCtrl_IsMultiLine", (PyCFunction) _wrap_wxTextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
12537 { "wxTextCtrl_IsSingleLine", (PyCFunction) _wrap_wxTextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12538 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
12539 { "wxTextCtrl_SelectAll", (PyCFunction) _wrap_wxTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
12540 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
12541 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
12542 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12543 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
12544 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12545 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
12546 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
4120ef2b
RD
12547 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
12548 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12549 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
12550 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
12551 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12552 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
12553 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
12554 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
12555 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
12556 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
107e4716 12557 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
3ef86e32 12558 { "wxTextCtrl_GetStyle", (PyCFunction) _wrap_wxTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12559 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
12560 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
12561 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
87439dd8 12562 { "wxTextCtrl_EmulateKeyPress", (PyCFunction) _wrap_wxTextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12563 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
12564 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12565 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
12566 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
1a8372ba 12567 { "wxTextCtrl_MarkDirty", (PyCFunction) _wrap_wxTextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
107e4716 12568 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
107e4716 12569 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12570 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
12571 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
12572 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
93283355 12573 { "wxTextCtrl_GetStringSelection", (PyCFunction) _wrap_wxTextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12574 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
12575 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
107e4716 12576 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12577 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
12578 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
12579 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
db34b2d4 12580 { "wxTextCtrl_GetRange", (PyCFunction) _wrap_wxTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12581 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
12582 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12583 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12584 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
107e4716 12585 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
7a9b33db 12586 { "wxTextAttr_Combine", (PyCFunction) _wrap_wxTextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
a57d56d6 12587 { "wxTextAttr_IsDefault", (PyCFunction) _wrap_wxTextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
3ef86e32
RD
12588 { "wxTextAttr_GetFlags", (PyCFunction) _wrap_wxTextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
12589 { "wxTextAttr_GetRightIndent", (PyCFunction) _wrap_wxTextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
12590 { "wxTextAttr_GetLeftIndent", (PyCFunction) _wrap_wxTextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
12591 { "wxTextAttr_GetTabs", (PyCFunction) _wrap_wxTextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
12592 { "wxTextAttr_GetAlignment", (PyCFunction) _wrap_wxTextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
12593 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
12594 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12595 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
3ef86e32
RD
12596 { "wxTextAttr_HasFlag", (PyCFunction) _wrap_wxTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
12597 { "wxTextAttr_HasRightIndent", (PyCFunction) _wrap_wxTextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
12598 { "wxTextAttr_HasLeftIndent", (PyCFunction) _wrap_wxTextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
12599 { "wxTextAttr_HasTabs", (PyCFunction) _wrap_wxTextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
12600 { "wxTextAttr_HasAlignment", (PyCFunction) _wrap_wxTextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
12601 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
12602 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12603 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
3ef86e32
RD
12604 { "wxTextAttr_SetFlags", (PyCFunction) _wrap_wxTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
12605 { "wxTextAttr_SetRightIndent", (PyCFunction) _wrap_wxTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
12606 { "wxTextAttr_SetLeftIndent", (PyCFunction) _wrap_wxTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
12607 { "wxTextAttr_SetTabs", (PyCFunction) _wrap_wxTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
12608 { "wxTextAttr_SetAlignment", (PyCFunction) _wrap_wxTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
12609 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
12610 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12611 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
3ef86e32 12612 { "wxTextAttr_Init", (PyCFunction) _wrap_wxTextAttr_Init, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
12613 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
12614 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
c81fd4b9
RD
12615 { "wxCheckListBox_HitTestXY", (PyCFunction) _wrap_wxCheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
12616 { "wxCheckListBox_HitTest", (PyCFunction) _wrap_wxCheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
107e4716 12617 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
d29aba2f 12618 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12619 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
12620 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12621 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
12622 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12623 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
12624 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12625 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
12626 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12627 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
12628 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
12629 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
12630 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
2c8a649d 12631 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
37f6a977 12632 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
107e4716 12633 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
107e4716 12634 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
107e4716 12635 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12636 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
12637 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12638 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
12639 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
12640 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12641 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
12642 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
107e4716 12643 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12644 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
12645 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
107e4716 12646 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12647 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
12648 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12649 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
12650 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
12651 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
12652 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
12653 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
1a8372ba 12654 { "wxGauge_IsVertical", (PyCFunction) _wrap_wxGauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12655 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
12656 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
12657 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
12658 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12659 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
12660 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
107e4716 12661 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
c70fd24f
RD
12662 { "wxComboBox_SetClientData", (PyCFunction) _wrap_wxComboBox_SetClientData, METH_VARARGS | METH_KEYWORDS },
12663 { "wxComboBox_GetClientData", (PyCFunction) _wrap_wxComboBox_GetClientData, METH_VARARGS | METH_KEYWORDS },
12664 { "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS },
12665 { "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12666 { "wxComboBox_GetSelection", (PyCFunction) _wrap_wxComboBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
12667 { "wxComboBox_FindString", (PyCFunction) _wrap_wxComboBox_FindString, METH_VARARGS | METH_KEYWORDS },
12668 { "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS },
12669 { "wxComboBox_GetCount", (PyCFunction) _wrap_wxComboBox_GetCount, METH_VARARGS | METH_KEYWORDS },
12670 { "wxComboBox_Delete", (PyCFunction) _wrap_wxComboBox_Delete, METH_VARARGS | METH_KEYWORDS },
12671 { "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS },
2c8a649d 12672 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12673 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
12674 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
12675 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12676 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
12677 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12678 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
12679 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
12680 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
107e4716 12681 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12682 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
12683 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12684 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
12685 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12686 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
12687 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
107e4716 12688 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
2c8a649d 12689 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12690 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12691 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
12692 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
107e4716 12693 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
107e4716 12694 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12695 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
12696 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
107e4716 12697 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
7ea515ab
RD
12698 { "wxCheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_wxCheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
12699 { "wxCheckBox_Is3State", (PyCFunction) _wrap_wxCheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
12700 { "wxCheckBox_Set3StateValue", (PyCFunction) _wrap_wxCheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
12701 { "wxCheckBox_Get3StateValue", (PyCFunction) _wrap_wxCheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
107e4716 12702 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
b67a9327 12703 { "wxCheckBox_IsChecked", (PyCFunction) _wrap_wxCheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
107e4716 12704 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12705 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
12706 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
107e4716 12707 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
12708 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
12709 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
12710 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12711 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
12712 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
12713 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
12714 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
12715 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
12716 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
12717 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
12718 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12719 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
12720 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
107e4716 12721 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 12722 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
12723 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12724 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
107e4716 12725 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12726 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
12727 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
107e4716 12728 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
85247b36 12729 { "wxControlWithItems_AppendItems", (PyCFunction) _wrap_wxControlWithItems_AppendItems, METH_VARARGS | METH_KEYWORDS },
65191ae8
RD
12730 { "wxControlWithItems_SetClientData", (PyCFunction) _wrap_wxControlWithItems_SetClientData, METH_VARARGS | METH_KEYWORDS },
12731 { "wxControlWithItems_GetClientData", (PyCFunction) _wrap_wxControlWithItems_GetClientData, METH_VARARGS | METH_KEYWORDS },
12732 { "wxControlWithItems_Append", (PyCFunction) _wrap_wxControlWithItems_Append, METH_VARARGS | METH_KEYWORDS },
12733 { "wxControlWithItems_GetStringSelection", (PyCFunction) _wrap_wxControlWithItems_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12734 { "wxControlWithItems_GetSelection", (PyCFunction) _wrap_wxControlWithItems_GetSelection, METH_VARARGS | METH_KEYWORDS },
12735 { "wxControlWithItems_Select", (PyCFunction) _wrap_wxControlWithItems_Select, METH_VARARGS | METH_KEYWORDS },
12736 { "wxControlWithItems_FindString", (PyCFunction) _wrap_wxControlWithItems_FindString, METH_VARARGS | METH_KEYWORDS },
12737 { "wxControlWithItems_SetString", (PyCFunction) _wrap_wxControlWithItems_SetString, METH_VARARGS | METH_KEYWORDS },
12738 { "wxControlWithItems_GetString", (PyCFunction) _wrap_wxControlWithItems_GetString, METH_VARARGS | METH_KEYWORDS },
12739 { "wxControlWithItems_GetCount", (PyCFunction) _wrap_wxControlWithItems_GetCount, METH_VARARGS | METH_KEYWORDS },
12740 { "wxControlWithItems_Delete", (PyCFunction) _wrap_wxControlWithItems_Delete, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12741 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
12742 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
56f5d962 12743 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12744 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
12745 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
56f5d962 12746 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
70551f47
RD
12747 { NULL, NULL }
12748};
2d091820
RD
12749#ifdef __cplusplus
12750}
12751#endif
12752/*
12753 * This table is used by the pointer type-checker
12754 */
12755static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2d091820 12756 { "_signed_long","_long",0},
4120ef2b 12757 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
12758 { "_wxPrintQuality","_int",0},
12759 { "_wxPrintQuality","_signed_int",0},
12760 { "_wxPrintQuality","_unsigned_int",0},
12761 { "_wxPrintQuality","_wxWindowID",0},
12762 { "_wxPrintQuality","_uint",0},
12763 { "_wxPrintQuality","_EBool",0},
12764 { "_wxPrintQuality","_size_t",0},
c368d904 12765 { "_wxPrintQuality","_time_t",0},
2d091820 12766 { "_byte","_unsigned_char",0},
2d091820
RD
12767 { "_long","_unsigned_long",0},
12768 { "_long","_signed_long",0},
4120ef2b 12769 { "_size_t","_wxCoord",0},
2d091820 12770 { "_size_t","_wxPrintQuality",0},
c368d904 12771 { "_size_t","_time_t",0},
2d091820
RD
12772 { "_size_t","_unsigned_int",0},
12773 { "_size_t","_int",0},
12774 { "_size_t","_wxWindowID",0},
12775 { "_size_t","_uint",0},
4120ef2b 12776 { "_uint","_wxCoord",0},
2d091820 12777 { "_uint","_wxPrintQuality",0},
c368d904 12778 { "_uint","_time_t",0},
2d091820
RD
12779 { "_uint","_size_t",0},
12780 { "_uint","_unsigned_int",0},
12781 { "_uint","_int",0},
12782 { "_uint","_wxWindowID",0},
f6bcfd97 12783 { "_wxChar","_char",0},
f6bcfd97 12784 { "_char","_wxChar",0},
f6bcfd97 12785 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
059a841c 12786 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4120ef2b 12787 { "_EBool","_wxCoord",0},
2d091820
RD
12788 { "_EBool","_wxPrintQuality",0},
12789 { "_EBool","_signed_int",0},
12790 { "_EBool","_int",0},
12791 { "_EBool","_wxWindowID",0},
2d091820 12792 { "_unsigned_long","_long",0},
059a841c 12793 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4120ef2b 12794 { "_signed_int","_wxCoord",0},
2d091820
RD
12795 { "_signed_int","_wxPrintQuality",0},
12796 { "_signed_int","_EBool",0},
12797 { "_signed_int","_wxWindowID",0},
12798 { "_signed_int","_int",0},
2d091820 12799 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
2d091820
RD
12800 { "_WXTYPE","_short",0},
12801 { "_WXTYPE","_signed_short",0},
12802 { "_WXTYPE","_unsigned_short",0},
2d091820
RD
12803 { "_unsigned_short","_WXTYPE",0},
12804 { "_unsigned_short","_short",0},
9df61a29 12805 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
9df61a29 12806 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
9df61a29 12807 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
9df61a29 12808 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
9df61a29 12809 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
9df61a29 12810 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
9df61a29 12811 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
9df61a29 12812 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
9df61a29 12813 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
9df61a29 12814 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
9df61a29 12815 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
9df61a29 12816 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
9df61a29 12817 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
9df61a29 12818 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
9df61a29 12819 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
9df61a29 12820 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
9df61a29 12821 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
9df61a29 12822 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
9df61a29 12823 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
9df61a29 12824 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
65191ae8 12825 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
9df61a29 12826 { "_wxObject","_wxControl",SwigwxControlTowxObject},
2d091820
RD
12827 { "_signed_short","_WXTYPE",0},
12828 { "_signed_short","_short",0},
2d091820 12829 { "_unsigned_char","_byte",0},
7a446686 12830 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
f6bcfd97 12831 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
2d091820 12832 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
2d091820 12833 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
2d091820 12834 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
2d091820 12835 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
2d091820 12836 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
2d091820 12837 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
2d091820 12838 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
2d091820 12839 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
2d091820 12840 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
2d091820 12841 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
2d091820 12842 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
2d091820 12843 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
2d091820 12844 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
2d091820 12845 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
2d091820 12846 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
2d091820 12847 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
2d091820 12848 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
2d091820 12849 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
65191ae8 12850 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
4120ef2b 12851 { "_unsigned_int","_wxCoord",0},
2d091820 12852 { "_unsigned_int","_wxPrintQuality",0},
c368d904 12853 { "_unsigned_int","_time_t",0},
2d091820
RD
12854 { "_unsigned_int","_size_t",0},
12855 { "_unsigned_int","_uint",0},
12856 { "_unsigned_int","_wxWindowID",0},
12857 { "_unsigned_int","_int",0},
2d091820
RD
12858 { "_short","_WXTYPE",0},
12859 { "_short","_unsigned_short",0},
12860 { "_short","_signed_short",0},
65191ae8 12861 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
65191ae8 12862 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
65191ae8 12863 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
4120ef2b 12864 { "_wxWindowID","_wxCoord",0},
2d091820 12865 { "_wxWindowID","_wxPrintQuality",0},
c368d904 12866 { "_wxWindowID","_time_t",0},
2d091820
RD
12867 { "_wxWindowID","_size_t",0},
12868 { "_wxWindowID","_EBool",0},
12869 { "_wxWindowID","_uint",0},
12870 { "_wxWindowID","_int",0},
12871 { "_wxWindowID","_signed_int",0},
12872 { "_wxWindowID","_unsigned_int",0},
4120ef2b 12873 { "_int","_wxCoord",0},
2d091820 12874 { "_int","_wxPrintQuality",0},
c368d904 12875 { "_int","_time_t",0},
2d091820
RD
12876 { "_int","_size_t",0},
12877 { "_int","_EBool",0},
12878 { "_int","_uint",0},
12879 { "_int","_wxWindowID",0},
12880 { "_int","_unsigned_int",0},
12881 { "_int","_signed_int",0},
c368d904
RD
12882 { "_time_t","_wxCoord",0},
12883 { "_time_t","_wxPrintQuality",0},
12884 { "_time_t","_unsigned_int",0},
12885 { "_time_t","_int",0},
12886 { "_time_t","_wxWindowID",0},
12887 { "_time_t","_uint",0},
12888 { "_time_t","_size_t",0},
2d091820 12889 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
4120ef2b
RD
12890 { "_wxCoord","_int",0},
12891 { "_wxCoord","_signed_int",0},
12892 { "_wxCoord","_unsigned_int",0},
12893 { "_wxCoord","_wxWindowID",0},
12894 { "_wxCoord","_uint",0},
12895 { "_wxCoord","_EBool",0},
12896 { "_wxCoord","_size_t",0},
c368d904 12897 { "_wxCoord","_time_t",0},
4120ef2b 12898 { "_wxCoord","_wxPrintQuality",0},
7a446686 12899 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
f6bcfd97 12900 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
2d091820 12901 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
2d091820 12902 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
2d091820 12903 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
2d091820 12904 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
2d091820 12905 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
2d091820 12906 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
2d091820 12907 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
2d091820 12908 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
2d091820 12909 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
2d091820 12910 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
2d091820 12911 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
2d091820 12912 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
2d091820 12913 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
2d091820 12914 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
2d091820 12915 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
2d091820 12916 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
2d091820 12917 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
2d091820 12918 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
65191ae8 12919 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
2d091820 12920 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
7a446686 12921 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
f6bcfd97 12922 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
2d091820 12923 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
2d091820 12924 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
2d091820 12925 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
2d091820 12926 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
2d091820 12927 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
2d091820 12928 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
2d091820 12929 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
2d091820 12930 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
2d091820 12931 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
2d091820 12932 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
2d091820 12933 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
2d091820 12934 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
2d091820 12935 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
2d091820 12936 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
2d091820 12937 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
2d091820 12938 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
2d091820 12939 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
2d091820 12940 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
65191ae8 12941 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
2d091820 12942 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
2d091820
RD
12943{0,0,0}};
12944
70551f47
RD
12945static PyObject *SWIG_globals;
12946#ifdef __cplusplus
12947extern "C"
12948#endif
2d091820 12949SWIGEXPORT(void) initcontrolsc() {
70551f47
RD
12950 PyObject *m, *d;
12951 SWIG_globals = SWIG_newvarlink();
12952 m = Py_InitModule("controlsc", controlscMethods);
12953 d = PyModule_GetDict(m);
37f6a977
RD
12954 PyDict_SetItemString(d,"cvar", SWIG_globals);
12955 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
7ea515ab
RD
12956 PyDict_SetItemString(d,"wxCHK_2STATE", PyInt_FromLong((long) wxCHK_2STATE));
12957 PyDict_SetItemString(d,"wxCHK_3STATE", PyInt_FromLong((long) wxCHK_3STATE));
12958 PyDict_SetItemString(d,"wxCHK_ALLOW_3RD_STATE_FOR_USER", PyInt_FromLong((long) wxCHK_ALLOW_3RD_STATE_FOR_USER));
12959 PyDict_SetItemString(d,"wxCHK_UNCHECKED", PyInt_FromLong((long) wxCHK_UNCHECKED));
12960 PyDict_SetItemString(d,"wxCHK_CHECKED", PyInt_FromLong((long) wxCHK_CHECKED));
12961 PyDict_SetItemString(d,"wxCHK_UNDETERMINED", PyInt_FromLong((long) wxCHK_UNDETERMINED));
3ef86e32
RD
12962 PyDict_SetItemString(d,"wxTE_NO_VSCROLL", PyInt_FromLong((long) wxTE_NO_VSCROLL));
12963 PyDict_SetItemString(d,"wxTE_AUTO_SCROLL", PyInt_FromLong((long) wxTE_AUTO_SCROLL));
12964 PyDict_SetItemString(d,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY));
12965 PyDict_SetItemString(d,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE));
12966 PyDict_SetItemString(d,"wxTE_PROCESS_TAB", PyInt_FromLong((long) wxTE_PROCESS_TAB));
12967 PyDict_SetItemString(d,"wxTE_LEFT", PyInt_FromLong((long) wxTE_LEFT));
12968 PyDict_SetItemString(d,"wxTE_CENTER", PyInt_FromLong((long) wxTE_CENTER));
12969 PyDict_SetItemString(d,"wxTE_RIGHT", PyInt_FromLong((long) wxTE_RIGHT));
12970 PyDict_SetItemString(d,"wxTE_CENTRE", PyInt_FromLong((long) wxTE_CENTRE));
12971 PyDict_SetItemString(d,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH));
12972 PyDict_SetItemString(d,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER));
12973 PyDict_SetItemString(d,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD));
12974 PyDict_SetItemString(d,"wxTE_AUTO_URL", PyInt_FromLong((long) wxTE_AUTO_URL));
12975 PyDict_SetItemString(d,"wxTE_NOHIDESEL", PyInt_FromLong((long) wxTE_NOHIDESEL));
12976 PyDict_SetItemString(d,"wxTE_DONTWRAP", PyInt_FromLong((long) wxTE_DONTWRAP));
12977 PyDict_SetItemString(d,"wxTE_LINEWRAP", PyInt_FromLong((long) wxTE_LINEWRAP));
12978 PyDict_SetItemString(d,"wxTE_WORDWRAP", PyInt_FromLong((long) wxTE_WORDWRAP));
12979 PyDict_SetItemString(d,"wxTE_RICH2", PyInt_FromLong((long) wxTE_RICH2));
12980 PyDict_SetItemString(d,"wxTEXT_ATTR_TEXT_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_TEXT_COLOUR));
12981 PyDict_SetItemString(d,"wxTEXT_ATTR_BACKGROUND_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_BACKGROUND_COLOUR));
12982 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_FACE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_FACE));
12983 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_SIZE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_SIZE));
12984 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_WEIGHT", PyInt_FromLong((long) wxTEXT_ATTR_FONT_WEIGHT));
12985 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_ITALIC", PyInt_FromLong((long) wxTEXT_ATTR_FONT_ITALIC));
12986 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_UNDERLINE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_UNDERLINE));
12987 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT", PyInt_FromLong((long) wxTEXT_ATTR_FONT));
12988 PyDict_SetItemString(d,"wxTEXT_ATTR_ALIGNMENT", PyInt_FromLong((long) wxTEXT_ATTR_ALIGNMENT));
12989 PyDict_SetItemString(d,"wxTEXT_ATTR_LEFT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_LEFT_INDENT));
12990 PyDict_SetItemString(d,"wxTEXT_ATTR_RIGHT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_RIGHT_INDENT));
12991 PyDict_SetItemString(d,"wxTEXT_ATTR_TABS", PyInt_FromLong((long) wxTEXT_ATTR_TABS));
12992 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_DEFAULT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_DEFAULT));
12993 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_LEFT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_LEFT));
12994 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_CENTRE", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTRE));
12995 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_CENTER", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTER));
12996 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_RIGHT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_RIGHT));
12997 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_JUSTIFIED", PyInt_FromLong((long) wxTEXT_ALIGNMENT_JUSTIFIED));
7a446686 12998 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
2d091820
RD
12999{
13000 int i;
13001 for (i = 0; _swig_mapping[i].n1; i++)
13002 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
13003}
70551f47 13004}