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