]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls.cpp
warning fixed
[wxWidgets.git] / wxPython / src / msw / controls.cpp
1 /*
2 * FILE : src/msw/controls.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #include "Python.h"
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50 extern PyObject *SWIG_newvarlink(void);
51 #ifdef __cplusplus
52 }
53 #endif
54 #define SWIG_init initcontrolsc
55
56 #define SWIG_name "controlsc"
57
58 #include "helpers.h"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
65
66 #ifdef __WXMSW__
67 #if wxUSE_OWNER_DRAWN
68 #include <wx/checklst.h>
69 #endif
70 #endif
71
72 #ifdef __WXGTK__
73 #include <wx/checklst.h>
74 #endif
75
76
77 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
78 PyObject* o2;
79 if (!target) {
80 target = o;
81 } else if (target == Py_None) {
82 Py_DECREF(Py_None);
83 target = o;
84 } else {
85 if (!PyList_Check(target)) {
86 o2 = target;
87 target = PyList_New(0);
88 PyList_Append(target, o2);
89 Py_XDECREF(o2);
90 }
91 PyList_Append(target,o);
92 Py_XDECREF(o);
93 }
94 return target;
95 }
96
97 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
98 PyObject* o2;
99 PyObject* o3;
100
101 if (!target) {
102 target = o;
103 } else if (target == Py_None) {
104 Py_DECREF(Py_None);
105 target = o;
106 } else {
107 if (!PyTuple_Check(target)) {
108 o2 = target;
109 target = PyTuple_New(1);
110 PyTuple_SetItem(target, 0, o2);
111 }
112 o3 = PyTuple_New(1);
113 PyTuple_SetItem(o3, 0, o);
114
115 o2 = target;
116 target = PySequence_Concat(o2, o3);
117 Py_DECREF(o2);
118 Py_DECREF(o3);
119 }
120 return target;
121 }
122
123 #if PYTHON_API_VERSION >= 1009
124 static char* wxStringErrorMsg = "String or Unicode type required";
125 #else
126 static char* wxStringErrorMsg = "string type is required for parameter";
127 #endif
128
129 wxSize wxButton_GetDefaultSize() {
130 return wxButton::GetDefaultSize();
131 }
132 #ifdef __cplusplus
133 extern "C" {
134 #endif
135 static int _wrap_wxDefaultValidator_set(PyObject *val) {
136
137 PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only.");
138 return 1;
139 }
140
141 static PyObject *_wrap_wxDefaultValidator_get() {
142 PyObject * pyobj;
143 char ptemp[128];
144
145 SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p");
146 pyobj = PyString_FromString(ptemp);
147 return pyobj;
148 }
149
150 static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
151 PyObject * _resultobj;
152 wxSize * _result;
153 char *_kwnames[] = { NULL };
154 char _ptemp[128];
155
156 self = self;
157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames))
158 return NULL;
159 {
160 wxPy_BEGIN_ALLOW_THREADS;
161 _result = new wxSize (wxButton_GetDefaultSize());
162
163 wxPy_END_ALLOW_THREADS;
164 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
165 _resultobj = Py_BuildValue("s",_ptemp);
166 return _resultobj;
167 }
168
169 static void *SwigwxControlTowxWindow(void *ptr) {
170 wxControl *src;
171 wxWindow *dest;
172 src = (wxControl *) ptr;
173 dest = (wxWindow *) src;
174 return (void *) dest;
175 }
176
177 static void *SwigwxControlTowxEvtHandler(void *ptr) {
178 wxControl *src;
179 wxEvtHandler *dest;
180 src = (wxControl *) ptr;
181 dest = (wxEvtHandler *) src;
182 return (void *) dest;
183 }
184
185 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
186 static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
187 PyObject * _resultobj;
188 wxControl * _result;
189 wxWindow * _arg0;
190 wxWindowID _arg1;
191 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
192 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
193 long _arg4 = (long ) 0;
194 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
195 char * _arg6 = (char *) "control";
196 PyObject * _argo0 = 0;
197 wxPoint temp;
198 PyObject * _obj2 = 0;
199 wxSize temp0;
200 PyObject * _obj3 = 0;
201 PyObject * _argo5 = 0;
202 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
203 char _ptemp[128];
204
205 self = self;
206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
207 return NULL;
208 if (_argo0) {
209 if (_argo0 == Py_None) { _arg0 = NULL; }
210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
212 return NULL;
213 }
214 }
215 if (_obj2)
216 {
217 _arg2 = &temp;
218 if (! wxPoint_helper(_obj2, &_arg2))
219 return NULL;
220 }
221 if (_obj3)
222 {
223 _arg3 = &temp0;
224 if (! wxSize_helper(_obj3, &_arg3))
225 return NULL;
226 }
227 if (_argo5) {
228 if (_argo5 == Py_None) { _arg5 = NULL; }
229 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
230 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
231 return NULL;
232 }
233 }
234 {
235 wxPy_BEGIN_ALLOW_THREADS;
236 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
237
238 wxPy_END_ALLOW_THREADS;
239 } if (_result) {
240 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
241 _resultobj = Py_BuildValue("s",_ptemp);
242 } else {
243 Py_INCREF(Py_None);
244 _resultobj = Py_None;
245 }
246 return _resultobj;
247 }
248
249 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
250 static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
251 PyObject * _resultobj;
252 wxControl * _arg0;
253 wxCommandEvent * _arg1;
254 PyObject * _argo0 = 0;
255 PyObject * _argo1 = 0;
256 char *_kwnames[] = { "self","event", NULL };
257
258 self = self;
259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1))
260 return NULL;
261 if (_argo0) {
262 if (_argo0 == Py_None) { _arg0 = NULL; }
263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
265 return NULL;
266 }
267 }
268 if (_argo1) {
269 if (_argo1 == Py_None) { _arg1 = NULL; }
270 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
271 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
272 return NULL;
273 }
274 }
275 {
276 wxPy_BEGIN_ALLOW_THREADS;
277 wxControl_Command(_arg0,*_arg1);
278
279 wxPy_END_ALLOW_THREADS;
280 } Py_INCREF(Py_None);
281 _resultobj = Py_None;
282 return _resultobj;
283 }
284
285 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
286 static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
287 PyObject * _resultobj;
288 wxString * _result;
289 wxControl * _arg0;
290 PyObject * _argo0 = 0;
291 char *_kwnames[] = { "self", NULL };
292
293 self = self;
294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
295 return NULL;
296 if (_argo0) {
297 if (_argo0 == Py_None) { _arg0 = NULL; }
298 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
299 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
300 return NULL;
301 }
302 }
303 {
304 wxPy_BEGIN_ALLOW_THREADS;
305 _result = new wxString (wxControl_GetLabel(_arg0));
306
307 wxPy_END_ALLOW_THREADS;
308 }{
309 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
310 }
311 {
312 delete _result;
313 }
314 return _resultobj;
315 }
316
317 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
318 static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
319 PyObject * _resultobj;
320 wxControl * _arg0;
321 wxString * _arg1;
322 PyObject * _argo0 = 0;
323 PyObject * _obj1 = 0;
324 char *_kwnames[] = { "self","label", NULL };
325
326 self = self;
327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
328 return NULL;
329 if (_argo0) {
330 if (_argo0 == Py_None) { _arg0 = NULL; }
331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
333 return NULL;
334 }
335 }
336 {
337 #if PYTHON_API_VERSION >= 1009
338 char* tmpPtr; int tmpSize;
339 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
340 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
341 return NULL;
342 }
343 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
344 return NULL;
345 _arg1 = new wxString(tmpPtr, tmpSize);
346 #else
347 if (!PyString_Check(_obj1)) {
348 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
349 return NULL;
350 }
351 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
352 #endif
353 }
354 {
355 wxPy_BEGIN_ALLOW_THREADS;
356 wxControl_SetLabel(_arg0,*_arg1);
357
358 wxPy_END_ALLOW_THREADS;
359 } Py_INCREF(Py_None);
360 _resultobj = Py_None;
361 {
362 if (_obj1)
363 delete _arg1;
364 }
365 return _resultobj;
366 }
367
368 static void *SwigwxButtonTowxControl(void *ptr) {
369 wxButton *src;
370 wxControl *dest;
371 src = (wxButton *) ptr;
372 dest = (wxControl *) src;
373 return (void *) dest;
374 }
375
376 static void *SwigwxButtonTowxWindow(void *ptr) {
377 wxButton *src;
378 wxWindow *dest;
379 src = (wxButton *) ptr;
380 dest = (wxWindow *) src;
381 return (void *) dest;
382 }
383
384 static void *SwigwxButtonTowxEvtHandler(void *ptr) {
385 wxButton *src;
386 wxEvtHandler *dest;
387 src = (wxButton *) ptr;
388 dest = (wxEvtHandler *) src;
389 return (void *) dest;
390 }
391
392 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
393 static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
394 PyObject * _resultobj;
395 wxButton * _result;
396 wxWindow * _arg0;
397 wxWindowID _arg1;
398 wxString * _arg2;
399 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
400 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
401 long _arg5 = (long ) 0;
402 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
403 char * _arg7 = (char *) "button";
404 PyObject * _argo0 = 0;
405 PyObject * _obj2 = 0;
406 wxPoint temp;
407 PyObject * _obj3 = 0;
408 wxSize temp0;
409 PyObject * _obj4 = 0;
410 PyObject * _argo6 = 0;
411 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
412 char _ptemp[128];
413
414 self = self;
415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
416 return NULL;
417 if (_argo0) {
418 if (_argo0 == Py_None) { _arg0 = NULL; }
419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
421 return NULL;
422 }
423 }
424 {
425 #if PYTHON_API_VERSION >= 1009
426 char* tmpPtr; int tmpSize;
427 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
428 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
429 return NULL;
430 }
431 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
432 return NULL;
433 _arg2 = new wxString(tmpPtr, tmpSize);
434 #else
435 if (!PyString_Check(_obj2)) {
436 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
437 return NULL;
438 }
439 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
440 #endif
441 }
442 if (_obj3)
443 {
444 _arg3 = &temp;
445 if (! wxPoint_helper(_obj3, &_arg3))
446 return NULL;
447 }
448 if (_obj4)
449 {
450 _arg4 = &temp0;
451 if (! wxSize_helper(_obj4, &_arg4))
452 return NULL;
453 }
454 if (_argo6) {
455 if (_argo6 == Py_None) { _arg6 = NULL; }
456 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
457 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
458 return NULL;
459 }
460 }
461 {
462 wxPy_BEGIN_ALLOW_THREADS;
463 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
464
465 wxPy_END_ALLOW_THREADS;
466 } if (_result) {
467 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
468 _resultobj = Py_BuildValue("s",_ptemp);
469 } else {
470 Py_INCREF(Py_None);
471 _resultobj = Py_None;
472 }
473 {
474 if (_obj2)
475 delete _arg2;
476 }
477 return _resultobj;
478 }
479
480 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
481 static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
482 PyObject * _resultobj;
483 wxButton * _arg0;
484 PyObject * _argo0 = 0;
485 char *_kwnames[] = { "self", NULL };
486
487 self = self;
488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
489 return NULL;
490 if (_argo0) {
491 if (_argo0 == Py_None) { _arg0 = NULL; }
492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
494 return NULL;
495 }
496 }
497 {
498 wxPy_BEGIN_ALLOW_THREADS;
499 wxButton_SetDefault(_arg0);
500
501 wxPy_END_ALLOW_THREADS;
502 } Py_INCREF(Py_None);
503 _resultobj = Py_None;
504 return _resultobj;
505 }
506
507 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
508 static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
509 PyObject * _resultobj;
510 wxButton * _arg0;
511 wxColour * _arg1;
512 PyObject * _argo0 = 0;
513 wxColour temp;
514 PyObject * _obj1 = 0;
515 char *_kwnames[] = { "self","colour", NULL };
516
517 self = self;
518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
519 return NULL;
520 if (_argo0) {
521 if (_argo0 == Py_None) { _arg0 = NULL; }
522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
524 return NULL;
525 }
526 }
527 {
528 _arg1 = &temp;
529 if (! wxColour_helper(_obj1, &_arg1))
530 return NULL;
531 }
532 {
533 wxPy_BEGIN_ALLOW_THREADS;
534 wxButton_SetBackgroundColour(_arg0,*_arg1);
535
536 wxPy_END_ALLOW_THREADS;
537 } Py_INCREF(Py_None);
538 _resultobj = Py_None;
539 return _resultobj;
540 }
541
542 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
543 static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
544 PyObject * _resultobj;
545 wxButton * _arg0;
546 wxColour * _arg1;
547 PyObject * _argo0 = 0;
548 wxColour temp;
549 PyObject * _obj1 = 0;
550 char *_kwnames[] = { "self","colour", NULL };
551
552 self = self;
553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
554 return NULL;
555 if (_argo0) {
556 if (_argo0 == Py_None) { _arg0 = NULL; }
557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
559 return NULL;
560 }
561 }
562 {
563 _arg1 = &temp;
564 if (! wxColour_helper(_obj1, &_arg1))
565 return NULL;
566 }
567 {
568 wxPy_BEGIN_ALLOW_THREADS;
569 wxButton_SetForegroundColour(_arg0,*_arg1);
570
571 wxPy_END_ALLOW_THREADS;
572 } Py_INCREF(Py_None);
573 _resultobj = Py_None;
574 return _resultobj;
575 }
576
577 static void *SwigwxBitmapButtonTowxButton(void *ptr) {
578 wxBitmapButton *src;
579 wxButton *dest;
580 src = (wxBitmapButton *) ptr;
581 dest = (wxButton *) src;
582 return (void *) dest;
583 }
584
585 static void *SwigwxBitmapButtonTowxControl(void *ptr) {
586 wxBitmapButton *src;
587 wxControl *dest;
588 src = (wxBitmapButton *) ptr;
589 dest = (wxControl *) src;
590 return (void *) dest;
591 }
592
593 static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
594 wxBitmapButton *src;
595 wxWindow *dest;
596 src = (wxBitmapButton *) ptr;
597 dest = (wxWindow *) src;
598 return (void *) dest;
599 }
600
601 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
602 wxBitmapButton *src;
603 wxEvtHandler *dest;
604 src = (wxBitmapButton *) ptr;
605 dest = (wxEvtHandler *) src;
606 return (void *) dest;
607 }
608
609 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
610 static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
611 PyObject * _resultobj;
612 wxBitmapButton * _result;
613 wxWindow * _arg0;
614 wxWindowID _arg1;
615 wxBitmap * _arg2;
616 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
617 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
618 long _arg5 = (long ) wxBU_AUTODRAW;
619 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
620 char * _arg7 = (char *) "button";
621 PyObject * _argo0 = 0;
622 PyObject * _argo2 = 0;
623 wxPoint temp;
624 PyObject * _obj3 = 0;
625 wxSize temp0;
626 PyObject * _obj4 = 0;
627 PyObject * _argo6 = 0;
628 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
629 char _ptemp[128];
630
631 self = self;
632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
633 return NULL;
634 if (_argo0) {
635 if (_argo0 == Py_None) { _arg0 = NULL; }
636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
638 return NULL;
639 }
640 }
641 if (_argo2) {
642 if (_argo2 == Py_None) { _arg2 = NULL; }
643 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
644 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
645 return NULL;
646 }
647 }
648 if (_obj3)
649 {
650 _arg3 = &temp;
651 if (! wxPoint_helper(_obj3, &_arg3))
652 return NULL;
653 }
654 if (_obj4)
655 {
656 _arg4 = &temp0;
657 if (! wxSize_helper(_obj4, &_arg4))
658 return NULL;
659 }
660 if (_argo6) {
661 if (_argo6 == Py_None) { _arg6 = NULL; }
662 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
663 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
664 return NULL;
665 }
666 }
667 {
668 wxPy_BEGIN_ALLOW_THREADS;
669 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
670
671 wxPy_END_ALLOW_THREADS;
672 } if (_result) {
673 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
674 _resultobj = Py_BuildValue("s",_ptemp);
675 } else {
676 Py_INCREF(Py_None);
677 _resultobj = Py_None;
678 }
679 return _resultobj;
680 }
681
682 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
683 static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
684 PyObject * _resultobj;
685 wxBitmap * _result;
686 wxBitmapButton * _arg0;
687 PyObject * _argo0 = 0;
688 char *_kwnames[] = { "self", NULL };
689 char _ptemp[128];
690
691 self = self;
692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
693 return NULL;
694 if (_argo0) {
695 if (_argo0 == Py_None) { _arg0 = NULL; }
696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
698 return NULL;
699 }
700 }
701 {
702 wxPy_BEGIN_ALLOW_THREADS;
703 wxBitmap & _result_ref = wxBitmapButton_GetBitmapLabel(_arg0);
704 _result = (wxBitmap *) &_result_ref;
705
706 wxPy_END_ALLOW_THREADS;
707 } if (_result) {
708 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
709 _resultobj = Py_BuildValue("s",_ptemp);
710 } else {
711 Py_INCREF(Py_None);
712 _resultobj = Py_None;
713 }
714 return _resultobj;
715 }
716
717 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
718 static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
719 PyObject * _resultobj;
720 wxBitmap * _result;
721 wxBitmapButton * _arg0;
722 PyObject * _argo0 = 0;
723 char *_kwnames[] = { "self", NULL };
724 char _ptemp[128];
725
726 self = self;
727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
728 return NULL;
729 if (_argo0) {
730 if (_argo0 == Py_None) { _arg0 = NULL; }
731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
733 return NULL;
734 }
735 }
736 {
737 wxPy_BEGIN_ALLOW_THREADS;
738 wxBitmap & _result_ref = wxBitmapButton_GetBitmapDisabled(_arg0);
739 _result = (wxBitmap *) &_result_ref;
740
741 wxPy_END_ALLOW_THREADS;
742 } if (_result) {
743 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
744 _resultobj = Py_BuildValue("s",_ptemp);
745 } else {
746 Py_INCREF(Py_None);
747 _resultobj = Py_None;
748 }
749 return _resultobj;
750 }
751
752 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
753 static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
754 PyObject * _resultobj;
755 wxBitmap * _result;
756 wxBitmapButton * _arg0;
757 PyObject * _argo0 = 0;
758 char *_kwnames[] = { "self", NULL };
759 char _ptemp[128];
760
761 self = self;
762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0))
763 return NULL;
764 if (_argo0) {
765 if (_argo0 == Py_None) { _arg0 = NULL; }
766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
768 return NULL;
769 }
770 }
771 {
772 wxPy_BEGIN_ALLOW_THREADS;
773 wxBitmap & _result_ref = wxBitmapButton_GetBitmapFocus(_arg0);
774 _result = (wxBitmap *) &_result_ref;
775
776 wxPy_END_ALLOW_THREADS;
777 } if (_result) {
778 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
779 _resultobj = Py_BuildValue("s",_ptemp);
780 } else {
781 Py_INCREF(Py_None);
782 _resultobj = Py_None;
783 }
784 return _resultobj;
785 }
786
787 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
788 static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
789 PyObject * _resultobj;
790 wxBitmap * _result;
791 wxBitmapButton * _arg0;
792 PyObject * _argo0 = 0;
793 char *_kwnames[] = { "self", NULL };
794 char _ptemp[128];
795
796 self = self;
797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
798 return NULL;
799 if (_argo0) {
800 if (_argo0 == Py_None) { _arg0 = NULL; }
801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
803 return NULL;
804 }
805 }
806 {
807 wxPy_BEGIN_ALLOW_THREADS;
808 wxBitmap & _result_ref = wxBitmapButton_GetBitmapSelected(_arg0);
809 _result = (wxBitmap *) &_result_ref;
810
811 wxPy_END_ALLOW_THREADS;
812 } if (_result) {
813 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
814 _resultobj = Py_BuildValue("s",_ptemp);
815 } else {
816 Py_INCREF(Py_None);
817 _resultobj = Py_None;
818 }
819 return _resultobj;
820 }
821
822 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
823 static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
824 PyObject * _resultobj;
825 wxBitmapButton * _arg0;
826 wxBitmap * _arg1;
827 PyObject * _argo0 = 0;
828 PyObject * _argo1 = 0;
829 char *_kwnames[] = { "self","bitmap", NULL };
830
831 self = self;
832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
833 return NULL;
834 if (_argo0) {
835 if (_argo0 == Py_None) { _arg0 = NULL; }
836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
838 return NULL;
839 }
840 }
841 if (_argo1) {
842 if (_argo1 == Py_None) { _arg1 = NULL; }
843 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
844 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
845 return NULL;
846 }
847 }
848 {
849 wxPy_BEGIN_ALLOW_THREADS;
850 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
851
852 wxPy_END_ALLOW_THREADS;
853 } Py_INCREF(Py_None);
854 _resultobj = Py_None;
855 return _resultobj;
856 }
857
858 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
859 static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
860 PyObject * _resultobj;
861 wxBitmapButton * _arg0;
862 wxBitmap * _arg1;
863 PyObject * _argo0 = 0;
864 PyObject * _argo1 = 0;
865 char *_kwnames[] = { "self","bitmap", NULL };
866
867 self = self;
868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
869 return NULL;
870 if (_argo0) {
871 if (_argo0 == Py_None) { _arg0 = NULL; }
872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
874 return NULL;
875 }
876 }
877 if (_argo1) {
878 if (_argo1 == Py_None) { _arg1 = NULL; }
879 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
880 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
881 return NULL;
882 }
883 }
884 {
885 wxPy_BEGIN_ALLOW_THREADS;
886 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
887
888 wxPy_END_ALLOW_THREADS;
889 } Py_INCREF(Py_None);
890 _resultobj = Py_None;
891 return _resultobj;
892 }
893
894 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
895 static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
896 PyObject * _resultobj;
897 wxBitmapButton * _arg0;
898 wxBitmap * _arg1;
899 PyObject * _argo0 = 0;
900 PyObject * _argo1 = 0;
901 char *_kwnames[] = { "self","bitmap", NULL };
902
903 self = self;
904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
905 return NULL;
906 if (_argo0) {
907 if (_argo0 == Py_None) { _arg0 = NULL; }
908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
910 return NULL;
911 }
912 }
913 if (_argo1) {
914 if (_argo1 == Py_None) { _arg1 = NULL; }
915 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
916 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
917 return NULL;
918 }
919 }
920 {
921 wxPy_BEGIN_ALLOW_THREADS;
922 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
923
924 wxPy_END_ALLOW_THREADS;
925 } Py_INCREF(Py_None);
926 _resultobj = Py_None;
927 return _resultobj;
928 }
929
930 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
931 static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
932 PyObject * _resultobj;
933 wxBitmapButton * _arg0;
934 wxBitmap * _arg1;
935 PyObject * _argo0 = 0;
936 PyObject * _argo1 = 0;
937 char *_kwnames[] = { "self","bitmap", NULL };
938
939 self = self;
940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
941 return NULL;
942 if (_argo0) {
943 if (_argo0 == Py_None) { _arg0 = NULL; }
944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
946 return NULL;
947 }
948 }
949 if (_argo1) {
950 if (_argo1 == Py_None) { _arg1 = NULL; }
951 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
952 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
953 return NULL;
954 }
955 }
956 {
957 wxPy_BEGIN_ALLOW_THREADS;
958 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
959
960 wxPy_END_ALLOW_THREADS;
961 } Py_INCREF(Py_None);
962 _resultobj = Py_None;
963 return _resultobj;
964 }
965
966 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
967 static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
968 PyObject * _resultobj;
969 wxBitmapButton * _arg0;
970 int _arg1;
971 int _arg2;
972 PyObject * _argo0 = 0;
973 char *_kwnames[] = { "self","x","y", NULL };
974
975 self = self;
976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
977 return NULL;
978 if (_argo0) {
979 if (_argo0 == Py_None) { _arg0 = NULL; }
980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
982 return NULL;
983 }
984 }
985 {
986 wxPy_BEGIN_ALLOW_THREADS;
987 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
988
989 wxPy_END_ALLOW_THREADS;
990 } Py_INCREF(Py_None);
991 _resultobj = Py_None;
992 return _resultobj;
993 }
994
995 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
996 static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
997 PyObject * _resultobj;
998 int _result;
999 wxBitmapButton * _arg0;
1000 PyObject * _argo0 = 0;
1001 char *_kwnames[] = { "self", NULL };
1002
1003 self = self;
1004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0))
1005 return NULL;
1006 if (_argo0) {
1007 if (_argo0 == Py_None) { _arg0 = NULL; }
1008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1010 return NULL;
1011 }
1012 }
1013 {
1014 wxPy_BEGIN_ALLOW_THREADS;
1015 _result = (int )wxBitmapButton_GetMarginX(_arg0);
1016
1017 wxPy_END_ALLOW_THREADS;
1018 } _resultobj = Py_BuildValue("i",_result);
1019 return _resultobj;
1020 }
1021
1022 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1023 static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1024 PyObject * _resultobj;
1025 int _result;
1026 wxBitmapButton * _arg0;
1027 PyObject * _argo0 = 0;
1028 char *_kwnames[] = { "self", NULL };
1029
1030 self = self;
1031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0))
1032 return NULL;
1033 if (_argo0) {
1034 if (_argo0 == Py_None) { _arg0 = NULL; }
1035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1037 return NULL;
1038 }
1039 }
1040 {
1041 wxPy_BEGIN_ALLOW_THREADS;
1042 _result = (int )wxBitmapButton_GetMarginY(_arg0);
1043
1044 wxPy_END_ALLOW_THREADS;
1045 } _resultobj = Py_BuildValue("i",_result);
1046 return _resultobj;
1047 }
1048
1049 static void *SwigwxCheckBoxTowxControl(void *ptr) {
1050 wxCheckBox *src;
1051 wxControl *dest;
1052 src = (wxCheckBox *) ptr;
1053 dest = (wxControl *) src;
1054 return (void *) dest;
1055 }
1056
1057 static void *SwigwxCheckBoxTowxWindow(void *ptr) {
1058 wxCheckBox *src;
1059 wxWindow *dest;
1060 src = (wxCheckBox *) ptr;
1061 dest = (wxWindow *) src;
1062 return (void *) dest;
1063 }
1064
1065 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
1066 wxCheckBox *src;
1067 wxEvtHandler *dest;
1068 src = (wxCheckBox *) ptr;
1069 dest = (wxEvtHandler *) src;
1070 return (void *) dest;
1071 }
1072
1073 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1074 static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1075 PyObject * _resultobj;
1076 wxCheckBox * _result;
1077 wxWindow * _arg0;
1078 wxWindowID _arg1;
1079 wxString * _arg2;
1080 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1081 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1082 long _arg5 = (long ) 0;
1083 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1084 char * _arg7 = (char *) "checkBox";
1085 PyObject * _argo0 = 0;
1086 PyObject * _obj2 = 0;
1087 wxPoint temp;
1088 PyObject * _obj3 = 0;
1089 wxSize temp0;
1090 PyObject * _obj4 = 0;
1091 PyObject * _argo6 = 0;
1092 char *_kwnames[] = { "parent","id","label","pos","size","style","val","name", NULL };
1093 char _ptemp[128];
1094
1095 self = self;
1096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
1097 return NULL;
1098 if (_argo0) {
1099 if (_argo0 == Py_None) { _arg0 = NULL; }
1100 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1101 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1102 return NULL;
1103 }
1104 }
1105 {
1106 #if PYTHON_API_VERSION >= 1009
1107 char* tmpPtr; int tmpSize;
1108 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
1109 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1110 return NULL;
1111 }
1112 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
1113 return NULL;
1114 _arg2 = new wxString(tmpPtr, tmpSize);
1115 #else
1116 if (!PyString_Check(_obj2)) {
1117 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1118 return NULL;
1119 }
1120 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
1121 #endif
1122 }
1123 if (_obj3)
1124 {
1125 _arg3 = &temp;
1126 if (! wxPoint_helper(_obj3, &_arg3))
1127 return NULL;
1128 }
1129 if (_obj4)
1130 {
1131 _arg4 = &temp0;
1132 if (! wxSize_helper(_obj4, &_arg4))
1133 return NULL;
1134 }
1135 if (_argo6) {
1136 if (_argo6 == Py_None) { _arg6 = NULL; }
1137 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
1138 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1139 return NULL;
1140 }
1141 }
1142 {
1143 wxPy_BEGIN_ALLOW_THREADS;
1144 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
1145
1146 wxPy_END_ALLOW_THREADS;
1147 } if (_result) {
1148 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
1149 _resultobj = Py_BuildValue("s",_ptemp);
1150 } else {
1151 Py_INCREF(Py_None);
1152 _resultobj = Py_None;
1153 }
1154 {
1155 if (_obj2)
1156 delete _arg2;
1157 }
1158 return _resultobj;
1159 }
1160
1161 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
1162 static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject * _resultobj;
1164 bool _result;
1165 wxCheckBox * _arg0;
1166 PyObject * _argo0 = 0;
1167 char *_kwnames[] = { "self", NULL };
1168
1169 self = self;
1170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
1171 return NULL;
1172 if (_argo0) {
1173 if (_argo0 == Py_None) { _arg0 = NULL; }
1174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
1175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
1176 return NULL;
1177 }
1178 }
1179 {
1180 wxPy_BEGIN_ALLOW_THREADS;
1181 _result = (bool )wxCheckBox_GetValue(_arg0);
1182
1183 wxPy_END_ALLOW_THREADS;
1184 } _resultobj = Py_BuildValue("i",_result);
1185 return _resultobj;
1186 }
1187
1188 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1189 static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1190 PyObject * _resultobj;
1191 wxCheckBox * _arg0;
1192 bool _arg1;
1193 PyObject * _argo0 = 0;
1194 int tempbool1;
1195 char *_kwnames[] = { "self","state", NULL };
1196
1197 self = self;
1198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
1199 return NULL;
1200 if (_argo0) {
1201 if (_argo0 == Py_None) { _arg0 = NULL; }
1202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
1203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
1204 return NULL;
1205 }
1206 }
1207 _arg1 = (bool ) tempbool1;
1208 {
1209 wxPy_BEGIN_ALLOW_THREADS;
1210 wxCheckBox_SetValue(_arg0,_arg1);
1211
1212 wxPy_END_ALLOW_THREADS;
1213 } Py_INCREF(Py_None);
1214 _resultobj = Py_None;
1215 return _resultobj;
1216 }
1217
1218 static void *SwigwxChoiceTowxControl(void *ptr) {
1219 wxChoice *src;
1220 wxControl *dest;
1221 src = (wxChoice *) ptr;
1222 dest = (wxControl *) src;
1223 return (void *) dest;
1224 }
1225
1226 static void *SwigwxChoiceTowxWindow(void *ptr) {
1227 wxChoice *src;
1228 wxWindow *dest;
1229 src = (wxChoice *) ptr;
1230 dest = (wxWindow *) src;
1231 return (void *) dest;
1232 }
1233
1234 static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
1235 wxChoice *src;
1236 wxEvtHandler *dest;
1237 src = (wxChoice *) ptr;
1238 dest = (wxEvtHandler *) src;
1239 return (void *) dest;
1240 }
1241
1242 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
1243 static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
1244 PyObject * _resultobj;
1245 wxChoice * _result;
1246 wxWindow * _arg0;
1247 wxWindowID _arg1;
1248 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
1249 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
1250 int _arg4 = (int ) 0;
1251 wxString * _arg5 = (wxString *) NULL;
1252 long _arg6 = (long ) 0;
1253 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1254 char * _arg8 = (char *) "choice";
1255 PyObject * _argo0 = 0;
1256 wxPoint temp;
1257 PyObject * _obj2 = 0;
1258 wxSize temp0;
1259 PyObject * _obj3 = 0;
1260 PyObject * _obj5 = 0;
1261 PyObject * _argo7 = 0;
1262 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
1263 char _ptemp[128];
1264
1265 self = self;
1266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
1267 return NULL;
1268 if (_argo0) {
1269 if (_argo0 == Py_None) { _arg0 = NULL; }
1270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
1272 return NULL;
1273 }
1274 }
1275 if (_obj2)
1276 {
1277 _arg2 = &temp;
1278 if (! wxPoint_helper(_obj2, &_arg2))
1279 return NULL;
1280 }
1281 if (_obj3)
1282 {
1283 _arg3 = &temp0;
1284 if (! wxSize_helper(_obj3, &_arg3))
1285 return NULL;
1286 }
1287 if (_obj5)
1288 {
1289 _arg5 = wxString_LIST_helper(_obj5);
1290 if (_arg5 == NULL) {
1291 return NULL;
1292 }
1293 }
1294 if (_argo7) {
1295 if (_argo7 == Py_None) { _arg7 = NULL; }
1296 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1297 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
1298 return NULL;
1299 }
1300 }
1301 {
1302 if (_obj5) {
1303 _arg4 = PyList_Size(_obj5);
1304 }
1305 else {
1306 _arg4 = 0;
1307 }
1308 }
1309 {
1310 wxPy_BEGIN_ALLOW_THREADS;
1311 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
1312
1313 wxPy_END_ALLOW_THREADS;
1314 } if (_result) {
1315 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
1316 _resultobj = Py_BuildValue("s",_ptemp);
1317 } else {
1318 Py_INCREF(Py_None);
1319 _resultobj = Py_None;
1320 }
1321 {
1322 delete [] _arg5;
1323 }
1324 return _resultobj;
1325 }
1326
1327 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1328 static PyObject *_wrap_wxChoice_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
1329 PyObject * _resultobj;
1330 wxChoice * _arg0;
1331 wxString * _arg1;
1332 PyObject * _argo0 = 0;
1333 PyObject * _obj1 = 0;
1334 char *_kwnames[] = { "self","item", NULL };
1335
1336 self = self;
1337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_Append",_kwnames,&_argo0,&_obj1))
1338 return NULL;
1339 if (_argo0) {
1340 if (_argo0 == Py_None) { _arg0 = NULL; }
1341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
1343 return NULL;
1344 }
1345 }
1346 {
1347 #if PYTHON_API_VERSION >= 1009
1348 char* tmpPtr; int tmpSize;
1349 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1350 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1351 return NULL;
1352 }
1353 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1354 return NULL;
1355 _arg1 = new wxString(tmpPtr, tmpSize);
1356 #else
1357 if (!PyString_Check(_obj1)) {
1358 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1359 return NULL;
1360 }
1361 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1362 #endif
1363 }
1364 {
1365 wxPy_BEGIN_ALLOW_THREADS;
1366 wxChoice_Append(_arg0,*_arg1);
1367
1368 wxPy_END_ALLOW_THREADS;
1369 } Py_INCREF(Py_None);
1370 _resultobj = Py_None;
1371 {
1372 if (_obj1)
1373 delete _arg1;
1374 }
1375 return _resultobj;
1376 }
1377
1378 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
1379 static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
1380 PyObject * _resultobj;
1381 wxChoice * _arg0;
1382 PyObject * _argo0 = 0;
1383 char *_kwnames[] = { "self", NULL };
1384
1385 self = self;
1386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
1387 return NULL;
1388 if (_argo0) {
1389 if (_argo0 == Py_None) { _arg0 = NULL; }
1390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
1392 return NULL;
1393 }
1394 }
1395 {
1396 wxPy_BEGIN_ALLOW_THREADS;
1397 wxChoice_Clear(_arg0);
1398
1399 wxPy_END_ALLOW_THREADS;
1400 } Py_INCREF(Py_None);
1401 _resultobj = Py_None;
1402 return _resultobj;
1403 }
1404
1405 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1406 static PyObject *_wrap_wxChoice_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
1407 PyObject * _resultobj;
1408 int _result;
1409 wxChoice * _arg0;
1410 wxString * _arg1;
1411 PyObject * _argo0 = 0;
1412 PyObject * _obj1 = 0;
1413 char *_kwnames[] = { "self","string", NULL };
1414
1415 self = self;
1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_FindString",_kwnames,&_argo0,&_obj1))
1417 return NULL;
1418 if (_argo0) {
1419 if (_argo0 == Py_None) { _arg0 = NULL; }
1420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
1422 return NULL;
1423 }
1424 }
1425 {
1426 #if PYTHON_API_VERSION >= 1009
1427 char* tmpPtr; int tmpSize;
1428 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1429 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1430 return NULL;
1431 }
1432 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1433 return NULL;
1434 _arg1 = new wxString(tmpPtr, tmpSize);
1435 #else
1436 if (!PyString_Check(_obj1)) {
1437 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1438 return NULL;
1439 }
1440 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1441 #endif
1442 }
1443 {
1444 wxPy_BEGIN_ALLOW_THREADS;
1445 _result = (int )wxChoice_FindString(_arg0,*_arg1);
1446
1447 wxPy_END_ALLOW_THREADS;
1448 } _resultobj = Py_BuildValue("i",_result);
1449 {
1450 if (_obj1)
1451 delete _arg1;
1452 }
1453 return _resultobj;
1454 }
1455
1456 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
1457 static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
1458 PyObject * _resultobj;
1459 int _result;
1460 wxChoice * _arg0;
1461 PyObject * _argo0 = 0;
1462 char *_kwnames[] = { "self", NULL };
1463
1464 self = self;
1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
1466 return NULL;
1467 if (_argo0) {
1468 if (_argo0 == Py_None) { _arg0 = NULL; }
1469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
1471 return NULL;
1472 }
1473 }
1474 {
1475 wxPy_BEGIN_ALLOW_THREADS;
1476 _result = (int )wxChoice_GetColumns(_arg0);
1477
1478 wxPy_END_ALLOW_THREADS;
1479 } _resultobj = Py_BuildValue("i",_result);
1480 return _resultobj;
1481 }
1482
1483 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
1484 static PyObject *_wrap_wxChoice_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1485 PyObject * _resultobj;
1486 int _result;
1487 wxChoice * _arg0;
1488 PyObject * _argo0 = 0;
1489 char *_kwnames[] = { "self", NULL };
1490
1491 self = self;
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetSelection",_kwnames,&_argo0))
1493 return NULL;
1494 if (_argo0) {
1495 if (_argo0 == Py_None) { _arg0 = NULL; }
1496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
1498 return NULL;
1499 }
1500 }
1501 {
1502 wxPy_BEGIN_ALLOW_THREADS;
1503 _result = (int )wxChoice_GetSelection(_arg0);
1504
1505 wxPy_END_ALLOW_THREADS;
1506 } _resultobj = Py_BuildValue("i",_result);
1507 return _resultobj;
1508 }
1509
1510 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1511 static PyObject *_wrap_wxChoice_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
1512 PyObject * _resultobj;
1513 wxString * _result;
1514 wxChoice * _arg0;
1515 int _arg1;
1516 PyObject * _argo0 = 0;
1517 char *_kwnames[] = { "self","n", NULL };
1518
1519 self = self;
1520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_GetString",_kwnames,&_argo0,&_arg1))
1521 return NULL;
1522 if (_argo0) {
1523 if (_argo0 == Py_None) { _arg0 = NULL; }
1524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
1526 return NULL;
1527 }
1528 }
1529 {
1530 wxPy_BEGIN_ALLOW_THREADS;
1531 _result = new wxString (wxChoice_GetString(_arg0,_arg1));
1532
1533 wxPy_END_ALLOW_THREADS;
1534 }{
1535 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1536 }
1537 {
1538 delete _result;
1539 }
1540 return _resultobj;
1541 }
1542
1543 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1544 static PyObject *_wrap_wxChoice_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1545 PyObject * _resultobj;
1546 wxString * _result;
1547 wxChoice * _arg0;
1548 PyObject * _argo0 = 0;
1549 char *_kwnames[] = { "self", NULL };
1550
1551 self = self;
1552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetStringSelection",_kwnames,&_argo0))
1553 return NULL;
1554 if (_argo0) {
1555 if (_argo0 == Py_None) { _arg0 = NULL; }
1556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
1558 return NULL;
1559 }
1560 }
1561 {
1562 wxPy_BEGIN_ALLOW_THREADS;
1563 _result = new wxString (wxChoice_GetStringSelection(_arg0));
1564
1565 wxPy_END_ALLOW_THREADS;
1566 }{
1567 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1568 }
1569 {
1570 delete _result;
1571 }
1572 return _resultobj;
1573 }
1574
1575 #define wxChoice_Number(_swigobj) (_swigobj->Number())
1576 static PyObject *_wrap_wxChoice_Number(PyObject *self, PyObject *args, PyObject *kwargs) {
1577 PyObject * _resultobj;
1578 int _result;
1579 wxChoice * _arg0;
1580 PyObject * _argo0 = 0;
1581 char *_kwnames[] = { "self", NULL };
1582
1583 self = self;
1584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Number",_kwnames,&_argo0))
1585 return NULL;
1586 if (_argo0) {
1587 if (_argo0 == Py_None) { _arg0 = NULL; }
1588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
1590 return NULL;
1591 }
1592 }
1593 {
1594 wxPy_BEGIN_ALLOW_THREADS;
1595 _result = (int )wxChoice_Number(_arg0);
1596
1597 wxPy_END_ALLOW_THREADS;
1598 } _resultobj = Py_BuildValue("i",_result);
1599 return _resultobj;
1600 }
1601
1602 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
1603 static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
1604 PyObject * _resultobj;
1605 wxChoice * _arg0;
1606 int _arg1 = (int ) 1;
1607 PyObject * _argo0 = 0;
1608 char *_kwnames[] = { "self","n", NULL };
1609
1610 self = self;
1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
1612 return NULL;
1613 if (_argo0) {
1614 if (_argo0 == Py_None) { _arg0 = NULL; }
1615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
1617 return NULL;
1618 }
1619 }
1620 {
1621 wxPy_BEGIN_ALLOW_THREADS;
1622 wxChoice_SetColumns(_arg0,_arg1);
1623
1624 wxPy_END_ALLOW_THREADS;
1625 } Py_INCREF(Py_None);
1626 _resultobj = Py_None;
1627 return _resultobj;
1628 }
1629
1630 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
1631 static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1632 PyObject * _resultobj;
1633 wxChoice * _arg0;
1634 int _arg1;
1635 PyObject * _argo0 = 0;
1636 char *_kwnames[] = { "self","n", NULL };
1637
1638 self = self;
1639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
1640 return NULL;
1641 if (_argo0) {
1642 if (_argo0 == Py_None) { _arg0 = NULL; }
1643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
1645 return NULL;
1646 }
1647 }
1648 {
1649 wxPy_BEGIN_ALLOW_THREADS;
1650 wxChoice_SetSelection(_arg0,_arg1);
1651
1652 wxPy_END_ALLOW_THREADS;
1653 } Py_INCREF(Py_None);
1654 _resultobj = Py_None;
1655 return _resultobj;
1656 }
1657
1658 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
1659 static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
1660 PyObject * _resultobj;
1661 wxChoice * _arg0;
1662 wxString * _arg1;
1663 PyObject * _argo0 = 0;
1664 PyObject * _obj1 = 0;
1665 char *_kwnames[] = { "self","string", NULL };
1666
1667 self = self;
1668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
1669 return NULL;
1670 if (_argo0) {
1671 if (_argo0 == Py_None) { _arg0 = NULL; }
1672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
1673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
1674 return NULL;
1675 }
1676 }
1677 {
1678 #if PYTHON_API_VERSION >= 1009
1679 char* tmpPtr; int tmpSize;
1680 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1681 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1682 return NULL;
1683 }
1684 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1685 return NULL;
1686 _arg1 = new wxString(tmpPtr, tmpSize);
1687 #else
1688 if (!PyString_Check(_obj1)) {
1689 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1690 return NULL;
1691 }
1692 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1693 #endif
1694 }
1695 {
1696 wxPy_BEGIN_ALLOW_THREADS;
1697 wxChoice_SetStringSelection(_arg0,*_arg1);
1698
1699 wxPy_END_ALLOW_THREADS;
1700 } Py_INCREF(Py_None);
1701 _resultobj = Py_None;
1702 {
1703 if (_obj1)
1704 delete _arg1;
1705 }
1706 return _resultobj;
1707 }
1708
1709 static void *SwigwxComboBoxTowxChoice(void *ptr) {
1710 wxComboBox *src;
1711 wxChoice *dest;
1712 src = (wxComboBox *) ptr;
1713 dest = (wxChoice *) src;
1714 return (void *) dest;
1715 }
1716
1717 static void *SwigwxComboBoxTowxControl(void *ptr) {
1718 wxComboBox *src;
1719 wxControl *dest;
1720 src = (wxComboBox *) ptr;
1721 dest = (wxControl *) src;
1722 return (void *) dest;
1723 }
1724
1725 static void *SwigwxComboBoxTowxWindow(void *ptr) {
1726 wxComboBox *src;
1727 wxWindow *dest;
1728 src = (wxComboBox *) ptr;
1729 dest = (wxWindow *) src;
1730 return (void *) dest;
1731 }
1732
1733 static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
1734 wxComboBox *src;
1735 wxEvtHandler *dest;
1736 src = (wxComboBox *) ptr;
1737 dest = (wxEvtHandler *) src;
1738 return (void *) dest;
1739 }
1740
1741 #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))
1742 static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1743 PyObject * _resultobj;
1744 wxComboBox * _result;
1745 wxWindow * _arg0;
1746 wxWindowID _arg1;
1747 char * _arg2 = (char *) "";
1748 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1749 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1750 int _arg5 = (int ) 0;
1751 wxString * _arg6 = (wxString *) NULL;
1752 long _arg7 = (long ) 0;
1753 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
1754 char * _arg9 = (char *) "comboBox";
1755 PyObject * _argo0 = 0;
1756 wxPoint temp;
1757 PyObject * _obj3 = 0;
1758 wxSize temp0;
1759 PyObject * _obj4 = 0;
1760 PyObject * _obj6 = 0;
1761 PyObject * _argo8 = 0;
1762 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
1763 char _ptemp[128];
1764
1765 self = self;
1766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOOlOs:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_arg9))
1767 return NULL;
1768 if (_argo0) {
1769 if (_argo0 == Py_None) { _arg0 = NULL; }
1770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1772 return NULL;
1773 }
1774 }
1775 if (_obj3)
1776 {
1777 _arg3 = &temp;
1778 if (! wxPoint_helper(_obj3, &_arg3))
1779 return NULL;
1780 }
1781 if (_obj4)
1782 {
1783 _arg4 = &temp0;
1784 if (! wxSize_helper(_obj4, &_arg4))
1785 return NULL;
1786 }
1787 if (_obj6)
1788 {
1789 _arg6 = wxString_LIST_helper(_obj6);
1790 if (_arg6 == NULL) {
1791 return NULL;
1792 }
1793 }
1794 if (_argo8) {
1795 if (_argo8 == Py_None) { _arg8 = NULL; }
1796 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
1797 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1798 return NULL;
1799 }
1800 }
1801 {
1802 if (_obj6) {
1803 _arg5 = PyList_Size(_obj6);
1804 }
1805 else {
1806 _arg5 = 0;
1807 }
1808 }
1809 {
1810 wxPy_BEGIN_ALLOW_THREADS;
1811 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
1812
1813 wxPy_END_ALLOW_THREADS;
1814 } if (_result) {
1815 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
1816 _resultobj = Py_BuildValue("s",_ptemp);
1817 } else {
1818 Py_INCREF(Py_None);
1819 _resultobj = Py_None;
1820 }
1821 {
1822 delete [] _arg6;
1823 }
1824 return _resultobj;
1825 }
1826
1827 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1828 static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
1829 PyObject * _resultobj;
1830 wxComboBox * _arg0;
1831 wxString * _arg1;
1832 PyObject * _argo0 = 0;
1833 PyObject * _obj1 = 0;
1834 char *_kwnames[] = { "self","item", NULL };
1835
1836 self = self;
1837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_Append",_kwnames,&_argo0,&_obj1))
1838 return NULL;
1839 if (_argo0) {
1840 if (_argo0 == Py_None) { _arg0 = NULL; }
1841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
1842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1843 return NULL;
1844 }
1845 }
1846 {
1847 #if PYTHON_API_VERSION >= 1009
1848 char* tmpPtr; int tmpSize;
1849 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
1850 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1851 return NULL;
1852 }
1853 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1854 return NULL;
1855 _arg1 = new wxString(tmpPtr, tmpSize);
1856 #else
1857 if (!PyString_Check(_obj1)) {
1858 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1859 return NULL;
1860 }
1861 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1862 #endif
1863 }
1864 {
1865 wxPy_BEGIN_ALLOW_THREADS;
1866 wxComboBox_Append(_arg0,*_arg1);
1867
1868 wxPy_END_ALLOW_THREADS;
1869 } Py_INCREF(Py_None);
1870 _resultobj = Py_None;
1871 {
1872 if (_obj1)
1873 delete _arg1;
1874 }
1875 return _resultobj;
1876 }
1877
1878 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1879 static PyObject *_wrap_wxComboBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
1880 PyObject * _resultobj;
1881 wxComboBox * _arg0;
1882 PyObject * _argo0 = 0;
1883 char *_kwnames[] = { "self", NULL };
1884
1885 self = self;
1886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Clear",_kwnames,&_argo0))
1887 return NULL;
1888 if (_argo0) {
1889 if (_argo0 == Py_None) { _arg0 = NULL; }
1890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
1891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1892 return NULL;
1893 }
1894 }
1895 {
1896 wxPy_BEGIN_ALLOW_THREADS;
1897 wxComboBox_Clear(_arg0);
1898
1899 wxPy_END_ALLOW_THREADS;
1900 } Py_INCREF(Py_None);
1901 _resultobj = Py_None;
1902 return _resultobj;
1903 }
1904
1905 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1906 static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject * _resultobj;
1908 wxComboBox * _arg0;
1909 PyObject * _argo0 = 0;
1910 char *_kwnames[] = { "self", NULL };
1911
1912 self = self;
1913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
1914 return NULL;
1915 if (_argo0) {
1916 if (_argo0 == Py_None) { _arg0 = NULL; }
1917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
1918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1919 return NULL;
1920 }
1921 }
1922 {
1923 wxPy_BEGIN_ALLOW_THREADS;
1924 wxComboBox_Copy(_arg0);
1925
1926 wxPy_END_ALLOW_THREADS;
1927 } Py_INCREF(Py_None);
1928 _resultobj = Py_None;
1929 return _resultobj;
1930 }
1931
1932 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1933 static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
1934 PyObject * _resultobj;
1935 wxComboBox * _arg0;
1936 PyObject * _argo0 = 0;
1937 char *_kwnames[] = { "self", NULL };
1938
1939 self = self;
1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
1941 return NULL;
1942 if (_argo0) {
1943 if (_argo0 == Py_None) { _arg0 = NULL; }
1944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
1945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1946 return NULL;
1947 }
1948 }
1949 {
1950 wxPy_BEGIN_ALLOW_THREADS;
1951 wxComboBox_Cut(_arg0);
1952
1953 wxPy_END_ALLOW_THREADS;
1954 } Py_INCREF(Py_None);
1955 _resultobj = Py_None;
1956 return _resultobj;
1957 }
1958
1959 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1960 static PyObject *_wrap_wxComboBox_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
1961 PyObject * _resultobj;
1962 wxComboBox * _arg0;
1963 int _arg1;
1964 PyObject * _argo0 = 0;
1965 char *_kwnames[] = { "self","n", NULL };
1966
1967 self = self;
1968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_Delete",_kwnames,&_argo0,&_arg1))
1969 return NULL;
1970 if (_argo0) {
1971 if (_argo0 == Py_None) { _arg0 = NULL; }
1972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
1973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
1974 return NULL;
1975 }
1976 }
1977 {
1978 wxPy_BEGIN_ALLOW_THREADS;
1979 wxComboBox_Delete(_arg0,_arg1);
1980
1981 wxPy_END_ALLOW_THREADS;
1982 } Py_INCREF(Py_None);
1983 _resultobj = Py_None;
1984 return _resultobj;
1985 }
1986
1987 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1988 static PyObject *_wrap_wxComboBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
1989 PyObject * _resultobj;
1990 int _result;
1991 wxComboBox * _arg0;
1992 wxString * _arg1;
1993 PyObject * _argo0 = 0;
1994 PyObject * _obj1 = 0;
1995 char *_kwnames[] = { "self","string", NULL };
1996
1997 self = self;
1998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_FindString",_kwnames,&_argo0,&_obj1))
1999 return NULL;
2000 if (_argo0) {
2001 if (_argo0 == Py_None) { _arg0 = NULL; }
2002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
2004 return NULL;
2005 }
2006 }
2007 {
2008 #if PYTHON_API_VERSION >= 1009
2009 char* tmpPtr; int tmpSize;
2010 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2011 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2012 return NULL;
2013 }
2014 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2015 return NULL;
2016 _arg1 = new wxString(tmpPtr, tmpSize);
2017 #else
2018 if (!PyString_Check(_obj1)) {
2019 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2020 return NULL;
2021 }
2022 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2023 #endif
2024 }
2025 {
2026 wxPy_BEGIN_ALLOW_THREADS;
2027 _result = (int )wxComboBox_FindString(_arg0,*_arg1);
2028
2029 wxPy_END_ALLOW_THREADS;
2030 } _resultobj = Py_BuildValue("i",_result);
2031 {
2032 if (_obj1)
2033 delete _arg1;
2034 }
2035 return _resultobj;
2036 }
2037
2038 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2039 static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject * _resultobj;
2041 long _result;
2042 wxComboBox * _arg0;
2043 PyObject * _argo0 = 0;
2044 char *_kwnames[] = { "self", NULL };
2045
2046 self = self;
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
2048 return NULL;
2049 if (_argo0) {
2050 if (_argo0 == Py_None) { _arg0 = NULL; }
2051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2053 return NULL;
2054 }
2055 }
2056 {
2057 wxPy_BEGIN_ALLOW_THREADS;
2058 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
2059
2060 wxPy_END_ALLOW_THREADS;
2061 } _resultobj = Py_BuildValue("l",_result);
2062 return _resultobj;
2063 }
2064
2065 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2066 static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2067 PyObject * _resultobj;
2068 long _result;
2069 wxComboBox * _arg0;
2070 PyObject * _argo0 = 0;
2071 char *_kwnames[] = { "self", NULL };
2072
2073 self = self;
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
2075 return NULL;
2076 if (_argo0) {
2077 if (_argo0 == Py_None) { _arg0 = NULL; }
2078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2080 return NULL;
2081 }
2082 }
2083 {
2084 wxPy_BEGIN_ALLOW_THREADS;
2085 _result = (long )wxComboBox_GetLastPosition(_arg0);
2086
2087 wxPy_END_ALLOW_THREADS;
2088 } _resultobj = Py_BuildValue("l",_result);
2089 return _resultobj;
2090 }
2091
2092 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2093 static PyObject *_wrap_wxComboBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject * _resultobj;
2095 int _result;
2096 wxComboBox * _arg0;
2097 PyObject * _argo0 = 0;
2098 char *_kwnames[] = { "self", NULL };
2099
2100 self = self;
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetSelection",_kwnames,&_argo0))
2102 return NULL;
2103 if (_argo0) {
2104 if (_argo0 == Py_None) { _arg0 = NULL; }
2105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
2107 return NULL;
2108 }
2109 }
2110 {
2111 wxPy_BEGIN_ALLOW_THREADS;
2112 _result = (int )wxComboBox_GetSelection(_arg0);
2113
2114 wxPy_END_ALLOW_THREADS;
2115 } _resultobj = Py_BuildValue("i",_result);
2116 return _resultobj;
2117 }
2118
2119 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2120 static PyObject *_wrap_wxComboBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2121 PyObject * _resultobj;
2122 wxString * _result;
2123 wxComboBox * _arg0;
2124 int _arg1;
2125 PyObject * _argo0 = 0;
2126 char *_kwnames[] = { "self","n", NULL };
2127
2128 self = self;
2129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetString",_kwnames,&_argo0,&_arg1))
2130 return NULL;
2131 if (_argo0) {
2132 if (_argo0 == Py_None) { _arg0 = NULL; }
2133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
2135 return NULL;
2136 }
2137 }
2138 {
2139 wxPy_BEGIN_ALLOW_THREADS;
2140 _result = new wxString (wxComboBox_GetString(_arg0,_arg1));
2141
2142 wxPy_END_ALLOW_THREADS;
2143 }{
2144 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2145 }
2146 {
2147 delete _result;
2148 }
2149 return _resultobj;
2150 }
2151
2152 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2153 static PyObject *_wrap_wxComboBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2154 PyObject * _resultobj;
2155 wxString * _result;
2156 wxComboBox * _arg0;
2157 PyObject * _argo0 = 0;
2158 char *_kwnames[] = { "self", NULL };
2159
2160 self = self;
2161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetStringSelection",_kwnames,&_argo0))
2162 return NULL;
2163 if (_argo0) {
2164 if (_argo0 == Py_None) { _arg0 = NULL; }
2165 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
2167 return NULL;
2168 }
2169 }
2170 {
2171 wxPy_BEGIN_ALLOW_THREADS;
2172 _result = new wxString (wxComboBox_GetStringSelection(_arg0));
2173
2174 wxPy_END_ALLOW_THREADS;
2175 }{
2176 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2177 }
2178 {
2179 delete _result;
2180 }
2181 return _resultobj;
2182 }
2183
2184 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2185 static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject * _resultobj;
2187 wxString * _result;
2188 wxComboBox * _arg0;
2189 PyObject * _argo0 = 0;
2190 char *_kwnames[] = { "self", NULL };
2191
2192 self = self;
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
2194 return NULL;
2195 if (_argo0) {
2196 if (_argo0 == Py_None) { _arg0 = NULL; }
2197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2199 return NULL;
2200 }
2201 }
2202 {
2203 wxPy_BEGIN_ALLOW_THREADS;
2204 _result = new wxString (wxComboBox_GetValue(_arg0));
2205
2206 wxPy_END_ALLOW_THREADS;
2207 }{
2208 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2209 }
2210 {
2211 delete _result;
2212 }
2213 return _resultobj;
2214 }
2215
2216 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
2217 static PyObject *_wrap_wxComboBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) {
2218 PyObject * _resultobj;
2219 int _result;
2220 wxComboBox * _arg0;
2221 PyObject * _argo0 = 0;
2222 char *_kwnames[] = { "self", NULL };
2223
2224 self = self;
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Number",_kwnames,&_argo0))
2226 return NULL;
2227 if (_argo0) {
2228 if (_argo0 == Py_None) { _arg0 = NULL; }
2229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
2231 return NULL;
2232 }
2233 }
2234 {
2235 wxPy_BEGIN_ALLOW_THREADS;
2236 _result = (int )wxComboBox_Number(_arg0);
2237
2238 wxPy_END_ALLOW_THREADS;
2239 } _resultobj = Py_BuildValue("i",_result);
2240 return _resultobj;
2241 }
2242
2243 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2244 static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject * _resultobj;
2246 wxComboBox * _arg0;
2247 PyObject * _argo0 = 0;
2248 char *_kwnames[] = { "self", NULL };
2249
2250 self = self;
2251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
2252 return NULL;
2253 if (_argo0) {
2254 if (_argo0 == Py_None) { _arg0 = NULL; }
2255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2257 return NULL;
2258 }
2259 }
2260 {
2261 wxPy_BEGIN_ALLOW_THREADS;
2262 wxComboBox_Paste(_arg0);
2263
2264 wxPy_END_ALLOW_THREADS;
2265 } Py_INCREF(Py_None);
2266 _resultobj = Py_None;
2267 return _resultobj;
2268 }
2269
2270 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2271 static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2272 PyObject * _resultobj;
2273 wxComboBox * _arg0;
2274 long _arg1;
2275 long _arg2;
2276 wxString * _arg3;
2277 PyObject * _argo0 = 0;
2278 PyObject * _obj3 = 0;
2279 char *_kwnames[] = { "self","from","to","text", NULL };
2280
2281 self = self;
2282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
2283 return NULL;
2284 if (_argo0) {
2285 if (_argo0 == Py_None) { _arg0 = NULL; }
2286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
2288 return NULL;
2289 }
2290 }
2291 {
2292 #if PYTHON_API_VERSION >= 1009
2293 char* tmpPtr; int tmpSize;
2294 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
2295 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2296 return NULL;
2297 }
2298 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
2299 return NULL;
2300 _arg3 = new wxString(tmpPtr, tmpSize);
2301 #else
2302 if (!PyString_Check(_obj3)) {
2303 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2304 return NULL;
2305 }
2306 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
2307 #endif
2308 }
2309 {
2310 wxPy_BEGIN_ALLOW_THREADS;
2311 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
2312
2313 wxPy_END_ALLOW_THREADS;
2314 } Py_INCREF(Py_None);
2315 _resultobj = Py_None;
2316 {
2317 if (_obj3)
2318 delete _arg3;
2319 }
2320 return _resultobj;
2321 }
2322
2323 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2324 static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject * _resultobj;
2326 wxComboBox * _arg0;
2327 long _arg1;
2328 long _arg2;
2329 PyObject * _argo0 = 0;
2330 char *_kwnames[] = { "self","from","to", NULL };
2331
2332 self = self;
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
2334 return NULL;
2335 if (_argo0) {
2336 if (_argo0 == Py_None) { _arg0 = NULL; }
2337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
2339 return NULL;
2340 }
2341 }
2342 {
2343 wxPy_BEGIN_ALLOW_THREADS;
2344 wxComboBox_Remove(_arg0,_arg1,_arg2);
2345
2346 wxPy_END_ALLOW_THREADS;
2347 } Py_INCREF(Py_None);
2348 _resultobj = Py_None;
2349 return _resultobj;
2350 }
2351
2352 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
2353 static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2354 PyObject * _resultobj;
2355 wxComboBox * _arg0;
2356 long _arg1;
2357 PyObject * _argo0 = 0;
2358 char *_kwnames[] = { "self","pos", NULL };
2359
2360 self = self;
2361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
2362 return NULL;
2363 if (_argo0) {
2364 if (_argo0 == Py_None) { _arg0 = NULL; }
2365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
2367 return NULL;
2368 }
2369 }
2370 {
2371 wxPy_BEGIN_ALLOW_THREADS;
2372 wxComboBox_SetInsertionPoint(_arg0,_arg1);
2373
2374 wxPy_END_ALLOW_THREADS;
2375 } Py_INCREF(Py_None);
2376 _resultobj = Py_None;
2377 return _resultobj;
2378 }
2379
2380 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
2381 static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2382 PyObject * _resultobj;
2383 wxComboBox * _arg0;
2384 PyObject * _argo0 = 0;
2385 char *_kwnames[] = { "self", NULL };
2386
2387 self = self;
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
2389 return NULL;
2390 if (_argo0) {
2391 if (_argo0 == Py_None) { _arg0 = NULL; }
2392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
2394 return NULL;
2395 }
2396 }
2397 {
2398 wxPy_BEGIN_ALLOW_THREADS;
2399 wxComboBox_SetInsertionPointEnd(_arg0);
2400
2401 wxPy_END_ALLOW_THREADS;
2402 } Py_INCREF(Py_None);
2403 _resultobj = Py_None;
2404 return _resultobj;
2405 }
2406
2407 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2408 static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject * _resultobj;
2410 wxComboBox * _arg0;
2411 int _arg1;
2412 PyObject * _argo0 = 0;
2413 char *_kwnames[] = { "self","n", NULL };
2414
2415 self = self;
2416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
2417 return NULL;
2418 if (_argo0) {
2419 if (_argo0 == Py_None) { _arg0 = NULL; }
2420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
2422 return NULL;
2423 }
2424 }
2425 {
2426 wxPy_BEGIN_ALLOW_THREADS;
2427 wxComboBox_SetSelection(_arg0,_arg1);
2428
2429 wxPy_END_ALLOW_THREADS;
2430 } Py_INCREF(Py_None);
2431 _resultobj = Py_None;
2432 return _resultobj;
2433 }
2434
2435 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2436 static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2437 PyObject * _resultobj;
2438 wxComboBox * _arg0;
2439 long _arg1;
2440 long _arg2;
2441 PyObject * _argo0 = 0;
2442 char *_kwnames[] = { "self","from","to", NULL };
2443
2444 self = self;
2445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
2446 return NULL;
2447 if (_argo0) {
2448 if (_argo0 == Py_None) { _arg0 = NULL; }
2449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
2451 return NULL;
2452 }
2453 }
2454 {
2455 wxPy_BEGIN_ALLOW_THREADS;
2456 wxComboBox_SetMark(_arg0,_arg1,_arg2);
2457
2458 wxPy_END_ALLOW_THREADS;
2459 } Py_INCREF(Py_None);
2460 _resultobj = Py_None;
2461 return _resultobj;
2462 }
2463
2464 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2465 static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2466 PyObject * _resultobj;
2467 wxComboBox * _arg0;
2468 wxString * _arg1;
2469 PyObject * _argo0 = 0;
2470 PyObject * _obj1 = 0;
2471 char *_kwnames[] = { "self","text", NULL };
2472
2473 self = self;
2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
2475 return NULL;
2476 if (_argo0) {
2477 if (_argo0 == Py_None) { _arg0 = NULL; }
2478 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2479 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
2480 return NULL;
2481 }
2482 }
2483 {
2484 #if PYTHON_API_VERSION >= 1009
2485 char* tmpPtr; int tmpSize;
2486 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2487 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2488 return NULL;
2489 }
2490 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2491 return NULL;
2492 _arg1 = new wxString(tmpPtr, tmpSize);
2493 #else
2494 if (!PyString_Check(_obj1)) {
2495 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2496 return NULL;
2497 }
2498 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2499 #endif
2500 }
2501 {
2502 wxPy_BEGIN_ALLOW_THREADS;
2503 wxComboBox_SetValue(_arg0,*_arg1);
2504
2505 wxPy_END_ALLOW_THREADS;
2506 } Py_INCREF(Py_None);
2507 _resultobj = Py_None;
2508 {
2509 if (_obj1)
2510 delete _arg1;
2511 }
2512 return _resultobj;
2513 }
2514
2515 static void *SwigwxGaugeTowxControl(void *ptr) {
2516 wxGauge *src;
2517 wxControl *dest;
2518 src = (wxGauge *) ptr;
2519 dest = (wxControl *) src;
2520 return (void *) dest;
2521 }
2522
2523 static void *SwigwxGaugeTowxWindow(void *ptr) {
2524 wxGauge *src;
2525 wxWindow *dest;
2526 src = (wxGauge *) ptr;
2527 dest = (wxWindow *) src;
2528 return (void *) dest;
2529 }
2530
2531 static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
2532 wxGauge *src;
2533 wxEvtHandler *dest;
2534 src = (wxGauge *) ptr;
2535 dest = (wxEvtHandler *) src;
2536 return (void *) dest;
2537 }
2538
2539 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2540 static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject * _resultobj;
2542 wxGauge * _result;
2543 wxWindow * _arg0;
2544 wxWindowID _arg1;
2545 int _arg2;
2546 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2547 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2548 long _arg5 = (long ) wxGA_HORIZONTAL;
2549 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
2550 char * _arg7 = (char *) "gauge";
2551 PyObject * _argo0 = 0;
2552 wxPoint temp;
2553 PyObject * _obj3 = 0;
2554 wxSize temp0;
2555 PyObject * _obj4 = 0;
2556 PyObject * _argo6 = 0;
2557 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
2558 char _ptemp[128];
2559
2560 self = self;
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOs:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
2562 return NULL;
2563 if (_argo0) {
2564 if (_argo0 == Py_None) { _arg0 = NULL; }
2565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
2567 return NULL;
2568 }
2569 }
2570 if (_obj3)
2571 {
2572 _arg3 = &temp;
2573 if (! wxPoint_helper(_obj3, &_arg3))
2574 return NULL;
2575 }
2576 if (_obj4)
2577 {
2578 _arg4 = &temp0;
2579 if (! wxSize_helper(_obj4, &_arg4))
2580 return NULL;
2581 }
2582 if (_argo6) {
2583 if (_argo6 == Py_None) { _arg6 = NULL; }
2584 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
2585 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
2586 return NULL;
2587 }
2588 }
2589 {
2590 wxPy_BEGIN_ALLOW_THREADS;
2591 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
2592
2593 wxPy_END_ALLOW_THREADS;
2594 } if (_result) {
2595 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
2596 _resultobj = Py_BuildValue("s",_ptemp);
2597 } else {
2598 Py_INCREF(Py_None);
2599 _resultobj = Py_None;
2600 }
2601 return _resultobj;
2602 }
2603
2604 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
2605 static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
2606 PyObject * _resultobj;
2607 int _result;
2608 wxGauge * _arg0;
2609 PyObject * _argo0 = 0;
2610 char *_kwnames[] = { "self", NULL };
2611
2612 self = self;
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
2614 return NULL;
2615 if (_argo0) {
2616 if (_argo0 == Py_None) { _arg0 = NULL; }
2617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
2618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
2619 return NULL;
2620 }
2621 }
2622 {
2623 wxPy_BEGIN_ALLOW_THREADS;
2624 _result = (int )wxGauge_GetBezelFace(_arg0);
2625
2626 wxPy_END_ALLOW_THREADS;
2627 } _resultobj = Py_BuildValue("i",_result);
2628 return _resultobj;
2629 }
2630
2631 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
2632 static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
2633 PyObject * _resultobj;
2634 int _result;
2635 wxGauge * _arg0;
2636 PyObject * _argo0 = 0;
2637 char *_kwnames[] = { "self", NULL };
2638
2639 self = self;
2640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
2641 return NULL;
2642 if (_argo0) {
2643 if (_argo0 == Py_None) { _arg0 = NULL; }
2644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
2645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
2646 return NULL;
2647 }
2648 }
2649 {
2650 wxPy_BEGIN_ALLOW_THREADS;
2651 _result = (int )wxGauge_GetRange(_arg0);
2652
2653 wxPy_END_ALLOW_THREADS;
2654 } _resultobj = Py_BuildValue("i",_result);
2655 return _resultobj;
2656 }
2657
2658 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
2659 static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2660 PyObject * _resultobj;
2661 int _result;
2662 wxGauge * _arg0;
2663 PyObject * _argo0 = 0;
2664 char *_kwnames[] = { "self", NULL };
2665
2666 self = self;
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
2668 return NULL;
2669 if (_argo0) {
2670 if (_argo0 == Py_None) { _arg0 = NULL; }
2671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
2672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
2673 return NULL;
2674 }
2675 }
2676 {
2677 wxPy_BEGIN_ALLOW_THREADS;
2678 _result = (int )wxGauge_GetShadowWidth(_arg0);
2679
2680 wxPy_END_ALLOW_THREADS;
2681 } _resultobj = Py_BuildValue("i",_result);
2682 return _resultobj;
2683 }
2684
2685 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
2686 static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject * _resultobj;
2688 int _result;
2689 wxGauge * _arg0;
2690 PyObject * _argo0 = 0;
2691 char *_kwnames[] = { "self", NULL };
2692
2693 self = self;
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
2695 return NULL;
2696 if (_argo0) {
2697 if (_argo0 == Py_None) { _arg0 = NULL; }
2698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
2699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
2700 return NULL;
2701 }
2702 }
2703 {
2704 wxPy_BEGIN_ALLOW_THREADS;
2705 _result = (int )wxGauge_GetValue(_arg0);
2706
2707 wxPy_END_ALLOW_THREADS;
2708 } _resultobj = Py_BuildValue("i",_result);
2709 return _resultobj;
2710 }
2711
2712 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
2713 static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
2714 PyObject * _resultobj;
2715 wxGauge * _arg0;
2716 int _arg1;
2717 PyObject * _argo0 = 0;
2718 char *_kwnames[] = { "self","width", NULL };
2719
2720 self = self;
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
2722 return NULL;
2723 if (_argo0) {
2724 if (_argo0 == Py_None) { _arg0 = NULL; }
2725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
2726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
2727 return NULL;
2728 }
2729 }
2730 {
2731 wxPy_BEGIN_ALLOW_THREADS;
2732 wxGauge_SetBezelFace(_arg0,_arg1);
2733
2734 wxPy_END_ALLOW_THREADS;
2735 } Py_INCREF(Py_None);
2736 _resultobj = Py_None;
2737 return _resultobj;
2738 }
2739
2740 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
2741 static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
2742 PyObject * _resultobj;
2743 wxGauge * _arg0;
2744 int _arg1;
2745 PyObject * _argo0 = 0;
2746 char *_kwnames[] = { "self","range", NULL };
2747
2748 self = self;
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
2750 return NULL;
2751 if (_argo0) {
2752 if (_argo0 == Py_None) { _arg0 = NULL; }
2753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
2754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
2755 return NULL;
2756 }
2757 }
2758 {
2759 wxPy_BEGIN_ALLOW_THREADS;
2760 wxGauge_SetRange(_arg0,_arg1);
2761
2762 wxPy_END_ALLOW_THREADS;
2763 } Py_INCREF(Py_None);
2764 _resultobj = Py_None;
2765 return _resultobj;
2766 }
2767
2768 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
2769 static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2770 PyObject * _resultobj;
2771 wxGauge * _arg0;
2772 int _arg1;
2773 PyObject * _argo0 = 0;
2774 char *_kwnames[] = { "self","width", NULL };
2775
2776 self = self;
2777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
2778 return NULL;
2779 if (_argo0) {
2780 if (_argo0 == Py_None) { _arg0 = NULL; }
2781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
2782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
2783 return NULL;
2784 }
2785 }
2786 {
2787 wxPy_BEGIN_ALLOW_THREADS;
2788 wxGauge_SetShadowWidth(_arg0,_arg1);
2789
2790 wxPy_END_ALLOW_THREADS;
2791 } Py_INCREF(Py_None);
2792 _resultobj = Py_None;
2793 return _resultobj;
2794 }
2795
2796 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2797 static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2798 PyObject * _resultobj;
2799 wxGauge * _arg0;
2800 int _arg1;
2801 PyObject * _argo0 = 0;
2802 char *_kwnames[] = { "self","pos", NULL };
2803
2804 self = self;
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
2806 return NULL;
2807 if (_argo0) {
2808 if (_argo0 == Py_None) { _arg0 = NULL; }
2809 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
2810 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
2811 return NULL;
2812 }
2813 }
2814 {
2815 wxPy_BEGIN_ALLOW_THREADS;
2816 wxGauge_SetValue(_arg0,_arg1);
2817
2818 wxPy_END_ALLOW_THREADS;
2819 } Py_INCREF(Py_None);
2820 _resultobj = Py_None;
2821 return _resultobj;
2822 }
2823
2824 static void *SwigwxStaticBoxTowxControl(void *ptr) {
2825 wxStaticBox *src;
2826 wxControl *dest;
2827 src = (wxStaticBox *) ptr;
2828 dest = (wxControl *) src;
2829 return (void *) dest;
2830 }
2831
2832 static void *SwigwxStaticBoxTowxWindow(void *ptr) {
2833 wxStaticBox *src;
2834 wxWindow *dest;
2835 src = (wxStaticBox *) ptr;
2836 dest = (wxWindow *) src;
2837 return (void *) dest;
2838 }
2839
2840 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
2841 wxStaticBox *src;
2842 wxEvtHandler *dest;
2843 src = (wxStaticBox *) ptr;
2844 dest = (wxEvtHandler *) src;
2845 return (void *) dest;
2846 }
2847
2848 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2849 static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2850 PyObject * _resultobj;
2851 wxStaticBox * _result;
2852 wxWindow * _arg0;
2853 wxWindowID _arg1;
2854 wxString * _arg2;
2855 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2856 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2857 long _arg5 = (long ) 0;
2858 char * _arg6 = (char *) "staticBox";
2859 PyObject * _argo0 = 0;
2860 PyObject * _obj2 = 0;
2861 wxPoint temp;
2862 PyObject * _obj3 = 0;
2863 wxSize temp0;
2864 PyObject * _obj4 = 0;
2865 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
2866 char _ptemp[128];
2867
2868 self = self;
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
2870 return NULL;
2871 if (_argo0) {
2872 if (_argo0 == Py_None) { _arg0 = NULL; }
2873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
2875 return NULL;
2876 }
2877 }
2878 {
2879 #if PYTHON_API_VERSION >= 1009
2880 char* tmpPtr; int tmpSize;
2881 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2882 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2883 return NULL;
2884 }
2885 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2886 return NULL;
2887 _arg2 = new wxString(tmpPtr, tmpSize);
2888 #else
2889 if (!PyString_Check(_obj2)) {
2890 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2891 return NULL;
2892 }
2893 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2894 #endif
2895 }
2896 if (_obj3)
2897 {
2898 _arg3 = &temp;
2899 if (! wxPoint_helper(_obj3, &_arg3))
2900 return NULL;
2901 }
2902 if (_obj4)
2903 {
2904 _arg4 = &temp0;
2905 if (! wxSize_helper(_obj4, &_arg4))
2906 return NULL;
2907 }
2908 {
2909 wxPy_BEGIN_ALLOW_THREADS;
2910 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
2911
2912 wxPy_END_ALLOW_THREADS;
2913 } if (_result) {
2914 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
2915 _resultobj = Py_BuildValue("s",_ptemp);
2916 } else {
2917 Py_INCREF(Py_None);
2918 _resultobj = Py_None;
2919 }
2920 {
2921 if (_obj2)
2922 delete _arg2;
2923 }
2924 return _resultobj;
2925 }
2926
2927 static void *SwigwxStaticLineTowxControl(void *ptr) {
2928 wxStaticLine *src;
2929 wxControl *dest;
2930 src = (wxStaticLine *) ptr;
2931 dest = (wxControl *) src;
2932 return (void *) dest;
2933 }
2934
2935 static void *SwigwxStaticLineTowxWindow(void *ptr) {
2936 wxStaticLine *src;
2937 wxWindow *dest;
2938 src = (wxStaticLine *) ptr;
2939 dest = (wxWindow *) src;
2940 return (void *) dest;
2941 }
2942
2943 static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
2944 wxStaticLine *src;
2945 wxEvtHandler *dest;
2946 src = (wxStaticLine *) ptr;
2947 dest = (wxEvtHandler *) src;
2948 return (void *) dest;
2949 }
2950
2951 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2952 static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
2953 PyObject * _resultobj;
2954 wxStaticLine * _result;
2955 wxWindow * _arg0;
2956 wxWindowID _arg1;
2957 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2958 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2959 long _arg4 = (long ) wxLI_HORIZONTAL;
2960 char * _arg5 = (char *) "staticLine";
2961 PyObject * _argo0 = 0;
2962 wxPoint temp;
2963 PyObject * _obj2 = 0;
2964 wxSize temp0;
2965 PyObject * _obj3 = 0;
2966 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
2967 char _ptemp[128];
2968
2969 self = self;
2970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
2971 return NULL;
2972 if (_argo0) {
2973 if (_argo0 == Py_None) { _arg0 = NULL; }
2974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
2976 return NULL;
2977 }
2978 }
2979 if (_obj2)
2980 {
2981 _arg2 = &temp;
2982 if (! wxPoint_helper(_obj2, &_arg2))
2983 return NULL;
2984 }
2985 if (_obj3)
2986 {
2987 _arg3 = &temp0;
2988 if (! wxSize_helper(_obj3, &_arg3))
2989 return NULL;
2990 }
2991 {
2992 wxPy_BEGIN_ALLOW_THREADS;
2993 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
2994
2995 wxPy_END_ALLOW_THREADS;
2996 } if (_result) {
2997 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
2998 _resultobj = Py_BuildValue("s",_ptemp);
2999 } else {
3000 Py_INCREF(Py_None);
3001 _resultobj = Py_None;
3002 }
3003 return _resultobj;
3004 }
3005
3006 static void *SwigwxStaticTextTowxControl(void *ptr) {
3007 wxStaticText *src;
3008 wxControl *dest;
3009 src = (wxStaticText *) ptr;
3010 dest = (wxControl *) src;
3011 return (void *) dest;
3012 }
3013
3014 static void *SwigwxStaticTextTowxWindow(void *ptr) {
3015 wxStaticText *src;
3016 wxWindow *dest;
3017 src = (wxStaticText *) ptr;
3018 dest = (wxWindow *) src;
3019 return (void *) dest;
3020 }
3021
3022 static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
3023 wxStaticText *src;
3024 wxEvtHandler *dest;
3025 src = (wxStaticText *) ptr;
3026 dest = (wxEvtHandler *) src;
3027 return (void *) dest;
3028 }
3029
3030 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3031 static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3032 PyObject * _resultobj;
3033 wxStaticText * _result;
3034 wxWindow * _arg0;
3035 wxWindowID _arg1;
3036 wxString * _arg2;
3037 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3038 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3039 long _arg5 = (long ) 0;
3040 char * _arg6 = (char *) "staticText";
3041 PyObject * _argo0 = 0;
3042 PyObject * _obj2 = 0;
3043 wxPoint temp;
3044 PyObject * _obj3 = 0;
3045 wxSize temp0;
3046 PyObject * _obj4 = 0;
3047 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
3048 char _ptemp[128];
3049
3050 self = self;
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6))
3052 return NULL;
3053 if (_argo0) {
3054 if (_argo0 == Py_None) { _arg0 = NULL; }
3055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
3057 return NULL;
3058 }
3059 }
3060 {
3061 #if PYTHON_API_VERSION >= 1009
3062 char* tmpPtr; int tmpSize;
3063 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3064 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3065 return NULL;
3066 }
3067 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3068 return NULL;
3069 _arg2 = new wxString(tmpPtr, tmpSize);
3070 #else
3071 if (!PyString_Check(_obj2)) {
3072 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3073 return NULL;
3074 }
3075 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3076 #endif
3077 }
3078 if (_obj3)
3079 {
3080 _arg3 = &temp;
3081 if (! wxPoint_helper(_obj3, &_arg3))
3082 return NULL;
3083 }
3084 if (_obj4)
3085 {
3086 _arg4 = &temp0;
3087 if (! wxSize_helper(_obj4, &_arg4))
3088 return NULL;
3089 }
3090 {
3091 wxPy_BEGIN_ALLOW_THREADS;
3092 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
3093
3094 wxPy_END_ALLOW_THREADS;
3095 } if (_result) {
3096 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
3097 _resultobj = Py_BuildValue("s",_ptemp);
3098 } else {
3099 Py_INCREF(Py_None);
3100 _resultobj = Py_None;
3101 }
3102 {
3103 if (_obj2)
3104 delete _arg2;
3105 }
3106 return _resultobj;
3107 }
3108
3109 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
3110 static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
3111 PyObject * _resultobj;
3112 wxString * _result;
3113 wxStaticText * _arg0;
3114 PyObject * _argo0 = 0;
3115 char *_kwnames[] = { "self", NULL };
3116
3117 self = self;
3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
3119 return NULL;
3120 if (_argo0) {
3121 if (_argo0 == Py_None) { _arg0 = NULL; }
3122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
3123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
3124 return NULL;
3125 }
3126 }
3127 {
3128 wxPy_BEGIN_ALLOW_THREADS;
3129 _result = new wxString (wxStaticText_GetLabel(_arg0));
3130
3131 wxPy_END_ALLOW_THREADS;
3132 }{
3133 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3134 }
3135 {
3136 delete _result;
3137 }
3138 return _resultobj;
3139 }
3140
3141 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
3142 static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject * _resultobj;
3144 wxStaticText * _arg0;
3145 wxString * _arg1;
3146 PyObject * _argo0 = 0;
3147 PyObject * _obj1 = 0;
3148 char *_kwnames[] = { "self","label", NULL };
3149
3150 self = self;
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
3152 return NULL;
3153 if (_argo0) {
3154 if (_argo0 == Py_None) { _arg0 = NULL; }
3155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
3157 return NULL;
3158 }
3159 }
3160 {
3161 #if PYTHON_API_VERSION >= 1009
3162 char* tmpPtr; int tmpSize;
3163 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3164 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3165 return NULL;
3166 }
3167 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3168 return NULL;
3169 _arg1 = new wxString(tmpPtr, tmpSize);
3170 #else
3171 if (!PyString_Check(_obj1)) {
3172 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3173 return NULL;
3174 }
3175 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3176 #endif
3177 }
3178 {
3179 wxPy_BEGIN_ALLOW_THREADS;
3180 wxStaticText_SetLabel(_arg0,*_arg1);
3181
3182 wxPy_END_ALLOW_THREADS;
3183 } Py_INCREF(Py_None);
3184 _resultobj = Py_None;
3185 {
3186 if (_obj1)
3187 delete _arg1;
3188 }
3189 return _resultobj;
3190 }
3191
3192 static void *SwigwxListBoxTowxControl(void *ptr) {
3193 wxListBox *src;
3194 wxControl *dest;
3195 src = (wxListBox *) ptr;
3196 dest = (wxControl *) src;
3197 return (void *) dest;
3198 }
3199
3200 static void *SwigwxListBoxTowxWindow(void *ptr) {
3201 wxListBox *src;
3202 wxWindow *dest;
3203 src = (wxListBox *) ptr;
3204 dest = (wxWindow *) src;
3205 return (void *) dest;
3206 }
3207
3208 static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
3209 wxListBox *src;
3210 wxEvtHandler *dest;
3211 src = (wxListBox *) ptr;
3212 dest = (wxEvtHandler *) src;
3213 return (void *) dest;
3214 }
3215
3216 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
3217 static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3218 PyObject * _resultobj;
3219 wxListBox * _result;
3220 wxWindow * _arg0;
3221 wxWindowID _arg1;
3222 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
3223 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
3224 int _arg4;
3225 wxString * _arg5 = (wxString *) NULL;
3226 long _arg6 = (long ) 0;
3227 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
3228 char * _arg8 = (char *) "listBox";
3229 PyObject * _argo0 = 0;
3230 wxPoint temp;
3231 PyObject * _obj2 = 0;
3232 wxSize temp0;
3233 PyObject * _obj3 = 0;
3234 PyObject * _obj5 = 0;
3235 PyObject * _argo7 = 0;
3236 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
3237 char _ptemp[128];
3238
3239 self = self;
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
3241 return NULL;
3242 if (_argo0) {
3243 if (_argo0 == Py_None) { _arg0 = NULL; }
3244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
3246 return NULL;
3247 }
3248 }
3249 if (_obj2)
3250 {
3251 _arg2 = &temp;
3252 if (! wxPoint_helper(_obj2, &_arg2))
3253 return NULL;
3254 }
3255 if (_obj3)
3256 {
3257 _arg3 = &temp0;
3258 if (! wxSize_helper(_obj3, &_arg3))
3259 return NULL;
3260 }
3261 if (_obj5)
3262 {
3263 _arg5 = wxString_LIST_helper(_obj5);
3264 if (_arg5 == NULL) {
3265 return NULL;
3266 }
3267 }
3268 if (_argo7) {
3269 if (_argo7 == Py_None) { _arg7 = NULL; }
3270 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
3271 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
3272 return NULL;
3273 }
3274 }
3275 {
3276 if (_obj5) {
3277 _arg4 = PyList_Size(_obj5);
3278 }
3279 else {
3280 _arg4 = 0;
3281 }
3282 }
3283 {
3284 wxPy_BEGIN_ALLOW_THREADS;
3285 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
3286
3287 wxPy_END_ALLOW_THREADS;
3288 } if (_result) {
3289 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
3290 _resultobj = Py_BuildValue("s",_ptemp);
3291 } else {
3292 Py_INCREF(Py_None);
3293 _resultobj = Py_None;
3294 }
3295 {
3296 delete [] _arg5;
3297 }
3298 return _resultobj;
3299 }
3300
3301 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
3302 static PyObject *_wrap_wxListBox_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
3303 PyObject * _resultobj;
3304 wxListBox * _arg0;
3305 wxString * _arg1;
3306 PyObject * _argo0 = 0;
3307 PyObject * _obj1 = 0;
3308 char *_kwnames[] = { "self","item", NULL };
3309
3310 self = self;
3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Append",_kwnames,&_argo0,&_obj1))
3312 return NULL;
3313 if (_argo0) {
3314 if (_argo0 == Py_None) { _arg0 = NULL; }
3315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
3317 return NULL;
3318 }
3319 }
3320 {
3321 #if PYTHON_API_VERSION >= 1009
3322 char* tmpPtr; int tmpSize;
3323 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3324 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3325 return NULL;
3326 }
3327 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3328 return NULL;
3329 _arg1 = new wxString(tmpPtr, tmpSize);
3330 #else
3331 if (!PyString_Check(_obj1)) {
3332 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3333 return NULL;
3334 }
3335 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3336 #endif
3337 }
3338 {
3339 wxPy_BEGIN_ALLOW_THREADS;
3340 wxListBox_Append(_arg0,*_arg1);
3341
3342 wxPy_END_ALLOW_THREADS;
3343 } Py_INCREF(Py_None);
3344 _resultobj = Py_None;
3345 {
3346 if (_obj1)
3347 delete _arg1;
3348 }
3349 return _resultobj;
3350 }
3351
3352 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
3353 static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject * _resultobj;
3355 wxListBox * _arg0;
3356 PyObject * _argo0 = 0;
3357 char *_kwnames[] = { "self", NULL };
3358
3359 self = self;
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
3361 return NULL;
3362 if (_argo0) {
3363 if (_argo0 == Py_None) { _arg0 = NULL; }
3364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
3366 return NULL;
3367 }
3368 }
3369 {
3370 wxPy_BEGIN_ALLOW_THREADS;
3371 wxListBox_Clear(_arg0);
3372
3373 wxPy_END_ALLOW_THREADS;
3374 } Py_INCREF(Py_None);
3375 _resultobj = Py_None;
3376 return _resultobj;
3377 }
3378
3379 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3380 static PyObject *_wrap_wxListBox_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject * _resultobj;
3382 wxListBox * _arg0;
3383 int _arg1;
3384 PyObject * _argo0 = 0;
3385 char *_kwnames[] = { "self","n", NULL };
3386
3387 self = self;
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Delete",_kwnames,&_argo0,&_arg1))
3389 return NULL;
3390 if (_argo0) {
3391 if (_argo0 == Py_None) { _arg0 = NULL; }
3392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
3394 return NULL;
3395 }
3396 }
3397 {
3398 wxPy_BEGIN_ALLOW_THREADS;
3399 wxListBox_Delete(_arg0,_arg1);
3400
3401 wxPy_END_ALLOW_THREADS;
3402 } Py_INCREF(Py_None);
3403 _resultobj = Py_None;
3404 return _resultobj;
3405 }
3406
3407 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
3408 static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
3409 PyObject * _resultobj;
3410 wxListBox * _arg0;
3411 int _arg1;
3412 PyObject * _argo0 = 0;
3413 char *_kwnames[] = { "self","n", NULL };
3414
3415 self = self;
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
3417 return NULL;
3418 if (_argo0) {
3419 if (_argo0 == Py_None) { _arg0 = NULL; }
3420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
3422 return NULL;
3423 }
3424 }
3425 {
3426 wxPy_BEGIN_ALLOW_THREADS;
3427 wxListBox_Deselect(_arg0,_arg1);
3428
3429 wxPy_END_ALLOW_THREADS;
3430 } Py_INCREF(Py_None);
3431 _resultobj = Py_None;
3432 return _resultobj;
3433 }
3434
3435 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3436 static PyObject *_wrap_wxListBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
3437 PyObject * _resultobj;
3438 int _result;
3439 wxListBox * _arg0;
3440 wxString * _arg1;
3441 PyObject * _argo0 = 0;
3442 PyObject * _obj1 = 0;
3443 char *_kwnames[] = { "self","string", NULL };
3444
3445 self = self;
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_FindString",_kwnames,&_argo0,&_obj1))
3447 return NULL;
3448 if (_argo0) {
3449 if (_argo0 == Py_None) { _arg0 = NULL; }
3450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
3452 return NULL;
3453 }
3454 }
3455 {
3456 #if PYTHON_API_VERSION >= 1009
3457 char* tmpPtr; int tmpSize;
3458 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3459 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3460 return NULL;
3461 }
3462 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3463 return NULL;
3464 _arg1 = new wxString(tmpPtr, tmpSize);
3465 #else
3466 if (!PyString_Check(_obj1)) {
3467 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3468 return NULL;
3469 }
3470 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3471 #endif
3472 }
3473 {
3474 wxPy_BEGIN_ALLOW_THREADS;
3475 _result = (int )wxListBox_FindString(_arg0,*_arg1);
3476
3477 wxPy_END_ALLOW_THREADS;
3478 } _resultobj = Py_BuildValue("i",_result);
3479 {
3480 if (_obj1)
3481 delete _arg1;
3482 }
3483 return _resultobj;
3484 }
3485
3486 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3487 static PyObject *_wrap_wxListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3488 PyObject * _resultobj;
3489 int _result;
3490 wxListBox * _arg0;
3491 PyObject * _argo0 = 0;
3492 char *_kwnames[] = { "self", NULL };
3493
3494 self = self;
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelection",_kwnames,&_argo0))
3496 return NULL;
3497 if (_argo0) {
3498 if (_argo0 == Py_None) { _arg0 = NULL; }
3499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
3501 return NULL;
3502 }
3503 }
3504 {
3505 wxPy_BEGIN_ALLOW_THREADS;
3506 _result = (int )wxListBox_GetSelection(_arg0);
3507
3508 wxPy_END_ALLOW_THREADS;
3509 } _resultobj = Py_BuildValue("i",_result);
3510 return _resultobj;
3511 }
3512
3513 static PyObject * wxListBox_GetSelections(wxListBox *self) {
3514 wxArrayInt lst;
3515 self->GetSelections(lst);
3516 PyObject *tup = PyTuple_New(lst.GetCount());
3517 for(size_t i=0; i<lst.GetCount(); i++) {
3518 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
3519 }
3520 return tup;
3521 }
3522 static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
3523 PyObject * _resultobj;
3524 PyObject * _result;
3525 wxListBox * _arg0;
3526 PyObject * _argo0 = 0;
3527 char *_kwnames[] = { "self", NULL };
3528
3529 self = self;
3530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
3531 return NULL;
3532 if (_argo0) {
3533 if (_argo0 == Py_None) { _arg0 = NULL; }
3534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
3536 return NULL;
3537 }
3538 }
3539 {
3540 wxPy_BEGIN_ALLOW_THREADS;
3541 _result = (PyObject *)wxListBox_GetSelections(_arg0);
3542
3543 wxPy_END_ALLOW_THREADS;
3544 }{
3545 _resultobj = _result;
3546 }
3547 return _resultobj;
3548 }
3549
3550 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
3551 static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
3552 PyObject * _resultobj;
3553 wxListBox * _arg0;
3554 int _arg1;
3555 wxString * _arg2;
3556 int _arg3;
3557 PyObject * _argo0 = 0;
3558 PyObject * _obj2 = 0;
3559 char *_kwnames[] = { "self","choices","pos", NULL };
3560
3561 self = self;
3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
3563 return NULL;
3564 if (_argo0) {
3565 if (_argo0 == Py_None) { _arg0 = NULL; }
3566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
3568 return NULL;
3569 }
3570 }
3571 {
3572 _arg2 = wxString_LIST_helper(_obj2);
3573 if (_arg2 == NULL) {
3574 return NULL;
3575 }
3576 }
3577 {
3578 if (_obj2) {
3579 _arg1 = PyList_Size(_obj2);
3580 }
3581 else {
3582 _arg1 = 0;
3583 }
3584 }
3585 {
3586 wxPy_BEGIN_ALLOW_THREADS;
3587 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
3588
3589 wxPy_END_ALLOW_THREADS;
3590 } Py_INCREF(Py_None);
3591 _resultobj = Py_None;
3592 {
3593 delete [] _arg2;
3594 }
3595 return _resultobj;
3596 }
3597
3598 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3599 static PyObject *_wrap_wxListBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3600 PyObject * _resultobj;
3601 wxString * _result;
3602 wxListBox * _arg0;
3603 int _arg1;
3604 PyObject * _argo0 = 0;
3605 char *_kwnames[] = { "self","n", NULL };
3606
3607 self = self;
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_GetString",_kwnames,&_argo0,&_arg1))
3609 return NULL;
3610 if (_argo0) {
3611 if (_argo0 == Py_None) { _arg0 = NULL; }
3612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
3614 return NULL;
3615 }
3616 }
3617 {
3618 wxPy_BEGIN_ALLOW_THREADS;
3619 _result = new wxString (wxListBox_GetString(_arg0,_arg1));
3620
3621 wxPy_END_ALLOW_THREADS;
3622 }{
3623 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3624 }
3625 {
3626 delete _result;
3627 }
3628 return _resultobj;
3629 }
3630
3631 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3632 static PyObject *_wrap_wxListBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3633 PyObject * _resultobj;
3634 wxString * _result;
3635 wxListBox * _arg0;
3636 PyObject * _argo0 = 0;
3637 char *_kwnames[] = { "self", NULL };
3638
3639 self = self;
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetStringSelection",_kwnames,&_argo0))
3641 return NULL;
3642 if (_argo0) {
3643 if (_argo0 == Py_None) { _arg0 = NULL; }
3644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
3646 return NULL;
3647 }
3648 }
3649 {
3650 wxPy_BEGIN_ALLOW_THREADS;
3651 _result = new wxString (wxListBox_GetStringSelection(_arg0));
3652
3653 wxPy_END_ALLOW_THREADS;
3654 }{
3655 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3656 }
3657 {
3658 delete _result;
3659 }
3660 return _resultobj;
3661 }
3662
3663 #define wxListBox_Number(_swigobj) (_swigobj->Number())
3664 static PyObject *_wrap_wxListBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) {
3665 PyObject * _resultobj;
3666 int _result;
3667 wxListBox * _arg0;
3668 PyObject * _argo0 = 0;
3669 char *_kwnames[] = { "self", NULL };
3670
3671 self = self;
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Number",_kwnames,&_argo0))
3673 return NULL;
3674 if (_argo0) {
3675 if (_argo0 == Py_None) { _arg0 = NULL; }
3676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
3678 return NULL;
3679 }
3680 }
3681 {
3682 wxPy_BEGIN_ALLOW_THREADS;
3683 _result = (int )wxListBox_Number(_arg0);
3684
3685 wxPy_END_ALLOW_THREADS;
3686 } _resultobj = Py_BuildValue("i",_result);
3687 return _resultobj;
3688 }
3689
3690 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
3691 static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
3692 PyObject * _resultobj;
3693 bool _result;
3694 wxListBox * _arg0;
3695 int _arg1;
3696 PyObject * _argo0 = 0;
3697 char *_kwnames[] = { "self","n", NULL };
3698
3699 self = self;
3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
3701 return NULL;
3702 if (_argo0) {
3703 if (_argo0 == Py_None) { _arg0 = NULL; }
3704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
3706 return NULL;
3707 }
3708 }
3709 {
3710 wxPy_BEGIN_ALLOW_THREADS;
3711 _result = (bool )wxListBox_Selected(_arg0,_arg1);
3712
3713 wxPy_END_ALLOW_THREADS;
3714 } _resultobj = Py_BuildValue("i",_result);
3715 return _resultobj;
3716 }
3717
3718 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
3719 static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3720 PyObject * _resultobj;
3721 wxListBox * _arg0;
3722 int _arg1;
3723 wxString * _arg2;
3724 PyObject * _argo0 = 0;
3725 PyObject * _obj2 = 0;
3726 char *_kwnames[] = { "self","choices", NULL };
3727
3728 self = self;
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
3730 return NULL;
3731 if (_argo0) {
3732 if (_argo0 == Py_None) { _arg0 = NULL; }
3733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
3735 return NULL;
3736 }
3737 }
3738 if (_obj2)
3739 {
3740 _arg2 = wxString_LIST_helper(_obj2);
3741 if (_arg2 == NULL) {
3742 return NULL;
3743 }
3744 }
3745 {
3746 if (_obj2) {
3747 _arg1 = PyList_Size(_obj2);
3748 }
3749 else {
3750 _arg1 = 0;
3751 }
3752 }
3753 {
3754 wxPy_BEGIN_ALLOW_THREADS;
3755 wxListBox_Set(_arg0,_arg1,_arg2);
3756
3757 wxPy_END_ALLOW_THREADS;
3758 } Py_INCREF(Py_None);
3759 _resultobj = Py_None;
3760 {
3761 delete [] _arg2;
3762 }
3763 return _resultobj;
3764 }
3765
3766 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3767 static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject * _resultobj;
3769 wxListBox * _arg0;
3770 int _arg1;
3771 PyObject * _argo0 = 0;
3772 char *_kwnames[] = { "self","n", NULL };
3773
3774 self = self;
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
3776 return NULL;
3777 if (_argo0) {
3778 if (_argo0 == Py_None) { _arg0 = NULL; }
3779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
3781 return NULL;
3782 }
3783 }
3784 {
3785 wxPy_BEGIN_ALLOW_THREADS;
3786 wxListBox_SetFirstItem(_arg0,_arg1);
3787
3788 wxPy_END_ALLOW_THREADS;
3789 } Py_INCREF(Py_None);
3790 _resultobj = Py_None;
3791 return _resultobj;
3792 }
3793
3794 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
3795 static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject * _resultobj;
3797 wxListBox * _arg0;
3798 wxString * _arg1;
3799 PyObject * _argo0 = 0;
3800 PyObject * _obj1 = 0;
3801 char *_kwnames[] = { "self","string", NULL };
3802
3803 self = self;
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
3805 return NULL;
3806 if (_argo0) {
3807 if (_argo0 == Py_None) { _arg0 = NULL; }
3808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
3810 return NULL;
3811 }
3812 }
3813 {
3814 #if PYTHON_API_VERSION >= 1009
3815 char* tmpPtr; int tmpSize;
3816 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3817 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3818 return NULL;
3819 }
3820 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3821 return NULL;
3822 _arg1 = new wxString(tmpPtr, tmpSize);
3823 #else
3824 if (!PyString_Check(_obj1)) {
3825 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3826 return NULL;
3827 }
3828 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3829 #endif
3830 }
3831 {
3832 wxPy_BEGIN_ALLOW_THREADS;
3833 wxListBox_SetFirstItemStr(_arg0,*_arg1);
3834
3835 wxPy_END_ALLOW_THREADS;
3836 } Py_INCREF(Py_None);
3837 _resultobj = Py_None;
3838 {
3839 if (_obj1)
3840 delete _arg1;
3841 }
3842 return _resultobj;
3843 }
3844
3845 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3846 static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3847 PyObject * _resultobj;
3848 wxListBox * _arg0;
3849 int _arg1;
3850 bool _arg2 = (bool ) TRUE;
3851 PyObject * _argo0 = 0;
3852 int tempbool2 = (int) TRUE;
3853 char *_kwnames[] = { "self","n","select", NULL };
3854
3855 self = self;
3856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
3857 return NULL;
3858 if (_argo0) {
3859 if (_argo0 == Py_None) { _arg0 = NULL; }
3860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
3862 return NULL;
3863 }
3864 }
3865 _arg2 = (bool ) tempbool2;
3866 {
3867 wxPy_BEGIN_ALLOW_THREADS;
3868 wxListBox_SetSelection(_arg0,_arg1,_arg2);
3869
3870 wxPy_END_ALLOW_THREADS;
3871 } Py_INCREF(Py_None);
3872 _resultobj = Py_None;
3873 return _resultobj;
3874 }
3875
3876 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
3877 static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject * _resultobj;
3879 wxListBox * _arg0;
3880 int _arg1;
3881 wxString * _arg2;
3882 PyObject * _argo0 = 0;
3883 PyObject * _obj2 = 0;
3884 char *_kwnames[] = { "self","n","string", NULL };
3885
3886 self = self;
3887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
3888 return NULL;
3889 if (_argo0) {
3890 if (_argo0 == Py_None) { _arg0 = NULL; }
3891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
3893 return NULL;
3894 }
3895 }
3896 {
3897 #if PYTHON_API_VERSION >= 1009
3898 char* tmpPtr; int tmpSize;
3899 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3900 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3901 return NULL;
3902 }
3903 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3904 return NULL;
3905 _arg2 = new wxString(tmpPtr, tmpSize);
3906 #else
3907 if (!PyString_Check(_obj2)) {
3908 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3909 return NULL;
3910 }
3911 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3912 #endif
3913 }
3914 {
3915 wxPy_BEGIN_ALLOW_THREADS;
3916 wxListBox_SetString(_arg0,_arg1,*_arg2);
3917
3918 wxPy_END_ALLOW_THREADS;
3919 } Py_INCREF(Py_None);
3920 _resultobj = Py_None;
3921 {
3922 if (_obj2)
3923 delete _arg2;
3924 }
3925 return _resultobj;
3926 }
3927
3928 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
3929 static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3930 PyObject * _resultobj;
3931 wxListBox * _arg0;
3932 wxString * _arg1;
3933 bool _arg2 = (bool ) TRUE;
3934 PyObject * _argo0 = 0;
3935 PyObject * _obj1 = 0;
3936 int tempbool2 = (int) TRUE;
3937 char *_kwnames[] = { "self","string","select", NULL };
3938
3939 self = self;
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
3941 return NULL;
3942 if (_argo0) {
3943 if (_argo0 == Py_None) { _arg0 = NULL; }
3944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
3945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
3946 return NULL;
3947 }
3948 }
3949 {
3950 #if PYTHON_API_VERSION >= 1009
3951 char* tmpPtr; int tmpSize;
3952 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3953 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3954 return NULL;
3955 }
3956 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3957 return NULL;
3958 _arg1 = new wxString(tmpPtr, tmpSize);
3959 #else
3960 if (!PyString_Check(_obj1)) {
3961 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3962 return NULL;
3963 }
3964 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3965 #endif
3966 }
3967 _arg2 = (bool ) tempbool2;
3968 {
3969 wxPy_BEGIN_ALLOW_THREADS;
3970 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
3971
3972 wxPy_END_ALLOW_THREADS;
3973 } Py_INCREF(Py_None);
3974 _resultobj = Py_None;
3975 {
3976 if (_obj1)
3977 delete _arg1;
3978 }
3979 return _resultobj;
3980 }
3981
3982 static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
3983 wxCheckListBox *src;
3984 wxListBox *dest;
3985 src = (wxCheckListBox *) ptr;
3986 dest = (wxListBox *) src;
3987 return (void *) dest;
3988 }
3989
3990 static void *SwigwxCheckListBoxTowxControl(void *ptr) {
3991 wxCheckListBox *src;
3992 wxControl *dest;
3993 src = (wxCheckListBox *) ptr;
3994 dest = (wxControl *) src;
3995 return (void *) dest;
3996 }
3997
3998 static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
3999 wxCheckListBox *src;
4000 wxWindow *dest;
4001 src = (wxCheckListBox *) ptr;
4002 dest = (wxWindow *) src;
4003 return (void *) dest;
4004 }
4005
4006 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
4007 wxCheckListBox *src;
4008 wxEvtHandler *dest;
4009 src = (wxCheckListBox *) ptr;
4010 dest = (wxEvtHandler *) src;
4011 return (void *) dest;
4012 }
4013
4014 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4015 static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4016 PyObject * _resultobj;
4017 wxCheckListBox * _result;
4018 wxWindow * _arg0;
4019 wxWindowID _arg1;
4020 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4021 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4022 int _arg4 = (int ) 0;
4023 wxString * _arg5 = (wxString *) NULL;
4024 long _arg6 = (long ) 0;
4025 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
4026 char * _arg8 = (char *) "listBox";
4027 PyObject * _argo0 = 0;
4028 wxPoint temp;
4029 PyObject * _obj2 = 0;
4030 wxSize temp0;
4031 PyObject * _obj3 = 0;
4032 PyObject * _obj5 = 0;
4033 PyObject * _argo7 = 0;
4034 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4035 char _ptemp[128];
4036
4037 self = self;
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOs:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_arg8))
4039 return NULL;
4040 if (_argo0) {
4041 if (_argo0 == Py_None) { _arg0 = NULL; }
4042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
4044 return NULL;
4045 }
4046 }
4047 if (_obj2)
4048 {
4049 _arg2 = &temp;
4050 if (! wxPoint_helper(_obj2, &_arg2))
4051 return NULL;
4052 }
4053 if (_obj3)
4054 {
4055 _arg3 = &temp0;
4056 if (! wxSize_helper(_obj3, &_arg3))
4057 return NULL;
4058 }
4059 if (_obj5)
4060 {
4061 _arg5 = wxString_LIST_helper(_obj5);
4062 if (_arg5 == NULL) {
4063 return NULL;
4064 }
4065 }
4066 if (_argo7) {
4067 if (_argo7 == Py_None) { _arg7 = NULL; }
4068 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
4069 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
4070 return NULL;
4071 }
4072 }
4073 {
4074 if (_obj5) {
4075 _arg4 = PyList_Size(_obj5);
4076 }
4077 else {
4078 _arg4 = 0;
4079 }
4080 }
4081 {
4082 wxPy_BEGIN_ALLOW_THREADS;
4083 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
4084
4085 wxPy_END_ALLOW_THREADS;
4086 } if (_result) {
4087 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
4088 _resultobj = Py_BuildValue("s",_ptemp);
4089 } else {
4090 Py_INCREF(Py_None);
4091 _resultobj = Py_None;
4092 }
4093 {
4094 delete [] _arg5;
4095 }
4096 return _resultobj;
4097 }
4098
4099 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
4100 static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
4101 PyObject * _resultobj;
4102 bool _result;
4103 wxCheckListBox * _arg0;
4104 int _arg1;
4105 PyObject * _argo0 = 0;
4106 char *_kwnames[] = { "self","uiIndex", NULL };
4107
4108 self = self;
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
4110 return NULL;
4111 if (_argo0) {
4112 if (_argo0 == Py_None) { _arg0 = NULL; }
4113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
4114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
4115 return NULL;
4116 }
4117 }
4118 {
4119 wxPy_BEGIN_ALLOW_THREADS;
4120 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
4121
4122 wxPy_END_ALLOW_THREADS;
4123 } _resultobj = Py_BuildValue("i",_result);
4124 return _resultobj;
4125 }
4126
4127 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
4128 static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
4129 PyObject * _resultobj;
4130 wxCheckListBox * _arg0;
4131 int _arg1;
4132 int _arg2 = (int ) TRUE;
4133 PyObject * _argo0 = 0;
4134 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
4135
4136 self = self;
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
4138 return NULL;
4139 if (_argo0) {
4140 if (_argo0 == Py_None) { _arg0 = NULL; }
4141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
4142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
4143 return NULL;
4144 }
4145 }
4146 {
4147 wxPy_BEGIN_ALLOW_THREADS;
4148 wxCheckListBox_Check(_arg0,_arg1,_arg2);
4149
4150 wxPy_END_ALLOW_THREADS;
4151 } Py_INCREF(Py_None);
4152 _resultobj = Py_None;
4153 return _resultobj;
4154 }
4155
4156 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4157 static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4158 PyObject * _resultobj;
4159 wxCheckListBox * _arg0;
4160 int _arg1;
4161 wxString * _arg2;
4162 int _arg3;
4163 PyObject * _argo0 = 0;
4164 PyObject * _obj2 = 0;
4165 char *_kwnames[] = { "self","choices","pos", NULL };
4166
4167 self = self;
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
4169 return NULL;
4170 if (_argo0) {
4171 if (_argo0 == Py_None) { _arg0 = NULL; }
4172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
4173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
4174 return NULL;
4175 }
4176 }
4177 {
4178 _arg2 = wxString_LIST_helper(_obj2);
4179 if (_arg2 == NULL) {
4180 return NULL;
4181 }
4182 }
4183 {
4184 if (_obj2) {
4185 _arg1 = PyList_Size(_obj2);
4186 }
4187 else {
4188 _arg1 = 0;
4189 }
4190 }
4191 {
4192 wxPy_BEGIN_ALLOW_THREADS;
4193 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
4194
4195 wxPy_END_ALLOW_THREADS;
4196 } Py_INCREF(Py_None);
4197 _resultobj = Py_None;
4198 {
4199 delete [] _arg2;
4200 }
4201 return _resultobj;
4202 }
4203
4204 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
4205 static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4206 PyObject * _resultobj;
4207 int _result;
4208 wxCheckListBox * _arg0;
4209 PyObject * _argo0 = 0;
4210 char *_kwnames[] = { "self", NULL };
4211
4212 self = self;
4213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
4214 return NULL;
4215 if (_argo0) {
4216 if (_argo0 == Py_None) { _arg0 = NULL; }
4217 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
4218 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
4219 return NULL;
4220 }
4221 }
4222 {
4223 wxPy_BEGIN_ALLOW_THREADS;
4224 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
4225
4226 wxPy_END_ALLOW_THREADS;
4227 } _resultobj = Py_BuildValue("i",_result);
4228 return _resultobj;
4229 }
4230
4231 static void *SwigwxTextCtrlTowxControl(void *ptr) {
4232 wxTextCtrl *src;
4233 wxControl *dest;
4234 src = (wxTextCtrl *) ptr;
4235 dest = (wxControl *) src;
4236 return (void *) dest;
4237 }
4238
4239 static void *SwigwxTextCtrlTowxWindow(void *ptr) {
4240 wxTextCtrl *src;
4241 wxWindow *dest;
4242 src = (wxTextCtrl *) ptr;
4243 dest = (wxWindow *) src;
4244 return (void *) dest;
4245 }
4246
4247 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
4248 wxTextCtrl *src;
4249 wxEvtHandler *dest;
4250 src = (wxTextCtrl *) ptr;
4251 dest = (wxEvtHandler *) src;
4252 return (void *) dest;
4253 }
4254
4255 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
4256 static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
4257 PyObject * _resultobj;
4258 wxTextCtrl * _result;
4259 wxWindow * _arg0;
4260 wxWindowID _arg1;
4261 char * _arg2 = (char *) "";
4262 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4263 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4264 long _arg5 = (long ) 0;
4265 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
4266 char * _arg7 = (char *) "text";
4267 PyObject * _argo0 = 0;
4268 wxPoint temp;
4269 PyObject * _obj3 = 0;
4270 wxSize temp0;
4271 PyObject * _obj4 = 0;
4272 PyObject * _argo6 = 0;
4273 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
4274 char _ptemp[128];
4275
4276 self = self;
4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOlOs:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
4278 return NULL;
4279 if (_argo0) {
4280 if (_argo0 == Py_None) { _arg0 = NULL; }
4281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
4283 return NULL;
4284 }
4285 }
4286 if (_obj3)
4287 {
4288 _arg3 = &temp;
4289 if (! wxPoint_helper(_obj3, &_arg3))
4290 return NULL;
4291 }
4292 if (_obj4)
4293 {
4294 _arg4 = &temp0;
4295 if (! wxSize_helper(_obj4, &_arg4))
4296 return NULL;
4297 }
4298 if (_argo6) {
4299 if (_argo6 == Py_None) { _arg6 = NULL; }
4300 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
4301 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
4302 return NULL;
4303 }
4304 }
4305 {
4306 wxPy_BEGIN_ALLOW_THREADS;
4307 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
4308
4309 wxPy_END_ALLOW_THREADS;
4310 } if (_result) {
4311 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
4312 _resultobj = Py_BuildValue("s",_ptemp);
4313 } else {
4314 Py_INCREF(Py_None);
4315 _resultobj = Py_None;
4316 }
4317 return _resultobj;
4318 }
4319
4320 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4321 static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4322 PyObject * _resultobj;
4323 wxTextCtrl * _arg0;
4324 PyObject * _argo0 = 0;
4325 char *_kwnames[] = { "self", NULL };
4326
4327 self = self;
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
4329 return NULL;
4330 if (_argo0) {
4331 if (_argo0 == Py_None) { _arg0 = NULL; }
4332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
4334 return NULL;
4335 }
4336 }
4337 {
4338 wxPy_BEGIN_ALLOW_THREADS;
4339 wxTextCtrl_Clear(_arg0);
4340
4341 wxPy_END_ALLOW_THREADS;
4342 } Py_INCREF(Py_None);
4343 _resultobj = Py_None;
4344 return _resultobj;
4345 }
4346
4347 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
4348 static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
4349 PyObject * _resultobj;
4350 wxTextCtrl * _arg0;
4351 PyObject * _argo0 = 0;
4352 char *_kwnames[] = { "self", NULL };
4353
4354 self = self;
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
4356 return NULL;
4357 if (_argo0) {
4358 if (_argo0 == Py_None) { _arg0 = NULL; }
4359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
4361 return NULL;
4362 }
4363 }
4364 {
4365 wxPy_BEGIN_ALLOW_THREADS;
4366 wxTextCtrl_Copy(_arg0);
4367
4368 wxPy_END_ALLOW_THREADS;
4369 } Py_INCREF(Py_None);
4370 _resultobj = Py_None;
4371 return _resultobj;
4372 }
4373
4374 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
4375 static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject * _resultobj;
4377 wxTextCtrl * _arg0;
4378 PyObject * _argo0 = 0;
4379 char *_kwnames[] = { "self", NULL };
4380
4381 self = self;
4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
4383 return NULL;
4384 if (_argo0) {
4385 if (_argo0 == Py_None) { _arg0 = NULL; }
4386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
4388 return NULL;
4389 }
4390 }
4391 {
4392 wxPy_BEGIN_ALLOW_THREADS;
4393 wxTextCtrl_Cut(_arg0);
4394
4395 wxPy_END_ALLOW_THREADS;
4396 } Py_INCREF(Py_None);
4397 _resultobj = Py_None;
4398 return _resultobj;
4399 }
4400
4401 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
4402 static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject * _resultobj;
4404 wxTextCtrl * _arg0;
4405 PyObject * _argo0 = 0;
4406 char *_kwnames[] = { "self", NULL };
4407
4408 self = self;
4409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
4410 return NULL;
4411 if (_argo0) {
4412 if (_argo0 == Py_None) { _arg0 = NULL; }
4413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
4415 return NULL;
4416 }
4417 }
4418 {
4419 wxPy_BEGIN_ALLOW_THREADS;
4420 wxTextCtrl_DiscardEdits(_arg0);
4421
4422 wxPy_END_ALLOW_THREADS;
4423 } Py_INCREF(Py_None);
4424 _resultobj = Py_None;
4425 return _resultobj;
4426 }
4427
4428 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
4429 static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4430 PyObject * _resultobj;
4431 long _result;
4432 wxTextCtrl * _arg0;
4433 PyObject * _argo0 = 0;
4434 char *_kwnames[] = { "self", NULL };
4435
4436 self = self;
4437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
4438 return NULL;
4439 if (_argo0) {
4440 if (_argo0 == Py_None) { _arg0 = NULL; }
4441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
4443 return NULL;
4444 }
4445 }
4446 {
4447 wxPy_BEGIN_ALLOW_THREADS;
4448 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
4449
4450 wxPy_END_ALLOW_THREADS;
4451 } _resultobj = Py_BuildValue("l",_result);
4452 return _resultobj;
4453 }
4454
4455 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
4456 static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4457 PyObject * _resultobj;
4458 long _result;
4459 wxTextCtrl * _arg0;
4460 PyObject * _argo0 = 0;
4461 char *_kwnames[] = { "self", NULL };
4462
4463 self = self;
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
4465 return NULL;
4466 if (_argo0) {
4467 if (_argo0 == Py_None) { _arg0 = NULL; }
4468 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4469 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
4470 return NULL;
4471 }
4472 }
4473 {
4474 wxPy_BEGIN_ALLOW_THREADS;
4475 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
4476
4477 wxPy_END_ALLOW_THREADS;
4478 } _resultobj = Py_BuildValue("l",_result);
4479 return _resultobj;
4480 }
4481
4482 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
4483 static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4484 PyObject * _resultobj;
4485 int _result;
4486 wxTextCtrl * _arg0;
4487 long _arg1;
4488 PyObject * _argo0 = 0;
4489 char *_kwnames[] = { "self","lineNo", NULL };
4490
4491 self = self;
4492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
4493 return NULL;
4494 if (_argo0) {
4495 if (_argo0 == Py_None) { _arg0 = NULL; }
4496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
4498 return NULL;
4499 }
4500 }
4501 {
4502 wxPy_BEGIN_ALLOW_THREADS;
4503 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
4504
4505 wxPy_END_ALLOW_THREADS;
4506 } _resultobj = Py_BuildValue("i",_result);
4507 return _resultobj;
4508 }
4509
4510 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
4511 static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
4512 PyObject * _resultobj;
4513 wxString * _result;
4514 wxTextCtrl * _arg0;
4515 long _arg1;
4516 PyObject * _argo0 = 0;
4517 char *_kwnames[] = { "self","lineNo", NULL };
4518
4519 self = self;
4520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
4521 return NULL;
4522 if (_argo0) {
4523 if (_argo0 == Py_None) { _arg0 = NULL; }
4524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
4526 return NULL;
4527 }
4528 }
4529 {
4530 wxPy_BEGIN_ALLOW_THREADS;
4531 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
4532
4533 wxPy_END_ALLOW_THREADS;
4534 }{
4535 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4536 }
4537 {
4538 delete _result;
4539 }
4540 return _resultobj;
4541 }
4542
4543 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
4544 static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4545 PyObject * _resultobj;
4546 int _result;
4547 wxTextCtrl * _arg0;
4548 PyObject * _argo0 = 0;
4549 char *_kwnames[] = { "self", NULL };
4550
4551 self = self;
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
4553 return NULL;
4554 if (_argo0) {
4555 if (_argo0 == Py_None) { _arg0 = NULL; }
4556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
4558 return NULL;
4559 }
4560 }
4561 {
4562 wxPy_BEGIN_ALLOW_THREADS;
4563 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
4564
4565 wxPy_END_ALLOW_THREADS;
4566 } _resultobj = Py_BuildValue("i",_result);
4567 return _resultobj;
4568 }
4569
4570 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
4571 static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4572 PyObject * _resultobj;
4573 wxString * _result;
4574 wxTextCtrl * _arg0;
4575 PyObject * _argo0 = 0;
4576 char *_kwnames[] = { "self", NULL };
4577
4578 self = self;
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
4580 return NULL;
4581 if (_argo0) {
4582 if (_argo0 == Py_None) { _arg0 = NULL; }
4583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
4585 return NULL;
4586 }
4587 }
4588 {
4589 wxPy_BEGIN_ALLOW_THREADS;
4590 _result = new wxString (wxTextCtrl_GetValue(_arg0));
4591
4592 wxPy_END_ALLOW_THREADS;
4593 }{
4594 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4595 }
4596 {
4597 delete _result;
4598 }
4599 return _resultobj;
4600 }
4601
4602 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
4603 static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
4604 PyObject * _resultobj;
4605 bool _result;
4606 wxTextCtrl * _arg0;
4607 PyObject * _argo0 = 0;
4608 char *_kwnames[] = { "self", NULL };
4609
4610 self = self;
4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
4612 return NULL;
4613 if (_argo0) {
4614 if (_argo0 == Py_None) { _arg0 = NULL; }
4615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
4617 return NULL;
4618 }
4619 }
4620 {
4621 wxPy_BEGIN_ALLOW_THREADS;
4622 _result = (bool )wxTextCtrl_IsModified(_arg0);
4623
4624 wxPy_END_ALLOW_THREADS;
4625 } _resultobj = Py_BuildValue("i",_result);
4626 return _resultobj;
4627 }
4628
4629 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
4630 static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
4631 PyObject * _resultobj;
4632 bool _result;
4633 wxTextCtrl * _arg0;
4634 wxString * _arg1;
4635 PyObject * _argo0 = 0;
4636 PyObject * _obj1 = 0;
4637 char *_kwnames[] = { "self","filename", NULL };
4638
4639 self = self;
4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
4641 return NULL;
4642 if (_argo0) {
4643 if (_argo0 == Py_None) { _arg0 = NULL; }
4644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
4646 return NULL;
4647 }
4648 }
4649 {
4650 #if PYTHON_API_VERSION >= 1009
4651 char* tmpPtr; int tmpSize;
4652 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4653 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4654 return NULL;
4655 }
4656 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4657 return NULL;
4658 _arg1 = new wxString(tmpPtr, tmpSize);
4659 #else
4660 if (!PyString_Check(_obj1)) {
4661 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4662 return NULL;
4663 }
4664 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4665 #endif
4666 }
4667 {
4668 wxPy_BEGIN_ALLOW_THREADS;
4669 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
4670
4671 wxPy_END_ALLOW_THREADS;
4672 } _resultobj = Py_BuildValue("i",_result);
4673 {
4674 if (_obj1)
4675 delete _arg1;
4676 }
4677 return _resultobj;
4678 }
4679
4680 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4681 static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject * _resultobj;
4683 wxTextCtrl * _arg0;
4684 PyObject * _argo0 = 0;
4685 char *_kwnames[] = { "self", NULL };
4686
4687 self = self;
4688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
4689 return NULL;
4690 if (_argo0) {
4691 if (_argo0 == Py_None) { _arg0 = NULL; }
4692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
4694 return NULL;
4695 }
4696 }
4697 {
4698 wxPy_BEGIN_ALLOW_THREADS;
4699 wxTextCtrl_Paste(_arg0);
4700
4701 wxPy_END_ALLOW_THREADS;
4702 } Py_INCREF(Py_None);
4703 _resultobj = Py_None;
4704 return _resultobj;
4705 }
4706
4707 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
4708 static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject * _resultobj;
4710 wxTextCtrl * _arg0;
4711 long _arg1;
4712 long * _arg2;
4713 long temp;
4714 long * _arg3;
4715 long temp0;
4716 PyObject * _argo0 = 0;
4717 char *_kwnames[] = { "self","pos", NULL };
4718
4719 self = self;
4720 {
4721 _arg2 = &temp;
4722 }
4723 {
4724 _arg3 = &temp0;
4725 }
4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
4727 return NULL;
4728 if (_argo0) {
4729 if (_argo0 == Py_None) { _arg0 = NULL; }
4730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
4732 return NULL;
4733 }
4734 }
4735 {
4736 wxPy_BEGIN_ALLOW_THREADS;
4737 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
4738
4739 wxPy_END_ALLOW_THREADS;
4740 } Py_INCREF(Py_None);
4741 _resultobj = Py_None;
4742 {
4743 PyObject *o;
4744 o = PyInt_FromLong((long) (*_arg2));
4745 _resultobj = t_output_helper(_resultobj, o);
4746 }
4747 {
4748 PyObject *o;
4749 o = PyInt_FromLong((long) (*_arg3));
4750 _resultobj = t_output_helper(_resultobj, o);
4751 }
4752 return _resultobj;
4753 }
4754
4755 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
4756 static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
4757 PyObject * _resultobj;
4758 wxTextCtrl * _arg0;
4759 long _arg1;
4760 long _arg2;
4761 PyObject * _argo0 = 0;
4762 char *_kwnames[] = { "self","from","to", NULL };
4763
4764 self = self;
4765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
4766 return NULL;
4767 if (_argo0) {
4768 if (_argo0 == Py_None) { _arg0 = NULL; }
4769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
4771 return NULL;
4772 }
4773 }
4774 {
4775 wxPy_BEGIN_ALLOW_THREADS;
4776 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
4777
4778 wxPy_END_ALLOW_THREADS;
4779 } Py_INCREF(Py_None);
4780 _resultobj = Py_None;
4781 return _resultobj;
4782 }
4783
4784 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
4785 static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
4786 PyObject * _resultobj;
4787 wxTextCtrl * _arg0;
4788 long _arg1;
4789 long _arg2;
4790 wxString * _arg3;
4791 PyObject * _argo0 = 0;
4792 PyObject * _obj3 = 0;
4793 char *_kwnames[] = { "self","from","to","value", NULL };
4794
4795 self = self;
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4797 return NULL;
4798 if (_argo0) {
4799 if (_argo0 == Py_None) { _arg0 = NULL; }
4800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
4802 return NULL;
4803 }
4804 }
4805 {
4806 #if PYTHON_API_VERSION >= 1009
4807 char* tmpPtr; int tmpSize;
4808 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4809 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4810 return NULL;
4811 }
4812 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4813 return NULL;
4814 _arg3 = new wxString(tmpPtr, tmpSize);
4815 #else
4816 if (!PyString_Check(_obj3)) {
4817 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4818 return NULL;
4819 }
4820 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4821 #endif
4822 }
4823 {
4824 wxPy_BEGIN_ALLOW_THREADS;
4825 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
4826
4827 wxPy_END_ALLOW_THREADS;
4828 } Py_INCREF(Py_None);
4829 _resultobj = Py_None;
4830 {
4831 if (_obj3)
4832 delete _arg3;
4833 }
4834 return _resultobj;
4835 }
4836
4837 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
4838 static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
4839 PyObject * _resultobj;
4840 bool _result;
4841 wxTextCtrl * _arg0;
4842 wxString * _arg1;
4843 PyObject * _argo0 = 0;
4844 PyObject * _obj1 = 0;
4845 char *_kwnames[] = { "self","filename", NULL };
4846
4847 self = self;
4848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
4849 return NULL;
4850 if (_argo0) {
4851 if (_argo0 == Py_None) { _arg0 = NULL; }
4852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
4854 return NULL;
4855 }
4856 }
4857 {
4858 #if PYTHON_API_VERSION >= 1009
4859 char* tmpPtr; int tmpSize;
4860 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4861 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4862 return NULL;
4863 }
4864 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4865 return NULL;
4866 _arg1 = new wxString(tmpPtr, tmpSize);
4867 #else
4868 if (!PyString_Check(_obj1)) {
4869 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4870 return NULL;
4871 }
4872 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4873 #endif
4874 }
4875 {
4876 wxPy_BEGIN_ALLOW_THREADS;
4877 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
4878
4879 wxPy_END_ALLOW_THREADS;
4880 } _resultobj = Py_BuildValue("i",_result);
4881 {
4882 if (_obj1)
4883 delete _arg1;
4884 }
4885 return _resultobj;
4886 }
4887
4888 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
4889 static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject * _resultobj;
4891 wxTextCtrl * _arg0;
4892 bool _arg1;
4893 PyObject * _argo0 = 0;
4894 int tempbool1;
4895 char *_kwnames[] = { "self","editable", NULL };
4896
4897 self = self;
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
4899 return NULL;
4900 if (_argo0) {
4901 if (_argo0 == Py_None) { _arg0 = NULL; }
4902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
4904 return NULL;
4905 }
4906 }
4907 _arg1 = (bool ) tempbool1;
4908 {
4909 wxPy_BEGIN_ALLOW_THREADS;
4910 wxTextCtrl_SetEditable(_arg0,_arg1);
4911
4912 wxPy_END_ALLOW_THREADS;
4913 } Py_INCREF(Py_None);
4914 _resultobj = Py_None;
4915 return _resultobj;
4916 }
4917
4918 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
4919 static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject * _resultobj;
4921 wxTextCtrl * _arg0;
4922 long _arg1;
4923 PyObject * _argo0 = 0;
4924 char *_kwnames[] = { "self","pos", NULL };
4925
4926 self = self;
4927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
4928 return NULL;
4929 if (_argo0) {
4930 if (_argo0 == Py_None) { _arg0 = NULL; }
4931 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4932 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
4933 return NULL;
4934 }
4935 }
4936 {
4937 wxPy_BEGIN_ALLOW_THREADS;
4938 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
4939
4940 wxPy_END_ALLOW_THREADS;
4941 } Py_INCREF(Py_None);
4942 _resultobj = Py_None;
4943 return _resultobj;
4944 }
4945
4946 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
4947 static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4948 PyObject * _resultobj;
4949 wxTextCtrl * _arg0;
4950 PyObject * _argo0 = 0;
4951 char *_kwnames[] = { "self", NULL };
4952
4953 self = self;
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
4955 return NULL;
4956 if (_argo0) {
4957 if (_argo0 == Py_None) { _arg0 = NULL; }
4958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4960 return NULL;
4961 }
4962 }
4963 {
4964 wxPy_BEGIN_ALLOW_THREADS;
4965 wxTextCtrl_SetInsertionPointEnd(_arg0);
4966
4967 wxPy_END_ALLOW_THREADS;
4968 } Py_INCREF(Py_None);
4969 _resultobj = Py_None;
4970 return _resultobj;
4971 }
4972
4973 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4974 static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4975 PyObject * _resultobj;
4976 wxTextCtrl * _arg0;
4977 long _arg1;
4978 long _arg2;
4979 PyObject * _argo0 = 0;
4980 char *_kwnames[] = { "self","from","to", NULL };
4981
4982 self = self;
4983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
4984 return NULL;
4985 if (_argo0) {
4986 if (_argo0 == Py_None) { _arg0 = NULL; }
4987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
4989 return NULL;
4990 }
4991 }
4992 {
4993 wxPy_BEGIN_ALLOW_THREADS;
4994 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
4995
4996 wxPy_END_ALLOW_THREADS;
4997 } Py_INCREF(Py_None);
4998 _resultobj = Py_None;
4999 return _resultobj;
5000 }
5001
5002 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5003 static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5004 PyObject * _resultobj;
5005 wxTextCtrl * _arg0;
5006 wxString * _arg1;
5007 PyObject * _argo0 = 0;
5008 PyObject * _obj1 = 0;
5009 char *_kwnames[] = { "self","value", NULL };
5010
5011 self = self;
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
5013 return NULL;
5014 if (_argo0) {
5015 if (_argo0 == Py_None) { _arg0 = NULL; }
5016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
5018 return NULL;
5019 }
5020 }
5021 {
5022 #if PYTHON_API_VERSION >= 1009
5023 char* tmpPtr; int tmpSize;
5024 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5025 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5026 return NULL;
5027 }
5028 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5029 return NULL;
5030 _arg1 = new wxString(tmpPtr, tmpSize);
5031 #else
5032 if (!PyString_Check(_obj1)) {
5033 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5034 return NULL;
5035 }
5036 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5037 #endif
5038 }
5039 {
5040 wxPy_BEGIN_ALLOW_THREADS;
5041 wxTextCtrl_SetValue(_arg0,*_arg1);
5042
5043 wxPy_END_ALLOW_THREADS;
5044 } Py_INCREF(Py_None);
5045 _resultobj = Py_None;
5046 {
5047 if (_obj1)
5048 delete _arg1;
5049 }
5050 return _resultobj;
5051 }
5052
5053 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
5054 static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5055 PyObject * _resultobj;
5056 wxTextCtrl * _arg0;
5057 long _arg1;
5058 PyObject * _argo0 = 0;
5059 char *_kwnames[] = { "self","pos", NULL };
5060
5061 self = self;
5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
5063 return NULL;
5064 if (_argo0) {
5065 if (_argo0 == Py_None) { _arg0 = NULL; }
5066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
5068 return NULL;
5069 }
5070 }
5071 {
5072 wxPy_BEGIN_ALLOW_THREADS;
5073 wxTextCtrl_ShowPosition(_arg0,_arg1);
5074
5075 wxPy_END_ALLOW_THREADS;
5076 } Py_INCREF(Py_None);
5077 _resultobj = Py_None;
5078 return _resultobj;
5079 }
5080
5081 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
5082 static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
5083 PyObject * _resultobj;
5084 wxTextCtrl * _arg0;
5085 wxString * _arg1;
5086 PyObject * _argo0 = 0;
5087 PyObject * _obj1 = 0;
5088 char *_kwnames[] = { "self","text", NULL };
5089
5090 self = self;
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
5092 return NULL;
5093 if (_argo0) {
5094 if (_argo0 == Py_None) { _arg0 = NULL; }
5095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
5097 return NULL;
5098 }
5099 }
5100 {
5101 #if PYTHON_API_VERSION >= 1009
5102 char* tmpPtr; int tmpSize;
5103 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5104 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5105 return NULL;
5106 }
5107 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5108 return NULL;
5109 _arg1 = new wxString(tmpPtr, tmpSize);
5110 #else
5111 if (!PyString_Check(_obj1)) {
5112 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5113 return NULL;
5114 }
5115 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5116 #endif
5117 }
5118 {
5119 wxPy_BEGIN_ALLOW_THREADS;
5120 wxTextCtrl_WriteText(_arg0,*_arg1);
5121
5122 wxPy_END_ALLOW_THREADS;
5123 } Py_INCREF(Py_None);
5124 _resultobj = Py_None;
5125 {
5126 if (_obj1)
5127 delete _arg1;
5128 }
5129 return _resultobj;
5130 }
5131
5132 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
5133 static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
5134 PyObject * _resultobj;
5135 wxTextCtrl * _arg0;
5136 wxString * _arg1;
5137 PyObject * _argo0 = 0;
5138 PyObject * _obj1 = 0;
5139 char *_kwnames[] = { "self","text", NULL };
5140
5141 self = self;
5142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
5143 return NULL;
5144 if (_argo0) {
5145 if (_argo0 == Py_None) { _arg0 = NULL; }
5146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
5148 return NULL;
5149 }
5150 }
5151 {
5152 #if PYTHON_API_VERSION >= 1009
5153 char* tmpPtr; int tmpSize;
5154 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5155 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5156 return NULL;
5157 }
5158 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5159 return NULL;
5160 _arg1 = new wxString(tmpPtr, tmpSize);
5161 #else
5162 if (!PyString_Check(_obj1)) {
5163 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5164 return NULL;
5165 }
5166 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5167 #endif
5168 }
5169 {
5170 wxPy_BEGIN_ALLOW_THREADS;
5171 wxTextCtrl_AppendText(_arg0,*_arg1);
5172
5173 wxPy_END_ALLOW_THREADS;
5174 } Py_INCREF(Py_None);
5175 _resultobj = Py_None;
5176 {
5177 if (_obj1)
5178 delete _arg1;
5179 }
5180 return _resultobj;
5181 }
5182
5183 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
5184 static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5185 PyObject * _resultobj;
5186 long _result;
5187 wxTextCtrl * _arg0;
5188 long _arg1;
5189 long _arg2;
5190 PyObject * _argo0 = 0;
5191 char *_kwnames[] = { "self","x","y", NULL };
5192
5193 self = self;
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
5195 return NULL;
5196 if (_argo0) {
5197 if (_argo0 == Py_None) { _arg0 = NULL; }
5198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
5200 return NULL;
5201 }
5202 }
5203 {
5204 wxPy_BEGIN_ALLOW_THREADS;
5205 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
5206
5207 wxPy_END_ALLOW_THREADS;
5208 } _resultobj = Py_BuildValue("l",_result);
5209 return _resultobj;
5210 }
5211
5212 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
5213 static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
5214 PyObject * _resultobj;
5215 bool _result;
5216 wxTextCtrl * _arg0;
5217 PyObject * _argo0 = 0;
5218 char *_kwnames[] = { "self", NULL };
5219
5220 self = self;
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
5222 return NULL;
5223 if (_argo0) {
5224 if (_argo0 == Py_None) { _arg0 = NULL; }
5225 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5226 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
5227 return NULL;
5228 }
5229 }
5230 {
5231 wxPy_BEGIN_ALLOW_THREADS;
5232 _result = (bool )wxTextCtrl_CanCopy(_arg0);
5233
5234 wxPy_END_ALLOW_THREADS;
5235 } _resultobj = Py_BuildValue("i",_result);
5236 return _resultobj;
5237 }
5238
5239 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
5240 static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
5241 PyObject * _resultobj;
5242 bool _result;
5243 wxTextCtrl * _arg0;
5244 PyObject * _argo0 = 0;
5245 char *_kwnames[] = { "self", NULL };
5246
5247 self = self;
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
5249 return NULL;
5250 if (_argo0) {
5251 if (_argo0 == Py_None) { _arg0 = NULL; }
5252 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5253 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
5254 return NULL;
5255 }
5256 }
5257 {
5258 wxPy_BEGIN_ALLOW_THREADS;
5259 _result = (bool )wxTextCtrl_CanCut(_arg0);
5260
5261 wxPy_END_ALLOW_THREADS;
5262 } _resultobj = Py_BuildValue("i",_result);
5263 return _resultobj;
5264 }
5265
5266 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5267 static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5268 PyObject * _resultobj;
5269 bool _result;
5270 wxTextCtrl * _arg0;
5271 PyObject * _argo0 = 0;
5272 char *_kwnames[] = { "self", NULL };
5273
5274 self = self;
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
5276 return NULL;
5277 if (_argo0) {
5278 if (_argo0 == Py_None) { _arg0 = NULL; }
5279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
5281 return NULL;
5282 }
5283 }
5284 {
5285 wxPy_BEGIN_ALLOW_THREADS;
5286 _result = (bool )wxTextCtrl_CanPaste(_arg0);
5287
5288 wxPy_END_ALLOW_THREADS;
5289 } _resultobj = Py_BuildValue("i",_result);
5290 return _resultobj;
5291 }
5292
5293 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
5294 static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
5295 PyObject * _resultobj;
5296 bool _result;
5297 wxTextCtrl * _arg0;
5298 PyObject * _argo0 = 0;
5299 char *_kwnames[] = { "self", NULL };
5300
5301 self = self;
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
5303 return NULL;
5304 if (_argo0) {
5305 if (_argo0 == Py_None) { _arg0 = NULL; }
5306 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5307 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
5308 return NULL;
5309 }
5310 }
5311 {
5312 wxPy_BEGIN_ALLOW_THREADS;
5313 _result = (bool )wxTextCtrl_CanRedo(_arg0);
5314
5315 wxPy_END_ALLOW_THREADS;
5316 } _resultobj = Py_BuildValue("i",_result);
5317 return _resultobj;
5318 }
5319
5320 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
5321 static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5322 PyObject * _resultobj;
5323 bool _result;
5324 wxTextCtrl * _arg0;
5325 PyObject * _argo0 = 0;
5326 char *_kwnames[] = { "self", NULL };
5327
5328 self = self;
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
5330 return NULL;
5331 if (_argo0) {
5332 if (_argo0 == Py_None) { _arg0 = NULL; }
5333 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5334 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
5335 return NULL;
5336 }
5337 }
5338 {
5339 wxPy_BEGIN_ALLOW_THREADS;
5340 _result = (bool )wxTextCtrl_CanUndo(_arg0);
5341
5342 wxPy_END_ALLOW_THREADS;
5343 } _resultobj = Py_BuildValue("i",_result);
5344 return _resultobj;
5345 }
5346
5347 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
5348 static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5349 PyObject * _resultobj;
5350 wxTextCtrl * _arg0;
5351 long * _arg1;
5352 long temp;
5353 long * _arg2;
5354 long temp0;
5355 PyObject * _argo0 = 0;
5356 char *_kwnames[] = { "self", NULL };
5357
5358 self = self;
5359 {
5360 _arg1 = &temp;
5361 }
5362 {
5363 _arg2 = &temp0;
5364 }
5365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
5366 return NULL;
5367 if (_argo0) {
5368 if (_argo0 == Py_None) { _arg0 = NULL; }
5369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
5371 return NULL;
5372 }
5373 }
5374 {
5375 wxPy_BEGIN_ALLOW_THREADS;
5376 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
5377
5378 wxPy_END_ALLOW_THREADS;
5379 } Py_INCREF(Py_None);
5380 _resultobj = Py_None;
5381 {
5382 PyObject *o;
5383 o = PyInt_FromLong((long) (*_arg1));
5384 _resultobj = t_output_helper(_resultobj, o);
5385 }
5386 {
5387 PyObject *o;
5388 o = PyInt_FromLong((long) (*_arg2));
5389 _resultobj = t_output_helper(_resultobj, o);
5390 }
5391 return _resultobj;
5392 }
5393
5394 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
5395 static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
5396 PyObject * _resultobj;
5397 bool _result;
5398 wxTextCtrl * _arg0;
5399 PyObject * _argo0 = 0;
5400 char *_kwnames[] = { "self", NULL };
5401
5402 self = self;
5403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
5404 return NULL;
5405 if (_argo0) {
5406 if (_argo0 == Py_None) { _arg0 = NULL; }
5407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
5409 return NULL;
5410 }
5411 }
5412 {
5413 wxPy_BEGIN_ALLOW_THREADS;
5414 _result = (bool )wxTextCtrl_IsEditable(_arg0);
5415
5416 wxPy_END_ALLOW_THREADS;
5417 } _resultobj = Py_BuildValue("i",_result);
5418 return _resultobj;
5419 }
5420
5421 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
5422 static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5423 PyObject * _resultobj;
5424 wxTextCtrl * _arg0;
5425 PyObject * _argo0 = 0;
5426 char *_kwnames[] = { "self", NULL };
5427
5428 self = self;
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
5430 return NULL;
5431 if (_argo0) {
5432 if (_argo0 == Py_None) { _arg0 = NULL; }
5433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
5435 return NULL;
5436 }
5437 }
5438 {
5439 wxPy_BEGIN_ALLOW_THREADS;
5440 wxTextCtrl_Undo(_arg0);
5441
5442 wxPy_END_ALLOW_THREADS;
5443 } Py_INCREF(Py_None);
5444 _resultobj = Py_None;
5445 return _resultobj;
5446 }
5447
5448 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
5449 static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
5450 PyObject * _resultobj;
5451 wxTextCtrl * _arg0;
5452 PyObject * _argo0 = 0;
5453 char *_kwnames[] = { "self", NULL };
5454
5455 self = self;
5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
5457 return NULL;
5458 if (_argo0) {
5459 if (_argo0 == Py_None) { _arg0 = NULL; }
5460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
5462 return NULL;
5463 }
5464 }
5465 {
5466 wxPy_BEGIN_ALLOW_THREADS;
5467 wxTextCtrl_Redo(_arg0);
5468
5469 wxPy_END_ALLOW_THREADS;
5470 } Py_INCREF(Py_None);
5471 _resultobj = Py_None;
5472 return _resultobj;
5473 }
5474
5475 static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
5476 self->AppendText(text + '\n');
5477 }
5478 static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
5479 PyObject * _resultobj;
5480 wxTextCtrl * _arg0;
5481 wxString * _arg1;
5482 PyObject * _argo0 = 0;
5483 PyObject * _obj1 = 0;
5484 char *_kwnames[] = { "self","text", NULL };
5485
5486 self = self;
5487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
5488 return NULL;
5489 if (_argo0) {
5490 if (_argo0 == Py_None) { _arg0 = NULL; }
5491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
5492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
5493 return NULL;
5494 }
5495 }
5496 {
5497 #if PYTHON_API_VERSION >= 1009
5498 char* tmpPtr; int tmpSize;
5499 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5500 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5501 return NULL;
5502 }
5503 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5504 return NULL;
5505 _arg1 = new wxString(tmpPtr, tmpSize);
5506 #else
5507 if (!PyString_Check(_obj1)) {
5508 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5509 return NULL;
5510 }
5511 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5512 #endif
5513 }
5514 {
5515 wxPy_BEGIN_ALLOW_THREADS;
5516 wxTextCtrl_write(_arg0,*_arg1);
5517
5518 wxPy_END_ALLOW_THREADS;
5519 } Py_INCREF(Py_None);
5520 _resultobj = Py_None;
5521 {
5522 if (_obj1)
5523 delete _arg1;
5524 }
5525 return _resultobj;
5526 }
5527
5528 static void *SwigwxScrollBarTowxControl(void *ptr) {
5529 wxScrollBar *src;
5530 wxControl *dest;
5531 src = (wxScrollBar *) ptr;
5532 dest = (wxControl *) src;
5533 return (void *) dest;
5534 }
5535
5536 static void *SwigwxScrollBarTowxWindow(void *ptr) {
5537 wxScrollBar *src;
5538 wxWindow *dest;
5539 src = (wxScrollBar *) ptr;
5540 dest = (wxWindow *) src;
5541 return (void *) dest;
5542 }
5543
5544 static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
5545 wxScrollBar *src;
5546 wxEvtHandler *dest;
5547 src = (wxScrollBar *) ptr;
5548 dest = (wxEvtHandler *) src;
5549 return (void *) dest;
5550 }
5551
5552 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5553 static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
5554 PyObject * _resultobj;
5555 wxScrollBar * _result;
5556 wxWindow * _arg0;
5557 wxWindowID _arg1 = (wxWindowID ) -1;
5558 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5559 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5560 long _arg4 = (long ) wxSB_HORIZONTAL;
5561 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
5562 char * _arg6 = (char *) "scrollBar";
5563 PyObject * _argo0 = 0;
5564 wxPoint temp;
5565 PyObject * _obj2 = 0;
5566 wxSize temp0;
5567 PyObject * _obj3 = 0;
5568 PyObject * _argo5 = 0;
5569 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
5570 char _ptemp[128];
5571
5572 self = self;
5573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
5574 return NULL;
5575 if (_argo0) {
5576 if (_argo0 == Py_None) { _arg0 = NULL; }
5577 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
5579 return NULL;
5580 }
5581 }
5582 if (_obj2)
5583 {
5584 _arg2 = &temp;
5585 if (! wxPoint_helper(_obj2, &_arg2))
5586 return NULL;
5587 }
5588 if (_obj3)
5589 {
5590 _arg3 = &temp0;
5591 if (! wxSize_helper(_obj3, &_arg3))
5592 return NULL;
5593 }
5594 if (_argo5) {
5595 if (_argo5 == Py_None) { _arg5 = NULL; }
5596 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
5597 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
5598 return NULL;
5599 }
5600 }
5601 {
5602 wxPy_BEGIN_ALLOW_THREADS;
5603 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
5604
5605 wxPy_END_ALLOW_THREADS;
5606 } if (_result) {
5607 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
5608 _resultobj = Py_BuildValue("s",_ptemp);
5609 } else {
5610 Py_INCREF(Py_None);
5611 _resultobj = Py_None;
5612 }
5613 return _resultobj;
5614 }
5615
5616 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
5617 static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5618 PyObject * _resultobj;
5619 int _result;
5620 wxScrollBar * _arg0;
5621 PyObject * _argo0 = 0;
5622 char *_kwnames[] = { "self", NULL };
5623
5624 self = self;
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
5626 return NULL;
5627 if (_argo0) {
5628 if (_argo0 == Py_None) { _arg0 = NULL; }
5629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
5631 return NULL;
5632 }
5633 }
5634 {
5635 wxPy_BEGIN_ALLOW_THREADS;
5636 _result = (int )wxScrollBar_GetRange(_arg0);
5637
5638 wxPy_END_ALLOW_THREADS;
5639 } _resultobj = Py_BuildValue("i",_result);
5640 return _resultobj;
5641 }
5642
5643 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5644 static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5645 PyObject * _resultobj;
5646 int _result;
5647 wxScrollBar * _arg0;
5648 PyObject * _argo0 = 0;
5649 char *_kwnames[] = { "self", NULL };
5650
5651 self = self;
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
5653 return NULL;
5654 if (_argo0) {
5655 if (_argo0 == Py_None) { _arg0 = NULL; }
5656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
5658 return NULL;
5659 }
5660 }
5661 {
5662 wxPy_BEGIN_ALLOW_THREADS;
5663 _result = (int )wxScrollBar_GetPageSize(_arg0);
5664
5665 wxPy_END_ALLOW_THREADS;
5666 } _resultobj = Py_BuildValue("i",_result);
5667 return _resultobj;
5668 }
5669
5670 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
5671 static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5672 PyObject * _resultobj;
5673 int _result;
5674 wxScrollBar * _arg0;
5675 PyObject * _argo0 = 0;
5676 char *_kwnames[] = { "self", NULL };
5677
5678 self = self;
5679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
5680 return NULL;
5681 if (_argo0) {
5682 if (_argo0 == Py_None) { _arg0 = NULL; }
5683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
5685 return NULL;
5686 }
5687 }
5688 {
5689 wxPy_BEGIN_ALLOW_THREADS;
5690 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
5691
5692 wxPy_END_ALLOW_THREADS;
5693 } _resultobj = Py_BuildValue("i",_result);
5694 return _resultobj;
5695 }
5696
5697 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
5698 static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject * _resultobj;
5700 int _result;
5701 wxScrollBar * _arg0;
5702 PyObject * _argo0 = 0;
5703 char *_kwnames[] = { "self", NULL };
5704
5705 self = self;
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
5707 return NULL;
5708 if (_argo0) {
5709 if (_argo0 == Py_None) { _arg0 = NULL; }
5710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
5712 return NULL;
5713 }
5714 }
5715 {
5716 wxPy_BEGIN_ALLOW_THREADS;
5717 _result = (int )wxScrollBar_GetThumbSize(_arg0);
5718
5719 wxPy_END_ALLOW_THREADS;
5720 } _resultobj = Py_BuildValue("i",_result);
5721 return _resultobj;
5722 }
5723
5724 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
5725 static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5726 PyObject * _resultobj;
5727 wxScrollBar * _arg0;
5728 int _arg1;
5729 PyObject * _argo0 = 0;
5730 char *_kwnames[] = { "self","viewStart", NULL };
5731
5732 self = self;
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
5734 return NULL;
5735 if (_argo0) {
5736 if (_argo0 == Py_None) { _arg0 = NULL; }
5737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
5739 return NULL;
5740 }
5741 }
5742 {
5743 wxPy_BEGIN_ALLOW_THREADS;
5744 wxScrollBar_SetThumbPosition(_arg0,_arg1);
5745
5746 wxPy_END_ALLOW_THREADS;
5747 } Py_INCREF(Py_None);
5748 _resultobj = Py_None;
5749 return _resultobj;
5750 }
5751
5752 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5753 static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject * _resultobj;
5755 wxScrollBar * _arg0;
5756 int _arg1;
5757 int _arg2;
5758 int _arg3;
5759 int _arg4;
5760 bool _arg5 = (bool ) TRUE;
5761 PyObject * _argo0 = 0;
5762 int tempbool5 = (int) TRUE;
5763 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
5764
5765 self = self;
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
5767 return NULL;
5768 if (_argo0) {
5769 if (_argo0 == Py_None) { _arg0 = NULL; }
5770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
5772 return NULL;
5773 }
5774 }
5775 _arg5 = (bool ) tempbool5;
5776 {
5777 wxPy_BEGIN_ALLOW_THREADS;
5778 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5779
5780 wxPy_END_ALLOW_THREADS;
5781 } Py_INCREF(Py_None);
5782 _resultobj = Py_None;
5783 return _resultobj;
5784 }
5785
5786 static void *SwigwxSpinButtonTowxControl(void *ptr) {
5787 wxSpinButton *src;
5788 wxControl *dest;
5789 src = (wxSpinButton *) ptr;
5790 dest = (wxControl *) src;
5791 return (void *) dest;
5792 }
5793
5794 static void *SwigwxSpinButtonTowxWindow(void *ptr) {
5795 wxSpinButton *src;
5796 wxWindow *dest;
5797 src = (wxSpinButton *) ptr;
5798 dest = (wxWindow *) src;
5799 return (void *) dest;
5800 }
5801
5802 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
5803 wxSpinButton *src;
5804 wxEvtHandler *dest;
5805 src = (wxSpinButton *) ptr;
5806 dest = (wxEvtHandler *) src;
5807 return (void *) dest;
5808 }
5809
5810 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5811 static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject * _resultobj;
5813 wxSpinButton * _result;
5814 wxWindow * _arg0;
5815 wxWindowID _arg1 = (wxWindowID ) -1;
5816 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5817 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5818 long _arg4 = (long ) wxSP_HORIZONTAL;
5819 char * _arg5 = (char *) "spinButton";
5820 PyObject * _argo0 = 0;
5821 wxPoint temp;
5822 PyObject * _obj2 = 0;
5823 wxSize temp0;
5824 PyObject * _obj3 = 0;
5825 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
5826 char _ptemp[128];
5827
5828 self = self;
5829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
5830 return NULL;
5831 if (_argo0) {
5832 if (_argo0 == Py_None) { _arg0 = NULL; }
5833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
5835 return NULL;
5836 }
5837 }
5838 if (_obj2)
5839 {
5840 _arg2 = &temp;
5841 if (! wxPoint_helper(_obj2, &_arg2))
5842 return NULL;
5843 }
5844 if (_obj3)
5845 {
5846 _arg3 = &temp0;
5847 if (! wxSize_helper(_obj3, &_arg3))
5848 return NULL;
5849 }
5850 {
5851 wxPy_BEGIN_ALLOW_THREADS;
5852 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
5853
5854 wxPy_END_ALLOW_THREADS;
5855 } if (_result) {
5856 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
5857 _resultobj = Py_BuildValue("s",_ptemp);
5858 } else {
5859 Py_INCREF(Py_None);
5860 _resultobj = Py_None;
5861 }
5862 return _resultobj;
5863 }
5864
5865 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
5866 static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
5867 PyObject * _resultobj;
5868 int _result;
5869 wxSpinButton * _arg0;
5870 PyObject * _argo0 = 0;
5871 char *_kwnames[] = { "self", NULL };
5872
5873 self = self;
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
5875 return NULL;
5876 if (_argo0) {
5877 if (_argo0 == Py_None) { _arg0 = NULL; }
5878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
5879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
5880 return NULL;
5881 }
5882 }
5883 {
5884 wxPy_BEGIN_ALLOW_THREADS;
5885 _result = (int )wxSpinButton_GetMax(_arg0);
5886
5887 wxPy_END_ALLOW_THREADS;
5888 } _resultobj = Py_BuildValue("i",_result);
5889 return _resultobj;
5890 }
5891
5892 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
5893 static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
5894 PyObject * _resultobj;
5895 int _result;
5896 wxSpinButton * _arg0;
5897 PyObject * _argo0 = 0;
5898 char *_kwnames[] = { "self", NULL };
5899
5900 self = self;
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
5902 return NULL;
5903 if (_argo0) {
5904 if (_argo0 == Py_None) { _arg0 = NULL; }
5905 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
5906 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
5907 return NULL;
5908 }
5909 }
5910 {
5911 wxPy_BEGIN_ALLOW_THREADS;
5912 _result = (int )wxSpinButton_GetMin(_arg0);
5913
5914 wxPy_END_ALLOW_THREADS;
5915 } _resultobj = Py_BuildValue("i",_result);
5916 return _resultobj;
5917 }
5918
5919 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
5920 static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5921 PyObject * _resultobj;
5922 int _result;
5923 wxSpinButton * _arg0;
5924 PyObject * _argo0 = 0;
5925 char *_kwnames[] = { "self", NULL };
5926
5927 self = self;
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
5929 return NULL;
5930 if (_argo0) {
5931 if (_argo0 == Py_None) { _arg0 = NULL; }
5932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
5933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
5934 return NULL;
5935 }
5936 }
5937 {
5938 wxPy_BEGIN_ALLOW_THREADS;
5939 _result = (int )wxSpinButton_GetValue(_arg0);
5940
5941 wxPy_END_ALLOW_THREADS;
5942 } _resultobj = Py_BuildValue("i",_result);
5943 return _resultobj;
5944 }
5945
5946 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
5947 static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5948 PyObject * _resultobj;
5949 wxSpinButton * _arg0;
5950 int _arg1;
5951 int _arg2;
5952 PyObject * _argo0 = 0;
5953 char *_kwnames[] = { "self","min","max", NULL };
5954
5955 self = self;
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
5957 return NULL;
5958 if (_argo0) {
5959 if (_argo0 == Py_None) { _arg0 = NULL; }
5960 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
5961 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
5962 return NULL;
5963 }
5964 }
5965 {
5966 wxPy_BEGIN_ALLOW_THREADS;
5967 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
5968
5969 wxPy_END_ALLOW_THREADS;
5970 } Py_INCREF(Py_None);
5971 _resultobj = Py_None;
5972 return _resultobj;
5973 }
5974
5975 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5976 static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5977 PyObject * _resultobj;
5978 wxSpinButton * _arg0;
5979 int _arg1;
5980 PyObject * _argo0 = 0;
5981 char *_kwnames[] = { "self","value", NULL };
5982
5983 self = self;
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
5985 return NULL;
5986 if (_argo0) {
5987 if (_argo0 == Py_None) { _arg0 = NULL; }
5988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
5989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
5990 return NULL;
5991 }
5992 }
5993 {
5994 wxPy_BEGIN_ALLOW_THREADS;
5995 wxSpinButton_SetValue(_arg0,_arg1);
5996
5997 wxPy_END_ALLOW_THREADS;
5998 } Py_INCREF(Py_None);
5999 _resultobj = Py_None;
6000 return _resultobj;
6001 }
6002
6003 static void *SwigwxStaticBitmapTowxControl(void *ptr) {
6004 wxStaticBitmap *src;
6005 wxControl *dest;
6006 src = (wxStaticBitmap *) ptr;
6007 dest = (wxControl *) src;
6008 return (void *) dest;
6009 }
6010
6011 static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
6012 wxStaticBitmap *src;
6013 wxWindow *dest;
6014 src = (wxStaticBitmap *) ptr;
6015 dest = (wxWindow *) src;
6016 return (void *) dest;
6017 }
6018
6019 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
6020 wxStaticBitmap *src;
6021 wxEvtHandler *dest;
6022 src = (wxStaticBitmap *) ptr;
6023 dest = (wxEvtHandler *) src;
6024 return (void *) dest;
6025 }
6026
6027 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
6028 static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
6029 PyObject * _resultobj;
6030 wxStaticBitmap * _result;
6031 wxWindow * _arg0;
6032 wxWindowID _arg1;
6033 wxBitmap * _arg2;
6034 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6035 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6036 long _arg5 = (long ) 0;
6037 char * _arg6 = (char *) "staticBitmap";
6038 PyObject * _argo0 = 0;
6039 PyObject * _argo2 = 0;
6040 wxPoint temp;
6041 PyObject * _obj3 = 0;
6042 wxSize temp0;
6043 PyObject * _obj4 = 0;
6044 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
6045 char _ptemp[128];
6046
6047 self = self;
6048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_arg6))
6049 return NULL;
6050 if (_argo0) {
6051 if (_argo0 == Py_None) { _arg0 = NULL; }
6052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
6054 return NULL;
6055 }
6056 }
6057 if (_argo2) {
6058 if (_argo2 == Py_None) { _arg2 = NULL; }
6059 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
6060 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
6061 return NULL;
6062 }
6063 }
6064 if (_obj3)
6065 {
6066 _arg3 = &temp;
6067 if (! wxPoint_helper(_obj3, &_arg3))
6068 return NULL;
6069 }
6070 if (_obj4)
6071 {
6072 _arg4 = &temp0;
6073 if (! wxSize_helper(_obj4, &_arg4))
6074 return NULL;
6075 }
6076 {
6077 wxPy_BEGIN_ALLOW_THREADS;
6078 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
6079
6080 wxPy_END_ALLOW_THREADS;
6081 } if (_result) {
6082 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
6083 _resultobj = Py_BuildValue("s",_ptemp);
6084 } else {
6085 Py_INCREF(Py_None);
6086 _resultobj = Py_None;
6087 }
6088 return _resultobj;
6089 }
6090
6091 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
6092 static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject * _resultobj;
6094 wxBitmap * _result;
6095 wxStaticBitmap * _arg0;
6096 PyObject * _argo0 = 0;
6097 char *_kwnames[] = { "self", NULL };
6098 char _ptemp[128];
6099
6100 self = self;
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
6102 return NULL;
6103 if (_argo0) {
6104 if (_argo0 == Py_None) { _arg0 = NULL; }
6105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
6106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
6107 return NULL;
6108 }
6109 }
6110 {
6111 wxPy_BEGIN_ALLOW_THREADS;
6112 const wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0);
6113 _result = (wxBitmap *) &_result_ref;
6114
6115 wxPy_END_ALLOW_THREADS;
6116 } if (_result) {
6117 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
6118 _resultobj = Py_BuildValue("s",_ptemp);
6119 } else {
6120 Py_INCREF(Py_None);
6121 _resultobj = Py_None;
6122 }
6123 return _resultobj;
6124 }
6125
6126 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
6127 static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject * _resultobj;
6129 wxStaticBitmap * _arg0;
6130 wxBitmap * _arg1;
6131 PyObject * _argo0 = 0;
6132 PyObject * _argo1 = 0;
6133 char *_kwnames[] = { "self","bitmap", NULL };
6134
6135 self = self;
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
6137 return NULL;
6138 if (_argo0) {
6139 if (_argo0 == Py_None) { _arg0 = NULL; }
6140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
6141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
6142 return NULL;
6143 }
6144 }
6145 if (_argo1) {
6146 if (_argo1 == Py_None) { _arg1 = NULL; }
6147 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
6148 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
6149 return NULL;
6150 }
6151 }
6152 {
6153 wxPy_BEGIN_ALLOW_THREADS;
6154 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
6155
6156 wxPy_END_ALLOW_THREADS;
6157 } Py_INCREF(Py_None);
6158 _resultobj = Py_None;
6159 return _resultobj;
6160 }
6161
6162 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
6163 static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
6164 PyObject * _resultobj;
6165 wxStaticBitmap * _arg0;
6166 wxIcon * _arg1;
6167 PyObject * _argo0 = 0;
6168 PyObject * _argo1 = 0;
6169 char *_kwnames[] = { "self","icon", NULL };
6170
6171 self = self;
6172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
6173 return NULL;
6174 if (_argo0) {
6175 if (_argo0 == Py_None) { _arg0 = NULL; }
6176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
6177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
6178 return NULL;
6179 }
6180 }
6181 if (_argo1) {
6182 if (_argo1 == Py_None) { _arg1 = NULL; }
6183 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
6184 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
6185 return NULL;
6186 }
6187 }
6188 {
6189 wxPy_BEGIN_ALLOW_THREADS;
6190 wxStaticBitmap_SetIcon(_arg0,*_arg1);
6191
6192 wxPy_END_ALLOW_THREADS;
6193 } Py_INCREF(Py_None);
6194 _resultobj = Py_None;
6195 return _resultobj;
6196 }
6197
6198 static void *SwigwxRadioBoxTowxControl(void *ptr) {
6199 wxRadioBox *src;
6200 wxControl *dest;
6201 src = (wxRadioBox *) ptr;
6202 dest = (wxControl *) src;
6203 return (void *) dest;
6204 }
6205
6206 static void *SwigwxRadioBoxTowxWindow(void *ptr) {
6207 wxRadioBox *src;
6208 wxWindow *dest;
6209 src = (wxRadioBox *) ptr;
6210 dest = (wxWindow *) src;
6211 return (void *) dest;
6212 }
6213
6214 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
6215 wxRadioBox *src;
6216 wxEvtHandler *dest;
6217 src = (wxRadioBox *) ptr;
6218 dest = (wxEvtHandler *) src;
6219 return (void *) dest;
6220 }
6221
6222 #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))
6223 static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6224 PyObject * _resultobj;
6225 wxRadioBox * _result;
6226 wxWindow * _arg0;
6227 wxWindowID _arg1;
6228 wxString * _arg2;
6229 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6230 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6231 int _arg5 = (int ) 0;
6232 wxString * _arg6 = (wxString *) NULL;
6233 int _arg7 = (int ) 0;
6234 long _arg8 = (long ) wxRA_HORIZONTAL;
6235 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
6236 char * _arg10 = (char *) "radioBox";
6237 PyObject * _argo0 = 0;
6238 PyObject * _obj2 = 0;
6239 wxPoint temp;
6240 PyObject * _obj3 = 0;
6241 wxSize temp0;
6242 PyObject * _obj4 = 0;
6243 PyObject * _obj6 = 0;
6244 PyObject * _argo9 = 0;
6245 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
6246 char _ptemp[128];
6247
6248 self = self;
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOs:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_arg10))
6250 return NULL;
6251 if (_argo0) {
6252 if (_argo0 == Py_None) { _arg0 = NULL; }
6253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
6255 return NULL;
6256 }
6257 }
6258 {
6259 #if PYTHON_API_VERSION >= 1009
6260 char* tmpPtr; int tmpSize;
6261 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6262 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6263 return NULL;
6264 }
6265 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6266 return NULL;
6267 _arg2 = new wxString(tmpPtr, tmpSize);
6268 #else
6269 if (!PyString_Check(_obj2)) {
6270 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6271 return NULL;
6272 }
6273 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6274 #endif
6275 }
6276 if (_obj3)
6277 {
6278 _arg3 = &temp;
6279 if (! wxPoint_helper(_obj3, &_arg3))
6280 return NULL;
6281 }
6282 if (_obj4)
6283 {
6284 _arg4 = &temp0;
6285 if (! wxSize_helper(_obj4, &_arg4))
6286 return NULL;
6287 }
6288 if (_obj6)
6289 {
6290 _arg6 = wxString_LIST_helper(_obj6);
6291 if (_arg6 == NULL) {
6292 return NULL;
6293 }
6294 }
6295 if (_argo9) {
6296 if (_argo9 == Py_None) { _arg9 = NULL; }
6297 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
6298 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
6299 return NULL;
6300 }
6301 }
6302 {
6303 if (_obj6) {
6304 _arg5 = PyList_Size(_obj6);
6305 }
6306 else {
6307 _arg5 = 0;
6308 }
6309 }
6310 {
6311 wxPy_BEGIN_ALLOW_THREADS;
6312 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
6313
6314 wxPy_END_ALLOW_THREADS;
6315 } if (_result) {
6316 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
6317 _resultobj = Py_BuildValue("s",_ptemp);
6318 } else {
6319 Py_INCREF(Py_None);
6320 _resultobj = Py_None;
6321 }
6322 {
6323 if (_obj2)
6324 delete _arg2;
6325 }
6326 {
6327 delete [] _arg6;
6328 }
6329 return _resultobj;
6330 }
6331
6332 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
6333 static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
6334 PyObject * _resultobj;
6335 wxRadioBox * _arg0;
6336 bool _arg1;
6337 PyObject * _argo0 = 0;
6338 int tempbool1;
6339 char *_kwnames[] = { "self","enable", NULL };
6340
6341 self = self;
6342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
6343 return NULL;
6344 if (_argo0) {
6345 if (_argo0 == Py_None) { _arg0 = NULL; }
6346 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6347 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
6348 return NULL;
6349 }
6350 }
6351 _arg1 = (bool ) tempbool1;
6352 {
6353 wxPy_BEGIN_ALLOW_THREADS;
6354 wxRadioBox_Enable(_arg0,_arg1);
6355
6356 wxPy_END_ALLOW_THREADS;
6357 } Py_INCREF(Py_None);
6358 _resultobj = Py_None;
6359 return _resultobj;
6360 }
6361
6362 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
6363 static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject * _resultobj;
6365 wxRadioBox * _arg0;
6366 int _arg1;
6367 bool _arg2;
6368 PyObject * _argo0 = 0;
6369 int tempbool2;
6370 char *_kwnames[] = { "self","n","enable", NULL };
6371
6372 self = self;
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
6374 return NULL;
6375 if (_argo0) {
6376 if (_argo0 == Py_None) { _arg0 = NULL; }
6377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
6379 return NULL;
6380 }
6381 }
6382 _arg2 = (bool ) tempbool2;
6383 {
6384 wxPy_BEGIN_ALLOW_THREADS;
6385 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
6386
6387 wxPy_END_ALLOW_THREADS;
6388 } Py_INCREF(Py_None);
6389 _resultobj = Py_None;
6390 return _resultobj;
6391 }
6392
6393 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
6394 static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
6395 PyObject * _resultobj;
6396 int _result;
6397 wxRadioBox * _arg0;
6398 wxString * _arg1;
6399 PyObject * _argo0 = 0;
6400 PyObject * _obj1 = 0;
6401 char *_kwnames[] = { "self","string", NULL };
6402
6403 self = self;
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
6405 return NULL;
6406 if (_argo0) {
6407 if (_argo0 == Py_None) { _arg0 = NULL; }
6408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
6410 return NULL;
6411 }
6412 }
6413 {
6414 #if PYTHON_API_VERSION >= 1009
6415 char* tmpPtr; int tmpSize;
6416 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6417 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6418 return NULL;
6419 }
6420 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6421 return NULL;
6422 _arg1 = new wxString(tmpPtr, tmpSize);
6423 #else
6424 if (!PyString_Check(_obj1)) {
6425 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6426 return NULL;
6427 }
6428 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6429 #endif
6430 }
6431 {
6432 wxPy_BEGIN_ALLOW_THREADS;
6433 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
6434
6435 wxPy_END_ALLOW_THREADS;
6436 } _resultobj = Py_BuildValue("i",_result);
6437 {
6438 if (_obj1)
6439 delete _arg1;
6440 }
6441 return _resultobj;
6442 }
6443
6444 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
6445 static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6446 PyObject * _resultobj;
6447 wxString * _result;
6448 wxRadioBox * _arg0;
6449 int _arg1;
6450 PyObject * _argo0 = 0;
6451 char *_kwnames[] = { "self","n", NULL };
6452
6453 self = self;
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetItemLabel",_kwnames,&_argo0,&_arg1))
6455 return NULL;
6456 if (_argo0) {
6457 if (_argo0 == Py_None) { _arg0 = NULL; }
6458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
6460 return NULL;
6461 }
6462 }
6463 {
6464 wxPy_BEGIN_ALLOW_THREADS;
6465 _result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1));
6466
6467 wxPy_END_ALLOW_THREADS;
6468 }{
6469 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6470 }
6471 {
6472 delete _result;
6473 }
6474 return _resultobj;
6475 }
6476
6477 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
6478 static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6479 PyObject * _resultobj;
6480 int _result;
6481 wxRadioBox * _arg0;
6482 PyObject * _argo0 = 0;
6483 char *_kwnames[] = { "self", NULL };
6484
6485 self = self;
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
6487 return NULL;
6488 if (_argo0) {
6489 if (_argo0 == Py_None) { _arg0 = NULL; }
6490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
6492 return NULL;
6493 }
6494 }
6495 {
6496 wxPy_BEGIN_ALLOW_THREADS;
6497 _result = (int )wxRadioBox_GetSelection(_arg0);
6498
6499 wxPy_END_ALLOW_THREADS;
6500 } _resultobj = Py_BuildValue("i",_result);
6501 return _resultobj;
6502 }
6503
6504 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
6505 static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
6506 PyObject * _resultobj;
6507 wxString * _result;
6508 wxRadioBox * _arg0;
6509 int _arg1;
6510 PyObject * _argo0 = 0;
6511 char *_kwnames[] = { "self","n", NULL };
6512
6513 self = self;
6514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
6515 return NULL;
6516 if (_argo0) {
6517 if (_argo0 == Py_None) { _arg0 = NULL; }
6518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
6520 return NULL;
6521 }
6522 }
6523 {
6524 wxPy_BEGIN_ALLOW_THREADS;
6525 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
6526
6527 wxPy_END_ALLOW_THREADS;
6528 }{
6529 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6530 }
6531 {
6532 delete _result;
6533 }
6534 return _resultobj;
6535 }
6536
6537 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6538 static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject * _resultobj;
6540 wxString * _result;
6541 wxRadioBox * _arg0;
6542 PyObject * _argo0 = 0;
6543 char *_kwnames[] = { "self", NULL };
6544
6545 self = self;
6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
6547 return NULL;
6548 if (_argo0) {
6549 if (_argo0 == Py_None) { _arg0 = NULL; }
6550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
6552 return NULL;
6553 }
6554 }
6555 {
6556 wxPy_BEGIN_ALLOW_THREADS;
6557 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
6558
6559 wxPy_END_ALLOW_THREADS;
6560 }{
6561 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6562 }
6563 {
6564 delete _result;
6565 }
6566 return _resultobj;
6567 }
6568
6569 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
6570 static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) {
6571 PyObject * _resultobj;
6572 int _result;
6573 wxRadioBox * _arg0;
6574 PyObject * _argo0 = 0;
6575 char *_kwnames[] = { "self", NULL };
6576
6577 self = self;
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_Number",_kwnames,&_argo0))
6579 return NULL;
6580 if (_argo0) {
6581 if (_argo0 == Py_None) { _arg0 = NULL; }
6582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
6584 return NULL;
6585 }
6586 }
6587 {
6588 wxPy_BEGIN_ALLOW_THREADS;
6589 _result = (int )wxRadioBox_Number(_arg0);
6590
6591 wxPy_END_ALLOW_THREADS;
6592 } _resultobj = Py_BuildValue("i",_result);
6593 return _resultobj;
6594 }
6595
6596 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
6597 static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
6598 PyObject * _resultobj;
6599 wxRadioBox * _arg0;
6600 int _arg1;
6601 wxString * _arg2;
6602 PyObject * _argo0 = 0;
6603 PyObject * _obj2 = 0;
6604 char *_kwnames[] = { "self","n","label", NULL };
6605
6606 self = self;
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetItemLabel",_kwnames,&_argo0,&_arg1,&_obj2))
6608 return NULL;
6609 if (_argo0) {
6610 if (_argo0 == Py_None) { _arg0 = NULL; }
6611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
6613 return NULL;
6614 }
6615 }
6616 {
6617 #if PYTHON_API_VERSION >= 1009
6618 char* tmpPtr; int tmpSize;
6619 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6620 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6621 return NULL;
6622 }
6623 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6624 return NULL;
6625 _arg2 = new wxString(tmpPtr, tmpSize);
6626 #else
6627 if (!PyString_Check(_obj2)) {
6628 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6629 return NULL;
6630 }
6631 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6632 #endif
6633 }
6634 {
6635 wxPy_BEGIN_ALLOW_THREADS;
6636 wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2);
6637
6638 wxPy_END_ALLOW_THREADS;
6639 } Py_INCREF(Py_None);
6640 _resultobj = Py_None;
6641 {
6642 if (_obj2)
6643 delete _arg2;
6644 }
6645 return _resultobj;
6646 }
6647
6648 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
6649 static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6650 PyObject * _resultobj;
6651 wxRadioBox * _arg0;
6652 int _arg1;
6653 PyObject * _argo0 = 0;
6654 char *_kwnames[] = { "self","n", NULL };
6655
6656 self = self;
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
6658 return NULL;
6659 if (_argo0) {
6660 if (_argo0 == Py_None) { _arg0 = NULL; }
6661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
6663 return NULL;
6664 }
6665 }
6666 {
6667 wxPy_BEGIN_ALLOW_THREADS;
6668 wxRadioBox_SetSelection(_arg0,_arg1);
6669
6670 wxPy_END_ALLOW_THREADS;
6671 } Py_INCREF(Py_None);
6672 _resultobj = Py_None;
6673 return _resultobj;
6674 }
6675
6676 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
6677 static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6678 PyObject * _resultobj;
6679 wxRadioBox * _arg0;
6680 wxString * _arg1;
6681 PyObject * _argo0 = 0;
6682 PyObject * _obj1 = 0;
6683 char *_kwnames[] = { "self","string", NULL };
6684
6685 self = self;
6686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
6687 return NULL;
6688 if (_argo0) {
6689 if (_argo0 == Py_None) { _arg0 = NULL; }
6690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
6692 return NULL;
6693 }
6694 }
6695 {
6696 #if PYTHON_API_VERSION >= 1009
6697 char* tmpPtr; int tmpSize;
6698 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6699 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6700 return NULL;
6701 }
6702 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6703 return NULL;
6704 _arg1 = new wxString(tmpPtr, tmpSize);
6705 #else
6706 if (!PyString_Check(_obj1)) {
6707 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6708 return NULL;
6709 }
6710 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6711 #endif
6712 }
6713 {
6714 wxPy_BEGIN_ALLOW_THREADS;
6715 wxRadioBox_SetStringSelection(_arg0,*_arg1);
6716
6717 wxPy_END_ALLOW_THREADS;
6718 } Py_INCREF(Py_None);
6719 _resultobj = Py_None;
6720 {
6721 if (_obj1)
6722 delete _arg1;
6723 }
6724 return _resultobj;
6725 }
6726
6727 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
6728 static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6729 PyObject * _resultobj;
6730 wxRadioBox * _arg0;
6731 bool _arg1;
6732 PyObject * _argo0 = 0;
6733 int tempbool1;
6734 char *_kwnames[] = { "self","show", NULL };
6735
6736 self = self;
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
6738 return NULL;
6739 if (_argo0) {
6740 if (_argo0 == Py_None) { _arg0 = NULL; }
6741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
6743 return NULL;
6744 }
6745 }
6746 _arg1 = (bool ) tempbool1;
6747 {
6748 wxPy_BEGIN_ALLOW_THREADS;
6749 wxRadioBox_Show(_arg0,_arg1);
6750
6751 wxPy_END_ALLOW_THREADS;
6752 } Py_INCREF(Py_None);
6753 _resultobj = Py_None;
6754 return _resultobj;
6755 }
6756
6757 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
6758 static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6759 PyObject * _resultobj;
6760 wxRadioBox * _arg0;
6761 int _arg1;
6762 bool _arg2;
6763 PyObject * _argo0 = 0;
6764 int tempbool2;
6765 char *_kwnames[] = { "self","item","show", NULL };
6766
6767 self = self;
6768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
6769 return NULL;
6770 if (_argo0) {
6771 if (_argo0 == Py_None) { _arg0 = NULL; }
6772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
6774 return NULL;
6775 }
6776 }
6777 _arg2 = (bool ) tempbool2;
6778 {
6779 wxPy_BEGIN_ALLOW_THREADS;
6780 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
6781
6782 wxPy_END_ALLOW_THREADS;
6783 } Py_INCREF(Py_None);
6784 _resultobj = Py_None;
6785 return _resultobj;
6786 }
6787
6788 static void *SwigwxRadioButtonTowxControl(void *ptr) {
6789 wxRadioButton *src;
6790 wxControl *dest;
6791 src = (wxRadioButton *) ptr;
6792 dest = (wxControl *) src;
6793 return (void *) dest;
6794 }
6795
6796 static void *SwigwxRadioButtonTowxWindow(void *ptr) {
6797 wxRadioButton *src;
6798 wxWindow *dest;
6799 src = (wxRadioButton *) ptr;
6800 dest = (wxWindow *) src;
6801 return (void *) dest;
6802 }
6803
6804 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
6805 wxRadioButton *src;
6806 wxEvtHandler *dest;
6807 src = (wxRadioButton *) ptr;
6808 dest = (wxEvtHandler *) src;
6809 return (void *) dest;
6810 }
6811
6812 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6813 static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject * _resultobj;
6815 wxRadioButton * _result;
6816 wxWindow * _arg0;
6817 wxWindowID _arg1;
6818 wxString * _arg2;
6819 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6820 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6821 long _arg5 = (long ) 0;
6822 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
6823 char * _arg7 = (char *) "radioButton";
6824 PyObject * _argo0 = 0;
6825 PyObject * _obj2 = 0;
6826 wxPoint temp;
6827 PyObject * _obj3 = 0;
6828 wxSize temp0;
6829 PyObject * _obj4 = 0;
6830 PyObject * _argo6 = 0;
6831 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
6832 char _ptemp[128];
6833
6834 self = self;
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
6836 return NULL;
6837 if (_argo0) {
6838 if (_argo0 == Py_None) { _arg0 = NULL; }
6839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
6841 return NULL;
6842 }
6843 }
6844 {
6845 #if PYTHON_API_VERSION >= 1009
6846 char* tmpPtr; int tmpSize;
6847 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6848 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6849 return NULL;
6850 }
6851 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6852 return NULL;
6853 _arg2 = new wxString(tmpPtr, tmpSize);
6854 #else
6855 if (!PyString_Check(_obj2)) {
6856 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6857 return NULL;
6858 }
6859 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6860 #endif
6861 }
6862 if (_obj3)
6863 {
6864 _arg3 = &temp;
6865 if (! wxPoint_helper(_obj3, &_arg3))
6866 return NULL;
6867 }
6868 if (_obj4)
6869 {
6870 _arg4 = &temp0;
6871 if (! wxSize_helper(_obj4, &_arg4))
6872 return NULL;
6873 }
6874 if (_argo6) {
6875 if (_argo6 == Py_None) { _arg6 = NULL; }
6876 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6877 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
6878 return NULL;
6879 }
6880 }
6881 {
6882 wxPy_BEGIN_ALLOW_THREADS;
6883 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
6884
6885 wxPy_END_ALLOW_THREADS;
6886 } if (_result) {
6887 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
6888 _resultobj = Py_BuildValue("s",_ptemp);
6889 } else {
6890 Py_INCREF(Py_None);
6891 _resultobj = Py_None;
6892 }
6893 {
6894 if (_obj2)
6895 delete _arg2;
6896 }
6897 return _resultobj;
6898 }
6899
6900 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
6901 static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6902 PyObject * _resultobj;
6903 bool _result;
6904 wxRadioButton * _arg0;
6905 PyObject * _argo0 = 0;
6906 char *_kwnames[] = { "self", NULL };
6907
6908 self = self;
6909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
6910 return NULL;
6911 if (_argo0) {
6912 if (_argo0 == Py_None) { _arg0 = NULL; }
6913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
6914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
6915 return NULL;
6916 }
6917 }
6918 {
6919 wxPy_BEGIN_ALLOW_THREADS;
6920 _result = (bool )wxRadioButton_GetValue(_arg0);
6921
6922 wxPy_END_ALLOW_THREADS;
6923 } _resultobj = Py_BuildValue("i",_result);
6924 return _resultobj;
6925 }
6926
6927 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6928 static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6929 PyObject * _resultobj;
6930 wxRadioButton * _arg0;
6931 bool _arg1;
6932 PyObject * _argo0 = 0;
6933 int tempbool1;
6934 char *_kwnames[] = { "self","value", NULL };
6935
6936 self = self;
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
6938 return NULL;
6939 if (_argo0) {
6940 if (_argo0 == Py_None) { _arg0 = NULL; }
6941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
6942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
6943 return NULL;
6944 }
6945 }
6946 _arg1 = (bool ) tempbool1;
6947 {
6948 wxPy_BEGIN_ALLOW_THREADS;
6949 wxRadioButton_SetValue(_arg0,_arg1);
6950
6951 wxPy_END_ALLOW_THREADS;
6952 } Py_INCREF(Py_None);
6953 _resultobj = Py_None;
6954 return _resultobj;
6955 }
6956
6957 static void *SwigwxSliderTowxControl(void *ptr) {
6958 wxSlider *src;
6959 wxControl *dest;
6960 src = (wxSlider *) ptr;
6961 dest = (wxControl *) src;
6962 return (void *) dest;
6963 }
6964
6965 static void *SwigwxSliderTowxWindow(void *ptr) {
6966 wxSlider *src;
6967 wxWindow *dest;
6968 src = (wxSlider *) ptr;
6969 dest = (wxWindow *) src;
6970 return (void *) dest;
6971 }
6972
6973 static void *SwigwxSliderTowxEvtHandler(void *ptr) {
6974 wxSlider *src;
6975 wxEvtHandler *dest;
6976 src = (wxSlider *) ptr;
6977 dest = (wxEvtHandler *) src;
6978 return (void *) dest;
6979 }
6980
6981 #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))
6982 static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
6983 PyObject * _resultobj;
6984 wxSlider * _result;
6985 wxWindow * _arg0;
6986 wxWindowID _arg1;
6987 int _arg2;
6988 int _arg3;
6989 int _arg4;
6990 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
6991 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
6992 long _arg7 = (long ) wxSL_HORIZONTAL;
6993 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
6994 char * _arg9 = (char *) "slider";
6995 PyObject * _argo0 = 0;
6996 wxPoint temp;
6997 PyObject * _obj5 = 0;
6998 wxSize temp0;
6999 PyObject * _obj6 = 0;
7000 PyObject * _argo8 = 0;
7001 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
7002 char _ptemp[128];
7003
7004 self = self;
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOs:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_arg9))
7006 return NULL;
7007 if (_argo0) {
7008 if (_argo0 == Py_None) { _arg0 = NULL; }
7009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
7011 return NULL;
7012 }
7013 }
7014 if (_obj5)
7015 {
7016 _arg5 = &temp;
7017 if (! wxPoint_helper(_obj5, &_arg5))
7018 return NULL;
7019 }
7020 if (_obj6)
7021 {
7022 _arg6 = &temp0;
7023 if (! wxSize_helper(_obj6, &_arg6))
7024 return NULL;
7025 }
7026 if (_argo8) {
7027 if (_argo8 == Py_None) { _arg8 = NULL; }
7028 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
7029 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
7030 return NULL;
7031 }
7032 }
7033 {
7034 wxPy_BEGIN_ALLOW_THREADS;
7035 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
7036
7037 wxPy_END_ALLOW_THREADS;
7038 } if (_result) {
7039 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
7040 _resultobj = Py_BuildValue("s",_ptemp);
7041 } else {
7042 Py_INCREF(Py_None);
7043 _resultobj = Py_None;
7044 }
7045 return _resultobj;
7046 }
7047
7048 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
7049 static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
7050 PyObject * _resultobj;
7051 wxSlider * _arg0;
7052 PyObject * _argo0 = 0;
7053 char *_kwnames[] = { "self", NULL };
7054
7055 self = self;
7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
7057 return NULL;
7058 if (_argo0) {
7059 if (_argo0 == Py_None) { _arg0 = NULL; }
7060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
7062 return NULL;
7063 }
7064 }
7065 {
7066 wxPy_BEGIN_ALLOW_THREADS;
7067 wxSlider_ClearSel(_arg0);
7068
7069 wxPy_END_ALLOW_THREADS;
7070 } Py_INCREF(Py_None);
7071 _resultobj = Py_None;
7072 return _resultobj;
7073 }
7074
7075 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
7076 static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
7077 PyObject * _resultobj;
7078 wxSlider * _arg0;
7079 PyObject * _argo0 = 0;
7080 char *_kwnames[] = { "self", NULL };
7081
7082 self = self;
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
7084 return NULL;
7085 if (_argo0) {
7086 if (_argo0 == Py_None) { _arg0 = NULL; }
7087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
7089 return NULL;
7090 }
7091 }
7092 {
7093 wxPy_BEGIN_ALLOW_THREADS;
7094 wxSlider_ClearTicks(_arg0);
7095
7096 wxPy_END_ALLOW_THREADS;
7097 } Py_INCREF(Py_None);
7098 _resultobj = Py_None;
7099 return _resultobj;
7100 }
7101
7102 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
7103 static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7104 PyObject * _resultobj;
7105 int _result;
7106 wxSlider * _arg0;
7107 PyObject * _argo0 = 0;
7108 char *_kwnames[] = { "self", NULL };
7109
7110 self = self;
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
7112 return NULL;
7113 if (_argo0) {
7114 if (_argo0 == Py_None) { _arg0 = NULL; }
7115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
7117 return NULL;
7118 }
7119 }
7120 {
7121 wxPy_BEGIN_ALLOW_THREADS;
7122 _result = (int )wxSlider_GetLineSize(_arg0);
7123
7124 wxPy_END_ALLOW_THREADS;
7125 } _resultobj = Py_BuildValue("i",_result);
7126 return _resultobj;
7127 }
7128
7129 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
7130 static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7131 PyObject * _resultobj;
7132 int _result;
7133 wxSlider * _arg0;
7134 PyObject * _argo0 = 0;
7135 char *_kwnames[] = { "self", NULL };
7136
7137 self = self;
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
7139 return NULL;
7140 if (_argo0) {
7141 if (_argo0 == Py_None) { _arg0 = NULL; }
7142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
7144 return NULL;
7145 }
7146 }
7147 {
7148 wxPy_BEGIN_ALLOW_THREADS;
7149 _result = (int )wxSlider_GetMax(_arg0);
7150
7151 wxPy_END_ALLOW_THREADS;
7152 } _resultobj = Py_BuildValue("i",_result);
7153 return _resultobj;
7154 }
7155
7156 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
7157 static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7158 PyObject * _resultobj;
7159 int _result;
7160 wxSlider * _arg0;
7161 PyObject * _argo0 = 0;
7162 char *_kwnames[] = { "self", NULL };
7163
7164 self = self;
7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
7166 return NULL;
7167 if (_argo0) {
7168 if (_argo0 == Py_None) { _arg0 = NULL; }
7169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
7171 return NULL;
7172 }
7173 }
7174 {
7175 wxPy_BEGIN_ALLOW_THREADS;
7176 _result = (int )wxSlider_GetMin(_arg0);
7177
7178 wxPy_END_ALLOW_THREADS;
7179 } _resultobj = Py_BuildValue("i",_result);
7180 return _resultobj;
7181 }
7182
7183 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7184 static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7185 PyObject * _resultobj;
7186 int _result;
7187 wxSlider * _arg0;
7188 PyObject * _argo0 = 0;
7189 char *_kwnames[] = { "self", NULL };
7190
7191 self = self;
7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
7193 return NULL;
7194 if (_argo0) {
7195 if (_argo0 == Py_None) { _arg0 = NULL; }
7196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
7198 return NULL;
7199 }
7200 }
7201 {
7202 wxPy_BEGIN_ALLOW_THREADS;
7203 _result = (int )wxSlider_GetPageSize(_arg0);
7204
7205 wxPy_END_ALLOW_THREADS;
7206 } _resultobj = Py_BuildValue("i",_result);
7207 return _resultobj;
7208 }
7209
7210 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
7211 static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7212 PyObject * _resultobj;
7213 int _result;
7214 wxSlider * _arg0;
7215 PyObject * _argo0 = 0;
7216 char *_kwnames[] = { "self", NULL };
7217
7218 self = self;
7219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
7220 return NULL;
7221 if (_argo0) {
7222 if (_argo0 == Py_None) { _arg0 = NULL; }
7223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
7225 return NULL;
7226 }
7227 }
7228 {
7229 wxPy_BEGIN_ALLOW_THREADS;
7230 _result = (int )wxSlider_GetSelEnd(_arg0);
7231
7232 wxPy_END_ALLOW_THREADS;
7233 } _resultobj = Py_BuildValue("i",_result);
7234 return _resultobj;
7235 }
7236
7237 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
7238 static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7239 PyObject * _resultobj;
7240 int _result;
7241 wxSlider * _arg0;
7242 PyObject * _argo0 = 0;
7243 char *_kwnames[] = { "self", NULL };
7244
7245 self = self;
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
7247 return NULL;
7248 if (_argo0) {
7249 if (_argo0 == Py_None) { _arg0 = NULL; }
7250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
7252 return NULL;
7253 }
7254 }
7255 {
7256 wxPy_BEGIN_ALLOW_THREADS;
7257 _result = (int )wxSlider_GetSelStart(_arg0);
7258
7259 wxPy_END_ALLOW_THREADS;
7260 } _resultobj = Py_BuildValue("i",_result);
7261 return _resultobj;
7262 }
7263
7264 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
7265 static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7266 PyObject * _resultobj;
7267 int _result;
7268 wxSlider * _arg0;
7269 PyObject * _argo0 = 0;
7270 char *_kwnames[] = { "self", NULL };
7271
7272 self = self;
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
7274 return NULL;
7275 if (_argo0) {
7276 if (_argo0 == Py_None) { _arg0 = NULL; }
7277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
7279 return NULL;
7280 }
7281 }
7282 {
7283 wxPy_BEGIN_ALLOW_THREADS;
7284 _result = (int )wxSlider_GetThumbLength(_arg0);
7285
7286 wxPy_END_ALLOW_THREADS;
7287 } _resultobj = Py_BuildValue("i",_result);
7288 return _resultobj;
7289 }
7290
7291 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
7292 static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
7293 PyObject * _resultobj;
7294 int _result;
7295 wxSlider * _arg0;
7296 PyObject * _argo0 = 0;
7297 char *_kwnames[] = { "self", NULL };
7298
7299 self = self;
7300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
7301 return NULL;
7302 if (_argo0) {
7303 if (_argo0 == Py_None) { _arg0 = NULL; }
7304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
7306 return NULL;
7307 }
7308 }
7309 {
7310 wxPy_BEGIN_ALLOW_THREADS;
7311 _result = (int )wxSlider_GetTickFreq(_arg0);
7312
7313 wxPy_END_ALLOW_THREADS;
7314 } _resultobj = Py_BuildValue("i",_result);
7315 return _resultobj;
7316 }
7317
7318 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
7319 static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7320 PyObject * _resultobj;
7321 int _result;
7322 wxSlider * _arg0;
7323 PyObject * _argo0 = 0;
7324 char *_kwnames[] = { "self", NULL };
7325
7326 self = self;
7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
7328 return NULL;
7329 if (_argo0) {
7330 if (_argo0 == Py_None) { _arg0 = NULL; }
7331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
7333 return NULL;
7334 }
7335 }
7336 {
7337 wxPy_BEGIN_ALLOW_THREADS;
7338 _result = (int )wxSlider_GetValue(_arg0);
7339
7340 wxPy_END_ALLOW_THREADS;
7341 } _resultobj = Py_BuildValue("i",_result);
7342 return _resultobj;
7343 }
7344
7345 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7346 static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject * _resultobj;
7348 wxSlider * _arg0;
7349 int _arg1;
7350 int _arg2;
7351 PyObject * _argo0 = 0;
7352 char *_kwnames[] = { "self","minValue","maxValue", NULL };
7353
7354 self = self;
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
7356 return NULL;
7357 if (_argo0) {
7358 if (_argo0 == Py_None) { _arg0 = NULL; }
7359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
7361 return NULL;
7362 }
7363 }
7364 {
7365 wxPy_BEGIN_ALLOW_THREADS;
7366 wxSlider_SetRange(_arg0,_arg1,_arg2);
7367
7368 wxPy_END_ALLOW_THREADS;
7369 } Py_INCREF(Py_None);
7370 _resultobj = Py_None;
7371 return _resultobj;
7372 }
7373
7374 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
7375 static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject * _resultobj;
7377 wxSlider * _arg0;
7378 int _arg1;
7379 int _arg2;
7380 PyObject * _argo0 = 0;
7381 char *_kwnames[] = { "self","n","pos", NULL };
7382
7383 self = self;
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
7385 return NULL;
7386 if (_argo0) {
7387 if (_argo0 == Py_None) { _arg0 = NULL; }
7388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
7390 return NULL;
7391 }
7392 }
7393 {
7394 wxPy_BEGIN_ALLOW_THREADS;
7395 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
7396
7397 wxPy_END_ALLOW_THREADS;
7398 } Py_INCREF(Py_None);
7399 _resultobj = Py_None;
7400 return _resultobj;
7401 }
7402
7403 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
7404 static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject * _resultobj;
7406 wxSlider * _arg0;
7407 int _arg1;
7408 PyObject * _argo0 = 0;
7409 char *_kwnames[] = { "self","lineSize", NULL };
7410
7411 self = self;
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
7413 return NULL;
7414 if (_argo0) {
7415 if (_argo0 == Py_None) { _arg0 = NULL; }
7416 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
7418 return NULL;
7419 }
7420 }
7421 {
7422 wxPy_BEGIN_ALLOW_THREADS;
7423 wxSlider_SetLineSize(_arg0,_arg1);
7424
7425 wxPy_END_ALLOW_THREADS;
7426 } Py_INCREF(Py_None);
7427 _resultobj = Py_None;
7428 return _resultobj;
7429 }
7430
7431 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
7432 static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7433 PyObject * _resultobj;
7434 wxSlider * _arg0;
7435 int _arg1;
7436 PyObject * _argo0 = 0;
7437 char *_kwnames[] = { "self","pageSize", NULL };
7438
7439 self = self;
7440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
7441 return NULL;
7442 if (_argo0) {
7443 if (_argo0 == Py_None) { _arg0 = NULL; }
7444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
7446 return NULL;
7447 }
7448 }
7449 {
7450 wxPy_BEGIN_ALLOW_THREADS;
7451 wxSlider_SetPageSize(_arg0,_arg1);
7452
7453 wxPy_END_ALLOW_THREADS;
7454 } Py_INCREF(Py_None);
7455 _resultobj = Py_None;
7456 return _resultobj;
7457 }
7458
7459 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7460 static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7461 PyObject * _resultobj;
7462 wxSlider * _arg0;
7463 int _arg1;
7464 int _arg2;
7465 PyObject * _argo0 = 0;
7466 char *_kwnames[] = { "self","startPos","endPos", NULL };
7467
7468 self = self;
7469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
7470 return NULL;
7471 if (_argo0) {
7472 if (_argo0 == Py_None) { _arg0 = NULL; }
7473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
7475 return NULL;
7476 }
7477 }
7478 {
7479 wxPy_BEGIN_ALLOW_THREADS;
7480 wxSlider_SetSelection(_arg0,_arg1,_arg2);
7481
7482 wxPy_END_ALLOW_THREADS;
7483 } Py_INCREF(Py_None);
7484 _resultobj = Py_None;
7485 return _resultobj;
7486 }
7487
7488 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
7489 static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7490 PyObject * _resultobj;
7491 wxSlider * _arg0;
7492 int _arg1;
7493 PyObject * _argo0 = 0;
7494 char *_kwnames[] = { "self","len", NULL };
7495
7496 self = self;
7497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
7498 return NULL;
7499 if (_argo0) {
7500 if (_argo0 == Py_None) { _arg0 = NULL; }
7501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
7503 return NULL;
7504 }
7505 }
7506 {
7507 wxPy_BEGIN_ALLOW_THREADS;
7508 wxSlider_SetThumbLength(_arg0,_arg1);
7509
7510 wxPy_END_ALLOW_THREADS;
7511 } Py_INCREF(Py_None);
7512 _resultobj = Py_None;
7513 return _resultobj;
7514 }
7515
7516 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
7517 static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
7518 PyObject * _resultobj;
7519 wxSlider * _arg0;
7520 int _arg1;
7521 PyObject * _argo0 = 0;
7522 char *_kwnames[] = { "self","tickPos", NULL };
7523
7524 self = self;
7525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
7526 return NULL;
7527 if (_argo0) {
7528 if (_argo0 == Py_None) { _arg0 = NULL; }
7529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
7531 return NULL;
7532 }
7533 }
7534 {
7535 wxPy_BEGIN_ALLOW_THREADS;
7536 wxSlider_SetTick(_arg0,_arg1);
7537
7538 wxPy_END_ALLOW_THREADS;
7539 } Py_INCREF(Py_None);
7540 _resultobj = Py_None;
7541 return _resultobj;
7542 }
7543
7544 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7545 static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7546 PyObject * _resultobj;
7547 wxSlider * _arg0;
7548 int _arg1;
7549 PyObject * _argo0 = 0;
7550 char *_kwnames[] = { "self","value", NULL };
7551
7552 self = self;
7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
7554 return NULL;
7555 if (_argo0) {
7556 if (_argo0 == Py_None) { _arg0 = NULL; }
7557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
7558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
7559 return NULL;
7560 }
7561 }
7562 {
7563 wxPy_BEGIN_ALLOW_THREADS;
7564 wxSlider_SetValue(_arg0,_arg1);
7565
7566 wxPy_END_ALLOW_THREADS;
7567 } Py_INCREF(Py_None);
7568 _resultobj = Py_None;
7569 return _resultobj;
7570 }
7571
7572 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
7573 wxSpinCtrl *src;
7574 wxSpinButton *dest;
7575 src = (wxSpinCtrl *) ptr;
7576 dest = (wxSpinButton *) src;
7577 return (void *) dest;
7578 }
7579
7580 static void *SwigwxSpinCtrlTowxControl(void *ptr) {
7581 wxSpinCtrl *src;
7582 wxControl *dest;
7583 src = (wxSpinCtrl *) ptr;
7584 dest = (wxControl *) src;
7585 return (void *) dest;
7586 }
7587
7588 static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
7589 wxSpinCtrl *src;
7590 wxWindow *dest;
7591 src = (wxSpinCtrl *) ptr;
7592 dest = (wxWindow *) src;
7593 return (void *) dest;
7594 }
7595
7596 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
7597 wxSpinCtrl *src;
7598 wxEvtHandler *dest;
7599 src = (wxSpinCtrl *) ptr;
7600 dest = (wxEvtHandler *) src;
7601 return (void *) dest;
7602 }
7603
7604 #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))
7605 static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7606 PyObject * _resultobj;
7607 wxSpinCtrl * _result;
7608 wxWindow * _arg0;
7609 wxWindowID _arg1 = (wxWindowID ) -1;
7610 char * _arg2 = (char *) "";
7611 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7612 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7613 long _arg5 = (long ) wxSP_ARROW_KEYS;
7614 int _arg6 = (int ) 0;
7615 int _arg7 = (int ) 100;
7616 int _arg8 = (int ) 0;
7617 char * _arg9 = (char *) "wxSpinCtrl";
7618 PyObject * _argo0 = 0;
7619 wxPoint temp;
7620 PyObject * _obj3 = 0;
7621 wxSize temp0;
7622 PyObject * _obj4 = 0;
7623 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
7624 char _ptemp[128];
7625
7626 self = self;
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|isOOliiis:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_arg9))
7628 return NULL;
7629 if (_argo0) {
7630 if (_argo0 == Py_None) { _arg0 = NULL; }
7631 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7632 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
7633 return NULL;
7634 }
7635 }
7636 if (_obj3)
7637 {
7638 _arg3 = &temp;
7639 if (! wxPoint_helper(_obj3, &_arg3))
7640 return NULL;
7641 }
7642 if (_obj4)
7643 {
7644 _arg4 = &temp0;
7645 if (! wxSize_helper(_obj4, &_arg4))
7646 return NULL;
7647 }
7648 {
7649 wxPy_BEGIN_ALLOW_THREADS;
7650 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,_arg9);
7651
7652 wxPy_END_ALLOW_THREADS;
7653 } if (_result) {
7654 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
7655 _resultobj = Py_BuildValue("s",_ptemp);
7656 } else {
7657 Py_INCREF(Py_None);
7658 _resultobj = Py_None;
7659 }
7660 return _resultobj;
7661 }
7662
7663 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
7664 static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
7665 PyObject * _resultobj;
7666 int _result;
7667 wxSpinCtrl * _arg0;
7668 PyObject * _argo0 = 0;
7669 char *_kwnames[] = { "self", NULL };
7670
7671 self = self;
7672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
7673 return NULL;
7674 if (_argo0) {
7675 if (_argo0 == Py_None) { _arg0 = NULL; }
7676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
7677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
7678 return NULL;
7679 }
7680 }
7681 {
7682 wxPy_BEGIN_ALLOW_THREADS;
7683 _result = (int )wxSpinCtrl_GetMax(_arg0);
7684
7685 wxPy_END_ALLOW_THREADS;
7686 } _resultobj = Py_BuildValue("i",_result);
7687 return _resultobj;
7688 }
7689
7690 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
7691 static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
7692 PyObject * _resultobj;
7693 int _result;
7694 wxSpinCtrl * _arg0;
7695 PyObject * _argo0 = 0;
7696 char *_kwnames[] = { "self", NULL };
7697
7698 self = self;
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
7700 return NULL;
7701 if (_argo0) {
7702 if (_argo0 == Py_None) { _arg0 = NULL; }
7703 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
7704 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
7705 return NULL;
7706 }
7707 }
7708 {
7709 wxPy_BEGIN_ALLOW_THREADS;
7710 _result = (int )wxSpinCtrl_GetMin(_arg0);
7711
7712 wxPy_END_ALLOW_THREADS;
7713 } _resultobj = Py_BuildValue("i",_result);
7714 return _resultobj;
7715 }
7716
7717 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
7718 static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7719 PyObject * _resultobj;
7720 int _result;
7721 wxSpinCtrl * _arg0;
7722 PyObject * _argo0 = 0;
7723 char *_kwnames[] = { "self", NULL };
7724
7725 self = self;
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
7727 return NULL;
7728 if (_argo0) {
7729 if (_argo0 == Py_None) { _arg0 = NULL; }
7730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
7731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
7732 return NULL;
7733 }
7734 }
7735 {
7736 wxPy_BEGIN_ALLOW_THREADS;
7737 _result = (int )wxSpinCtrl_GetValue(_arg0);
7738
7739 wxPy_END_ALLOW_THREADS;
7740 } _resultobj = Py_BuildValue("i",_result);
7741 return _resultobj;
7742 }
7743
7744 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
7745 static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7746 PyObject * _resultobj;
7747 wxSpinCtrl * _arg0;
7748 int _arg1;
7749 int _arg2;
7750 PyObject * _argo0 = 0;
7751 char *_kwnames[] = { "self","min","max", NULL };
7752
7753 self = self;
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
7755 return NULL;
7756 if (_argo0) {
7757 if (_argo0 == Py_None) { _arg0 = NULL; }
7758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
7759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
7760 return NULL;
7761 }
7762 }
7763 {
7764 wxPy_BEGIN_ALLOW_THREADS;
7765 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
7766
7767 wxPy_END_ALLOW_THREADS;
7768 } Py_INCREF(Py_None);
7769 _resultobj = Py_None;
7770 return _resultobj;
7771 }
7772
7773 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7774 static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7775 PyObject * _resultobj;
7776 wxSpinCtrl * _arg0;
7777 int _arg1;
7778 PyObject * _argo0 = 0;
7779 char *_kwnames[] = { "self","value", NULL };
7780
7781 self = self;
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
7783 return NULL;
7784 if (_argo0) {
7785 if (_argo0 == Py_None) { _arg0 = NULL; }
7786 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
7787 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
7788 return NULL;
7789 }
7790 }
7791 {
7792 wxPy_BEGIN_ALLOW_THREADS;
7793 wxSpinCtrl_SetValue(_arg0,_arg1);
7794
7795 wxPy_END_ALLOW_THREADS;
7796 } Py_INCREF(Py_None);
7797 _resultobj = Py_None;
7798 return _resultobj;
7799 }
7800
7801 static void *SwigwxToggleButtonTowxControl(void *ptr) {
7802 wxToggleButton *src;
7803 wxControl *dest;
7804 src = (wxToggleButton *) ptr;
7805 dest = (wxControl *) src;
7806 return (void *) dest;
7807 }
7808
7809 static void *SwigwxToggleButtonTowxWindow(void *ptr) {
7810 wxToggleButton *src;
7811 wxWindow *dest;
7812 src = (wxToggleButton *) ptr;
7813 dest = (wxWindow *) src;
7814 return (void *) dest;
7815 }
7816
7817 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
7818 wxToggleButton *src;
7819 wxEvtHandler *dest;
7820 src = (wxToggleButton *) ptr;
7821 dest = (wxEvtHandler *) src;
7822 return (void *) dest;
7823 }
7824
7825 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7826 static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject * _resultobj;
7828 wxToggleButton * _result;
7829 wxWindow * _arg0;
7830 wxWindowID _arg1;
7831 wxString * _arg2;
7832 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7833 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7834 long _arg5 = (long ) 0;
7835 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
7836 char * _arg7 = (char *) "toggle";
7837 PyObject * _argo0 = 0;
7838 PyObject * _obj2 = 0;
7839 wxPoint temp;
7840 PyObject * _obj3 = 0;
7841 wxSize temp0;
7842 PyObject * _obj4 = 0;
7843 PyObject * _argo6 = 0;
7844 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
7845 char _ptemp[128];
7846
7847 self = self;
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
7849 return NULL;
7850 if (_argo0) {
7851 if (_argo0 == Py_None) { _arg0 = NULL; }
7852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
7854 return NULL;
7855 }
7856 }
7857 {
7858 #if PYTHON_API_VERSION >= 1009
7859 char* tmpPtr; int tmpSize;
7860 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7861 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7862 return NULL;
7863 }
7864 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7865 return NULL;
7866 _arg2 = new wxString(tmpPtr, tmpSize);
7867 #else
7868 if (!PyString_Check(_obj2)) {
7869 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7870 return NULL;
7871 }
7872 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7873 #endif
7874 }
7875 if (_obj3)
7876 {
7877 _arg3 = &temp;
7878 if (! wxPoint_helper(_obj3, &_arg3))
7879 return NULL;
7880 }
7881 if (_obj4)
7882 {
7883 _arg4 = &temp0;
7884 if (! wxSize_helper(_obj4, &_arg4))
7885 return NULL;
7886 }
7887 if (_argo6) {
7888 if (_argo6 == Py_None) { _arg6 = NULL; }
7889 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
7890 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
7891 return NULL;
7892 }
7893 }
7894 {
7895 wxPy_BEGIN_ALLOW_THREADS;
7896 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
7897
7898 wxPy_END_ALLOW_THREADS;
7899 } if (_result) {
7900 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
7901 _resultobj = Py_BuildValue("s",_ptemp);
7902 } else {
7903 Py_INCREF(Py_None);
7904 _resultobj = Py_None;
7905 }
7906 {
7907 if (_obj2)
7908 delete _arg2;
7909 }
7910 return _resultobj;
7911 }
7912
7913 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7914 static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7915 PyObject * _resultobj;
7916 wxToggleButton * _arg0;
7917 bool _arg1;
7918 PyObject * _argo0 = 0;
7919 int tempbool1;
7920 char *_kwnames[] = { "self","value", NULL };
7921
7922 self = self;
7923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
7924 return NULL;
7925 if (_argo0) {
7926 if (_argo0 == Py_None) { _arg0 = NULL; }
7927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
7928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
7929 return NULL;
7930 }
7931 }
7932 _arg1 = (bool ) tempbool1;
7933 {
7934 wxPy_BEGIN_ALLOW_THREADS;
7935 wxToggleButton_SetValue(_arg0,_arg1);
7936
7937 wxPy_END_ALLOW_THREADS;
7938 } Py_INCREF(Py_None);
7939 _resultobj = Py_None;
7940 return _resultobj;
7941 }
7942
7943 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
7944 static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject * _resultobj;
7946 bool _result;
7947 wxToggleButton * _arg0;
7948 PyObject * _argo0 = 0;
7949 char *_kwnames[] = { "self", NULL };
7950
7951 self = self;
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
7953 return NULL;
7954 if (_argo0) {
7955 if (_argo0 == Py_None) { _arg0 = NULL; }
7956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
7957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
7958 return NULL;
7959 }
7960 }
7961 {
7962 wxPy_BEGIN_ALLOW_THREADS;
7963 _result = (bool )wxToggleButton_GetValue(_arg0);
7964
7965 wxPy_END_ALLOW_THREADS;
7966 } _resultobj = Py_BuildValue("i",_result);
7967 return _resultobj;
7968 }
7969
7970 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
7971 static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
7972 PyObject * _resultobj;
7973 wxToggleButton * _arg0;
7974 wxString * _arg1;
7975 PyObject * _argo0 = 0;
7976 PyObject * _obj1 = 0;
7977 char *_kwnames[] = { "self","label", NULL };
7978
7979 self = self;
7980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
7981 return NULL;
7982 if (_argo0) {
7983 if (_argo0 == Py_None) { _arg0 = NULL; }
7984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
7985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
7986 return NULL;
7987 }
7988 }
7989 {
7990 #if PYTHON_API_VERSION >= 1009
7991 char* tmpPtr; int tmpSize;
7992 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7993 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7994 return NULL;
7995 }
7996 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
7997 return NULL;
7998 _arg1 = new wxString(tmpPtr, tmpSize);
7999 #else
8000 if (!PyString_Check(_obj1)) {
8001 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8002 return NULL;
8003 }
8004 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8005 #endif
8006 }
8007 {
8008 wxPy_BEGIN_ALLOW_THREADS;
8009 wxToggleButton_SetLabel(_arg0,*_arg1);
8010
8011 wxPy_END_ALLOW_THREADS;
8012 } Py_INCREF(Py_None);
8013 _resultobj = Py_None;
8014 {
8015 if (_obj1)
8016 delete _arg1;
8017 }
8018 return _resultobj;
8019 }
8020
8021 static PyMethodDef controlscMethods[] = {
8022 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
8023 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
8024 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
8025 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
8026 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
8027 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
8028 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
8029 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
8030 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
8031 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
8032 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
8033 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
8034 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
8035 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
8036 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
8037 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
8038 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
8039 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
8040 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
8041 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
8042 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
8043 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
8044 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
8045 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
8046 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
8047 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
8048 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
8049 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
8050 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
8051 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
8052 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
8053 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
8054 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
8055 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
8056 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
8057 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
8058 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
8059 { "wxRadioBox_SetItemLabel", (PyCFunction) _wrap_wxRadioBox_SetItemLabel, METH_VARARGS | METH_KEYWORDS },
8060 { "wxRadioBox_Number", (PyCFunction) _wrap_wxRadioBox_Number, METH_VARARGS | METH_KEYWORDS },
8061 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
8062 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
8063 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
8064 { "wxRadioBox_GetItemLabel", (PyCFunction) _wrap_wxRadioBox_GetItemLabel, METH_VARARGS | METH_KEYWORDS },
8065 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
8066 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
8067 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
8068 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
8069 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
8070 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
8071 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
8072 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
8073 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
8074 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
8075 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
8076 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
8077 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
8078 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
8079 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
8080 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
8081 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
8082 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
8083 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
8084 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
8085 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
8086 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
8087 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
8088 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
8089 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
8090 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
8091 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
8092 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
8093 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
8094 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
8095 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
8096 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
8097 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
8098 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
8099 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
8100 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
8101 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
8102 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
8103 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
8104 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
8105 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
8106 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
8107 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
8108 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
8109 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
8110 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
8111 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
8112 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
8113 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
8114 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
8115 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
8116 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
8117 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
8118 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
8119 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
8120 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
8121 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
8122 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
8123 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
8124 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
8125 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
8126 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
8127 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
8128 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
8129 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
8130 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
8131 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
8132 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
8133 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
8134 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
8135 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
8136 { "wxListBox_Number", (PyCFunction) _wrap_wxListBox_Number, METH_VARARGS | METH_KEYWORDS },
8137 { "wxListBox_GetStringSelection", (PyCFunction) _wrap_wxListBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
8138 { "wxListBox_GetString", (PyCFunction) _wrap_wxListBox_GetString, METH_VARARGS | METH_KEYWORDS },
8139 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
8140 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
8141 { "wxListBox_GetSelection", (PyCFunction) _wrap_wxListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
8142 { "wxListBox_FindString", (PyCFunction) _wrap_wxListBox_FindString, METH_VARARGS | METH_KEYWORDS },
8143 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
8144 { "wxListBox_Delete", (PyCFunction) _wrap_wxListBox_Delete, METH_VARARGS | METH_KEYWORDS },
8145 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
8146 { "wxListBox_Append", (PyCFunction) _wrap_wxListBox_Append, METH_VARARGS | METH_KEYWORDS },
8147 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
8148 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
8149 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
8150 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
8151 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
8152 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
8153 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
8154 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
8155 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
8156 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
8157 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
8158 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
8159 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
8160 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
8161 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
8162 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
8163 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
8164 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
8165 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
8166 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
8167 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
8168 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
8169 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
8170 { "wxComboBox_Number", (PyCFunction) _wrap_wxComboBox_Number, METH_VARARGS | METH_KEYWORDS },
8171 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
8172 { "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
8173 { "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS },
8174 { "wxComboBox_GetSelection", (PyCFunction) _wrap_wxComboBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
8175 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
8176 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
8177 { "wxComboBox_FindString", (PyCFunction) _wrap_wxComboBox_FindString, METH_VARARGS | METH_KEYWORDS },
8178 { "wxComboBox_Delete", (PyCFunction) _wrap_wxComboBox_Delete, METH_VARARGS | METH_KEYWORDS },
8179 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
8180 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
8181 { "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS },
8182 { "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS },
8183 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
8184 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
8185 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
8186 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
8187 { "wxChoice_Number", (PyCFunction) _wrap_wxChoice_Number, METH_VARARGS | METH_KEYWORDS },
8188 { "wxChoice_GetStringSelection", (PyCFunction) _wrap_wxChoice_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
8189 { "wxChoice_GetString", (PyCFunction) _wrap_wxChoice_GetString, METH_VARARGS | METH_KEYWORDS },
8190 { "wxChoice_GetSelection", (PyCFunction) _wrap_wxChoice_GetSelection, METH_VARARGS | METH_KEYWORDS },
8191 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
8192 { "wxChoice_FindString", (PyCFunction) _wrap_wxChoice_FindString, METH_VARARGS | METH_KEYWORDS },
8193 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
8194 { "wxChoice_Append", (PyCFunction) _wrap_wxChoice_Append, METH_VARARGS | METH_KEYWORDS },
8195 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
8196 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
8197 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
8198 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
8199 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
8200 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
8201 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
8202 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
8203 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
8204 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
8205 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
8206 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
8207 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
8208 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
8209 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
8210 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
8211 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
8212 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
8213 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
8214 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
8215 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
8216 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
8217 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
8218 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
8219 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
8220 { NULL, NULL }
8221 };
8222 #ifdef __cplusplus
8223 }
8224 #endif
8225 /*
8226 * This table is used by the pointer type-checker
8227 */
8228 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
8229 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8230 { "_wxEvent","_class_wxEvent",0},
8231 { "_class_wxActivateEvent","_wxActivateEvent",0},
8232 { "_signed_long","_long",0},
8233 { "_wxMenuEvent","_class_wxMenuEvent",0},
8234 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8235 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8236 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8237 { "_wxPrintQuality","_wxCoord",0},
8238 { "_wxPrintQuality","_int",0},
8239 { "_wxPrintQuality","_signed_int",0},
8240 { "_wxPrintQuality","_unsigned_int",0},
8241 { "_wxPrintQuality","_wxWindowID",0},
8242 { "_wxPrintQuality","_uint",0},
8243 { "_wxPrintQuality","_EBool",0},
8244 { "_wxPrintQuality","_size_t",0},
8245 { "_wxPrintQuality","_time_t",0},
8246 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8247 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8248 { "_class_wxRegionIterator","_wxRegionIterator",0},
8249 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8250 { "_class_wxMenuBar","_wxMenuBar",0},
8251 { "_class_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
8252 { "_class_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
8253 { "_class_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
8254 { "_class_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
8255 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
8256 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
8257 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
8258 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
8259 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
8260 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
8261 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
8262 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
8263 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
8264 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
8265 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
8266 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
8267 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
8268 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
8269 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
8270 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
8271 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler},
8272 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
8273 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler},
8274 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
8275 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
8276 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
8277 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
8278 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
8279 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler},
8280 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
8281 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler},
8282 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
8283 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler},
8284 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
8285 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
8286 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
8287 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
8288 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
8289 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler},
8290 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
8291 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler},
8292 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
8293 { "_class_wxEvtHandler","_wxEvtHandler",0},
8294 { "_wxPaintEvent","_class_wxPaintEvent",0},
8295 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8296 { "_wxCursor","_class_wxCursor",0},
8297 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
8298 { "_wxMask","_class_wxMask",0},
8299 { "_wxPen","_class_wxPen",0},
8300 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8301 { "_byte","_unsigned_char",0},
8302 { "_wxDataObject","_class_wxDataObject",0},
8303 { "_wxStaticBox","_class_wxStaticBox",0},
8304 { "_wxColourDatabase","_class_wxColourDatabase",0},
8305 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8306 { "_wxPyDropSource","_class_wxPyDropSource",0},
8307 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice},
8308 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
8309 { "_wxChoice","_class_wxChoice",0},
8310 { "_wxSlider","_class_wxSlider",0},
8311 { "_long","_unsigned_long",0},
8312 { "_long","_signed_long",0},
8313 { "_wxImageList","_class_wxImageList",0},
8314 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8315 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8316 { "_wxBitmapButton","_class_wxBitmapButton",0},
8317 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8318 { "_class_wxClipboard","_wxClipboard",0},
8319 { "_class_wxGauge","_wxGauge",0},
8320 { "_wxDC","_class_wxDC",0},
8321 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8322 { "_wxSpinEvent","_class_wxSpinEvent",0},
8323 { "_size_t","_wxCoord",0},
8324 { "_size_t","_wxPrintQuality",0},
8325 { "_size_t","_time_t",0},
8326 { "_size_t","_unsigned_int",0},
8327 { "_size_t","_int",0},
8328 { "_size_t","_wxWindowID",0},
8329 { "_size_t","_uint",0},
8330 { "_class_wxRealPoint","_wxRealPoint",0},
8331 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8332 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8333 { "_class_wxMenuItem","_wxMenuItem",0},
8334 { "_class_wxPaintEvent","_wxPaintEvent",0},
8335 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8336 { "_wxPanel","_class_wxPanel",0},
8337 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8338 { "_wxCheckBox","_class_wxCheckBox",0},
8339 { "_wxPyEvent","_class_wxPyEvent",0},
8340 { "_wxTextCtrl","_class_wxTextCtrl",0},
8341 { "_class_wxMask","_wxMask",0},
8342 { "_wxTextDataObject","_class_wxTextDataObject",0},
8343 { "_class_wxKeyEvent","_wxKeyEvent",0},
8344 { "_wxColour","_class_wxColour",0},
8345 { "_class_wxDialog","_wxDialog",0},
8346 { "_class_wxFileDataObject","_wxFileDataObject",0},
8347 { "_wxIdleEvent","_class_wxIdleEvent",0},
8348 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8349 { "_class_wxDataObject","_wxDataObject",0},
8350 { "_wxStaticLine","_class_wxStaticLine",0},
8351 { "_wxBrush","_class_wxBrush",0},
8352 { "_wxToggleButton","_class_wxToggleButton",0},
8353 { "_wxDataFormat","_class_wxDataFormat",0},
8354 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8355 { "_wxShowEvent","_class_wxShowEvent",0},
8356 { "_uint","_wxCoord",0},
8357 { "_uint","_wxPrintQuality",0},
8358 { "_uint","_time_t",0},
8359 { "_uint","_size_t",0},
8360 { "_uint","_unsigned_int",0},
8361 { "_uint","_int",0},
8362 { "_uint","_wxWindowID",0},
8363 { "_wxChar","_char",0},
8364 { "_wxPyValidator","_class_wxPyValidator",0},
8365 { "_class_wxEvent","_wxEvent",0},
8366 { "_wxCheckListBox","_class_wxCheckListBox",0},
8367 { "_wxRect","_class_wxRect",0},
8368 { "_wxCommandEvent","_class_wxCommandEvent",0},
8369 { "_wxSizeEvent","_class_wxSizeEvent",0},
8370 { "_wxPoint","_class_wxPoint",0},
8371 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton},
8372 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
8373 { "_class_wxButton","_wxButton",0},
8374 { "_wxRadioBox","_class_wxRadioBox",0},
8375 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8376 { "_char","_wxChar",0},
8377 { "_wxBitmap","_class_wxBitmap",0},
8378 { "_wxPenList","_class_wxPenList",0},
8379 { "_wxWindowDC","_class_wxWindowDC",0},
8380 { "_wxTimerEvent","_class_wxTimerEvent",0},
8381 { "_wxScrollBar","_class_wxScrollBar",0},
8382 { "_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
8383 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
8384 { "_wxSpinButton","_class_wxSpinButton",0},
8385 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8386 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8387 { "_class_wxValidator","_wxValidator",0},
8388 { "_class_wxPyEvent","_wxPyEvent",0},
8389 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8390 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
8391 { "_wxDropTarget","_class_wxDropTarget",0},
8392 { "_class_wxStaticLine","_wxStaticLine",0},
8393 { "_class_wxColourDatabase","_wxColourDatabase",0},
8394 { "_wxScrollEvent","_class_wxScrollEvent",0},
8395 { "_EBool","_wxCoord",0},
8396 { "_EBool","_wxPrintQuality",0},
8397 { "_EBool","_signed_int",0},
8398 { "_EBool","_int",0},
8399 { "_EBool","_wxWindowID",0},
8400 { "_class_wxRegion","_wxRegion",0},
8401 { "_class_wxDataFormat","_wxDataFormat",0},
8402 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8403 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8404 { "_wxStaticText","_class_wxStaticText",0},
8405 { "_wxFont","_class_wxFont",0},
8406 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8407 { "_wxCloseEvent","_class_wxCloseEvent",0},
8408 { "_unsigned_long","_long",0},
8409 { "_class_wxRect","_wxRect",0},
8410 { "_class_wxDC","_wxDC",0},
8411 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8412 { "_class_wxBrushList","_wxBrushList",0},
8413 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
8414 { "_class_wxPenList","_wxPenList",0},
8415 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
8416 { "_wxFocusEvent","_class_wxFocusEvent",0},
8417 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8418 { "_class_wxTimerEvent","_wxTimerEvent",0},
8419 { "_class_wxSpinButton","_class_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
8420 { "_class_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
8421 { "_class_wxSpinButton","_wxSpinButton",0},
8422 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8423 { "_class_wxPanel","_wxPanel",0},
8424 { "_class_wxCheckBox","_wxCheckBox",0},
8425 { "_wxComboBox","_class_wxComboBox",0},
8426 { "_wxRadioButton","_class_wxRadioButton",0},
8427 { "_signed_int","_wxCoord",0},
8428 { "_signed_int","_wxPrintQuality",0},
8429 { "_signed_int","_EBool",0},
8430 { "_signed_int","_wxWindowID",0},
8431 { "_signed_int","_int",0},
8432 { "_class_wxTextCtrl","_wxTextCtrl",0},
8433 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8434 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
8435 { "_class_wxTextDataObject","_wxTextDataObject",0},
8436 { "_wxMenu","_class_wxMenu",0},
8437 { "_class_wxMoveEvent","_wxMoveEvent",0},
8438 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
8439 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
8440 { "_wxListBox","_class_wxListBox",0},
8441 { "_wxScreenDC","_class_wxScreenDC",0},
8442 { "_WXTYPE","_short",0},
8443 { "_WXTYPE","_signed_short",0},
8444 { "_WXTYPE","_unsigned_short",0},
8445 { "_class_wxDropTarget","_wxDropTarget",0},
8446 { "_class_wxBrush","_wxBrush",0},
8447 { "_unsigned_short","_WXTYPE",0},
8448 { "_unsigned_short","_short",0},
8449 { "_class_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow},
8450 { "_class_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
8451 { "_class_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
8452 { "_class_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
8453 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
8454 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
8455 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow},
8456 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
8457 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow},
8458 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
8459 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
8460 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
8461 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow},
8462 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
8463 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow},
8464 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
8465 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow},
8466 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
8467 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
8468 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
8469 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow},
8470 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
8471 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow},
8472 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
8473 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow},
8474 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
8475 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow},
8476 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
8477 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow},
8478 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
8479 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow},
8480 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
8481 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow},
8482 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
8483 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow},
8484 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
8485 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
8486 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
8487 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow},
8488 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow},
8489 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow},
8490 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow},
8491 { "_class_wxWindow","_wxWindow",0},
8492 { "_class_wxStaticText","_wxStaticText",0},
8493 { "_class_wxFont","_wxFont",0},
8494 { "_wxClipboard","_class_wxClipboard",0},
8495 { "_class_wxPyValidator","_wxPyValidator",0},
8496 { "_class_wxCloseEvent","_wxCloseEvent",0},
8497 { "_wxBusyInfo","_class_wxBusyInfo",0},
8498 { "_wxFontList","_class_wxFontList",0},
8499 { "_class_wxMenuEvent","_wxMenuEvent",0},
8500 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8501 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8502 { "_wxClientDC","_class_wxClientDC",0},
8503 { "_wxMouseEvent","_class_wxMouseEvent",0},
8504 { "_class_wxPoint","_wxPoint",0},
8505 { "_wxRealPoint","_class_wxRealPoint",0},
8506 { "_class_wxRadioBox","_wxRadioBox",0},
8507 { "_signed_short","_WXTYPE",0},
8508 { "_signed_short","_short",0},
8509 { "_wxMemoryDC","_class_wxMemoryDC",0},
8510 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8511 { "_wxPaintDC","_class_wxPaintDC",0},
8512 { "_class_wxWindowDC","_wxWindowDC",0},
8513 { "_class_wxFocusEvent","_wxFocusEvent",0},
8514 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8515 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8516 { "_class_wxCursor","_wxCursor",0},
8517 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
8518 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8519 { "_unsigned_char","_byte",0},
8520 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
8521 { "_class_wxMenu","_wxMenu",0},
8522 { "_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl},
8523 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
8524 { "_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
8525 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
8526 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
8527 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
8528 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl},
8529 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
8530 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl},
8531 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
8532 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
8533 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
8534 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl},
8535 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
8536 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl},
8537 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
8538 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl},
8539 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
8540 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl},
8541 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
8542 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl},
8543 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
8544 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl},
8545 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
8546 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl},
8547 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
8548 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl},
8549 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
8550 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl},
8551 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
8552 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl},
8553 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
8554 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl},
8555 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
8556 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl},
8557 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
8558 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl},
8559 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
8560 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl},
8561 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
8562 { "_wxControl","_class_wxControl",0},
8563 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
8564 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
8565 { "_class_wxListBox","_wxListBox",0},
8566 { "_unsigned_int","_wxCoord",0},
8567 { "_unsigned_int","_wxPrintQuality",0},
8568 { "_unsigned_int","_time_t",0},
8569 { "_unsigned_int","_size_t",0},
8570 { "_unsigned_int","_uint",0},
8571 { "_unsigned_int","_wxWindowID",0},
8572 { "_unsigned_int","_int",0},
8573 { "_wxIcon","_class_wxIcon",0},
8574 { "_wxDialog","_class_wxDialog",0},
8575 { "_class_wxPen","_wxPen",0},
8576 { "_short","_WXTYPE",0},
8577 { "_short","_unsigned_short",0},
8578 { "_short","_signed_short",0},
8579 { "_class_wxStaticBox","_wxStaticBox",0},
8580 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8581 { "_class_wxPyDropSource","_wxPyDropSource",0},
8582 { "_class_wxScrollEvent","_wxScrollEvent",0},
8583 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8584 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice},
8585 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
8586 { "_class_wxChoice","_wxChoice",0},
8587 { "_class_wxSlider","_wxSlider",0},
8588 { "_class_wxImageList","_wxImageList",0},
8589 { "_class_wxBitmapButton","_wxBitmapButton",0},
8590 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8591 { "_wxWindowID","_wxCoord",0},
8592 { "_wxWindowID","_wxPrintQuality",0},
8593 { "_wxWindowID","_time_t",0},
8594 { "_wxWindowID","_size_t",0},
8595 { "_wxWindowID","_EBool",0},
8596 { "_wxWindowID","_uint",0},
8597 { "_wxWindowID","_int",0},
8598 { "_wxWindowID","_signed_int",0},
8599 { "_wxWindowID","_unsigned_int",0},
8600 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8601 { "_int","_wxCoord",0},
8602 { "_int","_wxPrintQuality",0},
8603 { "_int","_time_t",0},
8604 { "_int","_size_t",0},
8605 { "_int","_EBool",0},
8606 { "_int","_uint",0},
8607 { "_int","_wxWindowID",0},
8608 { "_int","_unsigned_int",0},
8609 { "_int","_signed_int",0},
8610 { "_class_wxMouseEvent","_wxMouseEvent",0},
8611 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8612 { "_class_wxSpinEvent","_wxSpinEvent",0},
8613 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
8614 { "_time_t","_wxCoord",0},
8615 { "_time_t","_wxPrintQuality",0},
8616 { "_time_t","_unsigned_int",0},
8617 { "_time_t","_int",0},
8618 { "_time_t","_wxWindowID",0},
8619 { "_time_t","_uint",0},
8620 { "_time_t","_size_t",0},
8621 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8622 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton},
8623 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
8624 { "_wxButton","_class_wxButton",0},
8625 { "_wxSize","_class_wxSize",0},
8626 { "_wxRegionIterator","_class_wxRegionIterator",0},
8627 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8628 { "_class_wxPaintDC","_wxPaintDC",0},
8629 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8630 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8631 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8632 { "_class_wxComboBox","_wxComboBox",0},
8633 { "_class_wxRadioButton","_wxRadioButton",0},
8634 { "_wxValidator","_class_wxValidator",0},
8635 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8636 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8637 { "_class_wxControl","_class_wxToggleButton",SwigwxToggleButtonTowxControl},
8638 { "_class_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
8639 { "_class_wxControl","_class_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
8640 { "_class_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
8641 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
8642 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl},
8643 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl},
8644 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
8645 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl},
8646 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
8647 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
8648 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
8649 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl},
8650 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
8651 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl},
8652 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
8653 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl},
8654 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
8655 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl},
8656 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
8657 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl},
8658 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl},
8659 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl},
8660 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
8661 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl},
8662 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
8663 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl},
8664 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
8665 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl},
8666 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl},
8667 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl},
8668 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
8669 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl},
8670 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl},
8671 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl},
8672 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
8673 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl},
8674 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
8675 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl},
8676 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl},
8677 { "_class_wxControl","_wxControl",0},
8678 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8679 { "_class_wxIcon","_wxIcon",0},
8680 { "_class_wxColour","_wxColour",0},
8681 { "_class_wxScreenDC","_wxScreenDC",0},
8682 { "_wxPalette","_class_wxPalette",0},
8683 { "_class_wxIdleEvent","_wxIdleEvent",0},
8684 { "_wxCoord","_int",0},
8685 { "_wxCoord","_signed_int",0},
8686 { "_wxCoord","_unsigned_int",0},
8687 { "_wxCoord","_wxWindowID",0},
8688 { "_wxCoord","_uint",0},
8689 { "_wxCoord","_EBool",0},
8690 { "_wxCoord","_size_t",0},
8691 { "_wxCoord","_time_t",0},
8692 { "_wxCoord","_wxPrintQuality",0},
8693 { "_wxEraseEvent","_class_wxEraseEvent",0},
8694 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8695 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8696 { "_class_wxToggleButton","_wxToggleButton",0},
8697 { "_wxRegion","_class_wxRegion",0},
8698 { "_class_wxShowEvent","_wxShowEvent",0},
8699 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8700 { "_wxActivateEvent","_class_wxActivateEvent",0},
8701 { "_wxGauge","_class_wxGauge",0},
8702 { "_class_wxCheckListBox","_wxCheckListBox",0},
8703 { "_class_wxBusyInfo","_wxBusyInfo",0},
8704 { "_class_wxFontList","_wxFontList",0},
8705 { "_class_wxCommandEvent","_wxCommandEvent",0},
8706 { "_class_wxClientDC","_wxClientDC",0},
8707 { "_class_wxSizeEvent","_wxSizeEvent",0},
8708 { "_wxBrushList","_class_wxBrushList",0},
8709 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
8710 { "_class_wxSize","_wxSize",0},
8711 { "_class_wxBitmap","_wxBitmap",0},
8712 { "_class_wxMemoryDC","_wxMemoryDC",0},
8713 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
8714 { "_wxMenuBar","_class_wxMenuBar",0},
8715 { "_wxEvtHandler","_class_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
8716 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
8717 { "_wxEvtHandler","_class_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
8718 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
8719 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
8720 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
8721 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
8722 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
8723 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
8724 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
8725 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
8726 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
8727 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
8728 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
8729 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
8730 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
8731 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
8732 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
8733 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
8734 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
8735 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler},
8736 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
8737 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler},
8738 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
8739 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
8740 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
8741 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
8742 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
8743 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler},
8744 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
8745 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler},
8746 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
8747 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler},
8748 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
8749 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
8750 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
8751 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
8752 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
8753 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler},
8754 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
8755 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler},
8756 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
8757 { "_wxEvtHandler","_class_wxEvtHandler",0},
8758 { "_wxMenuItem","_class_wxMenuItem",0},
8759 { "_class_wxScrollBar","_wxScrollBar",0},
8760 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
8761 { "_wxKeyEvent","_class_wxKeyEvent",0},
8762 { "_wxMoveEvent","_class_wxMoveEvent",0},
8763 { "_class_wxPalette","_wxPalette",0},
8764 { "_wxFileDataObject","_class_wxFileDataObject",0},
8765 { "_class_wxEraseEvent","_wxEraseEvent",0},
8766 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
8767 { "_wxWindow","_class_wxToggleButton",SwigwxToggleButtonTowxWindow},
8768 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
8769 { "_wxWindow","_class_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
8770 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
8771 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
8772 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
8773 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow},
8774 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
8775 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow},
8776 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
8777 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
8778 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
8779 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow},
8780 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
8781 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow},
8782 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
8783 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow},
8784 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
8785 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
8786 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
8787 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow},
8788 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
8789 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow},
8790 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
8791 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow},
8792 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
8793 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow},
8794 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
8795 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow},
8796 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
8797 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow},
8798 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
8799 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow},
8800 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
8801 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow},
8802 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
8803 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
8804 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
8805 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow},
8806 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
8807 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow},
8808 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
8809 { "_wxWindow","_class_wxWindow",0},
8810 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
8811 {0,0,0}};
8812
8813 static PyObject *SWIG_globals;
8814 #ifdef __cplusplus
8815 extern "C"
8816 #endif
8817 SWIGEXPORT(void) initcontrolsc() {
8818 PyObject *m, *d;
8819 SWIG_globals = SWIG_newvarlink();
8820 m = Py_InitModule("controlsc", controlscMethods);
8821 d = PyModule_GetDict(m);
8822 PyDict_SetItemString(d,"cvar", SWIG_globals);
8823 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
8824 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
8825 {
8826 int i;
8827 for (i = 0; _swig_mapping[i].n1; i++)
8828 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
8829 }
8830 }