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