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