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