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