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