]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls.cpp
IRIX compilation fixes
[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 bool _arg2 = (bool ) TRUE;
3654 PyObject * _argo0 = 0;
3655 int tempbool2 = (int) TRUE;
3656 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
3657
3658 self = self;
3659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&tempbool2))
3660 return NULL;
3661 if (_argo0) {
3662 if (_argo0 == Py_None) { _arg0 = NULL; }
3663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
3664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
3665 return NULL;
3666 }
3667 }
3668 _arg2 = (bool ) tempbool2;
3669 {
3670 wxPy_BEGIN_ALLOW_THREADS;
3671 wxCheckListBox_Check(_arg0,_arg1,_arg2);
3672
3673 wxPy_END_ALLOW_THREADS;
3674 } Py_INCREF(Py_None);
3675 _resultobj = Py_None;
3676 return _resultobj;
3677 }
3678
3679 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
3680 static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject * _resultobj;
3682 int _result;
3683 wxCheckListBox * _arg0;
3684 PyObject * _argo0 = 0;
3685 char *_kwnames[] = { "self", NULL };
3686
3687 self = self;
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
3689 return NULL;
3690 if (_argo0) {
3691 if (_argo0 == Py_None) { _arg0 = NULL; }
3692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
3693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
3694 return NULL;
3695 }
3696 }
3697 {
3698 wxPy_BEGIN_ALLOW_THREADS;
3699 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
3700
3701 wxPy_END_ALLOW_THREADS;
3702 } _resultobj = Py_BuildValue("i",_result);
3703 return _resultobj;
3704 }
3705
3706 static void *SwigwxTextCtrlTowxControl(void *ptr) {
3707 wxTextCtrl *src;
3708 wxControl *dest;
3709 src = (wxTextCtrl *) ptr;
3710 dest = (wxControl *) src;
3711 return (void *) dest;
3712 }
3713
3714 static void *SwigwxTextCtrlTowxWindow(void *ptr) {
3715 wxTextCtrl *src;
3716 wxWindow *dest;
3717 src = (wxTextCtrl *) ptr;
3718 dest = (wxWindow *) src;
3719 return (void *) dest;
3720 }
3721
3722 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
3723 wxTextCtrl *src;
3724 wxEvtHandler *dest;
3725 src = (wxTextCtrl *) ptr;
3726 dest = (wxEvtHandler *) src;
3727 return (void *) dest;
3728 }
3729
3730 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3731 static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
3732 PyObject * _resultobj;
3733 wxTextCtrl * _result;
3734 wxWindow * _arg0;
3735 wxWindowID _arg1;
3736 char * _arg2 = (char *) "";
3737 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
3738 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
3739 long _arg5 = (long ) 0;
3740 wxValidator * _arg6 = (wxValidator *) &wxPyDefaultValidator;
3741 char * _arg7 = (char *) "text";
3742 PyObject * _argo0 = 0;
3743 wxPoint temp;
3744 PyObject * _obj3 = 0;
3745 wxSize temp0;
3746 PyObject * _obj4 = 0;
3747 PyObject * _argo6 = 0;
3748 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
3749 char _ptemp[128];
3750
3751 self = self;
3752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|sOOlOs:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
3753 return NULL;
3754 if (_argo0) {
3755 if (_argo0 == Py_None) { _arg0 = NULL; }
3756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
3758 return NULL;
3759 }
3760 }
3761 if (_obj3)
3762 {
3763 _arg3 = &temp;
3764 if (! wxPoint_helper(_obj3, &_arg3))
3765 return NULL;
3766 }
3767 if (_obj4)
3768 {
3769 _arg4 = &temp0;
3770 if (! wxSize_helper(_obj4, &_arg4))
3771 return NULL;
3772 }
3773 if (_argo6) {
3774 if (_argo6 == Py_None) { _arg6 = NULL; }
3775 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3776 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
3777 return NULL;
3778 }
3779 }
3780 {
3781 wxPy_BEGIN_ALLOW_THREADS;
3782 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
3783
3784 wxPy_END_ALLOW_THREADS;
3785 } if (_result) {
3786 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
3787 _resultobj = Py_BuildValue("s",_ptemp);
3788 } else {
3789 Py_INCREF(Py_None);
3790 _resultobj = Py_None;
3791 }
3792 return _resultobj;
3793 }
3794
3795 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
3796 static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject * _resultobj;
3798 wxTextCtrl * _arg0;
3799 PyObject * _argo0 = 0;
3800 char *_kwnames[] = { "self", NULL };
3801
3802 self = self;
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
3804 return NULL;
3805 if (_argo0) {
3806 if (_argo0 == Py_None) { _arg0 = NULL; }
3807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
3808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
3809 return NULL;
3810 }
3811 }
3812 {
3813 wxPy_BEGIN_ALLOW_THREADS;
3814 wxTextCtrl_Clear(_arg0);
3815
3816 wxPy_END_ALLOW_THREADS;
3817 } Py_INCREF(Py_None);
3818 _resultobj = Py_None;
3819 return _resultobj;
3820 }
3821
3822 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
3823 static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3824 PyObject * _resultobj;
3825 wxTextCtrl * _arg0;
3826 PyObject * _argo0 = 0;
3827 char *_kwnames[] = { "self", NULL };
3828
3829 self = self;
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
3831 return NULL;
3832 if (_argo0) {
3833 if (_argo0 == Py_None) { _arg0 = NULL; }
3834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
3835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
3836 return NULL;
3837 }
3838 }
3839 {
3840 wxPy_BEGIN_ALLOW_THREADS;
3841 wxTextCtrl_Copy(_arg0);
3842
3843 wxPy_END_ALLOW_THREADS;
3844 } Py_INCREF(Py_None);
3845 _resultobj = Py_None;
3846 return _resultobj;
3847 }
3848
3849 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
3850 static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3851 PyObject * _resultobj;
3852 wxTextCtrl * _arg0;
3853 PyObject * _argo0 = 0;
3854 char *_kwnames[] = { "self", NULL };
3855
3856 self = self;
3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
3858 return NULL;
3859 if (_argo0) {
3860 if (_argo0 == Py_None) { _arg0 = NULL; }
3861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
3862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
3863 return NULL;
3864 }
3865 }
3866 {
3867 wxPy_BEGIN_ALLOW_THREADS;
3868 wxTextCtrl_Cut(_arg0);
3869
3870 wxPy_END_ALLOW_THREADS;
3871 } Py_INCREF(Py_None);
3872 _resultobj = Py_None;
3873 return _resultobj;
3874 }
3875
3876 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
3877 static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject * _resultobj;
3879 wxTextCtrl * _arg0;
3880 PyObject * _argo0 = 0;
3881 char *_kwnames[] = { "self", NULL };
3882
3883 self = self;
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
3885 return NULL;
3886 if (_argo0) {
3887 if (_argo0 == Py_None) { _arg0 = NULL; }
3888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
3889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
3890 return NULL;
3891 }
3892 }
3893 {
3894 wxPy_BEGIN_ALLOW_THREADS;
3895 wxTextCtrl_DiscardEdits(_arg0);
3896
3897 wxPy_END_ALLOW_THREADS;
3898 } Py_INCREF(Py_None);
3899 _resultobj = Py_None;
3900 return _resultobj;
3901 }
3902
3903 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
3904 static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3905 PyObject * _resultobj;
3906 long _result;
3907 wxTextCtrl * _arg0;
3908 PyObject * _argo0 = 0;
3909 char *_kwnames[] = { "self", NULL };
3910
3911 self = self;
3912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
3913 return NULL;
3914 if (_argo0) {
3915 if (_argo0 == Py_None) { _arg0 = NULL; }
3916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
3917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
3918 return NULL;
3919 }
3920 }
3921 {
3922 wxPy_BEGIN_ALLOW_THREADS;
3923 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
3924
3925 wxPy_END_ALLOW_THREADS;
3926 } _resultobj = Py_BuildValue("l",_result);
3927 return _resultobj;
3928 }
3929
3930 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3931 static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3932 PyObject * _resultobj;
3933 long _result;
3934 wxTextCtrl * _arg0;
3935 PyObject * _argo0 = 0;
3936 char *_kwnames[] = { "self", NULL };
3937
3938 self = self;
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
3940 return NULL;
3941 if (_argo0) {
3942 if (_argo0 == Py_None) { _arg0 = NULL; }
3943 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
3944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
3945 return NULL;
3946 }
3947 }
3948 {
3949 wxPy_BEGIN_ALLOW_THREADS;
3950 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
3951
3952 wxPy_END_ALLOW_THREADS;
3953 } _resultobj = Py_BuildValue("l",_result);
3954 return _resultobj;
3955 }
3956
3957 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
3958 static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject * _resultobj;
3960 int _result;
3961 wxTextCtrl * _arg0;
3962 long _arg1;
3963 PyObject * _argo0 = 0;
3964 char *_kwnames[] = { "self","lineNo", NULL };
3965
3966 self = self;
3967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
3968 return NULL;
3969 if (_argo0) {
3970 if (_argo0 == Py_None) { _arg0 = NULL; }
3971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
3972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
3973 return NULL;
3974 }
3975 }
3976 {
3977 wxPy_BEGIN_ALLOW_THREADS;
3978 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
3979
3980 wxPy_END_ALLOW_THREADS;
3981 } _resultobj = Py_BuildValue("i",_result);
3982 return _resultobj;
3983 }
3984
3985 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
3986 static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
3987 PyObject * _resultobj;
3988 wxString * _result;
3989 wxTextCtrl * _arg0;
3990 long _arg1;
3991 PyObject * _argo0 = 0;
3992 char *_kwnames[] = { "self","lineNo", NULL };
3993
3994 self = self;
3995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
3996 return NULL;
3997 if (_argo0) {
3998 if (_argo0 == Py_None) { _arg0 = NULL; }
3999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
4001 return NULL;
4002 }
4003 }
4004 {
4005 wxPy_BEGIN_ALLOW_THREADS;
4006 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
4007
4008 wxPy_END_ALLOW_THREADS;
4009 }{
4010 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4011 }
4012 {
4013 delete _result;
4014 }
4015 return _resultobj;
4016 }
4017
4018 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
4019 static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4020 PyObject * _resultobj;
4021 int _result;
4022 wxTextCtrl * _arg0;
4023 PyObject * _argo0 = 0;
4024 char *_kwnames[] = { "self", NULL };
4025
4026 self = self;
4027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
4028 return NULL;
4029 if (_argo0) {
4030 if (_argo0 == Py_None) { _arg0 = NULL; }
4031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
4033 return NULL;
4034 }
4035 }
4036 {
4037 wxPy_BEGIN_ALLOW_THREADS;
4038 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
4039
4040 wxPy_END_ALLOW_THREADS;
4041 } _resultobj = Py_BuildValue("i",_result);
4042 return _resultobj;
4043 }
4044
4045 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
4046 static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4047 PyObject * _resultobj;
4048 wxString * _result;
4049 wxTextCtrl * _arg0;
4050 PyObject * _argo0 = 0;
4051 char *_kwnames[] = { "self", NULL };
4052
4053 self = self;
4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
4055 return NULL;
4056 if (_argo0) {
4057 if (_argo0 == Py_None) { _arg0 = NULL; }
4058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
4060 return NULL;
4061 }
4062 }
4063 {
4064 wxPy_BEGIN_ALLOW_THREADS;
4065 _result = new wxString (wxTextCtrl_GetValue(_arg0));
4066
4067 wxPy_END_ALLOW_THREADS;
4068 }{
4069 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
4070 }
4071 {
4072 delete _result;
4073 }
4074 return _resultobj;
4075 }
4076
4077 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
4078 static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
4079 PyObject * _resultobj;
4080 bool _result;
4081 wxTextCtrl * _arg0;
4082 PyObject * _argo0 = 0;
4083 char *_kwnames[] = { "self", NULL };
4084
4085 self = self;
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
4087 return NULL;
4088 if (_argo0) {
4089 if (_argo0 == Py_None) { _arg0 = NULL; }
4090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
4092 return NULL;
4093 }
4094 }
4095 {
4096 wxPy_BEGIN_ALLOW_THREADS;
4097 _result = (bool )wxTextCtrl_IsModified(_arg0);
4098
4099 wxPy_END_ALLOW_THREADS;
4100 } _resultobj = Py_BuildValue("i",_result);
4101 return _resultobj;
4102 }
4103
4104 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
4105 static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
4106 PyObject * _resultobj;
4107 bool _result;
4108 wxTextCtrl * _arg0;
4109 wxString * _arg1;
4110 PyObject * _argo0 = 0;
4111 PyObject * _obj1 = 0;
4112 char *_kwnames[] = { "self","filename", NULL };
4113
4114 self = self;
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
4116 return NULL;
4117 if (_argo0) {
4118 if (_argo0 == Py_None) { _arg0 = NULL; }
4119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
4121 return NULL;
4122 }
4123 }
4124 {
4125 if (!PyString_Check(_obj1)) {
4126 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4127 return NULL;
4128 }
4129 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4130 }
4131 {
4132 wxPy_BEGIN_ALLOW_THREADS;
4133 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
4134
4135 wxPy_END_ALLOW_THREADS;
4136 } _resultobj = Py_BuildValue("i",_result);
4137 {
4138 if (_obj1)
4139 delete _arg1;
4140 }
4141 return _resultobj;
4142 }
4143
4144 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4145 static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
4146 PyObject * _resultobj;
4147 wxTextCtrl * _arg0;
4148 PyObject * _argo0 = 0;
4149 char *_kwnames[] = { "self", NULL };
4150
4151 self = self;
4152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
4153 return NULL;
4154 if (_argo0) {
4155 if (_argo0 == Py_None) { _arg0 = NULL; }
4156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
4158 return NULL;
4159 }
4160 }
4161 {
4162 wxPy_BEGIN_ALLOW_THREADS;
4163 wxTextCtrl_Paste(_arg0);
4164
4165 wxPy_END_ALLOW_THREADS;
4166 } Py_INCREF(Py_None);
4167 _resultobj = Py_None;
4168 return _resultobj;
4169 }
4170
4171 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
4172 static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject * _resultobj;
4174 wxTextCtrl * _arg0;
4175 long _arg1;
4176 long * _arg2;
4177 long temp;
4178 long * _arg3;
4179 long temp0;
4180 PyObject * _argo0 = 0;
4181 char *_kwnames[] = { "self","pos", NULL };
4182
4183 self = self;
4184 {
4185 _arg2 = &temp;
4186 }
4187 {
4188 _arg3 = &temp0;
4189 }
4190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
4191 return NULL;
4192 if (_argo0) {
4193 if (_argo0 == Py_None) { _arg0 = NULL; }
4194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
4196 return NULL;
4197 }
4198 }
4199 {
4200 wxPy_BEGIN_ALLOW_THREADS;
4201 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
4202
4203 wxPy_END_ALLOW_THREADS;
4204 } Py_INCREF(Py_None);
4205 _resultobj = Py_None;
4206 {
4207 PyObject *o;
4208 o = PyInt_FromLong((long) (*_arg2));
4209 _resultobj = t_output_helper(_resultobj, o);
4210 }
4211 {
4212 PyObject *o;
4213 o = PyInt_FromLong((long) (*_arg3));
4214 _resultobj = t_output_helper(_resultobj, o);
4215 }
4216 return _resultobj;
4217 }
4218
4219 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
4220 static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
4221 PyObject * _resultobj;
4222 wxTextCtrl * _arg0;
4223 long _arg1;
4224 long _arg2;
4225 PyObject * _argo0 = 0;
4226 char *_kwnames[] = { "self","from","to", NULL };
4227
4228 self = self;
4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
4230 return NULL;
4231 if (_argo0) {
4232 if (_argo0 == Py_None) { _arg0 = NULL; }
4233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
4235 return NULL;
4236 }
4237 }
4238 {
4239 wxPy_BEGIN_ALLOW_THREADS;
4240 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
4241
4242 wxPy_END_ALLOW_THREADS;
4243 } Py_INCREF(Py_None);
4244 _resultobj = Py_None;
4245 return _resultobj;
4246 }
4247
4248 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
4249 static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject * _resultobj;
4251 wxTextCtrl * _arg0;
4252 long _arg1;
4253 long _arg2;
4254 wxString * _arg3;
4255 PyObject * _argo0 = 0;
4256 PyObject * _obj3 = 0;
4257 char *_kwnames[] = { "self","from","to","value", NULL };
4258
4259 self = self;
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
4261 return NULL;
4262 if (_argo0) {
4263 if (_argo0 == Py_None) { _arg0 = NULL; }
4264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
4266 return NULL;
4267 }
4268 }
4269 {
4270 if (!PyString_Check(_obj3)) {
4271 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4272 return NULL;
4273 }
4274 _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3));
4275 }
4276 {
4277 wxPy_BEGIN_ALLOW_THREADS;
4278 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
4279
4280 wxPy_END_ALLOW_THREADS;
4281 } Py_INCREF(Py_None);
4282 _resultobj = Py_None;
4283 {
4284 if (_obj3)
4285 delete _arg3;
4286 }
4287 return _resultobj;
4288 }
4289
4290 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
4291 static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
4292 PyObject * _resultobj;
4293 bool _result;
4294 wxTextCtrl * _arg0;
4295 wxString * _arg1;
4296 PyObject * _argo0 = 0;
4297 PyObject * _obj1 = 0;
4298 char *_kwnames[] = { "self","filename", NULL };
4299
4300 self = self;
4301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
4302 return NULL;
4303 if (_argo0) {
4304 if (_argo0 == Py_None) { _arg0 = NULL; }
4305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
4307 return NULL;
4308 }
4309 }
4310 {
4311 if (!PyString_Check(_obj1)) {
4312 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4313 return NULL;
4314 }
4315 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4316 }
4317 {
4318 wxPy_BEGIN_ALLOW_THREADS;
4319 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
4320
4321 wxPy_END_ALLOW_THREADS;
4322 } _resultobj = Py_BuildValue("i",_result);
4323 {
4324 if (_obj1)
4325 delete _arg1;
4326 }
4327 return _resultobj;
4328 }
4329
4330 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
4331 static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
4332 PyObject * _resultobj;
4333 wxTextCtrl * _arg0;
4334 bool _arg1;
4335 PyObject * _argo0 = 0;
4336 int tempbool1;
4337 char *_kwnames[] = { "self","editable", NULL };
4338
4339 self = self;
4340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
4341 return NULL;
4342 if (_argo0) {
4343 if (_argo0 == Py_None) { _arg0 = NULL; }
4344 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4345 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
4346 return NULL;
4347 }
4348 }
4349 _arg1 = (bool ) tempbool1;
4350 {
4351 wxPy_BEGIN_ALLOW_THREADS;
4352 wxTextCtrl_SetEditable(_arg0,_arg1);
4353
4354 wxPy_END_ALLOW_THREADS;
4355 } Py_INCREF(Py_None);
4356 _resultobj = Py_None;
4357 return _resultobj;
4358 }
4359
4360 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
4361 static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4362 PyObject * _resultobj;
4363 wxTextCtrl * _arg0;
4364 long _arg1;
4365 PyObject * _argo0 = 0;
4366 char *_kwnames[] = { "self","pos", NULL };
4367
4368 self = self;
4369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
4370 return NULL;
4371 if (_argo0) {
4372 if (_argo0 == Py_None) { _arg0 = NULL; }
4373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
4375 return NULL;
4376 }
4377 }
4378 {
4379 wxPy_BEGIN_ALLOW_THREADS;
4380 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
4381
4382 wxPy_END_ALLOW_THREADS;
4383 } Py_INCREF(Py_None);
4384 _resultobj = Py_None;
4385 return _resultobj;
4386 }
4387
4388 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
4389 static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject * _resultobj;
4391 wxTextCtrl * _arg0;
4392 PyObject * _argo0 = 0;
4393 char *_kwnames[] = { "self", NULL };
4394
4395 self = self;
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
4397 return NULL;
4398 if (_argo0) {
4399 if (_argo0 == Py_None) { _arg0 = NULL; }
4400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
4402 return NULL;
4403 }
4404 }
4405 {
4406 wxPy_BEGIN_ALLOW_THREADS;
4407 wxTextCtrl_SetInsertionPointEnd(_arg0);
4408
4409 wxPy_END_ALLOW_THREADS;
4410 } Py_INCREF(Py_None);
4411 _resultobj = Py_None;
4412 return _resultobj;
4413 }
4414
4415 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4416 static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4417 PyObject * _resultobj;
4418 wxTextCtrl * _arg0;
4419 long _arg1;
4420 long _arg2;
4421 PyObject * _argo0 = 0;
4422 char *_kwnames[] = { "self","from","to", NULL };
4423
4424 self = self;
4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
4426 return NULL;
4427 if (_argo0) {
4428 if (_argo0 == Py_None) { _arg0 = NULL; }
4429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
4431 return NULL;
4432 }
4433 }
4434 {
4435 wxPy_BEGIN_ALLOW_THREADS;
4436 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
4437
4438 wxPy_END_ALLOW_THREADS;
4439 } Py_INCREF(Py_None);
4440 _resultobj = Py_None;
4441 return _resultobj;
4442 }
4443
4444 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4445 static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4446 PyObject * _resultobj;
4447 wxTextCtrl * _arg0;
4448 wxString * _arg1;
4449 PyObject * _argo0 = 0;
4450 PyObject * _obj1 = 0;
4451 char *_kwnames[] = { "self","value", NULL };
4452
4453 self = self;
4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
4455 return NULL;
4456 if (_argo0) {
4457 if (_argo0 == Py_None) { _arg0 = NULL; }
4458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
4460 return NULL;
4461 }
4462 }
4463 {
4464 if (!PyString_Check(_obj1)) {
4465 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4466 return NULL;
4467 }
4468 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4469 }
4470 {
4471 wxPy_BEGIN_ALLOW_THREADS;
4472 wxTextCtrl_SetValue(_arg0,*_arg1);
4473
4474 wxPy_END_ALLOW_THREADS;
4475 } Py_INCREF(Py_None);
4476 _resultobj = Py_None;
4477 {
4478 if (_obj1)
4479 delete _arg1;
4480 }
4481 return _resultobj;
4482 }
4483
4484 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
4485 static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4486 PyObject * _resultobj;
4487 wxTextCtrl * _arg0;
4488 long _arg1;
4489 PyObject * _argo0 = 0;
4490 char *_kwnames[] = { "self","pos", NULL };
4491
4492 self = self;
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
4494 return NULL;
4495 if (_argo0) {
4496 if (_argo0 == Py_None) { _arg0 = NULL; }
4497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
4499 return NULL;
4500 }
4501 }
4502 {
4503 wxPy_BEGIN_ALLOW_THREADS;
4504 wxTextCtrl_ShowPosition(_arg0,_arg1);
4505
4506 wxPy_END_ALLOW_THREADS;
4507 } Py_INCREF(Py_None);
4508 _resultobj = Py_None;
4509 return _resultobj;
4510 }
4511
4512 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
4513 static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
4514 PyObject * _resultobj;
4515 wxTextCtrl * _arg0;
4516 wxString * _arg1;
4517 PyObject * _argo0 = 0;
4518 PyObject * _obj1 = 0;
4519 char *_kwnames[] = { "self","text", NULL };
4520
4521 self = self;
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
4523 return NULL;
4524 if (_argo0) {
4525 if (_argo0 == Py_None) { _arg0 = NULL; }
4526 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4527 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
4528 return NULL;
4529 }
4530 }
4531 {
4532 if (!PyString_Check(_obj1)) {
4533 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4534 return NULL;
4535 }
4536 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4537 }
4538 {
4539 wxPy_BEGIN_ALLOW_THREADS;
4540 wxTextCtrl_WriteText(_arg0,*_arg1);
4541
4542 wxPy_END_ALLOW_THREADS;
4543 } Py_INCREF(Py_None);
4544 _resultobj = Py_None;
4545 {
4546 if (_obj1)
4547 delete _arg1;
4548 }
4549 return _resultobj;
4550 }
4551
4552 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
4553 static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
4554 PyObject * _resultobj;
4555 wxTextCtrl * _arg0;
4556 wxString * _arg1;
4557 PyObject * _argo0 = 0;
4558 PyObject * _obj1 = 0;
4559 char *_kwnames[] = { "self","text", NULL };
4560
4561 self = self;
4562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
4563 return NULL;
4564 if (_argo0) {
4565 if (_argo0 == Py_None) { _arg0 = NULL; }
4566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
4568 return NULL;
4569 }
4570 }
4571 {
4572 if (!PyString_Check(_obj1)) {
4573 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4574 return NULL;
4575 }
4576 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4577 }
4578 {
4579 wxPy_BEGIN_ALLOW_THREADS;
4580 wxTextCtrl_AppendText(_arg0,*_arg1);
4581
4582 wxPy_END_ALLOW_THREADS;
4583 } Py_INCREF(Py_None);
4584 _resultobj = Py_None;
4585 {
4586 if (_obj1)
4587 delete _arg1;
4588 }
4589 return _resultobj;
4590 }
4591
4592 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
4593 static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4594 PyObject * _resultobj;
4595 long _result;
4596 wxTextCtrl * _arg0;
4597 long _arg1;
4598 long _arg2;
4599 PyObject * _argo0 = 0;
4600 char *_kwnames[] = { "self","x","y", NULL };
4601
4602 self = self;
4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
4604 return NULL;
4605 if (_argo0) {
4606 if (_argo0 == Py_None) { _arg0 = NULL; }
4607 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4608 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
4609 return NULL;
4610 }
4611 }
4612 {
4613 wxPy_BEGIN_ALLOW_THREADS;
4614 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
4615
4616 wxPy_END_ALLOW_THREADS;
4617 } _resultobj = Py_BuildValue("l",_result);
4618 return _resultobj;
4619 }
4620
4621 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
4622 static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject * _resultobj;
4624 bool _result;
4625 wxTextCtrl * _arg0;
4626 PyObject * _argo0 = 0;
4627 char *_kwnames[] = { "self", NULL };
4628
4629 self = self;
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
4631 return NULL;
4632 if (_argo0) {
4633 if (_argo0 == Py_None) { _arg0 = NULL; }
4634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
4636 return NULL;
4637 }
4638 }
4639 {
4640 wxPy_BEGIN_ALLOW_THREADS;
4641 _result = (bool )wxTextCtrl_CanCopy(_arg0);
4642
4643 wxPy_END_ALLOW_THREADS;
4644 } _resultobj = Py_BuildValue("i",_result);
4645 return _resultobj;
4646 }
4647
4648 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
4649 static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject * _resultobj;
4651 bool _result;
4652 wxTextCtrl * _arg0;
4653 PyObject * _argo0 = 0;
4654 char *_kwnames[] = { "self", NULL };
4655
4656 self = self;
4657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
4658 return NULL;
4659 if (_argo0) {
4660 if (_argo0 == Py_None) { _arg0 = NULL; }
4661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
4663 return NULL;
4664 }
4665 }
4666 {
4667 wxPy_BEGIN_ALLOW_THREADS;
4668 _result = (bool )wxTextCtrl_CanCut(_arg0);
4669
4670 wxPy_END_ALLOW_THREADS;
4671 } _resultobj = Py_BuildValue("i",_result);
4672 return _resultobj;
4673 }
4674
4675 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
4676 static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject * _resultobj;
4678 bool _result;
4679 wxTextCtrl * _arg0;
4680 PyObject * _argo0 = 0;
4681 char *_kwnames[] = { "self", NULL };
4682
4683 self = self;
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
4685 return NULL;
4686 if (_argo0) {
4687 if (_argo0 == Py_None) { _arg0 = NULL; }
4688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
4690 return NULL;
4691 }
4692 }
4693 {
4694 wxPy_BEGIN_ALLOW_THREADS;
4695 _result = (bool )wxTextCtrl_CanPaste(_arg0);
4696
4697 wxPy_END_ALLOW_THREADS;
4698 } _resultobj = Py_BuildValue("i",_result);
4699 return _resultobj;
4700 }
4701
4702 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
4703 static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
4704 PyObject * _resultobj;
4705 bool _result;
4706 wxTextCtrl * _arg0;
4707 PyObject * _argo0 = 0;
4708 char *_kwnames[] = { "self", NULL };
4709
4710 self = self;
4711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
4712 return NULL;
4713 if (_argo0) {
4714 if (_argo0 == Py_None) { _arg0 = NULL; }
4715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
4717 return NULL;
4718 }
4719 }
4720 {
4721 wxPy_BEGIN_ALLOW_THREADS;
4722 _result = (bool )wxTextCtrl_CanRedo(_arg0);
4723
4724 wxPy_END_ALLOW_THREADS;
4725 } _resultobj = Py_BuildValue("i",_result);
4726 return _resultobj;
4727 }
4728
4729 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
4730 static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
4731 PyObject * _resultobj;
4732 bool _result;
4733 wxTextCtrl * _arg0;
4734 PyObject * _argo0 = 0;
4735 char *_kwnames[] = { "self", NULL };
4736
4737 self = self;
4738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
4739 return NULL;
4740 if (_argo0) {
4741 if (_argo0 == Py_None) { _arg0 = NULL; }
4742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
4744 return NULL;
4745 }
4746 }
4747 {
4748 wxPy_BEGIN_ALLOW_THREADS;
4749 _result = (bool )wxTextCtrl_CanUndo(_arg0);
4750
4751 wxPy_END_ALLOW_THREADS;
4752 } _resultobj = Py_BuildValue("i",_result);
4753 return _resultobj;
4754 }
4755
4756 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
4757 static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4758 PyObject * _resultobj;
4759 wxTextCtrl * _arg0;
4760 long * _arg1;
4761 long temp;
4762 long * _arg2;
4763 long temp0;
4764 PyObject * _argo0 = 0;
4765 char *_kwnames[] = { "self", NULL };
4766
4767 self = self;
4768 {
4769 _arg1 = &temp;
4770 }
4771 {
4772 _arg2 = &temp0;
4773 }
4774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
4775 return NULL;
4776 if (_argo0) {
4777 if (_argo0 == Py_None) { _arg0 = NULL; }
4778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
4780 return NULL;
4781 }
4782 }
4783 {
4784 wxPy_BEGIN_ALLOW_THREADS;
4785 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
4786
4787 wxPy_END_ALLOW_THREADS;
4788 } Py_INCREF(Py_None);
4789 _resultobj = Py_None;
4790 {
4791 PyObject *o;
4792 o = PyInt_FromLong((long) (*_arg1));
4793 _resultobj = t_output_helper(_resultobj, o);
4794 }
4795 {
4796 PyObject *o;
4797 o = PyInt_FromLong((long) (*_arg2));
4798 _resultobj = t_output_helper(_resultobj, o);
4799 }
4800 return _resultobj;
4801 }
4802
4803 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
4804 static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject * _resultobj;
4806 bool _result;
4807 wxTextCtrl * _arg0;
4808 PyObject * _argo0 = 0;
4809 char *_kwnames[] = { "self", NULL };
4810
4811 self = self;
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
4813 return NULL;
4814 if (_argo0) {
4815 if (_argo0 == Py_None) { _arg0 = NULL; }
4816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
4818 return NULL;
4819 }
4820 }
4821 {
4822 wxPy_BEGIN_ALLOW_THREADS;
4823 _result = (bool )wxTextCtrl_IsEditable(_arg0);
4824
4825 wxPy_END_ALLOW_THREADS;
4826 } _resultobj = Py_BuildValue("i",_result);
4827 return _resultobj;
4828 }
4829
4830 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
4831 static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
4832 PyObject * _resultobj;
4833 wxTextCtrl * _arg0;
4834 PyObject * _argo0 = 0;
4835 char *_kwnames[] = { "self", NULL };
4836
4837 self = self;
4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
4839 return NULL;
4840 if (_argo0) {
4841 if (_argo0 == Py_None) { _arg0 = NULL; }
4842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
4844 return NULL;
4845 }
4846 }
4847 {
4848 wxPy_BEGIN_ALLOW_THREADS;
4849 wxTextCtrl_Undo(_arg0);
4850
4851 wxPy_END_ALLOW_THREADS;
4852 } Py_INCREF(Py_None);
4853 _resultobj = Py_None;
4854 return _resultobj;
4855 }
4856
4857 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
4858 static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
4859 PyObject * _resultobj;
4860 wxTextCtrl * _arg0;
4861 PyObject * _argo0 = 0;
4862 char *_kwnames[] = { "self", NULL };
4863
4864 self = self;
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
4866 return NULL;
4867 if (_argo0) {
4868 if (_argo0 == Py_None) { _arg0 = NULL; }
4869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
4871 return NULL;
4872 }
4873 }
4874 {
4875 wxPy_BEGIN_ALLOW_THREADS;
4876 wxTextCtrl_Redo(_arg0);
4877
4878 wxPy_END_ALLOW_THREADS;
4879 } Py_INCREF(Py_None);
4880 _resultobj = Py_None;
4881 return _resultobj;
4882 }
4883
4884 static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
4885 self->AppendText(text + '\n');
4886 }
4887 static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject * _resultobj;
4889 wxTextCtrl * _arg0;
4890 wxString * _arg1;
4891 PyObject * _argo0 = 0;
4892 PyObject * _obj1 = 0;
4893 char *_kwnames[] = { "self","text", NULL };
4894
4895 self = self;
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
4897 return NULL;
4898 if (_argo0) {
4899 if (_argo0 == Py_None) { _arg0 = NULL; }
4900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
4901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
4902 return NULL;
4903 }
4904 }
4905 {
4906 if (!PyString_Check(_obj1)) {
4907 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4908 return NULL;
4909 }
4910 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4911 }
4912 {
4913 wxPy_BEGIN_ALLOW_THREADS;
4914 wxTextCtrl_write(_arg0,*_arg1);
4915
4916 wxPy_END_ALLOW_THREADS;
4917 } Py_INCREF(Py_None);
4918 _resultobj = Py_None;
4919 {
4920 if (_obj1)
4921 delete _arg1;
4922 }
4923 return _resultobj;
4924 }
4925
4926 static void *SwigwxScrollBarTowxControl(void *ptr) {
4927 wxScrollBar *src;
4928 wxControl *dest;
4929 src = (wxScrollBar *) ptr;
4930 dest = (wxControl *) src;
4931 return (void *) dest;
4932 }
4933
4934 static void *SwigwxScrollBarTowxWindow(void *ptr) {
4935 wxScrollBar *src;
4936 wxWindow *dest;
4937 src = (wxScrollBar *) ptr;
4938 dest = (wxWindow *) src;
4939 return (void *) dest;
4940 }
4941
4942 static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
4943 wxScrollBar *src;
4944 wxEvtHandler *dest;
4945 src = (wxScrollBar *) ptr;
4946 dest = (wxEvtHandler *) src;
4947 return (void *) dest;
4948 }
4949
4950 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4951 static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4952 PyObject * _resultobj;
4953 wxScrollBar * _result;
4954 wxWindow * _arg0;
4955 wxWindowID _arg1 = (wxWindowID ) -1;
4956 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
4957 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
4958 long _arg4 = (long ) wxSB_HORIZONTAL;
4959 wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator;
4960 char * _arg6 = (char *) "scrollBar";
4961 PyObject * _argo0 = 0;
4962 wxPoint temp;
4963 PyObject * _obj2 = 0;
4964 wxSize temp0;
4965 PyObject * _obj3 = 0;
4966 PyObject * _argo5 = 0;
4967 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
4968 char _ptemp[128];
4969
4970 self = self;
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6))
4972 return NULL;
4973 if (_argo0) {
4974 if (_argo0 == Py_None) { _arg0 = NULL; }
4975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
4977 return NULL;
4978 }
4979 }
4980 if (_obj2)
4981 {
4982 _arg2 = &temp;
4983 if (! wxPoint_helper(_obj2, &_arg2))
4984 return NULL;
4985 }
4986 if (_obj3)
4987 {
4988 _arg3 = &temp0;
4989 if (! wxSize_helper(_obj3, &_arg3))
4990 return NULL;
4991 }
4992 if (_argo5) {
4993 if (_argo5 == Py_None) { _arg5 = NULL; }
4994 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
4995 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
4996 return NULL;
4997 }
4998 }
4999 {
5000 wxPy_BEGIN_ALLOW_THREADS;
5001 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
5002
5003 wxPy_END_ALLOW_THREADS;
5004 } if (_result) {
5005 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
5006 _resultobj = Py_BuildValue("s",_ptemp);
5007 } else {
5008 Py_INCREF(Py_None);
5009 _resultobj = Py_None;
5010 }
5011 return _resultobj;
5012 }
5013
5014 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
5015 static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5016 PyObject * _resultobj;
5017 int _result;
5018 wxScrollBar * _arg0;
5019 PyObject * _argo0 = 0;
5020 char *_kwnames[] = { "self", NULL };
5021
5022 self = self;
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
5024 return NULL;
5025 if (_argo0) {
5026 if (_argo0 == Py_None) { _arg0 = NULL; }
5027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
5029 return NULL;
5030 }
5031 }
5032 {
5033 wxPy_BEGIN_ALLOW_THREADS;
5034 _result = (int )wxScrollBar_GetRange(_arg0);
5035
5036 wxPy_END_ALLOW_THREADS;
5037 } _resultobj = Py_BuildValue("i",_result);
5038 return _resultobj;
5039 }
5040
5041 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
5042 static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject * _resultobj;
5044 int _result;
5045 wxScrollBar * _arg0;
5046 PyObject * _argo0 = 0;
5047 char *_kwnames[] = { "self", NULL };
5048
5049 self = self;
5050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
5051 return NULL;
5052 if (_argo0) {
5053 if (_argo0 == Py_None) { _arg0 = NULL; }
5054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
5056 return NULL;
5057 }
5058 }
5059 {
5060 wxPy_BEGIN_ALLOW_THREADS;
5061 _result = (int )wxScrollBar_GetPageSize(_arg0);
5062
5063 wxPy_END_ALLOW_THREADS;
5064 } _resultobj = Py_BuildValue("i",_result);
5065 return _resultobj;
5066 }
5067
5068 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
5069 static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5070 PyObject * _resultobj;
5071 int _result;
5072 wxScrollBar * _arg0;
5073 PyObject * _argo0 = 0;
5074 char *_kwnames[] = { "self", NULL };
5075
5076 self = self;
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
5078 return NULL;
5079 if (_argo0) {
5080 if (_argo0 == Py_None) { _arg0 = NULL; }
5081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
5083 return NULL;
5084 }
5085 }
5086 {
5087 wxPy_BEGIN_ALLOW_THREADS;
5088 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
5089
5090 wxPy_END_ALLOW_THREADS;
5091 } _resultobj = Py_BuildValue("i",_result);
5092 return _resultobj;
5093 }
5094
5095 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
5096 static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5097 PyObject * _resultobj;
5098 int _result;
5099 wxScrollBar * _arg0;
5100 PyObject * _argo0 = 0;
5101 char *_kwnames[] = { "self", NULL };
5102
5103 self = self;
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
5105 return NULL;
5106 if (_argo0) {
5107 if (_argo0 == Py_None) { _arg0 = NULL; }
5108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
5110 return NULL;
5111 }
5112 }
5113 {
5114 wxPy_BEGIN_ALLOW_THREADS;
5115 _result = (int )wxScrollBar_GetThumbSize(_arg0);
5116
5117 wxPy_END_ALLOW_THREADS;
5118 } _resultobj = Py_BuildValue("i",_result);
5119 return _resultobj;
5120 }
5121
5122 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
5123 static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5124 PyObject * _resultobj;
5125 wxScrollBar * _arg0;
5126 int _arg1;
5127 PyObject * _argo0 = 0;
5128 char *_kwnames[] = { "self","viewStart", NULL };
5129
5130 self = self;
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
5132 return NULL;
5133 if (_argo0) {
5134 if (_argo0 == Py_None) { _arg0 = NULL; }
5135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
5137 return NULL;
5138 }
5139 }
5140 {
5141 wxPy_BEGIN_ALLOW_THREADS;
5142 wxScrollBar_SetThumbPosition(_arg0,_arg1);
5143
5144 wxPy_END_ALLOW_THREADS;
5145 } Py_INCREF(Py_None);
5146 _resultobj = Py_None;
5147 return _resultobj;
5148 }
5149
5150 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5151 static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
5152 PyObject * _resultobj;
5153 wxScrollBar * _arg0;
5154 int _arg1;
5155 int _arg2;
5156 int _arg3;
5157 int _arg4;
5158 bool _arg5 = (bool ) TRUE;
5159 PyObject * _argo0 = 0;
5160 int tempbool5 = (int) TRUE;
5161 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
5162
5163 self = self;
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
5165 return NULL;
5166 if (_argo0) {
5167 if (_argo0 == Py_None) { _arg0 = NULL; }
5168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
5169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
5170 return NULL;
5171 }
5172 }
5173 _arg5 = (bool ) tempbool5;
5174 {
5175 wxPy_BEGIN_ALLOW_THREADS;
5176 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5177
5178 wxPy_END_ALLOW_THREADS;
5179 } Py_INCREF(Py_None);
5180 _resultobj = Py_None;
5181 return _resultobj;
5182 }
5183
5184 static void *SwigwxSpinButtonTowxControl(void *ptr) {
5185 wxSpinButton *src;
5186 wxControl *dest;
5187 src = (wxSpinButton *) ptr;
5188 dest = (wxControl *) src;
5189 return (void *) dest;
5190 }
5191
5192 static void *SwigwxSpinButtonTowxWindow(void *ptr) {
5193 wxSpinButton *src;
5194 wxWindow *dest;
5195 src = (wxSpinButton *) ptr;
5196 dest = (wxWindow *) src;
5197 return (void *) dest;
5198 }
5199
5200 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
5201 wxSpinButton *src;
5202 wxEvtHandler *dest;
5203 src = (wxSpinButton *) ptr;
5204 dest = (wxEvtHandler *) src;
5205 return (void *) dest;
5206 }
5207
5208 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5209 static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
5210 PyObject * _resultobj;
5211 wxSpinButton * _result;
5212 wxWindow * _arg0;
5213 wxWindowID _arg1 = (wxWindowID ) -1;
5214 wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition;
5215 wxSize * _arg3 = (wxSize *) &wxPyDefaultSize;
5216 long _arg4 = (long ) wxSP_HORIZONTAL;
5217 char * _arg5 = (char *) "spinButton";
5218 PyObject * _argo0 = 0;
5219 wxPoint temp;
5220 PyObject * _obj2 = 0;
5221 wxSize temp0;
5222 PyObject * _obj3 = 0;
5223 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
5224 char _ptemp[128];
5225
5226 self = self;
5227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOls:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
5228 return NULL;
5229 if (_argo0) {
5230 if (_argo0 == Py_None) { _arg0 = NULL; }
5231 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5232 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
5233 return NULL;
5234 }
5235 }
5236 if (_obj2)
5237 {
5238 _arg2 = &temp;
5239 if (! wxPoint_helper(_obj2, &_arg2))
5240 return NULL;
5241 }
5242 if (_obj3)
5243 {
5244 _arg3 = &temp0;
5245 if (! wxSize_helper(_obj3, &_arg3))
5246 return NULL;
5247 }
5248 {
5249 wxPy_BEGIN_ALLOW_THREADS;
5250 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
5251
5252 wxPy_END_ALLOW_THREADS;
5253 } if (_result) {
5254 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
5255 _resultobj = Py_BuildValue("s",_ptemp);
5256 } else {
5257 Py_INCREF(Py_None);
5258 _resultobj = Py_None;
5259 }
5260 return _resultobj;
5261 }
5262
5263 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
5264 static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject * _resultobj;
5266 int _result;
5267 wxSpinButton * _arg0;
5268 PyObject * _argo0 = 0;
5269 char *_kwnames[] = { "self", NULL };
5270
5271 self = self;
5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
5273 return NULL;
5274 if (_argo0) {
5275 if (_argo0 == Py_None) { _arg0 = NULL; }
5276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
5277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
5278 return NULL;
5279 }
5280 }
5281 {
5282 wxPy_BEGIN_ALLOW_THREADS;
5283 _result = (int )wxSpinButton_GetMax(_arg0);
5284
5285 wxPy_END_ALLOW_THREADS;
5286 } _resultobj = Py_BuildValue("i",_result);
5287 return _resultobj;
5288 }
5289
5290 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
5291 static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
5292 PyObject * _resultobj;
5293 int _result;
5294 wxSpinButton * _arg0;
5295 PyObject * _argo0 = 0;
5296 char *_kwnames[] = { "self", NULL };
5297
5298 self = self;
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
5300 return NULL;
5301 if (_argo0) {
5302 if (_argo0 == Py_None) { _arg0 = NULL; }
5303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
5304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
5305 return NULL;
5306 }
5307 }
5308 {
5309 wxPy_BEGIN_ALLOW_THREADS;
5310 _result = (int )wxSpinButton_GetMin(_arg0);
5311
5312 wxPy_END_ALLOW_THREADS;
5313 } _resultobj = Py_BuildValue("i",_result);
5314 return _resultobj;
5315 }
5316
5317 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
5318 static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5319 PyObject * _resultobj;
5320 int _result;
5321 wxSpinButton * _arg0;
5322 PyObject * _argo0 = 0;
5323 char *_kwnames[] = { "self", NULL };
5324
5325 self = self;
5326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
5327 return NULL;
5328 if (_argo0) {
5329 if (_argo0 == Py_None) { _arg0 = NULL; }
5330 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
5331 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
5332 return NULL;
5333 }
5334 }
5335 {
5336 wxPy_BEGIN_ALLOW_THREADS;
5337 _result = (int )wxSpinButton_GetValue(_arg0);
5338
5339 wxPy_END_ALLOW_THREADS;
5340 } _resultobj = Py_BuildValue("i",_result);
5341 return _resultobj;
5342 }
5343
5344 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
5345 static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject * _resultobj;
5347 wxSpinButton * _arg0;
5348 int _arg1;
5349 int _arg2;
5350 PyObject * _argo0 = 0;
5351 char *_kwnames[] = { "self","min","max", NULL };
5352
5353 self = self;
5354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
5355 return NULL;
5356 if (_argo0) {
5357 if (_argo0 == Py_None) { _arg0 = NULL; }
5358 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
5359 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
5360 return NULL;
5361 }
5362 }
5363 {
5364 wxPy_BEGIN_ALLOW_THREADS;
5365 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
5366
5367 wxPy_END_ALLOW_THREADS;
5368 } Py_INCREF(Py_None);
5369 _resultobj = Py_None;
5370 return _resultobj;
5371 }
5372
5373 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
5374 static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
5375 PyObject * _resultobj;
5376 wxSpinButton * _arg0;
5377 int _arg1;
5378 PyObject * _argo0 = 0;
5379 char *_kwnames[] = { "self","value", NULL };
5380
5381 self = self;
5382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
5383 return NULL;
5384 if (_argo0) {
5385 if (_argo0 == Py_None) { _arg0 = NULL; }
5386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
5387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
5388 return NULL;
5389 }
5390 }
5391 {
5392 wxPy_BEGIN_ALLOW_THREADS;
5393 wxSpinButton_SetValue(_arg0,_arg1);
5394
5395 wxPy_END_ALLOW_THREADS;
5396 } Py_INCREF(Py_None);
5397 _resultobj = Py_None;
5398 return _resultobj;
5399 }
5400
5401 static void *SwigwxStaticBitmapTowxControl(void *ptr) {
5402 wxStaticBitmap *src;
5403 wxControl *dest;
5404 src = (wxStaticBitmap *) ptr;
5405 dest = (wxControl *) src;
5406 return (void *) dest;
5407 }
5408
5409 static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
5410 wxStaticBitmap *src;
5411 wxWindow *dest;
5412 src = (wxStaticBitmap *) ptr;
5413 dest = (wxWindow *) src;
5414 return (void *) dest;
5415 }
5416
5417 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
5418 wxStaticBitmap *src;
5419 wxEvtHandler *dest;
5420 src = (wxStaticBitmap *) ptr;
5421 dest = (wxEvtHandler *) src;
5422 return (void *) dest;
5423 }
5424
5425 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
5426 static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject * _resultobj;
5428 wxStaticBitmap * _result;
5429 wxWindow * _arg0;
5430 wxWindowID _arg1;
5431 wxBitmap * _arg2;
5432 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
5433 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
5434 long _arg5 = (long ) 0;
5435 char * _arg6 = (char *) "staticBitmap";
5436 PyObject * _argo0 = 0;
5437 PyObject * _argo2 = 0;
5438 wxPoint temp;
5439 PyObject * _obj3 = 0;
5440 wxSize temp0;
5441 PyObject * _obj4 = 0;
5442 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
5443 char _ptemp[128];
5444
5445 self = self;
5446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOls:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_arg6))
5447 return NULL;
5448 if (_argo0) {
5449 if (_argo0 == Py_None) { _arg0 = NULL; }
5450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
5452 return NULL;
5453 }
5454 }
5455 if (_argo2) {
5456 if (_argo2 == Py_None) { _arg2 = NULL; }
5457 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
5458 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
5459 return NULL;
5460 }
5461 }
5462 if (_obj3)
5463 {
5464 _arg3 = &temp;
5465 if (! wxPoint_helper(_obj3, &_arg3))
5466 return NULL;
5467 }
5468 if (_obj4)
5469 {
5470 _arg4 = &temp0;
5471 if (! wxSize_helper(_obj4, &_arg4))
5472 return NULL;
5473 }
5474 {
5475 wxPy_BEGIN_ALLOW_THREADS;
5476 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
5477
5478 wxPy_END_ALLOW_THREADS;
5479 } if (_result) {
5480 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
5481 _resultobj = Py_BuildValue("s",_ptemp);
5482 } else {
5483 Py_INCREF(Py_None);
5484 _resultobj = Py_None;
5485 }
5486 return _resultobj;
5487 }
5488
5489 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
5490 static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5491 PyObject * _resultobj;
5492 wxBitmap * _result;
5493 wxStaticBitmap * _arg0;
5494 PyObject * _argo0 = 0;
5495 char *_kwnames[] = { "self", NULL };
5496 char _ptemp[128];
5497
5498 self = self;
5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
5500 return NULL;
5501 if (_argo0) {
5502 if (_argo0 == Py_None) { _arg0 = NULL; }
5503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
5504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
5505 return NULL;
5506 }
5507 }
5508 {
5509 wxPy_BEGIN_ALLOW_THREADS;
5510 const wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0);
5511 _result = (wxBitmap *) &_result_ref;
5512
5513 wxPy_END_ALLOW_THREADS;
5514 } if (_result) {
5515 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
5516 _resultobj = Py_BuildValue("s",_ptemp);
5517 } else {
5518 Py_INCREF(Py_None);
5519 _resultobj = Py_None;
5520 }
5521 return _resultobj;
5522 }
5523
5524 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
5525 static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5526 PyObject * _resultobj;
5527 wxStaticBitmap * _arg0;
5528 wxBitmap * _arg1;
5529 PyObject * _argo0 = 0;
5530 PyObject * _argo1 = 0;
5531 char *_kwnames[] = { "self","bitmap", NULL };
5532
5533 self = self;
5534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
5535 return NULL;
5536 if (_argo0) {
5537 if (_argo0 == Py_None) { _arg0 = NULL; }
5538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
5539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
5540 return NULL;
5541 }
5542 }
5543 if (_argo1) {
5544 if (_argo1 == Py_None) { _arg1 = NULL; }
5545 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
5546 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
5547 return NULL;
5548 }
5549 }
5550 {
5551 wxPy_BEGIN_ALLOW_THREADS;
5552 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
5553
5554 wxPy_END_ALLOW_THREADS;
5555 } Py_INCREF(Py_None);
5556 _resultobj = Py_None;
5557 return _resultobj;
5558 }
5559
5560 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
5561 static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5562 PyObject * _resultobj;
5563 wxStaticBitmap * _arg0;
5564 wxIcon * _arg1;
5565 PyObject * _argo0 = 0;
5566 PyObject * _argo1 = 0;
5567 char *_kwnames[] = { "self","icon", NULL };
5568
5569 self = self;
5570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
5571 return NULL;
5572 if (_argo0) {
5573 if (_argo0 == Py_None) { _arg0 = NULL; }
5574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
5575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
5576 return NULL;
5577 }
5578 }
5579 if (_argo1) {
5580 if (_argo1 == Py_None) { _arg1 = NULL; }
5581 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
5582 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
5583 return NULL;
5584 }
5585 }
5586 {
5587 wxPy_BEGIN_ALLOW_THREADS;
5588 wxStaticBitmap_SetIcon(_arg0,*_arg1);
5589
5590 wxPy_END_ALLOW_THREADS;
5591 } Py_INCREF(Py_None);
5592 _resultobj = Py_None;
5593 return _resultobj;
5594 }
5595
5596 static void *SwigwxRadioBoxTowxControl(void *ptr) {
5597 wxRadioBox *src;
5598 wxControl *dest;
5599 src = (wxRadioBox *) ptr;
5600 dest = (wxControl *) src;
5601 return (void *) dest;
5602 }
5603
5604 static void *SwigwxRadioBoxTowxWindow(void *ptr) {
5605 wxRadioBox *src;
5606 wxWindow *dest;
5607 src = (wxRadioBox *) ptr;
5608 dest = (wxWindow *) src;
5609 return (void *) dest;
5610 }
5611
5612 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
5613 wxRadioBox *src;
5614 wxEvtHandler *dest;
5615 src = (wxRadioBox *) ptr;
5616 dest = (wxEvtHandler *) src;
5617 return (void *) dest;
5618 }
5619
5620 #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))
5621 static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5622 PyObject * _resultobj;
5623 wxRadioBox * _result;
5624 wxWindow * _arg0;
5625 wxWindowID _arg1;
5626 wxString * _arg2;
5627 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
5628 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
5629 int _arg5 = (int ) 0;
5630 wxString * _arg6 = (wxString *) NULL;
5631 int _arg7 = (int ) 0;
5632 long _arg8 = (long ) wxRA_HORIZONTAL;
5633 wxValidator * _arg9 = (wxValidator *) &wxPyDefaultValidator;
5634 char * _arg10 = (char *) "radioBox";
5635 PyObject * _argo0 = 0;
5636 PyObject * _obj2 = 0;
5637 wxPoint temp;
5638 PyObject * _obj3 = 0;
5639 wxSize temp0;
5640 PyObject * _obj4 = 0;
5641 PyObject * _obj6 = 0;
5642 PyObject * _argo9 = 0;
5643 char *_kwnames[] = { "parent","id","label","point","size","LIST","majorDimension","style","validator","name", NULL };
5644 char _ptemp[128];
5645
5646 self = self;
5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOs:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_arg10))
5648 return NULL;
5649 if (_argo0) {
5650 if (_argo0 == Py_None) { _arg0 = NULL; }
5651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
5653 return NULL;
5654 }
5655 }
5656 {
5657 if (!PyString_Check(_obj2)) {
5658 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5659 return NULL;
5660 }
5661 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5662 }
5663 if (_obj3)
5664 {
5665 _arg3 = &temp;
5666 if (! wxPoint_helper(_obj3, &_arg3))
5667 return NULL;
5668 }
5669 if (_obj4)
5670 {
5671 _arg4 = &temp0;
5672 if (! wxSize_helper(_obj4, &_arg4))
5673 return NULL;
5674 }
5675 if (_obj6)
5676 {
5677 _arg6 = wxString_LIST_helper(_obj6);
5678 if (_arg6 == NULL) {
5679 return NULL;
5680 }
5681 }
5682 if (_argo9) {
5683 if (_argo9 == Py_None) { _arg9 = NULL; }
5684 else if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
5685 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
5686 return NULL;
5687 }
5688 }
5689 {
5690 if (_obj6) {
5691 _arg5 = PyList_Size(_obj6);
5692 }
5693 else {
5694 _arg5 = 0;
5695 }
5696 }
5697 {
5698 wxPy_BEGIN_ALLOW_THREADS;
5699 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
5700
5701 wxPy_END_ALLOW_THREADS;
5702 } if (_result) {
5703 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
5704 _resultobj = Py_BuildValue("s",_ptemp);
5705 } else {
5706 Py_INCREF(Py_None);
5707 _resultobj = Py_None;
5708 }
5709 {
5710 if (_obj2)
5711 delete _arg2;
5712 }
5713 {
5714 delete [] _arg6;
5715 }
5716 return _resultobj;
5717 }
5718
5719 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
5720 static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
5721 PyObject * _resultobj;
5722 wxRadioBox * _arg0;
5723 bool _arg1;
5724 PyObject * _argo0 = 0;
5725 int tempbool1;
5726 char *_kwnames[] = { "self","enable", NULL };
5727
5728 self = self;
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
5730 return NULL;
5731 if (_argo0) {
5732 if (_argo0 == Py_None) { _arg0 = NULL; }
5733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
5734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
5735 return NULL;
5736 }
5737 }
5738 _arg1 = (bool ) tempbool1;
5739 {
5740 wxPy_BEGIN_ALLOW_THREADS;
5741 wxRadioBox_Enable(_arg0,_arg1);
5742
5743 wxPy_END_ALLOW_THREADS;
5744 } Py_INCREF(Py_None);
5745 _resultobj = Py_None;
5746 return _resultobj;
5747 }
5748
5749 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
5750 static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5751 PyObject * _resultobj;
5752 wxRadioBox * _arg0;
5753 int _arg1;
5754 bool _arg2;
5755 PyObject * _argo0 = 0;
5756 int tempbool2;
5757 char *_kwnames[] = { "self","n","enable", NULL };
5758
5759 self = self;
5760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
5761 return NULL;
5762 if (_argo0) {
5763 if (_argo0 == Py_None) { _arg0 = NULL; }
5764 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
5765 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
5766 return NULL;
5767 }
5768 }
5769 _arg2 = (bool ) tempbool2;
5770 {
5771 wxPy_BEGIN_ALLOW_THREADS;
5772 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
5773
5774 wxPy_END_ALLOW_THREADS;
5775 } Py_INCREF(Py_None);
5776 _resultobj = Py_None;
5777 return _resultobj;
5778 }
5779
5780 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
5781 static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
5782 PyObject * _resultobj;
5783 int _result;
5784 wxRadioBox * _arg0;
5785 wxString * _arg1;
5786 PyObject * _argo0 = 0;
5787 PyObject * _obj1 = 0;
5788 char *_kwnames[] = { "self","string", NULL };
5789
5790 self = self;
5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
5792 return NULL;
5793 if (_argo0) {
5794 if (_argo0 == Py_None) { _arg0 = NULL; }
5795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
5796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
5797 return NULL;
5798 }
5799 }
5800 {
5801 if (!PyString_Check(_obj1)) {
5802 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5803 return NULL;
5804 }
5805 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
5806 }
5807 {
5808 wxPy_BEGIN_ALLOW_THREADS;
5809 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
5810
5811 wxPy_END_ALLOW_THREADS;
5812 } _resultobj = Py_BuildValue("i",_result);
5813 {
5814 if (_obj1)
5815 delete _arg1;
5816 }
5817 return _resultobj;
5818 }
5819
5820 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
5821 static PyObject *_wrap_wxRadioBox_GetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5822 PyObject * _resultobj;
5823 wxString * _result;
5824 wxRadioBox * _arg0;
5825 int _arg1;
5826 PyObject * _argo0 = 0;
5827 char *_kwnames[] = { "self","n", NULL };
5828
5829 self = self;
5830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetItemLabel",_kwnames,&_argo0,&_arg1))
5831 return NULL;
5832 if (_argo0) {
5833 if (_argo0 == Py_None) { _arg0 = NULL; }
5834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
5835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
5836 return NULL;
5837 }
5838 }
5839 {
5840 wxPy_BEGIN_ALLOW_THREADS;
5841 _result = new wxString (wxRadioBox_GetItemLabel(_arg0,_arg1));
5842
5843 wxPy_END_ALLOW_THREADS;
5844 }{
5845 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5846 }
5847 {
5848 delete _result;
5849 }
5850 return _resultobj;
5851 }
5852
5853 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
5854 static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject * _resultobj;
5856 int _result;
5857 wxRadioBox * _arg0;
5858 PyObject * _argo0 = 0;
5859 char *_kwnames[] = { "self", NULL };
5860
5861 self = self;
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
5863 return NULL;
5864 if (_argo0) {
5865 if (_argo0 == Py_None) { _arg0 = NULL; }
5866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
5867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
5868 return NULL;
5869 }
5870 }
5871 {
5872 wxPy_BEGIN_ALLOW_THREADS;
5873 _result = (int )wxRadioBox_GetSelection(_arg0);
5874
5875 wxPy_END_ALLOW_THREADS;
5876 } _resultobj = Py_BuildValue("i",_result);
5877 return _resultobj;
5878 }
5879
5880 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
5881 static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject * _resultobj;
5883 wxString * _result;
5884 wxRadioBox * _arg0;
5885 int _arg1;
5886 PyObject * _argo0 = 0;
5887 char *_kwnames[] = { "self","n", NULL };
5888
5889 self = self;
5890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
5891 return NULL;
5892 if (_argo0) {
5893 if (_argo0 == Py_None) { _arg0 = NULL; }
5894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
5895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
5896 return NULL;
5897 }
5898 }
5899 {
5900 wxPy_BEGIN_ALLOW_THREADS;
5901 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
5902
5903 wxPy_END_ALLOW_THREADS;
5904 }{
5905 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5906 }
5907 {
5908 delete _result;
5909 }
5910 return _resultobj;
5911 }
5912
5913 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
5914 static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5915 PyObject * _resultobj;
5916 wxString * _result;
5917 wxRadioBox * _arg0;
5918 PyObject * _argo0 = 0;
5919 char *_kwnames[] = { "self", NULL };
5920
5921 self = self;
5922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
5923 return NULL;
5924 if (_argo0) {
5925 if (_argo0 == Py_None) { _arg0 = NULL; }
5926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
5927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
5928 return NULL;
5929 }
5930 }
5931 {
5932 wxPy_BEGIN_ALLOW_THREADS;
5933 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
5934
5935 wxPy_END_ALLOW_THREADS;
5936 }{
5937 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
5938 }
5939 {
5940 delete _result;
5941 }
5942 return _resultobj;
5943 }
5944
5945 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
5946 static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args, PyObject *kwargs) {
5947 PyObject * _resultobj;
5948 int _result;
5949 wxRadioBox * _arg0;
5950 PyObject * _argo0 = 0;
5951 char *_kwnames[] = { "self", NULL };
5952
5953 self = self;
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_Number",_kwnames,&_argo0))
5955 return NULL;
5956 if (_argo0) {
5957 if (_argo0 == Py_None) { _arg0 = NULL; }
5958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
5959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
5960 return NULL;
5961 }
5962 }
5963 {
5964 wxPy_BEGIN_ALLOW_THREADS;
5965 _result = (int )wxRadioBox_Number(_arg0);
5966
5967 wxPy_END_ALLOW_THREADS;
5968 } _resultobj = Py_BuildValue("i",_result);
5969 return _resultobj;
5970 }
5971
5972 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
5973 static PyObject *_wrap_wxRadioBox_SetItemLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject * _resultobj;
5975 wxRadioBox * _arg0;
5976 int _arg1;
5977 wxString * _arg2;
5978 PyObject * _argo0 = 0;
5979 PyObject * _obj2 = 0;
5980 char *_kwnames[] = { "self","n","label", NULL };
5981
5982 self = self;
5983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetItemLabel",_kwnames,&_argo0,&_arg1,&_obj2))
5984 return NULL;
5985 if (_argo0) {
5986 if (_argo0 == Py_None) { _arg0 = NULL; }
5987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
5988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
5989 return NULL;
5990 }
5991 }
5992 {
5993 if (!PyString_Check(_obj2)) {
5994 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5995 return NULL;
5996 }
5997 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
5998 }
5999 {
6000 wxPy_BEGIN_ALLOW_THREADS;
6001 wxRadioBox_SetItemLabel(_arg0,_arg1,*_arg2);
6002
6003 wxPy_END_ALLOW_THREADS;
6004 } Py_INCREF(Py_None);
6005 _resultobj = Py_None;
6006 {
6007 if (_obj2)
6008 delete _arg2;
6009 }
6010 return _resultobj;
6011 }
6012
6013 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
6014 static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6015 PyObject * _resultobj;
6016 wxRadioBox * _arg0;
6017 int _arg1;
6018 PyObject * _argo0 = 0;
6019 char *_kwnames[] = { "self","n", NULL };
6020
6021 self = self;
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
6023 return NULL;
6024 if (_argo0) {
6025 if (_argo0 == Py_None) { _arg0 = NULL; }
6026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
6028 return NULL;
6029 }
6030 }
6031 {
6032 wxPy_BEGIN_ALLOW_THREADS;
6033 wxRadioBox_SetSelection(_arg0,_arg1);
6034
6035 wxPy_END_ALLOW_THREADS;
6036 } Py_INCREF(Py_None);
6037 _resultobj = Py_None;
6038 return _resultobj;
6039 }
6040
6041 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
6042 static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6043 PyObject * _resultobj;
6044 wxRadioBox * _arg0;
6045 wxString * _arg1;
6046 PyObject * _argo0 = 0;
6047 PyObject * _obj1 = 0;
6048 char *_kwnames[] = { "self","string", NULL };
6049
6050 self = self;
6051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
6052 return NULL;
6053 if (_argo0) {
6054 if (_argo0 == Py_None) { _arg0 = NULL; }
6055 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
6057 return NULL;
6058 }
6059 }
6060 {
6061 if (!PyString_Check(_obj1)) {
6062 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6063 return NULL;
6064 }
6065 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
6066 }
6067 {
6068 wxPy_BEGIN_ALLOW_THREADS;
6069 wxRadioBox_SetStringSelection(_arg0,*_arg1);
6070
6071 wxPy_END_ALLOW_THREADS;
6072 } Py_INCREF(Py_None);
6073 _resultobj = Py_None;
6074 {
6075 if (_obj1)
6076 delete _arg1;
6077 }
6078 return _resultobj;
6079 }
6080
6081 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
6082 static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
6083 PyObject * _resultobj;
6084 wxRadioBox * _arg0;
6085 bool _arg1;
6086 PyObject * _argo0 = 0;
6087 int tempbool1;
6088 char *_kwnames[] = { "self","show", NULL };
6089
6090 self = self;
6091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
6092 return NULL;
6093 if (_argo0) {
6094 if (_argo0 == Py_None) { _arg0 = NULL; }
6095 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6096 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
6097 return NULL;
6098 }
6099 }
6100 _arg1 = (bool ) tempbool1;
6101 {
6102 wxPy_BEGIN_ALLOW_THREADS;
6103 wxRadioBox_Show(_arg0,_arg1);
6104
6105 wxPy_END_ALLOW_THREADS;
6106 } Py_INCREF(Py_None);
6107 _resultobj = Py_None;
6108 return _resultobj;
6109 }
6110
6111 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
6112 static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6113 PyObject * _resultobj;
6114 wxRadioBox * _arg0;
6115 int _arg1;
6116 bool _arg2;
6117 PyObject * _argo0 = 0;
6118 int tempbool2;
6119 char *_kwnames[] = { "self","item","show", NULL };
6120
6121 self = self;
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
6123 return NULL;
6124 if (_argo0) {
6125 if (_argo0 == Py_None) { _arg0 = NULL; }
6126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
6127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
6128 return NULL;
6129 }
6130 }
6131 _arg2 = (bool ) tempbool2;
6132 {
6133 wxPy_BEGIN_ALLOW_THREADS;
6134 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
6135
6136 wxPy_END_ALLOW_THREADS;
6137 } Py_INCREF(Py_None);
6138 _resultobj = Py_None;
6139 return _resultobj;
6140 }
6141
6142 static void *SwigwxRadioButtonTowxControl(void *ptr) {
6143 wxRadioButton *src;
6144 wxControl *dest;
6145 src = (wxRadioButton *) ptr;
6146 dest = (wxControl *) src;
6147 return (void *) dest;
6148 }
6149
6150 static void *SwigwxRadioButtonTowxWindow(void *ptr) {
6151 wxRadioButton *src;
6152 wxWindow *dest;
6153 src = (wxRadioButton *) ptr;
6154 dest = (wxWindow *) src;
6155 return (void *) dest;
6156 }
6157
6158 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
6159 wxRadioButton *src;
6160 wxEvtHandler *dest;
6161 src = (wxRadioButton *) ptr;
6162 dest = (wxEvtHandler *) src;
6163 return (void *) dest;
6164 }
6165
6166 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6167 static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject * _resultobj;
6169 wxRadioButton * _result;
6170 wxWindow * _arg0;
6171 wxWindowID _arg1;
6172 wxString * _arg2;
6173 wxPoint * _arg3 = (wxPoint *) &wxPyDefaultPosition;
6174 wxSize * _arg4 = (wxSize *) &wxPyDefaultSize;
6175 long _arg5 = (long ) 0;
6176 wxValidator * _arg6 = (wxValidator *) &wxPyDefaultValidator;
6177 char * _arg7 = (char *) "radioButton";
6178 PyObject * _argo0 = 0;
6179 PyObject * _obj2 = 0;
6180 wxPoint temp;
6181 PyObject * _obj3 = 0;
6182 wxSize temp0;
6183 PyObject * _obj4 = 0;
6184 PyObject * _argo6 = 0;
6185 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
6186 char _ptemp[128];
6187
6188 self = self;
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOs:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_arg7))
6190 return NULL;
6191 if (_argo0) {
6192 if (_argo0 == Py_None) { _arg0 = NULL; }
6193 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
6195 return NULL;
6196 }
6197 }
6198 {
6199 if (!PyString_Check(_obj2)) {
6200 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6201 return NULL;
6202 }
6203 _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2));
6204 }
6205 if (_obj3)
6206 {
6207 _arg3 = &temp;
6208 if (! wxPoint_helper(_obj3, &_arg3))
6209 return NULL;
6210 }
6211 if (_obj4)
6212 {
6213 _arg4 = &temp0;
6214 if (! wxSize_helper(_obj4, &_arg4))
6215 return NULL;
6216 }
6217 if (_argo6) {
6218 if (_argo6 == Py_None) { _arg6 = NULL; }
6219 else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6220 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
6221 return NULL;
6222 }
6223 }
6224 {
6225 wxPy_BEGIN_ALLOW_THREADS;
6226 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
6227
6228 wxPy_END_ALLOW_THREADS;
6229 } if (_result) {
6230 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
6231 _resultobj = Py_BuildValue("s",_ptemp);
6232 } else {
6233 Py_INCREF(Py_None);
6234 _resultobj = Py_None;
6235 }
6236 {
6237 if (_obj2)
6238 delete _arg2;
6239 }
6240 return _resultobj;
6241 }
6242
6243 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
6244 static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject * _resultobj;
6246 bool _result;
6247 wxRadioButton * _arg0;
6248 PyObject * _argo0 = 0;
6249 char *_kwnames[] = { "self", NULL };
6250
6251 self = self;
6252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
6253 return NULL;
6254 if (_argo0) {
6255 if (_argo0 == Py_None) { _arg0 = NULL; }
6256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
6257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
6258 return NULL;
6259 }
6260 }
6261 {
6262 wxPy_BEGIN_ALLOW_THREADS;
6263 _result = (bool )wxRadioButton_GetValue(_arg0);
6264
6265 wxPy_END_ALLOW_THREADS;
6266 } _resultobj = Py_BuildValue("i",_result);
6267 return _resultobj;
6268 }
6269
6270 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6271 static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6272 PyObject * _resultobj;
6273 wxRadioButton * _arg0;
6274 bool _arg1;
6275 PyObject * _argo0 = 0;
6276 int tempbool1;
6277 char *_kwnames[] = { "self","value", NULL };
6278
6279 self = self;
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
6281 return NULL;
6282 if (_argo0) {
6283 if (_argo0 == Py_None) { _arg0 = NULL; }
6284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
6285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
6286 return NULL;
6287 }
6288 }
6289 _arg1 = (bool ) tempbool1;
6290 {
6291 wxPy_BEGIN_ALLOW_THREADS;
6292 wxRadioButton_SetValue(_arg0,_arg1);
6293
6294 wxPy_END_ALLOW_THREADS;
6295 } Py_INCREF(Py_None);
6296 _resultobj = Py_None;
6297 return _resultobj;
6298 }
6299
6300 static void *SwigwxSliderTowxControl(void *ptr) {
6301 wxSlider *src;
6302 wxControl *dest;
6303 src = (wxSlider *) ptr;
6304 dest = (wxControl *) src;
6305 return (void *) dest;
6306 }
6307
6308 static void *SwigwxSliderTowxWindow(void *ptr) {
6309 wxSlider *src;
6310 wxWindow *dest;
6311 src = (wxSlider *) ptr;
6312 dest = (wxWindow *) src;
6313 return (void *) dest;
6314 }
6315
6316 static void *SwigwxSliderTowxEvtHandler(void *ptr) {
6317 wxSlider *src;
6318 wxEvtHandler *dest;
6319 src = (wxSlider *) ptr;
6320 dest = (wxEvtHandler *) src;
6321 return (void *) dest;
6322 }
6323
6324 #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))
6325 static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
6326 PyObject * _resultobj;
6327 wxSlider * _result;
6328 wxWindow * _arg0;
6329 wxWindowID _arg1;
6330 int _arg2;
6331 int _arg3;
6332 int _arg4;
6333 wxPoint * _arg5 = (wxPoint *) &wxPyDefaultPosition;
6334 wxSize * _arg6 = (wxSize *) &wxPyDefaultSize;
6335 long _arg7 = (long ) wxSL_HORIZONTAL;
6336 wxValidator * _arg8 = (wxValidator *) &wxPyDefaultValidator;
6337 char * _arg9 = (char *) "slider";
6338 PyObject * _argo0 = 0;
6339 wxPoint temp;
6340 PyObject * _obj5 = 0;
6341 wxSize temp0;
6342 PyObject * _obj6 = 0;
6343 PyObject * _argo8 = 0;
6344 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
6345 char _ptemp[128];
6346
6347 self = self;
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOs:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_arg9))
6349 return NULL;
6350 if (_argo0) {
6351 if (_argo0 == Py_None) { _arg0 = NULL; }
6352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
6354 return NULL;
6355 }
6356 }
6357 if (_obj5)
6358 {
6359 _arg5 = &temp;
6360 if (! wxPoint_helper(_obj5, &_arg5))
6361 return NULL;
6362 }
6363 if (_obj6)
6364 {
6365 _arg6 = &temp0;
6366 if (! wxSize_helper(_obj6, &_arg6))
6367 return NULL;
6368 }
6369 if (_argo8) {
6370 if (_argo8 == Py_None) { _arg8 = NULL; }
6371 else if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
6372 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
6373 return NULL;
6374 }
6375 }
6376 {
6377 wxPy_BEGIN_ALLOW_THREADS;
6378 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
6379
6380 wxPy_END_ALLOW_THREADS;
6381 } if (_result) {
6382 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
6383 _resultobj = Py_BuildValue("s",_ptemp);
6384 } else {
6385 Py_INCREF(Py_None);
6386 _resultobj = Py_None;
6387 }
6388 return _resultobj;
6389 }
6390
6391 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
6392 static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
6393 PyObject * _resultobj;
6394 wxSlider * _arg0;
6395 PyObject * _argo0 = 0;
6396 char *_kwnames[] = { "self", NULL };
6397
6398 self = self;
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
6400 return NULL;
6401 if (_argo0) {
6402 if (_argo0 == Py_None) { _arg0 = NULL; }
6403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
6405 return NULL;
6406 }
6407 }
6408 {
6409 wxPy_BEGIN_ALLOW_THREADS;
6410 wxSlider_ClearSel(_arg0);
6411
6412 wxPy_END_ALLOW_THREADS;
6413 } Py_INCREF(Py_None);
6414 _resultobj = Py_None;
6415 return _resultobj;
6416 }
6417
6418 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
6419 static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
6420 PyObject * _resultobj;
6421 wxSlider * _arg0;
6422 PyObject * _argo0 = 0;
6423 char *_kwnames[] = { "self", NULL };
6424
6425 self = self;
6426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
6427 return NULL;
6428 if (_argo0) {
6429 if (_argo0 == Py_None) { _arg0 = NULL; }
6430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
6432 return NULL;
6433 }
6434 }
6435 {
6436 wxPy_BEGIN_ALLOW_THREADS;
6437 wxSlider_ClearTicks(_arg0);
6438
6439 wxPy_END_ALLOW_THREADS;
6440 } Py_INCREF(Py_None);
6441 _resultobj = Py_None;
6442 return _resultobj;
6443 }
6444
6445 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
6446 static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6447 PyObject * _resultobj;
6448 int _result;
6449 wxSlider * _arg0;
6450 PyObject * _argo0 = 0;
6451 char *_kwnames[] = { "self", NULL };
6452
6453 self = self;
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
6455 return NULL;
6456 if (_argo0) {
6457 if (_argo0 == Py_None) { _arg0 = NULL; }
6458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
6460 return NULL;
6461 }
6462 }
6463 {
6464 wxPy_BEGIN_ALLOW_THREADS;
6465 _result = (int )wxSlider_GetLineSize(_arg0);
6466
6467 wxPy_END_ALLOW_THREADS;
6468 } _resultobj = Py_BuildValue("i",_result);
6469 return _resultobj;
6470 }
6471
6472 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
6473 static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject * _resultobj;
6475 int _result;
6476 wxSlider * _arg0;
6477 PyObject * _argo0 = 0;
6478 char *_kwnames[] = { "self", NULL };
6479
6480 self = self;
6481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
6482 return NULL;
6483 if (_argo0) {
6484 if (_argo0 == Py_None) { _arg0 = NULL; }
6485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
6487 return NULL;
6488 }
6489 }
6490 {
6491 wxPy_BEGIN_ALLOW_THREADS;
6492 _result = (int )wxSlider_GetMax(_arg0);
6493
6494 wxPy_END_ALLOW_THREADS;
6495 } _resultobj = Py_BuildValue("i",_result);
6496 return _resultobj;
6497 }
6498
6499 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
6500 static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject * _resultobj;
6502 int _result;
6503 wxSlider * _arg0;
6504 PyObject * _argo0 = 0;
6505 char *_kwnames[] = { "self", NULL };
6506
6507 self = self;
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
6509 return NULL;
6510 if (_argo0) {
6511 if (_argo0 == Py_None) { _arg0 = NULL; }
6512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
6514 return NULL;
6515 }
6516 }
6517 {
6518 wxPy_BEGIN_ALLOW_THREADS;
6519 _result = (int )wxSlider_GetMin(_arg0);
6520
6521 wxPy_END_ALLOW_THREADS;
6522 } _resultobj = Py_BuildValue("i",_result);
6523 return _resultobj;
6524 }
6525
6526 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
6527 static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6528 PyObject * _resultobj;
6529 int _result;
6530 wxSlider * _arg0;
6531 PyObject * _argo0 = 0;
6532 char *_kwnames[] = { "self", NULL };
6533
6534 self = self;
6535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
6536 return NULL;
6537 if (_argo0) {
6538 if (_argo0 == Py_None) { _arg0 = NULL; }
6539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
6541 return NULL;
6542 }
6543 }
6544 {
6545 wxPy_BEGIN_ALLOW_THREADS;
6546 _result = (int )wxSlider_GetPageSize(_arg0);
6547
6548 wxPy_END_ALLOW_THREADS;
6549 } _resultobj = Py_BuildValue("i",_result);
6550 return _resultobj;
6551 }
6552
6553 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
6554 static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject * _resultobj;
6556 int _result;
6557 wxSlider * _arg0;
6558 PyObject * _argo0 = 0;
6559 char *_kwnames[] = { "self", NULL };
6560
6561 self = self;
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
6563 return NULL;
6564 if (_argo0) {
6565 if (_argo0 == Py_None) { _arg0 = NULL; }
6566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
6568 return NULL;
6569 }
6570 }
6571 {
6572 wxPy_BEGIN_ALLOW_THREADS;
6573 _result = (int )wxSlider_GetSelEnd(_arg0);
6574
6575 wxPy_END_ALLOW_THREADS;
6576 } _resultobj = Py_BuildValue("i",_result);
6577 return _resultobj;
6578 }
6579
6580 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
6581 static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6582 PyObject * _resultobj;
6583 int _result;
6584 wxSlider * _arg0;
6585 PyObject * _argo0 = 0;
6586 char *_kwnames[] = { "self", NULL };
6587
6588 self = self;
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
6590 return NULL;
6591 if (_argo0) {
6592 if (_argo0 == Py_None) { _arg0 = NULL; }
6593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
6595 return NULL;
6596 }
6597 }
6598 {
6599 wxPy_BEGIN_ALLOW_THREADS;
6600 _result = (int )wxSlider_GetSelStart(_arg0);
6601
6602 wxPy_END_ALLOW_THREADS;
6603 } _resultobj = Py_BuildValue("i",_result);
6604 return _resultobj;
6605 }
6606
6607 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
6608 static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6609 PyObject * _resultobj;
6610 int _result;
6611 wxSlider * _arg0;
6612 PyObject * _argo0 = 0;
6613 char *_kwnames[] = { "self", NULL };
6614
6615 self = self;
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
6617 return NULL;
6618 if (_argo0) {
6619 if (_argo0 == Py_None) { _arg0 = NULL; }
6620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
6622 return NULL;
6623 }
6624 }
6625 {
6626 wxPy_BEGIN_ALLOW_THREADS;
6627 _result = (int )wxSlider_GetThumbLength(_arg0);
6628
6629 wxPy_END_ALLOW_THREADS;
6630 } _resultobj = Py_BuildValue("i",_result);
6631 return _resultobj;
6632 }
6633
6634 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
6635 static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
6636 PyObject * _resultobj;
6637 int _result;
6638 wxSlider * _arg0;
6639 PyObject * _argo0 = 0;
6640 char *_kwnames[] = { "self", NULL };
6641
6642 self = self;
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
6644 return NULL;
6645 if (_argo0) {
6646 if (_argo0 == Py_None) { _arg0 = NULL; }
6647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
6649 return NULL;
6650 }
6651 }
6652 {
6653 wxPy_BEGIN_ALLOW_THREADS;
6654 _result = (int )wxSlider_GetTickFreq(_arg0);
6655
6656 wxPy_END_ALLOW_THREADS;
6657 } _resultobj = Py_BuildValue("i",_result);
6658 return _resultobj;
6659 }
6660
6661 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
6662 static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6663 PyObject * _resultobj;
6664 int _result;
6665 wxSlider * _arg0;
6666 PyObject * _argo0 = 0;
6667 char *_kwnames[] = { "self", NULL };
6668
6669 self = self;
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
6671 return NULL;
6672 if (_argo0) {
6673 if (_argo0 == Py_None) { _arg0 = NULL; }
6674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
6676 return NULL;
6677 }
6678 }
6679 {
6680 wxPy_BEGIN_ALLOW_THREADS;
6681 _result = (int )wxSlider_GetValue(_arg0);
6682
6683 wxPy_END_ALLOW_THREADS;
6684 } _resultobj = Py_BuildValue("i",_result);
6685 return _resultobj;
6686 }
6687
6688 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
6689 static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject * _resultobj;
6691 wxSlider * _arg0;
6692 int _arg1;
6693 int _arg2;
6694 PyObject * _argo0 = 0;
6695 char *_kwnames[] = { "self","minValue","maxValue", NULL };
6696
6697 self = self;
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
6699 return NULL;
6700 if (_argo0) {
6701 if (_argo0 == Py_None) { _arg0 = NULL; }
6702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
6704 return NULL;
6705 }
6706 }
6707 {
6708 wxPy_BEGIN_ALLOW_THREADS;
6709 wxSlider_SetRange(_arg0,_arg1,_arg2);
6710
6711 wxPy_END_ALLOW_THREADS;
6712 } Py_INCREF(Py_None);
6713 _resultobj = Py_None;
6714 return _resultobj;
6715 }
6716
6717 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
6718 static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
6719 PyObject * _resultobj;
6720 wxSlider * _arg0;
6721 int _arg1;
6722 int _arg2;
6723 PyObject * _argo0 = 0;
6724 char *_kwnames[] = { "self","n","pos", NULL };
6725
6726 self = self;
6727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
6728 return NULL;
6729 if (_argo0) {
6730 if (_argo0 == Py_None) { _arg0 = NULL; }
6731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
6733 return NULL;
6734 }
6735 }
6736 {
6737 wxPy_BEGIN_ALLOW_THREADS;
6738 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
6739
6740 wxPy_END_ALLOW_THREADS;
6741 } Py_INCREF(Py_None);
6742 _resultobj = Py_None;
6743 return _resultobj;
6744 }
6745
6746 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
6747 static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6748 PyObject * _resultobj;
6749 wxSlider * _arg0;
6750 int _arg1;
6751 PyObject * _argo0 = 0;
6752 char *_kwnames[] = { "self","lineSize", NULL };
6753
6754 self = self;
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
6756 return NULL;
6757 if (_argo0) {
6758 if (_argo0 == Py_None) { _arg0 = NULL; }
6759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
6761 return NULL;
6762 }
6763 }
6764 {
6765 wxPy_BEGIN_ALLOW_THREADS;
6766 wxSlider_SetLineSize(_arg0,_arg1);
6767
6768 wxPy_END_ALLOW_THREADS;
6769 } Py_INCREF(Py_None);
6770 _resultobj = Py_None;
6771 return _resultobj;
6772 }
6773
6774 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
6775 static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject * _resultobj;
6777 wxSlider * _arg0;
6778 int _arg1;
6779 PyObject * _argo0 = 0;
6780 char *_kwnames[] = { "self","pageSize", NULL };
6781
6782 self = self;
6783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
6784 return NULL;
6785 if (_argo0) {
6786 if (_argo0 == Py_None) { _arg0 = NULL; }
6787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
6789 return NULL;
6790 }
6791 }
6792 {
6793 wxPy_BEGIN_ALLOW_THREADS;
6794 wxSlider_SetPageSize(_arg0,_arg1);
6795
6796 wxPy_END_ALLOW_THREADS;
6797 } Py_INCREF(Py_None);
6798 _resultobj = Py_None;
6799 return _resultobj;
6800 }
6801
6802 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
6803 static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6804 PyObject * _resultobj;
6805 wxSlider * _arg0;
6806 int _arg1;
6807 int _arg2;
6808 PyObject * _argo0 = 0;
6809 char *_kwnames[] = { "self","startPos","endPos", NULL };
6810
6811 self = self;
6812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
6813 return NULL;
6814 if (_argo0) {
6815 if (_argo0 == Py_None) { _arg0 = NULL; }
6816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
6818 return NULL;
6819 }
6820 }
6821 {
6822 wxPy_BEGIN_ALLOW_THREADS;
6823 wxSlider_SetSelection(_arg0,_arg1,_arg2);
6824
6825 wxPy_END_ALLOW_THREADS;
6826 } Py_INCREF(Py_None);
6827 _resultobj = Py_None;
6828 return _resultobj;
6829 }
6830
6831 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
6832 static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6833 PyObject * _resultobj;
6834 wxSlider * _arg0;
6835 int _arg1;
6836 PyObject * _argo0 = 0;
6837 char *_kwnames[] = { "self","len", NULL };
6838
6839 self = self;
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
6841 return NULL;
6842 if (_argo0) {
6843 if (_argo0 == Py_None) { _arg0 = NULL; }
6844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
6846 return NULL;
6847 }
6848 }
6849 {
6850 wxPy_BEGIN_ALLOW_THREADS;
6851 wxSlider_SetThumbLength(_arg0,_arg1);
6852
6853 wxPy_END_ALLOW_THREADS;
6854 } Py_INCREF(Py_None);
6855 _resultobj = Py_None;
6856 return _resultobj;
6857 }
6858
6859 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
6860 static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject * _resultobj;
6862 wxSlider * _arg0;
6863 int _arg1;
6864 PyObject * _argo0 = 0;
6865 char *_kwnames[] = { "self","tickPos", NULL };
6866
6867 self = self;
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
6869 return NULL;
6870 if (_argo0) {
6871 if (_argo0 == Py_None) { _arg0 = NULL; }
6872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
6874 return NULL;
6875 }
6876 }
6877 {
6878 wxPy_BEGIN_ALLOW_THREADS;
6879 wxSlider_SetTick(_arg0,_arg1);
6880
6881 wxPy_END_ALLOW_THREADS;
6882 } Py_INCREF(Py_None);
6883 _resultobj = Py_None;
6884 return _resultobj;
6885 }
6886
6887 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6888 static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6889 PyObject * _resultobj;
6890 wxSlider * _arg0;
6891 int _arg1;
6892 PyObject * _argo0 = 0;
6893 char *_kwnames[] = { "self","value", NULL };
6894
6895 self = self;
6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
6897 return NULL;
6898 if (_argo0) {
6899 if (_argo0 == Py_None) { _arg0 = NULL; }
6900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
6901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
6902 return NULL;
6903 }
6904 }
6905 {
6906 wxPy_BEGIN_ALLOW_THREADS;
6907 wxSlider_SetValue(_arg0,_arg1);
6908
6909 wxPy_END_ALLOW_THREADS;
6910 } Py_INCREF(Py_None);
6911 _resultobj = Py_None;
6912 return _resultobj;
6913 }
6914
6915 static PyMethodDef controlscMethods[] = {
6916 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
6917 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
6918 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
6919 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
6920 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
6921 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
6922 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
6923 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
6924 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
6925 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
6926 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
6927 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
6928 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
6929 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
6930 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
6931 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
6932 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
6933 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
6934 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
6935 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
6936 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
6937 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
6938 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
6939 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
6940 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
6941 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
6942 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
6943 { "wxRadioBox_SetItemLabel", (PyCFunction) _wrap_wxRadioBox_SetItemLabel, METH_VARARGS | METH_KEYWORDS },
6944 { "wxRadioBox_Number", (PyCFunction) _wrap_wxRadioBox_Number, METH_VARARGS | METH_KEYWORDS },
6945 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
6946 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
6947 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
6948 { "wxRadioBox_GetItemLabel", (PyCFunction) _wrap_wxRadioBox_GetItemLabel, METH_VARARGS | METH_KEYWORDS },
6949 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
6950 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
6951 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
6952 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
6953 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
6954 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
6955 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
6956 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
6957 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
6958 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
6959 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
6960 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
6961 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
6962 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
6963 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
6964 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
6965 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
6966 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
6967 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
6968 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
6969 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
6970 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
6971 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
6972 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
6973 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
6974 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
6975 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
6976 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
6977 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
6978 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
6979 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
6980 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
6981 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
6982 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
6983 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
6984 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
6985 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
6986 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
6987 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
6988 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
6989 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
6990 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
6991 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
6992 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
6993 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
6994 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
6995 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
6996 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
6997 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
6998 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
6999 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
7000 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
7001 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
7002 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
7003 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
7004 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
7005 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
7006 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
7007 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
7008 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
7009 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
7010 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
7011 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
7012 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
7013 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
7014 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
7015 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
7016 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
7017 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
7018 { "wxListBox_Number", (PyCFunction) _wrap_wxListBox_Number, METH_VARARGS | METH_KEYWORDS },
7019 { "wxListBox_GetStringSelection", (PyCFunction) _wrap_wxListBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
7020 { "wxListBox_GetString", (PyCFunction) _wrap_wxListBox_GetString, METH_VARARGS | METH_KEYWORDS },
7021 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
7022 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
7023 { "wxListBox_GetSelection", (PyCFunction) _wrap_wxListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
7024 { "wxListBox_FindString", (PyCFunction) _wrap_wxListBox_FindString, METH_VARARGS | METH_KEYWORDS },
7025 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
7026 { "wxListBox_Delete", (PyCFunction) _wrap_wxListBox_Delete, METH_VARARGS | METH_KEYWORDS },
7027 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
7028 { "wxListBox_Append", (PyCFunction) _wrap_wxListBox_Append, METH_VARARGS | METH_KEYWORDS },
7029 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
7030 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
7031 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
7032 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
7033 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
7034 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
7035 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
7036 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
7037 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
7038 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
7039 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
7040 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
7041 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
7042 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
7043 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
7044 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
7045 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
7046 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
7047 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
7048 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
7049 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
7050 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
7051 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
7052 { "wxComboBox_Number", (PyCFunction) _wrap_wxComboBox_Number, METH_VARARGS | METH_KEYWORDS },
7053 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
7054 { "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
7055 { "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS },
7056 { "wxComboBox_GetSelection", (PyCFunction) _wrap_wxComboBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
7057 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
7058 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
7059 { "wxComboBox_FindString", (PyCFunction) _wrap_wxComboBox_FindString, METH_VARARGS | METH_KEYWORDS },
7060 { "wxComboBox_Delete", (PyCFunction) _wrap_wxComboBox_Delete, METH_VARARGS | METH_KEYWORDS },
7061 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
7062 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
7063 { "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS },
7064 { "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS },
7065 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
7066 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
7067 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
7068 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
7069 { "wxChoice_Number", (PyCFunction) _wrap_wxChoice_Number, METH_VARARGS | METH_KEYWORDS },
7070 { "wxChoice_GetStringSelection", (PyCFunction) _wrap_wxChoice_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
7071 { "wxChoice_GetString", (PyCFunction) _wrap_wxChoice_GetString, METH_VARARGS | METH_KEYWORDS },
7072 { "wxChoice_GetSelection", (PyCFunction) _wrap_wxChoice_GetSelection, METH_VARARGS | METH_KEYWORDS },
7073 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
7074 { "wxChoice_FindString", (PyCFunction) _wrap_wxChoice_FindString, METH_VARARGS | METH_KEYWORDS },
7075 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
7076 { "wxChoice_Append", (PyCFunction) _wrap_wxChoice_Append, METH_VARARGS | METH_KEYWORDS },
7077 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
7078 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
7079 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
7080 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
7081 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
7082 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
7083 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
7084 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
7085 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
7086 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
7087 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
7088 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
7089 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
7090 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
7091 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
7092 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
7093 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
7094 { NULL, NULL }
7095 };
7096 #ifdef __cplusplus
7097 }
7098 #endif
7099 /*
7100 * This table is used by the pointer type-checker
7101 */
7102 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
7103 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
7104 { "_wxEvent","_class_wxEvent",0},
7105 { "_class_wxActivateEvent","_wxActivateEvent",0},
7106 { "_signed_long","_long",0},
7107 { "_wxMenuEvent","_class_wxMenuEvent",0},
7108 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
7109 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
7110 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
7111 { "_wxPrintQuality","_wxCoord",0},
7112 { "_wxPrintQuality","_int",0},
7113 { "_wxPrintQuality","_signed_int",0},
7114 { "_wxPrintQuality","_unsigned_int",0},
7115 { "_wxPrintQuality","_wxWindowID",0},
7116 { "_wxPrintQuality","_uint",0},
7117 { "_wxPrintQuality","_EBool",0},
7118 { "_wxPrintQuality","_size_t",0},
7119 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
7120 { "_class_wxRegionIterator","_wxRegionIterator",0},
7121 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
7122 { "_class_wxMenuBar","_wxMenuBar",0},
7123 { "_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
7124 { "_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
7125 { "_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
7126 { "_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
7127 { "_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
7128 { "_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
7129 { "_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
7130 { "_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
7131 { "_class_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
7132 { "_class_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
7133 { "_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
7134 { "_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
7135 { "_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
7136 { "_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
7137 { "_class_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
7138 { "_class_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
7139 { "_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler},
7140 { "_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
7141 { "_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler},
7142 { "_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
7143 { "_class_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
7144 { "_class_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
7145 { "_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
7146 { "_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
7147 { "_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler},
7148 { "_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
7149 { "_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler},
7150 { "_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
7151 { "_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler},
7152 { "_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
7153 { "_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
7154 { "_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
7155 { "_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
7156 { "_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
7157 { "_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler},
7158 { "_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
7159 { "_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler},
7160 { "_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
7161 { "_class_wxEvtHandler","_wxEvtHandler",0},
7162 { "_wxPaintEvent","_class_wxPaintEvent",0},
7163 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
7164 { "_wxCursor","_class_wxCursor",0},
7165 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
7166 { "_wxMask","_class_wxMask",0},
7167 { "_wxPen","_class_wxPen",0},
7168 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
7169 { "_byte","_unsigned_char",0},
7170 { "_wxDataObject","_class_wxDataObject",0},
7171 { "_wxStaticBox","_class_wxStaticBox",0},
7172 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
7173 { "_wxPyDropSource","_class_wxPyDropSource",0},
7174 { "_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice},
7175 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
7176 { "_wxChoice","_class_wxChoice",0},
7177 { "_wxSlider","_class_wxSlider",0},
7178 { "_long","_wxDash",0},
7179 { "_long","_unsigned_long",0},
7180 { "_long","_signed_long",0},
7181 { "_wxImageList","_class_wxImageList",0},
7182 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
7183 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
7184 { "_wxBitmapButton","_class_wxBitmapButton",0},
7185 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
7186 { "_class_wxClipboard","_wxClipboard",0},
7187 { "_class_wxGauge","_wxGauge",0},
7188 { "_wxDC","_class_wxDC",0},
7189 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
7190 { "_wxSpinEvent","_class_wxSpinEvent",0},
7191 { "_size_t","_wxCoord",0},
7192 { "_size_t","_wxPrintQuality",0},
7193 { "_size_t","_unsigned_int",0},
7194 { "_size_t","_int",0},
7195 { "_size_t","_wxWindowID",0},
7196 { "_size_t","_uint",0},
7197 { "_class_wxRealPoint","_wxRealPoint",0},
7198 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
7199 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
7200 { "_class_wxMenuItem","_wxMenuItem",0},
7201 { "_class_wxPaintEvent","_wxPaintEvent",0},
7202 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
7203 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
7204 { "_wxPanel","_class_wxPanel",0},
7205 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
7206 { "_wxCheckBox","_class_wxCheckBox",0},
7207 { "_wxPyEvent","_class_wxPyEvent",0},
7208 { "_wxTextCtrl","_class_wxTextCtrl",0},
7209 { "_class_wxMask","_wxMask",0},
7210 { "_wxTextDataObject","_class_wxTextDataObject",0},
7211 { "_class_wxKeyEvent","_wxKeyEvent",0},
7212 { "_wxColour","_class_wxColour",0},
7213 { "_class_wxDialog","_wxDialog",0},
7214 { "_class_wxFileDataObject","_wxFileDataObject",0},
7215 { "_wxIdleEvent","_class_wxIdleEvent",0},
7216 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
7217 { "_class_wxDataObject","_wxDataObject",0},
7218 { "_wxStaticLine","_class_wxStaticLine",0},
7219 { "_wxBrush","_class_wxBrush",0},
7220 { "_wxDataFormat","_class_wxDataFormat",0},
7221 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
7222 { "_wxShowEvent","_class_wxShowEvent",0},
7223 { "_uint","_wxCoord",0},
7224 { "_uint","_wxPrintQuality",0},
7225 { "_uint","_size_t",0},
7226 { "_uint","_unsigned_int",0},
7227 { "_uint","_int",0},
7228 { "_uint","_wxWindowID",0},
7229 { "_wxPyValidator","_class_wxPyValidator",0},
7230 { "_class_wxEvent","_wxEvent",0},
7231 { "_wxCheckListBox","_class_wxCheckListBox",0},
7232 { "_wxRect","_class_wxRect",0},
7233 { "_wxCommandEvent","_class_wxCommandEvent",0},
7234 { "_wxSizeEvent","_class_wxSizeEvent",0},
7235 { "_wxPoint","_class_wxPoint",0},
7236 { "_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton},
7237 { "_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
7238 { "_class_wxButton","_wxButton",0},
7239 { "_wxRadioBox","_class_wxRadioBox",0},
7240 { "_wxBitmap","_class_wxBitmap",0},
7241 { "_wxPyTimer","_class_wxPyTimer",0},
7242 { "_wxWindowDC","_class_wxWindowDC",0},
7243 { "_wxScrollBar","_class_wxScrollBar",0},
7244 { "_wxSpinButton","_class_wxSpinButton",0},
7245 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7246 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
7247 { "_class_wxValidator","_wxValidator",0},
7248 { "_class_wxPyEvent","_wxPyEvent",0},
7249 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
7250 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
7251 { "_wxDropTarget","_class_wxDropTarget",0},
7252 { "_class_wxStaticLine","_wxStaticLine",0},
7253 { "_wxScrollEvent","_class_wxScrollEvent",0},
7254 { "_EBool","_wxCoord",0},
7255 { "_EBool","_wxPrintQuality",0},
7256 { "_EBool","_signed_int",0},
7257 { "_EBool","_int",0},
7258 { "_EBool","_wxWindowID",0},
7259 { "_class_wxRegion","_wxRegion",0},
7260 { "_class_wxDataFormat","_wxDataFormat",0},
7261 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
7262 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
7263 { "_wxStaticText","_class_wxStaticText",0},
7264 { "_wxFont","_class_wxFont",0},
7265 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
7266 { "_wxCloseEvent","_class_wxCloseEvent",0},
7267 { "_unsigned_long","_wxDash",0},
7268 { "_unsigned_long","_long",0},
7269 { "_class_wxRect","_wxRect",0},
7270 { "_class_wxDC","_wxDC",0},
7271 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
7272 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
7273 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
7274 { "_class_wxPyTimer","_wxPyTimer",0},
7275 { "_wxFocusEvent","_class_wxFocusEvent",0},
7276 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
7277 { "_class_wxSpinButton","_wxSpinButton",0},
7278 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7279 { "_class_wxPanel","_wxPanel",0},
7280 { "_class_wxCheckBox","_wxCheckBox",0},
7281 { "_wxComboBox","_class_wxComboBox",0},
7282 { "_wxRadioButton","_class_wxRadioButton",0},
7283 { "_signed_int","_wxCoord",0},
7284 { "_signed_int","_wxPrintQuality",0},
7285 { "_signed_int","_EBool",0},
7286 { "_signed_int","_wxWindowID",0},
7287 { "_signed_int","_int",0},
7288 { "_class_wxTextCtrl","_wxTextCtrl",0},
7289 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7290 { "_class_wxTextDataObject","_wxTextDataObject",0},
7291 { "_wxMenu","_class_wxMenu",0},
7292 { "_class_wxMoveEvent","_wxMoveEvent",0},
7293 { "_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
7294 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
7295 { "_wxListBox","_class_wxListBox",0},
7296 { "_wxScreenDC","_class_wxScreenDC",0},
7297 { "_WXTYPE","_short",0},
7298 { "_WXTYPE","_signed_short",0},
7299 { "_WXTYPE","_unsigned_short",0},
7300 { "_class_wxDropTarget","_wxDropTarget",0},
7301 { "_class_wxBrush","_wxBrush",0},
7302 { "_unsigned_short","_WXTYPE",0},
7303 { "_unsigned_short","_short",0},
7304 { "_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
7305 { "_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
7306 { "_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow},
7307 { "_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
7308 { "_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow},
7309 { "_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
7310 { "_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
7311 { "_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
7312 { "_class_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow},
7313 { "_class_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
7314 { "_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow},
7315 { "_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
7316 { "_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow},
7317 { "_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
7318 { "_class_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
7319 { "_class_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
7320 { "_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow},
7321 { "_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
7322 { "_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow},
7323 { "_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
7324 { "_class_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow},
7325 { "_class_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
7326 { "_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow},
7327 { "_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
7328 { "_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow},
7329 { "_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
7330 { "_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow},
7331 { "_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
7332 { "_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow},
7333 { "_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
7334 { "_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow},
7335 { "_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
7336 { "_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
7337 { "_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
7338 { "_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow},
7339 { "_class_wxWindow","_wxButton",SwigwxButtonTowxWindow},
7340 { "_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow},
7341 { "_class_wxWindow","_wxControl",SwigwxControlTowxWindow},
7342 { "_class_wxWindow","_wxWindow",0},
7343 { "_class_wxStaticText","_wxStaticText",0},
7344 { "_class_wxFont","_wxFont",0},
7345 { "_wxClipboard","_class_wxClipboard",0},
7346 { "_class_wxPyValidator","_wxPyValidator",0},
7347 { "_class_wxCloseEvent","_wxCloseEvent",0},
7348 { "_wxBusyInfo","_class_wxBusyInfo",0},
7349 { "_class_wxMenuEvent","_wxMenuEvent",0},
7350 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
7351 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
7352 { "_wxClientDC","_class_wxClientDC",0},
7353 { "_wxMouseEvent","_class_wxMouseEvent",0},
7354 { "_class_wxPoint","_wxPoint",0},
7355 { "_wxRealPoint","_class_wxRealPoint",0},
7356 { "_class_wxRadioBox","_wxRadioBox",0},
7357 { "_signed_short","_WXTYPE",0},
7358 { "_signed_short","_short",0},
7359 { "_wxMemoryDC","_class_wxMemoryDC",0},
7360 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
7361 { "_wxPaintDC","_class_wxPaintDC",0},
7362 { "_class_wxWindowDC","_wxWindowDC",0},
7363 { "_class_wxFocusEvent","_wxFocusEvent",0},
7364 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
7365 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7366 { "_class_wxCursor","_wxCursor",0},
7367 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
7368 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
7369 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7370 { "_unsigned_char","_byte",0},
7371 { "_class_wxMenu","_wxMenu",0},
7372 { "_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
7373 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
7374 { "_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl},
7375 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
7376 { "_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl},
7377 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
7378 { "_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
7379 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
7380 { "_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl},
7381 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
7382 { "_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl},
7383 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
7384 { "_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl},
7385 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
7386 { "_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl},
7387 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
7388 { "_wxControl","_class_wxListBox",SwigwxListBoxTowxControl},
7389 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
7390 { "_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl},
7391 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
7392 { "_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl},
7393 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
7394 { "_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl},
7395 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
7396 { "_wxControl","_class_wxGauge",SwigwxGaugeTowxControl},
7397 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
7398 { "_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl},
7399 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
7400 { "_wxControl","_class_wxChoice",SwigwxChoiceTowxControl},
7401 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
7402 { "_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl},
7403 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
7404 { "_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl},
7405 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
7406 { "_wxControl","_class_wxButton",SwigwxButtonTowxControl},
7407 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
7408 { "_wxControl","_class_wxControl",0},
7409 { "_class_wxListBox","_class_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
7410 { "_class_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
7411 { "_class_wxListBox","_wxListBox",0},
7412 { "_unsigned_int","_wxCoord",0},
7413 { "_unsigned_int","_wxPrintQuality",0},
7414 { "_unsigned_int","_size_t",0},
7415 { "_unsigned_int","_uint",0},
7416 { "_unsigned_int","_wxWindowID",0},
7417 { "_unsigned_int","_int",0},
7418 { "_wxIcon","_class_wxIcon",0},
7419 { "_wxDialog","_class_wxDialog",0},
7420 { "_class_wxPen","_wxPen",0},
7421 { "_short","_WXTYPE",0},
7422 { "_short","_unsigned_short",0},
7423 { "_short","_signed_short",0},
7424 { "_class_wxStaticBox","_wxStaticBox",0},
7425 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
7426 { "_class_wxPyDropSource","_wxPyDropSource",0},
7427 { "_class_wxScrollEvent","_wxScrollEvent",0},
7428 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
7429 { "_class_wxChoice","_class_wxComboBox",SwigwxComboBoxTowxChoice},
7430 { "_class_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
7431 { "_class_wxChoice","_wxChoice",0},
7432 { "_class_wxSlider","_wxSlider",0},
7433 { "_class_wxImageList","_wxImageList",0},
7434 { "_class_wxBitmapButton","_wxBitmapButton",0},
7435 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
7436 { "_wxWindowID","_wxCoord",0},
7437 { "_wxWindowID","_wxPrintQuality",0},
7438 { "_wxWindowID","_size_t",0},
7439 { "_wxWindowID","_EBool",0},
7440 { "_wxWindowID","_uint",0},
7441 { "_wxWindowID","_int",0},
7442 { "_wxWindowID","_signed_int",0},
7443 { "_wxWindowID","_unsigned_int",0},
7444 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
7445 { "_int","_wxCoord",0},
7446 { "_int","_wxPrintQuality",0},
7447 { "_int","_size_t",0},
7448 { "_int","_EBool",0},
7449 { "_int","_uint",0},
7450 { "_int","_wxWindowID",0},
7451 { "_int","_unsigned_int",0},
7452 { "_int","_signed_int",0},
7453 { "_class_wxMouseEvent","_wxMouseEvent",0},
7454 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
7455 { "_class_wxSpinEvent","_wxSpinEvent",0},
7456 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
7457 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
7458 { "_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton},
7459 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
7460 { "_wxButton","_class_wxButton",0},
7461 { "_wxSize","_class_wxSize",0},
7462 { "_wxRegionIterator","_class_wxRegionIterator",0},
7463 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
7464 { "_class_wxPaintDC","_wxPaintDC",0},
7465 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
7466 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
7467 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
7468 { "_class_wxComboBox","_wxComboBox",0},
7469 { "_class_wxRadioButton","_wxRadioButton",0},
7470 { "_wxValidator","_class_wxValidator",0},
7471 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7472 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
7473 { "_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl},
7474 { "_class_wxControl","_wxSlider",SwigwxSliderTowxControl},
7475 { "_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl},
7476 { "_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
7477 { "_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl},
7478 { "_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
7479 { "_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
7480 { "_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
7481 { "_class_wxControl","_class_wxSpinButton",SwigwxSpinButtonTowxControl},
7482 { "_class_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
7483 { "_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl},
7484 { "_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
7485 { "_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl},
7486 { "_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
7487 { "_class_wxControl","_class_wxCheckListBox",SwigwxCheckListBoxTowxControl},
7488 { "_class_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
7489 { "_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl},
7490 { "_class_wxControl","_wxListBox",SwigwxListBoxTowxControl},
7491 { "_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl},
7492 { "_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
7493 { "_class_wxControl","_class_wxStaticLine",SwigwxStaticLineTowxControl},
7494 { "_class_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
7495 { "_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl},
7496 { "_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
7497 { "_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl},
7498 { "_class_wxControl","_wxGauge",SwigwxGaugeTowxControl},
7499 { "_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl},
7500 { "_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
7501 { "_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl},
7502 { "_class_wxControl","_wxChoice",SwigwxChoiceTowxControl},
7503 { "_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl},
7504 { "_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
7505 { "_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl},
7506 { "_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
7507 { "_class_wxControl","_class_wxButton",SwigwxButtonTowxControl},
7508 { "_class_wxControl","_wxButton",SwigwxButtonTowxControl},
7509 { "_class_wxControl","_wxControl",0},
7510 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
7511 { "_class_wxIcon","_wxIcon",0},
7512 { "_class_wxColour","_wxColour",0},
7513 { "_class_wxScreenDC","_wxScreenDC",0},
7514 { "_wxPalette","_class_wxPalette",0},
7515 { "_class_wxIdleEvent","_wxIdleEvent",0},
7516 { "_wxCoord","_int",0},
7517 { "_wxCoord","_signed_int",0},
7518 { "_wxCoord","_unsigned_int",0},
7519 { "_wxCoord","_wxWindowID",0},
7520 { "_wxCoord","_uint",0},
7521 { "_wxCoord","_EBool",0},
7522 { "_wxCoord","_size_t",0},
7523 { "_wxCoord","_wxPrintQuality",0},
7524 { "_wxEraseEvent","_class_wxEraseEvent",0},
7525 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
7526 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
7527 { "_wxRegion","_class_wxRegion",0},
7528 { "_class_wxShowEvent","_wxShowEvent",0},
7529 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
7530 { "_wxActivateEvent","_class_wxActivateEvent",0},
7531 { "_wxGauge","_class_wxGauge",0},
7532 { "_class_wxCheckListBox","_wxCheckListBox",0},
7533 { "_class_wxBusyInfo","_wxBusyInfo",0},
7534 { "_class_wxCommandEvent","_wxCommandEvent",0},
7535 { "_class_wxClientDC","_wxClientDC",0},
7536 { "_class_wxSizeEvent","_wxSizeEvent",0},
7537 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
7538 { "_class_wxSize","_wxSize",0},
7539 { "_class_wxBitmap","_wxBitmap",0},
7540 { "_class_wxMemoryDC","_wxMemoryDC",0},
7541 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
7542 { "_wxMenuBar","_class_wxMenuBar",0},
7543 { "_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler},
7544 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
7545 { "_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
7546 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
7547 { "_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
7548 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
7549 { "_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
7550 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
7551 { "_wxEvtHandler","_class_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
7552 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
7553 { "_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
7554 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
7555 { "_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
7556 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
7557 { "_wxEvtHandler","_class_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
7558 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
7559 { "_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler},
7560 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
7561 { "_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler},
7562 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
7563 { "_wxEvtHandler","_class_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
7564 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
7565 { "_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
7566 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
7567 { "_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler},
7568 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
7569 { "_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler},
7570 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
7571 { "_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler},
7572 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
7573 { "_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
7574 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
7575 { "_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
7576 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
7577 { "_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler},
7578 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
7579 { "_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler},
7580 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
7581 { "_wxEvtHandler","_class_wxEvtHandler",0},
7582 { "_wxMenuItem","_class_wxMenuItem",0},
7583 { "_class_wxScrollBar","_wxScrollBar",0},
7584 { "_wxDash","_unsigned_long",0},
7585 { "_wxDash","_long",0},
7586 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7587 { "_wxKeyEvent","_class_wxKeyEvent",0},
7588 { "_wxMoveEvent","_class_wxMoveEvent",0},
7589 { "_class_wxPalette","_wxPalette",0},
7590 { "_wxFileDataObject","_class_wxFileDataObject",0},
7591 { "_class_wxEraseEvent","_wxEraseEvent",0},
7592 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
7593 { "_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow},
7594 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
7595 { "_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow},
7596 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
7597 { "_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow},
7598 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
7599 { "_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
7600 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
7601 { "_wxWindow","_class_wxSpinButton",SwigwxSpinButtonTowxWindow},
7602 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
7603 { "_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow},
7604 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
7605 { "_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow},
7606 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
7607 { "_wxWindow","_class_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
7608 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
7609 { "_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow},
7610 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
7611 { "_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow},
7612 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
7613 { "_wxWindow","_class_wxStaticLine",SwigwxStaticLineTowxWindow},
7614 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
7615 { "_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow},
7616 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
7617 { "_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow},
7618 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
7619 { "_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow},
7620 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
7621 { "_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow},
7622 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
7623 { "_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow},
7624 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
7625 { "_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
7626 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
7627 { "_wxWindow","_class_wxButton",SwigwxButtonTowxWindow},
7628 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
7629 { "_wxWindow","_class_wxControl",SwigwxControlTowxWindow},
7630 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
7631 { "_wxWindow","_class_wxWindow",0},
7632 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
7633 {0,0,0}};
7634
7635 static PyObject *SWIG_globals;
7636 #ifdef __cplusplus
7637 extern "C"
7638 #endif
7639 SWIGEXPORT(void) initcontrolsc() {
7640 PyObject *m, *d;
7641 SWIG_globals = SWIG_newvarlink();
7642 m = Py_InitModule("controlsc", controlscMethods);
7643 d = PyModule_GetDict(m);
7644 PyDict_SetItemString(d,"cvar", SWIG_globals);
7645 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
7646 {
7647 int i;
7648 for (i = 0; _swig_mapping[i].n1; i++)
7649 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
7650 }
7651 }