]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/controls.cpp
Use multi-lib build on MSW, and other tweaks
[wxWidgets.git] / wxPython / src / mac / controls.cpp
CommitLineData
e6056257
RD
1/*
2 * FILE : src/mac/controls.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
7108497a
RD
22#include "Python.h"
23
e6056257
RD
24#include <string.h>
25#include <stdlib.h>
26/* Definitions for Windows/Unix exporting */
27#if defined(__WIN32__)
28# if defined(_MSC_VER)
29# define SWIGEXPORT(a) __declspec(dllexport) a
30# else
31# if defined(__BORLANDC__)
32# define SWIGEXPORT(a) a _export
33# else
34# define SWIGEXPORT(a) a
35# endif
36# endif
37#else
38# define SWIGEXPORT(a) a
39#endif
40
e6056257
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
e6056257
RD
44extern void SWIG_MakePtr(char *, void *, char *);
45extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46extern char *SWIG_GetPtr(char *, void **, char *);
47extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49extern PyObject *SWIG_newvarlink(void);
50#ifdef __cplusplus
51}
52#endif
53#define SWIG_init initcontrolsc
54
55#define SWIG_name "controlsc"
56
57#include "helpers.h"
58#include <wx/slider.h>
59#include <wx/spinbutt.h>
60#include <wx/spinctrl.h>
61#include <wx/dynarray.h>
62#include <wx/statline.h>
63#include <wx/tglbtn.h>
64
65#ifdef __WXMSW__
66#if wxUSE_OWNER_DRAWN
67#include <wx/checklst.h>
68#endif
69#endif
70
71#ifdef __WXGTK__
72#include <wx/checklst.h>
73#endif
74
75
e6056257
RD
76static PyObject* t_output_helper(PyObject* target, PyObject* o) {
77 PyObject* o2;
78 PyObject* o3;
79
80 if (!target) {
81 target = o;
82 } else if (target == Py_None) {
83 Py_DECREF(Py_None);
84 target = o;
85 } else {
86 if (!PyTuple_Check(target)) {
87 o2 = target;
88 target = PyTuple_New(1);
89 PyTuple_SetItem(target, 0, o2);
90 }
91 o3 = PyTuple_New(1);
92 PyTuple_SetItem(o3, 0, o);
93
94 o2 = target;
95 target = PySequence_Concat(o2, o3);
96 Py_DECREF(o2);
97 Py_DECREF(o3);
98 }
99 return target;
100}
c3bfa1cb
RD
101
102//#define DECLARE_DEF_STRING(name) static wxString* wxPy##name
103
104 // Put some wx default wxChar* values into wxStrings.
105 DECLARE_DEF_STRING(ControlNameStr);
106 DECLARE_DEF_STRING(ButtonNameStr);
107 DECLARE_DEF_STRING(CheckBoxNameStr);
108 DECLARE_DEF_STRING(ChoiceNameStr);
109 DECLARE_DEF_STRING(ComboBoxNameStr);
110 DECLARE_DEF_STRING(GaugeNameStr);
111 DECLARE_DEF_STRING(StaticBoxNameStr);
112 DECLARE_DEF_STRING(StaticTextNameStr);
113 DECLARE_DEF_STRING(ListBoxNameStr);
114 DECLARE_DEF_STRING(TextCtrlNameStr);
115 DECLARE_DEF_STRING(ScrollBarNameStr);
116 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
117 DECLARE_DEF_STRING(StaticBitmapNameStr);
118 DECLARE_DEF_STRING(RadioBoxNameStr);
119 DECLARE_DEF_STRING(RadioButtonNameStr);
120 DECLARE_DEF_STRING(SliderNameStr);
121
122 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
123 DECLARE_DEF_STRING(SpinCtrlNameStr);
124
125 static const wxString wxPyEmptyString(wxT(""));
e6056257
RD
126#ifdef __cplusplus
127extern "C" {
128#endif
129static int _wrap_wxDefaultValidator_set(PyObject *val) {
130
131 PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only.");
132 return 1;
133}
134
135static PyObject *_wrap_wxDefaultValidator_get() {
136 PyObject * pyobj;
137 char ptemp[128];
138
139 SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p");
140 pyobj = PyString_FromString(ptemp);
141 return pyobj;
142}
143
144static void *SwigwxControlTowxWindow(void *ptr) {
145 wxControl *src;
146 wxWindow *dest;
147 src = (wxControl *) ptr;
148 dest = (wxWindow *) src;
149 return (void *) dest;
150}
151
152static void *SwigwxControlTowxEvtHandler(void *ptr) {
153 wxControl *src;
154 wxEvtHandler *dest;
155 src = (wxControl *) ptr;
156 dest = (wxEvtHandler *) src;
157 return (void *) dest;
158}
159
160static void *SwigwxControlTowxObject(void *ptr) {
161 wxControl *src;
162 wxObject *dest;
163 src = (wxControl *) ptr;
164 dest = (wxObject *) src;
165 return (void *) dest;
166}
167
168#define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
169static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
170 PyObject * _resultobj;
171 wxControl * _result;
172 wxWindow * _arg0;
173 wxWindowID _arg1;
174 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
175 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
176 long _arg4 = (long ) 0;
177 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 178 wxString * _arg6 = (wxString *) &wxPyControlNameStr;
e6056257
RD
179 PyObject * _argo0 = 0;
180 wxPoint temp;
181 PyObject * _obj2 = 0;
182 wxSize temp0;
183 PyObject * _obj3 = 0;
184 PyObject * _argo5 = 0;
c3bfa1cb 185 PyObject * _obj6 = 0;
e6056257
RD
186 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
187 char _ptemp[128];
188
189 self = self;
c3bfa1cb 190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
e6056257
RD
191 return NULL;
192 if (_argo0) {
193 if (_argo0 == Py_None) { _arg0 = NULL; }
194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
196 return NULL;
197 }
198 }
199 if (_obj2)
200{
201 _arg2 = &temp;
202 if (! wxPoint_helper(_obj2, &_arg2))
203 return NULL;
204}
205 if (_obj3)
206{
207 _arg3 = &temp0;
208 if (! wxSize_helper(_obj3, &_arg3))
209 return NULL;
210}
211 if (_argo5) {
7108497a 212 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
e6056257
RD
213 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
214 return NULL;
215 }
216 }
c3bfa1cb
RD
217 if (_obj6)
218{
219 _arg6 = wxString_in_helper(_obj6);
220 if (_arg6 == NULL)
221 return NULL;
222}
e6056257 223{
0e2ff151 224 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 225 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
e6056257 226
0e2ff151 227 wxPyEndAllowThreads(__tstate);
e6056257
RD
228 if (PyErr_Occurred()) return NULL;
229} if (_result) {
230 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
231 _resultobj = Py_BuildValue("s",_ptemp);
232 } else {
233 Py_INCREF(Py_None);
234 _resultobj = Py_None;
235 }
c3bfa1cb
RD
236{
237 if (_obj6)
238 delete _arg6;
239}
e6056257
RD
240 return _resultobj;
241}
242
243#define new_wxPreControl() (new wxControl())
244static PyObject *_wrap_new_wxPreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
245 PyObject * _resultobj;
246 wxControl * _result;
247 char *_kwnames[] = { NULL };
248 char _ptemp[128];
249
250 self = self;
251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreControl",_kwnames))
252 return NULL;
253{
0e2ff151 254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 255 _result = (wxControl *)new_wxPreControl();
e6056257 256
0e2ff151 257 wxPyEndAllowThreads(__tstate);
e6056257
RD
258 if (PyErr_Occurred()) return NULL;
259} if (_result) {
260 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
261 _resultobj = Py_BuildValue("s",_ptemp);
262 } else {
263 Py_INCREF(Py_None);
264 _resultobj = Py_None;
265 }
266 return _resultobj;
267}
268
269#define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
270static PyObject *_wrap_wxControl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
271 PyObject * _resultobj;
272 bool _result;
273 wxControl * _arg0;
274 wxWindow * _arg1;
275 wxWindowID _arg2;
276 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
277 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
278 long _arg5 = (long ) 0;
279 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 280 wxString * _arg7 = (wxString *) &wxPyControlNameStr;
e6056257
RD
281 PyObject * _argo0 = 0;
282 PyObject * _argo1 = 0;
283 wxPoint temp;
284 PyObject * _obj3 = 0;
285 wxSize temp0;
286 PyObject * _obj4 = 0;
287 PyObject * _argo6 = 0;
c3bfa1cb 288 PyObject * _obj7 = 0;
e6056257
RD
289 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
290
291 self = self;
c3bfa1cb 292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOO:wxControl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
293 return NULL;
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
298 return NULL;
299 }
300 }
301 if (_argo1) {
302 if (_argo1 == Py_None) { _arg1 = NULL; }
303 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
304 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
305 return NULL;
306 }
307 }
308 if (_obj3)
309{
310 _arg3 = &temp;
311 if (! wxPoint_helper(_obj3, &_arg3))
312 return NULL;
313}
314 if (_obj4)
315{
316 _arg4 = &temp0;
317 if (! wxSize_helper(_obj4, &_arg4))
318 return NULL;
319}
320 if (_argo6) {
7108497a 321 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
322 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
323 return NULL;
324 }
325 }
c3bfa1cb
RD
326 if (_obj7)
327{
328 _arg7 = wxString_in_helper(_obj7);
329 if (_arg7 == NULL)
330 return NULL;
331}
e6056257 332{
0e2ff151 333 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 334 _result = (bool )wxControl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 335
0e2ff151 336 wxPyEndAllowThreads(__tstate);
e6056257
RD
337 if (PyErr_Occurred()) return NULL;
338} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
339{
340 if (_obj7)
341 delete _arg7;
342}
e6056257
RD
343 return _resultobj;
344}
345
346#define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
347static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
348 PyObject * _resultobj;
349 wxControl * _arg0;
350 wxCommandEvent * _arg1;
351 PyObject * _argo0 = 0;
352 PyObject * _argo1 = 0;
353 char *_kwnames[] = { "self","event", NULL };
354
355 self = self;
356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1))
357 return NULL;
358 if (_argo0) {
359 if (_argo0 == Py_None) { _arg0 = NULL; }
360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
362 return NULL;
363 }
364 }
365 if (_argo1) {
7108497a 366 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
e6056257
RD
367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
368 return NULL;
369 }
370 }
371{
0e2ff151 372 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 373 wxControl_Command(_arg0,*_arg1);
e6056257 374
0e2ff151 375 wxPyEndAllowThreads(__tstate);
e6056257
RD
376 if (PyErr_Occurred()) return NULL;
377} Py_INCREF(Py_None);
378 _resultobj = Py_None;
379 return _resultobj;
380}
381
382#define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
383static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
384 PyObject * _resultobj;
385 wxString * _result;
386 wxControl * _arg0;
387 PyObject * _argo0 = 0;
388 char *_kwnames[] = { "self", NULL };
389
390 self = self;
391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
392 return NULL;
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
397 return NULL;
398 }
399 }
400{
0e2ff151 401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 402 _result = new wxString (wxControl_GetLabel(_arg0));
e6056257 403
0e2ff151 404 wxPyEndAllowThreads(__tstate);
e6056257
RD
405 if (PyErr_Occurred()) return NULL;
406}{
6824d4f9 407#if wxUSE_UNICODE
7108497a 408 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 409#else
e6056257 410 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 411#endif
e6056257
RD
412}
413{
414 delete _result;
415}
416 return _resultobj;
417}
418
419#define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
420static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
421 PyObject * _resultobj;
422 wxControl * _arg0;
423 wxString * _arg1;
424 PyObject * _argo0 = 0;
425 PyObject * _obj1 = 0;
426 char *_kwnames[] = { "self","label", NULL };
427
428 self = self;
429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
430 return NULL;
431 if (_argo0) {
432 if (_argo0 == Py_None) { _arg0 = NULL; }
433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
435 return NULL;
436 }
437 }
438{
6824d4f9
RD
439 _arg1 = wxString_in_helper(_obj1);
440 if (_arg1 == NULL)
e6056257 441 return NULL;
e6056257
RD
442}
443{
0e2ff151 444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 445 wxControl_SetLabel(_arg0,*_arg1);
e6056257 446
0e2ff151 447 wxPyEndAllowThreads(__tstate);
e6056257
RD
448 if (PyErr_Occurred()) return NULL;
449} Py_INCREF(Py_None);
450 _resultobj = Py_None;
451{
452 if (_obj1)
453 delete _arg1;
454}
455 return _resultobj;
456}
457
458static void *SwigwxControlWithItemsTowxControl(void *ptr) {
459 wxControlWithItems *src;
460 wxControl *dest;
461 src = (wxControlWithItems *) ptr;
462 dest = (wxControl *) src;
463 return (void *) dest;
464}
465
466static void *SwigwxControlWithItemsTowxWindow(void *ptr) {
467 wxControlWithItems *src;
468 wxWindow *dest;
469 src = (wxControlWithItems *) ptr;
470 dest = (wxWindow *) src;
471 return (void *) dest;
472}
473
474static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr) {
475 wxControlWithItems *src;
476 wxEvtHandler *dest;
477 src = (wxControlWithItems *) ptr;
478 dest = (wxEvtHandler *) src;
479 return (void *) dest;
480}
481
482static void *SwigwxControlWithItemsTowxObject(void *ptr) {
483 wxControlWithItems *src;
484 wxObject *dest;
485 src = (wxControlWithItems *) ptr;
486 dest = (wxObject *) src;
487 return (void *) dest;
488}
489
490#define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
491static PyObject *_wrap_wxControlWithItems_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
492 PyObject * _resultobj;
493 wxControlWithItems * _arg0;
494 int _arg1;
495 PyObject * _argo0 = 0;
496 char *_kwnames[] = { "self","n", NULL };
497
498 self = self;
499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Delete",_kwnames,&_argo0,&_arg1))
500 return NULL;
501 if (_argo0) {
502 if (_argo0 == Py_None) { _arg0 = NULL; }
503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
505 return NULL;
506 }
507 }
508{
0e2ff151 509 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 510 wxControlWithItems_Delete(_arg0,_arg1);
e6056257 511
0e2ff151 512 wxPyEndAllowThreads(__tstate);
e6056257
RD
513 if (PyErr_Occurred()) return NULL;
514} Py_INCREF(Py_None);
515 _resultobj = Py_None;
516 return _resultobj;
517}
518
519#define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
520static PyObject *_wrap_wxControlWithItems_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
521 PyObject * _resultobj;
522 int _result;
523 wxControlWithItems * _arg0;
524 PyObject * _argo0 = 0;
525 char *_kwnames[] = { "self", NULL };
526
527 self = self;
528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetCount",_kwnames,&_argo0))
529 return NULL;
530 if (_argo0) {
531 if (_argo0 == Py_None) { _arg0 = NULL; }
532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
534 return NULL;
535 }
536 }
537{
0e2ff151 538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 539 _result = (int )wxControlWithItems_GetCount(_arg0);
e6056257 540
0e2ff151 541 wxPyEndAllowThreads(__tstate);
e6056257
RD
542 if (PyErr_Occurred()) return NULL;
543} _resultobj = Py_BuildValue("i",_result);
544 return _resultobj;
545}
546
547#define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
548static PyObject *_wrap_wxControlWithItems_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
549 PyObject * _resultobj;
550 wxString * _result;
551 wxControlWithItems * _arg0;
552 int _arg1;
553 PyObject * _argo0 = 0;
554 char *_kwnames[] = { "self","n", NULL };
555
556 self = self;
557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetString",_kwnames,&_argo0,&_arg1))
558 return NULL;
559 if (_argo0) {
560 if (_argo0 == Py_None) { _arg0 = NULL; }
561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
563 return NULL;
564 }
565 }
566{
0e2ff151 567 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 568 _result = new wxString (wxControlWithItems_GetString(_arg0,_arg1));
e6056257 569
0e2ff151 570 wxPyEndAllowThreads(__tstate);
e6056257
RD
571 if (PyErr_Occurred()) return NULL;
572}{
6824d4f9 573#if wxUSE_UNICODE
7108497a 574 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 575#else
e6056257 576 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 577#endif
e6056257
RD
578}
579{
580 delete _result;
581}
582 return _resultobj;
583}
584
585#define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
586static PyObject *_wrap_wxControlWithItems_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
587 PyObject * _resultobj;
588 wxControlWithItems * _arg0;
589 int _arg1;
590 wxString * _arg2;
591 PyObject * _argo0 = 0;
592 PyObject * _obj2 = 0;
593 char *_kwnames[] = { "self","n","s", NULL };
594
595 self = self;
596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
597 return NULL;
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
602 return NULL;
603 }
604 }
605{
6824d4f9
RD
606 _arg2 = wxString_in_helper(_obj2);
607 if (_arg2 == NULL)
e6056257 608 return NULL;
e6056257
RD
609}
610{
0e2ff151 611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 612 wxControlWithItems_SetString(_arg0,_arg1,*_arg2);
e6056257 613
0e2ff151 614 wxPyEndAllowThreads(__tstate);
e6056257
RD
615 if (PyErr_Occurred()) return NULL;
616} Py_INCREF(Py_None);
617 _resultobj = Py_None;
618{
619 if (_obj2)
620 delete _arg2;
621}
622 return _resultobj;
623}
624
625#define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
626static PyObject *_wrap_wxControlWithItems_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
627 PyObject * _resultobj;
628 int _result;
629 wxControlWithItems * _arg0;
630 wxString * _arg1;
631 PyObject * _argo0 = 0;
632 PyObject * _obj1 = 0;
633 char *_kwnames[] = { "self","s", NULL };
634
635 self = self;
636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_FindString",_kwnames,&_argo0,&_obj1))
637 return NULL;
638 if (_argo0) {
639 if (_argo0 == Py_None) { _arg0 = NULL; }
640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
642 return NULL;
643 }
644 }
645{
6824d4f9
RD
646 _arg1 = wxString_in_helper(_obj1);
647 if (_arg1 == NULL)
e6056257 648 return NULL;
e6056257
RD
649}
650{
0e2ff151 651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 652 _result = (int )wxControlWithItems_FindString(_arg0,*_arg1);
e6056257 653
0e2ff151 654 wxPyEndAllowThreads(__tstate);
e6056257
RD
655 if (PyErr_Occurred()) return NULL;
656} _resultobj = Py_BuildValue("i",_result);
657{
658 if (_obj1)
659 delete _arg1;
660}
661 return _resultobj;
662}
663
664#define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
665static PyObject *_wrap_wxControlWithItems_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
666 PyObject * _resultobj;
667 wxControlWithItems * _arg0;
668 int _arg1;
669 PyObject * _argo0 = 0;
670 char *_kwnames[] = { "self","n", NULL };
671
672 self = self;
673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Select",_kwnames,&_argo0,&_arg1))
674 return NULL;
675 if (_argo0) {
676 if (_argo0 == Py_None) { _arg0 = NULL; }
677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
679 return NULL;
680 }
681 }
682{
0e2ff151 683 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 684 wxControlWithItems_Select(_arg0,_arg1);
e6056257 685
0e2ff151 686 wxPyEndAllowThreads(__tstate);
e6056257
RD
687 if (PyErr_Occurred()) return NULL;
688} Py_INCREF(Py_None);
689 _resultobj = Py_None;
690 return _resultobj;
691}
692
693#define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
694static PyObject *_wrap_wxControlWithItems_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
695 PyObject * _resultobj;
696 int _result;
697 wxControlWithItems * _arg0;
698 PyObject * _argo0 = 0;
699 char *_kwnames[] = { "self", NULL };
700
701 self = self;
702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetSelection",_kwnames,&_argo0))
703 return NULL;
704 if (_argo0) {
705 if (_argo0 == Py_None) { _arg0 = NULL; }
706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
708 return NULL;
709 }
710 }
711{
0e2ff151 712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 713 _result = (int )wxControlWithItems_GetSelection(_arg0);
e6056257 714
0e2ff151 715 wxPyEndAllowThreads(__tstate);
e6056257
RD
716 if (PyErr_Occurred()) return NULL;
717} _resultobj = Py_BuildValue("i",_result);
718 return _resultobj;
719}
720
721#define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
722static PyObject *_wrap_wxControlWithItems_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
723 PyObject * _resultobj;
724 wxString * _result;
725 wxControlWithItems * _arg0;
726 PyObject * _argo0 = 0;
727 char *_kwnames[] = { "self", NULL };
728
729 self = self;
730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetStringSelection",_kwnames,&_argo0))
731 return NULL;
732 if (_argo0) {
733 if (_argo0 == Py_None) { _arg0 = NULL; }
734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
736 return NULL;
737 }
738 }
739{
0e2ff151 740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 741 _result = new wxString (wxControlWithItems_GetStringSelection(_arg0));
e6056257 742
0e2ff151 743 wxPyEndAllowThreads(__tstate);
e6056257
RD
744 if (PyErr_Occurred()) return NULL;
745}{
6824d4f9 746#if wxUSE_UNICODE
7108497a 747 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 748#else
e6056257 749 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 750#endif
e6056257
RD
751}
752{
753 delete _result;
754}
755 return _resultobj;
756}
757
758static void wxControlWithItems_Append(wxControlWithItems *self,const wxString & item,PyObject * clientData) {
759 if (clientData) {
760 wxPyClientData* data = new wxPyClientData(clientData);
761 self->Append(item, data);
762 } else
763 self->Append(item);
764 }
765static PyObject *_wrap_wxControlWithItems_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
766 PyObject * _resultobj;
767 wxControlWithItems * _arg0;
768 wxString * _arg1;
769 PyObject * _arg2 = (PyObject *) NULL;
770 PyObject * _argo0 = 0;
771 PyObject * _obj1 = 0;
772 PyObject * _obj2 = 0;
773 char *_kwnames[] = { "self","item","clientData", NULL };
774
775 self = self;
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxControlWithItems_Append",_kwnames,&_argo0,&_obj1,&_obj2))
777 return NULL;
778 if (_argo0) {
779 if (_argo0 == Py_None) { _arg0 = NULL; }
780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
782 return NULL;
783 }
784 }
785{
6824d4f9
RD
786 _arg1 = wxString_in_helper(_obj1);
787 if (_arg1 == NULL)
e6056257 788 return NULL;
e6056257
RD
789}
790 if (_obj2)
791{
792 _arg2 = _obj2;
793}
794{
0e2ff151 795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 796 wxControlWithItems_Append(_arg0,*_arg1,_arg2);
e6056257 797
0e2ff151 798 wxPyEndAllowThreads(__tstate);
e6056257
RD
799 if (PyErr_Occurred()) return NULL;
800} Py_INCREF(Py_None);
801 _resultobj = Py_None;
802{
803 if (_obj1)
804 delete _arg1;
805}
806 return _resultobj;
807}
808
809static PyObject * wxControlWithItems_GetClientData(wxControlWithItems *self,int n) {
810 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
811 if (data) {
812 Py_INCREF(data->m_obj);
813 return data->m_obj;
814 } else {
815 Py_INCREF(Py_None);
816 return Py_None;
817 }
818 }
819static PyObject *_wrap_wxControlWithItems_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
820 PyObject * _resultobj;
821 PyObject * _result;
822 wxControlWithItems * _arg0;
823 int _arg1;
824 PyObject * _argo0 = 0;
825 char *_kwnames[] = { "self","n", NULL };
826
827 self = self;
828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetClientData",_kwnames,&_argo0,&_arg1))
829 return NULL;
830 if (_argo0) {
831 if (_argo0 == Py_None) { _arg0 = NULL; }
832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
834 return NULL;
835 }
836 }
837{
0e2ff151 838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 839 _result = (PyObject *)wxControlWithItems_GetClientData(_arg0,_arg1);
e6056257 840
0e2ff151 841 wxPyEndAllowThreads(__tstate);
e6056257
RD
842 if (PyErr_Occurred()) return NULL;
843}{
844 _resultobj = _result;
845}
846 return _resultobj;
847}
848
849static void wxControlWithItems_SetClientData(wxControlWithItems *self,int n,PyObject * clientData) {
850 wxPyClientData* data = new wxPyClientData(clientData);
851 self->SetClientObject(n, data);
852 }
853static PyObject *_wrap_wxControlWithItems_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
854 PyObject * _resultobj;
855 wxControlWithItems * _arg0;
856 int _arg1;
857 PyObject * _arg2;
858 PyObject * _argo0 = 0;
859 PyObject * _obj2 = 0;
860 char *_kwnames[] = { "self","n","clientData", NULL };
861
862 self = self;
863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
864 return NULL;
865 if (_argo0) {
866 if (_argo0 == Py_None) { _arg0 = NULL; }
867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
869 return NULL;
870 }
871 }
872{
873 _arg2 = _obj2;
874}
875{
0e2ff151 876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 877 wxControlWithItems_SetClientData(_arg0,_arg1,_arg2);
e6056257 878
0e2ff151 879 wxPyEndAllowThreads(__tstate);
e6056257
RD
880 if (PyErr_Occurred()) return NULL;
881} Py_INCREF(Py_None);
882 _resultobj = Py_None;
883 return _resultobj;
884}
885
ca31b3da
RD
886#define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
887static PyObject *_wrap_wxControlWithItems_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
888 PyObject * _resultobj;
889 wxControlWithItems * _arg0;
890 wxArrayString * _arg1;
891 PyObject * _argo0 = 0;
892 PyObject * _obj1 = 0;
893 char *_kwnames[] = { "self","strings", NULL };
894
895 self = self;
896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_AppendItems",_kwnames,&_argo0,&_obj1))
897 return NULL;
898 if (_argo0) {
899 if (_argo0 == Py_None) { _arg0 = NULL; }
900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
902 return NULL;
903 }
904 }
905{
906 if (! PySequence_Check(_obj1)) {
907 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
908 return NULL;
909 }
910 _arg1 = new wxArrayString;
911 int i, len=PySequence_Length(_obj1);
912 for (i=0; i<len; i++) {
913 PyObject* item = PySequence_GetItem(_obj1, i);
6824d4f9
RD
914#if wxUSE_UNICODE
915 PyObject* str = PyObject_Unicode(item);
6824d4f9 916#else
ca31b3da 917 PyObject* str = PyObject_Str(item);
6824d4f9 918#endif
7108497a 919 _arg1->Add(Py2wxString(str));
ca31b3da
RD
920 Py_DECREF(item);
921 Py_DECREF(str);
922 }
923}
924{
925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 926 wxControlWithItems_AppendItems(_arg0,*_arg1);
ca31b3da
RD
927
928 wxPyEndAllowThreads(__tstate);
929 if (PyErr_Occurred()) return NULL;
930} Py_INCREF(Py_None);
931 _resultobj = Py_None;
932{
933 if (_obj1)
934 delete _arg1;
935}
936 return _resultobj;
937}
938
e6056257
RD
939static void *SwigwxButtonTowxControl(void *ptr) {
940 wxButton *src;
941 wxControl *dest;
942 src = (wxButton *) ptr;
943 dest = (wxControl *) src;
944 return (void *) dest;
945}
946
947static void *SwigwxButtonTowxWindow(void *ptr) {
948 wxButton *src;
949 wxWindow *dest;
950 src = (wxButton *) ptr;
951 dest = (wxWindow *) src;
952 return (void *) dest;
953}
954
955static void *SwigwxButtonTowxEvtHandler(void *ptr) {
956 wxButton *src;
957 wxEvtHandler *dest;
958 src = (wxButton *) ptr;
959 dest = (wxEvtHandler *) src;
960 return (void *) dest;
961}
962
963static void *SwigwxButtonTowxObject(void *ptr) {
964 wxButton *src;
965 wxObject *dest;
966 src = (wxButton *) ptr;
967 dest = (wxObject *) src;
968 return (void *) dest;
969}
970
971#define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
972static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
973 PyObject * _resultobj;
974 wxButton * _result;
975 wxWindow * _arg0;
976 wxWindowID _arg1;
977 wxString * _arg2;
978 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
979 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
980 long _arg5 = (long ) 0;
981 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 982 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
e6056257
RD
983 PyObject * _argo0 = 0;
984 PyObject * _obj2 = 0;
985 wxPoint temp;
986 PyObject * _obj3 = 0;
987 wxSize temp0;
988 PyObject * _obj4 = 0;
989 PyObject * _argo6 = 0;
c3bfa1cb 990 PyObject * _obj7 = 0;
e6056257
RD
991 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
992 char _ptemp[128];
993
994 self = self;
c3bfa1cb 995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
996 return NULL;
997 if (_argo0) {
998 if (_argo0 == Py_None) { _arg0 = NULL; }
999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
1001 return NULL;
1002 }
1003 }
1004{
6824d4f9
RD
1005 _arg2 = wxString_in_helper(_obj2);
1006 if (_arg2 == NULL)
e6056257 1007 return NULL;
e6056257
RD
1008}
1009 if (_obj3)
1010{
1011 _arg3 = &temp;
1012 if (! wxPoint_helper(_obj3, &_arg3))
1013 return NULL;
1014}
1015 if (_obj4)
1016{
1017 _arg4 = &temp0;
1018 if (! wxSize_helper(_obj4, &_arg4))
1019 return NULL;
1020}
1021 if (_argo6) {
7108497a 1022 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
1023 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1024 return NULL;
1025 }
1026 }
c3bfa1cb
RD
1027 if (_obj7)
1028{
1029 _arg7 = wxString_in_helper(_obj7);
1030 if (_arg7 == NULL)
1031 return NULL;
1032}
e6056257 1033{
0e2ff151 1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 1035 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 1036
0e2ff151 1037 wxPyEndAllowThreads(__tstate);
e6056257
RD
1038 if (PyErr_Occurred()) return NULL;
1039} if (_result) {
1040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1041 _resultobj = Py_BuildValue("s",_ptemp);
1042 } else {
1043 Py_INCREF(Py_None);
1044 _resultobj = Py_None;
1045 }
1046{
1047 if (_obj2)
1048 delete _arg2;
c3bfa1cb
RD
1049}
1050{
1051 if (_obj7)
1052 delete _arg7;
e6056257
RD
1053}
1054 return _resultobj;
1055}
1056
1057#define new_wxPreButton() (new wxButton())
1058static PyObject *_wrap_new_wxPreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1059 PyObject * _resultobj;
1060 wxButton * _result;
1061 char *_kwnames[] = { NULL };
1062 char _ptemp[128];
1063
1064 self = self;
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreButton",_kwnames))
1066 return NULL;
1067{
0e2ff151 1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1069 _result = (wxButton *)new_wxPreButton();
e6056257 1070
0e2ff151 1071 wxPyEndAllowThreads(__tstate);
e6056257
RD
1072 if (PyErr_Occurred()) return NULL;
1073} if (_result) {
1074 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1075 _resultobj = Py_BuildValue("s",_ptemp);
1076 } else {
1077 Py_INCREF(Py_None);
1078 _resultobj = Py_None;
1079 }
1080 return _resultobj;
1081}
1082
1083#define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1084static PyObject *_wrap_wxButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1085 PyObject * _resultobj;
1086 bool _result;
1087 wxButton * _arg0;
1088 wxWindow * _arg1;
1089 wxWindowID _arg2;
1090 wxString * _arg3;
1091 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1092 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1093 long _arg6 = (long ) 0;
1094 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 1095 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
e6056257
RD
1096 PyObject * _argo0 = 0;
1097 PyObject * _argo1 = 0;
1098 PyObject * _obj3 = 0;
1099 wxPoint temp;
1100 PyObject * _obj4 = 0;
1101 wxSize temp0;
1102 PyObject * _obj5 = 0;
1103 PyObject * _argo7 = 0;
c3bfa1cb 1104 PyObject * _obj8 = 0;
e6056257
RD
1105 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
1106
1107 self = self;
c3bfa1cb 1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
1109 return NULL;
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1114 return NULL;
1115 }
1116 }
1117 if (_argo1) {
1118 if (_argo1 == Py_None) { _arg1 = NULL; }
1119 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1120 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1121 return NULL;
1122 }
1123 }
1124{
6824d4f9
RD
1125 _arg3 = wxString_in_helper(_obj3);
1126 if (_arg3 == NULL)
e6056257 1127 return NULL;
e6056257
RD
1128}
1129 if (_obj4)
1130{
1131 _arg4 = &temp;
1132 if (! wxPoint_helper(_obj4, &_arg4))
1133 return NULL;
1134}
1135 if (_obj5)
1136{
1137 _arg5 = &temp0;
1138 if (! wxSize_helper(_obj5, &_arg5))
1139 return NULL;
1140}
1141 if (_argo7) {
7108497a 1142 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
1143 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1144 return NULL;
1145 }
1146 }
c3bfa1cb
RD
1147 if (_obj8)
1148{
1149 _arg8 = wxString_in_helper(_obj8);
1150 if (_arg8 == NULL)
1151 return NULL;
1152}
e6056257 1153{
0e2ff151 1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 1155 _result = (bool )wxButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 1156
0e2ff151 1157 wxPyEndAllowThreads(__tstate);
e6056257
RD
1158 if (PyErr_Occurred()) return NULL;
1159} _resultobj = Py_BuildValue("i",_result);
1160{
1161 if (_obj3)
1162 delete _arg3;
c3bfa1cb
RD
1163}
1164{
1165 if (_obj8)
1166 delete _arg8;
e6056257
RD
1167}
1168 return _resultobj;
1169}
1170
1171#define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1172static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject * _resultobj;
1174 wxButton * _arg0;
1175 PyObject * _argo0 = 0;
1176 char *_kwnames[] = { "self", NULL };
1177
1178 self = self;
1179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
1180 return NULL;
1181 if (_argo0) {
1182 if (_argo0 == Py_None) { _arg0 = NULL; }
1183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1185 return NULL;
1186 }
1187 }
1188{
0e2ff151 1189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1190 wxButton_SetDefault(_arg0);
e6056257 1191
0e2ff151 1192 wxPyEndAllowThreads(__tstate);
e6056257
RD
1193 if (PyErr_Occurred()) return NULL;
1194} Py_INCREF(Py_None);
1195 _resultobj = Py_None;
1196 return _resultobj;
1197}
1198
1199#define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1200static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1201 PyObject * _resultobj;
1202 wxButton * _arg0;
1203 wxColour * _arg1;
1204 PyObject * _argo0 = 0;
1205 wxColour temp;
1206 PyObject * _obj1 = 0;
1207 char *_kwnames[] = { "self","colour", NULL };
1208
1209 self = self;
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1211 return NULL;
1212 if (_argo0) {
1213 if (_argo0 == Py_None) { _arg0 = NULL; }
1214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1216 return NULL;
1217 }
1218 }
1219{
1220 _arg1 = &temp;
1221 if (! wxColour_helper(_obj1, &_arg1))
1222 return NULL;
1223}
1224{
0e2ff151 1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1226 wxButton_SetBackgroundColour(_arg0,*_arg1);
e6056257 1227
0e2ff151 1228 wxPyEndAllowThreads(__tstate);
e6056257
RD
1229 if (PyErr_Occurred()) return NULL;
1230} Py_INCREF(Py_None);
1231 _resultobj = Py_None;
1232 return _resultobj;
1233}
1234
1235#define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1236static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject * _resultobj;
1238 wxButton * _arg0;
1239 wxColour * _arg1;
1240 PyObject * _argo0 = 0;
1241 wxColour temp;
1242 PyObject * _obj1 = 0;
1243 char *_kwnames[] = { "self","colour", NULL };
1244
1245 self = self;
1246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
1247 return NULL;
1248 if (_argo0) {
1249 if (_argo0 == Py_None) { _arg0 = NULL; }
1250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1252 return NULL;
1253 }
1254 }
1255{
1256 _arg1 = &temp;
1257 if (! wxColour_helper(_obj1, &_arg1))
1258 return NULL;
1259}
1260{
0e2ff151 1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1262 wxButton_SetForegroundColour(_arg0,*_arg1);
e6056257 1263
0e2ff151 1264 wxPyEndAllowThreads(__tstate);
e6056257
RD
1265 if (PyErr_Occurred()) return NULL;
1266} Py_INCREF(Py_None);
1267 _resultobj = Py_None;
1268 return _resultobj;
1269}
1270
1271static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject * _resultobj;
1273 wxSize * _result;
1274 char *_kwnames[] = { NULL };
1275 char _ptemp[128];
1276
1277 self = self;
1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames))
1279 return NULL;
1280{
0e2ff151 1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1282 _result = new wxSize (wxButton::GetDefaultSize());
e6056257 1283
0e2ff151 1284 wxPyEndAllowThreads(__tstate);
e6056257
RD
1285 if (PyErr_Occurred()) return NULL;
1286} SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1287 _resultobj = Py_BuildValue("s",_ptemp);
1288 return _resultobj;
1289}
1290
1291static void *SwigwxBitmapButtonTowxButton(void *ptr) {
1292 wxBitmapButton *src;
1293 wxButton *dest;
1294 src = (wxBitmapButton *) ptr;
1295 dest = (wxButton *) src;
1296 return (void *) dest;
1297}
1298
1299static void *SwigwxBitmapButtonTowxControl(void *ptr) {
1300 wxBitmapButton *src;
1301 wxControl *dest;
1302 src = (wxBitmapButton *) ptr;
1303 dest = (wxControl *) src;
1304 return (void *) dest;
1305}
1306
1307static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
1308 wxBitmapButton *src;
1309 wxWindow *dest;
1310 src = (wxBitmapButton *) ptr;
1311 dest = (wxWindow *) src;
1312 return (void *) dest;
1313}
1314
1315static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
1316 wxBitmapButton *src;
1317 wxEvtHandler *dest;
1318 src = (wxBitmapButton *) ptr;
1319 dest = (wxEvtHandler *) src;
1320 return (void *) dest;
1321}
1322
1323static void *SwigwxBitmapButtonTowxObject(void *ptr) {
1324 wxBitmapButton *src;
1325 wxObject *dest;
1326 src = (wxBitmapButton *) ptr;
1327 dest = (wxObject *) src;
1328 return (void *) dest;
1329}
1330
1331#define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1332static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject * _resultobj;
1334 wxBitmapButton * _result;
1335 wxWindow * _arg0;
1336 wxWindowID _arg1;
1337 wxBitmap * _arg2;
1338 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1339 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1340 long _arg5 = (long ) wxBU_AUTODRAW;
1341 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 1342 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
e6056257
RD
1343 PyObject * _argo0 = 0;
1344 PyObject * _argo2 = 0;
1345 wxPoint temp;
1346 PyObject * _obj3 = 0;
1347 wxSize temp0;
1348 PyObject * _obj4 = 0;
1349 PyObject * _argo6 = 0;
c3bfa1cb 1350 PyObject * _obj7 = 0;
e6056257
RD
1351 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
1352 char _ptemp[128];
1353
1354 self = self;
c3bfa1cb 1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
1356 return NULL;
1357 if (_argo0) {
1358 if (_argo0 == Py_None) { _arg0 = NULL; }
1359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1361 return NULL;
1362 }
1363 }
1364 if (_argo2) {
7108497a 1365 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
e6056257
RD
1366 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1367 return NULL;
1368 }
1369 }
1370 if (_obj3)
1371{
1372 _arg3 = &temp;
1373 if (! wxPoint_helper(_obj3, &_arg3))
1374 return NULL;
1375}
1376 if (_obj4)
1377{
1378 _arg4 = &temp0;
1379 if (! wxSize_helper(_obj4, &_arg4))
1380 return NULL;
1381}
1382 if (_argo6) {
7108497a 1383 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
1384 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1385 return NULL;
1386 }
1387 }
c3bfa1cb
RD
1388 if (_obj7)
1389{
1390 _arg7 = wxString_in_helper(_obj7);
1391 if (_arg7 == NULL)
1392 return NULL;
1393}
e6056257 1394{
0e2ff151 1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 1396 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 1397
0e2ff151 1398 wxPyEndAllowThreads(__tstate);
e6056257
RD
1399 if (PyErr_Occurred()) return NULL;
1400} if (_result) {
1401 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1402 _resultobj = Py_BuildValue("s",_ptemp);
1403 } else {
1404 Py_INCREF(Py_None);
1405 _resultobj = Py_None;
1406 }
c3bfa1cb
RD
1407{
1408 if (_obj7)
1409 delete _arg7;
1410}
e6056257
RD
1411 return _resultobj;
1412}
1413
1414#define new_wxPreBitmapButton() (new wxBitmapButton())
1415static PyObject *_wrap_new_wxPreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1416 PyObject * _resultobj;
1417 wxBitmapButton * _result;
1418 char *_kwnames[] = { NULL };
1419 char _ptemp[128];
1420
1421 self = self;
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreBitmapButton",_kwnames))
1423 return NULL;
1424{
0e2ff151 1425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1426 _result = (wxBitmapButton *)new_wxPreBitmapButton();
e6056257 1427
0e2ff151 1428 wxPyEndAllowThreads(__tstate);
e6056257
RD
1429 if (PyErr_Occurred()) return NULL;
1430} if (_result) {
1431 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1432 _resultobj = Py_BuildValue("s",_ptemp);
1433 } else {
1434 Py_INCREF(Py_None);
1435 _resultobj = Py_None;
1436 }
1437 return _resultobj;
1438}
1439
1440#define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1441static PyObject *_wrap_wxBitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1442 PyObject * _resultobj;
1443 bool _result;
1444 wxBitmapButton * _arg0;
1445 wxWindow * _arg1;
1446 wxWindowID _arg2;
1447 wxBitmap * _arg3;
1448 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1449 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1450 long _arg6 = (long ) wxBU_AUTODRAW;
1451 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 1452 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
e6056257
RD
1453 PyObject * _argo0 = 0;
1454 PyObject * _argo1 = 0;
1455 PyObject * _argo3 = 0;
1456 wxPoint temp;
1457 PyObject * _obj4 = 0;
1458 wxSize temp0;
1459 PyObject * _obj5 = 0;
1460 PyObject * _argo7 = 0;
c3bfa1cb 1461 PyObject * _obj8 = 0;
e6056257
RD
1462 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL };
1463
1464 self = self;
c3bfa1cb 1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
1466 return NULL;
1467 if (_argo0) {
1468 if (_argo0 == Py_None) { _arg0 = NULL; }
1469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1471 return NULL;
1472 }
1473 }
1474 if (_argo1) {
1475 if (_argo1 == Py_None) { _arg1 = NULL; }
1476 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1478 return NULL;
1479 }
1480 }
1481 if (_argo3) {
7108497a 1482 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
e6056257
RD
1483 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1484 return NULL;
1485 }
1486 }
1487 if (_obj4)
1488{
1489 _arg4 = &temp;
1490 if (! wxPoint_helper(_obj4, &_arg4))
1491 return NULL;
1492}
1493 if (_obj5)
1494{
1495 _arg5 = &temp0;
1496 if (! wxSize_helper(_obj5, &_arg5))
1497 return NULL;
1498}
1499 if (_argo7) {
7108497a 1500 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
1501 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1502 return NULL;
1503 }
1504 }
c3bfa1cb
RD
1505 if (_obj8)
1506{
1507 _arg8 = wxString_in_helper(_obj8);
1508 if (_arg8 == NULL)
1509 return NULL;
1510}
e6056257 1511{
0e2ff151 1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 1513 _result = (bool )wxBitmapButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 1514
0e2ff151 1515 wxPyEndAllowThreads(__tstate);
e6056257
RD
1516 if (PyErr_Occurred()) return NULL;
1517} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
1518{
1519 if (_obj8)
1520 delete _arg8;
1521}
e6056257
RD
1522 return _resultobj;
1523}
1524
1525#define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1526static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1527 PyObject * _resultobj;
1528 wxBitmap * _result;
1529 wxBitmapButton * _arg0;
1530 PyObject * _argo0 = 0;
1531 char *_kwnames[] = { "self", NULL };
1532 char _ptemp[128];
1533
1534 self = self;
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
1536 return NULL;
1537 if (_argo0) {
1538 if (_argo0 == Py_None) { _arg0 = NULL; }
1539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1541 return NULL;
1542 }
1543 }
1544{
0e2ff151 1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1546 _result = new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0));
e6056257 1547
0e2ff151 1548 wxPyEndAllowThreads(__tstate);
e6056257 1549 if (PyErr_Occurred()) return NULL;
00360d46
RD
1550} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1551 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
1552 return _resultobj;
1553}
1554
1555#define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1556static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject * _resultobj;
1558 wxBitmap * _result;
1559 wxBitmapButton * _arg0;
1560 PyObject * _argo0 = 0;
1561 char *_kwnames[] = { "self", NULL };
1562 char _ptemp[128];
1563
1564 self = self;
1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
1566 return NULL;
1567 if (_argo0) {
1568 if (_argo0 == Py_None) { _arg0 = NULL; }
1569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1571 return NULL;
1572 }
1573 }
1574{
0e2ff151 1575 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1576 _result = new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0));
e6056257 1577
0e2ff151 1578 wxPyEndAllowThreads(__tstate);
e6056257 1579 if (PyErr_Occurred()) return NULL;
00360d46
RD
1580} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1581 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
1582 return _resultobj;
1583}
1584
1585#define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1586static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject * _resultobj;
1588 wxBitmap * _result;
1589 wxBitmapButton * _arg0;
1590 PyObject * _argo0 = 0;
1591 char *_kwnames[] = { "self", NULL };
1592 char _ptemp[128];
1593
1594 self = self;
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0))
1596 return NULL;
1597 if (_argo0) {
1598 if (_argo0 == Py_None) { _arg0 = NULL; }
1599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1601 return NULL;
1602 }
1603 }
1604{
0e2ff151 1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1606 _result = new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0));
e6056257 1607
0e2ff151 1608 wxPyEndAllowThreads(__tstate);
e6056257 1609 if (PyErr_Occurred()) return NULL;
00360d46
RD
1610} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1611 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
1612 return _resultobj;
1613}
1614
1615#define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1616static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject * _resultobj;
1618 wxBitmap * _result;
1619 wxBitmapButton * _arg0;
1620 PyObject * _argo0 = 0;
1621 char *_kwnames[] = { "self", NULL };
1622 char _ptemp[128];
1623
1624 self = self;
1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
1626 return NULL;
1627 if (_argo0) {
1628 if (_argo0 == Py_None) { _arg0 = NULL; }
1629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1631 return NULL;
1632 }
1633 }
1634{
0e2ff151 1635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1636 _result = new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0));
e6056257 1637
0e2ff151 1638 wxPyEndAllowThreads(__tstate);
e6056257 1639 if (PyErr_Occurred()) return NULL;
00360d46
RD
1640} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1641 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
1642 return _resultobj;
1643}
1644
1645#define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1646static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1647 PyObject * _resultobj;
1648 wxBitmapButton * _arg0;
1649 wxBitmap * _arg1;
1650 PyObject * _argo0 = 0;
1651 PyObject * _argo1 = 0;
1652 char *_kwnames[] = { "self","bitmap", NULL };
1653
1654 self = self;
1655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
1656 return NULL;
1657 if (_argo0) {
1658 if (_argo0 == Py_None) { _arg0 = NULL; }
1659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1661 return NULL;
1662 }
1663 }
1664 if (_argo1) {
7108497a 1665 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e6056257
RD
1666 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1667 return NULL;
1668 }
1669 }
1670{
0e2ff151 1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1672 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
e6056257 1673
0e2ff151 1674 wxPyEndAllowThreads(__tstate);
e6056257
RD
1675 if (PyErr_Occurred()) return NULL;
1676} Py_INCREF(Py_None);
1677 _resultobj = Py_None;
1678 return _resultobj;
1679}
1680
1681#define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1682static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject * _resultobj;
1684 wxBitmapButton * _arg0;
1685 wxBitmap * _arg1;
1686 PyObject * _argo0 = 0;
1687 PyObject * _argo1 = 0;
1688 char *_kwnames[] = { "self","bitmap", NULL };
1689
1690 self = self;
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
1692 return NULL;
1693 if (_argo0) {
1694 if (_argo0 == Py_None) { _arg0 = NULL; }
1695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1697 return NULL;
1698 }
1699 }
1700 if (_argo1) {
7108497a 1701 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e6056257
RD
1702 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1703 return NULL;
1704 }
1705 }
1706{
0e2ff151 1707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1708 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
e6056257 1709
0e2ff151 1710 wxPyEndAllowThreads(__tstate);
e6056257
RD
1711 if (PyErr_Occurred()) return NULL;
1712} Py_INCREF(Py_None);
1713 _resultobj = Py_None;
1714 return _resultobj;
1715}
1716
1717#define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1718static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1719 PyObject * _resultobj;
1720 wxBitmapButton * _arg0;
1721 wxBitmap * _arg1;
1722 PyObject * _argo0 = 0;
1723 PyObject * _argo1 = 0;
1724 char *_kwnames[] = { "self","bitmap", NULL };
1725
1726 self = self;
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
1728 return NULL;
1729 if (_argo0) {
1730 if (_argo0 == Py_None) { _arg0 = NULL; }
1731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1733 return NULL;
1734 }
1735 }
1736 if (_argo1) {
7108497a 1737 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e6056257
RD
1738 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1739 return NULL;
1740 }
1741 }
1742{
0e2ff151 1743 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1744 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
e6056257 1745
0e2ff151 1746 wxPyEndAllowThreads(__tstate);
e6056257
RD
1747 if (PyErr_Occurred()) return NULL;
1748} Py_INCREF(Py_None);
1749 _resultobj = Py_None;
1750 return _resultobj;
1751}
1752
1753#define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1754static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject * _resultobj;
1756 wxBitmapButton * _arg0;
1757 wxBitmap * _arg1;
1758 PyObject * _argo0 = 0;
1759 PyObject * _argo1 = 0;
1760 char *_kwnames[] = { "self","bitmap", NULL };
1761
1762 self = self;
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
1764 return NULL;
1765 if (_argo0) {
1766 if (_argo0 == Py_None) { _arg0 = NULL; }
1767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1769 return NULL;
1770 }
1771 }
1772 if (_argo1) {
7108497a 1773 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e6056257
RD
1774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1775 return NULL;
1776 }
1777 }
1778{
0e2ff151 1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1780 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
e6056257 1781
0e2ff151 1782 wxPyEndAllowThreads(__tstate);
e6056257
RD
1783 if (PyErr_Occurred()) return NULL;
1784} Py_INCREF(Py_None);
1785 _resultobj = Py_None;
1786 return _resultobj;
1787}
1788
1789#define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1790static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1791 PyObject * _resultobj;
1792 wxBitmapButton * _arg0;
1793 int _arg1;
1794 int _arg2;
1795 PyObject * _argo0 = 0;
1796 char *_kwnames[] = { "self","x","y", NULL };
1797
1798 self = self;
1799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1800 return NULL;
1801 if (_argo0) {
1802 if (_argo0 == Py_None) { _arg0 = NULL; }
1803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1805 return NULL;
1806 }
1807 }
1808{
0e2ff151 1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1810 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
e6056257 1811
0e2ff151 1812 wxPyEndAllowThreads(__tstate);
e6056257
RD
1813 if (PyErr_Occurred()) return NULL;
1814} Py_INCREF(Py_None);
1815 _resultobj = Py_None;
1816 return _resultobj;
1817}
1818
1819#define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1820static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1821 PyObject * _resultobj;
1822 int _result;
1823 wxBitmapButton * _arg0;
1824 PyObject * _argo0 = 0;
1825 char *_kwnames[] = { "self", NULL };
1826
1827 self = self;
1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0))
1829 return NULL;
1830 if (_argo0) {
1831 if (_argo0 == Py_None) { _arg0 = NULL; }
1832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1834 return NULL;
1835 }
1836 }
1837{
0e2ff151 1838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1839 _result = (int )wxBitmapButton_GetMarginX(_arg0);
e6056257 1840
0e2ff151 1841 wxPyEndAllowThreads(__tstate);
e6056257
RD
1842 if (PyErr_Occurred()) return NULL;
1843} _resultobj = Py_BuildValue("i",_result);
1844 return _resultobj;
1845}
1846
1847#define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1848static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject * _resultobj;
1850 int _result;
1851 wxBitmapButton * _arg0;
1852 PyObject * _argo0 = 0;
1853 char *_kwnames[] = { "self", NULL };
1854
1855 self = self;
1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0))
1857 return NULL;
1858 if (_argo0) {
1859 if (_argo0 == Py_None) { _arg0 = NULL; }
1860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1862 return NULL;
1863 }
1864 }
1865{
0e2ff151 1866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 1867 _result = (int )wxBitmapButton_GetMarginY(_arg0);
e6056257 1868
0e2ff151 1869 wxPyEndAllowThreads(__tstate);
e6056257
RD
1870 if (PyErr_Occurred()) return NULL;
1871} _resultobj = Py_BuildValue("i",_result);
1872 return _resultobj;
1873}
1874
1875static void *SwigwxCheckBoxTowxControl(void *ptr) {
1876 wxCheckBox *src;
1877 wxControl *dest;
1878 src = (wxCheckBox *) ptr;
1879 dest = (wxControl *) src;
1880 return (void *) dest;
1881}
1882
1883static void *SwigwxCheckBoxTowxWindow(void *ptr) {
1884 wxCheckBox *src;
1885 wxWindow *dest;
1886 src = (wxCheckBox *) ptr;
1887 dest = (wxWindow *) src;
1888 return (void *) dest;
1889}
1890
1891static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
1892 wxCheckBox *src;
1893 wxEvtHandler *dest;
1894 src = (wxCheckBox *) ptr;
1895 dest = (wxEvtHandler *) src;
1896 return (void *) dest;
1897}
1898
1899static void *SwigwxCheckBoxTowxObject(void *ptr) {
1900 wxCheckBox *src;
1901 wxObject *dest;
1902 src = (wxCheckBox *) ptr;
1903 dest = (wxObject *) src;
1904 return (void *) dest;
1905}
1906
1907#define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1908static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject * _resultobj;
1910 wxCheckBox * _result;
1911 wxWindow * _arg0;
1912 wxWindowID _arg1;
1913 wxString * _arg2;
1914 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1915 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1916 long _arg5 = (long ) 0;
1917 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 1918 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
e6056257
RD
1919 PyObject * _argo0 = 0;
1920 PyObject * _obj2 = 0;
1921 wxPoint temp;
1922 PyObject * _obj3 = 0;
1923 wxSize temp0;
1924 PyObject * _obj4 = 0;
1925 PyObject * _argo6 = 0;
c3bfa1cb 1926 PyObject * _obj7 = 0;
d84a9306 1927 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
e6056257
RD
1928 char _ptemp[128];
1929
1930 self = self;
c3bfa1cb 1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
1932 return NULL;
1933 if (_argo0) {
1934 if (_argo0 == Py_None) { _arg0 = NULL; }
1935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1937 return NULL;
1938 }
1939 }
1940{
6824d4f9
RD
1941 _arg2 = wxString_in_helper(_obj2);
1942 if (_arg2 == NULL)
e6056257 1943 return NULL;
e6056257
RD
1944}
1945 if (_obj3)
1946{
1947 _arg3 = &temp;
1948 if (! wxPoint_helper(_obj3, &_arg3))
1949 return NULL;
1950}
1951 if (_obj4)
1952{
1953 _arg4 = &temp0;
1954 if (! wxSize_helper(_obj4, &_arg4))
1955 return NULL;
1956}
1957 if (_argo6) {
7108497a 1958 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1960 return NULL;
1961 }
1962 }
c3bfa1cb
RD
1963 if (_obj7)
1964{
1965 _arg7 = wxString_in_helper(_obj7);
1966 if (_arg7 == NULL)
1967 return NULL;
1968}
e6056257 1969{
0e2ff151 1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 1971 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 1972
0e2ff151 1973 wxPyEndAllowThreads(__tstate);
e6056257
RD
1974 if (PyErr_Occurred()) return NULL;
1975} if (_result) {
1976 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
1977 _resultobj = Py_BuildValue("s",_ptemp);
1978 } else {
1979 Py_INCREF(Py_None);
1980 _resultobj = Py_None;
1981 }
1982{
1983 if (_obj2)
1984 delete _arg2;
c3bfa1cb
RD
1985}
1986{
1987 if (_obj7)
1988 delete _arg7;
e6056257
RD
1989}
1990 return _resultobj;
1991}
1992
1993#define new_wxPreCheckBox() (new wxCheckBox())
1994static PyObject *_wrap_new_wxPreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1995 PyObject * _resultobj;
1996 wxCheckBox * _result;
1997 char *_kwnames[] = { NULL };
1998 char _ptemp[128];
1999
2000 self = self;
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckBox",_kwnames))
2002 return NULL;
2003{
0e2ff151 2004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2005 _result = (wxCheckBox *)new_wxPreCheckBox();
e6056257 2006
0e2ff151 2007 wxPyEndAllowThreads(__tstate);
e6056257
RD
2008 if (PyErr_Occurred()) return NULL;
2009} if (_result) {
2010 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2011 _resultobj = Py_BuildValue("s",_ptemp);
2012 } else {
2013 Py_INCREF(Py_None);
2014 _resultobj = Py_None;
2015 }
2016 return _resultobj;
2017}
2018
2019#define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2020static PyObject *_wrap_wxCheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2021 PyObject * _resultobj;
2022 bool _result;
2023 wxCheckBox * _arg0;
2024 wxWindow * _arg1;
2025 wxWindowID _arg2;
2026 wxString * _arg3;
2027 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2028 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2029 long _arg6 = (long ) 0;
2030 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 2031 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
e6056257
RD
2032 PyObject * _argo0 = 0;
2033 PyObject * _argo1 = 0;
2034 PyObject * _obj3 = 0;
2035 wxPoint temp;
2036 PyObject * _obj4 = 0;
2037 wxSize temp0;
2038 PyObject * _obj5 = 0;
2039 PyObject * _argo7 = 0;
c3bfa1cb 2040 PyObject * _obj8 = 0;
d84a9306 2041 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
e6056257
RD
2042
2043 self = self;
c3bfa1cb 2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxCheckBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
2045 return NULL;
2046 if (_argo0) {
2047 if (_argo0 == Py_None) { _arg0 = NULL; }
2048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2050 return NULL;
2051 }
2052 }
2053 if (_argo1) {
2054 if (_argo1 == Py_None) { _arg1 = NULL; }
2055 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2056 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2057 return NULL;
2058 }
2059 }
2060{
6824d4f9
RD
2061 _arg3 = wxString_in_helper(_obj3);
2062 if (_arg3 == NULL)
e6056257 2063 return NULL;
e6056257
RD
2064}
2065 if (_obj4)
2066{
2067 _arg4 = &temp;
2068 if (! wxPoint_helper(_obj4, &_arg4))
2069 return NULL;
2070}
2071 if (_obj5)
2072{
2073 _arg5 = &temp0;
2074 if (! wxSize_helper(_obj5, &_arg5))
2075 return NULL;
2076}
2077 if (_argo7) {
7108497a 2078 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
2079 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2080 return NULL;
2081 }
2082 }
c3bfa1cb
RD
2083 if (_obj8)
2084{
2085 _arg8 = wxString_in_helper(_obj8);
2086 if (_arg8 == NULL)
2087 return NULL;
2088}
e6056257 2089{
0e2ff151 2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 2091 _result = (bool )wxCheckBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 2092
0e2ff151 2093 wxPyEndAllowThreads(__tstate);
e6056257
RD
2094 if (PyErr_Occurred()) return NULL;
2095} _resultobj = Py_BuildValue("i",_result);
2096{
2097 if (_obj3)
2098 delete _arg3;
c3bfa1cb
RD
2099}
2100{
2101 if (_obj8)
2102 delete _arg8;
e6056257
RD
2103}
2104 return _resultobj;
2105}
2106
2107#define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2108static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2109 PyObject * _resultobj;
2110 bool _result;
2111 wxCheckBox * _arg0;
2112 PyObject * _argo0 = 0;
2113 char *_kwnames[] = { "self", NULL };
2114
2115 self = self;
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
2117 return NULL;
2118 if (_argo0) {
2119 if (_argo0 == Py_None) { _arg0 = NULL; }
2120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2122 return NULL;
2123 }
2124 }
2125{
0e2ff151 2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2127 _result = (bool )wxCheckBox_GetValue(_arg0);
e6056257 2128
0e2ff151 2129 wxPyEndAllowThreads(__tstate);
e6056257
RD
2130 if (PyErr_Occurred()) return NULL;
2131} _resultobj = Py_BuildValue("i",_result);
2132 return _resultobj;
2133}
2134
7108497a
RD
2135#define wxCheckBox_IsChecked(_swigobj) (_swigobj->IsChecked())
2136static PyObject *_wrap_wxCheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject * _resultobj;
2138 bool _result;
2139 wxCheckBox * _arg0;
2140 PyObject * _argo0 = 0;
2141 char *_kwnames[] = { "self", NULL };
2142
2143 self = self;
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_IsChecked",_kwnames,&_argo0))
2145 return NULL;
2146 if (_argo0) {
2147 if (_argo0 == Py_None) { _arg0 = NULL; }
2148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_IsChecked. Expected _wxCheckBox_p.");
2150 return NULL;
2151 }
2152 }
2153{
2154 PyThreadState* __tstate = wxPyBeginAllowThreads();
2155 _result = (bool )wxCheckBox_IsChecked(_arg0);
2156
2157 wxPyEndAllowThreads(__tstate);
2158 if (PyErr_Occurred()) return NULL;
2159} _resultobj = Py_BuildValue("i",_result);
2160 return _resultobj;
2161}
2162
e6056257
RD
2163#define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2164static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject * _resultobj;
2166 wxCheckBox * _arg0;
2167 bool _arg1;
2168 PyObject * _argo0 = 0;
2169 int tempbool1;
2170 char *_kwnames[] = { "self","state", NULL };
2171
2172 self = self;
2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
2174 return NULL;
2175 if (_argo0) {
2176 if (_argo0 == Py_None) { _arg0 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2179 return NULL;
2180 }
2181 }
2182 _arg1 = (bool ) tempbool1;
2183{
0e2ff151 2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2185 wxCheckBox_SetValue(_arg0,_arg1);
e6056257 2186
0e2ff151 2187 wxPyEndAllowThreads(__tstate);
e6056257
RD
2188 if (PyErr_Occurred()) return NULL;
2189} Py_INCREF(Py_None);
2190 _resultobj = Py_None;
2191 return _resultobj;
2192}
2193
2194static void *SwigwxChoiceTowxControlWithItems(void *ptr) {
2195 wxChoice *src;
2196 wxControlWithItems *dest;
2197 src = (wxChoice *) ptr;
2198 dest = (wxControlWithItems *) src;
2199 return (void *) dest;
2200}
2201
2202static void *SwigwxChoiceTowxControl(void *ptr) {
2203 wxChoice *src;
2204 wxControl *dest;
2205 src = (wxChoice *) ptr;
2206 dest = (wxControl *) src;
2207 return (void *) dest;
2208}
2209
2210static void *SwigwxChoiceTowxWindow(void *ptr) {
2211 wxChoice *src;
2212 wxWindow *dest;
2213 src = (wxChoice *) ptr;
2214 dest = (wxWindow *) src;
2215 return (void *) dest;
2216}
2217
2218static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
2219 wxChoice *src;
2220 wxEvtHandler *dest;
2221 src = (wxChoice *) ptr;
2222 dest = (wxEvtHandler *) src;
2223 return (void *) dest;
2224}
2225
2226static void *SwigwxChoiceTowxObject(void *ptr) {
2227 wxChoice *src;
2228 wxObject *dest;
2229 src = (wxChoice *) ptr;
2230 dest = (wxObject *) src;
2231 return (void *) dest;
2232}
2233
2234#define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2235static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2236 PyObject * _resultobj;
2237 wxChoice * _result;
2238 wxWindow * _arg0;
2239 wxWindowID _arg1;
2240 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2241 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2242 int _arg4 = (int ) 0;
2243 wxString * _arg5 = (wxString *) NULL;
2244 long _arg6 = (long ) 0;
2245 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 2246 wxString * _arg8 = (wxString *) &wxPyChoiceNameStr;
e6056257
RD
2247 PyObject * _argo0 = 0;
2248 wxPoint temp;
2249 PyObject * _obj2 = 0;
2250 wxSize temp0;
2251 PyObject * _obj3 = 0;
2252 PyObject * _obj5 = 0;
2253 PyObject * _argo7 = 0;
c3bfa1cb 2254 PyObject * _obj8 = 0;
e6056257
RD
2255 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
2256 char _ptemp[128];
2257
2258 self = self;
c3bfa1cb 2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
2260 return NULL;
2261 if (_argo0) {
2262 if (_argo0 == Py_None) { _arg0 = NULL; }
2263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2265 return NULL;
2266 }
2267 }
2268 if (_obj2)
2269{
2270 _arg2 = &temp;
2271 if (! wxPoint_helper(_obj2, &_arg2))
2272 return NULL;
2273}
2274 if (_obj3)
2275{
2276 _arg3 = &temp0;
2277 if (! wxSize_helper(_obj3, &_arg3))
2278 return NULL;
2279}
2280 if (_obj5)
2281{
2282 _arg5 = wxString_LIST_helper(_obj5);
2283 if (_arg5 == NULL) {
2284 return NULL;
2285 }
2286}
2287 if (_argo7) {
7108497a 2288 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
2289 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2290 return NULL;
2291 }
2292 }
c3bfa1cb
RD
2293 if (_obj8)
2294{
2295 _arg8 = wxString_in_helper(_obj8);
2296 if (_arg8 == NULL)
2297 return NULL;
2298}
e6056257
RD
2299{
2300 if (_obj5) {
2301 _arg4 = PyList_Size(_obj5);
2302 }
2303 else {
2304 _arg4 = 0;
2305 }
2306}
2307{
0e2ff151 2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 2309 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
e6056257 2310
0e2ff151 2311 wxPyEndAllowThreads(__tstate);
e6056257
RD
2312 if (PyErr_Occurred()) return NULL;
2313} if (_result) {
2314 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2315 _resultobj = Py_BuildValue("s",_ptemp);
2316 } else {
2317 Py_INCREF(Py_None);
2318 _resultobj = Py_None;
2319 }
2320{
2321 delete [] _arg5;
c3bfa1cb
RD
2322}
2323{
2324 if (_obj8)
2325 delete _arg8;
e6056257
RD
2326}
2327 return _resultobj;
2328}
2329
2330#define new_wxPreChoice() (new wxChoice())
2331static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject * _resultobj;
2333 wxChoice * _result;
2334 char *_kwnames[] = { NULL };
2335 char _ptemp[128];
2336
2337 self = self;
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
2339 return NULL;
2340{
0e2ff151 2341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2342 _result = (wxChoice *)new_wxPreChoice();
e6056257 2343
0e2ff151 2344 wxPyEndAllowThreads(__tstate);
e6056257
RD
2345 if (PyErr_Occurred()) return NULL;
2346} if (_result) {
2347 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2348 _resultobj = Py_BuildValue("s",_ptemp);
2349 } else {
2350 Py_INCREF(Py_None);
2351 _resultobj = Py_None;
2352 }
2353 return _resultobj;
2354}
2355
2356#define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2357static PyObject *_wrap_wxChoice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject * _resultobj;
2359 bool _result;
2360 wxChoice * _arg0;
2361 wxWindow * _arg1;
2362 wxWindowID _arg2;
2363 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2364 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2365 int _arg5 = (int ) 0;
2366 wxString * _arg6 = (wxString *) NULL;
2367 long _arg7 = (long ) 0;
2368 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 2369 wxString * _arg9 = (wxString *) &wxPyChoiceNameStr;
e6056257
RD
2370 PyObject * _argo0 = 0;
2371 PyObject * _argo1 = 0;
2372 wxPoint temp;
2373 PyObject * _obj3 = 0;
2374 wxSize temp0;
2375 PyObject * _obj4 = 0;
2376 PyObject * _obj6 = 0;
2377 PyObject * _argo8 = 0;
c3bfa1cb 2378 PyObject * _obj9 = 0;
e6056257
RD
2379 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
2380
2381 self = self;
c3bfa1cb 2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
e6056257
RD
2383 return NULL;
2384 if (_argo0) {
2385 if (_argo0 == Py_None) { _arg0 = NULL; }
2386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2388 return NULL;
2389 }
2390 }
2391 if (_argo1) {
2392 if (_argo1 == Py_None) { _arg1 = NULL; }
2393 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2395 return NULL;
2396 }
2397 }
2398 if (_obj3)
2399{
2400 _arg3 = &temp;
2401 if (! wxPoint_helper(_obj3, &_arg3))
2402 return NULL;
2403}
2404 if (_obj4)
2405{
2406 _arg4 = &temp0;
2407 if (! wxSize_helper(_obj4, &_arg4))
2408 return NULL;
2409}
2410 if (_obj6)
2411{
2412 _arg6 = wxString_LIST_helper(_obj6);
2413 if (_arg6 == NULL) {
2414 return NULL;
2415 }
2416}
2417 if (_argo8) {
7108497a 2418 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
e6056257
RD
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2420 return NULL;
2421 }
2422 }
c3bfa1cb
RD
2423 if (_obj9)
2424{
2425 _arg9 = wxString_in_helper(_obj9);
2426 if (_arg9 == NULL)
2427 return NULL;
2428}
e6056257
RD
2429{
2430 if (_obj6) {
2431 _arg5 = PyList_Size(_obj6);
2432 }
2433 else {
2434 _arg5 = 0;
2435 }
2436}
2437{
0e2ff151 2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 2439 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
e6056257 2440
0e2ff151 2441 wxPyEndAllowThreads(__tstate);
e6056257
RD
2442 if (PyErr_Occurred()) return NULL;
2443} _resultobj = Py_BuildValue("i",_result);
2444{
2445 delete [] _arg6;
c3bfa1cb
RD
2446}
2447{
2448 if (_obj9)
2449 delete _arg9;
e6056257
RD
2450}
2451 return _resultobj;
2452}
2453
2454#define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2455static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
2456 PyObject * _resultobj;
2457 wxChoice * _arg0;
2458 PyObject * _argo0 = 0;
2459 char *_kwnames[] = { "self", NULL };
2460
2461 self = self;
2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
2463 return NULL;
2464 if (_argo0) {
2465 if (_argo0 == Py_None) { _arg0 = NULL; }
2466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2468 return NULL;
2469 }
2470 }
2471{
0e2ff151 2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2473 wxChoice_Clear(_arg0);
e6056257 2474
0e2ff151 2475 wxPyEndAllowThreads(__tstate);
e6056257
RD
2476 if (PyErr_Occurred()) return NULL;
2477} Py_INCREF(Py_None);
2478 _resultobj = Py_None;
2479 return _resultobj;
2480}
2481
2482#define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2483static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2484 PyObject * _resultobj;
2485 int _result;
2486 wxChoice * _arg0;
2487 PyObject * _argo0 = 0;
2488 char *_kwnames[] = { "self", NULL };
2489
2490 self = self;
2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
2492 return NULL;
2493 if (_argo0) {
2494 if (_argo0 == Py_None) { _arg0 = NULL; }
2495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2497 return NULL;
2498 }
2499 }
2500{
0e2ff151 2501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2502 _result = (int )wxChoice_GetColumns(_arg0);
e6056257 2503
0e2ff151 2504 wxPyEndAllowThreads(__tstate);
e6056257
RD
2505 if (PyErr_Occurred()) return NULL;
2506} _resultobj = Py_BuildValue("i",_result);
2507 return _resultobj;
2508}
2509
2510#define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2511static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2512 PyObject * _resultobj;
2513 wxChoice * _arg0;
2514 int _arg1 = (int ) 1;
2515 PyObject * _argo0 = 0;
2516 char *_kwnames[] = { "self","n", NULL };
2517
2518 self = self;
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
2520 return NULL;
2521 if (_argo0) {
2522 if (_argo0 == Py_None) { _arg0 = NULL; }
2523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2525 return NULL;
2526 }
2527 }
2528{
0e2ff151 2529 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2530 wxChoice_SetColumns(_arg0,_arg1);
e6056257 2531
0e2ff151 2532 wxPyEndAllowThreads(__tstate);
e6056257
RD
2533 if (PyErr_Occurred()) return NULL;
2534} Py_INCREF(Py_None);
2535 _resultobj = Py_None;
2536 return _resultobj;
2537}
2538
2539#define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2540static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject * _resultobj;
2542 wxChoice * _arg0;
2543 int _arg1;
2544 PyObject * _argo0 = 0;
2545 char *_kwnames[] = { "self","n", NULL };
2546
2547 self = self;
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
2549 return NULL;
2550 if (_argo0) {
2551 if (_argo0 == Py_None) { _arg0 = NULL; }
2552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2554 return NULL;
2555 }
2556 }
2557{
0e2ff151 2558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2559 wxChoice_SetSelection(_arg0,_arg1);
e6056257 2560
0e2ff151 2561 wxPyEndAllowThreads(__tstate);
e6056257
RD
2562 if (PyErr_Occurred()) return NULL;
2563} Py_INCREF(Py_None);
2564 _resultobj = Py_None;
2565 return _resultobj;
2566}
2567
2568#define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2569static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2570 PyObject * _resultobj;
2571 wxChoice * _arg0;
2572 wxString * _arg1;
2573 PyObject * _argo0 = 0;
2574 PyObject * _obj1 = 0;
2575 char *_kwnames[] = { "self","string", NULL };
2576
2577 self = self;
2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
2579 return NULL;
2580 if (_argo0) {
2581 if (_argo0 == Py_None) { _arg0 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2584 return NULL;
2585 }
2586 }
2587{
6824d4f9
RD
2588 _arg1 = wxString_in_helper(_obj1);
2589 if (_arg1 == NULL)
e6056257 2590 return NULL;
e6056257
RD
2591}
2592{
0e2ff151 2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2594 wxChoice_SetStringSelection(_arg0,*_arg1);
e6056257 2595
0e2ff151 2596 wxPyEndAllowThreads(__tstate);
e6056257
RD
2597 if (PyErr_Occurred()) return NULL;
2598} Py_INCREF(Py_None);
2599 _resultobj = Py_None;
2600{
2601 if (_obj1)
2602 delete _arg1;
2603}
2604 return _resultobj;
2605}
2606
2607#define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2608static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2609 PyObject * _resultobj;
2610 wxChoice * _arg0;
2611 int _arg1;
2612 wxString * _arg2;
2613 PyObject * _argo0 = 0;
2614 PyObject * _obj2 = 0;
2615 char *_kwnames[] = { "self","n","s", NULL };
2616
2617 self = self;
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
2619 return NULL;
2620 if (_argo0) {
2621 if (_argo0 == Py_None) { _arg0 = NULL; }
2622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2624 return NULL;
2625 }
2626 }
2627{
6824d4f9
RD
2628 _arg2 = wxString_in_helper(_obj2);
2629 if (_arg2 == NULL)
e6056257 2630 return NULL;
e6056257
RD
2631}
2632{
0e2ff151 2633 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2634 wxChoice_SetString(_arg0,_arg1,*_arg2);
e6056257 2635
0e2ff151 2636 wxPyEndAllowThreads(__tstate);
e6056257
RD
2637 if (PyErr_Occurred()) return NULL;
2638} Py_INCREF(Py_None);
2639 _resultobj = Py_None;
2640{
2641 if (_obj2)
2642 delete _arg2;
2643}
2644 return _resultobj;
2645}
2646
e6056257
RD
2647static void *SwigwxComboBoxTowxControl(void *ptr) {
2648 wxComboBox *src;
2649 wxControl *dest;
2650 src = (wxComboBox *) ptr;
2651 dest = (wxControl *) src;
2652 return (void *) dest;
2653}
2654
2655static void *SwigwxComboBoxTowxWindow(void *ptr) {
2656 wxComboBox *src;
2657 wxWindow *dest;
2658 src = (wxComboBox *) ptr;
2659 dest = (wxWindow *) src;
2660 return (void *) dest;
2661}
2662
2663static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2664 wxComboBox *src;
2665 wxEvtHandler *dest;
2666 src = (wxComboBox *) ptr;
2667 dest = (wxEvtHandler *) src;
2668 return (void *) dest;
2669}
2670
2671static void *SwigwxComboBoxTowxObject(void *ptr) {
2672 wxComboBox *src;
2673 wxObject *dest;
2674 src = (wxComboBox *) ptr;
2675 dest = (wxObject *) src;
2676 return (void *) dest;
2677}
2678
2679#define new_wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (new wxComboBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
2680static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2681 PyObject * _resultobj;
2682 wxComboBox * _result;
2683 wxWindow * _arg0;
2684 wxWindowID _arg1;
c3bfa1cb 2685 wxString * _arg2 = (wxString *) &wxPyEmptyString;
e6056257
RD
2686 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2687 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2688 int _arg5 = (int ) 0;
2689 wxString * _arg6 = (wxString *) NULL;
2690 long _arg7 = (long ) 0;
2691 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 2692 wxString * _arg9 = (wxString *) &wxPyComboBoxNameStr;
e6056257 2693 PyObject * _argo0 = 0;
c3bfa1cb 2694 PyObject * _obj2 = 0;
e6056257
RD
2695 wxPoint temp;
2696 PyObject * _obj3 = 0;
2697 wxSize temp0;
2698 PyObject * _obj4 = 0;
2699 PyObject * _obj6 = 0;
2700 PyObject * _argo8 = 0;
c3bfa1cb 2701 PyObject * _obj9 = 0;
e6056257
RD
2702 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
2703 char _ptemp[128];
2704
2705 self = self;
c3bfa1cb 2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOOlOO:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
e6056257
RD
2707 return NULL;
2708 if (_argo0) {
2709 if (_argo0 == Py_None) { _arg0 = NULL; }
2710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2712 return NULL;
2713 }
2714 }
c3bfa1cb
RD
2715 if (_obj2)
2716{
2717 _arg2 = wxString_in_helper(_obj2);
2718 if (_arg2 == NULL)
2719 return NULL;
2720}
e6056257
RD
2721 if (_obj3)
2722{
2723 _arg3 = &temp;
2724 if (! wxPoint_helper(_obj3, &_arg3))
2725 return NULL;
2726}
2727 if (_obj4)
2728{
2729 _arg4 = &temp0;
2730 if (! wxSize_helper(_obj4, &_arg4))
2731 return NULL;
2732}
2733 if (_obj6)
2734{
2735 _arg6 = wxString_LIST_helper(_obj6);
2736 if (_arg6 == NULL) {
2737 return NULL;
2738 }
2739}
2740 if (_argo8) {
7108497a 2741 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
e6056257
RD
2742 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2743 return NULL;
2744 }
2745 }
c3bfa1cb
RD
2746 if (_obj9)
2747{
2748 _arg9 = wxString_in_helper(_obj9);
2749 if (_arg9 == NULL)
2750 return NULL;
2751}
e6056257
RD
2752{
2753 if (_obj6) {
2754 _arg5 = PyList_Size(_obj6);
2755 }
2756 else {
2757 _arg5 = 0;
2758 }
2759}
2760{
0e2ff151 2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 2762 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
e6056257 2763
0e2ff151 2764 wxPyEndAllowThreads(__tstate);
e6056257
RD
2765 if (PyErr_Occurred()) return NULL;
2766} if (_result) {
2767 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2768 _resultobj = Py_BuildValue("s",_ptemp);
2769 } else {
2770 Py_INCREF(Py_None);
2771 _resultobj = Py_None;
2772 }
c3bfa1cb
RD
2773{
2774 if (_obj2)
2775 delete _arg2;
2776}
e6056257
RD
2777{
2778 delete [] _arg6;
c3bfa1cb
RD
2779}
2780{
2781 if (_obj9)
2782 delete _arg9;
e6056257
RD
2783}
2784 return _resultobj;
2785}
2786
2787#define new_wxPreComboBox() (new wxComboBox())
2788static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject * _resultobj;
2790 wxComboBox * _result;
2791 char *_kwnames[] = { NULL };
2792 char _ptemp[128];
2793
2794 self = self;
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2796 return NULL;
2797{
0e2ff151 2798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2799 _result = (wxComboBox *)new_wxPreComboBox();
e6056257 2800
0e2ff151 2801 wxPyEndAllowThreads(__tstate);
e6056257
RD
2802 if (PyErr_Occurred()) return NULL;
2803} if (_result) {
2804 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2805 _resultobj = Py_BuildValue("s",_ptemp);
2806 } else {
2807 Py_INCREF(Py_None);
2808 _resultobj = Py_None;
2809 }
2810 return _resultobj;
2811}
2812
2813#define wxComboBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
2814static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2815 PyObject * _resultobj;
2816 bool _result;
2817 wxComboBox * _arg0;
2818 wxWindow * _arg1;
2819 wxWindowID _arg2;
c3bfa1cb 2820 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e6056257
RD
2821 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2822 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2823 int _arg6 = (int ) 0;
2824 wxString * _arg7 = (wxString *) NULL;
2825 long _arg8 = (long ) 0;
2826 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 2827 wxString * _arg10 = (wxString *) &wxPyComboBoxNameStr;
e6056257
RD
2828 PyObject * _argo0 = 0;
2829 PyObject * _argo1 = 0;
c3bfa1cb 2830 PyObject * _obj3 = 0;
e6056257
RD
2831 wxPoint temp;
2832 PyObject * _obj4 = 0;
2833 wxSize temp0;
2834 PyObject * _obj5 = 0;
2835 PyObject * _obj7 = 0;
2836 PyObject * _argo9 = 0;
c3bfa1cb 2837 PyObject * _obj10 = 0;
e6056257
RD
2838 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2839
2840 self = self;
c3bfa1cb 2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOOlOO:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_obj10))
e6056257
RD
2842 return NULL;
2843 if (_argo0) {
2844 if (_argo0 == Py_None) { _arg0 = NULL; }
2845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2847 return NULL;
2848 }
2849 }
2850 if (_argo1) {
2851 if (_argo1 == Py_None) { _arg1 = NULL; }
2852 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2853 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2854 return NULL;
2855 }
2856 }
c3bfa1cb
RD
2857 if (_obj3)
2858{
2859 _arg3 = wxString_in_helper(_obj3);
2860 if (_arg3 == NULL)
2861 return NULL;
2862}
e6056257
RD
2863 if (_obj4)
2864{
2865 _arg4 = &temp;
2866 if (! wxPoint_helper(_obj4, &_arg4))
2867 return NULL;
2868}
2869 if (_obj5)
2870{
2871 _arg5 = &temp0;
2872 if (! wxSize_helper(_obj5, &_arg5))
2873 return NULL;
2874}
2875 if (_obj7)
2876{
2877 _arg7 = wxString_LIST_helper(_obj7);
2878 if (_arg7 == NULL) {
2879 return NULL;
2880 }
2881}
2882 if (_argo9) {
7108497a 2883 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
e6056257
RD
2884 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2885 return NULL;
2886 }
2887 }
c3bfa1cb
RD
2888 if (_obj10)
2889{
2890 _arg10 = wxString_in_helper(_obj10);
2891 if (_arg10 == NULL)
2892 return NULL;
2893}
e6056257
RD
2894{
2895 if (_obj7) {
2896 _arg6 = PyList_Size(_obj7);
2897 }
2898 else {
2899 _arg6 = 0;
2900 }
2901}
2902{
0e2ff151 2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 2904 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
e6056257 2905
0e2ff151 2906 wxPyEndAllowThreads(__tstate);
e6056257
RD
2907 if (PyErr_Occurred()) return NULL;
2908} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
2909{
2910 if (_obj3)
2911 delete _arg3;
2912}
e6056257
RD
2913{
2914 delete [] _arg7;
c3bfa1cb
RD
2915}
2916{
2917 if (_obj10)
2918 delete _arg10;
e6056257
RD
2919}
2920 return _resultobj;
2921}
2922
2923#define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2924static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2925 PyObject * _resultobj;
2926 wxComboBox * _arg0;
2927 PyObject * _argo0 = 0;
2928 char *_kwnames[] = { "self", NULL };
2929
2930 self = self;
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
2932 return NULL;
2933 if (_argo0) {
2934 if (_argo0 == Py_None) { _arg0 = NULL; }
2935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2937 return NULL;
2938 }
2939 }
2940{
0e2ff151 2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2942 wxComboBox_Copy(_arg0);
e6056257 2943
0e2ff151 2944 wxPyEndAllowThreads(__tstate);
e6056257
RD
2945 if (PyErr_Occurred()) return NULL;
2946} Py_INCREF(Py_None);
2947 _resultobj = Py_None;
2948 return _resultobj;
2949}
2950
2951#define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2952static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2953 PyObject * _resultobj;
2954 wxComboBox * _arg0;
2955 PyObject * _argo0 = 0;
2956 char *_kwnames[] = { "self", NULL };
2957
2958 self = self;
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
2960 return NULL;
2961 if (_argo0) {
2962 if (_argo0 == Py_None) { _arg0 = NULL; }
2963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2965 return NULL;
2966 }
2967 }
2968{
0e2ff151 2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2970 wxComboBox_Cut(_arg0);
e6056257 2971
0e2ff151 2972 wxPyEndAllowThreads(__tstate);
e6056257
RD
2973 if (PyErr_Occurred()) return NULL;
2974} Py_INCREF(Py_None);
2975 _resultobj = Py_None;
2976 return _resultobj;
2977}
2978
2979#define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2980static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject * _resultobj;
2982 long _result;
2983 wxComboBox * _arg0;
2984 PyObject * _argo0 = 0;
2985 char *_kwnames[] = { "self", NULL };
2986
2987 self = self;
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
2989 return NULL;
2990 if (_argo0) {
2991 if (_argo0 == Py_None) { _arg0 = NULL; }
2992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2994 return NULL;
2995 }
2996 }
2997{
0e2ff151 2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 2999 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
e6056257 3000
0e2ff151 3001 wxPyEndAllowThreads(__tstate);
e6056257
RD
3002 if (PyErr_Occurred()) return NULL;
3003} _resultobj = Py_BuildValue("l",_result);
3004 return _resultobj;
3005}
3006
3007#define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3008static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3009 PyObject * _resultobj;
3010 long _result;
3011 wxComboBox * _arg0;
3012 PyObject * _argo0 = 0;
3013 char *_kwnames[] = { "self", NULL };
3014
3015 self = self;
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
3017 return NULL;
3018 if (_argo0) {
3019 if (_argo0 == Py_None) { _arg0 = NULL; }
3020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3022 return NULL;
3023 }
3024 }
3025{
0e2ff151 3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3027 _result = (long )wxComboBox_GetLastPosition(_arg0);
e6056257 3028
0e2ff151 3029 wxPyEndAllowThreads(__tstate);
e6056257
RD
3030 if (PyErr_Occurred()) return NULL;
3031} _resultobj = Py_BuildValue("l",_result);
3032 return _resultobj;
3033}
3034
3035#define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3036static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3037 PyObject * _resultobj;
3038 wxString * _result;
3039 wxComboBox * _arg0;
3040 PyObject * _argo0 = 0;
3041 char *_kwnames[] = { "self", NULL };
3042
3043 self = self;
3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
3045 return NULL;
3046 if (_argo0) {
3047 if (_argo0 == Py_None) { _arg0 = NULL; }
3048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3050 return NULL;
3051 }
3052 }
3053{
0e2ff151 3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3055 _result = new wxString (wxComboBox_GetValue(_arg0));
e6056257 3056
0e2ff151 3057 wxPyEndAllowThreads(__tstate);
e6056257
RD
3058 if (PyErr_Occurred()) return NULL;
3059}{
6824d4f9 3060#if wxUSE_UNICODE
7108497a 3061 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 3062#else
e6056257 3063 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 3064#endif
e6056257
RD
3065}
3066{
3067 delete _result;
3068}
3069 return _resultobj;
3070}
3071
3072#define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3073static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject * _resultobj;
3075 wxComboBox * _arg0;
3076 PyObject * _argo0 = 0;
3077 char *_kwnames[] = { "self", NULL };
3078
3079 self = self;
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
3081 return NULL;
3082 if (_argo0) {
3083 if (_argo0 == Py_None) { _arg0 = NULL; }
3084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3086 return NULL;
3087 }
3088 }
3089{
0e2ff151 3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3091 wxComboBox_Paste(_arg0);
e6056257 3092
0e2ff151 3093 wxPyEndAllowThreads(__tstate);
e6056257
RD
3094 if (PyErr_Occurred()) return NULL;
3095} Py_INCREF(Py_None);
3096 _resultobj = Py_None;
3097 return _resultobj;
3098}
3099
3100#define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3101static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3102 PyObject * _resultobj;
3103 wxComboBox * _arg0;
3104 long _arg1;
3105 long _arg2;
3106 wxString * _arg3;
3107 PyObject * _argo0 = 0;
3108 PyObject * _obj3 = 0;
3109 char *_kwnames[] = { "self","from","to","text", NULL };
3110
3111 self = self;
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
3113 return NULL;
3114 if (_argo0) {
3115 if (_argo0 == Py_None) { _arg0 = NULL; }
3116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3118 return NULL;
3119 }
3120 }
3121{
6824d4f9
RD
3122 _arg3 = wxString_in_helper(_obj3);
3123 if (_arg3 == NULL)
e6056257 3124 return NULL;
e6056257
RD
3125}
3126{
0e2ff151 3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3128 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
e6056257 3129
0e2ff151 3130 wxPyEndAllowThreads(__tstate);
e6056257
RD
3131 if (PyErr_Occurred()) return NULL;
3132} Py_INCREF(Py_None);
3133 _resultobj = Py_None;
3134{
3135 if (_obj3)
3136 delete _arg3;
3137}
3138 return _resultobj;
3139}
3140
3141#define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3142static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject * _resultobj;
3144 wxComboBox * _arg0;
3145 long _arg1;
3146 long _arg2;
3147 PyObject * _argo0 = 0;
3148 char *_kwnames[] = { "self","from","to", NULL };
3149
3150 self = self;
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
3152 return NULL;
3153 if (_argo0) {
3154 if (_argo0 == Py_None) { _arg0 = NULL; }
3155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3157 return NULL;
3158 }
3159 }
3160{
0e2ff151 3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3162 wxComboBox_Remove(_arg0,_arg1,_arg2);
e6056257 3163
0e2ff151 3164 wxPyEndAllowThreads(__tstate);
e6056257
RD
3165 if (PyErr_Occurred()) return NULL;
3166} Py_INCREF(Py_None);
3167 _resultobj = Py_None;
3168 return _resultobj;
3169}
3170
3171#define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3172static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3173 PyObject * _resultobj;
3174 wxComboBox * _arg0;
3175 long _arg1;
3176 PyObject * _argo0 = 0;
3177 char *_kwnames[] = { "self","pos", NULL };
3178
3179 self = self;
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
3181 return NULL;
3182 if (_argo0) {
3183 if (_argo0 == Py_None) { _arg0 = NULL; }
3184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3186 return NULL;
3187 }
3188 }
3189{
0e2ff151 3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3191 wxComboBox_SetInsertionPoint(_arg0,_arg1);
e6056257 3192
0e2ff151 3193 wxPyEndAllowThreads(__tstate);
e6056257
RD
3194 if (PyErr_Occurred()) return NULL;
3195} Py_INCREF(Py_None);
3196 _resultobj = Py_None;
3197 return _resultobj;
3198}
3199
3200#define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3201static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3202 PyObject * _resultobj;
3203 wxComboBox * _arg0;
3204 PyObject * _argo0 = 0;
3205 char *_kwnames[] = { "self", NULL };
3206
3207 self = self;
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
3209 return NULL;
3210 if (_argo0) {
3211 if (_argo0 == Py_None) { _arg0 = NULL; }
3212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3214 return NULL;
3215 }
3216 }
3217{
0e2ff151 3218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3219 wxComboBox_SetInsertionPointEnd(_arg0);
e6056257 3220
0e2ff151 3221 wxPyEndAllowThreads(__tstate);
e6056257
RD
3222 if (PyErr_Occurred()) return NULL;
3223} Py_INCREF(Py_None);
3224 _resultobj = Py_None;
3225 return _resultobj;
3226}
3227
3228#define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3229static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject * _resultobj;
3231 wxComboBox * _arg0;
3232 int _arg1;
3233 PyObject * _argo0 = 0;
3234 char *_kwnames[] = { "self","n", NULL };
3235
3236 self = self;
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
3238 return NULL;
3239 if (_argo0) {
3240 if (_argo0 == Py_None) { _arg0 = NULL; }
3241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3243 return NULL;
3244 }
3245 }
3246{
0e2ff151 3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3248 wxComboBox_SetSelection(_arg0,_arg1);
e6056257 3249
0e2ff151 3250 wxPyEndAllowThreads(__tstate);
e6056257
RD
3251 if (PyErr_Occurred()) return NULL;
3252} Py_INCREF(Py_None);
3253 _resultobj = Py_None;
3254 return _resultobj;
3255}
3256
3257#define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3258static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject * _resultobj;
3260 wxComboBox * _arg0;
3261 long _arg1;
3262 long _arg2;
3263 PyObject * _argo0 = 0;
3264 char *_kwnames[] = { "self","from","to", NULL };
3265
3266 self = self;
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
3268 return NULL;
3269 if (_argo0) {
3270 if (_argo0 == Py_None) { _arg0 = NULL; }
3271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3273 return NULL;
3274 }
3275 }
3276{
0e2ff151 3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3278 wxComboBox_SetMark(_arg0,_arg1,_arg2);
e6056257 3279
0e2ff151 3280 wxPyEndAllowThreads(__tstate);
e6056257
RD
3281 if (PyErr_Occurred()) return NULL;
3282} Py_INCREF(Py_None);
3283 _resultobj = Py_None;
3284 return _resultobj;
3285}
3286
3287#define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3288static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3289 PyObject * _resultobj;
3290 wxComboBox * _arg0;
3291 wxString * _arg1;
3292 PyObject * _argo0 = 0;
3293 PyObject * _obj1 = 0;
3294 char *_kwnames[] = { "self","text", NULL };
3295
3296 self = self;
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
3298 return NULL;
3299 if (_argo0) {
3300 if (_argo0 == Py_None) { _arg0 = NULL; }
3301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3303 return NULL;
3304 }
3305 }
3306{
6824d4f9
RD
3307 _arg1 = wxString_in_helper(_obj1);
3308 if (_arg1 == NULL)
e6056257 3309 return NULL;
e6056257
RD
3310}
3311{
0e2ff151 3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3313 wxComboBox_SetValue(_arg0,*_arg1);
e6056257 3314
0e2ff151 3315 wxPyEndAllowThreads(__tstate);
e6056257
RD
3316 if (PyErr_Occurred()) return NULL;
3317} Py_INCREF(Py_None);
3318 _resultobj = Py_None;
3319{
3320 if (_obj1)
3321 delete _arg1;
3322}
3323 return _resultobj;
3324}
3325
3326#define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3327static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject * _resultobj;
3329 wxComboBox * _arg0;
3330 bool _arg1;
3331 PyObject * _argo0 = 0;
3332 int tempbool1;
3333 char *_kwnames[] = { "self","editable", NULL };
3334
3335 self = self;
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3337 return NULL;
3338 if (_argo0) {
3339 if (_argo0 == Py_None) { _arg0 = NULL; }
3340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3342 return NULL;
3343 }
3344 }
3345 _arg1 = (bool ) tempbool1;
3346{
0e2ff151 3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 3348 wxComboBox_SetEditable(_arg0,_arg1);
e6056257 3349
0e2ff151 3350 wxPyEndAllowThreads(__tstate);
e6056257
RD
3351 if (PyErr_Occurred()) return NULL;
3352} Py_INCREF(Py_None);
3353 _resultobj = Py_None;
3354 return _resultobj;
3355}
3356
d84a9306
RD
3357#define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3358static PyObject *_wrap_wxComboBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3359 PyObject * _resultobj;
d84a9306 3360 wxComboBox * _arg0;
e6056257 3361 PyObject * _argo0 = 0;
d84a9306 3362 char *_kwnames[] = { "self", NULL };
e6056257
RD
3363
3364 self = self;
d84a9306 3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Clear",_kwnames,&_argo0))
e6056257
RD
3366 return NULL;
3367 if (_argo0) {
3368 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
e6056257
RD
3371 return NULL;
3372 }
3373 }
3374{
0e2ff151 3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3376 wxComboBox_Clear(_arg0);
e6056257 3377
0e2ff151 3378 wxPyEndAllowThreads(__tstate);
e6056257 3379 if (PyErr_Occurred()) return NULL;
d84a9306
RD
3380} Py_INCREF(Py_None);
3381 _resultobj = Py_None;
e6056257
RD
3382 return _resultobj;
3383}
3384
d84a9306
RD
3385#define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3386static PyObject *_wrap_wxComboBox_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3387 PyObject * _resultobj;
d84a9306
RD
3388 wxComboBox * _arg0;
3389 int _arg1;
3390 PyObject * _argo0 = 0;
3391 char *_kwnames[] = { "self","n", NULL };
e6056257
RD
3392
3393 self = self;
d84a9306
RD
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_Delete",_kwnames,&_argo0,&_arg1))
3395 return NULL;
3396 if (_argo0) {
3397 if (_argo0 == Py_None) { _arg0 = NULL; }
3398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
e6056257 3400 return NULL;
d84a9306
RD
3401 }
3402 }
e6056257 3403{
0e2ff151 3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3405 wxComboBox_Delete(_arg0,_arg1);
e6056257 3406
0e2ff151 3407 wxPyEndAllowThreads(__tstate);
e6056257 3408 if (PyErr_Occurred()) return NULL;
d84a9306
RD
3409} Py_INCREF(Py_None);
3410 _resultobj = Py_None;
e6056257
RD
3411 return _resultobj;
3412}
3413
d84a9306
RD
3414#define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3415static PyObject *_wrap_wxComboBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3416 PyObject * _resultobj;
d84a9306
RD
3417 int _result;
3418 wxComboBox * _arg0;
e6056257 3419 PyObject * _argo0 = 0;
d84a9306 3420 char *_kwnames[] = { "self", NULL };
e6056257
RD
3421
3422 self = self;
d84a9306 3423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetCount",_kwnames,&_argo0))
e6056257
RD
3424 return NULL;
3425 if (_argo0) {
3426 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
e6056257
RD
3429 return NULL;
3430 }
3431 }
3432{
0e2ff151 3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3434 _result = (int )wxComboBox_GetCount(_arg0);
e6056257 3435
0e2ff151 3436 wxPyEndAllowThreads(__tstate);
e6056257
RD
3437 if (PyErr_Occurred()) return NULL;
3438} _resultobj = Py_BuildValue("i",_result);
3439 return _resultobj;
3440}
3441
d84a9306
RD
3442#define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3443static PyObject *_wrap_wxComboBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3444 PyObject * _resultobj;
d84a9306
RD
3445 wxString * _result;
3446 wxComboBox * _arg0;
3447 int _arg1;
e6056257 3448 PyObject * _argo0 = 0;
d84a9306 3449 char *_kwnames[] = { "self","n", NULL };
e6056257
RD
3450
3451 self = self;
d84a9306 3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetString",_kwnames,&_argo0,&_arg1))
e6056257
RD
3453 return NULL;
3454 if (_argo0) {
3455 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
e6056257
RD
3458 return NULL;
3459 }
3460 }
3461{
0e2ff151 3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3463 _result = new wxString (wxComboBox_GetString(_arg0,_arg1));
e6056257 3464
0e2ff151 3465 wxPyEndAllowThreads(__tstate);
e6056257 3466 if (PyErr_Occurred()) return NULL;
d84a9306
RD
3467}{
3468#if wxUSE_UNICODE
3469 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3470#else
3471 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3472#endif
3473}
3474{
3475 delete _result;
3476}
e6056257
RD
3477 return _resultobj;
3478}
3479
d84a9306
RD
3480#define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3481static PyObject *_wrap_wxComboBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
3482 PyObject * _resultobj;
3483 int _result;
d84a9306
RD
3484 wxComboBox * _arg0;
3485 wxString * _arg1;
e6056257 3486 PyObject * _argo0 = 0;
d84a9306
RD
3487 PyObject * _obj1 = 0;
3488 char *_kwnames[] = { "self","s", NULL };
e6056257
RD
3489
3490 self = self;
d84a9306 3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_FindString",_kwnames,&_argo0,&_obj1))
e6056257
RD
3492 return NULL;
3493 if (_argo0) {
3494 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
e6056257
RD
3497 return NULL;
3498 }
3499 }
d84a9306
RD
3500{
3501 _arg1 = wxString_in_helper(_obj1);
3502 if (_arg1 == NULL)
3503 return NULL;
3504}
e6056257 3505{
0e2ff151 3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3507 _result = (int )wxComboBox_FindString(_arg0,*_arg1);
e6056257 3508
0e2ff151 3509 wxPyEndAllowThreads(__tstate);
e6056257
RD
3510 if (PyErr_Occurred()) return NULL;
3511} _resultobj = Py_BuildValue("i",_result);
d84a9306
RD
3512{
3513 if (_obj1)
3514 delete _arg1;
3515}
e6056257
RD
3516 return _resultobj;
3517}
3518
d84a9306
RD
3519#define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3520static PyObject *_wrap_wxComboBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
3521 PyObject * _resultobj;
3522 int _result;
d84a9306 3523 wxComboBox * _arg0;
e6056257
RD
3524 PyObject * _argo0 = 0;
3525 char *_kwnames[] = { "self", NULL };
3526
3527 self = self;
d84a9306 3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetSelection",_kwnames,&_argo0))
e6056257
RD
3529 return NULL;
3530 if (_argo0) {
3531 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
e6056257
RD
3534 return NULL;
3535 }
3536 }
3537{
0e2ff151 3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3539 _result = (int )wxComboBox_GetSelection(_arg0);
e6056257 3540
0e2ff151 3541 wxPyEndAllowThreads(__tstate);
e6056257
RD
3542 if (PyErr_Occurred()) return NULL;
3543} _resultobj = Py_BuildValue("i",_result);
3544 return _resultobj;
3545}
3546
d84a9306
RD
3547#define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3548static PyObject *_wrap_wxComboBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3549 PyObject * _resultobj;
d84a9306
RD
3550 wxString * _result;
3551 wxComboBox * _arg0;
e6056257
RD
3552 PyObject * _argo0 = 0;
3553 char *_kwnames[] = { "self", NULL };
3554
3555 self = self;
d84a9306 3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetStringSelection",_kwnames,&_argo0))
e6056257
RD
3557 return NULL;
3558 if (_argo0) {
3559 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
e6056257
RD
3562 return NULL;
3563 }
3564 }
3565{
0e2ff151 3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3567 _result = new wxString (wxComboBox_GetStringSelection(_arg0));
e6056257 3568
0e2ff151 3569 wxPyEndAllowThreads(__tstate);
e6056257 3570 if (PyErr_Occurred()) return NULL;
d84a9306
RD
3571}{
3572#if wxUSE_UNICODE
3573 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3574#else
3575 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3576#endif
e6056257 3577}
e6056257 3578{
d84a9306
RD
3579 delete _result;
3580}
e6056257
RD
3581 return _resultobj;
3582}
3583
d84a9306
RD
3584static void wxComboBox_Append(wxComboBox *self,const wxString & item,PyObject * clientData) {
3585 if (clientData) {
3586 wxPyClientData* data = new wxPyClientData(clientData);
3587 self->Append(item, data);
3588 } else
3589 self->Append(item);
3590 }
3591static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3592 PyObject * _resultobj;
d84a9306
RD
3593 wxComboBox * _arg0;
3594 wxString * _arg1;
3595 PyObject * _arg2 = (PyObject *) NULL;
e6056257 3596 PyObject * _argo0 = 0;
d84a9306
RD
3597 PyObject * _obj1 = 0;
3598 PyObject * _obj2 = 0;
3599 char *_kwnames[] = { "self","item","clientData", NULL };
e6056257
RD
3600
3601 self = self;
d84a9306 3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxComboBox_Append",_kwnames,&_argo0,&_obj1,&_obj2))
e6056257
RD
3603 return NULL;
3604 if (_argo0) {
3605 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
e6056257
RD
3608 return NULL;
3609 }
3610 }
d84a9306
RD
3611{
3612 _arg1 = wxString_in_helper(_obj1);
3613 if (_arg1 == NULL)
3614 return NULL;
3615}
3616 if (_obj2)
3617{
3618 _arg2 = _obj2;
3619}
e6056257 3620{
0e2ff151 3621 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3622 wxComboBox_Append(_arg0,*_arg1,_arg2);
e6056257 3623
0e2ff151 3624 wxPyEndAllowThreads(__tstate);
e6056257
RD
3625 if (PyErr_Occurred()) return NULL;
3626} Py_INCREF(Py_None);
3627 _resultobj = Py_None;
d84a9306
RD
3628{
3629 if (_obj1)
3630 delete _arg1;
3631}
e6056257
RD
3632 return _resultobj;
3633}
3634
d84a9306
RD
3635static PyObject * wxComboBox_GetClientData(wxComboBox *self,int n) {
3636#ifdef __WXMAC__
3637 wxPyClientData* data = (wxPyClientData*)self->wxItemContainer::GetClientObject(n);
3638#else
3639 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
3640#endif
3641 if (data) {
3642 Py_INCREF(data->m_obj);
3643 return data->m_obj;
3644 } else {
3645 Py_INCREF(Py_None);
3646 return Py_None;
3647 }
3648 }
3649static PyObject *_wrap_wxComboBox_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3650 PyObject * _resultobj;
d84a9306
RD
3651 PyObject * _result;
3652 wxComboBox * _arg0;
e6056257
RD
3653 int _arg1;
3654 PyObject * _argo0 = 0;
d84a9306 3655 char *_kwnames[] = { "self","n", NULL };
e6056257
RD
3656
3657 self = self;
d84a9306 3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetClientData",_kwnames,&_argo0,&_arg1))
e6056257
RD
3659 return NULL;
3660 if (_argo0) {
3661 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
e6056257
RD
3664 return NULL;
3665 }
3666 }
3667{
0e2ff151 3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3669 _result = (PyObject *)wxComboBox_GetClientData(_arg0,_arg1);
e6056257 3670
0e2ff151 3671 wxPyEndAllowThreads(__tstate);
e6056257 3672 if (PyErr_Occurred()) return NULL;
d84a9306
RD
3673}{
3674 _resultobj = _result;
3675}
e6056257
RD
3676 return _resultobj;
3677}
3678
d84a9306
RD
3679static void wxComboBox_SetClientData(wxComboBox *self,int n,PyObject * clientData) {
3680 wxPyClientData* data = new wxPyClientData(clientData);
3681#ifdef __WXMAC__
3682 self->wxItemContainer::SetClientObject(n, data);
3683#else
3684 self->SetClientObject(n, data);
3685#endif
3686 }
3687static PyObject *_wrap_wxComboBox_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3688 PyObject * _resultobj;
d84a9306 3689 wxComboBox * _arg0;
e6056257 3690 int _arg1;
d84a9306 3691 PyObject * _arg2;
e6056257 3692 PyObject * _argo0 = 0;
d84a9306
RD
3693 PyObject * _obj2 = 0;
3694 char *_kwnames[] = { "self","n","clientData", NULL };
e6056257
RD
3695
3696 self = self;
d84a9306 3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxComboBox_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
e6056257
RD
3698 return NULL;
3699 if (_argo0) {
3700 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
e6056257
RD
3703 return NULL;
3704 }
3705 }
d84a9306
RD
3706{
3707 _arg2 = _obj2;
3708}
e6056257 3709{
0e2ff151 3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3711 wxComboBox_SetClientData(_arg0,_arg1,_arg2);
e6056257 3712
0e2ff151 3713 wxPyEndAllowThreads(__tstate);
e6056257
RD
3714 if (PyErr_Occurred()) return NULL;
3715} Py_INCREF(Py_None);
3716 _resultobj = Py_None;
3717 return _resultobj;
3718}
3719
d84a9306
RD
3720static void *SwigwxGaugeTowxControl(void *ptr) {
3721 wxGauge *src;
e6056257 3722 wxControl *dest;
d84a9306 3723 src = (wxGauge *) ptr;
e6056257
RD
3724 dest = (wxControl *) src;
3725 return (void *) dest;
3726}
3727
d84a9306
RD
3728static void *SwigwxGaugeTowxWindow(void *ptr) {
3729 wxGauge *src;
e6056257 3730 wxWindow *dest;
d84a9306 3731 src = (wxGauge *) ptr;
e6056257
RD
3732 dest = (wxWindow *) src;
3733 return (void *) dest;
3734}
3735
d84a9306
RD
3736static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3737 wxGauge *src;
e6056257 3738 wxEvtHandler *dest;
d84a9306 3739 src = (wxGauge *) ptr;
e6056257
RD
3740 dest = (wxEvtHandler *) src;
3741 return (void *) dest;
3742}
3743
d84a9306
RD
3744static void *SwigwxGaugeTowxObject(void *ptr) {
3745 wxGauge *src;
e6056257 3746 wxObject *dest;
d84a9306 3747 src = (wxGauge *) ptr;
e6056257
RD
3748 dest = (wxObject *) src;
3749 return (void *) dest;
3750}
3751
d84a9306
RD
3752#define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3753static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3754 PyObject * _resultobj;
d84a9306 3755 wxGauge * _result;
e6056257
RD
3756 wxWindow * _arg0;
3757 wxWindowID _arg1;
d84a9306 3758 int _arg2;
e6056257
RD
3759 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3760 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
d84a9306
RD
3761 long _arg5 = (long ) wxGA_HORIZONTAL;
3762 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
3763 wxString * _arg7 = (wxString *) &wxPyGaugeNameStr;
e6056257 3764 PyObject * _argo0 = 0;
e6056257
RD
3765 wxPoint temp;
3766 PyObject * _obj3 = 0;
3767 wxSize temp0;
3768 PyObject * _obj4 = 0;
d84a9306
RD
3769 PyObject * _argo6 = 0;
3770 PyObject * _obj7 = 0;
3771 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
e6056257
RD
3772 char _ptemp[128];
3773
3774 self = self;
d84a9306 3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOO:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
3776 return NULL;
3777 if (_argo0) {
3778 if (_argo0 == Py_None) { _arg0 = NULL; }
3779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d84a9306 3780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
e6056257
RD
3781 return NULL;
3782 }
3783 }
e6056257
RD
3784 if (_obj3)
3785{
3786 _arg3 = &temp;
3787 if (! wxPoint_helper(_obj3, &_arg3))
3788 return NULL;
3789}
3790 if (_obj4)
3791{
3792 _arg4 = &temp0;
3793 if (! wxSize_helper(_obj4, &_arg4))
3794 return NULL;
c3bfa1cb 3795}
d84a9306
RD
3796 if (_argo6) {
3797 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3798 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3799 return NULL;
3800 }
3801 }
3802 if (_obj7)
c3bfa1cb 3803{
d84a9306
RD
3804 _arg7 = wxString_in_helper(_obj7);
3805 if (_arg7 == NULL)
c3bfa1cb 3806 return NULL;
e6056257
RD
3807}
3808{
0e2ff151 3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3810 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 3811
0e2ff151 3812 wxPyEndAllowThreads(__tstate);
e6056257
RD
3813 if (PyErr_Occurred()) return NULL;
3814} if (_result) {
d84a9306 3815 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
e6056257
RD
3816 _resultobj = Py_BuildValue("s",_ptemp);
3817 } else {
3818 Py_INCREF(Py_None);
3819 _resultobj = Py_None;
3820 }
3821{
d84a9306
RD
3822 if (_obj7)
3823 delete _arg7;
e6056257
RD
3824}
3825 return _resultobj;
3826}
3827
d84a9306
RD
3828#define new_wxPreGauge() (new wxGauge())
3829static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3830 PyObject * _resultobj;
d84a9306 3831 wxGauge * _result;
e6056257
RD
3832 char *_kwnames[] = { NULL };
3833 char _ptemp[128];
3834
3835 self = self;
d84a9306 3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
e6056257
RD
3837 return NULL;
3838{
0e2ff151 3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3840 _result = (wxGauge *)new_wxPreGauge();
e6056257 3841
0e2ff151 3842 wxPyEndAllowThreads(__tstate);
e6056257
RD
3843 if (PyErr_Occurred()) return NULL;
3844} if (_result) {
d84a9306 3845 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
e6056257
RD
3846 _resultobj = Py_BuildValue("s",_ptemp);
3847 } else {
3848 Py_INCREF(Py_None);
3849 _resultobj = Py_None;
3850 }
3851 return _resultobj;
3852}
3853
d84a9306
RD
3854#define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3855static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
3856 PyObject * _resultobj;
3857 bool _result;
d84a9306 3858 wxGauge * _arg0;
e6056257
RD
3859 wxWindow * _arg1;
3860 wxWindowID _arg2;
d84a9306 3861 int _arg3;
e6056257
RD
3862 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3863 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
d84a9306
RD
3864 long _arg6 = (long ) wxGA_HORIZONTAL;
3865 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
3866 wxString * _arg8 = (wxString *) &wxPyGaugeNameStr;
e6056257
RD
3867 PyObject * _argo0 = 0;
3868 PyObject * _argo1 = 0;
e6056257
RD
3869 wxPoint temp;
3870 PyObject * _obj4 = 0;
3871 wxSize temp0;
3872 PyObject * _obj5 = 0;
d84a9306
RD
3873 PyObject * _argo7 = 0;
3874 PyObject * _obj8 = 0;
3875 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
e6056257
RD
3876
3877 self = self;
d84a9306 3878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOO:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
3879 return NULL;
3880 if (_argo0) {
3881 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
e6056257
RD
3884 return NULL;
3885 }
3886 }
3887 if (_argo1) {
3888 if (_argo1 == Py_None) { _arg1 = NULL; }
3889 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d84a9306 3890 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
e6056257
RD
3891 return NULL;
3892 }
3893 }
e6056257
RD
3894 if (_obj4)
3895{
3896 _arg4 = &temp;
3897 if (! wxPoint_helper(_obj4, &_arg4))
3898 return NULL;
3899}
3900 if (_obj5)
3901{
3902 _arg5 = &temp0;
3903 if (! wxSize_helper(_obj5, &_arg5))
3904 return NULL;
c3bfa1cb 3905}
d84a9306
RD
3906 if (_argo7) {
3907 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
3908 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3909 return NULL;
3910 }
3911 }
3912 if (_obj8)
3913{
3914 _arg8 = wxString_in_helper(_obj8);
3915 if (_arg8 == NULL)
c3bfa1cb 3916 return NULL;
e6056257
RD
3917}
3918{
0e2ff151 3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3920 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 3921
0e2ff151 3922 wxPyEndAllowThreads(__tstate);
e6056257
RD
3923 if (PyErr_Occurred()) return NULL;
3924} _resultobj = Py_BuildValue("i",_result);
3925{
d84a9306
RD
3926 if (_obj8)
3927 delete _arg8;
e6056257
RD
3928}
3929 return _resultobj;
3930}
3931
d84a9306
RD
3932#define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3933static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3934 PyObject * _resultobj;
d84a9306
RD
3935 int _result;
3936 wxGauge * _arg0;
e6056257 3937 PyObject * _argo0 = 0;
d84a9306 3938 char *_kwnames[] = { "self", NULL };
e6056257
RD
3939
3940 self = self;
d84a9306 3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
e6056257
RD
3942 return NULL;
3943 if (_argo0) {
3944 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
3945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
e6056257
RD
3947 return NULL;
3948 }
3949 }
e6056257 3950{
d84a9306
RD
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 _result = (int )wxGauge_GetBezelFace(_arg0);
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) return NULL;
3956} _resultobj = Py_BuildValue("i",_result);
3957 return _resultobj;
e6056257 3958}
d84a9306
RD
3959
3960#define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3961static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3962 PyObject * _resultobj;
3963 int _result;
3964 wxGauge * _arg0;
3965 PyObject * _argo0 = 0;
3966 char *_kwnames[] = { "self", NULL };
3967
3968 self = self;
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
e6056257 3970 return NULL;
d84a9306
RD
3971 if (_argo0) {
3972 if (_argo0 == Py_None) { _arg0 = NULL; }
3973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
c3bfa1cb 3975 return NULL;
d84a9306
RD
3976 }
3977 }
e6056257 3978{
0e2ff151 3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 3980 _result = (int )wxGauge_GetRange(_arg0);
e6056257 3981
0e2ff151 3982 wxPyEndAllowThreads(__tstate);
e6056257 3983 if (PyErr_Occurred()) return NULL;
d84a9306 3984} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
3985 return _resultobj;
3986}
3987
d84a9306
RD
3988#define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3989static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 3990 PyObject * _resultobj;
d84a9306
RD
3991 int _result;
3992 wxGauge * _arg0;
3993 PyObject * _argo0 = 0;
3994 char *_kwnames[] = { "self", NULL };
e6056257
RD
3995
3996 self = self;
d84a9306
RD
3997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
3998 return NULL;
3999 if (_argo0) {
4000 if (_argo0 == Py_None) { _arg0 = NULL; }
4001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
e6056257 4003 return NULL;
d84a9306
RD
4004 }
4005 }
e6056257 4006{
0e2ff151 4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 4008 _result = (int )wxGauge_GetShadowWidth(_arg0);
e6056257 4009
0e2ff151 4010 wxPyEndAllowThreads(__tstate);
e6056257 4011 if (PyErr_Occurred()) return NULL;
d84a9306 4012} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
4013 return _resultobj;
4014}
4015
d84a9306
RD
4016#define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
4017static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 4018 PyObject * _resultobj;
d84a9306
RD
4019 int _result;
4020 wxGauge * _arg0;
e6056257 4021 PyObject * _argo0 = 0;
d84a9306 4022 char *_kwnames[] = { "self", NULL };
e6056257
RD
4023
4024 self = self;
d84a9306 4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
e6056257
RD
4026 return NULL;
4027 if (_argo0) {
4028 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
4029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
e6056257
RD
4031 return NULL;
4032 }
4033 }
e6056257 4034{
d84a9306
RD
4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
4036 _result = (int )wxGauge_GetValue(_arg0);
4037
4038 wxPyEndAllowThreads(__tstate);
4039 if (PyErr_Occurred()) return NULL;
4040} _resultobj = Py_BuildValue("i",_result);
4041 return _resultobj;
e6056257 4042}
d84a9306
RD
4043
4044#define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
4045static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4046 PyObject * _resultobj;
4047 wxGauge * _arg0;
4048 int _arg1;
4049 PyObject * _argo0 = 0;
4050 char *_kwnames[] = { "self","width", NULL };
4051
4052 self = self;
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
e6056257 4054 return NULL;
d84a9306
RD
4055 if (_argo0) {
4056 if (_argo0 == Py_None) { _arg0 = NULL; }
4057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
c3bfa1cb 4059 return NULL;
d84a9306
RD
4060 }
4061 }
e6056257 4062{
0e2ff151 4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 4064 wxGauge_SetBezelFace(_arg0,_arg1);
e6056257 4065
0e2ff151 4066 wxPyEndAllowThreads(__tstate);
e6056257 4067 if (PyErr_Occurred()) return NULL;
d84a9306
RD
4068} Py_INCREF(Py_None);
4069 _resultobj = Py_None;
e6056257
RD
4070 return _resultobj;
4071}
4072
d84a9306
RD
4073#define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
4074static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4075 PyObject * _resultobj;
4076 wxGauge * _arg0;
4077 int _arg1;
4078 PyObject * _argo0 = 0;
4079 char *_kwnames[] = { "self","range", NULL };
e6056257 4080
d84a9306
RD
4081 self = self;
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
4083 return NULL;
4084 if (_argo0) {
4085 if (_argo0 == Py_None) { _arg0 = NULL; }
4086 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4087 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
4088 return NULL;
4089 }
4090 }
4091{
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 wxGauge_SetRange(_arg0,_arg1);
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) return NULL;
4097} Py_INCREF(Py_None);
4098 _resultobj = Py_None;
4099 return _resultobj;
4100}
4101
4102#define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
4103static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4104 PyObject * _resultobj;
4105 wxGauge * _arg0;
4106 int _arg1;
4107 PyObject * _argo0 = 0;
4108 char *_kwnames[] = { "self","width", NULL };
4109
4110 self = self;
4111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
4112 return NULL;
4113 if (_argo0) {
4114 if (_argo0 == Py_None) { _arg0 = NULL; }
4115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
4117 return NULL;
4118 }
4119 }
4120{
4121 PyThreadState* __tstate = wxPyBeginAllowThreads();
4122 wxGauge_SetShadowWidth(_arg0,_arg1);
4123
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) return NULL;
4126} Py_INCREF(Py_None);
4127 _resultobj = Py_None;
4128 return _resultobj;
4129}
4130
4131#define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4132static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4133 PyObject * _resultobj;
4134 wxGauge * _arg0;
4135 int _arg1;
4136 PyObject * _argo0 = 0;
4137 char *_kwnames[] = { "self","pos", NULL };
4138
4139 self = self;
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
4141 return NULL;
4142 if (_argo0) {
4143 if (_argo0 == Py_None) { _arg0 = NULL; }
4144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
4146 return NULL;
4147 }
4148 }
4149{
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 wxGauge_SetValue(_arg0,_arg1);
4152
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) return NULL;
4155} Py_INCREF(Py_None);
4156 _resultobj = Py_None;
4157 return _resultobj;
4158}
4159
4160static void *SwigwxStaticBoxTowxControl(void *ptr) {
4161 wxStaticBox *src;
4162 wxControl *dest;
4163 src = (wxStaticBox *) ptr;
4164 dest = (wxControl *) src;
4165 return (void *) dest;
4166}
4167
4168static void *SwigwxStaticBoxTowxWindow(void *ptr) {
4169 wxStaticBox *src;
e6056257 4170 wxWindow *dest;
d84a9306 4171 src = (wxStaticBox *) ptr;
e6056257
RD
4172 dest = (wxWindow *) src;
4173 return (void *) dest;
4174}
4175
d84a9306
RD
4176static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
4177 wxStaticBox *src;
e6056257 4178 wxEvtHandler *dest;
d84a9306 4179 src = (wxStaticBox *) ptr;
e6056257
RD
4180 dest = (wxEvtHandler *) src;
4181 return (void *) dest;
4182}
4183
d84a9306
RD
4184static void *SwigwxStaticBoxTowxObject(void *ptr) {
4185 wxStaticBox *src;
e6056257 4186 wxObject *dest;
d84a9306 4187 src = (wxStaticBox *) ptr;
e6056257
RD
4188 dest = (wxObject *) src;
4189 return (void *) dest;
4190}
4191
d84a9306
RD
4192#define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4193static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 4194 PyObject * _resultobj;
d84a9306 4195 wxStaticBox * _result;
e6056257
RD
4196 wxWindow * _arg0;
4197 wxWindowID _arg1;
4198 wxString * _arg2;
4199 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4200 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4201 long _arg5 = (long ) 0;
d84a9306 4202 wxString * _arg6 = (wxString *) &wxPyStaticBoxNameStr;
e6056257
RD
4203 PyObject * _argo0 = 0;
4204 PyObject * _obj2 = 0;
4205 wxPoint temp;
4206 PyObject * _obj3 = 0;
4207 wxSize temp0;
4208 PyObject * _obj4 = 0;
c3bfa1cb 4209 PyObject * _obj6 = 0;
e6056257
RD
4210 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
4211 char _ptemp[128];
4212
4213 self = self;
d84a9306 4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
e6056257
RD
4215 return NULL;
4216 if (_argo0) {
4217 if (_argo0 == Py_None) { _arg0 = NULL; }
4218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d84a9306 4219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
e6056257
RD
4220 return NULL;
4221 }
4222 }
4223{
6824d4f9
RD
4224 _arg2 = wxString_in_helper(_obj2);
4225 if (_arg2 == NULL)
e6056257 4226 return NULL;
e6056257
RD
4227}
4228 if (_obj3)
4229{
4230 _arg3 = &temp;
4231 if (! wxPoint_helper(_obj3, &_arg3))
4232 return NULL;
d84a9306
RD
4233}
4234 if (_obj4)
4235{
4236 _arg4 = &temp0;
4237 if (! wxSize_helper(_obj4, &_arg4))
4238 return NULL;
4239}
4240 if (_obj6)
4241{
4242 _arg6 = wxString_in_helper(_obj6);
4243 if (_arg6 == NULL)
4244 return NULL;
4245}
4246{
4247 PyThreadState* __tstate = wxPyBeginAllowThreads();
4248 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
4249
4250 wxPyEndAllowThreads(__tstate);
4251 if (PyErr_Occurred()) return NULL;
4252} if (_result) {
4253 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
4254 _resultobj = Py_BuildValue("s",_ptemp);
4255 } else {
4256 Py_INCREF(Py_None);
4257 _resultobj = Py_None;
4258 }
4259{
4260 if (_obj2)
4261 delete _arg2;
4262}
4263{
4264 if (_obj6)
4265 delete _arg6;
4266}
4267 return _resultobj;
4268}
4269
4270#define new_wxPreStaticBox() (new wxStaticBox())
4271static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4272 PyObject * _resultobj;
4273 wxStaticBox * _result;
4274 char *_kwnames[] = { NULL };
4275 char _ptemp[128];
4276
4277 self = self;
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
4279 return NULL;
4280{
4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
4282 _result = (wxStaticBox *)new_wxPreStaticBox();
4283
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) return NULL;
4286} if (_result) {
4287 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
4288 _resultobj = Py_BuildValue("s",_ptemp);
4289 } else {
4290 Py_INCREF(Py_None);
4291 _resultobj = Py_None;
4292 }
4293 return _resultobj;
4294}
4295
4296#define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4297static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject * _resultobj;
4299 bool _result;
4300 wxStaticBox * _arg0;
4301 wxWindow * _arg1;
4302 wxWindowID _arg2;
4303 wxString * _arg3;
4304 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4305 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4306 long _arg6 = (long ) 0;
4307 wxString * _arg7 = (wxString *) &wxPyStaticBoxNameStr;
4308 PyObject * _argo0 = 0;
4309 PyObject * _argo1 = 0;
4310 PyObject * _obj3 = 0;
4311 wxPoint temp;
4312 PyObject * _obj4 = 0;
4313 wxSize temp0;
4314 PyObject * _obj5 = 0;
4315 PyObject * _obj7 = 0;
4316 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4317
4318 self = self;
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
4320 return NULL;
4321 if (_argo0) {
4322 if (_argo0 == Py_None) { _arg0 = NULL; }
4323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
4324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4325 return NULL;
4326 }
4327 }
4328 if (_argo1) {
4329 if (_argo1 == Py_None) { _arg1 = NULL; }
4330 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4331 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4332 return NULL;
4333 }
4334 }
4335{
4336 _arg3 = wxString_in_helper(_obj3);
4337 if (_arg3 == NULL)
4338 return NULL;
4339}
4340 if (_obj4)
4341{
4342 _arg4 = &temp;
4343 if (! wxPoint_helper(_obj4, &_arg4))
4344 return NULL;
4345}
4346 if (_obj5)
4347{
4348 _arg5 = &temp0;
4349 if (! wxSize_helper(_obj5, &_arg5))
4350 return NULL;
4351}
4352 if (_obj7)
4353{
4354 _arg7 = wxString_in_helper(_obj7);
4355 if (_arg7 == NULL)
4356 return NULL;
4357}
4358{
4359 PyThreadState* __tstate = wxPyBeginAllowThreads();
4360 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
4361
4362 wxPyEndAllowThreads(__tstate);
4363 if (PyErr_Occurred()) return NULL;
4364} _resultobj = Py_BuildValue("i",_result);
4365{
4366 if (_obj3)
4367 delete _arg3;
4368}
4369{
4370 if (_obj7)
4371 delete _arg7;
4372}
4373 return _resultobj;
4374}
4375
4376static void *SwigwxStaticLineTowxControl(void *ptr) {
4377 wxStaticLine *src;
4378 wxControl *dest;
4379 src = (wxStaticLine *) ptr;
4380 dest = (wxControl *) src;
4381 return (void *) dest;
4382}
4383
4384static void *SwigwxStaticLineTowxWindow(void *ptr) {
4385 wxStaticLine *src;
4386 wxWindow *dest;
4387 src = (wxStaticLine *) ptr;
4388 dest = (wxWindow *) src;
4389 return (void *) dest;
4390}
4391
4392static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
4393 wxStaticLine *src;
4394 wxEvtHandler *dest;
4395 src = (wxStaticLine *) ptr;
4396 dest = (wxEvtHandler *) src;
4397 return (void *) dest;
4398}
4399
4400static void *SwigwxStaticLineTowxObject(void *ptr) {
4401 wxStaticLine *src;
4402 wxObject *dest;
4403 src = (wxStaticLine *) ptr;
4404 dest = (wxObject *) src;
4405 return (void *) dest;
4406}
4407
4408#define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4409static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4410 PyObject * _resultobj;
4411 wxStaticLine * _result;
4412 wxWindow * _arg0;
4413 wxWindowID _arg1;
4414 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4415 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4416 long _arg4 = (long ) wxLI_HORIZONTAL;
4417 wxString * _arg5 = (wxString *) &wxPyStaticTextNameStr;
4418 PyObject * _argo0 = 0;
4419 wxPoint temp;
4420 PyObject * _obj2 = 0;
4421 wxSize temp0;
4422 PyObject * _obj3 = 0;
4423 PyObject * _obj5 = 0;
4424 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4425 char _ptemp[128];
4426
4427 self = self;
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
4429 return NULL;
4430 if (_argo0) {
4431 if (_argo0 == Py_None) { _arg0 = NULL; }
4432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4434 return NULL;
4435 }
4436 }
4437 if (_obj2)
4438{
4439 _arg2 = &temp;
4440 if (! wxPoint_helper(_obj2, &_arg2))
4441 return NULL;
4442}
4443 if (_obj3)
4444{
4445 _arg3 = &temp0;
4446 if (! wxSize_helper(_obj3, &_arg3))
4447 return NULL;
4448}
4449 if (_obj5)
4450{
4451 _arg5 = wxString_in_helper(_obj5);
4452 if (_arg5 == NULL)
4453 return NULL;
4454}
4455{
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) return NULL;
4461} if (_result) {
4462 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4463 _resultobj = Py_BuildValue("s",_ptemp);
4464 } else {
4465 Py_INCREF(Py_None);
4466 _resultobj = Py_None;
4467 }
4468{
4469 if (_obj5)
4470 delete _arg5;
4471}
4472 return _resultobj;
4473}
4474
4475#define new_wxPreStaticLine() (new wxStaticLine())
4476static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject * _resultobj;
4478 wxStaticLine * _result;
4479 char *_kwnames[] = { NULL };
4480 char _ptemp[128];
4481
4482 self = self;
4483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4484 return NULL;
4485{
4486 PyThreadState* __tstate = wxPyBeginAllowThreads();
4487 _result = (wxStaticLine *)new_wxPreStaticLine();
4488
4489 wxPyEndAllowThreads(__tstate);
4490 if (PyErr_Occurred()) return NULL;
4491} if (_result) {
4492 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4493 _resultobj = Py_BuildValue("s",_ptemp);
4494 } else {
4495 Py_INCREF(Py_None);
4496 _resultobj = Py_None;
4497 }
4498 return _resultobj;
4499}
4500
4501#define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4502static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject * _resultobj;
4504 bool _result;
4505 wxStaticLine * _arg0;
4506 wxWindow * _arg1;
4507 wxWindowID _arg2;
4508 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4509 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4510 long _arg5 = (long ) wxLI_HORIZONTAL;
4511 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
4512 PyObject * _argo0 = 0;
4513 PyObject * _argo1 = 0;
4514 wxPoint temp;
4515 PyObject * _obj3 = 0;
4516 wxSize temp0;
4517 PyObject * _obj4 = 0;
4518 PyObject * _obj6 = 0;
4519 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4520
4521 self = self;
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
4523 return NULL;
4524 if (_argo0) {
4525 if (_argo0 == Py_None) { _arg0 = NULL; }
4526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4528 return NULL;
4529 }
4530 }
4531 if (_argo1) {
4532 if (_argo1 == Py_None) { _arg1 = NULL; }
4533 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4534 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4535 return NULL;
4536 }
4537 }
4538 if (_obj3)
4539{
4540 _arg3 = &temp;
4541 if (! wxPoint_helper(_obj3, &_arg3))
4542 return NULL;
4543}
4544 if (_obj4)
4545{
4546 _arg4 = &temp0;
4547 if (! wxSize_helper(_obj4, &_arg4))
4548 return NULL;
4549}
4550 if (_obj6)
4551{
4552 _arg6 = wxString_in_helper(_obj6);
4553 if (_arg6 == NULL)
4554 return NULL;
4555}
4556{
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
4559
4560 wxPyEndAllowThreads(__tstate);
4561 if (PyErr_Occurred()) return NULL;
4562} _resultobj = Py_BuildValue("i",_result);
4563{
4564 if (_obj6)
4565 delete _arg6;
4566}
4567 return _resultobj;
4568}
4569
4570static void *SwigwxStaticTextTowxControl(void *ptr) {
4571 wxStaticText *src;
4572 wxControl *dest;
4573 src = (wxStaticText *) ptr;
4574 dest = (wxControl *) src;
4575 return (void *) dest;
4576}
4577
4578static void *SwigwxStaticTextTowxWindow(void *ptr) {
4579 wxStaticText *src;
4580 wxWindow *dest;
4581 src = (wxStaticText *) ptr;
4582 dest = (wxWindow *) src;
4583 return (void *) dest;
4584}
4585
4586static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4587 wxStaticText *src;
4588 wxEvtHandler *dest;
4589 src = (wxStaticText *) ptr;
4590 dest = (wxEvtHandler *) src;
4591 return (void *) dest;
4592}
4593
4594static void *SwigwxStaticTextTowxObject(void *ptr) {
4595 wxStaticText *src;
4596 wxObject *dest;
4597 src = (wxStaticText *) ptr;
4598 dest = (wxObject *) src;
4599 return (void *) dest;
4600}
4601
4602#define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4603static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4604 PyObject * _resultobj;
4605 wxStaticText * _result;
4606 wxWindow * _arg0;
4607 wxWindowID _arg1;
4608 wxString * _arg2;
4609 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4610 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4611 long _arg5 = (long ) 0;
4612 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
4613 PyObject * _argo0 = 0;
4614 PyObject * _obj2 = 0;
4615 wxPoint temp;
4616 PyObject * _obj3 = 0;
4617 wxSize temp0;
4618 PyObject * _obj4 = 0;
4619 PyObject * _obj6 = 0;
4620 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
4621 char _ptemp[128];
4622
4623 self = self;
4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
4625 return NULL;
4626 if (_argo0) {
4627 if (_argo0 == Py_None) { _arg0 = NULL; }
4628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4630 return NULL;
4631 }
4632 }
4633{
4634 _arg2 = wxString_in_helper(_obj2);
4635 if (_arg2 == NULL)
4636 return NULL;
4637}
4638 if (_obj3)
4639{
4640 _arg3 = &temp;
4641 if (! wxPoint_helper(_obj3, &_arg3))
4642 return NULL;
4643}
4644 if (_obj4)
4645{
4646 _arg4 = &temp0;
4647 if (! wxSize_helper(_obj4, &_arg4))
4648 return NULL;
4649}
4650 if (_obj6)
4651{
4652 _arg6 = wxString_in_helper(_obj6);
4653 if (_arg6 == NULL)
4654 return NULL;
4655}
4656{
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
4659
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) return NULL;
4662} if (_result) {
4663 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4664 _resultobj = Py_BuildValue("s",_ptemp);
4665 } else {
4666 Py_INCREF(Py_None);
4667 _resultobj = Py_None;
4668 }
4669{
4670 if (_obj2)
4671 delete _arg2;
4672}
4673{
4674 if (_obj6)
4675 delete _arg6;
4676}
4677 return _resultobj;
4678}
4679
4680#define new_wxPreStaticText() (new wxStaticText())
4681static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject * _resultobj;
4683 wxStaticText * _result;
4684 char *_kwnames[] = { NULL };
4685 char _ptemp[128];
4686
4687 self = self;
4688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4689 return NULL;
4690{
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 _result = (wxStaticText *)new_wxPreStaticText();
4693
4694 wxPyEndAllowThreads(__tstate);
4695 if (PyErr_Occurred()) return NULL;
4696} if (_result) {
4697 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4698 _resultobj = Py_BuildValue("s",_ptemp);
4699 } else {
4700 Py_INCREF(Py_None);
4701 _resultobj = Py_None;
4702 }
4703 return _resultobj;
4704}
4705
4706#define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4707static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject * _resultobj;
4709 bool _result;
4710 wxStaticText * _arg0;
4711 wxWindow * _arg1;
4712 wxWindowID _arg2;
4713 wxString * _arg3;
4714 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4715 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4716 long _arg6 = (long ) 0;
4717 wxString * _arg7 = (wxString *) &wxPyStaticTextNameStr;
4718 PyObject * _argo0 = 0;
4719 PyObject * _argo1 = 0;
4720 PyObject * _obj3 = 0;
4721 wxPoint temp;
4722 PyObject * _obj4 = 0;
4723 wxSize temp0;
4724 PyObject * _obj5 = 0;
4725 PyObject * _obj7 = 0;
4726 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4727
4728 self = self;
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
4730 return NULL;
4731 if (_argo0) {
4732 if (_argo0 == Py_None) { _arg0 = NULL; }
4733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4735 return NULL;
4736 }
4737 }
4738 if (_argo1) {
4739 if (_argo1 == Py_None) { _arg1 = NULL; }
4740 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4741 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4742 return NULL;
4743 }
4744 }
4745{
4746 _arg3 = wxString_in_helper(_obj3);
4747 if (_arg3 == NULL)
4748 return NULL;
4749}
4750 if (_obj4)
4751{
4752 _arg4 = &temp;
4753 if (! wxPoint_helper(_obj4, &_arg4))
4754 return NULL;
4755}
4756 if (_obj5)
4757{
4758 _arg5 = &temp0;
4759 if (! wxSize_helper(_obj5, &_arg5))
4760 return NULL;
4761}
4762 if (_obj7)
4763{
4764 _arg7 = wxString_in_helper(_obj7);
4765 if (_arg7 == NULL)
4766 return NULL;
4767}
4768{
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) return NULL;
4774} _resultobj = Py_BuildValue("i",_result);
4775{
4776 if (_obj3)
4777 delete _arg3;
4778}
4779{
4780 if (_obj7)
4781 delete _arg7;
4782}
4783 return _resultobj;
4784}
4785
4786#define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4787static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4788 PyObject * _resultobj;
4789 wxString * _result;
4790 wxStaticText * _arg0;
4791 PyObject * _argo0 = 0;
4792 char *_kwnames[] = { "self", NULL };
4793
4794 self = self;
4795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
4796 return NULL;
4797 if (_argo0) {
4798 if (_argo0 == Py_None) { _arg0 = NULL; }
4799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4801 return NULL;
4802 }
4803 }
4804{
4805 PyThreadState* __tstate = wxPyBeginAllowThreads();
4806 _result = new wxString (wxStaticText_GetLabel(_arg0));
4807
4808 wxPyEndAllowThreads(__tstate);
4809 if (PyErr_Occurred()) return NULL;
4810}{
4811#if wxUSE_UNICODE
4812 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
4813#else
4814 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4815#endif
4816}
4817{
4818 delete _result;
4819}
4820 return _resultobj;
4821}
4822
4823#define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4824static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject * _resultobj;
4826 wxStaticText * _arg0;
4827 wxString * _arg1;
4828 PyObject * _argo0 = 0;
4829 PyObject * _obj1 = 0;
4830 char *_kwnames[] = { "self","label", NULL };
4831
4832 self = self;
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
4834 return NULL;
4835 if (_argo0) {
4836 if (_argo0 == Py_None) { _arg0 = NULL; }
4837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4839 return NULL;
4840 }
4841 }
4842{
4843 _arg1 = wxString_in_helper(_obj1);
4844 if (_arg1 == NULL)
4845 return NULL;
4846}
4847{
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 wxStaticText_SetLabel(_arg0,*_arg1);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) return NULL;
4853} Py_INCREF(Py_None);
4854 _resultobj = Py_None;
4855{
4856 if (_obj1)
4857 delete _arg1;
4858}
4859 return _resultobj;
4860}
4861
4862static void *SwigwxListBoxTowxControlWithItems(void *ptr) {
4863 wxListBox *src;
4864 wxControlWithItems *dest;
4865 src = (wxListBox *) ptr;
4866 dest = (wxControlWithItems *) src;
4867 return (void *) dest;
4868}
4869
4870static void *SwigwxListBoxTowxControl(void *ptr) {
4871 wxListBox *src;
4872 wxControl *dest;
4873 src = (wxListBox *) ptr;
4874 dest = (wxControl *) src;
4875 return (void *) dest;
4876}
4877
4878static void *SwigwxListBoxTowxWindow(void *ptr) {
4879 wxListBox *src;
4880 wxWindow *dest;
4881 src = (wxListBox *) ptr;
4882 dest = (wxWindow *) src;
4883 return (void *) dest;
4884}
4885
4886static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
4887 wxListBox *src;
4888 wxEvtHandler *dest;
4889 src = (wxListBox *) ptr;
4890 dest = (wxEvtHandler *) src;
4891 return (void *) dest;
4892}
4893
4894static void *SwigwxListBoxTowxObject(void *ptr) {
4895 wxListBox *src;
4896 wxObject *dest;
4897 src = (wxListBox *) ptr;
4898 dest = (wxObject *) src;
4899 return (void *) dest;
4900}
4901
4902#define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4903static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4904 PyObject * _resultobj;
4905 wxListBox * _result;
4906 wxWindow * _arg0;
4907 wxWindowID _arg1;
4908 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4909 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4910 int _arg4;
4911 wxString * _arg5 = (wxString *) NULL;
4912 long _arg6 = (long ) 0;
4913 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
4914 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
4915 PyObject * _argo0 = 0;
4916 wxPoint temp;
4917 PyObject * _obj2 = 0;
4918 wxSize temp0;
4919 PyObject * _obj3 = 0;
4920 PyObject * _obj5 = 0;
4921 PyObject * _argo7 = 0;
4922 PyObject * _obj8 = 0;
4923 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4924 char _ptemp[128];
4925
4926 self = self;
4927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
4928 return NULL;
4929 if (_argo0) {
4930 if (_argo0 == Py_None) { _arg0 = NULL; }
4931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4933 return NULL;
4934 }
4935 }
4936 if (_obj2)
4937{
4938 _arg2 = &temp;
4939 if (! wxPoint_helper(_obj2, &_arg2))
4940 return NULL;
4941}
4942 if (_obj3)
4943{
4944 _arg3 = &temp0;
4945 if (! wxSize_helper(_obj3, &_arg3))
4946 return NULL;
4947}
4948 if (_obj5)
4949{
4950 _arg5 = wxString_LIST_helper(_obj5);
4951 if (_arg5 == NULL) {
4952 return NULL;
4953 }
4954}
4955 if (_argo7) {
4956 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
4957 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4958 return NULL;
4959 }
4960 }
4961 if (_obj8)
4962{
4963 _arg8 = wxString_in_helper(_obj8);
4964 if (_arg8 == NULL)
4965 return NULL;
4966}
4967{
4968 if (_obj5) {
4969 _arg4 = PyList_Size(_obj5);
4970 }
4971 else {
4972 _arg4 = 0;
4973 }
4974}
4975{
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) return NULL;
4981} if (_result) {
4982 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4983 _resultobj = Py_BuildValue("s",_ptemp);
4984 } else {
4985 Py_INCREF(Py_None);
4986 _resultobj = Py_None;
4987 }
4988{
4989 delete [] _arg5;
4990}
4991{
4992 if (_obj8)
4993 delete _arg8;
4994}
4995 return _resultobj;
4996}
4997
4998#define new_wxPreListBox() (new wxListBox())
4999static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject * _resultobj;
5001 wxListBox * _result;
5002 char *_kwnames[] = { NULL };
5003 char _ptemp[128];
5004
5005 self = self;
5006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
5007 return NULL;
5008{
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 _result = (wxListBox *)new_wxPreListBox();
5011
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) return NULL;
5014} if (_result) {
5015 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
5016 _resultobj = Py_BuildValue("s",_ptemp);
5017 } else {
5018 Py_INCREF(Py_None);
5019 _resultobj = Py_None;
5020 }
5021 return _resultobj;
5022}
5023
5024#define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5025static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject * _resultobj;
5027 bool _result;
5028 wxListBox * _arg0;
5029 wxWindow * _arg1;
5030 wxWindowID _arg2;
5031 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5032 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5033 int _arg5;
5034 wxString * _arg6 = (wxString *) NULL;
5035 long _arg7 = (long ) 0;
5036 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
5037 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
5038 PyObject * _argo0 = 0;
5039 PyObject * _argo1 = 0;
5040 wxPoint temp;
5041 PyObject * _obj3 = 0;
5042 wxSize temp0;
5043 PyObject * _obj4 = 0;
5044 PyObject * _obj6 = 0;
5045 PyObject * _argo8 = 0;
5046 PyObject * _obj9 = 0;
5047 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5048
5049 self = self;
5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
5051 return NULL;
5052 if (_argo0) {
5053 if (_argo0 == Py_None) { _arg0 = NULL; }
5054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
5056 return NULL;
5057 }
5058 }
5059 if (_argo1) {
5060 if (_argo1 == Py_None) { _arg1 = NULL; }
5061 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5062 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
5063 return NULL;
5064 }
5065 }
5066 if (_obj3)
5067{
5068 _arg3 = &temp;
5069 if (! wxPoint_helper(_obj3, &_arg3))
5070 return NULL;
5071}
5072 if (_obj4)
5073{
5074 _arg4 = &temp0;
5075 if (! wxSize_helper(_obj4, &_arg4))
5076 return NULL;
5077}
5078 if (_obj6)
5079{
5080 _arg6 = wxString_LIST_helper(_obj6);
5081 if (_arg6 == NULL) {
5082 return NULL;
5083 }
5084}
5085 if (_argo8) {
5086 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
5087 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
5088 return NULL;
5089 }
5090 }
5091 if (_obj9)
5092{
5093 _arg9 = wxString_in_helper(_obj9);
5094 if (_arg9 == NULL)
5095 return NULL;
5096}
5097{
5098 if (_obj6) {
5099 _arg5 = PyList_Size(_obj6);
5100 }
5101 else {
5102 _arg5 = 0;
5103 }
5104}
5105{
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) return NULL;
5111} _resultobj = Py_BuildValue("i",_result);
5112{
5113 delete [] _arg6;
5114}
5115{
5116 if (_obj9)
5117 delete _arg9;
5118}
5119 return _resultobj;
5120}
5121
5122#define wxListBox_Clear(_swigobj) (_swigobj->Clear())
5123static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5124 PyObject * _resultobj;
5125 wxListBox * _arg0;
5126 PyObject * _argo0 = 0;
5127 char *_kwnames[] = { "self", NULL };
5128
5129 self = self;
5130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
5131 return NULL;
5132 if (_argo0) {
5133 if (_argo0 == Py_None) { _arg0 = NULL; }
5134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
5136 return NULL;
5137 }
5138 }
5139{
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 wxListBox_Clear(_arg0);
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) return NULL;
5145} Py_INCREF(Py_None);
5146 _resultobj = Py_None;
5147 return _resultobj;
5148}
5149
5150#define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
5151static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5152 PyObject * _resultobj;
5153 wxListBox * _arg0;
5154 int _arg1;
5155 PyObject * _argo0 = 0;
5156 char *_kwnames[] = { "self","n", NULL };
5157
5158 self = self;
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
5160 return NULL;
5161 if (_argo0) {
5162 if (_argo0 == Py_None) { _arg0 = NULL; }
5163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
5165 return NULL;
5166 }
5167 }
5168{
5169 PyThreadState* __tstate = wxPyBeginAllowThreads();
5170 wxListBox_Deselect(_arg0,_arg1);
5171
5172 wxPyEndAllowThreads(__tstate);
5173 if (PyErr_Occurred()) return NULL;
5174} Py_INCREF(Py_None);
5175 _resultobj = Py_None;
5176 return _resultobj;
5177}
5178
5179static PyObject * wxListBox_GetSelections(wxListBox *self) {
5180 wxArrayInt lst;
5181 self->GetSelections(lst);
5182 PyObject *tup = PyTuple_New(lst.GetCount());
5183 for(size_t i=0; i<lst.GetCount(); i++) {
5184 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
5185 }
5186 return tup;
5187 }
5188static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject * _resultobj;
5190 PyObject * _result;
5191 wxListBox * _arg0;
5192 PyObject * _argo0 = 0;
5193 char *_kwnames[] = { "self", NULL };
5194
5195 self = self;
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
5197 return NULL;
5198 if (_argo0) {
5199 if (_argo0 == Py_None) { _arg0 = NULL; }
5200 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5201 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5202 return NULL;
5203 }
5204 }
5205{
5206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5207 _result = (PyObject *)wxListBox_GetSelections(_arg0);
5208
5209 wxPyEndAllowThreads(__tstate);
5210 if (PyErr_Occurred()) return NULL;
5211}{
5212 _resultobj = _result;
5213}
5214 return _resultobj;
5215}
5216
5217#define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5218static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5219 PyObject * _resultobj;
5220 wxListBox * _arg0;
5221 int _arg1;
5222 wxString * _arg2;
5223 int _arg3;
5224 PyObject * _argo0 = 0;
5225 PyObject * _obj2 = 0;
5226 char *_kwnames[] = { "self","choices","pos", NULL };
5227
5228 self = self;
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5230 return NULL;
5231 if (_argo0) {
5232 if (_argo0 == Py_None) { _arg0 = NULL; }
5233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5235 return NULL;
5236 }
5237 }
5238{
5239 _arg2 = wxString_LIST_helper(_obj2);
5240 if (_arg2 == NULL) {
5241 return NULL;
5242 }
5243}
5244{
5245 if (_obj2) {
5246 _arg1 = PyList_Size(_obj2);
5247 }
5248 else {
5249 _arg1 = 0;
5250 }
5251}
5252{
5253 PyThreadState* __tstate = wxPyBeginAllowThreads();
5254 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
5255
5256 wxPyEndAllowThreads(__tstate);
5257 if (PyErr_Occurred()) return NULL;
5258} Py_INCREF(Py_None);
5259 _resultobj = Py_None;
5260{
5261 delete [] _arg2;
5262}
5263 return _resultobj;
5264}
5265
5266#define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5267static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject * _resultobj;
5269 bool _result;
5270 wxListBox * _arg0;
5271 int _arg1;
5272 PyObject * _argo0 = 0;
5273 char *_kwnames[] = { "self","n", NULL };
5274
5275 self = self;
5276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
5277 return NULL;
5278 if (_argo0) {
5279 if (_argo0 == Py_None) { _arg0 = NULL; }
5280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5282 return NULL;
5283 }
5284 }
5285{
5286 PyThreadState* __tstate = wxPyBeginAllowThreads();
5287 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
5288
5289 wxPyEndAllowThreads(__tstate);
5290 if (PyErr_Occurred()) return NULL;
5291} _resultobj = Py_BuildValue("i",_result);
5292 return _resultobj;
5293}
5294
5295#define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5296static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
5297 PyObject * _resultobj;
5298 bool _result;
5299 wxListBox * _arg0;
5300 int _arg1;
5301 PyObject * _argo0 = 0;
5302 char *_kwnames[] = { "self","n", NULL };
5303
5304 self = self;
5305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
5306 return NULL;
5307 if (_argo0) {
5308 if (_argo0 == Py_None) { _arg0 = NULL; }
5309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5311 return NULL;
5312 }
5313 }
5314{
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 _result = (bool )wxListBox_Selected(_arg0,_arg1);
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) return NULL;
5320} _resultobj = Py_BuildValue("i",_result);
5321 return _resultobj;
5322}
5323
5324#define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5325static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5326 PyObject * _resultobj;
5327 wxListBox * _arg0;
5328 int _arg1;
5329 wxString * _arg2;
5330 PyObject * _argo0 = 0;
5331 PyObject * _obj2 = 0;
5332 char *_kwnames[] = { "self","choices", NULL };
5333
5334 self = self;
5335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
5336 return NULL;
5337 if (_argo0) {
5338 if (_argo0 == Py_None) { _arg0 = NULL; }
5339 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5340 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5341 return NULL;
5342 }
5343 }
5344 if (_obj2)
e6056257 5345{
d84a9306
RD
5346 _arg2 = wxString_LIST_helper(_obj2);
5347 if (_arg2 == NULL) {
e6056257 5348 return NULL;
d84a9306 5349 }
c3bfa1cb 5350}
c3bfa1cb 5351{
d84a9306
RD
5352 if (_obj2) {
5353 _arg1 = PyList_Size(_obj2);
5354 }
5355 else {
5356 _arg1 = 0;
5357 }
e6056257
RD
5358}
5359{
0e2ff151 5360 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5361 wxListBox_Set(_arg0,_arg1,_arg2);
e6056257 5362
0e2ff151 5363 wxPyEndAllowThreads(__tstate);
e6056257 5364 if (PyErr_Occurred()) return NULL;
d84a9306
RD
5365} Py_INCREF(Py_None);
5366 _resultobj = Py_None;
c3bfa1cb 5367{
d84a9306 5368 delete [] _arg2;
e6056257
RD
5369}
5370 return _resultobj;
5371}
5372
d84a9306
RD
5373#define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5374static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5375 PyObject * _resultobj;
d84a9306
RD
5376 wxListBox * _arg0;
5377 int _arg1;
5378 PyObject * _argo0 = 0;
5379 char *_kwnames[] = { "self","n", NULL };
e6056257
RD
5380
5381 self = self;
d84a9306 5382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
e6056257 5383 return NULL;
d84a9306
RD
5384 if (_argo0) {
5385 if (_argo0 == Py_None) { _arg0 = NULL; }
5386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5388 return NULL;
5389 }
5390 }
e6056257 5391{
0e2ff151 5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5393 wxListBox_SetFirstItem(_arg0,_arg1);
e6056257 5394
0e2ff151 5395 wxPyEndAllowThreads(__tstate);
e6056257 5396 if (PyErr_Occurred()) return NULL;
d84a9306
RD
5397} Py_INCREF(Py_None);
5398 _resultobj = Py_None;
e6056257
RD
5399 return _resultobj;
5400}
5401
d84a9306
RD
5402#define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5403static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5404 PyObject * _resultobj;
d84a9306
RD
5405 wxListBox * _arg0;
5406 wxString * _arg1;
e6056257 5407 PyObject * _argo0 = 0;
d84a9306
RD
5408 PyObject * _obj1 = 0;
5409 char *_kwnames[] = { "self","string", NULL };
e6056257
RD
5410
5411 self = self;
d84a9306 5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
e6056257
RD
5413 return NULL;
5414 if (_argo0) {
5415 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
5416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
e6056257
RD
5418 return NULL;
5419 }
5420 }
5421{
d84a9306
RD
5422 _arg1 = wxString_in_helper(_obj1);
5423 if (_arg1 == NULL)
e6056257 5424 return NULL;
e6056257 5425}
e6056257 5426{
d84a9306
RD
5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5428 wxListBox_SetFirstItemStr(_arg0,*_arg1);
5429
5430 wxPyEndAllowThreads(__tstate);
5431 if (PyErr_Occurred()) return NULL;
5432} Py_INCREF(Py_None);
5433 _resultobj = Py_None;
e6056257 5434{
d84a9306
RD
5435 if (_obj1)
5436 delete _arg1;
c3bfa1cb 5437}
d84a9306 5438 return _resultobj;
e6056257 5439}
d84a9306
RD
5440
5441#define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5442static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5443 PyObject * _resultobj;
5444 wxListBox * _arg0;
5445 int _arg1;
5446 bool _arg2 = (bool ) TRUE;
5447 PyObject * _argo0 = 0;
5448 int tempbool2 = (int) TRUE;
5449 char *_kwnames[] = { "self","n","select", NULL };
5450
5451 self = self;
5452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
5453 return NULL;
5454 if (_argo0) {
5455 if (_argo0 == Py_None) { _arg0 = NULL; }
5456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5458 return NULL;
5459 }
5460 }
5461 _arg2 = (bool ) tempbool2;
e6056257 5462{
0e2ff151 5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5464 wxListBox_SetSelection(_arg0,_arg1,_arg2);
e6056257 5465
0e2ff151 5466 wxPyEndAllowThreads(__tstate);
e6056257 5467 if (PyErr_Occurred()) return NULL;
d84a9306
RD
5468} Py_INCREF(Py_None);
5469 _resultobj = Py_None;
e6056257
RD
5470 return _resultobj;
5471}
5472
d84a9306
RD
5473#define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5474static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5475 PyObject * _resultobj;
d84a9306
RD
5476 wxListBox * _arg0;
5477 int _arg1;
5478 wxString * _arg2;
e6056257 5479 PyObject * _argo0 = 0;
d84a9306
RD
5480 PyObject * _obj2 = 0;
5481 char *_kwnames[] = { "self","n","string", NULL };
e6056257
RD
5482
5483 self = self;
d84a9306 5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
e6056257
RD
5485 return NULL;
5486 if (_argo0) {
5487 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
5488 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
e6056257
RD
5490 return NULL;
5491 }
5492 }
d84a9306
RD
5493{
5494 _arg2 = wxString_in_helper(_obj2);
5495 if (_arg2 == NULL)
5496 return NULL;
5497}
e6056257 5498{
0e2ff151 5499 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5500 wxListBox_SetString(_arg0,_arg1,*_arg2);
e6056257 5501
0e2ff151 5502 wxPyEndAllowThreads(__tstate);
e6056257 5503 if (PyErr_Occurred()) return NULL;
d84a9306
RD
5504} Py_INCREF(Py_None);
5505 _resultobj = Py_None;
e6056257 5506{
d84a9306
RD
5507 if (_obj2)
5508 delete _arg2;
e6056257
RD
5509}
5510 return _resultobj;
5511}
5512
d84a9306
RD
5513#define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5514static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5515 PyObject * _resultobj;
d84a9306 5516 wxListBox * _arg0;
e6056257 5517 wxString * _arg1;
d84a9306 5518 bool _arg2 = (bool ) TRUE;
e6056257
RD
5519 PyObject * _argo0 = 0;
5520 PyObject * _obj1 = 0;
d84a9306
RD
5521 int tempbool2 = (int) TRUE;
5522 char *_kwnames[] = { "self","string","select", NULL };
e6056257
RD
5523
5524 self = self;
d84a9306 5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
e6056257
RD
5526 return NULL;
5527 if (_argo0) {
5528 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
5529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
e6056257
RD
5531 return NULL;
5532 }
5533 }
5534{
6824d4f9
RD
5535 _arg1 = wxString_in_helper(_obj1);
5536 if (_arg1 == NULL)
e6056257 5537 return NULL;
e6056257 5538}
d84a9306 5539 _arg2 = (bool ) tempbool2;
e6056257 5540{
0e2ff151 5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5542 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
e6056257 5543
0e2ff151 5544 wxPyEndAllowThreads(__tstate);
e6056257
RD
5545 if (PyErr_Occurred()) return NULL;
5546} Py_INCREF(Py_None);
5547 _resultobj = Py_None;
5548{
5549 if (_obj1)
5550 delete _arg1;
5551}
5552 return _resultobj;
5553}
5554
d84a9306
RD
5555static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5556 wxCheckListBox *src;
5557 wxListBox *dest;
5558 src = (wxCheckListBox *) ptr;
5559 dest = (wxListBox *) src;
5560 return (void *) dest;
5561}
5562
5563static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr) {
5564 wxCheckListBox *src;
e6056257 5565 wxControlWithItems *dest;
d84a9306 5566 src = (wxCheckListBox *) ptr;
e6056257
RD
5567 dest = (wxControlWithItems *) src;
5568 return (void *) dest;
5569}
5570
d84a9306
RD
5571static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5572 wxCheckListBox *src;
e6056257 5573 wxControl *dest;
d84a9306 5574 src = (wxCheckListBox *) ptr;
e6056257
RD
5575 dest = (wxControl *) src;
5576 return (void *) dest;
5577}
5578
d84a9306
RD
5579static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5580 wxCheckListBox *src;
e6056257 5581 wxWindow *dest;
d84a9306 5582 src = (wxCheckListBox *) ptr;
e6056257
RD
5583 dest = (wxWindow *) src;
5584 return (void *) dest;
5585}
5586
d84a9306
RD
5587static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5588 wxCheckListBox *src;
e6056257 5589 wxEvtHandler *dest;
d84a9306 5590 src = (wxCheckListBox *) ptr;
e6056257
RD
5591 dest = (wxEvtHandler *) src;
5592 return (void *) dest;
5593}
5594
d84a9306
RD
5595static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5596 wxCheckListBox *src;
e6056257 5597 wxObject *dest;
d84a9306 5598 src = (wxCheckListBox *) ptr;
e6056257
RD
5599 dest = (wxObject *) src;
5600 return (void *) dest;
5601}
5602
d84a9306
RD
5603#define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5604static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5605 PyObject * _resultobj;
d84a9306 5606 wxCheckListBox * _result;
e6056257
RD
5607 wxWindow * _arg0;
5608 wxWindowID _arg1;
5609 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5610 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
d84a9306 5611 int _arg4 = (int ) 0;
e6056257
RD
5612 wxString * _arg5 = (wxString *) NULL;
5613 long _arg6 = (long ) 0;
5614 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 5615 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
e6056257
RD
5616 PyObject * _argo0 = 0;
5617 wxPoint temp;
5618 PyObject * _obj2 = 0;
5619 wxSize temp0;
5620 PyObject * _obj3 = 0;
5621 PyObject * _obj5 = 0;
5622 PyObject * _argo7 = 0;
c3bfa1cb 5623 PyObject * _obj8 = 0;
e6056257
RD
5624 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
5625 char _ptemp[128];
5626
5627 self = self;
d84a9306 5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
5629 return NULL;
5630 if (_argo0) {
5631 if (_argo0 == Py_None) { _arg0 = NULL; }
5632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
d84a9306 5633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
e6056257
RD
5634 return NULL;
5635 }
5636 }
5637 if (_obj2)
5638{
5639 _arg2 = &temp;
5640 if (! wxPoint_helper(_obj2, &_arg2))
5641 return NULL;
5642}
5643 if (_obj3)
5644{
5645 _arg3 = &temp0;
5646 if (! wxSize_helper(_obj3, &_arg3))
5647 return NULL;
5648}
5649 if (_obj5)
5650{
5651 _arg5 = wxString_LIST_helper(_obj5);
5652 if (_arg5 == NULL) {
5653 return NULL;
5654 }
5655}
5656 if (_argo7) {
7108497a 5657 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
d84a9306 5658 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
e6056257
RD
5659 return NULL;
5660 }
5661 }
c3bfa1cb
RD
5662 if (_obj8)
5663{
5664 _arg8 = wxString_in_helper(_obj8);
5665 if (_arg8 == NULL)
5666 return NULL;
5667}
e6056257
RD
5668{
5669 if (_obj5) {
5670 _arg4 = PyList_Size(_obj5);
5671 }
5672 else {
5673 _arg4 = 0;
5674 }
5675}
5676{
0e2ff151 5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5678 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
e6056257 5679
0e2ff151 5680 wxPyEndAllowThreads(__tstate);
e6056257
RD
5681 if (PyErr_Occurred()) return NULL;
5682} if (_result) {
d84a9306 5683 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
e6056257
RD
5684 _resultobj = Py_BuildValue("s",_ptemp);
5685 } else {
5686 Py_INCREF(Py_None);
5687 _resultobj = Py_None;
5688 }
5689{
5690 delete [] _arg5;
c3bfa1cb
RD
5691}
5692{
5693 if (_obj8)
5694 delete _arg8;
e6056257
RD
5695}
5696 return _resultobj;
5697}
5698
d84a9306
RD
5699#define new_wxPreCheckListBox() (new wxCheckListBox())
5700static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5701 PyObject * _resultobj;
d84a9306 5702 wxCheckListBox * _result;
e6056257
RD
5703 char *_kwnames[] = { NULL };
5704 char _ptemp[128];
5705
5706 self = self;
d84a9306 5707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
e6056257
RD
5708 return NULL;
5709{
0e2ff151 5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5711 _result = (wxCheckListBox *)new_wxPreCheckListBox();
e6056257 5712
0e2ff151 5713 wxPyEndAllowThreads(__tstate);
e6056257
RD
5714 if (PyErr_Occurred()) return NULL;
5715} if (_result) {
d84a9306 5716 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
e6056257
RD
5717 _resultobj = Py_BuildValue("s",_ptemp);
5718 } else {
5719 Py_INCREF(Py_None);
5720 _resultobj = Py_None;
5721 }
5722 return _resultobj;
5723}
5724
d84a9306
RD
5725#define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5726static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
5727 PyObject * _resultobj;
5728 bool _result;
d84a9306 5729 wxCheckListBox * _arg0;
e6056257
RD
5730 wxWindow * _arg1;
5731 wxWindowID _arg2;
5732 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5733 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
d84a9306 5734 int _arg5 = (int ) 0;
e6056257
RD
5735 wxString * _arg6 = (wxString *) NULL;
5736 long _arg7 = (long ) 0;
5737 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 5738 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
e6056257
RD
5739 PyObject * _argo0 = 0;
5740 PyObject * _argo1 = 0;
5741 wxPoint temp;
5742 PyObject * _obj3 = 0;
5743 wxSize temp0;
5744 PyObject * _obj4 = 0;
5745 PyObject * _obj6 = 0;
5746 PyObject * _argo8 = 0;
c3bfa1cb 5747 PyObject * _obj9 = 0;
e6056257
RD
5748 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5749
5750 self = self;
d84a9306 5751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
e6056257
RD
5752 return NULL;
5753 if (_argo0) {
5754 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
5755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
e6056257
RD
5757 return NULL;
5758 }
5759 }
5760 if (_argo1) {
5761 if (_argo1 == Py_None) { _arg1 = NULL; }
5762 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
d84a9306 5763 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
e6056257
RD
5764 return NULL;
5765 }
5766 }
5767 if (_obj3)
5768{
5769 _arg3 = &temp;
5770 if (! wxPoint_helper(_obj3, &_arg3))
5771 return NULL;
5772}
5773 if (_obj4)
5774{
5775 _arg4 = &temp0;
5776 if (! wxSize_helper(_obj4, &_arg4))
5777 return NULL;
5778}
5779 if (_obj6)
5780{
5781 _arg6 = wxString_LIST_helper(_obj6);
5782 if (_arg6 == NULL) {
5783 return NULL;
5784 }
5785}
5786 if (_argo8) {
7108497a 5787 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
d84a9306 5788 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
e6056257
RD
5789 return NULL;
5790 }
5791 }
c3bfa1cb
RD
5792 if (_obj9)
5793{
5794 _arg9 = wxString_in_helper(_obj9);
5795 if (_arg9 == NULL)
5796 return NULL;
5797}
e6056257
RD
5798{
5799 if (_obj6) {
5800 _arg5 = PyList_Size(_obj6);
5801 }
5802 else {
5803 _arg5 = 0;
5804 }
5805}
5806{
0e2ff151 5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5808 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
e6056257 5809
0e2ff151 5810 wxPyEndAllowThreads(__tstate);
e6056257
RD
5811 if (PyErr_Occurred()) return NULL;
5812} _resultobj = Py_BuildValue("i",_result);
5813{
5814 delete [] _arg6;
c3bfa1cb
RD
5815}
5816{
5817 if (_obj9)
5818 delete _arg9;
e6056257
RD
5819}
5820 return _resultobj;
5821}
5822
d84a9306
RD
5823#define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5824static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5825 PyObject * _resultobj;
d84a9306
RD
5826 bool _result;
5827 wxCheckListBox * _arg0;
5828 int _arg1;
e6056257 5829 PyObject * _argo0 = 0;
d84a9306 5830 char *_kwnames[] = { "self","uiIndex", NULL };
e6056257
RD
5831
5832 self = self;
d84a9306 5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
e6056257
RD
5834 return NULL;
5835 if (_argo0) {
5836 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
5837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
e6056257
RD
5839 return NULL;
5840 }
5841 }
5842{
0e2ff151 5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5844 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
e6056257 5845
0e2ff151 5846 wxPyEndAllowThreads(__tstate);
e6056257 5847 if (PyErr_Occurred()) return NULL;
d84a9306 5848} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
5849 return _resultobj;
5850}
5851
d84a9306
RD
5852#define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5853static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5854 PyObject * _resultobj;
d84a9306 5855 wxCheckListBox * _arg0;
e6056257 5856 int _arg1;
d84a9306 5857 int _arg2 = (int ) TRUE;
e6056257 5858 PyObject * _argo0 = 0;
d84a9306 5859 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
e6056257
RD
5860
5861 self = self;
d84a9306 5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
e6056257
RD
5863 return NULL;
5864 if (_argo0) {
5865 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
5866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
e6056257
RD
5868 return NULL;
5869 }
5870 }
5871{
0e2ff151 5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5873 wxCheckListBox_Check(_arg0,_arg1,_arg2);
e6056257 5874
0e2ff151 5875 wxPyEndAllowThreads(__tstate);
e6056257
RD
5876 if (PyErr_Occurred()) return NULL;
5877} Py_INCREF(Py_None);
5878 _resultobj = Py_None;
5879 return _resultobj;
5880}
5881
d84a9306
RD
5882#define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5883static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5884 PyObject * _resultobj;
d84a9306 5885 wxCheckListBox * _arg0;
e6056257
RD
5886 int _arg1;
5887 wxString * _arg2;
5888 int _arg3;
5889 PyObject * _argo0 = 0;
5890 PyObject * _obj2 = 0;
5891 char *_kwnames[] = { "self","choices","pos", NULL };
5892
5893 self = self;
d84a9306 5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
e6056257
RD
5895 return NULL;
5896 if (_argo0) {
5897 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
5898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
e6056257
RD
5900 return NULL;
5901 }
5902 }
5903{
5904 _arg2 = wxString_LIST_helper(_obj2);
5905 if (_arg2 == NULL) {
5906 return NULL;
5907 }
5908}
5909{
5910 if (_obj2) {
5911 _arg1 = PyList_Size(_obj2);
5912 }
5913 else {
5914 _arg1 = 0;
5915 }
5916}
5917{
0e2ff151 5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5919 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
e6056257 5920
0e2ff151 5921 wxPyEndAllowThreads(__tstate);
e6056257
RD
5922 if (PyErr_Occurred()) return NULL;
5923} Py_INCREF(Py_None);
5924 _resultobj = Py_None;
5925{
5926 delete [] _arg2;
5927}
5928 return _resultobj;
5929}
5930
d84a9306
RD
5931#define wxCheckListBox_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5932static PyObject *_wrap_wxCheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5933 PyObject * _resultobj;
d84a9306
RD
5934 int _result;
5935 wxCheckListBox * _arg0;
5936 wxPoint * _arg1;
e6056257 5937 PyObject * _argo0 = 0;
d84a9306
RD
5938 wxPoint temp;
5939 PyObject * _obj1 = 0;
5940 char *_kwnames[] = { "self","pt", NULL };
e6056257
RD
5941
5942 self = self;
d84a9306 5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCheckListBox_HitTest",_kwnames,&_argo0,&_obj1))
e6056257
RD
5944 return NULL;
5945 if (_argo0) {
5946 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
5947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p.");
e6056257
RD
5949 return NULL;
5950 }
5951 }
d84a9306
RD
5952{
5953 _arg1 = &temp;
5954 if (! wxPoint_helper(_obj1, &_arg1))
5955 return NULL;
5956}
e6056257 5957{
0e2ff151 5958 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5959 _result = (int )wxCheckListBox_HitTest(_arg0,*_arg1);
e6056257 5960
0e2ff151 5961 wxPyEndAllowThreads(__tstate);
e6056257
RD
5962 if (PyErr_Occurred()) return NULL;
5963} _resultobj = Py_BuildValue("i",_result);
5964 return _resultobj;
5965}
5966
d84a9306
RD
5967#define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
5968static PyObject *_wrap_wxCheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5969 PyObject * _resultobj;
d84a9306
RD
5970 int _result;
5971 wxCheckListBox * _arg0;
5972 wxCoord _arg1;
5973 wxCoord _arg2;
e6056257 5974 PyObject * _argo0 = 0;
d84a9306 5975 char *_kwnames[] = { "self","x","y", NULL };
e6056257
RD
5976
5977 self = self;
d84a9306 5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCheckListBox_HitTestXY",_kwnames,&_argo0,&_arg1,&_arg2))
e6056257
RD
5979 return NULL;
5980 if (_argo0) {
5981 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
5982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p.");
e6056257
RD
5984 return NULL;
5985 }
5986 }
5987{
0e2ff151 5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 5989 _result = (int )wxCheckListBox_HitTestXY(_arg0,_arg1,_arg2);
e6056257 5990
0e2ff151 5991 wxPyEndAllowThreads(__tstate);
e6056257
RD
5992 if (PyErr_Occurred()) return NULL;
5993} _resultobj = Py_BuildValue("i",_result);
5994 return _resultobj;
5995}
5996
d84a9306
RD
5997#define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5998static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 5999 PyObject * _resultobj;
d84a9306
RD
6000 wxTextAttr * _result;
6001 wxColour * _arg0 = (wxColour *) &wxNullColour;
6002 wxColour * _arg1 = (wxColour *) &wxNullColour;
6003 wxFont * _arg2 = (wxFont *) &wxNullFont;
6004 wxTextAttrAlignment _arg3 = (wxTextAttrAlignment ) (wxTEXT_ALIGNMENT_DEFAULT);
6005 wxColour temp;
6006 PyObject * _obj0 = 0;
6007 wxColour temp0;
6008 PyObject * _obj1 = 0;
6009 PyObject * _argo2 = 0;
6010 char *_kwnames[] = { "colText","colBack","font","alignment", NULL };
6011 char _ptemp[128];
6012
6013 self = self;
6014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOOi:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2,&_arg3))
6015 return NULL;
6016 if (_obj0)
6017{
6018 _arg0 = &temp;
6019 if (! wxColour_helper(_obj0, &_arg0))
6020 return NULL;
6021}
6022 if (_obj1)
6023{
6024 _arg1 = &temp0;
6025 if (! wxColour_helper(_obj1, &_arg1))
6026 return NULL;
6027}
6028 if (_argo2) {
6029 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
6030 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
6031 return NULL;
6032 }
6033 }
6034{
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2,_arg3);
6037
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) return NULL;
6040} if (_result) {
6041 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
6042 _resultobj = Py_BuildValue("s",_ptemp);
6043 } else {
6044 Py_INCREF(Py_None);
6045 _resultobj = Py_None;
6046 }
6047 return _resultobj;
6048}
6049
6050#define delete_wxTextAttr(_swigobj) (delete _swigobj)
6051static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6052 PyObject * _resultobj;
6053 wxTextAttr * _arg0;
e6056257 6054 PyObject * _argo0 = 0;
d84a9306 6055 char *_kwnames[] = { "self", NULL };
e6056257
RD
6056
6057 self = self;
d84a9306 6058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
e6056257
RD
6059 return NULL;
6060 if (_argo0) {
6061 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
e6056257
RD
6064 return NULL;
6065 }
6066 }
e6056257 6067{
0e2ff151 6068 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6069 delete_wxTextAttr(_arg0);
e6056257 6070
0e2ff151 6071 wxPyEndAllowThreads(__tstate);
e6056257
RD
6072 if (PyErr_Occurred()) return NULL;
6073} Py_INCREF(Py_None);
6074 _resultobj = Py_None;
e6056257
RD
6075 return _resultobj;
6076}
6077
d84a9306
RD
6078#define wxTextAttr_Init(_swigobj) (_swigobj->Init())
6079static PyObject *_wrap_wxTextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6080 PyObject * _resultobj;
d84a9306 6081 wxTextAttr * _arg0;
e6056257 6082 PyObject * _argo0 = 0;
d84a9306 6083 char *_kwnames[] = { "self", NULL };
e6056257
RD
6084
6085 self = self;
d84a9306 6086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_Init",_kwnames,&_argo0))
e6056257
RD
6087 return NULL;
6088 if (_argo0) {
6089 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Init. Expected _wxTextAttr_p.");
e6056257
RD
6092 return NULL;
6093 }
6094 }
6095{
0e2ff151 6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6097 wxTextAttr_Init(_arg0);
e6056257 6098
0e2ff151 6099 wxPyEndAllowThreads(__tstate);
e6056257
RD
6100 if (PyErr_Occurred()) return NULL;
6101} Py_INCREF(Py_None);
6102 _resultobj = Py_None;
6103 return _resultobj;
6104}
6105
d84a9306
RD
6106#define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6107static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6108 PyObject * _resultobj;
d84a9306
RD
6109 wxTextAttr * _arg0;
6110 wxColour * _arg1;
e6056257 6111 PyObject * _argo0 = 0;
d84a9306 6112 wxColour temp;
e6056257 6113 PyObject * _obj1 = 0;
d84a9306 6114 char *_kwnames[] = { "self","colText", NULL };
e6056257
RD
6115
6116 self = self;
d84a9306 6117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
e6056257
RD
6118 return NULL;
6119 if (_argo0) {
6120 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
e6056257
RD
6123 return NULL;
6124 }
6125 }
6126{
d84a9306
RD
6127 _arg1 = &temp;
6128 if (! wxColour_helper(_obj1, &_arg1))
e6056257 6129 return NULL;
e6056257
RD
6130}
6131{
0e2ff151 6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6133 wxTextAttr_SetTextColour(_arg0,*_arg1);
e6056257 6134
0e2ff151 6135 wxPyEndAllowThreads(__tstate);
e6056257
RD
6136 if (PyErr_Occurred()) return NULL;
6137} Py_INCREF(Py_None);
6138 _resultobj = Py_None;
e6056257
RD
6139 return _resultobj;
6140}
6141
d84a9306
RD
6142#define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
6143static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6144 PyObject * _resultobj;
d84a9306
RD
6145 wxTextAttr * _arg0;
6146 wxColour * _arg1;
e6056257 6147 PyObject * _argo0 = 0;
d84a9306
RD
6148 wxColour temp;
6149 PyObject * _obj1 = 0;
6150 char *_kwnames[] = { "self","colBack", NULL };
e6056257
RD
6151
6152 self = self;
d84a9306 6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
e6056257
RD
6154 return NULL;
6155 if (_argo0) {
6156 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6157 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6158 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
e6056257
RD
6159 return NULL;
6160 }
6161 }
d84a9306
RD
6162{
6163 _arg1 = &temp;
6164 if (! wxColour_helper(_obj1, &_arg1))
6165 return NULL;
6166}
e6056257 6167{
0e2ff151 6168 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6169 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
e6056257 6170
0e2ff151 6171 wxPyEndAllowThreads(__tstate);
e6056257
RD
6172 if (PyErr_Occurred()) return NULL;
6173} Py_INCREF(Py_None);
6174 _resultobj = Py_None;
6175 return _resultobj;
6176}
6177
d84a9306
RD
6178#define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6179static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6180 PyObject * _resultobj;
d84a9306
RD
6181 wxTextAttr * _arg0;
6182 wxFont * _arg1;
e6056257 6183 PyObject * _argo0 = 0;
d84a9306
RD
6184 PyObject * _argo1 = 0;
6185 char *_kwnames[] = { "self","font", NULL };
e6056257
RD
6186
6187 self = self;
d84a9306 6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
e6056257
RD
6189 return NULL;
6190 if (_argo0) {
6191 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
e6056257
RD
6194 return NULL;
6195 }
6196 }
d84a9306
RD
6197 if (_argo1) {
6198 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
6199 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
e6056257 6200 return NULL;
d84a9306
RD
6201 }
6202 }
e6056257 6203{
0e2ff151 6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6205 wxTextAttr_SetFont(_arg0,*_arg1);
e6056257 6206
0e2ff151 6207 wxPyEndAllowThreads(__tstate);
e6056257
RD
6208 if (PyErr_Occurred()) return NULL;
6209} Py_INCREF(Py_None);
6210 _resultobj = Py_None;
e6056257
RD
6211 return _resultobj;
6212}
6213
d84a9306
RD
6214#define wxTextAttr_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
6215static PyObject *_wrap_wxTextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6216 PyObject * _resultobj;
d84a9306
RD
6217 wxTextAttr * _arg0;
6218 wxTextAttrAlignment _arg1;
e6056257 6219 PyObject * _argo0 = 0;
d84a9306 6220 char *_kwnames[] = { "self","alignment", NULL };
e6056257
RD
6221
6222 self = self;
d84a9306 6223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetAlignment",_kwnames,&_argo0,&_arg1))
e6056257
RD
6224 return NULL;
6225 if (_argo0) {
6226 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetAlignment. Expected _wxTextAttr_p.");
e6056257
RD
6229 return NULL;
6230 }
6231 }
e6056257 6232{
0e2ff151 6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6234 wxTextAttr_SetAlignment(_arg0,_arg1);
e6056257 6235
0e2ff151 6236 wxPyEndAllowThreads(__tstate);
e6056257
RD
6237 if (PyErr_Occurred()) return NULL;
6238} Py_INCREF(Py_None);
6239 _resultobj = Py_None;
e6056257
RD
6240 return _resultobj;
6241}
6242
d84a9306
RD
6243#define wxTextAttr_SetTabs(_swigobj,_swigarg0) (_swigobj->SetTabs(_swigarg0))
6244static PyObject *_wrap_wxTextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6245 PyObject * _resultobj;
d84a9306
RD
6246 wxTextAttr * _arg0;
6247 wxArrayInt * _arg1;
e6056257 6248 PyObject * _argo0 = 0;
d84a9306
RD
6249 PyObject * _obj1 = 0;
6250 char *_kwnames[] = { "self","tabs", NULL };
e6056257
RD
6251
6252 self = self;
d84a9306 6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTabs",_kwnames,&_argo0,&_obj1))
e6056257 6254 return NULL;
d84a9306
RD
6255 if (_argo0) {
6256 if (_argo0 == Py_None) { _arg0 = NULL; }
6257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTabs. Expected _wxTextAttr_p.");
e6056257
RD
6259 return NULL;
6260 }
6261 }
c3bfa1cb 6262{
d84a9306
RD
6263 if (! PySequence_Check(_obj1)) {
6264 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
c3bfa1cb 6265 return NULL;
e6056257 6266 }
d84a9306
RD
6267 _arg1 = new wxArrayInt;
6268 int i, len=PySequence_Length(_obj1);
6269 for (i=0; i<len; i++) {
6270 PyObject* item = PySequence_GetItem(_obj1, i);
6271 PyObject* number = PyNumber_Int(item);
6272 _arg1->Add(PyInt_AS_LONG(number));
6273 Py_DECREF(item);
6274 Py_DECREF(number);
e6056257
RD
6275 }
6276}
6277{
0e2ff151 6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6279 wxTextAttr_SetTabs(_arg0,*_arg1);
e6056257 6280
0e2ff151 6281 wxPyEndAllowThreads(__tstate);
e6056257 6282 if (PyErr_Occurred()) return NULL;
d84a9306
RD
6283} Py_INCREF(Py_None);
6284 _resultobj = Py_None;
c3bfa1cb 6285{
d84a9306
RD
6286 if (_obj1)
6287 delete _arg1;
e6056257
RD
6288}
6289 return _resultobj;
6290}
6291
d84a9306
RD
6292#define wxTextAttr_SetLeftIndent(_swigobj,_swigarg0) (_swigobj->SetLeftIndent(_swigarg0))
6293static PyObject *_wrap_wxTextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6294 PyObject * _resultobj;
d84a9306
RD
6295 wxTextAttr * _arg0;
6296 int _arg1;
6297 PyObject * _argo0 = 0;
6298 char *_kwnames[] = { "self","indent", NULL };
e6056257
RD
6299
6300 self = self;
d84a9306
RD
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetLeftIndent",_kwnames,&_argo0,&_arg1))
6302 return NULL;
6303 if (_argo0) {
6304 if (_argo0 == Py_None) { _arg0 = NULL; }
6305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetLeftIndent. Expected _wxTextAttr_p.");
e6056257 6307 return NULL;
d84a9306
RD
6308 }
6309 }
e6056257 6310{
0e2ff151 6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6312 wxTextAttr_SetLeftIndent(_arg0,_arg1);
e6056257 6313
0e2ff151 6314 wxPyEndAllowThreads(__tstate);
e6056257 6315 if (PyErr_Occurred()) return NULL;
d84a9306
RD
6316} Py_INCREF(Py_None);
6317 _resultobj = Py_None;
e6056257
RD
6318 return _resultobj;
6319}
6320
d84a9306
RD
6321#define wxTextAttr_SetRightIndent(_swigobj,_swigarg0) (_swigobj->SetRightIndent(_swigarg0))
6322static PyObject *_wrap_wxTextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6323 PyObject * _resultobj;
d84a9306
RD
6324 wxTextAttr * _arg0;
6325 int _arg1;
e6056257 6326 PyObject * _argo0 = 0;
d84a9306 6327 char *_kwnames[] = { "self","indent", NULL };
e6056257
RD
6328
6329 self = self;
d84a9306 6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetRightIndent",_kwnames,&_argo0,&_arg1))
e6056257
RD
6331 return NULL;
6332 if (_argo0) {
6333 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6334 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6335 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetRightIndent. Expected _wxTextAttr_p.");
e6056257
RD
6336 return NULL;
6337 }
6338 }
e6056257 6339{
d84a9306
RD
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 wxTextAttr_SetRightIndent(_arg0,_arg1);
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) return NULL;
6345} Py_INCREF(Py_None);
6346 _resultobj = Py_None;
6347 return _resultobj;
e6056257 6348}
d84a9306
RD
6349
6350#define wxTextAttr_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
6351static PyObject *_wrap_wxTextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6352 PyObject * _resultobj;
6353 wxTextAttr * _arg0;
6354 long _arg1;
6355 PyObject * _argo0 = 0;
6356 char *_kwnames[] = { "self","flags", NULL };
6357
6358 self = self;
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextAttr_SetFlags",_kwnames,&_argo0,&_arg1))
e6056257 6360 return NULL;
d84a9306
RD
6361 if (_argo0) {
6362 if (_argo0 == Py_None) { _arg0 = NULL; }
6363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFlags. Expected _wxTextAttr_p.");
e6056257
RD
6365 return NULL;
6366 }
6367 }
e6056257 6368{
0e2ff151 6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6370 wxTextAttr_SetFlags(_arg0,_arg1);
e6056257 6371
0e2ff151 6372 wxPyEndAllowThreads(__tstate);
e6056257 6373 if (PyErr_Occurred()) return NULL;
d84a9306
RD
6374} Py_INCREF(Py_None);
6375 _resultobj = Py_None;
e6056257
RD
6376 return _resultobj;
6377}
6378
d84a9306
RD
6379#define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6380static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
6381 PyObject * _resultobj;
6382 bool _result;
d84a9306 6383 wxTextAttr * _arg0;
e6056257 6384 PyObject * _argo0 = 0;
d84a9306 6385 char *_kwnames[] = { "self", NULL };
e6056257
RD
6386
6387 self = self;
d84a9306 6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
e6056257
RD
6389 return NULL;
6390 if (_argo0) {
6391 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
e6056257
RD
6394 return NULL;
6395 }
6396 }
6397{
0e2ff151 6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6399 _result = (bool )wxTextAttr_HasTextColour(_arg0);
e6056257 6400
0e2ff151 6401 wxPyEndAllowThreads(__tstate);
e6056257
RD
6402 if (PyErr_Occurred()) return NULL;
6403} _resultobj = Py_BuildValue("i",_result);
6404 return _resultobj;
6405}
6406
d84a9306
RD
6407#define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6408static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6409 PyObject * _resultobj;
d84a9306
RD
6410 bool _result;
6411 wxTextAttr * _arg0;
e6056257 6412 PyObject * _argo0 = 0;
d84a9306 6413 char *_kwnames[] = { "self", NULL };
e6056257
RD
6414
6415 self = self;
d84a9306 6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
e6056257
RD
6417 return NULL;
6418 if (_argo0) {
6419 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
e6056257
RD
6422 return NULL;
6423 }
6424 }
6425{
0e2ff151 6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6427 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
e6056257 6428
0e2ff151 6429 wxPyEndAllowThreads(__tstate);
e6056257 6430 if (PyErr_Occurred()) return NULL;
d84a9306 6431} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
6432 return _resultobj;
6433}
6434
d84a9306
RD
6435#define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6436static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6437 PyObject * _resultobj;
d84a9306
RD
6438 bool _result;
6439 wxTextAttr * _arg0;
e6056257 6440 PyObject * _argo0 = 0;
d84a9306 6441 char *_kwnames[] = { "self", NULL };
e6056257
RD
6442
6443 self = self;
d84a9306 6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
e6056257
RD
6445 return NULL;
6446 if (_argo0) {
6447 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
e6056257
RD
6450 return NULL;
6451 }
6452 }
e6056257 6453{
0e2ff151 6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6455 _result = (bool )wxTextAttr_HasFont(_arg0);
e6056257 6456
0e2ff151 6457 wxPyEndAllowThreads(__tstate);
e6056257 6458 if (PyErr_Occurred()) return NULL;
d84a9306 6459} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
6460 return _resultobj;
6461}
6462
d84a9306
RD
6463#define wxTextAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
6464static PyObject *_wrap_wxTextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
3e1f6ec4 6465 PyObject * _resultobj;
d84a9306
RD
6466 bool _result;
6467 wxTextAttr * _arg0;
3e1f6ec4 6468 PyObject * _argo0 = 0;
d84a9306 6469 char *_kwnames[] = { "self", NULL };
3e1f6ec4
RD
6470
6471 self = self;
d84a9306 6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasAlignment",_kwnames,&_argo0))
3e1f6ec4
RD
6473 return NULL;
6474 if (_argo0) {
6475 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasAlignment. Expected _wxTextAttr_p.");
3e1f6ec4
RD
6478 return NULL;
6479 }
d84a9306 6480 }
3e1f6ec4
RD
6481{
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6483 _result = (bool )wxTextAttr_HasAlignment(_arg0);
3e1f6ec4
RD
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) return NULL;
6487} _resultobj = Py_BuildValue("i",_result);
6488 return _resultobj;
6489}
6490
d84a9306
RD
6491#define wxTextAttr_HasTabs(_swigobj) (_swigobj->HasTabs())
6492static PyObject *_wrap_wxTextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3e1f6ec4 6493 PyObject * _resultobj;
d84a9306
RD
6494 bool _result;
6495 wxTextAttr * _arg0;
3e1f6ec4 6496 PyObject * _argo0 = 0;
d84a9306 6497 char *_kwnames[] = { "self", NULL };
3e1f6ec4
RD
6498
6499 self = self;
d84a9306 6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTabs",_kwnames,&_argo0))
3e1f6ec4
RD
6501 return NULL;
6502 if (_argo0) {
6503 if (_argo0 == Py_None) { _arg0 = NULL; }
d84a9306
RD
6504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTabs. Expected _wxTextAttr_p.");
3e1f6ec4
RD
6506 return NULL;
6507 }
6508 }
6509{
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6511 _result = (bool )wxTextAttr_HasTabs(_arg0);
3e1f6ec4
RD
6512
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) return NULL;
6515} _resultobj = Py_BuildValue("i",_result);
6516 return _resultobj;
6517}
6518
d84a9306
RD
6519#define wxTextAttr_HasLeftIndent(_swigobj) (_swigobj->HasLeftIndent())
6520static PyObject *_wrap_wxTextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6521 PyObject * _resultobj;
d84a9306
RD
6522 bool _result;
6523 wxTextAttr * _arg0;
6524 PyObject * _argo0 = 0;
6525 char *_kwnames[] = { "self", NULL };
e6056257
RD
6526
6527 self = self;
d84a9306 6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasLeftIndent",_kwnames,&_argo0))
e6056257 6529 return NULL;
d84a9306
RD
6530 if (_argo0) {
6531 if (_argo0 == Py_None) { _arg0 = NULL; }
6532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasLeftIndent. Expected _wxTextAttr_p.");
e6056257
RD
6534 return NULL;
6535 }
6536 }
6537{
0e2ff151 6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6539 _result = (bool )wxTextAttr_HasLeftIndent(_arg0);
e6056257 6540
0e2ff151 6541 wxPyEndAllowThreads(__tstate);
e6056257 6542 if (PyErr_Occurred()) return NULL;
d84a9306 6543} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
6544 return _resultobj;
6545}
6546
d84a9306
RD
6547#define wxTextAttr_HasRightIndent(_swigobj) (_swigobj->HasRightIndent())
6548static PyObject *_wrap_wxTextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6549 PyObject * _resultobj;
d84a9306 6550 bool _result;
e6056257
RD
6551 wxTextAttr * _arg0;
6552 PyObject * _argo0 = 0;
6553 char *_kwnames[] = { "self", NULL };
6554
6555 self = self;
d84a9306 6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasRightIndent",_kwnames,&_argo0))
e6056257
RD
6557 return NULL;
6558 if (_argo0) {
6559 if (_argo0 == Py_None) { _arg0 = NULL; }
6560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
d84a9306 6561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasRightIndent. Expected _wxTextAttr_p.");
e6056257
RD
6562 return NULL;
6563 }
6564 }
6565{
0e2ff151 6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6567 _result = (bool )wxTextAttr_HasRightIndent(_arg0);
e6056257 6568
0e2ff151 6569 wxPyEndAllowThreads(__tstate);
e6056257 6570 if (PyErr_Occurred()) return NULL;
d84a9306 6571} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
6572 return _resultobj;
6573}
6574
d84a9306
RD
6575#define wxTextAttr_HasFlag(_swigobj,_swigarg0) (_swigobj->HasFlag(_swigarg0))
6576static PyObject *_wrap_wxTextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6577 PyObject * _resultobj;
d84a9306 6578 bool _result;
e6056257 6579 wxTextAttr * _arg0;
d84a9306 6580 long _arg1;
e6056257 6581 PyObject * _argo0 = 0;
d84a9306 6582 char *_kwnames[] = { "self","flag", NULL };
e6056257
RD
6583
6584 self = self;
d84a9306 6585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextAttr_HasFlag",_kwnames,&_argo0,&_arg1))
e6056257
RD
6586 return NULL;
6587 if (_argo0) {
6588 if (_argo0 == Py_None) { _arg0 = NULL; }
6589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
d84a9306 6590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFlag. Expected _wxTextAttr_p.");
e6056257
RD
6591 return NULL;
6592 }
6593 }
e6056257 6594{
0e2ff151 6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6596 _result = (bool )wxTextAttr_HasFlag(_arg0,_arg1);
e6056257 6597
0e2ff151 6598 wxPyEndAllowThreads(__tstate);
e6056257 6599 if (PyErr_Occurred()) return NULL;
d84a9306 6600} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
6601 return _resultobj;
6602}
6603
d84a9306
RD
6604#define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6605static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6606 PyObject * _resultobj;
d84a9306 6607 wxColour * _result;
e6056257 6608 wxTextAttr * _arg0;
e6056257 6609 PyObject * _argo0 = 0;
d84a9306
RD
6610 char *_kwnames[] = { "self", NULL };
6611 char _ptemp[128];
e6056257
RD
6612
6613 self = self;
d84a9306 6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
e6056257
RD
6615 return NULL;
6616 if (_argo0) {
6617 if (_argo0 == Py_None) { _arg0 = NULL; }
6618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
d84a9306 6619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
e6056257
RD
6620 return NULL;
6621 }
6622 }
e6056257 6623{
0e2ff151 6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6625 _result = new wxColour (wxTextAttr_GetTextColour(_arg0));
e6056257 6626
0e2ff151 6627 wxPyEndAllowThreads(__tstate);
e6056257 6628 if (PyErr_Occurred()) return NULL;
d84a9306
RD
6629} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6630 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
6631 return _resultobj;
6632}
6633
d84a9306
RD
6634#define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6635static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6636 PyObject * _resultobj;
d84a9306 6637 wxColour * _result;
e6056257 6638 wxTextAttr * _arg0;
e6056257 6639 PyObject * _argo0 = 0;
d84a9306
RD
6640 char *_kwnames[] = { "self", NULL };
6641 char _ptemp[128];
e6056257
RD
6642
6643 self = self;
d84a9306 6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
e6056257
RD
6645 return NULL;
6646 if (_argo0) {
6647 if (_argo0 == Py_None) { _arg0 = NULL; }
6648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
d84a9306 6649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
e6056257
RD
6650 return NULL;
6651 }
6652 }
6653{
0e2ff151 6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6655 _result = new wxColour (wxTextAttr_GetBackgroundColour(_arg0));
e6056257 6656
0e2ff151 6657 wxPyEndAllowThreads(__tstate);
e6056257 6658 if (PyErr_Occurred()) return NULL;
d84a9306
RD
6659} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6660 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
6661 return _resultobj;
6662}
6663
d84a9306
RD
6664#define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6665static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6666 PyObject * _resultobj;
d84a9306 6667 wxFont * _result;
e6056257
RD
6668 wxTextAttr * _arg0;
6669 PyObject * _argo0 = 0;
6670 char *_kwnames[] = { "self", NULL };
d84a9306 6671 char _ptemp[128];
e6056257
RD
6672
6673 self = self;
d84a9306 6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
e6056257
RD
6675 return NULL;
6676 if (_argo0) {
6677 if (_argo0 == Py_None) { _arg0 = NULL; }
6678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
d84a9306 6679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
e6056257
RD
6680 return NULL;
6681 }
6682 }
6683{
0e2ff151 6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6685 _result = new wxFont (wxTextAttr_GetFont(_arg0));
e6056257 6686
0e2ff151 6687 wxPyEndAllowThreads(__tstate);
e6056257 6688 if (PyErr_Occurred()) return NULL;
d84a9306
RD
6689} SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
6690 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
6691 return _resultobj;
6692}
6693
d84a9306
RD
6694#define wxTextAttr_GetAlignment(_swigobj) (_swigobj->GetAlignment())
6695static PyObject *_wrap_wxTextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6696 PyObject * _resultobj;
d84a9306 6697 wxTextAttrAlignment _result;
e6056257
RD
6698 wxTextAttr * _arg0;
6699 PyObject * _argo0 = 0;
6700 char *_kwnames[] = { "self", NULL };
6701
6702 self = self;
d84a9306 6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetAlignment",_kwnames,&_argo0))
e6056257
RD
6704 return NULL;
6705 if (_argo0) {
6706 if (_argo0 == Py_None) { _arg0 = NULL; }
6707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
d84a9306 6708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetAlignment. Expected _wxTextAttr_p.");
e6056257
RD
6709 return NULL;
6710 }
6711 }
6712{
0e2ff151 6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6714 _result = (wxTextAttrAlignment )wxTextAttr_GetAlignment(_arg0);
e6056257 6715
0e2ff151 6716 wxPyEndAllowThreads(__tstate);
e6056257
RD
6717 if (PyErr_Occurred()) return NULL;
6718} _resultobj = Py_BuildValue("i",_result);
6719 return _resultobj;
6720}
6721
d84a9306
RD
6722#define wxTextAttr_GetTabs(_swigobj) (_swigobj->GetTabs())
6723static PyObject *_wrap_wxTextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6724 PyObject * _resultobj;
d84a9306 6725 wxArrayInt * _result;
e6056257
RD
6726 wxTextAttr * _arg0;
6727 PyObject * _argo0 = 0;
6728 char *_kwnames[] = { "self", NULL };
6729
6730 self = self;
d84a9306 6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTabs",_kwnames,&_argo0))
e6056257
RD
6732 return NULL;
6733 if (_argo0) {
6734 if (_argo0 == Py_None) { _arg0 = NULL; }
6735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
d84a9306 6736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTabs. Expected _wxTextAttr_p.");
e6056257
RD
6737 return NULL;
6738 }
6739 }
6740{
0e2ff151 6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306
RD
6742 const wxArrayInt & _result_ref = wxTextAttr_GetTabs(_arg0);
6743 _result = (wxArrayInt *) &_result_ref;
e6056257 6744
0e2ff151 6745 wxPyEndAllowThreads(__tstate);
e6056257 6746 if (PyErr_Occurred()) return NULL;
d84a9306
RD
6747}{
6748 _resultobj = PyList_New(0);
6749 size_t idx;
6750 for (idx = 0; idx < _result->GetCount(); idx += 1) {
6751 PyObject* val = PyInt_FromLong(_result->Item(idx));
6752 PyList_Append(_resultobj, val);
6753 Py_DECREF(val);
6754 }
6755}
e6056257
RD
6756 return _resultobj;
6757}
6758
d84a9306
RD
6759#define wxTextAttr_GetLeftIndent(_swigobj) (_swigobj->GetLeftIndent())
6760static PyObject *_wrap_wxTextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6761 PyObject * _resultobj;
d84a9306 6762 long _result;
e6056257
RD
6763 wxTextAttr * _arg0;
6764 PyObject * _argo0 = 0;
6765 char *_kwnames[] = { "self", NULL };
e6056257
RD
6766
6767 self = self;
d84a9306 6768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetLeftIndent",_kwnames,&_argo0))
e6056257
RD
6769 return NULL;
6770 if (_argo0) {
6771 if (_argo0 == Py_None) { _arg0 = NULL; }
6772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
d84a9306 6773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetLeftIndent. Expected _wxTextAttr_p.");
e6056257
RD
6774 return NULL;
6775 }
6776 }
6777{
0e2ff151 6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6779 _result = (long )wxTextAttr_GetLeftIndent(_arg0);
e6056257 6780
0e2ff151 6781 wxPyEndAllowThreads(__tstate);
e6056257 6782 if (PyErr_Occurred()) return NULL;
d84a9306 6783} _resultobj = Py_BuildValue("l",_result);
e6056257
RD
6784 return _resultobj;
6785}
6786
d84a9306
RD
6787#define wxTextAttr_GetRightIndent(_swigobj) (_swigobj->GetRightIndent())
6788static PyObject *_wrap_wxTextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6789 PyObject * _resultobj;
d84a9306 6790 long _result;
e6056257
RD
6791 wxTextAttr * _arg0;
6792 PyObject * _argo0 = 0;
6793 char *_kwnames[] = { "self", NULL };
e6056257
RD
6794
6795 self = self;
d84a9306 6796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetRightIndent",_kwnames,&_argo0))
e6056257
RD
6797 return NULL;
6798 if (_argo0) {
6799 if (_argo0 == Py_None) { _arg0 = NULL; }
6800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
d84a9306 6801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetRightIndent. Expected _wxTextAttr_p.");
e6056257
RD
6802 return NULL;
6803 }
6804 }
6805{
0e2ff151 6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6807 _result = (long )wxTextAttr_GetRightIndent(_arg0);
e6056257 6808
0e2ff151 6809 wxPyEndAllowThreads(__tstate);
e6056257 6810 if (PyErr_Occurred()) return NULL;
d84a9306 6811} _resultobj = Py_BuildValue("l",_result);
e6056257
RD
6812 return _resultobj;
6813}
6814
d84a9306
RD
6815#define wxTextAttr_GetFlags(_swigobj) (_swigobj->GetFlags())
6816static PyObject *_wrap_wxTextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 6817 PyObject * _resultobj;
d84a9306 6818 long _result;
e6056257
RD
6819 wxTextAttr * _arg0;
6820 PyObject * _argo0 = 0;
6821 char *_kwnames[] = { "self", NULL };
e6056257
RD
6822
6823 self = self;
d84a9306 6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFlags",_kwnames,&_argo0))
e6056257
RD
6825 return NULL;
6826 if (_argo0) {
6827 if (_argo0 == Py_None) { _arg0 = NULL; }
6828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
d84a9306 6829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFlags. Expected _wxTextAttr_p.");
e6056257
RD
6830 return NULL;
6831 }
6832 }
6833{
0e2ff151 6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
d84a9306 6835 _result = (long )wxTextAttr_GetFlags(_arg0);
e6056257 6836
0e2ff151 6837 wxPyEndAllowThreads(__tstate);
e6056257 6838 if (PyErr_Occurred()) return NULL;
d84a9306 6839} _resultobj = Py_BuildValue("l",_result);
e6056257
RD
6840 return _resultobj;
6841}
6842
742fc581
RD
6843#define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6844static PyObject *_wrap_wxTextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6845 PyObject * _resultobj;
6846 bool _result;
6847 wxTextAttr * _arg0;
6848 PyObject * _argo0 = 0;
6849 char *_kwnames[] = { "self", NULL };
6850
6851 self = self;
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_IsDefault",_kwnames,&_argo0))
6853 return NULL;
6854 if (_argo0) {
6855 if (_argo0 == Py_None) { _arg0 = NULL; }
6856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6858 return NULL;
6859 }
6860 }
6861{
0e2ff151 6862 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6863 _result = (bool )wxTextAttr_IsDefault(_arg0);
742fc581 6864
0e2ff151 6865 wxPyEndAllowThreads(__tstate);
742fc581
RD
6866 if (PyErr_Occurred()) return NULL;
6867} _resultobj = Py_BuildValue("i",_result);
6868 return _resultobj;
6869}
6870
dbd3685c
RD
6871static PyObject *_wrap_wxTextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6872 PyObject * _resultobj;
6873 wxTextAttr * _result;
6874 wxTextAttr * _arg0;
6875 wxTextAttr * _arg1;
6876 wxTextCtrl * _arg2;
6877 PyObject * _argo0 = 0;
6878 PyObject * _argo1 = 0;
6879 PyObject * _argo2 = 0;
6880 char *_kwnames[] = { "attr","attrDef","text", NULL };
6881 char _ptemp[128];
6882
6883 self = self;
6884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTextAttr_Combine",_kwnames,&_argo0,&_argo1,&_argo2))
6885 return NULL;
6886 if (_argo0) {
7108497a 6887 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
dbd3685c
RD
6888 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6889 return NULL;
6890 }
6891 }
6892 if (_argo1) {
7108497a 6893 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
dbd3685c
RD
6894 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6895 return NULL;
6896 }
6897 }
6898 if (_argo2) {
6899 if (_argo2 == Py_None) { _arg2 = NULL; }
6900 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextCtrl_p")) {
6901 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6902 return NULL;
6903 }
6904 }
6905{
0e2ff151 6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 6907 _result = new wxTextAttr (wxTextAttr::Combine(*_arg0,*_arg1,_arg2));
dbd3685c 6908
0e2ff151 6909 wxPyEndAllowThreads(__tstate);
dbd3685c
RD
6910 if (PyErr_Occurred()) return NULL;
6911} SWIG_MakePtr(_ptemp, (void *) _result,"_wxTextAttr_p");
6912 _resultobj = Py_BuildValue("s",_ptemp);
6913 return _resultobj;
6914}
6915
e6056257
RD
6916static void *SwigwxTextCtrlTowxControl(void *ptr) {
6917 wxTextCtrl *src;
6918 wxControl *dest;
6919 src = (wxTextCtrl *) ptr;
6920 dest = (wxControl *) src;
6921 return (void *) dest;
6922}
6923
6924static void *SwigwxTextCtrlTowxWindow(void *ptr) {
6925 wxTextCtrl *src;
6926 wxWindow *dest;
6927 src = (wxTextCtrl *) ptr;
6928 dest = (wxWindow *) src;
6929 return (void *) dest;
6930}
6931
6932static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
6933 wxTextCtrl *src;
6934 wxEvtHandler *dest;
6935 src = (wxTextCtrl *) ptr;
6936 dest = (wxEvtHandler *) src;
6937 return (void *) dest;
6938}
6939
6940static void *SwigwxTextCtrlTowxObject(void *ptr) {
6941 wxTextCtrl *src;
6942 wxObject *dest;
6943 src = (wxTextCtrl *) ptr;
6944 dest = (wxObject *) src;
6945 return (void *) dest;
6946}
6947
6948#define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6949static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6950 PyObject * _resultobj;
6951 wxTextCtrl * _result;
6952 wxWindow * _arg0;
6953 wxWindowID _arg1;
c3bfa1cb 6954 wxString * _arg2 = (wxString *) &wxPyEmptyString;
e6056257
RD
6955 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6956 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6957 long _arg5 = (long ) 0;
6958 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 6959 wxString * _arg7 = (wxString *) &wxPyTextCtrlNameStr;
e6056257 6960 PyObject * _argo0 = 0;
c3bfa1cb 6961 PyObject * _obj2 = 0;
e6056257
RD
6962 wxPoint temp;
6963 PyObject * _obj3 = 0;
6964 wxSize temp0;
6965 PyObject * _obj4 = 0;
6966 PyObject * _argo6 = 0;
c3bfa1cb 6967 PyObject * _obj7 = 0;
e6056257
RD
6968 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
6969 char _ptemp[128];
6970
6971 self = self;
c3bfa1cb 6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
6973 return NULL;
6974 if (_argo0) {
6975 if (_argo0 == Py_None) { _arg0 = NULL; }
6976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6978 return NULL;
6979 }
6980 }
c3bfa1cb
RD
6981 if (_obj2)
6982{
6983 _arg2 = wxString_in_helper(_obj2);
6984 if (_arg2 == NULL)
6985 return NULL;
6986}
e6056257
RD
6987 if (_obj3)
6988{
6989 _arg3 = &temp;
6990 if (! wxPoint_helper(_obj3, &_arg3))
6991 return NULL;
6992}
6993 if (_obj4)
6994{
6995 _arg4 = &temp0;
6996 if (! wxSize_helper(_obj4, &_arg4))
6997 return NULL;
6998}
6999 if (_argo6) {
7108497a 7000 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
7001 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
7002 return NULL;
7003 }
7004 }
c3bfa1cb
RD
7005 if (_obj7)
7006{
7007 _arg7 = wxString_in_helper(_obj7);
7008 if (_arg7 == NULL)
7009 return NULL;
7010}
e6056257 7011{
0e2ff151 7012 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 7013 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 7014
0e2ff151 7015 wxPyEndAllowThreads(__tstate);
e6056257
RD
7016 if (PyErr_Occurred()) return NULL;
7017} if (_result) {
7018 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
7019 _resultobj = Py_BuildValue("s",_ptemp);
7020 } else {
7021 Py_INCREF(Py_None);
7022 _resultobj = Py_None;
7023 }
c3bfa1cb
RD
7024{
7025 if (_obj2)
7026 delete _arg2;
7027}
7028{
7029 if (_obj7)
7030 delete _arg7;
7031}
e6056257
RD
7032 return _resultobj;
7033}
7034
7035#define new_wxPreTextCtrl() (new wxTextCtrl())
7036static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7037 PyObject * _resultobj;
7038 wxTextCtrl * _result;
7039 char *_kwnames[] = { NULL };
7040 char _ptemp[128];
7041
7042 self = self;
7043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
7044 return NULL;
7045{
0e2ff151 7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7047 _result = (wxTextCtrl *)new_wxPreTextCtrl();
e6056257 7048
0e2ff151 7049 wxPyEndAllowThreads(__tstate);
e6056257
RD
7050 if (PyErr_Occurred()) return NULL;
7051} if (_result) {
7052 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
7053 _resultobj = Py_BuildValue("s",_ptemp);
7054 } else {
7055 Py_INCREF(Py_None);
7056 _resultobj = Py_None;
7057 }
7058 return _resultobj;
7059}
7060
7061#define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7062static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7063 PyObject * _resultobj;
7064 bool _result;
7065 wxTextCtrl * _arg0;
7066 wxWindow * _arg1;
7067 wxWindowID _arg2;
c3bfa1cb 7068 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e6056257
RD
7069 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
7070 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
7071 long _arg6 = (long ) 0;
7072 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 7073 wxString * _arg8 = (wxString *) &wxPyTextCtrlNameStr;
e6056257
RD
7074 PyObject * _argo0 = 0;
7075 PyObject * _argo1 = 0;
c3bfa1cb 7076 PyObject * _obj3 = 0;
e6056257
RD
7077 wxPoint temp;
7078 PyObject * _obj4 = 0;
7079 wxSize temp0;
7080 PyObject * _obj5 = 0;
7081 PyObject * _argo7 = 0;
c3bfa1cb 7082 PyObject * _obj8 = 0;
e6056257
RD
7083 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
7084
7085 self = self;
c3bfa1cb 7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
7087 return NULL;
7088 if (_argo0) {
7089 if (_argo0 == Py_None) { _arg0 = NULL; }
7090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
7092 return NULL;
7093 }
7094 }
7095 if (_argo1) {
7096 if (_argo1 == Py_None) { _arg1 = NULL; }
7097 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7098 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
7099 return NULL;
7100 }
7101 }
c3bfa1cb
RD
7102 if (_obj3)
7103{
7104 _arg3 = wxString_in_helper(_obj3);
7105 if (_arg3 == NULL)
7106 return NULL;
7107}
e6056257
RD
7108 if (_obj4)
7109{
7110 _arg4 = &temp;
7111 if (! wxPoint_helper(_obj4, &_arg4))
7112 return NULL;
7113}
7114 if (_obj5)
7115{
7116 _arg5 = &temp0;
7117 if (! wxSize_helper(_obj5, &_arg5))
7118 return NULL;
7119}
7120 if (_argo7) {
7108497a 7121 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
7122 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
7123 return NULL;
7124 }
7125 }
c3bfa1cb
RD
7126 if (_obj8)
7127{
7128 _arg8 = wxString_in_helper(_obj8);
7129 if (_arg8 == NULL)
7130 return NULL;
7131}
e6056257 7132{
0e2ff151 7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 7134 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 7135
0e2ff151 7136 wxPyEndAllowThreads(__tstate);
e6056257
RD
7137 if (PyErr_Occurred()) return NULL;
7138} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
7139{
7140 if (_obj3)
7141 delete _arg3;
7142}
7143{
7144 if (_obj8)
7145 delete _arg8;
7146}
e6056257
RD
7147 return _resultobj;
7148}
7149
742fc581
RD
7150#define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
7151static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7152 PyObject * _resultobj;
742fc581 7153 wxString * _result;
e6056257
RD
7154 wxTextCtrl * _arg0;
7155 PyObject * _argo0 = 0;
7156 char *_kwnames[] = { "self", NULL };
7157
7158 self = self;
742fc581 7159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
e6056257
RD
7160 return NULL;
7161 if (_argo0) {
7162 if (_argo0 == Py_None) { _arg0 = NULL; }
7163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
e6056257
RD
7165 return NULL;
7166 }
7167 }
7168{
0e2ff151 7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7170 _result = new wxString (wxTextCtrl_GetValue(_arg0));
e6056257 7171
0e2ff151 7172 wxPyEndAllowThreads(__tstate);
e6056257 7173 if (PyErr_Occurred()) return NULL;
742fc581 7174}{
6824d4f9 7175#if wxUSE_UNICODE
7108497a 7176 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 7177#else
742fc581 7178 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 7179#endif
742fc581
RD
7180}
7181{
7182 delete _result;
7183}
e6056257
RD
7184 return _resultobj;
7185}
7186
742fc581
RD
7187#define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7188static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7189 PyObject * _resultobj;
7190 wxTextCtrl * _arg0;
742fc581 7191 wxString * _arg1;
e6056257 7192 PyObject * _argo0 = 0;
742fc581
RD
7193 PyObject * _obj1 = 0;
7194 char *_kwnames[] = { "self","value", NULL };
e6056257
RD
7195
7196 self = self;
742fc581 7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
e6056257
RD
7198 return NULL;
7199 if (_argo0) {
7200 if (_argo0 == Py_None) { _arg0 = NULL; }
7201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
e6056257
RD
7203 return NULL;
7204 }
7205 }
7206{
6824d4f9
RD
7207 _arg1 = wxString_in_helper(_obj1);
7208 if (_arg1 == NULL)
742fc581 7209 return NULL;
742fc581 7210}
e6056257 7211{
0e2ff151 7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7213 wxTextCtrl_SetValue(_arg0,*_arg1);
e6056257 7214
0e2ff151 7215 wxPyEndAllowThreads(__tstate);
e6056257
RD
7216 if (PyErr_Occurred()) return NULL;
7217} Py_INCREF(Py_None);
7218 _resultobj = Py_None;
742fc581
RD
7219{
7220 if (_obj1)
7221 delete _arg1;
7222}
e6056257
RD
7223 return _resultobj;
7224}
7225
d1e76a37
RD
7226#define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
7227static PyObject *_wrap_wxTextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7228 PyObject * _resultobj;
7229 wxString * _result;
7230 wxTextCtrl * _arg0;
7231 long _arg1;
7232 long _arg2;
7233 PyObject * _argo0 = 0;
7234 char *_kwnames[] = { "self","from","to", NULL };
7235
7236 self = self;
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetRange",_kwnames,&_argo0,&_arg1,&_arg2))
7238 return NULL;
7239 if (_argo0) {
7240 if (_argo0 == Py_None) { _arg0 = NULL; }
7241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
7243 return NULL;
7244 }
7245 }
7246{
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7248 _result = new wxString (wxTextCtrl_GetRange(_arg0,_arg1,_arg2));
d1e76a37
RD
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) return NULL;
7252}{
6824d4f9 7253#if wxUSE_UNICODE
7108497a 7254 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 7255#else
d1e76a37 7256 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 7257#endif
d1e76a37
RD
7258}
7259{
7260 delete _result;
7261}
7262 return _resultobj;
7263}
7264
742fc581
RD
7265#define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
7266static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7267 PyObject * _resultobj;
742fc581 7268 int _result;
e6056257 7269 wxTextCtrl * _arg0;
742fc581 7270 long _arg1;
e6056257 7271 PyObject * _argo0 = 0;
742fc581 7272 char *_kwnames[] = { "self","lineNo", NULL };
e6056257
RD
7273
7274 self = self;
742fc581 7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
e6056257
RD
7276 return NULL;
7277 if (_argo0) {
7278 if (_argo0 == Py_None) { _arg0 = NULL; }
7279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
e6056257
RD
7281 return NULL;
7282 }
7283 }
7284{
0e2ff151 7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7286 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
e6056257 7287
0e2ff151 7288 wxPyEndAllowThreads(__tstate);
e6056257 7289 if (PyErr_Occurred()) return NULL;
742fc581 7290} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
7291 return _resultobj;
7292}
7293
742fc581
RD
7294#define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
7295static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7296 PyObject * _resultobj;
742fc581 7297 wxString * _result;
e6056257 7298 wxTextCtrl * _arg0;
742fc581 7299 long _arg1;
e6056257 7300 PyObject * _argo0 = 0;
742fc581 7301 char *_kwnames[] = { "self","lineNo", NULL };
e6056257
RD
7302
7303 self = self;
742fc581 7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
e6056257
RD
7305 return NULL;
7306 if (_argo0) {
7307 if (_argo0 == Py_None) { _arg0 = NULL; }
7308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
e6056257
RD
7310 return NULL;
7311 }
7312 }
7313{
0e2ff151 7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7315 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
e6056257 7316
0e2ff151 7317 wxPyEndAllowThreads(__tstate);
e6056257 7318 if (PyErr_Occurred()) return NULL;
742fc581 7319}{
6824d4f9 7320#if wxUSE_UNICODE
7108497a 7321 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 7322#else
742fc581 7323 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 7324#endif
742fc581
RD
7325}
7326{
7327 delete _result;
7328}
e6056257
RD
7329 return _resultobj;
7330}
7331
742fc581
RD
7332#define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
7333static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7334 PyObject * _resultobj;
742fc581 7335 int _result;
e6056257
RD
7336 wxTextCtrl * _arg0;
7337 PyObject * _argo0 = 0;
7338 char *_kwnames[] = { "self", NULL };
7339
7340 self = self;
742fc581 7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
e6056257
RD
7342 return NULL;
7343 if (_argo0) {
7344 if (_argo0 == Py_None) { _arg0 = NULL; }
7345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
e6056257
RD
7347 return NULL;
7348 }
7349 }
7350{
0e2ff151 7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7352 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
e6056257 7353
0e2ff151 7354 wxPyEndAllowThreads(__tstate);
e6056257 7355 if (PyErr_Occurred()) return NULL;
742fc581 7356} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
7357 return _resultobj;
7358}
7359
742fc581
RD
7360#define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
7361static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7362 PyObject * _resultobj;
742fc581 7363 bool _result;
e6056257 7364 wxTextCtrl * _arg0;
e6056257 7365 PyObject * _argo0 = 0;
742fc581 7366 char *_kwnames[] = { "self", NULL };
e6056257
RD
7367
7368 self = self;
742fc581 7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
e6056257
RD
7370 return NULL;
7371 if (_argo0) {
7372 if (_argo0 == Py_None) { _arg0 = NULL; }
7373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
e6056257
RD
7375 return NULL;
7376 }
7377 }
7378{
0e2ff151 7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7380 _result = (bool )wxTextCtrl_IsModified(_arg0);
e6056257 7381
0e2ff151 7382 wxPyEndAllowThreads(__tstate);
e6056257
RD
7383 if (PyErr_Occurred()) return NULL;
7384} _resultobj = Py_BuildValue("i",_result);
7385 return _resultobj;
7386}
7387
742fc581
RD
7388#define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
7389static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7390 PyObject * _resultobj;
742fc581 7391 bool _result;
e6056257 7392 wxTextCtrl * _arg0;
e6056257 7393 PyObject * _argo0 = 0;
742fc581 7394 char *_kwnames[] = { "self", NULL };
e6056257
RD
7395
7396 self = self;
742fc581 7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
e6056257
RD
7398 return NULL;
7399 if (_argo0) {
7400 if (_argo0 == Py_None) { _arg0 = NULL; }
7401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
e6056257
RD
7403 return NULL;
7404 }
7405 }
7406{
0e2ff151 7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7408 _result = (bool )wxTextCtrl_IsEditable(_arg0);
e6056257 7409
0e2ff151 7410 wxPyEndAllowThreads(__tstate);
e6056257 7411 if (PyErr_Occurred()) return NULL;
742fc581 7412} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
7413 return _resultobj;
7414}
7415
742fc581
RD
7416#define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7417static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7418 PyObject * _resultobj;
e6056257 7419 wxTextCtrl * _arg0;
742fc581
RD
7420 long * _arg1;
7421 long temp;
7422 long * _arg2;
7423 long temp0;
e6056257
RD
7424 PyObject * _argo0 = 0;
7425 char *_kwnames[] = { "self", NULL };
7426
7427 self = self;
742fc581
RD
7428{
7429 _arg1 = &temp;
7430}
7431{
7432 _arg2 = &temp0;
7433}
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
e6056257
RD
7435 return NULL;
7436 if (_argo0) {
7437 if (_argo0 == Py_None) { _arg0 = NULL; }
7438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
e6056257
RD
7440 return NULL;
7441 }
7442 }
7443{
0e2ff151 7444 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7445 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
e6056257 7446
0e2ff151 7447 wxPyEndAllowThreads(__tstate);
e6056257 7448 if (PyErr_Occurred()) return NULL;
742fc581
RD
7449} Py_INCREF(Py_None);
7450 _resultobj = Py_None;
7451{
7452 PyObject *o;
7453 o = PyInt_FromLong((long) (*_arg1));
7454 _resultobj = t_output_helper(_resultobj, o);
7455}
7456{
7457 PyObject *o;
7458 o = PyInt_FromLong((long) (*_arg2));
7459 _resultobj = t_output_helper(_resultobj, o);
7460}
e6056257
RD
7461 return _resultobj;
7462}
7463
742fc581
RD
7464#define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
7465static PyObject *_wrap_wxTextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7466 PyObject * _resultobj;
7467 wxString * _result;
7468 wxTextCtrl * _arg0;
7469 PyObject * _argo0 = 0;
7470 char *_kwnames[] = { "self", NULL };
7471
7472 self = self;
742fc581 7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetStringSelection",_kwnames,&_argo0))
e6056257
RD
7474 return NULL;
7475 if (_argo0) {
7476 if (_argo0 == Py_None) { _arg0 = NULL; }
7477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
e6056257
RD
7479 return NULL;
7480 }
7481 }
7482{
0e2ff151 7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7484 _result = new wxString (wxTextCtrl_GetStringSelection(_arg0));
e6056257 7485
0e2ff151 7486 wxPyEndAllowThreads(__tstate);
e6056257
RD
7487 if (PyErr_Occurred()) return NULL;
7488}{
6824d4f9 7489#if wxUSE_UNICODE
7108497a 7490 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 7491#else
e6056257 7492 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 7493#endif
e6056257
RD
7494}
7495{
7496 delete _result;
7497}
7498 return _resultobj;
7499}
7500
742fc581
RD
7501#define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
7502static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7503 PyObject * _resultobj;
e6056257
RD
7504 wxTextCtrl * _arg0;
7505 PyObject * _argo0 = 0;
7506 char *_kwnames[] = { "self", NULL };
7507
7508 self = self;
742fc581 7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
e6056257
RD
7510 return NULL;
7511 if (_argo0) {
7512 if (_argo0 == Py_None) { _arg0 = NULL; }
7513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
e6056257
RD
7515 return NULL;
7516 }
7517 }
7518{
0e2ff151 7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7520 wxTextCtrl_Clear(_arg0);
e6056257 7521
0e2ff151 7522 wxPyEndAllowThreads(__tstate);
e6056257 7523 if (PyErr_Occurred()) return NULL;
742fc581
RD
7524} Py_INCREF(Py_None);
7525 _resultobj = Py_None;
e6056257
RD
7526 return _resultobj;
7527}
7528
742fc581
RD
7529#define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7530static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7531 PyObject * _resultobj;
e6056257 7532 wxTextCtrl * _arg0;
742fc581
RD
7533 long _arg1;
7534 long _arg2;
7535 wxString * _arg3;
e6056257 7536 PyObject * _argo0 = 0;
742fc581
RD
7537 PyObject * _obj3 = 0;
7538 char *_kwnames[] = { "self","from","to","value", NULL };
e6056257
RD
7539
7540 self = self;
742fc581 7541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
e6056257
RD
7542 return NULL;
7543 if (_argo0) {
7544 if (_argo0 == Py_None) { _arg0 = NULL; }
7545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581
RD
7546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
7547 return NULL;
7548 }
7549 }
7550{
6824d4f9
RD
7551 _arg3 = wxString_in_helper(_obj3);
7552 if (_arg3 == NULL)
742fc581 7553 return NULL;
742fc581
RD
7554}
7555{
0e2ff151 7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7557 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
742fc581 7558
0e2ff151 7559 wxPyEndAllowThreads(__tstate);
742fc581
RD
7560 if (PyErr_Occurred()) return NULL;
7561} Py_INCREF(Py_None);
7562 _resultobj = Py_None;
7563{
7564 if (_obj3)
7565 delete _arg3;
7566}
7567 return _resultobj;
7568}
7569
7570#define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
7571static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7572 PyObject * _resultobj;
7573 wxTextCtrl * _arg0;
7574 long _arg1;
7575 long _arg2;
7576 PyObject * _argo0 = 0;
7577 char *_kwnames[] = { "self","from","to", NULL };
7578
7579 self = self;
7580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
7581 return NULL;
7582 if (_argo0) {
7583 if (_argo0 == Py_None) { _arg0 = NULL; }
7584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
7586 return NULL;
7587 }
7588 }
7589{
0e2ff151 7590 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7591 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
742fc581 7592
0e2ff151 7593 wxPyEndAllowThreads(__tstate);
742fc581
RD
7594 if (PyErr_Occurred()) return NULL;
7595} Py_INCREF(Py_None);
7596 _resultobj = Py_None;
7597 return _resultobj;
7598}
7599
7600#define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
7601static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7602 PyObject * _resultobj;
7603 bool _result;
7604 wxTextCtrl * _arg0;
7605 wxString * _arg1;
7606 PyObject * _argo0 = 0;
7607 PyObject * _obj1 = 0;
7608 char *_kwnames[] = { "self","file", NULL };
7609
7610 self = self;
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
7612 return NULL;
7613 if (_argo0) {
7614 if (_argo0 == Py_None) { _arg0 = NULL; }
7615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
e6056257
RD
7617 return NULL;
7618 }
7619 }
7620{
6824d4f9
RD
7621 _arg1 = wxString_in_helper(_obj1);
7622 if (_arg1 == NULL)
e6056257 7623 return NULL;
e6056257
RD
7624}
7625{
0e2ff151 7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7627 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
e6056257 7628
0e2ff151 7629 wxPyEndAllowThreads(__tstate);
e6056257
RD
7630 if (PyErr_Occurred()) return NULL;
7631} _resultobj = Py_BuildValue("i",_result);
7632{
7633 if (_obj1)
7634 delete _arg1;
7635}
7636 return _resultobj;
7637}
7638
742fc581
RD
7639#define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
7640static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7641 PyObject * _resultobj;
742fc581 7642 bool _result;
e6056257 7643 wxTextCtrl * _arg0;
c3bfa1cb 7644 wxString * _arg1 = (wxString *) &wxPyEmptyString;
e6056257 7645 PyObject * _argo0 = 0;
742fc581
RD
7646 PyObject * _obj1 = 0;
7647 char *_kwnames[] = { "self","file", NULL };
e6056257
RD
7648
7649 self = self;
742fc581 7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
e6056257
RD
7651 return NULL;
7652 if (_argo0) {
7653 if (_argo0 == Py_None) { _arg0 = NULL; }
7654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
e6056257
RD
7656 return NULL;
7657 }
7658 }
742fc581
RD
7659 if (_obj1)
7660{
6824d4f9
RD
7661 _arg1 = wxString_in_helper(_obj1);
7662 if (_arg1 == NULL)
742fc581 7663 return NULL;
742fc581 7664}
e6056257 7665{
0e2ff151 7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7667 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
e6056257 7668
0e2ff151 7669 wxPyEndAllowThreads(__tstate);
e6056257 7670 if (PyErr_Occurred()) return NULL;
742fc581
RD
7671} _resultobj = Py_BuildValue("i",_result);
7672{
7673 if (_obj1)
7674 delete _arg1;
7675}
e6056257
RD
7676 return _resultobj;
7677}
7678
742fc581
RD
7679#define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7680static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7681 PyObject * _resultobj;
7682 wxTextCtrl * _arg0;
e6056257 7683 PyObject * _argo0 = 0;
742fc581 7684 char *_kwnames[] = { "self", NULL };
e6056257
RD
7685
7686 self = self;
742fc581 7687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
e6056257
RD
7688 return NULL;
7689 if (_argo0) {
7690 if (_argo0 == Py_None) { _arg0 = NULL; }
7691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
e6056257
RD
7693 return NULL;
7694 }
7695 }
7696{
0e2ff151 7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7698 wxTextCtrl_DiscardEdits(_arg0);
e6056257 7699
0e2ff151 7700 wxPyEndAllowThreads(__tstate);
e6056257
RD
7701 if (PyErr_Occurred()) return NULL;
7702} Py_INCREF(Py_None);
7703 _resultobj = Py_None;
e6056257
RD
7704 return _resultobj;
7705}
7706
742fc581
RD
7707#define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7708static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7709 PyObject * _resultobj;
7710 wxTextCtrl * _arg0;
742fc581 7711 unsigned long _arg1;
e6056257 7712 PyObject * _argo0 = 0;
742fc581 7713 char *_kwnames[] = { "self","len", NULL };
e6056257
RD
7714
7715 self = self;
742fc581 7716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
e6056257
RD
7717 return NULL;
7718 if (_argo0) {
7719 if (_argo0 == Py_None) { _arg0 = NULL; }
7720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
e6056257
RD
7722 return NULL;
7723 }
7724 }
7725{
0e2ff151 7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7727 wxTextCtrl_SetMaxLength(_arg0,_arg1);
e6056257 7728
0e2ff151 7729 wxPyEndAllowThreads(__tstate);
e6056257
RD
7730 if (PyErr_Occurred()) return NULL;
7731} Py_INCREF(Py_None);
7732 _resultobj = Py_None;
7733 return _resultobj;
7734}
7735
742fc581
RD
7736#define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7737static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
7738 PyObject * _resultobj;
7739 wxTextCtrl * _arg0;
742fc581 7740 wxString * _arg1;
e6056257 7741 PyObject * _argo0 = 0;
742fc581
RD
7742 PyObject * _obj1 = 0;
7743 char *_kwnames[] = { "self","text", NULL };
e6056257
RD
7744
7745 self = self;
742fc581 7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
e6056257
RD
7747 return NULL;
7748 if (_argo0) {
7749 if (_argo0 == Py_None) { _arg0 = NULL; }
7750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
e6056257
RD
7752 return NULL;
7753 }
7754 }
7755{
6824d4f9
RD
7756 _arg1 = wxString_in_helper(_obj1);
7757 if (_arg1 == NULL)
e6056257 7758 return NULL;
e6056257
RD
7759}
7760{
0e2ff151 7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7762 wxTextCtrl_WriteText(_arg0,*_arg1);
e6056257 7763
0e2ff151 7764 wxPyEndAllowThreads(__tstate);
e6056257
RD
7765 if (PyErr_Occurred()) return NULL;
7766} Py_INCREF(Py_None);
7767 _resultobj = Py_None;
7768{
742fc581
RD
7769 if (_obj1)
7770 delete _arg1;
e6056257
RD
7771}
7772 return _resultobj;
7773}
7774
742fc581
RD
7775#define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7776static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7777 PyObject * _resultobj;
e6056257
RD
7778 wxTextCtrl * _arg0;
7779 wxString * _arg1;
7780 PyObject * _argo0 = 0;
7781 PyObject * _obj1 = 0;
742fc581 7782 char *_kwnames[] = { "self","text", NULL };
e6056257
RD
7783
7784 self = self;
742fc581 7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
e6056257
RD
7786 return NULL;
7787 if (_argo0) {
7788 if (_argo0 == Py_None) { _arg0 = NULL; }
7789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
e6056257
RD
7791 return NULL;
7792 }
7793 }
7794{
6824d4f9
RD
7795 _arg1 = wxString_in_helper(_obj1);
7796 if (_arg1 == NULL)
e6056257 7797 return NULL;
e6056257
RD
7798}
7799{
0e2ff151 7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7801 wxTextCtrl_AppendText(_arg0,*_arg1);
e6056257 7802
0e2ff151 7803 wxPyEndAllowThreads(__tstate);
e6056257 7804 if (PyErr_Occurred()) return NULL;
742fc581
RD
7805} Py_INCREF(Py_None);
7806 _resultobj = Py_None;
e6056257
RD
7807{
7808 if (_obj1)
7809 delete _arg1;
7810}
7811 return _resultobj;
7812}
7813
59988cd0
RD
7814#define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
7815static PyObject *_wrap_wxTextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject * _resultobj;
7817 bool _result;
7818 wxTextCtrl * _arg0;
7819 wxKeyEvent * _arg1;
7820 PyObject * _argo0 = 0;
7821 PyObject * _argo1 = 0;
7822 char *_kwnames[] = { "self","event", NULL };
7823
7824 self = self;
7825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_EmulateKeyPress",_kwnames,&_argo0,&_argo1))
7826 return NULL;
7827 if (_argo0) {
7828 if (_argo0 == Py_None) { _arg0 = NULL; }
7829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
7831 return NULL;
7832 }
7833 }
7834 if (_argo1) {
7108497a 7835 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
59988cd0
RD
7836 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
7837 return NULL;
7838 }
7839 }
7840{
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 _result = (bool )wxTextCtrl_EmulateKeyPress(_arg0,*_arg1);
7843
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) return NULL;
7846} _resultobj = Py_BuildValue("i",_result);
7847 return _resultobj;
7848}
7849
742fc581
RD
7850#define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7851static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7852 PyObject * _resultobj;
742fc581 7853 bool _result;
e6056257 7854 wxTextCtrl * _arg0;
742fc581
RD
7855 long _arg1;
7856 long _arg2;
7857 wxTextAttr * _arg3;
e6056257 7858 PyObject * _argo0 = 0;
742fc581
RD
7859 PyObject * _argo3 = 0;
7860 char *_kwnames[] = { "self","start","end","style", NULL };
e6056257
RD
7861
7862 self = self;
742fc581 7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
e6056257
RD
7864 return NULL;
7865 if (_argo0) {
7866 if (_argo0 == Py_None) { _arg0 = NULL; }
7867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581
RD
7868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7869 return NULL;
7870 }
7871 }
7872 if (_argo3) {
7108497a 7873 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
742fc581 7874 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
e6056257
RD
7875 return NULL;
7876 }
7877 }
e6056257 7878{
0e2ff151 7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7880 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
e6056257 7881
0e2ff151 7882 wxPyEndAllowThreads(__tstate);
e6056257 7883 if (PyErr_Occurred()) return NULL;
742fc581 7884} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
7885 return _resultobj;
7886}
7887
742fc581
RD
7888#define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7889static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7890 PyObject * _resultobj;
742fc581 7891 bool _result;
e6056257 7892 wxTextCtrl * _arg0;
742fc581 7893 wxTextAttr * _arg1;
e6056257 7894 PyObject * _argo0 = 0;
742fc581
RD
7895 PyObject * _argo1 = 0;
7896 char *_kwnames[] = { "self","style", NULL };
e6056257
RD
7897
7898 self = self;
742fc581 7899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
e6056257
RD
7900 return NULL;
7901 if (_argo0) {
7902 if (_argo0 == Py_None) { _arg0 = NULL; }
7903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581
RD
7904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7905 return NULL;
7906 }
7907 }
7908 if (_argo1) {
7108497a 7909 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
742fc581 7910 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
e6056257
RD
7911 return NULL;
7912 }
7913 }
7914{
0e2ff151 7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7916 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
e6056257 7917
0e2ff151 7918 wxPyEndAllowThreads(__tstate);
e6056257 7919 if (PyErr_Occurred()) return NULL;
742fc581 7920} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
7921 return _resultobj;
7922}
7923
742fc581
RD
7924#define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7925static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7926 PyObject * _resultobj;
742fc581 7927 wxTextAttr * _result;
e6056257
RD
7928 wxTextCtrl * _arg0;
7929 PyObject * _argo0 = 0;
7930 char *_kwnames[] = { "self", NULL };
742fc581 7931 char _ptemp[128];
e6056257
RD
7932
7933 self = self;
742fc581 7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
e6056257
RD
7935 return NULL;
7936 if (_argo0) {
7937 if (_argo0 == Py_None) { _arg0 = NULL; }
7938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 7939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
e6056257
RD
7940 return NULL;
7941 }
7942 }
7943{
0e2ff151 7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 7945 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
742fc581 7946 _result = (wxTextAttr *) &_result_ref;
e6056257 7947
0e2ff151 7948 wxPyEndAllowThreads(__tstate);
e6056257 7949 if (PyErr_Occurred()) return NULL;
742fc581
RD
7950} if (_result) {
7951 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
7952 _resultobj = Py_BuildValue("s",_ptemp);
7953 } else {
7954 Py_INCREF(Py_None);
7955 _resultobj = Py_None;
7956 }
e6056257
RD
7957 return _resultobj;
7958}
7959
d84a9306
RD
7960#define wxTextCtrl_GetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyle(_swigarg0,_swigarg1))
7961static PyObject *_wrap_wxTextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7962 PyObject * _resultobj;
7963 bool _result;
7964 wxTextCtrl * _arg0;
7965 long _arg1;
7966 wxTextAttr * _arg2;
7967 PyObject * _argo0 = 0;
7968 PyObject * _argo2 = 0;
7969 char *_kwnames[] = { "self","position","style", NULL };
7970
7971 self = self;
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxTextCtrl_GetStyle",_kwnames,&_argo0,&_arg1,&_argo2))
7973 return NULL;
7974 if (_argo0) {
7975 if (_argo0 == Py_None) { _arg0 = NULL; }
7976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStyle. Expected _wxTextCtrl_p.");
7978 return NULL;
7979 }
7980 }
7981 if (_argo2) {
7982 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextAttr_p")) {
7983 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextCtrl_GetStyle. Expected _wxTextAttr_p.");
7984 return NULL;
7985 }
7986 }
7987{
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 _result = (bool )wxTextCtrl_GetStyle(_arg0,_arg1,*_arg2);
7990
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) return NULL;
7993} _resultobj = Py_BuildValue("i",_result);
7994 return _resultobj;
7995}
7996
742fc581
RD
7997#define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7998static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 7999 PyObject * _resultobj;
742fc581 8000 long _result;
e6056257
RD
8001 wxTextCtrl * _arg0;
8002 long _arg1;
8003 long _arg2;
8004 PyObject * _argo0 = 0;
742fc581 8005 char *_kwnames[] = { "self","x","y", NULL };
e6056257
RD
8006
8007 self = self;
742fc581 8008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
e6056257
RD
8009 return NULL;
8010 if (_argo0) {
8011 if (_argo0 == Py_None) { _arg0 = NULL; }
8012 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8013 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
e6056257
RD
8014 return NULL;
8015 }
8016 }
8017{
0e2ff151 8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8019 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
e6056257 8020
0e2ff151 8021 wxPyEndAllowThreads(__tstate);
e6056257 8022 if (PyErr_Occurred()) return NULL;
742fc581 8023} _resultobj = Py_BuildValue("l",_result);
e6056257
RD
8024 return _resultobj;
8025}
8026
742fc581
RD
8027#define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
8028static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
8029 PyObject * _resultobj;
8030 wxTextCtrl * _arg0;
742fc581
RD
8031 long _arg1;
8032 long * _arg2;
8033 long temp;
8034 long * _arg3;
8035 long temp0;
e6056257 8036 PyObject * _argo0 = 0;
742fc581 8037 char *_kwnames[] = { "self","pos", NULL };
e6056257
RD
8038
8039 self = self;
742fc581
RD
8040{
8041 _arg2 = &temp;
8042}
8043{
8044 _arg3 = &temp0;
8045}
8046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
e6056257
RD
8047 return NULL;
8048 if (_argo0) {
8049 if (_argo0 == Py_None) { _arg0 = NULL; }
8050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
e6056257
RD
8052 return NULL;
8053 }
8054 }
e6056257 8055{
0e2ff151 8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8057 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
e6056257 8058
0e2ff151 8059 wxPyEndAllowThreads(__tstate);
e6056257 8060 if (PyErr_Occurred()) return NULL;
d1e76a37
RD
8061} Py_INCREF(Py_None);
8062 _resultobj = Py_None;
e6056257 8063{
742fc581
RD
8064 PyObject *o;
8065 o = PyInt_FromLong((long) (*_arg2));
8066 _resultobj = t_output_helper(_resultobj, o);
8067}
8068{
8069 PyObject *o;
8070 o = PyInt_FromLong((long) (*_arg3));
8071 _resultobj = t_output_helper(_resultobj, o);
e6056257
RD
8072}
8073 return _resultobj;
8074}
8075
8076#define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
8077static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject * _resultobj;
8079 wxTextCtrl * _arg0;
8080 long _arg1;
8081 PyObject * _argo0 = 0;
8082 char *_kwnames[] = { "self","pos", NULL };
8083
8084 self = self;
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
8086 return NULL;
8087 if (_argo0) {
8088 if (_argo0 == Py_None) { _arg0 = NULL; }
8089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
8091 return NULL;
8092 }
8093 }
8094{
0e2ff151 8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8096 wxTextCtrl_ShowPosition(_arg0,_arg1);
e6056257 8097
0e2ff151 8098 wxPyEndAllowThreads(__tstate);
e6056257
RD
8099 if (PyErr_Occurred()) return NULL;
8100} Py_INCREF(Py_None);
8101 _resultobj = Py_None;
8102 return _resultobj;
8103}
8104
742fc581
RD
8105#define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
8106static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
8107 PyObject * _resultobj;
8108 wxTextCtrl * _arg0;
e6056257 8109 PyObject * _argo0 = 0;
742fc581 8110 char *_kwnames[] = { "self", NULL };
e6056257
RD
8111
8112 self = self;
742fc581 8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
e6056257
RD
8114 return NULL;
8115 if (_argo0) {
8116 if (_argo0 == Py_None) { _arg0 = NULL; }
8117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
e6056257
RD
8119 return NULL;
8120 }
8121 }
e6056257 8122{
0e2ff151 8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8124 wxTextCtrl_Copy(_arg0);
e6056257 8125
0e2ff151 8126 wxPyEndAllowThreads(__tstate);
e6056257
RD
8127 if (PyErr_Occurred()) return NULL;
8128} Py_INCREF(Py_None);
8129 _resultobj = Py_None;
e6056257
RD
8130 return _resultobj;
8131}
8132
742fc581
RD
8133#define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
8134static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
8135 PyObject * _resultobj;
8136 wxTextCtrl * _arg0;
e6056257 8137 PyObject * _argo0 = 0;
742fc581 8138 char *_kwnames[] = { "self", NULL };
e6056257
RD
8139
8140 self = self;
742fc581 8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
e6056257
RD
8142 return NULL;
8143 if (_argo0) {
8144 if (_argo0 == Py_None) { _arg0 = NULL; }
8145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
e6056257
RD
8147 return NULL;
8148 }
8149 }
e6056257 8150{
0e2ff151 8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8152 wxTextCtrl_Cut(_arg0);
e6056257 8153
0e2ff151 8154 wxPyEndAllowThreads(__tstate);
e6056257
RD
8155 if (PyErr_Occurred()) return NULL;
8156} Py_INCREF(Py_None);
8157 _resultobj = Py_None;
e6056257
RD
8158 return _resultobj;
8159}
8160
742fc581
RD
8161#define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
8162static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 8163 PyObject * _resultobj;
e6056257 8164 wxTextCtrl * _arg0;
e6056257 8165 PyObject * _argo0 = 0;
742fc581 8166 char *_kwnames[] = { "self", NULL };
e6056257
RD
8167
8168 self = self;
742fc581 8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
e6056257
RD
8170 return NULL;
8171 if (_argo0) {
8172 if (_argo0 == Py_None) { _arg0 = NULL; }
8173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
e6056257
RD
8175 return NULL;
8176 }
8177 }
8178{
0e2ff151 8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8180 wxTextCtrl_Paste(_arg0);
e6056257 8181
0e2ff151 8182 wxPyEndAllowThreads(__tstate);
e6056257 8183 if (PyErr_Occurred()) return NULL;
742fc581
RD
8184} Py_INCREF(Py_None);
8185 _resultobj = Py_None;
e6056257
RD
8186 return _resultobj;
8187}
8188
8189#define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
8190static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject * _resultobj;
8192 bool _result;
8193 wxTextCtrl * _arg0;
8194 PyObject * _argo0 = 0;
8195 char *_kwnames[] = { "self", NULL };
8196
8197 self = self;
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
8199 return NULL;
8200 if (_argo0) {
8201 if (_argo0 == Py_None) { _arg0 = NULL; }
8202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
8204 return NULL;
8205 }
8206 }
8207{
0e2ff151 8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8209 _result = (bool )wxTextCtrl_CanCopy(_arg0);
e6056257 8210
0e2ff151 8211 wxPyEndAllowThreads(__tstate);
e6056257
RD
8212 if (PyErr_Occurred()) return NULL;
8213} _resultobj = Py_BuildValue("i",_result);
8214 return _resultobj;
8215}
8216
8217#define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
8218static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject * _resultobj;
8220 bool _result;
8221 wxTextCtrl * _arg0;
8222 PyObject * _argo0 = 0;
8223 char *_kwnames[] = { "self", NULL };
8224
8225 self = self;
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
8227 return NULL;
8228 if (_argo0) {
8229 if (_argo0 == Py_None) { _arg0 = NULL; }
8230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
8232 return NULL;
8233 }
8234 }
8235{
0e2ff151 8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8237 _result = (bool )wxTextCtrl_CanCut(_arg0);
e6056257 8238
0e2ff151 8239 wxPyEndAllowThreads(__tstate);
e6056257
RD
8240 if (PyErr_Occurred()) return NULL;
8241} _resultobj = Py_BuildValue("i",_result);
8242 return _resultobj;
8243}
8244
8245#define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
8246static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8247 PyObject * _resultobj;
8248 bool _result;
8249 wxTextCtrl * _arg0;
8250 PyObject * _argo0 = 0;
8251 char *_kwnames[] = { "self", NULL };
8252
8253 self = self;
8254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
8255 return NULL;
8256 if (_argo0) {
8257 if (_argo0 == Py_None) { _arg0 = NULL; }
8258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
8260 return NULL;
8261 }
8262 }
8263{
0e2ff151 8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8265 _result = (bool )wxTextCtrl_CanPaste(_arg0);
e6056257 8266
0e2ff151 8267 wxPyEndAllowThreads(__tstate);
e6056257
RD
8268 if (PyErr_Occurred()) return NULL;
8269} _resultobj = Py_BuildValue("i",_result);
8270 return _resultobj;
8271}
8272
742fc581
RD
8273#define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
8274static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 8275 PyObject * _resultobj;
e6056257
RD
8276 wxTextCtrl * _arg0;
8277 PyObject * _argo0 = 0;
8278 char *_kwnames[] = { "self", NULL };
8279
8280 self = self;
742fc581 8281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
e6056257
RD
8282 return NULL;
8283 if (_argo0) {
8284 if (_argo0 == Py_None) { _arg0 = NULL; }
8285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
e6056257
RD
8287 return NULL;
8288 }
8289 }
8290{
0e2ff151 8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8292 wxTextCtrl_Undo(_arg0);
e6056257 8293
0e2ff151 8294 wxPyEndAllowThreads(__tstate);
e6056257 8295 if (PyErr_Occurred()) return NULL;
742fc581
RD
8296} Py_INCREF(Py_None);
8297 _resultobj = Py_None;
e6056257
RD
8298 return _resultobj;
8299}
8300
742fc581
RD
8301#define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
8302static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 8303 PyObject * _resultobj;
e6056257
RD
8304 wxTextCtrl * _arg0;
8305 PyObject * _argo0 = 0;
8306 char *_kwnames[] = { "self", NULL };
8307
8308 self = self;
742fc581 8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
e6056257
RD
8310 return NULL;
8311 if (_argo0) {
8312 if (_argo0 == Py_None) { _arg0 = NULL; }
8313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
e6056257
RD
8315 return NULL;
8316 }
8317 }
8318{
0e2ff151 8319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8320 wxTextCtrl_Redo(_arg0);
e6056257 8321
0e2ff151 8322 wxPyEndAllowThreads(__tstate);
e6056257 8323 if (PyErr_Occurred()) return NULL;
742fc581
RD
8324} Py_INCREF(Py_None);
8325 _resultobj = Py_None;
e6056257
RD
8326 return _resultobj;
8327}
8328
742fc581
RD
8329#define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
8330static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 8331 PyObject * _resultobj;
742fc581 8332 bool _result;
e6056257 8333 wxTextCtrl * _arg0;
e6056257
RD
8334 PyObject * _argo0 = 0;
8335 char *_kwnames[] = { "self", NULL };
8336
8337 self = self;
742fc581 8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
e6056257
RD
8339 return NULL;
8340 if (_argo0) {
8341 if (_argo0 == Py_None) { _arg0 = NULL; }
8342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
e6056257
RD
8344 return NULL;
8345 }
8346 }
8347{
0e2ff151 8348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8349 _result = (bool )wxTextCtrl_CanUndo(_arg0);
e6056257 8350
0e2ff151 8351 wxPyEndAllowThreads(__tstate);
e6056257 8352 if (PyErr_Occurred()) return NULL;
742fc581 8353} _resultobj = Py_BuildValue("i",_result);
e6056257
RD
8354 return _resultobj;
8355}
8356
742fc581
RD
8357#define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
8358static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
8359 PyObject * _resultobj;
8360 bool _result;
8361 wxTextCtrl * _arg0;
8362 PyObject * _argo0 = 0;
8363 char *_kwnames[] = { "self", NULL };
8364
8365 self = self;
742fc581 8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
e6056257
RD
8367 return NULL;
8368 if (_argo0) {
8369 if (_argo0 == Py_None) { _arg0 = NULL; }
8370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
e6056257
RD
8372 return NULL;
8373 }
8374 }
8375{
0e2ff151 8376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8377 _result = (bool )wxTextCtrl_CanRedo(_arg0);
e6056257 8378
0e2ff151 8379 wxPyEndAllowThreads(__tstate);
e6056257
RD
8380 if (PyErr_Occurred()) return NULL;
8381} _resultobj = Py_BuildValue("i",_result);
8382 return _resultobj;
8383}
8384
742fc581
RD
8385#define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
8386static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
8387 PyObject * _resultobj;
8388 wxTextCtrl * _arg0;
742fc581 8389 long _arg1;
e6056257 8390 PyObject * _argo0 = 0;
742fc581 8391 char *_kwnames[] = { "self","pos", NULL };
e6056257
RD
8392
8393 self = self;
742fc581 8394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
e6056257
RD
8395 return NULL;
8396 if (_argo0) {
8397 if (_argo0 == Py_None) { _arg0 = NULL; }
8398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
e6056257
RD
8400 return NULL;
8401 }
8402 }
8403{
0e2ff151 8404 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8405 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
e6056257 8406
0e2ff151 8407 wxPyEndAllowThreads(__tstate);
e6056257
RD
8408 if (PyErr_Occurred()) return NULL;
8409} Py_INCREF(Py_None);
8410 _resultobj = Py_None;
8411 return _resultobj;
8412}
8413
742fc581
RD
8414#define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
8415static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
8416 PyObject * _resultobj;
8417 wxTextCtrl * _arg0;
8418 PyObject * _argo0 = 0;
8419 char *_kwnames[] = { "self", NULL };
8420
8421 self = self;
742fc581 8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
e6056257
RD
8423 return NULL;
8424 if (_argo0) {
8425 if (_argo0 == Py_None) { _arg0 = NULL; }
8426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
e6056257
RD
8428 return NULL;
8429 }
8430 }
8431{
0e2ff151 8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8433 wxTextCtrl_SetInsertionPointEnd(_arg0);
e6056257 8434
0e2ff151 8435 wxPyEndAllowThreads(__tstate);
e6056257
RD
8436 if (PyErr_Occurred()) return NULL;
8437} Py_INCREF(Py_None);
8438 _resultobj = Py_None;
8439 return _resultobj;
8440}
8441
742fc581
RD
8442#define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
8443static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 8444 PyObject * _resultobj;
742fc581 8445 long _result;
e6056257 8446 wxTextCtrl * _arg0;
e6056257 8447 PyObject * _argo0 = 0;
742fc581 8448 char *_kwnames[] = { "self", NULL };
e6056257
RD
8449
8450 self = self;
742fc581 8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
e6056257
RD
8452 return NULL;
8453 if (_argo0) {
8454 if (_argo0 == Py_None) { _arg0 = NULL; }
8455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
e6056257
RD
8457 return NULL;
8458 }
8459 }
8460{
0e2ff151 8461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8462 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
e6056257 8463
0e2ff151 8464 wxPyEndAllowThreads(__tstate);
e6056257 8465 if (PyErr_Occurred()) return NULL;
742fc581 8466} _resultobj = Py_BuildValue("l",_result);
e6056257
RD
8467 return _resultobj;
8468}
8469
742fc581
RD
8470#define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
8471static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 8472 PyObject * _resultobj;
742fc581 8473 long _result;
e6056257 8474 wxTextCtrl * _arg0;
e6056257 8475 PyObject * _argo0 = 0;
742fc581 8476 char *_kwnames[] = { "self", NULL };
e6056257
RD
8477
8478 self = self;
742fc581 8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
e6056257
RD
8480 return NULL;
8481 if (_argo0) {
8482 if (_argo0 == Py_None) { _arg0 = NULL; }
8483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
e6056257
RD
8485 return NULL;
8486 }
8487 }
742fc581 8488{
0e2ff151 8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8490 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
742fc581 8491
0e2ff151 8492 wxPyEndAllowThreads(__tstate);
742fc581
RD
8493 if (PyErr_Occurred()) return NULL;
8494} _resultobj = Py_BuildValue("l",_result);
8495 return _resultobj;
8496}
8497
8498#define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
8499static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8500 PyObject * _resultobj;
8501 wxTextCtrl * _arg0;
8502 long _arg1;
8503 long _arg2;
8504 PyObject * _argo0 = 0;
8505 char *_kwnames[] = { "self","from","to", NULL };
8506
8507 self = self;
8508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
8509 return NULL;
8510 if (_argo0) {
8511 if (_argo0 == Py_None) { _arg0 = NULL; }
8512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
e6056257
RD
8514 return NULL;
8515 }
8516 }
8517{
0e2ff151 8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8519 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
e6056257 8520
0e2ff151 8521 wxPyEndAllowThreads(__tstate);
e6056257 8522 if (PyErr_Occurred()) return NULL;
742fc581
RD
8523} Py_INCREF(Py_None);
8524 _resultobj = Py_None;
e6056257
RD
8525 return _resultobj;
8526}
8527
742fc581
RD
8528#define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
8529static PyObject *_wrap_wxTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257 8530 PyObject * _resultobj;
e6056257
RD
8531 wxTextCtrl * _arg0;
8532 PyObject * _argo0 = 0;
8533 char *_kwnames[] = { "self", NULL };
e6056257
RD
8534
8535 self = self;
742fc581 8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SelectAll",_kwnames,&_argo0))
e6056257
RD
8537 return NULL;
8538 if (_argo0) {
8539 if (_argo0 == Py_None) { _arg0 = NULL; }
8540 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8541 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
e6056257
RD
8542 return NULL;
8543 }
8544 }
8545{
0e2ff151 8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8547 wxTextCtrl_SelectAll(_arg0);
e6056257 8548
0e2ff151 8549 wxPyEndAllowThreads(__tstate);
e6056257 8550 if (PyErr_Occurred()) return NULL;
742fc581
RD
8551} Py_INCREF(Py_None);
8552 _resultobj = Py_None;
e6056257
RD
8553 return _resultobj;
8554}
8555
742fc581
RD
8556#define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
8557static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
e6056257
RD
8558 PyObject * _resultobj;
8559 wxTextCtrl * _arg0;
742fc581 8560 bool _arg1;
e6056257 8561 PyObject * _argo0 = 0;
742fc581
RD
8562 int tempbool1;
8563 char *_kwnames[] = { "self","editable", NULL };
e6056257
RD
8564
8565 self = self;
742fc581 8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
e6056257
RD
8567 return NULL;
8568 if (_argo0) {
8569 if (_argo0 == Py_None) { _arg0 = NULL; }
8570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
742fc581 8571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
e6056257
RD
8572 return NULL;
8573 }
8574 }
742fc581 8575 _arg1 = (bool ) tempbool1;
e6056257 8576{
0e2ff151 8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8578 wxTextCtrl_SetEditable(_arg0,_arg1);
e6056257 8579
0e2ff151 8580 wxPyEndAllowThreads(__tstate);
e6056257
RD
8581 if (PyErr_Occurred()) return NULL;
8582} Py_INCREF(Py_None);
8583 _resultobj = Py_None;
8584 return _resultobj;
8585}
8586
383ea3d0
RD
8587#define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
8588static PyObject *_wrap_wxTextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8589 PyObject * _resultobj;
8590 bool _result;
8591 wxTextCtrl * _arg0;
8592 PyObject * _argo0 = 0;
8593 char *_kwnames[] = { "self", NULL };
8594
8595 self = self;
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsSingleLine",_kwnames,&_argo0))
8597 return NULL;
8598 if (_argo0) {
8599 if (_argo0 == Py_None) { _arg0 = NULL; }
8600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
8602 return NULL;
8603 }
8604 }
8605{
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 _result = (bool )wxTextCtrl_IsSingleLine(_arg0);
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) return NULL;
8611} _resultobj = Py_BuildValue("i",_result);
8612 return _resultobj;
8613}
8614
8615#define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
8616static PyObject *_wrap_wxTextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8617 PyObject * _resultobj;
8618 bool _result;
8619 wxTextCtrl * _arg0;
8620 PyObject * _argo0 = 0;
8621 char *_kwnames[] = { "self", NULL };
8622
8623 self = self;
8624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsMultiLine",_kwnames,&_argo0))
8625 return NULL;
8626 if (_argo0) {
8627 if (_argo0 == Py_None) { _arg0 = NULL; }
8628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
8630 return NULL;
8631 }
8632 }
8633{
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 _result = (bool )wxTextCtrl_IsMultiLine(_arg0);
8636
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) return NULL;
8639} _resultobj = Py_BuildValue("i",_result);
8640 return _resultobj;
8641}
8642
e6056257
RD
8643static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
8644 self->AppendText(text);
8645 }
8646static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8647 PyObject * _resultobj;
8648 wxTextCtrl * _arg0;
8649 wxString * _arg1;
8650 PyObject * _argo0 = 0;
8651 PyObject * _obj1 = 0;
8652 char *_kwnames[] = { "self","text", NULL };
8653
8654 self = self;
8655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
8656 return NULL;
8657 if (_argo0) {
8658 if (_argo0 == Py_None) { _arg0 = NULL; }
8659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
8661 return NULL;
8662 }
8663 }
8664{
6824d4f9
RD
8665 _arg1 = wxString_in_helper(_obj1);
8666 if (_arg1 == NULL)
e6056257 8667 return NULL;
e6056257
RD
8668}
8669{
0e2ff151 8670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8671 wxTextCtrl_write(_arg0,*_arg1);
e6056257 8672
0e2ff151 8673 wxPyEndAllowThreads(__tstate);
e6056257
RD
8674 if (PyErr_Occurred()) return NULL;
8675} Py_INCREF(Py_None);
8676 _resultobj = Py_None;
8677{
8678 if (_obj1)
8679 delete _arg1;
8680}
8681 return _resultobj;
8682}
8683
dbd3685c 8684static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to) {
383ea3d0 8685 return self->GetValue().Mid(from, to - from);
dbd3685c
RD
8686 }
8687static PyObject *_wrap_wxTextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8688 PyObject * _resultobj;
8689 wxString * _result;
8690 wxTextCtrl * _arg0;
8691 long _arg1;
8692 long _arg2;
8693 PyObject * _argo0 = 0;
8694 char *_kwnames[] = { "self","from","to", NULL };
8695
8696 self = self;
8697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetString",_kwnames,&_argo0,&_arg1,&_arg2))
8698 return NULL;
8699 if (_argo0) {
8700 if (_argo0 == Py_None) { _arg0 = NULL; }
8701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
8703 return NULL;
8704 }
8705 }
8706{
0e2ff151 8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8708 _result = new wxString (wxTextCtrl_GetString(_arg0,_arg1,_arg2));
dbd3685c 8709
0e2ff151 8710 wxPyEndAllowThreads(__tstate);
dbd3685c
RD
8711 if (PyErr_Occurred()) return NULL;
8712}{
6824d4f9 8713#if wxUSE_UNICODE
7108497a 8714 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 8715#else
dbd3685c 8716 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 8717#endif
dbd3685c
RD
8718}
8719{
8720 delete _result;
8721}
8722 return _resultobj;
8723}
8724
e6056257
RD
8725static void *SwigwxScrollBarTowxControl(void *ptr) {
8726 wxScrollBar *src;
8727 wxControl *dest;
8728 src = (wxScrollBar *) ptr;
8729 dest = (wxControl *) src;
8730 return (void *) dest;
8731}
8732
8733static void *SwigwxScrollBarTowxWindow(void *ptr) {
8734 wxScrollBar *src;
8735 wxWindow *dest;
8736 src = (wxScrollBar *) ptr;
8737 dest = (wxWindow *) src;
8738 return (void *) dest;
8739}
8740
8741static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
8742 wxScrollBar *src;
8743 wxEvtHandler *dest;
8744 src = (wxScrollBar *) ptr;
8745 dest = (wxEvtHandler *) src;
8746 return (void *) dest;
8747}
8748
8749static void *SwigwxScrollBarTowxObject(void *ptr) {
8750 wxScrollBar *src;
8751 wxObject *dest;
8752 src = (wxScrollBar *) ptr;
8753 dest = (wxObject *) src;
8754 return (void *) dest;
8755}
8756
8757#define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8758static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject * _resultobj;
8760 wxScrollBar * _result;
8761 wxWindow * _arg0;
8762 wxWindowID _arg1 = (wxWindowID ) -1;
8763 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8764 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
8765 long _arg4 = (long ) wxSB_HORIZONTAL;
8766 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 8767 wxString * _arg6 = (wxString *) &wxPyScrollBarNameStr;
e6056257
RD
8768 PyObject * _argo0 = 0;
8769 wxPoint temp;
8770 PyObject * _obj2 = 0;
8771 wxSize temp0;
8772 PyObject * _obj3 = 0;
8773 PyObject * _argo5 = 0;
c3bfa1cb 8774 PyObject * _obj6 = 0;
e6056257
RD
8775 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8776 char _ptemp[128];
8777
8778 self = self;
c3bfa1cb 8779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
e6056257
RD
8780 return NULL;
8781 if (_argo0) {
8782 if (_argo0 == Py_None) { _arg0 = NULL; }
8783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8785 return NULL;
8786 }
8787 }
8788 if (_obj2)
8789{
8790 _arg2 = &temp;
8791 if (! wxPoint_helper(_obj2, &_arg2))
8792 return NULL;
8793}
8794 if (_obj3)
8795{
8796 _arg3 = &temp0;
8797 if (! wxSize_helper(_obj3, &_arg3))
8798 return NULL;
8799}
8800 if (_argo5) {
7108497a 8801 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
e6056257
RD
8802 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8803 return NULL;
8804 }
8805 }
c3bfa1cb
RD
8806 if (_obj6)
8807{
8808 _arg6 = wxString_in_helper(_obj6);
8809 if (_arg6 == NULL)
8810 return NULL;
8811}
e6056257 8812{
0e2ff151 8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 8814 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
e6056257 8815
0e2ff151 8816 wxPyEndAllowThreads(__tstate);
e6056257
RD
8817 if (PyErr_Occurred()) return NULL;
8818} if (_result) {
8819 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
8820 _resultobj = Py_BuildValue("s",_ptemp);
8821 } else {
8822 Py_INCREF(Py_None);
8823 _resultobj = Py_None;
8824 }
c3bfa1cb
RD
8825{
8826 if (_obj6)
8827 delete _arg6;
8828}
e6056257
RD
8829 return _resultobj;
8830}
8831
8832#define new_wxPreScrollBar() (new wxScrollBar())
8833static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8834 PyObject * _resultobj;
8835 wxScrollBar * _result;
8836 char *_kwnames[] = { NULL };
8837 char _ptemp[128];
8838
8839 self = self;
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
8841 return NULL;
8842{
0e2ff151 8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8844 _result = (wxScrollBar *)new_wxPreScrollBar();
e6056257 8845
0e2ff151 8846 wxPyEndAllowThreads(__tstate);
e6056257
RD
8847 if (PyErr_Occurred()) return NULL;
8848} if (_result) {
8849 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
8850 _resultobj = Py_BuildValue("s",_ptemp);
8851 } else {
8852 Py_INCREF(Py_None);
8853 _resultobj = Py_None;
8854 }
8855 return _resultobj;
8856}
8857
8858#define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8859static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8860 PyObject * _resultobj;
8861 bool _result;
8862 wxScrollBar * _arg0;
8863 wxWindow * _arg1;
8864 wxWindowID _arg2 = (wxWindowID ) -1;
8865 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8866 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8867 long _arg5 = (long ) wxSB_HORIZONTAL;
8868 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 8869 wxString * _arg7 = (wxString *) &wxPyScrollBarNameStr;
e6056257
RD
8870 PyObject * _argo0 = 0;
8871 PyObject * _argo1 = 0;
8872 wxPoint temp;
8873 PyObject * _obj3 = 0;
8874 wxSize temp0;
8875 PyObject * _obj4 = 0;
8876 PyObject * _argo6 = 0;
c3bfa1cb 8877 PyObject * _obj7 = 0;
e6056257
RD
8878 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
8879
8880 self = self;
c3bfa1cb 8881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
8882 return NULL;
8883 if (_argo0) {
8884 if (_argo0 == Py_None) { _arg0 = NULL; }
8885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8887 return NULL;
8888 }
8889 }
8890 if (_argo1) {
8891 if (_argo1 == Py_None) { _arg1 = NULL; }
8892 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8893 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8894 return NULL;
8895 }
8896 }
8897 if (_obj3)
8898{
8899 _arg3 = &temp;
8900 if (! wxPoint_helper(_obj3, &_arg3))
8901 return NULL;
8902}
8903 if (_obj4)
8904{
8905 _arg4 = &temp0;
8906 if (! wxSize_helper(_obj4, &_arg4))
8907 return NULL;
8908}
8909 if (_argo6) {
7108497a 8910 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
8911 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8912 return NULL;
8913 }
8914 }
c3bfa1cb
RD
8915 if (_obj7)
8916{
8917 _arg7 = wxString_in_helper(_obj7);
8918 if (_arg7 == NULL)
8919 return NULL;
8920}
e6056257 8921{
0e2ff151 8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 8923 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 8924
0e2ff151 8925 wxPyEndAllowThreads(__tstate);
e6056257
RD
8926 if (PyErr_Occurred()) return NULL;
8927} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
8928{
8929 if (_obj7)
8930 delete _arg7;
8931}
e6056257
RD
8932 return _resultobj;
8933}
8934
8935#define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8936static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8937 PyObject * _resultobj;
8938 int _result;
8939 wxScrollBar * _arg0;
8940 PyObject * _argo0 = 0;
8941 char *_kwnames[] = { "self", NULL };
8942
8943 self = self;
8944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
8945 return NULL;
8946 if (_argo0) {
8947 if (_argo0 == Py_None) { _arg0 = NULL; }
8948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8950 return NULL;
8951 }
8952 }
8953{
0e2ff151 8954 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8955 _result = (int )wxScrollBar_GetRange(_arg0);
e6056257 8956
0e2ff151 8957 wxPyEndAllowThreads(__tstate);
e6056257
RD
8958 if (PyErr_Occurred()) return NULL;
8959} _resultobj = Py_BuildValue("i",_result);
8960 return _resultobj;
8961}
8962
8963#define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8964static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8965 PyObject * _resultobj;
8966 int _result;
8967 wxScrollBar * _arg0;
8968 PyObject * _argo0 = 0;
8969 char *_kwnames[] = { "self", NULL };
8970
8971 self = self;
8972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
8973 return NULL;
8974 if (_argo0) {
8975 if (_argo0 == Py_None) { _arg0 = NULL; }
8976 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8978 return NULL;
8979 }
8980 }
8981{
0e2ff151 8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 8983 _result = (int )wxScrollBar_GetPageSize(_arg0);
e6056257 8984
0e2ff151 8985 wxPyEndAllowThreads(__tstate);
e6056257
RD
8986 if (PyErr_Occurred()) return NULL;
8987} _resultobj = Py_BuildValue("i",_result);
8988 return _resultobj;
8989}
8990
8991#define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8992static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8993 PyObject * _resultobj;
8994 int _result;
8995 wxScrollBar * _arg0;
8996 PyObject * _argo0 = 0;
8997 char *_kwnames[] = { "self", NULL };
8998
8999 self = self;
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
9001 return NULL;
9002 if (_argo0) {
9003 if (_argo0 == Py_None) { _arg0 = NULL; }
9004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
9006 return NULL;
9007 }
9008 }
9009{
0e2ff151 9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9011 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
e6056257 9012
0e2ff151 9013 wxPyEndAllowThreads(__tstate);
e6056257
RD
9014 if (PyErr_Occurred()) return NULL;
9015} _resultobj = Py_BuildValue("i",_result);
9016 return _resultobj;
9017}
9018
9019#define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
9020static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9021 PyObject * _resultobj;
9022 int _result;
9023 wxScrollBar * _arg0;
9024 PyObject * _argo0 = 0;
9025 char *_kwnames[] = { "self", NULL };
9026
9027 self = self;
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
9029 return NULL;
9030 if (_argo0) {
9031 if (_argo0 == Py_None) { _arg0 = NULL; }
9032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
9034 return NULL;
9035 }
9036 }
9037{
0e2ff151 9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9039 _result = (int )wxScrollBar_GetThumbSize(_arg0);
e6056257 9040
0e2ff151 9041 wxPyEndAllowThreads(__tstate);
e6056257
RD
9042 if (PyErr_Occurred()) return NULL;
9043} _resultobj = Py_BuildValue("i",_result);
9044 return _resultobj;
9045}
9046
dbd3685c
RD
9047#define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
9048static PyObject *_wrap_wxScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject * _resultobj;
9050 bool _result;
9051 wxScrollBar * _arg0;
9052 PyObject * _argo0 = 0;
9053 char *_kwnames[] = { "self", NULL };
9054
9055 self = self;
9056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_IsVertical",_kwnames,&_argo0))
9057 return NULL;
9058 if (_argo0) {
9059 if (_argo0 == Py_None) { _arg0 = NULL; }
9060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
9062 return NULL;
9063 }
9064 }
9065{
0e2ff151 9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9067 _result = (bool )wxScrollBar_IsVertical(_arg0);
dbd3685c 9068
0e2ff151 9069 wxPyEndAllowThreads(__tstate);
dbd3685c
RD
9070 if (PyErr_Occurred()) return NULL;
9071} _resultobj = Py_BuildValue("i",_result);
9072 return _resultobj;
9073}
9074
e6056257
RD
9075#define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
9076static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9077 PyObject * _resultobj;
9078 wxScrollBar * _arg0;
9079 int _arg1;
9080 PyObject * _argo0 = 0;
9081 char *_kwnames[] = { "self","viewStart", NULL };
9082
9083 self = self;
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
9085 return NULL;
9086 if (_argo0) {
9087 if (_argo0 == Py_None) { _arg0 = NULL; }
9088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
9090 return NULL;
9091 }
9092 }
9093{
0e2ff151 9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9095 wxScrollBar_SetThumbPosition(_arg0,_arg1);
e6056257 9096
0e2ff151 9097 wxPyEndAllowThreads(__tstate);
e6056257
RD
9098 if (PyErr_Occurred()) return NULL;
9099} Py_INCREF(Py_None);
9100 _resultobj = Py_None;
9101 return _resultobj;
9102}
9103
9104#define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9105static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9106 PyObject * _resultobj;
9107 wxScrollBar * _arg0;
9108 int _arg1;
9109 int _arg2;
9110 int _arg3;
9111 int _arg4;
9112 bool _arg5 = (bool ) TRUE;
9113 PyObject * _argo0 = 0;
9114 int tempbool5 = (int) TRUE;
9115 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
9116
9117 self = self;
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
9119 return NULL;
9120 if (_argo0) {
9121 if (_argo0 == Py_None) { _arg0 = NULL; }
9122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
9124 return NULL;
9125 }
9126 }
9127 _arg5 = (bool ) tempbool5;
9128{
0e2ff151 9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9130 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
e6056257 9131
0e2ff151 9132 wxPyEndAllowThreads(__tstate);
e6056257
RD
9133 if (PyErr_Occurred()) return NULL;
9134} Py_INCREF(Py_None);
9135 _resultobj = Py_None;
9136 return _resultobj;
9137}
9138
9139static void *SwigwxSpinButtonTowxControl(void *ptr) {
9140 wxSpinButton *src;
9141 wxControl *dest;
9142 src = (wxSpinButton *) ptr;
9143 dest = (wxControl *) src;
9144 return (void *) dest;
9145}
9146
9147static void *SwigwxSpinButtonTowxWindow(void *ptr) {
9148 wxSpinButton *src;
9149 wxWindow *dest;
9150 src = (wxSpinButton *) ptr;
9151 dest = (wxWindow *) src;
9152 return (void *) dest;
9153}
9154
9155static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
9156 wxSpinButton *src;
9157 wxEvtHandler *dest;
9158 src = (wxSpinButton *) ptr;
9159 dest = (wxEvtHandler *) src;
9160 return (void *) dest;
9161}
9162
9163static void *SwigwxSpinButtonTowxObject(void *ptr) {
9164 wxSpinButton *src;
9165 wxObject *dest;
9166 src = (wxSpinButton *) ptr;
9167 dest = (wxObject *) src;
9168 return (void *) dest;
9169}
9170
9171#define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9172static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9173 PyObject * _resultobj;
9174 wxSpinButton * _result;
9175 wxWindow * _arg0;
9176 wxWindowID _arg1 = (wxWindowID ) -1;
9177 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
9178 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
9179 long _arg4 = (long ) wxSP_HORIZONTAL;
c3bfa1cb 9180 wxString * _arg5 = (wxString *) &wxPySPIN_BUTTON_NAME;
e6056257
RD
9181 PyObject * _argo0 = 0;
9182 wxPoint temp;
9183 PyObject * _obj2 = 0;
9184 wxSize temp0;
9185 PyObject * _obj3 = 0;
c3bfa1cb 9186 PyObject * _obj5 = 0;
e6056257
RD
9187 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
9188 char _ptemp[128];
9189
9190 self = self;
c3bfa1cb 9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
e6056257
RD
9192 return NULL;
9193 if (_argo0) {
9194 if (_argo0 == Py_None) { _arg0 = NULL; }
9195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
9197 return NULL;
9198 }
9199 }
9200 if (_obj2)
9201{
9202 _arg2 = &temp;
9203 if (! wxPoint_helper(_obj2, &_arg2))
9204 return NULL;
9205}
9206 if (_obj3)
9207{
9208 _arg3 = &temp0;
9209 if (! wxSize_helper(_obj3, &_arg3))
9210 return NULL;
c3bfa1cb
RD
9211}
9212 if (_obj5)
9213{
9214 _arg5 = wxString_in_helper(_obj5);
9215 if (_arg5 == NULL)
9216 return NULL;
e6056257
RD
9217}
9218{
0e2ff151 9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 9220 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
e6056257 9221
0e2ff151 9222 wxPyEndAllowThreads(__tstate);
e6056257
RD
9223 if (PyErr_Occurred()) return NULL;
9224} if (_result) {
9225 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
9226 _resultobj = Py_BuildValue("s",_ptemp);
9227 } else {
9228 Py_INCREF(Py_None);
9229 _resultobj = Py_None;
9230 }
c3bfa1cb
RD
9231{
9232 if (_obj5)
9233 delete _arg5;
9234}
e6056257
RD
9235 return _resultobj;
9236}
9237
9238#define new_wxPreSpinButton() (new wxSpinButton())
9239static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9240 PyObject * _resultobj;
9241 wxSpinButton * _result;
9242 char *_kwnames[] = { NULL };
9243 char _ptemp[128];
9244
9245 self = self;
9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
9247 return NULL;
9248{
0e2ff151 9249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9250 _result = (wxSpinButton *)new_wxPreSpinButton();
e6056257 9251
0e2ff151 9252 wxPyEndAllowThreads(__tstate);
e6056257
RD
9253 if (PyErr_Occurred()) return NULL;
9254} if (_result) {
9255 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
9256 _resultobj = Py_BuildValue("s",_ptemp);
9257 } else {
9258 Py_INCREF(Py_None);
9259 _resultobj = Py_None;
9260 }
9261 return _resultobj;
9262}
9263
9264#define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9265static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9266 PyObject * _resultobj;
9267 bool _result;
9268 wxSpinButton * _arg0;
9269 wxWindow * _arg1;
9270 wxWindowID _arg2 = (wxWindowID ) -1;
9271 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9272 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9273 long _arg5 = (long ) wxSP_HORIZONTAL;
c3bfa1cb 9274 wxString * _arg6 = (wxString *) &wxPySPIN_BUTTON_NAME;
e6056257
RD
9275 PyObject * _argo0 = 0;
9276 PyObject * _argo1 = 0;
9277 wxPoint temp;
9278 PyObject * _obj3 = 0;
9279 wxSize temp0;
9280 PyObject * _obj4 = 0;
c3bfa1cb 9281 PyObject * _obj6 = 0;
e6056257
RD
9282 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
9283
9284 self = self;
c3bfa1cb 9285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
e6056257
RD
9286 return NULL;
9287 if (_argo0) {
9288 if (_argo0 == Py_None) { _arg0 = NULL; }
9289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
9291 return NULL;
9292 }
9293 }
9294 if (_argo1) {
9295 if (_argo1 == Py_None) { _arg1 = NULL; }
9296 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9297 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
9298 return NULL;
9299 }
9300 }
9301 if (_obj3)
9302{
9303 _arg3 = &temp;
9304 if (! wxPoint_helper(_obj3, &_arg3))
9305 return NULL;
9306}
9307 if (_obj4)
9308{
9309 _arg4 = &temp0;
9310 if (! wxSize_helper(_obj4, &_arg4))
9311 return NULL;
c3bfa1cb
RD
9312}
9313 if (_obj6)
9314{
9315 _arg6 = wxString_in_helper(_obj6);
9316 if (_arg6 == NULL)
9317 return NULL;
e6056257
RD
9318}
9319{
0e2ff151 9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 9321 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
e6056257 9322
0e2ff151 9323 wxPyEndAllowThreads(__tstate);
e6056257
RD
9324 if (PyErr_Occurred()) return NULL;
9325} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
9326{
9327 if (_obj6)
9328 delete _arg6;
9329}
e6056257
RD
9330 return _resultobj;
9331}
9332
9333#define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
9334static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9335 PyObject * _resultobj;
9336 int _result;
9337 wxSpinButton * _arg0;
9338 PyObject * _argo0 = 0;
9339 char *_kwnames[] = { "self", NULL };
9340
9341 self = self;
9342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
9343 return NULL;
9344 if (_argo0) {
9345 if (_argo0 == Py_None) { _arg0 = NULL; }
9346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
9348 return NULL;
9349 }
9350 }
9351{
0e2ff151 9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9353 _result = (int )wxSpinButton_GetMax(_arg0);
e6056257 9354
0e2ff151 9355 wxPyEndAllowThreads(__tstate);
e6056257
RD
9356 if (PyErr_Occurred()) return NULL;
9357} _resultobj = Py_BuildValue("i",_result);
9358 return _resultobj;
9359}
9360
9361#define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
9362static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject * _resultobj;
9364 int _result;
9365 wxSpinButton * _arg0;
9366 PyObject * _argo0 = 0;
9367 char *_kwnames[] = { "self", NULL };
9368
9369 self = self;
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
9371 return NULL;
9372 if (_argo0) {
9373 if (_argo0 == Py_None) { _arg0 = NULL; }
9374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
9376 return NULL;
9377 }
9378 }
9379{
0e2ff151 9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9381 _result = (int )wxSpinButton_GetMin(_arg0);
e6056257 9382
0e2ff151 9383 wxPyEndAllowThreads(__tstate);
e6056257
RD
9384 if (PyErr_Occurred()) return NULL;
9385} _resultobj = Py_BuildValue("i",_result);
9386 return _resultobj;
9387}
9388
9389#define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
9390static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject * _resultobj;
9392 int _result;
9393 wxSpinButton * _arg0;
9394 PyObject * _argo0 = 0;
9395 char *_kwnames[] = { "self", NULL };
9396
9397 self = self;
9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
9399 return NULL;
9400 if (_argo0) {
9401 if (_argo0 == Py_None) { _arg0 = NULL; }
9402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
9404 return NULL;
9405 }
9406 }
9407{
0e2ff151 9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9409 _result = (int )wxSpinButton_GetValue(_arg0);
e6056257 9410
0e2ff151 9411 wxPyEndAllowThreads(__tstate);
e6056257
RD
9412 if (PyErr_Occurred()) return NULL;
9413} _resultobj = Py_BuildValue("i",_result);
9414 return _resultobj;
9415}
9416
9417#define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
9418static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9419 PyObject * _resultobj;
9420 wxSpinButton * _arg0;
9421 int _arg1;
9422 int _arg2;
9423 PyObject * _argo0 = 0;
9424 char *_kwnames[] = { "self","min","max", NULL };
9425
9426 self = self;
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
9428 return NULL;
9429 if (_argo0) {
9430 if (_argo0 == Py_None) { _arg0 = NULL; }
9431 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9432 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
9433 return NULL;
9434 }
9435 }
9436{
0e2ff151 9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9438 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
e6056257 9439
0e2ff151 9440 wxPyEndAllowThreads(__tstate);
e6056257
RD
9441 if (PyErr_Occurred()) return NULL;
9442} Py_INCREF(Py_None);
9443 _resultobj = Py_None;
9444 return _resultobj;
9445}
9446
9447#define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9448static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9449 PyObject * _resultobj;
9450 wxSpinButton * _arg0;
9451 int _arg1;
9452 PyObject * _argo0 = 0;
9453 char *_kwnames[] = { "self","value", NULL };
9454
9455 self = self;
9456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
9457 return NULL;
9458 if (_argo0) {
9459 if (_argo0 == Py_None) { _arg0 = NULL; }
9460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
9462 return NULL;
9463 }
9464 }
9465{
0e2ff151 9466 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9467 wxSpinButton_SetValue(_arg0,_arg1);
e6056257 9468
0e2ff151 9469 wxPyEndAllowThreads(__tstate);
e6056257
RD
9470 if (PyErr_Occurred()) return NULL;
9471} Py_INCREF(Py_None);
9472 _resultobj = Py_None;
9473 return _resultobj;
9474}
9475
9476static void *SwigwxStaticBitmapTowxControl(void *ptr) {
9477 wxStaticBitmap *src;
9478 wxControl *dest;
9479 src = (wxStaticBitmap *) ptr;
9480 dest = (wxControl *) src;
9481 return (void *) dest;
9482}
9483
9484static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
9485 wxStaticBitmap *src;
9486 wxWindow *dest;
9487 src = (wxStaticBitmap *) ptr;
9488 dest = (wxWindow *) src;
9489 return (void *) dest;
9490}
9491
9492static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
9493 wxStaticBitmap *src;
9494 wxEvtHandler *dest;
9495 src = (wxStaticBitmap *) ptr;
9496 dest = (wxEvtHandler *) src;
9497 return (void *) dest;
9498}
9499
9500static void *SwigwxStaticBitmapTowxObject(void *ptr) {
9501 wxStaticBitmap *src;
9502 wxObject *dest;
9503 src = (wxStaticBitmap *) ptr;
9504 dest = (wxObject *) src;
9505 return (void *) dest;
9506}
9507
9508#define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9509static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9510 PyObject * _resultobj;
9511 wxStaticBitmap * _result;
9512 wxWindow * _arg0;
9513 wxWindowID _arg1;
9514 wxBitmap * _arg2;
9515 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9516 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9517 long _arg5 = (long ) 0;
c3bfa1cb 9518 wxString * _arg6 = (wxString *) &wxPyStaticBitmapNameStr;
e6056257
RD
9519 PyObject * _argo0 = 0;
9520 PyObject * _argo2 = 0;
9521 wxPoint temp;
9522 PyObject * _obj3 = 0;
9523 wxSize temp0;
9524 PyObject * _obj4 = 0;
c3bfa1cb 9525 PyObject * _obj6 = 0;
e6056257
RD
9526 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
9527 char _ptemp[128];
9528
9529 self = self;
c3bfa1cb 9530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_obj6))
e6056257
RD
9531 return NULL;
9532 if (_argo0) {
9533 if (_argo0 == Py_None) { _arg0 = NULL; }
9534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
9536 return NULL;
9537 }
9538 }
9539 if (_argo2) {
7108497a 9540 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
e6056257
RD
9541 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
9542 return NULL;
9543 }
9544 }
9545 if (_obj3)
9546{
9547 _arg3 = &temp;
9548 if (! wxPoint_helper(_obj3, &_arg3))
9549 return NULL;
9550}
9551 if (_obj4)
9552{
9553 _arg4 = &temp0;
9554 if (! wxSize_helper(_obj4, &_arg4))
9555 return NULL;
c3bfa1cb
RD
9556}
9557 if (_obj6)
9558{
9559 _arg6 = wxString_in_helper(_obj6);
9560 if (_arg6 == NULL)
9561 return NULL;
e6056257
RD
9562}
9563{
0e2ff151 9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 9565 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
e6056257 9566
0e2ff151 9567 wxPyEndAllowThreads(__tstate);
e6056257
RD
9568 if (PyErr_Occurred()) return NULL;
9569} if (_result) {
9570 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
9571 _resultobj = Py_BuildValue("s",_ptemp);
9572 } else {
9573 Py_INCREF(Py_None);
9574 _resultobj = Py_None;
9575 }
c3bfa1cb
RD
9576{
9577 if (_obj6)
9578 delete _arg6;
9579}
e6056257
RD
9580 return _resultobj;
9581}
9582
9583#define new_wxPreStaticBitmap() (new wxStaticBitmap())
9584static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9585 PyObject * _resultobj;
9586 wxStaticBitmap * _result;
9587 char *_kwnames[] = { NULL };
9588 char _ptemp[128];
9589
9590 self = self;
9591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
9592 return NULL;
9593{
0e2ff151 9594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9595 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
e6056257 9596
0e2ff151 9597 wxPyEndAllowThreads(__tstate);
e6056257
RD
9598 if (PyErr_Occurred()) return NULL;
9599} if (_result) {
9600 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
9601 _resultobj = Py_BuildValue("s",_ptemp);
9602 } else {
9603 Py_INCREF(Py_None);
9604 _resultobj = Py_None;
9605 }
9606 return _resultobj;
9607}
9608
9609#define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9610static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9611 PyObject * _resultobj;
9612 bool _result;
9613 wxStaticBitmap * _arg0;
9614 wxWindow * _arg1;
9615 wxWindowID _arg2;
9616 wxBitmap * _arg3;
9617 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9618 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9619 long _arg6 = (long ) 0;
c3bfa1cb 9620 wxString * _arg7 = (wxString *) &wxPyStaticBitmapNameStr;
e6056257
RD
9621 PyObject * _argo0 = 0;
9622 PyObject * _argo1 = 0;
9623 PyObject * _argo3 = 0;
9624 wxPoint temp;
9625 PyObject * _obj4 = 0;
9626 wxSize temp0;
9627 PyObject * _obj5 = 0;
c3bfa1cb 9628 PyObject * _obj7 = 0;
e6056257
RD
9629 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
9630
9631 self = self;
c3bfa1cb 9632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_obj7))
e6056257
RD
9633 return NULL;
9634 if (_argo0) {
9635 if (_argo0 == Py_None) { _arg0 = NULL; }
9636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
9638 return NULL;
9639 }
9640 }
9641 if (_argo1) {
9642 if (_argo1 == Py_None) { _arg1 = NULL; }
9643 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9644 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
9645 return NULL;
9646 }
9647 }
9648 if (_argo3) {
7108497a 9649 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
e6056257
RD
9650 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
9651 return NULL;
9652 }
9653 }
9654 if (_obj4)
9655{
9656 _arg4 = &temp;
9657 if (! wxPoint_helper(_obj4, &_arg4))
9658 return NULL;
9659}
9660 if (_obj5)
9661{
9662 _arg5 = &temp0;
9663 if (! wxSize_helper(_obj5, &_arg5))
9664 return NULL;
c3bfa1cb
RD
9665}
9666 if (_obj7)
9667{
9668 _arg7 = wxString_in_helper(_obj7);
9669 if (_arg7 == NULL)
9670 return NULL;
e6056257
RD
9671}
9672{
0e2ff151 9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 9674 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
e6056257 9675
0e2ff151 9676 wxPyEndAllowThreads(__tstate);
e6056257
RD
9677 if (PyErr_Occurred()) return NULL;
9678} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
9679{
9680 if (_obj7)
9681 delete _arg7;
9682}
e6056257
RD
9683 return _resultobj;
9684}
9685
9686#define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
9687static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9688 PyObject * _resultobj;
9689 wxBitmap * _result;
9690 wxStaticBitmap * _arg0;
9691 PyObject * _argo0 = 0;
9692 char *_kwnames[] = { "self", NULL };
9693 char _ptemp[128];
9694
9695 self = self;
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
9697 return NULL;
9698 if (_argo0) {
9699 if (_argo0 == Py_None) { _arg0 = NULL; }
9700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
9702 return NULL;
9703 }
9704 }
9705{
0e2ff151 9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9707 _result = new wxBitmap (wxStaticBitmap_GetBitmap(_arg0));
e6056257 9708
0e2ff151 9709 wxPyEndAllowThreads(__tstate);
e6056257 9710 if (PyErr_Occurred()) return NULL;
00360d46
RD
9711} SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
9712 _resultobj = Py_BuildValue("s",_ptemp);
e6056257
RD
9713 return _resultobj;
9714}
9715
9716#define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
9717static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9718 PyObject * _resultobj;
9719 wxStaticBitmap * _arg0;
9720 wxBitmap * _arg1;
9721 PyObject * _argo0 = 0;
9722 PyObject * _argo1 = 0;
9723 char *_kwnames[] = { "self","bitmap", NULL };
9724
9725 self = self;
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
9727 return NULL;
9728 if (_argo0) {
9729 if (_argo0 == Py_None) { _arg0 = NULL; }
9730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
9732 return NULL;
9733 }
9734 }
9735 if (_argo1) {
7108497a 9736 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
e6056257
RD
9737 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
9738 return NULL;
9739 }
9740 }
9741{
0e2ff151 9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9743 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
e6056257 9744
0e2ff151 9745 wxPyEndAllowThreads(__tstate);
e6056257
RD
9746 if (PyErr_Occurred()) return NULL;
9747} Py_INCREF(Py_None);
9748 _resultobj = Py_None;
9749 return _resultobj;
9750}
9751
9752#define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
9753static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject * _resultobj;
9755 wxStaticBitmap * _arg0;
9756 wxIcon * _arg1;
9757 PyObject * _argo0 = 0;
9758 PyObject * _argo1 = 0;
9759 char *_kwnames[] = { "self","icon", NULL };
9760
9761 self = self;
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
9763 return NULL;
9764 if (_argo0) {
9765 if (_argo0 == Py_None) { _arg0 = NULL; }
9766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
9768 return NULL;
9769 }
9770 }
9771 if (_argo1) {
7108497a 9772 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
e6056257
RD
9773 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
9774 return NULL;
9775 }
9776 }
9777{
0e2ff151 9778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9779 wxStaticBitmap_SetIcon(_arg0,*_arg1);
e6056257 9780
0e2ff151 9781 wxPyEndAllowThreads(__tstate);
e6056257
RD
9782 if (PyErr_Occurred()) return NULL;
9783} Py_INCREF(Py_None);
9784 _resultobj = Py_None;
9785 return _resultobj;
9786}
9787
9788static void *SwigwxRadioBoxTowxControl(void *ptr) {
9789 wxRadioBox *src;
9790 wxControl *dest;
9791 src = (wxRadioBox *) ptr;
9792 dest = (wxControl *) src;
9793 return (void *) dest;
9794}
9795
9796static void *SwigwxRadioBoxTowxWindow(void *ptr) {
9797 wxRadioBox *src;
9798 wxWindow *dest;
9799 src = (wxRadioBox *) ptr;
9800 dest = (wxWindow *) src;
9801 return (void *) dest;
9802}
9803
9804static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
9805 wxRadioBox *src;
9806 wxEvtHandler *dest;
9807 src = (wxRadioBox *) ptr;
9808 dest = (wxEvtHandler *) src;
9809 return (void *) dest;
9810}
9811
9812static void *SwigwxRadioBoxTowxObject(void *ptr) {
9813 wxRadioBox *src;
9814 wxObject *dest;
9815 src = (wxRadioBox *) ptr;
9816 dest = (wxObject *) src;
9817 return (void *) dest;
9818}
9819
9820#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))
9821static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9822 PyObject * _resultobj;
9823 wxRadioBox * _result;
9824 wxWindow * _arg0;
9825 wxWindowID _arg1;
9826 wxString * _arg2;
9827 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9828 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9829 int _arg5 = (int ) 0;
9830 wxString * _arg6 = (wxString *) NULL;
9831 int _arg7 = (int ) 0;
9832 long _arg8 = (long ) wxRA_HORIZONTAL;
9833 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 9834 wxString * _arg10 = (wxString *) &wxPyRadioBoxNameStr;
e6056257
RD
9835 PyObject * _argo0 = 0;
9836 PyObject * _obj2 = 0;
9837 wxPoint temp;
9838 PyObject * _obj3 = 0;
9839 wxSize temp0;
9840 PyObject * _obj4 = 0;
9841 PyObject * _obj6 = 0;
9842 PyObject * _argo9 = 0;
c3bfa1cb 9843 PyObject * _obj10 = 0;
e6056257
RD
9844 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
9845 char _ptemp[128];
9846
9847 self = self;
c3bfa1cb 9848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOO:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_obj10))
e6056257
RD
9849 return NULL;
9850 if (_argo0) {
9851 if (_argo0 == Py_None) { _arg0 = NULL; }
9852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9854 return NULL;
9855 }
9856 }
9857{
6824d4f9
RD
9858 _arg2 = wxString_in_helper(_obj2);
9859 if (_arg2 == NULL)
e6056257 9860 return NULL;
e6056257
RD
9861}
9862 if (_obj3)
9863{
9864 _arg3 = &temp;
9865 if (! wxPoint_helper(_obj3, &_arg3))
9866 return NULL;
9867}
9868 if (_obj4)
9869{
9870 _arg4 = &temp0;
9871 if (! wxSize_helper(_obj4, &_arg4))
9872 return NULL;
9873}
9874 if (_obj6)
9875{
9876 _arg6 = wxString_LIST_helper(_obj6);
9877 if (_arg6 == NULL) {
9878 return NULL;
9879 }
9880}
9881 if (_argo9) {
7108497a 9882 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
e6056257
RD
9883 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9884 return NULL;
9885 }
9886 }
c3bfa1cb
RD
9887 if (_obj10)
9888{
9889 _arg10 = wxString_in_helper(_obj10);
9890 if (_arg10 == NULL)
9891 return NULL;
9892}
e6056257
RD
9893{
9894 if (_obj6) {
9895 _arg5 = PyList_Size(_obj6);
9896 }
9897 else {
9898 _arg5 = 0;
9899 }
9900}
9901{
0e2ff151 9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 9903 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
e6056257 9904
0e2ff151 9905 wxPyEndAllowThreads(__tstate);
e6056257
RD
9906 if (PyErr_Occurred()) return NULL;
9907} if (_result) {
9908 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9909 _resultobj = Py_BuildValue("s",_ptemp);
9910 } else {
9911 Py_INCREF(Py_None);
9912 _resultobj = Py_None;
9913 }
9914{
9915 if (_obj2)
9916 delete _arg2;
9917}
9918{
9919 delete [] _arg6;
c3bfa1cb
RD
9920}
9921{
9922 if (_obj10)
9923 delete _arg10;
e6056257
RD
9924}
9925 return _resultobj;
9926}
9927
9928#define new_wxPreRadioBox() (new wxRadioBox())
9929static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9930 PyObject * _resultobj;
9931 wxRadioBox * _result;
9932 char *_kwnames[] = { NULL };
9933 char _ptemp[128];
9934
9935 self = self;
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
9937 return NULL;
9938{
0e2ff151 9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 9940 _result = (wxRadioBox *)new_wxPreRadioBox();
e6056257 9941
0e2ff151 9942 wxPyEndAllowThreads(__tstate);
e6056257
RD
9943 if (PyErr_Occurred()) return NULL;
9944} if (_result) {
9945 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9946 _resultobj = Py_BuildValue("s",_ptemp);
9947 } else {
9948 Py_INCREF(Py_None);
9949 _resultobj = Py_None;
9950 }
9951 return _resultobj;
9952}
9953
9954#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))
9955static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9956 PyObject * _resultobj;
9957 bool _result;
9958 wxRadioBox * _arg0;
9959 wxWindow * _arg1;
9960 wxWindowID _arg2;
9961 wxString * _arg3;
9962 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9963 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9964 int _arg6 = (int ) 0;
9965 wxString * _arg7 = (wxString *) NULL;
9966 int _arg8 = (int ) 0;
9967 long _arg9 = (long ) wxRA_HORIZONTAL;
9968 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 9969 wxString * _arg11 = (wxString *) &wxPyRadioBoxNameStr;
e6056257
RD
9970 PyObject * _argo0 = 0;
9971 PyObject * _argo1 = 0;
9972 PyObject * _obj3 = 0;
9973 wxPoint temp;
9974 PyObject * _obj4 = 0;
9975 wxSize temp0;
9976 PyObject * _obj5 = 0;
9977 PyObject * _obj7 = 0;
9978 PyObject * _argo10 = 0;
c3bfa1cb 9979 PyObject * _obj11 = 0;
e6056257
RD
9980 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
9981
9982 self = self;
c3bfa1cb 9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_obj11))
e6056257
RD
9984 return NULL;
9985 if (_argo0) {
9986 if (_argo0 == Py_None) { _arg0 = NULL; }
9987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9989 return NULL;
9990 }
9991 }
9992 if (_argo1) {
9993 if (_argo1 == Py_None) { _arg1 = NULL; }
9994 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9995 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9996 return NULL;
9997 }
9998 }
9999{
6824d4f9
RD
10000 _arg3 = wxString_in_helper(_obj3);
10001 if (_arg3 == NULL)
e6056257 10002 return NULL;
e6056257
RD
10003}
10004 if (_obj4)
10005{
10006 _arg4 = &temp;
10007 if (! wxPoint_helper(_obj4, &_arg4))
10008 return NULL;
10009}
10010 if (_obj5)
10011{
10012 _arg5 = &temp0;
10013 if (! wxSize_helper(_obj5, &_arg5))
10014 return NULL;
10015}
10016 if (_obj7)
10017{
10018 _arg7 = wxString_LIST_helper(_obj7);
10019 if (_arg7 == NULL) {
10020 return NULL;
10021 }
10022}
10023 if (_argo10) {
7108497a 10024 if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
e6056257
RD
10025 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
10026 return NULL;
10027 }
10028 }
c3bfa1cb
RD
10029 if (_obj11)
10030{
10031 _arg11 = wxString_in_helper(_obj11);
10032 if (_arg11 == NULL)
10033 return NULL;
10034}
e6056257
RD
10035{
10036 if (_obj7) {
10037 _arg6 = PyList_Size(_obj7);
10038 }
10039 else {
10040 _arg6 = 0;
10041 }
10042}
10043{
0e2ff151 10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 10045 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,*_arg11);
e6056257 10046
0e2ff151 10047 wxPyEndAllowThreads(__tstate);
e6056257
RD
10048 if (PyErr_Occurred()) return NULL;
10049} _resultobj = Py_BuildValue("i",_result);
10050{
10051 if (_obj3)
10052 delete _arg3;
10053}
10054{
10055 delete [] _arg7;
c3bfa1cb
RD
10056}
10057{
10058 if (_obj11)
10059 delete _arg11;
e6056257
RD
10060}
10061 return _resultobj;
10062}
10063
10064#define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10065static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
10066 PyObject * _resultobj;
10067 wxRadioBox * _arg0;
10068 bool _arg1;
10069 PyObject * _argo0 = 0;
10070 int tempbool1;
10071 char *_kwnames[] = { "self","enable", NULL };
10072
10073 self = self;
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
10075 return NULL;
10076 if (_argo0) {
10077 if (_argo0 == Py_None) { _arg0 = NULL; }
10078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
10080 return NULL;
10081 }
10082 }
10083 _arg1 = (bool ) tempbool1;
10084{
0e2ff151 10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10086 wxRadioBox_Enable(_arg0,_arg1);
e6056257 10087
0e2ff151 10088 wxPyEndAllowThreads(__tstate);
e6056257
RD
10089 if (PyErr_Occurred()) return NULL;
10090} Py_INCREF(Py_None);
10091 _resultobj = Py_None;
10092 return _resultobj;
10093}
10094
10095#define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10096static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10097 PyObject * _resultobj;
10098 wxRadioBox * _arg0;
10099 int _arg1;
10100 bool _arg2;
10101 PyObject * _argo0 = 0;
10102 int tempbool2;
10103 char *_kwnames[] = { "self","n","enable", NULL };
10104
10105 self = self;
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
10107 return NULL;
10108 if (_argo0) {
10109 if (_argo0 == Py_None) { _arg0 = NULL; }
10110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
10112 return NULL;
10113 }
10114 }
10115 _arg2 = (bool ) tempbool2;
10116{
0e2ff151 10117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10118 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
e6056257 10119
0e2ff151 10120 wxPyEndAllowThreads(__tstate);
e6056257
RD
10121 if (PyErr_Occurred()) return NULL;
10122} Py_INCREF(Py_None);
10123 _resultobj = Py_None;
10124 return _resultobj;
10125}
10126
10127#define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
10128static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
10129 PyObject * _resultobj;
10130 int _result;
10131 wxRadioBox * _arg0;
10132 wxString * _arg1;
10133 PyObject * _argo0 = 0;
10134 PyObject * _obj1 = 0;
10135 char *_kwnames[] = { "self","string", NULL };
10136
10137 self = self;
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
10139 return NULL;
10140 if (_argo0) {
10141 if (_argo0 == Py_None) { _arg0 = NULL; }
10142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
10144 return NULL;
10145 }
10146 }
10147{
6824d4f9
RD
10148 _arg1 = wxString_in_helper(_obj1);
10149 if (_arg1 == NULL)
e6056257 10150 return NULL;
e6056257
RD
10151}
10152{
0e2ff151 10153 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10154 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
e6056257 10155
0e2ff151 10156 wxPyEndAllowThreads(__tstate);
e6056257
RD
10157 if (PyErr_Occurred()) return NULL;
10158} _resultobj = Py_BuildValue("i",_result);
10159{
10160 if (_obj1)
10161 delete _arg1;
10162}
10163 return _resultobj;
10164}
10165
10166#define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
10167static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10168 PyObject * _resultobj;
10169 wxString * _result;
10170 wxRadioBox * _arg0;
10171 int _arg1;
10172 PyObject * _argo0 = 0;
10173 char *_kwnames[] = { "self","n", NULL };
10174
10175 self = self;
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
10177 return NULL;
10178 if (_argo0) {
10179 if (_argo0 == Py_None) { _arg0 = NULL; }
10180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
10182 return NULL;
10183 }
10184 }
10185{
0e2ff151 10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10187 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
e6056257 10188
0e2ff151 10189 wxPyEndAllowThreads(__tstate);
e6056257
RD
10190 if (PyErr_Occurred()) return NULL;
10191}{
6824d4f9 10192#if wxUSE_UNICODE
7108497a 10193 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 10194#else
e6056257 10195 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 10196#endif
e6056257
RD
10197}
10198{
10199 delete _result;
10200}
10201 return _resultobj;
10202}
10203
10204#define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
10205static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject * _resultobj;
10207 wxRadioBox * _arg0;
10208 int _arg1;
10209 wxString * _arg2;
10210 PyObject * _argo0 = 0;
10211 PyObject * _obj2 = 0;
10212 char *_kwnames[] = { "self","n","label", NULL };
10213
10214 self = self;
10215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
10216 return NULL;
10217 if (_argo0) {
10218 if (_argo0 == Py_None) { _arg0 = NULL; }
10219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
10221 return NULL;
10222 }
10223 }
10224{
6824d4f9
RD
10225 _arg2 = wxString_in_helper(_obj2);
10226 if (_arg2 == NULL)
e6056257 10227 return NULL;
e6056257
RD
10228}
10229{
0e2ff151 10230 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10231 wxRadioBox_SetString(_arg0,_arg1,*_arg2);
e6056257 10232
0e2ff151 10233 wxPyEndAllowThreads(__tstate);
e6056257
RD
10234 if (PyErr_Occurred()) return NULL;
10235} Py_INCREF(Py_None);
10236 _resultobj = Py_None;
10237{
10238 if (_obj2)
10239 delete _arg2;
10240}
10241 return _resultobj;
10242}
10243
10244#define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
10245static PyObject *_wrap_wxRadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject * _resultobj;
10247 int _result;
10248 wxRadioBox * _arg0;
10249 PyObject * _argo0 = 0;
10250 char *_kwnames[] = { "self", NULL };
10251
10252 self = self;
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetColumnCount",_kwnames,&_argo0))
10254 return NULL;
10255 if (_argo0) {
10256 if (_argo0 == Py_None) { _arg0 = NULL; }
10257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
10259 return NULL;
10260 }
10261 }
10262{
0e2ff151 10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10264 _result = (int )wxRadioBox_GetColumnCount(_arg0);
e6056257 10265
0e2ff151 10266 wxPyEndAllowThreads(__tstate);
e6056257
RD
10267 if (PyErr_Occurred()) return NULL;
10268} _resultobj = Py_BuildValue("i",_result);
10269 return _resultobj;
10270}
10271
10272#define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
10273static PyObject *_wrap_wxRadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10274 PyObject * _resultobj;
10275 int _result;
10276 wxRadioBox * _arg0;
10277 PyObject * _argo0 = 0;
10278 char *_kwnames[] = { "self", NULL };
10279
10280 self = self;
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetRowCount",_kwnames,&_argo0))
10282 return NULL;
10283 if (_argo0) {
10284 if (_argo0 == Py_None) { _arg0 = NULL; }
10285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
10287 return NULL;
10288 }
10289 }
10290{
0e2ff151 10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10292 _result = (int )wxRadioBox_GetRowCount(_arg0);
e6056257 10293
0e2ff151 10294 wxPyEndAllowThreads(__tstate);
e6056257
RD
10295 if (PyErr_Occurred()) return NULL;
10296} _resultobj = Py_BuildValue("i",_result);
10297 return _resultobj;
10298}
10299
7108497a
RD
10300#define wxRadioBox_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
10301static PyObject *_wrap_wxRadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10302 PyObject * _resultobj;
10303 int _result;
10304 wxRadioBox * _arg0;
10305 int _arg1;
10306 wxDirection * _arg2;
10307 long _arg3;
10308 PyObject * _argo0 = 0;
10309 PyObject * _argo2 = 0;
10310 char *_kwnames[] = { "self","item","dir","style", NULL };
10311
10312 self = self;
10313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOl:wxRadioBox_GetNextItem",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3))
10314 return NULL;
10315 if (_argo0) {
10316 if (_argo0 == Py_None) { _arg0 = NULL; }
10317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetNextItem. Expected _wxRadioBox_p.");
10319 return NULL;
10320 }
10321 }
10322 if (_argo2) {
10323 if (_argo2 == Py_None) { _arg2 = NULL; }
10324 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDirection_p")) {
10325 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxRadioBox_GetNextItem. Expected _wxDirection_p.");
10326 return NULL;
10327 }
10328 }
10329{
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 _result = (int )wxRadioBox_GetNextItem(_arg0,_arg1,*_arg2,_arg3);
10332
10333 wxPyEndAllowThreads(__tstate);
10334 if (PyErr_Occurred()) return NULL;
10335} _resultobj = Py_BuildValue("i",_result);
10336 return _resultobj;
10337}
10338
e6056257
RD
10339#define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
10340static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject * _resultobj;
10342 int _result;
10343 wxRadioBox * _arg0;
10344 PyObject * _argo0 = 0;
10345 char *_kwnames[] = { "self", NULL };
10346
10347 self = self;
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
10349 return NULL;
10350 if (_argo0) {
10351 if (_argo0 == Py_None) { _arg0 = NULL; }
10352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
10354 return NULL;
10355 }
10356 }
10357{
0e2ff151 10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10359 _result = (int )wxRadioBox_GetSelection(_arg0);
e6056257 10360
0e2ff151 10361 wxPyEndAllowThreads(__tstate);
e6056257
RD
10362 if (PyErr_Occurred()) return NULL;
10363} _resultobj = Py_BuildValue("i",_result);
10364 return _resultobj;
10365}
10366
10367#define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
10368static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10369 PyObject * _resultobj;
10370 wxString * _result;
10371 wxRadioBox * _arg0;
10372 PyObject * _argo0 = 0;
10373 char *_kwnames[] = { "self", NULL };
10374
10375 self = self;
10376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
10377 return NULL;
10378 if (_argo0) {
10379 if (_argo0 == Py_None) { _arg0 = NULL; }
10380 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
10382 return NULL;
10383 }
10384 }
10385{
0e2ff151 10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10387 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
e6056257 10388
0e2ff151 10389 wxPyEndAllowThreads(__tstate);
e6056257
RD
10390 if (PyErr_Occurred()) return NULL;
10391}{
6824d4f9 10392#if wxUSE_UNICODE
7108497a 10393 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6824d4f9 10394#else
e6056257 10395 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6824d4f9 10396#endif
e6056257
RD
10397}
10398{
10399 delete _result;
10400}
10401 return _resultobj;
10402}
10403
10404#define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
10405static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10406 PyObject * _resultobj;
10407 int _result;
10408 wxRadioBox * _arg0;
10409 PyObject * _argo0 = 0;
10410 char *_kwnames[] = { "self", NULL };
10411
10412 self = self;
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
10414 return NULL;
10415 if (_argo0) {
10416 if (_argo0 == Py_None) { _arg0 = NULL; }
10417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
10419 return NULL;
10420 }
10421 }
10422{
0e2ff151 10423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10424 _result = (int )wxRadioBox_GetCount(_arg0);
e6056257 10425
0e2ff151 10426 wxPyEndAllowThreads(__tstate);
e6056257
RD
10427 if (PyErr_Occurred()) return NULL;
10428} _resultobj = Py_BuildValue("i",_result);
10429 return _resultobj;
10430}
10431
10432#define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
10433static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10434 PyObject * _resultobj;
10435 wxRadioBox * _arg0;
10436 int _arg1;
10437 PyObject * _argo0 = 0;
10438 char *_kwnames[] = { "self","n", NULL };
10439
10440 self = self;
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
10442 return NULL;
10443 if (_argo0) {
10444 if (_argo0 == Py_None) { _arg0 = NULL; }
10445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
10447 return NULL;
10448 }
10449 }
10450{
0e2ff151 10451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10452 wxRadioBox_SetSelection(_arg0,_arg1);
e6056257 10453
0e2ff151 10454 wxPyEndAllowThreads(__tstate);
e6056257
RD
10455 if (PyErr_Occurred()) return NULL;
10456} Py_INCREF(Py_None);
10457 _resultobj = Py_None;
10458 return _resultobj;
10459}
10460
10461#define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
10462static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10463 PyObject * _resultobj;
10464 wxRadioBox * _arg0;
10465 wxString * _arg1;
10466 PyObject * _argo0 = 0;
10467 PyObject * _obj1 = 0;
10468 char *_kwnames[] = { "self","string", NULL };
10469
10470 self = self;
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
10472 return NULL;
10473 if (_argo0) {
10474 if (_argo0 == Py_None) { _arg0 = NULL; }
10475 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10476 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
10477 return NULL;
10478 }
10479 }
10480{
6824d4f9
RD
10481 _arg1 = wxString_in_helper(_obj1);
10482 if (_arg1 == NULL)
e6056257 10483 return NULL;
e6056257
RD
10484}
10485{
0e2ff151 10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10487 wxRadioBox_SetStringSelection(_arg0,*_arg1);
e6056257 10488
0e2ff151 10489 wxPyEndAllowThreads(__tstate);
e6056257
RD
10490 if (PyErr_Occurred()) return NULL;
10491} Py_INCREF(Py_None);
10492 _resultobj = Py_None;
10493{
10494 if (_obj1)
10495 delete _arg1;
10496}
10497 return _resultobj;
10498}
10499
10500#define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
10501static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
10502 PyObject * _resultobj;
10503 wxRadioBox * _arg0;
10504 bool _arg1;
10505 PyObject * _argo0 = 0;
10506 int tempbool1;
10507 char *_kwnames[] = { "self","show", NULL };
10508
10509 self = self;
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
10511 return NULL;
10512 if (_argo0) {
10513 if (_argo0 == Py_None) { _arg0 = NULL; }
10514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
10516 return NULL;
10517 }
10518 }
10519 _arg1 = (bool ) tempbool1;
10520{
0e2ff151 10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10522 wxRadioBox_Show(_arg0,_arg1);
e6056257 10523
0e2ff151 10524 wxPyEndAllowThreads(__tstate);
e6056257
RD
10525 if (PyErr_Occurred()) return NULL;
10526} Py_INCREF(Py_None);
10527 _resultobj = Py_None;
10528 return _resultobj;
10529}
10530
10531#define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
10532static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10533 PyObject * _resultobj;
10534 wxRadioBox * _arg0;
10535 int _arg1;
10536 bool _arg2;
10537 PyObject * _argo0 = 0;
10538 int tempbool2;
10539 char *_kwnames[] = { "self","item","show", NULL };
10540
10541 self = self;
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
10543 return NULL;
10544 if (_argo0) {
10545 if (_argo0 == Py_None) { _arg0 = NULL; }
10546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
10548 return NULL;
10549 }
10550 }
10551 _arg2 = (bool ) tempbool2;
10552{
0e2ff151 10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10554 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
e6056257 10555
0e2ff151 10556 wxPyEndAllowThreads(__tstate);
e6056257
RD
10557 if (PyErr_Occurred()) return NULL;
10558} Py_INCREF(Py_None);
10559 _resultobj = Py_None;
10560 return _resultobj;
10561}
10562
10563static void *SwigwxRadioButtonTowxControl(void *ptr) {
10564 wxRadioButton *src;
10565 wxControl *dest;
10566 src = (wxRadioButton *) ptr;
10567 dest = (wxControl *) src;
10568 return (void *) dest;
10569}
10570
10571static void *SwigwxRadioButtonTowxWindow(void *ptr) {
10572 wxRadioButton *src;
10573 wxWindow *dest;
10574 src = (wxRadioButton *) ptr;
10575 dest = (wxWindow *) src;
10576 return (void *) dest;
10577}
10578
10579static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
10580 wxRadioButton *src;
10581 wxEvtHandler *dest;
10582 src = (wxRadioButton *) ptr;
10583 dest = (wxEvtHandler *) src;
10584 return (void *) dest;
10585}
10586
10587static void *SwigwxRadioButtonTowxObject(void *ptr) {
10588 wxRadioButton *src;
10589 wxObject *dest;
10590 src = (wxRadioButton *) ptr;
10591 dest = (wxObject *) src;
10592 return (void *) dest;
10593}
10594
10595#define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10596static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject * _resultobj;
10598 wxRadioButton * _result;
10599 wxWindow * _arg0;
10600 wxWindowID _arg1;
10601 wxString * _arg2;
10602 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10603 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10604 long _arg5 = (long ) 0;
10605 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 10606 wxString * _arg7 = (wxString *) &wxPyRadioButtonNameStr;
e6056257
RD
10607 PyObject * _argo0 = 0;
10608 PyObject * _obj2 = 0;
10609 wxPoint temp;
10610 PyObject * _obj3 = 0;
10611 wxSize temp0;
10612 PyObject * _obj4 = 0;
10613 PyObject * _argo6 = 0;
c3bfa1cb 10614 PyObject * _obj7 = 0;
e6056257
RD
10615 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
10616 char _ptemp[128];
10617
10618 self = self;
c3bfa1cb 10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
e6056257
RD
10620 return NULL;
10621 if (_argo0) {
10622 if (_argo0 == Py_None) { _arg0 = NULL; }
10623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
10625 return NULL;
10626 }
10627 }
10628{
6824d4f9
RD
10629 _arg2 = wxString_in_helper(_obj2);
10630 if (_arg2 == NULL)
e6056257 10631 return NULL;
e6056257
RD
10632}
10633 if (_obj3)
10634{
10635 _arg3 = &temp;
10636 if (! wxPoint_helper(_obj3, &_arg3))
10637 return NULL;
10638}
10639 if (_obj4)
10640{
10641 _arg4 = &temp0;
10642 if (! wxSize_helper(_obj4, &_arg4))
10643 return NULL;
10644}
10645 if (_argo6) {
7108497a 10646 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
e6056257
RD
10647 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
10648 return NULL;
10649 }
10650 }
c3bfa1cb
RD
10651 if (_obj7)
10652{
10653 _arg7 = wxString_in_helper(_obj7);
10654 if (_arg7 == NULL)
10655 return NULL;
10656}
e6056257 10657{
0e2ff151 10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 10659 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
e6056257 10660
0e2ff151 10661 wxPyEndAllowThreads(__tstate);
e6056257
RD
10662 if (PyErr_Occurred()) return NULL;
10663} if (_result) {
10664 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
10665 _resultobj = Py_BuildValue("s",_ptemp);
10666 } else {
10667 Py_INCREF(Py_None);
10668 _resultobj = Py_None;
10669 }
10670{
10671 if (_obj2)
10672 delete _arg2;
c3bfa1cb
RD
10673}
10674{
10675 if (_obj7)
10676 delete _arg7;
e6056257
RD
10677}
10678 return _resultobj;
10679}
10680
10681#define new_wxPreRadioButton() (new wxRadioButton())
10682static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10683 PyObject * _resultobj;
10684 wxRadioButton * _result;
10685 char *_kwnames[] = { NULL };
10686 char _ptemp[128];
10687
10688 self = self;
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
10690 return NULL;
10691{
0e2ff151 10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10693 _result = (wxRadioButton *)new_wxPreRadioButton();
e6056257 10694
0e2ff151 10695 wxPyEndAllowThreads(__tstate);
e6056257
RD
10696 if (PyErr_Occurred()) return NULL;
10697} if (_result) {
10698 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
10699 _resultobj = Py_BuildValue("s",_ptemp);
10700 } else {
10701 Py_INCREF(Py_None);
10702 _resultobj = Py_None;
10703 }
10704 return _resultobj;
10705}
10706
10707#define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10708static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10709 PyObject * _resultobj;
10710 bool _result;
10711 wxRadioButton * _arg0;
10712 wxWindow * _arg1;
10713 wxWindowID _arg2;
10714 wxString * _arg3;
10715 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10716 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10717 long _arg6 = (long ) 0;
10718 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 10719 wxString * _arg8 = (wxString *) &wxPyRadioButtonNameStr;
e6056257
RD
10720 PyObject * _argo0 = 0;
10721 PyObject * _argo1 = 0;
10722 PyObject * _obj3 = 0;
10723 wxPoint temp;
10724 PyObject * _obj4 = 0;
10725 wxSize temp0;
10726 PyObject * _obj5 = 0;
10727 PyObject * _argo7 = 0;
c3bfa1cb 10728 PyObject * _obj8 = 0;
e6056257
RD
10729 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
10730
10731 self = self;
c3bfa1cb 10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
e6056257
RD
10733 return NULL;
10734 if (_argo0) {
10735 if (_argo0 == Py_None) { _arg0 = NULL; }
10736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
10738 return NULL;
10739 }
10740 }
10741 if (_argo1) {
10742 if (_argo1 == Py_None) { _arg1 = NULL; }
10743 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10744 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
10745 return NULL;
10746 }
10747 }
10748{
6824d4f9
RD
10749 _arg3 = wxString_in_helper(_obj3);
10750 if (_arg3 == NULL)
e6056257 10751 return NULL;
e6056257
RD
10752}
10753 if (_obj4)
10754{
10755 _arg4 = &temp;
10756 if (! wxPoint_helper(_obj4, &_arg4))
10757 return NULL;
10758}
10759 if (_obj5)
10760{
10761 _arg5 = &temp0;
10762 if (! wxSize_helper(_obj5, &_arg5))
10763 return NULL;
10764}
10765 if (_argo7) {
7108497a 10766 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
e6056257
RD
10767 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
10768 return NULL;
10769 }
10770 }
c3bfa1cb
RD
10771 if (_obj8)
10772{
10773 _arg8 = wxString_in_helper(_obj8);
10774 if (_arg8 == NULL)
10775 return NULL;
10776}
e6056257 10777{
0e2ff151 10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 10779 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
e6056257 10780
0e2ff151 10781 wxPyEndAllowThreads(__tstate);
e6056257
RD
10782 if (PyErr_Occurred()) return NULL;
10783} _resultobj = Py_BuildValue("i",_result);
10784{
10785 if (_obj3)
10786 delete _arg3;
c3bfa1cb
RD
10787}
10788{
10789 if (_obj8)
10790 delete _arg8;
e6056257
RD
10791}
10792 return _resultobj;
10793}
10794
10795#define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
10796static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10797 PyObject * _resultobj;
10798 bool _result;
10799 wxRadioButton * _arg0;
10800 PyObject * _argo0 = 0;
10801 char *_kwnames[] = { "self", NULL };
10802
10803 self = self;
10804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
10805 return NULL;
10806 if (_argo0) {
10807 if (_argo0 == Py_None) { _arg0 = NULL; }
10808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10810 return NULL;
10811 }
10812 }
10813{
0e2ff151 10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10815 _result = (bool )wxRadioButton_GetValue(_arg0);
e6056257 10816
0e2ff151 10817 wxPyEndAllowThreads(__tstate);
e6056257
RD
10818 if (PyErr_Occurred()) return NULL;
10819} _resultobj = Py_BuildValue("i",_result);
10820 return _resultobj;
10821}
10822
10823#define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10824static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10825 PyObject * _resultobj;
10826 wxRadioButton * _arg0;
10827 bool _arg1;
10828 PyObject * _argo0 = 0;
10829 int tempbool1;
10830 char *_kwnames[] = { "self","value", NULL };
10831
10832 self = self;
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
10834 return NULL;
10835 if (_argo0) {
10836 if (_argo0 == Py_None) { _arg0 = NULL; }
10837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10839 return NULL;
10840 }
10841 }
10842 _arg1 = (bool ) tempbool1;
10843{
0e2ff151 10844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10845 wxRadioButton_SetValue(_arg0,_arg1);
e6056257 10846
0e2ff151 10847 wxPyEndAllowThreads(__tstate);
e6056257
RD
10848 if (PyErr_Occurred()) return NULL;
10849} Py_INCREF(Py_None);
10850 _resultobj = Py_None;
10851 return _resultobj;
10852}
10853
10854static void *SwigwxSliderTowxControl(void *ptr) {
10855 wxSlider *src;
10856 wxControl *dest;
10857 src = (wxSlider *) ptr;
10858 dest = (wxControl *) src;
10859 return (void *) dest;
10860}
10861
10862static void *SwigwxSliderTowxWindow(void *ptr) {
10863 wxSlider *src;
10864 wxWindow *dest;
10865 src = (wxSlider *) ptr;
10866 dest = (wxWindow *) src;
10867 return (void *) dest;
10868}
10869
10870static void *SwigwxSliderTowxEvtHandler(void *ptr) {
10871 wxSlider *src;
10872 wxEvtHandler *dest;
10873 src = (wxSlider *) ptr;
10874 dest = (wxEvtHandler *) src;
10875 return (void *) dest;
10876}
10877
10878static void *SwigwxSliderTowxObject(void *ptr) {
10879 wxSlider *src;
10880 wxObject *dest;
10881 src = (wxSlider *) ptr;
10882 dest = (wxObject *) src;
10883 return (void *) dest;
10884}
10885
10886#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))
10887static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10888 PyObject * _resultobj;
10889 wxSlider * _result;
10890 wxWindow * _arg0;
10891 wxWindowID _arg1;
10892 int _arg2;
10893 int _arg3;
10894 int _arg4;
10895 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
10896 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
10897 long _arg7 = (long ) wxSL_HORIZONTAL;
10898 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 10899 wxString * _arg9 = (wxString *) &wxPySliderNameStr;
e6056257
RD
10900 PyObject * _argo0 = 0;
10901 wxPoint temp;
10902 PyObject * _obj5 = 0;
10903 wxSize temp0;
10904 PyObject * _obj6 = 0;
10905 PyObject * _argo8 = 0;
c3bfa1cb 10906 PyObject * _obj9 = 0;
e6056257
RD
10907 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
10908 char _ptemp[128];
10909
10910 self = self;
c3bfa1cb 10911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOO:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_obj9))
e6056257
RD
10912 return NULL;
10913 if (_argo0) {
10914 if (_argo0 == Py_None) { _arg0 = NULL; }
10915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10917 return NULL;
10918 }
10919 }
10920 if (_obj5)
10921{
10922 _arg5 = &temp;
10923 if (! wxPoint_helper(_obj5, &_arg5))
10924 return NULL;
10925}
10926 if (_obj6)
10927{
10928 _arg6 = &temp0;
10929 if (! wxSize_helper(_obj6, &_arg6))
10930 return NULL;
10931}
10932 if (_argo8) {
7108497a 10933 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
e6056257
RD
10934 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10935 return NULL;
10936 }
10937 }
c3bfa1cb
RD
10938 if (_obj9)
10939{
10940 _arg9 = wxString_in_helper(_obj9);
10941 if (_arg9 == NULL)
10942 return NULL;
10943}
e6056257 10944{
0e2ff151 10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 10946 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,*_arg9);
e6056257 10947
0e2ff151 10948 wxPyEndAllowThreads(__tstate);
e6056257
RD
10949 if (PyErr_Occurred()) return NULL;
10950} if (_result) {
10951 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10952 _resultobj = Py_BuildValue("s",_ptemp);
10953 } else {
10954 Py_INCREF(Py_None);
10955 _resultobj = Py_None;
10956 }
c3bfa1cb
RD
10957{
10958 if (_obj9)
10959 delete _arg9;
10960}
e6056257
RD
10961 return _resultobj;
10962}
10963
10964#define new_wxPreSlider() (new wxSlider())
10965static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10966 PyObject * _resultobj;
10967 wxSlider * _result;
10968 char *_kwnames[] = { NULL };
10969 char _ptemp[128];
10970
10971 self = self;
10972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
10973 return NULL;
10974{
0e2ff151 10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 10976 _result = (wxSlider *)new_wxPreSlider();
e6056257 10977
0e2ff151 10978 wxPyEndAllowThreads(__tstate);
e6056257
RD
10979 if (PyErr_Occurred()) return NULL;
10980} if (_result) {
10981 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10982 _resultobj = Py_BuildValue("s",_ptemp);
10983 } else {
10984 Py_INCREF(Py_None);
10985 _resultobj = Py_None;
10986 }
10987 return _resultobj;
10988}
10989
10990#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))
10991static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10992 PyObject * _resultobj;
10993 bool _result;
10994 wxSlider * _arg0;
10995 wxWindow * _arg1;
10996 wxWindowID _arg2;
10997 int _arg3;
10998 int _arg4;
10999 int _arg5;
11000 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
11001 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
11002 long _arg8 = (long ) wxSL_HORIZONTAL;
11003 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
c3bfa1cb 11004 wxString * _arg10 = (wxString *) &wxPySliderNameStr;
e6056257
RD
11005 PyObject * _argo0 = 0;
11006 PyObject * _argo1 = 0;
11007 wxPoint temp;
11008 PyObject * _obj6 = 0;
11009 wxSize temp0;
11010 PyObject * _obj7 = 0;
11011 PyObject * _argo9 = 0;
c3bfa1cb 11012 PyObject * _obj10 = 0;
e6056257
RD
11013 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
11014
11015 self = self;
c3bfa1cb 11016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOO:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_obj10))
e6056257
RD
11017 return NULL;
11018 if (_argo0) {
11019 if (_argo0 == Py_None) { _arg0 = NULL; }
11020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
11022 return NULL;
11023 }
11024 }
11025 if (_argo1) {
11026 if (_argo1 == Py_None) { _arg1 = NULL; }
11027 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11028 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
11029 return NULL;
11030 }
11031 }
11032 if (_obj6)
11033{
11034 _arg6 = &temp;
11035 if (! wxPoint_helper(_obj6, &_arg6))
11036 return NULL;
11037}
11038 if (_obj7)
11039{
11040 _arg7 = &temp0;
11041 if (! wxSize_helper(_obj7, &_arg7))
11042 return NULL;
11043}
11044 if (_argo9) {
7108497a 11045 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
e6056257
RD
11046 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
11047 return NULL;
11048 }
11049 }
c3bfa1cb
RD
11050 if (_obj10)
11051{
11052 _arg10 = wxString_in_helper(_obj10);
11053 if (_arg10 == NULL)
11054 return NULL;
11055}
e6056257 11056{
0e2ff151 11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 11058 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,*_arg10);
e6056257 11059
0e2ff151 11060 wxPyEndAllowThreads(__tstate);
e6056257
RD
11061 if (PyErr_Occurred()) return NULL;
11062} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
11063{
11064 if (_obj10)
11065 delete _arg10;
11066}
e6056257
RD
11067 return _resultobj;
11068}
11069
11070#define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
11071static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
11072 PyObject * _resultobj;
11073 wxSlider * _arg0;
11074 PyObject * _argo0 = 0;
11075 char *_kwnames[] = { "self", NULL };
11076
11077 self = self;
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
11079 return NULL;
11080 if (_argo0) {
11081 if (_argo0 == Py_None) { _arg0 = NULL; }
11082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
11084 return NULL;
11085 }
11086 }
11087{
0e2ff151 11088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11089 wxSlider_ClearSel(_arg0);
e6056257 11090
0e2ff151 11091 wxPyEndAllowThreads(__tstate);
e6056257
RD
11092 if (PyErr_Occurred()) return NULL;
11093} Py_INCREF(Py_None);
11094 _resultobj = Py_None;
11095 return _resultobj;
11096}
11097
11098#define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
11099static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
11100 PyObject * _resultobj;
11101 wxSlider * _arg0;
11102 PyObject * _argo0 = 0;
11103 char *_kwnames[] = { "self", NULL };
11104
11105 self = self;
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
11107 return NULL;
11108 if (_argo0) {
11109 if (_argo0 == Py_None) { _arg0 = NULL; }
11110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
11112 return NULL;
11113 }
11114 }
11115{
0e2ff151 11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11117 wxSlider_ClearTicks(_arg0);
e6056257 11118
0e2ff151 11119 wxPyEndAllowThreads(__tstate);
e6056257
RD
11120 if (PyErr_Occurred()) return NULL;
11121} Py_INCREF(Py_None);
11122 _resultobj = Py_None;
11123 return _resultobj;
11124}
11125
11126#define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
11127static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11128 PyObject * _resultobj;
11129 int _result;
11130 wxSlider * _arg0;
11131 PyObject * _argo0 = 0;
11132 char *_kwnames[] = { "self", NULL };
11133
11134 self = self;
11135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
11136 return NULL;
11137 if (_argo0) {
11138 if (_argo0 == Py_None) { _arg0 = NULL; }
11139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
11141 return NULL;
11142 }
11143 }
11144{
0e2ff151 11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11146 _result = (int )wxSlider_GetLineSize(_arg0);
e6056257 11147
0e2ff151 11148 wxPyEndAllowThreads(__tstate);
e6056257
RD
11149 if (PyErr_Occurred()) return NULL;
11150} _resultobj = Py_BuildValue("i",_result);
11151 return _resultobj;
11152}
11153
11154#define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
11155static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject * _resultobj;
11157 int _result;
11158 wxSlider * _arg0;
11159 PyObject * _argo0 = 0;
11160 char *_kwnames[] = { "self", NULL };
11161
11162 self = self;
11163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
11164 return NULL;
11165 if (_argo0) {
11166 if (_argo0 == Py_None) { _arg0 = NULL; }
11167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
11169 return NULL;
11170 }
11171 }
11172{
0e2ff151 11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11174 _result = (int )wxSlider_GetMax(_arg0);
e6056257 11175
0e2ff151 11176 wxPyEndAllowThreads(__tstate);
e6056257
RD
11177 if (PyErr_Occurred()) return NULL;
11178} _resultobj = Py_BuildValue("i",_result);
11179 return _resultobj;
11180}
11181
11182#define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
11183static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11184 PyObject * _resultobj;
11185 int _result;
11186 wxSlider * _arg0;
11187 PyObject * _argo0 = 0;
11188 char *_kwnames[] = { "self", NULL };
11189
11190 self = self;
11191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
11192 return NULL;
11193 if (_argo0) {
11194 if (_argo0 == Py_None) { _arg0 = NULL; }
11195 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11196 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
11197 return NULL;
11198 }
11199 }
11200{
0e2ff151 11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11202 _result = (int )wxSlider_GetMin(_arg0);
e6056257 11203
0e2ff151 11204 wxPyEndAllowThreads(__tstate);
e6056257
RD
11205 if (PyErr_Occurred()) return NULL;
11206} _resultobj = Py_BuildValue("i",_result);
11207 return _resultobj;
11208}
11209
11210#define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
11211static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11212 PyObject * _resultobj;
11213 int _result;
11214 wxSlider * _arg0;
11215 PyObject * _argo0 = 0;
11216 char *_kwnames[] = { "self", NULL };
11217
11218 self = self;
11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
11220 return NULL;
11221 if (_argo0) {
11222 if (_argo0 == Py_None) { _arg0 = NULL; }
11223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
11225 return NULL;
11226 }
11227 }
11228{
0e2ff151 11229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11230 _result = (int )wxSlider_GetPageSize(_arg0);
e6056257 11231
0e2ff151 11232 wxPyEndAllowThreads(__tstate);
e6056257
RD
11233 if (PyErr_Occurred()) return NULL;
11234} _resultobj = Py_BuildValue("i",_result);
11235 return _resultobj;
11236}
11237
11238#define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
11239static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11240 PyObject * _resultobj;
11241 int _result;
11242 wxSlider * _arg0;
11243 PyObject * _argo0 = 0;
11244 char *_kwnames[] = { "self", NULL };
11245
11246 self = self;
11247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
11248 return NULL;
11249 if (_argo0) {
11250 if (_argo0 == Py_None) { _arg0 = NULL; }
11251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
11253 return NULL;
11254 }
11255 }
11256{
0e2ff151 11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11258 _result = (int )wxSlider_GetSelEnd(_arg0);
e6056257 11259
0e2ff151 11260 wxPyEndAllowThreads(__tstate);
e6056257
RD
11261 if (PyErr_Occurred()) return NULL;
11262} _resultobj = Py_BuildValue("i",_result);
11263 return _resultobj;
11264}
11265
11266#define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
11267static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
11268 PyObject * _resultobj;
11269 int _result;
11270 wxSlider * _arg0;
11271 PyObject * _argo0 = 0;
11272 char *_kwnames[] = { "self", NULL };
11273
11274 self = self;
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
11276 return NULL;
11277 if (_argo0) {
11278 if (_argo0 == Py_None) { _arg0 = NULL; }
11279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
11281 return NULL;
11282 }
11283 }
11284{
0e2ff151 11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11286 _result = (int )wxSlider_GetSelStart(_arg0);
e6056257 11287
0e2ff151 11288 wxPyEndAllowThreads(__tstate);
e6056257
RD
11289 if (PyErr_Occurred()) return NULL;
11290} _resultobj = Py_BuildValue("i",_result);
11291 return _resultobj;
11292}
11293
11294#define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
11295static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11296 PyObject * _resultobj;
11297 int _result;
11298 wxSlider * _arg0;
11299 PyObject * _argo0 = 0;
11300 char *_kwnames[] = { "self", NULL };
11301
11302 self = self;
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
11304 return NULL;
11305 if (_argo0) {
11306 if (_argo0 == Py_None) { _arg0 = NULL; }
11307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
11309 return NULL;
11310 }
11311 }
11312{
0e2ff151 11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11314 _result = (int )wxSlider_GetThumbLength(_arg0);
e6056257 11315
0e2ff151 11316 wxPyEndAllowThreads(__tstate);
e6056257
RD
11317 if (PyErr_Occurred()) return NULL;
11318} _resultobj = Py_BuildValue("i",_result);
11319 return _resultobj;
11320}
11321
11322#define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
11323static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11324 PyObject * _resultobj;
11325 int _result;
11326 wxSlider * _arg0;
11327 PyObject * _argo0 = 0;
11328 char *_kwnames[] = { "self", NULL };
11329
11330 self = self;
11331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
11332 return NULL;
11333 if (_argo0) {
11334 if (_argo0 == Py_None) { _arg0 = NULL; }
11335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
11337 return NULL;
11338 }
11339 }
11340{
0e2ff151 11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11342 _result = (int )wxSlider_GetTickFreq(_arg0);
e6056257 11343
0e2ff151 11344 wxPyEndAllowThreads(__tstate);
e6056257
RD
11345 if (PyErr_Occurred()) return NULL;
11346} _resultobj = Py_BuildValue("i",_result);
11347 return _resultobj;
11348}
11349
11350#define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
11351static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11352 PyObject * _resultobj;
11353 int _result;
11354 wxSlider * _arg0;
11355 PyObject * _argo0 = 0;
11356 char *_kwnames[] = { "self", NULL };
11357
11358 self = self;
11359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
11360 return NULL;
11361 if (_argo0) {
11362 if (_argo0 == Py_None) { _arg0 = NULL; }
11363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
11365 return NULL;
11366 }
11367 }
11368{
0e2ff151 11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11370 _result = (int )wxSlider_GetValue(_arg0);
e6056257 11371
0e2ff151 11372 wxPyEndAllowThreads(__tstate);
e6056257
RD
11373 if (PyErr_Occurred()) return NULL;
11374} _resultobj = Py_BuildValue("i",_result);
11375 return _resultobj;
11376}
11377
11378#define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11379static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11380 PyObject * _resultobj;
11381 wxSlider * _arg0;
11382 int _arg1;
11383 int _arg2;
11384 PyObject * _argo0 = 0;
11385 char *_kwnames[] = { "self","minValue","maxValue", NULL };
11386
11387 self = self;
11388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
11389 return NULL;
11390 if (_argo0) {
11391 if (_argo0 == Py_None) { _arg0 = NULL; }
11392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
11394 return NULL;
11395 }
11396 }
11397{
0e2ff151 11398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11399 wxSlider_SetRange(_arg0,_arg1,_arg2);
e6056257 11400
0e2ff151 11401 wxPyEndAllowThreads(__tstate);
e6056257
RD
11402 if (PyErr_Occurred()) return NULL;
11403} Py_INCREF(Py_None);
11404 _resultobj = Py_None;
11405 return _resultobj;
11406}
11407
11408#define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
11409static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11410 PyObject * _resultobj;
11411 wxSlider * _arg0;
11412 int _arg1;
11413 int _arg2;
11414 PyObject * _argo0 = 0;
11415 char *_kwnames[] = { "self","n","pos", NULL };
11416
11417 self = self;
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
11419 return NULL;
11420 if (_argo0) {
11421 if (_argo0 == Py_None) { _arg0 = NULL; }
11422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
11424 return NULL;
11425 }
11426 }
11427{
0e2ff151 11428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11429 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
e6056257 11430
0e2ff151 11431 wxPyEndAllowThreads(__tstate);
e6056257
RD
11432 if (PyErr_Occurred()) return NULL;
11433} Py_INCREF(Py_None);
11434 _resultobj = Py_None;
11435 return _resultobj;
11436}
11437
11438#define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
11439static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11440 PyObject * _resultobj;
11441 wxSlider * _arg0;
11442 int _arg1;
11443 PyObject * _argo0 = 0;
11444 char *_kwnames[] = { "self","lineSize", NULL };
11445
11446 self = self;
11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
11448 return NULL;
11449 if (_argo0) {
11450 if (_argo0 == Py_None) { _arg0 = NULL; }
11451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
11453 return NULL;
11454 }
11455 }
11456{
0e2ff151 11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11458 wxSlider_SetLineSize(_arg0,_arg1);
e6056257 11459
0e2ff151 11460 wxPyEndAllowThreads(__tstate);
e6056257
RD
11461 if (PyErr_Occurred()) return NULL;
11462} Py_INCREF(Py_None);
11463 _resultobj = Py_None;
11464 return _resultobj;
11465}
11466
11467#define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
11468static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11469 PyObject * _resultobj;
11470 wxSlider * _arg0;
11471 int _arg1;
11472 PyObject * _argo0 = 0;
11473 char *_kwnames[] = { "self","pageSize", NULL };
11474
11475 self = self;
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
11477 return NULL;
11478 if (_argo0) {
11479 if (_argo0 == Py_None) { _arg0 = NULL; }
11480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
11482 return NULL;
11483 }
11484 }
11485{
0e2ff151 11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11487 wxSlider_SetPageSize(_arg0,_arg1);
e6056257 11488
0e2ff151 11489 wxPyEndAllowThreads(__tstate);
e6056257
RD
11490 if (PyErr_Occurred()) return NULL;
11491} Py_INCREF(Py_None);
11492 _resultobj = Py_None;
11493 return _resultobj;
11494}
11495
11496#define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
11497static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject * _resultobj;
11499 wxSlider * _arg0;
11500 int _arg1;
11501 int _arg2;
11502 PyObject * _argo0 = 0;
11503 char *_kwnames[] = { "self","startPos","endPos", NULL };
11504
11505 self = self;
11506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11507 return NULL;
11508 if (_argo0) {
11509 if (_argo0 == Py_None) { _arg0 = NULL; }
11510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
11512 return NULL;
11513 }
11514 }
11515{
0e2ff151 11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11517 wxSlider_SetSelection(_arg0,_arg1,_arg2);
e6056257 11518
0e2ff151 11519 wxPyEndAllowThreads(__tstate);
e6056257
RD
11520 if (PyErr_Occurred()) return NULL;
11521} Py_INCREF(Py_None);
11522 _resultobj = Py_None;
11523 return _resultobj;
11524}
11525
11526#define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
11527static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11528 PyObject * _resultobj;
11529 wxSlider * _arg0;
11530 int _arg1;
11531 PyObject * _argo0 = 0;
11532 char *_kwnames[] = { "self","len", NULL };
11533
11534 self = self;
11535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
11536 return NULL;
11537 if (_argo0) {
11538 if (_argo0 == Py_None) { _arg0 = NULL; }
11539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
11541 return NULL;
11542 }
11543 }
11544{
0e2ff151 11545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11546 wxSlider_SetThumbLength(_arg0,_arg1);
e6056257 11547
0e2ff151 11548 wxPyEndAllowThreads(__tstate);
e6056257
RD
11549 if (PyErr_Occurred()) return NULL;
11550} Py_INCREF(Py_None);
11551 _resultobj = Py_None;
11552 return _resultobj;
11553}
11554
11555#define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
11556static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
11557 PyObject * _resultobj;
11558 wxSlider * _arg0;
11559 int _arg1;
11560 PyObject * _argo0 = 0;
11561 char *_kwnames[] = { "self","tickPos", NULL };
11562
11563 self = self;
11564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
11565 return NULL;
11566 if (_argo0) {
11567 if (_argo0 == Py_None) { _arg0 = NULL; }
11568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
11570 return NULL;
11571 }
11572 }
11573{
0e2ff151 11574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11575 wxSlider_SetTick(_arg0,_arg1);
e6056257 11576
0e2ff151 11577 wxPyEndAllowThreads(__tstate);
e6056257
RD
11578 if (PyErr_Occurred()) return NULL;
11579} Py_INCREF(Py_None);
11580 _resultobj = Py_None;
11581 return _resultobj;
11582}
11583
11584#define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11585static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11586 PyObject * _resultobj;
11587 wxSlider * _arg0;
11588 int _arg1;
11589 PyObject * _argo0 = 0;
11590 char *_kwnames[] = { "self","value", NULL };
11591
11592 self = self;
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
11594 return NULL;
11595 if (_argo0) {
11596 if (_argo0 == Py_None) { _arg0 = NULL; }
11597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
11599 return NULL;
11600 }
11601 }
11602{
0e2ff151 11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11604 wxSlider_SetValue(_arg0,_arg1);
e6056257 11605
0e2ff151 11606 wxPyEndAllowThreads(__tstate);
e6056257
RD
11607 if (PyErr_Occurred()) return NULL;
11608} Py_INCREF(Py_None);
11609 _resultobj = Py_None;
11610 return _resultobj;
11611}
11612
11613static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
11614 wxSpinCtrl *src;
11615 wxSpinButton *dest;
11616 src = (wxSpinCtrl *) ptr;
11617 dest = (wxSpinButton *) src;
11618 return (void *) dest;
11619}
11620
11621static void *SwigwxSpinCtrlTowxControl(void *ptr) {
11622 wxSpinCtrl *src;
11623 wxControl *dest;
11624 src = (wxSpinCtrl *) ptr;
11625 dest = (wxControl *) src;
11626 return (void *) dest;
11627}
11628
11629static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
11630 wxSpinCtrl *src;
11631 wxWindow *dest;
11632 src = (wxSpinCtrl *) ptr;
11633 dest = (wxWindow *) src;
11634 return (void *) dest;
11635}
11636
11637static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
11638 wxSpinCtrl *src;
11639 wxEvtHandler *dest;
11640 src = (wxSpinCtrl *) ptr;
11641 dest = (wxEvtHandler *) src;
11642 return (void *) dest;
11643}
11644
11645static void *SwigwxSpinCtrlTowxObject(void *ptr) {
11646 wxSpinCtrl *src;
11647 wxObject *dest;
11648 src = (wxSpinCtrl *) ptr;
11649 dest = (wxObject *) src;
11650 return (void *) dest;
11651}
11652
11653#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))
11654static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11655 PyObject * _resultobj;
11656 wxSpinCtrl * _result;
11657 wxWindow * _arg0;
11658 wxWindowID _arg1 = (wxWindowID ) -1;
c3bfa1cb 11659 wxString * _arg2 = (wxString *) &wxPyEmptyString;
e6056257
RD
11660 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
11661 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
11662 long _arg5 = (long ) wxSP_ARROW_KEYS;
11663 int _arg6 = (int ) 0;
11664 int _arg7 = (int ) 100;
11665 int _arg8 = (int ) 0;
c3bfa1cb 11666 wxString * _arg9 = (wxString *) &wxPySpinCtrlNameStr;
e6056257 11667 PyObject * _argo0 = 0;
c3bfa1cb 11668 PyObject * _obj2 = 0;
e6056257
RD
11669 wxPoint temp;
11670 PyObject * _obj3 = 0;
11671 wxSize temp0;
11672 PyObject * _obj4 = 0;
c3bfa1cb 11673 PyObject * _obj9 = 0;
e6056257
RD
11674 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
11675 char _ptemp[128];
11676
11677 self = self;
c3bfa1cb 11678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_obj9))
e6056257
RD
11679 return NULL;
11680 if (_argo0) {
11681 if (_argo0 == Py_None) { _arg0 = NULL; }
11682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
11683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
11684 return NULL;
11685 }
11686 }
c3bfa1cb
RD
11687 if (_obj2)
11688{
11689 _arg2 = wxString_in_helper(_obj2);
11690 if (_arg2 == NULL)
11691 return NULL;
11692}
e6056257
RD
11693 if (_obj3)
11694{
11695 _arg3 = &temp;
11696 if (! wxPoint_helper(_obj3, &_arg3))
11697 return NULL;
11698}
11699 if (_obj4)
11700{
11701 _arg4 = &temp0;
11702 if (! wxSize_helper(_obj4, &_arg4))
11703 return NULL;
c3bfa1cb
RD
11704}
11705 if (_obj9)
11706{
11707 _arg9 = wxString_in_helper(_obj9);
11708 if (_arg9 == NULL)
11709 return NULL;
e6056257
RD
11710}
11711{
0e2ff151 11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 11713 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9);
e6056257 11714
0e2ff151 11715 wxPyEndAllowThreads(__tstate);
e6056257
RD
11716 if (PyErr_Occurred()) return NULL;
11717} if (_result) {
11718 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
11719 _resultobj = Py_BuildValue("s",_ptemp);
11720 } else {
11721 Py_INCREF(Py_None);
11722 _resultobj = Py_None;
11723 }
c3bfa1cb
RD
11724{
11725 if (_obj2)
11726 delete _arg2;
11727}
11728{
11729 if (_obj9)
11730 delete _arg9;
11731}
e6056257
RD
11732 return _resultobj;
11733}
11734
11735#define new_wxPreSpinCtrl() (new wxSpinCtrl())
11736static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11737 PyObject * _resultobj;
11738 wxSpinCtrl * _result;
11739 char *_kwnames[] = { NULL };
11740 char _ptemp[128];
11741
11742 self = self;
11743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
11744 return NULL;
11745{
0e2ff151 11746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11747 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
e6056257 11748
0e2ff151 11749 wxPyEndAllowThreads(__tstate);
e6056257
RD
11750 if (PyErr_Occurred()) return NULL;
11751} if (_result) {
11752 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
11753 _resultobj = Py_BuildValue("s",_ptemp);
11754 } else {
11755 Py_INCREF(Py_None);
11756 _resultobj = Py_None;
11757 }
11758 return _resultobj;
11759}
11760
11761#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))
11762static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject * _resultobj;
11764 bool _result;
11765 wxSpinCtrl * _arg0;
11766 wxWindow * _arg1;
11767 wxWindowID _arg2 = (wxWindowID ) -1;
c3bfa1cb 11768 wxString * _arg3 = (wxString *) &wxPyEmptyString;
e6056257
RD
11769 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
11770 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
11771 long _arg6 = (long ) wxSP_ARROW_KEYS;
11772 int _arg7 = (int ) 0;
11773 int _arg8 = (int ) 100;
11774 int _arg9 = (int ) 0;
c3bfa1cb 11775 wxString * _arg10 = (wxString *) &wxPySpinCtrlNameStr;
e6056257
RD
11776 PyObject * _argo0 = 0;
11777 PyObject * _argo1 = 0;
c3bfa1cb 11778 PyObject * _obj3 = 0;
e6056257
RD
11779 wxPoint temp;
11780 PyObject * _obj4 = 0;
11781 wxSize temp0;
11782 PyObject * _obj5 = 0;
c3bfa1cb 11783 PyObject * _obj10 = 0;
e6056257
RD
11784 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
11785
11786 self = self;
c3bfa1cb 11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_obj10))
e6056257
RD
11788 return NULL;
11789 if (_argo0) {
11790 if (_argo0 == Py_None) { _arg0 = NULL; }
11791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
11793 return NULL;
11794 }
11795 }
11796 if (_argo1) {
11797 if (_argo1 == Py_None) { _arg1 = NULL; }
11798 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11799 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
11800 return NULL;
11801 }
11802 }
c3bfa1cb
RD
11803 if (_obj3)
11804{
11805 _arg3 = wxString_in_helper(_obj3);
11806 if (_arg3 == NULL)
11807 return NULL;
11808}
e6056257
RD
11809 if (_obj4)
11810{
11811 _arg4 = &temp;
11812 if (! wxPoint_helper(_obj4, &_arg4))
11813 return NULL;
11814}
11815 if (_obj5)
11816{
11817 _arg5 = &temp0;
11818 if (! wxSize_helper(_obj5, &_arg5))
11819 return NULL;
c3bfa1cb
RD
11820}
11821 if (_obj10)
11822{
11823 _arg10 = wxString_in_helper(_obj10);
11824 if (_arg10 == NULL)
11825 return NULL;
e6056257
RD
11826}
11827{
0e2ff151 11828 PyThreadState* __tstate = wxPyBeginAllowThreads();
c3bfa1cb 11829 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10);
e6056257 11830
0e2ff151 11831 wxPyEndAllowThreads(__tstate);
e6056257
RD
11832 if (PyErr_Occurred()) return NULL;
11833} _resultobj = Py_BuildValue("i",_result);
c3bfa1cb
RD
11834{
11835 if (_obj3)
11836 delete _arg3;
11837}
11838{
11839 if (_obj10)
11840 delete _arg10;
11841}
e6056257
RD
11842 return _resultobj;
11843}
11844
11845#define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
11846static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11847 PyObject * _resultobj;
11848 int _result;
11849 wxSpinCtrl * _arg0;
11850 PyObject * _argo0 = 0;
11851 char *_kwnames[] = { "self", NULL };
11852
11853 self = self;
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
11855 return NULL;
11856 if (_argo0) {
11857 if (_argo0 == Py_None) { _arg0 = NULL; }
11858 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11859 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11860 return NULL;
11861 }
11862 }
11863{
0e2ff151 11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11865 _result = (int )wxSpinCtrl_GetMax(_arg0);
e6056257 11866
0e2ff151 11867 wxPyEndAllowThreads(__tstate);
e6056257
RD
11868 if (PyErr_Occurred()) return NULL;
11869} _resultobj = Py_BuildValue("i",_result);
11870 return _resultobj;
11871}
11872
11873#define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11874static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11875 PyObject * _resultobj;
11876 int _result;
11877 wxSpinCtrl * _arg0;
11878 PyObject * _argo0 = 0;
11879 char *_kwnames[] = { "self", NULL };
11880
11881 self = self;
11882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
11883 return NULL;
11884 if (_argo0) {
11885 if (_argo0 == Py_None) { _arg0 = NULL; }
11886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11888 return NULL;
11889 }
11890 }
11891{
0e2ff151 11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11893 _result = (int )wxSpinCtrl_GetMin(_arg0);
e6056257 11894
0e2ff151 11895 wxPyEndAllowThreads(__tstate);
e6056257
RD
11896 if (PyErr_Occurred()) return NULL;
11897} _resultobj = Py_BuildValue("i",_result);
11898 return _resultobj;
11899}
11900
11901#define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11902static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11903 PyObject * _resultobj;
11904 int _result;
11905 wxSpinCtrl * _arg0;
11906 PyObject * _argo0 = 0;
11907 char *_kwnames[] = { "self", NULL };
11908
11909 self = self;
11910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
11911 return NULL;
11912 if (_argo0) {
11913 if (_argo0 == Py_None) { _arg0 = NULL; }
11914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11916 return NULL;
11917 }
11918 }
11919{
0e2ff151 11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11921 _result = (int )wxSpinCtrl_GetValue(_arg0);
e6056257 11922
0e2ff151 11923 wxPyEndAllowThreads(__tstate);
e6056257
RD
11924 if (PyErr_Occurred()) return NULL;
11925} _resultobj = Py_BuildValue("i",_result);
11926 return _resultobj;
11927}
11928
11929#define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11930static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11931 PyObject * _resultobj;
11932 wxSpinCtrl * _arg0;
11933 int _arg1;
11934 int _arg2;
11935 PyObject * _argo0 = 0;
11936 char *_kwnames[] = { "self","min","max", NULL };
11937
11938 self = self;
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
11940 return NULL;
11941 if (_argo0) {
11942 if (_argo0 == Py_None) { _arg0 = NULL; }
11943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11945 return NULL;
11946 }
11947 }
11948{
0e2ff151 11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11950 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
e6056257 11951
0e2ff151 11952 wxPyEndAllowThreads(__tstate);
e6056257
RD
11953 if (PyErr_Occurred()) return NULL;
11954} Py_INCREF(Py_None);
11955 _resultobj = Py_None;
11956 return _resultobj;
11957}
11958
11959#define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11960static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11961 PyObject * _resultobj;
11962 wxSpinCtrl * _arg0;
11963 int _arg1;
11964 PyObject * _argo0 = 0;
11965 char *_kwnames[] = { "self","value", NULL };
11966
11967 self = self;
11968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
11969 return NULL;
11970 if (_argo0) {
11971 if (_argo0 == Py_None) { _arg0 = NULL; }
11972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11974 return NULL;
11975 }
11976 }
11977{
0e2ff151 11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824d4f9 11979 wxSpinCtrl_SetValue(_arg0,_arg1);
e6056257 11980
0e2ff151 11981 wxPyEndAllowThreads(__tstate);
e6056257
RD
11982 if (PyErr_Occurred()) return NULL;
11983} Py_INCREF(Py_None);
11984 _resultobj = Py_None;
11985 return _resultobj;
11986}
11987
d84a9306
RD
11988#define wxSpinCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
11989static PyObject *_wrap_wxSpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11990 PyObject * _resultobj;
11991 wxSpinCtrl * _arg0;
11992 long _arg1;
11993 long _arg2;
11994 PyObject * _argo0 = 0;
11995 char *_kwnames[] = { "self","from","to", NULL };
11996
11997 self = self;
11998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxSpinCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11999 return NULL;
12000 if (_argo0) {
12001 if (_argo0 == Py_None) { _arg0 = NULL; }
12002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
12003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetSelection. Expected _wxSpinCtrl_p.");
12004 return NULL;
12005 }
12006 }
12007{
12008 PyThreadState* __tstate = wxPyBeginAllowThreads();
12009 wxSpinCtrl_SetSelection(_arg0,_arg1,_arg2);
12010
12011 wxPyEndAllowThreads(__tstate);
12012 if (PyErr_Occurred()) return NULL;
12013} Py_INCREF(Py_None);
12014 _resultobj = Py_None;
12015 return _resultobj;
12016}
12017
e6056257 12018static PyMethodDef controlscMethods[] = {
d84a9306 12019 { "wxSpinCtrl_SetSelection", (PyCFunction) _wrap_wxSpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12020 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
12021 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
12022 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
12023 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
12024 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
12025 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12026 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
12027 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
12028 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
12029 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
12030 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
12031 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
12032 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
12033 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
12034 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
12035 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
12036 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
12037 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
12038 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
12039 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
12040 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
12041 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
12042 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
12043 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
12044 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
12045 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
12046 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
12047 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
12048 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
12049 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
12050 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12051 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12052 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
12053 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
12054 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
12055 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
12056 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
12057 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12058 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12059 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
12060 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12061 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
7108497a 12062 { "wxRadioBox_GetNextItem", (PyCFunction) _wrap_wxRadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12063 { "wxRadioBox_GetRowCount", (PyCFunction) _wrap_wxRadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
12064 { "wxRadioBox_GetColumnCount", (PyCFunction) _wrap_wxRadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
12065 { "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
12066 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
12067 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
12068 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
12069 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
12070 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
12071 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
12072 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
12073 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
12074 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12075 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
12076 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
12077 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
12078 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
12079 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12080 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
12081 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12082 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
12083 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
12084 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
12085 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
12086 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
12087 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
12088 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
dbd3685c 12089 { "wxScrollBar_IsVertical", (PyCFunction) _wrap_wxScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12090 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
12091 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
12092 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
12093 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
12094 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
12095 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
12096 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
12097 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
dbd3685c 12098 { "wxTextCtrl_GetString", (PyCFunction) _wrap_wxTextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
e6056257 12099 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
383ea3d0
RD
12100 { "wxTextCtrl_IsMultiLine", (PyCFunction) _wrap_wxTextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
12101 { "wxTextCtrl_IsSingleLine", (PyCFunction) _wrap_wxTextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
12102 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
12103 { "wxTextCtrl_SelectAll", (PyCFunction) _wrap_wxTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
12104 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
12105 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
12106 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12107 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
12108 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12109 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
12110 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12111 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
12112 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12113 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
12114 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
12115 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
12116 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
12117 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
12118 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
12119 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
12120 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
e6056257 12121 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
d84a9306 12122 { "wxTextCtrl_GetStyle", (PyCFunction) _wrap_wxTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
12123 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
12124 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
12125 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
59988cd0 12126 { "wxTextCtrl_EmulateKeyPress", (PyCFunction) _wrap_wxTextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12127 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
12128 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
12129 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
12130 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
e6056257 12131 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
e6056257 12132 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
12133 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
12134 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
12135 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
12136 { "wxTextCtrl_GetStringSelection", (PyCFunction) _wrap_wxTextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12137 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
12138 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
e6056257 12139 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12140 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
12141 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
12142 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
d1e76a37 12143 { "wxTextCtrl_GetRange", (PyCFunction) _wrap_wxTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
742fc581
RD
12144 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
12145 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12146 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12147 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
12148 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
dbd3685c 12149 { "wxTextAttr_Combine", (PyCFunction) _wrap_wxTextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
742fc581 12150 { "wxTextAttr_IsDefault", (PyCFunction) _wrap_wxTextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
d84a9306
RD
12151 { "wxTextAttr_GetFlags", (PyCFunction) _wrap_wxTextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
12152 { "wxTextAttr_GetRightIndent", (PyCFunction) _wrap_wxTextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
12153 { "wxTextAttr_GetLeftIndent", (PyCFunction) _wrap_wxTextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
12154 { "wxTextAttr_GetTabs", (PyCFunction) _wrap_wxTextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
12155 { "wxTextAttr_GetAlignment", (PyCFunction) _wrap_wxTextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12156 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
12157 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12158 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
d84a9306
RD
12159 { "wxTextAttr_HasFlag", (PyCFunction) _wrap_wxTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
12160 { "wxTextAttr_HasRightIndent", (PyCFunction) _wrap_wxTextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
12161 { "wxTextAttr_HasLeftIndent", (PyCFunction) _wrap_wxTextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
12162 { "wxTextAttr_HasTabs", (PyCFunction) _wrap_wxTextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
12163 { "wxTextAttr_HasAlignment", (PyCFunction) _wrap_wxTextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12164 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
12165 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12166 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
d84a9306
RD
12167 { "wxTextAttr_SetFlags", (PyCFunction) _wrap_wxTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
12168 { "wxTextAttr_SetRightIndent", (PyCFunction) _wrap_wxTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
12169 { "wxTextAttr_SetLeftIndent", (PyCFunction) _wrap_wxTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
12170 { "wxTextAttr_SetTabs", (PyCFunction) _wrap_wxTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
12171 { "wxTextAttr_SetAlignment", (PyCFunction) _wrap_wxTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12172 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
12173 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12174 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
d84a9306 12175 { "wxTextAttr_Init", (PyCFunction) _wrap_wxTextAttr_Init, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12176 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
12177 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
3e1f6ec4
RD
12178 { "wxCheckListBox_HitTestXY", (PyCFunction) _wrap_wxCheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
12179 { "wxCheckListBox_HitTest", (PyCFunction) _wrap_wxCheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12180 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
12181 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
12182 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
12183 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
12184 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
12185 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
12186 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12187 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
12188 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12189 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
12190 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
12191 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
12192 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
12193 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
12194 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
12195 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
12196 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
12197 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
12198 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
12199 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
12200 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
12201 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
12202 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
12203 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
12204 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
12205 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
12206 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
12207 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
12208 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
12209 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
12210 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
12211 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
12212 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
12213 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
12214 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
12215 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
12216 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
12217 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
12218 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
12219 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
12220 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
12221 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
12222 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
d84a9306
RD
12223 { "wxComboBox_SetClientData", (PyCFunction) _wrap_wxComboBox_SetClientData, METH_VARARGS | METH_KEYWORDS },
12224 { "wxComboBox_GetClientData", (PyCFunction) _wrap_wxComboBox_GetClientData, METH_VARARGS | METH_KEYWORDS },
12225 { "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS },
12226 { "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12227 { "wxComboBox_GetSelection", (PyCFunction) _wrap_wxComboBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
12228 { "wxComboBox_FindString", (PyCFunction) _wrap_wxComboBox_FindString, METH_VARARGS | METH_KEYWORDS },
12229 { "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS },
12230 { "wxComboBox_GetCount", (PyCFunction) _wrap_wxComboBox_GetCount, METH_VARARGS | METH_KEYWORDS },
12231 { "wxComboBox_Delete", (PyCFunction) _wrap_wxComboBox_Delete, METH_VARARGS | METH_KEYWORDS },
12232 { "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12233 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
12234 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
12235 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
12236 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12237 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
12238 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12239 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
12240 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
12241 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
12242 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
12243 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
12244 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12245 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
12246 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
12247 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
12248 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
12249 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
12250 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
12251 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12252 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
12253 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
12254 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
12255 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
12256 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
12257 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
12258 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
12259 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
7108497a 12260 { "wxCheckBox_IsChecked", (PyCFunction) _wrap_wxCheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12261 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
12262 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
12263 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
12264 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
12265 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
12266 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
12267 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
12268 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
12269 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
12270 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
12271 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
12272 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
12273 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
12274 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
12275 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
12276 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
12277 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
12278 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
12279 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
12280 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12281 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12282 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
12283 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
12284 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
12285 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
ca31b3da 12286 { "wxControlWithItems_AppendItems", (PyCFunction) _wrap_wxControlWithItems_AppendItems, METH_VARARGS | METH_KEYWORDS },
e6056257
RD
12287 { "wxControlWithItems_SetClientData", (PyCFunction) _wrap_wxControlWithItems_SetClientData, METH_VARARGS | METH_KEYWORDS },
12288 { "wxControlWithItems_GetClientData", (PyCFunction) _wrap_wxControlWithItems_GetClientData, METH_VARARGS | METH_KEYWORDS },
12289 { "wxControlWithItems_Append", (PyCFunction) _wrap_wxControlWithItems_Append, METH_VARARGS | METH_KEYWORDS },
12290 { "wxControlWithItems_GetStringSelection", (PyCFunction) _wrap_wxControlWithItems_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12291 { "wxControlWithItems_GetSelection", (PyCFunction) _wrap_wxControlWithItems_GetSelection, METH_VARARGS | METH_KEYWORDS },
12292 { "wxControlWithItems_Select", (PyCFunction) _wrap_wxControlWithItems_Select, METH_VARARGS | METH_KEYWORDS },
12293 { "wxControlWithItems_FindString", (PyCFunction) _wrap_wxControlWithItems_FindString, METH_VARARGS | METH_KEYWORDS },
12294 { "wxControlWithItems_SetString", (PyCFunction) _wrap_wxControlWithItems_SetString, METH_VARARGS | METH_KEYWORDS },
12295 { "wxControlWithItems_GetString", (PyCFunction) _wrap_wxControlWithItems_GetString, METH_VARARGS | METH_KEYWORDS },
12296 { "wxControlWithItems_GetCount", (PyCFunction) _wrap_wxControlWithItems_GetCount, METH_VARARGS | METH_KEYWORDS },
12297 { "wxControlWithItems_Delete", (PyCFunction) _wrap_wxControlWithItems_Delete, METH_VARARGS | METH_KEYWORDS },
12298 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
12299 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
12300 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
12301 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
12302 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
12303 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
12304 { NULL, NULL }
12305};
12306#ifdef __cplusplus
12307}
12308#endif
12309/*
12310 * This table is used by the pointer type-checker
12311 */
12312static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
12313 { "_signed_long","_long",0},
12314 { "_wxPrintQuality","_wxCoord",0},
12315 { "_wxPrintQuality","_int",0},
12316 { "_wxPrintQuality","_signed_int",0},
12317 { "_wxPrintQuality","_unsigned_int",0},
12318 { "_wxPrintQuality","_wxWindowID",0},
12319 { "_wxPrintQuality","_uint",0},
12320 { "_wxPrintQuality","_EBool",0},
12321 { "_wxPrintQuality","_size_t",0},
12322 { "_wxPrintQuality","_time_t",0},
12323 { "_byte","_unsigned_char",0},
e6056257
RD
12324 { "_long","_unsigned_long",0},
12325 { "_long","_signed_long",0},
12326 { "_size_t","_wxCoord",0},
12327 { "_size_t","_wxPrintQuality",0},
12328 { "_size_t","_time_t",0},
12329 { "_size_t","_unsigned_int",0},
12330 { "_size_t","_int",0},
12331 { "_size_t","_wxWindowID",0},
12332 { "_size_t","_uint",0},
12333 { "_uint","_wxCoord",0},
12334 { "_uint","_wxPrintQuality",0},
12335 { "_uint","_time_t",0},
12336 { "_uint","_size_t",0},
12337 { "_uint","_unsigned_int",0},
12338 { "_uint","_int",0},
12339 { "_uint","_wxWindowID",0},
12340 { "_wxChar","_char",0},
12341 { "_char","_wxChar",0},
12342 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
12343 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12344 { "_EBool","_wxCoord",0},
12345 { "_EBool","_wxPrintQuality",0},
12346 { "_EBool","_signed_int",0},
12347 { "_EBool","_int",0},
12348 { "_EBool","_wxWindowID",0},
12349 { "_unsigned_long","_long",0},
12350 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12351 { "_signed_int","_wxCoord",0},
12352 { "_signed_int","_wxPrintQuality",0},
12353 { "_signed_int","_EBool",0},
12354 { "_signed_int","_wxWindowID",0},
12355 { "_signed_int","_int",0},
12356 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
12357 { "_WXTYPE","_short",0},
12358 { "_WXTYPE","_signed_short",0},
12359 { "_WXTYPE","_unsigned_short",0},
12360 { "_unsigned_short","_WXTYPE",0},
12361 { "_unsigned_short","_short",0},
12362 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
12363 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
12364 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
12365 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
12366 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
12367 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
12368 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
12369 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
12370 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
12371 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
12372 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
12373 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
12374 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
12375 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
12376 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
12377 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
12378 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
12379 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
12380 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
12381 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
12382 { "_wxObject","_wxControl",SwigwxControlTowxObject},
12383 { "_signed_short","_WXTYPE",0},
12384 { "_signed_short","_short",0},
12385 { "_unsigned_char","_byte",0},
12386 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
12387 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
12388 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
12389 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
12390 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
12391 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
12392 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
12393 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
12394 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
12395 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
12396 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
12397 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
12398 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
12399 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
12400 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
12401 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
12402 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
12403 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
12404 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
12405 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
12406 { "_unsigned_int","_wxCoord",0},
12407 { "_unsigned_int","_wxPrintQuality",0},
12408 { "_unsigned_int","_time_t",0},
12409 { "_unsigned_int","_size_t",0},
12410 { "_unsigned_int","_uint",0},
12411 { "_unsigned_int","_wxWindowID",0},
12412 { "_unsigned_int","_int",0},
12413 { "_short","_WXTYPE",0},
12414 { "_short","_unsigned_short",0},
12415 { "_short","_signed_short",0},
12416 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
12417 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
e6056257
RD
12418 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
12419 { "_wxWindowID","_wxCoord",0},
12420 { "_wxWindowID","_wxPrintQuality",0},
12421 { "_wxWindowID","_time_t",0},
12422 { "_wxWindowID","_size_t",0},
12423 { "_wxWindowID","_EBool",0},
12424 { "_wxWindowID","_uint",0},
12425 { "_wxWindowID","_int",0},
12426 { "_wxWindowID","_signed_int",0},
12427 { "_wxWindowID","_unsigned_int",0},
12428 { "_int","_wxCoord",0},
12429 { "_int","_wxPrintQuality",0},
12430 { "_int","_time_t",0},
12431 { "_int","_size_t",0},
12432 { "_int","_EBool",0},
12433 { "_int","_uint",0},
12434 { "_int","_wxWindowID",0},
12435 { "_int","_unsigned_int",0},
12436 { "_int","_signed_int",0},
12437 { "_time_t","_wxCoord",0},
12438 { "_time_t","_wxPrintQuality",0},
12439 { "_time_t","_unsigned_int",0},
12440 { "_time_t","_int",0},
12441 { "_time_t","_wxWindowID",0},
12442 { "_time_t","_uint",0},
12443 { "_time_t","_size_t",0},
12444 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
12445 { "_wxCoord","_int",0},
12446 { "_wxCoord","_signed_int",0},
12447 { "_wxCoord","_unsigned_int",0},
12448 { "_wxCoord","_wxWindowID",0},
12449 { "_wxCoord","_uint",0},
12450 { "_wxCoord","_EBool",0},
12451 { "_wxCoord","_size_t",0},
12452 { "_wxCoord","_time_t",0},
12453 { "_wxCoord","_wxPrintQuality",0},
12454 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
12455 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
12456 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
12457 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
12458 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
12459 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
12460 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
12461 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
12462 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
12463 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
12464 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
12465 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
12466 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
12467 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
12468 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
12469 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
12470 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
12471 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
12472 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
12473 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
12474 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
12475 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
12476 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
12477 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
12478 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
12479 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
12480 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
12481 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
12482 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
12483 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
12484 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
12485 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
12486 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
12487 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
12488 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
12489 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
12490 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
12491 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
12492 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
12493 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
12494 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
12495 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
12496{0,0,0}};
12497
12498static PyObject *SWIG_globals;
12499#ifdef __cplusplus
12500extern "C"
12501#endif
12502SWIGEXPORT(void) initcontrolsc() {
12503 PyObject *m, *d;
12504 SWIG_globals = SWIG_newvarlink();
12505 m = Py_InitModule("controlsc", controlscMethods);
12506 d = PyModule_GetDict(m);
12507 PyDict_SetItemString(d,"cvar", SWIG_globals);
12508 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
d84a9306
RD
12509 PyDict_SetItemString(d,"wxTE_NO_VSCROLL", PyInt_FromLong((long) wxTE_NO_VSCROLL));
12510 PyDict_SetItemString(d,"wxTE_AUTO_SCROLL", PyInt_FromLong((long) wxTE_AUTO_SCROLL));
12511 PyDict_SetItemString(d,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY));
12512 PyDict_SetItemString(d,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE));
12513 PyDict_SetItemString(d,"wxTE_PROCESS_TAB", PyInt_FromLong((long) wxTE_PROCESS_TAB));
12514 PyDict_SetItemString(d,"wxTE_LEFT", PyInt_FromLong((long) wxTE_LEFT));
12515 PyDict_SetItemString(d,"wxTE_CENTER", PyInt_FromLong((long) wxTE_CENTER));
12516 PyDict_SetItemString(d,"wxTE_RIGHT", PyInt_FromLong((long) wxTE_RIGHT));
12517 PyDict_SetItemString(d,"wxTE_CENTRE", PyInt_FromLong((long) wxTE_CENTRE));
12518 PyDict_SetItemString(d,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH));
12519 PyDict_SetItemString(d,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER));
12520 PyDict_SetItemString(d,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD));
12521 PyDict_SetItemString(d,"wxTE_AUTO_URL", PyInt_FromLong((long) wxTE_AUTO_URL));
12522 PyDict_SetItemString(d,"wxTE_NOHIDESEL", PyInt_FromLong((long) wxTE_NOHIDESEL));
12523 PyDict_SetItemString(d,"wxTE_DONTWRAP", PyInt_FromLong((long) wxTE_DONTWRAP));
12524 PyDict_SetItemString(d,"wxTE_LINEWRAP", PyInt_FromLong((long) wxTE_LINEWRAP));
12525 PyDict_SetItemString(d,"wxTE_WORDWRAP", PyInt_FromLong((long) wxTE_WORDWRAP));
12526 PyDict_SetItemString(d,"wxTE_RICH2", PyInt_FromLong((long) wxTE_RICH2));
12527 PyDict_SetItemString(d,"wxTEXT_ATTR_TEXT_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_TEXT_COLOUR));
12528 PyDict_SetItemString(d,"wxTEXT_ATTR_BACKGROUND_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_BACKGROUND_COLOUR));
12529 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_FACE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_FACE));
12530 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_SIZE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_SIZE));
12531 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_WEIGHT", PyInt_FromLong((long) wxTEXT_ATTR_FONT_WEIGHT));
12532 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_ITALIC", PyInt_FromLong((long) wxTEXT_ATTR_FONT_ITALIC));
12533 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_UNDERLINE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_UNDERLINE));
12534 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT", PyInt_FromLong((long) wxTEXT_ATTR_FONT));
12535 PyDict_SetItemString(d,"wxTEXT_ATTR_ALIGNMENT", PyInt_FromLong((long) wxTEXT_ATTR_ALIGNMENT));
12536 PyDict_SetItemString(d,"wxTEXT_ATTR_LEFT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_LEFT_INDENT));
12537 PyDict_SetItemString(d,"wxTEXT_ATTR_RIGHT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_RIGHT_INDENT));
12538 PyDict_SetItemString(d,"wxTEXT_ATTR_TABS", PyInt_FromLong((long) wxTEXT_ATTR_TABS));
12539 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_DEFAULT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_DEFAULT));
12540 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_LEFT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_LEFT));
12541 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_CENTRE", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTRE));
12542 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_CENTER", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTER));
12543 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_RIGHT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_RIGHT));
12544 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_JUSTIFIED", PyInt_FromLong((long) wxTEXT_ALIGNMENT_JUSTIFIED));
e6056257
RD
12545{
12546 int i;
12547 for (i = 0; _swig_mapping[i].n1; i++)
12548 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12549}
12550}