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