]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls.cpp
Added classinfo macros for wxTreeEvent
[wxWidgets.git] / wxPython / src / gtk / controls.cpp
1 /*
2 * FILE : src/gtk/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_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9233 static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
9234 PyObject * _resultobj;
9235 wxString * _result;
9236 wxRadioBox * _arg0;
9237 int _arg1;
9238 PyObject * _argo0 = 0;
9239 char *_kwnames[] = { "self","item", NULL };
9240
9241 self = self;
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetItemLabel",_kwnames,&_argo0,&_arg1))
9243 return NULL;
9244 if (_argo0) {
9245 if (_argo0 == Py_None) { _arg0 = NULL; }
9246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
9248 return NULL;
9249 }
9250 }
9251 {
9252 wxPy_BEGIN_ALLOW_THREADS;
9253 _result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1));
9254
9255 wxPy_END_ALLOW_THREADS;
9256 if (PyErr_Occurred()) return NULL;
9257 }{
9258 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9259 }
9260 {
9261 delete _result;
9262 }
9263 return _resultobj;
9264 }
9265
9266 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9267 static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
9268 PyObject * _resultobj;
9269 wxRadioBox * _arg0;
9270 int _arg1;
9271 wxString * _arg2;
9272 PyObject * _argo0 = 0;
9273 PyObject * _obj2 = 0;
9274 char *_kwnames[] = { "self","item","label", NULL };
9275
9276 self = self;
9277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetItemLabel",_kwnames,&_argo0,&_arg1,&_obj2))
9278 return NULL;
9279 if (_argo0) {
9280 if (_argo0 == Py_None) { _arg0 = NULL; }
9281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
9283 return NULL;
9284 }
9285 }
9286 {
9287 #if PYTHON_API_VERSION >= 1009
9288 char* tmpPtr; int tmpSize;
9289 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9290 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9291 return NULL;
9292 }
9293 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9294 return NULL;
9295 _arg2 = new wxString(tmpPtr, tmpSize);
9296 #else
9297 if (!PyString_Check(_obj2)) {
9298 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9299 return NULL;
9300 }
9301 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9302 #endif
9303 }
9304 {
9305 wxPy_BEGIN_ALLOW_THREADS;
9306 wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2);
9307
9308 wxPy_END_ALLOW_THREADS;
9309 if (PyErr_Occurred()) return NULL;
9310 } Py_INCREF(Py_None);
9311 _resultobj = Py_None;
9312 {
9313 if (_obj2)
9314 delete _arg2;
9315 }
9316 return _resultobj;
9317 }
9318
9319 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9320 static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9321 PyObject * _resultobj;
9322 int _result;
9323 wxRadioBox * _arg0;
9324 PyObject * _argo0 = 0;
9325 char *_kwnames[] = { "self", NULL };
9326
9327 self = self;
9328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
9329 return NULL;
9330 if (_argo0) {
9331 if (_argo0 == Py_None) { _arg0 = NULL; }
9332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9334 return NULL;
9335 }
9336 }
9337 {
9338 wxPy_BEGIN_ALLOW_THREADS;
9339 _result = (int )wxRadioBox_GetSelection(_arg0);
9340
9341 wxPy_END_ALLOW_THREADS;
9342 if (PyErr_Occurred()) return NULL;
9343 } _resultobj = Py_BuildValue("i",_result);
9344 return _resultobj;
9345 }
9346
9347 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9348 static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject * _resultobj;
9350 wxString * _result;
9351 wxRadioBox * _arg0;
9352 PyObject * _argo0 = 0;
9353 char *_kwnames[] = { "self", NULL };
9354
9355 self = self;
9356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
9357 return NULL;
9358 if (_argo0) {
9359 if (_argo0 == Py_None) { _arg0 = NULL; }
9360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9362 return NULL;
9363 }
9364 }
9365 {
9366 wxPy_BEGIN_ALLOW_THREADS;
9367 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
9368
9369 wxPy_END_ALLOW_THREADS;
9370 if (PyErr_Occurred()) return NULL;
9371 }{
9372 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9373 }
9374 {
9375 delete _result;
9376 }
9377 return _resultobj;
9378 }
9379
9380 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9381 static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9382 PyObject * _resultobj;
9383 int _result;
9384 wxRadioBox * _arg0;
9385 PyObject * _argo0 = 0;
9386 char *_kwnames[] = { "self", NULL };
9387
9388 self = self;
9389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
9390 return NULL;
9391 if (_argo0) {
9392 if (_argo0 == Py_None) { _arg0 = NULL; }
9393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9395 return NULL;
9396 }
9397 }
9398 {
9399 wxPy_BEGIN_ALLOW_THREADS;
9400 _result = (int )wxRadioBox_GetCount(_arg0);
9401
9402 wxPy_END_ALLOW_THREADS;
9403 if (PyErr_Occurred()) return NULL;
9404 } _resultobj = Py_BuildValue("i",_result);
9405 return _resultobj;
9406 }
9407
9408 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9409 static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9410 PyObject * _resultobj;
9411 wxRadioBox * _arg0;
9412 int _arg1;
9413 PyObject * _argo0 = 0;
9414 char *_kwnames[] = { "self","n", NULL };
9415
9416 self = self;
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
9418 return NULL;
9419 if (_argo0) {
9420 if (_argo0 == Py_None) { _arg0 = NULL; }
9421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9423 return NULL;
9424 }
9425 }
9426 {
9427 wxPy_BEGIN_ALLOW_THREADS;
9428 wxRadioBox_SetSelection(_arg0,_arg1);
9429
9430 wxPy_END_ALLOW_THREADS;
9431 if (PyErr_Occurred()) return NULL;
9432 } Py_INCREF(Py_None);
9433 _resultobj = Py_None;
9434 return _resultobj;
9435 }
9436
9437 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9438 static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9439 PyObject * _resultobj;
9440 wxRadioBox * _arg0;
9441 wxString * _arg1;
9442 PyObject * _argo0 = 0;
9443 PyObject * _obj1 = 0;
9444 char *_kwnames[] = { "self","string", NULL };
9445
9446 self = self;
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
9448 return NULL;
9449 if (_argo0) {
9450 if (_argo0 == Py_None) { _arg0 = NULL; }
9451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9453 return NULL;
9454 }
9455 }
9456 {
9457 #if PYTHON_API_VERSION >= 1009
9458 char* tmpPtr; int tmpSize;
9459 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9460 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9461 return NULL;
9462 }
9463 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9464 return NULL;
9465 _arg1 = new wxString(tmpPtr, tmpSize);
9466 #else
9467 if (!PyString_Check(_obj1)) {
9468 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9469 return NULL;
9470 }
9471 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9472 #endif
9473 }
9474 {
9475 wxPy_BEGIN_ALLOW_THREADS;
9476 wxRadioBox_SetStringSelection(_arg0,*_arg1);
9477
9478 wxPy_END_ALLOW_THREADS;
9479 if (PyErr_Occurred()) return NULL;
9480 } Py_INCREF(Py_None);
9481 _resultobj = Py_None;
9482 {
9483 if (_obj1)
9484 delete _arg1;
9485 }
9486 return _resultobj;
9487 }
9488
9489 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9490 static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
9491 PyObject * _resultobj;
9492 wxRadioBox * _arg0;
9493 bool _arg1;
9494 PyObject * _argo0 = 0;
9495 int tempbool1;
9496 char *_kwnames[] = { "self","show", NULL };
9497
9498 self = self;
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
9500 return NULL;
9501 if (_argo0) {
9502 if (_argo0 == Py_None) { _arg0 = NULL; }
9503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9505 return NULL;
9506 }
9507 }
9508 _arg1 = (bool ) tempbool1;
9509 {
9510 wxPy_BEGIN_ALLOW_THREADS;
9511 wxRadioBox_Show(_arg0,_arg1);
9512
9513 wxPy_END_ALLOW_THREADS;
9514 if (PyErr_Occurred()) return NULL;
9515 } Py_INCREF(Py_None);
9516 _resultobj = Py_None;
9517 return _resultobj;
9518 }
9519
9520 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9521 static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9522 PyObject * _resultobj;
9523 wxRadioBox * _arg0;
9524 int _arg1;
9525 bool _arg2;
9526 PyObject * _argo0 = 0;
9527 int tempbool2;
9528 char *_kwnames[] = { "self","item","show", NULL };
9529
9530 self = self;
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
9532 return NULL;
9533 if (_argo0) {
9534 if (_argo0 == Py_None) { _arg0 = NULL; }
9535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9537 return NULL;
9538 }
9539 }
9540 _arg2 = (bool ) tempbool2;
9541 {
9542 wxPy_BEGIN_ALLOW_THREADS;
9543 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
9544
9545 wxPy_END_ALLOW_THREADS;
9546 if (PyErr_Occurred()) return NULL;
9547 } Py_INCREF(Py_None);
9548 _resultobj = Py_None;
9549 return _resultobj;
9550 }
9551
9552 static void *SwigwxRadioButtonTowxControl(void *ptr) {
9553 wxRadioButton *src;
9554 wxControl *dest;
9555 src = (wxRadioButton *) ptr;
9556 dest = (wxControl *) src;
9557 return (void *) dest;
9558 }
9559
9560 static void *SwigwxRadioButtonTowxWindow(void *ptr) {
9561 wxRadioButton *src;
9562 wxWindow *dest;
9563 src = (wxRadioButton *) ptr;
9564 dest = (wxWindow *) src;
9565 return (void *) dest;
9566 }
9567
9568 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
9569 wxRadioButton *src;
9570 wxEvtHandler *dest;
9571 src = (wxRadioButton *) ptr;
9572 dest = (wxEvtHandler *) src;
9573 return (void *) dest;
9574 }
9575
9576 static void *SwigwxRadioButtonTowxObject(void *ptr) {
9577 wxRadioButton *src;
9578 wxObject *dest;
9579 src = (wxRadioButton *) ptr;
9580 dest = (wxObject *) src;
9581 return (void *) dest;
9582 }
9583
9584 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9585 static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject * _resultobj;
9587 wxRadioButton * _result;
9588 wxWindow * _arg0;
9589 wxWindowID _arg1;
9590 wxString * _arg2;
9591 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9592 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9593 long _arg5 = (long ) 0;
9594 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9595 char * _arg7 = (char *) "radioButton";
9596 PyObject * _argo0 = 0;
9597 PyObject * _obj2 = 0;
9598 wxPoint temp;
9599 PyObject * _obj3 = 0;
9600 wxSize temp0;
9601 PyObject * _obj4 = 0;
9602 PyObject * _argo6 = 0;
9603 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
9604 char _ptemp[128];
9605
9606 self = self;
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
9608 return NULL;
9609 if (_argo0) {
9610 if (_argo0 == Py_None) { _arg0 = NULL; }
9611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9613 return NULL;
9614 }
9615 }
9616 {
9617 #if PYTHON_API_VERSION >= 1009
9618 char* tmpPtr; int tmpSize;
9619 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
9620 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9621 return NULL;
9622 }
9623 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
9624 return NULL;
9625 _arg2 = new wxString(tmpPtr, tmpSize);
9626 #else
9627 if (!PyString_Check(_obj2)) {
9628 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9629 return NULL;
9630 }
9631 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
9632 #endif
9633 }
9634 if (_obj3)
9635 {
9636 _arg3 = &temp;
9637 if (! wxPoint_helper(_obj3, &_arg3))
9638 return NULL;
9639 }
9640 if (_obj4)
9641 {
9642 _arg4 = &temp0;
9643 if (! wxSize_helper(_obj4, &_arg4))
9644 return NULL;
9645 }
9646 if (_argo6) {
9647 if (_argo6 == Py_None) { _arg6 = NULL; }
9648 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
9649 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9650 return NULL;
9651 }
9652 }
9653 {
9654 wxPy_BEGIN_ALLOW_THREADS;
9655 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
9656
9657 wxPy_END_ALLOW_THREADS;
9658 if (PyErr_Occurred()) return NULL;
9659 } if (_result) {
9660 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9661 _resultobj = Py_BuildValue("s",_ptemp);
9662 } else {
9663 Py_INCREF(Py_None);
9664 _resultobj = Py_None;
9665 }
9666 {
9667 if (_obj2)
9668 delete _arg2;
9669 }
9670 return _resultobj;
9671 }
9672
9673 #define new_wxPreRadioButton() (new wxRadioButton())
9674 static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9675 PyObject * _resultobj;
9676 wxRadioButton * _result;
9677 char *_kwnames[] = { NULL };
9678 char _ptemp[128];
9679
9680 self = self;
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
9682 return NULL;
9683 {
9684 wxPy_BEGIN_ALLOW_THREADS;
9685 _result = (wxRadioButton *)new_wxPreRadioButton();
9686
9687 wxPy_END_ALLOW_THREADS;
9688 if (PyErr_Occurred()) return NULL;
9689 } if (_result) {
9690 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9691 _resultobj = Py_BuildValue("s",_ptemp);
9692 } else {
9693 Py_INCREF(Py_None);
9694 _resultobj = Py_None;
9695 }
9696 return _resultobj;
9697 }
9698
9699 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9700 static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9701 PyObject * _resultobj;
9702 bool _result;
9703 wxRadioButton * _arg0;
9704 wxWindow * _arg1;
9705 wxWindowID _arg2;
9706 wxString * _arg3;
9707 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9708 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9709 long _arg6 = (long ) 0;
9710 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9711 char * _arg8 = (char *) "radioButton";
9712 PyObject * _argo0 = 0;
9713 PyObject * _argo1 = 0;
9714 PyObject * _obj3 = 0;
9715 wxPoint temp;
9716 PyObject * _obj4 = 0;
9717 wxSize temp0;
9718 PyObject * _obj5 = 0;
9719 PyObject * _argo7 = 0;
9720 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
9721
9722 self = self;
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
9724 return NULL;
9725 if (_argo0) {
9726 if (_argo0 == Py_None) { _arg0 = NULL; }
9727 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9728 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9729 return NULL;
9730 }
9731 }
9732 if (_argo1) {
9733 if (_argo1 == Py_None) { _arg1 = NULL; }
9734 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9735 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9736 return NULL;
9737 }
9738 }
9739 {
9740 #if PYTHON_API_VERSION >= 1009
9741 char* tmpPtr; int tmpSize;
9742 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
9743 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9744 return NULL;
9745 }
9746 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
9747 return NULL;
9748 _arg3 = new wxString(tmpPtr, tmpSize);
9749 #else
9750 if (!PyString_Check(_obj3)) {
9751 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9752 return NULL;
9753 }
9754 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
9755 #endif
9756 }
9757 if (_obj4)
9758 {
9759 _arg4 = &temp;
9760 if (! wxPoint_helper(_obj4, &_arg4))
9761 return NULL;
9762 }
9763 if (_obj5)
9764 {
9765 _arg5 = &temp0;
9766 if (! wxSize_helper(_obj5, &_arg5))
9767 return NULL;
9768 }
9769 if (_argo7) {
9770 if (_argo7 == Py_None) { _arg7 = NULL; }
9771 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
9772 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9773 return NULL;
9774 }
9775 }
9776 {
9777 wxPy_BEGIN_ALLOW_THREADS;
9778 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
9779
9780 wxPy_END_ALLOW_THREADS;
9781 if (PyErr_Occurred()) return NULL;
9782 } _resultobj = Py_BuildValue("i",_result);
9783 {
9784 if (_obj3)
9785 delete _arg3;
9786 }
9787 return _resultobj;
9788 }
9789
9790 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9791 static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9792 PyObject * _resultobj;
9793 bool _result;
9794 wxRadioButton * _arg0;
9795 PyObject * _argo0 = 0;
9796 char *_kwnames[] = { "self", NULL };
9797
9798 self = self;
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
9800 return NULL;
9801 if (_argo0) {
9802 if (_argo0 == Py_None) { _arg0 = NULL; }
9803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9805 return NULL;
9806 }
9807 }
9808 {
9809 wxPy_BEGIN_ALLOW_THREADS;
9810 _result = (bool )wxRadioButton_GetValue(_arg0);
9811
9812 wxPy_END_ALLOW_THREADS;
9813 if (PyErr_Occurred()) return NULL;
9814 } _resultobj = Py_BuildValue("i",_result);
9815 return _resultobj;
9816 }
9817
9818 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9819 static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9820 PyObject * _resultobj;
9821 wxRadioButton * _arg0;
9822 bool _arg1;
9823 PyObject * _argo0 = 0;
9824 int tempbool1;
9825 char *_kwnames[] = { "self","value", NULL };
9826
9827 self = self;
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
9829 return NULL;
9830 if (_argo0) {
9831 if (_argo0 == Py_None) { _arg0 = NULL; }
9832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9834 return NULL;
9835 }
9836 }
9837 _arg1 = (bool ) tempbool1;
9838 {
9839 wxPy_BEGIN_ALLOW_THREADS;
9840 wxRadioButton_SetValue(_arg0,_arg1);
9841
9842 wxPy_END_ALLOW_THREADS;
9843 if (PyErr_Occurred()) return NULL;
9844 } Py_INCREF(Py_None);
9845 _resultobj = Py_None;
9846 return _resultobj;
9847 }
9848
9849 static void *SwigwxSliderTowxControl(void *ptr) {
9850 wxSlider *src;
9851 wxControl *dest;
9852 src = (wxSlider *) ptr;
9853 dest = (wxControl *) src;
9854 return (void *) dest;
9855 }
9856
9857 static void *SwigwxSliderTowxWindow(void *ptr) {
9858 wxSlider *src;
9859 wxWindow *dest;
9860 src = (wxSlider *) ptr;
9861 dest = (wxWindow *) src;
9862 return (void *) dest;
9863 }
9864
9865 static void *SwigwxSliderTowxEvtHandler(void *ptr) {
9866 wxSlider *src;
9867 wxEvtHandler *dest;
9868 src = (wxSlider *) ptr;
9869 dest = (wxEvtHandler *) src;
9870 return (void *) dest;
9871 }
9872
9873 static void *SwigwxSliderTowxObject(void *ptr) {
9874 wxSlider *src;
9875 wxObject *dest;
9876 src = (wxSlider *) ptr;
9877 dest = (wxObject *) src;
9878 return (void *) dest;
9879 }
9880
9881 #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))
9882 static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
9883 PyObject * _resultobj;
9884 wxSlider * _result;
9885 wxWindow * _arg0;
9886 wxWindowID _arg1;
9887 int _arg2;
9888 int _arg3;
9889 int _arg4;
9890 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
9891 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
9892 long _arg7 = (long ) wxSL_HORIZONTAL;
9893 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
9894 char * _arg9 = (char *) "slider";
9895 PyObject * _argo0 = 0;
9896 wxPoint temp;
9897 PyObject * _obj5 = 0;
9898 wxSize temp0;
9899 PyObject * _obj6 = 0;
9900 PyObject * _argo8 = 0;
9901 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
9902 char _ptemp[128];
9903
9904 self = self;
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOs:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_arg9))
9906 return NULL;
9907 if (_argo0) {
9908 if (_argo0 == Py_None) { _arg0 = NULL; }
9909 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9910 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9911 return NULL;
9912 }
9913 }
9914 if (_obj5)
9915 {
9916 _arg5 = &temp;
9917 if (! wxPoint_helper(_obj5, &_arg5))
9918 return NULL;
9919 }
9920 if (_obj6)
9921 {
9922 _arg6 = &temp0;
9923 if (! wxSize_helper(_obj6, &_arg6))
9924 return NULL;
9925 }
9926 if (_argo8) {
9927 if (_argo8 == Py_None) { _arg8 = NULL; }
9928 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
9929 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9930 return NULL;
9931 }
9932 }
9933 {
9934 wxPy_BEGIN_ALLOW_THREADS;
9935 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
9936
9937 wxPy_END_ALLOW_THREADS;
9938 if (PyErr_Occurred()) return NULL;
9939 } if (_result) {
9940 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
9941 _resultobj = Py_BuildValue("s",_ptemp);
9942 } else {
9943 Py_INCREF(Py_None);
9944 _resultobj = Py_None;
9945 }
9946 return _resultobj;
9947 }
9948
9949 #define new_wxPreSlider() (new wxSlider())
9950 static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
9951 PyObject * _resultobj;
9952 wxSlider * _result;
9953 char *_kwnames[] = { NULL };
9954 char _ptemp[128];
9955
9956 self = self;
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
9958 return NULL;
9959 {
9960 wxPy_BEGIN_ALLOW_THREADS;
9961 _result = (wxSlider *)new_wxPreSlider();
9962
9963 wxPy_END_ALLOW_THREADS;
9964 if (PyErr_Occurred()) return NULL;
9965 } if (_result) {
9966 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
9967 _resultobj = Py_BuildValue("s",_ptemp);
9968 } else {
9969 Py_INCREF(Py_None);
9970 _resultobj = Py_None;
9971 }
9972 return _resultobj;
9973 }
9974
9975 #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))
9976 static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9977 PyObject * _resultobj;
9978 bool _result;
9979 wxSlider * _arg0;
9980 wxWindow * _arg1;
9981 wxWindowID _arg2;
9982 int _arg3;
9983 int _arg4;
9984 int _arg5;
9985 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
9986 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
9987 long _arg8 = (long ) wxSL_HORIZONTAL;
9988 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9989 char * _arg10 = (char *) "slider";
9990 PyObject * _argo0 = 0;
9991 PyObject * _argo1 = 0;
9992 wxPoint temp;
9993 PyObject * _obj6 = 0;
9994 wxSize temp0;
9995 PyObject * _obj7 = 0;
9996 PyObject * _argo9 = 0;
9997 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
9998
9999 self = self;
10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOs:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_arg10))
10001 return NULL;
10002 if (_argo0) {
10003 if (_argo0 == Py_None) { _arg0 = NULL; }
10004 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10005 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10006 return NULL;
10007 }
10008 }
10009 if (_argo1) {
10010 if (_argo1 == Py_None) { _arg1 = NULL; }
10011 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10012 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10013 return NULL;
10014 }
10015 }
10016 if (_obj6)
10017 {
10018 _arg6 = &temp;
10019 if (! wxPoint_helper(_obj6, &_arg6))
10020 return NULL;
10021 }
10022 if (_obj7)
10023 {
10024 _arg7 = &temp0;
10025 if (! wxSize_helper(_obj7, &_arg7))
10026 return NULL;
10027 }
10028 if (_argo9) {
10029 if (_argo9 == Py_None) { _arg9 = NULL; }
10030 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
10031 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10032 return NULL;
10033 }
10034 }
10035 {
10036 wxPy_BEGIN_ALLOW_THREADS;
10037 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,_arg10);
10038
10039 wxPy_END_ALLOW_THREADS;
10040 if (PyErr_Occurred()) return NULL;
10041 } _resultobj = Py_BuildValue("i",_result);
10042 return _resultobj;
10043 }
10044
10045 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10046 static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10047 PyObject * _resultobj;
10048 wxSlider * _arg0;
10049 PyObject * _argo0 = 0;
10050 char *_kwnames[] = { "self", NULL };
10051
10052 self = self;
10053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
10054 return NULL;
10055 if (_argo0) {
10056 if (_argo0 == Py_None) { _arg0 = NULL; }
10057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10059 return NULL;
10060 }
10061 }
10062 {
10063 wxPy_BEGIN_ALLOW_THREADS;
10064 wxSlider_ClearSel(_arg0);
10065
10066 wxPy_END_ALLOW_THREADS;
10067 if (PyErr_Occurred()) return NULL;
10068 } Py_INCREF(Py_None);
10069 _resultobj = Py_None;
10070 return _resultobj;
10071 }
10072
10073 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10074 static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10075 PyObject * _resultobj;
10076 wxSlider * _arg0;
10077 PyObject * _argo0 = 0;
10078 char *_kwnames[] = { "self", NULL };
10079
10080 self = self;
10081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
10082 return NULL;
10083 if (_argo0) {
10084 if (_argo0 == Py_None) { _arg0 = NULL; }
10085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10087 return NULL;
10088 }
10089 }
10090 {
10091 wxPy_BEGIN_ALLOW_THREADS;
10092 wxSlider_ClearTicks(_arg0);
10093
10094 wxPy_END_ALLOW_THREADS;
10095 if (PyErr_Occurred()) return NULL;
10096 } Py_INCREF(Py_None);
10097 _resultobj = Py_None;
10098 return _resultobj;
10099 }
10100
10101 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10102 static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10103 PyObject * _resultobj;
10104 int _result;
10105 wxSlider * _arg0;
10106 PyObject * _argo0 = 0;
10107 char *_kwnames[] = { "self", NULL };
10108
10109 self = self;
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
10111 return NULL;
10112 if (_argo0) {
10113 if (_argo0 == Py_None) { _arg0 = NULL; }
10114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10116 return NULL;
10117 }
10118 }
10119 {
10120 wxPy_BEGIN_ALLOW_THREADS;
10121 _result = (int )wxSlider_GetLineSize(_arg0);
10122
10123 wxPy_END_ALLOW_THREADS;
10124 if (PyErr_Occurred()) return NULL;
10125 } _resultobj = Py_BuildValue("i",_result);
10126 return _resultobj;
10127 }
10128
10129 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10130 static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10131 PyObject * _resultobj;
10132 int _result;
10133 wxSlider * _arg0;
10134 PyObject * _argo0 = 0;
10135 char *_kwnames[] = { "self", NULL };
10136
10137 self = self;
10138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
10139 return NULL;
10140 if (_argo0) {
10141 if (_argo0 == Py_None) { _arg0 = NULL; }
10142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10144 return NULL;
10145 }
10146 }
10147 {
10148 wxPy_BEGIN_ALLOW_THREADS;
10149 _result = (int )wxSlider_GetMax(_arg0);
10150
10151 wxPy_END_ALLOW_THREADS;
10152 if (PyErr_Occurred()) return NULL;
10153 } _resultobj = Py_BuildValue("i",_result);
10154 return _resultobj;
10155 }
10156
10157 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10158 static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10159 PyObject * _resultobj;
10160 int _result;
10161 wxSlider * _arg0;
10162 PyObject * _argo0 = 0;
10163 char *_kwnames[] = { "self", NULL };
10164
10165 self = self;
10166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
10167 return NULL;
10168 if (_argo0) {
10169 if (_argo0 == Py_None) { _arg0 = NULL; }
10170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10172 return NULL;
10173 }
10174 }
10175 {
10176 wxPy_BEGIN_ALLOW_THREADS;
10177 _result = (int )wxSlider_GetMin(_arg0);
10178
10179 wxPy_END_ALLOW_THREADS;
10180 if (PyErr_Occurred()) return NULL;
10181 } _resultobj = Py_BuildValue("i",_result);
10182 return _resultobj;
10183 }
10184
10185 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10186 static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10187 PyObject * _resultobj;
10188 int _result;
10189 wxSlider * _arg0;
10190 PyObject * _argo0 = 0;
10191 char *_kwnames[] = { "self", NULL };
10192
10193 self = self;
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
10195 return NULL;
10196 if (_argo0) {
10197 if (_argo0 == Py_None) { _arg0 = NULL; }
10198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10200 return NULL;
10201 }
10202 }
10203 {
10204 wxPy_BEGIN_ALLOW_THREADS;
10205 _result = (int )wxSlider_GetPageSize(_arg0);
10206
10207 wxPy_END_ALLOW_THREADS;
10208 if (PyErr_Occurred()) return NULL;
10209 } _resultobj = Py_BuildValue("i",_result);
10210 return _resultobj;
10211 }
10212
10213 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10214 static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10215 PyObject * _resultobj;
10216 int _result;
10217 wxSlider * _arg0;
10218 PyObject * _argo0 = 0;
10219 char *_kwnames[] = { "self", NULL };
10220
10221 self = self;
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
10223 return NULL;
10224 if (_argo0) {
10225 if (_argo0 == Py_None) { _arg0 = NULL; }
10226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10228 return NULL;
10229 }
10230 }
10231 {
10232 wxPy_BEGIN_ALLOW_THREADS;
10233 _result = (int )wxSlider_GetSelEnd(_arg0);
10234
10235 wxPy_END_ALLOW_THREADS;
10236 if (PyErr_Occurred()) return NULL;
10237 } _resultobj = Py_BuildValue("i",_result);
10238 return _resultobj;
10239 }
10240
10241 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10242 static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10243 PyObject * _resultobj;
10244 int _result;
10245 wxSlider * _arg0;
10246 PyObject * _argo0 = 0;
10247 char *_kwnames[] = { "self", NULL };
10248
10249 self = self;
10250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
10251 return NULL;
10252 if (_argo0) {
10253 if (_argo0 == Py_None) { _arg0 = NULL; }
10254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10256 return NULL;
10257 }
10258 }
10259 {
10260 wxPy_BEGIN_ALLOW_THREADS;
10261 _result = (int )wxSlider_GetSelStart(_arg0);
10262
10263 wxPy_END_ALLOW_THREADS;
10264 if (PyErr_Occurred()) return NULL;
10265 } _resultobj = Py_BuildValue("i",_result);
10266 return _resultobj;
10267 }
10268
10269 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10270 static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject * _resultobj;
10272 int _result;
10273 wxSlider * _arg0;
10274 PyObject * _argo0 = 0;
10275 char *_kwnames[] = { "self", NULL };
10276
10277 self = self;
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
10279 return NULL;
10280 if (_argo0) {
10281 if (_argo0 == Py_None) { _arg0 = NULL; }
10282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10284 return NULL;
10285 }
10286 }
10287 {
10288 wxPy_BEGIN_ALLOW_THREADS;
10289 _result = (int )wxSlider_GetThumbLength(_arg0);
10290
10291 wxPy_END_ALLOW_THREADS;
10292 if (PyErr_Occurred()) return NULL;
10293 } _resultobj = Py_BuildValue("i",_result);
10294 return _resultobj;
10295 }
10296
10297 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10298 static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10299 PyObject * _resultobj;
10300 int _result;
10301 wxSlider * _arg0;
10302 PyObject * _argo0 = 0;
10303 char *_kwnames[] = { "self", NULL };
10304
10305 self = self;
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
10307 return NULL;
10308 if (_argo0) {
10309 if (_argo0 == Py_None) { _arg0 = NULL; }
10310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10312 return NULL;
10313 }
10314 }
10315 {
10316 wxPy_BEGIN_ALLOW_THREADS;
10317 _result = (int )wxSlider_GetTickFreq(_arg0);
10318
10319 wxPy_END_ALLOW_THREADS;
10320 if (PyErr_Occurred()) return NULL;
10321 } _resultobj = Py_BuildValue("i",_result);
10322 return _resultobj;
10323 }
10324
10325 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10326 static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10327 PyObject * _resultobj;
10328 int _result;
10329 wxSlider * _arg0;
10330 PyObject * _argo0 = 0;
10331 char *_kwnames[] = { "self", NULL };
10332
10333 self = self;
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
10335 return NULL;
10336 if (_argo0) {
10337 if (_argo0 == Py_None) { _arg0 = NULL; }
10338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10340 return NULL;
10341 }
10342 }
10343 {
10344 wxPy_BEGIN_ALLOW_THREADS;
10345 _result = (int )wxSlider_GetValue(_arg0);
10346
10347 wxPy_END_ALLOW_THREADS;
10348 if (PyErr_Occurred()) return NULL;
10349 } _resultobj = Py_BuildValue("i",_result);
10350 return _resultobj;
10351 }
10352
10353 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10354 static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10355 PyObject * _resultobj;
10356 wxSlider * _arg0;
10357 int _arg1;
10358 int _arg2;
10359 PyObject * _argo0 = 0;
10360 char *_kwnames[] = { "self","minValue","maxValue", NULL };
10361
10362 self = self;
10363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
10364 return NULL;
10365 if (_argo0) {
10366 if (_argo0 == Py_None) { _arg0 = NULL; }
10367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10369 return NULL;
10370 }
10371 }
10372 {
10373 wxPy_BEGIN_ALLOW_THREADS;
10374 wxSlider_SetRange(_arg0,_arg1,_arg2);
10375
10376 wxPy_END_ALLOW_THREADS;
10377 if (PyErr_Occurred()) return NULL;
10378 } Py_INCREF(Py_None);
10379 _resultobj = Py_None;
10380 return _resultobj;
10381 }
10382
10383 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10384 static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10385 PyObject * _resultobj;
10386 wxSlider * _arg0;
10387 int _arg1;
10388 int _arg2;
10389 PyObject * _argo0 = 0;
10390 char *_kwnames[] = { "self","n","pos", NULL };
10391
10392 self = self;
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
10394 return NULL;
10395 if (_argo0) {
10396 if (_argo0 == Py_None) { _arg0 = NULL; }
10397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10399 return NULL;
10400 }
10401 }
10402 {
10403 wxPy_BEGIN_ALLOW_THREADS;
10404 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
10405
10406 wxPy_END_ALLOW_THREADS;
10407 if (PyErr_Occurred()) return NULL;
10408 } Py_INCREF(Py_None);
10409 _resultobj = Py_None;
10410 return _resultobj;
10411 }
10412
10413 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10414 static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10415 PyObject * _resultobj;
10416 wxSlider * _arg0;
10417 int _arg1;
10418 PyObject * _argo0 = 0;
10419 char *_kwnames[] = { "self","lineSize", NULL };
10420
10421 self = self;
10422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
10423 return NULL;
10424 if (_argo0) {
10425 if (_argo0 == Py_None) { _arg0 = NULL; }
10426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10428 return NULL;
10429 }
10430 }
10431 {
10432 wxPy_BEGIN_ALLOW_THREADS;
10433 wxSlider_SetLineSize(_arg0,_arg1);
10434
10435 wxPy_END_ALLOW_THREADS;
10436 if (PyErr_Occurred()) return NULL;
10437 } Py_INCREF(Py_None);
10438 _resultobj = Py_None;
10439 return _resultobj;
10440 }
10441
10442 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10443 static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10444 PyObject * _resultobj;
10445 wxSlider * _arg0;
10446 int _arg1;
10447 PyObject * _argo0 = 0;
10448 char *_kwnames[] = { "self","pageSize", NULL };
10449
10450 self = self;
10451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
10452 return NULL;
10453 if (_argo0) {
10454 if (_argo0 == Py_None) { _arg0 = NULL; }
10455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10457 return NULL;
10458 }
10459 }
10460 {
10461 wxPy_BEGIN_ALLOW_THREADS;
10462 wxSlider_SetPageSize(_arg0,_arg1);
10463
10464 wxPy_END_ALLOW_THREADS;
10465 if (PyErr_Occurred()) return NULL;
10466 } Py_INCREF(Py_None);
10467 _resultobj = Py_None;
10468 return _resultobj;
10469 }
10470
10471 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10472 static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10473 PyObject * _resultobj;
10474 wxSlider * _arg0;
10475 int _arg1;
10476 int _arg2;
10477 PyObject * _argo0 = 0;
10478 char *_kwnames[] = { "self","startPos","endPos", NULL };
10479
10480 self = self;
10481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
10482 return NULL;
10483 if (_argo0) {
10484 if (_argo0 == Py_None) { _arg0 = NULL; }
10485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10487 return NULL;
10488 }
10489 }
10490 {
10491 wxPy_BEGIN_ALLOW_THREADS;
10492 wxSlider_SetSelection(_arg0,_arg1,_arg2);
10493
10494 wxPy_END_ALLOW_THREADS;
10495 if (PyErr_Occurred()) return NULL;
10496 } Py_INCREF(Py_None);
10497 _resultobj = Py_None;
10498 return _resultobj;
10499 }
10500
10501 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10502 static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10503 PyObject * _resultobj;
10504 wxSlider * _arg0;
10505 int _arg1;
10506 PyObject * _argo0 = 0;
10507 char *_kwnames[] = { "self","len", NULL };
10508
10509 self = self;
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
10511 return NULL;
10512 if (_argo0) {
10513 if (_argo0 == Py_None) { _arg0 = NULL; }
10514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10516 return NULL;
10517 }
10518 }
10519 {
10520 wxPy_BEGIN_ALLOW_THREADS;
10521 wxSlider_SetThumbLength(_arg0,_arg1);
10522
10523 wxPy_END_ALLOW_THREADS;
10524 if (PyErr_Occurred()) return NULL;
10525 } Py_INCREF(Py_None);
10526 _resultobj = Py_None;
10527 return _resultobj;
10528 }
10529
10530 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10531 static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10532 PyObject * _resultobj;
10533 wxSlider * _arg0;
10534 int _arg1;
10535 PyObject * _argo0 = 0;
10536 char *_kwnames[] = { "self","tickPos", NULL };
10537
10538 self = self;
10539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
10540 return NULL;
10541 if (_argo0) {
10542 if (_argo0 == Py_None) { _arg0 = NULL; }
10543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10545 return NULL;
10546 }
10547 }
10548 {
10549 wxPy_BEGIN_ALLOW_THREADS;
10550 wxSlider_SetTick(_arg0,_arg1);
10551
10552 wxPy_END_ALLOW_THREADS;
10553 if (PyErr_Occurred()) return NULL;
10554 } Py_INCREF(Py_None);
10555 _resultobj = Py_None;
10556 return _resultobj;
10557 }
10558
10559 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10560 static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10561 PyObject * _resultobj;
10562 wxSlider * _arg0;
10563 int _arg1;
10564 PyObject * _argo0 = 0;
10565 char *_kwnames[] = { "self","value", NULL };
10566
10567 self = self;
10568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
10569 return NULL;
10570 if (_argo0) {
10571 if (_argo0 == Py_None) { _arg0 = NULL; }
10572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10574 return NULL;
10575 }
10576 }
10577 {
10578 wxPy_BEGIN_ALLOW_THREADS;
10579 wxSlider_SetValue(_arg0,_arg1);
10580
10581 wxPy_END_ALLOW_THREADS;
10582 if (PyErr_Occurred()) return NULL;
10583 } Py_INCREF(Py_None);
10584 _resultobj = Py_None;
10585 return _resultobj;
10586 }
10587
10588 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
10589 wxSpinCtrl *src;
10590 wxSpinButton *dest;
10591 src = (wxSpinCtrl *) ptr;
10592 dest = (wxSpinButton *) src;
10593 return (void *) dest;
10594 }
10595
10596 static void *SwigwxSpinCtrlTowxControl(void *ptr) {
10597 wxSpinCtrl *src;
10598 wxControl *dest;
10599 src = (wxSpinCtrl *) ptr;
10600 dest = (wxControl *) src;
10601 return (void *) dest;
10602 }
10603
10604 static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
10605 wxSpinCtrl *src;
10606 wxWindow *dest;
10607 src = (wxSpinCtrl *) ptr;
10608 dest = (wxWindow *) src;
10609 return (void *) dest;
10610 }
10611
10612 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
10613 wxSpinCtrl *src;
10614 wxEvtHandler *dest;
10615 src = (wxSpinCtrl *) ptr;
10616 dest = (wxEvtHandler *) src;
10617 return (void *) dest;
10618 }
10619
10620 static void *SwigwxSpinCtrlTowxObject(void *ptr) {
10621 wxSpinCtrl *src;
10622 wxObject *dest;
10623 src = (wxSpinCtrl *) ptr;
10624 dest = (wxObject *) src;
10625 return (void *) dest;
10626 }
10627
10628 #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))
10629 static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10630 PyObject * _resultobj;
10631 wxSpinCtrl * _result;
10632 wxWindow * _arg0;
10633 wxWindowID _arg1 = (wxWindowID ) -1;
10634 char * _arg2 = (char *) "";
10635 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10636 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10637 long _arg5 = (long ) wxSP_ARROW_KEYS;
10638 int _arg6 = (int ) 0;
10639 int _arg7 = (int ) 100;
10640 int _arg8 = (int ) 0;
10641 char * _arg9 = (char *) "wxSpinCtrl";
10642 PyObject * _argo0 = 0;
10643 wxPoint temp;
10644 PyObject * _obj3 = 0;
10645 wxSize temp0;
10646 PyObject * _obj4 = 0;
10647 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
10648 char _ptemp[128];
10649
10650 self = self;
10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|isOOliiis:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9))
10652 return NULL;
10653 if (_argo0) {
10654 if (_argo0 == Py_None) { _arg0 = NULL; }
10655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10657 return NULL;
10658 }
10659 }
10660 if (_obj3)
10661 {
10662 _arg3 = &temp;
10663 if (! wxPoint_helper(_obj3, &_arg3))
10664 return NULL;
10665 }
10666 if (_obj4)
10667 {
10668 _arg4 = &temp0;
10669 if (! wxSize_helper(_obj4, &_arg4))
10670 return NULL;
10671 }
10672 {
10673 wxPy_BEGIN_ALLOW_THREADS;
10674 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
10675
10676 wxPy_END_ALLOW_THREADS;
10677 if (PyErr_Occurred()) return NULL;
10678 } if (_result) {
10679 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10680 _resultobj = Py_BuildValue("s",_ptemp);
10681 } else {
10682 Py_INCREF(Py_None);
10683 _resultobj = Py_None;
10684 }
10685 return _resultobj;
10686 }
10687
10688 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10689 static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10690 PyObject * _resultobj;
10691 wxSpinCtrl * _result;
10692 char *_kwnames[] = { NULL };
10693 char _ptemp[128];
10694
10695 self = self;
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
10697 return NULL;
10698 {
10699 wxPy_BEGIN_ALLOW_THREADS;
10700 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
10701
10702 wxPy_END_ALLOW_THREADS;
10703 if (PyErr_Occurred()) return NULL;
10704 } if (_result) {
10705 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10706 _resultobj = Py_BuildValue("s",_ptemp);
10707 } else {
10708 Py_INCREF(Py_None);
10709 _resultobj = Py_None;
10710 }
10711 return _resultobj;
10712 }
10713
10714 #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))
10715 static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10716 PyObject * _resultobj;
10717 bool _result;
10718 wxSpinCtrl * _arg0;
10719 wxWindow * _arg1;
10720 wxWindowID _arg2 = (wxWindowID ) -1;
10721 char * _arg3 = (char *) "";
10722 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10723 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10724 long _arg6 = (long ) wxSP_ARROW_KEYS;
10725 int _arg7 = (int ) 0;
10726 int _arg8 = (int ) 100;
10727 int _arg9 = (int ) 0;
10728 char * _arg10 = (char *) "wxSpinCtrl";
10729 PyObject * _argo0 = 0;
10730 PyObject * _argo1 = 0;
10731 wxPoint temp;
10732 PyObject * _obj4 = 0;
10733 wxSize temp0;
10734 PyObject * _obj5 = 0;
10735 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
10736
10737 self = self;
10738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_arg10))
10739 return NULL;
10740 if (_argo0) {
10741 if (_argo0 == Py_None) { _arg0 = NULL; }
10742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10744 return NULL;
10745 }
10746 }
10747 if (_argo1) {
10748 if (_argo1 == Py_None) { _arg1 = NULL; }
10749 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10750 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10751 return NULL;
10752 }
10753 }
10754 if (_obj4)
10755 {
10756 _arg4 = &temp;
10757 if (! wxPoint_helper(_obj4, &_arg4))
10758 return NULL;
10759 }
10760 if (_obj5)
10761 {
10762 _arg5 = &temp0;
10763 if (! wxSize_helper(_obj5, &_arg5))
10764 return NULL;
10765 }
10766 {
10767 wxPy_BEGIN_ALLOW_THREADS;
10768 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,_arg10);
10769
10770 wxPy_END_ALLOW_THREADS;
10771 if (PyErr_Occurred()) return NULL;
10772 } _resultobj = Py_BuildValue("i",_result);
10773 return _resultobj;
10774 }
10775
10776 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10777 static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10778 PyObject * _resultobj;
10779 int _result;
10780 wxSpinCtrl * _arg0;
10781 PyObject * _argo0 = 0;
10782 char *_kwnames[] = { "self", NULL };
10783
10784 self = self;
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
10786 return NULL;
10787 if (_argo0) {
10788 if (_argo0 == Py_None) { _arg0 = NULL; }
10789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10791 return NULL;
10792 }
10793 }
10794 {
10795 wxPy_BEGIN_ALLOW_THREADS;
10796 _result = (int )wxSpinCtrl_GetMax(_arg0);
10797
10798 wxPy_END_ALLOW_THREADS;
10799 if (PyErr_Occurred()) return NULL;
10800 } _resultobj = Py_BuildValue("i",_result);
10801 return _resultobj;
10802 }
10803
10804 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10805 static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10806 PyObject * _resultobj;
10807 int _result;
10808 wxSpinCtrl * _arg0;
10809 PyObject * _argo0 = 0;
10810 char *_kwnames[] = { "self", NULL };
10811
10812 self = self;
10813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
10814 return NULL;
10815 if (_argo0) {
10816 if (_argo0 == Py_None) { _arg0 = NULL; }
10817 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10818 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10819 return NULL;
10820 }
10821 }
10822 {
10823 wxPy_BEGIN_ALLOW_THREADS;
10824 _result = (int )wxSpinCtrl_GetMin(_arg0);
10825
10826 wxPy_END_ALLOW_THREADS;
10827 if (PyErr_Occurred()) return NULL;
10828 } _resultobj = Py_BuildValue("i",_result);
10829 return _resultobj;
10830 }
10831
10832 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10833 static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10834 PyObject * _resultobj;
10835 int _result;
10836 wxSpinCtrl * _arg0;
10837 PyObject * _argo0 = 0;
10838 char *_kwnames[] = { "self", NULL };
10839
10840 self = self;
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
10842 return NULL;
10843 if (_argo0) {
10844 if (_argo0 == Py_None) { _arg0 = NULL; }
10845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10847 return NULL;
10848 }
10849 }
10850 {
10851 wxPy_BEGIN_ALLOW_THREADS;
10852 _result = (int )wxSpinCtrl_GetValue(_arg0);
10853
10854 wxPy_END_ALLOW_THREADS;
10855 if (PyErr_Occurred()) return NULL;
10856 } _resultobj = Py_BuildValue("i",_result);
10857 return _resultobj;
10858 }
10859
10860 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10861 static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10862 PyObject * _resultobj;
10863 wxSpinCtrl * _arg0;
10864 int _arg1;
10865 int _arg2;
10866 PyObject * _argo0 = 0;
10867 char *_kwnames[] = { "self","min","max", NULL };
10868
10869 self = self;
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
10871 return NULL;
10872 if (_argo0) {
10873 if (_argo0 == Py_None) { _arg0 = NULL; }
10874 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10875 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10876 return NULL;
10877 }
10878 }
10879 {
10880 wxPy_BEGIN_ALLOW_THREADS;
10881 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
10882
10883 wxPy_END_ALLOW_THREADS;
10884 if (PyErr_Occurred()) return NULL;
10885 } Py_INCREF(Py_None);
10886 _resultobj = Py_None;
10887 return _resultobj;
10888 }
10889
10890 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10891 static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10892 PyObject * _resultobj;
10893 wxSpinCtrl * _arg0;
10894 int _arg1;
10895 PyObject * _argo0 = 0;
10896 char *_kwnames[] = { "self","value", NULL };
10897
10898 self = self;
10899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
10900 return NULL;
10901 if (_argo0) {
10902 if (_argo0 == Py_None) { _arg0 = NULL; }
10903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
10904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10905 return NULL;
10906 }
10907 }
10908 {
10909 wxPy_BEGIN_ALLOW_THREADS;
10910 wxSpinCtrl_SetValue(_arg0,_arg1);
10911
10912 wxPy_END_ALLOW_THREADS;
10913 if (PyErr_Occurred()) return NULL;
10914 } Py_INCREF(Py_None);
10915 _resultobj = Py_None;
10916 return _resultobj;
10917 }
10918
10919 static void *SwigwxToggleButtonTowxControl(void *ptr) {
10920 wxToggleButton *src;
10921 wxControl *dest;
10922 src = (wxToggleButton *) ptr;
10923 dest = (wxControl *) src;
10924 return (void *) dest;
10925 }
10926
10927 static void *SwigwxToggleButtonTowxWindow(void *ptr) {
10928 wxToggleButton *src;
10929 wxWindow *dest;
10930 src = (wxToggleButton *) ptr;
10931 dest = (wxWindow *) src;
10932 return (void *) dest;
10933 }
10934
10935 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
10936 wxToggleButton *src;
10937 wxEvtHandler *dest;
10938 src = (wxToggleButton *) ptr;
10939 dest = (wxEvtHandler *) src;
10940 return (void *) dest;
10941 }
10942
10943 static void *SwigwxToggleButtonTowxObject(void *ptr) {
10944 wxToggleButton *src;
10945 wxObject *dest;
10946 src = (wxToggleButton *) ptr;
10947 dest = (wxObject *) src;
10948 return (void *) dest;
10949 }
10950
10951 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10952 static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10953 PyObject * _resultobj;
10954 wxToggleButton * _result;
10955 wxWindow * _arg0;
10956 wxWindowID _arg1;
10957 wxString * _arg2;
10958 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10959 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10960 long _arg5 = (long ) 0;
10961 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
10962 char * _arg7 = (char *) "toggle";
10963 PyObject * _argo0 = 0;
10964 PyObject * _obj2 = 0;
10965 wxPoint temp;
10966 PyObject * _obj3 = 0;
10967 wxSize temp0;
10968 PyObject * _obj4 = 0;
10969 PyObject * _argo6 = 0;
10970 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
10971 char _ptemp[128];
10972
10973 self = self;
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
10975 return NULL;
10976 if (_argo0) {
10977 if (_argo0 == Py_None) { _arg0 = NULL; }
10978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10980 return NULL;
10981 }
10982 }
10983 {
10984 #if PYTHON_API_VERSION >= 1009
10985 char* tmpPtr; int tmpSize;
10986 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
10987 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10988 return NULL;
10989 }
10990 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
10991 return NULL;
10992 _arg2 = new wxString(tmpPtr, tmpSize);
10993 #else
10994 if (!PyString_Check(_obj2)) {
10995 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10996 return NULL;
10997 }
10998 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
10999 #endif
11000 }
11001 if (_obj3)
11002 {
11003 _arg3 = &temp;
11004 if (! wxPoint_helper(_obj3, &_arg3))
11005 return NULL;
11006 }
11007 if (_obj4)
11008 {
11009 _arg4 = &temp0;
11010 if (! wxSize_helper(_obj4, &_arg4))
11011 return NULL;
11012 }
11013 if (_argo6) {
11014 if (_argo6 == Py_None) { _arg6 = NULL; }
11015 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
11016 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11017 return NULL;
11018 }
11019 }
11020 {
11021 wxPy_BEGIN_ALLOW_THREADS;
11022 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
11023
11024 wxPy_END_ALLOW_THREADS;
11025 if (PyErr_Occurred()) return NULL;
11026 } if (_result) {
11027 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
11028 _resultobj = Py_BuildValue("s",_ptemp);
11029 } else {
11030 Py_INCREF(Py_None);
11031 _resultobj = Py_None;
11032 }
11033 {
11034 if (_obj2)
11035 delete _arg2;
11036 }
11037 return _resultobj;
11038 }
11039
11040 #define new_wxPreToggleButton() (new wxToggleButton())
11041 static PyObject *_wrap_new_wxPreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11042 PyObject * _resultobj;
11043 wxToggleButton * _result;
11044 char *_kwnames[] = { NULL };
11045 char _ptemp[128];
11046
11047 self = self;
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToggleButton",_kwnames))
11049 return NULL;
11050 {
11051 wxPy_BEGIN_ALLOW_THREADS;
11052 _result = (wxToggleButton *)new_wxPreToggleButton();
11053
11054 wxPy_END_ALLOW_THREADS;
11055 if (PyErr_Occurred()) return NULL;
11056 } if (_result) {
11057 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
11058 _resultobj = Py_BuildValue("s",_ptemp);
11059 } else {
11060 Py_INCREF(Py_None);
11061 _resultobj = Py_None;
11062 }
11063 return _resultobj;
11064 }
11065
11066 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11067 static PyObject *_wrap_wxToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11068 PyObject * _resultobj;
11069 bool _result;
11070 wxToggleButton * _arg0;
11071 wxWindow * _arg1;
11072 wxWindowID _arg2;
11073 wxString * _arg3;
11074 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
11075 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
11076 long _arg6 = (long ) 0;
11077 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
11078 char * _arg8 = (char *) "toggle";
11079 PyObject * _argo0 = 0;
11080 PyObject * _argo1 = 0;
11081 PyObject * _obj3 = 0;
11082 wxPoint temp;
11083 PyObject * _obj4 = 0;
11084 wxSize temp0;
11085 PyObject * _obj5 = 0;
11086 PyObject * _argo7 = 0;
11087 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
11088
11089 self = self;
11090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOs:wxToggleButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_arg8))
11091 return NULL;
11092 if (_argo0) {
11093 if (_argo0 == Py_None) { _arg0 = NULL; }
11094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11096 return NULL;
11097 }
11098 }
11099 if (_argo1) {
11100 if (_argo1 == Py_None) { _arg1 = NULL; }
11101 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11102 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11103 return NULL;
11104 }
11105 }
11106 {
11107 #if PYTHON_API_VERSION >= 1009
11108 char* tmpPtr; int tmpSize;
11109 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
11110 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11111 return NULL;
11112 }
11113 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
11114 return NULL;
11115 _arg3 = new wxString(tmpPtr, tmpSize);
11116 #else
11117 if (!PyString_Check(_obj3)) {
11118 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11119 return NULL;
11120 }
11121 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
11122 #endif
11123 }
11124 if (_obj4)
11125 {
11126 _arg4 = &temp;
11127 if (! wxPoint_helper(_obj4, &_arg4))
11128 return NULL;
11129 }
11130 if (_obj5)
11131 {
11132 _arg5 = &temp0;
11133 if (! wxSize_helper(_obj5, &_arg5))
11134 return NULL;
11135 }
11136 if (_argo7) {
11137 if (_argo7 == Py_None) { _arg7 = NULL; }
11138 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
11139 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11140 return NULL;
11141 }
11142 }
11143 {
11144 wxPy_BEGIN_ALLOW_THREADS;
11145 _result = (bool )wxToggleButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,_arg8);
11146
11147 wxPy_END_ALLOW_THREADS;
11148 if (PyErr_Occurred()) return NULL;
11149 } _resultobj = Py_BuildValue("i",_result);
11150 {
11151 if (_obj3)
11152 delete _arg3;
11153 }
11154 return _resultobj;
11155 }
11156
11157 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11158 static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject * _resultobj;
11160 wxToggleButton * _arg0;
11161 bool _arg1;
11162 PyObject * _argo0 = 0;
11163 int tempbool1;
11164 char *_kwnames[] = { "self","value", NULL };
11165
11166 self = self;
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
11168 return NULL;
11169 if (_argo0) {
11170 if (_argo0 == Py_None) { _arg0 = NULL; }
11171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11173 return NULL;
11174 }
11175 }
11176 _arg1 = (bool ) tempbool1;
11177 {
11178 wxPy_BEGIN_ALLOW_THREADS;
11179 wxToggleButton_SetValue(_arg0,_arg1);
11180
11181 wxPy_END_ALLOW_THREADS;
11182 if (PyErr_Occurred()) return NULL;
11183 } Py_INCREF(Py_None);
11184 _resultobj = Py_None;
11185 return _resultobj;
11186 }
11187
11188 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11189 static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject * _resultobj;
11191 bool _result;
11192 wxToggleButton * _arg0;
11193 PyObject * _argo0 = 0;
11194 char *_kwnames[] = { "self", NULL };
11195
11196 self = self;
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
11198 return NULL;
11199 if (_argo0) {
11200 if (_argo0 == Py_None) { _arg0 = NULL; }
11201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11203 return NULL;
11204 }
11205 }
11206 {
11207 wxPy_BEGIN_ALLOW_THREADS;
11208 _result = (bool )wxToggleButton_GetValue(_arg0);
11209
11210 wxPy_END_ALLOW_THREADS;
11211 if (PyErr_Occurred()) return NULL;
11212 } _resultobj = Py_BuildValue("i",_result);
11213 return _resultobj;
11214 }
11215
11216 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11217 static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11218 PyObject * _resultobj;
11219 wxToggleButton * _arg0;
11220 wxString * _arg1;
11221 PyObject * _argo0 = 0;
11222 PyObject * _obj1 = 0;
11223 char *_kwnames[] = { "self","label", NULL };
11224
11225 self = self;
11226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
11227 return NULL;
11228 if (_argo0) {
11229 if (_argo0 == Py_None) { _arg0 = NULL; }
11230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11232 return NULL;
11233 }
11234 }
11235 {
11236 #if PYTHON_API_VERSION >= 1009
11237 char* tmpPtr; int tmpSize;
11238 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
11239 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11240 return NULL;
11241 }
11242 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11243 return NULL;
11244 _arg1 = new wxString(tmpPtr, tmpSize);
11245 #else
11246 if (!PyString_Check(_obj1)) {
11247 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11248 return NULL;
11249 }
11250 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11251 #endif
11252 }
11253 {
11254 wxPy_BEGIN_ALLOW_THREADS;
11255 wxToggleButton_SetLabel(_arg0,*_arg1);
11256
11257 wxPy_END_ALLOW_THREADS;
11258 if (PyErr_Occurred()) return NULL;
11259 } Py_INCREF(Py_None);
11260 _resultobj = Py_None;
11261 {
11262 if (_obj1)
11263 delete _arg1;
11264 }
11265 return _resultobj;
11266 }
11267
11268 static PyMethodDef controlscMethods[] = {
11269 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
11270 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11271 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11272 { "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
11273 { "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
11274 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
11275 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11276 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
11277 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
11278 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
11279 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
11280 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11281 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
11282 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
11283 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
11284 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
11285 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
11286 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
11287 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
11288 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
11289 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
11290 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
11291 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
11292 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
11293 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
11294 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
11295 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
11296 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11297 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
11298 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
11299 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
11300 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
11301 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
11302 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
11303 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
11304 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
11305 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11306 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11307 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
11308 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
11309 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
11310 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
11311 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
11312 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11313 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11314 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
11315 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11316 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
11317 { "wxRadioBox_SetItemLabel", (PyCFunction) _wrap_wxRadioBox_SetItemLabel, METH_VARARGS | METH_KEYWORDS },
11318 { "wxRadioBox_GetItemLabel", (PyCFunction) _wrap_wxRadioBox_GetItemLabel, METH_VARARGS | METH_KEYWORDS },
11319 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
11320 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
11321 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
11322 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
11323 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
11324 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
11325 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
11326 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
11327 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
11328 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
11329 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
11330 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
11331 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
11332 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11333 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
11334 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11335 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
11336 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
11337 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
11338 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
11339 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
11340 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
11341 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
11342 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
11343 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
11344 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
11345 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11346 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
11347 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
11348 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
11349 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
11350 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
11351 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
11352 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11353 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11354 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
11355 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11356 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
11357 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
11358 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11359 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
11360 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11361 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11362 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
11363 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
11364 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
11365 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11366 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
11367 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
11368 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11369 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11370 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11371 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11372 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
11373 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
11374 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
11375 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
11376 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
11377 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11378 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
11379 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
11380 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
11381 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
11382 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
11383 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
11384 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11385 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11386 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
11387 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11388 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11389 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
11390 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11391 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
11392 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
11393 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11394 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11395 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11396 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11397 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11398 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11399 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11400 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11401 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11402 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
11403 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
11404 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
11405 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
11406 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
11407 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
11408 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
11409 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
11410 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
11411 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11412 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
11413 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11414 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
11415 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
11416 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
11417 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
11418 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
11419 { "wxListBox_GetCount", (PyCFunction) _wrap_wxListBox_GetCount, METH_VARARGS | METH_KEYWORDS },
11420 { "wxListBox_GetStringSelection", (PyCFunction) _wrap_wxListBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11421 { "wxListBox_GetString", (PyCFunction) _wrap_wxListBox_GetString, METH_VARARGS | METH_KEYWORDS },
11422 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
11423 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
11424 { "wxListBox_GetSelection", (PyCFunction) _wrap_wxListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
11425 { "wxListBox_FindString", (PyCFunction) _wrap_wxListBox_FindString, METH_VARARGS | METH_KEYWORDS },
11426 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
11427 { "wxListBox_Delete", (PyCFunction) _wrap_wxListBox_Delete, METH_VARARGS | METH_KEYWORDS },
11428 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
11429 { "wxListBox_Append", (PyCFunction) _wrap_wxListBox_Append, METH_VARARGS | METH_KEYWORDS },
11430 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
11431 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
11432 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
11433 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
11434 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
11435 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
11436 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
11437 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
11438 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
11439 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
11440 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
11441 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
11442 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
11443 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
11444 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
11445 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11446 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
11447 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
11448 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
11449 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11450 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
11451 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
11452 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
11453 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
11454 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
11455 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
11456 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11457 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
11458 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11459 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11460 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11461 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
11462 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
11463 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
11464 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
11465 { "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11466 { "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS },
11467 { "wxComboBox_GetSelection", (PyCFunction) _wrap_wxComboBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
11468 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11469 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11470 { "wxComboBox_FindString", (PyCFunction) _wrap_wxComboBox_FindString, METH_VARARGS | METH_KEYWORDS },
11471 { "wxComboBox_Delete", (PyCFunction) _wrap_wxComboBox_Delete, METH_VARARGS | METH_KEYWORDS },
11472 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
11473 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
11474 { "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS },
11475 { "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS },
11476 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
11477 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
11478 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
11479 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
11480 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11481 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
11482 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
11483 { "wxChoice_GetCount", (PyCFunction) _wrap_wxChoice_GetCount, METH_VARARGS | METH_KEYWORDS },
11484 { "wxChoice_GetStringSelection", (PyCFunction) _wrap_wxChoice_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11485 { "wxChoice_GetString", (PyCFunction) _wrap_wxChoice_GetString, METH_VARARGS | METH_KEYWORDS },
11486 { "wxChoice_GetSelection", (PyCFunction) _wrap_wxChoice_GetSelection, METH_VARARGS | METH_KEYWORDS },
11487 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
11488 { "wxChoice_FindString", (PyCFunction) _wrap_wxChoice_FindString, METH_VARARGS | METH_KEYWORDS },
11489 { "wxChoice_Delete", (PyCFunction) _wrap_wxChoice_Delete, METH_VARARGS | METH_KEYWORDS },
11490 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
11491 { "wxChoice_Append", (PyCFunction) _wrap_wxChoice_Append, METH_VARARGS | METH_KEYWORDS },
11492 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
11493 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
11494 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
11495 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11496 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
11497 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
11498 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
11499 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
11500 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
11501 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
11502 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
11503 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
11504 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11505 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11506 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11507 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11508 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11509 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11510 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
11511 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
11512 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
11513 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
11514 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
11515 { "wxButton_SetImageMargins", (PyCFunction) _wrap_wxButton_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
11516 { "wxButton_SetImageLabel", (PyCFunction) _wrap_wxButton_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
11517 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11518 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11519 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
11520 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
11521 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
11522 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
11523 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
11524 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
11525 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
11526 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
11527 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
11528 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
11529 { NULL, NULL }
11530 };
11531 #ifdef __cplusplus
11532 }
11533 #endif
11534 /*
11535 * This table is used by the pointer type-checker
11536 */
11537 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
11538 { "_signed_long","_long",0},
11539 { "_wxPrintQuality","_wxCoord",0},
11540 { "_wxPrintQuality","_int",0},
11541 { "_wxPrintQuality","_signed_int",0},
11542 { "_wxPrintQuality","_unsigned_int",0},
11543 { "_wxPrintQuality","_wxWindowID",0},
11544 { "_wxPrintQuality","_uint",0},
11545 { "_wxPrintQuality","_EBool",0},
11546 { "_wxPrintQuality","_size_t",0},
11547 { "_wxPrintQuality","_time_t",0},
11548 { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
11549 { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
11550 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
11551 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
11552 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
11553 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
11554 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11555 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11556 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11557 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11558 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11559 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11560 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11561 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11562 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11563 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11564 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11565 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11566 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11567 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11568 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler},
11569 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
11570 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11571 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11572 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11573 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11574 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11575 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11576 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler},
11577 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
11578 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11579 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11580 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler},
11581 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
11582 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11583 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11584 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11585 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11586 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler},
11587 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
11588 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler},
11589 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
11590 { "_byte","_unsigned_char",0},
11591 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice},
11592 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
11593 { "_long","_unsigned_long",0},
11594 { "_long","_signed_long",0},
11595 { "_class_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject},
11596 { "_class_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
11597 { "_class_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11598 { "_class_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11599 { "_class_wxObject","_class_wxSlider",SwigwxSliderTowxObject},
11600 { "_class_wxObject","_wxSlider",SwigwxSliderTowxObject},
11601 { "_class_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject},
11602 { "_class_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
11603 { "_class_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject},
11604 { "_class_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
11605 { "_class_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11606 { "_class_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11607 { "_class_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject},
11608 { "_class_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
11609 { "_class_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject},
11610 { "_class_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
11611 { "_class_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject},
11612 { "_class_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
11613 { "_class_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11614 { "_class_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11615 { "_class_wxObject","_class_wxListBox",SwigwxListBoxTowxObject},
11616 { "_class_wxObject","_wxListBox",SwigwxListBoxTowxObject},
11617 { "_class_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject},
11618 { "_class_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
11619 { "_class_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject},
11620 { "_class_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
11621 { "_class_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject},
11622 { "_class_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
11623 { "_class_wxObject","_class_wxGauge",SwigwxGaugeTowxObject},
11624 { "_class_wxObject","_wxGauge",SwigwxGaugeTowxObject},
11625 { "_class_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject},
11626 { "_class_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
11627 { "_class_wxObject","_class_wxChoice",SwigwxChoiceTowxObject},
11628 { "_class_wxObject","_wxChoice",SwigwxChoiceTowxObject},
11629 { "_class_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject},
11630 { "_class_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
11631 { "_class_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11632 { "_class_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11633 { "_class_wxObject","_class_wxButton",SwigwxButtonTowxObject},
11634 { "_class_wxObject","_wxButton",SwigwxButtonTowxObject},
11635 { "_class_wxObject","_class_wxControl",SwigwxControlTowxObject},
11636 { "_class_wxObject","_wxControl",SwigwxControlTowxObject},
11637 { "_size_t","_wxCoord",0},
11638 { "_size_t","_wxPrintQuality",0},
11639 { "_size_t","_time_t",0},
11640 { "_size_t","_unsigned_int",0},
11641 { "_size_t","_int",0},
11642 { "_size_t","_wxWindowID",0},
11643 { "_size_t","_uint",0},
11644 { "_uint","_wxCoord",0},
11645 { "_uint","_wxPrintQuality",0},
11646 { "_uint","_time_t",0},
11647 { "_uint","_size_t",0},
11648 { "_uint","_unsigned_int",0},
11649 { "_uint","_int",0},
11650 { "_uint","_wxWindowID",0},
11651 { "_wxChar","_char",0},
11652 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton},
11653 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
11654 { "_char","_wxChar",0},
11655 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
11656 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
11657 { "_EBool","_wxCoord",0},
11658 { "_EBool","_wxPrintQuality",0},
11659 { "_EBool","_signed_int",0},
11660 { "_EBool","_int",0},
11661 { "_EBool","_wxWindowID",0},
11662 { "_unsigned_long","_long",0},
11663 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
11664 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
11665 { "_signed_int","_wxCoord",0},
11666 { "_signed_int","_wxPrintQuality",0},
11667 { "_signed_int","_EBool",0},
11668 { "_signed_int","_wxWindowID",0},
11669 { "_signed_int","_int",0},
11670 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
11671 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
11672 { "_WXTYPE","_short",0},
11673 { "_WXTYPE","_signed_short",0},
11674 { "_WXTYPE","_unsigned_short",0},
11675 { "_unsigned_short","_WXTYPE",0},
11676 { "_unsigned_short","_short",0},
11677 { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow},
11678 { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
11679 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
11680 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
11681 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
11682 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
11683 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow},
11684 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
11685 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow},
11686 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
11687 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11688 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11689 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow},
11690 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
11691 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow},
11692 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
11693 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11694 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11695 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11696 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11697 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow},
11698 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
11699 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow},
11700 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
11701 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow},
11702 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
11703 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow},
11704 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
11705 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow},
11706 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
11707 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow},
11708 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
11709 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow},
11710 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
11711 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow},
11712 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
11713 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11714 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11715 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow},
11716 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow},
11717 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow},
11718 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow},
11719 { "_wxObject","_class_wxToggleButton",SwigwxToggleButtonTowxObject},
11720 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
11721 { "_wxObject","_class_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11722 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11723 { "_wxObject","_class_wxSlider",SwigwxSliderTowxObject},
11724 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
11725 { "_wxObject","_class_wxRadioButton",SwigwxRadioButtonTowxObject},
11726 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
11727 { "_wxObject","_class_wxRadioBox",SwigwxRadioBoxTowxObject},
11728 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
11729 { "_wxObject","_class_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11730 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11731 { "_wxObject","_class_wxSpinButton",SwigwxSpinButtonTowxObject},
11732 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
11733 { "_wxObject","_class_wxScrollBar",SwigwxScrollBarTowxObject},
11734 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
11735 { "_wxObject","_class_wxTextCtrl",SwigwxTextCtrlTowxObject},
11736 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
11737 { "_wxObject","_class_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11738 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11739 { "_wxObject","_class_wxListBox",SwigwxListBoxTowxObject},
11740 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
11741 { "_wxObject","_class_wxStaticText",SwigwxStaticTextTowxObject},
11742 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
11743 { "_wxObject","_class_wxStaticLine",SwigwxStaticLineTowxObject},
11744 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
11745 { "_wxObject","_class_wxStaticBox",SwigwxStaticBoxTowxObject},
11746 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
11747 { "_wxObject","_class_wxGauge",SwigwxGaugeTowxObject},
11748 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
11749 { "_wxObject","_class_wxComboBox",SwigwxComboBoxTowxObject},
11750 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
11751 { "_wxObject","_class_wxChoice",SwigwxChoiceTowxObject},
11752 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
11753 { "_wxObject","_class_wxCheckBox",SwigwxCheckBoxTowxObject},
11754 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
11755 { "_wxObject","_class_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11756 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11757 { "_wxObject","_class_wxButton",SwigwxButtonTowxObject},
11758 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
11759 { "_wxObject","_class_wxControl",SwigwxControlTowxObject},
11760 { "_wxObject","_wxControl",SwigwxControlTowxObject},
11761 { "_signed_short","_WXTYPE",0},
11762 { "_signed_short","_short",0},
11763 { "_unsigned_char","_byte",0},
11764 { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl},
11765 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
11766 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
11767 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
11768 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
11769 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
11770 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl},
11771 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
11772 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl},
11773 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
11774 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11775 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11776 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl},
11777 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
11778 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl},
11779 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
11780 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl},
11781 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
11782 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11783 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11784 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl},
11785 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
11786 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl},
11787 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
11788 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl},
11789 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
11790 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl},
11791 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
11792 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl},
11793 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
11794 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl},
11795 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
11796 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl},
11797 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
11798 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl},
11799 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
11800 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11801 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11802 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl},
11803 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
11804 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
11805 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
11806 { "_unsigned_int","_wxCoord",0},
11807 { "_unsigned_int","_wxPrintQuality",0},
11808 { "_unsigned_int","_time_t",0},
11809 { "_unsigned_int","_size_t",0},
11810 { "_unsigned_int","_uint",0},
11811 { "_unsigned_int","_wxWindowID",0},
11812 { "_unsigned_int","_int",0},
11813 { "_short","_WXTYPE",0},
11814 { "_short","_unsigned_short",0},
11815 { "_short","_signed_short",0},
11816 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice},
11817 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
11818 { "_wxWindowID","_wxCoord",0},
11819 { "_wxWindowID","_wxPrintQuality",0},
11820 { "_wxWindowID","_time_t",0},
11821 { "_wxWindowID","_size_t",0},
11822 { "_wxWindowID","_EBool",0},
11823 { "_wxWindowID","_uint",0},
11824 { "_wxWindowID","_int",0},
11825 { "_wxWindowID","_signed_int",0},
11826 { "_wxWindowID","_unsigned_int",0},
11827 { "_int","_wxCoord",0},
11828 { "_int","_wxPrintQuality",0},
11829 { "_int","_time_t",0},
11830 { "_int","_size_t",0},
11831 { "_int","_EBool",0},
11832 { "_int","_uint",0},
11833 { "_int","_wxWindowID",0},
11834 { "_int","_unsigned_int",0},
11835 { "_int","_signed_int",0},
11836 { "_time_t","_wxCoord",0},
11837 { "_time_t","_wxPrintQuality",0},
11838 { "_time_t","_unsigned_int",0},
11839 { "_time_t","_int",0},
11840 { "_time_t","_wxWindowID",0},
11841 { "_time_t","_uint",0},
11842 { "_time_t","_size_t",0},
11843 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton},
11844 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
11845 { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl},
11846 { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
11847 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
11848 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
11849 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
11850 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl},
11851 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl},
11852 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
11853 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl},
11854 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
11855 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11856 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11857 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl},
11858 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
11859 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl},
11860 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
11861 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl},
11862 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
11863 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11864 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11865 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl},
11866 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl},
11867 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl},
11868 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
11869 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl},
11870 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
11871 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl},
11872 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
11873 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl},
11874 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl},
11875 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl},
11876 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
11877 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl},
11878 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl},
11879 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl},
11880 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
11881 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11882 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11883 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl},
11884 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl},
11885 { "_wxCoord","_int",0},
11886 { "_wxCoord","_signed_int",0},
11887 { "_wxCoord","_unsigned_int",0},
11888 { "_wxCoord","_wxWindowID",0},
11889 { "_wxCoord","_uint",0},
11890 { "_wxCoord","_EBool",0},
11891 { "_wxCoord","_size_t",0},
11892 { "_wxCoord","_time_t",0},
11893 { "_wxCoord","_wxPrintQuality",0},
11894 { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
11895 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
11896 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
11897 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
11898 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
11899 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
11900 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11901 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11902 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11903 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11904 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11905 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11906 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11907 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11908 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11909 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11910 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11911 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11912 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11913 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11914 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler},
11915 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
11916 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11917 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11918 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11919 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11920 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11921 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11922 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler},
11923 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
11924 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11925 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11926 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler},
11927 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
11928 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11929 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11930 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11931 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11932 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler},
11933 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
11934 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler},
11935 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
11936 { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow},
11937 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
11938 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
11939 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
11940 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
11941 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
11942 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow},
11943 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
11944 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow},
11945 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
11946 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11947 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11948 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow},
11949 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
11950 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow},
11951 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
11952 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11953 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11954 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11955 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11956 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow},
11957 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
11958 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow},
11959 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
11960 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow},
11961 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
11962 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow},
11963 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
11964 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow},
11965 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
11966 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow},
11967 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
11968 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow},
11969 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
11970 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow},
11971 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
11972 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11973 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
11974 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow},
11975 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
11976 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow},
11977 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
11978 {0,0,0}};
11979
11980 static PyObject *SWIG_globals;
11981 #ifdef __cplusplus
11982 extern "C"
11983 #endif
11984 SWIGEXPORT(void) initcontrolsc() {
11985 PyObject *m, *d;
11986 SWIG_globals = SWIG_newvarlink();
11987 m = Py_InitModule("controlsc", controlscMethods);
11988 d = PyModule_GetDict(m);
11989 PyDict_SetItemString(d,"cvar", SWIG_globals);
11990 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
11991 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
11992 {
11993 int i;
11994 for (i = 0; _swig_mapping[i].n1; i++)
11995 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11996 }
11997 }