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