]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/gtk/controls.cpp
b4ed5b586c9ac4f8ed3e02ab4d5e37efe89ca1f3
[wxWidgets.git] / utils / wxPython / src / gtk / controls.cpp
1 /*
2 * FILE : gtk/controls.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Patch 5)
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,b) __declspec(dllexport) a b
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a,b) a _export b
31 # else
32 # define SWIGEXPORT(a,b) a b
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a,b) a b
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 void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
47 extern PyObject *SWIG_newvarlink(void);
48 #ifdef __cplusplus
49 }
50 #endif
51
52 #define SWIG_init initcontrolsc
53
54 #define SWIG_name "controlsc"
55
56 #include "helpers.h"
57 #include <wx/slider.h>
58
59 #ifdef __WXMSW__
60 #include <wx/spinbutt.h>
61 #endif
62
63 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
64 PyObject* o2;
65 PyObject* o3;
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyList_Check(target)) {
73 o2 = target;
74 target = PyList_New(0);
75 PyList_Append(target, o2);
76 Py_XDECREF(o2);
77 }
78 PyList_Append(target,o);
79 Py_XDECREF(o);
80 }
81 return target;
82 }
83
84 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
85 PyObject* o2;
86 PyObject* o3;
87
88 if (!target) {
89 target = o;
90 } else if (target == Py_None) {
91 Py_DECREF(Py_None);
92 target = o;
93 } else {
94 if (!PyTuple_Check(target)) {
95 o2 = target;
96 target = PyTuple_New(1);
97 PyTuple_SetItem(target, 0, o2);
98 }
99 o3 = PyTuple_New(1);
100 PyTuple_SetItem(o3, 0, o);
101
102 o2 = target;
103 target = PySequence_Concat(o2, o3);
104 Py_DECREF(o2);
105 Py_DECREF(o3);
106 }
107 return target;
108 }
109
110
111 extern int* int_LIST_helper(PyObject* source);
112 extern long* long_LIST_helper(PyObject* source);
113 extern char** string_LIST_helper(PyObject* source);
114 extern wxPoint* wxPoint_LIST_helper(PyObject* source);
115 extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
116 extern wxString* wxString_LIST_helper(PyObject* source);
117 #ifdef __WXMSW__
118 extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
119 #endif
120
121
122 static char* wxStringErrorMsg = "string type is required for parameter";
123
124 wxValidator wxPyDefaultValidator; // Non-const default because of SWIG
125 static void *SwigwxControlTowxWindow(void *ptr) {
126 wxControl *src;
127 wxWindow *dest;
128 src = (wxControl *) ptr;
129 dest = (wxWindow *) src;
130 return (void *) dest;
131 }
132
133 static void *SwigwxControlTowxEvtHandler(void *ptr) {
134 wxControl *src;
135 wxEvtHandler *dest;
136 src = (wxControl *) ptr;
137 dest = (wxEvtHandler *) src;
138 return (void *) dest;
139 }
140
141 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
142 static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args) {
143 PyObject * _resultobj;
144 wxControl * _arg0;
145 wxCommandEvent * _arg1;
146 char * _argc0 = 0;
147 char * _argc1 = 0;
148
149 self = self;
150 if(!PyArg_ParseTuple(args,"ss:wxControl_Command",&_argc0,&_argc1))
151 return NULL;
152 if (_argc0) {
153 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxControl_p")) {
154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
155 return NULL;
156 }
157 }
158 if (_argc1) {
159 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxCommandEvent_p")) {
160 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
161 return NULL;
162 }
163 }
164 wxControl_Command(_arg0,*_arg1);
165 Py_INCREF(Py_None);
166 _resultobj = Py_None;
167 return _resultobj;
168 }
169
170 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
171 static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args) {
172 PyObject * _resultobj;
173 wxString * _result;
174 wxControl * _arg0;
175 char * _argc0 = 0;
176
177 self = self;
178 if(!PyArg_ParseTuple(args,"s:wxControl_GetLabel",&_argc0))
179 return NULL;
180 if (_argc0) {
181 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxControl_p")) {
182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
183 return NULL;
184 }
185 }
186 _result = new wxString (wxControl_GetLabel(_arg0));
187 {
188 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
189 }
190 {
191 delete _result;
192 }
193 return _resultobj;
194 }
195
196 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
197 static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args) {
198 PyObject * _resultobj;
199 wxControl * _arg0;
200 wxString * _arg1;
201 char * _argc0 = 0;
202 PyObject * _obj1 = 0;
203
204 self = self;
205 if(!PyArg_ParseTuple(args,"sO:wxControl_SetLabel",&_argc0,&_obj1))
206 return NULL;
207 if (_argc0) {
208 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxControl_p")) {
209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
210 return NULL;
211 }
212 }
213 {
214 if (!PyString_Check(_obj1)) {
215 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
216 return NULL;
217 }
218 _arg1 = new wxString(PyString_AsString(_obj1));
219 }
220 wxControl_SetLabel(_arg0,*_arg1);
221 Py_INCREF(Py_None);
222 _resultobj = Py_None;
223 {
224 if (_obj1)
225 delete _arg1;
226 }
227 return _resultobj;
228 }
229
230 static void *SwigwxButtonTowxControl(void *ptr) {
231 wxButton *src;
232 wxControl *dest;
233 src = (wxButton *) ptr;
234 dest = (wxControl *) src;
235 return (void *) dest;
236 }
237
238 static void *SwigwxButtonTowxWindow(void *ptr) {
239 wxButton *src;
240 wxWindow *dest;
241 src = (wxButton *) ptr;
242 dest = (wxWindow *) src;
243 return (void *) dest;
244 }
245
246 static void *SwigwxButtonTowxEvtHandler(void *ptr) {
247 wxButton *src;
248 wxEvtHandler *dest;
249 src = (wxButton *) ptr;
250 dest = (wxEvtHandler *) src;
251 return (void *) dest;
252 }
253
254 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
255 static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args) {
256 PyObject * _resultobj;
257 wxButton * _result;
258 wxWindow * _arg0;
259 wxWindowID _arg1;
260 wxString * _arg2;
261 wxPoint * _arg3 = &wxPyDefaultPosition;
262 wxSize * _arg4 = &wxPyDefaultSize;
263 long _arg5 = 0;
264 wxValidator * _arg6 = &wxPyDefaultValidator;
265 char * _arg7 = "button";
266 char * _argc0 = 0;
267 PyObject * _obj2 = 0;
268 char * _argc3 = 0;
269 char * _argc4 = 0;
270 char * _argc6 = 0;
271 char _ptemp[128];
272
273 self = self;
274 if(!PyArg_ParseTuple(args,"siO|sslss:new_wxButton",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
275 return NULL;
276 if (_argc0) {
277 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
279 return NULL;
280 }
281 }
282 {
283 if (!PyString_Check(_obj2)) {
284 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
285 return NULL;
286 }
287 _arg2 = new wxString(PyString_AsString(_obj2));
288 }
289 if (_argc3) {
290 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
291 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxButton. Expected _wxPoint_p.");
292 return NULL;
293 }
294 }
295 if (_argc4) {
296 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxButton. Expected _wxSize_p.");
298 return NULL;
299 }
300 }
301 if (_argc6) {
302 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
303 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
304 return NULL;
305 }
306 }
307 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
308 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
309 _resultobj = Py_BuildValue("s",_ptemp);
310 {
311 if (_obj2)
312 delete _arg2;
313 }
314 return _resultobj;
315 }
316
317 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
318 static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args) {
319 PyObject * _resultobj;
320 wxButton * _arg0;
321 char * _argc0 = 0;
322
323 self = self;
324 if(!PyArg_ParseTuple(args,"s:wxButton_SetDefault",&_argc0))
325 return NULL;
326 if (_argc0) {
327 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxButton_p")) {
328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
329 return NULL;
330 }
331 }
332 wxButton_SetDefault(_arg0);
333 Py_INCREF(Py_None);
334 _resultobj = Py_None;
335 return _resultobj;
336 }
337
338 static void *SwigwxBitmapButtonTowxButton(void *ptr) {
339 wxBitmapButton *src;
340 wxButton *dest;
341 src = (wxBitmapButton *) ptr;
342 dest = (wxButton *) src;
343 return (void *) dest;
344 }
345
346 static void *SwigwxBitmapButtonTowxControl(void *ptr) {
347 wxBitmapButton *src;
348 wxControl *dest;
349 src = (wxBitmapButton *) ptr;
350 dest = (wxControl *) src;
351 return (void *) dest;
352 }
353
354 static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
355 wxBitmapButton *src;
356 wxWindow *dest;
357 src = (wxBitmapButton *) ptr;
358 dest = (wxWindow *) src;
359 return (void *) dest;
360 }
361
362 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
363 wxBitmapButton *src;
364 wxEvtHandler *dest;
365 src = (wxBitmapButton *) ptr;
366 dest = (wxEvtHandler *) src;
367 return (void *) dest;
368 }
369
370 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
371 static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args) {
372 PyObject * _resultobj;
373 wxBitmapButton * _result;
374 wxWindow * _arg0;
375 wxWindowID _arg1;
376 wxBitmap * _arg2;
377 wxPoint * _arg3 = &wxPyDefaultPosition;
378 wxSize * _arg4 = &wxPyDefaultSize;
379 long _arg5 = (wxBU_AUTODRAW);
380 wxValidator * _arg6 = &wxPyDefaultValidator;
381 char * _arg7 = "button";
382 char * _argc0 = 0;
383 char * _argc2 = 0;
384 char * _argc3 = 0;
385 char * _argc4 = 0;
386 char * _argc6 = 0;
387 char _ptemp[128];
388
389 self = self;
390 if(!PyArg_ParseTuple(args,"sis|sslss:new_wxBitmapButton",&_argc0,&_arg1,&_argc2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
391 return NULL;
392 if (_argc0) {
393 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
395 return NULL;
396 }
397 }
398 if (_argc2) {
399 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
400 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
401 return NULL;
402 }
403 }
404 if (_argc3) {
405 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
406 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxBitmapButton. Expected _wxPoint_p.");
407 return NULL;
408 }
409 }
410 if (_argc4) {
411 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
412 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxBitmapButton. Expected _wxSize_p.");
413 return NULL;
414 }
415 }
416 if (_argc6) {
417 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
418 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
419 return NULL;
420 }
421 }
422 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
423 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
424 _resultobj = Py_BuildValue("s",_ptemp);
425 return _resultobj;
426 }
427
428 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
429 static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args) {
430 PyObject * _resultobj;
431 wxBitmap * _result;
432 wxBitmapButton * _arg0;
433 char * _argc0 = 0;
434 char _ptemp[128];
435
436 self = self;
437 if(!PyArg_ParseTuple(args,"s:wxBitmapButton_GetBitmapLabel",&_argc0))
438 return NULL;
439 if (_argc0) {
440 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
442 return NULL;
443 }
444 }
445 wxBitmap & _result_ref = wxBitmapButton_GetBitmapLabel(_arg0);
446 _result = (wxBitmap *) &_result_ref;
447 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
448 _resultobj = Py_BuildValue("s",_ptemp);
449 return _resultobj;
450 }
451
452 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
453 static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args) {
454 PyObject * _resultobj;
455 wxBitmapButton * _arg0;
456 wxBitmap * _arg1;
457 char * _argc0 = 0;
458 char * _argc1 = 0;
459
460 self = self;
461 if(!PyArg_ParseTuple(args,"ss:wxBitmapButton_SetBitmapLabel",&_argc0,&_argc1))
462 return NULL;
463 if (_argc0) {
464 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxBitmapButton_p")) {
465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
466 return NULL;
467 }
468 }
469 if (_argc1) {
470 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
471 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
472 return NULL;
473 }
474 }
475 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
476 Py_INCREF(Py_None);
477 _resultobj = Py_None;
478 return _resultobj;
479 }
480
481 static void *SwigwxCheckBoxTowxControl(void *ptr) {
482 wxCheckBox *src;
483 wxControl *dest;
484 src = (wxCheckBox *) ptr;
485 dest = (wxControl *) src;
486 return (void *) dest;
487 }
488
489 static void *SwigwxCheckBoxTowxWindow(void *ptr) {
490 wxCheckBox *src;
491 wxWindow *dest;
492 src = (wxCheckBox *) ptr;
493 dest = (wxWindow *) src;
494 return (void *) dest;
495 }
496
497 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
498 wxCheckBox *src;
499 wxEvtHandler *dest;
500 src = (wxCheckBox *) ptr;
501 dest = (wxEvtHandler *) src;
502 return (void *) dest;
503 }
504
505 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
506 static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args) {
507 PyObject * _resultobj;
508 wxCheckBox * _result;
509 wxWindow * _arg0;
510 wxWindowID _arg1;
511 wxString * _arg2;
512 wxPoint * _arg3 = &wxPyDefaultPosition;
513 wxSize * _arg4 = &wxPyDefaultSize;
514 long _arg5 = 0;
515 wxValidator * _arg6 = &wxPyDefaultValidator;
516 char * _arg7 = "checkBox";
517 char * _argc0 = 0;
518 PyObject * _obj2 = 0;
519 char * _argc3 = 0;
520 char * _argc4 = 0;
521 char * _argc6 = 0;
522 char _ptemp[128];
523
524 self = self;
525 if(!PyArg_ParseTuple(args,"siO|sslss:new_wxCheckBox",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
526 return NULL;
527 if (_argc0) {
528 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
530 return NULL;
531 }
532 }
533 {
534 if (!PyString_Check(_obj2)) {
535 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
536 return NULL;
537 }
538 _arg2 = new wxString(PyString_AsString(_obj2));
539 }
540 if (_argc3) {
541 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
542 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxCheckBox. Expected _wxPoint_p.");
543 return NULL;
544 }
545 }
546 if (_argc4) {
547 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
548 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxCheckBox. Expected _wxSize_p.");
549 return NULL;
550 }
551 }
552 if (_argc6) {
553 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
554 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
555 return NULL;
556 }
557 }
558 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
559 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
560 _resultobj = Py_BuildValue("s",_ptemp);
561 {
562 if (_obj2)
563 delete _arg2;
564 }
565 return _resultobj;
566 }
567
568 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
569 static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args) {
570 PyObject * _resultobj;
571 bool _result;
572 wxCheckBox * _arg0;
573 char * _argc0 = 0;
574
575 self = self;
576 if(!PyArg_ParseTuple(args,"s:wxCheckBox_GetValue",&_argc0))
577 return NULL;
578 if (_argc0) {
579 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckBox_p")) {
580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
581 return NULL;
582 }
583 }
584 _result = (bool )wxCheckBox_GetValue(_arg0);
585 _resultobj = Py_BuildValue("i",_result);
586 return _resultobj;
587 }
588
589 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
590 static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args) {
591 PyObject * _resultobj;
592 wxCheckBox * _arg0;
593 bool _arg1;
594 char * _argc0 = 0;
595 int tempbool1;
596
597 self = self;
598 if(!PyArg_ParseTuple(args,"si:wxCheckBox_SetValue",&_argc0,&tempbool1))
599 return NULL;
600 if (_argc0) {
601 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxCheckBox_p")) {
602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
603 return NULL;
604 }
605 }
606 _arg1 = (bool ) tempbool1;
607 wxCheckBox_SetValue(_arg0,_arg1);
608 Py_INCREF(Py_None);
609 _resultobj = Py_None;
610 return _resultobj;
611 }
612
613 static void *SwigwxChoiceTowxControl(void *ptr) {
614 wxChoice *src;
615 wxControl *dest;
616 src = (wxChoice *) ptr;
617 dest = (wxControl *) src;
618 return (void *) dest;
619 }
620
621 static void *SwigwxChoiceTowxWindow(void *ptr) {
622 wxChoice *src;
623 wxWindow *dest;
624 src = (wxChoice *) ptr;
625 dest = (wxWindow *) src;
626 return (void *) dest;
627 }
628
629 static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
630 wxChoice *src;
631 wxEvtHandler *dest;
632 src = (wxChoice *) ptr;
633 dest = (wxEvtHandler *) src;
634 return (void *) dest;
635 }
636
637 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
638 static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args) {
639 PyObject * _resultobj;
640 wxChoice * _result;
641 wxWindow * _arg0;
642 wxWindowID _arg1;
643 wxPoint * _arg2 = &wxPyDefaultPosition;
644 wxSize * _arg3 = &wxPyDefaultSize;
645 int _arg4 = 0;
646 wxString * _arg5 = NULL;
647 long _arg6 = 0;
648 wxValidator * _arg7 = &wxPyDefaultValidator;
649 char * _arg8 = "choice";
650 char * _argc0 = 0;
651 char * _argc2 = 0;
652 char * _argc3 = 0;
653 PyObject * _obj5 = 0;
654 char * _argc7 = 0;
655 char _ptemp[128];
656
657 self = self;
658 if(!PyArg_ParseTuple(args,"si|ssOlss:new_wxChoice",&_argc0,&_arg1,&_argc2,&_argc3,&_obj5,&_arg6,&_argc7,&_arg8))
659 return NULL;
660 if (_argc0) {
661 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
663 return NULL;
664 }
665 }
666 if (_argc2) {
667 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
668 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxChoice. Expected _wxPoint_p.");
669 return NULL;
670 }
671 }
672 if (_argc3) {
673 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
674 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxChoice. Expected _wxSize_p.");
675 return NULL;
676 }
677 }
678 if (_obj5)
679 {
680 _arg5 = wxString_LIST_helper(_obj5);
681 if (_arg5 == NULL) {
682 return NULL;
683 }
684 }
685 if (_argc7) {
686 if (SWIG_GetPtr(_argc7,(void **) &_arg7,"_wxValidator_p")) {
687 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
688 return NULL;
689 }
690 }
691 {
692 _arg4 = PyList_Size(_obj5);
693 }
694 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
695 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
696 _resultobj = Py_BuildValue("s",_ptemp);
697 {
698 delete [] _arg5;
699 }
700 return _resultobj;
701 }
702
703 #define wxChoice_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
704 static PyObject *_wrap_wxChoice_Append(PyObject *self, PyObject *args) {
705 PyObject * _resultobj;
706 wxChoice * _arg0;
707 wxString * _arg1;
708 char * _argc0 = 0;
709 PyObject * _obj1 = 0;
710
711 self = self;
712 if(!PyArg_ParseTuple(args,"sO:wxChoice_Append",&_argc0,&_obj1))
713 return NULL;
714 if (_argc0) {
715 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Append. Expected _wxChoice_p.");
717 return NULL;
718 }
719 }
720 {
721 if (!PyString_Check(_obj1)) {
722 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
723 return NULL;
724 }
725 _arg1 = new wxString(PyString_AsString(_obj1));
726 }
727 wxChoice_Append(_arg0,*_arg1);
728 Py_INCREF(Py_None);
729 _resultobj = Py_None;
730 {
731 if (_obj1)
732 delete _arg1;
733 }
734 return _resultobj;
735 }
736
737 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
738 static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args) {
739 PyObject * _resultobj;
740 wxChoice * _arg0;
741 char * _argc0 = 0;
742
743 self = self;
744 if(!PyArg_ParseTuple(args,"s:wxChoice_Clear",&_argc0))
745 return NULL;
746 if (_argc0) {
747 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
749 return NULL;
750 }
751 }
752 wxChoice_Clear(_arg0);
753 Py_INCREF(Py_None);
754 _resultobj = Py_None;
755 return _resultobj;
756 }
757
758 #define wxChoice_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
759 static PyObject *_wrap_wxChoice_FindString(PyObject *self, PyObject *args) {
760 PyObject * _resultobj;
761 int _result;
762 wxChoice * _arg0;
763 wxString * _arg1;
764 char * _argc0 = 0;
765 PyObject * _obj1 = 0;
766
767 self = self;
768 if(!PyArg_ParseTuple(args,"sO:wxChoice_FindString",&_argc0,&_obj1))
769 return NULL;
770 if (_argc0) {
771 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_FindString. Expected _wxChoice_p.");
773 return NULL;
774 }
775 }
776 {
777 if (!PyString_Check(_obj1)) {
778 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
779 return NULL;
780 }
781 _arg1 = new wxString(PyString_AsString(_obj1));
782 }
783 _result = (int )wxChoice_FindString(_arg0,*_arg1);
784 _resultobj = Py_BuildValue("i",_result);
785 {
786 if (_obj1)
787 delete _arg1;
788 }
789 return _resultobj;
790 }
791
792 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
793 static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args) {
794 PyObject * _resultobj;
795 int _result;
796 wxChoice * _arg0;
797 char * _argc0 = 0;
798
799 self = self;
800 if(!PyArg_ParseTuple(args,"s:wxChoice_GetColumns",&_argc0))
801 return NULL;
802 if (_argc0) {
803 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
805 return NULL;
806 }
807 }
808 _result = (int )wxChoice_GetColumns(_arg0);
809 _resultobj = Py_BuildValue("i",_result);
810 return _resultobj;
811 }
812
813 #define wxChoice_GetSelection(_swigobj) (_swigobj->GetSelection())
814 static PyObject *_wrap_wxChoice_GetSelection(PyObject *self, PyObject *args) {
815 PyObject * _resultobj;
816 int _result;
817 wxChoice * _arg0;
818 char * _argc0 = 0;
819
820 self = self;
821 if(!PyArg_ParseTuple(args,"s:wxChoice_GetSelection",&_argc0))
822 return NULL;
823 if (_argc0) {
824 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetSelection. Expected _wxChoice_p.");
826 return NULL;
827 }
828 }
829 _result = (int )wxChoice_GetSelection(_arg0);
830 _resultobj = Py_BuildValue("i",_result);
831 return _resultobj;
832 }
833
834 #define wxChoice_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
835 static PyObject *_wrap_wxChoice_GetString(PyObject *self, PyObject *args) {
836 PyObject * _resultobj;
837 wxString * _result;
838 wxChoice * _arg0;
839 int _arg1;
840 char * _argc0 = 0;
841
842 self = self;
843 if(!PyArg_ParseTuple(args,"si:wxChoice_GetString",&_argc0,&_arg1))
844 return NULL;
845 if (_argc0) {
846 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetString. Expected _wxChoice_p.");
848 return NULL;
849 }
850 }
851 _result = new wxString (wxChoice_GetString(_arg0,_arg1));
852 {
853 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
854 }
855 {
856 delete _result;
857 }
858 return _resultobj;
859 }
860
861 #define wxChoice_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
862 static PyObject *_wrap_wxChoice_GetStringSelection(PyObject *self, PyObject *args) {
863 PyObject * _resultobj;
864 wxString * _result;
865 wxChoice * _arg0;
866 char * _argc0 = 0;
867
868 self = self;
869 if(!PyArg_ParseTuple(args,"s:wxChoice_GetStringSelection",&_argc0))
870 return NULL;
871 if (_argc0) {
872 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetStringSelection. Expected _wxChoice_p.");
874 return NULL;
875 }
876 }
877 _result = new wxString (wxChoice_GetStringSelection(_arg0));
878 {
879 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
880 }
881 {
882 delete _result;
883 }
884 return _resultobj;
885 }
886
887 #define wxChoice_Number(_swigobj) (_swigobj->Number())
888 static PyObject *_wrap_wxChoice_Number(PyObject *self, PyObject *args) {
889 PyObject * _resultobj;
890 int _result;
891 wxChoice * _arg0;
892 char * _argc0 = 0;
893
894 self = self;
895 if(!PyArg_ParseTuple(args,"s:wxChoice_Number",&_argc0))
896 return NULL;
897 if (_argc0) {
898 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Number. Expected _wxChoice_p.");
900 return NULL;
901 }
902 }
903 _result = (int )wxChoice_Number(_arg0);
904 _resultobj = Py_BuildValue("i",_result);
905 return _resultobj;
906 }
907
908 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
909 static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args) {
910 PyObject * _resultobj;
911 wxChoice * _arg0;
912 int _arg1 = 1;
913 char * _argc0 = 0;
914
915 self = self;
916 if(!PyArg_ParseTuple(args,"s|i:wxChoice_SetColumns",&_argc0,&_arg1))
917 return NULL;
918 if (_argc0) {
919 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
921 return NULL;
922 }
923 }
924 wxChoice_SetColumns(_arg0,_arg1);
925 Py_INCREF(Py_None);
926 _resultobj = Py_None;
927 return _resultobj;
928 }
929
930 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
931 static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args) {
932 PyObject * _resultobj;
933 wxChoice * _arg0;
934 int _arg1;
935 char * _argc0 = 0;
936
937 self = self;
938 if(!PyArg_ParseTuple(args,"si:wxChoice_SetSelection",&_argc0,&_arg1))
939 return NULL;
940 if (_argc0) {
941 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
943 return NULL;
944 }
945 }
946 wxChoice_SetSelection(_arg0,_arg1);
947 Py_INCREF(Py_None);
948 _resultobj = Py_None;
949 return _resultobj;
950 }
951
952 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
953 static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args) {
954 PyObject * _resultobj;
955 wxChoice * _arg0;
956 wxString * _arg1;
957 char * _argc0 = 0;
958 PyObject * _obj1 = 0;
959
960 self = self;
961 if(!PyArg_ParseTuple(args,"sO:wxChoice_SetStringSelection",&_argc0,&_obj1))
962 return NULL;
963 if (_argc0) {
964 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxChoice_p")) {
965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
966 return NULL;
967 }
968 }
969 {
970 if (!PyString_Check(_obj1)) {
971 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
972 return NULL;
973 }
974 _arg1 = new wxString(PyString_AsString(_obj1));
975 }
976 wxChoice_SetStringSelection(_arg0,*_arg1);
977 Py_INCREF(Py_None);
978 _resultobj = Py_None;
979 {
980 if (_obj1)
981 delete _arg1;
982 }
983 return _resultobj;
984 }
985
986 static void *SwigwxComboBoxTowxControl(void *ptr) {
987 wxComboBox *src;
988 wxControl *dest;
989 src = (wxComboBox *) ptr;
990 dest = (wxControl *) src;
991 return (void *) dest;
992 }
993
994 static void *SwigwxComboBoxTowxWindow(void *ptr) {
995 wxComboBox *src;
996 wxWindow *dest;
997 src = (wxComboBox *) ptr;
998 dest = (wxWindow *) src;
999 return (void *) dest;
1000 }
1001
1002 static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
1003 wxComboBox *src;
1004 wxEvtHandler *dest;
1005 src = (wxComboBox *) ptr;
1006 dest = (wxEvtHandler *) src;
1007 return (void *) dest;
1008 }
1009
1010 #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))
1011 static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args) {
1012 PyObject * _resultobj;
1013 wxComboBox * _result;
1014 wxWindow * _arg0;
1015 wxWindowID _arg1;
1016 char * _arg2 = "";
1017 wxPoint * _arg3 = &wxPyDefaultPosition;
1018 wxSize * _arg4 = &wxPyDefaultSize;
1019 int _arg5 = 0;
1020 wxString * _arg6 = NULL;
1021 long _arg7 = 0;
1022 wxValidator * _arg8 = &wxPyDefaultValidator;
1023 char * _arg9 = "comboBox";
1024 char * _argc0 = 0;
1025 char * _argc3 = 0;
1026 char * _argc4 = 0;
1027 PyObject * _obj6 = 0;
1028 char * _argc8 = 0;
1029 char _ptemp[128];
1030
1031 self = self;
1032 if(!PyArg_ParseTuple(args,"si|sssOlss:new_wxComboBox",&_argc0,&_arg1,&_arg2,&_argc3,&_argc4,&_obj6,&_arg7,&_argc8,&_arg9))
1033 return NULL;
1034 if (_argc0) {
1035 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
1037 return NULL;
1038 }
1039 }
1040 if (_argc3) {
1041 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
1042 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxComboBox. Expected _wxPoint_p.");
1043 return NULL;
1044 }
1045 }
1046 if (_argc4) {
1047 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
1048 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxComboBox. Expected _wxSize_p.");
1049 return NULL;
1050 }
1051 }
1052 if (_obj6)
1053 {
1054 _arg6 = wxString_LIST_helper(_obj6);
1055 if (_arg6 == NULL) {
1056 return NULL;
1057 }
1058 }
1059 if (_argc8) {
1060 if (SWIG_GetPtr(_argc8,(void **) &_arg8,"_wxValidator_p")) {
1061 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
1062 return NULL;
1063 }
1064 }
1065 {
1066 _arg5 = PyList_Size(_obj6);
1067 }
1068 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,_arg9);
1069 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
1070 _resultobj = Py_BuildValue("s",_ptemp);
1071 {
1072 delete [] _arg6;
1073 }
1074 return _resultobj;
1075 }
1076
1077 #define wxComboBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
1078 static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args) {
1079 PyObject * _resultobj;
1080 wxComboBox * _arg0;
1081 wxString * _arg1;
1082 char * _argc0 = 0;
1083 PyObject * _obj1 = 0;
1084
1085 self = self;
1086 if(!PyArg_ParseTuple(args,"sO:wxComboBox_Append",&_argc0,&_obj1))
1087 return NULL;
1088 if (_argc0) {
1089 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
1091 return NULL;
1092 }
1093 }
1094 {
1095 if (!PyString_Check(_obj1)) {
1096 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1097 return NULL;
1098 }
1099 _arg1 = new wxString(PyString_AsString(_obj1));
1100 }
1101 wxComboBox_Append(_arg0,*_arg1);
1102 Py_INCREF(Py_None);
1103 _resultobj = Py_None;
1104 {
1105 if (_obj1)
1106 delete _arg1;
1107 }
1108 return _resultobj;
1109 }
1110
1111 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
1112 static PyObject *_wrap_wxComboBox_Clear(PyObject *self, PyObject *args) {
1113 PyObject * _resultobj;
1114 wxComboBox * _arg0;
1115 char * _argc0 = 0;
1116
1117 self = self;
1118 if(!PyArg_ParseTuple(args,"s:wxComboBox_Clear",&_argc0))
1119 return NULL;
1120 if (_argc0) {
1121 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
1123 return NULL;
1124 }
1125 }
1126 wxComboBox_Clear(_arg0);
1127 Py_INCREF(Py_None);
1128 _resultobj = Py_None;
1129 return _resultobj;
1130 }
1131
1132 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
1133 static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args) {
1134 PyObject * _resultobj;
1135 wxComboBox * _arg0;
1136 char * _argc0 = 0;
1137
1138 self = self;
1139 if(!PyArg_ParseTuple(args,"s:wxComboBox_Copy",&_argc0))
1140 return NULL;
1141 if (_argc0) {
1142 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
1144 return NULL;
1145 }
1146 }
1147 wxComboBox_Copy(_arg0);
1148 Py_INCREF(Py_None);
1149 _resultobj = Py_None;
1150 return _resultobj;
1151 }
1152
1153 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
1154 static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args) {
1155 PyObject * _resultobj;
1156 wxComboBox * _arg0;
1157 char * _argc0 = 0;
1158
1159 self = self;
1160 if(!PyArg_ParseTuple(args,"s:wxComboBox_Cut",&_argc0))
1161 return NULL;
1162 if (_argc0) {
1163 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
1165 return NULL;
1166 }
1167 }
1168 wxComboBox_Cut(_arg0);
1169 Py_INCREF(Py_None);
1170 _resultobj = Py_None;
1171 return _resultobj;
1172 }
1173
1174 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
1175 static PyObject *_wrap_wxComboBox_Delete(PyObject *self, PyObject *args) {
1176 PyObject * _resultobj;
1177 wxComboBox * _arg0;
1178 int _arg1;
1179 char * _argc0 = 0;
1180
1181 self = self;
1182 if(!PyArg_ParseTuple(args,"si:wxComboBox_Delete",&_argc0,&_arg1))
1183 return NULL;
1184 if (_argc0) {
1185 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
1187 return NULL;
1188 }
1189 }
1190 wxComboBox_Delete(_arg0,_arg1);
1191 Py_INCREF(Py_None);
1192 _resultobj = Py_None;
1193 return _resultobj;
1194 }
1195
1196 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
1197 static PyObject *_wrap_wxComboBox_FindString(PyObject *self, PyObject *args) {
1198 PyObject * _resultobj;
1199 int _result;
1200 wxComboBox * _arg0;
1201 wxString * _arg1;
1202 char * _argc0 = 0;
1203 PyObject * _obj1 = 0;
1204
1205 self = self;
1206 if(!PyArg_ParseTuple(args,"sO:wxComboBox_FindString",&_argc0,&_obj1))
1207 return NULL;
1208 if (_argc0) {
1209 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
1211 return NULL;
1212 }
1213 }
1214 {
1215 if (!PyString_Check(_obj1)) {
1216 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1217 return NULL;
1218 }
1219 _arg1 = new wxString(PyString_AsString(_obj1));
1220 }
1221 _result = (int )wxComboBox_FindString(_arg0,*_arg1);
1222 _resultobj = Py_BuildValue("i",_result);
1223 {
1224 if (_obj1)
1225 delete _arg1;
1226 }
1227 return _resultobj;
1228 }
1229
1230 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
1231 static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args) {
1232 PyObject * _resultobj;
1233 long _result;
1234 wxComboBox * _arg0;
1235 char * _argc0 = 0;
1236
1237 self = self;
1238 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetInsertionPoint",&_argc0))
1239 return NULL;
1240 if (_argc0) {
1241 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
1243 return NULL;
1244 }
1245 }
1246 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
1247 _resultobj = Py_BuildValue("l",_result);
1248 return _resultobj;
1249 }
1250
1251 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
1252 static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args) {
1253 PyObject * _resultobj;
1254 long _result;
1255 wxComboBox * _arg0;
1256 char * _argc0 = 0;
1257
1258 self = self;
1259 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetLastPosition",&_argc0))
1260 return NULL;
1261 if (_argc0) {
1262 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
1264 return NULL;
1265 }
1266 }
1267 _result = (long )wxComboBox_GetLastPosition(_arg0);
1268 _resultobj = Py_BuildValue("l",_result);
1269 return _resultobj;
1270 }
1271
1272 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
1273 static PyObject *_wrap_wxComboBox_GetSelection(PyObject *self, PyObject *args) {
1274 PyObject * _resultobj;
1275 int _result;
1276 wxComboBox * _arg0;
1277 char * _argc0 = 0;
1278
1279 self = self;
1280 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetSelection",&_argc0))
1281 return NULL;
1282 if (_argc0) {
1283 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
1285 return NULL;
1286 }
1287 }
1288 _result = (int )wxComboBox_GetSelection(_arg0);
1289 _resultobj = Py_BuildValue("i",_result);
1290 return _resultobj;
1291 }
1292
1293 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
1294 static PyObject *_wrap_wxComboBox_GetString(PyObject *self, PyObject *args) {
1295 PyObject * _resultobj;
1296 wxString * _result;
1297 wxComboBox * _arg0;
1298 int _arg1;
1299 char * _argc0 = 0;
1300
1301 self = self;
1302 if(!PyArg_ParseTuple(args,"si:wxComboBox_GetString",&_argc0,&_arg1))
1303 return NULL;
1304 if (_argc0) {
1305 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
1307 return NULL;
1308 }
1309 }
1310 _result = new wxString (wxComboBox_GetString(_arg0,_arg1));
1311 {
1312 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1313 }
1314 {
1315 delete _result;
1316 }
1317 return _resultobj;
1318 }
1319
1320 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
1321 static PyObject *_wrap_wxComboBox_GetStringSelection(PyObject *self, PyObject *args) {
1322 PyObject * _resultobj;
1323 wxString * _result;
1324 wxComboBox * _arg0;
1325 char * _argc0 = 0;
1326
1327 self = self;
1328 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetStringSelection",&_argc0))
1329 return NULL;
1330 if (_argc0) {
1331 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
1333 return NULL;
1334 }
1335 }
1336 _result = new wxString (wxComboBox_GetStringSelection(_arg0));
1337 {
1338 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1339 }
1340 {
1341 delete _result;
1342 }
1343 return _resultobj;
1344 }
1345
1346 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
1347 static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args) {
1348 PyObject * _resultobj;
1349 wxString * _result;
1350 wxComboBox * _arg0;
1351 char * _argc0 = 0;
1352
1353 self = self;
1354 if(!PyArg_ParseTuple(args,"s:wxComboBox_GetValue",&_argc0))
1355 return NULL;
1356 if (_argc0) {
1357 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
1359 return NULL;
1360 }
1361 }
1362 _result = new wxString (wxComboBox_GetValue(_arg0));
1363 {
1364 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1365 }
1366 {
1367 delete _result;
1368 }
1369 return _resultobj;
1370 }
1371
1372 #define wxComboBox_Number(_swigobj) (_swigobj->Number())
1373 static PyObject *_wrap_wxComboBox_Number(PyObject *self, PyObject *args) {
1374 PyObject * _resultobj;
1375 int _result;
1376 wxComboBox * _arg0;
1377 char * _argc0 = 0;
1378
1379 self = self;
1380 if(!PyArg_ParseTuple(args,"s:wxComboBox_Number",&_argc0))
1381 return NULL;
1382 if (_argc0) {
1383 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Number. Expected _wxComboBox_p.");
1385 return NULL;
1386 }
1387 }
1388 _result = (int )wxComboBox_Number(_arg0);
1389 _resultobj = Py_BuildValue("i",_result);
1390 return _resultobj;
1391 }
1392
1393 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
1394 static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args) {
1395 PyObject * _resultobj;
1396 wxComboBox * _arg0;
1397 char * _argc0 = 0;
1398
1399 self = self;
1400 if(!PyArg_ParseTuple(args,"s:wxComboBox_Paste",&_argc0))
1401 return NULL;
1402 if (_argc0) {
1403 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
1405 return NULL;
1406 }
1407 }
1408 wxComboBox_Paste(_arg0);
1409 Py_INCREF(Py_None);
1410 _resultobj = Py_None;
1411 return _resultobj;
1412 }
1413
1414 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
1415 static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args) {
1416 PyObject * _resultobj;
1417 wxComboBox * _arg0;
1418 long _arg1;
1419 long _arg2;
1420 wxString * _arg3;
1421 char * _argc0 = 0;
1422 PyObject * _obj3 = 0;
1423
1424 self = self;
1425 if(!PyArg_ParseTuple(args,"sllO:wxComboBox_Replace",&_argc0,&_arg1,&_arg2,&_obj3))
1426 return NULL;
1427 if (_argc0) {
1428 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
1430 return NULL;
1431 }
1432 }
1433 {
1434 if (!PyString_Check(_obj3)) {
1435 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1436 return NULL;
1437 }
1438 _arg3 = new wxString(PyString_AsString(_obj3));
1439 }
1440 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
1441 Py_INCREF(Py_None);
1442 _resultobj = Py_None;
1443 {
1444 if (_obj3)
1445 delete _arg3;
1446 }
1447 return _resultobj;
1448 }
1449
1450 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
1451 static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args) {
1452 PyObject * _resultobj;
1453 wxComboBox * _arg0;
1454 long _arg1;
1455 long _arg2;
1456 char * _argc0 = 0;
1457
1458 self = self;
1459 if(!PyArg_ParseTuple(args,"sll:wxComboBox_Remove",&_argc0,&_arg1,&_arg2))
1460 return NULL;
1461 if (_argc0) {
1462 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
1464 return NULL;
1465 }
1466 }
1467 wxComboBox_Remove(_arg0,_arg1,_arg2);
1468 Py_INCREF(Py_None);
1469 _resultobj = Py_None;
1470 return _resultobj;
1471 }
1472
1473 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
1474 static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args) {
1475 PyObject * _resultobj;
1476 wxComboBox * _arg0;
1477 long _arg1;
1478 char * _argc0 = 0;
1479
1480 self = self;
1481 if(!PyArg_ParseTuple(args,"sl:wxComboBox_SetInsertionPoint",&_argc0,&_arg1))
1482 return NULL;
1483 if (_argc0) {
1484 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
1486 return NULL;
1487 }
1488 }
1489 wxComboBox_SetInsertionPoint(_arg0,_arg1);
1490 Py_INCREF(Py_None);
1491 _resultobj = Py_None;
1492 return _resultobj;
1493 }
1494
1495 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
1496 static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args) {
1497 PyObject * _resultobj;
1498 wxComboBox * _arg0;
1499 char * _argc0 = 0;
1500
1501 self = self;
1502 if(!PyArg_ParseTuple(args,"s:wxComboBox_SetInsertionPointEnd",&_argc0))
1503 return NULL;
1504 if (_argc0) {
1505 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
1507 return NULL;
1508 }
1509 }
1510 wxComboBox_SetInsertionPointEnd(_arg0);
1511 Py_INCREF(Py_None);
1512 _resultobj = Py_None;
1513 return _resultobj;
1514 }
1515
1516 #define wxComboBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
1517 static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args) {
1518 PyObject * _resultobj;
1519 wxComboBox * _arg0;
1520 int _arg1;
1521 bool _arg2 = (1);
1522 char * _argc0 = 0;
1523 int tempbool2;
1524
1525 self = self;
1526 if(!PyArg_ParseTuple(args,"si|i:wxComboBox_SetSelection",&_argc0,&_arg1,&tempbool2))
1527 return NULL;
1528 if (_argc0) {
1529 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
1531 return NULL;
1532 }
1533 }
1534 _arg2 = (bool ) tempbool2;
1535 wxComboBox_SetSelection(_arg0,_arg1,_arg2);
1536 Py_INCREF(Py_None);
1537 _resultobj = Py_None;
1538 return _resultobj;
1539 }
1540
1541 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
1542 static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args) {
1543 PyObject * _resultobj;
1544 wxComboBox * _arg0;
1545 long _arg1;
1546 long _arg2;
1547 char * _argc0 = 0;
1548
1549 self = self;
1550 if(!PyArg_ParseTuple(args,"sll:wxComboBox_SetMark",&_argc0,&_arg1,&_arg2))
1551 return NULL;
1552 if (_argc0) {
1553 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
1555 return NULL;
1556 }
1557 }
1558 wxComboBox_SetMark(_arg0,_arg1,_arg2);
1559 Py_INCREF(Py_None);
1560 _resultobj = Py_None;
1561 return _resultobj;
1562 }
1563
1564 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1565 static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args) {
1566 PyObject * _resultobj;
1567 wxComboBox * _arg0;
1568 wxString * _arg1;
1569 char * _argc0 = 0;
1570 PyObject * _obj1 = 0;
1571
1572 self = self;
1573 if(!PyArg_ParseTuple(args,"sO:wxComboBox_SetValue",&_argc0,&_obj1))
1574 return NULL;
1575 if (_argc0) {
1576 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxComboBox_p")) {
1577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
1578 return NULL;
1579 }
1580 }
1581 {
1582 if (!PyString_Check(_obj1)) {
1583 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1584 return NULL;
1585 }
1586 _arg1 = new wxString(PyString_AsString(_obj1));
1587 }
1588 wxComboBox_SetValue(_arg0,*_arg1);
1589 Py_INCREF(Py_None);
1590 _resultobj = Py_None;
1591 {
1592 if (_obj1)
1593 delete _arg1;
1594 }
1595 return _resultobj;
1596 }
1597
1598 static void *SwigwxGaugeTowxControl(void *ptr) {
1599 wxGauge *src;
1600 wxControl *dest;
1601 src = (wxGauge *) ptr;
1602 dest = (wxControl *) src;
1603 return (void *) dest;
1604 }
1605
1606 static void *SwigwxGaugeTowxWindow(void *ptr) {
1607 wxGauge *src;
1608 wxWindow *dest;
1609 src = (wxGauge *) ptr;
1610 dest = (wxWindow *) src;
1611 return (void *) dest;
1612 }
1613
1614 static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
1615 wxGauge *src;
1616 wxEvtHandler *dest;
1617 src = (wxGauge *) ptr;
1618 dest = (wxEvtHandler *) src;
1619 return (void *) dest;
1620 }
1621
1622 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1623 static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args) {
1624 PyObject * _resultobj;
1625 wxGauge * _result;
1626 wxWindow * _arg0;
1627 wxWindowID _arg1;
1628 int _arg2;
1629 wxPoint * _arg3 = &wxPyDefaultPosition;
1630 wxSize * _arg4 = &wxPyDefaultSize;
1631 long _arg5 = (wxGA_HORIZONTAL);
1632 wxValidator * _arg6 = &wxPyDefaultValidator;
1633 char * _arg7 = "gauge";
1634 char * _argc0 = 0;
1635 char * _argc3 = 0;
1636 char * _argc4 = 0;
1637 char * _argc6 = 0;
1638 char _ptemp[128];
1639
1640 self = self;
1641 if(!PyArg_ParseTuple(args,"sii|sslss:new_wxGauge",&_argc0,&_arg1,&_arg2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
1642 return NULL;
1643 if (_argc0) {
1644 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
1646 return NULL;
1647 }
1648 }
1649 if (_argc3) {
1650 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
1651 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxGauge. Expected _wxPoint_p.");
1652 return NULL;
1653 }
1654 }
1655 if (_argc4) {
1656 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
1657 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxGauge. Expected _wxSize_p.");
1658 return NULL;
1659 }
1660 }
1661 if (_argc6) {
1662 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
1663 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
1664 return NULL;
1665 }
1666 }
1667 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
1668 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
1669 _resultobj = Py_BuildValue("s",_ptemp);
1670 return _resultobj;
1671 }
1672
1673 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
1674 static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args) {
1675 PyObject * _resultobj;
1676 int _result;
1677 wxGauge * _arg0;
1678 char * _argc0 = 0;
1679
1680 self = self;
1681 if(!PyArg_ParseTuple(args,"s:wxGauge_GetBezelFace",&_argc0))
1682 return NULL;
1683 if (_argc0) {
1684 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
1685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
1686 return NULL;
1687 }
1688 }
1689 _result = (int )wxGauge_GetBezelFace(_arg0);
1690 _resultobj = Py_BuildValue("i",_result);
1691 return _resultobj;
1692 }
1693
1694 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
1695 static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args) {
1696 PyObject * _resultobj;
1697 int _result;
1698 wxGauge * _arg0;
1699 char * _argc0 = 0;
1700
1701 self = self;
1702 if(!PyArg_ParseTuple(args,"s:wxGauge_GetRange",&_argc0))
1703 return NULL;
1704 if (_argc0) {
1705 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
1706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
1707 return NULL;
1708 }
1709 }
1710 _result = (int )wxGauge_GetRange(_arg0);
1711 _resultobj = Py_BuildValue("i",_result);
1712 return _resultobj;
1713 }
1714
1715 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
1716 static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args) {
1717 PyObject * _resultobj;
1718 int _result;
1719 wxGauge * _arg0;
1720 char * _argc0 = 0;
1721
1722 self = self;
1723 if(!PyArg_ParseTuple(args,"s:wxGauge_GetShadowWidth",&_argc0))
1724 return NULL;
1725 if (_argc0) {
1726 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
1727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
1728 return NULL;
1729 }
1730 }
1731 _result = (int )wxGauge_GetShadowWidth(_arg0);
1732 _resultobj = Py_BuildValue("i",_result);
1733 return _resultobj;
1734 }
1735
1736 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
1737 static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args) {
1738 PyObject * _resultobj;
1739 int _result;
1740 wxGauge * _arg0;
1741 char * _argc0 = 0;
1742
1743 self = self;
1744 if(!PyArg_ParseTuple(args,"s:wxGauge_GetValue",&_argc0))
1745 return NULL;
1746 if (_argc0) {
1747 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
1748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
1749 return NULL;
1750 }
1751 }
1752 _result = (int )wxGauge_GetValue(_arg0);
1753 _resultobj = Py_BuildValue("i",_result);
1754 return _resultobj;
1755 }
1756
1757 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
1758 static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args) {
1759 PyObject * _resultobj;
1760 wxGauge * _arg0;
1761 int _arg1;
1762 char * _argc0 = 0;
1763
1764 self = self;
1765 if(!PyArg_ParseTuple(args,"si:wxGauge_SetBezelFace",&_argc0,&_arg1))
1766 return NULL;
1767 if (_argc0) {
1768 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
1769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
1770 return NULL;
1771 }
1772 }
1773 wxGauge_SetBezelFace(_arg0,_arg1);
1774 Py_INCREF(Py_None);
1775 _resultobj = Py_None;
1776 return _resultobj;
1777 }
1778
1779 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
1780 static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args) {
1781 PyObject * _resultobj;
1782 wxGauge * _arg0;
1783 int _arg1;
1784 char * _argc0 = 0;
1785
1786 self = self;
1787 if(!PyArg_ParseTuple(args,"si:wxGauge_SetRange",&_argc0,&_arg1))
1788 return NULL;
1789 if (_argc0) {
1790 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
1791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
1792 return NULL;
1793 }
1794 }
1795 wxGauge_SetRange(_arg0,_arg1);
1796 Py_INCREF(Py_None);
1797 _resultobj = Py_None;
1798 return _resultobj;
1799 }
1800
1801 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
1802 static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args) {
1803 PyObject * _resultobj;
1804 wxGauge * _arg0;
1805 int _arg1;
1806 char * _argc0 = 0;
1807
1808 self = self;
1809 if(!PyArg_ParseTuple(args,"si:wxGauge_SetShadowWidth",&_argc0,&_arg1))
1810 return NULL;
1811 if (_argc0) {
1812 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
1813 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
1814 return NULL;
1815 }
1816 }
1817 wxGauge_SetShadowWidth(_arg0,_arg1);
1818 Py_INCREF(Py_None);
1819 _resultobj = Py_None;
1820 return _resultobj;
1821 }
1822
1823 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
1824 static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args) {
1825 PyObject * _resultobj;
1826 wxGauge * _arg0;
1827 int _arg1;
1828 char * _argc0 = 0;
1829
1830 self = self;
1831 if(!PyArg_ParseTuple(args,"si:wxGauge_SetValue",&_argc0,&_arg1))
1832 return NULL;
1833 if (_argc0) {
1834 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxGauge_p")) {
1835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
1836 return NULL;
1837 }
1838 }
1839 wxGauge_SetValue(_arg0,_arg1);
1840 Py_INCREF(Py_None);
1841 _resultobj = Py_None;
1842 return _resultobj;
1843 }
1844
1845 static void *SwigwxStaticBoxTowxControl(void *ptr) {
1846 wxStaticBox *src;
1847 wxControl *dest;
1848 src = (wxStaticBox *) ptr;
1849 dest = (wxControl *) src;
1850 return (void *) dest;
1851 }
1852
1853 static void *SwigwxStaticBoxTowxWindow(void *ptr) {
1854 wxStaticBox *src;
1855 wxWindow *dest;
1856 src = (wxStaticBox *) ptr;
1857 dest = (wxWindow *) src;
1858 return (void *) dest;
1859 }
1860
1861 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
1862 wxStaticBox *src;
1863 wxEvtHandler *dest;
1864 src = (wxStaticBox *) ptr;
1865 dest = (wxEvtHandler *) src;
1866 return (void *) dest;
1867 }
1868
1869 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1870 static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args) {
1871 PyObject * _resultobj;
1872 wxStaticBox * _result;
1873 wxWindow * _arg0;
1874 wxWindowID _arg1;
1875 wxString * _arg2;
1876 wxPoint * _arg3 = &wxPyDefaultPosition;
1877 wxSize * _arg4 = &wxPyDefaultSize;
1878 long _arg5 = 0;
1879 char * _arg6 = "staticBox";
1880 char * _argc0 = 0;
1881 PyObject * _obj2 = 0;
1882 char * _argc3 = 0;
1883 char * _argc4 = 0;
1884 char _ptemp[128];
1885
1886 self = self;
1887 if(!PyArg_ParseTuple(args,"siO|ssls:new_wxStaticBox",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6))
1888 return NULL;
1889 if (_argc0) {
1890 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
1892 return NULL;
1893 }
1894 }
1895 {
1896 if (!PyString_Check(_obj2)) {
1897 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1898 return NULL;
1899 }
1900 _arg2 = new wxString(PyString_AsString(_obj2));
1901 }
1902 if (_argc3) {
1903 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
1904 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticBox. Expected _wxPoint_p.");
1905 return NULL;
1906 }
1907 }
1908 if (_argc4) {
1909 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
1910 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxStaticBox. Expected _wxSize_p.");
1911 return NULL;
1912 }
1913 }
1914 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
1915 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
1916 _resultobj = Py_BuildValue("s",_ptemp);
1917 {
1918 if (_obj2)
1919 delete _arg2;
1920 }
1921 return _resultobj;
1922 }
1923
1924 static void *SwigwxStaticTextTowxControl(void *ptr) {
1925 wxStaticText *src;
1926 wxControl *dest;
1927 src = (wxStaticText *) ptr;
1928 dest = (wxControl *) src;
1929 return (void *) dest;
1930 }
1931
1932 static void *SwigwxStaticTextTowxWindow(void *ptr) {
1933 wxStaticText *src;
1934 wxWindow *dest;
1935 src = (wxStaticText *) ptr;
1936 dest = (wxWindow *) src;
1937 return (void *) dest;
1938 }
1939
1940 static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
1941 wxStaticText *src;
1942 wxEvtHandler *dest;
1943 src = (wxStaticText *) ptr;
1944 dest = (wxEvtHandler *) src;
1945 return (void *) dest;
1946 }
1947
1948 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
1949 static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args) {
1950 PyObject * _resultobj;
1951 wxStaticText * _result;
1952 wxWindow * _arg0;
1953 wxWindowID _arg1;
1954 wxString * _arg2;
1955 wxPoint * _arg3 = &wxPyDefaultPosition;
1956 wxSize * _arg4 = &wxPyDefaultSize;
1957 long _arg5 = 0;
1958 char * _arg6 = "staticText";
1959 char * _argc0 = 0;
1960 PyObject * _obj2 = 0;
1961 char * _argc3 = 0;
1962 char * _argc4 = 0;
1963 char _ptemp[128];
1964
1965 self = self;
1966 if(!PyArg_ParseTuple(args,"siO|ssls:new_wxStaticText",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_arg6))
1967 return NULL;
1968 if (_argc0) {
1969 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
1970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
1971 return NULL;
1972 }
1973 }
1974 {
1975 if (!PyString_Check(_obj2)) {
1976 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1977 return NULL;
1978 }
1979 _arg2 = new wxString(PyString_AsString(_obj2));
1980 }
1981 if (_argc3) {
1982 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
1983 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticText. Expected _wxPoint_p.");
1984 return NULL;
1985 }
1986 }
1987 if (_argc4) {
1988 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
1989 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxStaticText. Expected _wxSize_p.");
1990 return NULL;
1991 }
1992 }
1993 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
1994 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
1995 _resultobj = Py_BuildValue("s",_ptemp);
1996 {
1997 if (_obj2)
1998 delete _arg2;
1999 }
2000 return _resultobj;
2001 }
2002
2003 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
2004 static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args) {
2005 PyObject * _resultobj;
2006 wxString * _result;
2007 wxStaticText * _arg0;
2008 char * _argc0 = 0;
2009
2010 self = self;
2011 if(!PyArg_ParseTuple(args,"s:wxStaticText_GetLabel",&_argc0))
2012 return NULL;
2013 if (_argc0) {
2014 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticText_p")) {
2015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
2016 return NULL;
2017 }
2018 }
2019 _result = new wxString (wxStaticText_GetLabel(_arg0));
2020 {
2021 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2022 }
2023 {
2024 delete _result;
2025 }
2026 return _resultobj;
2027 }
2028
2029 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
2030 static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args) {
2031 PyObject * _resultobj;
2032 wxStaticText * _arg0;
2033 wxString * _arg1;
2034 char * _argc0 = 0;
2035 PyObject * _obj1 = 0;
2036
2037 self = self;
2038 if(!PyArg_ParseTuple(args,"sO:wxStaticText_SetLabel",&_argc0,&_obj1))
2039 return NULL;
2040 if (_argc0) {
2041 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticText_p")) {
2042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
2043 return NULL;
2044 }
2045 }
2046 {
2047 if (!PyString_Check(_obj1)) {
2048 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2049 return NULL;
2050 }
2051 _arg1 = new wxString(PyString_AsString(_obj1));
2052 }
2053 wxStaticText_SetLabel(_arg0,*_arg1);
2054 Py_INCREF(Py_None);
2055 _resultobj = Py_None;
2056 {
2057 if (_obj1)
2058 delete _arg1;
2059 }
2060 return _resultobj;
2061 }
2062
2063 static void *SwigwxListBoxTowxControl(void *ptr) {
2064 wxListBox *src;
2065 wxControl *dest;
2066 src = (wxListBox *) ptr;
2067 dest = (wxControl *) src;
2068 return (void *) dest;
2069 }
2070
2071 static void *SwigwxListBoxTowxWindow(void *ptr) {
2072 wxListBox *src;
2073 wxWindow *dest;
2074 src = (wxListBox *) ptr;
2075 dest = (wxWindow *) src;
2076 return (void *) dest;
2077 }
2078
2079 static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
2080 wxListBox *src;
2081 wxEvtHandler *dest;
2082 src = (wxListBox *) ptr;
2083 dest = (wxEvtHandler *) src;
2084 return (void *) dest;
2085 }
2086
2087 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2088 static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args) {
2089 PyObject * _resultobj;
2090 wxListBox * _result;
2091 wxWindow * _arg0;
2092 wxWindowID _arg1;
2093 wxPoint * _arg2 = &wxPyDefaultPosition;
2094 wxSize * _arg3 = &wxPyDefaultSize;
2095 int _arg4;
2096 wxString * _arg5 = NULL;
2097 long _arg6 = 0;
2098 wxValidator * _arg7 = &wxPyDefaultValidator;
2099 char * _arg8 = "listBox";
2100 char * _argc0 = 0;
2101 char * _argc2 = 0;
2102 char * _argc3 = 0;
2103 PyObject * _obj5 = 0;
2104 char * _argc7 = 0;
2105 char _ptemp[128];
2106
2107 self = self;
2108 if(!PyArg_ParseTuple(args,"si|ssOlss:new_wxListBox",&_argc0,&_arg1,&_argc2,&_argc3,&_obj5,&_arg6,&_argc7,&_arg8))
2109 return NULL;
2110 if (_argc0) {
2111 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
2113 return NULL;
2114 }
2115 }
2116 if (_argc2) {
2117 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2118 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListBox. Expected _wxPoint_p.");
2119 return NULL;
2120 }
2121 }
2122 if (_argc3) {
2123 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2124 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxListBox. Expected _wxSize_p.");
2125 return NULL;
2126 }
2127 }
2128 if (_obj5)
2129 {
2130 _arg5 = wxString_LIST_helper(_obj5);
2131 if (_arg5 == NULL) {
2132 return NULL;
2133 }
2134 }
2135 if (_argc7) {
2136 if (SWIG_GetPtr(_argc7,(void **) &_arg7,"_wxValidator_p")) {
2137 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
2138 return NULL;
2139 }
2140 }
2141 {
2142 _arg4 = PyList_Size(_obj5);
2143 }
2144 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,_arg8);
2145 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
2146 _resultobj = Py_BuildValue("s",_ptemp);
2147 {
2148 delete [] _arg5;
2149 }
2150 return _resultobj;
2151 }
2152
2153 #define wxListBox_Append(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
2154 static PyObject *_wrap_wxListBox_Append(PyObject *self, PyObject *args) {
2155 PyObject * _resultobj;
2156 wxListBox * _arg0;
2157 wxString * _arg1;
2158 char * _argc0 = 0;
2159 PyObject * _obj1 = 0;
2160
2161 self = self;
2162 if(!PyArg_ParseTuple(args,"sO:wxListBox_Append",&_argc0,&_obj1))
2163 return NULL;
2164 if (_argc0) {
2165 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2166 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Append. Expected _wxListBox_p.");
2167 return NULL;
2168 }
2169 }
2170 {
2171 if (!PyString_Check(_obj1)) {
2172 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2173 return NULL;
2174 }
2175 _arg1 = new wxString(PyString_AsString(_obj1));
2176 }
2177 wxListBox_Append(_arg0,*_arg1);
2178 Py_INCREF(Py_None);
2179 _resultobj = Py_None;
2180 {
2181 if (_obj1)
2182 delete _arg1;
2183 }
2184 return _resultobj;
2185 }
2186
2187 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
2188 static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args) {
2189 PyObject * _resultobj;
2190 wxListBox * _arg0;
2191 char * _argc0 = 0;
2192
2193 self = self;
2194 if(!PyArg_ParseTuple(args,"s:wxListBox_Clear",&_argc0))
2195 return NULL;
2196 if (_argc0) {
2197 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
2199 return NULL;
2200 }
2201 }
2202 wxListBox_Clear(_arg0);
2203 Py_INCREF(Py_None);
2204 _resultobj = Py_None;
2205 return _resultobj;
2206 }
2207
2208 #define wxListBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
2209 static PyObject *_wrap_wxListBox_Delete(PyObject *self, PyObject *args) {
2210 PyObject * _resultobj;
2211 wxListBox * _arg0;
2212 int _arg1;
2213 char * _argc0 = 0;
2214
2215 self = self;
2216 if(!PyArg_ParseTuple(args,"si:wxListBox_Delete",&_argc0,&_arg1))
2217 return NULL;
2218 if (_argc0) {
2219 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Delete. Expected _wxListBox_p.");
2221 return NULL;
2222 }
2223 }
2224 wxListBox_Delete(_arg0,_arg1);
2225 Py_INCREF(Py_None);
2226 _resultobj = Py_None;
2227 return _resultobj;
2228 }
2229
2230 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
2231 static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args) {
2232 PyObject * _resultobj;
2233 wxListBox * _arg0;
2234 int _arg1;
2235 char * _argc0 = 0;
2236
2237 self = self;
2238 if(!PyArg_ParseTuple(args,"si:wxListBox_Deselect",&_argc0,&_arg1))
2239 return NULL;
2240 if (_argc0) {
2241 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
2243 return NULL;
2244 }
2245 }
2246 wxListBox_Deselect(_arg0,_arg1);
2247 Py_INCREF(Py_None);
2248 _resultobj = Py_None;
2249 return _resultobj;
2250 }
2251
2252 #define wxListBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
2253 static PyObject *_wrap_wxListBox_FindString(PyObject *self, PyObject *args) {
2254 PyObject * _resultobj;
2255 int _result;
2256 wxListBox * _arg0;
2257 wxString * _arg1;
2258 char * _argc0 = 0;
2259 PyObject * _obj1 = 0;
2260
2261 self = self;
2262 if(!PyArg_ParseTuple(args,"sO:wxListBox_FindString",&_argc0,&_obj1))
2263 return NULL;
2264 if (_argc0) {
2265 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_FindString. Expected _wxListBox_p.");
2267 return NULL;
2268 }
2269 }
2270 {
2271 if (!PyString_Check(_obj1)) {
2272 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2273 return NULL;
2274 }
2275 _arg1 = new wxString(PyString_AsString(_obj1));
2276 }
2277 _result = (int )wxListBox_FindString(_arg0,*_arg1);
2278 _resultobj = Py_BuildValue("i",_result);
2279 {
2280 if (_obj1)
2281 delete _arg1;
2282 }
2283 return _resultobj;
2284 }
2285
2286 #define wxListBox_GetSelection(_swigobj) (_swigobj->GetSelection())
2287 static PyObject *_wrap_wxListBox_GetSelection(PyObject *self, PyObject *args) {
2288 PyObject * _resultobj;
2289 int _result;
2290 wxListBox * _arg0;
2291 char * _argc0 = 0;
2292
2293 self = self;
2294 if(!PyArg_ParseTuple(args,"s:wxListBox_GetSelection",&_argc0))
2295 return NULL;
2296 if (_argc0) {
2297 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelection. Expected _wxListBox_p.");
2299 return NULL;
2300 }
2301 }
2302 _result = (int )wxListBox_GetSelection(_arg0);
2303 _resultobj = Py_BuildValue("i",_result);
2304 return _resultobj;
2305 }
2306
2307 #define wxListBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
2308 static PyObject *_wrap_wxListBox_GetString(PyObject *self, PyObject *args) {
2309 PyObject * _resultobj;
2310 wxString * _result;
2311 wxListBox * _arg0;
2312 int _arg1;
2313 char * _argc0 = 0;
2314
2315 self = self;
2316 if(!PyArg_ParseTuple(args,"si:wxListBox_GetString",&_argc0,&_arg1))
2317 return NULL;
2318 if (_argc0) {
2319 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetString. Expected _wxListBox_p.");
2321 return NULL;
2322 }
2323 }
2324 _result = new wxString (wxListBox_GetString(_arg0,_arg1));
2325 {
2326 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2327 }
2328 {
2329 delete _result;
2330 }
2331 return _resultobj;
2332 }
2333
2334 #define wxListBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
2335 static PyObject *_wrap_wxListBox_GetStringSelection(PyObject *self, PyObject *args) {
2336 PyObject * _resultobj;
2337 wxString * _result;
2338 wxListBox * _arg0;
2339 char * _argc0 = 0;
2340
2341 self = self;
2342 if(!PyArg_ParseTuple(args,"s:wxListBox_GetStringSelection",&_argc0))
2343 return NULL;
2344 if (_argc0) {
2345 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetStringSelection. Expected _wxListBox_p.");
2347 return NULL;
2348 }
2349 }
2350 _result = new wxString (wxListBox_GetStringSelection(_arg0));
2351 {
2352 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2353 }
2354 {
2355 delete _result;
2356 }
2357 return _resultobj;
2358 }
2359
2360 #define wxListBox_Number(_swigobj) (_swigobj->Number())
2361 static PyObject *_wrap_wxListBox_Number(PyObject *self, PyObject *args) {
2362 PyObject * _resultobj;
2363 int _result;
2364 wxListBox * _arg0;
2365 char * _argc0 = 0;
2366
2367 self = self;
2368 if(!PyArg_ParseTuple(args,"s:wxListBox_Number",&_argc0))
2369 return NULL;
2370 if (_argc0) {
2371 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Number. Expected _wxListBox_p.");
2373 return NULL;
2374 }
2375 }
2376 _result = (int )wxListBox_Number(_arg0);
2377 _resultobj = Py_BuildValue("i",_result);
2378 return _resultobj;
2379 }
2380
2381 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
2382 static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args) {
2383 PyObject * _resultobj;
2384 bool _result;
2385 wxListBox * _arg0;
2386 int _arg1;
2387 char * _argc0 = 0;
2388
2389 self = self;
2390 if(!PyArg_ParseTuple(args,"si:wxListBox_Selected",&_argc0,&_arg1))
2391 return NULL;
2392 if (_argc0) {
2393 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
2395 return NULL;
2396 }
2397 }
2398 _result = (bool )wxListBox_Selected(_arg0,_arg1);
2399 _resultobj = Py_BuildValue("i",_result);
2400 return _resultobj;
2401 }
2402
2403 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
2404 static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args) {
2405 PyObject * _resultobj;
2406 wxListBox * _arg0;
2407 int _arg1;
2408 wxString * _arg2;
2409 char * _argc0 = 0;
2410 PyObject * _obj2 = 0;
2411
2412 self = self;
2413 if(!PyArg_ParseTuple(args,"sO:wxListBox_Set",&_argc0,&_obj2))
2414 return NULL;
2415 if (_argc0) {
2416 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2417 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
2418 return NULL;
2419 }
2420 }
2421 if (_obj2)
2422 {
2423 _arg2 = wxString_LIST_helper(_obj2);
2424 if (_arg2 == NULL) {
2425 return NULL;
2426 }
2427 }
2428 {
2429 _arg1 = PyList_Size(_obj2);
2430 }
2431 wxListBox_Set(_arg0,_arg1,_arg2);
2432 Py_INCREF(Py_None);
2433 _resultobj = Py_None;
2434 {
2435 delete [] _arg2;
2436 }
2437 return _resultobj;
2438 }
2439
2440 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
2441 static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args) {
2442 PyObject * _resultobj;
2443 wxListBox * _arg0;
2444 int _arg1;
2445 char * _argc0 = 0;
2446
2447 self = self;
2448 if(!PyArg_ParseTuple(args,"si:wxListBox_SetFirstItem",&_argc0,&_arg1))
2449 return NULL;
2450 if (_argc0) {
2451 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
2453 return NULL;
2454 }
2455 }
2456 wxListBox_SetFirstItem(_arg0,_arg1);
2457 Py_INCREF(Py_None);
2458 _resultobj = Py_None;
2459 return _resultobj;
2460 }
2461
2462 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
2463 static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args) {
2464 PyObject * _resultobj;
2465 wxListBox * _arg0;
2466 wxString * _arg1;
2467 char * _argc0 = 0;
2468 PyObject * _obj1 = 0;
2469
2470 self = self;
2471 if(!PyArg_ParseTuple(args,"sO:wxListBox_SetFirstItemStr",&_argc0,&_obj1))
2472 return NULL;
2473 if (_argc0) {
2474 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
2476 return NULL;
2477 }
2478 }
2479 {
2480 if (!PyString_Check(_obj1)) {
2481 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2482 return NULL;
2483 }
2484 _arg1 = new wxString(PyString_AsString(_obj1));
2485 }
2486 wxListBox_SetFirstItemStr(_arg0,*_arg1);
2487 Py_INCREF(Py_None);
2488 _resultobj = Py_None;
2489 {
2490 if (_obj1)
2491 delete _arg1;
2492 }
2493 return _resultobj;
2494 }
2495
2496 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
2497 static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args) {
2498 PyObject * _resultobj;
2499 wxListBox * _arg0;
2500 int _arg1;
2501 bool _arg2 = (1);
2502 char * _argc0 = 0;
2503 int tempbool2;
2504
2505 self = self;
2506 if(!PyArg_ParseTuple(args,"si|i:wxListBox_SetSelection",&_argc0,&_arg1,&tempbool2))
2507 return NULL;
2508 if (_argc0) {
2509 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
2511 return NULL;
2512 }
2513 }
2514 _arg2 = (bool ) tempbool2;
2515 wxListBox_SetSelection(_arg0,_arg1,_arg2);
2516 Py_INCREF(Py_None);
2517 _resultobj = Py_None;
2518 return _resultobj;
2519 }
2520
2521 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2522 static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args) {
2523 PyObject * _resultobj;
2524 wxListBox * _arg0;
2525 int _arg1;
2526 wxString * _arg2;
2527 char * _argc0 = 0;
2528 PyObject * _obj2 = 0;
2529
2530 self = self;
2531 if(!PyArg_ParseTuple(args,"siO:wxListBox_SetString",&_argc0,&_arg1,&_obj2))
2532 return NULL;
2533 if (_argc0) {
2534 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
2536 return NULL;
2537 }
2538 }
2539 {
2540 if (!PyString_Check(_obj2)) {
2541 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2542 return NULL;
2543 }
2544 _arg2 = new wxString(PyString_AsString(_obj2));
2545 }
2546 wxListBox_SetString(_arg0,_arg1,*_arg2);
2547 Py_INCREF(Py_None);
2548 _resultobj = Py_None;
2549 {
2550 if (_obj2)
2551 delete _arg2;
2552 }
2553 return _resultobj;
2554 }
2555
2556 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
2557 static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args) {
2558 PyObject * _resultobj;
2559 wxListBox * _arg0;
2560 wxString * _arg1;
2561 bool _arg2 = (1);
2562 char * _argc0 = 0;
2563 PyObject * _obj1 = 0;
2564 int tempbool2;
2565
2566 self = self;
2567 if(!PyArg_ParseTuple(args,"sO|i:wxListBox_SetStringSelection",&_argc0,&_obj1,&tempbool2))
2568 return NULL;
2569 if (_argc0) {
2570 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListBox_p")) {
2571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
2572 return NULL;
2573 }
2574 }
2575 {
2576 if (!PyString_Check(_obj1)) {
2577 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2578 return NULL;
2579 }
2580 _arg1 = new wxString(PyString_AsString(_obj1));
2581 }
2582 _arg2 = (bool ) tempbool2;
2583 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
2584 Py_INCREF(Py_None);
2585 _resultobj = Py_None;
2586 {
2587 if (_obj1)
2588 delete _arg1;
2589 }
2590 return _resultobj;
2591 }
2592
2593 static void *SwigwxTextCtrlTowxControl(void *ptr) {
2594 wxTextCtrl *src;
2595 wxControl *dest;
2596 src = (wxTextCtrl *) ptr;
2597 dest = (wxControl *) src;
2598 return (void *) dest;
2599 }
2600
2601 static void *SwigwxTextCtrlTowxWindow(void *ptr) {
2602 wxTextCtrl *src;
2603 wxWindow *dest;
2604 src = (wxTextCtrl *) ptr;
2605 dest = (wxWindow *) src;
2606 return (void *) dest;
2607 }
2608
2609 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
2610 wxTextCtrl *src;
2611 wxEvtHandler *dest;
2612 src = (wxTextCtrl *) ptr;
2613 dest = (wxEvtHandler *) src;
2614 return (void *) dest;
2615 }
2616
2617 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2618 static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args) {
2619 PyObject * _resultobj;
2620 wxTextCtrl * _result;
2621 wxWindow * _arg0;
2622 wxWindowID _arg1;
2623 char * _arg2 = "";
2624 wxPoint * _arg3 = &wxPyDefaultPosition;
2625 wxSize * _arg4 = &wxPyDefaultSize;
2626 long _arg5 = 0;
2627 wxValidator * _arg6 = &wxPyDefaultValidator;
2628 char * _arg7 = "text";
2629 char * _argc0 = 0;
2630 char * _argc3 = 0;
2631 char * _argc4 = 0;
2632 char * _argc6 = 0;
2633 char _ptemp[128];
2634
2635 self = self;
2636 if(!PyArg_ParseTuple(args,"si|ssslss:new_wxTextCtrl",&_argc0,&_arg1,&_arg2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
2637 return NULL;
2638 if (_argc0) {
2639 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
2641 return NULL;
2642 }
2643 }
2644 if (_argc3) {
2645 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
2646 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTextCtrl. Expected _wxPoint_p.");
2647 return NULL;
2648 }
2649 }
2650 if (_argc4) {
2651 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
2652 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxTextCtrl. Expected _wxSize_p.");
2653 return NULL;
2654 }
2655 }
2656 if (_argc6) {
2657 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
2658 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
2659 return NULL;
2660 }
2661 }
2662 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
2663 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
2664 _resultobj = Py_BuildValue("s",_ptemp);
2665 return _resultobj;
2666 }
2667
2668 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
2669 static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args) {
2670 PyObject * _resultobj;
2671 wxTextCtrl * _arg0;
2672 char * _argc0 = 0;
2673
2674 self = self;
2675 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Clear",&_argc0))
2676 return NULL;
2677 if (_argc0) {
2678 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
2680 return NULL;
2681 }
2682 }
2683 wxTextCtrl_Clear(_arg0);
2684 Py_INCREF(Py_None);
2685 _resultobj = Py_None;
2686 return _resultobj;
2687 }
2688
2689 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
2690 static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args) {
2691 PyObject * _resultobj;
2692 wxTextCtrl * _arg0;
2693 char * _argc0 = 0;
2694
2695 self = self;
2696 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Copy",&_argc0))
2697 return NULL;
2698 if (_argc0) {
2699 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2700 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
2701 return NULL;
2702 }
2703 }
2704 wxTextCtrl_Copy(_arg0);
2705 Py_INCREF(Py_None);
2706 _resultobj = Py_None;
2707 return _resultobj;
2708 }
2709
2710 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
2711 static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args) {
2712 PyObject * _resultobj;
2713 wxTextCtrl * _arg0;
2714 char * _argc0 = 0;
2715
2716 self = self;
2717 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Cut",&_argc0))
2718 return NULL;
2719 if (_argc0) {
2720 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
2722 return NULL;
2723 }
2724 }
2725 wxTextCtrl_Cut(_arg0);
2726 Py_INCREF(Py_None);
2727 _resultobj = Py_None;
2728 return _resultobj;
2729 }
2730
2731 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
2732 static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args) {
2733 PyObject * _resultobj;
2734 wxTextCtrl * _arg0;
2735 char * _argc0 = 0;
2736
2737 self = self;
2738 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_DiscardEdits",&_argc0))
2739 return NULL;
2740 if (_argc0) {
2741 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
2743 return NULL;
2744 }
2745 }
2746 wxTextCtrl_DiscardEdits(_arg0);
2747 Py_INCREF(Py_None);
2748 _resultobj = Py_None;
2749 return _resultobj;
2750 }
2751
2752 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2753 static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args) {
2754 PyObject * _resultobj;
2755 long _result;
2756 wxTextCtrl * _arg0;
2757 char * _argc0 = 0;
2758
2759 self = self;
2760 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetInsertionPoint",&_argc0))
2761 return NULL;
2762 if (_argc0) {
2763 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
2765 return NULL;
2766 }
2767 }
2768 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
2769 _resultobj = Py_BuildValue("l",_result);
2770 return _resultobj;
2771 }
2772
2773 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2774 static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args) {
2775 PyObject * _resultobj;
2776 long _result;
2777 wxTextCtrl * _arg0;
2778 char * _argc0 = 0;
2779
2780 self = self;
2781 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetLastPosition",&_argc0))
2782 return NULL;
2783 if (_argc0) {
2784 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
2786 return NULL;
2787 }
2788 }
2789 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
2790 _resultobj = Py_BuildValue("l",_result);
2791 return _resultobj;
2792 }
2793
2794 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
2795 static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args) {
2796 PyObject * _resultobj;
2797 wxString * _result;
2798 wxTextCtrl * _arg0;
2799 char * _argc0 = 0;
2800
2801 self = self;
2802 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_GetValue",&_argc0))
2803 return NULL;
2804 if (_argc0) {
2805 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
2807 return NULL;
2808 }
2809 }
2810 _result = new wxString (wxTextCtrl_GetValue(_arg0));
2811 {
2812 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2813 }
2814 {
2815 delete _result;
2816 }
2817 return _resultobj;
2818 }
2819
2820 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
2821 static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args) {
2822 PyObject * _resultobj;
2823 bool _result;
2824 wxTextCtrl * _arg0;
2825 char * _argc0 = 0;
2826
2827 self = self;
2828 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_IsModified",&_argc0))
2829 return NULL;
2830 if (_argc0) {
2831 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
2833 return NULL;
2834 }
2835 }
2836 _result = (bool )wxTextCtrl_IsModified(_arg0);
2837 _resultobj = Py_BuildValue("i",_result);
2838 return _resultobj;
2839 }
2840
2841 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
2842 static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args) {
2843 PyObject * _resultobj;
2844 bool _result;
2845 wxTextCtrl * _arg0;
2846 wxString * _arg1;
2847 char * _argc0 = 0;
2848 PyObject * _obj1 = 0;
2849
2850 self = self;
2851 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_LoadFile",&_argc0,&_obj1))
2852 return NULL;
2853 if (_argc0) {
2854 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
2856 return NULL;
2857 }
2858 }
2859 {
2860 if (!PyString_Check(_obj1)) {
2861 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2862 return NULL;
2863 }
2864 _arg1 = new wxString(PyString_AsString(_obj1));
2865 }
2866 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
2867 _resultobj = Py_BuildValue("i",_result);
2868 {
2869 if (_obj1)
2870 delete _arg1;
2871 }
2872 return _resultobj;
2873 }
2874
2875 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
2876 static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args) {
2877 PyObject * _resultobj;
2878 wxTextCtrl * _arg0;
2879 char * _argc0 = 0;
2880
2881 self = self;
2882 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_Paste",&_argc0))
2883 return NULL;
2884 if (_argc0) {
2885 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
2887 return NULL;
2888 }
2889 }
2890 wxTextCtrl_Paste(_arg0);
2891 Py_INCREF(Py_None);
2892 _resultobj = Py_None;
2893 return _resultobj;
2894 }
2895
2896 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
2897 static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args) {
2898 PyObject * _resultobj;
2899 wxTextCtrl * _arg0;
2900 long _arg1;
2901 long _arg2;
2902 char * _argc0 = 0;
2903
2904 self = self;
2905 if(!PyArg_ParseTuple(args,"sll:wxTextCtrl_Remove",&_argc0,&_arg1,&_arg2))
2906 return NULL;
2907 if (_argc0) {
2908 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
2910 return NULL;
2911 }
2912 }
2913 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
2914 Py_INCREF(Py_None);
2915 _resultobj = Py_None;
2916 return _resultobj;
2917 }
2918
2919 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2920 static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args) {
2921 PyObject * _resultobj;
2922 wxTextCtrl * _arg0;
2923 long _arg1;
2924 long _arg2;
2925 wxString * _arg3;
2926 char * _argc0 = 0;
2927 PyObject * _obj3 = 0;
2928
2929 self = self;
2930 if(!PyArg_ParseTuple(args,"sllO:wxTextCtrl_Replace",&_argc0,&_arg1,&_arg2,&_obj3))
2931 return NULL;
2932 if (_argc0) {
2933 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
2935 return NULL;
2936 }
2937 }
2938 {
2939 if (!PyString_Check(_obj3)) {
2940 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2941 return NULL;
2942 }
2943 _arg3 = new wxString(PyString_AsString(_obj3));
2944 }
2945 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
2946 Py_INCREF(Py_None);
2947 _resultobj = Py_None;
2948 {
2949 if (_obj3)
2950 delete _arg3;
2951 }
2952 return _resultobj;
2953 }
2954
2955 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
2956 static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args) {
2957 PyObject * _resultobj;
2958 bool _result;
2959 wxTextCtrl * _arg0;
2960 wxString * _arg1;
2961 char * _argc0 = 0;
2962 PyObject * _obj1 = 0;
2963
2964 self = self;
2965 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_SaveFile",&_argc0,&_obj1))
2966 return NULL;
2967 if (_argc0) {
2968 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
2969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
2970 return NULL;
2971 }
2972 }
2973 {
2974 if (!PyString_Check(_obj1)) {
2975 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2976 return NULL;
2977 }
2978 _arg1 = new wxString(PyString_AsString(_obj1));
2979 }
2980 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
2981 _resultobj = Py_BuildValue("i",_result);
2982 {
2983 if (_obj1)
2984 delete _arg1;
2985 }
2986 return _resultobj;
2987 }
2988
2989 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
2990 static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args) {
2991 PyObject * _resultobj;
2992 wxTextCtrl * _arg0;
2993 bool _arg1;
2994 char * _argc0 = 0;
2995 int tempbool1;
2996
2997 self = self;
2998 if(!PyArg_ParseTuple(args,"si:wxTextCtrl_SetEditable",&_argc0,&tempbool1))
2999 return NULL;
3000 if (_argc0) {
3001 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
3003 return NULL;
3004 }
3005 }
3006 _arg1 = (bool ) tempbool1;
3007 wxTextCtrl_SetEditable(_arg0,_arg1);
3008 Py_INCREF(Py_None);
3009 _resultobj = Py_None;
3010 return _resultobj;
3011 }
3012
3013 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3014 static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args) {
3015 PyObject * _resultobj;
3016 wxTextCtrl * _arg0;
3017 long _arg1;
3018 char * _argc0 = 0;
3019
3020 self = self;
3021 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_SetInsertionPoint",&_argc0,&_arg1))
3022 return NULL;
3023 if (_argc0) {
3024 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
3026 return NULL;
3027 }
3028 }
3029 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
3030 Py_INCREF(Py_None);
3031 _resultobj = Py_None;
3032 return _resultobj;
3033 }
3034
3035 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3036 static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args) {
3037 PyObject * _resultobj;
3038 wxTextCtrl * _arg0;
3039 char * _argc0 = 0;
3040
3041 self = self;
3042 if(!PyArg_ParseTuple(args,"s:wxTextCtrl_SetInsertionPointEnd",&_argc0))
3043 return NULL;
3044 if (_argc0) {
3045 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
3047 return NULL;
3048 }
3049 }
3050 wxTextCtrl_SetInsertionPointEnd(_arg0);
3051 Py_INCREF(Py_None);
3052 _resultobj = Py_None;
3053 return _resultobj;
3054 }
3055
3056 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3057 static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args) {
3058 PyObject * _resultobj;
3059 wxTextCtrl * _arg0;
3060 long _arg1;
3061 long _arg2;
3062 char * _argc0 = 0;
3063
3064 self = self;
3065 if(!PyArg_ParseTuple(args,"sll:wxTextCtrl_SetSelection",&_argc0,&_arg1,&_arg2))
3066 return NULL;
3067 if (_argc0) {
3068 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
3070 return NULL;
3071 }
3072 }
3073 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
3074 Py_INCREF(Py_None);
3075 _resultobj = Py_None;
3076 return _resultobj;
3077 }
3078
3079 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3080 static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args) {
3081 PyObject * _resultobj;
3082 wxTextCtrl * _arg0;
3083 wxString * _arg1;
3084 char * _argc0 = 0;
3085 PyObject * _obj1 = 0;
3086
3087 self = self;
3088 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_SetValue",&_argc0,&_obj1))
3089 return NULL;
3090 if (_argc0) {
3091 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
3093 return NULL;
3094 }
3095 }
3096 {
3097 if (!PyString_Check(_obj1)) {
3098 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3099 return NULL;
3100 }
3101 _arg1 = new wxString(PyString_AsString(_obj1));
3102 }
3103 wxTextCtrl_SetValue(_arg0,*_arg1);
3104 Py_INCREF(Py_None);
3105 _resultobj = Py_None;
3106 {
3107 if (_obj1)
3108 delete _arg1;
3109 }
3110 return _resultobj;
3111 }
3112
3113 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
3114 static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args) {
3115 PyObject * _resultobj;
3116 wxTextCtrl * _arg0;
3117 long _arg1;
3118 char * _argc0 = 0;
3119
3120 self = self;
3121 if(!PyArg_ParseTuple(args,"sl:wxTextCtrl_ShowPosition",&_argc0,&_arg1))
3122 return NULL;
3123 if (_argc0) {
3124 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
3126 return NULL;
3127 }
3128 }
3129 wxTextCtrl_ShowPosition(_arg0,_arg1);
3130 Py_INCREF(Py_None);
3131 _resultobj = Py_None;
3132 return _resultobj;
3133 }
3134
3135 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
3136 static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args) {
3137 PyObject * _resultobj;
3138 wxTextCtrl * _arg0;
3139 wxString * _arg1;
3140 char * _argc0 = 0;
3141 PyObject * _obj1 = 0;
3142
3143 self = self;
3144 if(!PyArg_ParseTuple(args,"sO:wxTextCtrl_WriteText",&_argc0,&_obj1))
3145 return NULL;
3146 if (_argc0) {
3147 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTextCtrl_p")) {
3148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
3149 return NULL;
3150 }
3151 }
3152 {
3153 if (!PyString_Check(_obj1)) {
3154 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3155 return NULL;
3156 }
3157 _arg1 = new wxString(PyString_AsString(_obj1));
3158 }
3159 wxTextCtrl_WriteText(_arg0,*_arg1);
3160 Py_INCREF(Py_None);
3161 _resultobj = Py_None;
3162 {
3163 if (_obj1)
3164 delete _arg1;
3165 }
3166 return _resultobj;
3167 }
3168
3169 static void *SwigwxScrollBarTowxControl(void *ptr) {
3170 wxScrollBar *src;
3171 wxControl *dest;
3172 src = (wxScrollBar *) ptr;
3173 dest = (wxControl *) src;
3174 return (void *) dest;
3175 }
3176
3177 static void *SwigwxScrollBarTowxWindow(void *ptr) {
3178 wxScrollBar *src;
3179 wxWindow *dest;
3180 src = (wxScrollBar *) ptr;
3181 dest = (wxWindow *) src;
3182 return (void *) dest;
3183 }
3184
3185 static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
3186 wxScrollBar *src;
3187 wxEvtHandler *dest;
3188 src = (wxScrollBar *) ptr;
3189 dest = (wxEvtHandler *) src;
3190 return (void *) dest;
3191 }
3192
3193 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3194 static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args) {
3195 PyObject * _resultobj;
3196 wxScrollBar * _result;
3197 wxWindow * _arg0;
3198 wxWindowID _arg1 = -1;
3199 wxPoint * _arg2 = &wxPyDefaultPosition;
3200 wxSize * _arg3 = &wxPyDefaultSize;
3201 long _arg4 = (wxSB_HORIZONTAL);
3202 wxValidator * _arg5 = &wxPyDefaultValidator;
3203 char * _arg6 = "scrollBar";
3204 char * _argc0 = 0;
3205 char * _argc2 = 0;
3206 char * _argc3 = 0;
3207 char * _argc5 = 0;
3208 char _ptemp[128];
3209
3210 self = self;
3211 if(!PyArg_ParseTuple(args,"s|isslss:new_wxScrollBar",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6))
3212 return NULL;
3213 if (_argc0) {
3214 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
3216 return NULL;
3217 }
3218 }
3219 if (_argc2) {
3220 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
3221 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxScrollBar. Expected _wxPoint_p.");
3222 return NULL;
3223 }
3224 }
3225 if (_argc3) {
3226 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
3227 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxScrollBar. Expected _wxSize_p.");
3228 return NULL;
3229 }
3230 }
3231 if (_argc5) {
3232 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxValidator_p")) {
3233 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
3234 return NULL;
3235 }
3236 }
3237 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
3238 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
3239 _resultobj = Py_BuildValue("s",_ptemp);
3240 return _resultobj;
3241 }
3242
3243 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
3244 static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args) {
3245 PyObject * _resultobj;
3246 int _result;
3247 wxScrollBar * _arg0;
3248 char * _argc0 = 0;
3249
3250 self = self;
3251 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetRange",&_argc0))
3252 return NULL;
3253 if (_argc0) {
3254 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
3255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
3256 return NULL;
3257 }
3258 }
3259 _result = (int )wxScrollBar_GetRange(_arg0);
3260 _resultobj = Py_BuildValue("i",_result);
3261 return _resultobj;
3262 }
3263
3264 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
3265 static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args) {
3266 PyObject * _resultobj;
3267 int _result;
3268 wxScrollBar * _arg0;
3269 char * _argc0 = 0;
3270
3271 self = self;
3272 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetPageSize",&_argc0))
3273 return NULL;
3274 if (_argc0) {
3275 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
3276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
3277 return NULL;
3278 }
3279 }
3280 _result = (int )wxScrollBar_GetPageSize(_arg0);
3281 _resultobj = Py_BuildValue("i",_result);
3282 return _resultobj;
3283 }
3284
3285 #define wxScrollBar_GetPosition(_swigobj) (_swigobj->GetPosition())
3286 static PyObject *_wrap_wxScrollBar_GetPosition(PyObject *self, PyObject *args) {
3287 PyObject * _resultobj;
3288 int _result;
3289 wxScrollBar * _arg0;
3290 char * _argc0 = 0;
3291
3292 self = self;
3293 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetPosition",&_argc0))
3294 return NULL;
3295 if (_argc0) {
3296 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
3297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPosition. Expected _wxScrollBar_p.");
3298 return NULL;
3299 }
3300 }
3301 _result = (int )wxScrollBar_GetPosition(_arg0);
3302 _resultobj = Py_BuildValue("i",_result);
3303 return _resultobj;
3304 }
3305
3306 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
3307 static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args) {
3308 PyObject * _resultobj;
3309 int _result;
3310 wxScrollBar * _arg0;
3311 char * _argc0 = 0;
3312
3313 self = self;
3314 if(!PyArg_ParseTuple(args,"s:wxScrollBar_GetThumbSize",&_argc0))
3315 return NULL;
3316 if (_argc0) {
3317 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
3318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
3319 return NULL;
3320 }
3321 }
3322 _result = (int )wxScrollBar_GetThumbSize(_arg0);
3323 _resultobj = Py_BuildValue("i",_result);
3324 return _resultobj;
3325 }
3326
3327 #define wxScrollBar_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
3328 static PyObject *_wrap_wxScrollBar_SetPosition(PyObject *self, PyObject *args) {
3329 PyObject * _resultobj;
3330 wxScrollBar * _arg0;
3331 int _arg1;
3332 char * _argc0 = 0;
3333
3334 self = self;
3335 if(!PyArg_ParseTuple(args,"si:wxScrollBar_SetPosition",&_argc0,&_arg1))
3336 return NULL;
3337 if (_argc0) {
3338 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
3339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetPosition. Expected _wxScrollBar_p.");
3340 return NULL;
3341 }
3342 }
3343 wxScrollBar_SetPosition(_arg0,_arg1);
3344 Py_INCREF(Py_None);
3345 _resultobj = Py_None;
3346 return _resultobj;
3347 }
3348
3349 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3350 static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args) {
3351 PyObject * _resultobj;
3352 wxScrollBar * _arg0;
3353 int _arg1;
3354 int _arg2;
3355 int _arg3;
3356 int _arg4;
3357 bool _arg5 = (1);
3358 char * _argc0 = 0;
3359 int tempbool5;
3360
3361 self = self;
3362 if(!PyArg_ParseTuple(args,"siiii|i:wxScrollBar_SetScrollbar",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
3363 return NULL;
3364 if (_argc0) {
3365 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxScrollBar_p")) {
3366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
3367 return NULL;
3368 }
3369 }
3370 _arg5 = (bool ) tempbool5;
3371 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3372 Py_INCREF(Py_None);
3373 _resultobj = Py_None;
3374 return _resultobj;
3375 }
3376
3377 static void *SwigwxStaticBitmapTowxControl(void *ptr) {
3378 wxStaticBitmap *src;
3379 wxControl *dest;
3380 src = (wxStaticBitmap *) ptr;
3381 dest = (wxControl *) src;
3382 return (void *) dest;
3383 }
3384
3385 static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
3386 wxStaticBitmap *src;
3387 wxWindow *dest;
3388 src = (wxStaticBitmap *) ptr;
3389 dest = (wxWindow *) src;
3390 return (void *) dest;
3391 }
3392
3393 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
3394 wxStaticBitmap *src;
3395 wxEvtHandler *dest;
3396 src = (wxStaticBitmap *) ptr;
3397 dest = (wxEvtHandler *) src;
3398 return (void *) dest;
3399 }
3400
3401 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3402 static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args) {
3403 PyObject * _resultobj;
3404 wxStaticBitmap * _result;
3405 wxWindow * _arg0;
3406 wxWindowID _arg1;
3407 wxBitmap * _arg2;
3408 wxPoint * _arg3 = &wxPyDefaultPosition;
3409 wxSize * _arg4 = &wxPyDefaultSize;
3410 long _arg5 = 0;
3411 char * _arg6 = "staticBitmap";
3412 char * _argc0 = 0;
3413 char * _argc2 = 0;
3414 char * _argc3 = 0;
3415 char * _argc4 = 0;
3416 char _ptemp[128];
3417
3418 self = self;
3419 if(!PyArg_ParseTuple(args,"sis|ssls:new_wxStaticBitmap",&_argc0,&_arg1,&_argc2,&_argc3,&_argc4,&_arg5,&_arg6))
3420 return NULL;
3421 if (_argc0) {
3422 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
3424 return NULL;
3425 }
3426 }
3427 if (_argc2) {
3428 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxBitmap_p")) {
3429 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
3430 return NULL;
3431 }
3432 }
3433 if (_argc3) {
3434 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
3435 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxStaticBitmap. Expected _wxPoint_p.");
3436 return NULL;
3437 }
3438 }
3439 if (_argc4) {
3440 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
3441 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxStaticBitmap. Expected _wxSize_p.");
3442 return NULL;
3443 }
3444 }
3445 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6);
3446 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
3447 _resultobj = Py_BuildValue("s",_ptemp);
3448 return _resultobj;
3449 }
3450
3451 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
3452 static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args) {
3453 PyObject * _resultobj;
3454 wxBitmap * _result;
3455 wxStaticBitmap * _arg0;
3456 char * _argc0 = 0;
3457 char _ptemp[128];
3458
3459 self = self;
3460 if(!PyArg_ParseTuple(args,"s:wxStaticBitmap_GetBitmap",&_argc0))
3461 return NULL;
3462 if (_argc0) {
3463 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticBitmap_p")) {
3464 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
3465 return NULL;
3466 }
3467 }
3468 wxBitmap & _result_ref = wxStaticBitmap_GetBitmap(_arg0);
3469 _result = (wxBitmap *) &_result_ref;
3470 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
3471 _resultobj = Py_BuildValue("s",_ptemp);
3472 return _resultobj;
3473 }
3474
3475 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
3476 static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args) {
3477 PyObject * _resultobj;
3478 wxStaticBitmap * _arg0;
3479 wxBitmap * _arg1;
3480 char * _argc0 = 0;
3481 char * _argc1 = 0;
3482
3483 self = self;
3484 if(!PyArg_ParseTuple(args,"ss:wxStaticBitmap_SetBitmap",&_argc0,&_argc1))
3485 return NULL;
3486 if (_argc0) {
3487 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxStaticBitmap_p")) {
3488 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
3489 return NULL;
3490 }
3491 }
3492 if (_argc1) {
3493 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxBitmap_p")) {
3494 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
3495 return NULL;
3496 }
3497 }
3498 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
3499 Py_INCREF(Py_None);
3500 _resultobj = Py_None;
3501 return _resultobj;
3502 }
3503
3504 static void *SwigwxRadioBoxTowxControl(void *ptr) {
3505 wxRadioBox *src;
3506 wxControl *dest;
3507 src = (wxRadioBox *) ptr;
3508 dest = (wxControl *) src;
3509 return (void *) dest;
3510 }
3511
3512 static void *SwigwxRadioBoxTowxWindow(void *ptr) {
3513 wxRadioBox *src;
3514 wxWindow *dest;
3515 src = (wxRadioBox *) ptr;
3516 dest = (wxWindow *) src;
3517 return (void *) dest;
3518 }
3519
3520 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
3521 wxRadioBox *src;
3522 wxEvtHandler *dest;
3523 src = (wxRadioBox *) ptr;
3524 dest = (wxEvtHandler *) src;
3525 return (void *) dest;
3526 }
3527
3528 #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))
3529 static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args) {
3530 PyObject * _resultobj;
3531 wxRadioBox * _result;
3532 wxWindow * _arg0;
3533 wxWindowID _arg1;
3534 wxString * _arg2;
3535 wxPoint * _arg3 = &wxPyDefaultPosition;
3536 wxSize * _arg4 = &wxPyDefaultSize;
3537 int _arg5 = 0;
3538 wxString * _arg6 = NULL;
3539 int _arg7 = 0;
3540 long _arg8 = (wxRA_HORIZONTAL);
3541 wxValidator * _arg9 = &wxPyDefaultValidator;
3542 char * _arg10 = "radioBox";
3543 char * _argc0 = 0;
3544 PyObject * _obj2 = 0;
3545 char * _argc3 = 0;
3546 char * _argc4 = 0;
3547 PyObject * _obj6 = 0;
3548 char * _argc9 = 0;
3549 char _ptemp[128];
3550
3551 self = self;
3552 if(!PyArg_ParseTuple(args,"siO|ssOilss:new_wxRadioBox",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_obj6,&_arg7,&_arg8,&_argc9,&_arg10))
3553 return NULL;
3554 if (_argc0) {
3555 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
3556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
3557 return NULL;
3558 }
3559 }
3560 {
3561 if (!PyString_Check(_obj2)) {
3562 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3563 return NULL;
3564 }
3565 _arg2 = new wxString(PyString_AsString(_obj2));
3566 }
3567 if (_argc3) {
3568 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
3569 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxRadioBox. Expected _wxPoint_p.");
3570 return NULL;
3571 }
3572 }
3573 if (_argc4) {
3574 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
3575 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxRadioBox. Expected _wxSize_p.");
3576 return NULL;
3577 }
3578 }
3579 if (_obj6)
3580 {
3581 _arg6 = wxString_LIST_helper(_obj6);
3582 if (_arg6 == NULL) {
3583 return NULL;
3584 }
3585 }
3586 if (_argc9) {
3587 if (SWIG_GetPtr(_argc9,(void **) &_arg9,"_wxValidator_p")) {
3588 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
3589 return NULL;
3590 }
3591 }
3592 {
3593 _arg5 = PyList_Size(_obj6);
3594 }
3595 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,_arg10);
3596 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
3597 _resultobj = Py_BuildValue("s",_ptemp);
3598 {
3599 if (_obj2)
3600 delete _arg2;
3601 }
3602 {
3603 delete [] _arg6;
3604 }
3605 return _resultobj;
3606 }
3607
3608 #define wxRadioBox_EnableBox(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
3609 static PyObject *_wrap_wxRadioBox_EnableBox(PyObject *self, PyObject *args) {
3610 PyObject * _resultobj;
3611 wxRadioBox * _arg0;
3612 bool _arg1;
3613 char * _argc0 = 0;
3614 int tempbool1;
3615
3616 self = self;
3617 if(!PyArg_ParseTuple(args,"si:wxRadioBox_EnableBox",&_argc0,&tempbool1))
3618 return NULL;
3619 if (_argc0) {
3620 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableBox. Expected _wxRadioBox_p.");
3622 return NULL;
3623 }
3624 }
3625 _arg1 = (bool ) tempbool1;
3626 wxRadioBox_EnableBox(_arg0,_arg1);
3627 Py_INCREF(Py_None);
3628 _resultobj = Py_None;
3629 return _resultobj;
3630 }
3631
3632 #define wxRadioBox_Enable(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
3633 static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args) {
3634 PyObject * _resultobj;
3635 wxRadioBox * _arg0;
3636 int _arg1;
3637 bool _arg2;
3638 char * _argc0 = 0;
3639 int tempbool2;
3640
3641 self = self;
3642 if(!PyArg_ParseTuple(args,"sii:wxRadioBox_Enable",&_argc0,&_arg1,&tempbool2))
3643 return NULL;
3644 if (_argc0) {
3645 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
3647 return NULL;
3648 }
3649 }
3650 _arg2 = (bool ) tempbool2;
3651 wxRadioBox_Enable(_arg0,_arg1,_arg2);
3652 Py_INCREF(Py_None);
3653 _resultobj = Py_None;
3654 return _resultobj;
3655 }
3656
3657 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3658 static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args) {
3659 PyObject * _resultobj;
3660 int _result;
3661 wxRadioBox * _arg0;
3662 wxString * _arg1;
3663 char * _argc0 = 0;
3664 PyObject * _obj1 = 0;
3665
3666 self = self;
3667 if(!PyArg_ParseTuple(args,"sO:wxRadioBox_FindString",&_argc0,&_obj1))
3668 return NULL;
3669 if (_argc0) {
3670 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
3672 return NULL;
3673 }
3674 }
3675 {
3676 if (!PyString_Check(_obj1)) {
3677 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3678 return NULL;
3679 }
3680 _arg1 = new wxString(PyString_AsString(_obj1));
3681 }
3682 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
3683 _resultobj = Py_BuildValue("i",_result);
3684 {
3685 if (_obj1)
3686 delete _arg1;
3687 }
3688 return _resultobj;
3689 }
3690
3691 #define wxRadioBox_GetBoxLabel(_swigobj) (_swigobj->GetLabel())
3692 static PyObject *_wrap_wxRadioBox_GetBoxLabel(PyObject *self, PyObject *args) {
3693 PyObject * _resultobj;
3694 wxString * _result;
3695 wxRadioBox * _arg0;
3696 char * _argc0 = 0;
3697
3698 self = self;
3699 if(!PyArg_ParseTuple(args,"s:wxRadioBox_GetBoxLabel",&_argc0))
3700 return NULL;
3701 if (_argc0) {
3702 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetBoxLabel. Expected _wxRadioBox_p.");
3704 return NULL;
3705 }
3706 }
3707 _result = new wxString (wxRadioBox_GetBoxLabel(_arg0));
3708 {
3709 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3710 }
3711 {
3712 delete _result;
3713 }
3714 return _resultobj;
3715 }
3716
3717 #define wxRadioBox_GetLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
3718 static PyObject *_wrap_wxRadioBox_GetLabel(PyObject *self, PyObject *args) {
3719 PyObject * _resultobj;
3720 wxString * _result;
3721 wxRadioBox * _arg0;
3722 int _arg1;
3723 char * _argc0 = 0;
3724
3725 self = self;
3726 if(!PyArg_ParseTuple(args,"si:wxRadioBox_GetLabel",&_argc0,&_arg1))
3727 return NULL;
3728 if (_argc0) {
3729 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetLabel. Expected _wxRadioBox_p.");
3731 return NULL;
3732 }
3733 }
3734 _result = new wxString (wxRadioBox_GetLabel(_arg0,_arg1));
3735 {
3736 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3737 }
3738 {
3739 delete _result;
3740 }
3741 return _resultobj;
3742 }
3743
3744 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3745 static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args) {
3746 PyObject * _resultobj;
3747 int _result;
3748 wxRadioBox * _arg0;
3749 char * _argc0 = 0;
3750
3751 self = self;
3752 if(!PyArg_ParseTuple(args,"s:wxRadioBox_GetSelection",&_argc0))
3753 return NULL;
3754 if (_argc0) {
3755 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
3757 return NULL;
3758 }
3759 }
3760 _result = (int )wxRadioBox_GetSelection(_arg0);
3761 _resultobj = Py_BuildValue("i",_result);
3762 return _resultobj;
3763 }
3764
3765 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3766 static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args) {
3767 PyObject * _resultobj;
3768 wxString * _result;
3769 wxRadioBox * _arg0;
3770 int _arg1;
3771 char * _argc0 = 0;
3772
3773 self = self;
3774 if(!PyArg_ParseTuple(args,"si:wxRadioBox_GetString",&_argc0,&_arg1))
3775 return NULL;
3776 if (_argc0) {
3777 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
3779 return NULL;
3780 }
3781 }
3782 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
3783 {
3784 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3785 }
3786 {
3787 delete _result;
3788 }
3789 return _resultobj;
3790 }
3791
3792 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3793 static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args) {
3794 PyObject * _resultobj;
3795 wxString * _result;
3796 wxRadioBox * _arg0;
3797 char * _argc0 = 0;
3798
3799 self = self;
3800 if(!PyArg_ParseTuple(args,"s:wxRadioBox_GetStringSelection",&_argc0))
3801 return NULL;
3802 if (_argc0) {
3803 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
3805 return NULL;
3806 }
3807 }
3808 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
3809 {
3810 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
3811 }
3812 {
3813 delete _result;
3814 }
3815 return _resultobj;
3816 }
3817
3818 #define wxRadioBox_Number(_swigobj) (_swigobj->Number())
3819 static PyObject *_wrap_wxRadioBox_Number(PyObject *self, PyObject *args) {
3820 PyObject * _resultobj;
3821 int _result;
3822 wxRadioBox * _arg0;
3823 char * _argc0 = 0;
3824
3825 self = self;
3826 if(!PyArg_ParseTuple(args,"s:wxRadioBox_Number",&_argc0))
3827 return NULL;
3828 if (_argc0) {
3829 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Number. Expected _wxRadioBox_p.");
3831 return NULL;
3832 }
3833 }
3834 _result = (int )wxRadioBox_Number(_arg0);
3835 _resultobj = Py_BuildValue("i",_result);
3836 return _resultobj;
3837 }
3838
3839 #define wxRadioBox_SetBoxLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
3840 static PyObject *_wrap_wxRadioBox_SetBoxLabel(PyObject *self, PyObject *args) {
3841 PyObject * _resultobj;
3842 wxRadioBox * _arg0;
3843 wxString * _arg1;
3844 char * _argc0 = 0;
3845 PyObject * _obj1 = 0;
3846
3847 self = self;
3848 if(!PyArg_ParseTuple(args,"sO:wxRadioBox_SetBoxLabel",&_argc0,&_obj1))
3849 return NULL;
3850 if (_argc0) {
3851 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3852 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetBoxLabel. Expected _wxRadioBox_p.");
3853 return NULL;
3854 }
3855 }
3856 {
3857 if (!PyString_Check(_obj1)) {
3858 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3859 return NULL;
3860 }
3861 _arg1 = new wxString(PyString_AsString(_obj1));
3862 }
3863 wxRadioBox_SetBoxLabel(_arg0,*_arg1);
3864 Py_INCREF(Py_None);
3865 _resultobj = Py_None;
3866 {
3867 if (_obj1)
3868 delete _arg1;
3869 }
3870 return _resultobj;
3871 }
3872
3873 #define wxRadioBox_SetLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
3874 static PyObject *_wrap_wxRadioBox_SetLabel(PyObject *self, PyObject *args) {
3875 PyObject * _resultobj;
3876 wxRadioBox * _arg0;
3877 int _arg1;
3878 wxString * _arg2;
3879 char * _argc0 = 0;
3880 PyObject * _obj2 = 0;
3881
3882 self = self;
3883 if(!PyArg_ParseTuple(args,"siO:wxRadioBox_SetLabel",&_argc0,&_arg1,&_obj2))
3884 return NULL;
3885 if (_argc0) {
3886 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetLabel. Expected _wxRadioBox_p.");
3888 return NULL;
3889 }
3890 }
3891 {
3892 if (!PyString_Check(_obj2)) {
3893 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3894 return NULL;
3895 }
3896 _arg2 = new wxString(PyString_AsString(_obj2));
3897 }
3898 wxRadioBox_SetLabel(_arg0,_arg1,*_arg2);
3899 Py_INCREF(Py_None);
3900 _resultobj = Py_None;
3901 {
3902 if (_obj2)
3903 delete _arg2;
3904 }
3905 return _resultobj;
3906 }
3907
3908 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3909 static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args) {
3910 PyObject * _resultobj;
3911 wxRadioBox * _arg0;
3912 int _arg1;
3913 char * _argc0 = 0;
3914
3915 self = self;
3916 if(!PyArg_ParseTuple(args,"si:wxRadioBox_SetSelection",&_argc0,&_arg1))
3917 return NULL;
3918 if (_argc0) {
3919 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
3921 return NULL;
3922 }
3923 }
3924 wxRadioBox_SetSelection(_arg0,_arg1);
3925 Py_INCREF(Py_None);
3926 _resultobj = Py_None;
3927 return _resultobj;
3928 }
3929
3930 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
3931 static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args) {
3932 PyObject * _resultobj;
3933 wxRadioBox * _arg0;
3934 wxString * _arg1;
3935 char * _argc0 = 0;
3936 PyObject * _obj1 = 0;
3937
3938 self = self;
3939 if(!PyArg_ParseTuple(args,"sO:wxRadioBox_SetStringSelection",&_argc0,&_obj1))
3940 return NULL;
3941 if (_argc0) {
3942 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
3944 return NULL;
3945 }
3946 }
3947 {
3948 if (!PyString_Check(_obj1)) {
3949 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3950 return NULL;
3951 }
3952 _arg1 = new wxString(PyString_AsString(_obj1));
3953 }
3954 wxRadioBox_SetStringSelection(_arg0,*_arg1);
3955 Py_INCREF(Py_None);
3956 _resultobj = Py_None;
3957 {
3958 if (_obj1)
3959 delete _arg1;
3960 }
3961 return _resultobj;
3962 }
3963
3964 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3965 static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args) {
3966 PyObject * _resultobj;
3967 wxRadioBox * _arg0;
3968 bool _arg1;
3969 char * _argc0 = 0;
3970 int tempbool1;
3971
3972 self = self;
3973 if(!PyArg_ParseTuple(args,"si:wxRadioBox_Show",&_argc0,&tempbool1))
3974 return NULL;
3975 if (_argc0) {
3976 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
3977 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
3978 return NULL;
3979 }
3980 }
3981 _arg1 = (bool ) tempbool1;
3982 wxRadioBox_Show(_arg0,_arg1);
3983 Py_INCREF(Py_None);
3984 _resultobj = Py_None;
3985 return _resultobj;
3986 }
3987
3988 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
3989 static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args) {
3990 PyObject * _resultobj;
3991 wxRadioBox * _arg0;
3992 int _arg1;
3993 bool _arg2;
3994 char * _argc0 = 0;
3995 int tempbool2;
3996
3997 self = self;
3998 if(!PyArg_ParseTuple(args,"sii:wxRadioBox_ShowItem",&_argc0,&_arg1,&tempbool2))
3999 return NULL;
4000 if (_argc0) {
4001 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioBox_p")) {
4002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
4003 return NULL;
4004 }
4005 }
4006 _arg2 = (bool ) tempbool2;
4007 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
4008 Py_INCREF(Py_None);
4009 _resultobj = Py_None;
4010 return _resultobj;
4011 }
4012
4013 static void *SwigwxRadioButtonTowxControl(void *ptr) {
4014 wxRadioButton *src;
4015 wxControl *dest;
4016 src = (wxRadioButton *) ptr;
4017 dest = (wxControl *) src;
4018 return (void *) dest;
4019 }
4020
4021 static void *SwigwxRadioButtonTowxWindow(void *ptr) {
4022 wxRadioButton *src;
4023 wxWindow *dest;
4024 src = (wxRadioButton *) ptr;
4025 dest = (wxWindow *) src;
4026 return (void *) dest;
4027 }
4028
4029 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
4030 wxRadioButton *src;
4031 wxEvtHandler *dest;
4032 src = (wxRadioButton *) ptr;
4033 dest = (wxEvtHandler *) src;
4034 return (void *) dest;
4035 }
4036
4037 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
4038 static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args) {
4039 PyObject * _resultobj;
4040 wxRadioButton * _result;
4041 wxWindow * _arg0;
4042 wxWindowID _arg1;
4043 wxString * _arg2;
4044 wxPoint * _arg3 = &wxPyDefaultPosition;
4045 wxSize * _arg4 = &wxPyDefaultSize;
4046 long _arg5 = 0;
4047 wxValidator * _arg6 = &wxPyDefaultValidator;
4048 char * _arg7 = "radioButton";
4049 char * _argc0 = 0;
4050 PyObject * _obj2 = 0;
4051 char * _argc3 = 0;
4052 char * _argc4 = 0;
4053 char * _argc6 = 0;
4054 char _ptemp[128];
4055
4056 self = self;
4057 if(!PyArg_ParseTuple(args,"siO|sslss:new_wxRadioButton",&_argc0,&_arg1,&_obj2,&_argc3,&_argc4,&_arg5,&_argc6,&_arg7))
4058 return NULL;
4059 if (_argc0) {
4060 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
4062 return NULL;
4063 }
4064 }
4065 {
4066 if (!PyString_Check(_obj2)) {
4067 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4068 return NULL;
4069 }
4070 _arg2 = new wxString(PyString_AsString(_obj2));
4071 }
4072 if (_argc3) {
4073 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxPoint_p")) {
4074 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxRadioButton. Expected _wxPoint_p.");
4075 return NULL;
4076 }
4077 }
4078 if (_argc4) {
4079 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxSize_p")) {
4080 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of new_wxRadioButton. Expected _wxSize_p.");
4081 return NULL;
4082 }
4083 }
4084 if (_argc6) {
4085 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxValidator_p")) {
4086 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
4087 return NULL;
4088 }
4089 }
4090 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,_arg7);
4091 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
4092 _resultobj = Py_BuildValue("s",_ptemp);
4093 {
4094 if (_obj2)
4095 delete _arg2;
4096 }
4097 return _resultobj;
4098 }
4099
4100 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
4101 static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args) {
4102 PyObject * _resultobj;
4103 bool _result;
4104 wxRadioButton * _arg0;
4105 char * _argc0 = 0;
4106
4107 self = self;
4108 if(!PyArg_ParseTuple(args,"s:wxRadioButton_GetValue",&_argc0))
4109 return NULL;
4110 if (_argc0) {
4111 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioButton_p")) {
4112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
4113 return NULL;
4114 }
4115 }
4116 _result = (bool )wxRadioButton_GetValue(_arg0);
4117 _resultobj = Py_BuildValue("i",_result);
4118 return _resultobj;
4119 }
4120
4121 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4122 static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args) {
4123 PyObject * _resultobj;
4124 wxRadioButton * _arg0;
4125 bool _arg1;
4126 char * _argc0 = 0;
4127 int tempbool1;
4128
4129 self = self;
4130 if(!PyArg_ParseTuple(args,"si:wxRadioButton_SetValue",&_argc0,&tempbool1))
4131 return NULL;
4132 if (_argc0) {
4133 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxRadioButton_p")) {
4134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
4135 return NULL;
4136 }
4137 }
4138 _arg1 = (bool ) tempbool1;
4139 wxRadioButton_SetValue(_arg0,_arg1);
4140 Py_INCREF(Py_None);
4141 _resultobj = Py_None;
4142 return _resultobj;
4143 }
4144
4145 static void *SwigwxSliderTowxControl(void *ptr) {
4146 wxSlider *src;
4147 wxControl *dest;
4148 src = (wxSlider *) ptr;
4149 dest = (wxControl *) src;
4150 return (void *) dest;
4151 }
4152
4153 static void *SwigwxSliderTowxWindow(void *ptr) {
4154 wxSlider *src;
4155 wxWindow *dest;
4156 src = (wxSlider *) ptr;
4157 dest = (wxWindow *) src;
4158 return (void *) dest;
4159 }
4160
4161 static void *SwigwxSliderTowxEvtHandler(void *ptr) {
4162 wxSlider *src;
4163 wxEvtHandler *dest;
4164 src = (wxSlider *) ptr;
4165 dest = (wxEvtHandler *) src;
4166 return (void *) dest;
4167 }
4168
4169 #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))
4170 static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args) {
4171 PyObject * _resultobj;
4172 wxSlider * _result;
4173 wxWindow * _arg0;
4174 wxWindowID _arg1;
4175 int _arg2;
4176 int _arg3;
4177 int _arg4;
4178 wxPoint * _arg5 = &wxPyDefaultPosition;
4179 wxSize * _arg6 = &wxPyDefaultSize;
4180 long _arg7 = (wxSL_HORIZONTAL);
4181 wxValidator * _arg8 = &wxPyDefaultValidator;
4182 char * _arg9 = "slider";
4183 char * _argc0 = 0;
4184 char * _argc5 = 0;
4185 char * _argc6 = 0;
4186 char * _argc8 = 0;
4187 char _ptemp[128];
4188
4189 self = self;
4190 if(!PyArg_ParseTuple(args,"siiii|sslss:new_wxSlider",&_argc0,&_arg1,&_arg2,&_arg3,&_arg4,&_argc5,&_argc6,&_arg7,&_argc8,&_arg9))
4191 return NULL;
4192 if (_argc0) {
4193 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
4194 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
4195 return NULL;
4196 }
4197 }
4198 if (_argc5) {
4199 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxPoint_p")) {
4200 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxSlider. Expected _wxPoint_p.");
4201 return NULL;
4202 }
4203 }
4204 if (_argc6) {
4205 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxSize_p")) {
4206 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxSlider. Expected _wxSize_p.");
4207 return NULL;
4208 }
4209 }
4210 if (_argc8) {
4211 if (SWIG_GetPtr(_argc8,(void **) &_arg8,"_wxValidator_p")) {
4212 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
4213 return NULL;
4214 }
4215 }
4216 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,_arg9);
4217 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
4218 _resultobj = Py_BuildValue("s",_ptemp);
4219 return _resultobj;
4220 }
4221
4222 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
4223 static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args) {
4224 PyObject * _resultobj;
4225 wxSlider * _arg0;
4226 char * _argc0 = 0;
4227
4228 self = self;
4229 if(!PyArg_ParseTuple(args,"s:wxSlider_ClearSel",&_argc0))
4230 return NULL;
4231 if (_argc0) {
4232 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
4234 return NULL;
4235 }
4236 }
4237 wxSlider_ClearSel(_arg0);
4238 Py_INCREF(Py_None);
4239 _resultobj = Py_None;
4240 return _resultobj;
4241 }
4242
4243 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
4244 static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args) {
4245 PyObject * _resultobj;
4246 wxSlider * _arg0;
4247 char * _argc0 = 0;
4248
4249 self = self;
4250 if(!PyArg_ParseTuple(args,"s:wxSlider_ClearTicks",&_argc0))
4251 return NULL;
4252 if (_argc0) {
4253 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
4255 return NULL;
4256 }
4257 }
4258 wxSlider_ClearTicks(_arg0);
4259 Py_INCREF(Py_None);
4260 _resultobj = Py_None;
4261 return _resultobj;
4262 }
4263
4264 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
4265 static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args) {
4266 PyObject * _resultobj;
4267 int _result;
4268 wxSlider * _arg0;
4269 char * _argc0 = 0;
4270
4271 self = self;
4272 if(!PyArg_ParseTuple(args,"s:wxSlider_GetLineSize",&_argc0))
4273 return NULL;
4274 if (_argc0) {
4275 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
4277 return NULL;
4278 }
4279 }
4280 _result = (int )wxSlider_GetLineSize(_arg0);
4281 _resultobj = Py_BuildValue("i",_result);
4282 return _resultobj;
4283 }
4284
4285 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
4286 static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args) {
4287 PyObject * _resultobj;
4288 int _result;
4289 wxSlider * _arg0;
4290 char * _argc0 = 0;
4291
4292 self = self;
4293 if(!PyArg_ParseTuple(args,"s:wxSlider_GetMax",&_argc0))
4294 return NULL;
4295 if (_argc0) {
4296 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
4298 return NULL;
4299 }
4300 }
4301 _result = (int )wxSlider_GetMax(_arg0);
4302 _resultobj = Py_BuildValue("i",_result);
4303 return _resultobj;
4304 }
4305
4306 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
4307 static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args) {
4308 PyObject * _resultobj;
4309 int _result;
4310 wxSlider * _arg0;
4311 char * _argc0 = 0;
4312
4313 self = self;
4314 if(!PyArg_ParseTuple(args,"s:wxSlider_GetMin",&_argc0))
4315 return NULL;
4316 if (_argc0) {
4317 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
4319 return NULL;
4320 }
4321 }
4322 _result = (int )wxSlider_GetMin(_arg0);
4323 _resultobj = Py_BuildValue("i",_result);
4324 return _resultobj;
4325 }
4326
4327 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
4328 static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args) {
4329 PyObject * _resultobj;
4330 int _result;
4331 wxSlider * _arg0;
4332 char * _argc0 = 0;
4333
4334 self = self;
4335 if(!PyArg_ParseTuple(args,"s:wxSlider_GetPageSize",&_argc0))
4336 return NULL;
4337 if (_argc0) {
4338 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
4340 return NULL;
4341 }
4342 }
4343 _result = (int )wxSlider_GetPageSize(_arg0);
4344 _resultobj = Py_BuildValue("i",_result);
4345 return _resultobj;
4346 }
4347
4348 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
4349 static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args) {
4350 PyObject * _resultobj;
4351 int _result;
4352 wxSlider * _arg0;
4353 char * _argc0 = 0;
4354
4355 self = self;
4356 if(!PyArg_ParseTuple(args,"s:wxSlider_GetSelEnd",&_argc0))
4357 return NULL;
4358 if (_argc0) {
4359 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
4361 return NULL;
4362 }
4363 }
4364 _result = (int )wxSlider_GetSelEnd(_arg0);
4365 _resultobj = Py_BuildValue("i",_result);
4366 return _resultobj;
4367 }
4368
4369 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
4370 static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args) {
4371 PyObject * _resultobj;
4372 int _result;
4373 wxSlider * _arg0;
4374 char * _argc0 = 0;
4375
4376 self = self;
4377 if(!PyArg_ParseTuple(args,"s:wxSlider_GetSelStart",&_argc0))
4378 return NULL;
4379 if (_argc0) {
4380 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4381 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
4382 return NULL;
4383 }
4384 }
4385 _result = (int )wxSlider_GetSelStart(_arg0);
4386 _resultobj = Py_BuildValue("i",_result);
4387 return _resultobj;
4388 }
4389
4390 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
4391 static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args) {
4392 PyObject * _resultobj;
4393 int _result;
4394 wxSlider * _arg0;
4395 char * _argc0 = 0;
4396
4397 self = self;
4398 if(!PyArg_ParseTuple(args,"s:wxSlider_GetThumbLength",&_argc0))
4399 return NULL;
4400 if (_argc0) {
4401 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
4403 return NULL;
4404 }
4405 }
4406 _result = (int )wxSlider_GetThumbLength(_arg0);
4407 _resultobj = Py_BuildValue("i",_result);
4408 return _resultobj;
4409 }
4410
4411 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
4412 static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args) {
4413 PyObject * _resultobj;
4414 int _result;
4415 wxSlider * _arg0;
4416 char * _argc0 = 0;
4417
4418 self = self;
4419 if(!PyArg_ParseTuple(args,"s:wxSlider_GetTickFreq",&_argc0))
4420 return NULL;
4421 if (_argc0) {
4422 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
4424 return NULL;
4425 }
4426 }
4427 _result = (int )wxSlider_GetTickFreq(_arg0);
4428 _resultobj = Py_BuildValue("i",_result);
4429 return _resultobj;
4430 }
4431
4432 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
4433 static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args) {
4434 PyObject * _resultobj;
4435 int _result;
4436 wxSlider * _arg0;
4437 char * _argc0 = 0;
4438
4439 self = self;
4440 if(!PyArg_ParseTuple(args,"s:wxSlider_GetValue",&_argc0))
4441 return NULL;
4442 if (_argc0) {
4443 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
4445 return NULL;
4446 }
4447 }
4448 _result = (int )wxSlider_GetValue(_arg0);
4449 _resultobj = Py_BuildValue("i",_result);
4450 return _resultobj;
4451 }
4452
4453 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
4454 static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args) {
4455 PyObject * _resultobj;
4456 wxSlider * _arg0;
4457 int _arg1;
4458 int _arg2;
4459 char * _argc0 = 0;
4460
4461 self = self;
4462 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetRange",&_argc0,&_arg1,&_arg2))
4463 return NULL;
4464 if (_argc0) {
4465 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
4467 return NULL;
4468 }
4469 }
4470 wxSlider_SetRange(_arg0,_arg1,_arg2);
4471 Py_INCREF(Py_None);
4472 _resultobj = Py_None;
4473 return _resultobj;
4474 }
4475
4476 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
4477 static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args) {
4478 PyObject * _resultobj;
4479 wxSlider * _arg0;
4480 int _arg1;
4481 int _arg2;
4482 char * _argc0 = 0;
4483
4484 self = self;
4485 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetTickFreq",&_argc0,&_arg1,&_arg2))
4486 return NULL;
4487 if (_argc0) {
4488 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4489 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
4490 return NULL;
4491 }
4492 }
4493 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
4494 Py_INCREF(Py_None);
4495 _resultobj = Py_None;
4496 return _resultobj;
4497 }
4498
4499 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
4500 static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args) {
4501 PyObject * _resultobj;
4502 wxSlider * _arg0;
4503 int _arg1;
4504 char * _argc0 = 0;
4505
4506 self = self;
4507 if(!PyArg_ParseTuple(args,"si:wxSlider_SetLineSize",&_argc0,&_arg1))
4508 return NULL;
4509 if (_argc0) {
4510 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
4512 return NULL;
4513 }
4514 }
4515 wxSlider_SetLineSize(_arg0,_arg1);
4516 Py_INCREF(Py_None);
4517 _resultobj = Py_None;
4518 return _resultobj;
4519 }
4520
4521 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
4522 static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args) {
4523 PyObject * _resultobj;
4524 wxSlider * _arg0;
4525 int _arg1;
4526 char * _argc0 = 0;
4527
4528 self = self;
4529 if(!PyArg_ParseTuple(args,"si:wxSlider_SetPageSize",&_argc0,&_arg1))
4530 return NULL;
4531 if (_argc0) {
4532 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
4534 return NULL;
4535 }
4536 }
4537 wxSlider_SetPageSize(_arg0,_arg1);
4538 Py_INCREF(Py_None);
4539 _resultobj = Py_None;
4540 return _resultobj;
4541 }
4542
4543 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4544 static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args) {
4545 PyObject * _resultobj;
4546 wxSlider * _arg0;
4547 int _arg1;
4548 int _arg2;
4549 char * _argc0 = 0;
4550
4551 self = self;
4552 if(!PyArg_ParseTuple(args,"sii:wxSlider_SetSelection",&_argc0,&_arg1,&_arg2))
4553 return NULL;
4554 if (_argc0) {
4555 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
4557 return NULL;
4558 }
4559 }
4560 wxSlider_SetSelection(_arg0,_arg1,_arg2);
4561 Py_INCREF(Py_None);
4562 _resultobj = Py_None;
4563 return _resultobj;
4564 }
4565
4566 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
4567 static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args) {
4568 PyObject * _resultobj;
4569 wxSlider * _arg0;
4570 int _arg1;
4571 char * _argc0 = 0;
4572
4573 self = self;
4574 if(!PyArg_ParseTuple(args,"si:wxSlider_SetThumbLength",&_argc0,&_arg1))
4575 return NULL;
4576 if (_argc0) {
4577 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4578 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
4579 return NULL;
4580 }
4581 }
4582 wxSlider_SetThumbLength(_arg0,_arg1);
4583 Py_INCREF(Py_None);
4584 _resultobj = Py_None;
4585 return _resultobj;
4586 }
4587
4588 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
4589 static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args) {
4590 PyObject * _resultobj;
4591 wxSlider * _arg0;
4592 int _arg1;
4593 char * _argc0 = 0;
4594
4595 self = self;
4596 if(!PyArg_ParseTuple(args,"si:wxSlider_SetTick",&_argc0,&_arg1))
4597 return NULL;
4598 if (_argc0) {
4599 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
4601 return NULL;
4602 }
4603 }
4604 wxSlider_SetTick(_arg0,_arg1);
4605 Py_INCREF(Py_None);
4606 _resultobj = Py_None;
4607 return _resultobj;
4608 }
4609
4610 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4611 static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args) {
4612 PyObject * _resultobj;
4613 wxSlider * _arg0;
4614 int _arg1;
4615 char * _argc0 = 0;
4616
4617 self = self;
4618 if(!PyArg_ParseTuple(args,"si:wxSlider_SetValue",&_argc0,&_arg1))
4619 return NULL;
4620 if (_argc0) {
4621 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxSlider_p")) {
4622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
4623 return NULL;
4624 }
4625 }
4626 wxSlider_SetValue(_arg0,_arg1);
4627 Py_INCREF(Py_None);
4628 _resultobj = Py_None;
4629 return _resultobj;
4630 }
4631
4632 static PyMethodDef controlscMethods[] = {
4633 { "wxSlider_SetValue", _wrap_wxSlider_SetValue, 1 },
4634 { "wxSlider_SetTick", _wrap_wxSlider_SetTick, 1 },
4635 { "wxSlider_SetThumbLength", _wrap_wxSlider_SetThumbLength, 1 },
4636 { "wxSlider_SetSelection", _wrap_wxSlider_SetSelection, 1 },
4637 { "wxSlider_SetPageSize", _wrap_wxSlider_SetPageSize, 1 },
4638 { "wxSlider_SetLineSize", _wrap_wxSlider_SetLineSize, 1 },
4639 { "wxSlider_SetTickFreq", _wrap_wxSlider_SetTickFreq, 1 },
4640 { "wxSlider_SetRange", _wrap_wxSlider_SetRange, 1 },
4641 { "wxSlider_GetValue", _wrap_wxSlider_GetValue, 1 },
4642 { "wxSlider_GetTickFreq", _wrap_wxSlider_GetTickFreq, 1 },
4643 { "wxSlider_GetThumbLength", _wrap_wxSlider_GetThumbLength, 1 },
4644 { "wxSlider_GetSelStart", _wrap_wxSlider_GetSelStart, 1 },
4645 { "wxSlider_GetSelEnd", _wrap_wxSlider_GetSelEnd, 1 },
4646 { "wxSlider_GetPageSize", _wrap_wxSlider_GetPageSize, 1 },
4647 { "wxSlider_GetMin", _wrap_wxSlider_GetMin, 1 },
4648 { "wxSlider_GetMax", _wrap_wxSlider_GetMax, 1 },
4649 { "wxSlider_GetLineSize", _wrap_wxSlider_GetLineSize, 1 },
4650 { "wxSlider_ClearTicks", _wrap_wxSlider_ClearTicks, 1 },
4651 { "wxSlider_ClearSel", _wrap_wxSlider_ClearSel, 1 },
4652 { "new_wxSlider", _wrap_new_wxSlider, 1 },
4653 { "wxRadioButton_SetValue", _wrap_wxRadioButton_SetValue, 1 },
4654 { "wxRadioButton_GetValue", _wrap_wxRadioButton_GetValue, 1 },
4655 { "new_wxRadioButton", _wrap_new_wxRadioButton, 1 },
4656 { "wxRadioBox_ShowItem", _wrap_wxRadioBox_ShowItem, 1 },
4657 { "wxRadioBox_Show", _wrap_wxRadioBox_Show, 1 },
4658 { "wxRadioBox_SetStringSelection", _wrap_wxRadioBox_SetStringSelection, 1 },
4659 { "wxRadioBox_SetSelection", _wrap_wxRadioBox_SetSelection, 1 },
4660 { "wxRadioBox_SetLabel", _wrap_wxRadioBox_SetLabel, 1 },
4661 { "wxRadioBox_SetBoxLabel", _wrap_wxRadioBox_SetBoxLabel, 1 },
4662 { "wxRadioBox_Number", _wrap_wxRadioBox_Number, 1 },
4663 { "wxRadioBox_GetStringSelection", _wrap_wxRadioBox_GetStringSelection, 1 },
4664 { "wxRadioBox_GetString", _wrap_wxRadioBox_GetString, 1 },
4665 { "wxRadioBox_GetSelection", _wrap_wxRadioBox_GetSelection, 1 },
4666 { "wxRadioBox_GetLabel", _wrap_wxRadioBox_GetLabel, 1 },
4667 { "wxRadioBox_GetBoxLabel", _wrap_wxRadioBox_GetBoxLabel, 1 },
4668 { "wxRadioBox_FindString", _wrap_wxRadioBox_FindString, 1 },
4669 { "wxRadioBox_Enable", _wrap_wxRadioBox_Enable, 1 },
4670 { "wxRadioBox_EnableBox", _wrap_wxRadioBox_EnableBox, 1 },
4671 { "new_wxRadioBox", _wrap_new_wxRadioBox, 1 },
4672 { "wxStaticBitmap_SetBitmap", _wrap_wxStaticBitmap_SetBitmap, 1 },
4673 { "wxStaticBitmap_GetBitmap", _wrap_wxStaticBitmap_GetBitmap, 1 },
4674 { "new_wxStaticBitmap", _wrap_new_wxStaticBitmap, 1 },
4675 { "wxScrollBar_SetScrollbar", _wrap_wxScrollBar_SetScrollbar, 1 },
4676 { "wxScrollBar_SetPosition", _wrap_wxScrollBar_SetPosition, 1 },
4677 { "wxScrollBar_GetThumbSize", _wrap_wxScrollBar_GetThumbSize, 1 },
4678 { "wxScrollBar_GetPosition", _wrap_wxScrollBar_GetPosition, 1 },
4679 { "wxScrollBar_GetPageSize", _wrap_wxScrollBar_GetPageSize, 1 },
4680 { "wxScrollBar_GetRange", _wrap_wxScrollBar_GetRange, 1 },
4681 { "new_wxScrollBar", _wrap_new_wxScrollBar, 1 },
4682 { "wxTextCtrl_WriteText", _wrap_wxTextCtrl_WriteText, 1 },
4683 { "wxTextCtrl_ShowPosition", _wrap_wxTextCtrl_ShowPosition, 1 },
4684 { "wxTextCtrl_SetValue", _wrap_wxTextCtrl_SetValue, 1 },
4685 { "wxTextCtrl_SetSelection", _wrap_wxTextCtrl_SetSelection, 1 },
4686 { "wxTextCtrl_SetInsertionPointEnd", _wrap_wxTextCtrl_SetInsertionPointEnd, 1 },
4687 { "wxTextCtrl_SetInsertionPoint", _wrap_wxTextCtrl_SetInsertionPoint, 1 },
4688 { "wxTextCtrl_SetEditable", _wrap_wxTextCtrl_SetEditable, 1 },
4689 { "wxTextCtrl_SaveFile", _wrap_wxTextCtrl_SaveFile, 1 },
4690 { "wxTextCtrl_Replace", _wrap_wxTextCtrl_Replace, 1 },
4691 { "wxTextCtrl_Remove", _wrap_wxTextCtrl_Remove, 1 },
4692 { "wxTextCtrl_Paste", _wrap_wxTextCtrl_Paste, 1 },
4693 { "wxTextCtrl_LoadFile", _wrap_wxTextCtrl_LoadFile, 1 },
4694 { "wxTextCtrl_IsModified", _wrap_wxTextCtrl_IsModified, 1 },
4695 { "wxTextCtrl_GetValue", _wrap_wxTextCtrl_GetValue, 1 },
4696 { "wxTextCtrl_GetLastPosition", _wrap_wxTextCtrl_GetLastPosition, 1 },
4697 { "wxTextCtrl_GetInsertionPoint", _wrap_wxTextCtrl_GetInsertionPoint, 1 },
4698 { "wxTextCtrl_DiscardEdits", _wrap_wxTextCtrl_DiscardEdits, 1 },
4699 { "wxTextCtrl_Cut", _wrap_wxTextCtrl_Cut, 1 },
4700 { "wxTextCtrl_Copy", _wrap_wxTextCtrl_Copy, 1 },
4701 { "wxTextCtrl_Clear", _wrap_wxTextCtrl_Clear, 1 },
4702 { "new_wxTextCtrl", _wrap_new_wxTextCtrl, 1 },
4703 { "wxListBox_SetStringSelection", _wrap_wxListBox_SetStringSelection, 1 },
4704 { "wxListBox_SetString", _wrap_wxListBox_SetString, 1 },
4705 { "wxListBox_SetSelection", _wrap_wxListBox_SetSelection, 1 },
4706 { "wxListBox_SetFirstItemStr", _wrap_wxListBox_SetFirstItemStr, 1 },
4707 { "wxListBox_SetFirstItem", _wrap_wxListBox_SetFirstItem, 1 },
4708 { "wxListBox_Set", _wrap_wxListBox_Set, 1 },
4709 { "wxListBox_Selected", _wrap_wxListBox_Selected, 1 },
4710 { "wxListBox_Number", _wrap_wxListBox_Number, 1 },
4711 { "wxListBox_GetStringSelection", _wrap_wxListBox_GetStringSelection, 1 },
4712 { "wxListBox_GetString", _wrap_wxListBox_GetString, 1 },
4713 { "wxListBox_GetSelection", _wrap_wxListBox_GetSelection, 1 },
4714 { "wxListBox_FindString", _wrap_wxListBox_FindString, 1 },
4715 { "wxListBox_Deselect", _wrap_wxListBox_Deselect, 1 },
4716 { "wxListBox_Delete", _wrap_wxListBox_Delete, 1 },
4717 { "wxListBox_Clear", _wrap_wxListBox_Clear, 1 },
4718 { "wxListBox_Append", _wrap_wxListBox_Append, 1 },
4719 { "new_wxListBox", _wrap_new_wxListBox, 1 },
4720 { "wxStaticText_SetLabel", _wrap_wxStaticText_SetLabel, 1 },
4721 { "wxStaticText_GetLabel", _wrap_wxStaticText_GetLabel, 1 },
4722 { "new_wxStaticText", _wrap_new_wxStaticText, 1 },
4723 { "new_wxStaticBox", _wrap_new_wxStaticBox, 1 },
4724 { "wxGauge_SetValue", _wrap_wxGauge_SetValue, 1 },
4725 { "wxGauge_SetShadowWidth", _wrap_wxGauge_SetShadowWidth, 1 },
4726 { "wxGauge_SetRange", _wrap_wxGauge_SetRange, 1 },
4727 { "wxGauge_SetBezelFace", _wrap_wxGauge_SetBezelFace, 1 },
4728 { "wxGauge_GetValue", _wrap_wxGauge_GetValue, 1 },
4729 { "wxGauge_GetShadowWidth", _wrap_wxGauge_GetShadowWidth, 1 },
4730 { "wxGauge_GetRange", _wrap_wxGauge_GetRange, 1 },
4731 { "wxGauge_GetBezelFace", _wrap_wxGauge_GetBezelFace, 1 },
4732 { "new_wxGauge", _wrap_new_wxGauge, 1 },
4733 { "wxComboBox_SetValue", _wrap_wxComboBox_SetValue, 1 },
4734 { "wxComboBox_SetMark", _wrap_wxComboBox_SetMark, 1 },
4735 { "wxComboBox_SetSelection", _wrap_wxComboBox_SetSelection, 1 },
4736 { "wxComboBox_SetInsertionPointEnd", _wrap_wxComboBox_SetInsertionPointEnd, 1 },
4737 { "wxComboBox_SetInsertionPoint", _wrap_wxComboBox_SetInsertionPoint, 1 },
4738 { "wxComboBox_Remove", _wrap_wxComboBox_Remove, 1 },
4739 { "wxComboBox_Replace", _wrap_wxComboBox_Replace, 1 },
4740 { "wxComboBox_Paste", _wrap_wxComboBox_Paste, 1 },
4741 { "wxComboBox_Number", _wrap_wxComboBox_Number, 1 },
4742 { "wxComboBox_GetValue", _wrap_wxComboBox_GetValue, 1 },
4743 { "wxComboBox_GetStringSelection", _wrap_wxComboBox_GetStringSelection, 1 },
4744 { "wxComboBox_GetString", _wrap_wxComboBox_GetString, 1 },
4745 { "wxComboBox_GetSelection", _wrap_wxComboBox_GetSelection, 1 },
4746 { "wxComboBox_GetLastPosition", _wrap_wxComboBox_GetLastPosition, 1 },
4747 { "wxComboBox_GetInsertionPoint", _wrap_wxComboBox_GetInsertionPoint, 1 },
4748 { "wxComboBox_FindString", _wrap_wxComboBox_FindString, 1 },
4749 { "wxComboBox_Delete", _wrap_wxComboBox_Delete, 1 },
4750 { "wxComboBox_Cut", _wrap_wxComboBox_Cut, 1 },
4751 { "wxComboBox_Copy", _wrap_wxComboBox_Copy, 1 },
4752 { "wxComboBox_Clear", _wrap_wxComboBox_Clear, 1 },
4753 { "wxComboBox_Append", _wrap_wxComboBox_Append, 1 },
4754 { "new_wxComboBox", _wrap_new_wxComboBox, 1 },
4755 { "wxChoice_SetStringSelection", _wrap_wxChoice_SetStringSelection, 1 },
4756 { "wxChoice_SetSelection", _wrap_wxChoice_SetSelection, 1 },
4757 { "wxChoice_SetColumns", _wrap_wxChoice_SetColumns, 1 },
4758 { "wxChoice_Number", _wrap_wxChoice_Number, 1 },
4759 { "wxChoice_GetStringSelection", _wrap_wxChoice_GetStringSelection, 1 },
4760 { "wxChoice_GetString", _wrap_wxChoice_GetString, 1 },
4761 { "wxChoice_GetSelection", _wrap_wxChoice_GetSelection, 1 },
4762 { "wxChoice_GetColumns", _wrap_wxChoice_GetColumns, 1 },
4763 { "wxChoice_FindString", _wrap_wxChoice_FindString, 1 },
4764 { "wxChoice_Clear", _wrap_wxChoice_Clear, 1 },
4765 { "wxChoice_Append", _wrap_wxChoice_Append, 1 },
4766 { "new_wxChoice", _wrap_new_wxChoice, 1 },
4767 { "wxCheckBox_SetValue", _wrap_wxCheckBox_SetValue, 1 },
4768 { "wxCheckBox_GetValue", _wrap_wxCheckBox_GetValue, 1 },
4769 { "new_wxCheckBox", _wrap_new_wxCheckBox, 1 },
4770 { "wxBitmapButton_SetBitmapLabel", _wrap_wxBitmapButton_SetBitmapLabel, 1 },
4771 { "wxBitmapButton_GetBitmapLabel", _wrap_wxBitmapButton_GetBitmapLabel, 1 },
4772 { "new_wxBitmapButton", _wrap_new_wxBitmapButton, 1 },
4773 { "wxButton_SetDefault", _wrap_wxButton_SetDefault, 1 },
4774 { "new_wxButton", _wrap_new_wxButton, 1 },
4775 { "wxControl_SetLabel", _wrap_wxControl_SetLabel, 1 },
4776 { "wxControl_GetLabel", _wrap_wxControl_GetLabel, 1 },
4777 { "wxControl_Command", _wrap_wxControl_Command, 1 },
4778 { NULL, NULL }
4779 };
4780 static PyObject *SWIG_globals;
4781 #ifdef __cplusplus
4782 extern "C"
4783 #endif
4784 SWIGEXPORT(void,initcontrolsc)() {
4785 PyObject *m, *d;
4786 SWIG_globals = SWIG_newvarlink();
4787 m = Py_InitModule("controlsc", controlscMethods);
4788 d = PyModule_GetDict(m);
4789 /*
4790 * These are the pointer type-equivalency mappings.
4791 * (Used by the SWIG pointer type-checker).
4792 */
4793 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
4794 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
4795 SWIG_RegisterMapping("_signed_long","_long",0);
4796 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
4797 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4798 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler);
4799 SWIG_RegisterMapping("_class_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler);
4800 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
4801 SWIG_RegisterMapping("_class_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
4802 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
4803 SWIG_RegisterMapping("_class_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
4804 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
4805 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
4806 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
4807 SWIG_RegisterMapping("_class_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
4808 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
4809 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
4810 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler);
4811 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler);
4812 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler);
4813 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler);
4814 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
4815 SWIG_RegisterMapping("_class_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
4816 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler);
4817 SWIG_RegisterMapping("_class_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler);
4818 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler);
4819 SWIG_RegisterMapping("_class_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler);
4820 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler);
4821 SWIG_RegisterMapping("_class_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler);
4822 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
4823 SWIG_RegisterMapping("_class_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
4824 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
4825 SWIG_RegisterMapping("_class_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
4826 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler);
4827 SWIG_RegisterMapping("_class_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler);
4828 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler);
4829 SWIG_RegisterMapping("_class_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler);
4830 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4831 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4832 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4833 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4834 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4835 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4836 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4837 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4838 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4839 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4840 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4841 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4842 SWIG_RegisterMapping("_long","_wxDash",0);
4843 SWIG_RegisterMapping("_long","_unsigned_long",0);
4844 SWIG_RegisterMapping("_long","_signed_long",0);
4845 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4846 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4847 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4848 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4849 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4850 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4851 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4852 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4853 SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0);
4854 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4855 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4856 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4857 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4858 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4859 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4860 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4861 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4862 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4863 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4864 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4865 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4866 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4867 SWIG_RegisterMapping("_uint","_int",0);
4868 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4869 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4870 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4871 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4872 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4873 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4874 SWIG_RegisterMapping("_class_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton);
4875 SWIG_RegisterMapping("_class_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton);
4876 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4877 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4878 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4879 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4880 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4881 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4882 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4883 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4884 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4885 SWIG_RegisterMapping("_EBool","_signed_int",0);
4886 SWIG_RegisterMapping("_EBool","_int",0);
4887 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4888 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4889 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4890 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4891 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4892 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4893 SWIG_RegisterMapping("_unsigned_long","_long",0);
4894 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4895 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4896 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4897 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4898 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4899 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4900 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4901 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4902 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4903 SWIG_RegisterMapping("_signed_int","_EBool",0);
4904 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4905 SWIG_RegisterMapping("_signed_int","_int",0);
4906 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4907 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4908 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4909 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4910 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4911 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4912 SWIG_RegisterMapping("_WXTYPE","_short",0);
4913 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4914 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4915 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4916 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4917 SWIG_RegisterMapping("_unsigned_short","_short",0);
4918 SWIG_RegisterMapping("_class_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow);
4919 SWIG_RegisterMapping("_class_wxWindow","_wxSlider",SwigwxSliderTowxWindow);
4920 SWIG_RegisterMapping("_class_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow);
4921 SWIG_RegisterMapping("_class_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow);
4922 SWIG_RegisterMapping("_class_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow);
4923 SWIG_RegisterMapping("_class_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow);
4924 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
4925 SWIG_RegisterMapping("_class_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
4926 SWIG_RegisterMapping("_class_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow);
4927 SWIG_RegisterMapping("_class_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow);
4928 SWIG_RegisterMapping("_class_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow);
4929 SWIG_RegisterMapping("_class_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow);
4930 SWIG_RegisterMapping("_class_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow);
4931 SWIG_RegisterMapping("_class_wxWindow","_wxListBox",SwigwxListBoxTowxWindow);
4932 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow);
4933 SWIG_RegisterMapping("_class_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow);
4934 SWIG_RegisterMapping("_class_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow);
4935 SWIG_RegisterMapping("_class_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow);
4936 SWIG_RegisterMapping("_class_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow);
4937 SWIG_RegisterMapping("_class_wxWindow","_wxGauge",SwigwxGaugeTowxWindow);
4938 SWIG_RegisterMapping("_class_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow);
4939 SWIG_RegisterMapping("_class_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow);
4940 SWIG_RegisterMapping("_class_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow);
4941 SWIG_RegisterMapping("_class_wxWindow","_wxChoice",SwigwxChoiceTowxWindow);
4942 SWIG_RegisterMapping("_class_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow);
4943 SWIG_RegisterMapping("_class_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow);
4944 SWIG_RegisterMapping("_class_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
4945 SWIG_RegisterMapping("_class_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
4946 SWIG_RegisterMapping("_class_wxWindow","_class_wxButton",SwigwxButtonTowxWindow);
4947 SWIG_RegisterMapping("_class_wxWindow","_wxButton",SwigwxButtonTowxWindow);
4948 SWIG_RegisterMapping("_class_wxWindow","_class_wxControl",SwigwxControlTowxWindow);
4949 SWIG_RegisterMapping("_class_wxWindow","_wxControl",SwigwxControlTowxWindow);
4950 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4951 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4952 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4953 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4954 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4955 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4956 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4957 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4958 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4959 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4960 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4961 SWIG_RegisterMapping("_signed_short","_short",0);
4962 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4963 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4964 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4965 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4966 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4967 SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0);
4968 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4969 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4970 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4971 SWIG_RegisterMapping("_wxControl","_class_wxSlider",SwigwxSliderTowxControl);
4972 SWIG_RegisterMapping("_wxControl","_wxSlider",SwigwxSliderTowxControl);
4973 SWIG_RegisterMapping("_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl);
4974 SWIG_RegisterMapping("_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl);
4975 SWIG_RegisterMapping("_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl);
4976 SWIG_RegisterMapping("_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl);
4977 SWIG_RegisterMapping("_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
4978 SWIG_RegisterMapping("_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
4979 SWIG_RegisterMapping("_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl);
4980 SWIG_RegisterMapping("_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl);
4981 SWIG_RegisterMapping("_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl);
4982 SWIG_RegisterMapping("_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl);
4983 SWIG_RegisterMapping("_wxControl","_class_wxListBox",SwigwxListBoxTowxControl);
4984 SWIG_RegisterMapping("_wxControl","_wxListBox",SwigwxListBoxTowxControl);
4985 SWIG_RegisterMapping("_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl);
4986 SWIG_RegisterMapping("_wxControl","_wxStaticText",SwigwxStaticTextTowxControl);
4987 SWIG_RegisterMapping("_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl);
4988 SWIG_RegisterMapping("_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl);
4989 SWIG_RegisterMapping("_wxControl","_class_wxGauge",SwigwxGaugeTowxControl);
4990 SWIG_RegisterMapping("_wxControl","_wxGauge",SwigwxGaugeTowxControl);
4991 SWIG_RegisterMapping("_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl);
4992 SWIG_RegisterMapping("_wxControl","_wxComboBox",SwigwxComboBoxTowxControl);
4993 SWIG_RegisterMapping("_wxControl","_class_wxChoice",SwigwxChoiceTowxControl);
4994 SWIG_RegisterMapping("_wxControl","_wxChoice",SwigwxChoiceTowxControl);
4995 SWIG_RegisterMapping("_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl);
4996 SWIG_RegisterMapping("_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl);
4997 SWIG_RegisterMapping("_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl);
4998 SWIG_RegisterMapping("_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl);
4999 SWIG_RegisterMapping("_wxControl","_class_wxButton",SwigwxButtonTowxControl);
5000 SWIG_RegisterMapping("_wxControl","_wxButton",SwigwxButtonTowxControl);
5001 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
5002 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
5003 SWIG_RegisterMapping("_unsigned_int","_uint",0);
5004 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
5005 SWIG_RegisterMapping("_unsigned_int","_int",0);
5006 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
5007 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
5008 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
5009 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
5010 SWIG_RegisterMapping("_short","_WXTYPE",0);
5011 SWIG_RegisterMapping("_short","_unsigned_short",0);
5012 SWIG_RegisterMapping("_short","_signed_short",0);
5013 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
5014 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
5015 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
5016 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
5017 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
5018 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
5019 SWIG_RegisterMapping("_wxFrame","_class_wxFrame",0);
5020 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
5021 SWIG_RegisterMapping("_wxWindowID","_uint",0);
5022 SWIG_RegisterMapping("_wxWindowID","_int",0);
5023 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
5024 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
5025 SWIG_RegisterMapping("_int","_EBool",0);
5026 SWIG_RegisterMapping("_int","_uint",0);
5027 SWIG_RegisterMapping("_int","_wxWindowID",0);
5028 SWIG_RegisterMapping("_int","_unsigned_int",0);
5029 SWIG_RegisterMapping("_int","_signed_int",0);
5030 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
5031 SWIG_RegisterMapping("_wxButton","_class_wxBitmapButton",SwigwxBitmapButtonTowxButton);
5032 SWIG_RegisterMapping("_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton);
5033 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
5034 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
5035 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
5036 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
5037 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
5038 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
5039 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
5040 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
5041 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
5042 SWIG_RegisterMapping("_class_wxControl","_class_wxSlider",SwigwxSliderTowxControl);
5043 SWIG_RegisterMapping("_class_wxControl","_wxSlider",SwigwxSliderTowxControl);
5044 SWIG_RegisterMapping("_class_wxControl","_class_wxRadioButton",SwigwxRadioButtonTowxControl);
5045 SWIG_RegisterMapping("_class_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl);
5046 SWIG_RegisterMapping("_class_wxControl","_class_wxRadioBox",SwigwxRadioBoxTowxControl);
5047 SWIG_RegisterMapping("_class_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl);
5048 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
5049 SWIG_RegisterMapping("_class_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl);
5050 SWIG_RegisterMapping("_class_wxControl","_class_wxScrollBar",SwigwxScrollBarTowxControl);
5051 SWIG_RegisterMapping("_class_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl);
5052 SWIG_RegisterMapping("_class_wxControl","_class_wxTextCtrl",SwigwxTextCtrlTowxControl);
5053 SWIG_RegisterMapping("_class_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl);
5054 SWIG_RegisterMapping("_class_wxControl","_class_wxListBox",SwigwxListBoxTowxControl);
5055 SWIG_RegisterMapping("_class_wxControl","_wxListBox",SwigwxListBoxTowxControl);
5056 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticText",SwigwxStaticTextTowxControl);
5057 SWIG_RegisterMapping("_class_wxControl","_wxStaticText",SwigwxStaticTextTowxControl);
5058 SWIG_RegisterMapping("_class_wxControl","_class_wxStaticBox",SwigwxStaticBoxTowxControl);
5059 SWIG_RegisterMapping("_class_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl);
5060 SWIG_RegisterMapping("_class_wxControl","_class_wxGauge",SwigwxGaugeTowxControl);
5061 SWIG_RegisterMapping("_class_wxControl","_wxGauge",SwigwxGaugeTowxControl);
5062 SWIG_RegisterMapping("_class_wxControl","_class_wxComboBox",SwigwxComboBoxTowxControl);
5063 SWIG_RegisterMapping("_class_wxControl","_wxComboBox",SwigwxComboBoxTowxControl);
5064 SWIG_RegisterMapping("_class_wxControl","_class_wxChoice",SwigwxChoiceTowxControl);
5065 SWIG_RegisterMapping("_class_wxControl","_wxChoice",SwigwxChoiceTowxControl);
5066 SWIG_RegisterMapping("_class_wxControl","_class_wxCheckBox",SwigwxCheckBoxTowxControl);
5067 SWIG_RegisterMapping("_class_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl);
5068 SWIG_RegisterMapping("_class_wxControl","_class_wxBitmapButton",SwigwxBitmapButtonTowxControl);
5069 SWIG_RegisterMapping("_class_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl);
5070 SWIG_RegisterMapping("_class_wxControl","_class_wxButton",SwigwxButtonTowxControl);
5071 SWIG_RegisterMapping("_class_wxControl","_wxButton",SwigwxButtonTowxControl);
5072 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
5073 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
5074 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
5075 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
5076 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
5077 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
5078 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
5079 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
5080 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
5081 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
5082 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
5083 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
5084 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
5085 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
5086 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
5087 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
5088 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
5089 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
5090 SWIG_RegisterMapping("_wxEvtHandler","_class_wxSlider",SwigwxSliderTowxEvtHandler);
5091 SWIG_RegisterMapping("_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler);
5092 SWIG_RegisterMapping("_wxEvtHandler","_class_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
5093 SWIG_RegisterMapping("_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler);
5094 SWIG_RegisterMapping("_wxEvtHandler","_class_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
5095 SWIG_RegisterMapping("_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler);
5096 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
5097 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler);
5098 SWIG_RegisterMapping("_wxEvtHandler","_class_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
5099 SWIG_RegisterMapping("_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler);
5100 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
5101 SWIG_RegisterMapping("_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler);
5102 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListBox",SwigwxListBoxTowxEvtHandler);
5103 SWIG_RegisterMapping("_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler);
5104 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticText",SwigwxStaticTextTowxEvtHandler);
5105 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler);
5106 SWIG_RegisterMapping("_wxEvtHandler","_class_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
5107 SWIG_RegisterMapping("_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler);
5108 SWIG_RegisterMapping("_wxEvtHandler","_class_wxGauge",SwigwxGaugeTowxEvtHandler);
5109 SWIG_RegisterMapping("_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler);
5110 SWIG_RegisterMapping("_wxEvtHandler","_class_wxComboBox",SwigwxComboBoxTowxEvtHandler);
5111 SWIG_RegisterMapping("_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler);
5112 SWIG_RegisterMapping("_wxEvtHandler","_class_wxChoice",SwigwxChoiceTowxEvtHandler);
5113 SWIG_RegisterMapping("_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler);
5114 SWIG_RegisterMapping("_wxEvtHandler","_class_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
5115 SWIG_RegisterMapping("_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler);
5116 SWIG_RegisterMapping("_wxEvtHandler","_class_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
5117 SWIG_RegisterMapping("_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler);
5118 SWIG_RegisterMapping("_wxEvtHandler","_class_wxButton",SwigwxButtonTowxEvtHandler);
5119 SWIG_RegisterMapping("_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler);
5120 SWIG_RegisterMapping("_wxEvtHandler","_class_wxControl",SwigwxControlTowxEvtHandler);
5121 SWIG_RegisterMapping("_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler);
5122 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
5123 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
5124 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
5125 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
5126 SWIG_RegisterMapping("_wxDash","_long",0);
5127 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
5128 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
5129 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
5130 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
5131 SWIG_RegisterMapping("_wxWindow","_class_wxSlider",SwigwxSliderTowxWindow);
5132 SWIG_RegisterMapping("_wxWindow","_wxSlider",SwigwxSliderTowxWindow);
5133 SWIG_RegisterMapping("_wxWindow","_class_wxRadioButton",SwigwxRadioButtonTowxWindow);
5134 SWIG_RegisterMapping("_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow);
5135 SWIG_RegisterMapping("_wxWindow","_class_wxRadioBox",SwigwxRadioBoxTowxWindow);
5136 SWIG_RegisterMapping("_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow);
5137 SWIG_RegisterMapping("_wxWindow","_class_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
5138 SWIG_RegisterMapping("_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow);
5139 SWIG_RegisterMapping("_wxWindow","_class_wxScrollBar",SwigwxScrollBarTowxWindow);
5140 SWIG_RegisterMapping("_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow);
5141 SWIG_RegisterMapping("_wxWindow","_class_wxTextCtrl",SwigwxTextCtrlTowxWindow);
5142 SWIG_RegisterMapping("_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow);
5143 SWIG_RegisterMapping("_wxWindow","_class_wxListBox",SwigwxListBoxTowxWindow);
5144 SWIG_RegisterMapping("_wxWindow","_wxListBox",SwigwxListBoxTowxWindow);
5145 SWIG_RegisterMapping("_wxWindow","_class_wxStaticText",SwigwxStaticTextTowxWindow);
5146 SWIG_RegisterMapping("_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow);
5147 SWIG_RegisterMapping("_wxWindow","_class_wxStaticBox",SwigwxStaticBoxTowxWindow);
5148 SWIG_RegisterMapping("_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow);
5149 SWIG_RegisterMapping("_wxWindow","_class_wxGauge",SwigwxGaugeTowxWindow);
5150 SWIG_RegisterMapping("_wxWindow","_wxGauge",SwigwxGaugeTowxWindow);
5151 SWIG_RegisterMapping("_wxWindow","_class_wxComboBox",SwigwxComboBoxTowxWindow);
5152 SWIG_RegisterMapping("_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow);
5153 SWIG_RegisterMapping("_wxWindow","_class_wxChoice",SwigwxChoiceTowxWindow);
5154 SWIG_RegisterMapping("_wxWindow","_wxChoice",SwigwxChoiceTowxWindow);
5155 SWIG_RegisterMapping("_wxWindow","_class_wxCheckBox",SwigwxCheckBoxTowxWindow);
5156 SWIG_RegisterMapping("_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow);
5157 SWIG_RegisterMapping("_wxWindow","_class_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
5158 SWIG_RegisterMapping("_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow);
5159 SWIG_RegisterMapping("_wxWindow","_class_wxButton",SwigwxButtonTowxWindow);
5160 SWIG_RegisterMapping("_wxWindow","_wxButton",SwigwxButtonTowxWindow);
5161 SWIG_RegisterMapping("_wxWindow","_class_wxControl",SwigwxControlTowxWindow);
5162 SWIG_RegisterMapping("_wxWindow","_wxControl",SwigwxControlTowxWindow);
5163 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
5164 SWIG_RegisterMapping("_class_wxFrame","_wxFrame",0);
5165 }