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