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