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