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