]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls.cpp
Show how to iterate selected items in a wxListCtrl.
[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
65191ae8
RD
2194static void *SwigwxChoiceTowxControlWithItems(void *ptr) {
2195 wxChoice *src;
2196 wxControlWithItems *dest;
2197 src = (wxChoice *) ptr;
2198 dest = (wxControlWithItems *) src;
2199 return (void *) dest;
2200}
2201
70551f47
RD
2202static void *SwigwxChoiceTowxControl(void *ptr) {
2203 wxChoice *src;
2204 wxControl *dest;
2205 src = (wxChoice *) ptr;
2206 dest = (wxControl *) src;
2207 return (void *) dest;
2208}
2209
2210static void *SwigwxChoiceTowxWindow(void *ptr) {
2211 wxChoice *src;
2212 wxWindow *dest;
2213 src = (wxChoice *) ptr;
2214 dest = (wxWindow *) src;
2215 return (void *) dest;
2216}
2217
2218static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
2219 wxChoice *src;
2220 wxEvtHandler *dest;
2221 src = (wxChoice *) ptr;
2222 dest = (wxEvtHandler *) src;
2223 return (void *) dest;
2224}
2225
9df61a29
RD
2226static void *SwigwxChoiceTowxObject(void *ptr) {
2227 wxChoice *src;
2228 wxObject *dest;
2229 src = (wxChoice *) ptr;
2230 dest = (wxObject *) src;
2231 return (void *) dest;
2232}
2233
70551f47 2234#define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
107e4716 2235static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2236 PyObject * _resultobj;
2237 wxChoice * _result;
2238 wxWindow * _arg0;
2239 wxWindowID _arg1;
b68dc582
RD
2240 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2241 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
2242 int _arg4 = (int ) 0;
2243 wxString * _arg5 = (wxString *) NULL;
2244 long _arg6 = (long ) 0;
b68dc582 2245 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2246 wxString * _arg8 = (wxString *) &wxPyChoiceNameStr;
2d091820 2247 PyObject * _argo0 = 0;
37f6a977
RD
2248 wxPoint temp;
2249 PyObject * _obj2 = 0;
2250 wxSize temp0;
2251 PyObject * _obj3 = 0;
70551f47 2252 PyObject * _obj5 = 0;
2d091820 2253 PyObject * _argo7 = 0;
9a74fcaf 2254 PyObject * _obj8 = 0;
e02c03a4 2255 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
70551f47
RD
2256 char _ptemp[128];
2257
2258 self = self;
9a74fcaf 2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
70551f47 2260 return NULL;
2d091820
RD
2261 if (_argo0) {
2262 if (_argo0 == Py_None) { _arg0 = NULL; }
2263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2265 return NULL;
2266 }
2267 }
37f6a977
RD
2268 if (_obj2)
2269{
2270 _arg2 = &temp;
2271 if (! wxPoint_helper(_obj2, &_arg2))
70551f47 2272 return NULL;
37f6a977
RD
2273}
2274 if (_obj3)
2275{
2276 _arg3 = &temp0;
2277 if (! wxSize_helper(_obj3, &_arg3))
70551f47 2278 return NULL;
37f6a977 2279}
70551f47
RD
2280 if (_obj5)
2281{
2282 _arg5 = wxString_LIST_helper(_obj5);
2283 if (_arg5 == NULL) {
2284 return NULL;
2285 }
2286}
2d091820 2287 if (_argo7) {
b67a9327 2288 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
70551f47
RD
2289 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2290 return NULL;
2291 }
2292 }
9a74fcaf
RD
2293 if (_obj8)
2294{
2295 _arg8 = wxString_in_helper(_obj8);
2296 if (_arg8 == NULL)
2297 return NULL;
2298}
70551f47 2299{
ab9bc19b
RD
2300 if (_obj5) {
2301 _arg4 = PyList_Size(_obj5);
2302 }
2303 else {
2304 _arg4 = 0;
2305 }
70551f47 2306}
ab9bc19b 2307{
474c48f9 2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2309 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
ab9bc19b 2310
474c48f9 2311 wxPyEndAllowThreads(__tstate);
4dfaa61e 2312 if (PyErr_Occurred()) return NULL;
2d091820
RD
2313} if (_result) {
2314 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2315 _resultobj = Py_BuildValue("s",_ptemp);
2316 } else {
2317 Py_INCREF(Py_None);
2318 _resultobj = Py_None;
2319 }
70551f47
RD
2320{
2321 delete [] _arg5;
9a74fcaf
RD
2322}
2323{
2324 if (_obj8)
2325 delete _arg8;
70551f47
RD
2326}
2327 return _resultobj;
2328}
2329
aa2a5b86
RD
2330#define new_wxPreChoice() (new wxChoice())
2331static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2332 PyObject * _resultobj;
aa2a5b86
RD
2333 wxChoice * _result;
2334 char *_kwnames[] = { NULL };
2335 char _ptemp[128];
70551f47
RD
2336
2337 self = self;
aa2a5b86
RD
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
2339 return NULL;
2340{
474c48f9 2341 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2342 _result = (wxChoice *)new_wxPreChoice();
aa2a5b86 2343
474c48f9 2344 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2345 if (PyErr_Occurred()) return NULL;
2346} if (_result) {
2347 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2348 _resultobj = Py_BuildValue("s",_ptemp);
2349 } else {
2350 Py_INCREF(Py_None);
2351 _resultobj = Py_None;
2352 }
2353 return _resultobj;
2354}
2355
2356#define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2357static PyObject *_wrap_wxChoice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject * _resultobj;
2359 bool _result;
2360 wxChoice * _arg0;
2361 wxWindow * _arg1;
2362 wxWindowID _arg2;
2363 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2364 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2365 int _arg5 = (int ) 0;
2366 wxString * _arg6 = (wxString *) NULL;
2367 long _arg7 = (long ) 0;
2368 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2369 wxString * _arg9 = (wxString *) &wxPyChoiceNameStr;
aa2a5b86
RD
2370 PyObject * _argo0 = 0;
2371 PyObject * _argo1 = 0;
2372 wxPoint temp;
2373 PyObject * _obj3 = 0;
2374 wxSize temp0;
2375 PyObject * _obj4 = 0;
2376 PyObject * _obj6 = 0;
2377 PyObject * _argo8 = 0;
9a74fcaf 2378 PyObject * _obj9 = 0;
aa2a5b86
RD
2379 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
2380
2381 self = self;
9a74fcaf 2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
aa2a5b86
RD
2383 return NULL;
2384 if (_argo0) {
2385 if (_argo0 == Py_None) { _arg0 = NULL; }
2386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2388 return NULL;
2389 }
2390 }
2391 if (_argo1) {
2392 if (_argo1 == Py_None) { _arg1 = NULL; }
2393 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2395 return NULL;
2396 }
2397 }
2398 if (_obj3)
2399{
2400 _arg3 = &temp;
2401 if (! wxPoint_helper(_obj3, &_arg3))
2402 return NULL;
2403}
2404 if (_obj4)
2405{
2406 _arg4 = &temp0;
2407 if (! wxSize_helper(_obj4, &_arg4))
2408 return NULL;
2409}
2410 if (_obj6)
2411{
2412 _arg6 = wxString_LIST_helper(_obj6);
2413 if (_arg6 == NULL) {
2414 return NULL;
2415 }
2416}
2417 if (_argo8) {
b67a9327 2418 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
aa2a5b86
RD
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2420 return NULL;
2421 }
2422 }
9a74fcaf
RD
2423 if (_obj9)
2424{
2425 _arg9 = wxString_in_helper(_obj9);
2426 if (_arg9 == NULL)
2427 return NULL;
2428}
aa2a5b86
RD
2429{
2430 if (_obj6) {
65191ae8
RD
2431 _arg5 = PyList_Size(_obj6);
2432 }
2433 else {
2434 _arg5 = 0;
70551f47 2435 }
65191ae8 2436}
70551f47 2437{
474c48f9 2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2439 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
ab9bc19b 2440
474c48f9 2441 wxPyEndAllowThreads(__tstate);
4dfaa61e 2442 if (PyErr_Occurred()) return NULL;
65191ae8 2443} _resultobj = Py_BuildValue("i",_result);
70551f47 2444{
65191ae8 2445 delete [] _arg6;
9a74fcaf
RD
2446}
2447{
2448 if (_obj9)
2449 delete _arg9;
70551f47
RD
2450}
2451 return _resultobj;
2452}
2453
65191ae8
RD
2454#define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2455static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 2456 PyObject * _resultobj;
70551f47 2457 wxChoice * _arg0;
2d091820 2458 PyObject * _argo0 = 0;
107e4716 2459 char *_kwnames[] = { "self", NULL };
70551f47
RD
2460
2461 self = self;
65191ae8 2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
70551f47 2463 return NULL;
2d091820
RD
2464 if (_argo0) {
2465 if (_argo0 == Py_None) { _arg0 = NULL; }
2466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
65191ae8 2467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
70551f47
RD
2468 return NULL;
2469 }
2470 }
70551f47 2471{
474c48f9 2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2473 wxChoice_Clear(_arg0);
ab9bc19b 2474
474c48f9 2475 wxPyEndAllowThreads(__tstate);
4dfaa61e 2476 if (PyErr_Occurred()) return NULL;
65191ae8
RD
2477} Py_INCREF(Py_None);
2478 _resultobj = Py_None;
70551f47
RD
2479 return _resultobj;
2480}
2481
65191ae8
RD
2482#define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2483static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2484 PyObject * _resultobj;
2485 int _result;
2486 wxChoice * _arg0;
2d091820 2487 PyObject * _argo0 = 0;
107e4716 2488 char *_kwnames[] = { "self", NULL };
70551f47
RD
2489
2490 self = self;
65191ae8 2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
70551f47 2492 return NULL;
2d091820
RD
2493 if (_argo0) {
2494 if (_argo0 == Py_None) { _arg0 = NULL; }
2495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
65191ae8 2496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
70551f47
RD
2497 return NULL;
2498 }
2499 }
ab9bc19b 2500{
474c48f9 2501 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2502 _result = (int )wxChoice_GetColumns(_arg0);
ab9bc19b 2503
474c48f9 2504 wxPyEndAllowThreads(__tstate);
4dfaa61e 2505 if (PyErr_Occurred()) return NULL;
ab9bc19b 2506} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
2507 return _resultobj;
2508}
2509
2510#define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
107e4716 2511static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2512 PyObject * _resultobj;
2513 wxChoice * _arg0;
2d091820
RD
2514 int _arg1 = (int ) 1;
2515 PyObject * _argo0 = 0;
107e4716 2516 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2517
2518 self = self;
107e4716 2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
70551f47 2520 return NULL;
2d091820
RD
2521 if (_argo0) {
2522 if (_argo0 == Py_None) { _arg0 = NULL; }
2523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2525 return NULL;
2526 }
2527 }
ab9bc19b 2528{
474c48f9 2529 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2530 wxChoice_SetColumns(_arg0,_arg1);
ab9bc19b 2531
474c48f9 2532 wxPyEndAllowThreads(__tstate);
4dfaa61e 2533 if (PyErr_Occurred()) return NULL;
ab9bc19b 2534} Py_INCREF(Py_None);
70551f47
RD
2535 _resultobj = Py_None;
2536 return _resultobj;
2537}
2538
2539#define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 2540static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2541 PyObject * _resultobj;
2542 wxChoice * _arg0;
2543 int _arg1;
2d091820 2544 PyObject * _argo0 = 0;
107e4716 2545 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
2546
2547 self = self;
107e4716 2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 2549 return NULL;
2d091820
RD
2550 if (_argo0) {
2551 if (_argo0 == Py_None) { _arg0 = NULL; }
2552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2554 return NULL;
2555 }
2556 }
ab9bc19b 2557{
474c48f9 2558 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2559 wxChoice_SetSelection(_arg0,_arg1);
ab9bc19b 2560
474c48f9 2561 wxPyEndAllowThreads(__tstate);
4dfaa61e 2562 if (PyErr_Occurred()) return NULL;
ab9bc19b 2563} Py_INCREF(Py_None);
70551f47
RD
2564 _resultobj = Py_None;
2565 return _resultobj;
2566}
2567
2568#define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
107e4716 2569static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2570 PyObject * _resultobj;
2571 wxChoice * _arg0;
2572 wxString * _arg1;
2d091820 2573 PyObject * _argo0 = 0;
70551f47 2574 PyObject * _obj1 = 0;
107e4716 2575 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
2576
2577 self = self;
107e4716 2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
70551f47 2579 return NULL;
2d091820
RD
2580 if (_argo0) {
2581 if (_argo0 == Py_None) { _arg0 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
70551f47
RD
2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2584 return NULL;
2585 }
2586 }
2587{
c8bc7bb8
RD
2588 _arg1 = wxString_in_helper(_obj1);
2589 if (_arg1 == NULL)
2cd2fac8 2590 return NULL;
70551f47 2591}
ab9bc19b 2592{
474c48f9 2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2594 wxChoice_SetStringSelection(_arg0,*_arg1);
ab9bc19b 2595
474c48f9 2596 wxPyEndAllowThreads(__tstate);
4dfaa61e 2597 if (PyErr_Occurred()) return NULL;
ab9bc19b 2598} Py_INCREF(Py_None);
70551f47
RD
2599 _resultobj = Py_None;
2600{
2601 if (_obj1)
2602 delete _arg1;
2603}
2604 return _resultobj;
2605}
2606
2c8a649d
RD
2607#define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2608static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2609 PyObject * _resultobj;
2610 wxChoice * _arg0;
2611 int _arg1;
2612 wxString * _arg2;
2613 PyObject * _argo0 = 0;
2614 PyObject * _obj2 = 0;
2615 char *_kwnames[] = { "self","n","s", NULL };
2616
2617 self = self;
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
2619 return NULL;
2620 if (_argo0) {
2621 if (_argo0 == Py_None) { _arg0 = NULL; }
2622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2624 return NULL;
2625 }
2626 }
2627{
c8bc7bb8
RD
2628 _arg2 = wxString_in_helper(_obj2);
2629 if (_arg2 == NULL)
2c8a649d 2630 return NULL;
2c8a649d
RD
2631}
2632{
474c48f9 2633 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2634 wxChoice_SetString(_arg0,_arg1,*_arg2);
2c8a649d 2635
474c48f9 2636 wxPyEndAllowThreads(__tstate);
2c8a649d
RD
2637 if (PyErr_Occurred()) return NULL;
2638} Py_INCREF(Py_None);
2639 _resultobj = Py_None;
2640{
2641 if (_obj2)
2642 delete _arg2;
2643}
2644 return _resultobj;
2645}
2646
70551f47
RD
2647static void *SwigwxComboBoxTowxControl(void *ptr) {
2648 wxComboBox *src;
2649 wxControl *dest;
2650 src = (wxComboBox *) ptr;
2651 dest = (wxControl *) src;
2652 return (void *) dest;
2653}
2654
2655static void *SwigwxComboBoxTowxWindow(void *ptr) {
2656 wxComboBox *src;
2657 wxWindow *dest;
2658 src = (wxComboBox *) ptr;
2659 dest = (wxWindow *) src;
2660 return (void *) dest;
2661}
2662
2663static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2664 wxComboBox *src;
2665 wxEvtHandler *dest;
2666 src = (wxComboBox *) ptr;
2667 dest = (wxEvtHandler *) src;
2668 return (void *) dest;
2669}
2670
9df61a29
RD
2671static void *SwigwxComboBoxTowxObject(void *ptr) {
2672 wxComboBox *src;
2673 wxObject *dest;
2674 src = (wxComboBox *) ptr;
2675 dest = (wxObject *) src;
2676 return (void *) dest;
2677}
2678
70551f47 2679#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 2680static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2681 PyObject * _resultobj;
2682 wxComboBox * _result;
2683 wxWindow * _arg0;
2684 wxWindowID _arg1;
9a74fcaf 2685 wxString * _arg2 = (wxString *) &wxPyEmptyString;
b68dc582
RD
2686 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2687 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
2688 int _arg5 = (int ) 0;
2689 wxString * _arg6 = (wxString *) NULL;
2690 long _arg7 = (long ) 0;
b68dc582 2691 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2692 wxString * _arg9 = (wxString *) &wxPyComboBoxNameStr;
2d091820 2693 PyObject * _argo0 = 0;
9a74fcaf 2694 PyObject * _obj2 = 0;
37f6a977
RD
2695 wxPoint temp;
2696 PyObject * _obj3 = 0;
2697 wxSize temp0;
2698 PyObject * _obj4 = 0;
70551f47 2699 PyObject * _obj6 = 0;
2d091820 2700 PyObject * _argo8 = 0;
9a74fcaf 2701 PyObject * _obj9 = 0;
e02c03a4 2702 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
70551f47
RD
2703 char _ptemp[128];
2704
2705 self = self;
9a74fcaf 2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOOlOO:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
70551f47 2707 return NULL;
2d091820
RD
2708 if (_argo0) {
2709 if (_argo0 == Py_None) { _arg0 = NULL; }
2710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
2711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2712 return NULL;
2713 }
2714 }
9a74fcaf
RD
2715 if (_obj2)
2716{
2717 _arg2 = wxString_in_helper(_obj2);
2718 if (_arg2 == NULL)
2719 return NULL;
2720}
37f6a977
RD
2721 if (_obj3)
2722{
2723 _arg3 = &temp;
2724 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 2725 return NULL;
37f6a977
RD
2726}
2727 if (_obj4)
2728{
2729 _arg4 = &temp0;
2730 if (! wxSize_helper(_obj4, &_arg4))
70551f47 2731 return NULL;
37f6a977 2732}
70551f47
RD
2733 if (_obj6)
2734{
2735 _arg6 = wxString_LIST_helper(_obj6);
2736 if (_arg6 == NULL) {
2737 return NULL;
2738 }
2739}
2d091820 2740 if (_argo8) {
b67a9327 2741 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
70551f47
RD
2742 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2743 return NULL;
2744 }
2745 }
9a74fcaf
RD
2746 if (_obj9)
2747{
2748 _arg9 = wxString_in_helper(_obj9);
2749 if (_arg9 == NULL)
2750 return NULL;
2751}
70551f47 2752{
ab9bc19b
RD
2753 if (_obj6) {
2754 _arg5 = PyList_Size(_obj6);
2755 }
2756 else {
2757 _arg5 = 0;
2758 }
70551f47 2759}
ab9bc19b 2760{
474c48f9 2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2762 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
ab9bc19b 2763
474c48f9 2764 wxPyEndAllowThreads(__tstate);
4dfaa61e 2765 if (PyErr_Occurred()) return NULL;
2d091820
RD
2766} if (_result) {
2767 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2768 _resultobj = Py_BuildValue("s",_ptemp);
2769 } else {
2770 Py_INCREF(Py_None);
2771 _resultobj = Py_None;
2772 }
9a74fcaf
RD
2773{
2774 if (_obj2)
2775 delete _arg2;
2776}
70551f47
RD
2777{
2778 delete [] _arg6;
9a74fcaf
RD
2779}
2780{
2781 if (_obj9)
2782 delete _arg9;
70551f47
RD
2783}
2784 return _resultobj;
2785}
2786
aa2a5b86
RD
2787#define new_wxPreComboBox() (new wxComboBox())
2788static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject * _resultobj;
2790 wxComboBox * _result;
2791 char *_kwnames[] = { NULL };
2792 char _ptemp[128];
2793
2794 self = self;
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2796 return NULL;
2797{
474c48f9 2798 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2799 _result = (wxComboBox *)new_wxPreComboBox();
aa2a5b86 2800
474c48f9 2801 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2802 if (PyErr_Occurred()) return NULL;
2803} if (_result) {
2804 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2805 _resultobj = Py_BuildValue("s",_ptemp);
2806 } else {
2807 Py_INCREF(Py_None);
2808 _resultobj = Py_None;
2809 }
2810 return _resultobj;
2811}
2812
2813#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))
2814static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2815 PyObject * _resultobj;
2816 bool _result;
2817 wxComboBox * _arg0;
2818 wxWindow * _arg1;
2819 wxWindowID _arg2;
9a74fcaf 2820 wxString * _arg3 = (wxString *) &wxPyEmptyString;
aa2a5b86
RD
2821 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2822 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2823 int _arg6 = (int ) 0;
2824 wxString * _arg7 = (wxString *) NULL;
2825 long _arg8 = (long ) 0;
2826 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 2827 wxString * _arg10 = (wxString *) &wxPyComboBoxNameStr;
aa2a5b86
RD
2828 PyObject * _argo0 = 0;
2829 PyObject * _argo1 = 0;
9a74fcaf 2830 PyObject * _obj3 = 0;
aa2a5b86
RD
2831 wxPoint temp;
2832 PyObject * _obj4 = 0;
2833 wxSize temp0;
2834 PyObject * _obj5 = 0;
2835 PyObject * _obj7 = 0;
2836 PyObject * _argo9 = 0;
9a74fcaf 2837 PyObject * _obj10 = 0;
aa2a5b86
RD
2838 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2839
2840 self = self;
9a74fcaf 2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOOlOO:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_obj10))
aa2a5b86
RD
2842 return NULL;
2843 if (_argo0) {
2844 if (_argo0 == Py_None) { _arg0 = NULL; }
2845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2847 return NULL;
2848 }
2849 }
2850 if (_argo1) {
2851 if (_argo1 == Py_None) { _arg1 = NULL; }
2852 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2853 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2854 return NULL;
2855 }
2856 }
9a74fcaf
RD
2857 if (_obj3)
2858{
2859 _arg3 = wxString_in_helper(_obj3);
2860 if (_arg3 == NULL)
2861 return NULL;
2862}
aa2a5b86
RD
2863 if (_obj4)
2864{
2865 _arg4 = &temp;
2866 if (! wxPoint_helper(_obj4, &_arg4))
2867 return NULL;
2868}
2869 if (_obj5)
2870{
2871 _arg5 = &temp0;
2872 if (! wxSize_helper(_obj5, &_arg5))
2873 return NULL;
2874}
2875 if (_obj7)
2876{
2877 _arg7 = wxString_LIST_helper(_obj7);
2878 if (_arg7 == NULL) {
2879 return NULL;
2880 }
2881}
2882 if (_argo9) {
b67a9327 2883 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
aa2a5b86
RD
2884 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2885 return NULL;
2886 }
2887 }
9a74fcaf
RD
2888 if (_obj10)
2889{
2890 _arg10 = wxString_in_helper(_obj10);
2891 if (_arg10 == NULL)
2892 return NULL;
2893}
aa2a5b86
RD
2894{
2895 if (_obj7) {
2896 _arg6 = PyList_Size(_obj7);
2897 }
2898 else {
2899 _arg6 = 0;
2900 }
2901}
2902{
474c48f9 2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 2904 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
aa2a5b86 2905
474c48f9 2906 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
2907 if (PyErr_Occurred()) return NULL;
2908} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
2909{
2910 if (_obj3)
2911 delete _arg3;
2912}
aa2a5b86
RD
2913{
2914 delete [] _arg7;
9a74fcaf
RD
2915}
2916{
2917 if (_obj10)
2918 delete _arg10;
aa2a5b86
RD
2919}
2920 return _resultobj;
2921}
2922
70551f47 2923#define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
107e4716 2924static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2925 PyObject * _resultobj;
2926 wxComboBox * _arg0;
2d091820 2927 PyObject * _argo0 = 0;
107e4716 2928 char *_kwnames[] = { "self", NULL };
70551f47
RD
2929
2930 self = self;
107e4716 2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
70551f47 2932 return NULL;
2d091820
RD
2933 if (_argo0) {
2934 if (_argo0 == Py_None) { _arg0 = NULL; }
2935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2937 return NULL;
2938 }
2939 }
ab9bc19b 2940{
474c48f9 2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2942 wxComboBox_Copy(_arg0);
ab9bc19b 2943
474c48f9 2944 wxPyEndAllowThreads(__tstate);
4dfaa61e 2945 if (PyErr_Occurred()) return NULL;
ab9bc19b 2946} Py_INCREF(Py_None);
70551f47
RD
2947 _resultobj = Py_None;
2948 return _resultobj;
2949}
2950
2951#define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
107e4716 2952static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2953 PyObject * _resultobj;
2954 wxComboBox * _arg0;
2d091820 2955 PyObject * _argo0 = 0;
107e4716 2956 char *_kwnames[] = { "self", NULL };
70551f47
RD
2957
2958 self = self;
107e4716 2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
70551f47 2960 return NULL;
2d091820
RD
2961 if (_argo0) {
2962 if (_argo0 == Py_None) { _arg0 = NULL; }
2963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
2964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2965 return NULL;
2966 }
2967 }
ab9bc19b 2968{
474c48f9 2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2970 wxComboBox_Cut(_arg0);
ab9bc19b 2971
474c48f9 2972 wxPyEndAllowThreads(__tstate);
4dfaa61e 2973 if (PyErr_Occurred()) return NULL;
ab9bc19b 2974} Py_INCREF(Py_None);
70551f47
RD
2975 _resultobj = Py_None;
2976 return _resultobj;
2977}
2978
70551f47 2979#define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
107e4716 2980static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
2981 PyObject * _resultobj;
2982 long _result;
2983 wxComboBox * _arg0;
2d091820 2984 PyObject * _argo0 = 0;
65191ae8 2985 char *_kwnames[] = { "self", NULL };
70551f47
RD
2986
2987 self = self;
65191ae8 2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
70551f47 2989 return NULL;
2d091820
RD
2990 if (_argo0) {
2991 if (_argo0 == Py_None) { _arg0 = NULL; }
2992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
65191ae8 2993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
70551f47
RD
2994 return NULL;
2995 }
2996 }
70551f47 2997{
474c48f9 2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 2999 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
ab9bc19b 3000
474c48f9 3001 wxPyEndAllowThreads(__tstate);
4dfaa61e 3002 if (PyErr_Occurred()) return NULL;
65191ae8 3003} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
3004 return _resultobj;
3005}
3006
65191ae8
RD
3007#define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3008static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 3009 PyObject * _resultobj;
65191ae8 3010 long _result;
70551f47 3011 wxComboBox * _arg0;
2d091820 3012 PyObject * _argo0 = 0;
107e4716 3013 char *_kwnames[] = { "self", NULL };
70551f47
RD
3014
3015 self = self;
65191ae8 3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
70551f47 3017 return NULL;
2d091820
RD
3018 if (_argo0) {
3019 if (_argo0 == Py_None) { _arg0 = NULL; }
3020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
65191ae8 3021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
70551f47
RD
3022 return NULL;
3023 }
3024 }
70551f47 3025{
474c48f9 3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3027 _result = (long )wxComboBox_GetLastPosition(_arg0);
ab9bc19b 3028
474c48f9 3029 wxPyEndAllowThreads(__tstate);
4dfaa61e 3030 if (PyErr_Occurred()) return NULL;
65191ae8 3031} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
3032 return _resultobj;
3033}
3034
3035#define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 3036static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3037 PyObject * _resultobj;
3038 wxString * _result;
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_GetValue",_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_GetValue. Expected _wxComboBox_p.");
3050 return NULL;
3051 }
3052 }
70551f47 3053{
474c48f9 3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3055 _result = new wxString (wxComboBox_GetValue(_arg0));
ab9bc19b 3056
474c48f9 3057 wxPyEndAllowThreads(__tstate);
4dfaa61e 3058 if (PyErr_Occurred()) return NULL;
ab9bc19b 3059}{
c8bc7bb8 3060#if wxUSE_UNICODE
b67a9327 3061 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 3062#else
e02c03a4 3063 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3064#endif
70551f47
RD
3065}
3066{
3067 delete _result;
3068}
3069 return _resultobj;
3070}
3071
70551f47 3072#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
107e4716 3073static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3074 PyObject * _resultobj;
3075 wxComboBox * _arg0;
2d091820 3076 PyObject * _argo0 = 0;
107e4716 3077 char *_kwnames[] = { "self", NULL };
70551f47
RD
3078
3079 self = self;
107e4716 3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
70551f47 3081 return NULL;
2d091820
RD
3082 if (_argo0) {
3083 if (_argo0 == Py_None) { _arg0 = NULL; }
3084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3086 return NULL;
3087 }
3088 }
ab9bc19b 3089{
474c48f9 3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3091 wxComboBox_Paste(_arg0);
ab9bc19b 3092
474c48f9 3093 wxPyEndAllowThreads(__tstate);
4dfaa61e 3094 if (PyErr_Occurred()) return NULL;
ab9bc19b 3095} Py_INCREF(Py_None);
70551f47
RD
3096 _resultobj = Py_None;
3097 return _resultobj;
3098}
3099
3100#define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
107e4716 3101static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3102 PyObject * _resultobj;
3103 wxComboBox * _arg0;
3104 long _arg1;
3105 long _arg2;
3106 wxString * _arg3;
2d091820 3107 PyObject * _argo0 = 0;
70551f47 3108 PyObject * _obj3 = 0;
107e4716 3109 char *_kwnames[] = { "self","from","to","text", NULL };
70551f47
RD
3110
3111 self = self;
107e4716 3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
70551f47 3113 return NULL;
2d091820
RD
3114 if (_argo0) {
3115 if (_argo0 == Py_None) { _arg0 = NULL; }
3116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3118 return NULL;
3119 }
3120 }
3121{
c8bc7bb8
RD
3122 _arg3 = wxString_in_helper(_obj3);
3123 if (_arg3 == NULL)
70551f47 3124 return NULL;
70551f47 3125}
ab9bc19b 3126{
474c48f9 3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3128 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
ab9bc19b 3129
474c48f9 3130 wxPyEndAllowThreads(__tstate);
4dfaa61e 3131 if (PyErr_Occurred()) return NULL;
ab9bc19b 3132} Py_INCREF(Py_None);
70551f47
RD
3133 _resultobj = Py_None;
3134{
3135 if (_obj3)
3136 delete _arg3;
3137}
3138 return _resultobj;
3139}
3140
3141#define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
107e4716 3142static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3143 PyObject * _resultobj;
3144 wxComboBox * _arg0;
3145 long _arg1;
3146 long _arg2;
2d091820 3147 PyObject * _argo0 = 0;
107e4716 3148 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
3149
3150 self = self;
107e4716 3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 3152 return NULL;
2d091820
RD
3153 if (_argo0) {
3154 if (_argo0 == Py_None) { _arg0 = NULL; }
3155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3157 return NULL;
3158 }
3159 }
ab9bc19b 3160{
474c48f9 3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3162 wxComboBox_Remove(_arg0,_arg1,_arg2);
ab9bc19b 3163
474c48f9 3164 wxPyEndAllowThreads(__tstate);
4dfaa61e 3165 if (PyErr_Occurred()) return NULL;
ab9bc19b 3166} Py_INCREF(Py_None);
70551f47
RD
3167 _resultobj = Py_None;
3168 return _resultobj;
3169}
3170
3171#define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
107e4716 3172static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3173 PyObject * _resultobj;
3174 wxComboBox * _arg0;
3175 long _arg1;
2d091820 3176 PyObject * _argo0 = 0;
107e4716 3177 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
3178
3179 self = self;
107e4716 3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
70551f47 3181 return NULL;
2d091820
RD
3182 if (_argo0) {
3183 if (_argo0 == Py_None) { _arg0 = NULL; }
3184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3186 return NULL;
3187 }
3188 }
ab9bc19b 3189{
474c48f9 3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3191 wxComboBox_SetInsertionPoint(_arg0,_arg1);
ab9bc19b 3192
474c48f9 3193 wxPyEndAllowThreads(__tstate);
4dfaa61e 3194 if (PyErr_Occurred()) return NULL;
ab9bc19b 3195} Py_INCREF(Py_None);
70551f47
RD
3196 _resultobj = Py_None;
3197 return _resultobj;
3198}
3199
3200#define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
107e4716 3201static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3202 PyObject * _resultobj;
3203 wxComboBox * _arg0;
2d091820 3204 PyObject * _argo0 = 0;
107e4716 3205 char *_kwnames[] = { "self", NULL };
70551f47
RD
3206
3207 self = self;
107e4716 3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
70551f47 3209 return NULL;
2d091820
RD
3210 if (_argo0) {
3211 if (_argo0 == Py_None) { _arg0 = NULL; }
3212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3214 return NULL;
3215 }
3216 }
ab9bc19b 3217{
474c48f9 3218 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3219 wxComboBox_SetInsertionPointEnd(_arg0);
ab9bc19b 3220
474c48f9 3221 wxPyEndAllowThreads(__tstate);
4dfaa61e 3222 if (PyErr_Occurred()) return NULL;
ab9bc19b 3223} Py_INCREF(Py_None);
70551f47
RD
3224 _resultobj = Py_None;
3225 return _resultobj;
3226}
3227
2d091820 3228#define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 3229static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2d091820
RD
3230 PyObject * _resultobj;
3231 wxComboBox * _arg0;
3232 int _arg1;
3233 PyObject * _argo0 = 0;
107e4716 3234 char *_kwnames[] = { "self","n", NULL };
2d091820
RD
3235
3236 self = self;
107e4716 3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
2d091820
RD
3238 return NULL;
3239 if (_argo0) {
3240 if (_argo0 == Py_None) { _arg0 = NULL; }
3241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3243 return NULL;
3244 }
3245 }
3246{
474c48f9 3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3248 wxComboBox_SetSelection(_arg0,_arg1);
2d091820 3249
474c48f9 3250 wxPyEndAllowThreads(__tstate);
4dfaa61e 3251 if (PyErr_Occurred()) return NULL;
2d091820
RD
3252} Py_INCREF(Py_None);
3253 _resultobj = Py_None;
3254 return _resultobj;
3255}
3256
70551f47 3257#define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 3258static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3259 PyObject * _resultobj;
3260 wxComboBox * _arg0;
3261 long _arg1;
3262 long _arg2;
2d091820 3263 PyObject * _argo0 = 0;
107e4716 3264 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
3265
3266 self = self;
107e4716 3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 3268 return NULL;
2d091820
RD
3269 if (_argo0) {
3270 if (_argo0 == Py_None) { _arg0 = NULL; }
3271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3273 return NULL;
3274 }
3275 }
ab9bc19b 3276{
474c48f9 3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3278 wxComboBox_SetMark(_arg0,_arg1,_arg2);
ab9bc19b 3279
474c48f9 3280 wxPyEndAllowThreads(__tstate);
4dfaa61e 3281 if (PyErr_Occurred()) return NULL;
ab9bc19b 3282} Py_INCREF(Py_None);
70551f47
RD
3283 _resultobj = Py_None;
3284 return _resultobj;
3285}
3286
3287#define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 3288static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3289 PyObject * _resultobj;
3290 wxComboBox * _arg0;
3291 wxString * _arg1;
2d091820 3292 PyObject * _argo0 = 0;
70551f47 3293 PyObject * _obj1 = 0;
107e4716 3294 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
3295
3296 self = self;
107e4716 3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
70551f47 3298 return NULL;
2d091820
RD
3299 if (_argo0) {
3300 if (_argo0 == Py_None) { _arg0 = NULL; }
3301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
70551f47
RD
3302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3303 return NULL;
3304 }
3305 }
3306{
c8bc7bb8
RD
3307 _arg1 = wxString_in_helper(_obj1);
3308 if (_arg1 == NULL)
2cd2fac8 3309 return NULL;
70551f47 3310}
ab9bc19b 3311{
474c48f9 3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3313 wxComboBox_SetValue(_arg0,*_arg1);
ab9bc19b 3314
474c48f9 3315 wxPyEndAllowThreads(__tstate);
4dfaa61e 3316 if (PyErr_Occurred()) return NULL;
ab9bc19b 3317} Py_INCREF(Py_None);
70551f47
RD
3318 _resultobj = Py_None;
3319{
3320 if (_obj1)
3321 delete _arg1;
3322}
3323 return _resultobj;
3324}
3325
2c8a649d
RD
3326#define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3327static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject * _resultobj;
3329 wxComboBox * _arg0;
3330 bool _arg1;
3331 PyObject * _argo0 = 0;
3332 int tempbool1;
3333 char *_kwnames[] = { "self","editable", NULL };
3334
3335 self = self;
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3337 return NULL;
3338 if (_argo0) {
3339 if (_argo0 == Py_None) { _arg0 = NULL; }
3340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3342 return NULL;
3343 }
3344 }
3345 _arg1 = (bool ) tempbool1;
3346{
474c48f9 3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3348 wxComboBox_SetEditable(_arg0,_arg1);
2c8a649d 3349
474c48f9 3350 wxPyEndAllowThreads(__tstate);
2c8a649d
RD
3351 if (PyErr_Occurred()) return NULL;
3352} Py_INCREF(Py_None);
3353 _resultobj = Py_None;
3354 return _resultobj;
3355}
3356
c70fd24f
RD
3357#define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3358static PyObject *_wrap_wxComboBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
3359 PyObject * _resultobj;
3360 wxComboBox * _arg0;
3361 PyObject * _argo0 = 0;
3362 char *_kwnames[] = { "self", NULL };
3363
3364 self = self;
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Clear",_kwnames,&_argo0))
3366 return NULL;
3367 if (_argo0) {
3368 if (_argo0 == Py_None) { _arg0 = NULL; }
3369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
3371 return NULL;
3372 }
3373 }
3374{
474c48f9 3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3376 wxComboBox_Clear(_arg0);
c70fd24f 3377
474c48f9 3378 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3379 if (PyErr_Occurred()) return NULL;
3380} Py_INCREF(Py_None);
3381 _resultobj = Py_None;
3382 return _resultobj;
3383}
3384
3385#define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3386static PyObject *_wrap_wxComboBox_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
3387 PyObject * _resultobj;
3388 wxComboBox * _arg0;
3389 int _arg1;
3390 PyObject * _argo0 = 0;
3391 char *_kwnames[] = { "self","n", NULL };
3392
3393 self = self;
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_Delete",_kwnames,&_argo0,&_arg1))
3395 return NULL;
3396 if (_argo0) {
3397 if (_argo0 == Py_None) { _arg0 = NULL; }
3398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
3400 return NULL;
3401 }
3402 }
3403{
474c48f9 3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3405 wxComboBox_Delete(_arg0,_arg1);
c70fd24f 3406
474c48f9 3407 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3408 if (PyErr_Occurred()) return NULL;
3409} Py_INCREF(Py_None);
3410 _resultobj = Py_None;
3411 return _resultobj;
3412}
3413
3414#define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3415static PyObject *_wrap_wxComboBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject * _resultobj;
3417 int _result;
3418 wxComboBox * _arg0;
3419 PyObject * _argo0 = 0;
3420 char *_kwnames[] = { "self", NULL };
3421
3422 self = self;
3423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetCount",_kwnames,&_argo0))
3424 return NULL;
3425 if (_argo0) {
3426 if (_argo0 == Py_None) { _arg0 = NULL; }
3427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
3429 return NULL;
3430 }
3431 }
3432{
474c48f9 3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3434 _result = (int )wxComboBox_GetCount(_arg0);
c70fd24f 3435
474c48f9 3436 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3437 if (PyErr_Occurred()) return NULL;
3438} _resultobj = Py_BuildValue("i",_result);
3439 return _resultobj;
3440}
3441
3442#define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3443static PyObject *_wrap_wxComboBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3444 PyObject * _resultobj;
3445 wxString * _result;
3446 wxComboBox * _arg0;
3447 int _arg1;
3448 PyObject * _argo0 = 0;
3449 char *_kwnames[] = { "self","n", NULL };
3450
3451 self = self;
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetString",_kwnames,&_argo0,&_arg1))
3453 return NULL;
3454 if (_argo0) {
3455 if (_argo0 == Py_None) { _arg0 = NULL; }
3456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3458 return NULL;
3459 }
3460 }
3461{
474c48f9 3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3463 _result = new wxString (wxComboBox_GetString(_arg0,_arg1));
c70fd24f 3464
474c48f9 3465 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3466 if (PyErr_Occurred()) return NULL;
3467}{
c8bc7bb8 3468#if wxUSE_UNICODE
b67a9327 3469 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 3470#else
c70fd24f 3471 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3472#endif
c70fd24f
RD
3473}
3474{
3475 delete _result;
3476}
3477 return _resultobj;
3478}
3479
3480#define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3481static PyObject *_wrap_wxComboBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject * _resultobj;
3483 int _result;
3484 wxComboBox * _arg0;
3485 wxString * _arg1;
3486 PyObject * _argo0 = 0;
3487 PyObject * _obj1 = 0;
3488 char *_kwnames[] = { "self","s", NULL };
3489
3490 self = self;
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_FindString",_kwnames,&_argo0,&_obj1))
3492 return NULL;
3493 if (_argo0) {
3494 if (_argo0 == Py_None) { _arg0 = NULL; }
3495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
3497 return NULL;
3498 }
3499 }
3500{
c8bc7bb8
RD
3501 _arg1 = wxString_in_helper(_obj1);
3502 if (_arg1 == NULL)
c70fd24f 3503 return NULL;
c70fd24f
RD
3504}
3505{
474c48f9 3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3507 _result = (int )wxComboBox_FindString(_arg0,*_arg1);
c70fd24f 3508
474c48f9 3509 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3510 if (PyErr_Occurred()) return NULL;
3511} _resultobj = Py_BuildValue("i",_result);
3512{
3513 if (_obj1)
3514 delete _arg1;
3515}
3516 return _resultobj;
3517}
3518
3519#define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3520static PyObject *_wrap_wxComboBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3521 PyObject * _resultobj;
3522 int _result;
3523 wxComboBox * _arg0;
3524 PyObject * _argo0 = 0;
3525 char *_kwnames[] = { "self", NULL };
3526
3527 self = self;
3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetSelection",_kwnames,&_argo0))
3529 return NULL;
3530 if (_argo0) {
3531 if (_argo0 == Py_None) { _arg0 = NULL; }
3532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
3534 return NULL;
3535 }
3536 }
3537{
474c48f9 3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3539 _result = (int )wxComboBox_GetSelection(_arg0);
c70fd24f 3540
474c48f9 3541 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3542 if (PyErr_Occurred()) return NULL;
3543} _resultobj = Py_BuildValue("i",_result);
3544 return _resultobj;
3545}
3546
3547#define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3548static PyObject *_wrap_wxComboBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3549 PyObject * _resultobj;
3550 wxString * _result;
3551 wxComboBox * _arg0;
3552 PyObject * _argo0 = 0;
3553 char *_kwnames[] = { "self", NULL };
3554
3555 self = self;
3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetStringSelection",_kwnames,&_argo0))
3557 return NULL;
3558 if (_argo0) {
3559 if (_argo0 == Py_None) { _arg0 = NULL; }
3560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3562 return NULL;
3563 }
3564 }
3565{
474c48f9 3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3567 _result = new wxString (wxComboBox_GetStringSelection(_arg0));
c70fd24f 3568
474c48f9 3569 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3570 if (PyErr_Occurred()) return NULL;
3571}{
c8bc7bb8 3572#if wxUSE_UNICODE
b67a9327 3573 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 3574#else
c70fd24f 3575 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 3576#endif
c70fd24f
RD
3577}
3578{
3579 delete _result;
3580}
3581 return _resultobj;
3582}
3583
3584static void wxComboBox_Append(wxComboBox *self,const wxString & item,PyObject * clientData) {
3585 if (clientData) {
3586 wxPyClientData* data = new wxPyClientData(clientData);
3587 self->Append(item, data);
3588 } else
3589 self->Append(item);
3590 }
3591static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject * _resultobj;
3593 wxComboBox * _arg0;
3594 wxString * _arg1;
3595 PyObject * _arg2 = (PyObject *) NULL;
3596 PyObject * _argo0 = 0;
3597 PyObject * _obj1 = 0;
3598 PyObject * _obj2 = 0;
3599 char *_kwnames[] = { "self","item","clientData", NULL };
3600
3601 self = self;
3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxComboBox_Append",_kwnames,&_argo0,&_obj1,&_obj2))
3603 return NULL;
3604 if (_argo0) {
3605 if (_argo0 == Py_None) { _arg0 = NULL; }
3606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
3608 return NULL;
3609 }
3610 }
3611{
c8bc7bb8
RD
3612 _arg1 = wxString_in_helper(_obj1);
3613 if (_arg1 == NULL)
c70fd24f 3614 return NULL;
c70fd24f
RD
3615}
3616 if (_obj2)
3617{
3618 _arg2 = _obj2;
3619}
3620{
474c48f9 3621 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3622 wxComboBox_Append(_arg0,*_arg1,_arg2);
c70fd24f 3623
474c48f9 3624 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3625 if (PyErr_Occurred()) return NULL;
3626} Py_INCREF(Py_None);
3627 _resultobj = Py_None;
3628{
3629 if (_obj1)
3630 delete _arg1;
3631}
3632 return _resultobj;
3633}
3634
3635static PyObject * wxComboBox_GetClientData(wxComboBox *self,int n) {
3636 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
3637 if (data) {
3638 Py_INCREF(data->m_obj);
3639 return data->m_obj;
3640 } else {
3641 Py_INCREF(Py_None);
3642 return Py_None;
3643 }
3644 }
3645static PyObject *_wrap_wxComboBox_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
3646 PyObject * _resultobj;
3647 PyObject * _result;
3648 wxComboBox * _arg0;
3649 int _arg1;
3650 PyObject * _argo0 = 0;
3651 char *_kwnames[] = { "self","n", NULL };
3652
3653 self = self;
3654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetClientData",_kwnames,&_argo0,&_arg1))
3655 return NULL;
3656 if (_argo0) {
3657 if (_argo0 == Py_None) { _arg0 = NULL; }
3658 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3659 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
3660 return NULL;
3661 }
3662 }
3663{
474c48f9 3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3665 _result = (PyObject *)wxComboBox_GetClientData(_arg0,_arg1);
c70fd24f 3666
474c48f9 3667 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3668 if (PyErr_Occurred()) return NULL;
3669}{
3670 _resultobj = _result;
3671}
3672 return _resultobj;
3673}
3674
3675static void wxComboBox_SetClientData(wxComboBox *self,int n,PyObject * clientData) {
3676 wxPyClientData* data = new wxPyClientData(clientData);
3677 self->SetClientObject(n, data);
3678 }
3679static PyObject *_wrap_wxComboBox_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
3680 PyObject * _resultobj;
3681 wxComboBox * _arg0;
3682 int _arg1;
3683 PyObject * _arg2;
3684 PyObject * _argo0 = 0;
3685 PyObject * _obj2 = 0;
3686 char *_kwnames[] = { "self","n","clientData", NULL };
3687
3688 self = self;
3689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxComboBox_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
3690 return NULL;
3691 if (_argo0) {
3692 if (_argo0 == Py_None) { _arg0 = NULL; }
3693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
3695 return NULL;
3696 }
3697 }
3698{
3699 _arg2 = _obj2;
3700}
3701{
474c48f9 3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3703 wxComboBox_SetClientData(_arg0,_arg1,_arg2);
c70fd24f 3704
474c48f9 3705 wxPyEndAllowThreads(__tstate);
c70fd24f
RD
3706 if (PyErr_Occurred()) return NULL;
3707} Py_INCREF(Py_None);
3708 _resultobj = Py_None;
3709 return _resultobj;
3710}
3711
70551f47
RD
3712static void *SwigwxGaugeTowxControl(void *ptr) {
3713 wxGauge *src;
3714 wxControl *dest;
3715 src = (wxGauge *) ptr;
3716 dest = (wxControl *) src;
3717 return (void *) dest;
3718}
3719
3720static void *SwigwxGaugeTowxWindow(void *ptr) {
3721 wxGauge *src;
3722 wxWindow *dest;
3723 src = (wxGauge *) ptr;
3724 dest = (wxWindow *) src;
3725 return (void *) dest;
3726}
3727
3728static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3729 wxGauge *src;
3730 wxEvtHandler *dest;
3731 src = (wxGauge *) ptr;
3732 dest = (wxEvtHandler *) src;
3733 return (void *) dest;
3734}
3735
9df61a29
RD
3736static void *SwigwxGaugeTowxObject(void *ptr) {
3737 wxGauge *src;
3738 wxObject *dest;
3739 src = (wxGauge *) ptr;
3740 dest = (wxObject *) src;
3741 return (void *) dest;
3742}
3743
70551f47 3744#define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 3745static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3746 PyObject * _resultobj;
3747 wxGauge * _result;
3748 wxWindow * _arg0;
3749 wxWindowID _arg1;
3750 int _arg2;
b68dc582
RD
3751 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3752 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 3753 long _arg5 = (long ) wxGA_HORIZONTAL;
b68dc582 3754 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 3755 wxString * _arg7 = (wxString *) &wxPyGaugeNameStr;
2d091820 3756 PyObject * _argo0 = 0;
37f6a977
RD
3757 wxPoint temp;
3758 PyObject * _obj3 = 0;
3759 wxSize temp0;
3760 PyObject * _obj4 = 0;
2d091820 3761 PyObject * _argo6 = 0;
9a74fcaf 3762 PyObject * _obj7 = 0;
107e4716 3763 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
70551f47
RD
3764 char _ptemp[128];
3765
3766 self = self;
9a74fcaf 3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOO:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
70551f47 3768 return NULL;
2d091820
RD
3769 if (_argo0) {
3770 if (_argo0 == Py_None) { _arg0 = NULL; }
3771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
3772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3773 return NULL;
3774 }
3775 }
37f6a977
RD
3776 if (_obj3)
3777{
3778 _arg3 = &temp;
3779 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 3780 return NULL;
37f6a977
RD
3781}
3782 if (_obj4)
3783{
3784 _arg4 = &temp0;
3785 if (! wxSize_helper(_obj4, &_arg4))
70551f47 3786 return NULL;
37f6a977 3787}
2d091820 3788 if (_argo6) {
b67a9327 3789 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
3790 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3791 return NULL;
3792 }
3793 }
9a74fcaf
RD
3794 if (_obj7)
3795{
3796 _arg7 = wxString_in_helper(_obj7);
3797 if (_arg7 == NULL)
3798 return NULL;
3799}
ab9bc19b 3800{
474c48f9 3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 3802 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
ab9bc19b 3803
474c48f9 3804 wxPyEndAllowThreads(__tstate);
4dfaa61e 3805 if (PyErr_Occurred()) return NULL;
2d091820
RD
3806} if (_result) {
3807 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3808 _resultobj = Py_BuildValue("s",_ptemp);
3809 } else {
3810 Py_INCREF(Py_None);
3811 _resultobj = Py_None;
3812 }
9a74fcaf
RD
3813{
3814 if (_obj7)
3815 delete _arg7;
3816}
70551f47
RD
3817 return _resultobj;
3818}
3819
aa2a5b86
RD
3820#define new_wxPreGauge() (new wxGauge())
3821static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3822 PyObject * _resultobj;
3823 wxGauge * _result;
3824 char *_kwnames[] = { NULL };
3825 char _ptemp[128];
3826
3827 self = self;
3828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
3829 return NULL;
3830{
474c48f9 3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3832 _result = (wxGauge *)new_wxPreGauge();
aa2a5b86 3833
474c48f9 3834 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3835 if (PyErr_Occurred()) return NULL;
3836} if (_result) {
3837 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3838 _resultobj = Py_BuildValue("s",_ptemp);
3839 } else {
3840 Py_INCREF(Py_None);
3841 _resultobj = Py_None;
3842 }
3843 return _resultobj;
3844}
3845
3846#define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3847static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3848 PyObject * _resultobj;
3849 bool _result;
3850 wxGauge * _arg0;
3851 wxWindow * _arg1;
3852 wxWindowID _arg2;
3853 int _arg3;
3854 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3855 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3856 long _arg6 = (long ) wxGA_HORIZONTAL;
3857 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 3858 wxString * _arg8 = (wxString *) &wxPyGaugeNameStr;
aa2a5b86
RD
3859 PyObject * _argo0 = 0;
3860 PyObject * _argo1 = 0;
3861 wxPoint temp;
3862 PyObject * _obj4 = 0;
3863 wxSize temp0;
3864 PyObject * _obj5 = 0;
3865 PyObject * _argo7 = 0;
9a74fcaf 3866 PyObject * _obj8 = 0;
aa2a5b86
RD
3867 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
3868
3869 self = self;
9a74fcaf 3870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOO:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
3871 return NULL;
3872 if (_argo0) {
3873 if (_argo0 == Py_None) { _arg0 = NULL; }
3874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3876 return NULL;
3877 }
3878 }
3879 if (_argo1) {
3880 if (_argo1 == Py_None) { _arg1 = NULL; }
3881 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3882 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3883 return NULL;
3884 }
3885 }
3886 if (_obj4)
3887{
3888 _arg4 = &temp;
3889 if (! wxPoint_helper(_obj4, &_arg4))
3890 return NULL;
3891}
3892 if (_obj5)
3893{
3894 _arg5 = &temp0;
3895 if (! wxSize_helper(_obj5, &_arg5))
3896 return NULL;
3897}
3898 if (_argo7) {
b67a9327 3899 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
3900 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3901 return NULL;
3902 }
3903 }
9a74fcaf
RD
3904 if (_obj8)
3905{
3906 _arg8 = wxString_in_helper(_obj8);
3907 if (_arg8 == NULL)
3908 return NULL;
3909}
aa2a5b86 3910{
474c48f9 3911 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 3912 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
aa2a5b86 3913
474c48f9 3914 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
3915 if (PyErr_Occurred()) return NULL;
3916} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
3917{
3918 if (_obj8)
3919 delete _arg8;
3920}
aa2a5b86
RD
3921 return _resultobj;
3922}
3923
70551f47 3924#define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
107e4716 3925static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3926 PyObject * _resultobj;
3927 int _result;
3928 wxGauge * _arg0;
2d091820 3929 PyObject * _argo0 = 0;
107e4716 3930 char *_kwnames[] = { "self", NULL };
70551f47
RD
3931
3932 self = self;
107e4716 3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
70551f47 3934 return NULL;
2d091820
RD
3935 if (_argo0) {
3936 if (_argo0 == Py_None) { _arg0 = NULL; }
3937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3939 return NULL;
3940 }
3941 }
ab9bc19b 3942{
474c48f9 3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3944 _result = (int )wxGauge_GetBezelFace(_arg0);
ab9bc19b 3945
474c48f9 3946 wxPyEndAllowThreads(__tstate);
4dfaa61e 3947 if (PyErr_Occurred()) return NULL;
ab9bc19b 3948} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3949 return _resultobj;
3950}
3951
3952#define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
107e4716 3953static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3954 PyObject * _resultobj;
3955 int _result;
3956 wxGauge * _arg0;
2d091820 3957 PyObject * _argo0 = 0;
107e4716 3958 char *_kwnames[] = { "self", NULL };
70551f47
RD
3959
3960 self = self;
107e4716 3961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
70551f47 3962 return NULL;
2d091820
RD
3963 if (_argo0) {
3964 if (_argo0 == Py_None) { _arg0 = NULL; }
3965 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3966 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3967 return NULL;
3968 }
3969 }
ab9bc19b 3970{
474c48f9 3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 3972 _result = (int )wxGauge_GetRange(_arg0);
ab9bc19b 3973
474c48f9 3974 wxPyEndAllowThreads(__tstate);
4dfaa61e 3975 if (PyErr_Occurred()) return NULL;
ab9bc19b 3976} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
3977 return _resultobj;
3978}
3979
3980#define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
107e4716 3981static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
3982 PyObject * _resultobj;
3983 int _result;
3984 wxGauge * _arg0;
2d091820 3985 PyObject * _argo0 = 0;
107e4716 3986 char *_kwnames[] = { "self", NULL };
70551f47
RD
3987
3988 self = self;
107e4716 3989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
70551f47 3990 return NULL;
2d091820
RD
3991 if (_argo0) {
3992 if (_argo0 == Py_None) { _arg0 = NULL; }
3993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
3994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3995 return NULL;
3996 }
3997 }
ab9bc19b 3998{
474c48f9 3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4000 _result = (int )wxGauge_GetShadowWidth(_arg0);
ab9bc19b 4001
474c48f9 4002 wxPyEndAllowThreads(__tstate);
4dfaa61e 4003 if (PyErr_Occurred()) return NULL;
ab9bc19b 4004} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4005 return _resultobj;
4006}
4007
4008#define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 4009static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4010 PyObject * _resultobj;
4011 int _result;
4012 wxGauge * _arg0;
2d091820 4013 PyObject * _argo0 = 0;
107e4716 4014 char *_kwnames[] = { "self", NULL };
70551f47
RD
4015
4016 self = self;
107e4716 4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
70551f47 4018 return NULL;
2d091820
RD
4019 if (_argo0) {
4020 if (_argo0 == Py_None) { _arg0 = NULL; }
4021 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4022 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
4023 return NULL;
4024 }
4025 }
ab9bc19b 4026{
474c48f9 4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4028 _result = (int )wxGauge_GetValue(_arg0);
ab9bc19b 4029
474c48f9 4030 wxPyEndAllowThreads(__tstate);
4dfaa61e 4031 if (PyErr_Occurred()) return NULL;
ab9bc19b 4032} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
4033 return _resultobj;
4034}
4035
4036#define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
107e4716 4037static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4038 PyObject * _resultobj;
4039 wxGauge * _arg0;
4040 int _arg1;
2d091820 4041 PyObject * _argo0 = 0;
107e4716 4042 char *_kwnames[] = { "self","width", NULL };
70551f47
RD
4043
4044 self = self;
107e4716 4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
70551f47 4046 return NULL;
2d091820
RD
4047 if (_argo0) {
4048 if (_argo0 == Py_None) { _arg0 = NULL; }
4049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
4051 return NULL;
4052 }
4053 }
ab9bc19b 4054{
474c48f9 4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4056 wxGauge_SetBezelFace(_arg0,_arg1);
ab9bc19b 4057
474c48f9 4058 wxPyEndAllowThreads(__tstate);
4dfaa61e 4059 if (PyErr_Occurred()) return NULL;
ab9bc19b 4060} Py_INCREF(Py_None);
70551f47
RD
4061 _resultobj = Py_None;
4062 return _resultobj;
4063}
4064
4065#define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
107e4716 4066static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4067 PyObject * _resultobj;
4068 wxGauge * _arg0;
4069 int _arg1;
2d091820 4070 PyObject * _argo0 = 0;
107e4716 4071 char *_kwnames[] = { "self","range", NULL };
70551f47
RD
4072
4073 self = self;
107e4716 4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
70551f47 4075 return NULL;
2d091820
RD
4076 if (_argo0) {
4077 if (_argo0 == Py_None) { _arg0 = NULL; }
4078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
4080 return NULL;
4081 }
4082 }
ab9bc19b 4083{
474c48f9 4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4085 wxGauge_SetRange(_arg0,_arg1);
ab9bc19b 4086
474c48f9 4087 wxPyEndAllowThreads(__tstate);
4dfaa61e 4088 if (PyErr_Occurred()) return NULL;
ab9bc19b 4089} Py_INCREF(Py_None);
70551f47
RD
4090 _resultobj = Py_None;
4091 return _resultobj;
4092}
4093
4094#define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
107e4716 4095static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4096 PyObject * _resultobj;
4097 wxGauge * _arg0;
4098 int _arg1;
2d091820 4099 PyObject * _argo0 = 0;
107e4716 4100 char *_kwnames[] = { "self","width", NULL };
70551f47
RD
4101
4102 self = self;
107e4716 4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
70551f47 4104 return NULL;
2d091820
RD
4105 if (_argo0) {
4106 if (_argo0 == Py_None) { _arg0 = NULL; }
4107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
4109 return NULL;
4110 }
4111 }
ab9bc19b 4112{
474c48f9 4113 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4114 wxGauge_SetShadowWidth(_arg0,_arg1);
ab9bc19b 4115
474c48f9 4116 wxPyEndAllowThreads(__tstate);
4dfaa61e 4117 if (PyErr_Occurred()) return NULL;
ab9bc19b 4118} Py_INCREF(Py_None);
70551f47
RD
4119 _resultobj = Py_None;
4120 return _resultobj;
4121}
4122
4123#define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 4124static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4125 PyObject * _resultobj;
4126 wxGauge * _arg0;
4127 int _arg1;
2d091820 4128 PyObject * _argo0 = 0;
107e4716 4129 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
4130
4131 self = self;
107e4716 4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
70551f47 4133 return NULL;
2d091820
RD
4134 if (_argo0) {
4135 if (_argo0 == Py_None) { _arg0 = NULL; }
4136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
70551f47
RD
4137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
4138 return NULL;
4139 }
4140 }
ab9bc19b 4141{
474c48f9 4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4143 wxGauge_SetValue(_arg0,_arg1);
ab9bc19b 4144
474c48f9 4145 wxPyEndAllowThreads(__tstate);
4dfaa61e 4146 if (PyErr_Occurred()) return NULL;
ab9bc19b 4147} Py_INCREF(Py_None);
70551f47
RD
4148 _resultobj = Py_None;
4149 return _resultobj;
4150}
4151
4152static void *SwigwxStaticBoxTowxControl(void *ptr) {
4153 wxStaticBox *src;
4154 wxControl *dest;
4155 src = (wxStaticBox *) ptr;
4156 dest = (wxControl *) src;
4157 return (void *) dest;
4158}
4159
4160static void *SwigwxStaticBoxTowxWindow(void *ptr) {
4161 wxStaticBox *src;
4162 wxWindow *dest;
4163 src = (wxStaticBox *) ptr;
4164 dest = (wxWindow *) src;
4165 return (void *) dest;
4166}
4167
4168static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
4169 wxStaticBox *src;
4170 wxEvtHandler *dest;
4171 src = (wxStaticBox *) ptr;
4172 dest = (wxEvtHandler *) src;
4173 return (void *) dest;
4174}
4175
9df61a29
RD
4176static void *SwigwxStaticBoxTowxObject(void *ptr) {
4177 wxStaticBox *src;
4178 wxObject *dest;
4179 src = (wxStaticBox *) ptr;
4180 dest = (wxObject *) src;
4181 return (void *) dest;
4182}
4183
70551f47 4184#define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 4185static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4186 PyObject * _resultobj;
4187 wxStaticBox * _result;
4188 wxWindow * _arg0;
4189 wxWindowID _arg1;
4190 wxString * _arg2;
b68dc582
RD
4191 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4192 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 4193 long _arg5 = (long ) 0;
9a74fcaf 4194 wxString * _arg6 = (wxString *) &wxPyStaticBoxNameStr;
2d091820 4195 PyObject * _argo0 = 0;
70551f47 4196 PyObject * _obj2 = 0;
37f6a977
RD
4197 wxPoint temp;
4198 PyObject * _obj3 = 0;
4199 wxSize temp0;
4200 PyObject * _obj4 = 0;
9a74fcaf 4201 PyObject * _obj6 = 0;
107e4716 4202 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
70551f47
RD
4203 char _ptemp[128];
4204
4205 self = self;
9a74fcaf 4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
70551f47 4207 return NULL;
2d091820
RD
4208 if (_argo0) {
4209 if (_argo0 == Py_None) { _arg0 = NULL; }
4210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
4211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
4212 return NULL;
4213 }
4214 }
4215{
c8bc7bb8
RD
4216 _arg2 = wxString_in_helper(_obj2);
4217 if (_arg2 == NULL)
2cd2fac8 4218 return NULL;
70551f47 4219}
37f6a977
RD
4220 if (_obj3)
4221{
4222 _arg3 = &temp;
4223 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 4224 return NULL;
37f6a977
RD
4225}
4226 if (_obj4)
4227{
4228 _arg4 = &temp0;
4229 if (! wxSize_helper(_obj4, &_arg4))
70551f47 4230 return NULL;
9a74fcaf
RD
4231}
4232 if (_obj6)
4233{
4234 _arg6 = wxString_in_helper(_obj6);
4235 if (_arg6 == NULL)
4236 return NULL;
37f6a977 4237}
ab9bc19b 4238{
474c48f9 4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4240 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
ab9bc19b 4241
474c48f9 4242 wxPyEndAllowThreads(__tstate);
4dfaa61e 4243 if (PyErr_Occurred()) return NULL;
2d091820
RD
4244} if (_result) {
4245 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
4246 _resultobj = Py_BuildValue("s",_ptemp);
4247 } else {
4248 Py_INCREF(Py_None);
4249 _resultobj = Py_None;
4250 }
70551f47
RD
4251{
4252 if (_obj2)
4253 delete _arg2;
9a74fcaf
RD
4254}
4255{
4256 if (_obj6)
4257 delete _arg6;
70551f47
RD
4258}
4259 return _resultobj;
4260}
4261
aa2a5b86
RD
4262#define new_wxPreStaticBox() (new wxStaticBox())
4263static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4264 PyObject * _resultobj;
4265 wxStaticBox * _result;
4266 char *_kwnames[] = { NULL };
4267 char _ptemp[128];
4268
4269 self = self;
4270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
4271 return NULL;
4272{
474c48f9 4273 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4274 _result = (wxStaticBox *)new_wxPreStaticBox();
aa2a5b86 4275
474c48f9 4276 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4277 if (PyErr_Occurred()) return NULL;
4278} if (_result) {
4279 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
4280 _resultobj = Py_BuildValue("s",_ptemp);
4281 } else {
4282 Py_INCREF(Py_None);
4283 _resultobj = Py_None;
4284 }
4285 return _resultobj;
4286}
4287
4288#define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4289static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject * _resultobj;
4291 bool _result;
4292 wxStaticBox * _arg0;
4293 wxWindow * _arg1;
4294 wxWindowID _arg2;
4295 wxString * _arg3;
4296 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4297 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4298 long _arg6 = (long ) 0;
9a74fcaf 4299 wxString * _arg7 = (wxString *) &wxPyStaticBoxNameStr;
aa2a5b86
RD
4300 PyObject * _argo0 = 0;
4301 PyObject * _argo1 = 0;
4302 PyObject * _obj3 = 0;
4303 wxPoint temp;
4304 PyObject * _obj4 = 0;
4305 wxSize temp0;
4306 PyObject * _obj5 = 0;
9a74fcaf 4307 PyObject * _obj7 = 0;
aa2a5b86
RD
4308 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4309
4310 self = self;
9a74fcaf 4311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
aa2a5b86
RD
4312 return NULL;
4313 if (_argo0) {
4314 if (_argo0 == Py_None) { _arg0 = NULL; }
4315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
4316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4317 return NULL;
4318 }
4319 }
4320 if (_argo1) {
4321 if (_argo1 == Py_None) { _arg1 = NULL; }
4322 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4323 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4324 return NULL;
4325 }
4326 }
4327{
c8bc7bb8
RD
4328 _arg3 = wxString_in_helper(_obj3);
4329 if (_arg3 == NULL)
aa2a5b86 4330 return NULL;
aa2a5b86
RD
4331}
4332 if (_obj4)
4333{
4334 _arg4 = &temp;
4335 if (! wxPoint_helper(_obj4, &_arg4))
4336 return NULL;
4337}
4338 if (_obj5)
4339{
4340 _arg5 = &temp0;
4341 if (! wxSize_helper(_obj5, &_arg5))
4342 return NULL;
9a74fcaf
RD
4343}
4344 if (_obj7)
4345{
4346 _arg7 = wxString_in_helper(_obj7);
4347 if (_arg7 == NULL)
4348 return NULL;
aa2a5b86
RD
4349}
4350{
474c48f9 4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4352 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
aa2a5b86 4353
474c48f9 4354 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4355 if (PyErr_Occurred()) return NULL;
4356} _resultobj = Py_BuildValue("i",_result);
4357{
4358 if (_obj3)
4359 delete _arg3;
9a74fcaf
RD
4360}
4361{
4362 if (_obj7)
4363 delete _arg7;
aa2a5b86
RD
4364}
4365 return _resultobj;
4366}
4367
d24a34bb
RD
4368static void *SwigwxStaticLineTowxControl(void *ptr) {
4369 wxStaticLine *src;
4370 wxControl *dest;
4371 src = (wxStaticLine *) ptr;
4372 dest = (wxControl *) src;
4373 return (void *) dest;
4374}
4375
4376static void *SwigwxStaticLineTowxWindow(void *ptr) {
4377 wxStaticLine *src;
4378 wxWindow *dest;
4379 src = (wxStaticLine *) ptr;
4380 dest = (wxWindow *) src;
4381 return (void *) dest;
4382}
4383
4384static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
4385 wxStaticLine *src;
4386 wxEvtHandler *dest;
4387 src = (wxStaticLine *) ptr;
4388 dest = (wxEvtHandler *) src;
4389 return (void *) dest;
4390}
4391
9df61a29
RD
4392static void *SwigwxStaticLineTowxObject(void *ptr) {
4393 wxStaticLine *src;
4394 wxObject *dest;
4395 src = (wxStaticLine *) ptr;
4396 dest = (wxObject *) src;
4397 return (void *) dest;
4398}
4399
d24a34bb 4400#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 4401static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
d24a34bb
RD
4402 PyObject * _resultobj;
4403 wxStaticLine * _result;
4404 wxWindow * _arg0;
4405 wxWindowID _arg1;
b68dc582
RD
4406 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4407 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820 4408 long _arg4 = (long ) wxLI_HORIZONTAL;
9a74fcaf 4409 wxString * _arg5 = (wxString *) &wxPyStaticTextNameStr;
2d091820 4410 PyObject * _argo0 = 0;
37f6a977
RD
4411 wxPoint temp;
4412 PyObject * _obj2 = 0;
4413 wxSize temp0;
4414 PyObject * _obj3 = 0;
9a74fcaf 4415 PyObject * _obj5 = 0;
107e4716 4416 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
d24a34bb
RD
4417 char _ptemp[128];
4418
4419 self = self;
9a74fcaf 4420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
d24a34bb 4421 return NULL;
2d091820
RD
4422 if (_argo0) {
4423 if (_argo0 == Py_None) { _arg0 = NULL; }
4424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d24a34bb
RD
4425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4426 return NULL;
4427 }
4428 }
37f6a977
RD
4429 if (_obj2)
4430{
4431 _arg2 = &temp;
4432 if (! wxPoint_helper(_obj2, &_arg2))
d24a34bb 4433 return NULL;
37f6a977
RD
4434}
4435 if (_obj3)
4436{
4437 _arg3 = &temp0;
4438 if (! wxSize_helper(_obj3, &_arg3))
d24a34bb 4439 return NULL;
9a74fcaf
RD
4440}
4441 if (_obj5)
4442{
4443 _arg5 = wxString_in_helper(_obj5);
4444 if (_arg5 == NULL)
4445 return NULL;
37f6a977 4446}
d24a34bb 4447{
474c48f9 4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4449 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
d24a34bb 4450
474c48f9 4451 wxPyEndAllowThreads(__tstate);
4dfaa61e 4452 if (PyErr_Occurred()) return NULL;
2d091820
RD
4453} if (_result) {
4454 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4455 _resultobj = Py_BuildValue("s",_ptemp);
4456 } else {
4457 Py_INCREF(Py_None);
4458 _resultobj = Py_None;
4459 }
9a74fcaf
RD
4460{
4461 if (_obj5)
4462 delete _arg5;
4463}
d24a34bb
RD
4464 return _resultobj;
4465}
4466
aa2a5b86
RD
4467#define new_wxPreStaticLine() (new wxStaticLine())
4468static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4469 PyObject * _resultobj;
4470 wxStaticLine * _result;
4471 char *_kwnames[] = { NULL };
4472 char _ptemp[128];
4473
4474 self = self;
4475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4476 return NULL;
4477{
474c48f9 4478 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4479 _result = (wxStaticLine *)new_wxPreStaticLine();
aa2a5b86 4480
474c48f9 4481 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4482 if (PyErr_Occurred()) return NULL;
4483} if (_result) {
4484 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4485 _resultobj = Py_BuildValue("s",_ptemp);
4486 } else {
4487 Py_INCREF(Py_None);
4488 _resultobj = Py_None;
4489 }
4490 return _resultobj;
4491}
4492
4493#define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4494static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4495 PyObject * _resultobj;
4496 bool _result;
4497 wxStaticLine * _arg0;
4498 wxWindow * _arg1;
4499 wxWindowID _arg2;
4500 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4501 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4502 long _arg5 = (long ) wxLI_HORIZONTAL;
9a74fcaf 4503 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
aa2a5b86
RD
4504 PyObject * _argo0 = 0;
4505 PyObject * _argo1 = 0;
4506 wxPoint temp;
4507 PyObject * _obj3 = 0;
4508 wxSize temp0;
4509 PyObject * _obj4 = 0;
9a74fcaf 4510 PyObject * _obj6 = 0;
aa2a5b86
RD
4511 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4512
4513 self = self;
9a74fcaf 4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
4515 return NULL;
4516 if (_argo0) {
4517 if (_argo0 == Py_None) { _arg0 = NULL; }
4518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4520 return NULL;
4521 }
4522 }
4523 if (_argo1) {
4524 if (_argo1 == Py_None) { _arg1 = NULL; }
4525 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4526 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4527 return NULL;
4528 }
4529 }
4530 if (_obj3)
4531{
4532 _arg3 = &temp;
4533 if (! wxPoint_helper(_obj3, &_arg3))
4534 return NULL;
4535}
4536 if (_obj4)
4537{
4538 _arg4 = &temp0;
4539 if (! wxSize_helper(_obj4, &_arg4))
4540 return NULL;
9a74fcaf
RD
4541}
4542 if (_obj6)
4543{
4544 _arg6 = wxString_in_helper(_obj6);
4545 if (_arg6 == NULL)
4546 return NULL;
aa2a5b86
RD
4547}
4548{
474c48f9 4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4550 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 4551
474c48f9 4552 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4553 if (PyErr_Occurred()) return NULL;
4554} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
4555{
4556 if (_obj6)
4557 delete _arg6;
4558}
aa2a5b86
RD
4559 return _resultobj;
4560}
4561
70551f47
RD
4562static void *SwigwxStaticTextTowxControl(void *ptr) {
4563 wxStaticText *src;
4564 wxControl *dest;
4565 src = (wxStaticText *) ptr;
4566 dest = (wxControl *) src;
4567 return (void *) dest;
4568}
4569
4570static void *SwigwxStaticTextTowxWindow(void *ptr) {
4571 wxStaticText *src;
4572 wxWindow *dest;
4573 src = (wxStaticText *) ptr;
4574 dest = (wxWindow *) src;
4575 return (void *) dest;
4576}
4577
4578static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4579 wxStaticText *src;
4580 wxEvtHandler *dest;
4581 src = (wxStaticText *) ptr;
4582 dest = (wxEvtHandler *) src;
4583 return (void *) dest;
4584}
4585
9df61a29
RD
4586static void *SwigwxStaticTextTowxObject(void *ptr) {
4587 wxStaticText *src;
4588 wxObject *dest;
4589 src = (wxStaticText *) ptr;
4590 dest = (wxObject *) src;
4591 return (void *) dest;
4592}
4593
70551f47 4594#define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 4595static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4596 PyObject * _resultobj;
4597 wxStaticText * _result;
4598 wxWindow * _arg0;
4599 wxWindowID _arg1;
4600 wxString * _arg2;
b68dc582
RD
4601 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4602 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 4603 long _arg5 = (long ) 0;
9a74fcaf 4604 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
2d091820 4605 PyObject * _argo0 = 0;
70551f47 4606 PyObject * _obj2 = 0;
37f6a977
RD
4607 wxPoint temp;
4608 PyObject * _obj3 = 0;
4609 wxSize temp0;
4610 PyObject * _obj4 = 0;
9a74fcaf 4611 PyObject * _obj6 = 0;
107e4716 4612 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
70551f47
RD
4613 char _ptemp[128];
4614
4615 self = self;
9a74fcaf 4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
70551f47 4617 return NULL;
2d091820
RD
4618 if (_argo0) {
4619 if (_argo0 == Py_None) { _arg0 = NULL; }
4620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
4621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4622 return NULL;
4623 }
4624 }
4625{
c8bc7bb8
RD
4626 _arg2 = wxString_in_helper(_obj2);
4627 if (_arg2 == NULL)
2cd2fac8 4628 return NULL;
70551f47 4629}
37f6a977
RD
4630 if (_obj3)
4631{
4632 _arg3 = &temp;
4633 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 4634 return NULL;
37f6a977
RD
4635}
4636 if (_obj4)
4637{
4638 _arg4 = &temp0;
4639 if (! wxSize_helper(_obj4, &_arg4))
70551f47 4640 return NULL;
9a74fcaf
RD
4641}
4642 if (_obj6)
4643{
4644 _arg6 = wxString_in_helper(_obj6);
4645 if (_arg6 == NULL)
4646 return NULL;
37f6a977 4647}
ab9bc19b 4648{
474c48f9 4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4650 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
ab9bc19b 4651
474c48f9 4652 wxPyEndAllowThreads(__tstate);
4dfaa61e 4653 if (PyErr_Occurred()) return NULL;
2d091820
RD
4654} if (_result) {
4655 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4656 _resultobj = Py_BuildValue("s",_ptemp);
4657 } else {
4658 Py_INCREF(Py_None);
4659 _resultobj = Py_None;
4660 }
70551f47
RD
4661{
4662 if (_obj2)
4663 delete _arg2;
9a74fcaf
RD
4664}
4665{
4666 if (_obj6)
4667 delete _arg6;
70551f47
RD
4668}
4669 return _resultobj;
4670}
4671
aa2a5b86
RD
4672#define new_wxPreStaticText() (new wxStaticText())
4673static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4674 PyObject * _resultobj;
4675 wxStaticText * _result;
4676 char *_kwnames[] = { NULL };
4677 char _ptemp[128];
4678
4679 self = self;
4680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4681 return NULL;
4682{
474c48f9 4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4684 _result = (wxStaticText *)new_wxPreStaticText();
aa2a5b86 4685
474c48f9 4686 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4687 if (PyErr_Occurred()) return NULL;
4688} if (_result) {
4689 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4690 _resultobj = Py_BuildValue("s",_ptemp);
4691 } else {
4692 Py_INCREF(Py_None);
4693 _resultobj = Py_None;
4694 }
4695 return _resultobj;
4696}
4697
4698#define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4699static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4700 PyObject * _resultobj;
4701 bool _result;
4702 wxStaticText * _arg0;
4703 wxWindow * _arg1;
4704 wxWindowID _arg2;
4705 wxString * _arg3;
4706 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4707 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4708 long _arg6 = (long ) 0;
9a74fcaf 4709 wxString * _arg7 = (wxString *) &wxPyStaticTextNameStr;
aa2a5b86
RD
4710 PyObject * _argo0 = 0;
4711 PyObject * _argo1 = 0;
4712 PyObject * _obj3 = 0;
4713 wxPoint temp;
4714 PyObject * _obj4 = 0;
4715 wxSize temp0;
4716 PyObject * _obj5 = 0;
9a74fcaf 4717 PyObject * _obj7 = 0;
aa2a5b86
RD
4718 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4719
4720 self = self;
9a74fcaf 4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
aa2a5b86
RD
4722 return NULL;
4723 if (_argo0) {
4724 if (_argo0 == Py_None) { _arg0 = NULL; }
4725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4727 return NULL;
4728 }
4729 }
4730 if (_argo1) {
4731 if (_argo1 == Py_None) { _arg1 = NULL; }
4732 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4733 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4734 return NULL;
4735 }
4736 }
4737{
c8bc7bb8
RD
4738 _arg3 = wxString_in_helper(_obj3);
4739 if (_arg3 == NULL)
aa2a5b86 4740 return NULL;
aa2a5b86
RD
4741}
4742 if (_obj4)
4743{
4744 _arg4 = &temp;
4745 if (! wxPoint_helper(_obj4, &_arg4))
4746 return NULL;
4747}
4748 if (_obj5)
4749{
4750 _arg5 = &temp0;
4751 if (! wxSize_helper(_obj5, &_arg5))
4752 return NULL;
9a74fcaf
RD
4753}
4754 if (_obj7)
4755{
4756 _arg7 = wxString_in_helper(_obj7);
4757 if (_arg7 == NULL)
4758 return NULL;
aa2a5b86
RD
4759}
4760{
474c48f9 4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4762 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
aa2a5b86 4763
474c48f9 4764 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4765 if (PyErr_Occurred()) return NULL;
4766} _resultobj = Py_BuildValue("i",_result);
4767{
4768 if (_obj3)
4769 delete _arg3;
9a74fcaf
RD
4770}
4771{
4772 if (_obj7)
4773 delete _arg7;
aa2a5b86
RD
4774}
4775 return _resultobj;
4776}
4777
70551f47 4778#define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
107e4716 4779static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4780 PyObject * _resultobj;
4781 wxString * _result;
4782 wxStaticText * _arg0;
2d091820 4783 PyObject * _argo0 = 0;
107e4716 4784 char *_kwnames[] = { "self", NULL };
70551f47
RD
4785
4786 self = self;
107e4716 4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
70551f47 4788 return NULL;
2d091820
RD
4789 if (_argo0) {
4790 if (_argo0 == Py_None) { _arg0 = NULL; }
4791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
70551f47
RD
4792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4793 return NULL;
4794 }
4795 }
70551f47 4796{
474c48f9 4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4798 _result = new wxString (wxStaticText_GetLabel(_arg0));
ab9bc19b 4799
474c48f9 4800 wxPyEndAllowThreads(__tstate);
4dfaa61e 4801 if (PyErr_Occurred()) return NULL;
ab9bc19b 4802}{
c8bc7bb8 4803#if wxUSE_UNICODE
b67a9327 4804 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 4805#else
e02c03a4 4806 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 4807#endif
70551f47
RD
4808}
4809{
4810 delete _result;
4811}
4812 return _resultobj;
4813}
4814
4815#define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
107e4716 4816static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
4817 PyObject * _resultobj;
4818 wxStaticText * _arg0;
4819 wxString * _arg1;
2d091820 4820 PyObject * _argo0 = 0;
70551f47 4821 PyObject * _obj1 = 0;
107e4716 4822 char *_kwnames[] = { "self","label", NULL };
70551f47
RD
4823
4824 self = self;
107e4716 4825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
70551f47 4826 return NULL;
2d091820
RD
4827 if (_argo0) {
4828 if (_argo0 == Py_None) { _arg0 = NULL; }
4829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
70551f47
RD
4830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4831 return NULL;
4832 }
4833 }
4834{
c8bc7bb8
RD
4835 _arg1 = wxString_in_helper(_obj1);
4836 if (_arg1 == NULL)
2cd2fac8 4837 return NULL;
70551f47 4838}
ab9bc19b 4839{
474c48f9 4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 4841 wxStaticText_SetLabel(_arg0,*_arg1);
ab9bc19b 4842
474c48f9 4843 wxPyEndAllowThreads(__tstate);
4dfaa61e 4844 if (PyErr_Occurred()) return NULL;
ab9bc19b 4845} Py_INCREF(Py_None);
70551f47
RD
4846 _resultobj = Py_None;
4847{
4848 if (_obj1)
4849 delete _arg1;
4850}
4851 return _resultobj;
4852}
4853
65191ae8
RD
4854static void *SwigwxListBoxTowxControlWithItems(void *ptr) {
4855 wxListBox *src;
4856 wxControlWithItems *dest;
4857 src = (wxListBox *) ptr;
4858 dest = (wxControlWithItems *) src;
4859 return (void *) dest;
4860}
4861
70551f47
RD
4862static void *SwigwxListBoxTowxControl(void *ptr) {
4863 wxListBox *src;
4864 wxControl *dest;
4865 src = (wxListBox *) ptr;
4866 dest = (wxControl *) src;
4867 return (void *) dest;
4868}
4869
4870static void *SwigwxListBoxTowxWindow(void *ptr) {
4871 wxListBox *src;
4872 wxWindow *dest;
4873 src = (wxListBox *) ptr;
4874 dest = (wxWindow *) src;
4875 return (void *) dest;
4876}
4877
4878static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
4879 wxListBox *src;
4880 wxEvtHandler *dest;
4881 src = (wxListBox *) ptr;
4882 dest = (wxEvtHandler *) src;
4883 return (void *) dest;
4884}
4885
9df61a29
RD
4886static void *SwigwxListBoxTowxObject(void *ptr) {
4887 wxListBox *src;
4888 wxObject *dest;
4889 src = (wxListBox *) ptr;
4890 dest = (wxObject *) src;
4891 return (void *) dest;
4892}
4893
aa2a5b86
RD
4894#define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4895static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject * _resultobj;
4897 wxListBox * _result;
4898 wxWindow * _arg0;
4899 wxWindowID _arg1;
4900 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4901 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4902 int _arg4;
4903 wxString * _arg5 = (wxString *) NULL;
4904 long _arg6 = (long ) 0;
4905 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 4906 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
aa2a5b86
RD
4907 PyObject * _argo0 = 0;
4908 wxPoint temp;
4909 PyObject * _obj2 = 0;
4910 wxSize temp0;
4911 PyObject * _obj3 = 0;
4912 PyObject * _obj5 = 0;
4913 PyObject * _argo7 = 0;
9a74fcaf 4914 PyObject * _obj8 = 0;
aa2a5b86
RD
4915 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4916 char _ptemp[128];
4917
4918 self = self;
9a74fcaf 4919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
4920 return NULL;
4921 if (_argo0) {
4922 if (_argo0 == Py_None) { _arg0 = NULL; }
4923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4925 return NULL;
4926 }
4927 }
4928 if (_obj2)
4929{
4930 _arg2 = &temp;
4931 if (! wxPoint_helper(_obj2, &_arg2))
4932 return NULL;
4933}
4934 if (_obj3)
4935{
4936 _arg3 = &temp0;
4937 if (! wxSize_helper(_obj3, &_arg3))
4938 return NULL;
4939}
4940 if (_obj5)
4941{
4942 _arg5 = wxString_LIST_helper(_obj5);
4943 if (_arg5 == NULL) {
4944 return NULL;
4945 }
4946}
4947 if (_argo7) {
b67a9327 4948 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
4949 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4950 return NULL;
4951 }
4952 }
9a74fcaf
RD
4953 if (_obj8)
4954{
4955 _arg8 = wxString_in_helper(_obj8);
4956 if (_arg8 == NULL)
4957 return NULL;
4958}
aa2a5b86
RD
4959{
4960 if (_obj5) {
4961 _arg4 = PyList_Size(_obj5);
4962 }
4963 else {
4964 _arg4 = 0;
4965 }
4966}
4967{
474c48f9 4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 4969 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
aa2a5b86 4970
474c48f9 4971 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
4972 if (PyErr_Occurred()) return NULL;
4973} if (_result) {
4974 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4975 _resultobj = Py_BuildValue("s",_ptemp);
4976 } else {
4977 Py_INCREF(Py_None);
4978 _resultobj = Py_None;
4979 }
4980{
4981 delete [] _arg5;
9a74fcaf
RD
4982}
4983{
4984 if (_obj8)
4985 delete _arg8;
aa2a5b86
RD
4986}
4987 return _resultobj;
4988}
4989
4990#define new_wxPreListBox() (new wxListBox())
4991static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject * _resultobj;
4993 wxListBox * _result;
4994 char *_kwnames[] = { NULL };
4995 char _ptemp[128];
4996
4997 self = self;
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
4999 return NULL;
5000{
474c48f9 5001 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5002 _result = (wxListBox *)new_wxPreListBox();
aa2a5b86 5003
474c48f9 5004 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5005 if (PyErr_Occurred()) return NULL;
5006} if (_result) {
5007 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
5008 _resultobj = Py_BuildValue("s",_ptemp);
5009 } else {
5010 Py_INCREF(Py_None);
5011 _resultobj = Py_None;
5012 }
5013 return _resultobj;
5014}
5015
5016#define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5017static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 5018 PyObject * _resultobj;
aa2a5b86
RD
5019 bool _result;
5020 wxListBox * _arg0;
5021 wxWindow * _arg1;
5022 wxWindowID _arg2;
5023 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5024 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5025 int _arg5;
5026 wxString * _arg6 = (wxString *) NULL;
5027 long _arg7 = (long ) 0;
5028 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 5029 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
2d091820 5030 PyObject * _argo0 = 0;
aa2a5b86 5031 PyObject * _argo1 = 0;
37f6a977 5032 wxPoint temp;
37f6a977 5033 PyObject * _obj3 = 0;
aa2a5b86
RD
5034 wxSize temp0;
5035 PyObject * _obj4 = 0;
5036 PyObject * _obj6 = 0;
5037 PyObject * _argo8 = 0;
9a74fcaf 5038 PyObject * _obj9 = 0;
aa2a5b86 5039 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
70551f47
RD
5040
5041 self = self;
9a74fcaf 5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
70551f47 5043 return NULL;
2d091820
RD
5044 if (_argo0) {
5045 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
5046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
70551f47
RD
5048 return NULL;
5049 }
5050 }
aa2a5b86
RD
5051 if (_argo1) {
5052 if (_argo1 == Py_None) { _arg1 = NULL; }
5053 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5054 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
5055 return NULL;
5056 }
5057 }
5058 if (_obj3)
37f6a977 5059{
aa2a5b86
RD
5060 _arg3 = &temp;
5061 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 5062 return NULL;
37f6a977 5063}
aa2a5b86 5064 if (_obj4)
37f6a977 5065{
aa2a5b86
RD
5066 _arg4 = &temp0;
5067 if (! wxSize_helper(_obj4, &_arg4))
70551f47 5068 return NULL;
37f6a977 5069}
aa2a5b86 5070 if (_obj6)
70551f47 5071{
aa2a5b86
RD
5072 _arg6 = wxString_LIST_helper(_obj6);
5073 if (_arg6 == NULL) {
70551f47
RD
5074 return NULL;
5075 }
5076}
aa2a5b86 5077 if (_argo8) {
b67a9327 5078 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
aa2a5b86 5079 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
70551f47
RD
5080 return NULL;
5081 }
5082 }
9a74fcaf
RD
5083 if (_obj9)
5084{
5085 _arg9 = wxString_in_helper(_obj9);
5086 if (_arg9 == NULL)
5087 return NULL;
5088}
70551f47 5089{
aa2a5b86
RD
5090 if (_obj6) {
5091 _arg5 = PyList_Size(_obj6);
ab9bc19b
RD
5092 }
5093 else {
aa2a5b86 5094 _arg5 = 0;
ab9bc19b 5095 }
70551f47 5096}
ab9bc19b 5097{
474c48f9 5098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 5099 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
ab9bc19b 5100
474c48f9 5101 wxPyEndAllowThreads(__tstate);
4dfaa61e 5102 if (PyErr_Occurred()) return NULL;
aa2a5b86 5103} _resultobj = Py_BuildValue("i",_result);
70551f47 5104{
aa2a5b86 5105 delete [] _arg6;
9a74fcaf
RD
5106}
5107{
5108 if (_obj9)
5109 delete _arg9;
70551f47
RD
5110}
5111 return _resultobj;
5112}
5113
70551f47 5114#define wxListBox_Clear(_swigobj) (_swigobj->Clear())
107e4716 5115static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5116 PyObject * _resultobj;
5117 wxListBox * _arg0;
2d091820 5118 PyObject * _argo0 = 0;
107e4716 5119 char *_kwnames[] = { "self", NULL };
70551f47
RD
5120
5121 self = self;
107e4716 5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
70551f47 5123 return NULL;
2d091820
RD
5124 if (_argo0) {
5125 if (_argo0 == Py_None) { _arg0 = NULL; }
5126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
5128 return NULL;
5129 }
5130 }
ab9bc19b 5131{
474c48f9 5132 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5133 wxListBox_Clear(_arg0);
ab9bc19b 5134
474c48f9 5135 wxPyEndAllowThreads(__tstate);
4dfaa61e 5136 if (PyErr_Occurred()) return NULL;
ab9bc19b 5137} Py_INCREF(Py_None);
70551f47
RD
5138 _resultobj = Py_None;
5139 return _resultobj;
5140}
5141
70551f47 5142#define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
107e4716 5143static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5144 PyObject * _resultobj;
5145 wxListBox * _arg0;
5146 int _arg1;
2d091820 5147 PyObject * _argo0 = 0;
107e4716 5148 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
5149
5150 self = self;
107e4716 5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
70551f47 5152 return NULL;
2d091820
RD
5153 if (_argo0) {
5154 if (_argo0 == Py_None) { _arg0 = NULL; }
5155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
5157 return NULL;
5158 }
5159 }
ab9bc19b 5160{
474c48f9 5161 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5162 wxListBox_Deselect(_arg0,_arg1);
ab9bc19b 5163
474c48f9 5164 wxPyEndAllowThreads(__tstate);
4dfaa61e 5165 if (PyErr_Occurred()) return NULL;
ab9bc19b 5166} Py_INCREF(Py_None);
70551f47
RD
5167 _resultobj = Py_None;
5168 return _resultobj;
5169}
5170
ab9bc19b
RD
5171static PyObject * wxListBox_GetSelections(wxListBox *self) {
5172 wxArrayInt lst;
5173 self->GetSelections(lst);
5174 PyObject *tup = PyTuple_New(lst.GetCount());
f6bcfd97 5175 for(size_t i=0; i<lst.GetCount(); i++) {
ab9bc19b
RD
5176 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
5177 }
5178 return tup;
5179 }
107e4716 5180static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
5181 PyObject * _resultobj;
5182 PyObject * _result;
5183 wxListBox * _arg0;
2d091820 5184 PyObject * _argo0 = 0;
107e4716 5185 char *_kwnames[] = { "self", NULL };
ab9bc19b
RD
5186
5187 self = self;
107e4716 5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
ab9bc19b 5189 return NULL;
2d091820
RD
5190 if (_argo0) {
5191 if (_argo0 == Py_None) { _arg0 = NULL; }
5192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
ab9bc19b
RD
5193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5194 return NULL;
5195 }
5196 }
5197{
474c48f9 5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5199 _result = (PyObject *)wxListBox_GetSelections(_arg0);
ab9bc19b 5200
474c48f9 5201 wxPyEndAllowThreads(__tstate);
4dfaa61e 5202 if (PyErr_Occurred()) return NULL;
ab9bc19b
RD
5203}{
5204 _resultobj = _result;
5205}
70551f47
RD
5206 return _resultobj;
5207}
5208
37f6a977
RD
5209#define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5210static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5211 PyObject * _resultobj;
5212 wxListBox * _arg0;
5213 int _arg1;
5214 wxString * _arg2;
5215 int _arg3;
5216 PyObject * _argo0 = 0;
5217 PyObject * _obj2 = 0;
e02c03a4 5218 char *_kwnames[] = { "self","choices","pos", NULL };
37f6a977
RD
5219
5220 self = self;
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5222 return NULL;
5223 if (_argo0) {
5224 if (_argo0 == Py_None) { _arg0 = NULL; }
5225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5227 return NULL;
5228 }
5229 }
5230{
5231 _arg2 = wxString_LIST_helper(_obj2);
5232 if (_arg2 == NULL) {
5233 return NULL;
5234 }
5235}
5236{
5237 if (_obj2) {
5238 _arg1 = PyList_Size(_obj2);
5239 }
5240 else {
5241 _arg1 = 0;
5242 }
5243}
5244{
474c48f9 5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5246 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
37f6a977 5247
474c48f9 5248 wxPyEndAllowThreads(__tstate);
4dfaa61e 5249 if (PyErr_Occurred()) return NULL;
37f6a977
RD
5250} Py_INCREF(Py_None);
5251 _resultobj = Py_None;
5252{
5253 delete [] _arg2;
5254}
5255 return _resultobj;
5256}
5257
2c8a649d
RD
5258#define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5259static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5260 PyObject * _resultobj;
5261 bool _result;
5262 wxListBox * _arg0;
5263 int _arg1;
5264 PyObject * _argo0 = 0;
5265 char *_kwnames[] = { "self","n", NULL };
5266
5267 self = self;
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
70551f47 5269 return NULL;
2d091820
RD
5270 if (_argo0) {
5271 if (_argo0 == Py_None) { _arg0 = NULL; }
5272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
2c8a649d 5273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
70551f47
RD
5274 return NULL;
5275 }
5276 }
ab9bc19b 5277{
474c48f9 5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5279 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
ab9bc19b 5280
474c48f9 5281 wxPyEndAllowThreads(__tstate);
4dfaa61e 5282 if (PyErr_Occurred()) return NULL;
ab9bc19b 5283} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5284 return _resultobj;
5285}
5286
5287#define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
107e4716 5288static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5289 PyObject * _resultobj;
5290 bool _result;
5291 wxListBox * _arg0;
5292 int _arg1;
2d091820 5293 PyObject * _argo0 = 0;
107e4716 5294 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
5295
5296 self = self;
107e4716 5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
70551f47 5298 return NULL;
2d091820
RD
5299 if (_argo0) {
5300 if (_argo0 == Py_None) { _arg0 = NULL; }
5301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5303 return NULL;
5304 }
5305 }
ab9bc19b 5306{
474c48f9 5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5308 _result = (bool )wxListBox_Selected(_arg0,_arg1);
ab9bc19b 5309
474c48f9 5310 wxPyEndAllowThreads(__tstate);
4dfaa61e 5311 if (PyErr_Occurred()) return NULL;
ab9bc19b 5312} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
5313 return _resultobj;
5314}
5315
5316#define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
107e4716 5317static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5318 PyObject * _resultobj;
5319 wxListBox * _arg0;
5320 int _arg1;
5321 wxString * _arg2;
2d091820 5322 PyObject * _argo0 = 0;
70551f47 5323 PyObject * _obj2 = 0;
e02c03a4 5324 char *_kwnames[] = { "self","choices", NULL };
70551f47
RD
5325
5326 self = self;
107e4716 5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
70551f47 5328 return NULL;
2d091820
RD
5329 if (_argo0) {
5330 if (_argo0 == Py_None) { _arg0 = NULL; }
5331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5333 return NULL;
5334 }
5335 }
5336 if (_obj2)
5337{
5338 _arg2 = wxString_LIST_helper(_obj2);
5339 if (_arg2 == NULL) {
5340 return NULL;
5341 }
5342}
5343{
ab9bc19b
RD
5344 if (_obj2) {
5345 _arg1 = PyList_Size(_obj2);
5346 }
5347 else {
5348 _arg1 = 0;
5349 }
70551f47 5350}
ab9bc19b 5351{
474c48f9 5352 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5353 wxListBox_Set(_arg0,_arg1,_arg2);
ab9bc19b 5354
474c48f9 5355 wxPyEndAllowThreads(__tstate);
4dfaa61e 5356 if (PyErr_Occurred()) return NULL;
ab9bc19b 5357} Py_INCREF(Py_None);
70551f47
RD
5358 _resultobj = Py_None;
5359{
5360 delete [] _arg2;
5361}
5362 return _resultobj;
5363}
5364
5365#define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
107e4716 5366static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5367 PyObject * _resultobj;
5368 wxListBox * _arg0;
5369 int _arg1;
2d091820 5370 PyObject * _argo0 = 0;
107e4716 5371 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
5372
5373 self = self;
107e4716 5374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
70551f47 5375 return NULL;
2d091820
RD
5376 if (_argo0) {
5377 if (_argo0 == Py_None) { _arg0 = NULL; }
5378 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5379 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5380 return NULL;
5381 }
5382 }
ab9bc19b 5383{
474c48f9 5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5385 wxListBox_SetFirstItem(_arg0,_arg1);
ab9bc19b 5386
474c48f9 5387 wxPyEndAllowThreads(__tstate);
4dfaa61e 5388 if (PyErr_Occurred()) return NULL;
ab9bc19b 5389} Py_INCREF(Py_None);
70551f47
RD
5390 _resultobj = Py_None;
5391 return _resultobj;
5392}
5393
5394#define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
107e4716 5395static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5396 PyObject * _resultobj;
5397 wxListBox * _arg0;
5398 wxString * _arg1;
2d091820 5399 PyObject * _argo0 = 0;
70551f47 5400 PyObject * _obj1 = 0;
107e4716 5401 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
5402
5403 self = self;
107e4716 5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
70551f47 5405 return NULL;
2d091820
RD
5406 if (_argo0) {
5407 if (_argo0 == Py_None) { _arg0 = NULL; }
5408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5410 return NULL;
5411 }
5412 }
5413{
c8bc7bb8
RD
5414 _arg1 = wxString_in_helper(_obj1);
5415 if (_arg1 == NULL)
2cd2fac8 5416 return NULL;
70551f47 5417}
ab9bc19b 5418{
474c48f9 5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5420 wxListBox_SetFirstItemStr(_arg0,*_arg1);
ab9bc19b 5421
474c48f9 5422 wxPyEndAllowThreads(__tstate);
4dfaa61e 5423 if (PyErr_Occurred()) return NULL;
ab9bc19b 5424} Py_INCREF(Py_None);
70551f47
RD
5425 _resultobj = Py_None;
5426{
5427 if (_obj1)
5428 delete _arg1;
5429}
5430 return _resultobj;
5431}
5432
5433#define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 5434static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5435 PyObject * _resultobj;
5436 wxListBox * _arg0;
5437 int _arg1;
2d091820
RD
5438 bool _arg2 = (bool ) TRUE;
5439 PyObject * _argo0 = 0;
5440 int tempbool2 = (int) TRUE;
107e4716 5441 char *_kwnames[] = { "self","n","select", NULL };
70551f47
RD
5442
5443 self = self;
107e4716 5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 5445 return NULL;
2d091820
RD
5446 if (_argo0) {
5447 if (_argo0 == Py_None) { _arg0 = NULL; }
5448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5450 return NULL;
5451 }
5452 }
5453 _arg2 = (bool ) tempbool2;
ab9bc19b 5454{
474c48f9 5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5456 wxListBox_SetSelection(_arg0,_arg1,_arg2);
ab9bc19b 5457
474c48f9 5458 wxPyEndAllowThreads(__tstate);
4dfaa61e 5459 if (PyErr_Occurred()) return NULL;
ab9bc19b 5460} Py_INCREF(Py_None);
70551f47
RD
5461 _resultobj = Py_None;
5462 return _resultobj;
5463}
5464
5465#define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
107e4716 5466static PyObject *_wrap_wxListBox_SetString(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;
107e4716 5473 char *_kwnames[] = { "self","n","string", NULL };
70551f47
RD
5474
5475 self = self;
107e4716 5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_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_SetString. Expected _wxListBox_p.");
5482 return NULL;
5483 }
5484 }
5485{
c8bc7bb8
RD
5486 _arg2 = wxString_in_helper(_obj2);
5487 if (_arg2 == NULL)
2cd2fac8 5488 return NULL;
70551f47 5489}
ab9bc19b 5490{
474c48f9 5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5492 wxListBox_SetString(_arg0,_arg1,*_arg2);
ab9bc19b 5493
474c48f9 5494 wxPyEndAllowThreads(__tstate);
4dfaa61e 5495 if (PyErr_Occurred()) return NULL;
ab9bc19b 5496} Py_INCREF(Py_None);
70551f47
RD
5497 _resultobj = Py_None;
5498{
5499 if (_obj2)
5500 delete _arg2;
5501}
5502 return _resultobj;
5503}
5504
5505#define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
107e4716 5506static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
5507 PyObject * _resultobj;
5508 wxListBox * _arg0;
5509 wxString * _arg1;
2d091820
RD
5510 bool _arg2 = (bool ) TRUE;
5511 PyObject * _argo0 = 0;
70551f47 5512 PyObject * _obj1 = 0;
2d091820 5513 int tempbool2 = (int) TRUE;
107e4716 5514 char *_kwnames[] = { "self","string","select", NULL };
70551f47
RD
5515
5516 self = self;
107e4716 5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
70551f47 5518 return NULL;
2d091820
RD
5519 if (_argo0) {
5520 if (_argo0 == Py_None) { _arg0 = NULL; }
5521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
70551f47
RD
5522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5523 return NULL;
5524 }
5525 }
5526{
c8bc7bb8
RD
5527 _arg1 = wxString_in_helper(_obj1);
5528 if (_arg1 == NULL)
70551f47 5529 return NULL;
70551f47
RD
5530}
5531 _arg2 = (bool ) tempbool2;
ab9bc19b 5532{
474c48f9 5533 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5534 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
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{
5541 if (_obj1)
5542 delete _arg1;
5543}
5544 return _resultobj;
5545}
5546
c95e68d8
RD
5547static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5548 wxCheckListBox *src;
5549 wxListBox *dest;
5550 src = (wxCheckListBox *) ptr;
5551 dest = (wxListBox *) src;
5552 return (void *) dest;
5553}
5554
65191ae8
RD
5555static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr) {
5556 wxCheckListBox *src;
5557 wxControlWithItems *dest;
5558 src = (wxCheckListBox *) ptr;
5559 dest = (wxControlWithItems *) src;
5560 return (void *) dest;
5561}
5562
c95e68d8
RD
5563static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5564 wxCheckListBox *src;
5565 wxControl *dest;
5566 src = (wxCheckListBox *) ptr;
5567 dest = (wxControl *) src;
5568 return (void *) dest;
5569}
5570
5571static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5572 wxCheckListBox *src;
5573 wxWindow *dest;
5574 src = (wxCheckListBox *) ptr;
5575 dest = (wxWindow *) src;
5576 return (void *) dest;
5577}
5578
5579static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5580 wxCheckListBox *src;
5581 wxEvtHandler *dest;
5582 src = (wxCheckListBox *) ptr;
5583 dest = (wxEvtHandler *) src;
5584 return (void *) dest;
5585}
5586
9df61a29
RD
5587static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5588 wxCheckListBox *src;
5589 wxObject *dest;
5590 src = (wxCheckListBox *) ptr;
5591 dest = (wxObject *) src;
5592 return (void *) dest;
5593}
5594
c95e68d8 5595#define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
107e4716 5596static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5597 PyObject * _resultobj;
5598 wxCheckListBox * _result;
5599 wxWindow * _arg0;
5600 wxWindowID _arg1;
b68dc582
RD
5601 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5602 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820
RD
5603 int _arg4 = (int ) 0;
5604 wxString * _arg5 = (wxString *) NULL;
5605 long _arg6 = (long ) 0;
b68dc582 5606 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 5607 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
2d091820 5608 PyObject * _argo0 = 0;
37f6a977
RD
5609 wxPoint temp;
5610 PyObject * _obj2 = 0;
5611 wxSize temp0;
5612 PyObject * _obj3 = 0;
c95e68d8 5613 PyObject * _obj5 = 0;
2d091820 5614 PyObject * _argo7 = 0;
9a74fcaf 5615 PyObject * _obj8 = 0;
e02c03a4 5616 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
c95e68d8
RD
5617 char _ptemp[128];
5618
5619 self = self;
9a74fcaf 5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
c95e68d8 5621 return NULL;
2d091820
RD
5622 if (_argo0) {
5623 if (_argo0 == Py_None) { _arg0 = NULL; }
5624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
c95e68d8
RD
5625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5626 return NULL;
5627 }
5628 }
37f6a977
RD
5629 if (_obj2)
5630{
5631 _arg2 = &temp;
5632 if (! wxPoint_helper(_obj2, &_arg2))
c95e68d8 5633 return NULL;
37f6a977
RD
5634}
5635 if (_obj3)
5636{
5637 _arg3 = &temp0;
5638 if (! wxSize_helper(_obj3, &_arg3))
c95e68d8 5639 return NULL;
37f6a977 5640}
c95e68d8
RD
5641 if (_obj5)
5642{
5643 _arg5 = wxString_LIST_helper(_obj5);
5644 if (_arg5 == NULL) {
5645 return NULL;
5646 }
5647}
2d091820 5648 if (_argo7) {
b67a9327 5649 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
c95e68d8
RD
5650 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5651 return NULL;
5652 }
5653 }
9a74fcaf
RD
5654 if (_obj8)
5655{
5656 _arg8 = wxString_in_helper(_obj8);
5657 if (_arg8 == NULL)
5658 return NULL;
5659}
c95e68d8 5660{
ab9bc19b
RD
5661 if (_obj5) {
5662 _arg4 = PyList_Size(_obj5);
5663 }
5664 else {
5665 _arg4 = 0;
5666 }
c95e68d8 5667}
ab9bc19b 5668{
474c48f9 5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 5670 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
ab9bc19b 5671
474c48f9 5672 wxPyEndAllowThreads(__tstate);
4dfaa61e 5673 if (PyErr_Occurred()) return NULL;
2d091820
RD
5674} if (_result) {
5675 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5676 _resultobj = Py_BuildValue("s",_ptemp);
5677 } else {
5678 Py_INCREF(Py_None);
5679 _resultobj = Py_None;
5680 }
c95e68d8
RD
5681{
5682 delete [] _arg5;
9a74fcaf
RD
5683}
5684{
5685 if (_obj8)
5686 delete _arg8;
c95e68d8
RD
5687}
5688 return _resultobj;
5689}
5690
aa2a5b86
RD
5691#define new_wxPreCheckListBox() (new wxCheckListBox())
5692static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5693 PyObject * _resultobj;
5694 wxCheckListBox * _result;
5695 char *_kwnames[] = { NULL };
5696 char _ptemp[128];
5697
5698 self = self;
5699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
5700 return NULL;
5701{
474c48f9 5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5703 _result = (wxCheckListBox *)new_wxPreCheckListBox();
aa2a5b86 5704
474c48f9 5705 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5706 if (PyErr_Occurred()) return NULL;
5707} if (_result) {
5708 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5709 _resultobj = Py_BuildValue("s",_ptemp);
5710 } else {
5711 Py_INCREF(Py_None);
5712 _resultobj = Py_None;
5713 }
5714 return _resultobj;
5715}
5716
5717#define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5718static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5719 PyObject * _resultobj;
5720 bool _result;
5721 wxCheckListBox * _arg0;
5722 wxWindow * _arg1;
5723 wxWindowID _arg2;
5724 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5725 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5726 int _arg5 = (int ) 0;
5727 wxString * _arg6 = (wxString *) NULL;
5728 long _arg7 = (long ) 0;
5729 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 5730 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
aa2a5b86
RD
5731 PyObject * _argo0 = 0;
5732 PyObject * _argo1 = 0;
5733 wxPoint temp;
5734 PyObject * _obj3 = 0;
5735 wxSize temp0;
5736 PyObject * _obj4 = 0;
5737 PyObject * _obj6 = 0;
5738 PyObject * _argo8 = 0;
9a74fcaf 5739 PyObject * _obj9 = 0;
aa2a5b86
RD
5740 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5741
5742 self = self;
9a74fcaf 5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
aa2a5b86
RD
5744 return NULL;
5745 if (_argo0) {
5746 if (_argo0 == Py_None) { _arg0 = NULL; }
5747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5749 return NULL;
5750 }
5751 }
5752 if (_argo1) {
5753 if (_argo1 == Py_None) { _arg1 = NULL; }
5754 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5755 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5756 return NULL;
5757 }
5758 }
5759 if (_obj3)
5760{
5761 _arg3 = &temp;
5762 if (! wxPoint_helper(_obj3, &_arg3))
5763 return NULL;
5764}
5765 if (_obj4)
5766{
5767 _arg4 = &temp0;
5768 if (! wxSize_helper(_obj4, &_arg4))
5769 return NULL;
5770}
5771 if (_obj6)
5772{
5773 _arg6 = wxString_LIST_helper(_obj6);
5774 if (_arg6 == NULL) {
5775 return NULL;
5776 }
5777}
5778 if (_argo8) {
b67a9327 5779 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
aa2a5b86
RD
5780 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5781 return NULL;
5782 }
5783 }
9a74fcaf
RD
5784 if (_obj9)
5785{
5786 _arg9 = wxString_in_helper(_obj9);
5787 if (_arg9 == NULL)
5788 return NULL;
5789}
aa2a5b86
RD
5790{
5791 if (_obj6) {
5792 _arg5 = PyList_Size(_obj6);
5793 }
5794 else {
5795 _arg5 = 0;
5796 }
5797}
5798{
474c48f9 5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 5800 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
aa2a5b86 5801
474c48f9 5802 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
5803 if (PyErr_Occurred()) return NULL;
5804} _resultobj = Py_BuildValue("i",_result);
5805{
5806 delete [] _arg6;
9a74fcaf
RD
5807}
5808{
5809 if (_obj9)
5810 delete _arg9;
aa2a5b86
RD
5811}
5812 return _resultobj;
5813}
5814
c95e68d8 5815#define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
107e4716 5816static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5817 PyObject * _resultobj;
5818 bool _result;
5819 wxCheckListBox * _arg0;
5820 int _arg1;
2d091820 5821 PyObject * _argo0 = 0;
107e4716 5822 char *_kwnames[] = { "self","uiIndex", NULL };
c95e68d8
RD
5823
5824 self = self;
107e4716 5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
c95e68d8 5826 return NULL;
2d091820
RD
5827 if (_argo0) {
5828 if (_argo0 == Py_None) { _arg0 = NULL; }
5829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
5830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5831 return NULL;
5832 }
5833 }
ab9bc19b 5834{
474c48f9 5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5836 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
ab9bc19b 5837
474c48f9 5838 wxPyEndAllowThreads(__tstate);
4dfaa61e 5839 if (PyErr_Occurred()) return NULL;
ab9bc19b 5840} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
5841 return _resultobj;
5842}
5843
5844#define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
107e4716 5845static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5846 PyObject * _resultobj;
5847 wxCheckListBox * _arg0;
5848 int _arg1;
d29aba2f 5849 int _arg2 = (int ) TRUE;
2d091820 5850 PyObject * _argo0 = 0;
107e4716 5851 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
c95e68d8
RD
5852
5853 self = self;
d29aba2f 5854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
c95e68d8 5855 return NULL;
2d091820
RD
5856 if (_argo0) {
5857 if (_argo0 == Py_None) { _arg0 = NULL; }
5858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
5859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5860 return NULL;
5861 }
5862 }
ab9bc19b 5863{
474c48f9 5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5865 wxCheckListBox_Check(_arg0,_arg1,_arg2);
ab9bc19b 5866
474c48f9 5867 wxPyEndAllowThreads(__tstate);
4dfaa61e 5868 if (PyErr_Occurred()) return NULL;
ab9bc19b 5869} Py_INCREF(Py_None);
c95e68d8
RD
5870 _resultobj = Py_None;
5871 return _resultobj;
5872}
5873
d29aba2f
RD
5874#define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5875static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5876 PyObject * _resultobj;
5877 wxCheckListBox * _arg0;
5878 int _arg1;
5879 wxString * _arg2;
5880 int _arg3;
5881 PyObject * _argo0 = 0;
5882 PyObject * _obj2 = 0;
e02c03a4 5883 char *_kwnames[] = { "self","choices","pos", NULL };
d29aba2f
RD
5884
5885 self = self;
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5887 return NULL;
5888 if (_argo0) {
5889 if (_argo0 == Py_None) { _arg0 = NULL; }
5890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5892 return NULL;
5893 }
5894 }
5895{
5896 _arg2 = wxString_LIST_helper(_obj2);
5897 if (_arg2 == NULL) {
5898 return NULL;
5899 }
5900}
5901{
5902 if (_obj2) {
5903 _arg1 = PyList_Size(_obj2);
5904 }
5905 else {
5906 _arg1 = 0;
5907 }
5908}
5909{
474c48f9 5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5911 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
d29aba2f 5912
474c48f9 5913 wxPyEndAllowThreads(__tstate);
4dfaa61e 5914 if (PyErr_Occurred()) return NULL;
d29aba2f
RD
5915} Py_INCREF(Py_None);
5916 _resultobj = Py_None;
5917{
5918 delete [] _arg2;
5919}
5920 return _resultobj;
5921}
5922
c95e68d8 5923#define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
107e4716 5924static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
c95e68d8
RD
5925 PyObject * _resultobj;
5926 int _result;
5927 wxCheckListBox * _arg0;
2d091820 5928 PyObject * _argo0 = 0;
107e4716 5929 char *_kwnames[] = { "self", NULL };
c95e68d8
RD
5930
5931 self = self;
107e4716 5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
c95e68d8 5933 return NULL;
2d091820
RD
5934 if (_argo0) {
5935 if (_argo0 == Py_None) { _arg0 = NULL; }
5936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
c95e68d8
RD
5937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5938 return NULL;
5939 }
5940 }
ab9bc19b 5941{
474c48f9 5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 5943 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
ab9bc19b 5944
474c48f9 5945 wxPyEndAllowThreads(__tstate);
4dfaa61e 5946 if (PyErr_Occurred()) return NULL;
ab9bc19b 5947} _resultobj = Py_BuildValue("i",_result);
c95e68d8
RD
5948 return _resultobj;
5949}
5950
c81fd4b9
RD
5951#define wxCheckListBox_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5952static PyObject *_wrap_wxCheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5953 PyObject * _resultobj;
5954 int _result;
5955 wxCheckListBox * _arg0;
5956 wxPoint * _arg1;
5957 PyObject * _argo0 = 0;
5958 wxPoint temp;
5959 PyObject * _obj1 = 0;
5960 char *_kwnames[] = { "self","pt", NULL };
5961
5962 self = self;
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCheckListBox_HitTest",_kwnames,&_argo0,&_obj1))
5964 return NULL;
5965 if (_argo0) {
5966 if (_argo0 == Py_None) { _arg0 = NULL; }
5967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p.");
5969 return NULL;
5970 }
5971 }
5972{
5973 _arg1 = &temp;
5974 if (! wxPoint_helper(_obj1, &_arg1))
5975 return NULL;
5976}
5977{
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 _result = (int )wxCheckListBox_HitTest(_arg0,*_arg1);
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) return NULL;
5983} _resultobj = Py_BuildValue("i",_result);
5984 return _resultobj;
5985}
5986
5987#define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
5988static PyObject *_wrap_wxCheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5989 PyObject * _resultobj;
5990 int _result;
5991 wxCheckListBox * _arg0;
5992 wxCoord _arg1;
5993 wxCoord _arg2;
5994 PyObject * _argo0 = 0;
5995 char *_kwnames[] = { "self","x","y", NULL };
5996
5997 self = self;
5998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCheckListBox_HitTestXY",_kwnames,&_argo0,&_arg1,&_arg2))
5999 return NULL;
6000 if (_argo0) {
6001 if (_argo0 == Py_None) { _arg0 = NULL; }
6002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
6003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p.");
6004 return NULL;
6005 }
6006 }
6007{
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 _result = (int )wxCheckListBox_HitTestXY(_arg0,_arg1,_arg2);
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) return NULL;
6013} _resultobj = Py_BuildValue("i",_result);
6014 return _resultobj;
6015}
6016
3ef86e32 6017#define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9d6da64a
RD
6018static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject * _resultobj;
6020 wxTextAttr * _result;
6021 wxColour * _arg0 = (wxColour *) &wxNullColour;
6022 wxColour * _arg1 = (wxColour *) &wxNullColour;
6023 wxFont * _arg2 = (wxFont *) &wxNullFont;
3ef86e32 6024 wxTextAttrAlignment _arg3 = (wxTextAttrAlignment ) (wxTEXT_ALIGNMENT_DEFAULT);
9d6da64a
RD
6025 wxColour temp;
6026 PyObject * _obj0 = 0;
6027 wxColour temp0;
6028 PyObject * _obj1 = 0;
6029 PyObject * _argo2 = 0;
3ef86e32 6030 char *_kwnames[] = { "colText","colBack","font","alignment", NULL };
9d6da64a
RD
6031 char _ptemp[128];
6032
6033 self = self;
3ef86e32 6034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOOi:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2,&_arg3))
9d6da64a
RD
6035 return NULL;
6036 if (_obj0)
6037{
6038 _arg0 = &temp;
6039 if (! wxColour_helper(_obj0, &_arg0))
6040 return NULL;
6041}
6042 if (_obj1)
6043{
6044 _arg1 = &temp0;
6045 if (! wxColour_helper(_obj1, &_arg1))
6046 return NULL;
6047}
6048 if (_argo2) {
b67a9327 6049 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
9d6da64a
RD
6050 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
6051 return NULL;
6052 }
6053 }
6054{
474c48f9 6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
3ef86e32 6056 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2,_arg3);
9d6da64a 6057
474c48f9 6058 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6059 if (PyErr_Occurred()) return NULL;
6060} if (_result) {
6061 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
6062 _resultobj = Py_BuildValue("s",_ptemp);
6063 } else {
6064 Py_INCREF(Py_None);
6065 _resultobj = Py_None;
6066 }
6067 return _resultobj;
6068}
6069
6070#define delete_wxTextAttr(_swigobj) (delete _swigobj)
6071static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6072 PyObject * _resultobj;
6073 wxTextAttr * _arg0;
6074 PyObject * _argo0 = 0;
6075 char *_kwnames[] = { "self", NULL };
6076
6077 self = self;
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
6079 return NULL;
6080 if (_argo0) {
6081 if (_argo0 == Py_None) { _arg0 = NULL; }
6082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
6084 return NULL;
6085 }
6086 }
6087{
474c48f9 6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6089 delete_wxTextAttr(_arg0);
9d6da64a 6090
474c48f9 6091 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6092 if (PyErr_Occurred()) return NULL;
6093} Py_INCREF(Py_None);
6094 _resultobj = Py_None;
6095 return _resultobj;
6096}
6097
3ef86e32
RD
6098#define wxTextAttr_Init(_swigobj) (_swigobj->Init())
6099static PyObject *_wrap_wxTextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6100 PyObject * _resultobj;
6101 wxTextAttr * _arg0;
6102 PyObject * _argo0 = 0;
6103 char *_kwnames[] = { "self", NULL };
6104
6105 self = self;
6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_Init",_kwnames,&_argo0))
6107 return NULL;
6108 if (_argo0) {
6109 if (_argo0 == Py_None) { _arg0 = NULL; }
6110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Init. Expected _wxTextAttr_p.");
6112 return NULL;
6113 }
6114 }
6115{
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 wxTextAttr_Init(_arg0);
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) return NULL;
6121} Py_INCREF(Py_None);
6122 _resultobj = Py_None;
6123 return _resultobj;
6124}
6125
9d6da64a
RD
6126#define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6127static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject * _resultobj;
6129 wxTextAttr * _arg0;
6130 wxColour * _arg1;
6131 PyObject * _argo0 = 0;
6132 wxColour temp;
6133 PyObject * _obj1 = 0;
6134 char *_kwnames[] = { "self","colText", NULL };
6135
6136 self = self;
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
6138 return NULL;
6139 if (_argo0) {
6140 if (_argo0 == Py_None) { _arg0 = NULL; }
6141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
6143 return NULL;
6144 }
6145 }
6146{
6147 _arg1 = &temp;
6148 if (! wxColour_helper(_obj1, &_arg1))
6149 return NULL;
6150}
6151{
474c48f9 6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6153 wxTextAttr_SetTextColour(_arg0,*_arg1);
9d6da64a 6154
474c48f9 6155 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6156 if (PyErr_Occurred()) return NULL;
6157} Py_INCREF(Py_None);
6158 _resultobj = Py_None;
6159 return _resultobj;
6160}
6161
6162#define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
6163static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6164 PyObject * _resultobj;
6165 wxTextAttr * _arg0;
6166 wxColour * _arg1;
6167 PyObject * _argo0 = 0;
6168 wxColour temp;
6169 PyObject * _obj1 = 0;
6170 char *_kwnames[] = { "self","colBack", NULL };
6171
6172 self = self;
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
6174 return NULL;
6175 if (_argo0) {
6176 if (_argo0 == Py_None) { _arg0 = NULL; }
6177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
6179 return NULL;
6180 }
6181 }
6182{
6183 _arg1 = &temp;
6184 if (! wxColour_helper(_obj1, &_arg1))
6185 return NULL;
6186}
6187{
474c48f9 6188 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6189 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
9d6da64a 6190
474c48f9 6191 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6192 if (PyErr_Occurred()) return NULL;
6193} Py_INCREF(Py_None);
6194 _resultobj = Py_None;
6195 return _resultobj;
6196}
6197
6198#define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6199static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6200 PyObject * _resultobj;
6201 wxTextAttr * _arg0;
6202 wxFont * _arg1;
6203 PyObject * _argo0 = 0;
6204 PyObject * _argo1 = 0;
6205 char *_kwnames[] = { "self","font", NULL };
6206
6207 self = self;
6208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
6209 return NULL;
6210 if (_argo0) {
6211 if (_argo0 == Py_None) { _arg0 = NULL; }
6212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
6214 return NULL;
6215 }
6216 }
6217 if (_argo1) {
b67a9327 6218 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
9d6da64a
RD
6219 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
6220 return NULL;
6221 }
6222 }
6223{
474c48f9 6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6225 wxTextAttr_SetFont(_arg0,*_arg1);
9d6da64a 6226
474c48f9 6227 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6228 if (PyErr_Occurred()) return NULL;
6229} Py_INCREF(Py_None);
6230 _resultobj = Py_None;
6231 return _resultobj;
6232}
6233
3ef86e32
RD
6234#define wxTextAttr_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
6235static PyObject *_wrap_wxTextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6236 PyObject * _resultobj;
6237 wxTextAttr * _arg0;
6238 wxTextAttrAlignment _arg1;
6239 PyObject * _argo0 = 0;
6240 char *_kwnames[] = { "self","alignment", NULL };
6241
6242 self = self;
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetAlignment",_kwnames,&_argo0,&_arg1))
6244 return NULL;
6245 if (_argo0) {
6246 if (_argo0 == Py_None) { _arg0 = NULL; }
6247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetAlignment. Expected _wxTextAttr_p.");
6249 return NULL;
6250 }
6251 }
6252{
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 wxTextAttr_SetAlignment(_arg0,_arg1);
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) return NULL;
6258} Py_INCREF(Py_None);
6259 _resultobj = Py_None;
6260 return _resultobj;
6261}
6262
6263#define wxTextAttr_SetTabs(_swigobj,_swigarg0) (_swigobj->SetTabs(_swigarg0))
6264static PyObject *_wrap_wxTextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6265 PyObject * _resultobj;
6266 wxTextAttr * _arg0;
6267 wxArrayInt * _arg1;
6268 PyObject * _argo0 = 0;
6269 PyObject * _obj1 = 0;
6270 char *_kwnames[] = { "self","tabs", NULL };
6271
6272 self = self;
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTabs",_kwnames,&_argo0,&_obj1))
6274 return NULL;
6275 if (_argo0) {
6276 if (_argo0 == Py_None) { _arg0 = NULL; }
6277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTabs. Expected _wxTextAttr_p.");
6279 return NULL;
6280 }
6281 }
6282{
6283 if (! PySequence_Check(_obj1)) {
6284 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6285 return NULL;
6286 }
6287 _arg1 = new wxArrayInt;
6288 int i, len=PySequence_Length(_obj1);
6289 for (i=0; i<len; i++) {
6290 PyObject* item = PySequence_GetItem(_obj1, i);
6291 PyObject* number = PyNumber_Int(item);
6292 _arg1->Add(PyInt_AS_LONG(number));
6293 Py_DECREF(item);
6294 Py_DECREF(number);
6295 }
6296}
6297{
6298 PyThreadState* __tstate = wxPyBeginAllowThreads();
6299 wxTextAttr_SetTabs(_arg0,*_arg1);
6300
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) return NULL;
6303} Py_INCREF(Py_None);
6304 _resultobj = Py_None;
6305{
6306 if (_obj1)
6307 delete _arg1;
6308}
6309 return _resultobj;
6310}
6311
6312#define wxTextAttr_SetLeftIndent(_swigobj,_swigarg0) (_swigobj->SetLeftIndent(_swigarg0))
6313static PyObject *_wrap_wxTextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6314 PyObject * _resultobj;
6315 wxTextAttr * _arg0;
6316 int _arg1;
6317 PyObject * _argo0 = 0;
6318 char *_kwnames[] = { "self","indent", NULL };
6319
6320 self = self;
6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetLeftIndent",_kwnames,&_argo0,&_arg1))
6322 return NULL;
6323 if (_argo0) {
6324 if (_argo0 == Py_None) { _arg0 = NULL; }
6325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetLeftIndent. Expected _wxTextAttr_p.");
6327 return NULL;
6328 }
6329 }
6330{
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 wxTextAttr_SetLeftIndent(_arg0,_arg1);
6333
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) return NULL;
6336} Py_INCREF(Py_None);
6337 _resultobj = Py_None;
6338 return _resultobj;
6339}
6340
6341#define wxTextAttr_SetRightIndent(_swigobj,_swigarg0) (_swigobj->SetRightIndent(_swigarg0))
6342static PyObject *_wrap_wxTextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6343 PyObject * _resultobj;
6344 wxTextAttr * _arg0;
6345 int _arg1;
6346 PyObject * _argo0 = 0;
6347 char *_kwnames[] = { "self","indent", NULL };
6348
6349 self = self;
6350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetRightIndent",_kwnames,&_argo0,&_arg1))
6351 return NULL;
6352 if (_argo0) {
6353 if (_argo0 == Py_None) { _arg0 = NULL; }
6354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetRightIndent. Expected _wxTextAttr_p.");
6356 return NULL;
6357 }
6358 }
6359{
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 wxTextAttr_SetRightIndent(_arg0,_arg1);
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) return NULL;
6365} Py_INCREF(Py_None);
6366 _resultobj = Py_None;
6367 return _resultobj;
6368}
6369
6370#define wxTextAttr_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
6371static PyObject *_wrap_wxTextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6372 PyObject * _resultobj;
6373 wxTextAttr * _arg0;
6374 long _arg1;
6375 PyObject * _argo0 = 0;
6376 char *_kwnames[] = { "self","flags", NULL };
6377
6378 self = self;
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextAttr_SetFlags",_kwnames,&_argo0,&_arg1))
6380 return NULL;
6381 if (_argo0) {
6382 if (_argo0 == Py_None) { _arg0 = NULL; }
6383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFlags. Expected _wxTextAttr_p.");
6385 return NULL;
6386 }
6387 }
6388{
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 wxTextAttr_SetFlags(_arg0,_arg1);
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) return NULL;
6394} Py_INCREF(Py_None);
6395 _resultobj = Py_None;
6396 return _resultobj;
6397}
6398
9d6da64a
RD
6399#define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6400static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6401 PyObject * _resultobj;
6402 bool _result;
6403 wxTextAttr * _arg0;
6404 PyObject * _argo0 = 0;
6405 char *_kwnames[] = { "self", NULL };
6406
6407 self = self;
6408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
6409 return NULL;
6410 if (_argo0) {
6411 if (_argo0 == Py_None) { _arg0 = NULL; }
6412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6414 return NULL;
6415 }
6416 }
6417{
474c48f9 6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6419 _result = (bool )wxTextAttr_HasTextColour(_arg0);
9d6da64a 6420
474c48f9 6421 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6422 if (PyErr_Occurred()) return NULL;
6423} _resultobj = Py_BuildValue("i",_result);
6424 return _resultobj;
6425}
6426
6427#define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6428static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6429 PyObject * _resultobj;
6430 bool _result;
6431 wxTextAttr * _arg0;
6432 PyObject * _argo0 = 0;
6433 char *_kwnames[] = { "self", NULL };
6434
6435 self = self;
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
6437 return NULL;
6438 if (_argo0) {
6439 if (_argo0 == Py_None) { _arg0 = NULL; }
6440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6442 return NULL;
6443 }
6444 }
6445{
474c48f9 6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6447 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
9d6da64a 6448
474c48f9 6449 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6450 if (PyErr_Occurred()) return NULL;
6451} _resultobj = Py_BuildValue("i",_result);
6452 return _resultobj;
6453}
6454
6455#define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6456static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject * _resultobj;
6458 bool _result;
6459 wxTextAttr * _arg0;
6460 PyObject * _argo0 = 0;
6461 char *_kwnames[] = { "self", NULL };
6462
6463 self = self;
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
6465 return NULL;
6466 if (_argo0) {
6467 if (_argo0 == Py_None) { _arg0 = NULL; }
6468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6470 return NULL;
6471 }
6472 }
6473{
474c48f9 6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6475 _result = (bool )wxTextAttr_HasFont(_arg0);
9d6da64a 6476
474c48f9 6477 wxPyEndAllowThreads(__tstate);
9d6da64a
RD
6478 if (PyErr_Occurred()) return NULL;
6479} _resultobj = Py_BuildValue("i",_result);
6480 return _resultobj;
6481}
6482
3ef86e32
RD
6483#define wxTextAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
6484static PyObject *_wrap_wxTextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6485 PyObject * _resultobj;
6486 bool _result;
6487 wxTextAttr * _arg0;
6488 PyObject * _argo0 = 0;
6489 char *_kwnames[] = { "self", NULL };
6490
6491 self = self;
6492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasAlignment",_kwnames,&_argo0))
6493 return NULL;
6494 if (_argo0) {
6495 if (_argo0 == Py_None) { _arg0 = NULL; }
6496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasAlignment. Expected _wxTextAttr_p.");
6498 return NULL;
6499 }
6500 }
6501{
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 _result = (bool )wxTextAttr_HasAlignment(_arg0);
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) return NULL;
6507} _resultobj = Py_BuildValue("i",_result);
6508 return _resultobj;
6509}
6510
6511#define wxTextAttr_HasTabs(_swigobj) (_swigobj->HasTabs())
6512static PyObject *_wrap_wxTextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6513 PyObject * _resultobj;
6514 bool _result;
6515 wxTextAttr * _arg0;
6516 PyObject * _argo0 = 0;
6517 char *_kwnames[] = { "self", NULL };
6518
6519 self = self;
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTabs",_kwnames,&_argo0))
6521 return NULL;
6522 if (_argo0) {
6523 if (_argo0 == Py_None) { _arg0 = NULL; }
6524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTabs. Expected _wxTextAttr_p.");
6526 return NULL;
6527 }
6528 }
6529{
6530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6531 _result = (bool )wxTextAttr_HasTabs(_arg0);
6532
6533 wxPyEndAllowThreads(__tstate);
6534 if (PyErr_Occurred()) return NULL;
6535} _resultobj = Py_BuildValue("i",_result);
6536 return _resultobj;
6537}
6538
6539#define wxTextAttr_HasLeftIndent(_swigobj) (_swigobj->HasLeftIndent())
6540static PyObject *_wrap_wxTextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6541 PyObject * _resultobj;
6542 bool _result;
6543 wxTextAttr * _arg0;
6544 PyObject * _argo0 = 0;
6545 char *_kwnames[] = { "self", NULL };
6546
6547 self = self;
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasLeftIndent",_kwnames,&_argo0))
6549 return NULL;
6550 if (_argo0) {
6551 if (_argo0 == Py_None) { _arg0 = NULL; }
6552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasLeftIndent. Expected _wxTextAttr_p.");
6554 return NULL;
6555 }
6556 }
6557{
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 _result = (bool )wxTextAttr_HasLeftIndent(_arg0);
6560
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) return NULL;
6563} _resultobj = Py_BuildValue("i",_result);
6564 return _resultobj;
6565}
6566
6567#define wxTextAttr_HasRightIndent(_swigobj) (_swigobj->HasRightIndent())
6568static PyObject *_wrap_wxTextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6569 PyObject * _resultobj;
6570 bool _result;
6571 wxTextAttr * _arg0;
6572 PyObject * _argo0 = 0;
6573 char *_kwnames[] = { "self", NULL };
6574
6575 self = self;
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasRightIndent",_kwnames,&_argo0))
6577 return NULL;
6578 if (_argo0) {
6579 if (_argo0 == Py_None) { _arg0 = NULL; }
6580 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasRightIndent. Expected _wxTextAttr_p.");
6582 return NULL;
6583 }
6584 }
6585{
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 _result = (bool )wxTextAttr_HasRightIndent(_arg0);
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) return NULL;
6591} _resultobj = Py_BuildValue("i",_result);
6592 return _resultobj;
6593}
6594
6595#define wxTextAttr_HasFlag(_swigobj,_swigarg0) (_swigobj->HasFlag(_swigarg0))
6596static PyObject *_wrap_wxTextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6597 PyObject * _resultobj;
6598 bool _result;
6599 wxTextAttr * _arg0;
6600 long _arg1;
6601 PyObject * _argo0 = 0;
6602 char *_kwnames[] = { "self","flag", NULL };
6603
6604 self = self;
6605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextAttr_HasFlag",_kwnames,&_argo0,&_arg1))
6606 return NULL;
6607 if (_argo0) {
6608 if (_argo0 == Py_None) { _arg0 = NULL; }
6609 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6610 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFlag. Expected _wxTextAttr_p.");
6611 return NULL;
6612 }
6613 }
6614{
6615 PyThreadState* __tstate = wxPyBeginAllowThreads();
6616 _result = (bool )wxTextAttr_HasFlag(_arg0,_arg1);
6617
6618 wxPyEndAllowThreads(__tstate);
6619 if (PyErr_Occurred()) return NULL;
6620} _resultobj = Py_BuildValue("i",_result);
6621 return _resultobj;
6622}
6623
9d6da64a
RD
6624#define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6625static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject * _resultobj;
6627 wxColour * _result;
6628 wxTextAttr * _arg0;
6629 PyObject * _argo0 = 0;
6630 char *_kwnames[] = { "self", NULL };
6631 char _ptemp[128];
6632
6633 self = self;
6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
6635 return NULL;
6636 if (_argo0) {
6637 if (_argo0 == Py_None) { _arg0 = NULL; }
6638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6640 return NULL;
6641 }
6642 }
6643{
474c48f9 6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6645 _result = new wxColour (wxTextAttr_GetTextColour(_arg0));
9d6da64a 6646
474c48f9 6647 wxPyEndAllowThreads(__tstate);
9d6da64a 6648 if (PyErr_Occurred()) return NULL;
3e212503
RD
6649} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6650 _resultobj = Py_BuildValue("s",_ptemp);
9d6da64a
RD
6651 return _resultobj;
6652}
6653
6654#define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6655static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject * _resultobj;
6657 wxColour * _result;
6658 wxTextAttr * _arg0;
6659 PyObject * _argo0 = 0;
6660 char *_kwnames[] = { "self", NULL };
6661 char _ptemp[128];
6662
6663 self = self;
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
6665 return NULL;
6666 if (_argo0) {
6667 if (_argo0 == Py_None) { _arg0 = NULL; }
6668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6670 return NULL;
6671 }
6672 }
6673{
474c48f9 6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6675 _result = new wxColour (wxTextAttr_GetBackgroundColour(_arg0));
9d6da64a 6676
474c48f9 6677 wxPyEndAllowThreads(__tstate);
9d6da64a 6678 if (PyErr_Occurred()) return NULL;
3e212503
RD
6679} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6680 _resultobj = Py_BuildValue("s",_ptemp);
9d6da64a
RD
6681 return _resultobj;
6682}
6683
6684#define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6685static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6686 PyObject * _resultobj;
6687 wxFont * _result;
6688 wxTextAttr * _arg0;
6689 PyObject * _argo0 = 0;
6690 char *_kwnames[] = { "self", NULL };
6691 char _ptemp[128];
6692
6693 self = self;
6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
6695 return NULL;
6696 if (_argo0) {
6697 if (_argo0 == Py_None) { _arg0 = NULL; }
6698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6700 return NULL;
6701 }
6702 }
6703{
474c48f9 6704 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6705 _result = new wxFont (wxTextAttr_GetFont(_arg0));
9d6da64a 6706
474c48f9 6707 wxPyEndAllowThreads(__tstate);
9d6da64a 6708 if (PyErr_Occurred()) return NULL;
3e212503
RD
6709} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
6710 _resultobj = Py_BuildValue("s",_ptemp);
9d6da64a
RD
6711 return _resultobj;
6712}
6713
3ef86e32
RD
6714#define wxTextAttr_GetAlignment(_swigobj) (_swigobj->GetAlignment())
6715static PyObject *_wrap_wxTextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6716 PyObject * _resultobj;
6717 wxTextAttrAlignment _result;
6718 wxTextAttr * _arg0;
6719 PyObject * _argo0 = 0;
6720 char *_kwnames[] = { "self", NULL };
6721
6722 self = self;
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetAlignment",_kwnames,&_argo0))
6724 return NULL;
6725 if (_argo0) {
6726 if (_argo0 == Py_None) { _arg0 = NULL; }
6727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetAlignment. Expected _wxTextAttr_p.");
6729 return NULL;
6730 }
6731 }
6732{
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 _result = (wxTextAttrAlignment )wxTextAttr_GetAlignment(_arg0);
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) return NULL;
6738} _resultobj = Py_BuildValue("i",_result);
6739 return _resultobj;
6740}
6741
6742#define wxTextAttr_GetTabs(_swigobj) (_swigobj->GetTabs())
6743static PyObject *_wrap_wxTextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6744 PyObject * _resultobj;
6745 wxArrayInt * _result;
6746 wxTextAttr * _arg0;
6747 PyObject * _argo0 = 0;
6748 char *_kwnames[] = { "self", NULL };
6749
6750 self = self;
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTabs",_kwnames,&_argo0))
6752 return NULL;
6753 if (_argo0) {
6754 if (_argo0 == Py_None) { _arg0 = NULL; }
6755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTabs. Expected _wxTextAttr_p.");
6757 return NULL;
6758 }
6759 }
6760{
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 const wxArrayInt & _result_ref = wxTextAttr_GetTabs(_arg0);
6763 _result = (wxArrayInt *) &_result_ref;
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) return NULL;
6767}{
6768 _resultobj = PyList_New(0);
6769 size_t idx;
6770 for (idx = 0; idx < _result->GetCount(); idx += 1) {
6771 PyObject* val = PyInt_FromLong(_result->Item(idx));
6772 PyList_Append(_resultobj, val);
6773 Py_DECREF(val);
6774 }
6775}
6776 return _resultobj;
6777}
6778
6779#define wxTextAttr_GetLeftIndent(_swigobj) (_swigobj->GetLeftIndent())
6780static PyObject *_wrap_wxTextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6781 PyObject * _resultobj;
6782 long _result;
6783 wxTextAttr * _arg0;
6784 PyObject * _argo0 = 0;
6785 char *_kwnames[] = { "self", NULL };
6786
6787 self = self;
6788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetLeftIndent",_kwnames,&_argo0))
6789 return NULL;
6790 if (_argo0) {
6791 if (_argo0 == Py_None) { _arg0 = NULL; }
6792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetLeftIndent. Expected _wxTextAttr_p.");
6794 return NULL;
6795 }
6796 }
6797{
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 _result = (long )wxTextAttr_GetLeftIndent(_arg0);
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) return NULL;
6803} _resultobj = Py_BuildValue("l",_result);
6804 return _resultobj;
6805}
6806
6807#define wxTextAttr_GetRightIndent(_swigobj) (_swigobj->GetRightIndent())
6808static PyObject *_wrap_wxTextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6809 PyObject * _resultobj;
6810 long _result;
6811 wxTextAttr * _arg0;
6812 PyObject * _argo0 = 0;
6813 char *_kwnames[] = { "self", NULL };
6814
6815 self = self;
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetRightIndent",_kwnames,&_argo0))
6817 return NULL;
6818 if (_argo0) {
6819 if (_argo0 == Py_None) { _arg0 = NULL; }
6820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetRightIndent. Expected _wxTextAttr_p.");
6822 return NULL;
6823 }
6824 }
6825{
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 _result = (long )wxTextAttr_GetRightIndent(_arg0);
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) return NULL;
6831} _resultobj = Py_BuildValue("l",_result);
6832 return _resultobj;
6833}
6834
6835#define wxTextAttr_GetFlags(_swigobj) (_swigobj->GetFlags())
6836static PyObject *_wrap_wxTextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6837 PyObject * _resultobj;
6838 long _result;
6839 wxTextAttr * _arg0;
6840 PyObject * _argo0 = 0;
6841 char *_kwnames[] = { "self", NULL };
6842
6843 self = self;
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFlags",_kwnames,&_argo0))
6845 return NULL;
6846 if (_argo0) {
6847 if (_argo0 == Py_None) { _arg0 = NULL; }
6848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFlags. Expected _wxTextAttr_p.");
6850 return NULL;
6851 }
6852 }
6853{
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 _result = (long )wxTextAttr_GetFlags(_arg0);
6856
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) return NULL;
6859} _resultobj = Py_BuildValue("l",_result);
6860 return _resultobj;
6861}
6862
a57d56d6
RD
6863#define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6864static PyObject *_wrap_wxTextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6865 PyObject * _resultobj;
6866 bool _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_IsDefault",_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_IsDefault. Expected _wxTextAttr_p.");
6878 return NULL;
6879 }
6880 }
6881{
474c48f9 6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6883 _result = (bool )wxTextAttr_IsDefault(_arg0);
a57d56d6 6884
474c48f9 6885 wxPyEndAllowThreads(__tstate);
a57d56d6
RD
6886 if (PyErr_Occurred()) return NULL;
6887} _resultobj = Py_BuildValue("i",_result);
6888 return _resultobj;
6889}
6890
7a9b33db
RD
6891static PyObject *_wrap_wxTextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject * _resultobj;
6893 wxTextAttr * _result;
6894 wxTextAttr * _arg0;
6895 wxTextAttr * _arg1;
6896 wxTextCtrl * _arg2;
6897 PyObject * _argo0 = 0;
6898 PyObject * _argo1 = 0;
6899 PyObject * _argo2 = 0;
6900 char *_kwnames[] = { "attr","attrDef","text", NULL };
6901 char _ptemp[128];
6902
6903 self = self;
6904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTextAttr_Combine",_kwnames,&_argo0,&_argo1,&_argo2))
6905 return NULL;
6906 if (_argo0) {
b67a9327 6907 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
7a9b33db
RD
6908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6909 return NULL;
6910 }
6911 }
6912 if (_argo1) {
b67a9327 6913 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
7a9b33db
RD
6914 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6915 return NULL;
6916 }
6917 }
6918 if (_argo2) {
6919 if (_argo2 == Py_None) { _arg2 = NULL; }
6920 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextCtrl_p")) {
6921 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6922 return NULL;
6923 }
6924 }
6925{
474c48f9 6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 6927 _result = new wxTextAttr (wxTextAttr::Combine(*_arg0,*_arg1,_arg2));
7a9b33db 6928
474c48f9 6929 wxPyEndAllowThreads(__tstate);
7a9b33db
RD
6930 if (PyErr_Occurred()) return NULL;
6931} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTextAttr_p");
6932 _resultobj = Py_BuildValue("s",_ptemp);
6933 return _resultobj;
6934}
6935
70551f47
RD
6936static void *SwigwxTextCtrlTowxControl(void *ptr) {
6937 wxTextCtrl *src;
6938 wxControl *dest;
6939 src = (wxTextCtrl *) ptr;
6940 dest = (wxControl *) src;
6941 return (void *) dest;
6942}
6943
6944static void *SwigwxTextCtrlTowxWindow(void *ptr) {
6945 wxTextCtrl *src;
6946 wxWindow *dest;
6947 src = (wxTextCtrl *) ptr;
6948 dest = (wxWindow *) src;
6949 return (void *) dest;
6950}
6951
6952static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
6953 wxTextCtrl *src;
6954 wxEvtHandler *dest;
6955 src = (wxTextCtrl *) ptr;
6956 dest = (wxEvtHandler *) src;
6957 return (void *) dest;
6958}
6959
9df61a29
RD
6960static void *SwigwxTextCtrlTowxObject(void *ptr) {
6961 wxTextCtrl *src;
6962 wxObject *dest;
6963 src = (wxTextCtrl *) ptr;
6964 dest = (wxObject *) src;
6965 return (void *) dest;
6966}
6967
70551f47 6968#define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 6969static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
6970 PyObject * _resultobj;
6971 wxTextCtrl * _result;
6972 wxWindow * _arg0;
6973 wxWindowID _arg1;
9a74fcaf 6974 wxString * _arg2 = (wxString *) &wxPyEmptyString;
b68dc582
RD
6975 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6976 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 6977 long _arg5 = (long ) 0;
b68dc582 6978 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 6979 wxString * _arg7 = (wxString *) &wxPyTextCtrlNameStr;
2d091820 6980 PyObject * _argo0 = 0;
9a74fcaf 6981 PyObject * _obj2 = 0;
37f6a977
RD
6982 wxPoint temp;
6983 PyObject * _obj3 = 0;
6984 wxSize temp0;
6985 PyObject * _obj4 = 0;
2d091820 6986 PyObject * _argo6 = 0;
9a74fcaf 6987 PyObject * _obj7 = 0;
107e4716 6988 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
70551f47
RD
6989 char _ptemp[128];
6990
6991 self = self;
9a74fcaf 6992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
70551f47 6993 return NULL;
2d091820
RD
6994 if (_argo0) {
6995 if (_argo0 == Py_None) { _arg0 = NULL; }
6996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
6997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6998 return NULL;
6999 }
7000 }
9a74fcaf
RD
7001 if (_obj2)
7002{
7003 _arg2 = wxString_in_helper(_obj2);
7004 if (_arg2 == NULL)
7005 return NULL;
7006}
37f6a977
RD
7007 if (_obj3)
7008{
7009 _arg3 = &temp;
7010 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 7011 return NULL;
37f6a977
RD
7012}
7013 if (_obj4)
7014{
7015 _arg4 = &temp0;
7016 if (! wxSize_helper(_obj4, &_arg4))
70551f47 7017 return NULL;
37f6a977 7018}
2d091820 7019 if (_argo6) {
b67a9327 7020 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
70551f47
RD
7021 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
7022 return NULL;
7023 }
7024 }
9a74fcaf
RD
7025 if (_obj7)
7026{
7027 _arg7 = wxString_in_helper(_obj7);
7028 if (_arg7 == NULL)
7029 return NULL;
7030}
ab9bc19b 7031{
474c48f9 7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 7033 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
aa2a5b86 7034
474c48f9 7035 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
7036 if (PyErr_Occurred()) return NULL;
7037} if (_result) {
7038 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
7039 _resultobj = Py_BuildValue("s",_ptemp);
7040 } else {
7041 Py_INCREF(Py_None);
7042 _resultobj = Py_None;
7043 }
9a74fcaf
RD
7044{
7045 if (_obj2)
7046 delete _arg2;
7047}
7048{
7049 if (_obj7)
7050 delete _arg7;
7051}
aa2a5b86
RD
7052 return _resultobj;
7053}
7054
7055#define new_wxPreTextCtrl() (new wxTextCtrl())
7056static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject * _resultobj;
7058 wxTextCtrl * _result;
7059 char *_kwnames[] = { NULL };
7060 char _ptemp[128];
7061
7062 self = self;
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
7064 return NULL;
7065{
474c48f9 7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7067 _result = (wxTextCtrl *)new_wxPreTextCtrl();
aa2a5b86 7068
474c48f9 7069 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
7070 if (PyErr_Occurred()) return NULL;
7071} if (_result) {
7072 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
7073 _resultobj = Py_BuildValue("s",_ptemp);
7074 } else {
7075 Py_INCREF(Py_None);
7076 _resultobj = Py_None;
7077 }
7078 return _resultobj;
7079}
7080
7081#define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7082static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7083 PyObject * _resultobj;
7084 bool _result;
7085 wxTextCtrl * _arg0;
7086 wxWindow * _arg1;
7087 wxWindowID _arg2;
9a74fcaf 7088 wxString * _arg3 = (wxString *) &wxPyEmptyString;
aa2a5b86
RD
7089 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
7090 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
7091 long _arg6 = (long ) 0;
7092 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 7093 wxString * _arg8 = (wxString *) &wxPyTextCtrlNameStr;
aa2a5b86
RD
7094 PyObject * _argo0 = 0;
7095 PyObject * _argo1 = 0;
9a74fcaf 7096 PyObject * _obj3 = 0;
aa2a5b86
RD
7097 wxPoint temp;
7098 PyObject * _obj4 = 0;
7099 wxSize temp0;
7100 PyObject * _obj5 = 0;
7101 PyObject * _argo7 = 0;
9a74fcaf 7102 PyObject * _obj8 = 0;
aa2a5b86
RD
7103 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
7104
7105 self = self;
9a74fcaf 7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
7107 return NULL;
7108 if (_argo0) {
7109 if (_argo0 == Py_None) { _arg0 = NULL; }
7110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
7112 return NULL;
7113 }
7114 }
7115 if (_argo1) {
7116 if (_argo1 == Py_None) { _arg1 = NULL; }
7117 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7118 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
7119 return NULL;
7120 }
7121 }
9a74fcaf
RD
7122 if (_obj3)
7123{
7124 _arg3 = wxString_in_helper(_obj3);
7125 if (_arg3 == NULL)
7126 return NULL;
7127}
aa2a5b86
RD
7128 if (_obj4)
7129{
7130 _arg4 = &temp;
7131 if (! wxPoint_helper(_obj4, &_arg4))
7132 return NULL;
7133}
7134 if (_obj5)
7135{
7136 _arg5 = &temp0;
7137 if (! wxSize_helper(_obj5, &_arg5))
7138 return NULL;
7139}
7140 if (_argo7) {
b67a9327 7141 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
7142 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
7143 return NULL;
7144 }
7145 }
9a74fcaf
RD
7146 if (_obj8)
7147{
7148 _arg8 = wxString_in_helper(_obj8);
7149 if (_arg8 == NULL)
7150 return NULL;
7151}
aa2a5b86 7152{
474c48f9 7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 7154 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
ab9bc19b 7155
474c48f9 7156 wxPyEndAllowThreads(__tstate);
4dfaa61e 7157 if (PyErr_Occurred()) return NULL;
aa2a5b86 7158} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
7159{
7160 if (_obj3)
7161 delete _arg3;
7162}
7163{
7164 if (_obj8)
7165 delete _arg8;
7166}
70551f47
RD
7167 return _resultobj;
7168}
7169
a57d56d6
RD
7170#define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
7171static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7172 PyObject * _resultobj;
a57d56d6 7173 wxString * _result;
70551f47 7174 wxTextCtrl * _arg0;
2d091820 7175 PyObject * _argo0 = 0;
107e4716 7176 char *_kwnames[] = { "self", NULL };
70551f47
RD
7177
7178 self = self;
a57d56d6 7179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
70551f47 7180 return NULL;
2d091820
RD
7181 if (_argo0) {
7182 if (_argo0 == Py_None) { _arg0 = NULL; }
7183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
70551f47
RD
7185 return NULL;
7186 }
7187 }
ab9bc19b 7188{
474c48f9 7189 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7190 _result = new wxString (wxTextCtrl_GetValue(_arg0));
ab9bc19b 7191
474c48f9 7192 wxPyEndAllowThreads(__tstate);
4dfaa61e 7193 if (PyErr_Occurred()) return NULL;
a57d56d6 7194}{
c8bc7bb8 7195#if wxUSE_UNICODE
b67a9327 7196 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7197#else
a57d56d6 7198 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7199#endif
a57d56d6
RD
7200}
7201{
7202 delete _result;
7203}
70551f47
RD
7204 return _resultobj;
7205}
7206
a57d56d6
RD
7207#define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7208static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7209 PyObject * _resultobj;
7210 wxTextCtrl * _arg0;
a57d56d6 7211 wxString * _arg1;
2d091820 7212 PyObject * _argo0 = 0;
a57d56d6
RD
7213 PyObject * _obj1 = 0;
7214 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
7215
7216 self = self;
a57d56d6 7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
70551f47 7218 return NULL;
2d091820
RD
7219 if (_argo0) {
7220 if (_argo0 == Py_None) { _arg0 = NULL; }
7221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
70551f47
RD
7223 return NULL;
7224 }
7225 }
a57d56d6 7226{
c8bc7bb8
RD
7227 _arg1 = wxString_in_helper(_obj1);
7228 if (_arg1 == NULL)
a57d56d6 7229 return NULL;
a57d56d6 7230}
ab9bc19b 7231{
474c48f9 7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7233 wxTextCtrl_SetValue(_arg0,*_arg1);
ab9bc19b 7234
474c48f9 7235 wxPyEndAllowThreads(__tstate);
4dfaa61e 7236 if (PyErr_Occurred()) return NULL;
ab9bc19b 7237} Py_INCREF(Py_None);
70551f47 7238 _resultobj = Py_None;
a57d56d6
RD
7239{
7240 if (_obj1)
7241 delete _arg1;
7242}
70551f47
RD
7243 return _resultobj;
7244}
7245
db34b2d4
RD
7246#define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
7247static PyObject *_wrap_wxTextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7248 PyObject * _resultobj;
7249 wxString * _result;
7250 wxTextCtrl * _arg0;
7251 long _arg1;
7252 long _arg2;
7253 PyObject * _argo0 = 0;
7254 char *_kwnames[] = { "self","from","to", NULL };
7255
7256 self = self;
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetRange",_kwnames,&_argo0,&_arg1,&_arg2))
7258 return NULL;
7259 if (_argo0) {
7260 if (_argo0 == Py_None) { _arg0 = NULL; }
7261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
7263 return NULL;
7264 }
7265 }
7266{
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7268 _result = new wxString (wxTextCtrl_GetRange(_arg0,_arg1,_arg2));
db34b2d4
RD
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) return NULL;
7272}{
c8bc7bb8 7273#if wxUSE_UNICODE
b67a9327 7274 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7275#else
db34b2d4 7276 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7277#endif
db34b2d4
RD
7278}
7279{
7280 delete _result;
7281}
7282 return _resultobj;
7283}
7284
a57d56d6
RD
7285#define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
7286static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7287 PyObject * _resultobj;
a57d56d6 7288 int _result;
70551f47 7289 wxTextCtrl * _arg0;
a57d56d6 7290 long _arg1;
2d091820 7291 PyObject * _argo0 = 0;
a57d56d6 7292 char *_kwnames[] = { "self","lineNo", NULL };
70551f47
RD
7293
7294 self = self;
a57d56d6 7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
70551f47 7296 return NULL;
2d091820
RD
7297 if (_argo0) {
7298 if (_argo0 == Py_None) { _arg0 = NULL; }
7299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
70551f47
RD
7301 return NULL;
7302 }
7303 }
ab9bc19b 7304{
474c48f9 7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7306 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
ab9bc19b 7307
474c48f9 7308 wxPyEndAllowThreads(__tstate);
4dfaa61e 7309 if (PyErr_Occurred()) return NULL;
a57d56d6 7310} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7311 return _resultobj;
7312}
7313
a57d56d6
RD
7314#define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
7315static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7316 PyObject * _resultobj;
a57d56d6 7317 wxString * _result;
70551f47 7318 wxTextCtrl * _arg0;
a57d56d6 7319 long _arg1;
2d091820 7320 PyObject * _argo0 = 0;
a57d56d6 7321 char *_kwnames[] = { "self","lineNo", NULL };
70551f47
RD
7322
7323 self = self;
a57d56d6 7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
70551f47 7325 return NULL;
2d091820
RD
7326 if (_argo0) {
7327 if (_argo0 == Py_None) { _arg0 = NULL; }
7328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
70551f47
RD
7330 return NULL;
7331 }
7332 }
ab9bc19b 7333{
474c48f9 7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7335 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
ab9bc19b 7336
474c48f9 7337 wxPyEndAllowThreads(__tstate);
4dfaa61e 7338 if (PyErr_Occurred()) return NULL;
a57d56d6 7339}{
c8bc7bb8 7340#if wxUSE_UNICODE
b67a9327 7341 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7342#else
a57d56d6 7343 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7344#endif
a57d56d6
RD
7345}
7346{
7347 delete _result;
7348}
70551f47
RD
7349 return _resultobj;
7350}
7351
a57d56d6
RD
7352#define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
7353static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7354 PyObject * _resultobj;
a57d56d6 7355 int _result;
70551f47 7356 wxTextCtrl * _arg0;
2d091820 7357 PyObject * _argo0 = 0;
107e4716 7358 char *_kwnames[] = { "self", NULL };
70551f47
RD
7359
7360 self = self;
a57d56d6 7361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
70551f47 7362 return NULL;
2d091820
RD
7363 if (_argo0) {
7364 if (_argo0 == Py_None) { _arg0 = NULL; }
7365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
70551f47
RD
7367 return NULL;
7368 }
7369 }
ab9bc19b 7370{
474c48f9 7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7372 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
ab9bc19b 7373
474c48f9 7374 wxPyEndAllowThreads(__tstate);
4dfaa61e 7375 if (PyErr_Occurred()) return NULL;
a57d56d6 7376} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7377 return _resultobj;
7378}
7379
a57d56d6
RD
7380#define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
7381static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7382 PyObject * _resultobj;
a57d56d6 7383 bool _result;
70551f47 7384 wxTextCtrl * _arg0;
2d091820 7385 PyObject * _argo0 = 0;
107e4716 7386 char *_kwnames[] = { "self", NULL };
70551f47
RD
7387
7388 self = self;
a57d56d6 7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
70551f47 7390 return NULL;
2d091820
RD
7391 if (_argo0) {
7392 if (_argo0 == Py_None) { _arg0 = NULL; }
7393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
70551f47
RD
7395 return NULL;
7396 }
7397 }
ab9bc19b 7398{
474c48f9 7399 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7400 _result = (bool )wxTextCtrl_IsModified(_arg0);
ab9bc19b 7401
474c48f9 7402 wxPyEndAllowThreads(__tstate);
4dfaa61e 7403 if (PyErr_Occurred()) return NULL;
a57d56d6 7404} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7405 return _resultobj;
7406}
7407
a57d56d6
RD
7408#define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
7409static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 7410 PyObject * _resultobj;
a57d56d6 7411 bool _result;
faf3cb35 7412 wxTextCtrl * _arg0;
2d091820 7413 PyObject * _argo0 = 0;
a57d56d6 7414 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
7415
7416 self = self;
a57d56d6 7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
faf3cb35 7418 return NULL;
2d091820
RD
7419 if (_argo0) {
7420 if (_argo0 == Py_None) { _arg0 = NULL; }
7421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
faf3cb35
RD
7423 return NULL;
7424 }
7425 }
ab9bc19b 7426{
474c48f9 7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7428 _result = (bool )wxTextCtrl_IsEditable(_arg0);
ab9bc19b 7429
474c48f9 7430 wxPyEndAllowThreads(__tstate);
4dfaa61e 7431 if (PyErr_Occurred()) return NULL;
ab9bc19b 7432} _resultobj = Py_BuildValue("i",_result);
faf3cb35
RD
7433 return _resultobj;
7434}
7435
a57d56d6
RD
7436#define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7437static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 7438 PyObject * _resultobj;
faf3cb35 7439 wxTextCtrl * _arg0;
a57d56d6
RD
7440 long * _arg1;
7441 long temp;
7442 long * _arg2;
7443 long temp0;
2d091820 7444 PyObject * _argo0 = 0;
a57d56d6 7445 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
7446
7447 self = self;
a57d56d6
RD
7448{
7449 _arg1 = &temp;
7450}
7451{
7452 _arg2 = &temp0;
7453}
7454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
faf3cb35 7455 return NULL;
2d091820
RD
7456 if (_argo0) {
7457 if (_argo0 == Py_None) { _arg0 = NULL; }
7458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
faf3cb35
RD
7460 return NULL;
7461 }
7462 }
faf3cb35 7463{
474c48f9 7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7465 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
ab9bc19b 7466
474c48f9 7467 wxPyEndAllowThreads(__tstate);
4dfaa61e 7468 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7469} Py_INCREF(Py_None);
7470 _resultobj = Py_None;
7471{
7472 PyObject *o;
7473 o = PyInt_FromLong((long) (*_arg1));
7474 _resultobj = t_output_helper(_resultobj, o);
faf3cb35
RD
7475}
7476{
a57d56d6
RD
7477 PyObject *o;
7478 o = PyInt_FromLong((long) (*_arg2));
7479 _resultobj = t_output_helper(_resultobj, o);
faf3cb35
RD
7480}
7481 return _resultobj;
7482}
7483
93283355
RD
7484#define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
7485static PyObject *_wrap_wxTextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject * _resultobj;
7487 wxString * _result;
7488 wxTextCtrl * _arg0;
7489 PyObject * _argo0 = 0;
7490 char *_kwnames[] = { "self", NULL };
7491
7492 self = self;
7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetStringSelection",_kwnames,&_argo0))
7494 return NULL;
7495 if (_argo0) {
7496 if (_argo0 == Py_None) { _arg0 = NULL; }
7497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
7499 return NULL;
7500 }
7501 }
7502{
474c48f9 7503 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7504 _result = new wxString (wxTextCtrl_GetStringSelection(_arg0));
93283355 7505
474c48f9 7506 wxPyEndAllowThreads(__tstate);
93283355
RD
7507 if (PyErr_Occurred()) return NULL;
7508}{
c8bc7bb8 7509#if wxUSE_UNICODE
b67a9327 7510 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 7511#else
93283355 7512 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 7513#endif
93283355
RD
7514}
7515{
7516 delete _result;
7517}
7518 return _resultobj;
7519}
7520
a57d56d6
RD
7521#define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
7522static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 7523 PyObject * _resultobj;
faf3cb35 7524 wxTextCtrl * _arg0;
2d091820 7525 PyObject * _argo0 = 0;
107e4716 7526 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
7527
7528 self = self;
a57d56d6 7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
faf3cb35 7530 return NULL;
2d091820
RD
7531 if (_argo0) {
7532 if (_argo0 == Py_None) { _arg0 = NULL; }
7533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
faf3cb35
RD
7535 return NULL;
7536 }
7537 }
ab9bc19b 7538{
474c48f9 7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7540 wxTextCtrl_Clear(_arg0);
ab9bc19b 7541
474c48f9 7542 wxPyEndAllowThreads(__tstate);
4dfaa61e 7543 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7544} Py_INCREF(Py_None);
7545 _resultobj = Py_None;
faf3cb35
RD
7546 return _resultobj;
7547}
7548
a57d56d6
RD
7549#define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7550static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7551 PyObject * _resultobj;
70551f47 7552 wxTextCtrl * _arg0;
a57d56d6
RD
7553 long _arg1;
7554 long _arg2;
7555 wxString * _arg3;
2d091820 7556 PyObject * _argo0 = 0;
a57d56d6
RD
7557 PyObject * _obj3 = 0;
7558 char *_kwnames[] = { "self","from","to","value", NULL };
70551f47
RD
7559
7560 self = self;
a57d56d6 7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
70551f47 7562 return NULL;
2d091820
RD
7563 if (_argo0) {
7564 if (_argo0 == Py_None) { _arg0 = NULL; }
7565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
70551f47
RD
7567 return NULL;
7568 }
7569 }
a57d56d6 7570{
c8bc7bb8
RD
7571 _arg3 = wxString_in_helper(_obj3);
7572 if (_arg3 == NULL)
a57d56d6 7573 return NULL;
a57d56d6 7574}
70551f47 7575{
474c48f9 7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7577 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
ab9bc19b 7578
474c48f9 7579 wxPyEndAllowThreads(__tstate);
4dfaa61e 7580 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7581} Py_INCREF(Py_None);
7582 _resultobj = Py_None;
70551f47 7583{
a57d56d6
RD
7584 if (_obj3)
7585 delete _arg3;
70551f47
RD
7586}
7587 return _resultobj;
7588}
7589
a57d56d6
RD
7590#define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
7591static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7592 PyObject * _resultobj;
70551f47 7593 wxTextCtrl * _arg0;
a57d56d6
RD
7594 long _arg1;
7595 long _arg2;
2d091820 7596 PyObject * _argo0 = 0;
a57d56d6 7597 char *_kwnames[] = { "self","from","to", NULL };
70551f47
RD
7598
7599 self = self;
a57d56d6 7600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 7601 return NULL;
2d091820
RD
7602 if (_argo0) {
7603 if (_argo0 == Py_None) { _arg0 = NULL; }
7604 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7605 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
70551f47
RD
7606 return NULL;
7607 }
7608 }
ab9bc19b 7609{
474c48f9 7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7611 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
ab9bc19b 7612
474c48f9 7613 wxPyEndAllowThreads(__tstate);
4dfaa61e 7614 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7615} Py_INCREF(Py_None);
7616 _resultobj = Py_None;
70551f47
RD
7617 return _resultobj;
7618}
7619
7620#define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
107e4716 7621static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7622 PyObject * _resultobj;
7623 bool _result;
7624 wxTextCtrl * _arg0;
7625 wxString * _arg1;
2d091820 7626 PyObject * _argo0 = 0;
70551f47 7627 PyObject * _obj1 = 0;
a57d56d6 7628 char *_kwnames[] = { "self","file", NULL };
70551f47
RD
7629
7630 self = self;
107e4716 7631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
70551f47 7632 return NULL;
2d091820
RD
7633 if (_argo0) {
7634 if (_argo0 == Py_None) { _arg0 = NULL; }
7635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
7636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
7637 return NULL;
7638 }
7639 }
7640{
c8bc7bb8
RD
7641 _arg1 = wxString_in_helper(_obj1);
7642 if (_arg1 == NULL)
2cd2fac8 7643 return NULL;
70551f47 7644}
ab9bc19b 7645{
474c48f9 7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7647 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
ab9bc19b 7648
474c48f9 7649 wxPyEndAllowThreads(__tstate);
4dfaa61e 7650 if (PyErr_Occurred()) return NULL;
ab9bc19b 7651} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7652{
7653 if (_obj1)
7654 delete _arg1;
7655}
7656 return _resultobj;
7657}
7658
a57d56d6
RD
7659#define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
7660static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7661 PyObject * _resultobj;
a57d56d6 7662 bool _result;
70551f47 7663 wxTextCtrl * _arg0;
9a74fcaf 7664 wxString * _arg1 = (wxString *) &wxPyEmptyString;
2d091820 7665 PyObject * _argo0 = 0;
a57d56d6
RD
7666 PyObject * _obj1 = 0;
7667 char *_kwnames[] = { "self","file", NULL };
70551f47
RD
7668
7669 self = self;
a57d56d6 7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
70551f47 7671 return NULL;
2d091820
RD
7672 if (_argo0) {
7673 if (_argo0 == Py_None) { _arg0 = NULL; }
7674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
70551f47
RD
7676 return NULL;
7677 }
7678 }
a57d56d6
RD
7679 if (_obj1)
7680{
c8bc7bb8
RD
7681 _arg1 = wxString_in_helper(_obj1);
7682 if (_arg1 == NULL)
a57d56d6 7683 return NULL;
a57d56d6 7684}
ab9bc19b 7685{
474c48f9 7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7687 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
ab9bc19b 7688
474c48f9 7689 wxPyEndAllowThreads(__tstate);
4dfaa61e 7690 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7691} _resultobj = Py_BuildValue("i",_result);
7692{
7693 if (_obj1)
7694 delete _arg1;
7695}
70551f47
RD
7696 return _resultobj;
7697}
7698
a57d56d6
RD
7699#define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7700static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35
RD
7701 PyObject * _resultobj;
7702 wxTextCtrl * _arg0;
2d091820 7703 PyObject * _argo0 = 0;
a57d56d6 7704 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
7705
7706 self = self;
a57d56d6 7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
faf3cb35 7708 return NULL;
2d091820
RD
7709 if (_argo0) {
7710 if (_argo0 == Py_None) { _arg0 = NULL; }
7711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
faf3cb35
RD
7713 return NULL;
7714 }
7715 }
ab9bc19b 7716{
474c48f9 7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7718 wxTextCtrl_DiscardEdits(_arg0);
ab9bc19b 7719
474c48f9 7720 wxPyEndAllowThreads(__tstate);
4dfaa61e 7721 if (PyErr_Occurred()) return NULL;
ab9bc19b 7722} Py_INCREF(Py_None);
faf3cb35 7723 _resultobj = Py_None;
faf3cb35
RD
7724 return _resultobj;
7725}
7726
a57d56d6
RD
7727#define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7728static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7729 PyObject * _resultobj;
7730 wxTextCtrl * _arg0;
a57d56d6 7731 unsigned long _arg1;
2d091820 7732 PyObject * _argo0 = 0;
a57d56d6 7733 char *_kwnames[] = { "self","len", NULL };
70551f47
RD
7734
7735 self = self;
a57d56d6 7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
70551f47 7737 return NULL;
2d091820
RD
7738 if (_argo0) {
7739 if (_argo0 == Py_None) { _arg0 = NULL; }
7740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
70551f47
RD
7742 return NULL;
7743 }
7744 }
ab9bc19b 7745{
474c48f9 7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7747 wxTextCtrl_SetMaxLength(_arg0,_arg1);
ab9bc19b 7748
474c48f9 7749 wxPyEndAllowThreads(__tstate);
4dfaa61e 7750 if (PyErr_Occurred()) return NULL;
ab9bc19b 7751} Py_INCREF(Py_None);
70551f47
RD
7752 _resultobj = Py_None;
7753 return _resultobj;
7754}
7755
a57d56d6
RD
7756#define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7757static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
7758 PyObject * _resultobj;
7759 wxTextCtrl * _arg0;
a57d56d6 7760 wxString * _arg1;
2d091820 7761 PyObject * _argo0 = 0;
a57d56d6
RD
7762 PyObject * _obj1 = 0;
7763 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
7764
7765 self = self;
a57d56d6 7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
70551f47 7767 return NULL;
2d091820
RD
7768 if (_argo0) {
7769 if (_argo0 == Py_None) { _arg0 = NULL; }
7770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
70551f47
RD
7772 return NULL;
7773 }
7774 }
7775{
c8bc7bb8
RD
7776 _arg1 = wxString_in_helper(_obj1);
7777 if (_arg1 == NULL)
2cd2fac8 7778 return NULL;
70551f47 7779}
ab9bc19b 7780{
474c48f9 7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7782 wxTextCtrl_WriteText(_arg0,*_arg1);
ab9bc19b 7783
474c48f9 7784 wxPyEndAllowThreads(__tstate);
4dfaa61e 7785 if (PyErr_Occurred()) return NULL;
ab9bc19b 7786} Py_INCREF(Py_None);
70551f47
RD
7787 _resultobj = Py_None;
7788{
a57d56d6
RD
7789 if (_obj1)
7790 delete _arg1;
70551f47
RD
7791}
7792 return _resultobj;
7793}
7794
a57d56d6
RD
7795#define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7796static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7797 PyObject * _resultobj;
70551f47
RD
7798 wxTextCtrl * _arg0;
7799 wxString * _arg1;
2d091820 7800 PyObject * _argo0 = 0;
70551f47 7801 PyObject * _obj1 = 0;
a57d56d6 7802 char *_kwnames[] = { "self","text", NULL };
70551f47
RD
7803
7804 self = self;
a57d56d6 7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
70551f47 7806 return NULL;
2d091820
RD
7807 if (_argo0) {
7808 if (_argo0 == Py_None) { _arg0 = NULL; }
7809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
70551f47
RD
7811 return NULL;
7812 }
7813 }
7814{
c8bc7bb8
RD
7815 _arg1 = wxString_in_helper(_obj1);
7816 if (_arg1 == NULL)
70551f47 7817 return NULL;
70551f47 7818}
ab9bc19b 7819{
474c48f9 7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7821 wxTextCtrl_AppendText(_arg0,*_arg1);
ab9bc19b 7822
474c48f9 7823 wxPyEndAllowThreads(__tstate);
4dfaa61e 7824 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7825} Py_INCREF(Py_None);
7826 _resultobj = Py_None;
70551f47
RD
7827{
7828 if (_obj1)
7829 delete _arg1;
7830}
7831 return _resultobj;
7832}
7833
87439dd8
RD
7834#define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
7835static PyObject *_wrap_wxTextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject * _resultobj;
7837 bool _result;
7838 wxTextCtrl * _arg0;
7839 wxKeyEvent * _arg1;
7840 PyObject * _argo0 = 0;
7841 PyObject * _argo1 = 0;
7842 char *_kwnames[] = { "self","event", NULL };
7843
7844 self = self;
7845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_EmulateKeyPress",_kwnames,&_argo0,&_argo1))
7846 return NULL;
7847 if (_argo0) {
7848 if (_argo0 == Py_None) { _arg0 = NULL; }
7849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
7851 return NULL;
7852 }
7853 }
7854 if (_argo1) {
b67a9327 7855 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
87439dd8
RD
7856 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
7857 return NULL;
7858 }
7859 }
7860{
7861 PyThreadState* __tstate = wxPyBeginAllowThreads();
7862 _result = (bool )wxTextCtrl_EmulateKeyPress(_arg0,*_arg1);
7863
7864 wxPyEndAllowThreads(__tstate);
7865 if (PyErr_Occurred()) return NULL;
7866} _resultobj = Py_BuildValue("i",_result);
7867 return _resultobj;
7868}
7869
a57d56d6
RD
7870#define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7871static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7872 PyObject * _resultobj;
a57d56d6 7873 bool _result;
70551f47 7874 wxTextCtrl * _arg0;
a57d56d6
RD
7875 long _arg1;
7876 long _arg2;
7877 wxTextAttr * _arg3;
2d091820 7878 PyObject * _argo0 = 0;
a57d56d6
RD
7879 PyObject * _argo3 = 0;
7880 char *_kwnames[] = { "self","start","end","style", NULL };
70551f47
RD
7881
7882 self = self;
a57d56d6 7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
70551f47 7884 return NULL;
2d091820
RD
7885 if (_argo0) {
7886 if (_argo0 == Py_None) { _arg0 = NULL; }
7887 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6
RD
7888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7889 return NULL;
7890 }
7891 }
7892 if (_argo3) {
b67a9327 7893 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
a57d56d6 7894 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
70551f47
RD
7895 return NULL;
7896 }
7897 }
ab9bc19b 7898{
474c48f9 7899 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7900 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
ab9bc19b 7901
474c48f9 7902 wxPyEndAllowThreads(__tstate);
4dfaa61e 7903 if (PyErr_Occurred()) return NULL;
a57d56d6 7904} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7905 return _resultobj;
7906}
7907
a57d56d6
RD
7908#define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7909static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7910 PyObject * _resultobj;
a57d56d6 7911 bool _result;
70551f47 7912 wxTextCtrl * _arg0;
a57d56d6 7913 wxTextAttr * _arg1;
2d091820 7914 PyObject * _argo0 = 0;
a57d56d6
RD
7915 PyObject * _argo1 = 0;
7916 char *_kwnames[] = { "self","style", NULL };
70551f47
RD
7917
7918 self = self;
a57d56d6 7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
70551f47 7920 return NULL;
2d091820
RD
7921 if (_argo0) {
7922 if (_argo0 == Py_None) { _arg0 = NULL; }
7923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6
RD
7924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7925 return NULL;
7926 }
7927 }
7928 if (_argo1) {
b67a9327 7929 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
a57d56d6 7930 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
70551f47
RD
7931 return NULL;
7932 }
7933 }
ab9bc19b 7934{
474c48f9 7935 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7936 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
ab9bc19b 7937
474c48f9 7938 wxPyEndAllowThreads(__tstate);
4dfaa61e 7939 if (PyErr_Occurred()) return NULL;
a57d56d6 7940} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
7941 return _resultobj;
7942}
7943
a57d56d6
RD
7944#define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7945static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 7946 PyObject * _resultobj;
a57d56d6 7947 wxTextAttr * _result;
70551f47 7948 wxTextCtrl * _arg0;
2d091820 7949 PyObject * _argo0 = 0;
107e4716 7950 char *_kwnames[] = { "self", NULL };
a57d56d6 7951 char _ptemp[128];
70551f47
RD
7952
7953 self = self;
a57d56d6 7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
70551f47 7955 return NULL;
2d091820
RD
7956 if (_argo0) {
7957 if (_argo0 == Py_None) { _arg0 = NULL; }
7958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 7959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
70551f47
RD
7960 return NULL;
7961 }
7962 }
ab9bc19b 7963{
474c48f9 7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 7965 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
a57d56d6 7966 _result = (wxTextAttr *) &_result_ref;
ab9bc19b 7967
474c48f9 7968 wxPyEndAllowThreads(__tstate);
4dfaa61e 7969 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
7970} if (_result) {
7971 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
7972 _resultobj = Py_BuildValue("s",_ptemp);
7973 } else {
7974 Py_INCREF(Py_None);
7975 _resultobj = Py_None;
7976 }
70551f47
RD
7977 return _resultobj;
7978}
7979
3ef86e32
RD
7980#define wxTextCtrl_GetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyle(_swigarg0,_swigarg1))
7981static PyObject *_wrap_wxTextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7982 PyObject * _resultobj;
7983 bool _result;
7984 wxTextCtrl * _arg0;
7985 long _arg1;
7986 wxTextAttr * _arg2;
7987 PyObject * _argo0 = 0;
7988 PyObject * _argo2 = 0;
7989 char *_kwnames[] = { "self","position","style", NULL };
7990
7991 self = self;
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxTextCtrl_GetStyle",_kwnames,&_argo0,&_arg1,&_argo2))
7993 return NULL;
7994 if (_argo0) {
7995 if (_argo0 == Py_None) { _arg0 = NULL; }
7996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStyle. Expected _wxTextCtrl_p.");
7998 return NULL;
7999 }
8000 }
8001 if (_argo2) {
8002 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextAttr_p")) {
8003 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextCtrl_GetStyle. Expected _wxTextAttr_p.");
8004 return NULL;
8005 }
8006 }
8007{
8008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8009 _result = (bool )wxTextCtrl_GetStyle(_arg0,_arg1,*_arg2);
8010
8011 wxPyEndAllowThreads(__tstate);
8012 if (PyErr_Occurred()) return NULL;
8013} _resultobj = Py_BuildValue("i",_result);
8014 return _resultobj;
8015}
8016
a57d56d6
RD
8017#define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
8018static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 8019 PyObject * _resultobj;
a57d56d6 8020 long _result;
70551f47
RD
8021 wxTextCtrl * _arg0;
8022 long _arg1;
8023 long _arg2;
2d091820 8024 PyObject * _argo0 = 0;
a57d56d6 8025 char *_kwnames[] = { "self","x","y", NULL };
70551f47
RD
8026
8027 self = self;
a57d56d6 8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 8029 return NULL;
2d091820
RD
8030 if (_argo0) {
8031 if (_argo0 == Py_None) { _arg0 = NULL; }
8032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
70551f47
RD
8034 return NULL;
8035 }
8036 }
ab9bc19b 8037{
474c48f9 8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8039 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
ab9bc19b 8040
474c48f9 8041 wxPyEndAllowThreads(__tstate);
4dfaa61e 8042 if (PyErr_Occurred()) return NULL;
a57d56d6 8043} _resultobj = Py_BuildValue("l",_result);
70551f47
RD
8044 return _resultobj;
8045}
8046
a57d56d6
RD
8047#define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
8048static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8049 PyObject * _resultobj;
8050 wxTextCtrl * _arg0;
a57d56d6
RD
8051 long _arg1;
8052 long * _arg2;
8053 long temp;
8054 long * _arg3;
8055 long temp0;
2d091820 8056 PyObject * _argo0 = 0;
a57d56d6 8057 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
8058
8059 self = self;
a57d56d6
RD
8060{
8061 _arg2 = &temp;
8062}
8063{
8064 _arg3 = &temp0;
8065}
8066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
70551f47 8067 return NULL;
2d091820
RD
8068 if (_argo0) {
8069 if (_argo0 == Py_None) { _arg0 = NULL; }
8070 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
70551f47
RD
8072 return NULL;
8073 }
8074 }
ab9bc19b 8075{
474c48f9 8076 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8077 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
ab9bc19b 8078
474c48f9 8079 wxPyEndAllowThreads(__tstate);
4dfaa61e 8080 if (PyErr_Occurred()) return NULL;
db34b2d4
RD
8081} Py_INCREF(Py_None);
8082 _resultobj = Py_None;
70551f47 8083{
a57d56d6
RD
8084 PyObject *o;
8085 o = PyInt_FromLong((long) (*_arg2));
8086 _resultobj = t_output_helper(_resultobj, o);
8087}
8088{
8089 PyObject *o;
8090 o = PyInt_FromLong((long) (*_arg3));
8091 _resultobj = t_output_helper(_resultobj, o);
70551f47
RD
8092}
8093 return _resultobj;
8094}
8095
8096#define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
107e4716 8097static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8098 PyObject * _resultobj;
8099 wxTextCtrl * _arg0;
8100 long _arg1;
2d091820 8101 PyObject * _argo0 = 0;
107e4716 8102 char *_kwnames[] = { "self","pos", NULL };
70551f47
RD
8103
8104 self = self;
107e4716 8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
70551f47 8106 return NULL;
2d091820
RD
8107 if (_argo0) {
8108 if (_argo0 == Py_None) { _arg0 = NULL; }
8109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
70551f47
RD
8110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
8111 return NULL;
8112 }
8113 }
ab9bc19b 8114{
474c48f9 8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8116 wxTextCtrl_ShowPosition(_arg0,_arg1);
ab9bc19b 8117
474c48f9 8118 wxPyEndAllowThreads(__tstate);
4dfaa61e 8119 if (PyErr_Occurred()) return NULL;
ab9bc19b 8120} Py_INCREF(Py_None);
70551f47
RD
8121 _resultobj = Py_None;
8122 return _resultobj;
8123}
8124
a57d56d6
RD
8125#define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
8126static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8127 PyObject * _resultobj;
8128 wxTextCtrl * _arg0;
2d091820 8129 PyObject * _argo0 = 0;
a57d56d6 8130 char *_kwnames[] = { "self", NULL };
70551f47
RD
8131
8132 self = self;
a57d56d6 8133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
70551f47 8134 return NULL;
2d091820
RD
8135 if (_argo0) {
8136 if (_argo0 == Py_None) { _arg0 = NULL; }
8137 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8138 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
70551f47
RD
8139 return NULL;
8140 }
8141 }
ab9bc19b 8142{
474c48f9 8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8144 wxTextCtrl_Copy(_arg0);
ab9bc19b 8145
474c48f9 8146 wxPyEndAllowThreads(__tstate);
4dfaa61e 8147 if (PyErr_Occurred()) return NULL;
ab9bc19b
RD
8148} Py_INCREF(Py_None);
8149 _resultobj = Py_None;
ab9bc19b
RD
8150 return _resultobj;
8151}
8152
a57d56d6
RD
8153#define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
8154static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
ab9bc19b
RD
8155 PyObject * _resultobj;
8156 wxTextCtrl * _arg0;
2d091820 8157 PyObject * _argo0 = 0;
a57d56d6 8158 char *_kwnames[] = { "self", NULL };
ab9bc19b
RD
8159
8160 self = self;
a57d56d6 8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
ab9bc19b 8162 return NULL;
2d091820
RD
8163 if (_argo0) {
8164 if (_argo0 == Py_None) { _arg0 = NULL; }
8165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
ab9bc19b
RD
8167 return NULL;
8168 }
8169 }
ab9bc19b 8170{
474c48f9 8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8172 wxTextCtrl_Cut(_arg0);
ab9bc19b 8173
474c48f9 8174 wxPyEndAllowThreads(__tstate);
4dfaa61e 8175 if (PyErr_Occurred()) return NULL;
ab9bc19b 8176} Py_INCREF(Py_None);
70551f47 8177 _resultobj = Py_None;
70551f47
RD
8178 return _resultobj;
8179}
8180
a57d56d6
RD
8181#define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
8182static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
faf3cb35 8183 PyObject * _resultobj;
faf3cb35 8184 wxTextCtrl * _arg0;
2d091820 8185 PyObject * _argo0 = 0;
a57d56d6 8186 char *_kwnames[] = { "self", NULL };
faf3cb35
RD
8187
8188 self = self;
a57d56d6 8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
faf3cb35 8190 return NULL;
2d091820
RD
8191 if (_argo0) {
8192 if (_argo0 == Py_None) { _arg0 = NULL; }
8193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
faf3cb35
RD
8195 return NULL;
8196 }
8197 }
ab9bc19b 8198{
474c48f9 8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8200 wxTextCtrl_Paste(_arg0);
ab9bc19b 8201
474c48f9 8202 wxPyEndAllowThreads(__tstate);
4dfaa61e 8203 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8204} Py_INCREF(Py_None);
8205 _resultobj = Py_None;
faf3cb35
RD
8206 return _resultobj;
8207}
8208
53920141 8209#define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
107e4716 8210static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
8211 PyObject * _resultobj;
8212 bool _result;
8213 wxTextCtrl * _arg0;
2d091820 8214 PyObject * _argo0 = 0;
107e4716 8215 char *_kwnames[] = { "self", NULL };
53920141
RD
8216
8217 self = self;
107e4716 8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
53920141 8219 return NULL;
2d091820
RD
8220 if (_argo0) {
8221 if (_argo0 == Py_None) { _arg0 = NULL; }
8222 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
8223 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
8224 return NULL;
8225 }
8226 }
8227{
474c48f9 8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8229 _result = (bool )wxTextCtrl_CanCopy(_arg0);
53920141 8230
474c48f9 8231 wxPyEndAllowThreads(__tstate);
4dfaa61e 8232 if (PyErr_Occurred()) return NULL;
53920141
RD
8233} _resultobj = Py_BuildValue("i",_result);
8234 return _resultobj;
8235}
8236
8237#define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
107e4716 8238static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
8239 PyObject * _resultobj;
8240 bool _result;
8241 wxTextCtrl * _arg0;
2d091820 8242 PyObject * _argo0 = 0;
107e4716 8243 char *_kwnames[] = { "self", NULL };
53920141
RD
8244
8245 self = self;
107e4716 8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
53920141 8247 return NULL;
2d091820
RD
8248 if (_argo0) {
8249 if (_argo0 == Py_None) { _arg0 = NULL; }
8250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
8251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
8252 return NULL;
8253 }
8254 }
8255{
474c48f9 8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8257 _result = (bool )wxTextCtrl_CanCut(_arg0);
53920141 8258
474c48f9 8259 wxPyEndAllowThreads(__tstate);
4dfaa61e 8260 if (PyErr_Occurred()) return NULL;
53920141
RD
8261} _resultobj = Py_BuildValue("i",_result);
8262 return _resultobj;
8263}
8264
8265#define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
107e4716 8266static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
8267 PyObject * _resultobj;
8268 bool _result;
8269 wxTextCtrl * _arg0;
2d091820 8270 PyObject * _argo0 = 0;
107e4716 8271 char *_kwnames[] = { "self", NULL };
53920141
RD
8272
8273 self = self;
107e4716 8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
53920141 8275 return NULL;
2d091820
RD
8276 if (_argo0) {
8277 if (_argo0 == Py_None) { _arg0 = NULL; }
8278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
53920141
RD
8279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
8280 return NULL;
8281 }
8282 }
8283{
474c48f9 8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8285 _result = (bool )wxTextCtrl_CanPaste(_arg0);
53920141 8286
474c48f9 8287 wxPyEndAllowThreads(__tstate);
4dfaa61e 8288 if (PyErr_Occurred()) return NULL;
53920141
RD
8289} _resultobj = Py_BuildValue("i",_result);
8290 return _resultobj;
8291}
8292
a57d56d6
RD
8293#define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
8294static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141 8295 PyObject * _resultobj;
53920141 8296 wxTextCtrl * _arg0;
2d091820 8297 PyObject * _argo0 = 0;
107e4716 8298 char *_kwnames[] = { "self", NULL };
53920141
RD
8299
8300 self = self;
a57d56d6 8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
53920141 8302 return NULL;
2d091820
RD
8303 if (_argo0) {
8304 if (_argo0 == Py_None) { _arg0 = NULL; }
8305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
53920141
RD
8307 return NULL;
8308 }
8309 }
8310{
474c48f9 8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8312 wxTextCtrl_Undo(_arg0);
53920141 8313
474c48f9 8314 wxPyEndAllowThreads(__tstate);
4dfaa61e 8315 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8316} Py_INCREF(Py_None);
8317 _resultobj = Py_None;
53920141
RD
8318 return _resultobj;
8319}
8320
a57d56d6
RD
8321#define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
8322static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141 8323 PyObject * _resultobj;
53920141 8324 wxTextCtrl * _arg0;
2d091820 8325 PyObject * _argo0 = 0;
107e4716 8326 char *_kwnames[] = { "self", NULL };
53920141
RD
8327
8328 self = self;
a57d56d6 8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
53920141 8330 return NULL;
2d091820
RD
8331 if (_argo0) {
8332 if (_argo0 == Py_None) { _arg0 = NULL; }
8333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
53920141
RD
8335 return NULL;
8336 }
8337 }
8338{
474c48f9 8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8340 wxTextCtrl_Redo(_arg0);
53920141 8341
474c48f9 8342 wxPyEndAllowThreads(__tstate);
4dfaa61e 8343 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8344} Py_INCREF(Py_None);
8345 _resultobj = Py_None;
53920141
RD
8346 return _resultobj;
8347}
8348
a57d56d6
RD
8349#define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
8350static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141 8351 PyObject * _resultobj;
a57d56d6 8352 bool _result;
53920141 8353 wxTextCtrl * _arg0;
2d091820 8354 PyObject * _argo0 = 0;
107e4716 8355 char *_kwnames[] = { "self", NULL };
53920141
RD
8356
8357 self = self;
a57d56d6 8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
53920141 8359 return NULL;
2d091820
RD
8360 if (_argo0) {
8361 if (_argo0 == Py_None) { _arg0 = NULL; }
8362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
53920141
RD
8364 return NULL;
8365 }
8366 }
8367{
474c48f9 8368 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8369 _result = (bool )wxTextCtrl_CanUndo(_arg0);
53920141 8370
474c48f9 8371 wxPyEndAllowThreads(__tstate);
4dfaa61e 8372 if (PyErr_Occurred()) return NULL;
a57d56d6 8373} _resultobj = Py_BuildValue("i",_result);
53920141
RD
8374 return _resultobj;
8375}
8376
a57d56d6
RD
8377#define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
8378static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
53920141
RD
8379 PyObject * _resultobj;
8380 bool _result;
8381 wxTextCtrl * _arg0;
2d091820 8382 PyObject * _argo0 = 0;
107e4716 8383 char *_kwnames[] = { "self", NULL };
53920141
RD
8384
8385 self = self;
a57d56d6 8386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
53920141 8387 return NULL;
2d091820
RD
8388 if (_argo0) {
8389 if (_argo0 == Py_None) { _arg0 = NULL; }
8390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
53920141
RD
8392 return NULL;
8393 }
8394 }
8395{
474c48f9 8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8397 _result = (bool )wxTextCtrl_CanRedo(_arg0);
53920141 8398
474c48f9 8399 wxPyEndAllowThreads(__tstate);
4dfaa61e 8400 if (PyErr_Occurred()) return NULL;
53920141
RD
8401} _resultobj = Py_BuildValue("i",_result);
8402 return _resultobj;
8403}
8404
a57d56d6
RD
8405#define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
8406static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b
RD
8407 PyObject * _resultobj;
8408 wxTextCtrl * _arg0;
a57d56d6 8409 long _arg1;
4120ef2b 8410 PyObject * _argo0 = 0;
a57d56d6 8411 char *_kwnames[] = { "self","pos", NULL };
4120ef2b
RD
8412
8413 self = self;
a57d56d6 8414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
4120ef2b
RD
8415 return NULL;
8416 if (_argo0) {
8417 if (_argo0 == Py_None) { _arg0 = NULL; }
8418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
4120ef2b
RD
8420 return NULL;
8421 }
8422 }
8423{
474c48f9 8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8425 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
4120ef2b 8426
474c48f9 8427 wxPyEndAllowThreads(__tstate);
4dfaa61e 8428 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
8429} Py_INCREF(Py_None);
8430 _resultobj = Py_None;
8431 return _resultobj;
8432}
8433
a57d56d6
RD
8434#define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
8435static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4120ef2b
RD
8436 PyObject * _resultobj;
8437 wxTextCtrl * _arg0;
8438 PyObject * _argo0 = 0;
8439 char *_kwnames[] = { "self", NULL };
8440
8441 self = self;
a57d56d6 8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
4120ef2b
RD
8443 return NULL;
8444 if (_argo0) {
8445 if (_argo0 == Py_None) { _arg0 = NULL; }
8446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4120ef2b
RD
8448 return NULL;
8449 }
8450 }
8451{
474c48f9 8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8453 wxTextCtrl_SetInsertionPointEnd(_arg0);
4120ef2b 8454
474c48f9 8455 wxPyEndAllowThreads(__tstate);
4dfaa61e 8456 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
8457} Py_INCREF(Py_None);
8458 _resultobj = Py_None;
8459 return _resultobj;
8460}
8461
a57d56d6
RD
8462#define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
8463static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9d6da64a 8464 PyObject * _resultobj;
a57d56d6 8465 long _result;
9d6da64a 8466 wxTextCtrl * _arg0;
9d6da64a 8467 PyObject * _argo0 = 0;
a57d56d6 8468 char *_kwnames[] = { "self", NULL };
9d6da64a
RD
8469
8470 self = self;
a57d56d6 8471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
9d6da64a
RD
8472 return NULL;
8473 if (_argo0) {
8474 if (_argo0 == Py_None) { _arg0 = NULL; }
8475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
9d6da64a
RD
8477 return NULL;
8478 }
8479 }
8480{
474c48f9 8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8482 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
9d6da64a 8483
474c48f9 8484 wxPyEndAllowThreads(__tstate);
9d6da64a 8485 if (PyErr_Occurred()) return NULL;
a57d56d6 8486} _resultobj = Py_BuildValue("l",_result);
9d6da64a
RD
8487 return _resultobj;
8488}
8489
a57d56d6
RD
8490#define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
8491static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9d6da64a 8492 PyObject * _resultobj;
a57d56d6 8493 long _result;
9d6da64a 8494 wxTextCtrl * _arg0;
9d6da64a 8495 PyObject * _argo0 = 0;
a57d56d6 8496 char *_kwnames[] = { "self", NULL };
9d6da64a
RD
8497
8498 self = self;
a57d56d6 8499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
9d6da64a
RD
8500 return NULL;
8501 if (_argo0) {
8502 if (_argo0 == Py_None) { _arg0 = NULL; }
8503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
9d6da64a
RD
8505 return NULL;
8506 }
8507 }
a57d56d6 8508{
474c48f9 8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8510 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
a57d56d6 8511
474c48f9 8512 wxPyEndAllowThreads(__tstate);
a57d56d6
RD
8513 if (PyErr_Occurred()) return NULL;
8514} _resultobj = Py_BuildValue("l",_result);
8515 return _resultobj;
8516}
8517
8518#define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
8519static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8520 PyObject * _resultobj;
8521 wxTextCtrl * _arg0;
8522 long _arg1;
8523 long _arg2;
8524 PyObject * _argo0 = 0;
8525 char *_kwnames[] = { "self","from","to", NULL };
8526
8527 self = self;
8528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
8529 return NULL;
8530 if (_argo0) {
8531 if (_argo0 == Py_None) { _arg0 = NULL; }
8532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
9d6da64a
RD
8534 return NULL;
8535 }
8536 }
8537{
474c48f9 8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8539 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
9d6da64a 8540
474c48f9 8541 wxPyEndAllowThreads(__tstate);
9d6da64a 8542 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8543} Py_INCREF(Py_None);
8544 _resultobj = Py_None;
9d6da64a
RD
8545 return _resultobj;
8546}
8547
a57d56d6
RD
8548#define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
8549static PyObject *_wrap_wxTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9d6da64a 8550 PyObject * _resultobj;
9d6da64a
RD
8551 wxTextCtrl * _arg0;
8552 PyObject * _argo0 = 0;
8553 char *_kwnames[] = { "self", NULL };
9d6da64a
RD
8554
8555 self = self;
a57d56d6 8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SelectAll",_kwnames,&_argo0))
9d6da64a
RD
8557 return NULL;
8558 if (_argo0) {
8559 if (_argo0 == Py_None) { _arg0 = NULL; }
8560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
9d6da64a
RD
8562 return NULL;
8563 }
8564 }
8565{
474c48f9 8566 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8567 wxTextCtrl_SelectAll(_arg0);
9d6da64a 8568
474c48f9 8569 wxPyEndAllowThreads(__tstate);
9d6da64a 8570 if (PyErr_Occurred()) return NULL;
a57d56d6
RD
8571} Py_INCREF(Py_None);
8572 _resultobj = Py_None;
9d6da64a
RD
8573 return _resultobj;
8574}
8575
a57d56d6
RD
8576#define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
8577static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
aa2a5b86
RD
8578 PyObject * _resultobj;
8579 wxTextCtrl * _arg0;
a57d56d6 8580 bool _arg1;
aa2a5b86 8581 PyObject * _argo0 = 0;
a57d56d6
RD
8582 int tempbool1;
8583 char *_kwnames[] = { "self","editable", NULL };
aa2a5b86
RD
8584
8585 self = self;
a57d56d6 8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
aa2a5b86
RD
8587 return NULL;
8588 if (_argo0) {
8589 if (_argo0 == Py_None) { _arg0 = NULL; }
8590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
a57d56d6 8591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
aa2a5b86
RD
8592 return NULL;
8593 }
8594 }
a57d56d6 8595 _arg1 = (bool ) tempbool1;
aa2a5b86 8596{
474c48f9 8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8598 wxTextCtrl_SetEditable(_arg0,_arg1);
aa2a5b86 8599
474c48f9 8600 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
8601 if (PyErr_Occurred()) return NULL;
8602} Py_INCREF(Py_None);
8603 _resultobj = Py_None;
8604 return _resultobj;
8605}
8606
d99400b2
RD
8607#define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
8608static PyObject *_wrap_wxTextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8609 PyObject * _resultobj;
8610 bool _result;
8611 wxTextCtrl * _arg0;
8612 PyObject * _argo0 = 0;
8613 char *_kwnames[] = { "self", NULL };
8614
8615 self = self;
8616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsSingleLine",_kwnames,&_argo0))
8617 return NULL;
8618 if (_argo0) {
8619 if (_argo0 == Py_None) { _arg0 = NULL; }
8620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
8622 return NULL;
8623 }
8624 }
8625{
8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
8627 _result = (bool )wxTextCtrl_IsSingleLine(_arg0);
8628
8629 wxPyEndAllowThreads(__tstate);
8630 if (PyErr_Occurred()) return NULL;
8631} _resultobj = Py_BuildValue("i",_result);
8632 return _resultobj;
8633}
8634
8635#define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
8636static PyObject *_wrap_wxTextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8637 PyObject * _resultobj;
8638 bool _result;
8639 wxTextCtrl * _arg0;
8640 PyObject * _argo0 = 0;
8641 char *_kwnames[] = { "self", NULL };
8642
8643 self = self;
8644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsMultiLine",_kwnames,&_argo0))
8645 return NULL;
8646 if (_argo0) {
8647 if (_argo0 == Py_None) { _arg0 = NULL; }
8648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
8650 return NULL;
8651 }
8652 }
8653{
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 _result = (bool )wxTextCtrl_IsMultiLine(_arg0);
8656
8657 wxPyEndAllowThreads(__tstate);
8658 if (PyErr_Occurred()) return NULL;
8659} _resultobj = Py_BuildValue("i",_result);
8660 return _resultobj;
8661}
8662
4120ef2b 8663static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
9d6da64a 8664 self->AppendText(text);
4120ef2b
RD
8665 }
8666static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8667 PyObject * _resultobj;
8668 wxTextCtrl * _arg0;
8669 wxString * _arg1;
8670 PyObject * _argo0 = 0;
8671 PyObject * _obj1 = 0;
8672 char *_kwnames[] = { "self","text", NULL };
8673
8674 self = self;
8675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
8676 return NULL;
8677 if (_argo0) {
8678 if (_argo0 == Py_None) { _arg0 = NULL; }
8679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
8681 return NULL;
8682 }
8683 }
8684{
c8bc7bb8
RD
8685 _arg1 = wxString_in_helper(_obj1);
8686 if (_arg1 == NULL)
4120ef2b 8687 return NULL;
4120ef2b
RD
8688}
8689{
474c48f9 8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8691 wxTextCtrl_write(_arg0,*_arg1);
4120ef2b 8692
474c48f9 8693 wxPyEndAllowThreads(__tstate);
4dfaa61e 8694 if (PyErr_Occurred()) return NULL;
4120ef2b
RD
8695} Py_INCREF(Py_None);
8696 _resultobj = Py_None;
8697{
8698 if (_obj1)
8699 delete _arg1;
8700}
8701 return _resultobj;
8702}
8703
7a9b33db 8704static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to) {
d99400b2 8705 return self->GetValue().Mid(from, to - from);
7a9b33db
RD
8706 }
8707static PyObject *_wrap_wxTextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8708 PyObject * _resultobj;
8709 wxString * _result;
8710 wxTextCtrl * _arg0;
8711 long _arg1;
8712 long _arg2;
8713 PyObject * _argo0 = 0;
8714 char *_kwnames[] = { "self","from","to", NULL };
8715
8716 self = self;
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetString",_kwnames,&_argo0,&_arg1,&_arg2))
8718 return NULL;
8719 if (_argo0) {
8720 if (_argo0 == Py_None) { _arg0 = NULL; }
8721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
8723 return NULL;
8724 }
8725 }
8726{
474c48f9 8727 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8728 _result = new wxString (wxTextCtrl_GetString(_arg0,_arg1,_arg2));
7a9b33db 8729
474c48f9 8730 wxPyEndAllowThreads(__tstate);
7a9b33db
RD
8731 if (PyErr_Occurred()) return NULL;
8732}{
c8bc7bb8 8733#if wxUSE_UNICODE
b67a9327 8734 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 8735#else
7a9b33db 8736 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 8737#endif
7a9b33db
RD
8738}
8739{
8740 delete _result;
8741}
8742 return _resultobj;
8743}
8744
70551f47
RD
8745static void *SwigwxScrollBarTowxControl(void *ptr) {
8746 wxScrollBar *src;
8747 wxControl *dest;
8748 src = (wxScrollBar *) ptr;
8749 dest = (wxControl *) src;
8750 return (void *) dest;
8751}
8752
8753static void *SwigwxScrollBarTowxWindow(void *ptr) {
8754 wxScrollBar *src;
8755 wxWindow *dest;
8756 src = (wxScrollBar *) ptr;
8757 dest = (wxWindow *) src;
8758 return (void *) dest;
8759}
8760
8761static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
8762 wxScrollBar *src;
8763 wxEvtHandler *dest;
8764 src = (wxScrollBar *) ptr;
8765 dest = (wxEvtHandler *) src;
8766 return (void *) dest;
8767}
8768
9df61a29
RD
8769static void *SwigwxScrollBarTowxObject(void *ptr) {
8770 wxScrollBar *src;
8771 wxObject *dest;
8772 src = (wxScrollBar *) ptr;
8773 dest = (wxObject *) src;
8774 return (void *) dest;
8775}
8776
70551f47 8777#define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 8778static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8779 PyObject * _resultobj;
8780 wxScrollBar * _result;
8781 wxWindow * _arg0;
2d091820 8782 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
8783 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8784 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820 8785 long _arg4 = (long ) wxSB_HORIZONTAL;
b68dc582 8786 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 8787 wxString * _arg6 = (wxString *) &wxPyScrollBarNameStr;
2d091820 8788 PyObject * _argo0 = 0;
37f6a977
RD
8789 wxPoint temp;
8790 PyObject * _obj2 = 0;
8791 wxSize temp0;
8792 PyObject * _obj3 = 0;
2d091820 8793 PyObject * _argo5 = 0;
9a74fcaf 8794 PyObject * _obj6 = 0;
107e4716 8795 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
70551f47
RD
8796 char _ptemp[128];
8797
8798 self = self;
9a74fcaf 8799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
70551f47 8800 return NULL;
2d091820
RD
8801 if (_argo0) {
8802 if (_argo0 == Py_None) { _arg0 = NULL; }
8803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
8804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8805 return NULL;
8806 }
8807 }
37f6a977
RD
8808 if (_obj2)
8809{
8810 _arg2 = &temp;
8811 if (! wxPoint_helper(_obj2, &_arg2))
70551f47 8812 return NULL;
37f6a977
RD
8813}
8814 if (_obj3)
8815{
8816 _arg3 = &temp0;
8817 if (! wxSize_helper(_obj3, &_arg3))
70551f47 8818 return NULL;
37f6a977 8819}
2d091820 8820 if (_argo5) {
b67a9327 8821 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
70551f47
RD
8822 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8823 return NULL;
8824 }
8825 }
9a74fcaf
RD
8826 if (_obj6)
8827{
8828 _arg6 = wxString_in_helper(_obj6);
8829 if (_arg6 == NULL)
8830 return NULL;
8831}
ab9bc19b 8832{
474c48f9 8833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 8834 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
ab9bc19b 8835
474c48f9 8836 wxPyEndAllowThreads(__tstate);
4dfaa61e 8837 if (PyErr_Occurred()) return NULL;
2d091820
RD
8838} if (_result) {
8839 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
8840 _resultobj = Py_BuildValue("s",_ptemp);
8841 } else {
8842 Py_INCREF(Py_None);
8843 _resultobj = Py_None;
8844 }
9a74fcaf
RD
8845{
8846 if (_obj6)
8847 delete _arg6;
8848}
70551f47
RD
8849 return _resultobj;
8850}
8851
aa2a5b86
RD
8852#define new_wxPreScrollBar() (new wxScrollBar())
8853static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject * _resultobj;
8855 wxScrollBar * _result;
8856 char *_kwnames[] = { NULL };
8857 char _ptemp[128];
8858
8859 self = self;
8860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
8861 return NULL;
8862{
474c48f9 8863 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8864 _result = (wxScrollBar *)new_wxPreScrollBar();
aa2a5b86 8865
474c48f9 8866 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
8867 if (PyErr_Occurred()) return NULL;
8868} if (_result) {
8869 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
8870 _resultobj = Py_BuildValue("s",_ptemp);
8871 } else {
8872 Py_INCREF(Py_None);
8873 _resultobj = Py_None;
8874 }
8875 return _resultobj;
8876}
8877
8878#define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8879static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8880 PyObject * _resultobj;
8881 bool _result;
8882 wxScrollBar * _arg0;
8883 wxWindow * _arg1;
8884 wxWindowID _arg2 = (wxWindowID ) -1;
8885 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8886 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8887 long _arg5 = (long ) wxSB_HORIZONTAL;
8888 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 8889 wxString * _arg7 = (wxString *) &wxPyScrollBarNameStr;
aa2a5b86
RD
8890 PyObject * _argo0 = 0;
8891 PyObject * _argo1 = 0;
8892 wxPoint temp;
8893 PyObject * _obj3 = 0;
8894 wxSize temp0;
8895 PyObject * _obj4 = 0;
8896 PyObject * _argo6 = 0;
9a74fcaf 8897 PyObject * _obj7 = 0;
aa2a5b86
RD
8898 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
8899
8900 self = self;
9a74fcaf 8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
aa2a5b86
RD
8902 return NULL;
8903 if (_argo0) {
8904 if (_argo0 == Py_None) { _arg0 = NULL; }
8905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8907 return NULL;
8908 }
8909 }
8910 if (_argo1) {
8911 if (_argo1 == Py_None) { _arg1 = NULL; }
8912 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8913 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8914 return NULL;
8915 }
8916 }
8917 if (_obj3)
8918{
8919 _arg3 = &temp;
8920 if (! wxPoint_helper(_obj3, &_arg3))
8921 return NULL;
8922}
8923 if (_obj4)
8924{
8925 _arg4 = &temp0;
8926 if (! wxSize_helper(_obj4, &_arg4))
8927 return NULL;
8928}
8929 if (_argo6) {
b67a9327 8930 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
aa2a5b86
RD
8931 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8932 return NULL;
8933 }
8934 }
9a74fcaf
RD
8935 if (_obj7)
8936{
8937 _arg7 = wxString_in_helper(_obj7);
8938 if (_arg7 == NULL)
8939 return NULL;
8940}
aa2a5b86 8941{
474c48f9 8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 8943 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
aa2a5b86 8944
474c48f9 8945 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
8946 if (PyErr_Occurred()) return NULL;
8947} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
8948{
8949 if (_obj7)
8950 delete _arg7;
8951}
aa2a5b86
RD
8952 return _resultobj;
8953}
8954
70551f47 8955#define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
107e4716 8956static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8957 PyObject * _resultobj;
8958 int _result;
8959 wxScrollBar * _arg0;
2d091820 8960 PyObject * _argo0 = 0;
107e4716 8961 char *_kwnames[] = { "self", NULL };
70551f47
RD
8962
8963 self = self;
107e4716 8964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
70551f47 8965 return NULL;
2d091820
RD
8966 if (_argo0) {
8967 if (_argo0 == Py_None) { _arg0 = NULL; }
8968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
8969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8970 return NULL;
8971 }
8972 }
ab9bc19b 8973{
474c48f9 8974 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 8975 _result = (int )wxScrollBar_GetRange(_arg0);
ab9bc19b 8976
474c48f9 8977 wxPyEndAllowThreads(__tstate);
4dfaa61e 8978 if (PyErr_Occurred()) return NULL;
ab9bc19b 8979} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
8980 return _resultobj;
8981}
8982
8983#define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
107e4716 8984static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
8985 PyObject * _resultobj;
8986 int _result;
8987 wxScrollBar * _arg0;
2d091820 8988 PyObject * _argo0 = 0;
107e4716 8989 char *_kwnames[] = { "self", NULL };
70551f47
RD
8990
8991 self = self;
107e4716 8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
70551f47 8993 return NULL;
2d091820
RD
8994 if (_argo0) {
8995 if (_argo0 == Py_None) { _arg0 = NULL; }
8996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
8997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8998 return NULL;
8999 }
9000 }
ab9bc19b 9001{
474c48f9 9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9003 _result = (int )wxScrollBar_GetPageSize(_arg0);
ab9bc19b 9004
474c48f9 9005 wxPyEndAllowThreads(__tstate);
4dfaa61e 9006 if (PyErr_Occurred()) return NULL;
ab9bc19b 9007} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9008 return _resultobj;
9009}
9010
105e45b9 9011#define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
107e4716 9012static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9013 PyObject * _resultobj;
9014 int _result;
9015 wxScrollBar * _arg0;
2d091820 9016 PyObject * _argo0 = 0;
107e4716 9017 char *_kwnames[] = { "self", NULL };
70551f47
RD
9018
9019 self = self;
107e4716 9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
70551f47 9021 return NULL;
2d091820
RD
9022 if (_argo0) {
9023 if (_argo0 == Py_None) { _arg0 = NULL; }
9024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
105e45b9 9025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
70551f47
RD
9026 return NULL;
9027 }
9028 }
ab9bc19b 9029{
474c48f9 9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9031 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
ab9bc19b 9032
474c48f9 9033 wxPyEndAllowThreads(__tstate);
4dfaa61e 9034 if (PyErr_Occurred()) return NULL;
ab9bc19b 9035} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9036 return _resultobj;
9037}
9038
9039#define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
107e4716 9040static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9041 PyObject * _resultobj;
9042 int _result;
9043 wxScrollBar * _arg0;
2d091820 9044 PyObject * _argo0 = 0;
107e4716 9045 char *_kwnames[] = { "self", NULL };
70551f47
RD
9046
9047 self = self;
107e4716 9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
70551f47 9049 return NULL;
2d091820
RD
9050 if (_argo0) {
9051 if (_argo0 == Py_None) { _arg0 = NULL; }
9052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
9053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
9054 return NULL;
9055 }
9056 }
ab9bc19b 9057{
474c48f9 9058 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9059 _result = (int )wxScrollBar_GetThumbSize(_arg0);
ab9bc19b 9060
474c48f9 9061 wxPyEndAllowThreads(__tstate);
4dfaa61e 9062 if (PyErr_Occurred()) return NULL;
ab9bc19b 9063} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
9064 return _resultobj;
9065}
9066
6e8a778a
RD
9067#define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
9068static PyObject *_wrap_wxScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject * _resultobj;
9070 bool _result;
9071 wxScrollBar * _arg0;
9072 PyObject * _argo0 = 0;
9073 char *_kwnames[] = { "self", NULL };
9074
9075 self = self;
9076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_IsVertical",_kwnames,&_argo0))
9077 return NULL;
9078 if (_argo0) {
9079 if (_argo0 == Py_None) { _arg0 = NULL; }
9080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
9082 return NULL;
9083 }
9084 }
9085{
474c48f9 9086 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9087 _result = (bool )wxScrollBar_IsVertical(_arg0);
6e8a778a 9088
474c48f9 9089 wxPyEndAllowThreads(__tstate);
6e8a778a
RD
9090 if (PyErr_Occurred()) return NULL;
9091} _resultobj = Py_BuildValue("i",_result);
9092 return _resultobj;
9093}
9094
105e45b9 9095#define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
107e4716 9096static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9097 PyObject * _resultobj;
9098 wxScrollBar * _arg0;
9099 int _arg1;
2d091820 9100 PyObject * _argo0 = 0;
107e4716 9101 char *_kwnames[] = { "self","viewStart", NULL };
70551f47
RD
9102
9103 self = self;
107e4716 9104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
70551f47 9105 return NULL;
2d091820
RD
9106 if (_argo0) {
9107 if (_argo0 == Py_None) { _arg0 = NULL; }
9108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
105e45b9 9109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
70551f47
RD
9110 return NULL;
9111 }
9112 }
ab9bc19b 9113{
474c48f9 9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9115 wxScrollBar_SetThumbPosition(_arg0,_arg1);
ab9bc19b 9116
474c48f9 9117 wxPyEndAllowThreads(__tstate);
4dfaa61e 9118 if (PyErr_Occurred()) return NULL;
ab9bc19b 9119} Py_INCREF(Py_None);
70551f47
RD
9120 _resultobj = Py_None;
9121 return _resultobj;
9122}
9123
9124#define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
107e4716 9125static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9126 PyObject * _resultobj;
9127 wxScrollBar * _arg0;
9128 int _arg1;
9129 int _arg2;
9130 int _arg3;
9131 int _arg4;
2d091820
RD
9132 bool _arg5 = (bool ) TRUE;
9133 PyObject * _argo0 = 0;
9134 int tempbool5 = (int) TRUE;
107e4716 9135 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
70551f47
RD
9136
9137 self = self;
107e4716 9138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
70551f47 9139 return NULL;
2d091820
RD
9140 if (_argo0) {
9141 if (_argo0 == Py_None) { _arg0 = NULL; }
9142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
70551f47
RD
9143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
9144 return NULL;
9145 }
9146 }
9147 _arg5 = (bool ) tempbool5;
ab9bc19b 9148{
474c48f9 9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9150 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
ab9bc19b 9151
474c48f9 9152 wxPyEndAllowThreads(__tstate);
4dfaa61e 9153 if (PyErr_Occurred()) return NULL;
ab9bc19b 9154} Py_INCREF(Py_None);
70551f47
RD
9155 _resultobj = Py_None;
9156 return _resultobj;
9157}
9158
62bd0874
RD
9159static void *SwigwxSpinButtonTowxControl(void *ptr) {
9160 wxSpinButton *src;
9161 wxControl *dest;
9162 src = (wxSpinButton *) ptr;
9163 dest = (wxControl *) src;
9164 return (void *) dest;
9165}
9166
9167static void *SwigwxSpinButtonTowxWindow(void *ptr) {
9168 wxSpinButton *src;
9169 wxWindow *dest;
9170 src = (wxSpinButton *) ptr;
9171 dest = (wxWindow *) src;
9172 return (void *) dest;
9173}
9174
9175static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
9176 wxSpinButton *src;
9177 wxEvtHandler *dest;
9178 src = (wxSpinButton *) ptr;
9179 dest = (wxEvtHandler *) src;
9180 return (void *) dest;
9181}
9182
9df61a29
RD
9183static void *SwigwxSpinButtonTowxObject(void *ptr) {
9184 wxSpinButton *src;
9185 wxObject *dest;
9186 src = (wxSpinButton *) ptr;
9187 dest = (wxObject *) src;
9188 return (void *) dest;
9189}
9190
62bd0874 9191#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
107e4716 9192static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9193 PyObject * _resultobj;
9194 wxSpinButton * _result;
9195 wxWindow * _arg0;
2d091820 9196 wxWindowID _arg1 = (wxWindowID ) -1;
b68dc582
RD
9197 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
9198 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2d091820 9199 long _arg4 = (long ) wxSP_HORIZONTAL;
9a74fcaf 9200 wxString * _arg5 = (wxString *) &wxPySPIN_BUTTON_NAME;
2d091820 9201 PyObject * _argo0 = 0;
37f6a977
RD
9202 wxPoint temp;
9203 PyObject * _obj2 = 0;
9204 wxSize temp0;
9205 PyObject * _obj3 = 0;
9a74fcaf 9206 PyObject * _obj5 = 0;
107e4716 9207 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
62bd0874
RD
9208 char _ptemp[128];
9209
9210 self = self;
9a74fcaf 9211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
62bd0874 9212 return NULL;
2d091820
RD
9213 if (_argo0) {
9214 if (_argo0 == Py_None) { _arg0 = NULL; }
9215 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
62bd0874
RD
9216 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
9217 return NULL;
9218 }
9219 }
37f6a977
RD
9220 if (_obj2)
9221{
9222 _arg2 = &temp;
9223 if (! wxPoint_helper(_obj2, &_arg2))
62bd0874 9224 return NULL;
37f6a977
RD
9225}
9226 if (_obj3)
9227{
9228 _arg3 = &temp0;
9229 if (! wxSize_helper(_obj3, &_arg3))
62bd0874 9230 return NULL;
9a74fcaf
RD
9231}
9232 if (_obj5)
9233{
9234 _arg5 = wxString_in_helper(_obj5);
9235 if (_arg5 == NULL)
9236 return NULL;
37f6a977 9237}
ab9bc19b 9238{
474c48f9 9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9240 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
ab9bc19b 9241
474c48f9 9242 wxPyEndAllowThreads(__tstate);
4dfaa61e 9243 if (PyErr_Occurred()) return NULL;
2d091820
RD
9244} if (_result) {
9245 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
9246 _resultobj = Py_BuildValue("s",_ptemp);
9247 } else {
9248 Py_INCREF(Py_None);
9249 _resultobj = Py_None;
9250 }
9a74fcaf
RD
9251{
9252 if (_obj5)
9253 delete _arg5;
9254}
62bd0874
RD
9255 return _resultobj;
9256}
9257
aa2a5b86
RD
9258#define new_wxPreSpinButton() (new wxSpinButton())
9259static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9260 PyObject * _resultobj;
9261 wxSpinButton * _result;
9262 char *_kwnames[] = { NULL };
9263 char _ptemp[128];
9264
9265 self = self;
9266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
9267 return NULL;
9268{
474c48f9 9269 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9270 _result = (wxSpinButton *)new_wxPreSpinButton();
aa2a5b86 9271
474c48f9 9272 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9273 if (PyErr_Occurred()) return NULL;
9274} if (_result) {
9275 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
9276 _resultobj = Py_BuildValue("s",_ptemp);
9277 } else {
9278 Py_INCREF(Py_None);
9279 _resultobj = Py_None;
9280 }
9281 return _resultobj;
9282}
9283
9284#define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9285static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9286 PyObject * _resultobj;
9287 bool _result;
9288 wxSpinButton * _arg0;
9289 wxWindow * _arg1;
9290 wxWindowID _arg2 = (wxWindowID ) -1;
9291 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9292 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9293 long _arg5 = (long ) wxSP_HORIZONTAL;
9a74fcaf 9294 wxString * _arg6 = (wxString *) &wxPySPIN_BUTTON_NAME;
aa2a5b86
RD
9295 PyObject * _argo0 = 0;
9296 PyObject * _argo1 = 0;
9297 wxPoint temp;
9298 PyObject * _obj3 = 0;
9299 wxSize temp0;
9300 PyObject * _obj4 = 0;
9a74fcaf 9301 PyObject * _obj6 = 0;
aa2a5b86
RD
9302 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
9303
9304 self = self;
9a74fcaf 9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
9306 return NULL;
9307 if (_argo0) {
9308 if (_argo0 == Py_None) { _arg0 = NULL; }
9309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
9311 return NULL;
9312 }
9313 }
9314 if (_argo1) {
9315 if (_argo1 == Py_None) { _arg1 = NULL; }
9316 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9317 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
9318 return NULL;
9319 }
9320 }
9321 if (_obj3)
9322{
9323 _arg3 = &temp;
9324 if (! wxPoint_helper(_obj3, &_arg3))
9325 return NULL;
9326}
9327 if (_obj4)
9328{
9329 _arg4 = &temp0;
9330 if (! wxSize_helper(_obj4, &_arg4))
9331 return NULL;
9a74fcaf
RD
9332}
9333 if (_obj6)
9334{
9335 _arg6 = wxString_in_helper(_obj6);
9336 if (_arg6 == NULL)
9337 return NULL;
aa2a5b86
RD
9338}
9339{
474c48f9 9340 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9341 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 9342
474c48f9 9343 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9344 if (PyErr_Occurred()) return NULL;
9345} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
9346{
9347 if (_obj6)
9348 delete _arg6;
9349}
aa2a5b86
RD
9350 return _resultobj;
9351}
9352
62bd0874 9353#define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
107e4716 9354static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9355 PyObject * _resultobj;
9356 int _result;
9357 wxSpinButton * _arg0;
2d091820 9358 PyObject * _argo0 = 0;
107e4716 9359 char *_kwnames[] = { "self", NULL };
62bd0874
RD
9360
9361 self = self;
107e4716 9362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
62bd0874 9363 return NULL;
2d091820
RD
9364 if (_argo0) {
9365 if (_argo0 == Py_None) { _arg0 = NULL; }
9366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
9367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
9368 return NULL;
9369 }
9370 }
ab9bc19b 9371{
474c48f9 9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9373 _result = (int )wxSpinButton_GetMax(_arg0);
ab9bc19b 9374
474c48f9 9375 wxPyEndAllowThreads(__tstate);
4dfaa61e 9376 if (PyErr_Occurred()) return NULL;
ab9bc19b 9377} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
9378 return _resultobj;
9379}
9380
9381#define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
107e4716 9382static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9383 PyObject * _resultobj;
9384 int _result;
9385 wxSpinButton * _arg0;
2d091820 9386 PyObject * _argo0 = 0;
107e4716 9387 char *_kwnames[] = { "self", NULL };
62bd0874
RD
9388
9389 self = self;
107e4716 9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
62bd0874 9391 return NULL;
2d091820
RD
9392 if (_argo0) {
9393 if (_argo0 == Py_None) { _arg0 = NULL; }
9394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
9395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
9396 return NULL;
9397 }
9398 }
ab9bc19b 9399{
474c48f9 9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9401 _result = (int )wxSpinButton_GetMin(_arg0);
ab9bc19b 9402
474c48f9 9403 wxPyEndAllowThreads(__tstate);
4dfaa61e 9404 if (PyErr_Occurred()) return NULL;
ab9bc19b 9405} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
9406 return _resultobj;
9407}
9408
9409#define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 9410static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9411 PyObject * _resultobj;
9412 int _result;
9413 wxSpinButton * _arg0;
2d091820 9414 PyObject * _argo0 = 0;
107e4716 9415 char *_kwnames[] = { "self", NULL };
62bd0874
RD
9416
9417 self = self;
107e4716 9418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
62bd0874 9419 return NULL;
2d091820
RD
9420 if (_argo0) {
9421 if (_argo0 == Py_None) { _arg0 = NULL; }
9422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
9423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
9424 return NULL;
9425 }
9426 }
ab9bc19b 9427{
474c48f9 9428 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9429 _result = (int )wxSpinButton_GetValue(_arg0);
ab9bc19b 9430
474c48f9 9431 wxPyEndAllowThreads(__tstate);
4dfaa61e 9432 if (PyErr_Occurred()) return NULL;
ab9bc19b 9433} _resultobj = Py_BuildValue("i",_result);
62bd0874
RD
9434 return _resultobj;
9435}
9436
9437#define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
107e4716 9438static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9439 PyObject * _resultobj;
9440 wxSpinButton * _arg0;
9441 int _arg1;
9442 int _arg2;
2d091820 9443 PyObject * _argo0 = 0;
107e4716 9444 char *_kwnames[] = { "self","min","max", NULL };
62bd0874
RD
9445
9446 self = self;
107e4716 9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
62bd0874 9448 return NULL;
2d091820
RD
9449 if (_argo0) {
9450 if (_argo0 == Py_None) { _arg0 = NULL; }
9451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
9452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
9453 return NULL;
9454 }
9455 }
ab9bc19b 9456{
474c48f9 9457 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9458 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
ab9bc19b 9459
474c48f9 9460 wxPyEndAllowThreads(__tstate);
4dfaa61e 9461 if (PyErr_Occurred()) return NULL;
ab9bc19b 9462} Py_INCREF(Py_None);
62bd0874
RD
9463 _resultobj = Py_None;
9464 return _resultobj;
9465}
9466
9467#define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 9468static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
62bd0874
RD
9469 PyObject * _resultobj;
9470 wxSpinButton * _arg0;
9471 int _arg1;
2d091820 9472 PyObject * _argo0 = 0;
107e4716 9473 char *_kwnames[] = { "self","value", NULL };
62bd0874
RD
9474
9475 self = self;
107e4716 9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
62bd0874 9477 return NULL;
2d091820
RD
9478 if (_argo0) {
9479 if (_argo0 == Py_None) { _arg0 = NULL; }
9480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
62bd0874
RD
9481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
9482 return NULL;
9483 }
9484 }
ab9bc19b 9485{
474c48f9 9486 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9487 wxSpinButton_SetValue(_arg0,_arg1);
ab9bc19b 9488
474c48f9 9489 wxPyEndAllowThreads(__tstate);
4dfaa61e 9490 if (PyErr_Occurred()) return NULL;
ab9bc19b 9491} Py_INCREF(Py_None);
62bd0874
RD
9492 _resultobj = Py_None;
9493 return _resultobj;
9494}
9495
70551f47
RD
9496static void *SwigwxStaticBitmapTowxControl(void *ptr) {
9497 wxStaticBitmap *src;
9498 wxControl *dest;
9499 src = (wxStaticBitmap *) ptr;
9500 dest = (wxControl *) src;
9501 return (void *) dest;
9502}
9503
9504static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
9505 wxStaticBitmap *src;
9506 wxWindow *dest;
9507 src = (wxStaticBitmap *) ptr;
9508 dest = (wxWindow *) src;
9509 return (void *) dest;
9510}
9511
9512static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
9513 wxStaticBitmap *src;
9514 wxEvtHandler *dest;
9515 src = (wxStaticBitmap *) ptr;
9516 dest = (wxEvtHandler *) src;
9517 return (void *) dest;
9518}
9519
9df61a29
RD
9520static void *SwigwxStaticBitmapTowxObject(void *ptr) {
9521 wxStaticBitmap *src;
9522 wxObject *dest;
9523 src = (wxStaticBitmap *) ptr;
9524 dest = (wxObject *) src;
9525 return (void *) dest;
9526}
9527
70551f47 9528#define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
107e4716 9529static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9530 PyObject * _resultobj;
9531 wxStaticBitmap * _result;
9532 wxWindow * _arg0;
9533 wxWindowID _arg1;
9534 wxBitmap * _arg2;
b68dc582
RD
9535 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9536 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 9537 long _arg5 = (long ) 0;
9a74fcaf 9538 wxString * _arg6 = (wxString *) &wxPyStaticBitmapNameStr;
2d091820 9539 PyObject * _argo0 = 0;
aa2a5b86
RD
9540 PyObject * _argo2 = 0;
9541 wxPoint temp;
9542 PyObject * _obj3 = 0;
9543 wxSize temp0;
9544 PyObject * _obj4 = 0;
9a74fcaf 9545 PyObject * _obj6 = 0;
aa2a5b86
RD
9546 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
9547 char _ptemp[128];
9548
9549 self = self;
9a74fcaf 9550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_obj6))
aa2a5b86
RD
9551 return NULL;
9552 if (_argo0) {
9553 if (_argo0 == Py_None) { _arg0 = NULL; }
9554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
9556 return NULL;
9557 }
9558 }
9559 if (_argo2) {
b67a9327 9560 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
aa2a5b86
RD
9561 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
9562 return NULL;
9563 }
9564 }
9565 if (_obj3)
9566{
9567 _arg3 = &temp;
9568 if (! wxPoint_helper(_obj3, &_arg3))
9569 return NULL;
9570}
9571 if (_obj4)
9572{
9573 _arg4 = &temp0;
9574 if (! wxSize_helper(_obj4, &_arg4))
9575 return NULL;
9a74fcaf
RD
9576}
9577 if (_obj6)
9578{
9579 _arg6 = wxString_in_helper(_obj6);
9580 if (_arg6 == NULL)
9581 return NULL;
aa2a5b86
RD
9582}
9583{
474c48f9 9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9585 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
aa2a5b86 9586
474c48f9 9587 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9588 if (PyErr_Occurred()) return NULL;
9589} if (_result) {
9590 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
9591 _resultobj = Py_BuildValue("s",_ptemp);
9592 } else {
9593 Py_INCREF(Py_None);
9594 _resultobj = Py_None;
9595 }
9a74fcaf
RD
9596{
9597 if (_obj6)
9598 delete _arg6;
9599}
aa2a5b86
RD
9600 return _resultobj;
9601}
9602
9603#define new_wxPreStaticBitmap() (new wxStaticBitmap())
9604static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9605 PyObject * _resultobj;
9606 wxStaticBitmap * _result;
9607 char *_kwnames[] = { NULL };
9608 char _ptemp[128];
9609
9610 self = self;
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
9612 return NULL;
9613{
474c48f9 9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9615 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
aa2a5b86 9616
474c48f9 9617 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9618 if (PyErr_Occurred()) return NULL;
9619} if (_result) {
9620 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
9621 _resultobj = Py_BuildValue("s",_ptemp);
9622 } else {
9623 Py_INCREF(Py_None);
9624 _resultobj = Py_None;
9625 }
9626 return _resultobj;
9627}
9628
9629#define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9630static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject * _resultobj;
9632 bool _result;
9633 wxStaticBitmap * _arg0;
9634 wxWindow * _arg1;
9635 wxWindowID _arg2;
9636 wxBitmap * _arg3;
9637 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9638 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9639 long _arg6 = (long ) 0;
9a74fcaf 9640 wxString * _arg7 = (wxString *) &wxPyStaticBitmapNameStr;
aa2a5b86
RD
9641 PyObject * _argo0 = 0;
9642 PyObject * _argo1 = 0;
9643 PyObject * _argo3 = 0;
37f6a977 9644 wxPoint temp;
37f6a977 9645 PyObject * _obj4 = 0;
aa2a5b86
RD
9646 wxSize temp0;
9647 PyObject * _obj5 = 0;
9a74fcaf 9648 PyObject * _obj7 = 0;
aa2a5b86 9649 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
70551f47
RD
9650
9651 self = self;
9a74fcaf 9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_obj7))
70551f47 9653 return NULL;
2d091820
RD
9654 if (_argo0) {
9655 if (_argo0 == Py_None) { _arg0 = NULL; }
aa2a5b86
RD
9656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
70551f47
RD
9658 return NULL;
9659 }
9660 }
aa2a5b86
RD
9661 if (_argo1) {
9662 if (_argo1 == Py_None) { _arg1 = NULL; }
9663 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9664 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
70551f47
RD
9665 return NULL;
9666 }
9667 }
aa2a5b86 9668 if (_argo3) {
b67a9327 9669 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
aa2a5b86
RD
9670 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
9671 return NULL;
9672 }
9673 }
9674 if (_obj4)
37f6a977 9675{
aa2a5b86
RD
9676 _arg4 = &temp;
9677 if (! wxPoint_helper(_obj4, &_arg4))
70551f47 9678 return NULL;
37f6a977 9679}
aa2a5b86 9680 if (_obj5)
37f6a977 9681{
aa2a5b86
RD
9682 _arg5 = &temp0;
9683 if (! wxSize_helper(_obj5, &_arg5))
70551f47 9684 return NULL;
9a74fcaf
RD
9685}
9686 if (_obj7)
9687{
9688 _arg7 = wxString_in_helper(_obj7);
9689 if (_arg7 == NULL)
9690 return NULL;
37f6a977 9691}
ab9bc19b 9692{
474c48f9 9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9694 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
ab9bc19b 9695
474c48f9 9696 wxPyEndAllowThreads(__tstate);
4dfaa61e 9697 if (PyErr_Occurred()) return NULL;
aa2a5b86 9698} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
9699{
9700 if (_obj7)
9701 delete _arg7;
9702}
70551f47
RD
9703 return _resultobj;
9704}
9705
9706#define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
107e4716 9707static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9708 PyObject * _resultobj;
9709 wxBitmap * _result;
9710 wxStaticBitmap * _arg0;
2d091820 9711 PyObject * _argo0 = 0;
107e4716 9712 char *_kwnames[] = { "self", NULL };
70551f47
RD
9713 char _ptemp[128];
9714
9715 self = self;
107e4716 9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
70551f47 9717 return NULL;
2d091820
RD
9718 if (_argo0) {
9719 if (_argo0 == Py_None) { _arg0 = NULL; }
9720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
70551f47
RD
9721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
9722 return NULL;
9723 }
9724 }
ab9bc19b 9725{
474c48f9 9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9727 _result = new wxBitmap (wxStaticBitmap_GetBitmap(_arg0));
ab9bc19b 9728
474c48f9 9729 wxPyEndAllowThreads(__tstate);
4dfaa61e 9730 if (PyErr_Occurred()) return NULL;
3e212503
RD
9731} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
9732 _resultobj = Py_BuildValue("s",_ptemp);
70551f47
RD
9733 return _resultobj;
9734}
9735
9736#define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
107e4716 9737static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9738 PyObject * _resultobj;
9739 wxStaticBitmap * _arg0;
9740 wxBitmap * _arg1;
2d091820
RD
9741 PyObject * _argo0 = 0;
9742 PyObject * _argo1 = 0;
107e4716 9743 char *_kwnames[] = { "self","bitmap", NULL };
70551f47
RD
9744
9745 self = self;
107e4716 9746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
70551f47 9747 return NULL;
2d091820
RD
9748 if (_argo0) {
9749 if (_argo0 == Py_None) { _arg0 = NULL; }
9750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
70551f47
RD
9751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
9752 return NULL;
9753 }
9754 }
2d091820 9755 if (_argo1) {
b67a9327 9756 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
70551f47
RD
9757 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
9758 return NULL;
9759 }
9760 }
ab9bc19b 9761{
474c48f9 9762 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9763 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
ab9bc19b 9764
474c48f9 9765 wxPyEndAllowThreads(__tstate);
4dfaa61e 9766 if (PyErr_Occurred()) return NULL;
ab9bc19b 9767} Py_INCREF(Py_None);
70551f47
RD
9768 _resultobj = Py_None;
9769 return _resultobj;
9770}
9771
8bf5d46e 9772#define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
107e4716 9773static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8bf5d46e
RD
9774 PyObject * _resultobj;
9775 wxStaticBitmap * _arg0;
9776 wxIcon * _arg1;
2d091820
RD
9777 PyObject * _argo0 = 0;
9778 PyObject * _argo1 = 0;
107e4716 9779 char *_kwnames[] = { "self","icon", NULL };
8bf5d46e
RD
9780
9781 self = self;
107e4716 9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
8bf5d46e 9783 return NULL;
2d091820
RD
9784 if (_argo0) {
9785 if (_argo0 == Py_None) { _arg0 = NULL; }
9786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8bf5d46e
RD
9787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
9788 return NULL;
9789 }
9790 }
2d091820 9791 if (_argo1) {
b67a9327 9792 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8bf5d46e
RD
9793 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
9794 return NULL;
9795 }
9796 }
9797{
474c48f9 9798 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9799 wxStaticBitmap_SetIcon(_arg0,*_arg1);
8bf5d46e 9800
474c48f9 9801 wxPyEndAllowThreads(__tstate);
4dfaa61e 9802 if (PyErr_Occurred()) return NULL;
8bf5d46e
RD
9803} Py_INCREF(Py_None);
9804 _resultobj = Py_None;
9805 return _resultobj;
9806}
9807
70551f47
RD
9808static void *SwigwxRadioBoxTowxControl(void *ptr) {
9809 wxRadioBox *src;
9810 wxControl *dest;
9811 src = (wxRadioBox *) ptr;
9812 dest = (wxControl *) src;
9813 return (void *) dest;
9814}
9815
9816static void *SwigwxRadioBoxTowxWindow(void *ptr) {
9817 wxRadioBox *src;
9818 wxWindow *dest;
9819 src = (wxRadioBox *) ptr;
9820 dest = (wxWindow *) src;
9821 return (void *) dest;
9822}
9823
9824static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
9825 wxRadioBox *src;
9826 wxEvtHandler *dest;
9827 src = (wxRadioBox *) ptr;
9828 dest = (wxEvtHandler *) src;
9829 return (void *) dest;
9830}
9831
9df61a29
RD
9832static void *SwigwxRadioBoxTowxObject(void *ptr) {
9833 wxRadioBox *src;
9834 wxObject *dest;
9835 src = (wxRadioBox *) ptr;
9836 dest = (wxObject *) src;
9837 return (void *) dest;
9838}
9839
70551f47 9840#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 9841static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
9842 PyObject * _resultobj;
9843 wxRadioBox * _result;
9844 wxWindow * _arg0;
9845 wxWindowID _arg1;
9846 wxString * _arg2;
b68dc582
RD
9847 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9848 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820
RD
9849 int _arg5 = (int ) 0;
9850 wxString * _arg6 = (wxString *) NULL;
9851 int _arg7 = (int ) 0;
9852 long _arg8 = (long ) wxRA_HORIZONTAL;
b68dc582 9853 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 9854 wxString * _arg10 = (wxString *) &wxPyRadioBoxNameStr;
2d091820 9855 PyObject * _argo0 = 0;
70551f47 9856 PyObject * _obj2 = 0;
37f6a977
RD
9857 wxPoint temp;
9858 PyObject * _obj3 = 0;
9859 wxSize temp0;
9860 PyObject * _obj4 = 0;
70551f47 9861 PyObject * _obj6 = 0;
2d091820 9862 PyObject * _argo9 = 0;
9a74fcaf 9863 PyObject * _obj10 = 0;
e02c03a4 9864 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
70551f47
RD
9865 char _ptemp[128];
9866
9867 self = self;
9a74fcaf 9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOO:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_obj10))
70551f47 9869 return NULL;
2d091820
RD
9870 if (_argo0) {
9871 if (_argo0 == Py_None) { _arg0 = NULL; }
9872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
9873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9874 return NULL;
9875 }
9876 }
9877{
c8bc7bb8
RD
9878 _arg2 = wxString_in_helper(_obj2);
9879 if (_arg2 == NULL)
70551f47 9880 return NULL;
70551f47 9881}
37f6a977
RD
9882 if (_obj3)
9883{
9884 _arg3 = &temp;
9885 if (! wxPoint_helper(_obj3, &_arg3))
70551f47 9886 return NULL;
37f6a977
RD
9887}
9888 if (_obj4)
9889{
9890 _arg4 = &temp0;
9891 if (! wxSize_helper(_obj4, &_arg4))
70551f47 9892 return NULL;
37f6a977 9893}
70551f47
RD
9894 if (_obj6)
9895{
9896 _arg6 = wxString_LIST_helper(_obj6);
9897 if (_arg6 == NULL) {
9898 return NULL;
9899 }
9900}
2d091820 9901 if (_argo9) {
b67a9327 9902 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
70551f47
RD
9903 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9904 return NULL;
9905 }
9906 }
9a74fcaf
RD
9907 if (_obj10)
9908{
9909 _arg10 = wxString_in_helper(_obj10);
9910 if (_arg10 == NULL)
9911 return NULL;
9912}
70551f47 9913{
ab9bc19b
RD
9914 if (_obj6) {
9915 _arg5 = PyList_Size(_obj6);
9916 }
9917 else {
9918 _arg5 = 0;
9919 }
70551f47 9920}
ab9bc19b 9921{
474c48f9 9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 9923 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
ab9bc19b 9924
474c48f9 9925 wxPyEndAllowThreads(__tstate);
4dfaa61e 9926 if (PyErr_Occurred()) return NULL;
2d091820
RD
9927} if (_result) {
9928 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9929 _resultobj = Py_BuildValue("s",_ptemp);
9930 } else {
9931 Py_INCREF(Py_None);
9932 _resultobj = Py_None;
9933 }
70551f47
RD
9934{
9935 if (_obj2)
9936 delete _arg2;
9937}
9938{
9939 delete [] _arg6;
9a74fcaf
RD
9940}
9941{
9942 if (_obj10)
9943 delete _arg10;
70551f47
RD
9944}
9945 return _resultobj;
9946}
9947
aa2a5b86
RD
9948#define new_wxPreRadioBox() (new wxRadioBox())
9949static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9950 PyObject * _resultobj;
9951 wxRadioBox * _result;
9952 char *_kwnames[] = { NULL };
9953 char _ptemp[128];
9954
9955 self = self;
9956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
9957 return NULL;
9958{
474c48f9 9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 9960 _result = (wxRadioBox *)new_wxPreRadioBox();
aa2a5b86 9961
474c48f9 9962 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
9963 if (PyErr_Occurred()) return NULL;
9964} if (_result) {
9965 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9966 _resultobj = Py_BuildValue("s",_ptemp);
9967 } else {
9968 Py_INCREF(Py_None);
9969 _resultobj = Py_None;
9970 }
9971 return _resultobj;
9972}
9973
9974#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))
9975static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9976 PyObject * _resultobj;
9977 bool _result;
9978 wxRadioBox * _arg0;
9979 wxWindow * _arg1;
9980 wxWindowID _arg2;
9981 wxString * _arg3;
9982 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9983 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9984 int _arg6 = (int ) 0;
9985 wxString * _arg7 = (wxString *) NULL;
9986 int _arg8 = (int ) 0;
9987 long _arg9 = (long ) wxRA_HORIZONTAL;
9988 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 9989 wxString * _arg11 = (wxString *) &wxPyRadioBoxNameStr;
aa2a5b86
RD
9990 PyObject * _argo0 = 0;
9991 PyObject * _argo1 = 0;
9992 PyObject * _obj3 = 0;
9993 wxPoint temp;
9994 PyObject * _obj4 = 0;
9995 wxSize temp0;
9996 PyObject * _obj5 = 0;
9997 PyObject * _obj7 = 0;
9998 PyObject * _argo10 = 0;
9a74fcaf 9999 PyObject * _obj11 = 0;
aa2a5b86
RD
10000 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
10001
10002 self = self;
9a74fcaf 10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_obj11))
aa2a5b86
RD
10004 return NULL;
10005 if (_argo0) {
10006 if (_argo0 == Py_None) { _arg0 = NULL; }
10007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
10009 return NULL;
10010 }
10011 }
10012 if (_argo1) {
10013 if (_argo1 == Py_None) { _arg1 = NULL; }
10014 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10015 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
10016 return NULL;
10017 }
10018 }
10019{
c8bc7bb8
RD
10020 _arg3 = wxString_in_helper(_obj3);
10021 if (_arg3 == NULL)
aa2a5b86 10022 return NULL;
aa2a5b86
RD
10023}
10024 if (_obj4)
10025{
10026 _arg4 = &temp;
10027 if (! wxPoint_helper(_obj4, &_arg4))
10028 return NULL;
10029}
10030 if (_obj5)
10031{
10032 _arg5 = &temp0;
10033 if (! wxSize_helper(_obj5, &_arg5))
10034 return NULL;
10035}
10036 if (_obj7)
10037{
10038 _arg7 = wxString_LIST_helper(_obj7);
10039 if (_arg7 == NULL) {
10040 return NULL;
10041 }
10042}
10043 if (_argo10) {
b67a9327 10044 if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
aa2a5b86
RD
10045 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
10046 return NULL;
10047 }
10048 }
9a74fcaf
RD
10049 if (_obj11)
10050{
10051 _arg11 = wxString_in_helper(_obj11);
10052 if (_arg11 == NULL)
10053 return NULL;
10054}
aa2a5b86
RD
10055{
10056 if (_obj7) {
10057 _arg6 = PyList_Size(_obj7);
10058 }
10059 else {
10060 _arg6 = 0;
10061 }
10062}
10063{
474c48f9 10064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 10065 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,*_arg11);
aa2a5b86 10066
474c48f9 10067 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
10068 if (PyErr_Occurred()) return NULL;
10069} _resultobj = Py_BuildValue("i",_result);
10070{
10071 if (_obj3)
10072 delete _arg3;
10073}
10074{
10075 delete [] _arg7;
9a74fcaf
RD
10076}
10077{
10078 if (_obj11)
10079 delete _arg11;
aa2a5b86
RD
10080}
10081 return _resultobj;
10082}
10083
c3c1cebe 10084#define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
107e4716 10085static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10086 PyObject * _resultobj;
10087 wxRadioBox * _arg0;
10088 bool _arg1;
2d091820 10089 PyObject * _argo0 = 0;
70551f47 10090 int tempbool1;
107e4716 10091 char *_kwnames[] = { "self","enable", NULL };
70551f47
RD
10092
10093 self = self;
107e4716 10094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
70551f47 10095 return NULL;
2d091820
RD
10096 if (_argo0) {
10097 if (_argo0 == Py_None) { _arg0 = NULL; }
10098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
c3c1cebe 10099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
70551f47
RD
10100 return NULL;
10101 }
10102 }
10103 _arg1 = (bool ) tempbool1;
ab9bc19b 10104{
474c48f9 10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10106 wxRadioBox_Enable(_arg0,_arg1);
ab9bc19b 10107
474c48f9 10108 wxPyEndAllowThreads(__tstate);
4dfaa61e 10109 if (PyErr_Occurred()) return NULL;
ab9bc19b 10110} Py_INCREF(Py_None);
70551f47
RD
10111 _resultobj = Py_None;
10112 return _resultobj;
10113}
10114
c3c1cebe 10115#define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
107e4716 10116static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10117 PyObject * _resultobj;
10118 wxRadioBox * _arg0;
10119 int _arg1;
10120 bool _arg2;
2d091820 10121 PyObject * _argo0 = 0;
70551f47 10122 int tempbool2;
107e4716 10123 char *_kwnames[] = { "self","n","enable", NULL };
70551f47
RD
10124
10125 self = self;
107e4716 10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 10127 return NULL;
2d091820
RD
10128 if (_argo0) {
10129 if (_argo0 == Py_None) { _arg0 = NULL; }
10130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
c3c1cebe 10131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
70551f47
RD
10132 return NULL;
10133 }
10134 }
10135 _arg2 = (bool ) tempbool2;
ab9bc19b 10136{
474c48f9 10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10138 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
ab9bc19b 10139
474c48f9 10140 wxPyEndAllowThreads(__tstate);
4dfaa61e 10141 if (PyErr_Occurred()) return NULL;
ab9bc19b 10142} Py_INCREF(Py_None);
70551f47
RD
10143 _resultobj = Py_None;
10144 return _resultobj;
10145}
10146
10147#define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
107e4716 10148static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10149 PyObject * _resultobj;
10150 int _result;
10151 wxRadioBox * _arg0;
10152 wxString * _arg1;
2d091820 10153 PyObject * _argo0 = 0;
70551f47 10154 PyObject * _obj1 = 0;
107e4716 10155 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
10156
10157 self = self;
107e4716 10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
70551f47 10159 return NULL;
2d091820
RD
10160 if (_argo0) {
10161 if (_argo0 == Py_None) { _arg0 = NULL; }
10162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
10163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
10164 return NULL;
10165 }
10166 }
10167{
c8bc7bb8
RD
10168 _arg1 = wxString_in_helper(_obj1);
10169 if (_arg1 == NULL)
70551f47 10170 return NULL;
70551f47 10171}
ab9bc19b 10172{
474c48f9 10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10174 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
ab9bc19b 10175
474c48f9 10176 wxPyEndAllowThreads(__tstate);
4dfaa61e 10177 if (PyErr_Occurred()) return NULL;
ab9bc19b 10178} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10179{
10180 if (_obj1)
10181 delete _arg1;
10182}
10183 return _resultobj;
10184}
10185
2c8a649d
RD
10186#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
10187static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10188 PyObject * _resultobj;
10189 wxString * _result;
10190 wxRadioBox * _arg0;
10191 int _arg1;
2d091820 10192 PyObject * _argo0 = 0;
107e4716 10193 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
10194
10195 self = self;
2c8a649d 10196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
70551f47 10197 return NULL;
2d091820
RD
10198 if (_argo0) {
10199 if (_argo0 == Py_None) { _arg0 = NULL; }
10200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 10201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
70551f47
RD
10202 return NULL;
10203 }
10204 }
70551f47 10205{
474c48f9 10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10207 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
ab9bc19b 10208
474c48f9 10209 wxPyEndAllowThreads(__tstate);
4dfaa61e 10210 if (PyErr_Occurred()) return NULL;
ab9bc19b 10211}{
c8bc7bb8 10212#if wxUSE_UNICODE
b67a9327 10213 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10214#else
2c8a649d 10215 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10216#endif
2c8a649d
RD
10217}
10218{
10219 delete _result;
10220}
70551f47
RD
10221 return _resultobj;
10222}
10223
b67a9327
RD
10224#define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
10225static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 10226 PyObject * _resultobj;
70551f47
RD
10227 wxRadioBox * _arg0;
10228 int _arg1;
2c8a649d 10229 wxString * _arg2;
2d091820 10230 PyObject * _argo0 = 0;
2c8a649d 10231 PyObject * _obj2 = 0;
b67a9327 10232 char *_kwnames[] = { "self","n","label", NULL };
70551f47
RD
10233
10234 self = self;
b67a9327 10235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
70551f47 10236 return NULL;
2d091820
RD
10237 if (_argo0) {
10238 if (_argo0 == Py_None) { _arg0 = NULL; }
10239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
b67a9327 10240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
70551f47
RD
10241 return NULL;
10242 }
10243 }
2c8a649d 10244{
c8bc7bb8
RD
10245 _arg2 = wxString_in_helper(_obj2);
10246 if (_arg2 == NULL)
2c8a649d 10247 return NULL;
2c8a649d 10248}
70551f47 10249{
474c48f9 10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
b67a9327 10251 wxRadioBox_SetString(_arg0,_arg1,*_arg2);
ab9bc19b 10252
474c48f9 10253 wxPyEndAllowThreads(__tstate);
4dfaa61e 10254 if (PyErr_Occurred()) return NULL;
2c8a649d
RD
10255} Py_INCREF(Py_None);
10256 _resultobj = Py_None;
70551f47 10257{
2c8a649d
RD
10258 if (_obj2)
10259 delete _arg2;
70551f47
RD
10260}
10261 return _resultobj;
10262}
10263
2c8a649d
RD
10264#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
10265static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 10266 PyObject * _resultobj;
2c8a649d 10267 int _result;
70551f47 10268 wxRadioBox * _arg0;
2d091820 10269 PyObject * _argo0 = 0;
107e4716 10270 char *_kwnames[] = { "self", NULL };
70551f47
RD
10271
10272 self = self;
2c8a649d 10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
70551f47 10274 return NULL;
2d091820
RD
10275 if (_argo0) {
10276 if (_argo0 == Py_None) { _arg0 = NULL; }
10277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 10278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
70551f47
RD
10279 return NULL;
10280 }
10281 }
70551f47 10282{
474c48f9 10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10284 _result = (int )wxRadioBox_GetSelection(_arg0);
ab9bc19b 10285
474c48f9 10286 wxPyEndAllowThreads(__tstate);
4dfaa61e 10287 if (PyErr_Occurred()) return NULL;
2c8a649d 10288} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10289 return _resultobj;
10290}
10291
2c8a649d
RD
10292#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
10293static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 10294 PyObject * _resultobj;
2c8a649d 10295 wxString * _result;
70551f47 10296 wxRadioBox * _arg0;
2d091820 10297 PyObject * _argo0 = 0;
107e4716 10298 char *_kwnames[] = { "self", NULL };
70551f47
RD
10299
10300 self = self;
2c8a649d 10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
70551f47 10302 return NULL;
2d091820
RD
10303 if (_argo0) {
10304 if (_argo0 == Py_None) { _arg0 = NULL; }
10305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 10306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
70551f47
RD
10307 return NULL;
10308 }
10309 }
ab9bc19b 10310{
474c48f9 10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10312 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
ab9bc19b 10313
474c48f9 10314 wxPyEndAllowThreads(__tstate);
4dfaa61e 10315 if (PyErr_Occurred()) return NULL;
2c8a649d 10316}{
c8bc7bb8 10317#if wxUSE_UNICODE
b67a9327 10318 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
c8bc7bb8 10319#else
2c8a649d 10320 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
c8bc7bb8 10321#endif
2c8a649d
RD
10322}
10323{
10324 delete _result;
10325}
70551f47
RD
10326 return _resultobj;
10327}
10328
2c8a649d
RD
10329#define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
10330static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47 10331 PyObject * _resultobj;
2c8a649d 10332 int _result;
70551f47 10333 wxRadioBox * _arg0;
2d091820 10334 PyObject * _argo0 = 0;
2c8a649d 10335 char *_kwnames[] = { "self", NULL };
70551f47
RD
10336
10337 self = self;
2c8a649d 10338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
70551f47 10339 return NULL;
2d091820
RD
10340 if (_argo0) {
10341 if (_argo0 == Py_None) { _arg0 = NULL; }
10342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
2c8a649d 10343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
70551f47
RD
10344 return NULL;
10345 }
10346 }
ab9bc19b 10347{
474c48f9 10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10349 _result = (int )wxRadioBox_GetCount(_arg0);
ab9bc19b 10350
474c48f9 10351 wxPyEndAllowThreads(__tstate);
4dfaa61e 10352 if (PyErr_Occurred()) return NULL;
2c8a649d 10353} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10354 return _resultobj;
10355}
10356
10357#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
107e4716 10358static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10359 PyObject * _resultobj;
10360 wxRadioBox * _arg0;
10361 int _arg1;
2d091820 10362 PyObject * _argo0 = 0;
107e4716 10363 char *_kwnames[] = { "self","n", NULL };
70551f47
RD
10364
10365 self = self;
107e4716 10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
70551f47 10367 return NULL;
2d091820
RD
10368 if (_argo0) {
10369 if (_argo0 == Py_None) { _arg0 = NULL; }
10370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
10371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
10372 return NULL;
10373 }
10374 }
ab9bc19b 10375{
474c48f9 10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10377 wxRadioBox_SetSelection(_arg0,_arg1);
ab9bc19b 10378
474c48f9 10379 wxPyEndAllowThreads(__tstate);
4dfaa61e 10380 if (PyErr_Occurred()) return NULL;
ab9bc19b 10381} Py_INCREF(Py_None);
70551f47
RD
10382 _resultobj = Py_None;
10383 return _resultobj;
10384}
10385
10386#define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
107e4716 10387static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10388 PyObject * _resultobj;
10389 wxRadioBox * _arg0;
10390 wxString * _arg1;
2d091820 10391 PyObject * _argo0 = 0;
70551f47 10392 PyObject * _obj1 = 0;
107e4716 10393 char *_kwnames[] = { "self","string", NULL };
70551f47
RD
10394
10395 self = self;
107e4716 10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
70551f47 10397 return NULL;
2d091820
RD
10398 if (_argo0) {
10399 if (_argo0 == Py_None) { _arg0 = NULL; }
10400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
10401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
10402 return NULL;
10403 }
10404 }
10405{
c8bc7bb8
RD
10406 _arg1 = wxString_in_helper(_obj1);
10407 if (_arg1 == NULL)
2cd2fac8 10408 return NULL;
70551f47 10409}
ab9bc19b 10410{
474c48f9 10411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10412 wxRadioBox_SetStringSelection(_arg0,*_arg1);
ab9bc19b 10413
474c48f9 10414 wxPyEndAllowThreads(__tstate);
4dfaa61e 10415 if (PyErr_Occurred()) return NULL;
ab9bc19b 10416} Py_INCREF(Py_None);
70551f47
RD
10417 _resultobj = Py_None;
10418{
10419 if (_obj1)
10420 delete _arg1;
10421}
10422 return _resultobj;
10423}
10424
10425#define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
107e4716 10426static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10427 PyObject * _resultobj;
10428 wxRadioBox * _arg0;
10429 bool _arg1;
2d091820 10430 PyObject * _argo0 = 0;
70551f47 10431 int tempbool1;
107e4716 10432 char *_kwnames[] = { "self","show", NULL };
70551f47
RD
10433
10434 self = self;
107e4716 10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
70551f47 10436 return NULL;
2d091820
RD
10437 if (_argo0) {
10438 if (_argo0 == Py_None) { _arg0 = NULL; }
10439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
10440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
10441 return NULL;
10442 }
10443 }
10444 _arg1 = (bool ) tempbool1;
ab9bc19b 10445{
474c48f9 10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10447 wxRadioBox_Show(_arg0,_arg1);
ab9bc19b 10448
474c48f9 10449 wxPyEndAllowThreads(__tstate);
4dfaa61e 10450 if (PyErr_Occurred()) return NULL;
ab9bc19b 10451} Py_INCREF(Py_None);
70551f47
RD
10452 _resultobj = Py_None;
10453 return _resultobj;
10454}
10455
10456#define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
107e4716 10457static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10458 PyObject * _resultobj;
10459 wxRadioBox * _arg0;
10460 int _arg1;
10461 bool _arg2;
2d091820 10462 PyObject * _argo0 = 0;
70551f47 10463 int tempbool2;
107e4716 10464 char *_kwnames[] = { "self","item","show", NULL };
70551f47
RD
10465
10466 self = self;
107e4716 10467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
70551f47 10468 return NULL;
2d091820
RD
10469 if (_argo0) {
10470 if (_argo0 == Py_None) { _arg0 = NULL; }
10471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
70551f47
RD
10472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
10473 return NULL;
10474 }
10475 }
10476 _arg2 = (bool ) tempbool2;
ab9bc19b 10477{
474c48f9 10478 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10479 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
ab9bc19b 10480
474c48f9 10481 wxPyEndAllowThreads(__tstate);
4dfaa61e 10482 if (PyErr_Occurred()) return NULL;
ab9bc19b 10483} Py_INCREF(Py_None);
70551f47
RD
10484 _resultobj = Py_None;
10485 return _resultobj;
10486}
10487
10488static void *SwigwxRadioButtonTowxControl(void *ptr) {
10489 wxRadioButton *src;
10490 wxControl *dest;
10491 src = (wxRadioButton *) ptr;
10492 dest = (wxControl *) src;
10493 return (void *) dest;
10494}
10495
10496static void *SwigwxRadioButtonTowxWindow(void *ptr) {
10497 wxRadioButton *src;
10498 wxWindow *dest;
10499 src = (wxRadioButton *) ptr;
10500 dest = (wxWindow *) src;
10501 return (void *) dest;
10502}
10503
10504static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
10505 wxRadioButton *src;
10506 wxEvtHandler *dest;
10507 src = (wxRadioButton *) ptr;
10508 dest = (wxEvtHandler *) src;
10509 return (void *) dest;
10510}
10511
9df61a29
RD
10512static void *SwigwxRadioButtonTowxObject(void *ptr) {
10513 wxRadioButton *src;
10514 wxObject *dest;
10515 src = (wxRadioButton *) ptr;
10516 dest = (wxObject *) src;
10517 return (void *) dest;
10518}
10519
70551f47 10520#define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
107e4716 10521static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10522 PyObject * _resultobj;
10523 wxRadioButton * _result;
10524 wxWindow * _arg0;
10525 wxWindowID _arg1;
10526 wxString * _arg2;
b68dc582
RD
10527 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10528 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2d091820 10529 long _arg5 = (long ) 0;
b68dc582 10530 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 10531 wxString * _arg7 = (wxString *) &wxPyRadioButtonNameStr;
2d091820 10532 PyObject * _argo0 = 0;
70551f47 10533 PyObject * _obj2 = 0;
37f6a977
RD
10534 wxPoint temp;
10535 PyObject * _obj3 = 0;
10536 wxSize temp0;
10537 PyObject * _obj4 = 0;
2d091820 10538 PyObject * _argo6 = 0;
9a74fcaf 10539 PyObject * _obj7 = 0;
107e4716 10540 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
70551f47
RD
10541 char _ptemp[128];
10542
10543 self = self;
9a74fcaf 10544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
70551f47 10545 return NULL;
2d091820
RD
10546 if (_argo0) {
10547 if (_argo0 == Py_None) { _arg0 = NULL; }
10548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
10549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
10550 return NULL;
10551 }
10552 }
10553{
c8bc7bb8
RD
10554 _arg2 = wxString_in_helper(_obj2);
10555 if (_arg2 == NULL)
2cd2fac8 10556 return NULL;
70551f47 10557}
37f6a977
RD
10558 if (_obj3)
10559{
aa2a5b86
RD
10560 _arg3 = &temp;
10561 if (! wxPoint_helper(_obj3, &_arg3))
10562 return NULL;
10563}
10564 if (_obj4)
10565{
10566 _arg4 = &temp0;
10567 if (! wxSize_helper(_obj4, &_arg4))
10568 return NULL;
10569}
10570 if (_argo6) {
b67a9327 10571 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
aa2a5b86
RD
10572 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
10573 return NULL;
10574 }
10575 }
9a74fcaf
RD
10576 if (_obj7)
10577{
10578 _arg7 = wxString_in_helper(_obj7);
10579 if (_arg7 == NULL)
10580 return NULL;
10581}
aa2a5b86 10582{
474c48f9 10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 10584 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
aa2a5b86 10585
474c48f9 10586 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
10587 if (PyErr_Occurred()) return NULL;
10588} if (_result) {
10589 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
10590 _resultobj = Py_BuildValue("s",_ptemp);
10591 } else {
10592 Py_INCREF(Py_None);
10593 _resultobj = Py_None;
10594 }
10595{
10596 if (_obj2)
10597 delete _arg2;
9a74fcaf
RD
10598}
10599{
10600 if (_obj7)
10601 delete _arg7;
aa2a5b86
RD
10602}
10603 return _resultobj;
10604}
10605
10606#define new_wxPreRadioButton() (new wxRadioButton())
10607static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10608 PyObject * _resultobj;
10609 wxRadioButton * _result;
10610 char *_kwnames[] = { NULL };
10611 char _ptemp[128];
10612
10613 self = self;
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
10615 return NULL;
10616{
474c48f9 10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10618 _result = (wxRadioButton *)new_wxPreRadioButton();
aa2a5b86 10619
474c48f9 10620 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
10621 if (PyErr_Occurred()) return NULL;
10622} if (_result) {
10623 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
10624 _resultobj = Py_BuildValue("s",_ptemp);
10625 } else {
10626 Py_INCREF(Py_None);
10627 _resultobj = Py_None;
10628 }
10629 return _resultobj;
10630}
10631
10632#define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10633static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10634 PyObject * _resultobj;
10635 bool _result;
10636 wxRadioButton * _arg0;
10637 wxWindow * _arg1;
10638 wxWindowID _arg2;
10639 wxString * _arg3;
10640 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10641 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10642 long _arg6 = (long ) 0;
10643 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 10644 wxString * _arg8 = (wxString *) &wxPyRadioButtonNameStr;
aa2a5b86
RD
10645 PyObject * _argo0 = 0;
10646 PyObject * _argo1 = 0;
10647 PyObject * _obj3 = 0;
10648 wxPoint temp;
10649 PyObject * _obj4 = 0;
10650 wxSize temp0;
10651 PyObject * _obj5 = 0;
10652 PyObject * _argo7 = 0;
9a74fcaf 10653 PyObject * _obj8 = 0;
aa2a5b86
RD
10654 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
10655
10656 self = self;
9a74fcaf 10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
10658 return NULL;
10659 if (_argo0) {
10660 if (_argo0 == Py_None) { _arg0 = NULL; }
10661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
10663 return NULL;
10664 }
10665 }
10666 if (_argo1) {
10667 if (_argo1 == Py_None) { _arg1 = NULL; }
10668 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10669 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
10670 return NULL;
10671 }
10672 }
10673{
c8bc7bb8
RD
10674 _arg3 = wxString_in_helper(_obj3);
10675 if (_arg3 == NULL)
aa2a5b86 10676 return NULL;
aa2a5b86
RD
10677}
10678 if (_obj4)
10679{
10680 _arg4 = &temp;
10681 if (! wxPoint_helper(_obj4, &_arg4))
70551f47 10682 return NULL;
37f6a977 10683}
aa2a5b86 10684 if (_obj5)
37f6a977 10685{
aa2a5b86
RD
10686 _arg5 = &temp0;
10687 if (! wxSize_helper(_obj5, &_arg5))
70551f47 10688 return NULL;
37f6a977 10689}
aa2a5b86 10690 if (_argo7) {
b67a9327 10691 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86 10692 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
70551f47
RD
10693 return NULL;
10694 }
10695 }
9a74fcaf
RD
10696 if (_obj8)
10697{
10698 _arg8 = wxString_in_helper(_obj8);
10699 if (_arg8 == NULL)
10700 return NULL;
10701}
ab9bc19b 10702{
474c48f9 10703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 10704 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
ab9bc19b 10705
474c48f9 10706 wxPyEndAllowThreads(__tstate);
4dfaa61e 10707 if (PyErr_Occurred()) return NULL;
aa2a5b86 10708} _resultobj = Py_BuildValue("i",_result);
70551f47 10709{
aa2a5b86
RD
10710 if (_obj3)
10711 delete _arg3;
9a74fcaf
RD
10712}
10713{
10714 if (_obj8)
10715 delete _arg8;
70551f47
RD
10716}
10717 return _resultobj;
10718}
10719
10720#define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 10721static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10722 PyObject * _resultobj;
10723 bool _result;
10724 wxRadioButton * _arg0;
2d091820 10725 PyObject * _argo0 = 0;
107e4716 10726 char *_kwnames[] = { "self", NULL };
70551f47
RD
10727
10728 self = self;
107e4716 10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
70551f47 10730 return NULL;
2d091820
RD
10731 if (_argo0) {
10732 if (_argo0 == Py_None) { _arg0 = NULL; }
10733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
70551f47
RD
10734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10735 return NULL;
10736 }
10737 }
ab9bc19b 10738{
474c48f9 10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10740 _result = (bool )wxRadioButton_GetValue(_arg0);
ab9bc19b 10741
474c48f9 10742 wxPyEndAllowThreads(__tstate);
4dfaa61e 10743 if (PyErr_Occurred()) return NULL;
ab9bc19b 10744} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
10745 return _resultobj;
10746}
10747
10748#define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 10749static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10750 PyObject * _resultobj;
10751 wxRadioButton * _arg0;
10752 bool _arg1;
2d091820 10753 PyObject * _argo0 = 0;
70551f47 10754 int tempbool1;
107e4716 10755 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
10756
10757 self = self;
107e4716 10758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
70551f47 10759 return NULL;
2d091820
RD
10760 if (_argo0) {
10761 if (_argo0 == Py_None) { _arg0 = NULL; }
10762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
70551f47
RD
10763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10764 return NULL;
10765 }
10766 }
10767 _arg1 = (bool ) tempbool1;
ab9bc19b 10768{
474c48f9 10769 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10770 wxRadioButton_SetValue(_arg0,_arg1);
ab9bc19b 10771
474c48f9 10772 wxPyEndAllowThreads(__tstate);
4dfaa61e 10773 if (PyErr_Occurred()) return NULL;
ab9bc19b 10774} Py_INCREF(Py_None);
70551f47
RD
10775 _resultobj = Py_None;
10776 return _resultobj;
10777}
10778
10779static void *SwigwxSliderTowxControl(void *ptr) {
10780 wxSlider *src;
10781 wxControl *dest;
10782 src = (wxSlider *) ptr;
10783 dest = (wxControl *) src;
10784 return (void *) dest;
10785}
10786
10787static void *SwigwxSliderTowxWindow(void *ptr) {
10788 wxSlider *src;
10789 wxWindow *dest;
10790 src = (wxSlider *) ptr;
10791 dest = (wxWindow *) src;
10792 return (void *) dest;
10793}
10794
10795static void *SwigwxSliderTowxEvtHandler(void *ptr) {
10796 wxSlider *src;
10797 wxEvtHandler *dest;
10798 src = (wxSlider *) ptr;
10799 dest = (wxEvtHandler *) src;
10800 return (void *) dest;
10801}
10802
9df61a29
RD
10803static void *SwigwxSliderTowxObject(void *ptr) {
10804 wxSlider *src;
10805 wxObject *dest;
10806 src = (wxSlider *) ptr;
10807 dest = (wxObject *) src;
10808 return (void *) dest;
10809}
10810
70551f47 10811#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 10812static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10813 PyObject * _resultobj;
10814 wxSlider * _result;
10815 wxWindow * _arg0;
10816 wxWindowID _arg1;
10817 int _arg2;
10818 int _arg3;
10819 int _arg4;
b68dc582
RD
10820 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
10821 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
2d091820 10822 long _arg7 = (long ) wxSL_HORIZONTAL;
b68dc582 10823 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 10824 wxString * _arg9 = (wxString *) &wxPySliderNameStr;
2d091820 10825 PyObject * _argo0 = 0;
37f6a977
RD
10826 wxPoint temp;
10827 PyObject * _obj5 = 0;
10828 wxSize temp0;
10829 PyObject * _obj6 = 0;
2d091820 10830 PyObject * _argo8 = 0;
9a74fcaf 10831 PyObject * _obj9 = 0;
107e4716 10832 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
70551f47
RD
10833 char _ptemp[128];
10834
10835 self = self;
9a74fcaf 10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOO:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_obj9))
70551f47 10837 return NULL;
2d091820
RD
10838 if (_argo0) {
10839 if (_argo0 == Py_None) { _arg0 = NULL; }
10840 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
70551f47
RD
10841 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10842 return NULL;
10843 }
10844 }
37f6a977
RD
10845 if (_obj5)
10846{
10847 _arg5 = &temp;
10848 if (! wxPoint_helper(_obj5, &_arg5))
70551f47 10849 return NULL;
37f6a977
RD
10850}
10851 if (_obj6)
10852{
10853 _arg6 = &temp0;
10854 if (! wxSize_helper(_obj6, &_arg6))
70551f47 10855 return NULL;
37f6a977 10856}
2d091820 10857 if (_argo8) {
b67a9327 10858 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
70551f47
RD
10859 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10860 return NULL;
10861 }
10862 }
9a74fcaf
RD
10863 if (_obj9)
10864{
10865 _arg9 = wxString_in_helper(_obj9);
10866 if (_arg9 == NULL)
10867 return NULL;
10868}
ab9bc19b 10869{
474c48f9 10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 10871 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,*_arg9);
ab9bc19b 10872
474c48f9 10873 wxPyEndAllowThreads(__tstate);
4dfaa61e 10874 if (PyErr_Occurred()) return NULL;
2d091820
RD
10875} if (_result) {
10876 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10877 _resultobj = Py_BuildValue("s",_ptemp);
10878 } else {
10879 Py_INCREF(Py_None);
10880 _resultobj = Py_None;
10881 }
9a74fcaf
RD
10882{
10883 if (_obj9)
10884 delete _arg9;
10885}
70551f47
RD
10886 return _resultobj;
10887}
10888
aa2a5b86
RD
10889#define new_wxPreSlider() (new wxSlider())
10890static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10891 PyObject * _resultobj;
10892 wxSlider * _result;
10893 char *_kwnames[] = { NULL };
10894 char _ptemp[128];
10895
10896 self = self;
10897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
10898 return NULL;
10899{
474c48f9 10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 10901 _result = (wxSlider *)new_wxPreSlider();
aa2a5b86 10902
474c48f9 10903 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
10904 if (PyErr_Occurred()) return NULL;
10905} if (_result) {
10906 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10907 _resultobj = Py_BuildValue("s",_ptemp);
10908 } else {
10909 Py_INCREF(Py_None);
10910 _resultobj = Py_None;
10911 }
10912 return _resultobj;
10913}
10914
10915#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))
10916static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10917 PyObject * _resultobj;
10918 bool _result;
10919 wxSlider * _arg0;
10920 wxWindow * _arg1;
10921 wxWindowID _arg2;
10922 int _arg3;
10923 int _arg4;
10924 int _arg5;
10925 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
10926 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
10927 long _arg8 = (long ) wxSL_HORIZONTAL;
10928 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 10929 wxString * _arg10 = (wxString *) &wxPySliderNameStr;
aa2a5b86
RD
10930 PyObject * _argo0 = 0;
10931 PyObject * _argo1 = 0;
10932 wxPoint temp;
10933 PyObject * _obj6 = 0;
10934 wxSize temp0;
10935 PyObject * _obj7 = 0;
10936 PyObject * _argo9 = 0;
9a74fcaf 10937 PyObject * _obj10 = 0;
aa2a5b86
RD
10938 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
10939
10940 self = self;
9a74fcaf 10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOO:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_obj10))
aa2a5b86
RD
10942 return NULL;
10943 if (_argo0) {
10944 if (_argo0 == Py_None) { _arg0 = NULL; }
10945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10947 return NULL;
10948 }
10949 }
10950 if (_argo1) {
10951 if (_argo1 == Py_None) { _arg1 = NULL; }
10952 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10953 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10954 return NULL;
10955 }
10956 }
10957 if (_obj6)
10958{
10959 _arg6 = &temp;
10960 if (! wxPoint_helper(_obj6, &_arg6))
10961 return NULL;
10962}
10963 if (_obj7)
10964{
10965 _arg7 = &temp0;
10966 if (! wxSize_helper(_obj7, &_arg7))
10967 return NULL;
10968}
10969 if (_argo9) {
b67a9327 10970 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
aa2a5b86
RD
10971 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10972 return NULL;
10973 }
10974 }
9a74fcaf
RD
10975 if (_obj10)
10976{
10977 _arg10 = wxString_in_helper(_obj10);
10978 if (_arg10 == NULL)
10979 return NULL;
10980}
aa2a5b86 10981{
474c48f9 10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 10983 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,*_arg10);
aa2a5b86 10984
474c48f9 10985 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
10986 if (PyErr_Occurred()) return NULL;
10987} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
10988{
10989 if (_obj10)
10990 delete _arg10;
10991}
aa2a5b86
RD
10992 return _resultobj;
10993}
10994
70551f47 10995#define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
107e4716 10996static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
10997 PyObject * _resultobj;
10998 wxSlider * _arg0;
2d091820 10999 PyObject * _argo0 = 0;
107e4716 11000 char *_kwnames[] = { "self", NULL };
70551f47
RD
11001
11002 self = self;
107e4716 11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
70551f47 11004 return NULL;
2d091820
RD
11005 if (_argo0) {
11006 if (_argo0 == Py_None) { _arg0 = NULL; }
11007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
11009 return NULL;
11010 }
11011 }
ab9bc19b 11012{
474c48f9 11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11014 wxSlider_ClearSel(_arg0);
ab9bc19b 11015
474c48f9 11016 wxPyEndAllowThreads(__tstate);
4dfaa61e 11017 if (PyErr_Occurred()) return NULL;
ab9bc19b 11018} Py_INCREF(Py_None);
70551f47
RD
11019 _resultobj = Py_None;
11020 return _resultobj;
11021}
11022
11023#define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
107e4716 11024static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11025 PyObject * _resultobj;
11026 wxSlider * _arg0;
2d091820 11027 PyObject * _argo0 = 0;
107e4716 11028 char *_kwnames[] = { "self", NULL };
70551f47
RD
11029
11030 self = self;
107e4716 11031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
70551f47 11032 return NULL;
2d091820
RD
11033 if (_argo0) {
11034 if (_argo0 == Py_None) { _arg0 = NULL; }
11035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
11037 return NULL;
11038 }
11039 }
ab9bc19b 11040{
474c48f9 11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11042 wxSlider_ClearTicks(_arg0);
ab9bc19b 11043
474c48f9 11044 wxPyEndAllowThreads(__tstate);
4dfaa61e 11045 if (PyErr_Occurred()) return NULL;
ab9bc19b 11046} Py_INCREF(Py_None);
70551f47
RD
11047 _resultobj = Py_None;
11048 return _resultobj;
11049}
11050
11051#define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
107e4716 11052static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11053 PyObject * _resultobj;
11054 int _result;
11055 wxSlider * _arg0;
2d091820 11056 PyObject * _argo0 = 0;
107e4716 11057 char *_kwnames[] = { "self", NULL };
70551f47
RD
11058
11059 self = self;
107e4716 11060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
70551f47 11061 return NULL;
2d091820
RD
11062 if (_argo0) {
11063 if (_argo0 == Py_None) { _arg0 = NULL; }
11064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
11066 return NULL;
11067 }
11068 }
ab9bc19b 11069{
474c48f9 11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11071 _result = (int )wxSlider_GetLineSize(_arg0);
ab9bc19b 11072
474c48f9 11073 wxPyEndAllowThreads(__tstate);
4dfaa61e 11074 if (PyErr_Occurred()) return NULL;
ab9bc19b 11075} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11076 return _resultobj;
11077}
11078
11079#define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
107e4716 11080static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11081 PyObject * _resultobj;
11082 int _result;
11083 wxSlider * _arg0;
2d091820 11084 PyObject * _argo0 = 0;
107e4716 11085 char *_kwnames[] = { "self", NULL };
70551f47
RD
11086
11087 self = self;
107e4716 11088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
70551f47 11089 return NULL;
2d091820
RD
11090 if (_argo0) {
11091 if (_argo0 == Py_None) { _arg0 = NULL; }
11092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
11094 return NULL;
11095 }
11096 }
ab9bc19b 11097{
474c48f9 11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11099 _result = (int )wxSlider_GetMax(_arg0);
ab9bc19b 11100
474c48f9 11101 wxPyEndAllowThreads(__tstate);
4dfaa61e 11102 if (PyErr_Occurred()) return NULL;
ab9bc19b 11103} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11104 return _resultobj;
11105}
11106
11107#define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
107e4716 11108static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11109 PyObject * _resultobj;
11110 int _result;
11111 wxSlider * _arg0;
2d091820 11112 PyObject * _argo0 = 0;
107e4716 11113 char *_kwnames[] = { "self", NULL };
70551f47
RD
11114
11115 self = self;
107e4716 11116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
70551f47 11117 return NULL;
2d091820
RD
11118 if (_argo0) {
11119 if (_argo0 == Py_None) { _arg0 = NULL; }
11120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
11122 return NULL;
11123 }
11124 }
ab9bc19b 11125{
474c48f9 11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11127 _result = (int )wxSlider_GetMin(_arg0);
ab9bc19b 11128
474c48f9 11129 wxPyEndAllowThreads(__tstate);
4dfaa61e 11130 if (PyErr_Occurred()) return NULL;
ab9bc19b 11131} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11132 return _resultobj;
11133}
11134
11135#define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
107e4716 11136static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11137 PyObject * _resultobj;
11138 int _result;
11139 wxSlider * _arg0;
2d091820 11140 PyObject * _argo0 = 0;
107e4716 11141 char *_kwnames[] = { "self", NULL };
70551f47
RD
11142
11143 self = self;
107e4716 11144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
70551f47 11145 return NULL;
2d091820
RD
11146 if (_argo0) {
11147 if (_argo0 == Py_None) { _arg0 = NULL; }
11148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
11150 return NULL;
11151 }
11152 }
ab9bc19b 11153{
474c48f9 11154 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11155 _result = (int )wxSlider_GetPageSize(_arg0);
ab9bc19b 11156
474c48f9 11157 wxPyEndAllowThreads(__tstate);
4dfaa61e 11158 if (PyErr_Occurred()) return NULL;
ab9bc19b 11159} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11160 return _resultobj;
11161}
11162
11163#define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
107e4716 11164static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11165 PyObject * _resultobj;
11166 int _result;
11167 wxSlider * _arg0;
2d091820 11168 PyObject * _argo0 = 0;
107e4716 11169 char *_kwnames[] = { "self", NULL };
70551f47
RD
11170
11171 self = self;
107e4716 11172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
70551f47 11173 return NULL;
2d091820
RD
11174 if (_argo0) {
11175 if (_argo0 == Py_None) { _arg0 = NULL; }
11176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
11178 return NULL;
11179 }
11180 }
ab9bc19b 11181{
474c48f9 11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11183 _result = (int )wxSlider_GetSelEnd(_arg0);
ab9bc19b 11184
474c48f9 11185 wxPyEndAllowThreads(__tstate);
4dfaa61e 11186 if (PyErr_Occurred()) return NULL;
ab9bc19b 11187} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11188 return _resultobj;
11189}
11190
11191#define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
107e4716 11192static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11193 PyObject * _resultobj;
11194 int _result;
11195 wxSlider * _arg0;
2d091820 11196 PyObject * _argo0 = 0;
107e4716 11197 char *_kwnames[] = { "self", NULL };
70551f47
RD
11198
11199 self = self;
107e4716 11200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
70551f47 11201 return NULL;
2d091820
RD
11202 if (_argo0) {
11203 if (_argo0 == Py_None) { _arg0 = NULL; }
11204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
11206 return NULL;
11207 }
11208 }
ab9bc19b 11209{
474c48f9 11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11211 _result = (int )wxSlider_GetSelStart(_arg0);
ab9bc19b 11212
474c48f9 11213 wxPyEndAllowThreads(__tstate);
4dfaa61e 11214 if (PyErr_Occurred()) return NULL;
ab9bc19b 11215} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11216 return _resultobj;
11217}
11218
11219#define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
107e4716 11220static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11221 PyObject * _resultobj;
11222 int _result;
11223 wxSlider * _arg0;
2d091820 11224 PyObject * _argo0 = 0;
107e4716 11225 char *_kwnames[] = { "self", NULL };
70551f47
RD
11226
11227 self = self;
107e4716 11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
70551f47 11229 return NULL;
2d091820
RD
11230 if (_argo0) {
11231 if (_argo0 == Py_None) { _arg0 = NULL; }
11232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
11234 return NULL;
11235 }
11236 }
ab9bc19b 11237{
474c48f9 11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11239 _result = (int )wxSlider_GetThumbLength(_arg0);
ab9bc19b 11240
474c48f9 11241 wxPyEndAllowThreads(__tstate);
4dfaa61e 11242 if (PyErr_Occurred()) return NULL;
ab9bc19b 11243} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11244 return _resultobj;
11245}
11246
11247#define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
107e4716 11248static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11249 PyObject * _resultobj;
11250 int _result;
11251 wxSlider * _arg0;
2d091820 11252 PyObject * _argo0 = 0;
107e4716 11253 char *_kwnames[] = { "self", NULL };
70551f47
RD
11254
11255 self = self;
107e4716 11256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
70551f47 11257 return NULL;
2d091820
RD
11258 if (_argo0) {
11259 if (_argo0 == Py_None) { _arg0 = NULL; }
11260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
11262 return NULL;
11263 }
11264 }
ab9bc19b 11265{
474c48f9 11266 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11267 _result = (int )wxSlider_GetTickFreq(_arg0);
ab9bc19b 11268
474c48f9 11269 wxPyEndAllowThreads(__tstate);
4dfaa61e 11270 if (PyErr_Occurred()) return NULL;
ab9bc19b 11271} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11272 return _resultobj;
11273}
11274
11275#define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
107e4716 11276static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11277 PyObject * _resultobj;
11278 int _result;
11279 wxSlider * _arg0;
2d091820 11280 PyObject * _argo0 = 0;
107e4716 11281 char *_kwnames[] = { "self", NULL };
70551f47
RD
11282
11283 self = self;
107e4716 11284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
70551f47 11285 return NULL;
2d091820
RD
11286 if (_argo0) {
11287 if (_argo0 == Py_None) { _arg0 = NULL; }
11288 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11289 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
11290 return NULL;
11291 }
11292 }
ab9bc19b 11293{
474c48f9 11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11295 _result = (int )wxSlider_GetValue(_arg0);
ab9bc19b 11296
474c48f9 11297 wxPyEndAllowThreads(__tstate);
4dfaa61e 11298 if (PyErr_Occurred()) return NULL;
ab9bc19b 11299} _resultobj = Py_BuildValue("i",_result);
70551f47
RD
11300 return _resultobj;
11301}
11302
11303#define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
107e4716 11304static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11305 PyObject * _resultobj;
11306 wxSlider * _arg0;
11307 int _arg1;
11308 int _arg2;
2d091820 11309 PyObject * _argo0 = 0;
107e4716 11310 char *_kwnames[] = { "self","minValue","maxValue", NULL };
70551f47
RD
11311
11312 self = self;
107e4716 11313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 11314 return NULL;
2d091820
RD
11315 if (_argo0) {
11316 if (_argo0 == Py_None) { _arg0 = NULL; }
11317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
11319 return NULL;
11320 }
11321 }
ab9bc19b 11322{
474c48f9 11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11324 wxSlider_SetRange(_arg0,_arg1,_arg2);
ab9bc19b 11325
474c48f9 11326 wxPyEndAllowThreads(__tstate);
4dfaa61e 11327 if (PyErr_Occurred()) return NULL;
ab9bc19b 11328} Py_INCREF(Py_None);
70551f47
RD
11329 _resultobj = Py_None;
11330 return _resultobj;
11331}
11332
11333#define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
107e4716 11334static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11335 PyObject * _resultobj;
11336 wxSlider * _arg0;
11337 int _arg1;
11338 int _arg2;
2d091820 11339 PyObject * _argo0 = 0;
107e4716 11340 char *_kwnames[] = { "self","n","pos", NULL };
70551f47
RD
11341
11342 self = self;
107e4716 11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 11344 return NULL;
2d091820
RD
11345 if (_argo0) {
11346 if (_argo0 == Py_None) { _arg0 = NULL; }
11347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
11349 return NULL;
11350 }
11351 }
ab9bc19b 11352{
474c48f9 11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11354 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
ab9bc19b 11355
474c48f9 11356 wxPyEndAllowThreads(__tstate);
4dfaa61e 11357 if (PyErr_Occurred()) return NULL;
ab9bc19b 11358} Py_INCREF(Py_None);
70551f47
RD
11359 _resultobj = Py_None;
11360 return _resultobj;
11361}
11362
11363#define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
107e4716 11364static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11365 PyObject * _resultobj;
11366 wxSlider * _arg0;
11367 int _arg1;
2d091820 11368 PyObject * _argo0 = 0;
107e4716 11369 char *_kwnames[] = { "self","lineSize", NULL };
70551f47
RD
11370
11371 self = self;
107e4716 11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
70551f47 11373 return NULL;
2d091820
RD
11374 if (_argo0) {
11375 if (_argo0 == Py_None) { _arg0 = NULL; }
11376 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11377 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
11378 return NULL;
11379 }
11380 }
ab9bc19b 11381{
474c48f9 11382 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11383 wxSlider_SetLineSize(_arg0,_arg1);
ab9bc19b 11384
474c48f9 11385 wxPyEndAllowThreads(__tstate);
4dfaa61e 11386 if (PyErr_Occurred()) return NULL;
ab9bc19b 11387} Py_INCREF(Py_None);
70551f47
RD
11388 _resultobj = Py_None;
11389 return _resultobj;
11390}
11391
11392#define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
107e4716 11393static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11394 PyObject * _resultobj;
11395 wxSlider * _arg0;
11396 int _arg1;
2d091820 11397 PyObject * _argo0 = 0;
107e4716 11398 char *_kwnames[] = { "self","pageSize", NULL };
70551f47
RD
11399
11400 self = self;
107e4716 11401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
70551f47 11402 return NULL;
2d091820
RD
11403 if (_argo0) {
11404 if (_argo0 == Py_None) { _arg0 = NULL; }
11405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
11407 return NULL;
11408 }
11409 }
ab9bc19b 11410{
474c48f9 11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11412 wxSlider_SetPageSize(_arg0,_arg1);
ab9bc19b 11413
474c48f9 11414 wxPyEndAllowThreads(__tstate);
4dfaa61e 11415 if (PyErr_Occurred()) return NULL;
ab9bc19b 11416} Py_INCREF(Py_None);
70551f47
RD
11417 _resultobj = Py_None;
11418 return _resultobj;
11419}
11420
11421#define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
107e4716 11422static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11423 PyObject * _resultobj;
11424 wxSlider * _arg0;
11425 int _arg1;
11426 int _arg2;
2d091820 11427 PyObject * _argo0 = 0;
107e4716 11428 char *_kwnames[] = { "self","startPos","endPos", NULL };
70551f47
RD
11429
11430 self = self;
107e4716 11431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
70551f47 11432 return NULL;
2d091820
RD
11433 if (_argo0) {
11434 if (_argo0 == Py_None) { _arg0 = NULL; }
11435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
11437 return NULL;
11438 }
11439 }
ab9bc19b 11440{
474c48f9 11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11442 wxSlider_SetSelection(_arg0,_arg1,_arg2);
ab9bc19b 11443
474c48f9 11444 wxPyEndAllowThreads(__tstate);
4dfaa61e 11445 if (PyErr_Occurred()) return NULL;
ab9bc19b 11446} Py_INCREF(Py_None);
70551f47
RD
11447 _resultobj = Py_None;
11448 return _resultobj;
11449}
11450
11451#define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
107e4716 11452static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11453 PyObject * _resultobj;
11454 wxSlider * _arg0;
11455 int _arg1;
2d091820 11456 PyObject * _argo0 = 0;
107e4716 11457 char *_kwnames[] = { "self","len", NULL };
70551f47
RD
11458
11459 self = self;
107e4716 11460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
70551f47 11461 return NULL;
2d091820
RD
11462 if (_argo0) {
11463 if (_argo0 == Py_None) { _arg0 = NULL; }
11464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
11466 return NULL;
11467 }
11468 }
ab9bc19b 11469{
474c48f9 11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11471 wxSlider_SetThumbLength(_arg0,_arg1);
ab9bc19b 11472
474c48f9 11473 wxPyEndAllowThreads(__tstate);
4dfaa61e 11474 if (PyErr_Occurred()) return NULL;
ab9bc19b 11475} Py_INCREF(Py_None);
70551f47
RD
11476 _resultobj = Py_None;
11477 return _resultobj;
11478}
11479
11480#define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
107e4716 11481static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11482 PyObject * _resultobj;
11483 wxSlider * _arg0;
11484 int _arg1;
2d091820 11485 PyObject * _argo0 = 0;
107e4716 11486 char *_kwnames[] = { "self","tickPos", NULL };
70551f47
RD
11487
11488 self = self;
107e4716 11489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
70551f47 11490 return NULL;
2d091820
RD
11491 if (_argo0) {
11492 if (_argo0 == Py_None) { _arg0 = NULL; }
11493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
11495 return NULL;
11496 }
11497 }
ab9bc19b 11498{
474c48f9 11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11500 wxSlider_SetTick(_arg0,_arg1);
ab9bc19b 11501
474c48f9 11502 wxPyEndAllowThreads(__tstate);
4dfaa61e 11503 if (PyErr_Occurred()) return NULL;
ab9bc19b 11504} Py_INCREF(Py_None);
70551f47
RD
11505 _resultobj = Py_None;
11506 return _resultobj;
11507}
11508
11509#define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
107e4716 11510static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
70551f47
RD
11511 PyObject * _resultobj;
11512 wxSlider * _arg0;
11513 int _arg1;
2d091820 11514 PyObject * _argo0 = 0;
107e4716 11515 char *_kwnames[] = { "self","value", NULL };
70551f47
RD
11516
11517 self = self;
107e4716 11518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
70551f47 11519 return NULL;
2d091820
RD
11520 if (_argo0) {
11521 if (_argo0 == Py_None) { _arg0 = NULL; }
11522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
70551f47
RD
11523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
11524 return NULL;
11525 }
11526 }
ab9bc19b 11527{
474c48f9 11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11529 wxSlider_SetValue(_arg0,_arg1);
ab9bc19b 11530
474c48f9 11531 wxPyEndAllowThreads(__tstate);
4dfaa61e 11532 if (PyErr_Occurred()) return NULL;
ab9bc19b 11533} Py_INCREF(Py_None);
70551f47
RD
11534 _resultobj = Py_None;
11535 return _resultobj;
11536}
11537
f6bcfd97
BP
11538static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
11539 wxSpinCtrl *src;
11540 wxSpinButton *dest;
11541 src = (wxSpinCtrl *) ptr;
11542 dest = (wxSpinButton *) src;
11543 return (void *) dest;
11544}
11545
11546static void *SwigwxSpinCtrlTowxControl(void *ptr) {
11547 wxSpinCtrl *src;
11548 wxControl *dest;
11549 src = (wxSpinCtrl *) ptr;
11550 dest = (wxControl *) src;
11551 return (void *) dest;
11552}
11553
11554static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
11555 wxSpinCtrl *src;
11556 wxWindow *dest;
11557 src = (wxSpinCtrl *) ptr;
11558 dest = (wxWindow *) src;
11559 return (void *) dest;
11560}
11561
11562static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
11563 wxSpinCtrl *src;
11564 wxEvtHandler *dest;
11565 src = (wxSpinCtrl *) ptr;
11566 dest = (wxEvtHandler *) src;
11567 return (void *) dest;
11568}
11569
9df61a29
RD
11570static void *SwigwxSpinCtrlTowxObject(void *ptr) {
11571 wxSpinCtrl *src;
11572 wxObject *dest;
11573 src = (wxSpinCtrl *) ptr;
11574 dest = (wxObject *) src;
11575 return (void *) dest;
11576}
11577
f6bcfd97
BP
11578#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))
11579static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11580 PyObject * _resultobj;
11581 wxSpinCtrl * _result;
11582 wxWindow * _arg0;
11583 wxWindowID _arg1 = (wxWindowID ) -1;
9a74fcaf 11584 wxString * _arg2 = (wxString *) &wxPyEmptyString;
b68dc582
RD
11585 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
11586 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
f6bcfd97
BP
11587 long _arg5 = (long ) wxSP_ARROW_KEYS;
11588 int _arg6 = (int ) 0;
11589 int _arg7 = (int ) 100;
11590 int _arg8 = (int ) 0;
9a74fcaf 11591 wxString * _arg9 = (wxString *) &wxPySpinCtrlNameStr;
f6bcfd97 11592 PyObject * _argo0 = 0;
9a74fcaf 11593 PyObject * _obj2 = 0;
f6bcfd97
BP
11594 wxPoint temp;
11595 PyObject * _obj3 = 0;
11596 wxSize temp0;
11597 PyObject * _obj4 = 0;
9a74fcaf 11598 PyObject * _obj9 = 0;
f6bcfd97
BP
11599 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
11600 char _ptemp[128];
11601
11602 self = self;
9a74fcaf 11603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_obj9))
f6bcfd97
BP
11604 return NULL;
11605 if (_argo0) {
11606 if (_argo0 == Py_None) { _arg0 = NULL; }
11607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
11608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
11609 return NULL;
11610 }
11611 }
9a74fcaf
RD
11612 if (_obj2)
11613{
11614 _arg2 = wxString_in_helper(_obj2);
11615 if (_arg2 == NULL)
11616 return NULL;
11617}
f6bcfd97
BP
11618 if (_obj3)
11619{
11620 _arg3 = &temp;
11621 if (! wxPoint_helper(_obj3, &_arg3))
11622 return NULL;
11623}
11624 if (_obj4)
11625{
11626 _arg4 = &temp0;
11627 if (! wxSize_helper(_obj4, &_arg4))
11628 return NULL;
9a74fcaf
RD
11629}
11630 if (_obj9)
11631{
11632 _arg9 = wxString_in_helper(_obj9);
11633 if (_arg9 == NULL)
11634 return NULL;
f6bcfd97
BP
11635}
11636{
474c48f9 11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 11638 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9);
f6bcfd97 11639
474c48f9 11640 wxPyEndAllowThreads(__tstate);
4dfaa61e 11641 if (PyErr_Occurred()) return NULL;
f6bcfd97
BP
11642} if (_result) {
11643 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
11644 _resultobj = Py_BuildValue("s",_ptemp);
11645 } else {
11646 Py_INCREF(Py_None);
11647 _resultobj = Py_None;
11648 }
9a74fcaf
RD
11649{
11650 if (_obj2)
11651 delete _arg2;
11652}
11653{
11654 if (_obj9)
11655 delete _arg9;
11656}
f6bcfd97
BP
11657 return _resultobj;
11658}
11659
aa2a5b86
RD
11660#define new_wxPreSpinCtrl() (new wxSpinCtrl())
11661static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11662 PyObject * _resultobj;
11663 wxSpinCtrl * _result;
11664 char *_kwnames[] = { NULL };
11665 char _ptemp[128];
11666
11667 self = self;
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
11669 return NULL;
11670{
474c48f9 11671 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11672 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
aa2a5b86 11673
474c48f9 11674 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
11675 if (PyErr_Occurred()) return NULL;
11676} if (_result) {
11677 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
11678 _resultobj = Py_BuildValue("s",_ptemp);
11679 } else {
11680 Py_INCREF(Py_None);
11681 _resultobj = Py_None;
11682 }
11683 return _resultobj;
11684}
11685
11686#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))
11687static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11688 PyObject * _resultobj;
11689 bool _result;
11690 wxSpinCtrl * _arg0;
11691 wxWindow * _arg1;
11692 wxWindowID _arg2 = (wxWindowID ) -1;
9a74fcaf 11693 wxString * _arg3 = (wxString *) &wxPyEmptyString;
aa2a5b86
RD
11694 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
11695 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
11696 long _arg6 = (long ) wxSP_ARROW_KEYS;
11697 int _arg7 = (int ) 0;
11698 int _arg8 = (int ) 100;
11699 int _arg9 = (int ) 0;
9a74fcaf 11700 wxString * _arg10 = (wxString *) &wxPySpinCtrlNameStr;
aa2a5b86
RD
11701 PyObject * _argo0 = 0;
11702 PyObject * _argo1 = 0;
9a74fcaf 11703 PyObject * _obj3 = 0;
aa2a5b86
RD
11704 wxPoint temp;
11705 PyObject * _obj4 = 0;
11706 wxSize temp0;
11707 PyObject * _obj5 = 0;
9a74fcaf 11708 PyObject * _obj10 = 0;
aa2a5b86
RD
11709 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
11710
11711 self = self;
9a74fcaf 11712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_obj10))
aa2a5b86
RD
11713 return NULL;
11714 if (_argo0) {
11715 if (_argo0 == Py_None) { _arg0 = NULL; }
11716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
11718 return NULL;
11719 }
11720 }
11721 if (_argo1) {
11722 if (_argo1 == Py_None) { _arg1 = NULL; }
11723 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11724 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
11725 return NULL;
11726 }
11727 }
9a74fcaf
RD
11728 if (_obj3)
11729{
11730 _arg3 = wxString_in_helper(_obj3);
11731 if (_arg3 == NULL)
11732 return NULL;
11733}
aa2a5b86
RD
11734 if (_obj4)
11735{
11736 _arg4 = &temp;
11737 if (! wxPoint_helper(_obj4, &_arg4))
11738 return NULL;
11739}
11740 if (_obj5)
11741{
11742 _arg5 = &temp0;
11743 if (! wxSize_helper(_obj5, &_arg5))
11744 return NULL;
9a74fcaf
RD
11745}
11746 if (_obj10)
11747{
11748 _arg10 = wxString_in_helper(_obj10);
11749 if (_arg10 == NULL)
11750 return NULL;
aa2a5b86
RD
11751}
11752{
474c48f9 11753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 11754 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10);
aa2a5b86 11755
474c48f9 11756 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
11757 if (PyErr_Occurred()) return NULL;
11758} _resultobj = Py_BuildValue("i",_result);
9a74fcaf
RD
11759{
11760 if (_obj3)
11761 delete _arg3;
11762}
11763{
11764 if (_obj10)
11765 delete _arg10;
11766}
aa2a5b86
RD
11767 return _resultobj;
11768}
11769
c368d904
RD
11770#define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
11771static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11772 PyObject * _resultobj;
11773 int _result;
11774 wxSpinCtrl * _arg0;
11775 PyObject * _argo0 = 0;
11776 char *_kwnames[] = { "self", NULL };
11777
11778 self = self;
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
11780 return NULL;
11781 if (_argo0) {
11782 if (_argo0 == Py_None) { _arg0 = NULL; }
11783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11785 return NULL;
11786 }
11787 }
11788{
474c48f9 11789 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11790 _result = (int )wxSpinCtrl_GetMax(_arg0);
c368d904 11791
474c48f9 11792 wxPyEndAllowThreads(__tstate);
4dfaa61e 11793 if (PyErr_Occurred()) return NULL;
c368d904
RD
11794} _resultobj = Py_BuildValue("i",_result);
11795 return _resultobj;
11796}
11797
11798#define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11799static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11800 PyObject * _resultobj;
11801 int _result;
11802 wxSpinCtrl * _arg0;
11803 PyObject * _argo0 = 0;
11804 char *_kwnames[] = { "self", NULL };
11805
11806 self = self;
11807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
11808 return NULL;
11809 if (_argo0) {
11810 if (_argo0 == Py_None) { _arg0 = NULL; }
11811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11813 return NULL;
11814 }
11815 }
11816{
474c48f9 11817 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11818 _result = (int )wxSpinCtrl_GetMin(_arg0);
c368d904 11819
474c48f9 11820 wxPyEndAllowThreads(__tstate);
4dfaa61e 11821 if (PyErr_Occurred()) return NULL;
c368d904
RD
11822} _resultobj = Py_BuildValue("i",_result);
11823 return _resultobj;
11824}
11825
11826#define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11827static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject * _resultobj;
11829 int _result;
11830 wxSpinCtrl * _arg0;
11831 PyObject * _argo0 = 0;
11832 char *_kwnames[] = { "self", NULL };
11833
11834 self = self;
11835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
11836 return NULL;
11837 if (_argo0) {
11838 if (_argo0 == Py_None) { _arg0 = NULL; }
11839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11841 return NULL;
11842 }
11843 }
11844{
474c48f9 11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11846 _result = (int )wxSpinCtrl_GetValue(_arg0);
c368d904 11847
474c48f9 11848 wxPyEndAllowThreads(__tstate);
4dfaa61e 11849 if (PyErr_Occurred()) return NULL;
c368d904
RD
11850} _resultobj = Py_BuildValue("i",_result);
11851 return _resultobj;
11852}
11853
11854#define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11855static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11856 PyObject * _resultobj;
11857 wxSpinCtrl * _arg0;
11858 int _arg1;
11859 int _arg2;
11860 PyObject * _argo0 = 0;
11861 char *_kwnames[] = { "self","min","max", NULL };
11862
11863 self = self;
11864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
11865 return NULL;
11866 if (_argo0) {
11867 if (_argo0 == Py_None) { _arg0 = NULL; }
11868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11870 return NULL;
11871 }
11872 }
11873{
474c48f9 11874 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11875 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
c368d904 11876
474c48f9 11877 wxPyEndAllowThreads(__tstate);
4dfaa61e 11878 if (PyErr_Occurred()) return NULL;
c368d904
RD
11879} Py_INCREF(Py_None);
11880 _resultobj = Py_None;
11881 return _resultobj;
11882}
11883
11884#define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11885static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11886 PyObject * _resultobj;
11887 wxSpinCtrl * _arg0;
11888 int _arg1;
11889 PyObject * _argo0 = 0;
11890 char *_kwnames[] = { "self","value", NULL };
11891
11892 self = self;
11893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
11894 return NULL;
11895 if (_argo0) {
11896 if (_argo0 == Py_None) { _arg0 = NULL; }
11897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11899 return NULL;
11900 }
11901 }
11902{
474c48f9 11903 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 11904 wxSpinCtrl_SetValue(_arg0,_arg1);
c368d904 11905
474c48f9 11906 wxPyEndAllowThreads(__tstate);
4dfaa61e 11907 if (PyErr_Occurred()) return NULL;
c368d904
RD
11908} Py_INCREF(Py_None);
11909 _resultobj = Py_None;
11910 return _resultobj;
11911}
11912
1fded56b
RD
11913static void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to) {
11914 }
11915static PyObject *_wrap_wxSpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11916 PyObject * _resultobj;
11917 wxSpinCtrl * _arg0;
11918 long _arg1;
11919 long _arg2;
11920 PyObject * _argo0 = 0;
11921 char *_kwnames[] = { "self","from","to", NULL };
11922
11923 self = self;
11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxSpinCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11925 return NULL;
11926 if (_argo0) {
11927 if (_argo0 == Py_None) { _arg0 = NULL; }
11928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetSelection. Expected _wxSpinCtrl_p.");
11930 return NULL;
11931 }
11932 }
11933{
11934 PyThreadState* __tstate = wxPyBeginAllowThreads();
11935 wxSpinCtrl_SetSelection(_arg0,_arg1,_arg2);
11936
11937 wxPyEndAllowThreads(__tstate);
11938 if (PyErr_Occurred()) return NULL;
11939} Py_INCREF(Py_None);
11940 _resultobj = Py_None;
11941 return _resultobj;
11942}
11943
7a446686
RD
11944static void *SwigwxToggleButtonTowxControl(void *ptr) {
11945 wxToggleButton *src;
11946 wxControl *dest;
11947 src = (wxToggleButton *) ptr;
11948 dest = (wxControl *) src;
11949 return (void *) dest;
11950}
11951
11952static void *SwigwxToggleButtonTowxWindow(void *ptr) {
11953 wxToggleButton *src;
11954 wxWindow *dest;
11955 src = (wxToggleButton *) ptr;
11956 dest = (wxWindow *) src;
11957 return (void *) dest;
11958}
11959
11960static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
11961 wxToggleButton *src;
11962 wxEvtHandler *dest;
11963 src = (wxToggleButton *) ptr;
11964 dest = (wxEvtHandler *) src;
11965 return (void *) dest;
11966}
11967
9df61a29
RD
11968static void *SwigwxToggleButtonTowxObject(void *ptr) {
11969 wxToggleButton *src;
11970 wxObject *dest;
11971 src = (wxToggleButton *) ptr;
11972 dest = (wxObject *) src;
11973 return (void *) dest;
11974}
11975
7a446686
RD
11976#define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11977static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11978 PyObject * _resultobj;
11979 wxToggleButton * _result;
11980 wxWindow * _arg0;
11981 wxWindowID _arg1;
11982 wxString * _arg2;
11983 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
11984 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
11985 long _arg5 = (long ) 0;
11986 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 11987 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
7a446686
RD
11988 PyObject * _argo0 = 0;
11989 PyObject * _obj2 = 0;
11990 wxPoint temp;
11991 PyObject * _obj3 = 0;
11992 wxSize temp0;
11993 PyObject * _obj4 = 0;
11994 PyObject * _argo6 = 0;
9a74fcaf 11995 PyObject * _obj7 = 0;
7a446686
RD
11996 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
11997 char _ptemp[128];
11998
11999 self = self;
9a74fcaf 12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
7a446686
RD
12001 return NULL;
12002 if (_argo0) {
12003 if (_argo0 == Py_None) { _arg0 = NULL; }
12004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
12005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
12006 return NULL;
12007 }
12008 }
12009{
c8bc7bb8
RD
12010 _arg2 = wxString_in_helper(_obj2);
12011 if (_arg2 == NULL)
7a446686 12012 return NULL;
7a446686
RD
12013}
12014 if (_obj3)
12015{
12016 _arg3 = &temp;
12017 if (! wxPoint_helper(_obj3, &_arg3))
12018 return NULL;
12019}
12020 if (_obj4)
12021{
12022 _arg4 = &temp0;
12023 if (! wxSize_helper(_obj4, &_arg4))
12024 return NULL;
12025}
12026 if (_argo6) {
b67a9327 12027 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
7a446686
RD
12028 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
12029 return NULL;
12030 }
12031 }
9a74fcaf
RD
12032 if (_obj7)
12033{
12034 _arg7 = wxString_in_helper(_obj7);
12035 if (_arg7 == NULL)
12036 return NULL;
12037}
7a446686 12038{
474c48f9 12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 12040 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
7a446686 12041
474c48f9 12042 wxPyEndAllowThreads(__tstate);
4dfaa61e 12043 if (PyErr_Occurred()) return NULL;
7a446686
RD
12044} if (_result) {
12045 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
12046 _resultobj = Py_BuildValue("s",_ptemp);
12047 } else {
12048 Py_INCREF(Py_None);
12049 _resultobj = Py_None;
12050 }
12051{
12052 if (_obj2)
12053 delete _arg2;
9a74fcaf
RD
12054}
12055{
12056 if (_obj7)
12057 delete _arg7;
7a446686
RD
12058}
12059 return _resultobj;
12060}
12061
aa2a5b86
RD
12062#define new_wxPreToggleButton() (new wxToggleButton())
12063static PyObject *_wrap_new_wxPreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12064 PyObject * _resultobj;
12065 wxToggleButton * _result;
12066 char *_kwnames[] = { NULL };
12067 char _ptemp[128];
12068
12069 self = self;
12070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToggleButton",_kwnames))
12071 return NULL;
12072{
474c48f9 12073 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12074 _result = (wxToggleButton *)new_wxPreToggleButton();
aa2a5b86 12075
474c48f9 12076 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
12077 if (PyErr_Occurred()) return NULL;
12078} if (_result) {
12079 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
12080 _resultobj = Py_BuildValue("s",_ptemp);
12081 } else {
12082 Py_INCREF(Py_None);
12083 _resultobj = Py_None;
12084 }
12085 return _resultobj;
12086}
12087
12088#define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
12089static PyObject *_wrap_wxToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12090 PyObject * _resultobj;
12091 bool _result;
12092 wxToggleButton * _arg0;
12093 wxWindow * _arg1;
12094 wxWindowID _arg2;
12095 wxString * _arg3;
12096 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
12097 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
12098 long _arg6 = (long ) 0;
12099 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9a74fcaf 12100 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
aa2a5b86
RD
12101 PyObject * _argo0 = 0;
12102 PyObject * _argo1 = 0;
12103 PyObject * _obj3 = 0;
12104 wxPoint temp;
12105 PyObject * _obj4 = 0;
12106 wxSize temp0;
12107 PyObject * _obj5 = 0;
12108 PyObject * _argo7 = 0;
9a74fcaf 12109 PyObject * _obj8 = 0;
aa2a5b86
RD
12110 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
12111
12112 self = self;
9a74fcaf 12113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxToggleButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
aa2a5b86
RD
12114 return NULL;
12115 if (_argo0) {
12116 if (_argo0 == Py_None) { _arg0 = NULL; }
12117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
12119 return NULL;
12120 }
12121 }
12122 if (_argo1) {
12123 if (_argo1 == Py_None) { _arg1 = NULL; }
12124 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
12125 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
12126 return NULL;
12127 }
12128 }
12129{
c8bc7bb8
RD
12130 _arg3 = wxString_in_helper(_obj3);
12131 if (_arg3 == NULL)
aa2a5b86 12132 return NULL;
aa2a5b86
RD
12133}
12134 if (_obj4)
12135{
12136 _arg4 = &temp;
12137 if (! wxPoint_helper(_obj4, &_arg4))
12138 return NULL;
12139}
12140 if (_obj5)
12141{
12142 _arg5 = &temp0;
12143 if (! wxSize_helper(_obj5, &_arg5))
12144 return NULL;
12145}
12146 if (_argo7) {
b67a9327 12147 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
aa2a5b86
RD
12148 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
12149 return NULL;
12150 }
12151 }
9a74fcaf
RD
12152 if (_obj8)
12153{
12154 _arg8 = wxString_in_helper(_obj8);
12155 if (_arg8 == NULL)
12156 return NULL;
12157}
aa2a5b86 12158{
474c48f9 12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9a74fcaf 12160 _result = (bool )wxToggleButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
aa2a5b86 12161
474c48f9 12162 wxPyEndAllowThreads(__tstate);
aa2a5b86
RD
12163 if (PyErr_Occurred()) return NULL;
12164} _resultobj = Py_BuildValue("i",_result);
12165{
12166 if (_obj3)
12167 delete _arg3;
9a74fcaf
RD
12168}
12169{
12170 if (_obj8)
12171 delete _arg8;
aa2a5b86
RD
12172}
12173 return _resultobj;
12174}
12175
7a446686
RD
12176#define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
12177static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12178 PyObject * _resultobj;
12179 wxToggleButton * _arg0;
12180 bool _arg1;
12181 PyObject * _argo0 = 0;
12182 int tempbool1;
12183 char *_kwnames[] = { "self","value", NULL };
12184
12185 self = self;
12186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
12187 return NULL;
12188 if (_argo0) {
12189 if (_argo0 == Py_None) { _arg0 = NULL; }
12190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
12192 return NULL;
12193 }
12194 }
12195 _arg1 = (bool ) tempbool1;
12196{
474c48f9 12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12198 wxToggleButton_SetValue(_arg0,_arg1);
7a446686 12199
474c48f9 12200 wxPyEndAllowThreads(__tstate);
4dfaa61e 12201 if (PyErr_Occurred()) return NULL;
7a446686
RD
12202} Py_INCREF(Py_None);
12203 _resultobj = Py_None;
12204 return _resultobj;
12205}
12206
12207#define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
12208static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12209 PyObject * _resultobj;
12210 bool _result;
12211 wxToggleButton * _arg0;
12212 PyObject * _argo0 = 0;
12213 char *_kwnames[] = { "self", NULL };
12214
12215 self = self;
12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
12217 return NULL;
12218 if (_argo0) {
12219 if (_argo0 == Py_None) { _arg0 = NULL; }
12220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
12222 return NULL;
12223 }
12224 }
12225{
474c48f9 12226 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12227 _result = (bool )wxToggleButton_GetValue(_arg0);
7a446686 12228
474c48f9 12229 wxPyEndAllowThreads(__tstate);
4dfaa61e 12230 if (PyErr_Occurred()) return NULL;
7a446686
RD
12231} _resultobj = Py_BuildValue("i",_result);
12232 return _resultobj;
12233}
12234
12235#define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
12236static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12237 PyObject * _resultobj;
12238 wxToggleButton * _arg0;
12239 wxString * _arg1;
12240 PyObject * _argo0 = 0;
12241 PyObject * _obj1 = 0;
12242 char *_kwnames[] = { "self","label", NULL };
12243
12244 self = self;
12245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
12246 return NULL;
12247 if (_argo0) {
12248 if (_argo0 == Py_None) { _arg0 = NULL; }
12249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
12251 return NULL;
12252 }
12253 }
12254{
c8bc7bb8
RD
12255 _arg1 = wxString_in_helper(_obj1);
12256 if (_arg1 == NULL)
7a446686 12257 return NULL;
7a446686
RD
12258}
12259{
474c48f9 12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
c8bc7bb8 12261 wxToggleButton_SetLabel(_arg0,*_arg1);
7a446686 12262
474c48f9 12263 wxPyEndAllowThreads(__tstate);
4dfaa61e 12264 if (PyErr_Occurred()) return NULL;
7a446686
RD
12265} Py_INCREF(Py_None);
12266 _resultobj = Py_None;
12267{
12268 if (_obj1)
12269 delete _arg1;
12270}
12271 return _resultobj;
12272}
12273
70551f47 12274static PyMethodDef controlscMethods[] = {
7a446686
RD
12275 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
12276 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12277 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12278 { "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
12279 { "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
7a446686 12280 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
1fded56b 12281 { "wxSpinCtrl_SetSelection", (PyCFunction) _wrap_wxSpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
c368d904
RD
12282 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
12283 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
12284 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
12285 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
12286 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12287 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12288 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 12289 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12290 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
12291 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
12292 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
12293 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
12294 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
12295 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
12296 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
12297 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
12298 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
12299 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
12300 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
12301 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
12302 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
12303 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
12304 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
12305 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
12306 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
12307 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
12308 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12309 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
12310 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12311 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
12312 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12313 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12314 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
12315 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12316 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
12317 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
12318 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
12319 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12320 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
2c8a649d 12321 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
107e4716 12322 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
107e4716 12323 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
b67a9327 12324 { "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
2c8a649d 12325 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12326 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
12327 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
12328 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12329 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
12330 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12331 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
12332 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
12333 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12334 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12335 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
12336 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12337 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
12338 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12339 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
12340 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12341 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
12342 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12343 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
12344 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12345 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
12346 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
12347 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
6e8a778a 12348 { "wxScrollBar_IsVertical", (PyCFunction) _wrap_wxScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
2fc99549 12349 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12350 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
12351 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
12352 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
12353 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12354 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
12355 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
107e4716 12356 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
7a9b33db 12357 { "wxTextCtrl_GetString", (PyCFunction) _wrap_wxTextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
4120ef2b 12358 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
d99400b2
RD
12359 { "wxTextCtrl_IsMultiLine", (PyCFunction) _wrap_wxTextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
12360 { "wxTextCtrl_IsSingleLine", (PyCFunction) _wrap_wxTextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12361 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
12362 { "wxTextCtrl_SelectAll", (PyCFunction) _wrap_wxTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
12363 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
12364 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
12365 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12366 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
12367 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12368 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
12369 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
4120ef2b
RD
12370 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
12371 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12372 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
12373 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
12374 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12375 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
12376 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
12377 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
12378 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
12379 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
107e4716 12380 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
3ef86e32 12381 { "wxTextCtrl_GetStyle", (PyCFunction) _wrap_wxTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12382 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
12383 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
12384 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
87439dd8 12385 { "wxTextCtrl_EmulateKeyPress", (PyCFunction) _wrap_wxTextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12386 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
12387 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12388 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
12389 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
107e4716 12390 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
107e4716 12391 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12392 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
12393 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
12394 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
93283355 12395 { "wxTextCtrl_GetStringSelection", (PyCFunction) _wrap_wxTextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12396 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
12397 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
107e4716 12398 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12399 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
12400 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
12401 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
db34b2d4 12402 { "wxTextCtrl_GetRange", (PyCFunction) _wrap_wxTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
a57d56d6
RD
12403 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
12404 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12405 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12406 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
107e4716 12407 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
7a9b33db 12408 { "wxTextAttr_Combine", (PyCFunction) _wrap_wxTextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
a57d56d6 12409 { "wxTextAttr_IsDefault", (PyCFunction) _wrap_wxTextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
3ef86e32
RD
12410 { "wxTextAttr_GetFlags", (PyCFunction) _wrap_wxTextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
12411 { "wxTextAttr_GetRightIndent", (PyCFunction) _wrap_wxTextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
12412 { "wxTextAttr_GetLeftIndent", (PyCFunction) _wrap_wxTextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
12413 { "wxTextAttr_GetTabs", (PyCFunction) _wrap_wxTextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
12414 { "wxTextAttr_GetAlignment", (PyCFunction) _wrap_wxTextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
12415 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
12416 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12417 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
3ef86e32
RD
12418 { "wxTextAttr_HasFlag", (PyCFunction) _wrap_wxTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
12419 { "wxTextAttr_HasRightIndent", (PyCFunction) _wrap_wxTextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
12420 { "wxTextAttr_HasLeftIndent", (PyCFunction) _wrap_wxTextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
12421 { "wxTextAttr_HasTabs", (PyCFunction) _wrap_wxTextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
12422 { "wxTextAttr_HasAlignment", (PyCFunction) _wrap_wxTextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
12423 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
12424 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12425 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
3ef86e32
RD
12426 { "wxTextAttr_SetFlags", (PyCFunction) _wrap_wxTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
12427 { "wxTextAttr_SetRightIndent", (PyCFunction) _wrap_wxTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
12428 { "wxTextAttr_SetLeftIndent", (PyCFunction) _wrap_wxTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
12429 { "wxTextAttr_SetTabs", (PyCFunction) _wrap_wxTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
12430 { "wxTextAttr_SetAlignment", (PyCFunction) _wrap_wxTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
12431 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
12432 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12433 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
3ef86e32 12434 { "wxTextAttr_Init", (PyCFunction) _wrap_wxTextAttr_Init, METH_VARARGS | METH_KEYWORDS },
9d6da64a
RD
12435 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
12436 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
c81fd4b9
RD
12437 { "wxCheckListBox_HitTestXY", (PyCFunction) _wrap_wxCheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
12438 { "wxCheckListBox_HitTest", (PyCFunction) _wrap_wxCheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
107e4716 12439 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
d29aba2f 12440 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12441 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
12442 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12443 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
12444 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12445 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
12446 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12447 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
12448 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12449 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
12450 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
12451 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
12452 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
2c8a649d 12453 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
37f6a977 12454 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
107e4716 12455 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
107e4716 12456 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
107e4716 12457 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12458 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
12459 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12460 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
12461 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
12462 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12463 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
12464 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
107e4716 12465 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12466 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
12467 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
107e4716 12468 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12469 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
12470 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12471 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
12472 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
12473 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
12474 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
12475 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
12476 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
12477 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
12478 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
12479 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12480 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
12481 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
107e4716 12482 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
c70fd24f
RD
12483 { "wxComboBox_SetClientData", (PyCFunction) _wrap_wxComboBox_SetClientData, METH_VARARGS | METH_KEYWORDS },
12484 { "wxComboBox_GetClientData", (PyCFunction) _wrap_wxComboBox_GetClientData, METH_VARARGS | METH_KEYWORDS },
12485 { "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS },
12486 { "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12487 { "wxComboBox_GetSelection", (PyCFunction) _wrap_wxComboBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
12488 { "wxComboBox_FindString", (PyCFunction) _wrap_wxComboBox_FindString, METH_VARARGS | METH_KEYWORDS },
12489 { "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS },
12490 { "wxComboBox_GetCount", (PyCFunction) _wrap_wxComboBox_GetCount, METH_VARARGS | METH_KEYWORDS },
12491 { "wxComboBox_Delete", (PyCFunction) _wrap_wxComboBox_Delete, METH_VARARGS | METH_KEYWORDS },
12492 { "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS },
2c8a649d 12493 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12494 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
12495 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
12496 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12497 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
12498 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12499 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
12500 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
12501 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
107e4716 12502 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12503 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
12504 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12505 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
12506 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12507 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
12508 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
107e4716 12509 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
2c8a649d 12510 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12511 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12512 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
12513 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
107e4716 12514 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
107e4716 12515 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12516 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
12517 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12518 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
12519 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
b67a9327 12520 { "wxCheckBox_IsChecked", (PyCFunction) _wrap_wxCheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
107e4716 12521 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12522 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
12523 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
107e4716 12524 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
12525 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
12526 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
12527 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12528 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
12529 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
12530 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
12531 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
12532 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
12533 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
12534 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
12535 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12536 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
12537 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
107e4716 12538 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
aa2a5b86 12539 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
ab2208b5
RD
12540 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12541 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
107e4716 12542 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12543 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
12544 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
107e4716 12545 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
85247b36 12546 { "wxControlWithItems_AppendItems", (PyCFunction) _wrap_wxControlWithItems_AppendItems, METH_VARARGS | METH_KEYWORDS },
65191ae8
RD
12547 { "wxControlWithItems_SetClientData", (PyCFunction) _wrap_wxControlWithItems_SetClientData, METH_VARARGS | METH_KEYWORDS },
12548 { "wxControlWithItems_GetClientData", (PyCFunction) _wrap_wxControlWithItems_GetClientData, METH_VARARGS | METH_KEYWORDS },
12549 { "wxControlWithItems_Append", (PyCFunction) _wrap_wxControlWithItems_Append, METH_VARARGS | METH_KEYWORDS },
12550 { "wxControlWithItems_GetStringSelection", (PyCFunction) _wrap_wxControlWithItems_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12551 { "wxControlWithItems_GetSelection", (PyCFunction) _wrap_wxControlWithItems_GetSelection, METH_VARARGS | METH_KEYWORDS },
12552 { "wxControlWithItems_Select", (PyCFunction) _wrap_wxControlWithItems_Select, METH_VARARGS | METH_KEYWORDS },
12553 { "wxControlWithItems_FindString", (PyCFunction) _wrap_wxControlWithItems_FindString, METH_VARARGS | METH_KEYWORDS },
12554 { "wxControlWithItems_SetString", (PyCFunction) _wrap_wxControlWithItems_SetString, METH_VARARGS | METH_KEYWORDS },
12555 { "wxControlWithItems_GetString", (PyCFunction) _wrap_wxControlWithItems_GetString, METH_VARARGS | METH_KEYWORDS },
12556 { "wxControlWithItems_GetCount", (PyCFunction) _wrap_wxControlWithItems_GetCount, METH_VARARGS | METH_KEYWORDS },
12557 { "wxControlWithItems_Delete", (PyCFunction) _wrap_wxControlWithItems_Delete, METH_VARARGS | METH_KEYWORDS },
107e4716
RD
12558 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
12559 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
56f5d962 12560 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
aa2a5b86
RD
12561 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
12562 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
56f5d962 12563 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
70551f47
RD
12564 { NULL, NULL }
12565};
2d091820
RD
12566#ifdef __cplusplus
12567}
12568#endif
12569/*
12570 * This table is used by the pointer type-checker
12571 */
12572static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
2d091820 12573 { "_signed_long","_long",0},
4120ef2b 12574 { "_wxPrintQuality","_wxCoord",0},
2d091820
RD
12575 { "_wxPrintQuality","_int",0},
12576 { "_wxPrintQuality","_signed_int",0},
12577 { "_wxPrintQuality","_unsigned_int",0},
12578 { "_wxPrintQuality","_wxWindowID",0},
12579 { "_wxPrintQuality","_uint",0},
12580 { "_wxPrintQuality","_EBool",0},
12581 { "_wxPrintQuality","_size_t",0},
c368d904 12582 { "_wxPrintQuality","_time_t",0},
2d091820 12583 { "_byte","_unsigned_char",0},
2d091820
RD
12584 { "_long","_unsigned_long",0},
12585 { "_long","_signed_long",0},
4120ef2b 12586 { "_size_t","_wxCoord",0},
2d091820 12587 { "_size_t","_wxPrintQuality",0},
c368d904 12588 { "_size_t","_time_t",0},
2d091820
RD
12589 { "_size_t","_unsigned_int",0},
12590 { "_size_t","_int",0},
12591 { "_size_t","_wxWindowID",0},
12592 { "_size_t","_uint",0},
4120ef2b 12593 { "_uint","_wxCoord",0},
2d091820 12594 { "_uint","_wxPrintQuality",0},
c368d904 12595 { "_uint","_time_t",0},
2d091820
RD
12596 { "_uint","_size_t",0},
12597 { "_uint","_unsigned_int",0},
12598 { "_uint","_int",0},
12599 { "_uint","_wxWindowID",0},
f6bcfd97 12600 { "_wxChar","_char",0},
f6bcfd97 12601 { "_char","_wxChar",0},
f6bcfd97 12602 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
059a841c 12603 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
4120ef2b 12604 { "_EBool","_wxCoord",0},
2d091820
RD
12605 { "_EBool","_wxPrintQuality",0},
12606 { "_EBool","_signed_int",0},
12607 { "_EBool","_int",0},
12608 { "_EBool","_wxWindowID",0},
2d091820 12609 { "_unsigned_long","_long",0},
059a841c 12610 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
4120ef2b 12611 { "_signed_int","_wxCoord",0},
2d091820
RD
12612 { "_signed_int","_wxPrintQuality",0},
12613 { "_signed_int","_EBool",0},
12614 { "_signed_int","_wxWindowID",0},
12615 { "_signed_int","_int",0},
2d091820 12616 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
2d091820
RD
12617 { "_WXTYPE","_short",0},
12618 { "_WXTYPE","_signed_short",0},
12619 { "_WXTYPE","_unsigned_short",0},
2d091820
RD
12620 { "_unsigned_short","_WXTYPE",0},
12621 { "_unsigned_short","_short",0},
9df61a29 12622 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
9df61a29 12623 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
9df61a29 12624 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
9df61a29 12625 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
9df61a29 12626 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
9df61a29 12627 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
9df61a29 12628 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
9df61a29 12629 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
9df61a29 12630 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
9df61a29 12631 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
9df61a29 12632 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
9df61a29 12633 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
9df61a29 12634 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
9df61a29 12635 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
9df61a29 12636 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
9df61a29 12637 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
9df61a29 12638 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
9df61a29 12639 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
9df61a29 12640 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
9df61a29 12641 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
65191ae8 12642 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
9df61a29 12643 { "_wxObject","_wxControl",SwigwxControlTowxObject},
2d091820
RD
12644 { "_signed_short","_WXTYPE",0},
12645 { "_signed_short","_short",0},
2d091820 12646 { "_unsigned_char","_byte",0},
7a446686 12647 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
f6bcfd97 12648 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
2d091820 12649 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
2d091820 12650 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
2d091820 12651 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
2d091820 12652 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
2d091820 12653 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
2d091820 12654 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
2d091820 12655 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
2d091820 12656 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
2d091820 12657 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
2d091820 12658 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
2d091820 12659 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
2d091820 12660 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
2d091820 12661 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
2d091820 12662 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
2d091820 12663 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
2d091820 12664 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
2d091820 12665 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
2d091820 12666 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
65191ae8 12667 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
4120ef2b 12668 { "_unsigned_int","_wxCoord",0},
2d091820 12669 { "_unsigned_int","_wxPrintQuality",0},
c368d904 12670 { "_unsigned_int","_time_t",0},
2d091820
RD
12671 { "_unsigned_int","_size_t",0},
12672 { "_unsigned_int","_uint",0},
12673 { "_unsigned_int","_wxWindowID",0},
12674 { "_unsigned_int","_int",0},
2d091820
RD
12675 { "_short","_WXTYPE",0},
12676 { "_short","_unsigned_short",0},
12677 { "_short","_signed_short",0},
65191ae8 12678 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
65191ae8 12679 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
65191ae8 12680 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
4120ef2b 12681 { "_wxWindowID","_wxCoord",0},
2d091820 12682 { "_wxWindowID","_wxPrintQuality",0},
c368d904 12683 { "_wxWindowID","_time_t",0},
2d091820
RD
12684 { "_wxWindowID","_size_t",0},
12685 { "_wxWindowID","_EBool",0},
12686 { "_wxWindowID","_uint",0},
12687 { "_wxWindowID","_int",0},
12688 { "_wxWindowID","_signed_int",0},
12689 { "_wxWindowID","_unsigned_int",0},
4120ef2b 12690 { "_int","_wxCoord",0},
2d091820 12691 { "_int","_wxPrintQuality",0},
c368d904 12692 { "_int","_time_t",0},
2d091820
RD
12693 { "_int","_size_t",0},
12694 { "_int","_EBool",0},
12695 { "_int","_uint",0},
12696 { "_int","_wxWindowID",0},
12697 { "_int","_unsigned_int",0},
12698 { "_int","_signed_int",0},
c368d904
RD
12699 { "_time_t","_wxCoord",0},
12700 { "_time_t","_wxPrintQuality",0},
12701 { "_time_t","_unsigned_int",0},
12702 { "_time_t","_int",0},
12703 { "_time_t","_wxWindowID",0},
12704 { "_time_t","_uint",0},
12705 { "_time_t","_size_t",0},
2d091820 12706 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
4120ef2b
RD
12707 { "_wxCoord","_int",0},
12708 { "_wxCoord","_signed_int",0},
12709 { "_wxCoord","_unsigned_int",0},
12710 { "_wxCoord","_wxWindowID",0},
12711 { "_wxCoord","_uint",0},
12712 { "_wxCoord","_EBool",0},
12713 { "_wxCoord","_size_t",0},
c368d904 12714 { "_wxCoord","_time_t",0},
4120ef2b 12715 { "_wxCoord","_wxPrintQuality",0},
7a446686 12716 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
f6bcfd97 12717 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
2d091820 12718 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
2d091820 12719 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
2d091820 12720 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
2d091820 12721 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
2d091820 12722 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
2d091820 12723 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
2d091820 12724 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
2d091820 12725 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
2d091820 12726 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
2d091820 12727 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
2d091820 12728 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
2d091820 12729 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
2d091820 12730 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
2d091820 12731 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
2d091820 12732 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
2d091820 12733 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
2d091820 12734 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
2d091820 12735 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
65191ae8 12736 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
2d091820 12737 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
7a446686 12738 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
f6bcfd97 12739 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
2d091820 12740 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
2d091820 12741 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
2d091820 12742 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
2d091820 12743 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
2d091820 12744 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
2d091820 12745 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
2d091820 12746 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
2d091820 12747 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
2d091820 12748 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
2d091820 12749 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
2d091820 12750 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
2d091820 12751 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
2d091820 12752 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
2d091820 12753 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
2d091820 12754 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
2d091820 12755 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
2d091820 12756 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
2d091820 12757 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
65191ae8 12758 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
2d091820 12759 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
2d091820
RD
12760{0,0,0}};
12761
70551f47
RD
12762static PyObject *SWIG_globals;
12763#ifdef __cplusplus
12764extern "C"
12765#endif
2d091820 12766SWIGEXPORT(void) initcontrolsc() {
70551f47
RD
12767 PyObject *m, *d;
12768 SWIG_globals = SWIG_newvarlink();
12769 m = Py_InitModule("controlsc", controlscMethods);
12770 d = PyModule_GetDict(m);
37f6a977
RD
12771 PyDict_SetItemString(d,"cvar", SWIG_globals);
12772 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
3ef86e32
RD
12773 PyDict_SetItemString(d,"wxTE_NO_VSCROLL", PyInt_FromLong((long) wxTE_NO_VSCROLL));
12774 PyDict_SetItemString(d,"wxTE_AUTO_SCROLL", PyInt_FromLong((long) wxTE_AUTO_SCROLL));
12775 PyDict_SetItemString(d,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY));
12776 PyDict_SetItemString(d,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE));
12777 PyDict_SetItemString(d,"wxTE_PROCESS_TAB", PyInt_FromLong((long) wxTE_PROCESS_TAB));
12778 PyDict_SetItemString(d,"wxTE_LEFT", PyInt_FromLong((long) wxTE_LEFT));
12779 PyDict_SetItemString(d,"wxTE_CENTER", PyInt_FromLong((long) wxTE_CENTER));
12780 PyDict_SetItemString(d,"wxTE_RIGHT", PyInt_FromLong((long) wxTE_RIGHT));
12781 PyDict_SetItemString(d,"wxTE_CENTRE", PyInt_FromLong((long) wxTE_CENTRE));
12782 PyDict_SetItemString(d,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH));
12783 PyDict_SetItemString(d,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER));
12784 PyDict_SetItemString(d,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD));
12785 PyDict_SetItemString(d,"wxTE_AUTO_URL", PyInt_FromLong((long) wxTE_AUTO_URL));
12786 PyDict_SetItemString(d,"wxTE_NOHIDESEL", PyInt_FromLong((long) wxTE_NOHIDESEL));
12787 PyDict_SetItemString(d,"wxTE_DONTWRAP", PyInt_FromLong((long) wxTE_DONTWRAP));
12788 PyDict_SetItemString(d,"wxTE_LINEWRAP", PyInt_FromLong((long) wxTE_LINEWRAP));
12789 PyDict_SetItemString(d,"wxTE_WORDWRAP", PyInt_FromLong((long) wxTE_WORDWRAP));
12790 PyDict_SetItemString(d,"wxTE_RICH2", PyInt_FromLong((long) wxTE_RICH2));
12791 PyDict_SetItemString(d,"wxTEXT_ATTR_TEXT_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_TEXT_COLOUR));
12792 PyDict_SetItemString(d,"wxTEXT_ATTR_BACKGROUND_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_BACKGROUND_COLOUR));
12793 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_FACE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_FACE));
12794 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_SIZE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_SIZE));
12795 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_WEIGHT", PyInt_FromLong((long) wxTEXT_ATTR_FONT_WEIGHT));
12796 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_ITALIC", PyInt_FromLong((long) wxTEXT_ATTR_FONT_ITALIC));
12797 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_UNDERLINE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_UNDERLINE));
12798 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT", PyInt_FromLong((long) wxTEXT_ATTR_FONT));
12799 PyDict_SetItemString(d,"wxTEXT_ATTR_ALIGNMENT", PyInt_FromLong((long) wxTEXT_ATTR_ALIGNMENT));
12800 PyDict_SetItemString(d,"wxTEXT_ATTR_LEFT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_LEFT_INDENT));
12801 PyDict_SetItemString(d,"wxTEXT_ATTR_RIGHT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_RIGHT_INDENT));
12802 PyDict_SetItemString(d,"wxTEXT_ATTR_TABS", PyInt_FromLong((long) wxTEXT_ATTR_TABS));
12803 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_DEFAULT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_DEFAULT));
12804 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_LEFT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_LEFT));
12805 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_CENTRE", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTRE));
12806 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_CENTER", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTER));
12807 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_RIGHT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_RIGHT));
12808 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_JUSTIFIED", PyInt_FromLong((long) wxTEXT_ALIGNMENT_JUSTIFIED));
7a446686 12809 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
2d091820
RD
12810{
12811 int i;
12812 for (i = 0; _swig_mapping[i].n1; i++)
12813 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12814}
70551f47 12815}