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