]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/controls.cpp
added functions to read/write several elements at once (patch 754986)
[wxWidgets.git] / wxPython / src / mac / controls.cpp
CommitLineData
e6056257
RD
1/*
2 * FILE : src/mac/controls.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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
7108497a
RD
22#include "Python.h"
23
e6056257
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
29# define SWIGEXPORT(a) __declspec(dllexport) a
30# else
31# if defined(__BORLANDC__)
32# define SWIGEXPORT(a) a _export
33# else
34# define SWIGEXPORT(a) a
35# endif
36# endif
37#else
38# define SWIGEXPORT(a) a
39#endif
40
e6056257
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
e6056257
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
53#define SWIG_init initcontrolsc
54
55#define SWIG_name "controlsc"
56
57#include "helpers.h"
58#include <wx/slider.h>
59#include <wx/spinbutt.h>
60#include <wx/spinctrl.h>
61#include <wx/dynarray.h>
62#include <wx/statline.h>
63#include <wx/tglbtn.h>
64
65#ifdef __WXMSW__
66#if wxUSE_OWNER_DRAWN
67#include <wx/checklst.h>
68#endif
69#endif
70
71#ifdef __WXGTK__
72#include <wx/checklst.h>
73#endif
74
75
e6056257
RD
76static PyObject* t_output_helper(PyObject* target, PyObject* o) {
77 PyObject* o2;
78 PyObject* o3;
79
80 if (!target) {
81 target = o;
82 } else if (target == Py_None) {
83 Py_DECREF(Py_None);
84 target = o;
85 } else {
86 if (!PyTuple_Check(target)) {
87 o2 = target;
88 target = PyTuple_New(1);
89 PyTuple_SetItem(target, 0, o2);
90 }
91 o3 = PyTuple_New(1);
92 PyTuple_SetItem(o3, 0, o);
93
94 o2 = target;
95 target = PySequence_Concat(o2, o3);
96 Py_DECREF(o2);
97 Py_DECREF(o3);
98 }
99 return target;
100}
c3bfa1cb
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(""));
e6056257
RD
126#ifdef __cplusplus
127extern "C" {
128#endif
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
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
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
168#define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
169static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
170 PyObject * _resultobj;
171 wxControl * _result;
172 wxWindow * _arg0;
173 wxWindowID _arg1;
174 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
175 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
176 long _arg4 = (long ) 0;
177 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 178 wxString * _arg6 = (wxString *) &wxPyControlNameStr;
e6056257
RD
179 PyObject * _argo0 = 0;
180 wxPoint temp;
181 PyObject * _obj2 = 0;
182 wxSize temp0;
183 PyObject * _obj3 = 0;
184 PyObject * _argo5 = 0;
c3bfa1cb 185 PyObject * _obj6 = 0;
e6056257
RD
186 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
187 char _ptemp[128];
188
189 self = self;
c3bfa1cb 190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
e6056257
RD
191 return NULL;
192 if (_argo0) {
193 if (_argo0 == Py_None) { _arg0 = NULL; }
194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
196 return NULL;
197 }
198 }
199 if (_obj2)
200{
201 _arg2 = &temp;
202 if (! wxPoint_helper(_obj2, &_arg2))
203 return NULL;
204}
205 if (_obj3)
206{
207 _arg3 = &temp0;
208 if (! wxSize_helper(_obj3, &_arg3))
209 return NULL;
210}
211 if (_argo5) {
7108497a 212 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
e6056257
RD
213 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
214 return NULL;
215 }
216 }
c3bfa1cb
RD
217 if (_obj6)
218{
219 _arg6 = wxString_in_helper(_obj6);
220 if (_arg6 == NULL)
221 return NULL;
222}
e6056257 223{
0e2ff151 224 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 225 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
e6056257 226
0e2ff151 227 wxPyEndAllowThreads(__tstate);
e6056257
RD
228 if (PyErr_Occurred()) return NULL;
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 }
c3bfa1cb
RD
236{
237 if (_obj6)
238 delete _arg6;
239}
e6056257
RD
240 return _resultobj;
241}
242
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{
0e2ff151 254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 255 _result = (wxControl *)new_wxPreControl();
e6056257 256
0e2ff151 257 wxPyEndAllowThreads(__tstate);
e6056257
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;
c3bfa1cb 280 wxString * _arg7 = (wxString *) &wxPyControlNameStr;
e6056257
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;
c3bfa1cb 288 PyObject * _obj7 = 0;
e6056257
RD
289 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
290
291 self = self;
c3bfa1cb 292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOO:wxControl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
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) {
7108497a 321 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
322 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
323 return NULL;
324 }
325 }
c3bfa1cb
RD
326 if (_obj7)
327{
328 _arg7 = wxString_in_helper(_obj7);
329 if (_arg7 == NULL)
330 return NULL;
331}
e6056257 332{
0e2ff151 333 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 334 _result = (bool )wxControl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 335
0e2ff151 336 wxPyEndAllowThreads(__tstate);
e6056257
RD
337 if (PyErr_Occurred()) return NULL;
338} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
339{
340 if (_obj7)
341 delete _arg7;
342}
e6056257
RD
343 return _resultobj;
344}
345
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) {
7108497a 366 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
e6056257
RD
367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
368 return NULL;
369 }
370 }
371{
0e2ff151 372 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 373 wxControl_Command(_arg0,*_arg1);
e6056257 374
0e2ff151 375 wxPyEndAllowThreads(__tstate);
e6056257
RD
376 if (PyErr_Occurred()) return NULL;
377} Py_INCREF(Py_None);
378 _resultobj = Py_None;
379 return _resultobj;
380}
381
382#define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
383static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
384 PyObject * _resultobj;
385 wxString * _result;
386 wxControl * _arg0;
387 PyObject * _argo0 = 0;
388 char *_kwnames[] = { "self", NULL };
389
390 self = self;
391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
392 return NULL;
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
397 return NULL;
398 }
399 }
400{
0e2ff151 401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 402 _result = new wxString (wxControl_GetLabel(_arg0));
e6056257 403
0e2ff151 404 wxPyEndAllowThreads(__tstate);
e6056257
RD
405 if (PyErr_Occurred()) return NULL;
406}{
6824d4f9 407#if wxUSE_UNICODE
7108497a 408 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 409#else
e6056257 410 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 411#endif
e6056257
RD
412}
413{
414 delete _result;
415}
416 return _resultobj;
417}
418
419#define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
420static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
421 PyObject * _resultobj;
422 wxControl * _arg0;
423 wxString * _arg1;
424 PyObject * _argo0 = 0;
425 PyObject * _obj1 = 0;
426 char *_kwnames[] = { "self","label", NULL };
427
428 self = self;
429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
430 return NULL;
431 if (_argo0) {
432 if (_argo0 == Py_None) { _arg0 = NULL; }
433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
435 return NULL;
436 }
437 }
438{
6824d4f9
RD
439 _arg1 = wxString_in_helper(_obj1);
440 if (_arg1 == NULL)
e6056257 441 return NULL;
e6056257
RD
442}
443{
0e2ff151 444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 445 wxControl_SetLabel(_arg0,*_arg1);
e6056257 446
0e2ff151 447 wxPyEndAllowThreads(__tstate);
e6056257
RD
448 if (PyErr_Occurred()) return NULL;
449} Py_INCREF(Py_None);
450 _resultobj = Py_None;
451{
452 if (_obj1)
453 delete _arg1;
454}
455 return _resultobj;
456}
457
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{
0e2ff151 509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 510 wxControlWithItems_Delete(_arg0,_arg1);
e6056257 511
0e2ff151 512 wxPyEndAllowThreads(__tstate);
e6056257
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{
0e2ff151 538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 539 _result = (int )wxControlWithItems_GetCount(_arg0);
e6056257 540
0e2ff151 541 wxPyEndAllowThreads(__tstate);
e6056257
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{
0e2ff151 567 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 568 _result = new wxString (wxControlWithItems_GetString(_arg0,_arg1));
e6056257 569
0e2ff151 570 wxPyEndAllowThreads(__tstate);
e6056257
RD
571 if (PyErr_Occurred()) return NULL;
572}{
6824d4f9 573#if wxUSE_UNICODE
7108497a 574 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 575#else
e6056257 576 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 577#endif
e6056257
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{
6824d4f9
RD
606 _arg2 = wxString_in_helper(_obj2);
607 if (_arg2 == NULL)
e6056257 608 return NULL;
e6056257
RD
609}
610{
0e2ff151 611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 612 wxControlWithItems_SetString(_arg0,_arg1,*_arg2);
e6056257 613
0e2ff151 614 wxPyEndAllowThreads(__tstate);
e6056257
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{
6824d4f9
RD
646 _arg1 = wxString_in_helper(_obj1);
647 if (_arg1 == NULL)
e6056257 648 return NULL;
e6056257
RD
649}
650{
0e2ff151 651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 652 _result = (int )wxControlWithItems_FindString(_arg0,*_arg1);
e6056257 653
0e2ff151 654 wxPyEndAllowThreads(__tstate);
e6056257
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{
0e2ff151 683 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 684 wxControlWithItems_Select(_arg0,_arg1);
e6056257 685
0e2ff151 686 wxPyEndAllowThreads(__tstate);
e6056257
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{
0e2ff151 712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 713 _result = (int )wxControlWithItems_GetSelection(_arg0);
e6056257 714
0e2ff151 715 wxPyEndAllowThreads(__tstate);
e6056257
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{
0e2ff151 740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 741 _result = new wxString (wxControlWithItems_GetStringSelection(_arg0));
e6056257 742
0e2ff151 743 wxPyEndAllowThreads(__tstate);
e6056257
RD
744 if (PyErr_Occurred()) return NULL;
745}{
6824d4f9 746#if wxUSE_UNICODE
7108497a 747 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 748#else
e6056257 749 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 750#endif
e6056257
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{
6824d4f9
RD
786 _arg1 = wxString_in_helper(_obj1);
787 if (_arg1 == NULL)
e6056257 788 return NULL;
e6056257
RD
789}
790 if (_obj2)
791{
792 _arg2 = _obj2;
793}
794{
0e2ff151 795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 796 wxControlWithItems_Append(_arg0,*_arg1,_arg2);
e6056257 797
0e2ff151 798 wxPyEndAllowThreads(__tstate);
e6056257
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{
0e2ff151 838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 839 _result = (PyObject *)wxControlWithItems_GetClientData(_arg0,_arg1);
e6056257 840
0e2ff151 841 wxPyEndAllowThreads(__tstate);
e6056257
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{
0e2ff151 876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 877 wxControlWithItems_SetClientData(_arg0,_arg1,_arg2);
e6056257 878
0e2ff151 879 wxPyEndAllowThreads(__tstate);
e6056257
RD
880 if (PyErr_Occurred()) return NULL;
881} Py_INCREF(Py_None);
882 _resultobj = Py_None;
883 return _resultobj;
884}
885
ca31b3da
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);
6824d4f9
RD
914#if wxUSE_UNICODE
915 PyObject* str = PyObject_Unicode(item);
6824d4f9 916#else
ca31b3da 917 PyObject* str = PyObject_Str(item);
6824d4f9 918#endif
7108497a 919 _arg1->Add(Py2wxString(str));
ca31b3da
RD
920 Py_DECREF(item);
921 Py_DECREF(str);
922 }
923}
924{
925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 926 wxControlWithItems_AppendItems(_arg0,*_arg1);
ca31b3da
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
e6056257
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
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
971#define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
972static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
973 PyObject * _resultobj;
974 wxButton * _result;
975 wxWindow * _arg0;
976 wxWindowID _arg1;
977 wxString * _arg2;
978 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
979 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
980 long _arg5 = (long ) 0;
981 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 982 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
e6056257
RD
983 PyObject * _argo0 = 0;
984 PyObject * _obj2 = 0;
985 wxPoint temp;
986 PyObject * _obj3 = 0;
987 wxSize temp0;
988 PyObject * _obj4 = 0;
989 PyObject * _argo6 = 0;
c3bfa1cb 990 PyObject * _obj7 = 0;
e6056257
RD
991 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
992 char _ptemp[128];
993
994 self = self;
c3bfa1cb 995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
996 return NULL;
997 if (_argo0) {
998 if (_argo0 == Py_None) { _arg0 = NULL; }
999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
1001 return NULL;
1002 }
1003 }
1004{
6824d4f9
RD
1005 _arg2 = wxString_in_helper(_obj2);
1006 if (_arg2 == NULL)
e6056257 1007 return NULL;
e6056257
RD
1008}
1009 if (_obj3)
1010{
1011 _arg3 = &temp;
1012 if (! wxPoint_helper(_obj3, &_arg3))
1013 return NULL;
1014}
1015 if (_obj4)
1016{
1017 _arg4 = &temp0;
1018 if (! wxSize_helper(_obj4, &_arg4))
1019 return NULL;
1020}
1021 if (_argo6) {
7108497a 1022 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
1023 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1024 return NULL;
1025 }
1026 }
c3bfa1cb
RD
1027 if (_obj7)
1028{
1029 _arg7 = wxString_in_helper(_obj7);
1030 if (_arg7 == NULL)
1031 return NULL;
1032}
e6056257 1033{
0e2ff151 1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 1035 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 1036
0e2ff151 1037 wxPyEndAllowThreads(__tstate);
e6056257
RD
1038 if (PyErr_Occurred()) return NULL;
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 }
1046{
1047 if (_obj2)
1048 delete _arg2;
c3bfa1cb
RD
1049}
1050{
1051 if (_obj7)
1052 delete _arg7;
e6056257
RD
1053}
1054 return _resultobj;
1055}
1056
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{
0e2ff151 1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1069 _result = (wxButton *)new_wxPreButton();
e6056257 1070
0e2ff151 1071 wxPyEndAllowThreads(__tstate);
e6056257
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;
c3bfa1cb 1095 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
e6056257
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;
c3bfa1cb 1104 PyObject * _obj8 = 0;
e6056257
RD
1105 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
1106
1107 self = self;
c3bfa1cb 1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
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{
6824d4f9
RD
1125 _arg3 = wxString_in_helper(_obj3);
1126 if (_arg3 == NULL)
e6056257 1127 return NULL;
e6056257
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) {
7108497a 1142 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
1143 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1144 return NULL;
1145 }
1146 }
c3bfa1cb
RD
1147 if (_obj8)
1148{
1149 _arg8 = wxString_in_helper(_obj8);
1150 if (_arg8 == NULL)
1151 return NULL;
1152}
e6056257 1153{
0e2ff151 1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 1155 _result = (bool )wxButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 1156
0e2ff151 1157 wxPyEndAllowThreads(__tstate);
e6056257
RD
1158 if (PyErr_Occurred()) return NULL;
1159} _resultobj = Py_BuildValue("i",_result);
1160{
1161 if (_obj3)
1162 delete _arg3;
c3bfa1cb
RD
1163}
1164{
1165 if (_obj8)
1166 delete _arg8;
e6056257
RD
1167}
1168 return _resultobj;
1169}
1170
1171#define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1172static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject * _resultobj;
1174 wxButton * _arg0;
1175 PyObject * _argo0 = 0;
1176 char *_kwnames[] = { "self", NULL };
1177
1178 self = self;
1179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
1180 return NULL;
1181 if (_argo0) {
1182 if (_argo0 == Py_None) { _arg0 = NULL; }
1183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1185 return NULL;
1186 }
1187 }
1188{
0e2ff151 1189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1190 wxButton_SetDefault(_arg0);
e6056257 1191
0e2ff151 1192 wxPyEndAllowThreads(__tstate);
e6056257
RD
1193 if (PyErr_Occurred()) return NULL;
1194} Py_INCREF(Py_None);
1195 _resultobj = Py_None;
1196 return _resultobj;
1197}
1198
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;
1205 wxColour temp;
1206 PyObject * _obj1 = 0;
1207 char *_kwnames[] = { "self","colour", NULL };
1208
1209 self = self;
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
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 }
1219{
1220 _arg1 = &temp;
1221 if (! wxColour_helper(_obj1, &_arg1))
1222 return NULL;
1223}
1224{
0e2ff151 1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1226 wxButton_SetBackgroundColour(_arg0,*_arg1);
e6056257 1227
0e2ff151 1228 wxPyEndAllowThreads(__tstate);
e6056257
RD
1229 if (PyErr_Occurred()) return NULL;
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;
1241 wxColour temp;
1242 PyObject * _obj1 = 0;
1243 char *_kwnames[] = { "self","colour", NULL };
1244
1245 self = self;
1246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
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 }
1255{
1256 _arg1 = &temp;
1257 if (! wxColour_helper(_obj1, &_arg1))
1258 return NULL;
1259}
1260{
0e2ff151 1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1262 wxButton_SetForegroundColour(_arg0,*_arg1);
e6056257 1263
0e2ff151 1264 wxPyEndAllowThreads(__tstate);
e6056257
RD
1265 if (PyErr_Occurred()) return NULL;
1266} Py_INCREF(Py_None);
1267 _resultobj = Py_None;
1268 return _resultobj;
1269}
1270
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{
0e2ff151 1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1282 _result = new wxSize (wxButton::GetDefaultSize());
e6056257 1283
0e2ff151 1284 wxPyEndAllowThreads(__tstate);
e6056257
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;
1328 return (void *) dest;
1329}
1330
1331#define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1332static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject * _resultobj;
1334 wxBitmapButton * _result;
1335 wxWindow * _arg0;
1336 wxWindowID _arg1;
1337 wxBitmap * _arg2;
1338 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1339 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1340 long _arg5 = (long ) wxBU_AUTODRAW;
1341 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 1342 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
e6056257
RD
1343 PyObject * _argo0 = 0;
1344 PyObject * _argo2 = 0;
1345 wxPoint temp;
1346 PyObject * _obj3 = 0;
1347 wxSize temp0;
1348 PyObject * _obj4 = 0;
1349 PyObject * _argo6 = 0;
c3bfa1cb 1350 PyObject * _obj7 = 0;
e6056257
RD
1351 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
1352 char _ptemp[128];
1353
1354 self = self;
c3bfa1cb 1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
1356 return NULL;
1357 if (_argo0) {
1358 if (_argo0 == Py_None) { _arg0 = NULL; }
1359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1361 return NULL;
1362 }
1363 }
1364 if (_argo2) {
7108497a 1365 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
e6056257
RD
1366 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1367 return NULL;
1368 }
1369 }
1370 if (_obj3)
1371{
1372 _arg3 = &temp;
1373 if (! wxPoint_helper(_obj3, &_arg3))
1374 return NULL;
1375}
1376 if (_obj4)
1377{
1378 _arg4 = &temp0;
1379 if (! wxSize_helper(_obj4, &_arg4))
1380 return NULL;
1381}
1382 if (_argo6) {
7108497a 1383 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
1384 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1385 return NULL;
1386 }
1387 }
c3bfa1cb
RD
1388 if (_obj7)
1389{
1390 _arg7 = wxString_in_helper(_obj7);
1391 if (_arg7 == NULL)
1392 return NULL;
1393}
e6056257 1394{
0e2ff151 1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 1396 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 1397
0e2ff151 1398 wxPyEndAllowThreads(__tstate);
e6056257
RD
1399 if (PyErr_Occurred()) return NULL;
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 }
c3bfa1cb
RD
1407{
1408 if (_obj7)
1409 delete _arg7;
1410}
e6056257
RD
1411 return _resultobj;
1412}
1413
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{
0e2ff151 1425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1426 _result = (wxBitmapButton *)new_wxPreBitmapButton();
e6056257 1427
0e2ff151 1428 wxPyEndAllowThreads(__tstate);
e6056257
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;
c3bfa1cb 1452 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
e6056257
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;
c3bfa1cb 1461 PyObject * _obj8 = 0;
e6056257
RD
1462 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL };
1463
1464 self = self;
c3bfa1cb 1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
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) {
7108497a 1482 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
e6056257
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) {
7108497a 1500 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
1501 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1502 return NULL;
1503 }
1504 }
c3bfa1cb
RD
1505 if (_obj8)
1506{
1507 _arg8 = wxString_in_helper(_obj8);
1508 if (_arg8 == NULL)
1509 return NULL;
1510}
e6056257 1511{
0e2ff151 1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 1513 _result = (bool )wxBitmapButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 1514
0e2ff151 1515 wxPyEndAllowThreads(__tstate);
e6056257
RD
1516 if (PyErr_Occurred()) return NULL;
1517} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
1518{
1519 if (_obj8)
1520 delete _arg8;
1521}
e6056257
RD
1522 return _resultobj;
1523}
1524
1525#define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1526static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1527 PyObject * _resultobj;
1528 wxBitmap * _result;
1529 wxBitmapButton * _arg0;
1530 PyObject * _argo0 = 0;
1531 char *_kwnames[] = { "self", NULL };
1532 char _ptemp[128];
1533
1534 self = self;
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
1536 return NULL;
1537 if (_argo0) {
1538 if (_argo0 == Py_None) { _arg0 = NULL; }
1539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1541 return NULL;
1542 }
1543 }
1544{
0e2ff151 1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1546 _result = new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0));
e6056257 1547
0e2ff151 1548 wxPyEndAllowThreads(__tstate);
e6056257 1549 if (PyErr_Occurred()) return NULL;
00360d46
RD
1550} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1551 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
1552 return _resultobj;
1553}
1554
1555#define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1556static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject * _resultobj;
1558 wxBitmap * _result;
1559 wxBitmapButton * _arg0;
1560 PyObject * _argo0 = 0;
1561 char *_kwnames[] = { "self", NULL };
1562 char _ptemp[128];
1563
1564 self = self;
1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
1566 return NULL;
1567 if (_argo0) {
1568 if (_argo0 == Py_None) { _arg0 = NULL; }
1569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1571 return NULL;
1572 }
1573 }
1574{
0e2ff151 1575 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1576 _result = new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0));
e6056257 1577
0e2ff151 1578 wxPyEndAllowThreads(__tstate);
e6056257 1579 if (PyErr_Occurred()) return NULL;
00360d46
RD
1580} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1581 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
1582 return _resultobj;
1583}
1584
1585#define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1586static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject * _resultobj;
1588 wxBitmap * _result;
1589 wxBitmapButton * _arg0;
1590 PyObject * _argo0 = 0;
1591 char *_kwnames[] = { "self", NULL };
1592 char _ptemp[128];
1593
1594 self = self;
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0))
1596 return NULL;
1597 if (_argo0) {
1598 if (_argo0 == Py_None) { _arg0 = NULL; }
1599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1601 return NULL;
1602 }
1603 }
1604{
0e2ff151 1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1606 _result = new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0));
e6056257 1607
0e2ff151 1608 wxPyEndAllowThreads(__tstate);
e6056257 1609 if (PyErr_Occurred()) return NULL;
00360d46
RD
1610} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1611 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
1612 return _resultobj;
1613}
1614
1615#define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1616static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject * _resultobj;
1618 wxBitmap * _result;
1619 wxBitmapButton * _arg0;
1620 PyObject * _argo0 = 0;
1621 char *_kwnames[] = { "self", NULL };
1622 char _ptemp[128];
1623
1624 self = self;
1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
1626 return NULL;
1627 if (_argo0) {
1628 if (_argo0 == Py_None) { _arg0 = NULL; }
1629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1631 return NULL;
1632 }
1633 }
1634{
0e2ff151 1635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1636 _result = new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0));
e6056257 1637
0e2ff151 1638 wxPyEndAllowThreads(__tstate);
e6056257 1639 if (PyErr_Occurred()) return NULL;
00360d46
RD
1640} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1641 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
1642 return _resultobj;
1643}
1644
1645#define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1646static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1647 PyObject * _resultobj;
1648 wxBitmapButton * _arg0;
1649 wxBitmap * _arg1;
1650 PyObject * _argo0 = 0;
1651 PyObject * _argo1 = 0;
1652 char *_kwnames[] = { "self","bitmap", NULL };
1653
1654 self = self;
1655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
1656 return NULL;
1657 if (_argo0) {
1658 if (_argo0 == Py_None) { _arg0 = NULL; }
1659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1661 return NULL;
1662 }
1663 }
1664 if (_argo1) {
7108497a 1665 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e6056257
RD
1666 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1667 return NULL;
1668 }
1669 }
1670{
0e2ff151 1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1672 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
e6056257 1673
0e2ff151 1674 wxPyEndAllowThreads(__tstate);
e6056257
RD
1675 if (PyErr_Occurred()) return NULL;
1676} Py_INCREF(Py_None);
1677 _resultobj = Py_None;
1678 return _resultobj;
1679}
1680
1681#define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1682static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject * _resultobj;
1684 wxBitmapButton * _arg0;
1685 wxBitmap * _arg1;
1686 PyObject * _argo0 = 0;
1687 PyObject * _argo1 = 0;
1688 char *_kwnames[] = { "self","bitmap", NULL };
1689
1690 self = self;
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
1692 return NULL;
1693 if (_argo0) {
1694 if (_argo0 == Py_None) { _arg0 = NULL; }
1695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1697 return NULL;
1698 }
1699 }
1700 if (_argo1) {
7108497a 1701 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e6056257
RD
1702 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1703 return NULL;
1704 }
1705 }
1706{
0e2ff151 1707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1708 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
e6056257 1709
0e2ff151 1710 wxPyEndAllowThreads(__tstate);
e6056257
RD
1711 if (PyErr_Occurred()) return NULL;
1712} Py_INCREF(Py_None);
1713 _resultobj = Py_None;
1714 return _resultobj;
1715}
1716
1717#define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1718static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1719 PyObject * _resultobj;
1720 wxBitmapButton * _arg0;
1721 wxBitmap * _arg1;
1722 PyObject * _argo0 = 0;
1723 PyObject * _argo1 = 0;
1724 char *_kwnames[] = { "self","bitmap", NULL };
1725
1726 self = self;
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
1728 return NULL;
1729 if (_argo0) {
1730 if (_argo0 == Py_None) { _arg0 = NULL; }
1731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1733 return NULL;
1734 }
1735 }
1736 if (_argo1) {
7108497a 1737 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e6056257
RD
1738 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1739 return NULL;
1740 }
1741 }
1742{
0e2ff151 1743 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1744 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
e6056257 1745
0e2ff151 1746 wxPyEndAllowThreads(__tstate);
e6056257
RD
1747 if (PyErr_Occurred()) return NULL;
1748} Py_INCREF(Py_None);
1749 _resultobj = Py_None;
1750 return _resultobj;
1751}
1752
1753#define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1754static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject * _resultobj;
1756 wxBitmapButton * _arg0;
1757 wxBitmap * _arg1;
1758 PyObject * _argo0 = 0;
1759 PyObject * _argo1 = 0;
1760 char *_kwnames[] = { "self","bitmap", NULL };
1761
1762 self = self;
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
1764 return NULL;
1765 if (_argo0) {
1766 if (_argo0 == Py_None) { _arg0 = NULL; }
1767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1769 return NULL;
1770 }
1771 }
1772 if (_argo1) {
7108497a 1773 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e6056257
RD
1774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1775 return NULL;
1776 }
1777 }
1778{
0e2ff151 1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1780 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
e6056257 1781
0e2ff151 1782 wxPyEndAllowThreads(__tstate);
e6056257
RD
1783 if (PyErr_Occurred()) return NULL;
1784} Py_INCREF(Py_None);
1785 _resultobj = Py_None;
1786 return _resultobj;
1787}
1788
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{
0e2ff151 1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1810 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
e6056257 1811
0e2ff151 1812 wxPyEndAllowThreads(__tstate);
e6056257
RD
1813 if (PyErr_Occurred()) return NULL;
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{
0e2ff151 1838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1839 _result = (int )wxBitmapButton_GetMarginX(_arg0);
e6056257 1840
0e2ff151 1841 wxPyEndAllowThreads(__tstate);
e6056257
RD
1842 if (PyErr_Occurred()) return NULL;
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{
0e2ff151 1866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1867 _result = (int )wxBitmapButton_GetMarginY(_arg0);
e6056257 1868
0e2ff151 1869 wxPyEndAllowThreads(__tstate);
e6056257
RD
1870 if (PyErr_Occurred()) return NULL;
1871} _resultobj = Py_BuildValue("i",_result);
1872 return _resultobj;
1873}
1874
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
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
1907#define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1908static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject * _resultobj;
1910 wxCheckBox * _result;
1911 wxWindow * _arg0;
1912 wxWindowID _arg1;
1913 wxString * _arg2;
1914 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1915 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1916 long _arg5 = (long ) 0;
1917 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 1918 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
e6056257
RD
1919 PyObject * _argo0 = 0;
1920 PyObject * _obj2 = 0;
1921 wxPoint temp;
1922 PyObject * _obj3 = 0;
1923 wxSize temp0;
1924 PyObject * _obj4 = 0;
1925 PyObject * _argo6 = 0;
c3bfa1cb 1926 PyObject * _obj7 = 0;
e6056257
RD
1927 char *_kwnames[] = { "parent","id","label","pos","size","style","val","name", NULL };
1928 char _ptemp[128];
1929
1930 self = self;
c3bfa1cb 1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
1932 return NULL;
1933 if (_argo0) {
1934 if (_argo0 == Py_None) { _arg0 = NULL; }
1935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1937 return NULL;
1938 }
1939 }
1940{
6824d4f9
RD
1941 _arg2 = wxString_in_helper(_obj2);
1942 if (_arg2 == NULL)
e6056257 1943 return NULL;
e6056257
RD
1944}
1945 if (_obj3)
1946{
1947 _arg3 = &temp;
1948 if (! wxPoint_helper(_obj3, &_arg3))
1949 return NULL;
1950}
1951 if (_obj4)
1952{
1953 _arg4 = &temp0;
1954 if (! wxSize_helper(_obj4, &_arg4))
1955 return NULL;
1956}
1957 if (_argo6) {
7108497a 1958 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1960 return NULL;
1961 }
1962 }
c3bfa1cb
RD
1963 if (_obj7)
1964{
1965 _arg7 = wxString_in_helper(_obj7);
1966 if (_arg7 == NULL)
1967 return NULL;
1968}
e6056257 1969{
0e2ff151 1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 1971 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 1972
0e2ff151 1973 wxPyEndAllowThreads(__tstate);
e6056257
RD
1974 if (PyErr_Occurred()) return NULL;
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 }
1982{
1983 if (_obj2)
1984 delete _arg2;
c3bfa1cb
RD
1985}
1986{
1987 if (_obj7)
1988 delete _arg7;
e6056257
RD
1989}
1990 return _resultobj;
1991}
1992
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{
0e2ff151 2004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2005 _result = (wxCheckBox *)new_wxPreCheckBox();
e6056257 2006
0e2ff151 2007 wxPyEndAllowThreads(__tstate);
e6056257
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;
c3bfa1cb 2031 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
e6056257
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;
c3bfa1cb 2040 PyObject * _obj8 = 0;
e6056257
RD
2041 char *_kwnames[] = { "self","parent","id","label","pos","size","style","val","name", NULL };
2042
2043 self = self;
c3bfa1cb 2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxCheckBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
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{
6824d4f9
RD
2061 _arg3 = wxString_in_helper(_obj3);
2062 if (_arg3 == NULL)
e6056257 2063 return NULL;
e6056257
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) {
7108497a 2078 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
2079 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2080 return NULL;
2081 }
2082 }
c3bfa1cb
RD
2083 if (_obj8)
2084{
2085 _arg8 = wxString_in_helper(_obj8);
2086 if (_arg8 == NULL)
2087 return NULL;
2088}
e6056257 2089{
0e2ff151 2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 2091 _result = (bool )wxCheckBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 2092
0e2ff151 2093 wxPyEndAllowThreads(__tstate);
e6056257
RD
2094 if (PyErr_Occurred()) return NULL;
2095} _resultobj = Py_BuildValue("i",_result);
2096{
2097 if (_obj3)
2098 delete _arg3;
c3bfa1cb
RD
2099}
2100{
2101 if (_obj8)
2102 delete _arg8;
e6056257
RD
2103}
2104 return _resultobj;
2105}
2106
2107#define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2108static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2109 PyObject * _resultobj;
2110 bool _result;
2111 wxCheckBox * _arg0;
2112 PyObject * _argo0 = 0;
2113 char *_kwnames[] = { "self", NULL };
2114
2115 self = self;
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
2117 return NULL;
2118 if (_argo0) {
2119 if (_argo0 == Py_None) { _arg0 = NULL; }
2120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2122 return NULL;
2123 }
2124 }
2125{
0e2ff151 2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2127 _result = (bool )wxCheckBox_GetValue(_arg0);
e6056257 2128
0e2ff151 2129 wxPyEndAllowThreads(__tstate);
e6056257
RD
2130 if (PyErr_Occurred()) return NULL;
2131} _resultobj = Py_BuildValue("i",_result);
2132 return _resultobj;
2133}
2134
7108497a
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
e6056257
RD
2163#define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2164static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject * _resultobj;
2166 wxCheckBox * _arg0;
2167 bool _arg1;
2168 PyObject * _argo0 = 0;
2169 int tempbool1;
2170 char *_kwnames[] = { "self","state", NULL };
2171
2172 self = self;
2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
2174 return NULL;
2175 if (_argo0) {
2176 if (_argo0 == Py_None) { _arg0 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
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;
2183{
0e2ff151 2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2185 wxCheckBox_SetValue(_arg0,_arg1);
e6056257 2186
0e2ff151 2187 wxPyEndAllowThreads(__tstate);
e6056257
RD
2188 if (PyErr_Occurred()) return NULL;
2189} Py_INCREF(Py_None);
2190 _resultobj = Py_None;
2191 return _resultobj;
2192}
2193
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
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
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
2234#define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2235static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2236 PyObject * _resultobj;
2237 wxChoice * _result;
2238 wxWindow * _arg0;
2239 wxWindowID _arg1;
2240 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2241 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2242 int _arg4 = (int ) 0;
2243 wxString * _arg5 = (wxString *) NULL;
2244 long _arg6 = (long ) 0;
2245 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 2246 wxString * _arg8 = (wxString *) &wxPyChoiceNameStr;
e6056257
RD
2247 PyObject * _argo0 = 0;
2248 wxPoint temp;
2249 PyObject * _obj2 = 0;
2250 wxSize temp0;
2251 PyObject * _obj3 = 0;
2252 PyObject * _obj5 = 0;
2253 PyObject * _argo7 = 0;
c3bfa1cb 2254 PyObject * _obj8 = 0;
e6056257
RD
2255 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
2256 char _ptemp[128];
2257
2258 self = self;
c3bfa1cb 2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
2260 return NULL;
2261 if (_argo0) {
2262 if (_argo0 == Py_None) { _arg0 = NULL; }
2263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2265 return NULL;
2266 }
2267 }
2268 if (_obj2)
2269{
2270 _arg2 = &temp;
2271 if (! wxPoint_helper(_obj2, &_arg2))
2272 return NULL;
2273}
2274 if (_obj3)
2275{
2276 _arg3 = &temp0;
2277 if (! wxSize_helper(_obj3, &_arg3))
2278 return NULL;
2279}
2280 if (_obj5)
2281{
2282 _arg5 = wxString_LIST_helper(_obj5);
2283 if (_arg5 == NULL) {
2284 return NULL;
2285 }
2286}
2287 if (_argo7) {
7108497a 2288 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
2289 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2290 return NULL;
2291 }
2292 }
c3bfa1cb
RD
2293 if (_obj8)
2294{
2295 _arg8 = wxString_in_helper(_obj8);
2296 if (_arg8 == NULL)
2297 return NULL;
2298}
e6056257
RD
2299{
2300 if (_obj5) {
2301 _arg4 = PyList_Size(_obj5);
2302 }
2303 else {
2304 _arg4 = 0;
2305 }
2306}
2307{
0e2ff151 2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 2309 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
e6056257 2310
0e2ff151 2311 wxPyEndAllowThreads(__tstate);
e6056257
RD
2312 if (PyErr_Occurred()) return NULL;
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 }
2320{
2321 delete [] _arg5;
c3bfa1cb
RD
2322}
2323{
2324 if (_obj8)
2325 delete _arg8;
e6056257
RD
2326}
2327 return _resultobj;
2328}
2329
2330#define new_wxPreChoice() (new wxChoice())
2331static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject * _resultobj;
2333 wxChoice * _result;
2334 char *_kwnames[] = { NULL };
2335 char _ptemp[128];
2336
2337 self = self;
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
2339 return NULL;
2340{
0e2ff151 2341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2342 _result = (wxChoice *)new_wxPreChoice();
e6056257 2343
0e2ff151 2344 wxPyEndAllowThreads(__tstate);
e6056257
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;
c3bfa1cb 2369 wxString * _arg9 = (wxString *) &wxPyChoiceNameStr;
e6056257
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;
c3bfa1cb 2378 PyObject * _obj9 = 0;
e6056257
RD
2379 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
2380
2381 self = self;
c3bfa1cb 2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
e6056257
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) {
7108497a 2418 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
e6056257
RD
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2420 return NULL;
2421 }
2422 }
c3bfa1cb
RD
2423 if (_obj9)
2424{
2425 _arg9 = wxString_in_helper(_obj9);
2426 if (_arg9 == NULL)
2427 return NULL;
2428}
e6056257
RD
2429{
2430 if (_obj6) {
2431 _arg5 = PyList_Size(_obj6);
2432 }
2433 else {
2434 _arg5 = 0;
2435 }
2436}
2437{
0e2ff151 2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 2439 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
e6056257 2440
0e2ff151 2441 wxPyEndAllowThreads(__tstate);
e6056257
RD
2442 if (PyErr_Occurred()) return NULL;
2443} _resultobj = Py_BuildValue("i",_result);
2444{
2445 delete [] _arg6;
c3bfa1cb
RD
2446}
2447{
2448 if (_obj9)
2449 delete _arg9;
e6056257
RD
2450}
2451 return _resultobj;
2452}
2453
2454#define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2455static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
2456 PyObject * _resultobj;
2457 wxChoice * _arg0;
2458 PyObject * _argo0 = 0;
2459 char *_kwnames[] = { "self", NULL };
2460
2461 self = self;
2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
2463 return NULL;
2464 if (_argo0) {
2465 if (_argo0 == Py_None) { _arg0 = NULL; }
2466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2468 return NULL;
2469 }
2470 }
2471{
0e2ff151 2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2473 wxChoice_Clear(_arg0);
e6056257 2474
0e2ff151 2475 wxPyEndAllowThreads(__tstate);
e6056257
RD
2476 if (PyErr_Occurred()) return NULL;
2477} Py_INCREF(Py_None);
2478 _resultobj = Py_None;
2479 return _resultobj;
2480}
2481
2482#define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2483static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2484 PyObject * _resultobj;
2485 int _result;
2486 wxChoice * _arg0;
2487 PyObject * _argo0 = 0;
2488 char *_kwnames[] = { "self", NULL };
2489
2490 self = self;
2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
2492 return NULL;
2493 if (_argo0) {
2494 if (_argo0 == Py_None) { _arg0 = NULL; }
2495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2497 return NULL;
2498 }
2499 }
2500{
0e2ff151 2501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2502 _result = (int )wxChoice_GetColumns(_arg0);
e6056257 2503
0e2ff151 2504 wxPyEndAllowThreads(__tstate);
e6056257
RD
2505 if (PyErr_Occurred()) return NULL;
2506} _resultobj = Py_BuildValue("i",_result);
2507 return _resultobj;
2508}
2509
2510#define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2511static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2512 PyObject * _resultobj;
2513 wxChoice * _arg0;
2514 int _arg1 = (int ) 1;
2515 PyObject * _argo0 = 0;
2516 char *_kwnames[] = { "self","n", NULL };
2517
2518 self = self;
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
2520 return NULL;
2521 if (_argo0) {
2522 if (_argo0 == Py_None) { _arg0 = NULL; }
2523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2525 return NULL;
2526 }
2527 }
2528{
0e2ff151 2529 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2530 wxChoice_SetColumns(_arg0,_arg1);
e6056257 2531
0e2ff151 2532 wxPyEndAllowThreads(__tstate);
e6056257
RD
2533 if (PyErr_Occurred()) return NULL;
2534} Py_INCREF(Py_None);
2535 _resultobj = Py_None;
2536 return _resultobj;
2537}
2538
2539#define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2540static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject * _resultobj;
2542 wxChoice * _arg0;
2543 int _arg1;
2544 PyObject * _argo0 = 0;
2545 char *_kwnames[] = { "self","n", NULL };
2546
2547 self = self;
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
2549 return NULL;
2550 if (_argo0) {
2551 if (_argo0 == Py_None) { _arg0 = NULL; }
2552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2554 return NULL;
2555 }
2556 }
2557{
0e2ff151 2558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2559 wxChoice_SetSelection(_arg0,_arg1);
e6056257 2560
0e2ff151 2561 wxPyEndAllowThreads(__tstate);
e6056257
RD
2562 if (PyErr_Occurred()) return NULL;
2563} Py_INCREF(Py_None);
2564 _resultobj = Py_None;
2565 return _resultobj;
2566}
2567
2568#define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2569static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2570 PyObject * _resultobj;
2571 wxChoice * _arg0;
2572 wxString * _arg1;
2573 PyObject * _argo0 = 0;
2574 PyObject * _obj1 = 0;
2575 char *_kwnames[] = { "self","string", NULL };
2576
2577 self = self;
2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
2579 return NULL;
2580 if (_argo0) {
2581 if (_argo0 == Py_None) { _arg0 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2584 return NULL;
2585 }
2586 }
2587{
6824d4f9
RD
2588 _arg1 = wxString_in_helper(_obj1);
2589 if (_arg1 == NULL)
e6056257 2590 return NULL;
e6056257
RD
2591}
2592{
0e2ff151 2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2594 wxChoice_SetStringSelection(_arg0,*_arg1);
e6056257 2595
0e2ff151 2596 wxPyEndAllowThreads(__tstate);
e6056257
RD
2597 if (PyErr_Occurred()) return NULL;
2598} Py_INCREF(Py_None);
2599 _resultobj = Py_None;
2600{
2601 if (_obj1)
2602 delete _arg1;
2603}
2604 return _resultobj;
2605}
2606
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{
6824d4f9
RD
2628 _arg2 = wxString_in_helper(_obj2);
2629 if (_arg2 == NULL)
e6056257 2630 return NULL;
e6056257
RD
2631}
2632{
0e2ff151 2633 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2634 wxChoice_SetString(_arg0,_arg1,*_arg2);
e6056257 2635
0e2ff151 2636 wxPyEndAllowThreads(__tstate);
e6056257
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
2647static void *SwigwxComboBoxTowxChoice(void *ptr) {
2648 wxComboBox *src;
2649 wxChoice *dest;
2650 src = (wxComboBox *) ptr;
2651 dest = (wxChoice *) src;
2652 return (void *) dest;
2653}
2654
2655static void *SwigwxComboBoxTowxControlWithItems(void *ptr) {
2656 wxComboBox *src;
2657 wxControlWithItems *dest;
2658 src = (wxComboBox *) ptr;
2659 dest = (wxControlWithItems *) src;
2660 return (void *) dest;
2661}
2662
2663static void *SwigwxComboBoxTowxControl(void *ptr) {
2664 wxComboBox *src;
2665 wxControl *dest;
2666 src = (wxComboBox *) ptr;
2667 dest = (wxControl *) src;
2668 return (void *) dest;
2669}
2670
2671static void *SwigwxComboBoxTowxWindow(void *ptr) {
2672 wxComboBox *src;
2673 wxWindow *dest;
2674 src = (wxComboBox *) ptr;
2675 dest = (wxWindow *) src;
2676 return (void *) dest;
2677}
2678
2679static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2680 wxComboBox *src;
2681 wxEvtHandler *dest;
2682 src = (wxComboBox *) ptr;
2683 dest = (wxEvtHandler *) src;
2684 return (void *) dest;
2685}
2686
2687static void *SwigwxComboBoxTowxObject(void *ptr) {
2688 wxComboBox *src;
2689 wxObject *dest;
2690 src = (wxComboBox *) ptr;
2691 dest = (wxObject *) src;
2692 return (void *) dest;
2693}
2694
2695#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))
2696static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2697 PyObject * _resultobj;
2698 wxComboBox * _result;
2699 wxWindow * _arg0;
2700 wxWindowID _arg1;
c3bfa1cb 2701 wxString * _arg2 = (wxString *) &wxPyEmptyString;
e6056257
RD
2702 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2703 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2704 int _arg5 = (int ) 0;
2705 wxString * _arg6 = (wxString *) NULL;
2706 long _arg7 = (long ) 0;
2707 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 2708 wxString * _arg9 = (wxString *) &wxPyComboBoxNameStr;
e6056257 2709 PyObject * _argo0 = 0;
c3bfa1cb 2710 PyObject * _obj2 = 0;
e6056257
RD
2711 wxPoint temp;
2712 PyObject * _obj3 = 0;
2713 wxSize temp0;
2714 PyObject * _obj4 = 0;
2715 PyObject * _obj6 = 0;
2716 PyObject * _argo8 = 0;
c3bfa1cb 2717 PyObject * _obj9 = 0;
e6056257
RD
2718 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
2719 char _ptemp[128];
2720
2721 self = self;
c3bfa1cb 2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOOlOO:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
e6056257
RD
2723 return NULL;
2724 if (_argo0) {
2725 if (_argo0 == Py_None) { _arg0 = NULL; }
2726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2728 return NULL;
2729 }
2730 }
c3bfa1cb
RD
2731 if (_obj2)
2732{
2733 _arg2 = wxString_in_helper(_obj2);
2734 if (_arg2 == NULL)
2735 return NULL;
2736}
e6056257
RD
2737 if (_obj3)
2738{
2739 _arg3 = &temp;
2740 if (! wxPoint_helper(_obj3, &_arg3))
2741 return NULL;
2742}
2743 if (_obj4)
2744{
2745 _arg4 = &temp0;
2746 if (! wxSize_helper(_obj4, &_arg4))
2747 return NULL;
2748}
2749 if (_obj6)
2750{
2751 _arg6 = wxString_LIST_helper(_obj6);
2752 if (_arg6 == NULL) {
2753 return NULL;
2754 }
2755}
2756 if (_argo8) {
7108497a 2757 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
e6056257
RD
2758 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2759 return NULL;
2760 }
2761 }
c3bfa1cb
RD
2762 if (_obj9)
2763{
2764 _arg9 = wxString_in_helper(_obj9);
2765 if (_arg9 == NULL)
2766 return NULL;
2767}
e6056257
RD
2768{
2769 if (_obj6) {
2770 _arg5 = PyList_Size(_obj6);
2771 }
2772 else {
2773 _arg5 = 0;
2774 }
2775}
2776{
0e2ff151 2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 2778 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
e6056257 2779
0e2ff151 2780 wxPyEndAllowThreads(__tstate);
e6056257
RD
2781 if (PyErr_Occurred()) return NULL;
2782} if (_result) {
2783 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2784 _resultobj = Py_BuildValue("s",_ptemp);
2785 } else {
2786 Py_INCREF(Py_None);
2787 _resultobj = Py_None;
2788 }
c3bfa1cb
RD
2789{
2790 if (_obj2)
2791 delete _arg2;
2792}
e6056257
RD
2793{
2794 delete [] _arg6;
c3bfa1cb
RD
2795}
2796{
2797 if (_obj9)
2798 delete _arg9;
e6056257
RD
2799}
2800 return _resultobj;
2801}
2802
2803#define new_wxPreComboBox() (new wxComboBox())
2804static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2805 PyObject * _resultobj;
2806 wxComboBox * _result;
2807 char *_kwnames[] = { NULL };
2808 char _ptemp[128];
2809
2810 self = self;
2811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2812 return NULL;
2813{
0e2ff151 2814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2815 _result = (wxComboBox *)new_wxPreComboBox();
e6056257 2816
0e2ff151 2817 wxPyEndAllowThreads(__tstate);
e6056257
RD
2818 if (PyErr_Occurred()) return NULL;
2819} if (_result) {
2820 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2821 _resultobj = Py_BuildValue("s",_ptemp);
2822 } else {
2823 Py_INCREF(Py_None);
2824 _resultobj = Py_None;
2825 }
2826 return _resultobj;
2827}
2828
2829#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))
2830static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2831 PyObject * _resultobj;
2832 bool _result;
2833 wxComboBox * _arg0;
2834 wxWindow * _arg1;
2835 wxWindowID _arg2;
c3bfa1cb 2836 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e6056257
RD
2837 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2838 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2839 int _arg6 = (int ) 0;
2840 wxString * _arg7 = (wxString *) NULL;
2841 long _arg8 = (long ) 0;
2842 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 2843 wxString * _arg10 = (wxString *) &wxPyComboBoxNameStr;
e6056257
RD
2844 PyObject * _argo0 = 0;
2845 PyObject * _argo1 = 0;
c3bfa1cb 2846 PyObject * _obj3 = 0;
e6056257
RD
2847 wxPoint temp;
2848 PyObject * _obj4 = 0;
2849 wxSize temp0;
2850 PyObject * _obj5 = 0;
2851 PyObject * _obj7 = 0;
2852 PyObject * _argo9 = 0;
c3bfa1cb 2853 PyObject * _obj10 = 0;
e6056257
RD
2854 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2855
2856 self = self;
c3bfa1cb 2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOOlOO:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_obj10))
e6056257
RD
2858 return NULL;
2859 if (_argo0) {
2860 if (_argo0 == Py_None) { _arg0 = NULL; }
2861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2863 return NULL;
2864 }
2865 }
2866 if (_argo1) {
2867 if (_argo1 == Py_None) { _arg1 = NULL; }
2868 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2869 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2870 return NULL;
2871 }
2872 }
c3bfa1cb
RD
2873 if (_obj3)
2874{
2875 _arg3 = wxString_in_helper(_obj3);
2876 if (_arg3 == NULL)
2877 return NULL;
2878}
e6056257
RD
2879 if (_obj4)
2880{
2881 _arg4 = &temp;
2882 if (! wxPoint_helper(_obj4, &_arg4))
2883 return NULL;
2884}
2885 if (_obj5)
2886{
2887 _arg5 = &temp0;
2888 if (! wxSize_helper(_obj5, &_arg5))
2889 return NULL;
2890}
2891 if (_obj7)
2892{
2893 _arg7 = wxString_LIST_helper(_obj7);
2894 if (_arg7 == NULL) {
2895 return NULL;
2896 }
2897}
2898 if (_argo9) {
7108497a 2899 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
e6056257
RD
2900 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2901 return NULL;
2902 }
2903 }
c3bfa1cb
RD
2904 if (_obj10)
2905{
2906 _arg10 = wxString_in_helper(_obj10);
2907 if (_arg10 == NULL)
2908 return NULL;
2909}
e6056257
RD
2910{
2911 if (_obj7) {
2912 _arg6 = PyList_Size(_obj7);
2913 }
2914 else {
2915 _arg6 = 0;
2916 }
2917}
2918{
0e2ff151 2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 2920 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
e6056257 2921
0e2ff151 2922 wxPyEndAllowThreads(__tstate);
e6056257
RD
2923 if (PyErr_Occurred()) return NULL;
2924} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
2925{
2926 if (_obj3)
2927 delete _arg3;
2928}
e6056257
RD
2929{
2930 delete [] _arg7;
c3bfa1cb
RD
2931}
2932{
2933 if (_obj10)
2934 delete _arg10;
e6056257
RD
2935}
2936 return _resultobj;
2937}
2938
2939#define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2940static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject * _resultobj;
2942 wxComboBox * _arg0;
2943 PyObject * _argo0 = 0;
2944 char *_kwnames[] = { "self", NULL };
2945
2946 self = self;
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
2948 return NULL;
2949 if (_argo0) {
2950 if (_argo0 == Py_None) { _arg0 = NULL; }
2951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2953 return NULL;
2954 }
2955 }
2956{
0e2ff151 2957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2958 wxComboBox_Copy(_arg0);
e6056257 2959
0e2ff151 2960 wxPyEndAllowThreads(__tstate);
e6056257
RD
2961 if (PyErr_Occurred()) return NULL;
2962} Py_INCREF(Py_None);
2963 _resultobj = Py_None;
2964 return _resultobj;
2965}
2966
2967#define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2968static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2969 PyObject * _resultobj;
2970 wxComboBox * _arg0;
2971 PyObject * _argo0 = 0;
2972 char *_kwnames[] = { "self", NULL };
2973
2974 self = self;
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
2976 return NULL;
2977 if (_argo0) {
2978 if (_argo0 == Py_None) { _arg0 = NULL; }
2979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2981 return NULL;
2982 }
2983 }
2984{
0e2ff151 2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2986 wxComboBox_Cut(_arg0);
e6056257 2987
0e2ff151 2988 wxPyEndAllowThreads(__tstate);
e6056257
RD
2989 if (PyErr_Occurred()) return NULL;
2990} Py_INCREF(Py_None);
2991 _resultobj = Py_None;
2992 return _resultobj;
2993}
2994
2995#define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2996static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2997 PyObject * _resultobj;
2998 long _result;
2999 wxComboBox * _arg0;
3000 PyObject * _argo0 = 0;
3001 char *_kwnames[] = { "self", NULL };
3002
3003 self = self;
3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
3005 return NULL;
3006 if (_argo0) {
3007 if (_argo0 == Py_None) { _arg0 = NULL; }
3008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
3010 return NULL;
3011 }
3012 }
3013{
0e2ff151 3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3015 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
e6056257 3016
0e2ff151 3017 wxPyEndAllowThreads(__tstate);
e6056257
RD
3018 if (PyErr_Occurred()) return NULL;
3019} _resultobj = Py_BuildValue("l",_result);
3020 return _resultobj;
3021}
3022
3023#define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3024static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3025 PyObject * _resultobj;
3026 long _result;
3027 wxComboBox * _arg0;
3028 PyObject * _argo0 = 0;
3029 char *_kwnames[] = { "self", NULL };
3030
3031 self = self;
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
3033 return NULL;
3034 if (_argo0) {
3035 if (_argo0 == Py_None) { _arg0 = NULL; }
3036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3038 return NULL;
3039 }
3040 }
3041{
0e2ff151 3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3043 _result = (long )wxComboBox_GetLastPosition(_arg0);
e6056257 3044
0e2ff151 3045 wxPyEndAllowThreads(__tstate);
e6056257
RD
3046 if (PyErr_Occurred()) return NULL;
3047} _resultobj = Py_BuildValue("l",_result);
3048 return _resultobj;
3049}
3050
3051#define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3052static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3053 PyObject * _resultobj;
3054 wxString * _result;
3055 wxComboBox * _arg0;
3056 PyObject * _argo0 = 0;
3057 char *_kwnames[] = { "self", NULL };
3058
3059 self = self;
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
3061 return NULL;
3062 if (_argo0) {
3063 if (_argo0 == Py_None) { _arg0 = NULL; }
3064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3066 return NULL;
3067 }
3068 }
3069{
0e2ff151 3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3071 _result = new wxString (wxComboBox_GetValue(_arg0));
e6056257 3072
0e2ff151 3073 wxPyEndAllowThreads(__tstate);
e6056257
RD
3074 if (PyErr_Occurred()) return NULL;
3075}{
6824d4f9 3076#if wxUSE_UNICODE
7108497a 3077 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 3078#else
e6056257 3079 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 3080#endif
e6056257
RD
3081}
3082{
3083 delete _result;
3084}
3085 return _resultobj;
3086}
3087
3088#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3089static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3090 PyObject * _resultobj;
3091 wxComboBox * _arg0;
3092 PyObject * _argo0 = 0;
3093 char *_kwnames[] = { "self", NULL };
3094
3095 self = self;
3096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
3097 return NULL;
3098 if (_argo0) {
3099 if (_argo0 == Py_None) { _arg0 = NULL; }
3100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3102 return NULL;
3103 }
3104 }
3105{
0e2ff151 3106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3107 wxComboBox_Paste(_arg0);
e6056257 3108
0e2ff151 3109 wxPyEndAllowThreads(__tstate);
e6056257
RD
3110 if (PyErr_Occurred()) return NULL;
3111} Py_INCREF(Py_None);
3112 _resultobj = Py_None;
3113 return _resultobj;
3114}
3115
3116#define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3117static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3118 PyObject * _resultobj;
3119 wxComboBox * _arg0;
3120 long _arg1;
3121 long _arg2;
3122 wxString * _arg3;
3123 PyObject * _argo0 = 0;
3124 PyObject * _obj3 = 0;
3125 char *_kwnames[] = { "self","from","to","text", NULL };
3126
3127 self = self;
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
3129 return NULL;
3130 if (_argo0) {
3131 if (_argo0 == Py_None) { _arg0 = NULL; }
3132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3134 return NULL;
3135 }
3136 }
3137{
6824d4f9
RD
3138 _arg3 = wxString_in_helper(_obj3);
3139 if (_arg3 == NULL)
e6056257 3140 return NULL;
e6056257
RD
3141}
3142{
0e2ff151 3143 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3144 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
e6056257 3145
0e2ff151 3146 wxPyEndAllowThreads(__tstate);
e6056257
RD
3147 if (PyErr_Occurred()) return NULL;
3148} Py_INCREF(Py_None);
3149 _resultobj = Py_None;
3150{
3151 if (_obj3)
3152 delete _arg3;
3153}
3154 return _resultobj;
3155}
3156
3157#define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3158static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3159 PyObject * _resultobj;
3160 wxComboBox * _arg0;
3161 long _arg1;
3162 long _arg2;
3163 PyObject * _argo0 = 0;
3164 char *_kwnames[] = { "self","from","to", NULL };
3165
3166 self = self;
3167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
3168 return NULL;
3169 if (_argo0) {
3170 if (_argo0 == Py_None) { _arg0 = NULL; }
3171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3173 return NULL;
3174 }
3175 }
3176{
0e2ff151 3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3178 wxComboBox_Remove(_arg0,_arg1,_arg2);
e6056257 3179
0e2ff151 3180 wxPyEndAllowThreads(__tstate);
e6056257
RD
3181 if (PyErr_Occurred()) return NULL;
3182} Py_INCREF(Py_None);
3183 _resultobj = Py_None;
3184 return _resultobj;
3185}
3186
3187#define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3188static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3189 PyObject * _resultobj;
3190 wxComboBox * _arg0;
3191 long _arg1;
3192 PyObject * _argo0 = 0;
3193 char *_kwnames[] = { "self","pos", NULL };
3194
3195 self = self;
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
3197 return NULL;
3198 if (_argo0) {
3199 if (_argo0 == Py_None) { _arg0 = NULL; }
3200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3202 return NULL;
3203 }
3204 }
3205{
0e2ff151 3206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3207 wxComboBox_SetInsertionPoint(_arg0,_arg1);
e6056257 3208
0e2ff151 3209 wxPyEndAllowThreads(__tstate);
e6056257
RD
3210 if (PyErr_Occurred()) return NULL;
3211} Py_INCREF(Py_None);
3212 _resultobj = Py_None;
3213 return _resultobj;
3214}
3215
3216#define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3217static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3218 PyObject * _resultobj;
3219 wxComboBox * _arg0;
3220 PyObject * _argo0 = 0;
3221 char *_kwnames[] = { "self", NULL };
3222
3223 self = self;
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
3225 return NULL;
3226 if (_argo0) {
3227 if (_argo0 == Py_None) { _arg0 = NULL; }
3228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3230 return NULL;
3231 }
3232 }
3233{
0e2ff151 3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3235 wxComboBox_SetInsertionPointEnd(_arg0);
e6056257 3236
0e2ff151 3237 wxPyEndAllowThreads(__tstate);
e6056257
RD
3238 if (PyErr_Occurred()) return NULL;
3239} Py_INCREF(Py_None);
3240 _resultobj = Py_None;
3241 return _resultobj;
3242}
3243
3244#define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3245static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3246 PyObject * _resultobj;
3247 wxComboBox * _arg0;
3248 int _arg1;
3249 PyObject * _argo0 = 0;
3250 char *_kwnames[] = { "self","n", NULL };
3251
3252 self = self;
3253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
3254 return NULL;
3255 if (_argo0) {
3256 if (_argo0 == Py_None) { _arg0 = NULL; }
3257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3259 return NULL;
3260 }
3261 }
3262{
0e2ff151 3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3264 wxComboBox_SetSelection(_arg0,_arg1);
e6056257 3265
0e2ff151 3266 wxPyEndAllowThreads(__tstate);
e6056257
RD
3267 if (PyErr_Occurred()) return NULL;
3268} Py_INCREF(Py_None);
3269 _resultobj = Py_None;
3270 return _resultobj;
3271}
3272
3273#define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3274static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3275 PyObject * _resultobj;
3276 wxComboBox * _arg0;
3277 long _arg1;
3278 long _arg2;
3279 PyObject * _argo0 = 0;
3280 char *_kwnames[] = { "self","from","to", NULL };
3281
3282 self = self;
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
3284 return NULL;
3285 if (_argo0) {
3286 if (_argo0 == Py_None) { _arg0 = NULL; }
3287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3289 return NULL;
3290 }
3291 }
3292{
0e2ff151 3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3294 wxComboBox_SetMark(_arg0,_arg1,_arg2);
e6056257 3295
0e2ff151 3296 wxPyEndAllowThreads(__tstate);
e6056257
RD
3297 if (PyErr_Occurred()) return NULL;
3298} Py_INCREF(Py_None);
3299 _resultobj = Py_None;
3300 return _resultobj;
3301}
3302
3303#define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3304static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3305 PyObject * _resultobj;
3306 wxComboBox * _arg0;
3307 wxString * _arg1;
3308 PyObject * _argo0 = 0;
3309 PyObject * _obj1 = 0;
3310 char *_kwnames[] = { "self","text", NULL };
3311
3312 self = self;
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
3314 return NULL;
3315 if (_argo0) {
3316 if (_argo0 == Py_None) { _arg0 = NULL; }
3317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3319 return NULL;
3320 }
3321 }
3322{
6824d4f9
RD
3323 _arg1 = wxString_in_helper(_obj1);
3324 if (_arg1 == NULL)
e6056257 3325 return NULL;
e6056257
RD
3326}
3327{
0e2ff151 3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3329 wxComboBox_SetValue(_arg0,*_arg1);
e6056257 3330
0e2ff151 3331 wxPyEndAllowThreads(__tstate);
e6056257
RD
3332 if (PyErr_Occurred()) return NULL;
3333} Py_INCREF(Py_None);
3334 _resultobj = Py_None;
3335{
3336 if (_obj1)
3337 delete _arg1;
3338}
3339 return _resultobj;
3340}
3341
3342#define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3343static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject * _resultobj;
3345 wxComboBox * _arg0;
3346 bool _arg1;
3347 PyObject * _argo0 = 0;
3348 int tempbool1;
3349 char *_kwnames[] = { "self","editable", NULL };
3350
3351 self = self;
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3353 return NULL;
3354 if (_argo0) {
3355 if (_argo0 == Py_None) { _arg0 = NULL; }
3356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3358 return NULL;
3359 }
3360 }
3361 _arg1 = (bool ) tempbool1;
3362{
0e2ff151 3363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3364 wxComboBox_SetEditable(_arg0,_arg1);
e6056257 3365
0e2ff151 3366 wxPyEndAllowThreads(__tstate);
e6056257
RD
3367 if (PyErr_Occurred()) return NULL;
3368} Py_INCREF(Py_None);
3369 _resultobj = Py_None;
3370 return _resultobj;
3371}
3372
3373static void *SwigwxGaugeTowxControl(void *ptr) {
3374 wxGauge *src;
3375 wxControl *dest;
3376 src = (wxGauge *) ptr;
3377 dest = (wxControl *) src;
3378 return (void *) dest;
3379}
3380
3381static void *SwigwxGaugeTowxWindow(void *ptr) {
3382 wxGauge *src;
3383 wxWindow *dest;
3384 src = (wxGauge *) ptr;
3385 dest = (wxWindow *) src;
3386 return (void *) dest;
3387}
3388
3389static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3390 wxGauge *src;
3391 wxEvtHandler *dest;
3392 src = (wxGauge *) ptr;
3393 dest = (wxEvtHandler *) src;
3394 return (void *) dest;
3395}
3396
3397static void *SwigwxGaugeTowxObject(void *ptr) {
3398 wxGauge *src;
3399 wxObject *dest;
3400 src = (wxGauge *) ptr;
3401 dest = (wxObject *) src;
3402 return (void *) dest;
3403}
3404
3405#define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3406static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3407 PyObject * _resultobj;
3408 wxGauge * _result;
3409 wxWindow * _arg0;
3410 wxWindowID _arg1;
3411 int _arg2;
3412 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3413 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3414 long _arg5 = (long ) wxGA_HORIZONTAL;
3415 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 3416 wxString * _arg7 = (wxString *) &wxPyGaugeNameStr;
e6056257
RD
3417 PyObject * _argo0 = 0;
3418 wxPoint temp;
3419 PyObject * _obj3 = 0;
3420 wxSize temp0;
3421 PyObject * _obj4 = 0;
3422 PyObject * _argo6 = 0;
c3bfa1cb 3423 PyObject * _obj7 = 0;
e6056257
RD
3424 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
3425 char _ptemp[128];
3426
3427 self = self;
c3bfa1cb 3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOO:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
3429 return NULL;
3430 if (_argo0) {
3431 if (_argo0 == Py_None) { _arg0 = NULL; }
3432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3434 return NULL;
3435 }
3436 }
3437 if (_obj3)
3438{
3439 _arg3 = &temp;
3440 if (! wxPoint_helper(_obj3, &_arg3))
3441 return NULL;
3442}
3443 if (_obj4)
3444{
3445 _arg4 = &temp0;
3446 if (! wxSize_helper(_obj4, &_arg4))
3447 return NULL;
3448}
3449 if (_argo6) {
7108497a 3450 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
3451 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3452 return NULL;
3453 }
3454 }
c3bfa1cb
RD
3455 if (_obj7)
3456{
3457 _arg7 = wxString_in_helper(_obj7);
3458 if (_arg7 == NULL)
3459 return NULL;
3460}
e6056257 3461{
0e2ff151 3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 3463 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 3464
0e2ff151 3465 wxPyEndAllowThreads(__tstate);
e6056257
RD
3466 if (PyErr_Occurred()) return NULL;
3467} if (_result) {
3468 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3469 _resultobj = Py_BuildValue("s",_ptemp);
3470 } else {
3471 Py_INCREF(Py_None);
3472 _resultobj = Py_None;
3473 }
c3bfa1cb
RD
3474{
3475 if (_obj7)
3476 delete _arg7;
3477}
e6056257
RD
3478 return _resultobj;
3479}
3480
3481#define new_wxPreGauge() (new wxGauge())
3482static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3483 PyObject * _resultobj;
3484 wxGauge * _result;
3485 char *_kwnames[] = { NULL };
3486 char _ptemp[128];
3487
3488 self = self;
3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
3490 return NULL;
3491{
0e2ff151 3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3493 _result = (wxGauge *)new_wxPreGauge();
e6056257 3494
0e2ff151 3495 wxPyEndAllowThreads(__tstate);
e6056257
RD
3496 if (PyErr_Occurred()) return NULL;
3497} if (_result) {
3498 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3499 _resultobj = Py_BuildValue("s",_ptemp);
3500 } else {
3501 Py_INCREF(Py_None);
3502 _resultobj = Py_None;
3503 }
3504 return _resultobj;
3505}
3506
3507#define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3508static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3509 PyObject * _resultobj;
3510 bool _result;
3511 wxGauge * _arg0;
3512 wxWindow * _arg1;
3513 wxWindowID _arg2;
3514 int _arg3;
3515 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3516 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3517 long _arg6 = (long ) wxGA_HORIZONTAL;
3518 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 3519 wxString * _arg8 = (wxString *) &wxPyGaugeNameStr;
e6056257
RD
3520 PyObject * _argo0 = 0;
3521 PyObject * _argo1 = 0;
3522 wxPoint temp;
3523 PyObject * _obj4 = 0;
3524 wxSize temp0;
3525 PyObject * _obj5 = 0;
3526 PyObject * _argo7 = 0;
c3bfa1cb 3527 PyObject * _obj8 = 0;
e6056257
RD
3528 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
3529
3530 self = self;
c3bfa1cb 3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOO:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
3532 return NULL;
3533 if (_argo0) {
3534 if (_argo0 == Py_None) { _arg0 = NULL; }
3535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3537 return NULL;
3538 }
3539 }
3540 if (_argo1) {
3541 if (_argo1 == Py_None) { _arg1 = NULL; }
3542 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3544 return NULL;
3545 }
3546 }
3547 if (_obj4)
3548{
3549 _arg4 = &temp;
3550 if (! wxPoint_helper(_obj4, &_arg4))
3551 return NULL;
3552}
3553 if (_obj5)
3554{
3555 _arg5 = &temp0;
3556 if (! wxSize_helper(_obj5, &_arg5))
3557 return NULL;
3558}
3559 if (_argo7) {
7108497a 3560 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
3561 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3562 return NULL;
3563 }
3564 }
c3bfa1cb
RD
3565 if (_obj8)
3566{
3567 _arg8 = wxString_in_helper(_obj8);
3568 if (_arg8 == NULL)
3569 return NULL;
3570}
e6056257 3571{
0e2ff151 3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 3573 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 3574
0e2ff151 3575 wxPyEndAllowThreads(__tstate);
e6056257
RD
3576 if (PyErr_Occurred()) return NULL;
3577} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
3578{
3579 if (_obj8)
3580 delete _arg8;
3581}
e6056257
RD
3582 return _resultobj;
3583}
3584
3585#define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3586static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3587 PyObject * _resultobj;
3588 int _result;
3589 wxGauge * _arg0;
3590 PyObject * _argo0 = 0;
3591 char *_kwnames[] = { "self", NULL };
3592
3593 self = self;
3594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
3595 return NULL;
3596 if (_argo0) {
3597 if (_argo0 == Py_None) { _arg0 = NULL; }
3598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3600 return NULL;
3601 }
3602 }
3603{
0e2ff151 3604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3605 _result = (int )wxGauge_GetBezelFace(_arg0);
e6056257 3606
0e2ff151 3607 wxPyEndAllowThreads(__tstate);
e6056257
RD
3608 if (PyErr_Occurred()) return NULL;
3609} _resultobj = Py_BuildValue("i",_result);
3610 return _resultobj;
3611}
3612
3613#define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3614static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject * _resultobj;
3616 int _result;
3617 wxGauge * _arg0;
3618 PyObject * _argo0 = 0;
3619 char *_kwnames[] = { "self", NULL };
3620
3621 self = self;
3622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
3623 return NULL;
3624 if (_argo0) {
3625 if (_argo0 == Py_None) { _arg0 = NULL; }
3626 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3627 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3628 return NULL;
3629 }
3630 }
3631{
0e2ff151 3632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3633 _result = (int )wxGauge_GetRange(_arg0);
e6056257 3634
0e2ff151 3635 wxPyEndAllowThreads(__tstate);
e6056257
RD
3636 if (PyErr_Occurred()) return NULL;
3637} _resultobj = Py_BuildValue("i",_result);
3638 return _resultobj;
3639}
3640
3641#define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3642static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3643 PyObject * _resultobj;
3644 int _result;
3645 wxGauge * _arg0;
3646 PyObject * _argo0 = 0;
3647 char *_kwnames[] = { "self", NULL };
3648
3649 self = self;
3650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
3651 return NULL;
3652 if (_argo0) {
3653 if (_argo0 == Py_None) { _arg0 = NULL; }
3654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3656 return NULL;
3657 }
3658 }
3659{
0e2ff151 3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3661 _result = (int )wxGauge_GetShadowWidth(_arg0);
e6056257 3662
0e2ff151 3663 wxPyEndAllowThreads(__tstate);
e6056257
RD
3664 if (PyErr_Occurred()) return NULL;
3665} _resultobj = Py_BuildValue("i",_result);
3666 return _resultobj;
3667}
3668
3669#define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3670static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3671 PyObject * _resultobj;
3672 int _result;
3673 wxGauge * _arg0;
3674 PyObject * _argo0 = 0;
3675 char *_kwnames[] = { "self", NULL };
3676
3677 self = self;
3678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
3679 return NULL;
3680 if (_argo0) {
3681 if (_argo0 == Py_None) { _arg0 = NULL; }
3682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3684 return NULL;
3685 }
3686 }
3687{
0e2ff151 3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3689 _result = (int )wxGauge_GetValue(_arg0);
e6056257 3690
0e2ff151 3691 wxPyEndAllowThreads(__tstate);
e6056257
RD
3692 if (PyErr_Occurred()) return NULL;
3693} _resultobj = Py_BuildValue("i",_result);
3694 return _resultobj;
3695}
3696
3697#define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3698static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3699 PyObject * _resultobj;
3700 wxGauge * _arg0;
3701 int _arg1;
3702 PyObject * _argo0 = 0;
3703 char *_kwnames[] = { "self","width", NULL };
3704
3705 self = self;
3706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
3707 return NULL;
3708 if (_argo0) {
3709 if (_argo0 == Py_None) { _arg0 = NULL; }
3710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3712 return NULL;
3713 }
3714 }
3715{
0e2ff151 3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3717 wxGauge_SetBezelFace(_arg0,_arg1);
e6056257 3718
0e2ff151 3719 wxPyEndAllowThreads(__tstate);
e6056257
RD
3720 if (PyErr_Occurred()) return NULL;
3721} Py_INCREF(Py_None);
3722 _resultobj = Py_None;
3723 return _resultobj;
3724}
3725
3726#define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3727static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3728 PyObject * _resultobj;
3729 wxGauge * _arg0;
3730 int _arg1;
3731 PyObject * _argo0 = 0;
3732 char *_kwnames[] = { "self","range", NULL };
3733
3734 self = self;
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
3736 return NULL;
3737 if (_argo0) {
3738 if (_argo0 == Py_None) { _arg0 = NULL; }
3739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3741 return NULL;
3742 }
3743 }
3744{
0e2ff151 3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3746 wxGauge_SetRange(_arg0,_arg1);
e6056257 3747
0e2ff151 3748 wxPyEndAllowThreads(__tstate);
e6056257
RD
3749 if (PyErr_Occurred()) return NULL;
3750} Py_INCREF(Py_None);
3751 _resultobj = Py_None;
3752 return _resultobj;
3753}
3754
3755#define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3756static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3757 PyObject * _resultobj;
3758 wxGauge * _arg0;
3759 int _arg1;
3760 PyObject * _argo0 = 0;
3761 char *_kwnames[] = { "self","width", NULL };
3762
3763 self = self;
3764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
3765 return NULL;
3766 if (_argo0) {
3767 if (_argo0 == Py_None) { _arg0 = NULL; }
3768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3770 return NULL;
3771 }
3772 }
3773{
0e2ff151 3774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3775 wxGauge_SetShadowWidth(_arg0,_arg1);
e6056257 3776
0e2ff151 3777 wxPyEndAllowThreads(__tstate);
e6056257
RD
3778 if (PyErr_Occurred()) return NULL;
3779} Py_INCREF(Py_None);
3780 _resultobj = Py_None;
3781 return _resultobj;
3782}
3783
3784#define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3785static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3786 PyObject * _resultobj;
3787 wxGauge * _arg0;
3788 int _arg1;
3789 PyObject * _argo0 = 0;
3790 char *_kwnames[] = { "self","pos", NULL };
3791
3792 self = self;
3793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
3794 return NULL;
3795 if (_argo0) {
3796 if (_argo0 == Py_None) { _arg0 = NULL; }
3797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3799 return NULL;
3800 }
3801 }
3802{
0e2ff151 3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3804 wxGauge_SetValue(_arg0,_arg1);
e6056257 3805
0e2ff151 3806 wxPyEndAllowThreads(__tstate);
e6056257
RD
3807 if (PyErr_Occurred()) return NULL;
3808} Py_INCREF(Py_None);
3809 _resultobj = Py_None;
3810 return _resultobj;
3811}
3812
3813static void *SwigwxStaticBoxTowxControl(void *ptr) {
3814 wxStaticBox *src;
3815 wxControl *dest;
3816 src = (wxStaticBox *) ptr;
3817 dest = (wxControl *) src;
3818 return (void *) dest;
3819}
3820
3821static void *SwigwxStaticBoxTowxWindow(void *ptr) {
3822 wxStaticBox *src;
3823 wxWindow *dest;
3824 src = (wxStaticBox *) ptr;
3825 dest = (wxWindow *) src;
3826 return (void *) dest;
3827}
3828
3829static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
3830 wxStaticBox *src;
3831 wxEvtHandler *dest;
3832 src = (wxStaticBox *) ptr;
3833 dest = (wxEvtHandler *) src;
3834 return (void *) dest;
3835}
3836
3837static void *SwigwxStaticBoxTowxObject(void *ptr) {
3838 wxStaticBox *src;
3839 wxObject *dest;
3840 src = (wxStaticBox *) ptr;
3841 dest = (wxObject *) src;
3842 return (void *) dest;
3843}
3844
3845#define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3846static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3847 PyObject * _resultobj;
3848 wxStaticBox * _result;
3849 wxWindow * _arg0;
3850 wxWindowID _arg1;
3851 wxString * _arg2;
3852 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3853 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3854 long _arg5 = (long ) 0;
c3bfa1cb 3855 wxString * _arg6 = (wxString *) &wxPyStaticBoxNameStr;
e6056257
RD
3856 PyObject * _argo0 = 0;
3857 PyObject * _obj2 = 0;
3858 wxPoint temp;
3859 PyObject * _obj3 = 0;
3860 wxSize temp0;
3861 PyObject * _obj4 = 0;
c3bfa1cb 3862 PyObject * _obj6 = 0;
e6056257
RD
3863 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
3864 char _ptemp[128];
3865
3866 self = self;
c3bfa1cb 3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
e6056257
RD
3868 return NULL;
3869 if (_argo0) {
3870 if (_argo0 == Py_None) { _arg0 = NULL; }
3871 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3872 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3873 return NULL;
3874 }
3875 }
3876{
6824d4f9
RD
3877 _arg2 = wxString_in_helper(_obj2);
3878 if (_arg2 == NULL)
e6056257 3879 return NULL;
e6056257
RD
3880}
3881 if (_obj3)
3882{
3883 _arg3 = &temp;
3884 if (! wxPoint_helper(_obj3, &_arg3))
3885 return NULL;
3886}
3887 if (_obj4)
3888{
3889 _arg4 = &temp0;
3890 if (! wxSize_helper(_obj4, &_arg4))
3891 return NULL;
c3bfa1cb
RD
3892}
3893 if (_obj6)
3894{
3895 _arg6 = wxString_in_helper(_obj6);
3896 if (_arg6 == NULL)
3897 return NULL;
e6056257
RD
3898}
3899{
0e2ff151 3900 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 3901 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
e6056257 3902
0e2ff151 3903 wxPyEndAllowThreads(__tstate);
e6056257
RD
3904 if (PyErr_Occurred()) return NULL;
3905} if (_result) {
3906 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3907 _resultobj = Py_BuildValue("s",_ptemp);
3908 } else {
3909 Py_INCREF(Py_None);
3910 _resultobj = Py_None;
3911 }
3912{
3913 if (_obj2)
3914 delete _arg2;
c3bfa1cb
RD
3915}
3916{
3917 if (_obj6)
3918 delete _arg6;
e6056257
RD
3919}
3920 return _resultobj;
3921}
3922
3923#define new_wxPreStaticBox() (new wxStaticBox())
3924static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3925 PyObject * _resultobj;
3926 wxStaticBox * _result;
3927 char *_kwnames[] = { NULL };
3928 char _ptemp[128];
3929
3930 self = self;
3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
3932 return NULL;
3933{
0e2ff151 3934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3935 _result = (wxStaticBox *)new_wxPreStaticBox();
e6056257 3936
0e2ff151 3937 wxPyEndAllowThreads(__tstate);
e6056257
RD
3938 if (PyErr_Occurred()) return NULL;
3939} if (_result) {
3940 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3941 _resultobj = Py_BuildValue("s",_ptemp);
3942 } else {
3943 Py_INCREF(Py_None);
3944 _resultobj = Py_None;
3945 }
3946 return _resultobj;
3947}
3948
3949#define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3950static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3951 PyObject * _resultobj;
3952 bool _result;
3953 wxStaticBox * _arg0;
3954 wxWindow * _arg1;
3955 wxWindowID _arg2;
3956 wxString * _arg3;
3957 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3958 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3959 long _arg6 = (long ) 0;
c3bfa1cb 3960 wxString * _arg7 = (wxString *) &wxPyStaticBoxNameStr;
e6056257
RD
3961 PyObject * _argo0 = 0;
3962 PyObject * _argo1 = 0;
3963 PyObject * _obj3 = 0;
3964 wxPoint temp;
3965 PyObject * _obj4 = 0;
3966 wxSize temp0;
3967 PyObject * _obj5 = 0;
c3bfa1cb 3968 PyObject * _obj7 = 0;
e6056257
RD
3969 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
3970
3971 self = self;
c3bfa1cb 3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
e6056257
RD
3973 return NULL;
3974 if (_argo0) {
3975 if (_argo0 == Py_None) { _arg0 = NULL; }
3976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
3977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3978 return NULL;
3979 }
3980 }
3981 if (_argo1) {
3982 if (_argo1 == Py_None) { _arg1 = NULL; }
3983 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3984 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3985 return NULL;
3986 }
3987 }
3988{
6824d4f9
RD
3989 _arg3 = wxString_in_helper(_obj3);
3990 if (_arg3 == NULL)
e6056257 3991 return NULL;
e6056257
RD
3992}
3993 if (_obj4)
3994{
3995 _arg4 = &temp;
3996 if (! wxPoint_helper(_obj4, &_arg4))
3997 return NULL;
3998}
3999 if (_obj5)
4000{
4001 _arg5 = &temp0;
4002 if (! wxSize_helper(_obj5, &_arg5))
4003 return NULL;
c3bfa1cb
RD
4004}
4005 if (_obj7)
4006{
4007 _arg7 = wxString_in_helper(_obj7);
4008 if (_arg7 == NULL)
4009 return NULL;
e6056257
RD
4010}
4011{
0e2ff151 4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 4013 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
e6056257 4014
0e2ff151 4015 wxPyEndAllowThreads(__tstate);
e6056257
RD
4016 if (PyErr_Occurred()) return NULL;
4017} _resultobj = Py_BuildValue("i",_result);
4018{
4019 if (_obj3)
4020 delete _arg3;
c3bfa1cb
RD
4021}
4022{
4023 if (_obj7)
4024 delete _arg7;
e6056257
RD
4025}
4026 return _resultobj;
4027}
4028
4029static void *SwigwxStaticLineTowxControl(void *ptr) {
4030 wxStaticLine *src;
4031 wxControl *dest;
4032 src = (wxStaticLine *) ptr;
4033 dest = (wxControl *) src;
4034 return (void *) dest;
4035}
4036
4037static void *SwigwxStaticLineTowxWindow(void *ptr) {
4038 wxStaticLine *src;
4039 wxWindow *dest;
4040 src = (wxStaticLine *) ptr;
4041 dest = (wxWindow *) src;
4042 return (void *) dest;
4043}
4044
4045static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
4046 wxStaticLine *src;
4047 wxEvtHandler *dest;
4048 src = (wxStaticLine *) ptr;
4049 dest = (wxEvtHandler *) src;
4050 return (void *) dest;
4051}
4052
4053static void *SwigwxStaticLineTowxObject(void *ptr) {
4054 wxStaticLine *src;
4055 wxObject *dest;
4056 src = (wxStaticLine *) ptr;
4057 dest = (wxObject *) src;
4058 return (void *) dest;
4059}
4060
4061#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4062static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4063 PyObject * _resultobj;
4064 wxStaticLine * _result;
4065 wxWindow * _arg0;
4066 wxWindowID _arg1;
4067 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4068 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4069 long _arg4 = (long ) wxLI_HORIZONTAL;
c3bfa1cb 4070 wxString * _arg5 = (wxString *) &wxPyStaticTextNameStr;
e6056257
RD
4071 PyObject * _argo0 = 0;
4072 wxPoint temp;
4073 PyObject * _obj2 = 0;
4074 wxSize temp0;
4075 PyObject * _obj3 = 0;
c3bfa1cb 4076 PyObject * _obj5 = 0;
e6056257
RD
4077 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4078 char _ptemp[128];
4079
4080 self = self;
c3bfa1cb 4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
e6056257
RD
4082 return NULL;
4083 if (_argo0) {
4084 if (_argo0 == Py_None) { _arg0 = NULL; }
4085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4087 return NULL;
4088 }
4089 }
4090 if (_obj2)
4091{
4092 _arg2 = &temp;
4093 if (! wxPoint_helper(_obj2, &_arg2))
4094 return NULL;
4095}
4096 if (_obj3)
4097{
4098 _arg3 = &temp0;
4099 if (! wxSize_helper(_obj3, &_arg3))
4100 return NULL;
c3bfa1cb
RD
4101}
4102 if (_obj5)
4103{
4104 _arg5 = wxString_in_helper(_obj5);
4105 if (_arg5 == NULL)
4106 return NULL;
e6056257
RD
4107}
4108{
0e2ff151 4109 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 4110 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
e6056257 4111
0e2ff151 4112 wxPyEndAllowThreads(__tstate);
e6056257
RD
4113 if (PyErr_Occurred()) return NULL;
4114} if (_result) {
4115 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4116 _resultobj = Py_BuildValue("s",_ptemp);
4117 } else {
4118 Py_INCREF(Py_None);
4119 _resultobj = Py_None;
4120 }
c3bfa1cb
RD
4121{
4122 if (_obj5)
4123 delete _arg5;
4124}
e6056257
RD
4125 return _resultobj;
4126}
4127
4128#define new_wxPreStaticLine() (new wxStaticLine())
4129static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject * _resultobj;
4131 wxStaticLine * _result;
4132 char *_kwnames[] = { NULL };
4133 char _ptemp[128];
4134
4135 self = self;
4136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4137 return NULL;
4138{
0e2ff151 4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4140 _result = (wxStaticLine *)new_wxPreStaticLine();
e6056257 4141
0e2ff151 4142 wxPyEndAllowThreads(__tstate);
e6056257
RD
4143 if (PyErr_Occurred()) return NULL;
4144} if (_result) {
4145 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4146 _resultobj = Py_BuildValue("s",_ptemp);
4147 } else {
4148 Py_INCREF(Py_None);
4149 _resultobj = Py_None;
4150 }
4151 return _resultobj;
4152}
4153
4154#define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4155static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4156 PyObject * _resultobj;
4157 bool _result;
4158 wxStaticLine * _arg0;
4159 wxWindow * _arg1;
4160 wxWindowID _arg2;
4161 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4162 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4163 long _arg5 = (long ) wxLI_HORIZONTAL;
c3bfa1cb 4164 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
e6056257
RD
4165 PyObject * _argo0 = 0;
4166 PyObject * _argo1 = 0;
4167 wxPoint temp;
4168 PyObject * _obj3 = 0;
4169 wxSize temp0;
4170 PyObject * _obj4 = 0;
c3bfa1cb 4171 PyObject * _obj6 = 0;
e6056257
RD
4172 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4173
4174 self = self;
c3bfa1cb 4175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
e6056257
RD
4176 return NULL;
4177 if (_argo0) {
4178 if (_argo0 == Py_None) { _arg0 = NULL; }
4179 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4180 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4181 return NULL;
4182 }
4183 }
4184 if (_argo1) {
4185 if (_argo1 == Py_None) { _arg1 = NULL; }
4186 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4187 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4188 return NULL;
4189 }
4190 }
4191 if (_obj3)
4192{
4193 _arg3 = &temp;
4194 if (! wxPoint_helper(_obj3, &_arg3))
4195 return NULL;
4196}
4197 if (_obj4)
4198{
4199 _arg4 = &temp0;
4200 if (! wxSize_helper(_obj4, &_arg4))
4201 return NULL;
c3bfa1cb
RD
4202}
4203 if (_obj6)
4204{
4205 _arg6 = wxString_in_helper(_obj6);
4206 if (_arg6 == NULL)
4207 return NULL;
e6056257
RD
4208}
4209{
0e2ff151 4210 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 4211 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
e6056257 4212
0e2ff151 4213 wxPyEndAllowThreads(__tstate);
e6056257
RD
4214 if (PyErr_Occurred()) return NULL;
4215} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
4216{
4217 if (_obj6)
4218 delete _arg6;
4219}
e6056257
RD
4220 return _resultobj;
4221}
4222
4223static void *SwigwxStaticTextTowxControl(void *ptr) {
4224 wxStaticText *src;
4225 wxControl *dest;
4226 src = (wxStaticText *) ptr;
4227 dest = (wxControl *) src;
4228 return (void *) dest;
4229}
4230
4231static void *SwigwxStaticTextTowxWindow(void *ptr) {
4232 wxStaticText *src;
4233 wxWindow *dest;
4234 src = (wxStaticText *) ptr;
4235 dest = (wxWindow *) src;
4236 return (void *) dest;
4237}
4238
4239static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4240 wxStaticText *src;
4241 wxEvtHandler *dest;
4242 src = (wxStaticText *) ptr;
4243 dest = (wxEvtHandler *) src;
4244 return (void *) dest;
4245}
4246
4247static void *SwigwxStaticTextTowxObject(void *ptr) {
4248 wxStaticText *src;
4249 wxObject *dest;
4250 src = (wxStaticText *) ptr;
4251 dest = (wxObject *) src;
4252 return (void *) dest;
4253}
4254
4255#define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4256static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4257 PyObject * _resultobj;
4258 wxStaticText * _result;
4259 wxWindow * _arg0;
4260 wxWindowID _arg1;
4261 wxString * _arg2;
4262 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4263 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4264 long _arg5 = (long ) 0;
c3bfa1cb 4265 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
e6056257
RD
4266 PyObject * _argo0 = 0;
4267 PyObject * _obj2 = 0;
4268 wxPoint temp;
4269 PyObject * _obj3 = 0;
4270 wxSize temp0;
4271 PyObject * _obj4 = 0;
c3bfa1cb 4272 PyObject * _obj6 = 0;
e6056257
RD
4273 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
4274 char _ptemp[128];
4275
4276 self = self;
c3bfa1cb 4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
e6056257
RD
4278 return NULL;
4279 if (_argo0) {
4280 if (_argo0 == Py_None) { _arg0 = NULL; }
4281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4283 return NULL;
4284 }
4285 }
4286{
6824d4f9
RD
4287 _arg2 = wxString_in_helper(_obj2);
4288 if (_arg2 == NULL)
e6056257 4289 return NULL;
e6056257
RD
4290}
4291 if (_obj3)
4292{
4293 _arg3 = &temp;
4294 if (! wxPoint_helper(_obj3, &_arg3))
4295 return NULL;
4296}
4297 if (_obj4)
4298{
4299 _arg4 = &temp0;
4300 if (! wxSize_helper(_obj4, &_arg4))
4301 return NULL;
c3bfa1cb
RD
4302}
4303 if (_obj6)
4304{
4305 _arg6 = wxString_in_helper(_obj6);
4306 if (_arg6 == NULL)
4307 return NULL;
e6056257
RD
4308}
4309{
0e2ff151 4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 4311 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
e6056257 4312
0e2ff151 4313 wxPyEndAllowThreads(__tstate);
e6056257
RD
4314 if (PyErr_Occurred()) return NULL;
4315} if (_result) {
4316 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4317 _resultobj = Py_BuildValue("s",_ptemp);
4318 } else {
4319 Py_INCREF(Py_None);
4320 _resultobj = Py_None;
4321 }
4322{
4323 if (_obj2)
4324 delete _arg2;
c3bfa1cb
RD
4325}
4326{
4327 if (_obj6)
4328 delete _arg6;
e6056257
RD
4329}
4330 return _resultobj;
4331}
4332
4333#define new_wxPreStaticText() (new wxStaticText())
4334static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4335 PyObject * _resultobj;
4336 wxStaticText * _result;
4337 char *_kwnames[] = { NULL };
4338 char _ptemp[128];
4339
4340 self = self;
4341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4342 return NULL;
4343{
0e2ff151 4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4345 _result = (wxStaticText *)new_wxPreStaticText();
e6056257 4346
0e2ff151 4347 wxPyEndAllowThreads(__tstate);
e6056257
RD
4348 if (PyErr_Occurred()) return NULL;
4349} if (_result) {
4350 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4351 _resultobj = Py_BuildValue("s",_ptemp);
4352 } else {
4353 Py_INCREF(Py_None);
4354 _resultobj = Py_None;
4355 }
4356 return _resultobj;
4357}
4358
4359#define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4360static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4361 PyObject * _resultobj;
4362 bool _result;
4363 wxStaticText * _arg0;
4364 wxWindow * _arg1;
4365 wxWindowID _arg2;
4366 wxString * _arg3;
4367 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4368 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4369 long _arg6 = (long ) 0;
c3bfa1cb 4370 wxString * _arg7 = (wxString *) &wxPyStaticTextNameStr;
e6056257
RD
4371 PyObject * _argo0 = 0;
4372 PyObject * _argo1 = 0;
4373 PyObject * _obj3 = 0;
4374 wxPoint temp;
4375 PyObject * _obj4 = 0;
4376 wxSize temp0;
4377 PyObject * _obj5 = 0;
c3bfa1cb 4378 PyObject * _obj7 = 0;
e6056257
RD
4379 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4380
4381 self = self;
c3bfa1cb 4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
e6056257
RD
4383 return NULL;
4384 if (_argo0) {
4385 if (_argo0 == Py_None) { _arg0 = NULL; }
4386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4388 return NULL;
4389 }
4390 }
4391 if (_argo1) {
4392 if (_argo1 == Py_None) { _arg1 = NULL; }
4393 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4395 return NULL;
4396 }
4397 }
4398{
6824d4f9
RD
4399 _arg3 = wxString_in_helper(_obj3);
4400 if (_arg3 == NULL)
e6056257 4401 return NULL;
e6056257
RD
4402}
4403 if (_obj4)
4404{
4405 _arg4 = &temp;
4406 if (! wxPoint_helper(_obj4, &_arg4))
4407 return NULL;
4408}
4409 if (_obj5)
4410{
4411 _arg5 = &temp0;
4412 if (! wxSize_helper(_obj5, &_arg5))
4413 return NULL;
c3bfa1cb
RD
4414}
4415 if (_obj7)
4416{
4417 _arg7 = wxString_in_helper(_obj7);
4418 if (_arg7 == NULL)
4419 return NULL;
e6056257
RD
4420}
4421{
0e2ff151 4422 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 4423 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
e6056257 4424
0e2ff151 4425 wxPyEndAllowThreads(__tstate);
e6056257
RD
4426 if (PyErr_Occurred()) return NULL;
4427} _resultobj = Py_BuildValue("i",_result);
4428{
4429 if (_obj3)
4430 delete _arg3;
c3bfa1cb
RD
4431}
4432{
4433 if (_obj7)
4434 delete _arg7;
e6056257
RD
4435}
4436 return _resultobj;
4437}
4438
4439#define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4440static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4441 PyObject * _resultobj;
4442 wxString * _result;
4443 wxStaticText * _arg0;
4444 PyObject * _argo0 = 0;
4445 char *_kwnames[] = { "self", NULL };
4446
4447 self = self;
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
4449 return NULL;
4450 if (_argo0) {
4451 if (_argo0 == Py_None) { _arg0 = NULL; }
4452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4454 return NULL;
4455 }
4456 }
4457{
0e2ff151 4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4459 _result = new wxString (wxStaticText_GetLabel(_arg0));
e6056257 4460
0e2ff151 4461 wxPyEndAllowThreads(__tstate);
e6056257
RD
4462 if (PyErr_Occurred()) return NULL;
4463}{
6824d4f9 4464#if wxUSE_UNICODE
7108497a 4465 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 4466#else
e6056257 4467 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 4468#endif
e6056257
RD
4469}
4470{
4471 delete _result;
4472}
4473 return _resultobj;
4474}
4475
4476#define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4477static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4478 PyObject * _resultobj;
4479 wxStaticText * _arg0;
4480 wxString * _arg1;
4481 PyObject * _argo0 = 0;
4482 PyObject * _obj1 = 0;
4483 char *_kwnames[] = { "self","label", NULL };
4484
4485 self = self;
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
4487 return NULL;
4488 if (_argo0) {
4489 if (_argo0 == Py_None) { _arg0 = NULL; }
4490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4492 return NULL;
4493 }
4494 }
4495{
6824d4f9
RD
4496 _arg1 = wxString_in_helper(_obj1);
4497 if (_arg1 == NULL)
e6056257 4498 return NULL;
e6056257
RD
4499}
4500{
0e2ff151 4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4502 wxStaticText_SetLabel(_arg0,*_arg1);
e6056257 4503
0e2ff151 4504 wxPyEndAllowThreads(__tstate);
e6056257
RD
4505 if (PyErr_Occurred()) return NULL;
4506} Py_INCREF(Py_None);
4507 _resultobj = Py_None;
4508{
4509 if (_obj1)
4510 delete _arg1;
4511}
4512 return _resultobj;
4513}
4514
4515static void *SwigwxListBoxTowxControlWithItems(void *ptr) {
4516 wxListBox *src;
4517 wxControlWithItems *dest;
4518 src = (wxListBox *) ptr;
4519 dest = (wxControlWithItems *) src;
4520 return (void *) dest;
4521}
4522
4523static void *SwigwxListBoxTowxControl(void *ptr) {
4524 wxListBox *src;
4525 wxControl *dest;
4526 src = (wxListBox *) ptr;
4527 dest = (wxControl *) src;
4528 return (void *) dest;
4529}
4530
4531static void *SwigwxListBoxTowxWindow(void *ptr) {
4532 wxListBox *src;
4533 wxWindow *dest;
4534 src = (wxListBox *) ptr;
4535 dest = (wxWindow *) src;
4536 return (void *) dest;
4537}
4538
4539static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
4540 wxListBox *src;
4541 wxEvtHandler *dest;
4542 src = (wxListBox *) ptr;
4543 dest = (wxEvtHandler *) src;
4544 return (void *) dest;
4545}
4546
4547static void *SwigwxListBoxTowxObject(void *ptr) {
4548 wxListBox *src;
4549 wxObject *dest;
4550 src = (wxListBox *) ptr;
4551 dest = (wxObject *) src;
4552 return (void *) dest;
4553}
4554
4555#define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4556static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4557 PyObject * _resultobj;
4558 wxListBox * _result;
4559 wxWindow * _arg0;
4560 wxWindowID _arg1;
4561 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4562 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4563 int _arg4;
4564 wxString * _arg5 = (wxString *) NULL;
4565 long _arg6 = (long ) 0;
4566 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 4567 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
e6056257
RD
4568 PyObject * _argo0 = 0;
4569 wxPoint temp;
4570 PyObject * _obj2 = 0;
4571 wxSize temp0;
4572 PyObject * _obj3 = 0;
4573 PyObject * _obj5 = 0;
4574 PyObject * _argo7 = 0;
c3bfa1cb 4575 PyObject * _obj8 = 0;
e6056257
RD
4576 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4577 char _ptemp[128];
4578
4579 self = self;
c3bfa1cb 4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
4581 return NULL;
4582 if (_argo0) {
4583 if (_argo0 == Py_None) { _arg0 = NULL; }
4584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4586 return NULL;
4587 }
4588 }
4589 if (_obj2)
4590{
4591 _arg2 = &temp;
4592 if (! wxPoint_helper(_obj2, &_arg2))
4593 return NULL;
4594}
4595 if (_obj3)
4596{
4597 _arg3 = &temp0;
4598 if (! wxSize_helper(_obj3, &_arg3))
4599 return NULL;
4600}
4601 if (_obj5)
4602{
4603 _arg5 = wxString_LIST_helper(_obj5);
4604 if (_arg5 == NULL) {
4605 return NULL;
4606 }
4607}
4608 if (_argo7) {
7108497a 4609 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
4610 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4611 return NULL;
4612 }
4613 }
c3bfa1cb
RD
4614 if (_obj8)
4615{
4616 _arg8 = wxString_in_helper(_obj8);
4617 if (_arg8 == NULL)
4618 return NULL;
4619}
e6056257
RD
4620{
4621 if (_obj5) {
4622 _arg4 = PyList_Size(_obj5);
4623 }
4624 else {
4625 _arg4 = 0;
4626 }
4627}
4628{
0e2ff151 4629 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 4630 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
e6056257 4631
0e2ff151 4632 wxPyEndAllowThreads(__tstate);
e6056257
RD
4633 if (PyErr_Occurred()) return NULL;
4634} if (_result) {
4635 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4636 _resultobj = Py_BuildValue("s",_ptemp);
4637 } else {
4638 Py_INCREF(Py_None);
4639 _resultobj = Py_None;
4640 }
4641{
4642 delete [] _arg5;
c3bfa1cb
RD
4643}
4644{
4645 if (_obj8)
4646 delete _arg8;
e6056257
RD
4647}
4648 return _resultobj;
4649}
4650
4651#define new_wxPreListBox() (new wxListBox())
4652static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4653 PyObject * _resultobj;
4654 wxListBox * _result;
4655 char *_kwnames[] = { NULL };
4656 char _ptemp[128];
4657
4658 self = self;
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
4660 return NULL;
4661{
0e2ff151 4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4663 _result = (wxListBox *)new_wxPreListBox();
e6056257 4664
0e2ff151 4665 wxPyEndAllowThreads(__tstate);
e6056257
RD
4666 if (PyErr_Occurred()) return NULL;
4667} if (_result) {
4668 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4669 _resultobj = Py_BuildValue("s",_ptemp);
4670 } else {
4671 Py_INCREF(Py_None);
4672 _resultobj = Py_None;
4673 }
4674 return _resultobj;
4675}
4676
4677#define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4678static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4679 PyObject * _resultobj;
4680 bool _result;
4681 wxListBox * _arg0;
4682 wxWindow * _arg1;
4683 wxWindowID _arg2;
4684 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4685 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4686 int _arg5;
4687 wxString * _arg6 = (wxString *) NULL;
4688 long _arg7 = (long ) 0;
4689 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 4690 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
e6056257
RD
4691 PyObject * _argo0 = 0;
4692 PyObject * _argo1 = 0;
4693 wxPoint temp;
4694 PyObject * _obj3 = 0;
4695 wxSize temp0;
4696 PyObject * _obj4 = 0;
4697 PyObject * _obj6 = 0;
4698 PyObject * _argo8 = 0;
c3bfa1cb 4699 PyObject * _obj9 = 0;
e6056257
RD
4700 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
4701
4702 self = self;
c3bfa1cb 4703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
e6056257
RD
4704 return NULL;
4705 if (_argo0) {
4706 if (_argo0 == Py_None) { _arg0 = NULL; }
4707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4709 return NULL;
4710 }
4711 }
4712 if (_argo1) {
4713 if (_argo1 == Py_None) { _arg1 = NULL; }
4714 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4715 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4716 return NULL;
4717 }
4718 }
4719 if (_obj3)
4720{
4721 _arg3 = &temp;
4722 if (! wxPoint_helper(_obj3, &_arg3))
4723 return NULL;
4724}
4725 if (_obj4)
4726{
4727 _arg4 = &temp0;
4728 if (! wxSize_helper(_obj4, &_arg4))
4729 return NULL;
4730}
4731 if (_obj6)
4732{
4733 _arg6 = wxString_LIST_helper(_obj6);
4734 if (_arg6 == NULL) {
4735 return NULL;
4736 }
4737}
4738 if (_argo8) {
7108497a 4739 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
e6056257
RD
4740 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4741 return NULL;
4742 }
4743 }
c3bfa1cb
RD
4744 if (_obj9)
4745{
4746 _arg9 = wxString_in_helper(_obj9);
4747 if (_arg9 == NULL)
4748 return NULL;
4749}
e6056257
RD
4750{
4751 if (_obj6) {
4752 _arg5 = PyList_Size(_obj6);
4753 }
4754 else {
4755 _arg5 = 0;
4756 }
4757}
4758{
0e2ff151 4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 4760 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
e6056257 4761
0e2ff151 4762 wxPyEndAllowThreads(__tstate);
e6056257
RD
4763 if (PyErr_Occurred()) return NULL;
4764} _resultobj = Py_BuildValue("i",_result);
4765{
4766 delete [] _arg6;
c3bfa1cb
RD
4767}
4768{
4769 if (_obj9)
4770 delete _arg9;
e6056257
RD
4771}
4772 return _resultobj;
4773}
4774
4775#define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4776static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4777 PyObject * _resultobj;
4778 wxListBox * _arg0;
4779 PyObject * _argo0 = 0;
4780 char *_kwnames[] = { "self", NULL };
4781
4782 self = self;
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
4784 return NULL;
4785 if (_argo0) {
4786 if (_argo0 == Py_None) { _arg0 = NULL; }
4787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4789 return NULL;
4790 }
4791 }
4792{
0e2ff151 4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4794 wxListBox_Clear(_arg0);
e6056257 4795
0e2ff151 4796 wxPyEndAllowThreads(__tstate);
e6056257
RD
4797 if (PyErr_Occurred()) return NULL;
4798} Py_INCREF(Py_None);
4799 _resultobj = Py_None;
4800 return _resultobj;
4801}
4802
4803#define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4804static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject * _resultobj;
4806 wxListBox * _arg0;
4807 int _arg1;
4808 PyObject * _argo0 = 0;
4809 char *_kwnames[] = { "self","n", NULL };
4810
4811 self = self;
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
4813 return NULL;
4814 if (_argo0) {
4815 if (_argo0 == Py_None) { _arg0 = NULL; }
4816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4818 return NULL;
4819 }
4820 }
4821{
0e2ff151 4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4823 wxListBox_Deselect(_arg0,_arg1);
e6056257 4824
0e2ff151 4825 wxPyEndAllowThreads(__tstate);
e6056257
RD
4826 if (PyErr_Occurred()) return NULL;
4827} Py_INCREF(Py_None);
4828 _resultobj = Py_None;
4829 return _resultobj;
4830}
4831
4832static PyObject * wxListBox_GetSelections(wxListBox *self) {
4833 wxArrayInt lst;
4834 self->GetSelections(lst);
4835 PyObject *tup = PyTuple_New(lst.GetCount());
4836 for(size_t i=0; i<lst.GetCount(); i++) {
4837 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
4838 }
4839 return tup;
4840 }
4841static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject * _resultobj;
4843 PyObject * _result;
4844 wxListBox * _arg0;
4845 PyObject * _argo0 = 0;
4846 char *_kwnames[] = { "self", NULL };
4847
4848 self = self;
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
4850 return NULL;
4851 if (_argo0) {
4852 if (_argo0 == Py_None) { _arg0 = NULL; }
4853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4855 return NULL;
4856 }
4857 }
4858{
0e2ff151 4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4860 _result = (PyObject *)wxListBox_GetSelections(_arg0);
e6056257 4861
0e2ff151 4862 wxPyEndAllowThreads(__tstate);
e6056257
RD
4863 if (PyErr_Occurred()) return NULL;
4864}{
4865 _resultobj = _result;
4866}
4867 return _resultobj;
4868}
4869
4870#define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4871static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4872 PyObject * _resultobj;
4873 wxListBox * _arg0;
4874 int _arg1;
4875 wxString * _arg2;
4876 int _arg3;
4877 PyObject * _argo0 = 0;
4878 PyObject * _obj2 = 0;
4879 char *_kwnames[] = { "self","choices","pos", NULL };
4880
4881 self = self;
4882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
4883 return NULL;
4884 if (_argo0) {
4885 if (_argo0 == Py_None) { _arg0 = NULL; }
4886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4888 return NULL;
4889 }
4890 }
4891{
4892 _arg2 = wxString_LIST_helper(_obj2);
4893 if (_arg2 == NULL) {
4894 return NULL;
4895 }
4896}
4897{
4898 if (_obj2) {
4899 _arg1 = PyList_Size(_obj2);
4900 }
4901 else {
4902 _arg1 = 0;
4903 }
4904}
4905{
0e2ff151 4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4907 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
e6056257 4908
0e2ff151 4909 wxPyEndAllowThreads(__tstate);
e6056257
RD
4910 if (PyErr_Occurred()) return NULL;
4911} Py_INCREF(Py_None);
4912 _resultobj = Py_None;
4913{
4914 delete [] _arg2;
4915}
4916 return _resultobj;
4917}
4918
4919#define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4920static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4921 PyObject * _resultobj;
4922 bool _result;
4923 wxListBox * _arg0;
4924 int _arg1;
4925 PyObject * _argo0 = 0;
4926 char *_kwnames[] = { "self","n", NULL };
4927
4928 self = self;
4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
4930 return NULL;
4931 if (_argo0) {
4932 if (_argo0 == Py_None) { _arg0 = NULL; }
4933 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4935 return NULL;
4936 }
4937 }
4938{
0e2ff151 4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4940 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
e6056257 4941
0e2ff151 4942 wxPyEndAllowThreads(__tstate);
e6056257
RD
4943 if (PyErr_Occurred()) return NULL;
4944} _resultobj = Py_BuildValue("i",_result);
4945 return _resultobj;
4946}
4947
4948#define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4949static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
4950 PyObject * _resultobj;
4951 bool _result;
4952 wxListBox * _arg0;
4953 int _arg1;
4954 PyObject * _argo0 = 0;
4955 char *_kwnames[] = { "self","n", NULL };
4956
4957 self = self;
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
4959 return NULL;
4960 if (_argo0) {
4961 if (_argo0 == Py_None) { _arg0 = NULL; }
4962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4964 return NULL;
4965 }
4966 }
4967{
0e2ff151 4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 4969 _result = (bool )wxListBox_Selected(_arg0,_arg1);
e6056257 4970
0e2ff151 4971 wxPyEndAllowThreads(__tstate);
e6056257
RD
4972 if (PyErr_Occurred()) return NULL;
4973} _resultobj = Py_BuildValue("i",_result);
4974 return _resultobj;
4975}
4976
4977#define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4978static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4979 PyObject * _resultobj;
4980 wxListBox * _arg0;
4981 int _arg1;
4982 wxString * _arg2;
4983 PyObject * _argo0 = 0;
4984 PyObject * _obj2 = 0;
4985 char *_kwnames[] = { "self","choices", NULL };
4986
4987 self = self;
4988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
4989 return NULL;
4990 if (_argo0) {
4991 if (_argo0 == Py_None) { _arg0 = NULL; }
4992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4994 return NULL;
4995 }
4996 }
4997 if (_obj2)
4998{
4999 _arg2 = wxString_LIST_helper(_obj2);
5000 if (_arg2 == NULL) {
5001 return NULL;
5002 }
5003}
5004{
5005 if (_obj2) {
5006 _arg1 = PyList_Size(_obj2);
5007 }
5008 else {
5009 _arg1 = 0;
5010 }
5011}
5012{
0e2ff151 5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5014 wxListBox_Set(_arg0,_arg1,_arg2);
e6056257 5015
0e2ff151 5016 wxPyEndAllowThreads(__tstate);
e6056257
RD
5017 if (PyErr_Occurred()) return NULL;
5018} Py_INCREF(Py_None);
5019 _resultobj = Py_None;
5020{
5021 delete [] _arg2;
5022}
5023 return _resultobj;
5024}
5025
5026#define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5027static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5028 PyObject * _resultobj;
5029 wxListBox * _arg0;
5030 int _arg1;
5031 PyObject * _argo0 = 0;
5032 char *_kwnames[] = { "self","n", NULL };
5033
5034 self = self;
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
5036 return NULL;
5037 if (_argo0) {
5038 if (_argo0 == Py_None) { _arg0 = NULL; }
5039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5041 return NULL;
5042 }
5043 }
5044{
0e2ff151 5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5046 wxListBox_SetFirstItem(_arg0,_arg1);
e6056257 5047
0e2ff151 5048 wxPyEndAllowThreads(__tstate);
e6056257
RD
5049 if (PyErr_Occurred()) return NULL;
5050} Py_INCREF(Py_None);
5051 _resultobj = Py_None;
5052 return _resultobj;
5053}
5054
5055#define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5056static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject * _resultobj;
5058 wxListBox * _arg0;
5059 wxString * _arg1;
5060 PyObject * _argo0 = 0;
5061 PyObject * _obj1 = 0;
5062 char *_kwnames[] = { "self","string", NULL };
5063
5064 self = self;
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
5066 return NULL;
5067 if (_argo0) {
5068 if (_argo0 == Py_None) { _arg0 = NULL; }
5069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5071 return NULL;
5072 }
5073 }
5074{
6824d4f9
RD
5075 _arg1 = wxString_in_helper(_obj1);
5076 if (_arg1 == NULL)
e6056257 5077 return NULL;
e6056257
RD
5078}
5079{
0e2ff151 5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5081 wxListBox_SetFirstItemStr(_arg0,*_arg1);
e6056257 5082
0e2ff151 5083 wxPyEndAllowThreads(__tstate);
e6056257
RD
5084 if (PyErr_Occurred()) return NULL;
5085} Py_INCREF(Py_None);
5086 _resultobj = Py_None;
5087{
5088 if (_obj1)
5089 delete _arg1;
5090}
5091 return _resultobj;
5092}
5093
5094#define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5095static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject * _resultobj;
5097 wxListBox * _arg0;
5098 int _arg1;
5099 bool _arg2 = (bool ) TRUE;
5100 PyObject * _argo0 = 0;
5101 int tempbool2 = (int) TRUE;
5102 char *_kwnames[] = { "self","n","select", NULL };
5103
5104 self = self;
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
5106 return NULL;
5107 if (_argo0) {
5108 if (_argo0 == Py_None) { _arg0 = NULL; }
5109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5111 return NULL;
5112 }
5113 }
5114 _arg2 = (bool ) tempbool2;
5115{
0e2ff151 5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5117 wxListBox_SetSelection(_arg0,_arg1,_arg2);
e6056257 5118
0e2ff151 5119 wxPyEndAllowThreads(__tstate);
e6056257
RD
5120 if (PyErr_Occurred()) return NULL;
5121} Py_INCREF(Py_None);
5122 _resultobj = Py_None;
5123 return _resultobj;
5124}
5125
5126#define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5127static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
5128 PyObject * _resultobj;
5129 wxListBox * _arg0;
5130 int _arg1;
5131 wxString * _arg2;
5132 PyObject * _argo0 = 0;
5133 PyObject * _obj2 = 0;
5134 char *_kwnames[] = { "self","n","string", NULL };
5135
5136 self = self;
5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
5138 return NULL;
5139 if (_argo0) {
5140 if (_argo0 == Py_None) { _arg0 = NULL; }
5141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5143 return NULL;
5144 }
5145 }
5146{
6824d4f9
RD
5147 _arg2 = wxString_in_helper(_obj2);
5148 if (_arg2 == NULL)
e6056257 5149 return NULL;
e6056257
RD
5150}
5151{
0e2ff151 5152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5153 wxListBox_SetString(_arg0,_arg1,*_arg2);
e6056257 5154
0e2ff151 5155 wxPyEndAllowThreads(__tstate);
e6056257
RD
5156 if (PyErr_Occurred()) return NULL;
5157} Py_INCREF(Py_None);
5158 _resultobj = Py_None;
5159{
5160 if (_obj2)
5161 delete _arg2;
5162}
5163 return _resultobj;
5164}
5165
5166#define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5167static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject * _resultobj;
5169 wxListBox * _arg0;
5170 wxString * _arg1;
5171 bool _arg2 = (bool ) TRUE;
5172 PyObject * _argo0 = 0;
5173 PyObject * _obj1 = 0;
5174 int tempbool2 = (int) TRUE;
5175 char *_kwnames[] = { "self","string","select", NULL };
5176
5177 self = self;
5178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
5179 return NULL;
5180 if (_argo0) {
5181 if (_argo0 == Py_None) { _arg0 = NULL; }
5182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5184 return NULL;
5185 }
5186 }
5187{
6824d4f9
RD
5188 _arg1 = wxString_in_helper(_obj1);
5189 if (_arg1 == NULL)
e6056257 5190 return NULL;
e6056257
RD
5191}
5192 _arg2 = (bool ) tempbool2;
5193{
0e2ff151 5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5195 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
e6056257 5196
0e2ff151 5197 wxPyEndAllowThreads(__tstate);
e6056257
RD
5198 if (PyErr_Occurred()) return NULL;
5199} Py_INCREF(Py_None);
5200 _resultobj = Py_None;
5201{
5202 if (_obj1)
5203 delete _arg1;
5204}
5205 return _resultobj;
5206}
5207
5208static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5209 wxCheckListBox *src;
5210 wxListBox *dest;
5211 src = (wxCheckListBox *) ptr;
5212 dest = (wxListBox *) src;
5213 return (void *) dest;
5214}
5215
5216static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr) {
5217 wxCheckListBox *src;
5218 wxControlWithItems *dest;
5219 src = (wxCheckListBox *) ptr;
5220 dest = (wxControlWithItems *) src;
5221 return (void *) dest;
5222}
5223
5224static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5225 wxCheckListBox *src;
5226 wxControl *dest;
5227 src = (wxCheckListBox *) ptr;
5228 dest = (wxControl *) src;
5229 return (void *) dest;
5230}
5231
5232static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5233 wxCheckListBox *src;
5234 wxWindow *dest;
5235 src = (wxCheckListBox *) ptr;
5236 dest = (wxWindow *) src;
5237 return (void *) dest;
5238}
5239
5240static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5241 wxCheckListBox *src;
5242 wxEvtHandler *dest;
5243 src = (wxCheckListBox *) ptr;
5244 dest = (wxEvtHandler *) src;
5245 return (void *) dest;
5246}
5247
5248static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5249 wxCheckListBox *src;
5250 wxObject *dest;
5251 src = (wxCheckListBox *) ptr;
5252 dest = (wxObject *) src;
5253 return (void *) dest;
5254}
5255
5256#define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5257static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject * _resultobj;
5259 wxCheckListBox * _result;
5260 wxWindow * _arg0;
5261 wxWindowID _arg1;
5262 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5263 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5264 int _arg4 = (int ) 0;
5265 wxString * _arg5 = (wxString *) NULL;
5266 long _arg6 = (long ) 0;
5267 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 5268 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
e6056257
RD
5269 PyObject * _argo0 = 0;
5270 wxPoint temp;
5271 PyObject * _obj2 = 0;
5272 wxSize temp0;
5273 PyObject * _obj3 = 0;
5274 PyObject * _obj5 = 0;
5275 PyObject * _argo7 = 0;
c3bfa1cb 5276 PyObject * _obj8 = 0;
e6056257
RD
5277 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
5278 char _ptemp[128];
5279
5280 self = self;
c3bfa1cb 5281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
5282 return NULL;
5283 if (_argo0) {
5284 if (_argo0 == Py_None) { _arg0 = NULL; }
5285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5287 return NULL;
5288 }
5289 }
5290 if (_obj2)
5291{
5292 _arg2 = &temp;
5293 if (! wxPoint_helper(_obj2, &_arg2))
5294 return NULL;
5295}
5296 if (_obj3)
5297{
5298 _arg3 = &temp0;
5299 if (! wxSize_helper(_obj3, &_arg3))
5300 return NULL;
5301}
5302 if (_obj5)
5303{
5304 _arg5 = wxString_LIST_helper(_obj5);
5305 if (_arg5 == NULL) {
5306 return NULL;
5307 }
5308}
5309 if (_argo7) {
7108497a 5310 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
5311 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5312 return NULL;
5313 }
5314 }
c3bfa1cb
RD
5315 if (_obj8)
5316{
5317 _arg8 = wxString_in_helper(_obj8);
5318 if (_arg8 == NULL)
5319 return NULL;
5320}
e6056257
RD
5321{
5322 if (_obj5) {
5323 _arg4 = PyList_Size(_obj5);
5324 }
5325 else {
5326 _arg4 = 0;
5327 }
5328}
5329{
0e2ff151 5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 5331 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
e6056257 5332
0e2ff151 5333 wxPyEndAllowThreads(__tstate);
e6056257
RD
5334 if (PyErr_Occurred()) return NULL;
5335} if (_result) {
5336 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5337 _resultobj = Py_BuildValue("s",_ptemp);
5338 } else {
5339 Py_INCREF(Py_None);
5340 _resultobj = Py_None;
5341 }
5342{
5343 delete [] _arg5;
c3bfa1cb
RD
5344}
5345{
5346 if (_obj8)
5347 delete _arg8;
e6056257
RD
5348}
5349 return _resultobj;
5350}
5351
5352#define new_wxPreCheckListBox() (new wxCheckListBox())
5353static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject * _resultobj;
5355 wxCheckListBox * _result;
5356 char *_kwnames[] = { NULL };
5357 char _ptemp[128];
5358
5359 self = self;
5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
5361 return NULL;
5362{
0e2ff151 5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5364 _result = (wxCheckListBox *)new_wxPreCheckListBox();
e6056257 5365
0e2ff151 5366 wxPyEndAllowThreads(__tstate);
e6056257
RD
5367 if (PyErr_Occurred()) return NULL;
5368} if (_result) {
5369 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5370 _resultobj = Py_BuildValue("s",_ptemp);
5371 } else {
5372 Py_INCREF(Py_None);
5373 _resultobj = Py_None;
5374 }
5375 return _resultobj;
5376}
5377
5378#define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5379static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5380 PyObject * _resultobj;
5381 bool _result;
5382 wxCheckListBox * _arg0;
5383 wxWindow * _arg1;
5384 wxWindowID _arg2;
5385 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5386 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5387 int _arg5 = (int ) 0;
5388 wxString * _arg6 = (wxString *) NULL;
5389 long _arg7 = (long ) 0;
5390 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 5391 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
e6056257
RD
5392 PyObject * _argo0 = 0;
5393 PyObject * _argo1 = 0;
5394 wxPoint temp;
5395 PyObject * _obj3 = 0;
5396 wxSize temp0;
5397 PyObject * _obj4 = 0;
5398 PyObject * _obj6 = 0;
5399 PyObject * _argo8 = 0;
c3bfa1cb 5400 PyObject * _obj9 = 0;
e6056257
RD
5401 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5402
5403 self = self;
c3bfa1cb 5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
e6056257
RD
5405 return NULL;
5406 if (_argo0) {
5407 if (_argo0 == Py_None) { _arg0 = NULL; }
5408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5410 return NULL;
5411 }
5412 }
5413 if (_argo1) {
5414 if (_argo1 == Py_None) { _arg1 = NULL; }
5415 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5416 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5417 return NULL;
5418 }
5419 }
5420 if (_obj3)
5421{
5422 _arg3 = &temp;
5423 if (! wxPoint_helper(_obj3, &_arg3))
5424 return NULL;
5425}
5426 if (_obj4)
5427{
5428 _arg4 = &temp0;
5429 if (! wxSize_helper(_obj4, &_arg4))
5430 return NULL;
5431}
5432 if (_obj6)
5433{
5434 _arg6 = wxString_LIST_helper(_obj6);
5435 if (_arg6 == NULL) {
5436 return NULL;
5437 }
5438}
5439 if (_argo8) {
7108497a 5440 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
e6056257
RD
5441 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5442 return NULL;
5443 }
5444 }
c3bfa1cb
RD
5445 if (_obj9)
5446{
5447 _arg9 = wxString_in_helper(_obj9);
5448 if (_arg9 == NULL)
5449 return NULL;
5450}
e6056257
RD
5451{
5452 if (_obj6) {
5453 _arg5 = PyList_Size(_obj6);
5454 }
5455 else {
5456 _arg5 = 0;
5457 }
5458}
5459{
0e2ff151 5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 5461 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
e6056257 5462
0e2ff151 5463 wxPyEndAllowThreads(__tstate);
e6056257
RD
5464 if (PyErr_Occurred()) return NULL;
5465} _resultobj = Py_BuildValue("i",_result);
5466{
5467 delete [] _arg6;
c3bfa1cb
RD
5468}
5469{
5470 if (_obj9)
5471 delete _arg9;
e6056257
RD
5472}
5473 return _resultobj;
5474}
5475
5476#define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5477static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5478 PyObject * _resultobj;
5479 bool _result;
5480 wxCheckListBox * _arg0;
5481 int _arg1;
5482 PyObject * _argo0 = 0;
5483 char *_kwnames[] = { "self","uiIndex", NULL };
5484
5485 self = self;
5486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
5487 return NULL;
5488 if (_argo0) {
5489 if (_argo0 == Py_None) { _arg0 = NULL; }
5490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5492 return NULL;
5493 }
5494 }
5495{
0e2ff151 5496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5497 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
e6056257 5498
0e2ff151 5499 wxPyEndAllowThreads(__tstate);
e6056257
RD
5500 if (PyErr_Occurred()) return NULL;
5501} _resultobj = Py_BuildValue("i",_result);
5502 return _resultobj;
5503}
5504
5505#define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5506static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject * _resultobj;
5508 wxCheckListBox * _arg0;
5509 int _arg1;
5510 int _arg2 = (int ) TRUE;
5511 PyObject * _argo0 = 0;
5512 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
5513
5514 self = self;
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
5516 return NULL;
5517 if (_argo0) {
5518 if (_argo0 == Py_None) { _arg0 = NULL; }
5519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5521 return NULL;
5522 }
5523 }
5524{
0e2ff151 5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5526 wxCheckListBox_Check(_arg0,_arg1,_arg2);
e6056257 5527
0e2ff151 5528 wxPyEndAllowThreads(__tstate);
e6056257
RD
5529 if (PyErr_Occurred()) return NULL;
5530} Py_INCREF(Py_None);
5531 _resultobj = Py_None;
5532 return _resultobj;
5533}
5534
5535#define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5536static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5537 PyObject * _resultobj;
5538 wxCheckListBox * _arg0;
5539 int _arg1;
5540 wxString * _arg2;
5541 int _arg3;
5542 PyObject * _argo0 = 0;
5543 PyObject * _obj2 = 0;
5544 char *_kwnames[] = { "self","choices","pos", NULL };
5545
5546 self = self;
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5548 return NULL;
5549 if (_argo0) {
5550 if (_argo0 == Py_None) { _arg0 = NULL; }
5551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5553 return NULL;
5554 }
5555 }
5556{
5557 _arg2 = wxString_LIST_helper(_obj2);
5558 if (_arg2 == NULL) {
5559 return NULL;
5560 }
5561}
5562{
5563 if (_obj2) {
5564 _arg1 = PyList_Size(_obj2);
5565 }
5566 else {
5567 _arg1 = 0;
5568 }
5569}
5570{
0e2ff151 5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5572 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
e6056257 5573
0e2ff151 5574 wxPyEndAllowThreads(__tstate);
e6056257
RD
5575 if (PyErr_Occurred()) return NULL;
5576} Py_INCREF(Py_None);
5577 _resultobj = Py_None;
5578{
5579 delete [] _arg2;
5580}
5581 return _resultobj;
5582}
5583
3e1f6ec4
RD
5584#define wxCheckListBox_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5585static PyObject *_wrap_wxCheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5586 PyObject * _resultobj;
5587 int _result;
5588 wxCheckListBox * _arg0;
5589 wxPoint * _arg1;
5590 PyObject * _argo0 = 0;
5591 wxPoint temp;
5592 PyObject * _obj1 = 0;
5593 char *_kwnames[] = { "self","pt", NULL };
5594
5595 self = self;
5596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCheckListBox_HitTest",_kwnames,&_argo0,&_obj1))
5597 return NULL;
5598 if (_argo0) {
5599 if (_argo0 == Py_None) { _arg0 = NULL; }
5600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p.");
5602 return NULL;
5603 }
5604 }
5605{
5606 _arg1 = &temp;
5607 if (! wxPoint_helper(_obj1, &_arg1))
5608 return NULL;
5609}
5610{
5611 PyThreadState* __tstate = wxPyBeginAllowThreads();
5612 _result = (int )wxCheckListBox_HitTest(_arg0,*_arg1);
5613
5614 wxPyEndAllowThreads(__tstate);
5615 if (PyErr_Occurred()) return NULL;
5616} _resultobj = Py_BuildValue("i",_result);
5617 return _resultobj;
5618}
5619
5620#define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
5621static PyObject *_wrap_wxCheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5622 PyObject * _resultobj;
5623 int _result;
5624 wxCheckListBox * _arg0;
5625 wxCoord _arg1;
5626 wxCoord _arg2;
5627 PyObject * _argo0 = 0;
5628 char *_kwnames[] = { "self","x","y", NULL };
5629
5630 self = self;
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCheckListBox_HitTestXY",_kwnames,&_argo0,&_arg1,&_arg2))
5632 return NULL;
5633 if (_argo0) {
5634 if (_argo0 == Py_None) { _arg0 = NULL; }
5635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p.");
5637 return NULL;
5638 }
5639 }
5640{
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 _result = (int )wxCheckListBox_HitTestXY(_arg0,_arg1,_arg2);
5643
5644 wxPyEndAllowThreads(__tstate);
5645 if (PyErr_Occurred()) return NULL;
5646} _resultobj = Py_BuildValue("i",_result);
5647 return _resultobj;
5648}
5649
e6056257
RD
5650#define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5651static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5652 PyObject * _resultobj;
5653 wxTextAttr * _result;
5654 wxColour * _arg0 = (wxColour *) &wxNullColour;
5655 wxColour * _arg1 = (wxColour *) &wxNullColour;
5656 wxFont * _arg2 = (wxFont *) &wxNullFont;
5657 wxColour temp;
5658 PyObject * _obj0 = 0;
5659 wxColour temp0;
5660 PyObject * _obj1 = 0;
5661 PyObject * _argo2 = 0;
5662 char *_kwnames[] = { "colText","colBack","font", NULL };
5663 char _ptemp[128];
5664
5665 self = self;
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5667 return NULL;
5668 if (_obj0)
5669{
5670 _arg0 = &temp;
5671 if (! wxColour_helper(_obj0, &_arg0))
5672 return NULL;
5673}
5674 if (_obj1)
5675{
5676 _arg1 = &temp0;
5677 if (! wxColour_helper(_obj1, &_arg1))
5678 return NULL;
5679}
5680 if (_argo2) {
7108497a 5681 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
e6056257
RD
5682 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5683 return NULL;
5684 }
5685 }
5686{
0e2ff151 5687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5688 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2);
e6056257 5689
0e2ff151 5690 wxPyEndAllowThreads(__tstate);
e6056257
RD
5691 if (PyErr_Occurred()) return NULL;
5692} if (_result) {
5693 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
5694 _resultobj = Py_BuildValue("s",_ptemp);
5695 } else {
5696 Py_INCREF(Py_None);
5697 _resultobj = Py_None;
5698 }
5699 return _resultobj;
5700}
5701
5702#define delete_wxTextAttr(_swigobj) (delete _swigobj)
5703static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5704 PyObject * _resultobj;
5705 wxTextAttr * _arg0;
5706 PyObject * _argo0 = 0;
5707 char *_kwnames[] = { "self", NULL };
5708
5709 self = self;
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
5711 return NULL;
5712 if (_argo0) {
5713 if (_argo0 == Py_None) { _arg0 = NULL; }
5714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5716 return NULL;
5717 }
5718 }
5719{
0e2ff151 5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5721 delete_wxTextAttr(_arg0);
e6056257 5722
0e2ff151 5723 wxPyEndAllowThreads(__tstate);
e6056257
RD
5724 if (PyErr_Occurred()) return NULL;
5725} Py_INCREF(Py_None);
5726 _resultobj = Py_None;
5727 return _resultobj;
5728}
5729
5730#define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5731static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5732 PyObject * _resultobj;
5733 wxTextAttr * _arg0;
5734 wxColour * _arg1;
5735 PyObject * _argo0 = 0;
5736 wxColour temp;
5737 PyObject * _obj1 = 0;
5738 char *_kwnames[] = { "self","colText", NULL };
5739
5740 self = self;
5741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5742 return NULL;
5743 if (_argo0) {
5744 if (_argo0 == Py_None) { _arg0 = NULL; }
5745 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5746 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5747 return NULL;
5748 }
5749 }
5750{
5751 _arg1 = &temp;
5752 if (! wxColour_helper(_obj1, &_arg1))
5753 return NULL;
5754}
5755{
0e2ff151 5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5757 wxTextAttr_SetTextColour(_arg0,*_arg1);
e6056257 5758
0e2ff151 5759 wxPyEndAllowThreads(__tstate);
e6056257
RD
5760 if (PyErr_Occurred()) return NULL;
5761} Py_INCREF(Py_None);
5762 _resultobj = Py_None;
5763 return _resultobj;
5764}
5765
5766#define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5767static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5768 PyObject * _resultobj;
5769 wxTextAttr * _arg0;
5770 wxColour * _arg1;
5771 PyObject * _argo0 = 0;
5772 wxColour temp;
5773 PyObject * _obj1 = 0;
5774 char *_kwnames[] = { "self","colBack", NULL };
5775
5776 self = self;
5777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5778 return NULL;
5779 if (_argo0) {
5780 if (_argo0 == Py_None) { _arg0 = NULL; }
5781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5783 return NULL;
5784 }
5785 }
5786{
5787 _arg1 = &temp;
5788 if (! wxColour_helper(_obj1, &_arg1))
5789 return NULL;
5790}
5791{
0e2ff151 5792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5793 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
e6056257 5794
0e2ff151 5795 wxPyEndAllowThreads(__tstate);
e6056257
RD
5796 if (PyErr_Occurred()) return NULL;
5797} Py_INCREF(Py_None);
5798 _resultobj = Py_None;
5799 return _resultobj;
5800}
5801
5802#define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5803static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject * _resultobj;
5805 wxTextAttr * _arg0;
5806 wxFont * _arg1;
5807 PyObject * _argo0 = 0;
5808 PyObject * _argo1 = 0;
5809 char *_kwnames[] = { "self","font", NULL };
5810
5811 self = self;
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
5813 return NULL;
5814 if (_argo0) {
5815 if (_argo0 == Py_None) { _arg0 = NULL; }
5816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5818 return NULL;
5819 }
5820 }
5821 if (_argo1) {
7108497a 5822 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
e6056257
RD
5823 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5824 return NULL;
5825 }
5826 }
5827{
0e2ff151 5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5829 wxTextAttr_SetFont(_arg0,*_arg1);
e6056257 5830
0e2ff151 5831 wxPyEndAllowThreads(__tstate);
e6056257
RD
5832 if (PyErr_Occurred()) return NULL;
5833} Py_INCREF(Py_None);
5834 _resultobj = Py_None;
5835 return _resultobj;
5836}
5837
5838#define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5839static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5840 PyObject * _resultobj;
5841 bool _result;
5842 wxTextAttr * _arg0;
5843 PyObject * _argo0 = 0;
5844 char *_kwnames[] = { "self", NULL };
5845
5846 self = self;
5847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
5848 return NULL;
5849 if (_argo0) {
5850 if (_argo0 == Py_None) { _arg0 = NULL; }
5851 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5853 return NULL;
5854 }
5855 }
5856{
0e2ff151 5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5858 _result = (bool )wxTextAttr_HasTextColour(_arg0);
e6056257 5859
0e2ff151 5860 wxPyEndAllowThreads(__tstate);
e6056257
RD
5861 if (PyErr_Occurred()) return NULL;
5862} _resultobj = Py_BuildValue("i",_result);
5863 return _resultobj;
5864}
5865
5866#define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5867static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject * _resultobj;
5869 bool _result;
5870 wxTextAttr * _arg0;
5871 PyObject * _argo0 = 0;
5872 char *_kwnames[] = { "self", NULL };
5873
5874 self = self;
5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
5876 return NULL;
5877 if (_argo0) {
5878 if (_argo0 == Py_None) { _arg0 = NULL; }
5879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5881 return NULL;
5882 }
5883 }
5884{
0e2ff151 5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5886 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
e6056257 5887
0e2ff151 5888 wxPyEndAllowThreads(__tstate);
e6056257
RD
5889 if (PyErr_Occurred()) return NULL;
5890} _resultobj = Py_BuildValue("i",_result);
5891 return _resultobj;
5892}
5893
5894#define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5895static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5896 PyObject * _resultobj;
5897 bool _result;
5898 wxTextAttr * _arg0;
5899 PyObject * _argo0 = 0;
5900 char *_kwnames[] = { "self", NULL };
5901
5902 self = self;
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
5904 return NULL;
5905 if (_argo0) {
5906 if (_argo0 == Py_None) { _arg0 = NULL; }
5907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5909 return NULL;
5910 }
5911 }
5912{
0e2ff151 5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5914 _result = (bool )wxTextAttr_HasFont(_arg0);
e6056257 5915
0e2ff151 5916 wxPyEndAllowThreads(__tstate);
e6056257
RD
5917 if (PyErr_Occurred()) return NULL;
5918} _resultobj = Py_BuildValue("i",_result);
5919 return _resultobj;
5920}
5921
5922#define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5923static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject * _resultobj;
5925 wxColour * _result;
5926 wxTextAttr * _arg0;
5927 PyObject * _argo0 = 0;
5928 char *_kwnames[] = { "self", NULL };
5929 char _ptemp[128];
5930
5931 self = self;
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
5933 return NULL;
5934 if (_argo0) {
5935 if (_argo0 == Py_None) { _arg0 = NULL; }
5936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5938 return NULL;
5939 }
5940 }
5941{
0e2ff151 5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5943 _result = new wxColour (wxTextAttr_GetTextColour(_arg0));
e6056257 5944
0e2ff151 5945 wxPyEndAllowThreads(__tstate);
e6056257 5946 if (PyErr_Occurred()) return NULL;
00360d46
RD
5947} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5948 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
5949 return _resultobj;
5950}
5951
5952#define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5953static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5954 PyObject * _resultobj;
5955 wxColour * _result;
5956 wxTextAttr * _arg0;
5957 PyObject * _argo0 = 0;
5958 char *_kwnames[] = { "self", NULL };
5959 char _ptemp[128];
5960
5961 self = self;
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
5963 return NULL;
5964 if (_argo0) {
5965 if (_argo0 == Py_None) { _arg0 = NULL; }
5966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5968 return NULL;
5969 }
5970 }
5971{
0e2ff151 5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 5973 _result = new wxColour (wxTextAttr_GetBackgroundColour(_arg0));
e6056257 5974
0e2ff151 5975 wxPyEndAllowThreads(__tstate);
e6056257 5976 if (PyErr_Occurred()) return NULL;
00360d46
RD
5977} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
5978 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
5979 return _resultobj;
5980}
5981
5982#define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5983static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5984 PyObject * _resultobj;
5985 wxFont * _result;
5986 wxTextAttr * _arg0;
5987 PyObject * _argo0 = 0;
5988 char *_kwnames[] = { "self", NULL };
5989 char _ptemp[128];
5990
5991 self = self;
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
5993 return NULL;
5994 if (_argo0) {
5995 if (_argo0 == Py_None) { _arg0 = NULL; }
5996 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5997 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5998 return NULL;
5999 }
6000 }
6001{
0e2ff151 6002 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6003 _result = new wxFont (wxTextAttr_GetFont(_arg0));
e6056257 6004
0e2ff151 6005 wxPyEndAllowThreads(__tstate);
e6056257 6006 if (PyErr_Occurred()) return NULL;
00360d46
RD
6007} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
6008 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
6009 return _resultobj;
6010}
6011
742fc581
RD
6012#define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6013static PyObject *_wrap_wxTextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject * _resultobj;
6015 bool _result;
6016 wxTextAttr * _arg0;
6017 PyObject * _argo0 = 0;
6018 char *_kwnames[] = { "self", NULL };
6019
6020 self = self;
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_IsDefault",_kwnames,&_argo0))
6022 return NULL;
6023 if (_argo0) {
6024 if (_argo0 == Py_None) { _arg0 = NULL; }
6025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6027 return NULL;
6028 }
6029 }
6030{
0e2ff151 6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6032 _result = (bool )wxTextAttr_IsDefault(_arg0);
742fc581 6033
0e2ff151 6034 wxPyEndAllowThreads(__tstate);
742fc581
RD
6035 if (PyErr_Occurred()) return NULL;
6036} _resultobj = Py_BuildValue("i",_result);
6037 return _resultobj;
6038}
6039
dbd3685c
RD
6040static PyObject *_wrap_wxTextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6041 PyObject * _resultobj;
6042 wxTextAttr * _result;
6043 wxTextAttr * _arg0;
6044 wxTextAttr * _arg1;
6045 wxTextCtrl * _arg2;
6046 PyObject * _argo0 = 0;
6047 PyObject * _argo1 = 0;
6048 PyObject * _argo2 = 0;
6049 char *_kwnames[] = { "attr","attrDef","text", NULL };
6050 char _ptemp[128];
6051
6052 self = self;
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTextAttr_Combine",_kwnames,&_argo0,&_argo1,&_argo2))
6054 return NULL;
6055 if (_argo0) {
7108497a 6056 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
dbd3685c
RD
6057 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6058 return NULL;
6059 }
6060 }
6061 if (_argo1) {
7108497a 6062 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
dbd3685c
RD
6063 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6064 return NULL;
6065 }
6066 }
6067 if (_argo2) {
6068 if (_argo2 == Py_None) { _arg2 = NULL; }
6069 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextCtrl_p")) {
6070 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6071 return NULL;
6072 }
6073 }
6074{
0e2ff151 6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6076 _result = new wxTextAttr (wxTextAttr::Combine(*_arg0,*_arg1,_arg2));
dbd3685c 6077
0e2ff151 6078 wxPyEndAllowThreads(__tstate);
dbd3685c
RD
6079 if (PyErr_Occurred()) return NULL;
6080} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTextAttr_p");
6081 _resultobj = Py_BuildValue("s",_ptemp);
6082 return _resultobj;
6083}
6084
e6056257
RD
6085static void *SwigwxTextCtrlTowxControl(void *ptr) {
6086 wxTextCtrl *src;
6087 wxControl *dest;
6088 src = (wxTextCtrl *) ptr;
6089 dest = (wxControl *) src;
6090 return (void *) dest;
6091}
6092
6093static void *SwigwxTextCtrlTowxWindow(void *ptr) {
6094 wxTextCtrl *src;
6095 wxWindow *dest;
6096 src = (wxTextCtrl *) ptr;
6097 dest = (wxWindow *) src;
6098 return (void *) dest;
6099}
6100
6101static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
6102 wxTextCtrl *src;
6103 wxEvtHandler *dest;
6104 src = (wxTextCtrl *) ptr;
6105 dest = (wxEvtHandler *) src;
6106 return (void *) dest;
6107}
6108
6109static void *SwigwxTextCtrlTowxObject(void *ptr) {
6110 wxTextCtrl *src;
6111 wxObject *dest;
6112 src = (wxTextCtrl *) ptr;
6113 dest = (wxObject *) src;
6114 return (void *) dest;
6115}
6116
6117#define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6118static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6119 PyObject * _resultobj;
6120 wxTextCtrl * _result;
6121 wxWindow * _arg0;
6122 wxWindowID _arg1;
c3bfa1cb 6123 wxString * _arg2 = (wxString *) &wxPyEmptyString;
e6056257
RD
6124 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6125 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6126 long _arg5 = (long ) 0;
6127 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 6128 wxString * _arg7 = (wxString *) &wxPyTextCtrlNameStr;
e6056257 6129 PyObject * _argo0 = 0;
c3bfa1cb 6130 PyObject * _obj2 = 0;
e6056257
RD
6131 wxPoint temp;
6132 PyObject * _obj3 = 0;
6133 wxSize temp0;
6134 PyObject * _obj4 = 0;
6135 PyObject * _argo6 = 0;
c3bfa1cb 6136 PyObject * _obj7 = 0;
e6056257
RD
6137 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
6138 char _ptemp[128];
6139
6140 self = self;
c3bfa1cb 6141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
6142 return NULL;
6143 if (_argo0) {
6144 if (_argo0 == Py_None) { _arg0 = NULL; }
6145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6147 return NULL;
6148 }
6149 }
c3bfa1cb
RD
6150 if (_obj2)
6151{
6152 _arg2 = wxString_in_helper(_obj2);
6153 if (_arg2 == NULL)
6154 return NULL;
6155}
e6056257
RD
6156 if (_obj3)
6157{
6158 _arg3 = &temp;
6159 if (! wxPoint_helper(_obj3, &_arg3))
6160 return NULL;
6161}
6162 if (_obj4)
6163{
6164 _arg4 = &temp0;
6165 if (! wxSize_helper(_obj4, &_arg4))
6166 return NULL;
6167}
6168 if (_argo6) {
7108497a 6169 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
6170 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6171 return NULL;
6172 }
6173 }
c3bfa1cb
RD
6174 if (_obj7)
6175{
6176 _arg7 = wxString_in_helper(_obj7);
6177 if (_arg7 == NULL)
6178 return NULL;
6179}
e6056257 6180{
0e2ff151 6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 6182 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 6183
0e2ff151 6184 wxPyEndAllowThreads(__tstate);
e6056257
RD
6185 if (PyErr_Occurred()) return NULL;
6186} if (_result) {
6187 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6188 _resultobj = Py_BuildValue("s",_ptemp);
6189 } else {
6190 Py_INCREF(Py_None);
6191 _resultobj = Py_None;
6192 }
c3bfa1cb
RD
6193{
6194 if (_obj2)
6195 delete _arg2;
6196}
6197{
6198 if (_obj7)
6199 delete _arg7;
6200}
e6056257
RD
6201 return _resultobj;
6202}
6203
6204#define new_wxPreTextCtrl() (new wxTextCtrl())
6205static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject * _resultobj;
6207 wxTextCtrl * _result;
6208 char *_kwnames[] = { NULL };
6209 char _ptemp[128];
6210
6211 self = self;
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
6213 return NULL;
6214{
0e2ff151 6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6216 _result = (wxTextCtrl *)new_wxPreTextCtrl();
e6056257 6217
0e2ff151 6218 wxPyEndAllowThreads(__tstate);
e6056257
RD
6219 if (PyErr_Occurred()) return NULL;
6220} if (_result) {
6221 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6222 _resultobj = Py_BuildValue("s",_ptemp);
6223 } else {
6224 Py_INCREF(Py_None);
6225 _resultobj = Py_None;
6226 }
6227 return _resultobj;
6228}
6229
6230#define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6231static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6232 PyObject * _resultobj;
6233 bool _result;
6234 wxTextCtrl * _arg0;
6235 wxWindow * _arg1;
6236 wxWindowID _arg2;
c3bfa1cb 6237 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e6056257
RD
6238 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
6239 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
6240 long _arg6 = (long ) 0;
6241 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 6242 wxString * _arg8 = (wxString *) &wxPyTextCtrlNameStr;
e6056257
RD
6243 PyObject * _argo0 = 0;
6244 PyObject * _argo1 = 0;
c3bfa1cb 6245 PyObject * _obj3 = 0;
e6056257
RD
6246 wxPoint temp;
6247 PyObject * _obj4 = 0;
6248 wxSize temp0;
6249 PyObject * _obj5 = 0;
6250 PyObject * _argo7 = 0;
c3bfa1cb 6251 PyObject * _obj8 = 0;
e6056257
RD
6252 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
6253
6254 self = self;
c3bfa1cb 6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
6256 return NULL;
6257 if (_argo0) {
6258 if (_argo0 == Py_None) { _arg0 = NULL; }
6259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6261 return NULL;
6262 }
6263 }
6264 if (_argo1) {
6265 if (_argo1 == Py_None) { _arg1 = NULL; }
6266 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6267 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6268 return NULL;
6269 }
6270 }
c3bfa1cb
RD
6271 if (_obj3)
6272{
6273 _arg3 = wxString_in_helper(_obj3);
6274 if (_arg3 == NULL)
6275 return NULL;
6276}
e6056257
RD
6277 if (_obj4)
6278{
6279 _arg4 = &temp;
6280 if (! wxPoint_helper(_obj4, &_arg4))
6281 return NULL;
6282}
6283 if (_obj5)
6284{
6285 _arg5 = &temp0;
6286 if (! wxSize_helper(_obj5, &_arg5))
6287 return NULL;
6288}
6289 if (_argo7) {
7108497a 6290 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
6291 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6292 return NULL;
6293 }
6294 }
c3bfa1cb
RD
6295 if (_obj8)
6296{
6297 _arg8 = wxString_in_helper(_obj8);
6298 if (_arg8 == NULL)
6299 return NULL;
6300}
e6056257 6301{
0e2ff151 6302 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 6303 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 6304
0e2ff151 6305 wxPyEndAllowThreads(__tstate);
e6056257
RD
6306 if (PyErr_Occurred()) return NULL;
6307} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
6308{
6309 if (_obj3)
6310 delete _arg3;
6311}
6312{
6313 if (_obj8)
6314 delete _arg8;
6315}
e6056257
RD
6316 return _resultobj;
6317}
6318
742fc581
RD
6319#define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6320static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6321 PyObject * _resultobj;
742fc581 6322 wxString * _result;
e6056257
RD
6323 wxTextCtrl * _arg0;
6324 PyObject * _argo0 = 0;
6325 char *_kwnames[] = { "self", NULL };
6326
6327 self = self;
742fc581 6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
e6056257
RD
6329 return NULL;
6330 if (_argo0) {
6331 if (_argo0 == Py_None) { _arg0 = NULL; }
6332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
e6056257
RD
6334 return NULL;
6335 }
6336 }
6337{
0e2ff151 6338 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6339 _result = new wxString (wxTextCtrl_GetValue(_arg0));
e6056257 6340
0e2ff151 6341 wxPyEndAllowThreads(__tstate);
e6056257 6342 if (PyErr_Occurred()) return NULL;
742fc581 6343}{
6824d4f9 6344#if wxUSE_UNICODE
7108497a 6345 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 6346#else
742fc581 6347 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 6348#endif
742fc581
RD
6349}
6350{
6351 delete _result;
6352}
e6056257
RD
6353 return _resultobj;
6354}
6355
742fc581
RD
6356#define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6357static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
6358 PyObject * _resultobj;
6359 wxTextCtrl * _arg0;
742fc581 6360 wxString * _arg1;
e6056257 6361 PyObject * _argo0 = 0;
742fc581
RD
6362 PyObject * _obj1 = 0;
6363 char *_kwnames[] = { "self","value", NULL };
e6056257
RD
6364
6365 self = self;
742fc581 6366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
e6056257
RD
6367 return NULL;
6368 if (_argo0) {
6369 if (_argo0 == Py_None) { _arg0 = NULL; }
6370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
e6056257
RD
6372 return NULL;
6373 }
6374 }
6375{
6824d4f9
RD
6376 _arg1 = wxString_in_helper(_obj1);
6377 if (_arg1 == NULL)
742fc581 6378 return NULL;
742fc581 6379}
e6056257 6380{
0e2ff151 6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6382 wxTextCtrl_SetValue(_arg0,*_arg1);
e6056257 6383
0e2ff151 6384 wxPyEndAllowThreads(__tstate);
e6056257
RD
6385 if (PyErr_Occurred()) return NULL;
6386} Py_INCREF(Py_None);
6387 _resultobj = Py_None;
742fc581
RD
6388{
6389 if (_obj1)
6390 delete _arg1;
6391}
e6056257
RD
6392 return _resultobj;
6393}
6394
d1e76a37
RD
6395#define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6396static PyObject *_wrap_wxTextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6397 PyObject * _resultobj;
6398 wxString * _result;
6399 wxTextCtrl * _arg0;
6400 long _arg1;
6401 long _arg2;
6402 PyObject * _argo0 = 0;
6403 char *_kwnames[] = { "self","from","to", NULL };
6404
6405 self = self;
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetRange",_kwnames,&_argo0,&_arg1,&_arg2))
6407 return NULL;
6408 if (_argo0) {
6409 if (_argo0 == Py_None) { _arg0 = NULL; }
6410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6412 return NULL;
6413 }
6414 }
6415{
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6417 _result = new wxString (wxTextCtrl_GetRange(_arg0,_arg1,_arg2));
d1e76a37
RD
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) return NULL;
6421}{
6824d4f9 6422#if wxUSE_UNICODE
7108497a 6423 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 6424#else
d1e76a37 6425 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 6426#endif
d1e76a37
RD
6427}
6428{
6429 delete _result;
6430}
6431 return _resultobj;
6432}
6433
742fc581
RD
6434#define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6435static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6436 PyObject * _resultobj;
742fc581 6437 int _result;
e6056257 6438 wxTextCtrl * _arg0;
742fc581 6439 long _arg1;
e6056257 6440 PyObject * _argo0 = 0;
742fc581 6441 char *_kwnames[] = { "self","lineNo", NULL };
e6056257
RD
6442
6443 self = self;
742fc581 6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
e6056257
RD
6445 return NULL;
6446 if (_argo0) {
6447 if (_argo0 == Py_None) { _arg0 = NULL; }
6448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
e6056257
RD
6450 return NULL;
6451 }
6452 }
6453{
0e2ff151 6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6455 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
e6056257 6456
0e2ff151 6457 wxPyEndAllowThreads(__tstate);
e6056257 6458 if (PyErr_Occurred()) return NULL;
742fc581 6459} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
6460 return _resultobj;
6461}
6462
742fc581
RD
6463#define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6464static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6465 PyObject * _resultobj;
742fc581 6466 wxString * _result;
e6056257 6467 wxTextCtrl * _arg0;
742fc581 6468 long _arg1;
e6056257 6469 PyObject * _argo0 = 0;
742fc581 6470 char *_kwnames[] = { "self","lineNo", NULL };
e6056257
RD
6471
6472 self = self;
742fc581 6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
e6056257
RD
6474 return NULL;
6475 if (_argo0) {
6476 if (_argo0 == Py_None) { _arg0 = NULL; }
6477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
e6056257
RD
6479 return NULL;
6480 }
6481 }
6482{
0e2ff151 6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6484 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
e6056257 6485
0e2ff151 6486 wxPyEndAllowThreads(__tstate);
e6056257 6487 if (PyErr_Occurred()) return NULL;
742fc581 6488}{
6824d4f9 6489#if wxUSE_UNICODE
7108497a 6490 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 6491#else
742fc581 6492 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 6493#endif
742fc581
RD
6494}
6495{
6496 delete _result;
6497}
e6056257
RD
6498 return _resultobj;
6499}
6500
742fc581
RD
6501#define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6502static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6503 PyObject * _resultobj;
742fc581 6504 int _result;
e6056257
RD
6505 wxTextCtrl * _arg0;
6506 PyObject * _argo0 = 0;
6507 char *_kwnames[] = { "self", NULL };
6508
6509 self = self;
742fc581 6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
e6056257
RD
6511 return NULL;
6512 if (_argo0) {
6513 if (_argo0 == Py_None) { _arg0 = NULL; }
6514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
e6056257
RD
6516 return NULL;
6517 }
6518 }
6519{
0e2ff151 6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6521 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
e6056257 6522
0e2ff151 6523 wxPyEndAllowThreads(__tstate);
e6056257 6524 if (PyErr_Occurred()) return NULL;
742fc581 6525} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
6526 return _resultobj;
6527}
6528
742fc581
RD
6529#define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6530static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6531 PyObject * _resultobj;
742fc581 6532 bool _result;
e6056257 6533 wxTextCtrl * _arg0;
e6056257 6534 PyObject * _argo0 = 0;
742fc581 6535 char *_kwnames[] = { "self", NULL };
e6056257
RD
6536
6537 self = self;
742fc581 6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
e6056257
RD
6539 return NULL;
6540 if (_argo0) {
6541 if (_argo0 == Py_None) { _arg0 = NULL; }
6542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
e6056257
RD
6544 return NULL;
6545 }
6546 }
6547{
0e2ff151 6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6549 _result = (bool )wxTextCtrl_IsModified(_arg0);
e6056257 6550
0e2ff151 6551 wxPyEndAllowThreads(__tstate);
e6056257
RD
6552 if (PyErr_Occurred()) return NULL;
6553} _resultobj = Py_BuildValue("i",_result);
6554 return _resultobj;
6555}
6556
742fc581
RD
6557#define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6558static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6559 PyObject * _resultobj;
742fc581 6560 bool _result;
e6056257 6561 wxTextCtrl * _arg0;
e6056257 6562 PyObject * _argo0 = 0;
742fc581 6563 char *_kwnames[] = { "self", NULL };
e6056257
RD
6564
6565 self = self;
742fc581 6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
e6056257
RD
6567 return NULL;
6568 if (_argo0) {
6569 if (_argo0 == Py_None) { _arg0 = NULL; }
6570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
e6056257
RD
6572 return NULL;
6573 }
6574 }
6575{
0e2ff151 6576 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6577 _result = (bool )wxTextCtrl_IsEditable(_arg0);
e6056257 6578
0e2ff151 6579 wxPyEndAllowThreads(__tstate);
e6056257 6580 if (PyErr_Occurred()) return NULL;
742fc581 6581} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
6582 return _resultobj;
6583}
6584
742fc581
RD
6585#define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6586static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6587 PyObject * _resultobj;
e6056257 6588 wxTextCtrl * _arg0;
742fc581
RD
6589 long * _arg1;
6590 long temp;
6591 long * _arg2;
6592 long temp0;
e6056257
RD
6593 PyObject * _argo0 = 0;
6594 char *_kwnames[] = { "self", NULL };
6595
6596 self = self;
742fc581
RD
6597{
6598 _arg1 = &temp;
6599}
6600{
6601 _arg2 = &temp0;
6602}
6603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
e6056257
RD
6604 return NULL;
6605 if (_argo0) {
6606 if (_argo0 == Py_None) { _arg0 = NULL; }
6607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
e6056257
RD
6609 return NULL;
6610 }
6611 }
6612{
0e2ff151 6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6614 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
e6056257 6615
0e2ff151 6616 wxPyEndAllowThreads(__tstate);
e6056257 6617 if (PyErr_Occurred()) return NULL;
742fc581
RD
6618} Py_INCREF(Py_None);
6619 _resultobj = Py_None;
6620{
6621 PyObject *o;
6622 o = PyInt_FromLong((long) (*_arg1));
6623 _resultobj = t_output_helper(_resultobj, o);
6624}
6625{
6626 PyObject *o;
6627 o = PyInt_FromLong((long) (*_arg2));
6628 _resultobj = t_output_helper(_resultobj, o);
6629}
e6056257
RD
6630 return _resultobj;
6631}
6632
742fc581
RD
6633#define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6634static PyObject *_wrap_wxTextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
6635 PyObject * _resultobj;
6636 wxString * _result;
6637 wxTextCtrl * _arg0;
6638 PyObject * _argo0 = 0;
6639 char *_kwnames[] = { "self", NULL };
6640
6641 self = self;
742fc581 6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetStringSelection",_kwnames,&_argo0))
e6056257
RD
6643 return NULL;
6644 if (_argo0) {
6645 if (_argo0 == Py_None) { _arg0 = NULL; }
6646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
e6056257
RD
6648 return NULL;
6649 }
6650 }
6651{
0e2ff151 6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6653 _result = new wxString (wxTextCtrl_GetStringSelection(_arg0));
e6056257 6654
0e2ff151 6655 wxPyEndAllowThreads(__tstate);
e6056257
RD
6656 if (PyErr_Occurred()) return NULL;
6657}{
6824d4f9 6658#if wxUSE_UNICODE
7108497a 6659 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 6660#else
e6056257 6661 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 6662#endif
e6056257
RD
6663}
6664{
6665 delete _result;
6666}
6667 return _resultobj;
6668}
6669
742fc581
RD
6670#define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6671static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6672 PyObject * _resultobj;
e6056257
RD
6673 wxTextCtrl * _arg0;
6674 PyObject * _argo0 = 0;
6675 char *_kwnames[] = { "self", NULL };
6676
6677 self = self;
742fc581 6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
e6056257
RD
6679 return NULL;
6680 if (_argo0) {
6681 if (_argo0 == Py_None) { _arg0 = NULL; }
6682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
e6056257
RD
6684 return NULL;
6685 }
6686 }
6687{
0e2ff151 6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6689 wxTextCtrl_Clear(_arg0);
e6056257 6690
0e2ff151 6691 wxPyEndAllowThreads(__tstate);
e6056257 6692 if (PyErr_Occurred()) return NULL;
742fc581
RD
6693} Py_INCREF(Py_None);
6694 _resultobj = Py_None;
e6056257
RD
6695 return _resultobj;
6696}
6697
742fc581
RD
6698#define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6699static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6700 PyObject * _resultobj;
e6056257 6701 wxTextCtrl * _arg0;
742fc581
RD
6702 long _arg1;
6703 long _arg2;
6704 wxString * _arg3;
e6056257 6705 PyObject * _argo0 = 0;
742fc581
RD
6706 PyObject * _obj3 = 0;
6707 char *_kwnames[] = { "self","from","to","value", NULL };
e6056257
RD
6708
6709 self = self;
742fc581 6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
e6056257
RD
6711 return NULL;
6712 if (_argo0) {
6713 if (_argo0 == Py_None) { _arg0 = NULL; }
6714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581
RD
6715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6716 return NULL;
6717 }
6718 }
6719{
6824d4f9
RD
6720 _arg3 = wxString_in_helper(_obj3);
6721 if (_arg3 == NULL)
742fc581 6722 return NULL;
742fc581
RD
6723}
6724{
0e2ff151 6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6726 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
742fc581 6727
0e2ff151 6728 wxPyEndAllowThreads(__tstate);
742fc581
RD
6729 if (PyErr_Occurred()) return NULL;
6730} Py_INCREF(Py_None);
6731 _resultobj = Py_None;
6732{
6733 if (_obj3)
6734 delete _arg3;
6735}
6736 return _resultobj;
6737}
6738
6739#define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6740static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6741 PyObject * _resultobj;
6742 wxTextCtrl * _arg0;
6743 long _arg1;
6744 long _arg2;
6745 PyObject * _argo0 = 0;
6746 char *_kwnames[] = { "self","from","to", NULL };
6747
6748 self = self;
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
6750 return NULL;
6751 if (_argo0) {
6752 if (_argo0 == Py_None) { _arg0 = NULL; }
6753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6755 return NULL;
6756 }
6757 }
6758{
0e2ff151 6759 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6760 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
742fc581 6761
0e2ff151 6762 wxPyEndAllowThreads(__tstate);
742fc581
RD
6763 if (PyErr_Occurred()) return NULL;
6764} Py_INCREF(Py_None);
6765 _resultobj = Py_None;
6766 return _resultobj;
6767}
6768
6769#define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6770static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6771 PyObject * _resultobj;
6772 bool _result;
6773 wxTextCtrl * _arg0;
6774 wxString * _arg1;
6775 PyObject * _argo0 = 0;
6776 PyObject * _obj1 = 0;
6777 char *_kwnames[] = { "self","file", NULL };
6778
6779 self = self;
6780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
6781 return NULL;
6782 if (_argo0) {
6783 if (_argo0 == Py_None) { _arg0 = NULL; }
6784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
e6056257
RD
6786 return NULL;
6787 }
6788 }
6789{
6824d4f9
RD
6790 _arg1 = wxString_in_helper(_obj1);
6791 if (_arg1 == NULL)
e6056257 6792 return NULL;
e6056257
RD
6793}
6794{
0e2ff151 6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6796 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
e6056257 6797
0e2ff151 6798 wxPyEndAllowThreads(__tstate);
e6056257
RD
6799 if (PyErr_Occurred()) return NULL;
6800} _resultobj = Py_BuildValue("i",_result);
6801{
6802 if (_obj1)
6803 delete _arg1;
6804}
6805 return _resultobj;
6806}
6807
742fc581
RD
6808#define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6809static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6810 PyObject * _resultobj;
742fc581 6811 bool _result;
e6056257 6812 wxTextCtrl * _arg0;
c3bfa1cb 6813 wxString * _arg1 = (wxString *) &wxPyEmptyString;
e6056257 6814 PyObject * _argo0 = 0;
742fc581
RD
6815 PyObject * _obj1 = 0;
6816 char *_kwnames[] = { "self","file", NULL };
e6056257
RD
6817
6818 self = self;
742fc581 6819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
e6056257
RD
6820 return NULL;
6821 if (_argo0) {
6822 if (_argo0 == Py_None) { _arg0 = NULL; }
6823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
e6056257
RD
6825 return NULL;
6826 }
6827 }
742fc581
RD
6828 if (_obj1)
6829{
6824d4f9
RD
6830 _arg1 = wxString_in_helper(_obj1);
6831 if (_arg1 == NULL)
742fc581 6832 return NULL;
742fc581 6833}
e6056257 6834{
0e2ff151 6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6836 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
e6056257 6837
0e2ff151 6838 wxPyEndAllowThreads(__tstate);
e6056257 6839 if (PyErr_Occurred()) return NULL;
742fc581
RD
6840} _resultobj = Py_BuildValue("i",_result);
6841{
6842 if (_obj1)
6843 delete _arg1;
6844}
e6056257
RD
6845 return _resultobj;
6846}
6847
742fc581
RD
6848#define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6849static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
6850 PyObject * _resultobj;
6851 wxTextCtrl * _arg0;
e6056257 6852 PyObject * _argo0 = 0;
742fc581 6853 char *_kwnames[] = { "self", NULL };
e6056257
RD
6854
6855 self = self;
742fc581 6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
e6056257
RD
6857 return NULL;
6858 if (_argo0) {
6859 if (_argo0 == Py_None) { _arg0 = NULL; }
6860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
e6056257
RD
6862 return NULL;
6863 }
6864 }
6865{
0e2ff151 6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6867 wxTextCtrl_DiscardEdits(_arg0);
e6056257 6868
0e2ff151 6869 wxPyEndAllowThreads(__tstate);
e6056257
RD
6870 if (PyErr_Occurred()) return NULL;
6871} Py_INCREF(Py_None);
6872 _resultobj = Py_None;
e6056257
RD
6873 return _resultobj;
6874}
6875
742fc581
RD
6876#define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6877static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
6878 PyObject * _resultobj;
6879 wxTextCtrl * _arg0;
742fc581 6880 unsigned long _arg1;
e6056257 6881 PyObject * _argo0 = 0;
742fc581 6882 char *_kwnames[] = { "self","len", NULL };
e6056257
RD
6883
6884 self = self;
742fc581 6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
e6056257
RD
6886 return NULL;
6887 if (_argo0) {
6888 if (_argo0 == Py_None) { _arg0 = NULL; }
6889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
e6056257
RD
6891 return NULL;
6892 }
6893 }
6894{
0e2ff151 6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6896 wxTextCtrl_SetMaxLength(_arg0,_arg1);
e6056257 6897
0e2ff151 6898 wxPyEndAllowThreads(__tstate);
e6056257
RD
6899 if (PyErr_Occurred()) return NULL;
6900} Py_INCREF(Py_None);
6901 _resultobj = Py_None;
6902 return _resultobj;
6903}
6904
742fc581
RD
6905#define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6906static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
6907 PyObject * _resultobj;
6908 wxTextCtrl * _arg0;
742fc581 6909 wxString * _arg1;
e6056257 6910 PyObject * _argo0 = 0;
742fc581
RD
6911 PyObject * _obj1 = 0;
6912 char *_kwnames[] = { "self","text", NULL };
e6056257
RD
6913
6914 self = self;
742fc581 6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
e6056257
RD
6916 return NULL;
6917 if (_argo0) {
6918 if (_argo0 == Py_None) { _arg0 = NULL; }
6919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
e6056257
RD
6921 return NULL;
6922 }
6923 }
6924{
6824d4f9
RD
6925 _arg1 = wxString_in_helper(_obj1);
6926 if (_arg1 == NULL)
e6056257 6927 return NULL;
e6056257
RD
6928}
6929{
0e2ff151 6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6931 wxTextCtrl_WriteText(_arg0,*_arg1);
e6056257 6932
0e2ff151 6933 wxPyEndAllowThreads(__tstate);
e6056257
RD
6934 if (PyErr_Occurred()) return NULL;
6935} Py_INCREF(Py_None);
6936 _resultobj = Py_None;
6937{
742fc581
RD
6938 if (_obj1)
6939 delete _arg1;
e6056257
RD
6940}
6941 return _resultobj;
6942}
6943
742fc581
RD
6944#define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6945static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6946 PyObject * _resultobj;
e6056257
RD
6947 wxTextCtrl * _arg0;
6948 wxString * _arg1;
6949 PyObject * _argo0 = 0;
6950 PyObject * _obj1 = 0;
742fc581 6951 char *_kwnames[] = { "self","text", NULL };
e6056257
RD
6952
6953 self = self;
742fc581 6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
e6056257
RD
6955 return NULL;
6956 if (_argo0) {
6957 if (_argo0 == Py_None) { _arg0 = NULL; }
6958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 6959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
e6056257
RD
6960 return NULL;
6961 }
6962 }
6963{
6824d4f9
RD
6964 _arg1 = wxString_in_helper(_obj1);
6965 if (_arg1 == NULL)
e6056257 6966 return NULL;
e6056257
RD
6967}
6968{
0e2ff151 6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6970 wxTextCtrl_AppendText(_arg0,*_arg1);
e6056257 6971
0e2ff151 6972 wxPyEndAllowThreads(__tstate);
e6056257 6973 if (PyErr_Occurred()) return NULL;
742fc581
RD
6974} Py_INCREF(Py_None);
6975 _resultobj = Py_None;
e6056257
RD
6976{
6977 if (_obj1)
6978 delete _arg1;
6979}
6980 return _resultobj;
6981}
6982
59988cd0
RD
6983#define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
6984static PyObject *_wrap_wxTextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
6985 PyObject * _resultobj;
6986 bool _result;
6987 wxTextCtrl * _arg0;
6988 wxKeyEvent * _arg1;
6989 PyObject * _argo0 = 0;
6990 PyObject * _argo1 = 0;
6991 char *_kwnames[] = { "self","event", NULL };
6992
6993 self = self;
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_EmulateKeyPress",_kwnames,&_argo0,&_argo1))
6995 return NULL;
6996 if (_argo0) {
6997 if (_argo0 == Py_None) { _arg0 = NULL; }
6998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
7000 return NULL;
7001 }
7002 }
7003 if (_argo1) {
7108497a 7004 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
59988cd0
RD
7005 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
7006 return NULL;
7007 }
7008 }
7009{
7010 PyThreadState* __tstate = wxPyBeginAllowThreads();
7011 _result = (bool )wxTextCtrl_EmulateKeyPress(_arg0,*_arg1);
7012
7013 wxPyEndAllowThreads(__tstate);
7014 if (PyErr_Occurred()) return NULL;
7015} _resultobj = Py_BuildValue("i",_result);
7016 return _resultobj;
7017}
7018
742fc581
RD
7019#define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7020static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7021 PyObject * _resultobj;
742fc581 7022 bool _result;
e6056257 7023 wxTextCtrl * _arg0;
742fc581
RD
7024 long _arg1;
7025 long _arg2;
7026 wxTextAttr * _arg3;
e6056257 7027 PyObject * _argo0 = 0;
742fc581
RD
7028 PyObject * _argo3 = 0;
7029 char *_kwnames[] = { "self","start","end","style", NULL };
e6056257
RD
7030
7031 self = self;
742fc581 7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
e6056257
RD
7033 return NULL;
7034 if (_argo0) {
7035 if (_argo0 == Py_None) { _arg0 = NULL; }
7036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581
RD
7037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7038 return NULL;
7039 }
7040 }
7041 if (_argo3) {
7108497a 7042 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
742fc581 7043 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
e6056257
RD
7044 return NULL;
7045 }
7046 }
e6056257 7047{
0e2ff151 7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7049 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
e6056257 7050
0e2ff151 7051 wxPyEndAllowThreads(__tstate);
e6056257 7052 if (PyErr_Occurred()) return NULL;
742fc581 7053} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
7054 return _resultobj;
7055}
7056
742fc581
RD
7057#define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7058static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7059 PyObject * _resultobj;
742fc581 7060 bool _result;
e6056257 7061 wxTextCtrl * _arg0;
742fc581 7062 wxTextAttr * _arg1;
e6056257 7063 PyObject * _argo0 = 0;
742fc581
RD
7064 PyObject * _argo1 = 0;
7065 char *_kwnames[] = { "self","style", NULL };
e6056257
RD
7066
7067 self = self;
742fc581 7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
e6056257
RD
7069 return NULL;
7070 if (_argo0) {
7071 if (_argo0 == Py_None) { _arg0 = NULL; }
7072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581
RD
7073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7074 return NULL;
7075 }
7076 }
7077 if (_argo1) {
7108497a 7078 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
742fc581 7079 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
e6056257
RD
7080 return NULL;
7081 }
7082 }
7083{
0e2ff151 7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7085 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
e6056257 7086
0e2ff151 7087 wxPyEndAllowThreads(__tstate);
e6056257 7088 if (PyErr_Occurred()) return NULL;
742fc581 7089} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
7090 return _resultobj;
7091}
7092
742fc581
RD
7093#define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7094static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7095 PyObject * _resultobj;
742fc581 7096 wxTextAttr * _result;
e6056257
RD
7097 wxTextCtrl * _arg0;
7098 PyObject * _argo0 = 0;
7099 char *_kwnames[] = { "self", NULL };
742fc581 7100 char _ptemp[128];
e6056257
RD
7101
7102 self = self;
742fc581 7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
e6056257
RD
7104 return NULL;
7105 if (_argo0) {
7106 if (_argo0 == Py_None) { _arg0 = NULL; }
7107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
e6056257
RD
7109 return NULL;
7110 }
7111 }
7112{
0e2ff151 7113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7114 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
742fc581 7115 _result = (wxTextAttr *) &_result_ref;
e6056257 7116
0e2ff151 7117 wxPyEndAllowThreads(__tstate);
e6056257 7118 if (PyErr_Occurred()) return NULL;
742fc581
RD
7119} if (_result) {
7120 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
7121 _resultobj = Py_BuildValue("s",_ptemp);
7122 } else {
7123 Py_INCREF(Py_None);
7124 _resultobj = Py_None;
7125 }
e6056257
RD
7126 return _resultobj;
7127}
7128
742fc581
RD
7129#define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7130static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7131 PyObject * _resultobj;
742fc581 7132 long _result;
e6056257
RD
7133 wxTextCtrl * _arg0;
7134 long _arg1;
7135 long _arg2;
7136 PyObject * _argo0 = 0;
742fc581 7137 char *_kwnames[] = { "self","x","y", NULL };
e6056257
RD
7138
7139 self = self;
742fc581 7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
e6056257
RD
7141 return NULL;
7142 if (_argo0) {
7143 if (_argo0 == Py_None) { _arg0 = NULL; }
7144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
e6056257
RD
7146 return NULL;
7147 }
7148 }
7149{
0e2ff151 7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7151 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
e6056257 7152
0e2ff151 7153 wxPyEndAllowThreads(__tstate);
e6056257 7154 if (PyErr_Occurred()) return NULL;
742fc581 7155} _resultobj = Py_BuildValue("l",_result);
e6056257
RD
7156 return _resultobj;
7157}
7158
742fc581
RD
7159#define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7160static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7161 PyObject * _resultobj;
7162 wxTextCtrl * _arg0;
742fc581
RD
7163 long _arg1;
7164 long * _arg2;
7165 long temp;
7166 long * _arg3;
7167 long temp0;
e6056257 7168 PyObject * _argo0 = 0;
742fc581 7169 char *_kwnames[] = { "self","pos", NULL };
e6056257
RD
7170
7171 self = self;
742fc581
RD
7172{
7173 _arg2 = &temp;
7174}
7175{
7176 _arg3 = &temp0;
7177}
7178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
e6056257
RD
7179 return NULL;
7180 if (_argo0) {
7181 if (_argo0 == Py_None) { _arg0 = NULL; }
7182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
e6056257
RD
7184 return NULL;
7185 }
7186 }
e6056257 7187{
0e2ff151 7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7189 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
e6056257 7190
0e2ff151 7191 wxPyEndAllowThreads(__tstate);
e6056257 7192 if (PyErr_Occurred()) return NULL;
d1e76a37
RD
7193} Py_INCREF(Py_None);
7194 _resultobj = Py_None;
e6056257 7195{
742fc581
RD
7196 PyObject *o;
7197 o = PyInt_FromLong((long) (*_arg2));
7198 _resultobj = t_output_helper(_resultobj, o);
7199}
7200{
7201 PyObject *o;
7202 o = PyInt_FromLong((long) (*_arg3));
7203 _resultobj = t_output_helper(_resultobj, o);
e6056257
RD
7204}
7205 return _resultobj;
7206}
7207
7208#define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7209static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7210 PyObject * _resultobj;
7211 wxTextCtrl * _arg0;
7212 long _arg1;
7213 PyObject * _argo0 = 0;
7214 char *_kwnames[] = { "self","pos", NULL };
7215
7216 self = self;
7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
7218 return NULL;
7219 if (_argo0) {
7220 if (_argo0 == Py_None) { _arg0 = NULL; }
7221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7223 return NULL;
7224 }
7225 }
7226{
0e2ff151 7227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7228 wxTextCtrl_ShowPosition(_arg0,_arg1);
e6056257 7229
0e2ff151 7230 wxPyEndAllowThreads(__tstate);
e6056257
RD
7231 if (PyErr_Occurred()) return NULL;
7232} Py_INCREF(Py_None);
7233 _resultobj = Py_None;
7234 return _resultobj;
7235}
7236
742fc581
RD
7237#define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7238static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7239 PyObject * _resultobj;
7240 wxTextCtrl * _arg0;
e6056257 7241 PyObject * _argo0 = 0;
742fc581 7242 char *_kwnames[] = { "self", NULL };
e6056257
RD
7243
7244 self = self;
742fc581 7245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
e6056257
RD
7246 return NULL;
7247 if (_argo0) {
7248 if (_argo0 == Py_None) { _arg0 = NULL; }
7249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
e6056257
RD
7251 return NULL;
7252 }
7253 }
e6056257 7254{
0e2ff151 7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7256 wxTextCtrl_Copy(_arg0);
e6056257 7257
0e2ff151 7258 wxPyEndAllowThreads(__tstate);
e6056257
RD
7259 if (PyErr_Occurred()) return NULL;
7260} Py_INCREF(Py_None);
7261 _resultobj = Py_None;
e6056257
RD
7262 return _resultobj;
7263}
7264
742fc581
RD
7265#define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7266static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7267 PyObject * _resultobj;
7268 wxTextCtrl * _arg0;
e6056257 7269 PyObject * _argo0 = 0;
742fc581 7270 char *_kwnames[] = { "self", NULL };
e6056257
RD
7271
7272 self = self;
742fc581 7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
e6056257
RD
7274 return NULL;
7275 if (_argo0) {
7276 if (_argo0 == Py_None) { _arg0 = NULL; }
7277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
e6056257
RD
7279 return NULL;
7280 }
7281 }
e6056257 7282{
0e2ff151 7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7284 wxTextCtrl_Cut(_arg0);
e6056257 7285
0e2ff151 7286 wxPyEndAllowThreads(__tstate);
e6056257
RD
7287 if (PyErr_Occurred()) return NULL;
7288} Py_INCREF(Py_None);
7289 _resultobj = Py_None;
e6056257
RD
7290 return _resultobj;
7291}
7292
742fc581
RD
7293#define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7294static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7295 PyObject * _resultobj;
e6056257 7296 wxTextCtrl * _arg0;
e6056257 7297 PyObject * _argo0 = 0;
742fc581 7298 char *_kwnames[] = { "self", NULL };
e6056257
RD
7299
7300 self = self;
742fc581 7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
e6056257
RD
7302 return NULL;
7303 if (_argo0) {
7304 if (_argo0 == Py_None) { _arg0 = NULL; }
7305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
e6056257
RD
7307 return NULL;
7308 }
7309 }
7310{
0e2ff151 7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7312 wxTextCtrl_Paste(_arg0);
e6056257 7313
0e2ff151 7314 wxPyEndAllowThreads(__tstate);
e6056257 7315 if (PyErr_Occurred()) return NULL;
742fc581
RD
7316} Py_INCREF(Py_None);
7317 _resultobj = Py_None;
e6056257
RD
7318 return _resultobj;
7319}
7320
7321#define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7322static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7323 PyObject * _resultobj;
7324 bool _result;
7325 wxTextCtrl * _arg0;
7326 PyObject * _argo0 = 0;
7327 char *_kwnames[] = { "self", NULL };
7328
7329 self = self;
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
7331 return NULL;
7332 if (_argo0) {
7333 if (_argo0 == Py_None) { _arg0 = NULL; }
7334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7336 return NULL;
7337 }
7338 }
7339{
0e2ff151 7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7341 _result = (bool )wxTextCtrl_CanCopy(_arg0);
e6056257 7342
0e2ff151 7343 wxPyEndAllowThreads(__tstate);
e6056257
RD
7344 if (PyErr_Occurred()) return NULL;
7345} _resultobj = Py_BuildValue("i",_result);
7346 return _resultobj;
7347}
7348
7349#define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7350static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7351 PyObject * _resultobj;
7352 bool _result;
7353 wxTextCtrl * _arg0;
7354 PyObject * _argo0 = 0;
7355 char *_kwnames[] = { "self", NULL };
7356
7357 self = self;
7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
7359 return NULL;
7360 if (_argo0) {
7361 if (_argo0 == Py_None) { _arg0 = NULL; }
7362 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7363 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7364 return NULL;
7365 }
7366 }
7367{
0e2ff151 7368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7369 _result = (bool )wxTextCtrl_CanCut(_arg0);
e6056257 7370
0e2ff151 7371 wxPyEndAllowThreads(__tstate);
e6056257
RD
7372 if (PyErr_Occurred()) return NULL;
7373} _resultobj = Py_BuildValue("i",_result);
7374 return _resultobj;
7375}
7376
7377#define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7378static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7379 PyObject * _resultobj;
7380 bool _result;
7381 wxTextCtrl * _arg0;
7382 PyObject * _argo0 = 0;
7383 char *_kwnames[] = { "self", NULL };
7384
7385 self = self;
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
7387 return NULL;
7388 if (_argo0) {
7389 if (_argo0 == Py_None) { _arg0 = NULL; }
7390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7392 return NULL;
7393 }
7394 }
7395{
0e2ff151 7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7397 _result = (bool )wxTextCtrl_CanPaste(_arg0);
e6056257 7398
0e2ff151 7399 wxPyEndAllowThreads(__tstate);
e6056257
RD
7400 if (PyErr_Occurred()) return NULL;
7401} _resultobj = Py_BuildValue("i",_result);
7402 return _resultobj;
7403}
7404
742fc581
RD
7405#define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7406static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7407 PyObject * _resultobj;
e6056257
RD
7408 wxTextCtrl * _arg0;
7409 PyObject * _argo0 = 0;
7410 char *_kwnames[] = { "self", NULL };
7411
7412 self = self;
742fc581 7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
e6056257
RD
7414 return NULL;
7415 if (_argo0) {
7416 if (_argo0 == Py_None) { _arg0 = NULL; }
7417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
e6056257
RD
7419 return NULL;
7420 }
7421 }
7422{
0e2ff151 7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7424 wxTextCtrl_Undo(_arg0);
e6056257 7425
0e2ff151 7426 wxPyEndAllowThreads(__tstate);
e6056257 7427 if (PyErr_Occurred()) return NULL;
742fc581
RD
7428} Py_INCREF(Py_None);
7429 _resultobj = Py_None;
e6056257
RD
7430 return _resultobj;
7431}
7432
742fc581
RD
7433#define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7434static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7435 PyObject * _resultobj;
e6056257
RD
7436 wxTextCtrl * _arg0;
7437 PyObject * _argo0 = 0;
7438 char *_kwnames[] = { "self", NULL };
7439
7440 self = self;
742fc581 7441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
e6056257
RD
7442 return NULL;
7443 if (_argo0) {
7444 if (_argo0 == Py_None) { _arg0 = NULL; }
7445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
e6056257
RD
7447 return NULL;
7448 }
7449 }
7450{
0e2ff151 7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7452 wxTextCtrl_Redo(_arg0);
e6056257 7453
0e2ff151 7454 wxPyEndAllowThreads(__tstate);
e6056257 7455 if (PyErr_Occurred()) return NULL;
742fc581
RD
7456} Py_INCREF(Py_None);
7457 _resultobj = Py_None;
e6056257
RD
7458 return _resultobj;
7459}
7460
742fc581
RD
7461#define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7462static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7463 PyObject * _resultobj;
742fc581 7464 bool _result;
e6056257 7465 wxTextCtrl * _arg0;
e6056257
RD
7466 PyObject * _argo0 = 0;
7467 char *_kwnames[] = { "self", NULL };
7468
7469 self = self;
742fc581 7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
e6056257
RD
7471 return NULL;
7472 if (_argo0) {
7473 if (_argo0 == Py_None) { _arg0 = NULL; }
7474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
e6056257
RD
7476 return NULL;
7477 }
7478 }
7479{
0e2ff151 7480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7481 _result = (bool )wxTextCtrl_CanUndo(_arg0);
e6056257 7482
0e2ff151 7483 wxPyEndAllowThreads(__tstate);
e6056257 7484 if (PyErr_Occurred()) return NULL;
742fc581 7485} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
7486 return _resultobj;
7487}
7488
742fc581
RD
7489#define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7490static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7491 PyObject * _resultobj;
7492 bool _result;
7493 wxTextCtrl * _arg0;
7494 PyObject * _argo0 = 0;
7495 char *_kwnames[] = { "self", NULL };
7496
7497 self = self;
742fc581 7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
e6056257
RD
7499 return NULL;
7500 if (_argo0) {
7501 if (_argo0 == Py_None) { _arg0 = NULL; }
7502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
e6056257
RD
7504 return NULL;
7505 }
7506 }
7507{
0e2ff151 7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7509 _result = (bool )wxTextCtrl_CanRedo(_arg0);
e6056257 7510
0e2ff151 7511 wxPyEndAllowThreads(__tstate);
e6056257
RD
7512 if (PyErr_Occurred()) return NULL;
7513} _resultobj = Py_BuildValue("i",_result);
7514 return _resultobj;
7515}
7516
742fc581
RD
7517#define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7518static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7519 PyObject * _resultobj;
7520 wxTextCtrl * _arg0;
742fc581 7521 long _arg1;
e6056257 7522 PyObject * _argo0 = 0;
742fc581 7523 char *_kwnames[] = { "self","pos", NULL };
e6056257
RD
7524
7525 self = self;
742fc581 7526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
e6056257
RD
7527 return NULL;
7528 if (_argo0) {
7529 if (_argo0 == Py_None) { _arg0 = NULL; }
7530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
e6056257
RD
7532 return NULL;
7533 }
7534 }
7535{
0e2ff151 7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7537 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
e6056257 7538
0e2ff151 7539 wxPyEndAllowThreads(__tstate);
e6056257
RD
7540 if (PyErr_Occurred()) return NULL;
7541} Py_INCREF(Py_None);
7542 _resultobj = Py_None;
7543 return _resultobj;
7544}
7545
742fc581
RD
7546#define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7547static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7548 PyObject * _resultobj;
7549 wxTextCtrl * _arg0;
7550 PyObject * _argo0 = 0;
7551 char *_kwnames[] = { "self", NULL };
7552
7553 self = self;
742fc581 7554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
e6056257
RD
7555 return NULL;
7556 if (_argo0) {
7557 if (_argo0 == Py_None) { _arg0 = NULL; }
7558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
e6056257
RD
7560 return NULL;
7561 }
7562 }
7563{
0e2ff151 7564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7565 wxTextCtrl_SetInsertionPointEnd(_arg0);
e6056257 7566
0e2ff151 7567 wxPyEndAllowThreads(__tstate);
e6056257
RD
7568 if (PyErr_Occurred()) return NULL;
7569} Py_INCREF(Py_None);
7570 _resultobj = Py_None;
7571 return _resultobj;
7572}
7573
742fc581
RD
7574#define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7575static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7576 PyObject * _resultobj;
742fc581 7577 long _result;
e6056257 7578 wxTextCtrl * _arg0;
e6056257 7579 PyObject * _argo0 = 0;
742fc581 7580 char *_kwnames[] = { "self", NULL };
e6056257
RD
7581
7582 self = self;
742fc581 7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
e6056257
RD
7584 return NULL;
7585 if (_argo0) {
7586 if (_argo0 == Py_None) { _arg0 = NULL; }
7587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
e6056257
RD
7589 return NULL;
7590 }
7591 }
7592{
0e2ff151 7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7594 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
e6056257 7595
0e2ff151 7596 wxPyEndAllowThreads(__tstate);
e6056257 7597 if (PyErr_Occurred()) return NULL;
742fc581 7598} _resultobj = Py_BuildValue("l",_result);
e6056257
RD
7599 return _resultobj;
7600}
7601
742fc581
RD
7602#define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7603static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7604 PyObject * _resultobj;
742fc581 7605 long _result;
e6056257 7606 wxTextCtrl * _arg0;
e6056257 7607 PyObject * _argo0 = 0;
742fc581 7608 char *_kwnames[] = { "self", NULL };
e6056257
RD
7609
7610 self = self;
742fc581 7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
e6056257
RD
7612 return NULL;
7613 if (_argo0) {
7614 if (_argo0 == Py_None) { _arg0 = NULL; }
7615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
e6056257
RD
7617 return NULL;
7618 }
7619 }
742fc581 7620{
0e2ff151 7621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7622 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
742fc581 7623
0e2ff151 7624 wxPyEndAllowThreads(__tstate);
742fc581
RD
7625 if (PyErr_Occurred()) return NULL;
7626} _resultobj = Py_BuildValue("l",_result);
7627 return _resultobj;
7628}
7629
7630#define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7631static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7632 PyObject * _resultobj;
7633 wxTextCtrl * _arg0;
7634 long _arg1;
7635 long _arg2;
7636 PyObject * _argo0 = 0;
7637 char *_kwnames[] = { "self","from","to", NULL };
7638
7639 self = self;
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
7641 return NULL;
7642 if (_argo0) {
7643 if (_argo0 == Py_None) { _arg0 = NULL; }
7644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
e6056257
RD
7646 return NULL;
7647 }
7648 }
7649{
0e2ff151 7650 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7651 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
e6056257 7652
0e2ff151 7653 wxPyEndAllowThreads(__tstate);
e6056257 7654 if (PyErr_Occurred()) return NULL;
742fc581
RD
7655} Py_INCREF(Py_None);
7656 _resultobj = Py_None;
e6056257
RD
7657 return _resultobj;
7658}
7659
742fc581
RD
7660#define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7661static PyObject *_wrap_wxTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7662 PyObject * _resultobj;
e6056257
RD
7663 wxTextCtrl * _arg0;
7664 PyObject * _argo0 = 0;
7665 char *_kwnames[] = { "self", NULL };
e6056257
RD
7666
7667 self = self;
742fc581 7668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SelectAll",_kwnames,&_argo0))
e6056257
RD
7669 return NULL;
7670 if (_argo0) {
7671 if (_argo0 == Py_None) { _arg0 = NULL; }
7672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
e6056257
RD
7674 return NULL;
7675 }
7676 }
7677{
0e2ff151 7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7679 wxTextCtrl_SelectAll(_arg0);
e6056257 7680
0e2ff151 7681 wxPyEndAllowThreads(__tstate);
e6056257 7682 if (PyErr_Occurred()) return NULL;
742fc581
RD
7683} Py_INCREF(Py_None);
7684 _resultobj = Py_None;
e6056257
RD
7685 return _resultobj;
7686}
7687
742fc581
RD
7688#define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7689static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7690 PyObject * _resultobj;
7691 wxTextCtrl * _arg0;
742fc581 7692 bool _arg1;
e6056257 7693 PyObject * _argo0 = 0;
742fc581
RD
7694 int tempbool1;
7695 char *_kwnames[] = { "self","editable", NULL };
e6056257
RD
7696
7697 self = self;
742fc581 7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
e6056257
RD
7699 return NULL;
7700 if (_argo0) {
7701 if (_argo0 == Py_None) { _arg0 = NULL; }
7702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
e6056257
RD
7704 return NULL;
7705 }
7706 }
742fc581 7707 _arg1 = (bool ) tempbool1;
e6056257 7708{
0e2ff151 7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7710 wxTextCtrl_SetEditable(_arg0,_arg1);
e6056257 7711
0e2ff151 7712 wxPyEndAllowThreads(__tstate);
e6056257
RD
7713 if (PyErr_Occurred()) return NULL;
7714} Py_INCREF(Py_None);
7715 _resultobj = Py_None;
7716 return _resultobj;
7717}
7718
383ea3d0
RD
7719#define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
7720static PyObject *_wrap_wxTextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7721 PyObject * _resultobj;
7722 bool _result;
7723 wxTextCtrl * _arg0;
7724 PyObject * _argo0 = 0;
7725 char *_kwnames[] = { "self", NULL };
7726
7727 self = self;
7728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsSingleLine",_kwnames,&_argo0))
7729 return NULL;
7730 if (_argo0) {
7731 if (_argo0 == Py_None) { _arg0 = NULL; }
7732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
7734 return NULL;
7735 }
7736 }
7737{
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 _result = (bool )wxTextCtrl_IsSingleLine(_arg0);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) return NULL;
7743} _resultobj = Py_BuildValue("i",_result);
7744 return _resultobj;
7745}
7746
7747#define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
7748static PyObject *_wrap_wxTextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject * _resultobj;
7750 bool _result;
7751 wxTextCtrl * _arg0;
7752 PyObject * _argo0 = 0;
7753 char *_kwnames[] = { "self", NULL };
7754
7755 self = self;
7756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsMultiLine",_kwnames,&_argo0))
7757 return NULL;
7758 if (_argo0) {
7759 if (_argo0 == Py_None) { _arg0 = NULL; }
7760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
7762 return NULL;
7763 }
7764 }
7765{
7766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7767 _result = (bool )wxTextCtrl_IsMultiLine(_arg0);
7768
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) return NULL;
7771} _resultobj = Py_BuildValue("i",_result);
7772 return _resultobj;
7773}
7774
e6056257
RD
7775static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
7776 self->AppendText(text);
7777 }
7778static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7779 PyObject * _resultobj;
7780 wxTextCtrl * _arg0;
7781 wxString * _arg1;
7782 PyObject * _argo0 = 0;
7783 PyObject * _obj1 = 0;
7784 char *_kwnames[] = { "self","text", NULL };
7785
7786 self = self;
7787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
7788 return NULL;
7789 if (_argo0) {
7790 if (_argo0 == Py_None) { _arg0 = NULL; }
7791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7793 return NULL;
7794 }
7795 }
7796{
6824d4f9
RD
7797 _arg1 = wxString_in_helper(_obj1);
7798 if (_arg1 == NULL)
e6056257 7799 return NULL;
e6056257
RD
7800}
7801{
0e2ff151 7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7803 wxTextCtrl_write(_arg0,*_arg1);
e6056257 7804
0e2ff151 7805 wxPyEndAllowThreads(__tstate);
e6056257
RD
7806 if (PyErr_Occurred()) return NULL;
7807} Py_INCREF(Py_None);
7808 _resultobj = Py_None;
7809{
7810 if (_obj1)
7811 delete _arg1;
7812}
7813 return _resultobj;
7814}
7815
dbd3685c 7816static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to) {
383ea3d0 7817 return self->GetValue().Mid(from, to - from);
dbd3685c
RD
7818 }
7819static PyObject *_wrap_wxTextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7820 PyObject * _resultobj;
7821 wxString * _result;
7822 wxTextCtrl * _arg0;
7823 long _arg1;
7824 long _arg2;
7825 PyObject * _argo0 = 0;
7826 char *_kwnames[] = { "self","from","to", NULL };
7827
7828 self = self;
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetString",_kwnames,&_argo0,&_arg1,&_arg2))
7830 return NULL;
7831 if (_argo0) {
7832 if (_argo0 == Py_None) { _arg0 = NULL; }
7833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7835 return NULL;
7836 }
7837 }
7838{
0e2ff151 7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7840 _result = new wxString (wxTextCtrl_GetString(_arg0,_arg1,_arg2));
dbd3685c 7841
0e2ff151 7842 wxPyEndAllowThreads(__tstate);
dbd3685c
RD
7843 if (PyErr_Occurred()) return NULL;
7844}{
6824d4f9 7845#if wxUSE_UNICODE
7108497a 7846 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 7847#else
dbd3685c 7848 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 7849#endif
dbd3685c
RD
7850}
7851{
7852 delete _result;
7853}
7854 return _resultobj;
7855}
7856
e6056257
RD
7857static void *SwigwxScrollBarTowxControl(void *ptr) {
7858 wxScrollBar *src;
7859 wxControl *dest;
7860 src = (wxScrollBar *) ptr;
7861 dest = (wxControl *) src;
7862 return (void *) dest;
7863}
7864
7865static void *SwigwxScrollBarTowxWindow(void *ptr) {
7866 wxScrollBar *src;
7867 wxWindow *dest;
7868 src = (wxScrollBar *) ptr;
7869 dest = (wxWindow *) src;
7870 return (void *) dest;
7871}
7872
7873static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
7874 wxScrollBar *src;
7875 wxEvtHandler *dest;
7876 src = (wxScrollBar *) ptr;
7877 dest = (wxEvtHandler *) src;
7878 return (void *) dest;
7879}
7880
7881static void *SwigwxScrollBarTowxObject(void *ptr) {
7882 wxScrollBar *src;
7883 wxObject *dest;
7884 src = (wxScrollBar *) ptr;
7885 dest = (wxObject *) src;
7886 return (void *) dest;
7887}
7888
7889#define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7890static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7891 PyObject * _resultobj;
7892 wxScrollBar * _result;
7893 wxWindow * _arg0;
7894 wxWindowID _arg1 = (wxWindowID ) -1;
7895 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7896 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7897 long _arg4 = (long ) wxSB_HORIZONTAL;
7898 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 7899 wxString * _arg6 = (wxString *) &wxPyScrollBarNameStr;
e6056257
RD
7900 PyObject * _argo0 = 0;
7901 wxPoint temp;
7902 PyObject * _obj2 = 0;
7903 wxSize temp0;
7904 PyObject * _obj3 = 0;
7905 PyObject * _argo5 = 0;
c3bfa1cb 7906 PyObject * _obj6 = 0;
e6056257
RD
7907 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
7908 char _ptemp[128];
7909
7910 self = self;
c3bfa1cb 7911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
e6056257
RD
7912 return NULL;
7913 if (_argo0) {
7914 if (_argo0 == Py_None) { _arg0 = NULL; }
7915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7917 return NULL;
7918 }
7919 }
7920 if (_obj2)
7921{
7922 _arg2 = &temp;
7923 if (! wxPoint_helper(_obj2, &_arg2))
7924 return NULL;
7925}
7926 if (_obj3)
7927{
7928 _arg3 = &temp0;
7929 if (! wxSize_helper(_obj3, &_arg3))
7930 return NULL;
7931}
7932 if (_argo5) {
7108497a 7933 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
e6056257
RD
7934 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7935 return NULL;
7936 }
7937 }
c3bfa1cb
RD
7938 if (_obj6)
7939{
7940 _arg6 = wxString_in_helper(_obj6);
7941 if (_arg6 == NULL)
7942 return NULL;
7943}
e6056257 7944{
0e2ff151 7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 7946 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
e6056257 7947
0e2ff151 7948 wxPyEndAllowThreads(__tstate);
e6056257
RD
7949 if (PyErr_Occurred()) return NULL;
7950} if (_result) {
7951 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
7952 _resultobj = Py_BuildValue("s",_ptemp);
7953 } else {
7954 Py_INCREF(Py_None);
7955 _resultobj = Py_None;
7956 }
c3bfa1cb
RD
7957{
7958 if (_obj6)
7959 delete _arg6;
7960}
e6056257
RD
7961 return _resultobj;
7962}
7963
7964#define new_wxPreScrollBar() (new wxScrollBar())
7965static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7966 PyObject * _resultobj;
7967 wxScrollBar * _result;
7968 char *_kwnames[] = { NULL };
7969 char _ptemp[128];
7970
7971 self = self;
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
7973 return NULL;
7974{
0e2ff151 7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7976 _result = (wxScrollBar *)new_wxPreScrollBar();
e6056257 7977
0e2ff151 7978 wxPyEndAllowThreads(__tstate);
e6056257
RD
7979 if (PyErr_Occurred()) return NULL;
7980} if (_result) {
7981 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
7982 _resultobj = Py_BuildValue("s",_ptemp);
7983 } else {
7984 Py_INCREF(Py_None);
7985 _resultobj = Py_None;
7986 }
7987 return _resultobj;
7988}
7989
7990#define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7991static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7992 PyObject * _resultobj;
7993 bool _result;
7994 wxScrollBar * _arg0;
7995 wxWindow * _arg1;
7996 wxWindowID _arg2 = (wxWindowID ) -1;
7997 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7998 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7999 long _arg5 = (long ) wxSB_HORIZONTAL;
8000 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 8001 wxString * _arg7 = (wxString *) &wxPyScrollBarNameStr;
e6056257
RD
8002 PyObject * _argo0 = 0;
8003 PyObject * _argo1 = 0;
8004 wxPoint temp;
8005 PyObject * _obj3 = 0;
8006 wxSize temp0;
8007 PyObject * _obj4 = 0;
8008 PyObject * _argo6 = 0;
c3bfa1cb 8009 PyObject * _obj7 = 0;
e6056257
RD
8010 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
8011
8012 self = self;
c3bfa1cb 8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
8014 return NULL;
8015 if (_argo0) {
8016 if (_argo0 == Py_None) { _arg0 = NULL; }
8017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8019 return NULL;
8020 }
8021 }
8022 if (_argo1) {
8023 if (_argo1 == Py_None) { _arg1 = NULL; }
8024 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8025 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8026 return NULL;
8027 }
8028 }
8029 if (_obj3)
8030{
8031 _arg3 = &temp;
8032 if (! wxPoint_helper(_obj3, &_arg3))
8033 return NULL;
8034}
8035 if (_obj4)
8036{
8037 _arg4 = &temp0;
8038 if (! wxSize_helper(_obj4, &_arg4))
8039 return NULL;
8040}
8041 if (_argo6) {
7108497a 8042 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
8043 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8044 return NULL;
8045 }
8046 }
c3bfa1cb
RD
8047 if (_obj7)
8048{
8049 _arg7 = wxString_in_helper(_obj7);
8050 if (_arg7 == NULL)
8051 return NULL;
8052}
e6056257 8053{
0e2ff151 8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 8055 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 8056
0e2ff151 8057 wxPyEndAllowThreads(__tstate);
e6056257
RD
8058 if (PyErr_Occurred()) return NULL;
8059} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
8060{
8061 if (_obj7)
8062 delete _arg7;
8063}
e6056257
RD
8064 return _resultobj;
8065}
8066
8067#define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8068static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject * _resultobj;
8070 int _result;
8071 wxScrollBar * _arg0;
8072 PyObject * _argo0 = 0;
8073 char *_kwnames[] = { "self", NULL };
8074
8075 self = self;
8076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
8077 return NULL;
8078 if (_argo0) {
8079 if (_argo0 == Py_None) { _arg0 = NULL; }
8080 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8081 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8082 return NULL;
8083 }
8084 }
8085{
0e2ff151 8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8087 _result = (int )wxScrollBar_GetRange(_arg0);
e6056257 8088
0e2ff151 8089 wxPyEndAllowThreads(__tstate);
e6056257
RD
8090 if (PyErr_Occurred()) return NULL;
8091} _resultobj = Py_BuildValue("i",_result);
8092 return _resultobj;
8093}
8094
8095#define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8096static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8097 PyObject * _resultobj;
8098 int _result;
8099 wxScrollBar * _arg0;
8100 PyObject * _argo0 = 0;
8101 char *_kwnames[] = { "self", NULL };
8102
8103 self = self;
8104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
8105 return NULL;
8106 if (_argo0) {
8107 if (_argo0 == Py_None) { _arg0 = NULL; }
8108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8110 return NULL;
8111 }
8112 }
8113{
0e2ff151 8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8115 _result = (int )wxScrollBar_GetPageSize(_arg0);
e6056257 8116
0e2ff151 8117 wxPyEndAllowThreads(__tstate);
e6056257
RD
8118 if (PyErr_Occurred()) return NULL;
8119} _resultobj = Py_BuildValue("i",_result);
8120 return _resultobj;
8121}
8122
8123#define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8124static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8125 PyObject * _resultobj;
8126 int _result;
8127 wxScrollBar * _arg0;
8128 PyObject * _argo0 = 0;
8129 char *_kwnames[] = { "self", NULL };
8130
8131 self = self;
8132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
8133 return NULL;
8134 if (_argo0) {
8135 if (_argo0 == Py_None) { _arg0 = NULL; }
8136 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8137 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8138 return NULL;
8139 }
8140 }
8141{
0e2ff151 8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8143 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
e6056257 8144
0e2ff151 8145 wxPyEndAllowThreads(__tstate);
e6056257
RD
8146 if (PyErr_Occurred()) return NULL;
8147} _resultobj = Py_BuildValue("i",_result);
8148 return _resultobj;
8149}
8150
8151#define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8152static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8153 PyObject * _resultobj;
8154 int _result;
8155 wxScrollBar * _arg0;
8156 PyObject * _argo0 = 0;
8157 char *_kwnames[] = { "self", NULL };
8158
8159 self = self;
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
8161 return NULL;
8162 if (_argo0) {
8163 if (_argo0 == Py_None) { _arg0 = NULL; }
8164 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8165 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8166 return NULL;
8167 }
8168 }
8169{
0e2ff151 8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8171 _result = (int )wxScrollBar_GetThumbSize(_arg0);
e6056257 8172
0e2ff151 8173 wxPyEndAllowThreads(__tstate);
e6056257
RD
8174 if (PyErr_Occurred()) return NULL;
8175} _resultobj = Py_BuildValue("i",_result);
8176 return _resultobj;
8177}
8178
dbd3685c
RD
8179#define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8180static PyObject *_wrap_wxScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8181 PyObject * _resultobj;
8182 bool _result;
8183 wxScrollBar * _arg0;
8184 PyObject * _argo0 = 0;
8185 char *_kwnames[] = { "self", NULL };
8186
8187 self = self;
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_IsVertical",_kwnames,&_argo0))
8189 return NULL;
8190 if (_argo0) {
8191 if (_argo0 == Py_None) { _arg0 = NULL; }
8192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8194 return NULL;
8195 }
8196 }
8197{
0e2ff151 8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8199 _result = (bool )wxScrollBar_IsVertical(_arg0);
dbd3685c 8200
0e2ff151 8201 wxPyEndAllowThreads(__tstate);
dbd3685c
RD
8202 if (PyErr_Occurred()) return NULL;
8203} _resultobj = Py_BuildValue("i",_result);
8204 return _resultobj;
8205}
8206
e6056257
RD
8207#define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8208static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject * _resultobj;
8210 wxScrollBar * _arg0;
8211 int _arg1;
8212 PyObject * _argo0 = 0;
8213 char *_kwnames[] = { "self","viewStart", NULL };
8214
8215 self = self;
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
8217 return NULL;
8218 if (_argo0) {
8219 if (_argo0 == Py_None) { _arg0 = NULL; }
8220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8222 return NULL;
8223 }
8224 }
8225{
0e2ff151 8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8227 wxScrollBar_SetThumbPosition(_arg0,_arg1);
e6056257 8228
0e2ff151 8229 wxPyEndAllowThreads(__tstate);
e6056257
RD
8230 if (PyErr_Occurred()) return NULL;
8231} Py_INCREF(Py_None);
8232 _resultobj = Py_None;
8233 return _resultobj;
8234}
8235
8236#define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8237static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8238 PyObject * _resultobj;
8239 wxScrollBar * _arg0;
8240 int _arg1;
8241 int _arg2;
8242 int _arg3;
8243 int _arg4;
8244 bool _arg5 = (bool ) TRUE;
8245 PyObject * _argo0 = 0;
8246 int tempbool5 = (int) TRUE;
8247 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
8248
8249 self = self;
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
8251 return NULL;
8252 if (_argo0) {
8253 if (_argo0 == Py_None) { _arg0 = NULL; }
8254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8256 return NULL;
8257 }
8258 }
8259 _arg5 = (bool ) tempbool5;
8260{
0e2ff151 8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8262 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
e6056257 8263
0e2ff151 8264 wxPyEndAllowThreads(__tstate);
e6056257
RD
8265 if (PyErr_Occurred()) return NULL;
8266} Py_INCREF(Py_None);
8267 _resultobj = Py_None;
8268 return _resultobj;
8269}
8270
8271static void *SwigwxSpinButtonTowxControl(void *ptr) {
8272 wxSpinButton *src;
8273 wxControl *dest;
8274 src = (wxSpinButton *) ptr;
8275 dest = (wxControl *) src;
8276 return (void *) dest;
8277}
8278
8279static void *SwigwxSpinButtonTowxWindow(void *ptr) {
8280 wxSpinButton *src;
8281 wxWindow *dest;
8282 src = (wxSpinButton *) ptr;
8283 dest = (wxWindow *) src;
8284 return (void *) dest;
8285}
8286
8287static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
8288 wxSpinButton *src;
8289 wxEvtHandler *dest;
8290 src = (wxSpinButton *) ptr;
8291 dest = (wxEvtHandler *) src;
8292 return (void *) dest;
8293}
8294
8295static void *SwigwxSpinButtonTowxObject(void *ptr) {
8296 wxSpinButton *src;
8297 wxObject *dest;
8298 src = (wxSpinButton *) ptr;
8299 dest = (wxObject *) src;
8300 return (void *) dest;
8301}
8302
8303#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8304static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8305 PyObject * _resultobj;
8306 wxSpinButton * _result;
8307 wxWindow * _arg0;
8308 wxWindowID _arg1 = (wxWindowID ) -1;
8309 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8310 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
8311 long _arg4 = (long ) wxSP_HORIZONTAL;
c3bfa1cb 8312 wxString * _arg5 = (wxString *) &wxPySPIN_BUTTON_NAME;
e6056257
RD
8313 PyObject * _argo0 = 0;
8314 wxPoint temp;
8315 PyObject * _obj2 = 0;
8316 wxSize temp0;
8317 PyObject * _obj3 = 0;
c3bfa1cb 8318 PyObject * _obj5 = 0;
e6056257
RD
8319 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8320 char _ptemp[128];
8321
8322 self = self;
c3bfa1cb 8323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
e6056257
RD
8324 return NULL;
8325 if (_argo0) {
8326 if (_argo0 == Py_None) { _arg0 = NULL; }
8327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8329 return NULL;
8330 }
8331 }
8332 if (_obj2)
8333{
8334 _arg2 = &temp;
8335 if (! wxPoint_helper(_obj2, &_arg2))
8336 return NULL;
8337}
8338 if (_obj3)
8339{
8340 _arg3 = &temp0;
8341 if (! wxSize_helper(_obj3, &_arg3))
8342 return NULL;
c3bfa1cb
RD
8343}
8344 if (_obj5)
8345{
8346 _arg5 = wxString_in_helper(_obj5);
8347 if (_arg5 == NULL)
8348 return NULL;
e6056257
RD
8349}
8350{
0e2ff151 8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 8352 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
e6056257 8353
0e2ff151 8354 wxPyEndAllowThreads(__tstate);
e6056257
RD
8355 if (PyErr_Occurred()) return NULL;
8356} if (_result) {
8357 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8358 _resultobj = Py_BuildValue("s",_ptemp);
8359 } else {
8360 Py_INCREF(Py_None);
8361 _resultobj = Py_None;
8362 }
c3bfa1cb
RD
8363{
8364 if (_obj5)
8365 delete _arg5;
8366}
e6056257
RD
8367 return _resultobj;
8368}
8369
8370#define new_wxPreSpinButton() (new wxSpinButton())
8371static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8372 PyObject * _resultobj;
8373 wxSpinButton * _result;
8374 char *_kwnames[] = { NULL };
8375 char _ptemp[128];
8376
8377 self = self;
8378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
8379 return NULL;
8380{
0e2ff151 8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8382 _result = (wxSpinButton *)new_wxPreSpinButton();
e6056257 8383
0e2ff151 8384 wxPyEndAllowThreads(__tstate);
e6056257
RD
8385 if (PyErr_Occurred()) return NULL;
8386} if (_result) {
8387 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8388 _resultobj = Py_BuildValue("s",_ptemp);
8389 } else {
8390 Py_INCREF(Py_None);
8391 _resultobj = Py_None;
8392 }
8393 return _resultobj;
8394}
8395
8396#define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8397static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8398 PyObject * _resultobj;
8399 bool _result;
8400 wxSpinButton * _arg0;
8401 wxWindow * _arg1;
8402 wxWindowID _arg2 = (wxWindowID ) -1;
8403 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8404 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8405 long _arg5 = (long ) wxSP_HORIZONTAL;
c3bfa1cb 8406 wxString * _arg6 = (wxString *) &wxPySPIN_BUTTON_NAME;
e6056257
RD
8407 PyObject * _argo0 = 0;
8408 PyObject * _argo1 = 0;
8409 wxPoint temp;
8410 PyObject * _obj3 = 0;
8411 wxSize temp0;
8412 PyObject * _obj4 = 0;
c3bfa1cb 8413 PyObject * _obj6 = 0;
e6056257
RD
8414 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
8415
8416 self = self;
c3bfa1cb 8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
e6056257
RD
8418 return NULL;
8419 if (_argo0) {
8420 if (_argo0 == Py_None) { _arg0 = NULL; }
8421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8423 return NULL;
8424 }
8425 }
8426 if (_argo1) {
8427 if (_argo1 == Py_None) { _arg1 = NULL; }
8428 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8429 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8430 return NULL;
8431 }
8432 }
8433 if (_obj3)
8434{
8435 _arg3 = &temp;
8436 if (! wxPoint_helper(_obj3, &_arg3))
8437 return NULL;
8438}
8439 if (_obj4)
8440{
8441 _arg4 = &temp0;
8442 if (! wxSize_helper(_obj4, &_arg4))
8443 return NULL;
c3bfa1cb
RD
8444}
8445 if (_obj6)
8446{
8447 _arg6 = wxString_in_helper(_obj6);
8448 if (_arg6 == NULL)
8449 return NULL;
e6056257
RD
8450}
8451{
0e2ff151 8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 8453 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
e6056257 8454
0e2ff151 8455 wxPyEndAllowThreads(__tstate);
e6056257
RD
8456 if (PyErr_Occurred()) return NULL;
8457} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
8458{
8459 if (_obj6)
8460 delete _arg6;
8461}
e6056257
RD
8462 return _resultobj;
8463}
8464
8465#define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8466static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject * _resultobj;
8468 int _result;
8469 wxSpinButton * _arg0;
8470 PyObject * _argo0 = 0;
8471 char *_kwnames[] = { "self", NULL };
8472
8473 self = self;
8474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
8475 return NULL;
8476 if (_argo0) {
8477 if (_argo0 == Py_None) { _arg0 = NULL; }
8478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8480 return NULL;
8481 }
8482 }
8483{
0e2ff151 8484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8485 _result = (int )wxSpinButton_GetMax(_arg0);
e6056257 8486
0e2ff151 8487 wxPyEndAllowThreads(__tstate);
e6056257
RD
8488 if (PyErr_Occurred()) return NULL;
8489} _resultobj = Py_BuildValue("i",_result);
8490 return _resultobj;
8491}
8492
8493#define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8494static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8495 PyObject * _resultobj;
8496 int _result;
8497 wxSpinButton * _arg0;
8498 PyObject * _argo0 = 0;
8499 char *_kwnames[] = { "self", NULL };
8500
8501 self = self;
8502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
8503 return NULL;
8504 if (_argo0) {
8505 if (_argo0 == Py_None) { _arg0 = NULL; }
8506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8508 return NULL;
8509 }
8510 }
8511{
0e2ff151 8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8513 _result = (int )wxSpinButton_GetMin(_arg0);
e6056257 8514
0e2ff151 8515 wxPyEndAllowThreads(__tstate);
e6056257
RD
8516 if (PyErr_Occurred()) return NULL;
8517} _resultobj = Py_BuildValue("i",_result);
8518 return _resultobj;
8519}
8520
8521#define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8522static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8523 PyObject * _resultobj;
8524 int _result;
8525 wxSpinButton * _arg0;
8526 PyObject * _argo0 = 0;
8527 char *_kwnames[] = { "self", NULL };
8528
8529 self = self;
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
8531 return NULL;
8532 if (_argo0) {
8533 if (_argo0 == Py_None) { _arg0 = NULL; }
8534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8536 return NULL;
8537 }
8538 }
8539{
0e2ff151 8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8541 _result = (int )wxSpinButton_GetValue(_arg0);
e6056257 8542
0e2ff151 8543 wxPyEndAllowThreads(__tstate);
e6056257
RD
8544 if (PyErr_Occurred()) return NULL;
8545} _resultobj = Py_BuildValue("i",_result);
8546 return _resultobj;
8547}
8548
8549#define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8550static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8551 PyObject * _resultobj;
8552 wxSpinButton * _arg0;
8553 int _arg1;
8554 int _arg2;
8555 PyObject * _argo0 = 0;
8556 char *_kwnames[] = { "self","min","max", NULL };
8557
8558 self = self;
8559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
8560 return NULL;
8561 if (_argo0) {
8562 if (_argo0 == Py_None) { _arg0 = NULL; }
8563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8565 return NULL;
8566 }
8567 }
8568{
0e2ff151 8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8570 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
e6056257 8571
0e2ff151 8572 wxPyEndAllowThreads(__tstate);
e6056257
RD
8573 if (PyErr_Occurred()) return NULL;
8574} Py_INCREF(Py_None);
8575 _resultobj = Py_None;
8576 return _resultobj;
8577}
8578
8579#define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8580static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject * _resultobj;
8582 wxSpinButton * _arg0;
8583 int _arg1;
8584 PyObject * _argo0 = 0;
8585 char *_kwnames[] = { "self","value", NULL };
8586
8587 self = self;
8588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
8589 return NULL;
8590 if (_argo0) {
8591 if (_argo0 == Py_None) { _arg0 = NULL; }
8592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8594 return NULL;
8595 }
8596 }
8597{
0e2ff151 8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8599 wxSpinButton_SetValue(_arg0,_arg1);
e6056257 8600
0e2ff151 8601 wxPyEndAllowThreads(__tstate);
e6056257
RD
8602 if (PyErr_Occurred()) return NULL;
8603} Py_INCREF(Py_None);
8604 _resultobj = Py_None;
8605 return _resultobj;
8606}
8607
8608static void *SwigwxStaticBitmapTowxControl(void *ptr) {
8609 wxStaticBitmap *src;
8610 wxControl *dest;
8611 src = (wxStaticBitmap *) ptr;
8612 dest = (wxControl *) src;
8613 return (void *) dest;
8614}
8615
8616static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
8617 wxStaticBitmap *src;
8618 wxWindow *dest;
8619 src = (wxStaticBitmap *) ptr;
8620 dest = (wxWindow *) src;
8621 return (void *) dest;
8622}
8623
8624static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
8625 wxStaticBitmap *src;
8626 wxEvtHandler *dest;
8627 src = (wxStaticBitmap *) ptr;
8628 dest = (wxEvtHandler *) src;
8629 return (void *) dest;
8630}
8631
8632static void *SwigwxStaticBitmapTowxObject(void *ptr) {
8633 wxStaticBitmap *src;
8634 wxObject *dest;
8635 src = (wxStaticBitmap *) ptr;
8636 dest = (wxObject *) src;
8637 return (void *) dest;
8638}
8639
8640#define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8641static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8642 PyObject * _resultobj;
8643 wxStaticBitmap * _result;
8644 wxWindow * _arg0;
8645 wxWindowID _arg1;
8646 wxBitmap * _arg2;
8647 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8648 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8649 long _arg5 = (long ) 0;
c3bfa1cb 8650 wxString * _arg6 = (wxString *) &wxPyStaticBitmapNameStr;
e6056257
RD
8651 PyObject * _argo0 = 0;
8652 PyObject * _argo2 = 0;
8653 wxPoint temp;
8654 PyObject * _obj3 = 0;
8655 wxSize temp0;
8656 PyObject * _obj4 = 0;
c3bfa1cb 8657 PyObject * _obj6 = 0;
e6056257
RD
8658 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
8659 char _ptemp[128];
8660
8661 self = self;
c3bfa1cb 8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_obj6))
e6056257
RD
8663 return NULL;
8664 if (_argo0) {
8665 if (_argo0 == Py_None) { _arg0 = NULL; }
8666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8668 return NULL;
8669 }
8670 }
8671 if (_argo2) {
7108497a 8672 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
e6056257
RD
8673 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8674 return NULL;
8675 }
8676 }
8677 if (_obj3)
8678{
8679 _arg3 = &temp;
8680 if (! wxPoint_helper(_obj3, &_arg3))
8681 return NULL;
8682}
8683 if (_obj4)
8684{
8685 _arg4 = &temp0;
8686 if (! wxSize_helper(_obj4, &_arg4))
8687 return NULL;
c3bfa1cb
RD
8688}
8689 if (_obj6)
8690{
8691 _arg6 = wxString_in_helper(_obj6);
8692 if (_arg6 == NULL)
8693 return NULL;
e6056257
RD
8694}
8695{
0e2ff151 8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 8697 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
e6056257 8698
0e2ff151 8699 wxPyEndAllowThreads(__tstate);
e6056257
RD
8700 if (PyErr_Occurred()) return NULL;
8701} if (_result) {
8702 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8703 _resultobj = Py_BuildValue("s",_ptemp);
8704 } else {
8705 Py_INCREF(Py_None);
8706 _resultobj = Py_None;
8707 }
c3bfa1cb
RD
8708{
8709 if (_obj6)
8710 delete _arg6;
8711}
e6056257
RD
8712 return _resultobj;
8713}
8714
8715#define new_wxPreStaticBitmap() (new wxStaticBitmap())
8716static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8717 PyObject * _resultobj;
8718 wxStaticBitmap * _result;
8719 char *_kwnames[] = { NULL };
8720 char _ptemp[128];
8721
8722 self = self;
8723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
8724 return NULL;
8725{
0e2ff151 8726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8727 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
e6056257 8728
0e2ff151 8729 wxPyEndAllowThreads(__tstate);
e6056257
RD
8730 if (PyErr_Occurred()) return NULL;
8731} if (_result) {
8732 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8733 _resultobj = Py_BuildValue("s",_ptemp);
8734 } else {
8735 Py_INCREF(Py_None);
8736 _resultobj = Py_None;
8737 }
8738 return _resultobj;
8739}
8740
8741#define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8742static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8743 PyObject * _resultobj;
8744 bool _result;
8745 wxStaticBitmap * _arg0;
8746 wxWindow * _arg1;
8747 wxWindowID _arg2;
8748 wxBitmap * _arg3;
8749 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
8750 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
8751 long _arg6 = (long ) 0;
c3bfa1cb 8752 wxString * _arg7 = (wxString *) &wxPyStaticBitmapNameStr;
e6056257
RD
8753 PyObject * _argo0 = 0;
8754 PyObject * _argo1 = 0;
8755 PyObject * _argo3 = 0;
8756 wxPoint temp;
8757 PyObject * _obj4 = 0;
8758 wxSize temp0;
8759 PyObject * _obj5 = 0;
c3bfa1cb 8760 PyObject * _obj7 = 0;
e6056257
RD
8761 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
8762
8763 self = self;
c3bfa1cb 8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_obj7))
e6056257
RD
8765 return NULL;
8766 if (_argo0) {
8767 if (_argo0 == Py_None) { _arg0 = NULL; }
8768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8770 return NULL;
8771 }
8772 }
8773 if (_argo1) {
8774 if (_argo1 == Py_None) { _arg1 = NULL; }
8775 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8776 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8777 return NULL;
8778 }
8779 }
8780 if (_argo3) {
7108497a 8781 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
e6056257
RD
8782 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8783 return NULL;
8784 }
8785 }
8786 if (_obj4)
8787{
8788 _arg4 = &temp;
8789 if (! wxPoint_helper(_obj4, &_arg4))
8790 return NULL;
8791}
8792 if (_obj5)
8793{
8794 _arg5 = &temp0;
8795 if (! wxSize_helper(_obj5, &_arg5))
8796 return NULL;
c3bfa1cb
RD
8797}
8798 if (_obj7)
8799{
8800 _arg7 = wxString_in_helper(_obj7);
8801 if (_arg7 == NULL)
8802 return NULL;
e6056257
RD
8803}
8804{
0e2ff151 8805 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 8806 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
e6056257 8807
0e2ff151 8808 wxPyEndAllowThreads(__tstate);
e6056257
RD
8809 if (PyErr_Occurred()) return NULL;
8810} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
8811{
8812 if (_obj7)
8813 delete _arg7;
8814}
e6056257
RD
8815 return _resultobj;
8816}
8817
8818#define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8819static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8820 PyObject * _resultobj;
8821 wxBitmap * _result;
8822 wxStaticBitmap * _arg0;
8823 PyObject * _argo0 = 0;
8824 char *_kwnames[] = { "self", NULL };
8825 char _ptemp[128];
8826
8827 self = self;
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
8829 return NULL;
8830 if (_argo0) {
8831 if (_argo0 == Py_None) { _arg0 = NULL; }
8832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8834 return NULL;
8835 }
8836 }
8837{
0e2ff151 8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8839 _result = new wxBitmap (wxStaticBitmap_GetBitmap(_arg0));
e6056257 8840
0e2ff151 8841 wxPyEndAllowThreads(__tstate);
e6056257 8842 if (PyErr_Occurred()) return NULL;
00360d46
RD
8843} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
8844 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
8845 return _resultobj;
8846}
8847
8848#define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8849static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject * _resultobj;
8851 wxStaticBitmap * _arg0;
8852 wxBitmap * _arg1;
8853 PyObject * _argo0 = 0;
8854 PyObject * _argo1 = 0;
8855 char *_kwnames[] = { "self","bitmap", NULL };
8856
8857 self = self;
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
8859 return NULL;
8860 if (_argo0) {
8861 if (_argo0 == Py_None) { _arg0 = NULL; }
8862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8864 return NULL;
8865 }
8866 }
8867 if (_argo1) {
7108497a 8868 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e6056257
RD
8869 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8870 return NULL;
8871 }
8872 }
8873{
0e2ff151 8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8875 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
e6056257 8876
0e2ff151 8877 wxPyEndAllowThreads(__tstate);
e6056257
RD
8878 if (PyErr_Occurred()) return NULL;
8879} Py_INCREF(Py_None);
8880 _resultobj = Py_None;
8881 return _resultobj;
8882}
8883
8884#define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8885static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8886 PyObject * _resultobj;
8887 wxStaticBitmap * _arg0;
8888 wxIcon * _arg1;
8889 PyObject * _argo0 = 0;
8890 PyObject * _argo1 = 0;
8891 char *_kwnames[] = { "self","icon", NULL };
8892
8893 self = self;
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
8895 return NULL;
8896 if (_argo0) {
8897 if (_argo0 == Py_None) { _arg0 = NULL; }
8898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8900 return NULL;
8901 }
8902 }
8903 if (_argo1) {
7108497a 8904 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
e6056257
RD
8905 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8906 return NULL;
8907 }
8908 }
8909{
0e2ff151 8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8911 wxStaticBitmap_SetIcon(_arg0,*_arg1);
e6056257 8912
0e2ff151 8913 wxPyEndAllowThreads(__tstate);
e6056257
RD
8914 if (PyErr_Occurred()) return NULL;
8915} Py_INCREF(Py_None);
8916 _resultobj = Py_None;
8917 return _resultobj;
8918}
8919
8920static void *SwigwxRadioBoxTowxControl(void *ptr) {
8921 wxRadioBox *src;
8922 wxControl *dest;
8923 src = (wxRadioBox *) ptr;
8924 dest = (wxControl *) src;
8925 return (void *) dest;
8926}
8927
8928static void *SwigwxRadioBoxTowxWindow(void *ptr) {
8929 wxRadioBox *src;
8930 wxWindow *dest;
8931 src = (wxRadioBox *) ptr;
8932 dest = (wxWindow *) src;
8933 return (void *) dest;
8934}
8935
8936static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
8937 wxRadioBox *src;
8938 wxEvtHandler *dest;
8939 src = (wxRadioBox *) ptr;
8940 dest = (wxEvtHandler *) src;
8941 return (void *) dest;
8942}
8943
8944static void *SwigwxRadioBoxTowxObject(void *ptr) {
8945 wxRadioBox *src;
8946 wxObject *dest;
8947 src = (wxRadioBox *) ptr;
8948 dest = (wxObject *) src;
8949 return (void *) dest;
8950}
8951
8952#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))
8953static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8954 PyObject * _resultobj;
8955 wxRadioBox * _result;
8956 wxWindow * _arg0;
8957 wxWindowID _arg1;
8958 wxString * _arg2;
8959 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8960 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8961 int _arg5 = (int ) 0;
8962 wxString * _arg6 = (wxString *) NULL;
8963 int _arg7 = (int ) 0;
8964 long _arg8 = (long ) wxRA_HORIZONTAL;
8965 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 8966 wxString * _arg10 = (wxString *) &wxPyRadioBoxNameStr;
e6056257
RD
8967 PyObject * _argo0 = 0;
8968 PyObject * _obj2 = 0;
8969 wxPoint temp;
8970 PyObject * _obj3 = 0;
8971 wxSize temp0;
8972 PyObject * _obj4 = 0;
8973 PyObject * _obj6 = 0;
8974 PyObject * _argo9 = 0;
c3bfa1cb 8975 PyObject * _obj10 = 0;
e6056257
RD
8976 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
8977 char _ptemp[128];
8978
8979 self = self;
c3bfa1cb 8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOO:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_obj10))
e6056257
RD
8981 return NULL;
8982 if (_argo0) {
8983 if (_argo0 == Py_None) { _arg0 = NULL; }
8984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8986 return NULL;
8987 }
8988 }
8989{
6824d4f9
RD
8990 _arg2 = wxString_in_helper(_obj2);
8991 if (_arg2 == NULL)
e6056257 8992 return NULL;
e6056257
RD
8993}
8994 if (_obj3)
8995{
8996 _arg3 = &temp;
8997 if (! wxPoint_helper(_obj3, &_arg3))
8998 return NULL;
8999}
9000 if (_obj4)
9001{
9002 _arg4 = &temp0;
9003 if (! wxSize_helper(_obj4, &_arg4))
9004 return NULL;
9005}
9006 if (_obj6)
9007{
9008 _arg6 = wxString_LIST_helper(_obj6);
9009 if (_arg6 == NULL) {
9010 return NULL;
9011 }
9012}
9013 if (_argo9) {
7108497a 9014 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
e6056257
RD
9015 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9016 return NULL;
9017 }
9018 }
c3bfa1cb
RD
9019 if (_obj10)
9020{
9021 _arg10 = wxString_in_helper(_obj10);
9022 if (_arg10 == NULL)
9023 return NULL;
9024}
e6056257
RD
9025{
9026 if (_obj6) {
9027 _arg5 = PyList_Size(_obj6);
9028 }
9029 else {
9030 _arg5 = 0;
9031 }
9032}
9033{
0e2ff151 9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 9035 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
e6056257 9036
0e2ff151 9037 wxPyEndAllowThreads(__tstate);
e6056257
RD
9038 if (PyErr_Occurred()) return NULL;
9039} if (_result) {
9040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9041 _resultobj = Py_BuildValue("s",_ptemp);
9042 } else {
9043 Py_INCREF(Py_None);
9044 _resultobj = Py_None;
9045 }
9046{
9047 if (_obj2)
9048 delete _arg2;
9049}
9050{
9051 delete [] _arg6;
c3bfa1cb
RD
9052}
9053{
9054 if (_obj10)
9055 delete _arg10;
e6056257
RD
9056}
9057 return _resultobj;
9058}
9059
9060#define new_wxPreRadioBox() (new wxRadioBox())
9061static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject * _resultobj;
9063 wxRadioBox * _result;
9064 char *_kwnames[] = { NULL };
9065 char _ptemp[128];
9066
9067 self = self;
9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
9069 return NULL;
9070{
0e2ff151 9071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9072 _result = (wxRadioBox *)new_wxPreRadioBox();
e6056257 9073
0e2ff151 9074 wxPyEndAllowThreads(__tstate);
e6056257
RD
9075 if (PyErr_Occurred()) return NULL;
9076} if (_result) {
9077 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9078 _resultobj = Py_BuildValue("s",_ptemp);
9079 } else {
9080 Py_INCREF(Py_None);
9081 _resultobj = Py_None;
9082 }
9083 return _resultobj;
9084}
9085
9086#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))
9087static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9088 PyObject * _resultobj;
9089 bool _result;
9090 wxRadioBox * _arg0;
9091 wxWindow * _arg1;
9092 wxWindowID _arg2;
9093 wxString * _arg3;
9094 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9095 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9096 int _arg6 = (int ) 0;
9097 wxString * _arg7 = (wxString *) NULL;
9098 int _arg8 = (int ) 0;
9099 long _arg9 = (long ) wxRA_HORIZONTAL;
9100 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 9101 wxString * _arg11 = (wxString *) &wxPyRadioBoxNameStr;
e6056257
RD
9102 PyObject * _argo0 = 0;
9103 PyObject * _argo1 = 0;
9104 PyObject * _obj3 = 0;
9105 wxPoint temp;
9106 PyObject * _obj4 = 0;
9107 wxSize temp0;
9108 PyObject * _obj5 = 0;
9109 PyObject * _obj7 = 0;
9110 PyObject * _argo10 = 0;
c3bfa1cb 9111 PyObject * _obj11 = 0;
e6056257
RD
9112 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
9113
9114 self = self;
c3bfa1cb 9115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_obj11))
e6056257
RD
9116 return NULL;
9117 if (_argo0) {
9118 if (_argo0 == Py_None) { _arg0 = NULL; }
9119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9121 return NULL;
9122 }
9123 }
9124 if (_argo1) {
9125 if (_argo1 == Py_None) { _arg1 = NULL; }
9126 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9127 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9128 return NULL;
9129 }
9130 }
9131{
6824d4f9
RD
9132 _arg3 = wxString_in_helper(_obj3);
9133 if (_arg3 == NULL)
e6056257 9134 return NULL;
e6056257
RD
9135}
9136 if (_obj4)
9137{
9138 _arg4 = &temp;
9139 if (! wxPoint_helper(_obj4, &_arg4))
9140 return NULL;
9141}
9142 if (_obj5)
9143{
9144 _arg5 = &temp0;
9145 if (! wxSize_helper(_obj5, &_arg5))
9146 return NULL;
9147}
9148 if (_obj7)
9149{
9150 _arg7 = wxString_LIST_helper(_obj7);
9151 if (_arg7 == NULL) {
9152 return NULL;
9153 }
9154}
9155 if (_argo10) {
7108497a 9156 if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
e6056257
RD
9157 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9158 return NULL;
9159 }
9160 }
c3bfa1cb
RD
9161 if (_obj11)
9162{
9163 _arg11 = wxString_in_helper(_obj11);
9164 if (_arg11 == NULL)
9165 return NULL;
9166}
e6056257
RD
9167{
9168 if (_obj7) {
9169 _arg6 = PyList_Size(_obj7);
9170 }
9171 else {
9172 _arg6 = 0;
9173 }
9174}
9175{
0e2ff151 9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 9177 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,*_arg11);
e6056257 9178
0e2ff151 9179 wxPyEndAllowThreads(__tstate);
e6056257
RD
9180 if (PyErr_Occurred()) return NULL;
9181} _resultobj = Py_BuildValue("i",_result);
9182{
9183 if (_obj3)
9184 delete _arg3;
9185}
9186{
9187 delete [] _arg7;
c3bfa1cb
RD
9188}
9189{
9190 if (_obj11)
9191 delete _arg11;
e6056257
RD
9192}
9193 return _resultobj;
9194}
9195
9196#define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9197static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
9198 PyObject * _resultobj;
9199 wxRadioBox * _arg0;
9200 bool _arg1;
9201 PyObject * _argo0 = 0;
9202 int tempbool1;
9203 char *_kwnames[] = { "self","enable", NULL };
9204
9205 self = self;
9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
9207 return NULL;
9208 if (_argo0) {
9209 if (_argo0 == Py_None) { _arg0 = NULL; }
9210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9212 return NULL;
9213 }
9214 }
9215 _arg1 = (bool ) tempbool1;
9216{
0e2ff151 9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9218 wxRadioBox_Enable(_arg0,_arg1);
e6056257 9219
0e2ff151 9220 wxPyEndAllowThreads(__tstate);
e6056257
RD
9221 if (PyErr_Occurred()) return NULL;
9222} Py_INCREF(Py_None);
9223 _resultobj = Py_None;
9224 return _resultobj;
9225}
9226
9227#define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9228static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9229 PyObject * _resultobj;
9230 wxRadioBox * _arg0;
9231 int _arg1;
9232 bool _arg2;
9233 PyObject * _argo0 = 0;
9234 int tempbool2;
9235 char *_kwnames[] = { "self","n","enable", NULL };
9236
9237 self = self;
9238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
9239 return NULL;
9240 if (_argo0) {
9241 if (_argo0 == Py_None) { _arg0 = NULL; }
9242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9244 return NULL;
9245 }
9246 }
9247 _arg2 = (bool ) tempbool2;
9248{
0e2ff151 9249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9250 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
e6056257 9251
0e2ff151 9252 wxPyEndAllowThreads(__tstate);
e6056257
RD
9253 if (PyErr_Occurred()) return NULL;
9254} Py_INCREF(Py_None);
9255 _resultobj = Py_None;
9256 return _resultobj;
9257}
9258
9259#define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9260static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9261 PyObject * _resultobj;
9262 int _result;
9263 wxRadioBox * _arg0;
9264 wxString * _arg1;
9265 PyObject * _argo0 = 0;
9266 PyObject * _obj1 = 0;
9267 char *_kwnames[] = { "self","string", NULL };
9268
9269 self = self;
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
9271 return NULL;
9272 if (_argo0) {
9273 if (_argo0 == Py_None) { _arg0 = NULL; }
9274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9276 return NULL;
9277 }
9278 }
9279{
6824d4f9
RD
9280 _arg1 = wxString_in_helper(_obj1);
9281 if (_arg1 == NULL)
e6056257 9282 return NULL;
e6056257
RD
9283}
9284{
0e2ff151 9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9286 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
e6056257 9287
0e2ff151 9288 wxPyEndAllowThreads(__tstate);
e6056257
RD
9289 if (PyErr_Occurred()) return NULL;
9290} _resultobj = Py_BuildValue("i",_result);
9291{
9292 if (_obj1)
9293 delete _arg1;
9294}
9295 return _resultobj;
9296}
9297
9298#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9299static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9300 PyObject * _resultobj;
9301 wxString * _result;
9302 wxRadioBox * _arg0;
9303 int _arg1;
9304 PyObject * _argo0 = 0;
9305 char *_kwnames[] = { "self","n", NULL };
9306
9307 self = self;
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
9309 return NULL;
9310 if (_argo0) {
9311 if (_argo0 == Py_None) { _arg0 = NULL; }
9312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9314 return NULL;
9315 }
9316 }
9317{
0e2ff151 9318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9319 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
e6056257 9320
0e2ff151 9321 wxPyEndAllowThreads(__tstate);
e6056257
RD
9322 if (PyErr_Occurred()) return NULL;
9323}{
6824d4f9 9324#if wxUSE_UNICODE
7108497a 9325 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 9326#else
e6056257 9327 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 9328#endif
e6056257
RD
9329}
9330{
9331 delete _result;
9332}
9333 return _resultobj;
9334}
9335
9336#define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9337static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9338 PyObject * _resultobj;
9339 wxRadioBox * _arg0;
9340 int _arg1;
9341 wxString * _arg2;
9342 PyObject * _argo0 = 0;
9343 PyObject * _obj2 = 0;
9344 char *_kwnames[] = { "self","n","label", NULL };
9345
9346 self = self;
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
9348 return NULL;
9349 if (_argo0) {
9350 if (_argo0 == Py_None) { _arg0 = NULL; }
9351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9353 return NULL;
9354 }
9355 }
9356{
6824d4f9
RD
9357 _arg2 = wxString_in_helper(_obj2);
9358 if (_arg2 == NULL)
e6056257 9359 return NULL;
e6056257
RD
9360}
9361{
0e2ff151 9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9363 wxRadioBox_SetString(_arg0,_arg1,*_arg2);
e6056257 9364
0e2ff151 9365 wxPyEndAllowThreads(__tstate);
e6056257
RD
9366 if (PyErr_Occurred()) return NULL;
9367} Py_INCREF(Py_None);
9368 _resultobj = Py_None;
9369{
9370 if (_obj2)
9371 delete _arg2;
9372}
9373 return _resultobj;
9374}
9375
9376#define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9377static PyObject *_wrap_wxRadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9378 PyObject * _resultobj;
9379 int _result;
9380 wxRadioBox * _arg0;
9381 PyObject * _argo0 = 0;
9382 char *_kwnames[] = { "self", NULL };
9383
9384 self = self;
9385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetColumnCount",_kwnames,&_argo0))
9386 return NULL;
9387 if (_argo0) {
9388 if (_argo0 == Py_None) { _arg0 = NULL; }
9389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9391 return NULL;
9392 }
9393 }
9394{
0e2ff151 9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9396 _result = (int )wxRadioBox_GetColumnCount(_arg0);
e6056257 9397
0e2ff151 9398 wxPyEndAllowThreads(__tstate);
e6056257
RD
9399 if (PyErr_Occurred()) return NULL;
9400} _resultobj = Py_BuildValue("i",_result);
9401 return _resultobj;
9402}
9403
9404#define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9405static PyObject *_wrap_wxRadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9406 PyObject * _resultobj;
9407 int _result;
9408 wxRadioBox * _arg0;
9409 PyObject * _argo0 = 0;
9410 char *_kwnames[] = { "self", NULL };
9411
9412 self = self;
9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetRowCount",_kwnames,&_argo0))
9414 return NULL;
9415 if (_argo0) {
9416 if (_argo0 == Py_None) { _arg0 = NULL; }
9417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9419 return NULL;
9420 }
9421 }
9422{
0e2ff151 9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9424 _result = (int )wxRadioBox_GetRowCount(_arg0);
e6056257 9425
0e2ff151 9426 wxPyEndAllowThreads(__tstate);
e6056257
RD
9427 if (PyErr_Occurred()) return NULL;
9428} _resultobj = Py_BuildValue("i",_result);
9429 return _resultobj;
9430}
9431
7108497a
RD
9432#define wxRadioBox_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
9433static PyObject *_wrap_wxRadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9434 PyObject * _resultobj;
9435 int _result;
9436 wxRadioBox * _arg0;
9437 int _arg1;
9438 wxDirection * _arg2;
9439 long _arg3;
9440 PyObject * _argo0 = 0;
9441 PyObject * _argo2 = 0;
9442 char *_kwnames[] = { "self","item","dir","style", NULL };
9443
9444 self = self;
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOl:wxRadioBox_GetNextItem",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3))
9446 return NULL;
9447 if (_argo0) {
9448 if (_argo0 == Py_None) { _arg0 = NULL; }
9449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetNextItem. Expected _wxRadioBox_p.");
9451 return NULL;
9452 }
9453 }
9454 if (_argo2) {
9455 if (_argo2 == Py_None) { _arg2 = NULL; }
9456 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDirection_p")) {
9457 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxRadioBox_GetNextItem. Expected _wxDirection_p.");
9458 return NULL;
9459 }
9460 }
9461{
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 _result = (int )wxRadioBox_GetNextItem(_arg0,_arg1,*_arg2,_arg3);
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) return NULL;
9467} _resultobj = Py_BuildValue("i",_result);
9468 return _resultobj;
9469}
9470
e6056257
RD
9471#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9472static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject * _resultobj;
9474 int _result;
9475 wxRadioBox * _arg0;
9476 PyObject * _argo0 = 0;
9477 char *_kwnames[] = { "self", NULL };
9478
9479 self = self;
9480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
9481 return NULL;
9482 if (_argo0) {
9483 if (_argo0 == Py_None) { _arg0 = NULL; }
9484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9486 return NULL;
9487 }
9488 }
9489{
0e2ff151 9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9491 _result = (int )wxRadioBox_GetSelection(_arg0);
e6056257 9492
0e2ff151 9493 wxPyEndAllowThreads(__tstate);
e6056257
RD
9494 if (PyErr_Occurred()) return NULL;
9495} _resultobj = Py_BuildValue("i",_result);
9496 return _resultobj;
9497}
9498
9499#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9500static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject * _resultobj;
9502 wxString * _result;
9503 wxRadioBox * _arg0;
9504 PyObject * _argo0 = 0;
9505 char *_kwnames[] = { "self", NULL };
9506
9507 self = self;
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
9509 return NULL;
9510 if (_argo0) {
9511 if (_argo0 == Py_None) { _arg0 = NULL; }
9512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9514 return NULL;
9515 }
9516 }
9517{
0e2ff151 9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9519 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
e6056257 9520
0e2ff151 9521 wxPyEndAllowThreads(__tstate);
e6056257
RD
9522 if (PyErr_Occurred()) return NULL;
9523}{
6824d4f9 9524#if wxUSE_UNICODE
7108497a 9525 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 9526#else
e6056257 9527 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 9528#endif
e6056257
RD
9529}
9530{
9531 delete _result;
9532}
9533 return _resultobj;
9534}
9535
9536#define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9537static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9538 PyObject * _resultobj;
9539 int _result;
9540 wxRadioBox * _arg0;
9541 PyObject * _argo0 = 0;
9542 char *_kwnames[] = { "self", NULL };
9543
9544 self = self;
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
9546 return NULL;
9547 if (_argo0) {
9548 if (_argo0 == Py_None) { _arg0 = NULL; }
9549 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9551 return NULL;
9552 }
9553 }
9554{
0e2ff151 9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9556 _result = (int )wxRadioBox_GetCount(_arg0);
e6056257 9557
0e2ff151 9558 wxPyEndAllowThreads(__tstate);
e6056257
RD
9559 if (PyErr_Occurred()) return NULL;
9560} _resultobj = Py_BuildValue("i",_result);
9561 return _resultobj;
9562}
9563
9564#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9565static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9566 PyObject * _resultobj;
9567 wxRadioBox * _arg0;
9568 int _arg1;
9569 PyObject * _argo0 = 0;
9570 char *_kwnames[] = { "self","n", NULL };
9571
9572 self = self;
9573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
9574 return NULL;
9575 if (_argo0) {
9576 if (_argo0 == Py_None) { _arg0 = NULL; }
9577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9579 return NULL;
9580 }
9581 }
9582{
0e2ff151 9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9584 wxRadioBox_SetSelection(_arg0,_arg1);
e6056257 9585
0e2ff151 9586 wxPyEndAllowThreads(__tstate);
e6056257
RD
9587 if (PyErr_Occurred()) return NULL;
9588} Py_INCREF(Py_None);
9589 _resultobj = Py_None;
9590 return _resultobj;
9591}
9592
9593#define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9594static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject * _resultobj;
9596 wxRadioBox * _arg0;
9597 wxString * _arg1;
9598 PyObject * _argo0 = 0;
9599 PyObject * _obj1 = 0;
9600 char *_kwnames[] = { "self","string", NULL };
9601
9602 self = self;
9603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
9604 return NULL;
9605 if (_argo0) {
9606 if (_argo0 == Py_None) { _arg0 = NULL; }
9607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9609 return NULL;
9610 }
9611 }
9612{
6824d4f9
RD
9613 _arg1 = wxString_in_helper(_obj1);
9614 if (_arg1 == NULL)
e6056257 9615 return NULL;
e6056257
RD
9616}
9617{
0e2ff151 9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9619 wxRadioBox_SetStringSelection(_arg0,*_arg1);
e6056257 9620
0e2ff151 9621 wxPyEndAllowThreads(__tstate);
e6056257
RD
9622 if (PyErr_Occurred()) return NULL;
9623} Py_INCREF(Py_None);
9624 _resultobj = Py_None;
9625{
9626 if (_obj1)
9627 delete _arg1;
9628}
9629 return _resultobj;
9630}
9631
9632#define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9633static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject * _resultobj;
9635 wxRadioBox * _arg0;
9636 bool _arg1;
9637 PyObject * _argo0 = 0;
9638 int tempbool1;
9639 char *_kwnames[] = { "self","show", NULL };
9640
9641 self = self;
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
9643 return NULL;
9644 if (_argo0) {
9645 if (_argo0 == Py_None) { _arg0 = NULL; }
9646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9648 return NULL;
9649 }
9650 }
9651 _arg1 = (bool ) tempbool1;
9652{
0e2ff151 9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9654 wxRadioBox_Show(_arg0,_arg1);
e6056257 9655
0e2ff151 9656 wxPyEndAllowThreads(__tstate);
e6056257
RD
9657 if (PyErr_Occurred()) return NULL;
9658} Py_INCREF(Py_None);
9659 _resultobj = Py_None;
9660 return _resultobj;
9661}
9662
9663#define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9664static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9665 PyObject * _resultobj;
9666 wxRadioBox * _arg0;
9667 int _arg1;
9668 bool _arg2;
9669 PyObject * _argo0 = 0;
9670 int tempbool2;
9671 char *_kwnames[] = { "self","item","show", NULL };
9672
9673 self = self;
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
9675 return NULL;
9676 if (_argo0) {
9677 if (_argo0 == Py_None) { _arg0 = NULL; }
9678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9680 return NULL;
9681 }
9682 }
9683 _arg2 = (bool ) tempbool2;
9684{
0e2ff151 9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9686 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
e6056257 9687
0e2ff151 9688 wxPyEndAllowThreads(__tstate);
e6056257
RD
9689 if (PyErr_Occurred()) return NULL;
9690} Py_INCREF(Py_None);
9691 _resultobj = Py_None;
9692 return _resultobj;
9693}
9694
9695static void *SwigwxRadioButtonTowxControl(void *ptr) {
9696 wxRadioButton *src;
9697 wxControl *dest;
9698 src = (wxRadioButton *) ptr;
9699 dest = (wxControl *) src;
9700 return (void *) dest;
9701}
9702
9703static void *SwigwxRadioButtonTowxWindow(void *ptr) {
9704 wxRadioButton *src;
9705 wxWindow *dest;
9706 src = (wxRadioButton *) ptr;
9707 dest = (wxWindow *) src;
9708 return (void *) dest;
9709}
9710
9711static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
9712 wxRadioButton *src;
9713 wxEvtHandler *dest;
9714 src = (wxRadioButton *) ptr;
9715 dest = (wxEvtHandler *) src;
9716 return (void *) dest;
9717}
9718
9719static void *SwigwxRadioButtonTowxObject(void *ptr) {
9720 wxRadioButton *src;
9721 wxObject *dest;
9722 src = (wxRadioButton *) ptr;
9723 dest = (wxObject *) src;
9724 return (void *) dest;
9725}
9726
9727#define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9728static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9729 PyObject * _resultobj;
9730 wxRadioButton * _result;
9731 wxWindow * _arg0;
9732 wxWindowID _arg1;
9733 wxString * _arg2;
9734 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9735 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9736 long _arg5 = (long ) 0;
9737 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 9738 wxString * _arg7 = (wxString *) &wxPyRadioButtonNameStr;
e6056257
RD
9739 PyObject * _argo0 = 0;
9740 PyObject * _obj2 = 0;
9741 wxPoint temp;
9742 PyObject * _obj3 = 0;
9743 wxSize temp0;
9744 PyObject * _obj4 = 0;
9745 PyObject * _argo6 = 0;
c3bfa1cb 9746 PyObject * _obj7 = 0;
e6056257
RD
9747 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
9748 char _ptemp[128];
9749
9750 self = self;
c3bfa1cb 9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
9752 return NULL;
9753 if (_argo0) {
9754 if (_argo0 == Py_None) { _arg0 = NULL; }
9755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9757 return NULL;
9758 }
9759 }
9760{
6824d4f9
RD
9761 _arg2 = wxString_in_helper(_obj2);
9762 if (_arg2 == NULL)
e6056257 9763 return NULL;
e6056257
RD
9764}
9765 if (_obj3)
9766{
9767 _arg3 = &temp;
9768 if (! wxPoint_helper(_obj3, &_arg3))
9769 return NULL;
9770}
9771 if (_obj4)
9772{
9773 _arg4 = &temp0;
9774 if (! wxSize_helper(_obj4, &_arg4))
9775 return NULL;
9776}
9777 if (_argo6) {
7108497a 9778 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
9779 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9780 return NULL;
9781 }
9782 }
c3bfa1cb
RD
9783 if (_obj7)
9784{
9785 _arg7 = wxString_in_helper(_obj7);
9786 if (_arg7 == NULL)
9787 return NULL;
9788}
e6056257 9789{
0e2ff151 9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 9791 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 9792
0e2ff151 9793 wxPyEndAllowThreads(__tstate);
e6056257
RD
9794 if (PyErr_Occurred()) return NULL;
9795} if (_result) {
9796 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9797 _resultobj = Py_BuildValue("s",_ptemp);
9798 } else {
9799 Py_INCREF(Py_None);
9800 _resultobj = Py_None;
9801 }
9802{
9803 if (_obj2)
9804 delete _arg2;
c3bfa1cb
RD
9805}
9806{
9807 if (_obj7)
9808 delete _arg7;
e6056257
RD
9809}
9810 return _resultobj;
9811}
9812
9813#define new_wxPreRadioButton() (new wxRadioButton())
9814static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject * _resultobj;
9816 wxRadioButton * _result;
9817 char *_kwnames[] = { NULL };
9818 char _ptemp[128];
9819
9820 self = self;
9821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
9822 return NULL;
9823{
0e2ff151 9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9825 _result = (wxRadioButton *)new_wxPreRadioButton();
e6056257 9826
0e2ff151 9827 wxPyEndAllowThreads(__tstate);
e6056257
RD
9828 if (PyErr_Occurred()) return NULL;
9829} if (_result) {
9830 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9831 _resultobj = Py_BuildValue("s",_ptemp);
9832 } else {
9833 Py_INCREF(Py_None);
9834 _resultobj = Py_None;
9835 }
9836 return _resultobj;
9837}
9838
9839#define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9840static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject * _resultobj;
9842 bool _result;
9843 wxRadioButton * _arg0;
9844 wxWindow * _arg1;
9845 wxWindowID _arg2;
9846 wxString * _arg3;
9847 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9848 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9849 long _arg6 = (long ) 0;
9850 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 9851 wxString * _arg8 = (wxString *) &wxPyRadioButtonNameStr;
e6056257
RD
9852 PyObject * _argo0 = 0;
9853 PyObject * _argo1 = 0;
9854 PyObject * _obj3 = 0;
9855 wxPoint temp;
9856 PyObject * _obj4 = 0;
9857 wxSize temp0;
9858 PyObject * _obj5 = 0;
9859 PyObject * _argo7 = 0;
c3bfa1cb 9860 PyObject * _obj8 = 0;
e6056257
RD
9861 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
9862
9863 self = self;
c3bfa1cb 9864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
9865 return NULL;
9866 if (_argo0) {
9867 if (_argo0 == Py_None) { _arg0 = NULL; }
9868 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9869 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9870 return NULL;
9871 }
9872 }
9873 if (_argo1) {
9874 if (_argo1 == Py_None) { _arg1 = NULL; }
9875 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9876 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9877 return NULL;
9878 }
9879 }
9880{
6824d4f9
RD
9881 _arg3 = wxString_in_helper(_obj3);
9882 if (_arg3 == NULL)
e6056257 9883 return NULL;
e6056257
RD
9884}
9885 if (_obj4)
9886{
9887 _arg4 = &temp;
9888 if (! wxPoint_helper(_obj4, &_arg4))
9889 return NULL;
9890}
9891 if (_obj5)
9892{
9893 _arg5 = &temp0;
9894 if (! wxSize_helper(_obj5, &_arg5))
9895 return NULL;
9896}
9897 if (_argo7) {
7108497a 9898 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
9899 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9900 return NULL;
9901 }
9902 }
c3bfa1cb
RD
9903 if (_obj8)
9904{
9905 _arg8 = wxString_in_helper(_obj8);
9906 if (_arg8 == NULL)
9907 return NULL;
9908}
e6056257 9909{
0e2ff151 9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 9911 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 9912
0e2ff151 9913 wxPyEndAllowThreads(__tstate);
e6056257
RD
9914 if (PyErr_Occurred()) return NULL;
9915} _resultobj = Py_BuildValue("i",_result);
9916{
9917 if (_obj3)
9918 delete _arg3;
c3bfa1cb
RD
9919}
9920{
9921 if (_obj8)
9922 delete _arg8;
e6056257
RD
9923}
9924 return _resultobj;
9925}
9926
9927#define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9928static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject * _resultobj;
9930 bool _result;
9931 wxRadioButton * _arg0;
9932 PyObject * _argo0 = 0;
9933 char *_kwnames[] = { "self", NULL };
9934
9935 self = self;
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
9937 return NULL;
9938 if (_argo0) {
9939 if (_argo0 == Py_None) { _arg0 = NULL; }
9940 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9941 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9942 return NULL;
9943 }
9944 }
9945{
0e2ff151 9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9947 _result = (bool )wxRadioButton_GetValue(_arg0);
e6056257 9948
0e2ff151 9949 wxPyEndAllowThreads(__tstate);
e6056257
RD
9950 if (PyErr_Occurred()) return NULL;
9951} _resultobj = Py_BuildValue("i",_result);
9952 return _resultobj;
9953}
9954
9955#define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9956static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject * _resultobj;
9958 wxRadioButton * _arg0;
9959 bool _arg1;
9960 PyObject * _argo0 = 0;
9961 int tempbool1;
9962 char *_kwnames[] = { "self","value", NULL };
9963
9964 self = self;
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
9966 return NULL;
9967 if (_argo0) {
9968 if (_argo0 == Py_None) { _arg0 = NULL; }
9969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9971 return NULL;
9972 }
9973 }
9974 _arg1 = (bool ) tempbool1;
9975{
0e2ff151 9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9977 wxRadioButton_SetValue(_arg0,_arg1);
e6056257 9978
0e2ff151 9979 wxPyEndAllowThreads(__tstate);
e6056257
RD
9980 if (PyErr_Occurred()) return NULL;
9981} Py_INCREF(Py_None);
9982 _resultobj = Py_None;
9983 return _resultobj;
9984}
9985
9986static void *SwigwxSliderTowxControl(void *ptr) {
9987 wxSlider *src;
9988 wxControl *dest;
9989 src = (wxSlider *) ptr;
9990 dest = (wxControl *) src;
9991 return (void *) dest;
9992}
9993
9994static void *SwigwxSliderTowxWindow(void *ptr) {
9995 wxSlider *src;
9996 wxWindow *dest;
9997 src = (wxSlider *) ptr;
9998 dest = (wxWindow *) src;
9999 return (void *) dest;
10000}
10001
10002static void *SwigwxSliderTowxEvtHandler(void *ptr) {
10003 wxSlider *src;
10004 wxEvtHandler *dest;
10005 src = (wxSlider *) ptr;
10006 dest = (wxEvtHandler *) src;
10007 return (void *) dest;
10008}
10009
10010static void *SwigwxSliderTowxObject(void *ptr) {
10011 wxSlider *src;
10012 wxObject *dest;
10013 src = (wxSlider *) ptr;
10014 dest = (wxObject *) src;
10015 return (void *) dest;
10016}
10017
10018#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))
10019static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject * _resultobj;
10021 wxSlider * _result;
10022 wxWindow * _arg0;
10023 wxWindowID _arg1;
10024 int _arg2;
10025 int _arg3;
10026 int _arg4;
10027 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
10028 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
10029 long _arg7 = (long ) wxSL_HORIZONTAL;
10030 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 10031 wxString * _arg9 = (wxString *) &wxPySliderNameStr;
e6056257
RD
10032 PyObject * _argo0 = 0;
10033 wxPoint temp;
10034 PyObject * _obj5 = 0;
10035 wxSize temp0;
10036 PyObject * _obj6 = 0;
10037 PyObject * _argo8 = 0;
c3bfa1cb 10038 PyObject * _obj9 = 0;
e6056257
RD
10039 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
10040 char _ptemp[128];
10041
10042 self = self;
c3bfa1cb 10043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOO:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_obj9))
e6056257
RD
10044 return NULL;
10045 if (_argo0) {
10046 if (_argo0 == Py_None) { _arg0 = NULL; }
10047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10049 return NULL;
10050 }
10051 }
10052 if (_obj5)
10053{
10054 _arg5 = &temp;
10055 if (! wxPoint_helper(_obj5, &_arg5))
10056 return NULL;
10057}
10058 if (_obj6)
10059{
10060 _arg6 = &temp0;
10061 if (! wxSize_helper(_obj6, &_arg6))
10062 return NULL;
10063}
10064 if (_argo8) {
7108497a 10065 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
e6056257
RD
10066 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10067 return NULL;
10068 }
10069 }
c3bfa1cb
RD
10070 if (_obj9)
10071{
10072 _arg9 = wxString_in_helper(_obj9);
10073 if (_arg9 == NULL)
10074 return NULL;
10075}
e6056257 10076{
0e2ff151 10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 10078 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,*_arg9);
e6056257 10079
0e2ff151 10080 wxPyEndAllowThreads(__tstate);
e6056257
RD
10081 if (PyErr_Occurred()) return NULL;
10082} if (_result) {
10083 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10084 _resultobj = Py_BuildValue("s",_ptemp);
10085 } else {
10086 Py_INCREF(Py_None);
10087 _resultobj = Py_None;
10088 }
c3bfa1cb
RD
10089{
10090 if (_obj9)
10091 delete _arg9;
10092}
e6056257
RD
10093 return _resultobj;
10094}
10095
10096#define new_wxPreSlider() (new wxSlider())
10097static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject * _resultobj;
10099 wxSlider * _result;
10100 char *_kwnames[] = { NULL };
10101 char _ptemp[128];
10102
10103 self = self;
10104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
10105 return NULL;
10106{
0e2ff151 10107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10108 _result = (wxSlider *)new_wxPreSlider();
e6056257 10109
0e2ff151 10110 wxPyEndAllowThreads(__tstate);
e6056257
RD
10111 if (PyErr_Occurred()) return NULL;
10112} if (_result) {
10113 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10114 _resultobj = Py_BuildValue("s",_ptemp);
10115 } else {
10116 Py_INCREF(Py_None);
10117 _resultobj = Py_None;
10118 }
10119 return _resultobj;
10120}
10121
10122#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))
10123static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10124 PyObject * _resultobj;
10125 bool _result;
10126 wxSlider * _arg0;
10127 wxWindow * _arg1;
10128 wxWindowID _arg2;
10129 int _arg3;
10130 int _arg4;
10131 int _arg5;
10132 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
10133 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
10134 long _arg8 = (long ) wxSL_HORIZONTAL;
10135 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 10136 wxString * _arg10 = (wxString *) &wxPySliderNameStr;
e6056257
RD
10137 PyObject * _argo0 = 0;
10138 PyObject * _argo1 = 0;
10139 wxPoint temp;
10140 PyObject * _obj6 = 0;
10141 wxSize temp0;
10142 PyObject * _obj7 = 0;
10143 PyObject * _argo9 = 0;
c3bfa1cb 10144 PyObject * _obj10 = 0;
e6056257
RD
10145 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
10146
10147 self = self;
c3bfa1cb 10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOO:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_obj10))
e6056257
RD
10149 return NULL;
10150 if (_argo0) {
10151 if (_argo0 == Py_None) { _arg0 = NULL; }
10152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10154 return NULL;
10155 }
10156 }
10157 if (_argo1) {
10158 if (_argo1 == Py_None) { _arg1 = NULL; }
10159 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10160 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10161 return NULL;
10162 }
10163 }
10164 if (_obj6)
10165{
10166 _arg6 = &temp;
10167 if (! wxPoint_helper(_obj6, &_arg6))
10168 return NULL;
10169}
10170 if (_obj7)
10171{
10172 _arg7 = &temp0;
10173 if (! wxSize_helper(_obj7, &_arg7))
10174 return NULL;
10175}
10176 if (_argo9) {
7108497a 10177 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
e6056257
RD
10178 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10179 return NULL;
10180 }
10181 }
c3bfa1cb
RD
10182 if (_obj10)
10183{
10184 _arg10 = wxString_in_helper(_obj10);
10185 if (_arg10 == NULL)
10186 return NULL;
10187}
e6056257 10188{
0e2ff151 10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 10190 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,*_arg10);
e6056257 10191
0e2ff151 10192 wxPyEndAllowThreads(__tstate);
e6056257
RD
10193 if (PyErr_Occurred()) return NULL;
10194} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
10195{
10196 if (_obj10)
10197 delete _arg10;
10198}
e6056257
RD
10199 return _resultobj;
10200}
10201
10202#define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10203static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10204 PyObject * _resultobj;
10205 wxSlider * _arg0;
10206 PyObject * _argo0 = 0;
10207 char *_kwnames[] = { "self", NULL };
10208
10209 self = self;
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
10211 return NULL;
10212 if (_argo0) {
10213 if (_argo0 == Py_None) { _arg0 = NULL; }
10214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10216 return NULL;
10217 }
10218 }
10219{
0e2ff151 10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10221 wxSlider_ClearSel(_arg0);
e6056257 10222
0e2ff151 10223 wxPyEndAllowThreads(__tstate);
e6056257
RD
10224 if (PyErr_Occurred()) return NULL;
10225} Py_INCREF(Py_None);
10226 _resultobj = Py_None;
10227 return _resultobj;
10228}
10229
10230#define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10231static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10232 PyObject * _resultobj;
10233 wxSlider * _arg0;
10234 PyObject * _argo0 = 0;
10235 char *_kwnames[] = { "self", NULL };
10236
10237 self = self;
10238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
10239 return NULL;
10240 if (_argo0) {
10241 if (_argo0 == Py_None) { _arg0 = NULL; }
10242 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10244 return NULL;
10245 }
10246 }
10247{
0e2ff151 10248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10249 wxSlider_ClearTicks(_arg0);
e6056257 10250
0e2ff151 10251 wxPyEndAllowThreads(__tstate);
e6056257
RD
10252 if (PyErr_Occurred()) return NULL;
10253} Py_INCREF(Py_None);
10254 _resultobj = Py_None;
10255 return _resultobj;
10256}
10257
10258#define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10259static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10260 PyObject * _resultobj;
10261 int _result;
10262 wxSlider * _arg0;
10263 PyObject * _argo0 = 0;
10264 char *_kwnames[] = { "self", NULL };
10265
10266 self = self;
10267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
10268 return NULL;
10269 if (_argo0) {
10270 if (_argo0 == Py_None) { _arg0 = NULL; }
10271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10273 return NULL;
10274 }
10275 }
10276{
0e2ff151 10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10278 _result = (int )wxSlider_GetLineSize(_arg0);
e6056257 10279
0e2ff151 10280 wxPyEndAllowThreads(__tstate);
e6056257
RD
10281 if (PyErr_Occurred()) return NULL;
10282} _resultobj = Py_BuildValue("i",_result);
10283 return _resultobj;
10284}
10285
10286#define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10287static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10288 PyObject * _resultobj;
10289 int _result;
10290 wxSlider * _arg0;
10291 PyObject * _argo0 = 0;
10292 char *_kwnames[] = { "self", NULL };
10293
10294 self = self;
10295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
10296 return NULL;
10297 if (_argo0) {
10298 if (_argo0 == Py_None) { _arg0 = NULL; }
10299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10301 return NULL;
10302 }
10303 }
10304{
0e2ff151 10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10306 _result = (int )wxSlider_GetMax(_arg0);
e6056257 10307
0e2ff151 10308 wxPyEndAllowThreads(__tstate);
e6056257
RD
10309 if (PyErr_Occurred()) return NULL;
10310} _resultobj = Py_BuildValue("i",_result);
10311 return _resultobj;
10312}
10313
10314#define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10315static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10316 PyObject * _resultobj;
10317 int _result;
10318 wxSlider * _arg0;
10319 PyObject * _argo0 = 0;
10320 char *_kwnames[] = { "self", NULL };
10321
10322 self = self;
10323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
10324 return NULL;
10325 if (_argo0) {
10326 if (_argo0 == Py_None) { _arg0 = NULL; }
10327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10329 return NULL;
10330 }
10331 }
10332{
0e2ff151 10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10334 _result = (int )wxSlider_GetMin(_arg0);
e6056257 10335
0e2ff151 10336 wxPyEndAllowThreads(__tstate);
e6056257
RD
10337 if (PyErr_Occurred()) return NULL;
10338} _resultobj = Py_BuildValue("i",_result);
10339 return _resultobj;
10340}
10341
10342#define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10343static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10344 PyObject * _resultobj;
10345 int _result;
10346 wxSlider * _arg0;
10347 PyObject * _argo0 = 0;
10348 char *_kwnames[] = { "self", NULL };
10349
10350 self = self;
10351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
10352 return NULL;
10353 if (_argo0) {
10354 if (_argo0 == Py_None) { _arg0 = NULL; }
10355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10357 return NULL;
10358 }
10359 }
10360{
0e2ff151 10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10362 _result = (int )wxSlider_GetPageSize(_arg0);
e6056257 10363
0e2ff151 10364 wxPyEndAllowThreads(__tstate);
e6056257
RD
10365 if (PyErr_Occurred()) return NULL;
10366} _resultobj = Py_BuildValue("i",_result);
10367 return _resultobj;
10368}
10369
10370#define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10371static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10372 PyObject * _resultobj;
10373 int _result;
10374 wxSlider * _arg0;
10375 PyObject * _argo0 = 0;
10376 char *_kwnames[] = { "self", NULL };
10377
10378 self = self;
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
10380 return NULL;
10381 if (_argo0) {
10382 if (_argo0 == Py_None) { _arg0 = NULL; }
10383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10385 return NULL;
10386 }
10387 }
10388{
0e2ff151 10389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10390 _result = (int )wxSlider_GetSelEnd(_arg0);
e6056257 10391
0e2ff151 10392 wxPyEndAllowThreads(__tstate);
e6056257
RD
10393 if (PyErr_Occurred()) return NULL;
10394} _resultobj = Py_BuildValue("i",_result);
10395 return _resultobj;
10396}
10397
10398#define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10399static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10400 PyObject * _resultobj;
10401 int _result;
10402 wxSlider * _arg0;
10403 PyObject * _argo0 = 0;
10404 char *_kwnames[] = { "self", NULL };
10405
10406 self = self;
10407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
10408 return NULL;
10409 if (_argo0) {
10410 if (_argo0 == Py_None) { _arg0 = NULL; }
10411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10413 return NULL;
10414 }
10415 }
10416{
0e2ff151 10417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10418 _result = (int )wxSlider_GetSelStart(_arg0);
e6056257 10419
0e2ff151 10420 wxPyEndAllowThreads(__tstate);
e6056257
RD
10421 if (PyErr_Occurred()) return NULL;
10422} _resultobj = Py_BuildValue("i",_result);
10423 return _resultobj;
10424}
10425
10426#define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10427static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10428 PyObject * _resultobj;
10429 int _result;
10430 wxSlider * _arg0;
10431 PyObject * _argo0 = 0;
10432 char *_kwnames[] = { "self", NULL };
10433
10434 self = self;
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
10436 return NULL;
10437 if (_argo0) {
10438 if (_argo0 == Py_None) { _arg0 = NULL; }
10439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10441 return NULL;
10442 }
10443 }
10444{
0e2ff151 10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10446 _result = (int )wxSlider_GetThumbLength(_arg0);
e6056257 10447
0e2ff151 10448 wxPyEndAllowThreads(__tstate);
e6056257
RD
10449 if (PyErr_Occurred()) return NULL;
10450} _resultobj = Py_BuildValue("i",_result);
10451 return _resultobj;
10452}
10453
10454#define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10455static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10456 PyObject * _resultobj;
10457 int _result;
10458 wxSlider * _arg0;
10459 PyObject * _argo0 = 0;
10460 char *_kwnames[] = { "self", NULL };
10461
10462 self = self;
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
10464 return NULL;
10465 if (_argo0) {
10466 if (_argo0 == Py_None) { _arg0 = NULL; }
10467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10469 return NULL;
10470 }
10471 }
10472{
0e2ff151 10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10474 _result = (int )wxSlider_GetTickFreq(_arg0);
e6056257 10475
0e2ff151 10476 wxPyEndAllowThreads(__tstate);
e6056257
RD
10477 if (PyErr_Occurred()) return NULL;
10478} _resultobj = Py_BuildValue("i",_result);
10479 return _resultobj;
10480}
10481
10482#define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10483static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject * _resultobj;
10485 int _result;
10486 wxSlider * _arg0;
10487 PyObject * _argo0 = 0;
10488 char *_kwnames[] = { "self", NULL };
10489
10490 self = self;
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
10492 return NULL;
10493 if (_argo0) {
10494 if (_argo0 == Py_None) { _arg0 = NULL; }
10495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10497 return NULL;
10498 }
10499 }
10500{
0e2ff151 10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10502 _result = (int )wxSlider_GetValue(_arg0);
e6056257 10503
0e2ff151 10504 wxPyEndAllowThreads(__tstate);
e6056257
RD
10505 if (PyErr_Occurred()) return NULL;
10506} _resultobj = Py_BuildValue("i",_result);
10507 return _resultobj;
10508}
10509
10510#define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10511static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10512 PyObject * _resultobj;
10513 wxSlider * _arg0;
10514 int _arg1;
10515 int _arg2;
10516 PyObject * _argo0 = 0;
10517 char *_kwnames[] = { "self","minValue","maxValue", NULL };
10518
10519 self = self;
10520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
10521 return NULL;
10522 if (_argo0) {
10523 if (_argo0 == Py_None) { _arg0 = NULL; }
10524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10526 return NULL;
10527 }
10528 }
10529{
0e2ff151 10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10531 wxSlider_SetRange(_arg0,_arg1,_arg2);
e6056257 10532
0e2ff151 10533 wxPyEndAllowThreads(__tstate);
e6056257
RD
10534 if (PyErr_Occurred()) return NULL;
10535} Py_INCREF(Py_None);
10536 _resultobj = Py_None;
10537 return _resultobj;
10538}
10539
10540#define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10541static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject * _resultobj;
10543 wxSlider * _arg0;
10544 int _arg1;
10545 int _arg2;
10546 PyObject * _argo0 = 0;
10547 char *_kwnames[] = { "self","n","pos", NULL };
10548
10549 self = self;
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
10551 return NULL;
10552 if (_argo0) {
10553 if (_argo0 == Py_None) { _arg0 = NULL; }
10554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10556 return NULL;
10557 }
10558 }
10559{
0e2ff151 10560 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10561 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
e6056257 10562
0e2ff151 10563 wxPyEndAllowThreads(__tstate);
e6056257
RD
10564 if (PyErr_Occurred()) return NULL;
10565} Py_INCREF(Py_None);
10566 _resultobj = Py_None;
10567 return _resultobj;
10568}
10569
10570#define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10571static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject * _resultobj;
10573 wxSlider * _arg0;
10574 int _arg1;
10575 PyObject * _argo0 = 0;
10576 char *_kwnames[] = { "self","lineSize", NULL };
10577
10578 self = self;
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
10580 return NULL;
10581 if (_argo0) {
10582 if (_argo0 == Py_None) { _arg0 = NULL; }
10583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10585 return NULL;
10586 }
10587 }
10588{
0e2ff151 10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10590 wxSlider_SetLineSize(_arg0,_arg1);
e6056257 10591
0e2ff151 10592 wxPyEndAllowThreads(__tstate);
e6056257
RD
10593 if (PyErr_Occurred()) return NULL;
10594} Py_INCREF(Py_None);
10595 _resultobj = Py_None;
10596 return _resultobj;
10597}
10598
10599#define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10600static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10601 PyObject * _resultobj;
10602 wxSlider * _arg0;
10603 int _arg1;
10604 PyObject * _argo0 = 0;
10605 char *_kwnames[] = { "self","pageSize", NULL };
10606
10607 self = self;
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
10609 return NULL;
10610 if (_argo0) {
10611 if (_argo0 == Py_None) { _arg0 = NULL; }
10612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10614 return NULL;
10615 }
10616 }
10617{
0e2ff151 10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10619 wxSlider_SetPageSize(_arg0,_arg1);
e6056257 10620
0e2ff151 10621 wxPyEndAllowThreads(__tstate);
e6056257
RD
10622 if (PyErr_Occurred()) return NULL;
10623} Py_INCREF(Py_None);
10624 _resultobj = Py_None;
10625 return _resultobj;
10626}
10627
10628#define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10629static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10630 PyObject * _resultobj;
10631 wxSlider * _arg0;
10632 int _arg1;
10633 int _arg2;
10634 PyObject * _argo0 = 0;
10635 char *_kwnames[] = { "self","startPos","endPos", NULL };
10636
10637 self = self;
10638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
10639 return NULL;
10640 if (_argo0) {
10641 if (_argo0 == Py_None) { _arg0 = NULL; }
10642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10644 return NULL;
10645 }
10646 }
10647{
0e2ff151 10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10649 wxSlider_SetSelection(_arg0,_arg1,_arg2);
e6056257 10650
0e2ff151 10651 wxPyEndAllowThreads(__tstate);
e6056257
RD
10652 if (PyErr_Occurred()) return NULL;
10653} Py_INCREF(Py_None);
10654 _resultobj = Py_None;
10655 return _resultobj;
10656}
10657
10658#define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10659static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10660 PyObject * _resultobj;
10661 wxSlider * _arg0;
10662 int _arg1;
10663 PyObject * _argo0 = 0;
10664 char *_kwnames[] = { "self","len", NULL };
10665
10666 self = self;
10667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
10668 return NULL;
10669 if (_argo0) {
10670 if (_argo0 == Py_None) { _arg0 = NULL; }
10671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10673 return NULL;
10674 }
10675 }
10676{
0e2ff151 10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10678 wxSlider_SetThumbLength(_arg0,_arg1);
e6056257 10679
0e2ff151 10680 wxPyEndAllowThreads(__tstate);
e6056257
RD
10681 if (PyErr_Occurred()) return NULL;
10682} Py_INCREF(Py_None);
10683 _resultobj = Py_None;
10684 return _resultobj;
10685}
10686
10687#define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10688static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10689 PyObject * _resultobj;
10690 wxSlider * _arg0;
10691 int _arg1;
10692 PyObject * _argo0 = 0;
10693 char *_kwnames[] = { "self","tickPos", NULL };
10694
10695 self = self;
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
10697 return NULL;
10698 if (_argo0) {
10699 if (_argo0 == Py_None) { _arg0 = NULL; }
10700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10702 return NULL;
10703 }
10704 }
10705{
0e2ff151 10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10707 wxSlider_SetTick(_arg0,_arg1);
e6056257 10708
0e2ff151 10709 wxPyEndAllowThreads(__tstate);
e6056257
RD
10710 if (PyErr_Occurred()) return NULL;
10711} Py_INCREF(Py_None);
10712 _resultobj = Py_None;
10713 return _resultobj;
10714}
10715
10716#define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10717static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10718 PyObject * _resultobj;
10719 wxSlider * _arg0;
10720 int _arg1;
10721 PyObject * _argo0 = 0;
10722 char *_kwnames[] = { "self","value", NULL };
10723
10724 self = self;
10725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
10726 return NULL;
10727 if (_argo0) {
10728 if (_argo0 == Py_None) { _arg0 = NULL; }
10729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10731 return NULL;
10732 }
10733 }
10734{
0e2ff151 10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10736 wxSlider_SetValue(_arg0,_arg1);
e6056257 10737
0e2ff151 10738 wxPyEndAllowThreads(__tstate);
e6056257
RD
10739 if (PyErr_Occurred()) return NULL;
10740} Py_INCREF(Py_None);
10741 _resultobj = Py_None;
10742 return _resultobj;
10743}
10744
10745static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
10746 wxSpinCtrl *src;
10747 wxSpinButton *dest;
10748 src = (wxSpinCtrl *) ptr;
10749 dest = (wxSpinButton *) src;
10750 return (void *) dest;
10751}
10752
10753static void *SwigwxSpinCtrlTowxControl(void *ptr) {
10754 wxSpinCtrl *src;
10755 wxControl *dest;
10756 src = (wxSpinCtrl *) ptr;
10757 dest = (wxControl *) src;
10758 return (void *) dest;
10759}
10760
10761static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
10762 wxSpinCtrl *src;
10763 wxWindow *dest;
10764 src = (wxSpinCtrl *) ptr;
10765 dest = (wxWindow *) src;
10766 return (void *) dest;
10767}
10768
10769static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
10770 wxSpinCtrl *src;
10771 wxEvtHandler *dest;
10772 src = (wxSpinCtrl *) ptr;
10773 dest = (wxEvtHandler *) src;
10774 return (void *) dest;
10775}
10776
10777static void *SwigwxSpinCtrlTowxObject(void *ptr) {
10778 wxSpinCtrl *src;
10779 wxObject *dest;
10780 src = (wxSpinCtrl *) ptr;
10781 dest = (wxObject *) src;
10782 return (void *) dest;
10783}
10784
10785#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))
10786static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10787 PyObject * _resultobj;
10788 wxSpinCtrl * _result;
10789 wxWindow * _arg0;
10790 wxWindowID _arg1 = (wxWindowID ) -1;
c3bfa1cb 10791 wxString * _arg2 = (wxString *) &wxPyEmptyString;
e6056257
RD
10792 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10793 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10794 long _arg5 = (long ) wxSP_ARROW_KEYS;
10795 int _arg6 = (int ) 0;
10796 int _arg7 = (int ) 100;
10797 int _arg8 = (int ) 0;
c3bfa1cb 10798 wxString * _arg9 = (wxString *) &wxPySpinCtrlNameStr;
e6056257 10799 PyObject * _argo0 = 0;
c3bfa1cb 10800 PyObject * _obj2 = 0;
e6056257
RD
10801 wxPoint temp;
10802 PyObject * _obj3 = 0;
10803 wxSize temp0;
10804 PyObject * _obj4 = 0;
c3bfa1cb 10805 PyObject * _obj9 = 0;
e6056257
RD
10806 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
10807 char _ptemp[128];
10808
10809 self = self;
c3bfa1cb 10810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_obj9))
e6056257
RD
10811 return NULL;
10812 if (_argo0) {
10813 if (_argo0 == Py_None) { _arg0 = NULL; }
10814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10816 return NULL;
10817 }
10818 }
c3bfa1cb
RD
10819 if (_obj2)
10820{
10821 _arg2 = wxString_in_helper(_obj2);
10822 if (_arg2 == NULL)
10823 return NULL;
10824}
e6056257
RD
10825 if (_obj3)
10826{
10827 _arg3 = &temp;
10828 if (! wxPoint_helper(_obj3, &_arg3))
10829 return NULL;
10830}
10831 if (_obj4)
10832{
10833 _arg4 = &temp0;
10834 if (! wxSize_helper(_obj4, &_arg4))
10835 return NULL;
c3bfa1cb
RD
10836}
10837 if (_obj9)
10838{
10839 _arg9 = wxString_in_helper(_obj9);
10840 if (_arg9 == NULL)
10841 return NULL;
e6056257
RD
10842}
10843{
0e2ff151 10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 10845 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9);
e6056257 10846
0e2ff151 10847 wxPyEndAllowThreads(__tstate);
e6056257
RD
10848 if (PyErr_Occurred()) return NULL;
10849} if (_result) {
10850 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10851 _resultobj = Py_BuildValue("s",_ptemp);
10852 } else {
10853 Py_INCREF(Py_None);
10854 _resultobj = Py_None;
10855 }
c3bfa1cb
RD
10856{
10857 if (_obj2)
10858 delete _arg2;
10859}
10860{
10861 if (_obj9)
10862 delete _arg9;
10863}
e6056257
RD
10864 return _resultobj;
10865}
10866
10867#define new_wxPreSpinCtrl() (new wxSpinCtrl())
10868static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10869 PyObject * _resultobj;
10870 wxSpinCtrl * _result;
10871 char *_kwnames[] = { NULL };
10872 char _ptemp[128];
10873
10874 self = self;
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
10876 return NULL;
10877{
0e2ff151 10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10879 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
e6056257 10880
0e2ff151 10881 wxPyEndAllowThreads(__tstate);
e6056257
RD
10882 if (PyErr_Occurred()) return NULL;
10883} if (_result) {
10884 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10885 _resultobj = Py_BuildValue("s",_ptemp);
10886 } else {
10887 Py_INCREF(Py_None);
10888 _resultobj = Py_None;
10889 }
10890 return _resultobj;
10891}
10892
10893#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))
10894static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10895 PyObject * _resultobj;
10896 bool _result;
10897 wxSpinCtrl * _arg0;
10898 wxWindow * _arg1;
10899 wxWindowID _arg2 = (wxWindowID ) -1;
c3bfa1cb 10900 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e6056257
RD
10901 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10902 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10903 long _arg6 = (long ) wxSP_ARROW_KEYS;
10904 int _arg7 = (int ) 0;
10905 int _arg8 = (int ) 100;
10906 int _arg9 = (int ) 0;
c3bfa1cb 10907 wxString * _arg10 = (wxString *) &wxPySpinCtrlNameStr;
e6056257
RD
10908 PyObject * _argo0 = 0;
10909 PyObject * _argo1 = 0;
c3bfa1cb 10910 PyObject * _obj3 = 0;
e6056257
RD
10911 wxPoint temp;
10912 PyObject * _obj4 = 0;
10913 wxSize temp0;
10914 PyObject * _obj5 = 0;
c3bfa1cb 10915 PyObject * _obj10 = 0;
e6056257
RD
10916 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
10917
10918 self = self;
c3bfa1cb 10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_obj10))
e6056257
RD
10920 return NULL;
10921 if (_argo0) {
10922 if (_argo0 == Py_None) { _arg0 = NULL; }
10923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10925 return NULL;
10926 }
10927 }
10928 if (_argo1) {
10929 if (_argo1 == Py_None) { _arg1 = NULL; }
10930 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10931 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10932 return NULL;
10933 }
10934 }
c3bfa1cb
RD
10935 if (_obj3)
10936{
10937 _arg3 = wxString_in_helper(_obj3);
10938 if (_arg3 == NULL)
10939 return NULL;
10940}
e6056257
RD
10941 if (_obj4)
10942{
10943 _arg4 = &temp;
10944 if (! wxPoint_helper(_obj4, &_arg4))
10945 return NULL;
10946}
10947 if (_obj5)
10948{
10949 _arg5 = &temp0;
10950 if (! wxSize_helper(_obj5, &_arg5))
10951 return NULL;
c3bfa1cb
RD
10952}
10953 if (_obj10)
10954{
10955 _arg10 = wxString_in_helper(_obj10);
10956 if (_arg10 == NULL)
10957 return NULL;
e6056257
RD
10958}
10959{
0e2ff151 10960 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 10961 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10);
e6056257 10962
0e2ff151 10963 wxPyEndAllowThreads(__tstate);
e6056257
RD
10964 if (PyErr_Occurred()) return NULL;
10965} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
10966{
10967 if (_obj3)
10968 delete _arg3;
10969}
10970{
10971 if (_obj10)
10972 delete _arg10;
10973}
e6056257
RD
10974 return _resultobj;
10975}
10976
10977#define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10978static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10979 PyObject * _resultobj;
10980 int _result;
10981 wxSpinCtrl * _arg0;
10982 PyObject * _argo0 = 0;
10983 char *_kwnames[] = { "self", NULL };
10984
10985 self = self;
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
10987 return NULL;
10988 if (_argo0) {
10989 if (_argo0 == Py_None) { _arg0 = NULL; }
10990 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10991 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10992 return NULL;
10993 }
10994 }
10995{
0e2ff151 10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10997 _result = (int )wxSpinCtrl_GetMax(_arg0);
e6056257 10998
0e2ff151 10999 wxPyEndAllowThreads(__tstate);
e6056257
RD
11000 if (PyErr_Occurred()) return NULL;
11001} _resultobj = Py_BuildValue("i",_result);
11002 return _resultobj;
11003}
11004
11005#define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11006static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11007 PyObject * _resultobj;
11008 int _result;
11009 wxSpinCtrl * _arg0;
11010 PyObject * _argo0 = 0;
11011 char *_kwnames[] = { "self", NULL };
11012
11013 self = self;
11014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
11015 return NULL;
11016 if (_argo0) {
11017 if (_argo0 == Py_None) { _arg0 = NULL; }
11018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11020 return NULL;
11021 }
11022 }
11023{
0e2ff151 11024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11025 _result = (int )wxSpinCtrl_GetMin(_arg0);
e6056257 11026
0e2ff151 11027 wxPyEndAllowThreads(__tstate);
e6056257
RD
11028 if (PyErr_Occurred()) return NULL;
11029} _resultobj = Py_BuildValue("i",_result);
11030 return _resultobj;
11031}
11032
11033#define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11034static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11035 PyObject * _resultobj;
11036 int _result;
11037 wxSpinCtrl * _arg0;
11038 PyObject * _argo0 = 0;
11039 char *_kwnames[] = { "self", NULL };
11040
11041 self = self;
11042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
11043 return NULL;
11044 if (_argo0) {
11045 if (_argo0 == Py_None) { _arg0 = NULL; }
11046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11048 return NULL;
11049 }
11050 }
11051{
0e2ff151 11052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11053 _result = (int )wxSpinCtrl_GetValue(_arg0);
e6056257 11054
0e2ff151 11055 wxPyEndAllowThreads(__tstate);
e6056257
RD
11056 if (PyErr_Occurred()) return NULL;
11057} _resultobj = Py_BuildValue("i",_result);
11058 return _resultobj;
11059}
11060
11061#define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11062static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11063 PyObject * _resultobj;
11064 wxSpinCtrl * _arg0;
11065 int _arg1;
11066 int _arg2;
11067 PyObject * _argo0 = 0;
11068 char *_kwnames[] = { "self","min","max", NULL };
11069
11070 self = self;
11071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
11072 return NULL;
11073 if (_argo0) {
11074 if (_argo0 == Py_None) { _arg0 = NULL; }
11075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11077 return NULL;
11078 }
11079 }
11080{
0e2ff151 11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11082 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
e6056257 11083
0e2ff151 11084 wxPyEndAllowThreads(__tstate);
e6056257
RD
11085 if (PyErr_Occurred()) return NULL;
11086} Py_INCREF(Py_None);
11087 _resultobj = Py_None;
11088 return _resultobj;
11089}
11090
11091#define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11092static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11093 PyObject * _resultobj;
11094 wxSpinCtrl * _arg0;
11095 int _arg1;
11096 PyObject * _argo0 = 0;
11097 char *_kwnames[] = { "self","value", NULL };
11098
11099 self = self;
11100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
11101 return NULL;
11102 if (_argo0) {
11103 if (_argo0 == Py_None) { _arg0 = NULL; }
11104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11106 return NULL;
11107 }
11108 }
11109{
0e2ff151 11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11111 wxSpinCtrl_SetValue(_arg0,_arg1);
e6056257 11112
0e2ff151 11113 wxPyEndAllowThreads(__tstate);
e6056257
RD
11114 if (PyErr_Occurred()) return NULL;
11115} Py_INCREF(Py_None);
11116 _resultobj = Py_None;
11117 return _resultobj;
11118}
11119
11120static PyMethodDef controlscMethods[] = {
11121 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11122 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
11123 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
11124 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
11125 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
11126 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11127 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
11128 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
11129 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
11130 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
11131 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
11132 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
11133 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
11134 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
11135 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
11136 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
11137 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
11138 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
11139 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
11140 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
11141 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
11142 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11143 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
11144 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
11145 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
11146 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
11147 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
11148 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
11149 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
11150 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
11151 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11152 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11153 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
11154 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
11155 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
11156 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
11157 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
11158 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11159 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11160 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
11161 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11162 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
7108497a 11163 { "wxRadioBox_GetNextItem", (PyCFunction) _wrap_wxRadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11164 { "wxRadioBox_GetRowCount", (PyCFunction) _wrap_wxRadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
11165 { "wxRadioBox_GetColumnCount", (PyCFunction) _wrap_wxRadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
11166 { "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
11167 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
11168 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
11169 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
11170 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
11171 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
11172 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
11173 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
11174 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
11175 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
11176 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
11177 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
11178 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
11179 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
11180 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11181 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
11182 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11183 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
11184 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
11185 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
11186 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
11187 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
11188 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
11189 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
dbd3685c 11190 { "wxScrollBar_IsVertical", (PyCFunction) _wrap_wxScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11191 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
11192 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
11193 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
11194 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11195 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
11196 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
11197 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
11198 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
dbd3685c 11199 { "wxTextCtrl_GetString", (PyCFunction) _wrap_wxTextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
e6056257 11200 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
383ea3d0
RD
11201 { "wxTextCtrl_IsMultiLine", (PyCFunction) _wrap_wxTextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
11202 { "wxTextCtrl_IsSingleLine", (PyCFunction) _wrap_wxTextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
11203 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
11204 { "wxTextCtrl_SelectAll", (PyCFunction) _wrap_wxTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
11205 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11206 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11207 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11208 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11209 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11210 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11211 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11212 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11213 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11214 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11215 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
11216 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
11217 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11218 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11219 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11220 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
11221 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
e6056257 11222 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
11223 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11224 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11225 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
59988cd0 11226 { "wxTextCtrl_EmulateKeyPress", (PyCFunction) _wrap_wxTextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11227 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11228 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
11229 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
11230 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
e6056257 11231 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
e6056257 11232 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
11233 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
11234 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
11235 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
11236 { "wxTextCtrl_GetStringSelection", (PyCFunction) _wrap_wxTextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11237 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11238 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
e6056257 11239 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11240 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
11241 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
11242 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
d1e76a37 11243 { "wxTextCtrl_GetRange", (PyCFunction) _wrap_wxTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
11244 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11245 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11246 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11247 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
11248 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
dbd3685c 11249 { "wxTextAttr_Combine", (PyCFunction) _wrap_wxTextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
742fc581 11250 { "wxTextAttr_IsDefault", (PyCFunction) _wrap_wxTextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11251 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11252 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11253 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11254 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11255 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11256 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11257 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11258 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11259 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11260 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
11261 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
3e1f6ec4
RD
11262 { "wxCheckListBox_HitTestXY", (PyCFunction) _wrap_wxCheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
11263 { "wxCheckListBox_HitTest", (PyCFunction) _wrap_wxCheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11264 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
11265 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
11266 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
11267 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
11268 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
11269 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
11270 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11271 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
11272 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11273 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
11274 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
11275 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
11276 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
11277 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
11278 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
11279 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
11280 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
11281 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
11282 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
11283 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
11284 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
11285 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
11286 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
11287 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
11288 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
11289 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
11290 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
11291 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
11292 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
11293 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
11294 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
11295 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
11296 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
11297 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11298 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
11299 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
11300 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
11301 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11302 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
11303 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
11304 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
11305 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
11306 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
11307 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
11308 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11309 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
11310 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11311 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11312 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11313 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
11314 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
11315 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
11316 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
11317 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11318 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11319 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
11320 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
11321 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
11322 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
11323 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
11324 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
11325 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11326 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
11327 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
11328 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
11329 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
11330 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
11331 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
11332 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
11333 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
7108497a 11334 { "wxCheckBox_IsChecked", (PyCFunction) _wrap_wxCheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11335 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
11336 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
11337 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
11338 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
11339 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
11340 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
11341 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
11342 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
11343 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11344 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11345 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11346 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11347 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11348 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11349 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
11350 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
11351 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
11352 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
11353 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
11354 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11355 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11356 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
11357 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
11358 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
11359 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
ca31b3da 11360 { "wxControlWithItems_AppendItems", (PyCFunction) _wrap_wxControlWithItems_AppendItems, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
11361 { "wxControlWithItems_SetClientData", (PyCFunction) _wrap_wxControlWithItems_SetClientData, METH_VARARGS | METH_KEYWORDS },
11362 { "wxControlWithItems_GetClientData", (PyCFunction) _wrap_wxControlWithItems_GetClientData, METH_VARARGS | METH_KEYWORDS },
11363 { "wxControlWithItems_Append", (PyCFunction) _wrap_wxControlWithItems_Append, METH_VARARGS | METH_KEYWORDS },
11364 { "wxControlWithItems_GetStringSelection", (PyCFunction) _wrap_wxControlWithItems_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11365 { "wxControlWithItems_GetSelection", (PyCFunction) _wrap_wxControlWithItems_GetSelection, METH_VARARGS | METH_KEYWORDS },
11366 { "wxControlWithItems_Select", (PyCFunction) _wrap_wxControlWithItems_Select, METH_VARARGS | METH_KEYWORDS },
11367 { "wxControlWithItems_FindString", (PyCFunction) _wrap_wxControlWithItems_FindString, METH_VARARGS | METH_KEYWORDS },
11368 { "wxControlWithItems_SetString", (PyCFunction) _wrap_wxControlWithItems_SetString, METH_VARARGS | METH_KEYWORDS },
11369 { "wxControlWithItems_GetString", (PyCFunction) _wrap_wxControlWithItems_GetString, METH_VARARGS | METH_KEYWORDS },
11370 { "wxControlWithItems_GetCount", (PyCFunction) _wrap_wxControlWithItems_GetCount, METH_VARARGS | METH_KEYWORDS },
11371 { "wxControlWithItems_Delete", (PyCFunction) _wrap_wxControlWithItems_Delete, METH_VARARGS | METH_KEYWORDS },
11372 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
11373 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
11374 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
11375 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
11376 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
11377 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
11378 { NULL, NULL }
11379};
11380#ifdef __cplusplus
11381}
11382#endif
11383/*
11384 * This table is used by the pointer type-checker
11385 */
11386static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
11387 { "_signed_long","_long",0},
11388 { "_wxPrintQuality","_wxCoord",0},
11389 { "_wxPrintQuality","_int",0},
11390 { "_wxPrintQuality","_signed_int",0},
11391 { "_wxPrintQuality","_unsigned_int",0},
11392 { "_wxPrintQuality","_wxWindowID",0},
11393 { "_wxPrintQuality","_uint",0},
11394 { "_wxPrintQuality","_EBool",0},
11395 { "_wxPrintQuality","_size_t",0},
11396 { "_wxPrintQuality","_time_t",0},
11397 { "_byte","_unsigned_char",0},
11398 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
11399 { "_long","_unsigned_long",0},
11400 { "_long","_signed_long",0},
11401 { "_size_t","_wxCoord",0},
11402 { "_size_t","_wxPrintQuality",0},
11403 { "_size_t","_time_t",0},
11404 { "_size_t","_unsigned_int",0},
11405 { "_size_t","_int",0},
11406 { "_size_t","_wxWindowID",0},
11407 { "_size_t","_uint",0},
11408 { "_uint","_wxCoord",0},
11409 { "_uint","_wxPrintQuality",0},
11410 { "_uint","_time_t",0},
11411 { "_uint","_size_t",0},
11412 { "_uint","_unsigned_int",0},
11413 { "_uint","_int",0},
11414 { "_uint","_wxWindowID",0},
11415 { "_wxChar","_char",0},
11416 { "_char","_wxChar",0},
11417 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
11418 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11419 { "_EBool","_wxCoord",0},
11420 { "_EBool","_wxPrintQuality",0},
11421 { "_EBool","_signed_int",0},
11422 { "_EBool","_int",0},
11423 { "_EBool","_wxWindowID",0},
11424 { "_unsigned_long","_long",0},
11425 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11426 { "_signed_int","_wxCoord",0},
11427 { "_signed_int","_wxPrintQuality",0},
11428 { "_signed_int","_EBool",0},
11429 { "_signed_int","_wxWindowID",0},
11430 { "_signed_int","_int",0},
11431 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
11432 { "_WXTYPE","_short",0},
11433 { "_WXTYPE","_signed_short",0},
11434 { "_WXTYPE","_unsigned_short",0},
11435 { "_unsigned_short","_WXTYPE",0},
11436 { "_unsigned_short","_short",0},
11437 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11438 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
11439 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
11440 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
11441 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11442 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
11443 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
11444 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
11445 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11446 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
11447 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
11448 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
11449 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
11450 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
11451 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
11452 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
11453 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
11454 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11455 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
11456 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
11457 { "_wxObject","_wxControl",SwigwxControlTowxObject},
11458 { "_signed_short","_WXTYPE",0},
11459 { "_signed_short","_short",0},
11460 { "_unsigned_char","_byte",0},
11461 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
11462 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
11463 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
11464 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
11465 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11466 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
11467 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
11468 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
11469 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11470 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
11471 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
11472 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
11473 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
11474 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
11475 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
11476 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
11477 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
11478 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11479 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
11480 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
11481 { "_unsigned_int","_wxCoord",0},
11482 { "_unsigned_int","_wxPrintQuality",0},
11483 { "_unsigned_int","_time_t",0},
11484 { "_unsigned_int","_size_t",0},
11485 { "_unsigned_int","_uint",0},
11486 { "_unsigned_int","_wxWindowID",0},
11487 { "_unsigned_int","_int",0},
11488 { "_short","_WXTYPE",0},
11489 { "_short","_unsigned_short",0},
11490 { "_short","_signed_short",0},
11491 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
11492 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
11493 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems},
11494 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
11495 { "_wxWindowID","_wxCoord",0},
11496 { "_wxWindowID","_wxPrintQuality",0},
11497 { "_wxWindowID","_time_t",0},
11498 { "_wxWindowID","_size_t",0},
11499 { "_wxWindowID","_EBool",0},
11500 { "_wxWindowID","_uint",0},
11501 { "_wxWindowID","_int",0},
11502 { "_wxWindowID","_signed_int",0},
11503 { "_wxWindowID","_unsigned_int",0},
11504 { "_int","_wxCoord",0},
11505 { "_int","_wxPrintQuality",0},
11506 { "_int","_time_t",0},
11507 { "_int","_size_t",0},
11508 { "_int","_EBool",0},
11509 { "_int","_uint",0},
11510 { "_int","_wxWindowID",0},
11511 { "_int","_unsigned_int",0},
11512 { "_int","_signed_int",0},
11513 { "_time_t","_wxCoord",0},
11514 { "_time_t","_wxPrintQuality",0},
11515 { "_time_t","_unsigned_int",0},
11516 { "_time_t","_int",0},
11517 { "_time_t","_wxWindowID",0},
11518 { "_time_t","_uint",0},
11519 { "_time_t","_size_t",0},
11520 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
11521 { "_wxCoord","_int",0},
11522 { "_wxCoord","_signed_int",0},
11523 { "_wxCoord","_unsigned_int",0},
11524 { "_wxCoord","_wxWindowID",0},
11525 { "_wxCoord","_uint",0},
11526 { "_wxCoord","_EBool",0},
11527 { "_wxCoord","_size_t",0},
11528 { "_wxCoord","_time_t",0},
11529 { "_wxCoord","_wxPrintQuality",0},
11530 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
11531 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
11532 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11533 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11534 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11535 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11536 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11537 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11538 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11539 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
11540 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11541 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11542 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11543 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
11544 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11545 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
11546 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11547 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11548 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
11549 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
11550 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
11551 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
11552 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
11553 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
11554 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
11555 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11556 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
11557 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
11558 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11559 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11560 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
11561 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
11562 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
11563 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
11564 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
11565 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
11566 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
11567 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
11568 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11569 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
11570 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
11571 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
11572{0,0,0}};
11573
11574static PyObject *SWIG_globals;
11575#ifdef __cplusplus
11576extern "C"
11577#endif
11578SWIGEXPORT(void) initcontrolsc() {
11579 PyObject *m, *d;
11580 SWIG_globals = SWIG_newvarlink();
11581 m = Py_InitModule("controlsc", controlscMethods);
11582 d = PyModule_GetDict(m);
11583 PyDict_SetItemString(d,"cvar", SWIG_globals);
11584 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
11585{
11586 int i;
11587 for (i = 0; _swig_mapping[i].n1; i++)
11588 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11589}
11590}