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