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