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