]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls.cpp
added renderer.h/.cpp
[wxWidgets.git] / wxPython / src / msw / controls.cpp
1 /*
2 * FILE : src/msw/controls.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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 "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initcontrolsc
54
55 #define SWIG_name "controlsc"
56
57 #include "helpers.h"
58 #include <wx/slider.h>
59 #include <wx/spinbutt.h>
60 #include <wx/spinctrl.h>
61 #include <wx/dynarray.h>
62 #include <wx/statline.h>
63 #include <wx/tglbtn.h>
64
65 #ifdef __WXMSW__
66 #if wxUSE_OWNER_DRAWN
67 #include <wx/checklst.h>
68 #endif
69 #endif
70
71 #ifdef __WXGTK__
72 #include <wx/checklst.h>
73 #endif
74
75
76 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
77 PyObject* o2;
78 PyObject* o3;
79
80 if (!target) {
81 target = o;
82 } else if (target == Py_None) {
83 Py_DECREF(Py_None);
84 target = o;
85 } else {
86 if (!PyTuple_Check(target)) {
87 o2 = target;
88 target = PyTuple_New(1);
89 PyTuple_SetItem(target, 0, o2);
90 }
91 o3 = PyTuple_New(1);
92 PyTuple_SetItem(o3, 0, o);
93
94 o2 = target;
95 target = PySequence_Concat(o2, o3);
96 Py_DECREF(o2);
97 Py_DECREF(o3);
98 }
99 return target;
100 }
101
102 //#define DECLARE_DEF_STRING(name) static wxString* wxPy##name
103
104 // Put some wx default wxChar* values into wxStrings.
105 DECLARE_DEF_STRING(ControlNameStr);
106 DECLARE_DEF_STRING(ButtonNameStr);
107 DECLARE_DEF_STRING(CheckBoxNameStr);
108 DECLARE_DEF_STRING(ChoiceNameStr);
109 DECLARE_DEF_STRING(ComboBoxNameStr);
110 DECLARE_DEF_STRING(GaugeNameStr);
111 DECLARE_DEF_STRING(StaticBoxNameStr);
112 DECLARE_DEF_STRING(StaticTextNameStr);
113 DECLARE_DEF_STRING(ListBoxNameStr);
114 DECLARE_DEF_STRING(TextCtrlNameStr);
115 DECLARE_DEF_STRING(ScrollBarNameStr);
116 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
117 DECLARE_DEF_STRING(StaticBitmapNameStr);
118 DECLARE_DEF_STRING(RadioBoxNameStr);
119 DECLARE_DEF_STRING(RadioButtonNameStr);
120 DECLARE_DEF_STRING(SliderNameStr);
121
122 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
123 DECLARE_DEF_STRING(SpinCtrlNameStr);
124
125 static const wxString wxPyEmptyString(wxT(""));
126 #ifdef __cplusplus
127 extern "C" {
128 #endif
129 static int _wrap_wxDefaultValidator_set(PyObject *val) {
130
131 PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only.");
132 return 1;
133 }
134
135 static PyObject *_wrap_wxDefaultValidator_get() {
136 PyObject * pyobj;
137 char ptemp[128];
138
139 SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p");
140 pyobj = PyString_FromString(ptemp);
141 return pyobj;
142 }
143
144 static void *SwigwxControlTowxWindow(void *ptr) {
145 wxControl *src;
146 wxWindow *dest;
147 src = (wxControl *) ptr;
148 dest = (wxWindow *) src;
149 return (void *) dest;
150 }
151
152 static void *SwigwxControlTowxEvtHandler(void *ptr) {
153 wxControl *src;
154 wxEvtHandler *dest;
155 src = (wxControl *) ptr;
156 dest = (wxEvtHandler *) src;
157 return (void *) dest;
158 }
159
160 static void *SwigwxControlTowxObject(void *ptr) {
161 wxControl *src;
162 wxObject *dest;
163 src = (wxControl *) ptr;
164 dest = (wxObject *) src;
165 return (void *) dest;
166 }
167
168 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
169 static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
170 PyObject * _resultobj;
171 wxControl * _result;
172 wxWindow * _arg0;
173 wxWindowID _arg1;
174 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
175 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
176 long _arg4 = (long ) 0;
177 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
178 wxString * _arg6 = (wxString *) &wxPyControlNameStr;
179 PyObject * _argo0 = 0;
180 wxPoint temp;
181 PyObject * _obj2 = 0;
182 wxSize temp0;
183 PyObject * _obj3 = 0;
184 PyObject * _argo5 = 0;
185 PyObject * _obj6 = 0;
186 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
187 char _ptemp[128];
188
189 self = self;
190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
191 return NULL;
192 if (_argo0) {
193 if (_argo0 == Py_None) { _arg0 = NULL; }
194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
196 return NULL;
197 }
198 }
199 if (_obj2)
200 {
201 _arg2 = &temp;
202 if (! wxPoint_helper(_obj2, &_arg2))
203 return NULL;
204 }
205 if (_obj3)
206 {
207 _arg3 = &temp0;
208 if (! wxSize_helper(_obj3, &_arg3))
209 return NULL;
210 }
211 if (_argo5) {
212 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
213 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
214 return NULL;
215 }
216 }
217 if (_obj6)
218 {
219 _arg6 = wxString_in_helper(_obj6);
220 if (_arg6 == NULL)
221 return NULL;
222 }
223 {
224 PyThreadState* __tstate = wxPyBeginAllowThreads();
225 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
226
227 wxPyEndAllowThreads(__tstate);
228 if (PyErr_Occurred()) return NULL;
229 } if (_result) {
230 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
231 _resultobj = Py_BuildValue("s",_ptemp);
232 } else {
233 Py_INCREF(Py_None);
234 _resultobj = Py_None;
235 }
236 {
237 if (_obj6)
238 delete _arg6;
239 }
240 return _resultobj;
241 }
242
243 #define new_wxPreControl() (new wxControl())
244 static PyObject *_wrap_new_wxPreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
245 PyObject * _resultobj;
246 wxControl * _result;
247 char *_kwnames[] = { NULL };
248 char _ptemp[128];
249
250 self = self;
251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreControl",_kwnames))
252 return NULL;
253 {
254 PyThreadState* __tstate = wxPyBeginAllowThreads();
255 _result = (wxControl *)new_wxPreControl();
256
257 wxPyEndAllowThreads(__tstate);
258 if (PyErr_Occurred()) return NULL;
259 } if (_result) {
260 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
261 _resultobj = Py_BuildValue("s",_ptemp);
262 } else {
263 Py_INCREF(Py_None);
264 _resultobj = Py_None;
265 }
266 return _resultobj;
267 }
268
269 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
270 static PyObject *_wrap_wxControl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
271 PyObject * _resultobj;
272 bool _result;
273 wxControl * _arg0;
274 wxWindow * _arg1;
275 wxWindowID _arg2;
276 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
277 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
278 long _arg5 = (long ) 0;
279 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
280 wxString * _arg7 = (wxString *) &wxPyControlNameStr;
281 PyObject * _argo0 = 0;
282 PyObject * _argo1 = 0;
283 wxPoint temp;
284 PyObject * _obj3 = 0;
285 wxSize temp0;
286 PyObject * _obj4 = 0;
287 PyObject * _argo6 = 0;
288 PyObject * _obj7 = 0;
289 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
290
291 self = self;
292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOO:wxControl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
293 return NULL;
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
298 return NULL;
299 }
300 }
301 if (_argo1) {
302 if (_argo1 == Py_None) { _arg1 = NULL; }
303 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
304 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
305 return NULL;
306 }
307 }
308 if (_obj3)
309 {
310 _arg3 = &temp;
311 if (! wxPoint_helper(_obj3, &_arg3))
312 return NULL;
313 }
314 if (_obj4)
315 {
316 _arg4 = &temp0;
317 if (! wxSize_helper(_obj4, &_arg4))
318 return NULL;
319 }
320 if (_argo6) {
321 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
322 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
323 return NULL;
324 }
325 }
326 if (_obj7)
327 {
328 _arg7 = wxString_in_helper(_obj7);
329 if (_arg7 == NULL)
330 return NULL;
331 }
332 {
333 PyThreadState* __tstate = wxPyBeginAllowThreads();
334 _result = (bool )wxControl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
335
336 wxPyEndAllowThreads(__tstate);
337 if (PyErr_Occurred()) return NULL;
338 } _resultobj = Py_BuildValue("i",_result);
339 {
340 if (_obj7)
341 delete _arg7;
342 }
343 return _resultobj;
344 }
345
346 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
347 static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
348 PyObject * _resultobj;
349 wxControl * _arg0;
350 wxCommandEvent * _arg1;
351 PyObject * _argo0 = 0;
352 PyObject * _argo1 = 0;
353 char *_kwnames[] = { "self","event", NULL };
354
355 self = self;
356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1))
357 return NULL;
358 if (_argo0) {
359 if (_argo0 == Py_None) { _arg0 = NULL; }
360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
362 return NULL;
363 }
364 }
365 if (_argo1) {
366 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
368 return NULL;
369 }
370 }
371 {
372 PyThreadState* __tstate = wxPyBeginAllowThreads();
373 wxControl_Command(_arg0,*_arg1);
374
375 wxPyEndAllowThreads(__tstate);
376 if (PyErr_Occurred()) return NULL;
377 } Py_INCREF(Py_None);
378 _resultobj = Py_None;
379 return _resultobj;
380 }
381
382 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
383 static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
384 PyObject * _resultobj;
385 wxString * _result;
386 wxControl * _arg0;
387 PyObject * _argo0 = 0;
388 char *_kwnames[] = { "self", NULL };
389
390 self = self;
391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
392 return NULL;
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
397 return NULL;
398 }
399 }
400 {
401 PyThreadState* __tstate = wxPyBeginAllowThreads();
402 _result = new wxString (wxControl_GetLabel(_arg0));
403
404 wxPyEndAllowThreads(__tstate);
405 if (PyErr_Occurred()) return NULL;
406 }{
407 #if wxUSE_UNICODE
408 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
409 #else
410 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
411 #endif
412 }
413 {
414 delete _result;
415 }
416 return _resultobj;
417 }
418
419 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
420 static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
421 PyObject * _resultobj;
422 wxControl * _arg0;
423 wxString * _arg1;
424 PyObject * _argo0 = 0;
425 PyObject * _obj1 = 0;
426 char *_kwnames[] = { "self","label", NULL };
427
428 self = self;
429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
430 return NULL;
431 if (_argo0) {
432 if (_argo0 == Py_None) { _arg0 = NULL; }
433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
435 return NULL;
436 }
437 }
438 {
439 _arg1 = wxString_in_helper(_obj1);
440 if (_arg1 == NULL)
441 return NULL;
442 }
443 {
444 PyThreadState* __tstate = wxPyBeginAllowThreads();
445 wxControl_SetLabel(_arg0,*_arg1);
446
447 wxPyEndAllowThreads(__tstate);
448 if (PyErr_Occurred()) return NULL;
449 } Py_INCREF(Py_None);
450 _resultobj = Py_None;
451 {
452 if (_obj1)
453 delete _arg1;
454 }
455 return _resultobj;
456 }
457
458 static void *SwigwxControlWithItemsTowxControl(void *ptr) {
459 wxControlWithItems *src;
460 wxControl *dest;
461 src = (wxControlWithItems *) ptr;
462 dest = (wxControl *) src;
463 return (void *) dest;
464 }
465
466 static void *SwigwxControlWithItemsTowxWindow(void *ptr) {
467 wxControlWithItems *src;
468 wxWindow *dest;
469 src = (wxControlWithItems *) ptr;
470 dest = (wxWindow *) src;
471 return (void *) dest;
472 }
473
474 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr) {
475 wxControlWithItems *src;
476 wxEvtHandler *dest;
477 src = (wxControlWithItems *) ptr;
478 dest = (wxEvtHandler *) src;
479 return (void *) dest;
480 }
481
482 static void *SwigwxControlWithItemsTowxObject(void *ptr) {
483 wxControlWithItems *src;
484 wxObject *dest;
485 src = (wxControlWithItems *) ptr;
486 dest = (wxObject *) src;
487 return (void *) dest;
488 }
489
490 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
491 static PyObject *_wrap_wxControlWithItems_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
492 PyObject * _resultobj;
493 wxControlWithItems * _arg0;
494 int _arg1;
495 PyObject * _argo0 = 0;
496 char *_kwnames[] = { "self","n", NULL };
497
498 self = self;
499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Delete",_kwnames,&_argo0,&_arg1))
500 return NULL;
501 if (_argo0) {
502 if (_argo0 == Py_None) { _arg0 = NULL; }
503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
505 return NULL;
506 }
507 }
508 {
509 PyThreadState* __tstate = wxPyBeginAllowThreads();
510 wxControlWithItems_Delete(_arg0,_arg1);
511
512 wxPyEndAllowThreads(__tstate);
513 if (PyErr_Occurred()) return NULL;
514 } Py_INCREF(Py_None);
515 _resultobj = Py_None;
516 return _resultobj;
517 }
518
519 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
520 static PyObject *_wrap_wxControlWithItems_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
521 PyObject * _resultobj;
522 int _result;
523 wxControlWithItems * _arg0;
524 PyObject * _argo0 = 0;
525 char *_kwnames[] = { "self", NULL };
526
527 self = self;
528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetCount",_kwnames,&_argo0))
529 return NULL;
530 if (_argo0) {
531 if (_argo0 == Py_None) { _arg0 = NULL; }
532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
534 return NULL;
535 }
536 }
537 {
538 PyThreadState* __tstate = wxPyBeginAllowThreads();
539 _result = (int )wxControlWithItems_GetCount(_arg0);
540
541 wxPyEndAllowThreads(__tstate);
542 if (PyErr_Occurred()) return NULL;
543 } _resultobj = Py_BuildValue("i",_result);
544 return _resultobj;
545 }
546
547 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
548 static PyObject *_wrap_wxControlWithItems_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
549 PyObject * _resultobj;
550 wxString * _result;
551 wxControlWithItems * _arg0;
552 int _arg1;
553 PyObject * _argo0 = 0;
554 char *_kwnames[] = { "self","n", NULL };
555
556 self = self;
557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetString",_kwnames,&_argo0,&_arg1))
558 return NULL;
559 if (_argo0) {
560 if (_argo0 == Py_None) { _arg0 = NULL; }
561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
563 return NULL;
564 }
565 }
566 {
567 PyThreadState* __tstate = wxPyBeginAllowThreads();
568 _result = new wxString (wxControlWithItems_GetString(_arg0,_arg1));
569
570 wxPyEndAllowThreads(__tstate);
571 if (PyErr_Occurred()) return NULL;
572 }{
573 #if wxUSE_UNICODE
574 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
575 #else
576 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
577 #endif
578 }
579 {
580 delete _result;
581 }
582 return _resultobj;
583 }
584
585 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
586 static PyObject *_wrap_wxControlWithItems_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
587 PyObject * _resultobj;
588 wxControlWithItems * _arg0;
589 int _arg1;
590 wxString * _arg2;
591 PyObject * _argo0 = 0;
592 PyObject * _obj2 = 0;
593 char *_kwnames[] = { "self","n","s", NULL };
594
595 self = self;
596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
597 return NULL;
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
602 return NULL;
603 }
604 }
605 {
606 _arg2 = wxString_in_helper(_obj2);
607 if (_arg2 == NULL)
608 return NULL;
609 }
610 {
611 PyThreadState* __tstate = wxPyBeginAllowThreads();
612 wxControlWithItems_SetString(_arg0,_arg1,*_arg2);
613
614 wxPyEndAllowThreads(__tstate);
615 if (PyErr_Occurred()) return NULL;
616 } Py_INCREF(Py_None);
617 _resultobj = Py_None;
618 {
619 if (_obj2)
620 delete _arg2;
621 }
622 return _resultobj;
623 }
624
625 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
626 static PyObject *_wrap_wxControlWithItems_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
627 PyObject * _resultobj;
628 int _result;
629 wxControlWithItems * _arg0;
630 wxString * _arg1;
631 PyObject * _argo0 = 0;
632 PyObject * _obj1 = 0;
633 char *_kwnames[] = { "self","s", NULL };
634
635 self = self;
636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_FindString",_kwnames,&_argo0,&_obj1))
637 return NULL;
638 if (_argo0) {
639 if (_argo0 == Py_None) { _arg0 = NULL; }
640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
642 return NULL;
643 }
644 }
645 {
646 _arg1 = wxString_in_helper(_obj1);
647 if (_arg1 == NULL)
648 return NULL;
649 }
650 {
651 PyThreadState* __tstate = wxPyBeginAllowThreads();
652 _result = (int )wxControlWithItems_FindString(_arg0,*_arg1);
653
654 wxPyEndAllowThreads(__tstate);
655 if (PyErr_Occurred()) return NULL;
656 } _resultobj = Py_BuildValue("i",_result);
657 {
658 if (_obj1)
659 delete _arg1;
660 }
661 return _resultobj;
662 }
663
664 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
665 static PyObject *_wrap_wxControlWithItems_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
666 PyObject * _resultobj;
667 wxControlWithItems * _arg0;
668 int _arg1;
669 PyObject * _argo0 = 0;
670 char *_kwnames[] = { "self","n", NULL };
671
672 self = self;
673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Select",_kwnames,&_argo0,&_arg1))
674 return NULL;
675 if (_argo0) {
676 if (_argo0 == Py_None) { _arg0 = NULL; }
677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
679 return NULL;
680 }
681 }
682 {
683 PyThreadState* __tstate = wxPyBeginAllowThreads();
684 wxControlWithItems_Select(_arg0,_arg1);
685
686 wxPyEndAllowThreads(__tstate);
687 if (PyErr_Occurred()) return NULL;
688 } Py_INCREF(Py_None);
689 _resultobj = Py_None;
690 return _resultobj;
691 }
692
693 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
694 static PyObject *_wrap_wxControlWithItems_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
695 PyObject * _resultobj;
696 int _result;
697 wxControlWithItems * _arg0;
698 PyObject * _argo0 = 0;
699 char *_kwnames[] = { "self", NULL };
700
701 self = self;
702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetSelection",_kwnames,&_argo0))
703 return NULL;
704 if (_argo0) {
705 if (_argo0 == Py_None) { _arg0 = NULL; }
706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
708 return NULL;
709 }
710 }
711 {
712 PyThreadState* __tstate = wxPyBeginAllowThreads();
713 _result = (int )wxControlWithItems_GetSelection(_arg0);
714
715 wxPyEndAllowThreads(__tstate);
716 if (PyErr_Occurred()) return NULL;
717 } _resultobj = Py_BuildValue("i",_result);
718 return _resultobj;
719 }
720
721 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
722 static PyObject *_wrap_wxControlWithItems_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
723 PyObject * _resultobj;
724 wxString * _result;
725 wxControlWithItems * _arg0;
726 PyObject * _argo0 = 0;
727 char *_kwnames[] = { "self", NULL };
728
729 self = self;
730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetStringSelection",_kwnames,&_argo0))
731 return NULL;
732 if (_argo0) {
733 if (_argo0 == Py_None) { _arg0 = NULL; }
734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
736 return NULL;
737 }
738 }
739 {
740 PyThreadState* __tstate = wxPyBeginAllowThreads();
741 _result = new wxString (wxControlWithItems_GetStringSelection(_arg0));
742
743 wxPyEndAllowThreads(__tstate);
744 if (PyErr_Occurred()) return NULL;
745 }{
746 #if wxUSE_UNICODE
747 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
748 #else
749 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
750 #endif
751 }
752 {
753 delete _result;
754 }
755 return _resultobj;
756 }
757
758 static void wxControlWithItems_Append(wxControlWithItems *self,const wxString & item,PyObject * clientData) {
759 if (clientData) {
760 wxPyClientData* data = new wxPyClientData(clientData);
761 self->Append(item, data);
762 } else
763 self->Append(item);
764 }
765 static PyObject *_wrap_wxControlWithItems_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
766 PyObject * _resultobj;
767 wxControlWithItems * _arg0;
768 wxString * _arg1;
769 PyObject * _arg2 = (PyObject *) NULL;
770 PyObject * _argo0 = 0;
771 PyObject * _obj1 = 0;
772 PyObject * _obj2 = 0;
773 char *_kwnames[] = { "self","item","clientData", NULL };
774
775 self = self;
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxControlWithItems_Append",_kwnames,&_argo0,&_obj1,&_obj2))
777 return NULL;
778 if (_argo0) {
779 if (_argo0 == Py_None) { _arg0 = NULL; }
780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
782 return NULL;
783 }
784 }
785 {
786 _arg1 = wxString_in_helper(_obj1);
787 if (_arg1 == NULL)
788 return NULL;
789 }
790 if (_obj2)
791 {
792 _arg2 = _obj2;
793 }
794 {
795 PyThreadState* __tstate = wxPyBeginAllowThreads();
796 wxControlWithItems_Append(_arg0,*_arg1,_arg2);
797
798 wxPyEndAllowThreads(__tstate);
799 if (PyErr_Occurred()) return NULL;
800 } Py_INCREF(Py_None);
801 _resultobj = Py_None;
802 {
803 if (_obj1)
804 delete _arg1;
805 }
806 return _resultobj;
807 }
808
809 static PyObject * wxControlWithItems_GetClientData(wxControlWithItems *self,int n) {
810 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
811 if (data) {
812 Py_INCREF(data->m_obj);
813 return data->m_obj;
814 } else {
815 Py_INCREF(Py_None);
816 return Py_None;
817 }
818 }
819 static PyObject *_wrap_wxControlWithItems_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
820 PyObject * _resultobj;
821 PyObject * _result;
822 wxControlWithItems * _arg0;
823 int _arg1;
824 PyObject * _argo0 = 0;
825 char *_kwnames[] = { "self","n", NULL };
826
827 self = self;
828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetClientData",_kwnames,&_argo0,&_arg1))
829 return NULL;
830 if (_argo0) {
831 if (_argo0 == Py_None) { _arg0 = NULL; }
832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
834 return NULL;
835 }
836 }
837 {
838 PyThreadState* __tstate = wxPyBeginAllowThreads();
839 _result = (PyObject *)wxControlWithItems_GetClientData(_arg0,_arg1);
840
841 wxPyEndAllowThreads(__tstate);
842 if (PyErr_Occurred()) return NULL;
843 }{
844 _resultobj = _result;
845 }
846 return _resultobj;
847 }
848
849 static void wxControlWithItems_SetClientData(wxControlWithItems *self,int n,PyObject * clientData) {
850 wxPyClientData* data = new wxPyClientData(clientData);
851 self->SetClientObject(n, data);
852 }
853 static PyObject *_wrap_wxControlWithItems_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
854 PyObject * _resultobj;
855 wxControlWithItems * _arg0;
856 int _arg1;
857 PyObject * _arg2;
858 PyObject * _argo0 = 0;
859 PyObject * _obj2 = 0;
860 char *_kwnames[] = { "self","n","clientData", NULL };
861
862 self = self;
863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
864 return NULL;
865 if (_argo0) {
866 if (_argo0 == Py_None) { _arg0 = NULL; }
867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
869 return NULL;
870 }
871 }
872 {
873 _arg2 = _obj2;
874 }
875 {
876 PyThreadState* __tstate = wxPyBeginAllowThreads();
877 wxControlWithItems_SetClientData(_arg0,_arg1,_arg2);
878
879 wxPyEndAllowThreads(__tstate);
880 if (PyErr_Occurred()) return NULL;
881 } Py_INCREF(Py_None);
882 _resultobj = Py_None;
883 return _resultobj;
884 }
885
886 #define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
887 static PyObject *_wrap_wxControlWithItems_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
888 PyObject * _resultobj;
889 wxControlWithItems * _arg0;
890 wxArrayString * _arg1;
891 PyObject * _argo0 = 0;
892 PyObject * _obj1 = 0;
893 char *_kwnames[] = { "self","strings", NULL };
894
895 self = self;
896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_AppendItems",_kwnames,&_argo0,&_obj1))
897 return NULL;
898 if (_argo0) {
899 if (_argo0 == Py_None) { _arg0 = NULL; }
900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
902 return NULL;
903 }
904 }
905 {
906 if (! PySequence_Check(_obj1)) {
907 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
908 return NULL;
909 }
910 _arg1 = new wxArrayString;
911 int i, len=PySequence_Length(_obj1);
912 for (i=0; i<len; i++) {
913 PyObject* item = PySequence_GetItem(_obj1, i);
914 #if wxUSE_UNICODE
915 PyObject* str = PyObject_Unicode(item);
916 #else
917 PyObject* str = PyObject_Str(item);
918 #endif
919 _arg1->Add(Py2wxString(str));
920 Py_DECREF(item);
921 Py_DECREF(str);
922 }
923 }
924 {
925 PyThreadState* __tstate = wxPyBeginAllowThreads();
926 wxControlWithItems_AppendItems(_arg0,*_arg1);
927
928 wxPyEndAllowThreads(__tstate);
929 if (PyErr_Occurred()) return NULL;
930 } Py_INCREF(Py_None);
931 _resultobj = Py_None;
932 {
933 if (_obj1)
934 delete _arg1;
935 }
936 return _resultobj;
937 }
938
939 static void *SwigwxButtonTowxControl(void *ptr) {
940 wxButton *src;
941 wxControl *dest;
942 src = (wxButton *) ptr;
943 dest = (wxControl *) src;
944 return (void *) dest;
945 }
946
947 static void *SwigwxButtonTowxWindow(void *ptr) {
948 wxButton *src;
949 wxWindow *dest;
950 src = (wxButton *) ptr;
951 dest = (wxWindow *) src;
952 return (void *) dest;
953 }
954
955 static void *SwigwxButtonTowxEvtHandler(void *ptr) {
956 wxButton *src;
957 wxEvtHandler *dest;
958 src = (wxButton *) ptr;
959 dest = (wxEvtHandler *) src;
960 return (void *) dest;
961 }
962
963 static void *SwigwxButtonTowxObject(void *ptr) {
964 wxButton *src;
965 wxObject *dest;
966 src = (wxButton *) ptr;
967 dest = (wxObject *) src;
968 return (void *) dest;
969 }
970
971 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
972 static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
973 PyObject * _resultobj;
974 wxButton * _result;
975 wxWindow * _arg0;
976 wxWindowID _arg1;
977 wxString * _arg2;
978 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
979 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
980 long _arg5 = (long ) 0;
981 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
982 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
983 PyObject * _argo0 = 0;
984 PyObject * _obj2 = 0;
985 wxPoint temp;
986 PyObject * _obj3 = 0;
987 wxSize temp0;
988 PyObject * _obj4 = 0;
989 PyObject * _argo6 = 0;
990 PyObject * _obj7 = 0;
991 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
992 char _ptemp[128];
993
994 self = self;
995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
996 return NULL;
997 if (_argo0) {
998 if (_argo0 == Py_None) { _arg0 = NULL; }
999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
1001 return NULL;
1002 }
1003 }
1004 {
1005 _arg2 = wxString_in_helper(_obj2);
1006 if (_arg2 == NULL)
1007 return NULL;
1008 }
1009 if (_obj3)
1010 {
1011 _arg3 = &temp;
1012 if (! wxPoint_helper(_obj3, &_arg3))
1013 return NULL;
1014 }
1015 if (_obj4)
1016 {
1017 _arg4 = &temp0;
1018 if (! wxSize_helper(_obj4, &_arg4))
1019 return NULL;
1020 }
1021 if (_argo6) {
1022 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
1023 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1024 return NULL;
1025 }
1026 }
1027 if (_obj7)
1028 {
1029 _arg7 = wxString_in_helper(_obj7);
1030 if (_arg7 == NULL)
1031 return NULL;
1032 }
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) return NULL;
1039 } if (_result) {
1040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1041 _resultobj = Py_BuildValue("s",_ptemp);
1042 } else {
1043 Py_INCREF(Py_None);
1044 _resultobj = Py_None;
1045 }
1046 {
1047 if (_obj2)
1048 delete _arg2;
1049 }
1050 {
1051 if (_obj7)
1052 delete _arg7;
1053 }
1054 return _resultobj;
1055 }
1056
1057 #define new_wxPreButton() (new wxButton())
1058 static PyObject *_wrap_new_wxPreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1059 PyObject * _resultobj;
1060 wxButton * _result;
1061 char *_kwnames[] = { NULL };
1062 char _ptemp[128];
1063
1064 self = self;
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreButton",_kwnames))
1066 return NULL;
1067 {
1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
1069 _result = (wxButton *)new_wxPreButton();
1070
1071 wxPyEndAllowThreads(__tstate);
1072 if (PyErr_Occurred()) return NULL;
1073 } if (_result) {
1074 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1075 _resultobj = Py_BuildValue("s",_ptemp);
1076 } else {
1077 Py_INCREF(Py_None);
1078 _resultobj = Py_None;
1079 }
1080 return _resultobj;
1081 }
1082
1083 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1084 static PyObject *_wrap_wxButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1085 PyObject * _resultobj;
1086 bool _result;
1087 wxButton * _arg0;
1088 wxWindow * _arg1;
1089 wxWindowID _arg2;
1090 wxString * _arg3;
1091 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1092 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1093 long _arg6 = (long ) 0;
1094 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1095 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
1096 PyObject * _argo0 = 0;
1097 PyObject * _argo1 = 0;
1098 PyObject * _obj3 = 0;
1099 wxPoint temp;
1100 PyObject * _obj4 = 0;
1101 wxSize temp0;
1102 PyObject * _obj5 = 0;
1103 PyObject * _argo7 = 0;
1104 PyObject * _obj8 = 0;
1105 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
1106
1107 self = self;
1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
1109 return NULL;
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1114 return NULL;
1115 }
1116 }
1117 if (_argo1) {
1118 if (_argo1 == Py_None) { _arg1 = NULL; }
1119 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1120 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1121 return NULL;
1122 }
1123 }
1124 {
1125 _arg3 = wxString_in_helper(_obj3);
1126 if (_arg3 == NULL)
1127 return NULL;
1128 }
1129 if (_obj4)
1130 {
1131 _arg4 = &temp;
1132 if (! wxPoint_helper(_obj4, &_arg4))
1133 return NULL;
1134 }
1135 if (_obj5)
1136 {
1137 _arg5 = &temp0;
1138 if (! wxSize_helper(_obj5, &_arg5))
1139 return NULL;
1140 }
1141 if (_argo7) {
1142 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1143 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1144 return NULL;
1145 }
1146 }
1147 if (_obj8)
1148 {
1149 _arg8 = wxString_in_helper(_obj8);
1150 if (_arg8 == NULL)
1151 return NULL;
1152 }
1153 {
1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
1155 _result = (bool )wxButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
1156
1157 wxPyEndAllowThreads(__tstate);
1158 if (PyErr_Occurred()) return NULL;
1159 } _resultobj = Py_BuildValue("i",_result);
1160 {
1161 if (_obj3)
1162 delete _arg3;
1163 }
1164 {
1165 if (_obj8)
1166 delete _arg8;
1167 }
1168 return _resultobj;
1169 }
1170
1171 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1172 static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject * _resultobj;
1174 wxButton * _arg0;
1175 PyObject * _argo0 = 0;
1176 char *_kwnames[] = { "self", NULL };
1177
1178 self = self;
1179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
1180 return NULL;
1181 if (_argo0) {
1182 if (_argo0 == Py_None) { _arg0 = NULL; }
1183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1185 return NULL;
1186 }
1187 }
1188 {
1189 PyThreadState* __tstate = wxPyBeginAllowThreads();
1190 wxButton_SetDefault(_arg0);
1191
1192 wxPyEndAllowThreads(__tstate);
1193 if (PyErr_Occurred()) return NULL;
1194 } Py_INCREF(Py_None);
1195 _resultobj = Py_None;
1196 return _resultobj;
1197 }
1198
1199 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1200 static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1201 PyObject * _resultobj;
1202 wxButton * _arg0;
1203 wxColour * _arg1;
1204 PyObject * _argo0 = 0;
1205 wxColour temp;
1206 PyObject * _obj1 = 0;
1207 char *_kwnames[] = { "self","colour", NULL };
1208
1209 self = self;
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1211 return NULL;
1212 if (_argo0) {
1213 if (_argo0 == Py_None) { _arg0 = NULL; }
1214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1216 return NULL;
1217 }
1218 }
1219 {
1220 _arg1 = &temp;
1221 if (! wxColour_helper(_obj1, &_arg1))
1222 return NULL;
1223 }
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
1226 wxButton_SetBackgroundColour(_arg0,*_arg1);
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) return NULL;
1230 } Py_INCREF(Py_None);
1231 _resultobj = Py_None;
1232 return _resultobj;
1233 }
1234
1235 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1236 static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject * _resultobj;
1238 wxButton * _arg0;
1239 wxColour * _arg1;
1240 PyObject * _argo0 = 0;
1241 wxColour temp;
1242 PyObject * _obj1 = 0;
1243 char *_kwnames[] = { "self","colour", NULL };
1244
1245 self = self;
1246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
1247 return NULL;
1248 if (_argo0) {
1249 if (_argo0 == Py_None) { _arg0 = NULL; }
1250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1252 return NULL;
1253 }
1254 }
1255 {
1256 _arg1 = &temp;
1257 if (! wxColour_helper(_obj1, &_arg1))
1258 return NULL;
1259 }
1260 {
1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
1262 wxButton_SetForegroundColour(_arg0,*_arg1);
1263
1264 wxPyEndAllowThreads(__tstate);
1265 if (PyErr_Occurred()) return NULL;
1266 } Py_INCREF(Py_None);
1267 _resultobj = Py_None;
1268 return _resultobj;
1269 }
1270
1271 #define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
1272 static PyObject *_wrap_wxButton_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1273 PyObject * _resultobj;
1274 wxButton * _arg0;
1275 wxBitmap * _arg1;
1276 PyObject * _argo0 = 0;
1277 PyObject * _argo1 = 0;
1278 char *_kwnames[] = { "self","bitmap", NULL };
1279
1280 self = self;
1281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetImageLabel",_kwnames,&_argo0,&_argo1))
1282 return NULL;
1283 if (_argo0) {
1284 if (_argo0 == Py_None) { _arg0 = NULL; }
1285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
1287 return NULL;
1288 }
1289 }
1290 if (_argo1) {
1291 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1292 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
1293 return NULL;
1294 }
1295 }
1296 {
1297 PyThreadState* __tstate = wxPyBeginAllowThreads();
1298 wxButton_SetImageLabel(_arg0,*_arg1);
1299
1300 wxPyEndAllowThreads(__tstate);
1301 if (PyErr_Occurred()) return NULL;
1302 } Py_INCREF(Py_None);
1303 _resultobj = Py_None;
1304 return _resultobj;
1305 }
1306
1307 #define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
1308 static PyObject *_wrap_wxButton_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1309 PyObject * _resultobj;
1310 wxButton * _arg0;
1311 wxCoord _arg1;
1312 wxCoord _arg2;
1313 PyObject * _argo0 = 0;
1314 char *_kwnames[] = { "self","x","y", NULL };
1315
1316 self = self;
1317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxButton_SetImageMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1318 return NULL;
1319 if (_argo0) {
1320 if (_argo0 == Py_None) { _arg0 = NULL; }
1321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
1323 return NULL;
1324 }
1325 }
1326 {
1327 PyThreadState* __tstate = wxPyBeginAllowThreads();
1328 wxButton_SetImageMargins(_arg0,_arg1,_arg2);
1329
1330 wxPyEndAllowThreads(__tstate);
1331 if (PyErr_Occurred()) return NULL;
1332 } Py_INCREF(Py_None);
1333 _resultobj = Py_None;
1334 return _resultobj;
1335 }
1336
1337 static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1338 PyObject * _resultobj;
1339 wxSize * _result;
1340 char *_kwnames[] = { NULL };
1341 char _ptemp[128];
1342
1343 self = self;
1344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames))
1345 return NULL;
1346 {
1347 PyThreadState* __tstate = wxPyBeginAllowThreads();
1348 _result = new wxSize (wxButton::GetDefaultSize());
1349
1350 wxPyEndAllowThreads(__tstate);
1351 if (PyErr_Occurred()) return NULL;
1352 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1353 _resultobj = Py_BuildValue("s",_ptemp);
1354 return _resultobj;
1355 }
1356
1357 static void *SwigwxBitmapButtonTowxButton(void *ptr) {
1358 wxBitmapButton *src;
1359 wxButton *dest;
1360 src = (wxBitmapButton *) ptr;
1361 dest = (wxButton *) src;
1362 return (void *) dest;
1363 }
1364
1365 static void *SwigwxBitmapButtonTowxControl(void *ptr) {
1366 wxBitmapButton *src;
1367 wxControl *dest;
1368 src = (wxBitmapButton *) ptr;
1369 dest = (wxControl *) src;
1370 return (void *) dest;
1371 }
1372
1373 static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
1374 wxBitmapButton *src;
1375 wxWindow *dest;
1376 src = (wxBitmapButton *) ptr;
1377 dest = (wxWindow *) src;
1378 return (void *) dest;
1379 }
1380
1381 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
1382 wxBitmapButton *src;
1383 wxEvtHandler *dest;
1384 src = (wxBitmapButton *) ptr;
1385 dest = (wxEvtHandler *) src;
1386 return (void *) dest;
1387 }
1388
1389 static void *SwigwxBitmapButtonTowxObject(void *ptr) {
1390 wxBitmapButton *src;
1391 wxObject *dest;
1392 src = (wxBitmapButton *) ptr;
1393 dest = (wxObject *) src;
1394 return (void *) dest;
1395 }
1396
1397 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1398 static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1399 PyObject * _resultobj;
1400 wxBitmapButton * _result;
1401 wxWindow * _arg0;
1402 wxWindowID _arg1;
1403 wxBitmap * _arg2;
1404 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1405 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1406 long _arg5 = (long ) wxBU_AUTODRAW;
1407 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1408 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
1409 PyObject * _argo0 = 0;
1410 PyObject * _argo2 = 0;
1411 wxPoint temp;
1412 PyObject * _obj3 = 0;
1413 wxSize temp0;
1414 PyObject * _obj4 = 0;
1415 PyObject * _argo6 = 0;
1416 PyObject * _obj7 = 0;
1417 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
1418 char _ptemp[128];
1419
1420 self = self;
1421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
1422 return NULL;
1423 if (_argo0) {
1424 if (_argo0 == Py_None) { _arg0 = NULL; }
1425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1427 return NULL;
1428 }
1429 }
1430 if (_argo2) {
1431 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
1432 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1433 return NULL;
1434 }
1435 }
1436 if (_obj3)
1437 {
1438 _arg3 = &temp;
1439 if (! wxPoint_helper(_obj3, &_arg3))
1440 return NULL;
1441 }
1442 if (_obj4)
1443 {
1444 _arg4 = &temp0;
1445 if (! wxSize_helper(_obj4, &_arg4))
1446 return NULL;
1447 }
1448 if (_argo6) {
1449 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
1450 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1451 return NULL;
1452 }
1453 }
1454 if (_obj7)
1455 {
1456 _arg7 = wxString_in_helper(_obj7);
1457 if (_arg7 == NULL)
1458 return NULL;
1459 }
1460 {
1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
1462 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
1463
1464 wxPyEndAllowThreads(__tstate);
1465 if (PyErr_Occurred()) return NULL;
1466 } if (_result) {
1467 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1468 _resultobj = Py_BuildValue("s",_ptemp);
1469 } else {
1470 Py_INCREF(Py_None);
1471 _resultobj = Py_None;
1472 }
1473 {
1474 if (_obj7)
1475 delete _arg7;
1476 }
1477 return _resultobj;
1478 }
1479
1480 #define new_wxPreBitmapButton() (new wxBitmapButton())
1481 static PyObject *_wrap_new_wxPreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1482 PyObject * _resultobj;
1483 wxBitmapButton * _result;
1484 char *_kwnames[] = { NULL };
1485 char _ptemp[128];
1486
1487 self = self;
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreBitmapButton",_kwnames))
1489 return NULL;
1490 {
1491 PyThreadState* __tstate = wxPyBeginAllowThreads();
1492 _result = (wxBitmapButton *)new_wxPreBitmapButton();
1493
1494 wxPyEndAllowThreads(__tstate);
1495 if (PyErr_Occurred()) return NULL;
1496 } if (_result) {
1497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1498 _resultobj = Py_BuildValue("s",_ptemp);
1499 } else {
1500 Py_INCREF(Py_None);
1501 _resultobj = Py_None;
1502 }
1503 return _resultobj;
1504 }
1505
1506 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1507 static PyObject *_wrap_wxBitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1508 PyObject * _resultobj;
1509 bool _result;
1510 wxBitmapButton * _arg0;
1511 wxWindow * _arg1;
1512 wxWindowID _arg2;
1513 wxBitmap * _arg3;
1514 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1515 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1516 long _arg6 = (long ) wxBU_AUTODRAW;
1517 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1518 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
1519 PyObject * _argo0 = 0;
1520 PyObject * _argo1 = 0;
1521 PyObject * _argo3 = 0;
1522 wxPoint temp;
1523 PyObject * _obj4 = 0;
1524 wxSize temp0;
1525 PyObject * _obj5 = 0;
1526 PyObject * _argo7 = 0;
1527 PyObject * _obj8 = 0;
1528 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL };
1529
1530 self = self;
1531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
1532 return NULL;
1533 if (_argo0) {
1534 if (_argo0 == Py_None) { _arg0 = NULL; }
1535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1537 return NULL;
1538 }
1539 }
1540 if (_argo1) {
1541 if (_argo1 == Py_None) { _arg1 = NULL; }
1542 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1543 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1544 return NULL;
1545 }
1546 }
1547 if (_argo3) {
1548 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1549 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1550 return NULL;
1551 }
1552 }
1553 if (_obj4)
1554 {
1555 _arg4 = &temp;
1556 if (! wxPoint_helper(_obj4, &_arg4))
1557 return NULL;
1558 }
1559 if (_obj5)
1560 {
1561 _arg5 = &temp0;
1562 if (! wxSize_helper(_obj5, &_arg5))
1563 return NULL;
1564 }
1565 if (_argo7) {
1566 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1567 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1568 return NULL;
1569 }
1570 }
1571 if (_obj8)
1572 {
1573 _arg8 = wxString_in_helper(_obj8);
1574 if (_arg8 == NULL)
1575 return NULL;
1576 }
1577 {
1578 PyThreadState* __tstate = wxPyBeginAllowThreads();
1579 _result = (bool )wxBitmapButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
1580
1581 wxPyEndAllowThreads(__tstate);
1582 if (PyErr_Occurred()) return NULL;
1583 } _resultobj = Py_BuildValue("i",_result);
1584 {
1585 if (_obj8)
1586 delete _arg8;
1587 }
1588 return _resultobj;
1589 }
1590
1591 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1592 static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject * _resultobj;
1594 wxBitmap * _result;
1595 wxBitmapButton * _arg0;
1596 PyObject * _argo0 = 0;
1597 char *_kwnames[] = { "self", NULL };
1598 char _ptemp[128];
1599
1600 self = self;
1601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
1602 return NULL;
1603 if (_argo0) {
1604 if (_argo0 == Py_None) { _arg0 = NULL; }
1605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1607 return NULL;
1608 }
1609 }
1610 {
1611 PyThreadState* __tstate = wxPyBeginAllowThreads();
1612 _result = new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0));
1613
1614 wxPyEndAllowThreads(__tstate);
1615 if (PyErr_Occurred()) return NULL;
1616 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1617 _resultobj = Py_BuildValue("s",_ptemp);
1618 return _resultobj;
1619 }
1620
1621 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1622 static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject * _resultobj;
1624 wxBitmap * _result;
1625 wxBitmapButton * _arg0;
1626 PyObject * _argo0 = 0;
1627 char *_kwnames[] = { "self", NULL };
1628 char _ptemp[128];
1629
1630 self = self;
1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
1632 return NULL;
1633 if (_argo0) {
1634 if (_argo0 == Py_None) { _arg0 = NULL; }
1635 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1636 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1637 return NULL;
1638 }
1639 }
1640 {
1641 PyThreadState* __tstate = wxPyBeginAllowThreads();
1642 _result = new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0));
1643
1644 wxPyEndAllowThreads(__tstate);
1645 if (PyErr_Occurred()) return NULL;
1646 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1647 _resultobj = Py_BuildValue("s",_ptemp);
1648 return _resultobj;
1649 }
1650
1651 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1652 static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1653 PyObject * _resultobj;
1654 wxBitmap * _result;
1655 wxBitmapButton * _arg0;
1656 PyObject * _argo0 = 0;
1657 char *_kwnames[] = { "self", NULL };
1658 char _ptemp[128];
1659
1660 self = self;
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0))
1662 return NULL;
1663 if (_argo0) {
1664 if (_argo0 == Py_None) { _arg0 = NULL; }
1665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1667 return NULL;
1668 }
1669 }
1670 {
1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
1672 _result = new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0));
1673
1674 wxPyEndAllowThreads(__tstate);
1675 if (PyErr_Occurred()) return NULL;
1676 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1677 _resultobj = Py_BuildValue("s",_ptemp);
1678 return _resultobj;
1679 }
1680
1681 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1682 static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject * _resultobj;
1684 wxBitmap * _result;
1685 wxBitmapButton * _arg0;
1686 PyObject * _argo0 = 0;
1687 char *_kwnames[] = { "self", NULL };
1688 char _ptemp[128];
1689
1690 self = self;
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
1692 return NULL;
1693 if (_argo0) {
1694 if (_argo0 == Py_None) { _arg0 = NULL; }
1695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1697 return NULL;
1698 }
1699 }
1700 {
1701 PyThreadState* __tstate = wxPyBeginAllowThreads();
1702 _result = new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0));
1703
1704 wxPyEndAllowThreads(__tstate);
1705 if (PyErr_Occurred()) return NULL;
1706 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1707 _resultobj = Py_BuildValue("s",_ptemp);
1708 return _resultobj;
1709 }
1710
1711 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1712 static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1713 PyObject * _resultobj;
1714 wxBitmapButton * _arg0;
1715 wxBitmap * _arg1;
1716 PyObject * _argo0 = 0;
1717 PyObject * _argo1 = 0;
1718 char *_kwnames[] = { "self","bitmap", NULL };
1719
1720 self = self;
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
1722 return NULL;
1723 if (_argo0) {
1724 if (_argo0 == Py_None) { _arg0 = NULL; }
1725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1727 return NULL;
1728 }
1729 }
1730 if (_argo1) {
1731 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1732 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1733 return NULL;
1734 }
1735 }
1736 {
1737 PyThreadState* __tstate = wxPyBeginAllowThreads();
1738 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
1739
1740 wxPyEndAllowThreads(__tstate);
1741 if (PyErr_Occurred()) return NULL;
1742 } Py_INCREF(Py_None);
1743 _resultobj = Py_None;
1744 return _resultobj;
1745 }
1746
1747 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1748 static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1749 PyObject * _resultobj;
1750 wxBitmapButton * _arg0;
1751 wxBitmap * _arg1;
1752 PyObject * _argo0 = 0;
1753 PyObject * _argo1 = 0;
1754 char *_kwnames[] = { "self","bitmap", NULL };
1755
1756 self = self;
1757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
1758 return NULL;
1759 if (_argo0) {
1760 if (_argo0 == Py_None) { _arg0 = NULL; }
1761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1763 return NULL;
1764 }
1765 }
1766 if (_argo1) {
1767 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1769 return NULL;
1770 }
1771 }
1772 {
1773 PyThreadState* __tstate = wxPyBeginAllowThreads();
1774 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
1775
1776 wxPyEndAllowThreads(__tstate);
1777 if (PyErr_Occurred()) return NULL;
1778 } Py_INCREF(Py_None);
1779 _resultobj = Py_None;
1780 return _resultobj;
1781 }
1782
1783 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1784 static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1785 PyObject * _resultobj;
1786 wxBitmapButton * _arg0;
1787 wxBitmap * _arg1;
1788 PyObject * _argo0 = 0;
1789 PyObject * _argo1 = 0;
1790 char *_kwnames[] = { "self","bitmap", NULL };
1791
1792 self = self;
1793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
1794 return NULL;
1795 if (_argo0) {
1796 if (_argo0 == Py_None) { _arg0 = NULL; }
1797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1799 return NULL;
1800 }
1801 }
1802 if (_argo1) {
1803 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1804 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1805 return NULL;
1806 }
1807 }
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) return NULL;
1814 } Py_INCREF(Py_None);
1815 _resultobj = Py_None;
1816 return _resultobj;
1817 }
1818
1819 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1820 static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1821 PyObject * _resultobj;
1822 wxBitmapButton * _arg0;
1823 wxBitmap * _arg1;
1824 PyObject * _argo0 = 0;
1825 PyObject * _argo1 = 0;
1826 char *_kwnames[] = { "self","bitmap", NULL };
1827
1828 self = self;
1829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
1830 return NULL;
1831 if (_argo0) {
1832 if (_argo0 == Py_None) { _arg0 = NULL; }
1833 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1834 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1835 return NULL;
1836 }
1837 }
1838 if (_argo1) {
1839 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1840 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1841 return NULL;
1842 }
1843 }
1844 {
1845 PyThreadState* __tstate = wxPyBeginAllowThreads();
1846 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
1847
1848 wxPyEndAllowThreads(__tstate);
1849 if (PyErr_Occurred()) return NULL;
1850 } Py_INCREF(Py_None);
1851 _resultobj = Py_None;
1852 return _resultobj;
1853 }
1854
1855 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1856 static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1857 PyObject * _resultobj;
1858 wxBitmapButton * _arg0;
1859 int _arg1;
1860 int _arg2;
1861 PyObject * _argo0 = 0;
1862 char *_kwnames[] = { "self","x","y", NULL };
1863
1864 self = self;
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1866 return NULL;
1867 if (_argo0) {
1868 if (_argo0 == Py_None) { _arg0 = NULL; }
1869 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1870 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1871 return NULL;
1872 }
1873 }
1874 {
1875 PyThreadState* __tstate = wxPyBeginAllowThreads();
1876 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
1877
1878 wxPyEndAllowThreads(__tstate);
1879 if (PyErr_Occurred()) return NULL;
1880 } Py_INCREF(Py_None);
1881 _resultobj = Py_None;
1882 return _resultobj;
1883 }
1884
1885 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1886 static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1887 PyObject * _resultobj;
1888 int _result;
1889 wxBitmapButton * _arg0;
1890 PyObject * _argo0 = 0;
1891 char *_kwnames[] = { "self", NULL };
1892
1893 self = self;
1894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0))
1895 return NULL;
1896 if (_argo0) {
1897 if (_argo0 == Py_None) { _arg0 = NULL; }
1898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1900 return NULL;
1901 }
1902 }
1903 {
1904 PyThreadState* __tstate = wxPyBeginAllowThreads();
1905 _result = (int )wxBitmapButton_GetMarginX(_arg0);
1906
1907 wxPyEndAllowThreads(__tstate);
1908 if (PyErr_Occurred()) return NULL;
1909 } _resultobj = Py_BuildValue("i",_result);
1910 return _resultobj;
1911 }
1912
1913 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1914 static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1915 PyObject * _resultobj;
1916 int _result;
1917 wxBitmapButton * _arg0;
1918 PyObject * _argo0 = 0;
1919 char *_kwnames[] = { "self", NULL };
1920
1921 self = self;
1922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0))
1923 return NULL;
1924 if (_argo0) {
1925 if (_argo0 == Py_None) { _arg0 = NULL; }
1926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1928 return NULL;
1929 }
1930 }
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 _result = (int )wxBitmapButton_GetMarginY(_arg0);
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) return NULL;
1937 } _resultobj = Py_BuildValue("i",_result);
1938 return _resultobj;
1939 }
1940
1941 static void *SwigwxCheckBoxTowxControl(void *ptr) {
1942 wxCheckBox *src;
1943 wxControl *dest;
1944 src = (wxCheckBox *) ptr;
1945 dest = (wxControl *) src;
1946 return (void *) dest;
1947 }
1948
1949 static void *SwigwxCheckBoxTowxWindow(void *ptr) {
1950 wxCheckBox *src;
1951 wxWindow *dest;
1952 src = (wxCheckBox *) ptr;
1953 dest = (wxWindow *) src;
1954 return (void *) dest;
1955 }
1956
1957 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
1958 wxCheckBox *src;
1959 wxEvtHandler *dest;
1960 src = (wxCheckBox *) ptr;
1961 dest = (wxEvtHandler *) src;
1962 return (void *) dest;
1963 }
1964
1965 static void *SwigwxCheckBoxTowxObject(void *ptr) {
1966 wxCheckBox *src;
1967 wxObject *dest;
1968 src = (wxCheckBox *) ptr;
1969 dest = (wxObject *) src;
1970 return (void *) dest;
1971 }
1972
1973 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1974 static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1975 PyObject * _resultobj;
1976 wxCheckBox * _result;
1977 wxWindow * _arg0;
1978 wxWindowID _arg1;
1979 wxString * _arg2;
1980 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1981 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1982 long _arg5 = (long ) 0;
1983 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1984 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
1985 PyObject * _argo0 = 0;
1986 PyObject * _obj2 = 0;
1987 wxPoint temp;
1988 PyObject * _obj3 = 0;
1989 wxSize temp0;
1990 PyObject * _obj4 = 0;
1991 PyObject * _argo6 = 0;
1992 PyObject * _obj7 = 0;
1993 char *_kwnames[] = { "parent","id","label","pos","size","style","val","name", NULL };
1994 char _ptemp[128];
1995
1996 self = self;
1997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
1998 return NULL;
1999 if (_argo0) {
2000 if (_argo0 == Py_None) { _arg0 = NULL; }
2001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
2003 return NULL;
2004 }
2005 }
2006 {
2007 _arg2 = wxString_in_helper(_obj2);
2008 if (_arg2 == NULL)
2009 return NULL;
2010 }
2011 if (_obj3)
2012 {
2013 _arg3 = &temp;
2014 if (! wxPoint_helper(_obj3, &_arg3))
2015 return NULL;
2016 }
2017 if (_obj4)
2018 {
2019 _arg4 = &temp0;
2020 if (! wxSize_helper(_obj4, &_arg4))
2021 return NULL;
2022 }
2023 if (_argo6) {
2024 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
2025 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
2026 return NULL;
2027 }
2028 }
2029 if (_obj7)
2030 {
2031 _arg7 = wxString_in_helper(_obj7);
2032 if (_arg7 == NULL)
2033 return NULL;
2034 }
2035 {
2036 PyThreadState* __tstate = wxPyBeginAllowThreads();
2037 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
2038
2039 wxPyEndAllowThreads(__tstate);
2040 if (PyErr_Occurred()) return NULL;
2041 } if (_result) {
2042 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2043 _resultobj = Py_BuildValue("s",_ptemp);
2044 } else {
2045 Py_INCREF(Py_None);
2046 _resultobj = Py_None;
2047 }
2048 {
2049 if (_obj2)
2050 delete _arg2;
2051 }
2052 {
2053 if (_obj7)
2054 delete _arg7;
2055 }
2056 return _resultobj;
2057 }
2058
2059 #define new_wxPreCheckBox() (new wxCheckBox())
2060 static PyObject *_wrap_new_wxPreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2061 PyObject * _resultobj;
2062 wxCheckBox * _result;
2063 char *_kwnames[] = { NULL };
2064 char _ptemp[128];
2065
2066 self = self;
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckBox",_kwnames))
2068 return NULL;
2069 {
2070 PyThreadState* __tstate = wxPyBeginAllowThreads();
2071 _result = (wxCheckBox *)new_wxPreCheckBox();
2072
2073 wxPyEndAllowThreads(__tstate);
2074 if (PyErr_Occurred()) return NULL;
2075 } if (_result) {
2076 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2077 _resultobj = Py_BuildValue("s",_ptemp);
2078 } else {
2079 Py_INCREF(Py_None);
2080 _resultobj = Py_None;
2081 }
2082 return _resultobj;
2083 }
2084
2085 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2086 static PyObject *_wrap_wxCheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2087 PyObject * _resultobj;
2088 bool _result;
2089 wxCheckBox * _arg0;
2090 wxWindow * _arg1;
2091 wxWindowID _arg2;
2092 wxString * _arg3;
2093 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2094 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2095 long _arg6 = (long ) 0;
2096 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2097 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
2098 PyObject * _argo0 = 0;
2099 PyObject * _argo1 = 0;
2100 PyObject * _obj3 = 0;
2101 wxPoint temp;
2102 PyObject * _obj4 = 0;
2103 wxSize temp0;
2104 PyObject * _obj5 = 0;
2105 PyObject * _argo7 = 0;
2106 PyObject * _obj8 = 0;
2107 char *_kwnames[] = { "self","parent","id","label","pos","size","style","val","name", NULL };
2108
2109 self = self;
2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxCheckBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
2111 return NULL;
2112 if (_argo0) {
2113 if (_argo0 == Py_None) { _arg0 = NULL; }
2114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2116 return NULL;
2117 }
2118 }
2119 if (_argo1) {
2120 if (_argo1 == Py_None) { _arg1 = NULL; }
2121 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2122 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2123 return NULL;
2124 }
2125 }
2126 {
2127 _arg3 = wxString_in_helper(_obj3);
2128 if (_arg3 == NULL)
2129 return NULL;
2130 }
2131 if (_obj4)
2132 {
2133 _arg4 = &temp;
2134 if (! wxPoint_helper(_obj4, &_arg4))
2135 return NULL;
2136 }
2137 if (_obj5)
2138 {
2139 _arg5 = &temp0;
2140 if (! wxSize_helper(_obj5, &_arg5))
2141 return NULL;
2142 }
2143 if (_argo7) {
2144 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
2145 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2146 return NULL;
2147 }
2148 }
2149 if (_obj8)
2150 {
2151 _arg8 = wxString_in_helper(_obj8);
2152 if (_arg8 == NULL)
2153 return NULL;
2154 }
2155 {
2156 PyThreadState* __tstate = wxPyBeginAllowThreads();
2157 _result = (bool )wxCheckBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
2158
2159 wxPyEndAllowThreads(__tstate);
2160 if (PyErr_Occurred()) return NULL;
2161 } _resultobj = Py_BuildValue("i",_result);
2162 {
2163 if (_obj3)
2164 delete _arg3;
2165 }
2166 {
2167 if (_obj8)
2168 delete _arg8;
2169 }
2170 return _resultobj;
2171 }
2172
2173 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2174 static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2175 PyObject * _resultobj;
2176 bool _result;
2177 wxCheckBox * _arg0;
2178 PyObject * _argo0 = 0;
2179 char *_kwnames[] = { "self", NULL };
2180
2181 self = self;
2182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
2183 return NULL;
2184 if (_argo0) {
2185 if (_argo0 == Py_None) { _arg0 = NULL; }
2186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2188 return NULL;
2189 }
2190 }
2191 {
2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
2193 _result = (bool )wxCheckBox_GetValue(_arg0);
2194
2195 wxPyEndAllowThreads(__tstate);
2196 if (PyErr_Occurred()) return NULL;
2197 } _resultobj = Py_BuildValue("i",_result);
2198 return _resultobj;
2199 }
2200
2201 #define wxCheckBox_IsChecked(_swigobj) (_swigobj->IsChecked())
2202 static PyObject *_wrap_wxCheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2203 PyObject * _resultobj;
2204 bool _result;
2205 wxCheckBox * _arg0;
2206 PyObject * _argo0 = 0;
2207 char *_kwnames[] = { "self", NULL };
2208
2209 self = self;
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_IsChecked",_kwnames,&_argo0))
2211 return NULL;
2212 if (_argo0) {
2213 if (_argo0 == Py_None) { _arg0 = NULL; }
2214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_IsChecked. Expected _wxCheckBox_p.");
2216 return NULL;
2217 }
2218 }
2219 {
2220 PyThreadState* __tstate = wxPyBeginAllowThreads();
2221 _result = (bool )wxCheckBox_IsChecked(_arg0);
2222
2223 wxPyEndAllowThreads(__tstate);
2224 if (PyErr_Occurred()) return NULL;
2225 } _resultobj = Py_BuildValue("i",_result);
2226 return _resultobj;
2227 }
2228
2229 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2230 static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject * _resultobj;
2232 wxCheckBox * _arg0;
2233 bool _arg1;
2234 PyObject * _argo0 = 0;
2235 int tempbool1;
2236 char *_kwnames[] = { "self","state", NULL };
2237
2238 self = self;
2239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
2240 return NULL;
2241 if (_argo0) {
2242 if (_argo0 == Py_None) { _arg0 = NULL; }
2243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2245 return NULL;
2246 }
2247 }
2248 _arg1 = (bool ) tempbool1;
2249 {
2250 PyThreadState* __tstate = wxPyBeginAllowThreads();
2251 wxCheckBox_SetValue(_arg0,_arg1);
2252
2253 wxPyEndAllowThreads(__tstate);
2254 if (PyErr_Occurred()) return NULL;
2255 } Py_INCREF(Py_None);
2256 _resultobj = Py_None;
2257 return _resultobj;
2258 }
2259
2260 static void *SwigwxChoiceTowxControlWithItems(void *ptr) {
2261 wxChoice *src;
2262 wxControlWithItems *dest;
2263 src = (wxChoice *) ptr;
2264 dest = (wxControlWithItems *) src;
2265 return (void *) dest;
2266 }
2267
2268 static void *SwigwxChoiceTowxControl(void *ptr) {
2269 wxChoice *src;
2270 wxControl *dest;
2271 src = (wxChoice *) ptr;
2272 dest = (wxControl *) src;
2273 return (void *) dest;
2274 }
2275
2276 static void *SwigwxChoiceTowxWindow(void *ptr) {
2277 wxChoice *src;
2278 wxWindow *dest;
2279 src = (wxChoice *) ptr;
2280 dest = (wxWindow *) src;
2281 return (void *) dest;
2282 }
2283
2284 static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
2285 wxChoice *src;
2286 wxEvtHandler *dest;
2287 src = (wxChoice *) ptr;
2288 dest = (wxEvtHandler *) src;
2289 return (void *) dest;
2290 }
2291
2292 static void *SwigwxChoiceTowxObject(void *ptr) {
2293 wxChoice *src;
2294 wxObject *dest;
2295 src = (wxChoice *) ptr;
2296 dest = (wxObject *) src;
2297 return (void *) dest;
2298 }
2299
2300 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2301 static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2302 PyObject * _resultobj;
2303 wxChoice * _result;
2304 wxWindow * _arg0;
2305 wxWindowID _arg1;
2306 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2307 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2308 int _arg4 = (int ) 0;
2309 wxString * _arg5 = (wxString *) NULL;
2310 long _arg6 = (long ) 0;
2311 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2312 wxString * _arg8 = (wxString *) &wxPyChoiceNameStr;
2313 PyObject * _argo0 = 0;
2314 wxPoint temp;
2315 PyObject * _obj2 = 0;
2316 wxSize temp0;
2317 PyObject * _obj3 = 0;
2318 PyObject * _obj5 = 0;
2319 PyObject * _argo7 = 0;
2320 PyObject * _obj8 = 0;
2321 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
2322 char _ptemp[128];
2323
2324 self = self;
2325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
2326 return NULL;
2327 if (_argo0) {
2328 if (_argo0 == Py_None) { _arg0 = NULL; }
2329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2331 return NULL;
2332 }
2333 }
2334 if (_obj2)
2335 {
2336 _arg2 = &temp;
2337 if (! wxPoint_helper(_obj2, &_arg2))
2338 return NULL;
2339 }
2340 if (_obj3)
2341 {
2342 _arg3 = &temp0;
2343 if (! wxSize_helper(_obj3, &_arg3))
2344 return NULL;
2345 }
2346 if (_obj5)
2347 {
2348 _arg5 = wxString_LIST_helper(_obj5);
2349 if (_arg5 == NULL) {
2350 return NULL;
2351 }
2352 }
2353 if (_argo7) {
2354 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
2355 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2356 return NULL;
2357 }
2358 }
2359 if (_obj8)
2360 {
2361 _arg8 = wxString_in_helper(_obj8);
2362 if (_arg8 == NULL)
2363 return NULL;
2364 }
2365 {
2366 if (_obj5) {
2367 _arg4 = PyList_Size(_obj5);
2368 }
2369 else {
2370 _arg4 = 0;
2371 }
2372 }
2373 {
2374 PyThreadState* __tstate = wxPyBeginAllowThreads();
2375 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
2376
2377 wxPyEndAllowThreads(__tstate);
2378 if (PyErr_Occurred()) return NULL;
2379 } if (_result) {
2380 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2381 _resultobj = Py_BuildValue("s",_ptemp);
2382 } else {
2383 Py_INCREF(Py_None);
2384 _resultobj = Py_None;
2385 }
2386 {
2387 delete [] _arg5;
2388 }
2389 {
2390 if (_obj8)
2391 delete _arg8;
2392 }
2393 return _resultobj;
2394 }
2395
2396 #define new_wxPreChoice() (new wxChoice())
2397 static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject * _resultobj;
2399 wxChoice * _result;
2400 char *_kwnames[] = { NULL };
2401 char _ptemp[128];
2402
2403 self = self;
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
2405 return NULL;
2406 {
2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
2408 _result = (wxChoice *)new_wxPreChoice();
2409
2410 wxPyEndAllowThreads(__tstate);
2411 if (PyErr_Occurred()) return NULL;
2412 } if (_result) {
2413 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2414 _resultobj = Py_BuildValue("s",_ptemp);
2415 } else {
2416 Py_INCREF(Py_None);
2417 _resultobj = Py_None;
2418 }
2419 return _resultobj;
2420 }
2421
2422 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2423 static PyObject *_wrap_wxChoice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2424 PyObject * _resultobj;
2425 bool _result;
2426 wxChoice * _arg0;
2427 wxWindow * _arg1;
2428 wxWindowID _arg2;
2429 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2430 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2431 int _arg5 = (int ) 0;
2432 wxString * _arg6 = (wxString *) NULL;
2433 long _arg7 = (long ) 0;
2434 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2435 wxString * _arg9 = (wxString *) &wxPyChoiceNameStr;
2436 PyObject * _argo0 = 0;
2437 PyObject * _argo1 = 0;
2438 wxPoint temp;
2439 PyObject * _obj3 = 0;
2440 wxSize temp0;
2441 PyObject * _obj4 = 0;
2442 PyObject * _obj6 = 0;
2443 PyObject * _argo8 = 0;
2444 PyObject * _obj9 = 0;
2445 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
2446
2447 self = self;
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
2449 return NULL;
2450 if (_argo0) {
2451 if (_argo0 == Py_None) { _arg0 = NULL; }
2452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2454 return NULL;
2455 }
2456 }
2457 if (_argo1) {
2458 if (_argo1 == Py_None) { _arg1 = NULL; }
2459 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2460 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2461 return NULL;
2462 }
2463 }
2464 if (_obj3)
2465 {
2466 _arg3 = &temp;
2467 if (! wxPoint_helper(_obj3, &_arg3))
2468 return NULL;
2469 }
2470 if (_obj4)
2471 {
2472 _arg4 = &temp0;
2473 if (! wxSize_helper(_obj4, &_arg4))
2474 return NULL;
2475 }
2476 if (_obj6)
2477 {
2478 _arg6 = wxString_LIST_helper(_obj6);
2479 if (_arg6 == NULL) {
2480 return NULL;
2481 }
2482 }
2483 if (_argo8) {
2484 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
2485 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2486 return NULL;
2487 }
2488 }
2489 if (_obj9)
2490 {
2491 _arg9 = wxString_in_helper(_obj9);
2492 if (_arg9 == NULL)
2493 return NULL;
2494 }
2495 {
2496 if (_obj6) {
2497 _arg5 = PyList_Size(_obj6);
2498 }
2499 else {
2500 _arg5 = 0;
2501 }
2502 }
2503 {
2504 PyThreadState* __tstate = wxPyBeginAllowThreads();
2505 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
2506
2507 wxPyEndAllowThreads(__tstate);
2508 if (PyErr_Occurred()) return NULL;
2509 } _resultobj = Py_BuildValue("i",_result);
2510 {
2511 delete [] _arg6;
2512 }
2513 {
2514 if (_obj9)
2515 delete _arg9;
2516 }
2517 return _resultobj;
2518 }
2519
2520 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2521 static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
2522 PyObject * _resultobj;
2523 wxChoice * _arg0;
2524 PyObject * _argo0 = 0;
2525 char *_kwnames[] = { "self", NULL };
2526
2527 self = self;
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
2529 return NULL;
2530 if (_argo0) {
2531 if (_argo0 == Py_None) { _arg0 = NULL; }
2532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2534 return NULL;
2535 }
2536 }
2537 {
2538 PyThreadState* __tstate = wxPyBeginAllowThreads();
2539 wxChoice_Clear(_arg0);
2540
2541 wxPyEndAllowThreads(__tstate);
2542 if (PyErr_Occurred()) return NULL;
2543 } Py_INCREF(Py_None);
2544 _resultobj = Py_None;
2545 return _resultobj;
2546 }
2547
2548 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2549 static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2550 PyObject * _resultobj;
2551 int _result;
2552 wxChoice * _arg0;
2553 PyObject * _argo0 = 0;
2554 char *_kwnames[] = { "self", NULL };
2555
2556 self = self;
2557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
2558 return NULL;
2559 if (_argo0) {
2560 if (_argo0 == Py_None) { _arg0 = NULL; }
2561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2563 return NULL;
2564 }
2565 }
2566 {
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 _result = (int )wxChoice_GetColumns(_arg0);
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) return NULL;
2572 } _resultobj = Py_BuildValue("i",_result);
2573 return _resultobj;
2574 }
2575
2576 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2577 static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2578 PyObject * _resultobj;
2579 wxChoice * _arg0;
2580 int _arg1 = (int ) 1;
2581 PyObject * _argo0 = 0;
2582 char *_kwnames[] = { "self","n", NULL };
2583
2584 self = self;
2585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
2586 return NULL;
2587 if (_argo0) {
2588 if (_argo0 == Py_None) { _arg0 = NULL; }
2589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2591 return NULL;
2592 }
2593 }
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
2596 wxChoice_SetColumns(_arg0,_arg1);
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) return NULL;
2600 } Py_INCREF(Py_None);
2601 _resultobj = Py_None;
2602 return _resultobj;
2603 }
2604
2605 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2606 static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2607 PyObject * _resultobj;
2608 wxChoice * _arg0;
2609 int _arg1;
2610 PyObject * _argo0 = 0;
2611 char *_kwnames[] = { "self","n", NULL };
2612
2613 self = self;
2614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
2615 return NULL;
2616 if (_argo0) {
2617 if (_argo0 == Py_None) { _arg0 = NULL; }
2618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2620 return NULL;
2621 }
2622 }
2623 {
2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
2625 wxChoice_SetSelection(_arg0,_arg1);
2626
2627 wxPyEndAllowThreads(__tstate);
2628 if (PyErr_Occurred()) return NULL;
2629 } Py_INCREF(Py_None);
2630 _resultobj = Py_None;
2631 return _resultobj;
2632 }
2633
2634 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2635 static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject * _resultobj;
2637 wxChoice * _arg0;
2638 wxString * _arg1;
2639 PyObject * _argo0 = 0;
2640 PyObject * _obj1 = 0;
2641 char *_kwnames[] = { "self","string", NULL };
2642
2643 self = self;
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
2645 return NULL;
2646 if (_argo0) {
2647 if (_argo0 == Py_None) { _arg0 = NULL; }
2648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2650 return NULL;
2651 }
2652 }
2653 {
2654 _arg1 = wxString_in_helper(_obj1);
2655 if (_arg1 == NULL)
2656 return NULL;
2657 }
2658 {
2659 PyThreadState* __tstate = wxPyBeginAllowThreads();
2660 wxChoice_SetStringSelection(_arg0,*_arg1);
2661
2662 wxPyEndAllowThreads(__tstate);
2663 if (PyErr_Occurred()) return NULL;
2664 } Py_INCREF(Py_None);
2665 _resultobj = Py_None;
2666 {
2667 if (_obj1)
2668 delete _arg1;
2669 }
2670 return _resultobj;
2671 }
2672
2673 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2674 static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject * _resultobj;
2676 wxChoice * _arg0;
2677 int _arg1;
2678 wxString * _arg2;
2679 PyObject * _argo0 = 0;
2680 PyObject * _obj2 = 0;
2681 char *_kwnames[] = { "self","n","s", NULL };
2682
2683 self = self;
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
2685 return NULL;
2686 if (_argo0) {
2687 if (_argo0 == Py_None) { _arg0 = NULL; }
2688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2690 return NULL;
2691 }
2692 }
2693 {
2694 _arg2 = wxString_in_helper(_obj2);
2695 if (_arg2 == NULL)
2696 return NULL;
2697 }
2698 {
2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
2700 wxChoice_SetString(_arg0,_arg1,*_arg2);
2701
2702 wxPyEndAllowThreads(__tstate);
2703 if (PyErr_Occurred()) return NULL;
2704 } Py_INCREF(Py_None);
2705 _resultobj = Py_None;
2706 {
2707 if (_obj2)
2708 delete _arg2;
2709 }
2710 return _resultobj;
2711 }
2712
2713 static void *SwigwxComboBoxTowxChoice(void *ptr) {
2714 wxComboBox *src;
2715 wxChoice *dest;
2716 src = (wxComboBox *) ptr;
2717 dest = (wxChoice *) src;
2718 return (void *) dest;
2719 }
2720
2721 static void *SwigwxComboBoxTowxControlWithItems(void *ptr) {
2722 wxComboBox *src;
2723 wxControlWithItems *dest;
2724 src = (wxComboBox *) ptr;
2725 dest = (wxControlWithItems *) src;
2726 return (void *) dest;
2727 }
2728
2729 static void *SwigwxComboBoxTowxControl(void *ptr) {
2730 wxComboBox *src;
2731 wxControl *dest;
2732 src = (wxComboBox *) ptr;
2733 dest = (wxControl *) src;
2734 return (void *) dest;
2735 }
2736
2737 static void *SwigwxComboBoxTowxWindow(void *ptr) {
2738 wxComboBox *src;
2739 wxWindow *dest;
2740 src = (wxComboBox *) ptr;
2741 dest = (wxWindow *) src;
2742 return (void *) dest;
2743 }
2744
2745 static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2746 wxComboBox *src;
2747 wxEvtHandler *dest;
2748 src = (wxComboBox *) ptr;
2749 dest = (wxEvtHandler *) src;
2750 return (void *) dest;
2751 }
2752
2753 static void *SwigwxComboBoxTowxObject(void *ptr) {
2754 wxComboBox *src;
2755 wxObject *dest;
2756 src = (wxComboBox *) ptr;
2757 dest = (wxObject *) src;
2758 return (void *) dest;
2759 }
2760
2761 #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))
2762 static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject * _resultobj;
2764 wxComboBox * _result;
2765 wxWindow * _arg0;
2766 wxWindowID _arg1;
2767 wxString * _arg2 = (wxString *) &wxPyEmptyString;
2768 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2769 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2770 int _arg5 = (int ) 0;
2771 wxString * _arg6 = (wxString *) NULL;
2772 long _arg7 = (long ) 0;
2773 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2774 wxString * _arg9 = (wxString *) &wxPyComboBoxNameStr;
2775 PyObject * _argo0 = 0;
2776 PyObject * _obj2 = 0;
2777 wxPoint temp;
2778 PyObject * _obj3 = 0;
2779 wxSize temp0;
2780 PyObject * _obj4 = 0;
2781 PyObject * _obj6 = 0;
2782 PyObject * _argo8 = 0;
2783 PyObject * _obj9 = 0;
2784 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
2785 char _ptemp[128];
2786
2787 self = self;
2788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOOlOO:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
2789 return NULL;
2790 if (_argo0) {
2791 if (_argo0 == Py_None) { _arg0 = NULL; }
2792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2794 return NULL;
2795 }
2796 }
2797 if (_obj2)
2798 {
2799 _arg2 = wxString_in_helper(_obj2);
2800 if (_arg2 == NULL)
2801 return NULL;
2802 }
2803 if (_obj3)
2804 {
2805 _arg3 = &temp;
2806 if (! wxPoint_helper(_obj3, &_arg3))
2807 return NULL;
2808 }
2809 if (_obj4)
2810 {
2811 _arg4 = &temp0;
2812 if (! wxSize_helper(_obj4, &_arg4))
2813 return NULL;
2814 }
2815 if (_obj6)
2816 {
2817 _arg6 = wxString_LIST_helper(_obj6);
2818 if (_arg6 == NULL) {
2819 return NULL;
2820 }
2821 }
2822 if (_argo8) {
2823 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
2824 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2825 return NULL;
2826 }
2827 }
2828 if (_obj9)
2829 {
2830 _arg9 = wxString_in_helper(_obj9);
2831 if (_arg9 == NULL)
2832 return NULL;
2833 }
2834 {
2835 if (_obj6) {
2836 _arg5 = PyList_Size(_obj6);
2837 }
2838 else {
2839 _arg5 = 0;
2840 }
2841 }
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) return NULL;
2848 } if (_result) {
2849 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2850 _resultobj = Py_BuildValue("s",_ptemp);
2851 } else {
2852 Py_INCREF(Py_None);
2853 _resultobj = Py_None;
2854 }
2855 {
2856 if (_obj2)
2857 delete _arg2;
2858 }
2859 {
2860 delete [] _arg6;
2861 }
2862 {
2863 if (_obj9)
2864 delete _arg9;
2865 }
2866 return _resultobj;
2867 }
2868
2869 #define new_wxPreComboBox() (new wxComboBox())
2870 static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2871 PyObject * _resultobj;
2872 wxComboBox * _result;
2873 char *_kwnames[] = { NULL };
2874 char _ptemp[128];
2875
2876 self = self;
2877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2878 return NULL;
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 _result = (wxComboBox *)new_wxPreComboBox();
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) return NULL;
2885 } if (_result) {
2886 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2887 _resultobj = Py_BuildValue("s",_ptemp);
2888 } else {
2889 Py_INCREF(Py_None);
2890 _resultobj = Py_None;
2891 }
2892 return _resultobj;
2893 }
2894
2895 #define wxComboBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
2896 static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2897 PyObject * _resultobj;
2898 bool _result;
2899 wxComboBox * _arg0;
2900 wxWindow * _arg1;
2901 wxWindowID _arg2;
2902 wxString * _arg3 = (wxString *) &wxPyEmptyString;
2903 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2904 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2905 int _arg6 = (int ) 0;
2906 wxString * _arg7 = (wxString *) NULL;
2907 long _arg8 = (long ) 0;
2908 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
2909 wxString * _arg10 = (wxString *) &wxPyComboBoxNameStr;
2910 PyObject * _argo0 = 0;
2911 PyObject * _argo1 = 0;
2912 PyObject * _obj3 = 0;
2913 wxPoint temp;
2914 PyObject * _obj4 = 0;
2915 wxSize temp0;
2916 PyObject * _obj5 = 0;
2917 PyObject * _obj7 = 0;
2918 PyObject * _argo9 = 0;
2919 PyObject * _obj10 = 0;
2920 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2921
2922 self = self;
2923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOOlOO:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_obj10))
2924 return NULL;
2925 if (_argo0) {
2926 if (_argo0 == Py_None) { _arg0 = NULL; }
2927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2929 return NULL;
2930 }
2931 }
2932 if (_argo1) {
2933 if (_argo1 == Py_None) { _arg1 = NULL; }
2934 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2935 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2936 return NULL;
2937 }
2938 }
2939 if (_obj3)
2940 {
2941 _arg3 = wxString_in_helper(_obj3);
2942 if (_arg3 == NULL)
2943 return NULL;
2944 }
2945 if (_obj4)
2946 {
2947 _arg4 = &temp;
2948 if (! wxPoint_helper(_obj4, &_arg4))
2949 return NULL;
2950 }
2951 if (_obj5)
2952 {
2953 _arg5 = &temp0;
2954 if (! wxSize_helper(_obj5, &_arg5))
2955 return NULL;
2956 }
2957 if (_obj7)
2958 {
2959 _arg7 = wxString_LIST_helper(_obj7);
2960 if (_arg7 == NULL) {
2961 return NULL;
2962 }
2963 }
2964 if (_argo9) {
2965 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
2966 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2967 return NULL;
2968 }
2969 }
2970 if (_obj10)
2971 {
2972 _arg10 = wxString_in_helper(_obj10);
2973 if (_arg10 == NULL)
2974 return NULL;
2975 }
2976 {
2977 if (_obj7) {
2978 _arg6 = PyList_Size(_obj7);
2979 }
2980 else {
2981 _arg6 = 0;
2982 }
2983 }
2984 {
2985 PyThreadState* __tstate = wxPyBeginAllowThreads();
2986 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
2987
2988 wxPyEndAllowThreads(__tstate);
2989 if (PyErr_Occurred()) return NULL;
2990 } _resultobj = Py_BuildValue("i",_result);
2991 {
2992 if (_obj3)
2993 delete _arg3;
2994 }
2995 {
2996 delete [] _arg7;
2997 }
2998 {
2999 if (_obj10)
3000 delete _arg10;
3001 }
3002 return _resultobj;
3003 }
3004
3005 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
3006 static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3007 PyObject * _resultobj;
3008 wxComboBox * _arg0;
3009 PyObject * _argo0 = 0;
3010 char *_kwnames[] = { "self", NULL };
3011
3012 self = self;
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
3014 return NULL;
3015 if (_argo0) {
3016 if (_argo0 == Py_None) { _arg0 = NULL; }
3017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
3019 return NULL;
3020 }
3021 }
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 wxComboBox_Copy(_arg0);
3025
3026 wxPyEndAllowThreads(__tstate);
3027 if (PyErr_Occurred()) return NULL;
3028 } Py_INCREF(Py_None);
3029 _resultobj = Py_None;
3030 return _resultobj;
3031 }
3032
3033 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
3034 static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3035 PyObject * _resultobj;
3036 wxComboBox * _arg0;
3037 PyObject * _argo0 = 0;
3038 char *_kwnames[] = { "self", NULL };
3039
3040 self = self;
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
3042 return NULL;
3043 if (_argo0) {
3044 if (_argo0 == Py_None) { _arg0 = NULL; }
3045 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3046 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
3047 return NULL;
3048 }
3049 }
3050 {
3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
3052 wxComboBox_Cut(_arg0);
3053
3054 wxPyEndAllowThreads(__tstate);
3055 if (PyErr_Occurred()) return NULL;
3056 } Py_INCREF(Py_None);
3057 _resultobj = Py_None;
3058 return _resultobj;
3059 }
3060
3061 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
3062 static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3063 PyObject * _resultobj;
3064 long _result;
3065 wxComboBox * _arg0;
3066 PyObject * _argo0 = 0;
3067 char *_kwnames[] = { "self", NULL };
3068
3069 self = self;
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
3071 return NULL;
3072 if (_argo0) {
3073 if (_argo0 == Py_None) { _arg0 = NULL; }
3074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
3076 return NULL;
3077 }
3078 }
3079 {
3080 PyThreadState* __tstate = wxPyBeginAllowThreads();
3081 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
3082
3083 wxPyEndAllowThreads(__tstate);
3084 if (PyErr_Occurred()) return NULL;
3085 } _resultobj = Py_BuildValue("l",_result);
3086 return _resultobj;
3087 }
3088
3089 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3090 static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3091 PyObject * _resultobj;
3092 long _result;
3093 wxComboBox * _arg0;
3094 PyObject * _argo0 = 0;
3095 char *_kwnames[] = { "self", NULL };
3096
3097 self = self;
3098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
3099 return NULL;
3100 if (_argo0) {
3101 if (_argo0 == Py_None) { _arg0 = NULL; }
3102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3104 return NULL;
3105 }
3106 }
3107 {
3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
3109 _result = (long )wxComboBox_GetLastPosition(_arg0);
3110
3111 wxPyEndAllowThreads(__tstate);
3112 if (PyErr_Occurred()) return NULL;
3113 } _resultobj = Py_BuildValue("l",_result);
3114 return _resultobj;
3115 }
3116
3117 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3118 static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject * _resultobj;
3120 wxString * _result;
3121 wxComboBox * _arg0;
3122 PyObject * _argo0 = 0;
3123 char *_kwnames[] = { "self", NULL };
3124
3125 self = self;
3126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
3127 return NULL;
3128 if (_argo0) {
3129 if (_argo0 == Py_None) { _arg0 = NULL; }
3130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3132 return NULL;
3133 }
3134 }
3135 {
3136 PyThreadState* __tstate = wxPyBeginAllowThreads();
3137 _result = new wxString (wxComboBox_GetValue(_arg0));
3138
3139 wxPyEndAllowThreads(__tstate);
3140 if (PyErr_Occurred()) return NULL;
3141 }{
3142 #if wxUSE_UNICODE
3143 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3144 #else
3145 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3146 #endif
3147 }
3148 {
3149 delete _result;
3150 }
3151 return _resultobj;
3152 }
3153
3154 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3155 static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject * _resultobj;
3157 wxComboBox * _arg0;
3158 PyObject * _argo0 = 0;
3159 char *_kwnames[] = { "self", NULL };
3160
3161 self = self;
3162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
3163 return NULL;
3164 if (_argo0) {
3165 if (_argo0 == Py_None) { _arg0 = NULL; }
3166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3168 return NULL;
3169 }
3170 }
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 wxComboBox_Paste(_arg0);
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) return NULL;
3177 } Py_INCREF(Py_None);
3178 _resultobj = Py_None;
3179 return _resultobj;
3180 }
3181
3182 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3183 static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3184 PyObject * _resultobj;
3185 wxComboBox * _arg0;
3186 long _arg1;
3187 long _arg2;
3188 wxString * _arg3;
3189 PyObject * _argo0 = 0;
3190 PyObject * _obj3 = 0;
3191 char *_kwnames[] = { "self","from","to","text", NULL };
3192
3193 self = self;
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
3195 return NULL;
3196 if (_argo0) {
3197 if (_argo0 == Py_None) { _arg0 = NULL; }
3198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3200 return NULL;
3201 }
3202 }
3203 {
3204 _arg3 = wxString_in_helper(_obj3);
3205 if (_arg3 == NULL)
3206 return NULL;
3207 }
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) return NULL;
3214 } Py_INCREF(Py_None);
3215 _resultobj = Py_None;
3216 {
3217 if (_obj3)
3218 delete _arg3;
3219 }
3220 return _resultobj;
3221 }
3222
3223 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3224 static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3225 PyObject * _resultobj;
3226 wxComboBox * _arg0;
3227 long _arg1;
3228 long _arg2;
3229 PyObject * _argo0 = 0;
3230 char *_kwnames[] = { "self","from","to", NULL };
3231
3232 self = self;
3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
3234 return NULL;
3235 if (_argo0) {
3236 if (_argo0 == Py_None) { _arg0 = NULL; }
3237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3239 return NULL;
3240 }
3241 }
3242 {
3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
3244 wxComboBox_Remove(_arg0,_arg1,_arg2);
3245
3246 wxPyEndAllowThreads(__tstate);
3247 if (PyErr_Occurred()) return NULL;
3248 } Py_INCREF(Py_None);
3249 _resultobj = Py_None;
3250 return _resultobj;
3251 }
3252
3253 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3254 static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3255 PyObject * _resultobj;
3256 wxComboBox * _arg0;
3257 long _arg1;
3258 PyObject * _argo0 = 0;
3259 char *_kwnames[] = { "self","pos", NULL };
3260
3261 self = self;
3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
3263 return NULL;
3264 if (_argo0) {
3265 if (_argo0 == Py_None) { _arg0 = NULL; }
3266 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3267 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3268 return NULL;
3269 }
3270 }
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 wxComboBox_SetInsertionPoint(_arg0,_arg1);
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) return NULL;
3277 } Py_INCREF(Py_None);
3278 _resultobj = Py_None;
3279 return _resultobj;
3280 }
3281
3282 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3283 static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3284 PyObject * _resultobj;
3285 wxComboBox * _arg0;
3286 PyObject * _argo0 = 0;
3287 char *_kwnames[] = { "self", NULL };
3288
3289 self = self;
3290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
3291 return NULL;
3292 if (_argo0) {
3293 if (_argo0 == Py_None) { _arg0 = NULL; }
3294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3296 return NULL;
3297 }
3298 }
3299 {
3300 PyThreadState* __tstate = wxPyBeginAllowThreads();
3301 wxComboBox_SetInsertionPointEnd(_arg0);
3302
3303 wxPyEndAllowThreads(__tstate);
3304 if (PyErr_Occurred()) return NULL;
3305 } Py_INCREF(Py_None);
3306 _resultobj = Py_None;
3307 return _resultobj;
3308 }
3309
3310 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3311 static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3312 PyObject * _resultobj;
3313 wxComboBox * _arg0;
3314 int _arg1;
3315 PyObject * _argo0 = 0;
3316 char *_kwnames[] = { "self","n", NULL };
3317
3318 self = self;
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
3320 return NULL;
3321 if (_argo0) {
3322 if (_argo0 == Py_None) { _arg0 = NULL; }
3323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3325 return NULL;
3326 }
3327 }
3328 {
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
3330 wxComboBox_SetSelection(_arg0,_arg1);
3331
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) return NULL;
3334 } Py_INCREF(Py_None);
3335 _resultobj = Py_None;
3336 return _resultobj;
3337 }
3338
3339 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3340 static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3341 PyObject * _resultobj;
3342 wxComboBox * _arg0;
3343 long _arg1;
3344 long _arg2;
3345 PyObject * _argo0 = 0;
3346 char *_kwnames[] = { "self","from","to", NULL };
3347
3348 self = self;
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
3350 return NULL;
3351 if (_argo0) {
3352 if (_argo0 == Py_None) { _arg0 = NULL; }
3353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3355 return NULL;
3356 }
3357 }
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 wxComboBox_SetMark(_arg0,_arg1,_arg2);
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) return NULL;
3364 } Py_INCREF(Py_None);
3365 _resultobj = Py_None;
3366 return _resultobj;
3367 }
3368
3369 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3370 static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3371 PyObject * _resultobj;
3372 wxComboBox * _arg0;
3373 wxString * _arg1;
3374 PyObject * _argo0 = 0;
3375 PyObject * _obj1 = 0;
3376 char *_kwnames[] = { "self","text", NULL };
3377
3378 self = self;
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
3380 return NULL;
3381 if (_argo0) {
3382 if (_argo0 == Py_None) { _arg0 = NULL; }
3383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3385 return NULL;
3386 }
3387 }
3388 {
3389 _arg1 = wxString_in_helper(_obj1);
3390 if (_arg1 == NULL)
3391 return NULL;
3392 }
3393 {
3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
3395 wxComboBox_SetValue(_arg0,*_arg1);
3396
3397 wxPyEndAllowThreads(__tstate);
3398 if (PyErr_Occurred()) return NULL;
3399 } Py_INCREF(Py_None);
3400 _resultobj = Py_None;
3401 {
3402 if (_obj1)
3403 delete _arg1;
3404 }
3405 return _resultobj;
3406 }
3407
3408 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3409 static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3410 PyObject * _resultobj;
3411 wxComboBox * _arg0;
3412 bool _arg1;
3413 PyObject * _argo0 = 0;
3414 int tempbool1;
3415 char *_kwnames[] = { "self","editable", NULL };
3416
3417 self = self;
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3419 return NULL;
3420 if (_argo0) {
3421 if (_argo0 == Py_None) { _arg0 = NULL; }
3422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3424 return NULL;
3425 }
3426 }
3427 _arg1 = (bool ) tempbool1;
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
3430 wxComboBox_SetEditable(_arg0,_arg1);
3431
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) return NULL;
3434 } Py_INCREF(Py_None);
3435 _resultobj = Py_None;
3436 return _resultobj;
3437 }
3438
3439 static void *SwigwxGaugeTowxControl(void *ptr) {
3440 wxGauge *src;
3441 wxControl *dest;
3442 src = (wxGauge *) ptr;
3443 dest = (wxControl *) src;
3444 return (void *) dest;
3445 }
3446
3447 static void *SwigwxGaugeTowxWindow(void *ptr) {
3448 wxGauge *src;
3449 wxWindow *dest;
3450 src = (wxGauge *) ptr;
3451 dest = (wxWindow *) src;
3452 return (void *) dest;
3453 }
3454
3455 static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3456 wxGauge *src;
3457 wxEvtHandler *dest;
3458 src = (wxGauge *) ptr;
3459 dest = (wxEvtHandler *) src;
3460 return (void *) dest;
3461 }
3462
3463 static void *SwigwxGaugeTowxObject(void *ptr) {
3464 wxGauge *src;
3465 wxObject *dest;
3466 src = (wxGauge *) ptr;
3467 dest = (wxObject *) src;
3468 return (void *) dest;
3469 }
3470
3471 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3472 static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject * _resultobj;
3474 wxGauge * _result;
3475 wxWindow * _arg0;
3476 wxWindowID _arg1;
3477 int _arg2;
3478 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3479 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3480 long _arg5 = (long ) wxGA_HORIZONTAL;
3481 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
3482 wxString * _arg7 = (wxString *) &wxPyGaugeNameStr;
3483 PyObject * _argo0 = 0;
3484 wxPoint temp;
3485 PyObject * _obj3 = 0;
3486 wxSize temp0;
3487 PyObject * _obj4 = 0;
3488 PyObject * _argo6 = 0;
3489 PyObject * _obj7 = 0;
3490 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
3491 char _ptemp[128];
3492
3493 self = self;
3494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOO:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
3495 return NULL;
3496 if (_argo0) {
3497 if (_argo0 == Py_None) { _arg0 = NULL; }
3498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3500 return NULL;
3501 }
3502 }
3503 if (_obj3)
3504 {
3505 _arg3 = &temp;
3506 if (! wxPoint_helper(_obj3, &_arg3))
3507 return NULL;
3508 }
3509 if (_obj4)
3510 {
3511 _arg4 = &temp0;
3512 if (! wxSize_helper(_obj4, &_arg4))
3513 return NULL;
3514 }
3515 if (_argo6) {
3516 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3517 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3518 return NULL;
3519 }
3520 }
3521 if (_obj7)
3522 {
3523 _arg7 = wxString_in_helper(_obj7);
3524 if (_arg7 == NULL)
3525 return NULL;
3526 }
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) return NULL;
3533 } if (_result) {
3534 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3535 _resultobj = Py_BuildValue("s",_ptemp);
3536 } else {
3537 Py_INCREF(Py_None);
3538 _resultobj = Py_None;
3539 }
3540 {
3541 if (_obj7)
3542 delete _arg7;
3543 }
3544 return _resultobj;
3545 }
3546
3547 #define new_wxPreGauge() (new wxGauge())
3548 static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3549 PyObject * _resultobj;
3550 wxGauge * _result;
3551 char *_kwnames[] = { NULL };
3552 char _ptemp[128];
3553
3554 self = self;
3555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
3556 return NULL;
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 _result = (wxGauge *)new_wxPreGauge();
3560
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) return NULL;
3563 } if (_result) {
3564 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3565 _resultobj = Py_BuildValue("s",_ptemp);
3566 } else {
3567 Py_INCREF(Py_None);
3568 _resultobj = Py_None;
3569 }
3570 return _resultobj;
3571 }
3572
3573 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3574 static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3575 PyObject * _resultobj;
3576 bool _result;
3577 wxGauge * _arg0;
3578 wxWindow * _arg1;
3579 wxWindowID _arg2;
3580 int _arg3;
3581 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3582 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3583 long _arg6 = (long ) wxGA_HORIZONTAL;
3584 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
3585 wxString * _arg8 = (wxString *) &wxPyGaugeNameStr;
3586 PyObject * _argo0 = 0;
3587 PyObject * _argo1 = 0;
3588 wxPoint temp;
3589 PyObject * _obj4 = 0;
3590 wxSize temp0;
3591 PyObject * _obj5 = 0;
3592 PyObject * _argo7 = 0;
3593 PyObject * _obj8 = 0;
3594 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
3595
3596 self = self;
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOO:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
3598 return NULL;
3599 if (_argo0) {
3600 if (_argo0 == Py_None) { _arg0 = NULL; }
3601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3603 return NULL;
3604 }
3605 }
3606 if (_argo1) {
3607 if (_argo1 == Py_None) { _arg1 = NULL; }
3608 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3609 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3610 return NULL;
3611 }
3612 }
3613 if (_obj4)
3614 {
3615 _arg4 = &temp;
3616 if (! wxPoint_helper(_obj4, &_arg4))
3617 return NULL;
3618 }
3619 if (_obj5)
3620 {
3621 _arg5 = &temp0;
3622 if (! wxSize_helper(_obj5, &_arg5))
3623 return NULL;
3624 }
3625 if (_argo7) {
3626 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
3627 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3628 return NULL;
3629 }
3630 }
3631 if (_obj8)
3632 {
3633 _arg8 = wxString_in_helper(_obj8);
3634 if (_arg8 == NULL)
3635 return NULL;
3636 }
3637 {
3638 PyThreadState* __tstate = wxPyBeginAllowThreads();
3639 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
3640
3641 wxPyEndAllowThreads(__tstate);
3642 if (PyErr_Occurred()) return NULL;
3643 } _resultobj = Py_BuildValue("i",_result);
3644 {
3645 if (_obj8)
3646 delete _arg8;
3647 }
3648 return _resultobj;
3649 }
3650
3651 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3652 static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3653 PyObject * _resultobj;
3654 int _result;
3655 wxGauge * _arg0;
3656 PyObject * _argo0 = 0;
3657 char *_kwnames[] = { "self", NULL };
3658
3659 self = self;
3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
3661 return NULL;
3662 if (_argo0) {
3663 if (_argo0 == Py_None) { _arg0 = NULL; }
3664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3666 return NULL;
3667 }
3668 }
3669 {
3670 PyThreadState* __tstate = wxPyBeginAllowThreads();
3671 _result = (int )wxGauge_GetBezelFace(_arg0);
3672
3673 wxPyEndAllowThreads(__tstate);
3674 if (PyErr_Occurred()) return NULL;
3675 } _resultobj = Py_BuildValue("i",_result);
3676 return _resultobj;
3677 }
3678
3679 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3680 static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject * _resultobj;
3682 int _result;
3683 wxGauge * _arg0;
3684 PyObject * _argo0 = 0;
3685 char *_kwnames[] = { "self", NULL };
3686
3687 self = self;
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
3689 return NULL;
3690 if (_argo0) {
3691 if (_argo0 == Py_None) { _arg0 = NULL; }
3692 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3693 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3694 return NULL;
3695 }
3696 }
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 _result = (int )wxGauge_GetRange(_arg0);
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) return NULL;
3703 } _resultobj = Py_BuildValue("i",_result);
3704 return _resultobj;
3705 }
3706
3707 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3708 static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3709 PyObject * _resultobj;
3710 int _result;
3711 wxGauge * _arg0;
3712 PyObject * _argo0 = 0;
3713 char *_kwnames[] = { "self", NULL };
3714
3715 self = self;
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
3717 return NULL;
3718 if (_argo0) {
3719 if (_argo0 == Py_None) { _arg0 = NULL; }
3720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3722 return NULL;
3723 }
3724 }
3725 {
3726 PyThreadState* __tstate = wxPyBeginAllowThreads();
3727 _result = (int )wxGauge_GetShadowWidth(_arg0);
3728
3729 wxPyEndAllowThreads(__tstate);
3730 if (PyErr_Occurred()) return NULL;
3731 } _resultobj = Py_BuildValue("i",_result);
3732 return _resultobj;
3733 }
3734
3735 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3736 static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject * _resultobj;
3738 int _result;
3739 wxGauge * _arg0;
3740 PyObject * _argo0 = 0;
3741 char *_kwnames[] = { "self", NULL };
3742
3743 self = self;
3744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
3745 return NULL;
3746 if (_argo0) {
3747 if (_argo0 == Py_None) { _arg0 = NULL; }
3748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3750 return NULL;
3751 }
3752 }
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 _result = (int )wxGauge_GetValue(_arg0);
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) return NULL;
3759 } _resultobj = Py_BuildValue("i",_result);
3760 return _resultobj;
3761 }
3762
3763 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3764 static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3765 PyObject * _resultobj;
3766 wxGauge * _arg0;
3767 int _arg1;
3768 PyObject * _argo0 = 0;
3769 char *_kwnames[] = { "self","width", NULL };
3770
3771 self = self;
3772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
3773 return NULL;
3774 if (_argo0) {
3775 if (_argo0 == Py_None) { _arg0 = NULL; }
3776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3778 return NULL;
3779 }
3780 }
3781 {
3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
3783 wxGauge_SetBezelFace(_arg0,_arg1);
3784
3785 wxPyEndAllowThreads(__tstate);
3786 if (PyErr_Occurred()) return NULL;
3787 } Py_INCREF(Py_None);
3788 _resultobj = Py_None;
3789 return _resultobj;
3790 }
3791
3792 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3793 static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3794 PyObject * _resultobj;
3795 wxGauge * _arg0;
3796 int _arg1;
3797 PyObject * _argo0 = 0;
3798 char *_kwnames[] = { "self","range", NULL };
3799
3800 self = self;
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
3802 return NULL;
3803 if (_argo0) {
3804 if (_argo0 == Py_None) { _arg0 = NULL; }
3805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3807 return NULL;
3808 }
3809 }
3810 {
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 wxGauge_SetRange(_arg0,_arg1);
3813
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) return NULL;
3816 } Py_INCREF(Py_None);
3817 _resultobj = Py_None;
3818 return _resultobj;
3819 }
3820
3821 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3822 static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject * _resultobj;
3824 wxGauge * _arg0;
3825 int _arg1;
3826 PyObject * _argo0 = 0;
3827 char *_kwnames[] = { "self","width", NULL };
3828
3829 self = self;
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
3831 return NULL;
3832 if (_argo0) {
3833 if (_argo0 == Py_None) { _arg0 = NULL; }
3834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3836 return NULL;
3837 }
3838 }
3839 {
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 wxGauge_SetShadowWidth(_arg0,_arg1);
3842
3843 wxPyEndAllowThreads(__tstate);
3844 if (PyErr_Occurred()) return NULL;
3845 } Py_INCREF(Py_None);
3846 _resultobj = Py_None;
3847 return _resultobj;
3848 }
3849
3850 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3851 static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3852 PyObject * _resultobj;
3853 wxGauge * _arg0;
3854 int _arg1;
3855 PyObject * _argo0 = 0;
3856 char *_kwnames[] = { "self","pos", NULL };
3857
3858 self = self;
3859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
3860 return NULL;
3861 if (_argo0) {
3862 if (_argo0 == Py_None) { _arg0 = NULL; }
3863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3865 return NULL;
3866 }
3867 }
3868 {
3869 PyThreadState* __tstate = wxPyBeginAllowThreads();
3870 wxGauge_SetValue(_arg0,_arg1);
3871
3872 wxPyEndAllowThreads(__tstate);
3873 if (PyErr_Occurred()) return NULL;
3874 } Py_INCREF(Py_None);
3875 _resultobj = Py_None;
3876 return _resultobj;
3877 }
3878
3879 static void *SwigwxStaticBoxTowxControl(void *ptr) {
3880 wxStaticBox *src;
3881 wxControl *dest;
3882 src = (wxStaticBox *) ptr;
3883 dest = (wxControl *) src;
3884 return (void *) dest;
3885 }
3886
3887 static void *SwigwxStaticBoxTowxWindow(void *ptr) {
3888 wxStaticBox *src;
3889 wxWindow *dest;
3890 src = (wxStaticBox *) ptr;
3891 dest = (wxWindow *) src;
3892 return (void *) dest;
3893 }
3894
3895 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
3896 wxStaticBox *src;
3897 wxEvtHandler *dest;
3898 src = (wxStaticBox *) ptr;
3899 dest = (wxEvtHandler *) src;
3900 return (void *) dest;
3901 }
3902
3903 static void *SwigwxStaticBoxTowxObject(void *ptr) {
3904 wxStaticBox *src;
3905 wxObject *dest;
3906 src = (wxStaticBox *) ptr;
3907 dest = (wxObject *) src;
3908 return (void *) dest;
3909 }
3910
3911 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3912 static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject * _resultobj;
3914 wxStaticBox * _result;
3915 wxWindow * _arg0;
3916 wxWindowID _arg1;
3917 wxString * _arg2;
3918 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3919 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3920 long _arg5 = (long ) 0;
3921 wxString * _arg6 = (wxString *) &wxPyStaticBoxNameStr;
3922 PyObject * _argo0 = 0;
3923 PyObject * _obj2 = 0;
3924 wxPoint temp;
3925 PyObject * _obj3 = 0;
3926 wxSize temp0;
3927 PyObject * _obj4 = 0;
3928 PyObject * _obj6 = 0;
3929 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
3930 char _ptemp[128];
3931
3932 self = self;
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
3934 return NULL;
3935 if (_argo0) {
3936 if (_argo0 == Py_None) { _arg0 = NULL; }
3937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3939 return NULL;
3940 }
3941 }
3942 {
3943 _arg2 = wxString_in_helper(_obj2);
3944 if (_arg2 == NULL)
3945 return NULL;
3946 }
3947 if (_obj3)
3948 {
3949 _arg3 = &temp;
3950 if (! wxPoint_helper(_obj3, &_arg3))
3951 return NULL;
3952 }
3953 if (_obj4)
3954 {
3955 _arg4 = &temp0;
3956 if (! wxSize_helper(_obj4, &_arg4))
3957 return NULL;
3958 }
3959 if (_obj6)
3960 {
3961 _arg6 = wxString_in_helper(_obj6);
3962 if (_arg6 == NULL)
3963 return NULL;
3964 }
3965 {
3966 PyThreadState* __tstate = wxPyBeginAllowThreads();
3967 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
3968
3969 wxPyEndAllowThreads(__tstate);
3970 if (PyErr_Occurred()) return NULL;
3971 } if (_result) {
3972 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
3973 _resultobj = Py_BuildValue("s",_ptemp);
3974 } else {
3975 Py_INCREF(Py_None);
3976 _resultobj = Py_None;
3977 }
3978 {
3979 if (_obj2)
3980 delete _arg2;
3981 }
3982 {
3983 if (_obj6)
3984 delete _arg6;
3985 }
3986 return _resultobj;
3987 }
3988
3989 #define new_wxPreStaticBox() (new wxStaticBox())
3990 static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3991 PyObject * _resultobj;
3992 wxStaticBox * _result;
3993 char *_kwnames[] = { NULL };
3994 char _ptemp[128];
3995
3996 self = self;
3997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
3998 return NULL;
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 _result = (wxStaticBox *)new_wxPreStaticBox();
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) return NULL;
4005 } if (_result) {
4006 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
4007 _resultobj = Py_BuildValue("s",_ptemp);
4008 } else {
4009 Py_INCREF(Py_None);
4010 _resultobj = Py_None;
4011 }
4012 return _resultobj;
4013 }
4014
4015 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4016 static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject * _resultobj;
4018 bool _result;
4019 wxStaticBox * _arg0;
4020 wxWindow * _arg1;
4021 wxWindowID _arg2;
4022 wxString * _arg3;
4023 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4024 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4025 long _arg6 = (long ) 0;
4026 wxString * _arg7 = (wxString *) &wxPyStaticBoxNameStr;
4027 PyObject * _argo0 = 0;
4028 PyObject * _argo1 = 0;
4029 PyObject * _obj3 = 0;
4030 wxPoint temp;
4031 PyObject * _obj4 = 0;
4032 wxSize temp0;
4033 PyObject * _obj5 = 0;
4034 PyObject * _obj7 = 0;
4035 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4036
4037 self = self;
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
4039 return NULL;
4040 if (_argo0) {
4041 if (_argo0 == Py_None) { _arg0 = NULL; }
4042 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
4043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4044 return NULL;
4045 }
4046 }
4047 if (_argo1) {
4048 if (_argo1 == Py_None) { _arg1 = NULL; }
4049 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4050 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4051 return NULL;
4052 }
4053 }
4054 {
4055 _arg3 = wxString_in_helper(_obj3);
4056 if (_arg3 == NULL)
4057 return NULL;
4058 }
4059 if (_obj4)
4060 {
4061 _arg4 = &temp;
4062 if (! wxPoint_helper(_obj4, &_arg4))
4063 return NULL;
4064 }
4065 if (_obj5)
4066 {
4067 _arg5 = &temp0;
4068 if (! wxSize_helper(_obj5, &_arg5))
4069 return NULL;
4070 }
4071 if (_obj7)
4072 {
4073 _arg7 = wxString_in_helper(_obj7);
4074 if (_arg7 == NULL)
4075 return NULL;
4076 }
4077 {
4078 PyThreadState* __tstate = wxPyBeginAllowThreads();
4079 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
4080
4081 wxPyEndAllowThreads(__tstate);
4082 if (PyErr_Occurred()) return NULL;
4083 } _resultobj = Py_BuildValue("i",_result);
4084 {
4085 if (_obj3)
4086 delete _arg3;
4087 }
4088 {
4089 if (_obj7)
4090 delete _arg7;
4091 }
4092 return _resultobj;
4093 }
4094
4095 static void *SwigwxStaticLineTowxControl(void *ptr) {
4096 wxStaticLine *src;
4097 wxControl *dest;
4098 src = (wxStaticLine *) ptr;
4099 dest = (wxControl *) src;
4100 return (void *) dest;
4101 }
4102
4103 static void *SwigwxStaticLineTowxWindow(void *ptr) {
4104 wxStaticLine *src;
4105 wxWindow *dest;
4106 src = (wxStaticLine *) ptr;
4107 dest = (wxWindow *) src;
4108 return (void *) dest;
4109 }
4110
4111 static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
4112 wxStaticLine *src;
4113 wxEvtHandler *dest;
4114 src = (wxStaticLine *) ptr;
4115 dest = (wxEvtHandler *) src;
4116 return (void *) dest;
4117 }
4118
4119 static void *SwigwxStaticLineTowxObject(void *ptr) {
4120 wxStaticLine *src;
4121 wxObject *dest;
4122 src = (wxStaticLine *) ptr;
4123 dest = (wxObject *) src;
4124 return (void *) dest;
4125 }
4126
4127 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4128 static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4129 PyObject * _resultobj;
4130 wxStaticLine * _result;
4131 wxWindow * _arg0;
4132 wxWindowID _arg1;
4133 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4134 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4135 long _arg4 = (long ) wxLI_HORIZONTAL;
4136 wxString * _arg5 = (wxString *) &wxPyStaticTextNameStr;
4137 PyObject * _argo0 = 0;
4138 wxPoint temp;
4139 PyObject * _obj2 = 0;
4140 wxSize temp0;
4141 PyObject * _obj3 = 0;
4142 PyObject * _obj5 = 0;
4143 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4144 char _ptemp[128];
4145
4146 self = self;
4147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
4148 return NULL;
4149 if (_argo0) {
4150 if (_argo0 == Py_None) { _arg0 = NULL; }
4151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4153 return NULL;
4154 }
4155 }
4156 if (_obj2)
4157 {
4158 _arg2 = &temp;
4159 if (! wxPoint_helper(_obj2, &_arg2))
4160 return NULL;
4161 }
4162 if (_obj3)
4163 {
4164 _arg3 = &temp0;
4165 if (! wxSize_helper(_obj3, &_arg3))
4166 return NULL;
4167 }
4168 if (_obj5)
4169 {
4170 _arg5 = wxString_in_helper(_obj5);
4171 if (_arg5 == NULL)
4172 return NULL;
4173 }
4174 {
4175 PyThreadState* __tstate = wxPyBeginAllowThreads();
4176 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
4177
4178 wxPyEndAllowThreads(__tstate);
4179 if (PyErr_Occurred()) return NULL;
4180 } if (_result) {
4181 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4182 _resultobj = Py_BuildValue("s",_ptemp);
4183 } else {
4184 Py_INCREF(Py_None);
4185 _resultobj = Py_None;
4186 }
4187 {
4188 if (_obj5)
4189 delete _arg5;
4190 }
4191 return _resultobj;
4192 }
4193
4194 #define new_wxPreStaticLine() (new wxStaticLine())
4195 static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4196 PyObject * _resultobj;
4197 wxStaticLine * _result;
4198 char *_kwnames[] = { NULL };
4199 char _ptemp[128];
4200
4201 self = self;
4202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4203 return NULL;
4204 {
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 _result = (wxStaticLine *)new_wxPreStaticLine();
4207
4208 wxPyEndAllowThreads(__tstate);
4209 if (PyErr_Occurred()) return NULL;
4210 } if (_result) {
4211 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4212 _resultobj = Py_BuildValue("s",_ptemp);
4213 } else {
4214 Py_INCREF(Py_None);
4215 _resultobj = Py_None;
4216 }
4217 return _resultobj;
4218 }
4219
4220 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4221 static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject * _resultobj;
4223 bool _result;
4224 wxStaticLine * _arg0;
4225 wxWindow * _arg1;
4226 wxWindowID _arg2;
4227 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4228 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4229 long _arg5 = (long ) wxLI_HORIZONTAL;
4230 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
4231 PyObject * _argo0 = 0;
4232 PyObject * _argo1 = 0;
4233 wxPoint temp;
4234 PyObject * _obj3 = 0;
4235 wxSize temp0;
4236 PyObject * _obj4 = 0;
4237 PyObject * _obj6 = 0;
4238 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4239
4240 self = self;
4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
4242 return NULL;
4243 if (_argo0) {
4244 if (_argo0 == Py_None) { _arg0 = NULL; }
4245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4247 return NULL;
4248 }
4249 }
4250 if (_argo1) {
4251 if (_argo1 == Py_None) { _arg1 = NULL; }
4252 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4253 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4254 return NULL;
4255 }
4256 }
4257 if (_obj3)
4258 {
4259 _arg3 = &temp;
4260 if (! wxPoint_helper(_obj3, &_arg3))
4261 return NULL;
4262 }
4263 if (_obj4)
4264 {
4265 _arg4 = &temp0;
4266 if (! wxSize_helper(_obj4, &_arg4))
4267 return NULL;
4268 }
4269 if (_obj6)
4270 {
4271 _arg6 = wxString_in_helper(_obj6);
4272 if (_arg6 == NULL)
4273 return NULL;
4274 }
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) return NULL;
4281 } _resultobj = Py_BuildValue("i",_result);
4282 {
4283 if (_obj6)
4284 delete _arg6;
4285 }
4286 return _resultobj;
4287 }
4288
4289 static void *SwigwxStaticTextTowxControl(void *ptr) {
4290 wxStaticText *src;
4291 wxControl *dest;
4292 src = (wxStaticText *) ptr;
4293 dest = (wxControl *) src;
4294 return (void *) dest;
4295 }
4296
4297 static void *SwigwxStaticTextTowxWindow(void *ptr) {
4298 wxStaticText *src;
4299 wxWindow *dest;
4300 src = (wxStaticText *) ptr;
4301 dest = (wxWindow *) src;
4302 return (void *) dest;
4303 }
4304
4305 static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4306 wxStaticText *src;
4307 wxEvtHandler *dest;
4308 src = (wxStaticText *) ptr;
4309 dest = (wxEvtHandler *) src;
4310 return (void *) dest;
4311 }
4312
4313 static void *SwigwxStaticTextTowxObject(void *ptr) {
4314 wxStaticText *src;
4315 wxObject *dest;
4316 src = (wxStaticText *) ptr;
4317 dest = (wxObject *) src;
4318 return (void *) dest;
4319 }
4320
4321 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4322 static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4323 PyObject * _resultobj;
4324 wxStaticText * _result;
4325 wxWindow * _arg0;
4326 wxWindowID _arg1;
4327 wxString * _arg2;
4328 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4329 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4330 long _arg5 = (long ) 0;
4331 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
4332 PyObject * _argo0 = 0;
4333 PyObject * _obj2 = 0;
4334 wxPoint temp;
4335 PyObject * _obj3 = 0;
4336 wxSize temp0;
4337 PyObject * _obj4 = 0;
4338 PyObject * _obj6 = 0;
4339 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
4340 char _ptemp[128];
4341
4342 self = self;
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
4344 return NULL;
4345 if (_argo0) {
4346 if (_argo0 == Py_None) { _arg0 = NULL; }
4347 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4349 return NULL;
4350 }
4351 }
4352 {
4353 _arg2 = wxString_in_helper(_obj2);
4354 if (_arg2 == NULL)
4355 return NULL;
4356 }
4357 if (_obj3)
4358 {
4359 _arg3 = &temp;
4360 if (! wxPoint_helper(_obj3, &_arg3))
4361 return NULL;
4362 }
4363 if (_obj4)
4364 {
4365 _arg4 = &temp0;
4366 if (! wxSize_helper(_obj4, &_arg4))
4367 return NULL;
4368 }
4369 if (_obj6)
4370 {
4371 _arg6 = wxString_in_helper(_obj6);
4372 if (_arg6 == NULL)
4373 return NULL;
4374 }
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) return NULL;
4381 } if (_result) {
4382 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4383 _resultobj = Py_BuildValue("s",_ptemp);
4384 } else {
4385 Py_INCREF(Py_None);
4386 _resultobj = Py_None;
4387 }
4388 {
4389 if (_obj2)
4390 delete _arg2;
4391 }
4392 {
4393 if (_obj6)
4394 delete _arg6;
4395 }
4396 return _resultobj;
4397 }
4398
4399 #define new_wxPreStaticText() (new wxStaticText())
4400 static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4401 PyObject * _resultobj;
4402 wxStaticText * _result;
4403 char *_kwnames[] = { NULL };
4404 char _ptemp[128];
4405
4406 self = self;
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4408 return NULL;
4409 {
4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4411 _result = (wxStaticText *)new_wxPreStaticText();
4412
4413 wxPyEndAllowThreads(__tstate);
4414 if (PyErr_Occurred()) return NULL;
4415 } if (_result) {
4416 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4417 _resultobj = Py_BuildValue("s",_ptemp);
4418 } else {
4419 Py_INCREF(Py_None);
4420 _resultobj = Py_None;
4421 }
4422 return _resultobj;
4423 }
4424
4425 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4426 static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject * _resultobj;
4428 bool _result;
4429 wxStaticText * _arg0;
4430 wxWindow * _arg1;
4431 wxWindowID _arg2;
4432 wxString * _arg3;
4433 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4434 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4435 long _arg6 = (long ) 0;
4436 wxString * _arg7 = (wxString *) &wxPyStaticTextNameStr;
4437 PyObject * _argo0 = 0;
4438 PyObject * _argo1 = 0;
4439 PyObject * _obj3 = 0;
4440 wxPoint temp;
4441 PyObject * _obj4 = 0;
4442 wxSize temp0;
4443 PyObject * _obj5 = 0;
4444 PyObject * _obj7 = 0;
4445 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4446
4447 self = self;
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
4449 return NULL;
4450 if (_argo0) {
4451 if (_argo0 == Py_None) { _arg0 = NULL; }
4452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4454 return NULL;
4455 }
4456 }
4457 if (_argo1) {
4458 if (_argo1 == Py_None) { _arg1 = NULL; }
4459 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4460 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4461 return NULL;
4462 }
4463 }
4464 {
4465 _arg3 = wxString_in_helper(_obj3);
4466 if (_arg3 == NULL)
4467 return NULL;
4468 }
4469 if (_obj4)
4470 {
4471 _arg4 = &temp;
4472 if (! wxPoint_helper(_obj4, &_arg4))
4473 return NULL;
4474 }
4475 if (_obj5)
4476 {
4477 _arg5 = &temp0;
4478 if (! wxSize_helper(_obj5, &_arg5))
4479 return NULL;
4480 }
4481 if (_obj7)
4482 {
4483 _arg7 = wxString_in_helper(_obj7);
4484 if (_arg7 == NULL)
4485 return NULL;
4486 }
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) return NULL;
4493 } _resultobj = Py_BuildValue("i",_result);
4494 {
4495 if (_obj3)
4496 delete _arg3;
4497 }
4498 {
4499 if (_obj7)
4500 delete _arg7;
4501 }
4502 return _resultobj;
4503 }
4504
4505 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4506 static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4507 PyObject * _resultobj;
4508 wxString * _result;
4509 wxStaticText * _arg0;
4510 PyObject * _argo0 = 0;
4511 char *_kwnames[] = { "self", NULL };
4512
4513 self = self;
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
4515 return NULL;
4516 if (_argo0) {
4517 if (_argo0 == Py_None) { _arg0 = NULL; }
4518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4520 return NULL;
4521 }
4522 }
4523 {
4524 PyThreadState* __tstate = wxPyBeginAllowThreads();
4525 _result = new wxString (wxStaticText_GetLabel(_arg0));
4526
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) return NULL;
4529 }{
4530 #if wxUSE_UNICODE
4531 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
4532 #else
4533 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4534 #endif
4535 }
4536 {
4537 delete _result;
4538 }
4539 return _resultobj;
4540 }
4541
4542 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4543 static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4544 PyObject * _resultobj;
4545 wxStaticText * _arg0;
4546 wxString * _arg1;
4547 PyObject * _argo0 = 0;
4548 PyObject * _obj1 = 0;
4549 char *_kwnames[] = { "self","label", NULL };
4550
4551 self = self;
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
4553 return NULL;
4554 if (_argo0) {
4555 if (_argo0 == Py_None) { _arg0 = NULL; }
4556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4558 return NULL;
4559 }
4560 }
4561 {
4562 _arg1 = wxString_in_helper(_obj1);
4563 if (_arg1 == NULL)
4564 return NULL;
4565 }
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 wxStaticText_SetLabel(_arg0,*_arg1);
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) return NULL;
4572 } Py_INCREF(Py_None);
4573 _resultobj = Py_None;
4574 {
4575 if (_obj1)
4576 delete _arg1;
4577 }
4578 return _resultobj;
4579 }
4580
4581 static void *SwigwxListBoxTowxControlWithItems(void *ptr) {
4582 wxListBox *src;
4583 wxControlWithItems *dest;
4584 src = (wxListBox *) ptr;
4585 dest = (wxControlWithItems *) src;
4586 return (void *) dest;
4587 }
4588
4589 static void *SwigwxListBoxTowxControl(void *ptr) {
4590 wxListBox *src;
4591 wxControl *dest;
4592 src = (wxListBox *) ptr;
4593 dest = (wxControl *) src;
4594 return (void *) dest;
4595 }
4596
4597 static void *SwigwxListBoxTowxWindow(void *ptr) {
4598 wxListBox *src;
4599 wxWindow *dest;
4600 src = (wxListBox *) ptr;
4601 dest = (wxWindow *) src;
4602 return (void *) dest;
4603 }
4604
4605 static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
4606 wxListBox *src;
4607 wxEvtHandler *dest;
4608 src = (wxListBox *) ptr;
4609 dest = (wxEvtHandler *) src;
4610 return (void *) dest;
4611 }
4612
4613 static void *SwigwxListBoxTowxObject(void *ptr) {
4614 wxListBox *src;
4615 wxObject *dest;
4616 src = (wxListBox *) ptr;
4617 dest = (wxObject *) src;
4618 return (void *) dest;
4619 }
4620
4621 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4622 static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject * _resultobj;
4624 wxListBox * _result;
4625 wxWindow * _arg0;
4626 wxWindowID _arg1;
4627 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4628 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4629 int _arg4;
4630 wxString * _arg5 = (wxString *) NULL;
4631 long _arg6 = (long ) 0;
4632 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
4633 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
4634 PyObject * _argo0 = 0;
4635 wxPoint temp;
4636 PyObject * _obj2 = 0;
4637 wxSize temp0;
4638 PyObject * _obj3 = 0;
4639 PyObject * _obj5 = 0;
4640 PyObject * _argo7 = 0;
4641 PyObject * _obj8 = 0;
4642 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4643 char _ptemp[128];
4644
4645 self = self;
4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
4647 return NULL;
4648 if (_argo0) {
4649 if (_argo0 == Py_None) { _arg0 = NULL; }
4650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4652 return NULL;
4653 }
4654 }
4655 if (_obj2)
4656 {
4657 _arg2 = &temp;
4658 if (! wxPoint_helper(_obj2, &_arg2))
4659 return NULL;
4660 }
4661 if (_obj3)
4662 {
4663 _arg3 = &temp0;
4664 if (! wxSize_helper(_obj3, &_arg3))
4665 return NULL;
4666 }
4667 if (_obj5)
4668 {
4669 _arg5 = wxString_LIST_helper(_obj5);
4670 if (_arg5 == NULL) {
4671 return NULL;
4672 }
4673 }
4674 if (_argo7) {
4675 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
4676 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4677 return NULL;
4678 }
4679 }
4680 if (_obj8)
4681 {
4682 _arg8 = wxString_in_helper(_obj8);
4683 if (_arg8 == NULL)
4684 return NULL;
4685 }
4686 {
4687 if (_obj5) {
4688 _arg4 = PyList_Size(_obj5);
4689 }
4690 else {
4691 _arg4 = 0;
4692 }
4693 }
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) return NULL;
4700 } if (_result) {
4701 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4702 _resultobj = Py_BuildValue("s",_ptemp);
4703 } else {
4704 Py_INCREF(Py_None);
4705 _resultobj = Py_None;
4706 }
4707 {
4708 delete [] _arg5;
4709 }
4710 {
4711 if (_obj8)
4712 delete _arg8;
4713 }
4714 return _resultobj;
4715 }
4716
4717 #define new_wxPreListBox() (new wxListBox())
4718 static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4719 PyObject * _resultobj;
4720 wxListBox * _result;
4721 char *_kwnames[] = { NULL };
4722 char _ptemp[128];
4723
4724 self = self;
4725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
4726 return NULL;
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 _result = (wxListBox *)new_wxPreListBox();
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) return NULL;
4733 } if (_result) {
4734 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
4735 _resultobj = Py_BuildValue("s",_ptemp);
4736 } else {
4737 Py_INCREF(Py_None);
4738 _resultobj = Py_None;
4739 }
4740 return _resultobj;
4741 }
4742
4743 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4744 static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4745 PyObject * _resultobj;
4746 bool _result;
4747 wxListBox * _arg0;
4748 wxWindow * _arg1;
4749 wxWindowID _arg2;
4750 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4751 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4752 int _arg5;
4753 wxString * _arg6 = (wxString *) NULL;
4754 long _arg7 = (long ) 0;
4755 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
4756 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
4757 PyObject * _argo0 = 0;
4758 PyObject * _argo1 = 0;
4759 wxPoint temp;
4760 PyObject * _obj3 = 0;
4761 wxSize temp0;
4762 PyObject * _obj4 = 0;
4763 PyObject * _obj6 = 0;
4764 PyObject * _argo8 = 0;
4765 PyObject * _obj9 = 0;
4766 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
4767
4768 self = self;
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
4770 return NULL;
4771 if (_argo0) {
4772 if (_argo0 == Py_None) { _arg0 = NULL; }
4773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4775 return NULL;
4776 }
4777 }
4778 if (_argo1) {
4779 if (_argo1 == Py_None) { _arg1 = NULL; }
4780 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4781 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4782 return NULL;
4783 }
4784 }
4785 if (_obj3)
4786 {
4787 _arg3 = &temp;
4788 if (! wxPoint_helper(_obj3, &_arg3))
4789 return NULL;
4790 }
4791 if (_obj4)
4792 {
4793 _arg4 = &temp0;
4794 if (! wxSize_helper(_obj4, &_arg4))
4795 return NULL;
4796 }
4797 if (_obj6)
4798 {
4799 _arg6 = wxString_LIST_helper(_obj6);
4800 if (_arg6 == NULL) {
4801 return NULL;
4802 }
4803 }
4804 if (_argo8) {
4805 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
4806 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4807 return NULL;
4808 }
4809 }
4810 if (_obj9)
4811 {
4812 _arg9 = wxString_in_helper(_obj9);
4813 if (_arg9 == NULL)
4814 return NULL;
4815 }
4816 {
4817 if (_obj6) {
4818 _arg5 = PyList_Size(_obj6);
4819 }
4820 else {
4821 _arg5 = 0;
4822 }
4823 }
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
4827
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) return NULL;
4830 } _resultobj = Py_BuildValue("i",_result);
4831 {
4832 delete [] _arg6;
4833 }
4834 {
4835 if (_obj9)
4836 delete _arg9;
4837 }
4838 return _resultobj;
4839 }
4840
4841 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4842 static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
4843 PyObject * _resultobj;
4844 wxListBox * _arg0;
4845 PyObject * _argo0 = 0;
4846 char *_kwnames[] = { "self", NULL };
4847
4848 self = self;
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
4850 return NULL;
4851 if (_argo0) {
4852 if (_argo0 == Py_None) { _arg0 = NULL; }
4853 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4854 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4855 return NULL;
4856 }
4857 }
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 wxListBox_Clear(_arg0);
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) return NULL;
4864 } Py_INCREF(Py_None);
4865 _resultobj = Py_None;
4866 return _resultobj;
4867 }
4868
4869 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4870 static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject * _resultobj;
4872 wxListBox * _arg0;
4873 int _arg1;
4874 PyObject * _argo0 = 0;
4875 char *_kwnames[] = { "self","n", NULL };
4876
4877 self = self;
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
4879 return NULL;
4880 if (_argo0) {
4881 if (_argo0 == Py_None) { _arg0 = NULL; }
4882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4884 return NULL;
4885 }
4886 }
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 wxListBox_Deselect(_arg0,_arg1);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) return NULL;
4893 } Py_INCREF(Py_None);
4894 _resultobj = Py_None;
4895 return _resultobj;
4896 }
4897
4898 static PyObject * wxListBox_GetSelections(wxListBox *self) {
4899 wxArrayInt lst;
4900 self->GetSelections(lst);
4901 PyObject *tup = PyTuple_New(lst.GetCount());
4902 for(size_t i=0; i<lst.GetCount(); i++) {
4903 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
4904 }
4905 return tup;
4906 }
4907 static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4908 PyObject * _resultobj;
4909 PyObject * _result;
4910 wxListBox * _arg0;
4911 PyObject * _argo0 = 0;
4912 char *_kwnames[] = { "self", NULL };
4913
4914 self = self;
4915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
4916 return NULL;
4917 if (_argo0) {
4918 if (_argo0 == Py_None) { _arg0 = NULL; }
4919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4921 return NULL;
4922 }
4923 }
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 _result = (PyObject *)wxListBox_GetSelections(_arg0);
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) return NULL;
4930 }{
4931 _resultobj = _result;
4932 }
4933 return _resultobj;
4934 }
4935
4936 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4937 static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4938 PyObject * _resultobj;
4939 wxListBox * _arg0;
4940 int _arg1;
4941 wxString * _arg2;
4942 int _arg3;
4943 PyObject * _argo0 = 0;
4944 PyObject * _obj2 = 0;
4945 char *_kwnames[] = { "self","choices","pos", NULL };
4946
4947 self = self;
4948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
4949 return NULL;
4950 if (_argo0) {
4951 if (_argo0 == Py_None) { _arg0 = NULL; }
4952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
4953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4954 return NULL;
4955 }
4956 }
4957 {
4958 _arg2 = wxString_LIST_helper(_obj2);
4959 if (_arg2 == NULL) {
4960 return NULL;
4961 }
4962 }
4963 {
4964 if (_obj2) {
4965 _arg1 = PyList_Size(_obj2);
4966 }
4967 else {
4968 _arg1 = 0;
4969 }
4970 }
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) return NULL;
4977 } Py_INCREF(Py_None);
4978 _resultobj = Py_None;
4979 {
4980 delete [] _arg2;
4981 }
4982 return _resultobj;
4983 }
4984
4985 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4986 static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject * _resultobj;
4988 bool _result;
4989 wxListBox * _arg0;
4990 int _arg1;
4991 PyObject * _argo0 = 0;
4992 char *_kwnames[] = { "self","n", NULL };
4993
4994 self = self;
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
4996 return NULL;
4997 if (_argo0) {
4998 if (_argo0 == Py_None) { _arg0 = NULL; }
4999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5001 return NULL;
5002 }
5003 }
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) return NULL;
5010 } _resultobj = Py_BuildValue("i",_result);
5011 return _resultobj;
5012 }
5013
5014 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5015 static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
5016 PyObject * _resultobj;
5017 bool _result;
5018 wxListBox * _arg0;
5019 int _arg1;
5020 PyObject * _argo0 = 0;
5021 char *_kwnames[] = { "self","n", NULL };
5022
5023 self = self;
5024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
5025 return NULL;
5026 if (_argo0) {
5027 if (_argo0 == Py_None) { _arg0 = NULL; }
5028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5030 return NULL;
5031 }
5032 }
5033 {
5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
5035 _result = (bool )wxListBox_Selected(_arg0,_arg1);
5036
5037 wxPyEndAllowThreads(__tstate);
5038 if (PyErr_Occurred()) return NULL;
5039 } _resultobj = Py_BuildValue("i",_result);
5040 return _resultobj;
5041 }
5042
5043 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5044 static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5045 PyObject * _resultobj;
5046 wxListBox * _arg0;
5047 int _arg1;
5048 wxString * _arg2;
5049 PyObject * _argo0 = 0;
5050 PyObject * _obj2 = 0;
5051 char *_kwnames[] = { "self","choices", NULL };
5052
5053 self = self;
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
5055 return NULL;
5056 if (_argo0) {
5057 if (_argo0 == Py_None) { _arg0 = NULL; }
5058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5060 return NULL;
5061 }
5062 }
5063 if (_obj2)
5064 {
5065 _arg2 = wxString_LIST_helper(_obj2);
5066 if (_arg2 == NULL) {
5067 return NULL;
5068 }
5069 }
5070 {
5071 if (_obj2) {
5072 _arg1 = PyList_Size(_obj2);
5073 }
5074 else {
5075 _arg1 = 0;
5076 }
5077 }
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 wxListBox_Set(_arg0,_arg1,_arg2);
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) return NULL;
5084 } Py_INCREF(Py_None);
5085 _resultobj = Py_None;
5086 {
5087 delete [] _arg2;
5088 }
5089 return _resultobj;
5090 }
5091
5092 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5093 static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5094 PyObject * _resultobj;
5095 wxListBox * _arg0;
5096 int _arg1;
5097 PyObject * _argo0 = 0;
5098 char *_kwnames[] = { "self","n", NULL };
5099
5100 self = self;
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
5102 return NULL;
5103 if (_argo0) {
5104 if (_argo0 == Py_None) { _arg0 = NULL; }
5105 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5106 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5107 return NULL;
5108 }
5109 }
5110 {
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 wxListBox_SetFirstItem(_arg0,_arg1);
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) return NULL;
5116 } Py_INCREF(Py_None);
5117 _resultobj = Py_None;
5118 return _resultobj;
5119 }
5120
5121 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5122 static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject * _resultobj;
5124 wxListBox * _arg0;
5125 wxString * _arg1;
5126 PyObject * _argo0 = 0;
5127 PyObject * _obj1 = 0;
5128 char *_kwnames[] = { "self","string", NULL };
5129
5130 self = self;
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
5132 return NULL;
5133 if (_argo0) {
5134 if (_argo0 == Py_None) { _arg0 = NULL; }
5135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5137 return NULL;
5138 }
5139 }
5140 {
5141 _arg1 = wxString_in_helper(_obj1);
5142 if (_arg1 == NULL)
5143 return NULL;
5144 }
5145 {
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 wxListBox_SetFirstItemStr(_arg0,*_arg1);
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) return NULL;
5151 } Py_INCREF(Py_None);
5152 _resultobj = Py_None;
5153 {
5154 if (_obj1)
5155 delete _arg1;
5156 }
5157 return _resultobj;
5158 }
5159
5160 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5161 static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5162 PyObject * _resultobj;
5163 wxListBox * _arg0;
5164 int _arg1;
5165 bool _arg2 = (bool ) TRUE;
5166 PyObject * _argo0 = 0;
5167 int tempbool2 = (int) TRUE;
5168 char *_kwnames[] = { "self","n","select", NULL };
5169
5170 self = self;
5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
5172 return NULL;
5173 if (_argo0) {
5174 if (_argo0 == Py_None) { _arg0 = NULL; }
5175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5177 return NULL;
5178 }
5179 }
5180 _arg2 = (bool ) tempbool2;
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 wxListBox_SetSelection(_arg0,_arg1,_arg2);
5184
5185 wxPyEndAllowThreads(__tstate);
5186 if (PyErr_Occurred()) return NULL;
5187 } Py_INCREF(Py_None);
5188 _resultobj = Py_None;
5189 return _resultobj;
5190 }
5191
5192 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5193 static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject * _resultobj;
5195 wxListBox * _arg0;
5196 int _arg1;
5197 wxString * _arg2;
5198 PyObject * _argo0 = 0;
5199 PyObject * _obj2 = 0;
5200 char *_kwnames[] = { "self","n","string", NULL };
5201
5202 self = self;
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
5204 return NULL;
5205 if (_argo0) {
5206 if (_argo0 == Py_None) { _arg0 = NULL; }
5207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5209 return NULL;
5210 }
5211 }
5212 {
5213 _arg2 = wxString_in_helper(_obj2);
5214 if (_arg2 == NULL)
5215 return NULL;
5216 }
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 wxListBox_SetString(_arg0,_arg1,*_arg2);
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) return NULL;
5223 } Py_INCREF(Py_None);
5224 _resultobj = Py_None;
5225 {
5226 if (_obj2)
5227 delete _arg2;
5228 }
5229 return _resultobj;
5230 }
5231
5232 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5233 static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5234 PyObject * _resultobj;
5235 wxListBox * _arg0;
5236 wxString * _arg1;
5237 bool _arg2 = (bool ) TRUE;
5238 PyObject * _argo0 = 0;
5239 PyObject * _obj1 = 0;
5240 int tempbool2 = (int) TRUE;
5241 char *_kwnames[] = { "self","string","select", NULL };
5242
5243 self = self;
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
5245 return NULL;
5246 if (_argo0) {
5247 if (_argo0 == Py_None) { _arg0 = NULL; }
5248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5250 return NULL;
5251 }
5252 }
5253 {
5254 _arg1 = wxString_in_helper(_obj1);
5255 if (_arg1 == NULL)
5256 return NULL;
5257 }
5258 _arg2 = (bool ) tempbool2;
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) return NULL;
5265 } Py_INCREF(Py_None);
5266 _resultobj = Py_None;
5267 {
5268 if (_obj1)
5269 delete _arg1;
5270 }
5271 return _resultobj;
5272 }
5273
5274 static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5275 wxCheckListBox *src;
5276 wxListBox *dest;
5277 src = (wxCheckListBox *) ptr;
5278 dest = (wxListBox *) src;
5279 return (void *) dest;
5280 }
5281
5282 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr) {
5283 wxCheckListBox *src;
5284 wxControlWithItems *dest;
5285 src = (wxCheckListBox *) ptr;
5286 dest = (wxControlWithItems *) src;
5287 return (void *) dest;
5288 }
5289
5290 static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5291 wxCheckListBox *src;
5292 wxControl *dest;
5293 src = (wxCheckListBox *) ptr;
5294 dest = (wxControl *) src;
5295 return (void *) dest;
5296 }
5297
5298 static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5299 wxCheckListBox *src;
5300 wxWindow *dest;
5301 src = (wxCheckListBox *) ptr;
5302 dest = (wxWindow *) src;
5303 return (void *) dest;
5304 }
5305
5306 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5307 wxCheckListBox *src;
5308 wxEvtHandler *dest;
5309 src = (wxCheckListBox *) ptr;
5310 dest = (wxEvtHandler *) src;
5311 return (void *) dest;
5312 }
5313
5314 static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5315 wxCheckListBox *src;
5316 wxObject *dest;
5317 src = (wxCheckListBox *) ptr;
5318 dest = (wxObject *) src;
5319 return (void *) dest;
5320 }
5321
5322 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5323 static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5324 PyObject * _resultobj;
5325 wxCheckListBox * _result;
5326 wxWindow * _arg0;
5327 wxWindowID _arg1;
5328 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5329 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5330 int _arg4 = (int ) 0;
5331 wxString * _arg5 = (wxString *) NULL;
5332 long _arg6 = (long ) 0;
5333 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
5334 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
5335 PyObject * _argo0 = 0;
5336 wxPoint temp;
5337 PyObject * _obj2 = 0;
5338 wxSize temp0;
5339 PyObject * _obj3 = 0;
5340 PyObject * _obj5 = 0;
5341 PyObject * _argo7 = 0;
5342 PyObject * _obj8 = 0;
5343 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
5344 char _ptemp[128];
5345
5346 self = self;
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
5348 return NULL;
5349 if (_argo0) {
5350 if (_argo0 == Py_None) { _arg0 = NULL; }
5351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5353 return NULL;
5354 }
5355 }
5356 if (_obj2)
5357 {
5358 _arg2 = &temp;
5359 if (! wxPoint_helper(_obj2, &_arg2))
5360 return NULL;
5361 }
5362 if (_obj3)
5363 {
5364 _arg3 = &temp0;
5365 if (! wxSize_helper(_obj3, &_arg3))
5366 return NULL;
5367 }
5368 if (_obj5)
5369 {
5370 _arg5 = wxString_LIST_helper(_obj5);
5371 if (_arg5 == NULL) {
5372 return NULL;
5373 }
5374 }
5375 if (_argo7) {
5376 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
5377 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5378 return NULL;
5379 }
5380 }
5381 if (_obj8)
5382 {
5383 _arg8 = wxString_in_helper(_obj8);
5384 if (_arg8 == NULL)
5385 return NULL;
5386 }
5387 {
5388 if (_obj5) {
5389 _arg4 = PyList_Size(_obj5);
5390 }
5391 else {
5392 _arg4 = 0;
5393 }
5394 }
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
5398
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) return NULL;
5401 } if (_result) {
5402 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5403 _resultobj = Py_BuildValue("s",_ptemp);
5404 } else {
5405 Py_INCREF(Py_None);
5406 _resultobj = Py_None;
5407 }
5408 {
5409 delete [] _arg5;
5410 }
5411 {
5412 if (_obj8)
5413 delete _arg8;
5414 }
5415 return _resultobj;
5416 }
5417
5418 #define new_wxPreCheckListBox() (new wxCheckListBox())
5419 static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5420 PyObject * _resultobj;
5421 wxCheckListBox * _result;
5422 char *_kwnames[] = { NULL };
5423 char _ptemp[128];
5424
5425 self = self;
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
5427 return NULL;
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 _result = (wxCheckListBox *)new_wxPreCheckListBox();
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) return NULL;
5434 } if (_result) {
5435 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5436 _resultobj = Py_BuildValue("s",_ptemp);
5437 } else {
5438 Py_INCREF(Py_None);
5439 _resultobj = Py_None;
5440 }
5441 return _resultobj;
5442 }
5443
5444 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5445 static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5446 PyObject * _resultobj;
5447 bool _result;
5448 wxCheckListBox * _arg0;
5449 wxWindow * _arg1;
5450 wxWindowID _arg2;
5451 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5452 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5453 int _arg5 = (int ) 0;
5454 wxString * _arg6 = (wxString *) NULL;
5455 long _arg7 = (long ) 0;
5456 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
5457 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
5458 PyObject * _argo0 = 0;
5459 PyObject * _argo1 = 0;
5460 wxPoint temp;
5461 PyObject * _obj3 = 0;
5462 wxSize temp0;
5463 PyObject * _obj4 = 0;
5464 PyObject * _obj6 = 0;
5465 PyObject * _argo8 = 0;
5466 PyObject * _obj9 = 0;
5467 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5468
5469 self = self;
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
5471 return NULL;
5472 if (_argo0) {
5473 if (_argo0 == Py_None) { _arg0 = NULL; }
5474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5476 return NULL;
5477 }
5478 }
5479 if (_argo1) {
5480 if (_argo1 == Py_None) { _arg1 = NULL; }
5481 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5482 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5483 return NULL;
5484 }
5485 }
5486 if (_obj3)
5487 {
5488 _arg3 = &temp;
5489 if (! wxPoint_helper(_obj3, &_arg3))
5490 return NULL;
5491 }
5492 if (_obj4)
5493 {
5494 _arg4 = &temp0;
5495 if (! wxSize_helper(_obj4, &_arg4))
5496 return NULL;
5497 }
5498 if (_obj6)
5499 {
5500 _arg6 = wxString_LIST_helper(_obj6);
5501 if (_arg6 == NULL) {
5502 return NULL;
5503 }
5504 }
5505 if (_argo8) {
5506 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
5507 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5508 return NULL;
5509 }
5510 }
5511 if (_obj9)
5512 {
5513 _arg9 = wxString_in_helper(_obj9);
5514 if (_arg9 == NULL)
5515 return NULL;
5516 }
5517 {
5518 if (_obj6) {
5519 _arg5 = PyList_Size(_obj6);
5520 }
5521 else {
5522 _arg5 = 0;
5523 }
5524 }
5525 {
5526 PyThreadState* __tstate = wxPyBeginAllowThreads();
5527 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
5528
5529 wxPyEndAllowThreads(__tstate);
5530 if (PyErr_Occurred()) return NULL;
5531 } _resultobj = Py_BuildValue("i",_result);
5532 {
5533 delete [] _arg6;
5534 }
5535 {
5536 if (_obj9)
5537 delete _arg9;
5538 }
5539 return _resultobj;
5540 }
5541
5542 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5543 static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5544 PyObject * _resultobj;
5545 bool _result;
5546 wxCheckListBox * _arg0;
5547 int _arg1;
5548 PyObject * _argo0 = 0;
5549 char *_kwnames[] = { "self","uiIndex", NULL };
5550
5551 self = self;
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
5553 return NULL;
5554 if (_argo0) {
5555 if (_argo0 == Py_None) { _arg0 = NULL; }
5556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5558 return NULL;
5559 }
5560 }
5561 {
5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
5563 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
5564
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) return NULL;
5567 } _resultobj = Py_BuildValue("i",_result);
5568 return _resultobj;
5569 }
5570
5571 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5572 static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5573 PyObject * _resultobj;
5574 wxCheckListBox * _arg0;
5575 int _arg1;
5576 int _arg2 = (int ) TRUE;
5577 PyObject * _argo0 = 0;
5578 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
5579
5580 self = self;
5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
5582 return NULL;
5583 if (_argo0) {
5584 if (_argo0 == Py_None) { _arg0 = NULL; }
5585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5587 return NULL;
5588 }
5589 }
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 wxCheckListBox_Check(_arg0,_arg1,_arg2);
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) return NULL;
5596 } Py_INCREF(Py_None);
5597 _resultobj = Py_None;
5598 return _resultobj;
5599 }
5600
5601 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5602 static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject * _resultobj;
5604 wxCheckListBox * _arg0;
5605 int _arg1;
5606 wxString * _arg2;
5607 int _arg3;
5608 PyObject * _argo0 = 0;
5609 PyObject * _obj2 = 0;
5610 char *_kwnames[] = { "self","choices","pos", NULL };
5611
5612 self = self;
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5614 return NULL;
5615 if (_argo0) {
5616 if (_argo0 == Py_None) { _arg0 = NULL; }
5617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5619 return NULL;
5620 }
5621 }
5622 {
5623 _arg2 = wxString_LIST_helper(_obj2);
5624 if (_arg2 == NULL) {
5625 return NULL;
5626 }
5627 }
5628 {
5629 if (_obj2) {
5630 _arg1 = PyList_Size(_obj2);
5631 }
5632 else {
5633 _arg1 = 0;
5634 }
5635 }
5636 {
5637 PyThreadState* __tstate = wxPyBeginAllowThreads();
5638 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
5639
5640 wxPyEndAllowThreads(__tstate);
5641 if (PyErr_Occurred()) return NULL;
5642 } Py_INCREF(Py_None);
5643 _resultobj = Py_None;
5644 {
5645 delete [] _arg2;
5646 }
5647 return _resultobj;
5648 }
5649
5650 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5651 static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5652 PyObject * _resultobj;
5653 int _result;
5654 wxCheckListBox * _arg0;
5655 PyObject * _argo0 = 0;
5656 char *_kwnames[] = { "self", NULL };
5657
5658 self = self;
5659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
5660 return NULL;
5661 if (_argo0) {
5662 if (_argo0 == Py_None) { _arg0 = NULL; }
5663 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5665 return NULL;
5666 }
5667 }
5668 {
5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
5670 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
5671
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) return NULL;
5674 } _resultobj = Py_BuildValue("i",_result);
5675 return _resultobj;
5676 }
5677
5678 #define wxCheckListBox_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5679 static PyObject *_wrap_wxCheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5680 PyObject * _resultobj;
5681 int _result;
5682 wxCheckListBox * _arg0;
5683 wxPoint * _arg1;
5684 PyObject * _argo0 = 0;
5685 wxPoint temp;
5686 PyObject * _obj1 = 0;
5687 char *_kwnames[] = { "self","pt", NULL };
5688
5689 self = self;
5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCheckListBox_HitTest",_kwnames,&_argo0,&_obj1))
5691 return NULL;
5692 if (_argo0) {
5693 if (_argo0 == Py_None) { _arg0 = NULL; }
5694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p.");
5696 return NULL;
5697 }
5698 }
5699 {
5700 _arg1 = &temp;
5701 if (! wxPoint_helper(_obj1, &_arg1))
5702 return NULL;
5703 }
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 _result = (int )wxCheckListBox_HitTest(_arg0,*_arg1);
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) return NULL;
5710 } _resultobj = Py_BuildValue("i",_result);
5711 return _resultobj;
5712 }
5713
5714 #define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
5715 static PyObject *_wrap_wxCheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject * _resultobj;
5717 int _result;
5718 wxCheckListBox * _arg0;
5719 wxCoord _arg1;
5720 wxCoord _arg2;
5721 PyObject * _argo0 = 0;
5722 char *_kwnames[] = { "self","x","y", NULL };
5723
5724 self = self;
5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCheckListBox_HitTestXY",_kwnames,&_argo0,&_arg1,&_arg2))
5726 return NULL;
5727 if (_argo0) {
5728 if (_argo0 == Py_None) { _arg0 = NULL; }
5729 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5730 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p.");
5731 return NULL;
5732 }
5733 }
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 _result = (int )wxCheckListBox_HitTestXY(_arg0,_arg1,_arg2);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) return NULL;
5740 } _resultobj = Py_BuildValue("i",_result);
5741 return _resultobj;
5742 }
5743
5744 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5745 static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5746 PyObject * _resultobj;
5747 wxTextAttr * _result;
5748 wxColour * _arg0 = (wxColour *) &wxNullColour;
5749 wxColour * _arg1 = (wxColour *) &wxNullColour;
5750 wxFont * _arg2 = (wxFont *) &wxNullFont;
5751 wxColour temp;
5752 PyObject * _obj0 = 0;
5753 wxColour temp0;
5754 PyObject * _obj1 = 0;
5755 PyObject * _argo2 = 0;
5756 char *_kwnames[] = { "colText","colBack","font", NULL };
5757 char _ptemp[128];
5758
5759 self = self;
5760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOO:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2))
5761 return NULL;
5762 if (_obj0)
5763 {
5764 _arg0 = &temp;
5765 if (! wxColour_helper(_obj0, &_arg0))
5766 return NULL;
5767 }
5768 if (_obj1)
5769 {
5770 _arg1 = &temp0;
5771 if (! wxColour_helper(_obj1, &_arg1))
5772 return NULL;
5773 }
5774 if (_argo2) {
5775 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
5776 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5777 return NULL;
5778 }
5779 }
5780 {
5781 PyThreadState* __tstate = wxPyBeginAllowThreads();
5782 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2);
5783
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) return NULL;
5786 } if (_result) {
5787 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
5788 _resultobj = Py_BuildValue("s",_ptemp);
5789 } else {
5790 Py_INCREF(Py_None);
5791 _resultobj = Py_None;
5792 }
5793 return _resultobj;
5794 }
5795
5796 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5797 static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
5798 PyObject * _resultobj;
5799 wxTextAttr * _arg0;
5800 PyObject * _argo0 = 0;
5801 char *_kwnames[] = { "self", NULL };
5802
5803 self = self;
5804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
5805 return NULL;
5806 if (_argo0) {
5807 if (_argo0 == Py_None) { _arg0 = NULL; }
5808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5810 return NULL;
5811 }
5812 }
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 delete_wxTextAttr(_arg0);
5816
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) return NULL;
5819 } Py_INCREF(Py_None);
5820 _resultobj = Py_None;
5821 return _resultobj;
5822 }
5823
5824 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5825 static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject * _resultobj;
5827 wxTextAttr * _arg0;
5828 wxColour * _arg1;
5829 PyObject * _argo0 = 0;
5830 wxColour temp;
5831 PyObject * _obj1 = 0;
5832 char *_kwnames[] = { "self","colText", NULL };
5833
5834 self = self;
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
5836 return NULL;
5837 if (_argo0) {
5838 if (_argo0 == Py_None) { _arg0 = NULL; }
5839 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5840 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5841 return NULL;
5842 }
5843 }
5844 {
5845 _arg1 = &temp;
5846 if (! wxColour_helper(_obj1, &_arg1))
5847 return NULL;
5848 }
5849 {
5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
5851 wxTextAttr_SetTextColour(_arg0,*_arg1);
5852
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) return NULL;
5855 } Py_INCREF(Py_None);
5856 _resultobj = Py_None;
5857 return _resultobj;
5858 }
5859
5860 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5861 static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5862 PyObject * _resultobj;
5863 wxTextAttr * _arg0;
5864 wxColour * _arg1;
5865 PyObject * _argo0 = 0;
5866 wxColour temp;
5867 PyObject * _obj1 = 0;
5868 char *_kwnames[] = { "self","colBack", NULL };
5869
5870 self = self;
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
5872 return NULL;
5873 if (_argo0) {
5874 if (_argo0 == Py_None) { _arg0 = NULL; }
5875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5877 return NULL;
5878 }
5879 }
5880 {
5881 _arg1 = &temp;
5882 if (! wxColour_helper(_obj1, &_arg1))
5883 return NULL;
5884 }
5885 {
5886 PyThreadState* __tstate = wxPyBeginAllowThreads();
5887 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
5888
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) return NULL;
5891 } Py_INCREF(Py_None);
5892 _resultobj = Py_None;
5893 return _resultobj;
5894 }
5895
5896 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5897 static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5898 PyObject * _resultobj;
5899 wxTextAttr * _arg0;
5900 wxFont * _arg1;
5901 PyObject * _argo0 = 0;
5902 PyObject * _argo1 = 0;
5903 char *_kwnames[] = { "self","font", NULL };
5904
5905 self = self;
5906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
5907 return NULL;
5908 if (_argo0) {
5909 if (_argo0 == Py_None) { _arg0 = NULL; }
5910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5912 return NULL;
5913 }
5914 }
5915 if (_argo1) {
5916 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
5917 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5918 return NULL;
5919 }
5920 }
5921 {
5922 PyThreadState* __tstate = wxPyBeginAllowThreads();
5923 wxTextAttr_SetFont(_arg0,*_arg1);
5924
5925 wxPyEndAllowThreads(__tstate);
5926 if (PyErr_Occurred()) return NULL;
5927 } Py_INCREF(Py_None);
5928 _resultobj = Py_None;
5929 return _resultobj;
5930 }
5931
5932 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5933 static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5934 PyObject * _resultobj;
5935 bool _result;
5936 wxTextAttr * _arg0;
5937 PyObject * _argo0 = 0;
5938 char *_kwnames[] = { "self", NULL };
5939
5940 self = self;
5941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
5942 return NULL;
5943 if (_argo0) {
5944 if (_argo0 == Py_None) { _arg0 = NULL; }
5945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5947 return NULL;
5948 }
5949 }
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 _result = (bool )wxTextAttr_HasTextColour(_arg0);
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) return NULL;
5956 } _resultobj = Py_BuildValue("i",_result);
5957 return _resultobj;
5958 }
5959
5960 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5961 static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5962 PyObject * _resultobj;
5963 bool _result;
5964 wxTextAttr * _arg0;
5965 PyObject * _argo0 = 0;
5966 char *_kwnames[] = { "self", NULL };
5967
5968 self = self;
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
5970 return NULL;
5971 if (_argo0) {
5972 if (_argo0 == Py_None) { _arg0 = NULL; }
5973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
5974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5975 return NULL;
5976 }
5977 }
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) return NULL;
5984 } _resultobj = Py_BuildValue("i",_result);
5985 return _resultobj;
5986 }
5987
5988 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5989 static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5990 PyObject * _resultobj;
5991 bool _result;
5992 wxTextAttr * _arg0;
5993 PyObject * _argo0 = 0;
5994 char *_kwnames[] = { "self", NULL };
5995
5996 self = self;
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
5998 return NULL;
5999 if (_argo0) {
6000 if (_argo0 == Py_None) { _arg0 = NULL; }
6001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6003 return NULL;
6004 }
6005 }
6006 {
6007 PyThreadState* __tstate = wxPyBeginAllowThreads();
6008 _result = (bool )wxTextAttr_HasFont(_arg0);
6009
6010 wxPyEndAllowThreads(__tstate);
6011 if (PyErr_Occurred()) return NULL;
6012 } _resultobj = Py_BuildValue("i",_result);
6013 return _resultobj;
6014 }
6015
6016 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6017 static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6018 PyObject * _resultobj;
6019 wxColour * _result;
6020 wxTextAttr * _arg0;
6021 PyObject * _argo0 = 0;
6022 char *_kwnames[] = { "self", NULL };
6023 char _ptemp[128];
6024
6025 self = self;
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
6027 return NULL;
6028 if (_argo0) {
6029 if (_argo0 == Py_None) { _arg0 = NULL; }
6030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6032 return NULL;
6033 }
6034 }
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 _result = new wxColour (wxTextAttr_GetTextColour(_arg0));
6038
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) return NULL;
6041 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6042 _resultobj = Py_BuildValue("s",_ptemp);
6043 return _resultobj;
6044 }
6045
6046 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6047 static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6048 PyObject * _resultobj;
6049 wxColour * _result;
6050 wxTextAttr * _arg0;
6051 PyObject * _argo0 = 0;
6052 char *_kwnames[] = { "self", NULL };
6053 char _ptemp[128];
6054
6055 self = self;
6056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
6057 return NULL;
6058 if (_argo0) {
6059 if (_argo0 == Py_None) { _arg0 = NULL; }
6060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6062 return NULL;
6063 }
6064 }
6065 {
6066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6067 _result = new wxColour (wxTextAttr_GetBackgroundColour(_arg0));
6068
6069 wxPyEndAllowThreads(__tstate);
6070 if (PyErr_Occurred()) return NULL;
6071 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6072 _resultobj = Py_BuildValue("s",_ptemp);
6073 return _resultobj;
6074 }
6075
6076 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6077 static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6078 PyObject * _resultobj;
6079 wxFont * _result;
6080 wxTextAttr * _arg0;
6081 PyObject * _argo0 = 0;
6082 char *_kwnames[] = { "self", NULL };
6083 char _ptemp[128];
6084
6085 self = self;
6086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
6087 return NULL;
6088 if (_argo0) {
6089 if (_argo0 == Py_None) { _arg0 = NULL; }
6090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6092 return NULL;
6093 }
6094 }
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 _result = new wxFont (wxTextAttr_GetFont(_arg0));
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) return NULL;
6101 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
6102 _resultobj = Py_BuildValue("s",_ptemp);
6103 return _resultobj;
6104 }
6105
6106 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6107 static PyObject *_wrap_wxTextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6108 PyObject * _resultobj;
6109 bool _result;
6110 wxTextAttr * _arg0;
6111 PyObject * _argo0 = 0;
6112 char *_kwnames[] = { "self", NULL };
6113
6114 self = self;
6115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_IsDefault",_kwnames,&_argo0))
6116 return NULL;
6117 if (_argo0) {
6118 if (_argo0 == Py_None) { _arg0 = NULL; }
6119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6121 return NULL;
6122 }
6123 }
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 _result = (bool )wxTextAttr_IsDefault(_arg0);
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) return NULL;
6130 } _resultobj = Py_BuildValue("i",_result);
6131 return _resultobj;
6132 }
6133
6134 static PyObject *_wrap_wxTextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject * _resultobj;
6136 wxTextAttr * _result;
6137 wxTextAttr * _arg0;
6138 wxTextAttr * _arg1;
6139 wxTextCtrl * _arg2;
6140 PyObject * _argo0 = 0;
6141 PyObject * _argo1 = 0;
6142 PyObject * _argo2 = 0;
6143 char *_kwnames[] = { "attr","attrDef","text", NULL };
6144 char _ptemp[128];
6145
6146 self = self;
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTextAttr_Combine",_kwnames,&_argo0,&_argo1,&_argo2))
6148 return NULL;
6149 if (_argo0) {
6150 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6151 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6152 return NULL;
6153 }
6154 }
6155 if (_argo1) {
6156 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
6157 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6158 return NULL;
6159 }
6160 }
6161 if (_argo2) {
6162 if (_argo2 == Py_None) { _arg2 = NULL; }
6163 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextCtrl_p")) {
6164 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6165 return NULL;
6166 }
6167 }
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 _result = new wxTextAttr (wxTextAttr::Combine(*_arg0,*_arg1,_arg2));
6171
6172 wxPyEndAllowThreads(__tstate);
6173 if (PyErr_Occurred()) return NULL;
6174 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTextAttr_p");
6175 _resultobj = Py_BuildValue("s",_ptemp);
6176 return _resultobj;
6177 }
6178
6179 static void *SwigwxTextCtrlTowxControl(void *ptr) {
6180 wxTextCtrl *src;
6181 wxControl *dest;
6182 src = (wxTextCtrl *) ptr;
6183 dest = (wxControl *) src;
6184 return (void *) dest;
6185 }
6186
6187 static void *SwigwxTextCtrlTowxWindow(void *ptr) {
6188 wxTextCtrl *src;
6189 wxWindow *dest;
6190 src = (wxTextCtrl *) ptr;
6191 dest = (wxWindow *) src;
6192 return (void *) dest;
6193 }
6194
6195 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
6196 wxTextCtrl *src;
6197 wxEvtHandler *dest;
6198 src = (wxTextCtrl *) ptr;
6199 dest = (wxEvtHandler *) src;
6200 return (void *) dest;
6201 }
6202
6203 static void *SwigwxTextCtrlTowxObject(void *ptr) {
6204 wxTextCtrl *src;
6205 wxObject *dest;
6206 src = (wxTextCtrl *) ptr;
6207 dest = (wxObject *) src;
6208 return (void *) dest;
6209 }
6210
6211 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6212 static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6213 PyObject * _resultobj;
6214 wxTextCtrl * _result;
6215 wxWindow * _arg0;
6216 wxWindowID _arg1;
6217 wxString * _arg2 = (wxString *) &wxPyEmptyString;
6218 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
6219 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
6220 long _arg5 = (long ) 0;
6221 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
6222 wxString * _arg7 = (wxString *) &wxPyTextCtrlNameStr;
6223 PyObject * _argo0 = 0;
6224 PyObject * _obj2 = 0;
6225 wxPoint temp;
6226 PyObject * _obj3 = 0;
6227 wxSize temp0;
6228 PyObject * _obj4 = 0;
6229 PyObject * _argo6 = 0;
6230 PyObject * _obj7 = 0;
6231 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
6232 char _ptemp[128];
6233
6234 self = self;
6235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
6236 return NULL;
6237 if (_argo0) {
6238 if (_argo0 == Py_None) { _arg0 = NULL; }
6239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
6240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6241 return NULL;
6242 }
6243 }
6244 if (_obj2)
6245 {
6246 _arg2 = wxString_in_helper(_obj2);
6247 if (_arg2 == NULL)
6248 return NULL;
6249 }
6250 if (_obj3)
6251 {
6252 _arg3 = &temp;
6253 if (! wxPoint_helper(_obj3, &_arg3))
6254 return NULL;
6255 }
6256 if (_obj4)
6257 {
6258 _arg4 = &temp0;
6259 if (! wxSize_helper(_obj4, &_arg4))
6260 return NULL;
6261 }
6262 if (_argo6) {
6263 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
6264 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6265 return NULL;
6266 }
6267 }
6268 if (_obj7)
6269 {
6270 _arg7 = wxString_in_helper(_obj7);
6271 if (_arg7 == NULL)
6272 return NULL;
6273 }
6274 {
6275 PyThreadState* __tstate = wxPyBeginAllowThreads();
6276 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
6277
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) return NULL;
6280 } if (_result) {
6281 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6282 _resultobj = Py_BuildValue("s",_ptemp);
6283 } else {
6284 Py_INCREF(Py_None);
6285 _resultobj = Py_None;
6286 }
6287 {
6288 if (_obj2)
6289 delete _arg2;
6290 }
6291 {
6292 if (_obj7)
6293 delete _arg7;
6294 }
6295 return _resultobj;
6296 }
6297
6298 #define new_wxPreTextCtrl() (new wxTextCtrl())
6299 static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject * _resultobj;
6301 wxTextCtrl * _result;
6302 char *_kwnames[] = { NULL };
6303 char _ptemp[128];
6304
6305 self = self;
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
6307 return NULL;
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 _result = (wxTextCtrl *)new_wxPreTextCtrl();
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) return NULL;
6314 } if (_result) {
6315 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
6316 _resultobj = Py_BuildValue("s",_ptemp);
6317 } else {
6318 Py_INCREF(Py_None);
6319 _resultobj = Py_None;
6320 }
6321 return _resultobj;
6322 }
6323
6324 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6325 static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6326 PyObject * _resultobj;
6327 bool _result;
6328 wxTextCtrl * _arg0;
6329 wxWindow * _arg1;
6330 wxWindowID _arg2;
6331 wxString * _arg3 = (wxString *) &wxPyEmptyString;
6332 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
6333 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
6334 long _arg6 = (long ) 0;
6335 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
6336 wxString * _arg8 = (wxString *) &wxPyTextCtrlNameStr;
6337 PyObject * _argo0 = 0;
6338 PyObject * _argo1 = 0;
6339 PyObject * _obj3 = 0;
6340 wxPoint temp;
6341 PyObject * _obj4 = 0;
6342 wxSize temp0;
6343 PyObject * _obj5 = 0;
6344 PyObject * _argo7 = 0;
6345 PyObject * _obj8 = 0;
6346 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
6347
6348 self = self;
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
6350 return NULL;
6351 if (_argo0) {
6352 if (_argo0 == Py_None) { _arg0 = NULL; }
6353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6355 return NULL;
6356 }
6357 }
6358 if (_argo1) {
6359 if (_argo1 == Py_None) { _arg1 = NULL; }
6360 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
6361 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6362 return NULL;
6363 }
6364 }
6365 if (_obj3)
6366 {
6367 _arg3 = wxString_in_helper(_obj3);
6368 if (_arg3 == NULL)
6369 return NULL;
6370 }
6371 if (_obj4)
6372 {
6373 _arg4 = &temp;
6374 if (! wxPoint_helper(_obj4, &_arg4))
6375 return NULL;
6376 }
6377 if (_obj5)
6378 {
6379 _arg5 = &temp0;
6380 if (! wxSize_helper(_obj5, &_arg5))
6381 return NULL;
6382 }
6383 if (_argo7) {
6384 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
6385 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6386 return NULL;
6387 }
6388 }
6389 if (_obj8)
6390 {
6391 _arg8 = wxString_in_helper(_obj8);
6392 if (_arg8 == NULL)
6393 return NULL;
6394 }
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) return NULL;
6401 } _resultobj = Py_BuildValue("i",_result);
6402 {
6403 if (_obj3)
6404 delete _arg3;
6405 }
6406 {
6407 if (_obj8)
6408 delete _arg8;
6409 }
6410 return _resultobj;
6411 }
6412
6413 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6414 static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject * _resultobj;
6416 wxString * _result;
6417 wxTextCtrl * _arg0;
6418 PyObject * _argo0 = 0;
6419 char *_kwnames[] = { "self", NULL };
6420
6421 self = self;
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
6423 return NULL;
6424 if (_argo0) {
6425 if (_argo0 == Py_None) { _arg0 = NULL; }
6426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6428 return NULL;
6429 }
6430 }
6431 {
6432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6433 _result = new wxString (wxTextCtrl_GetValue(_arg0));
6434
6435 wxPyEndAllowThreads(__tstate);
6436 if (PyErr_Occurred()) return NULL;
6437 }{
6438 #if wxUSE_UNICODE
6439 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6440 #else
6441 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6442 #endif
6443 }
6444 {
6445 delete _result;
6446 }
6447 return _resultobj;
6448 }
6449
6450 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6451 static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6452 PyObject * _resultobj;
6453 wxTextCtrl * _arg0;
6454 wxString * _arg1;
6455 PyObject * _argo0 = 0;
6456 PyObject * _obj1 = 0;
6457 char *_kwnames[] = { "self","value", NULL };
6458
6459 self = self;
6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
6461 return NULL;
6462 if (_argo0) {
6463 if (_argo0 == Py_None) { _arg0 = NULL; }
6464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6466 return NULL;
6467 }
6468 }
6469 {
6470 _arg1 = wxString_in_helper(_obj1);
6471 if (_arg1 == NULL)
6472 return NULL;
6473 }
6474 {
6475 PyThreadState* __tstate = wxPyBeginAllowThreads();
6476 wxTextCtrl_SetValue(_arg0,*_arg1);
6477
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) return NULL;
6480 } Py_INCREF(Py_None);
6481 _resultobj = Py_None;
6482 {
6483 if (_obj1)
6484 delete _arg1;
6485 }
6486 return _resultobj;
6487 }
6488
6489 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6490 static PyObject *_wrap_wxTextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6491 PyObject * _resultobj;
6492 wxString * _result;
6493 wxTextCtrl * _arg0;
6494 long _arg1;
6495 long _arg2;
6496 PyObject * _argo0 = 0;
6497 char *_kwnames[] = { "self","from","to", NULL };
6498
6499 self = self;
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetRange",_kwnames,&_argo0,&_arg1,&_arg2))
6501 return NULL;
6502 if (_argo0) {
6503 if (_argo0 == Py_None) { _arg0 = NULL; }
6504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6506 return NULL;
6507 }
6508 }
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 _result = new wxString (wxTextCtrl_GetRange(_arg0,_arg1,_arg2));
6512
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) return NULL;
6515 }{
6516 #if wxUSE_UNICODE
6517 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6518 #else
6519 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6520 #endif
6521 }
6522 {
6523 delete _result;
6524 }
6525 return _resultobj;
6526 }
6527
6528 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6529 static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6530 PyObject * _resultobj;
6531 int _result;
6532 wxTextCtrl * _arg0;
6533 long _arg1;
6534 PyObject * _argo0 = 0;
6535 char *_kwnames[] = { "self","lineNo", NULL };
6536
6537 self = self;
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
6539 return NULL;
6540 if (_argo0) {
6541 if (_argo0 == Py_None) { _arg0 = NULL; }
6542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6544 return NULL;
6545 }
6546 }
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) return NULL;
6553 } _resultobj = Py_BuildValue("i",_result);
6554 return _resultobj;
6555 }
6556
6557 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6558 static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6559 PyObject * _resultobj;
6560 wxString * _result;
6561 wxTextCtrl * _arg0;
6562 long _arg1;
6563 PyObject * _argo0 = 0;
6564 char *_kwnames[] = { "self","lineNo", NULL };
6565
6566 self = self;
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
6568 return NULL;
6569 if (_argo0) {
6570 if (_argo0 == Py_None) { _arg0 = NULL; }
6571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6573 return NULL;
6574 }
6575 }
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
6579
6580 wxPyEndAllowThreads(__tstate);
6581 if (PyErr_Occurred()) return NULL;
6582 }{
6583 #if wxUSE_UNICODE
6584 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6585 #else
6586 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6587 #endif
6588 }
6589 {
6590 delete _result;
6591 }
6592 return _resultobj;
6593 }
6594
6595 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6596 static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6597 PyObject * _resultobj;
6598 int _result;
6599 wxTextCtrl * _arg0;
6600 PyObject * _argo0 = 0;
6601 char *_kwnames[] = { "self", NULL };
6602
6603 self = self;
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
6605 return NULL;
6606 if (_argo0) {
6607 if (_argo0 == Py_None) { _arg0 = NULL; }
6608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6610 return NULL;
6611 }
6612 }
6613 {
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
6616
6617 wxPyEndAllowThreads(__tstate);
6618 if (PyErr_Occurred()) return NULL;
6619 } _resultobj = Py_BuildValue("i",_result);
6620 return _resultobj;
6621 }
6622
6623 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6624 static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6625 PyObject * _resultobj;
6626 bool _result;
6627 wxTextCtrl * _arg0;
6628 PyObject * _argo0 = 0;
6629 char *_kwnames[] = { "self", NULL };
6630
6631 self = self;
6632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
6633 return NULL;
6634 if (_argo0) {
6635 if (_argo0 == Py_None) { _arg0 = NULL; }
6636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6638 return NULL;
6639 }
6640 }
6641 {
6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
6643 _result = (bool )wxTextCtrl_IsModified(_arg0);
6644
6645 wxPyEndAllowThreads(__tstate);
6646 if (PyErr_Occurred()) return NULL;
6647 } _resultobj = Py_BuildValue("i",_result);
6648 return _resultobj;
6649 }
6650
6651 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6652 static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6653 PyObject * _resultobj;
6654 bool _result;
6655 wxTextCtrl * _arg0;
6656 PyObject * _argo0 = 0;
6657 char *_kwnames[] = { "self", NULL };
6658
6659 self = self;
6660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
6661 return NULL;
6662 if (_argo0) {
6663 if (_argo0 == Py_None) { _arg0 = NULL; }
6664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6666 return NULL;
6667 }
6668 }
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 _result = (bool )wxTextCtrl_IsEditable(_arg0);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) return NULL;
6675 } _resultobj = Py_BuildValue("i",_result);
6676 return _resultobj;
6677 }
6678
6679 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6680 static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject * _resultobj;
6682 wxTextCtrl * _arg0;
6683 long * _arg1;
6684 long temp;
6685 long * _arg2;
6686 long temp0;
6687 PyObject * _argo0 = 0;
6688 char *_kwnames[] = { "self", NULL };
6689
6690 self = self;
6691 {
6692 _arg1 = &temp;
6693 }
6694 {
6695 _arg2 = &temp0;
6696 }
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
6698 return NULL;
6699 if (_argo0) {
6700 if (_argo0 == Py_None) { _arg0 = NULL; }
6701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6703 return NULL;
6704 }
6705 }
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
6709
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) return NULL;
6712 } Py_INCREF(Py_None);
6713 _resultobj = Py_None;
6714 {
6715 PyObject *o;
6716 o = PyInt_FromLong((long) (*_arg1));
6717 _resultobj = t_output_helper(_resultobj, o);
6718 }
6719 {
6720 PyObject *o;
6721 o = PyInt_FromLong((long) (*_arg2));
6722 _resultobj = t_output_helper(_resultobj, o);
6723 }
6724 return _resultobj;
6725 }
6726
6727 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6728 static PyObject *_wrap_wxTextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6729 PyObject * _resultobj;
6730 wxString * _result;
6731 wxTextCtrl * _arg0;
6732 PyObject * _argo0 = 0;
6733 char *_kwnames[] = { "self", NULL };
6734
6735 self = self;
6736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetStringSelection",_kwnames,&_argo0))
6737 return NULL;
6738 if (_argo0) {
6739 if (_argo0 == Py_None) { _arg0 = NULL; }
6740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6742 return NULL;
6743 }
6744 }
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 _result = new wxString (wxTextCtrl_GetStringSelection(_arg0));
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) return NULL;
6751 }{
6752 #if wxUSE_UNICODE
6753 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
6754 #else
6755 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
6756 #endif
6757 }
6758 {
6759 delete _result;
6760 }
6761 return _resultobj;
6762 }
6763
6764 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6765 static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6766 PyObject * _resultobj;
6767 wxTextCtrl * _arg0;
6768 PyObject * _argo0 = 0;
6769 char *_kwnames[] = { "self", NULL };
6770
6771 self = self;
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
6773 return NULL;
6774 if (_argo0) {
6775 if (_argo0 == Py_None) { _arg0 = NULL; }
6776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6778 return NULL;
6779 }
6780 }
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 wxTextCtrl_Clear(_arg0);
6784
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) return NULL;
6787 } Py_INCREF(Py_None);
6788 _resultobj = Py_None;
6789 return _resultobj;
6790 }
6791
6792 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6793 static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6794 PyObject * _resultobj;
6795 wxTextCtrl * _arg0;
6796 long _arg1;
6797 long _arg2;
6798 wxString * _arg3;
6799 PyObject * _argo0 = 0;
6800 PyObject * _obj3 = 0;
6801 char *_kwnames[] = { "self","from","to","value", NULL };
6802
6803 self = self;
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
6805 return NULL;
6806 if (_argo0) {
6807 if (_argo0 == Py_None) { _arg0 = NULL; }
6808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6810 return NULL;
6811 }
6812 }
6813 {
6814 _arg3 = wxString_in_helper(_obj3);
6815 if (_arg3 == NULL)
6816 return NULL;
6817 }
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) return NULL;
6824 } Py_INCREF(Py_None);
6825 _resultobj = Py_None;
6826 {
6827 if (_obj3)
6828 delete _arg3;
6829 }
6830 return _resultobj;
6831 }
6832
6833 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6834 static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6835 PyObject * _resultobj;
6836 wxTextCtrl * _arg0;
6837 long _arg1;
6838 long _arg2;
6839 PyObject * _argo0 = 0;
6840 char *_kwnames[] = { "self","from","to", NULL };
6841
6842 self = self;
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
6844 return NULL;
6845 if (_argo0) {
6846 if (_argo0 == Py_None) { _arg0 = NULL; }
6847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6849 return NULL;
6850 }
6851 }
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) return NULL;
6858 } Py_INCREF(Py_None);
6859 _resultobj = Py_None;
6860 return _resultobj;
6861 }
6862
6863 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6864 static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6865 PyObject * _resultobj;
6866 bool _result;
6867 wxTextCtrl * _arg0;
6868 wxString * _arg1;
6869 PyObject * _argo0 = 0;
6870 PyObject * _obj1 = 0;
6871 char *_kwnames[] = { "self","file", NULL };
6872
6873 self = self;
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
6875 return NULL;
6876 if (_argo0) {
6877 if (_argo0 == Py_None) { _arg0 = NULL; }
6878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6880 return NULL;
6881 }
6882 }
6883 {
6884 _arg1 = wxString_in_helper(_obj1);
6885 if (_arg1 == NULL)
6886 return NULL;
6887 }
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) return NULL;
6894 } _resultobj = Py_BuildValue("i",_result);
6895 {
6896 if (_obj1)
6897 delete _arg1;
6898 }
6899 return _resultobj;
6900 }
6901
6902 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6903 static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6904 PyObject * _resultobj;
6905 bool _result;
6906 wxTextCtrl * _arg0;
6907 wxString * _arg1 = (wxString *) &wxPyEmptyString;
6908 PyObject * _argo0 = 0;
6909 PyObject * _obj1 = 0;
6910 char *_kwnames[] = { "self","file", NULL };
6911
6912 self = self;
6913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
6914 return NULL;
6915 if (_argo0) {
6916 if (_argo0 == Py_None) { _arg0 = NULL; }
6917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6919 return NULL;
6920 }
6921 }
6922 if (_obj1)
6923 {
6924 _arg1 = wxString_in_helper(_obj1);
6925 if (_arg1 == NULL)
6926 return NULL;
6927 }
6928 {
6929 PyThreadState* __tstate = wxPyBeginAllowThreads();
6930 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) return NULL;
6934 } _resultobj = Py_BuildValue("i",_result);
6935 {
6936 if (_obj1)
6937 delete _arg1;
6938 }
6939 return _resultobj;
6940 }
6941
6942 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6943 static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6944 PyObject * _resultobj;
6945 wxTextCtrl * _arg0;
6946 PyObject * _argo0 = 0;
6947 char *_kwnames[] = { "self", NULL };
6948
6949 self = self;
6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
6951 return NULL;
6952 if (_argo0) {
6953 if (_argo0 == Py_None) { _arg0 = NULL; }
6954 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6955 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6956 return NULL;
6957 }
6958 }
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 wxTextCtrl_DiscardEdits(_arg0);
6962
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) return NULL;
6965 } Py_INCREF(Py_None);
6966 _resultobj = Py_None;
6967 return _resultobj;
6968 }
6969
6970 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6971 static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6972 PyObject * _resultobj;
6973 wxTextCtrl * _arg0;
6974 unsigned long _arg1;
6975 PyObject * _argo0 = 0;
6976 char *_kwnames[] = { "self","len", NULL };
6977
6978 self = self;
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
6980 return NULL;
6981 if (_argo0) {
6982 if (_argo0 == Py_None) { _arg0 = NULL; }
6983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
6984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6985 return NULL;
6986 }
6987 }
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 wxTextCtrl_SetMaxLength(_arg0,_arg1);
6991
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) return NULL;
6994 } Py_INCREF(Py_None);
6995 _resultobj = Py_None;
6996 return _resultobj;
6997 }
6998
6999 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7000 static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7001 PyObject * _resultobj;
7002 wxTextCtrl * _arg0;
7003 wxString * _arg1;
7004 PyObject * _argo0 = 0;
7005 PyObject * _obj1 = 0;
7006 char *_kwnames[] = { "self","text", NULL };
7007
7008 self = self;
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
7010 return NULL;
7011 if (_argo0) {
7012 if (_argo0 == Py_None) { _arg0 = NULL; }
7013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7015 return NULL;
7016 }
7017 }
7018 {
7019 _arg1 = wxString_in_helper(_obj1);
7020 if (_arg1 == NULL)
7021 return NULL;
7022 }
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 wxTextCtrl_WriteText(_arg0,*_arg1);
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) return NULL;
7029 } Py_INCREF(Py_None);
7030 _resultobj = Py_None;
7031 {
7032 if (_obj1)
7033 delete _arg1;
7034 }
7035 return _resultobj;
7036 }
7037
7038 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7039 static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7040 PyObject * _resultobj;
7041 wxTextCtrl * _arg0;
7042 wxString * _arg1;
7043 PyObject * _argo0 = 0;
7044 PyObject * _obj1 = 0;
7045 char *_kwnames[] = { "self","text", NULL };
7046
7047 self = self;
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
7049 return NULL;
7050 if (_argo0) {
7051 if (_argo0 == Py_None) { _arg0 = NULL; }
7052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7054 return NULL;
7055 }
7056 }
7057 {
7058 _arg1 = wxString_in_helper(_obj1);
7059 if (_arg1 == NULL)
7060 return NULL;
7061 }
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 wxTextCtrl_AppendText(_arg0,*_arg1);
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) return NULL;
7068 } Py_INCREF(Py_None);
7069 _resultobj = Py_None;
7070 {
7071 if (_obj1)
7072 delete _arg1;
7073 }
7074 return _resultobj;
7075 }
7076
7077 #define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
7078 static PyObject *_wrap_wxTextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject * _resultobj;
7080 bool _result;
7081 wxTextCtrl * _arg0;
7082 wxKeyEvent * _arg1;
7083 PyObject * _argo0 = 0;
7084 PyObject * _argo1 = 0;
7085 char *_kwnames[] = { "self","event", NULL };
7086
7087 self = self;
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_EmulateKeyPress",_kwnames,&_argo0,&_argo1))
7089 return NULL;
7090 if (_argo0) {
7091 if (_argo0 == Py_None) { _arg0 = NULL; }
7092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
7094 return NULL;
7095 }
7096 }
7097 if (_argo1) {
7098 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
7099 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
7100 return NULL;
7101 }
7102 }
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 _result = (bool )wxTextCtrl_EmulateKeyPress(_arg0,*_arg1);
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) return NULL;
7109 } _resultobj = Py_BuildValue("i",_result);
7110 return _resultobj;
7111 }
7112
7113 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7114 static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject * _resultobj;
7116 bool _result;
7117 wxTextCtrl * _arg0;
7118 long _arg1;
7119 long _arg2;
7120 wxTextAttr * _arg3;
7121 PyObject * _argo0 = 0;
7122 PyObject * _argo3 = 0;
7123 char *_kwnames[] = { "self","start","end","style", NULL };
7124
7125 self = self;
7126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
7127 return NULL;
7128 if (_argo0) {
7129 if (_argo0 == Py_None) { _arg0 = NULL; }
7130 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7132 return NULL;
7133 }
7134 }
7135 if (_argo3) {
7136 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
7137 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7138 return NULL;
7139 }
7140 }
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) return NULL;
7147 } _resultobj = Py_BuildValue("i",_result);
7148 return _resultobj;
7149 }
7150
7151 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7152 static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7153 PyObject * _resultobj;
7154 bool _result;
7155 wxTextCtrl * _arg0;
7156 wxTextAttr * _arg1;
7157 PyObject * _argo0 = 0;
7158 PyObject * _argo1 = 0;
7159 char *_kwnames[] = { "self","style", NULL };
7160
7161 self = self;
7162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
7163 return NULL;
7164 if (_argo0) {
7165 if (_argo0 == Py_None) { _arg0 = NULL; }
7166 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7167 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7168 return NULL;
7169 }
7170 }
7171 if (_argo1) {
7172 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
7173 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7174 return NULL;
7175 }
7176 }
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) return NULL;
7183 } _resultobj = Py_BuildValue("i",_result);
7184 return _resultobj;
7185 }
7186
7187 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7188 static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject * _resultobj;
7190 wxTextAttr * _result;
7191 wxTextCtrl * _arg0;
7192 PyObject * _argo0 = 0;
7193 char *_kwnames[] = { "self", NULL };
7194 char _ptemp[128];
7195
7196 self = self;
7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
7198 return NULL;
7199 if (_argo0) {
7200 if (_argo0 == Py_None) { _arg0 = NULL; }
7201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7203 return NULL;
7204 }
7205 }
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
7209 _result = (wxTextAttr *) &_result_ref;
7210
7211 wxPyEndAllowThreads(__tstate);
7212 if (PyErr_Occurred()) return NULL;
7213 } if (_result) {
7214 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
7215 _resultobj = Py_BuildValue("s",_ptemp);
7216 } else {
7217 Py_INCREF(Py_None);
7218 _resultobj = Py_None;
7219 }
7220 return _resultobj;
7221 }
7222
7223 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7224 static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7225 PyObject * _resultobj;
7226 long _result;
7227 wxTextCtrl * _arg0;
7228 long _arg1;
7229 long _arg2;
7230 PyObject * _argo0 = 0;
7231 char *_kwnames[] = { "self","x","y", NULL };
7232
7233 self = self;
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
7235 return NULL;
7236 if (_argo0) {
7237 if (_argo0 == Py_None) { _arg0 = NULL; }
7238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7240 return NULL;
7241 }
7242 }
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) return NULL;
7249 } _resultobj = Py_BuildValue("l",_result);
7250 return _resultobj;
7251 }
7252
7253 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7254 static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject * _resultobj;
7256 wxTextCtrl * _arg0;
7257 long _arg1;
7258 long * _arg2;
7259 long temp;
7260 long * _arg3;
7261 long temp0;
7262 PyObject * _argo0 = 0;
7263 char *_kwnames[] = { "self","pos", NULL };
7264
7265 self = self;
7266 {
7267 _arg2 = &temp;
7268 }
7269 {
7270 _arg3 = &temp0;
7271 }
7272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
7273 return NULL;
7274 if (_argo0) {
7275 if (_argo0 == Py_None) { _arg0 = NULL; }
7276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7278 return NULL;
7279 }
7280 }
7281 {
7282 PyThreadState* __tstate = wxPyBeginAllowThreads();
7283 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
7284
7285 wxPyEndAllowThreads(__tstate);
7286 if (PyErr_Occurred()) return NULL;
7287 } Py_INCREF(Py_None);
7288 _resultobj = Py_None;
7289 {
7290 PyObject *o;
7291 o = PyInt_FromLong((long) (*_arg2));
7292 _resultobj = t_output_helper(_resultobj, o);
7293 }
7294 {
7295 PyObject *o;
7296 o = PyInt_FromLong((long) (*_arg3));
7297 _resultobj = t_output_helper(_resultobj, o);
7298 }
7299 return _resultobj;
7300 }
7301
7302 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7303 static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7304 PyObject * _resultobj;
7305 wxTextCtrl * _arg0;
7306 long _arg1;
7307 PyObject * _argo0 = 0;
7308 char *_kwnames[] = { "self","pos", NULL };
7309
7310 self = self;
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
7312 return NULL;
7313 if (_argo0) {
7314 if (_argo0 == Py_None) { _arg0 = NULL; }
7315 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7316 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7317 return NULL;
7318 }
7319 }
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 wxTextCtrl_ShowPosition(_arg0,_arg1);
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) return NULL;
7326 } Py_INCREF(Py_None);
7327 _resultobj = Py_None;
7328 return _resultobj;
7329 }
7330
7331 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7332 static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7333 PyObject * _resultobj;
7334 wxTextCtrl * _arg0;
7335 PyObject * _argo0 = 0;
7336 char *_kwnames[] = { "self", NULL };
7337
7338 self = self;
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
7340 return NULL;
7341 if (_argo0) {
7342 if (_argo0 == Py_None) { _arg0 = NULL; }
7343 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7344 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7345 return NULL;
7346 }
7347 }
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 wxTextCtrl_Copy(_arg0);
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) return NULL;
7354 } Py_INCREF(Py_None);
7355 _resultobj = Py_None;
7356 return _resultobj;
7357 }
7358
7359 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7360 static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject * _resultobj;
7362 wxTextCtrl * _arg0;
7363 PyObject * _argo0 = 0;
7364 char *_kwnames[] = { "self", NULL };
7365
7366 self = self;
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
7368 return NULL;
7369 if (_argo0) {
7370 if (_argo0 == Py_None) { _arg0 = NULL; }
7371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7373 return NULL;
7374 }
7375 }
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 wxTextCtrl_Cut(_arg0);
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) return NULL;
7382 } Py_INCREF(Py_None);
7383 _resultobj = Py_None;
7384 return _resultobj;
7385 }
7386
7387 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7388 static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7389 PyObject * _resultobj;
7390 wxTextCtrl * _arg0;
7391 PyObject * _argo0 = 0;
7392 char *_kwnames[] = { "self", NULL };
7393
7394 self = self;
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
7396 return NULL;
7397 if (_argo0) {
7398 if (_argo0 == Py_None) { _arg0 = NULL; }
7399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7401 return NULL;
7402 }
7403 }
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 wxTextCtrl_Paste(_arg0);
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) return NULL;
7410 } Py_INCREF(Py_None);
7411 _resultobj = Py_None;
7412 return _resultobj;
7413 }
7414
7415 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7416 static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject * _resultobj;
7418 bool _result;
7419 wxTextCtrl * _arg0;
7420 PyObject * _argo0 = 0;
7421 char *_kwnames[] = { "self", NULL };
7422
7423 self = self;
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
7425 return NULL;
7426 if (_argo0) {
7427 if (_argo0 == Py_None) { _arg0 = NULL; }
7428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7430 return NULL;
7431 }
7432 }
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 _result = (bool )wxTextCtrl_CanCopy(_arg0);
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) return NULL;
7439 } _resultobj = Py_BuildValue("i",_result);
7440 return _resultobj;
7441 }
7442
7443 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7444 static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7445 PyObject * _resultobj;
7446 bool _result;
7447 wxTextCtrl * _arg0;
7448 PyObject * _argo0 = 0;
7449 char *_kwnames[] = { "self", NULL };
7450
7451 self = self;
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
7453 return NULL;
7454 if (_argo0) {
7455 if (_argo0 == Py_None) { _arg0 = NULL; }
7456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7458 return NULL;
7459 }
7460 }
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 _result = (bool )wxTextCtrl_CanCut(_arg0);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) return NULL;
7467 } _resultobj = Py_BuildValue("i",_result);
7468 return _resultobj;
7469 }
7470
7471 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7472 static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject * _resultobj;
7474 bool _result;
7475 wxTextCtrl * _arg0;
7476 PyObject * _argo0 = 0;
7477 char *_kwnames[] = { "self", NULL };
7478
7479 self = self;
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
7481 return NULL;
7482 if (_argo0) {
7483 if (_argo0 == Py_None) { _arg0 = NULL; }
7484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7486 return NULL;
7487 }
7488 }
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 _result = (bool )wxTextCtrl_CanPaste(_arg0);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) return NULL;
7495 } _resultobj = Py_BuildValue("i",_result);
7496 return _resultobj;
7497 }
7498
7499 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7500 static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject * _resultobj;
7502 wxTextCtrl * _arg0;
7503 PyObject * _argo0 = 0;
7504 char *_kwnames[] = { "self", NULL };
7505
7506 self = self;
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
7508 return NULL;
7509 if (_argo0) {
7510 if (_argo0 == Py_None) { _arg0 = NULL; }
7511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7513 return NULL;
7514 }
7515 }
7516 {
7517 PyThreadState* __tstate = wxPyBeginAllowThreads();
7518 wxTextCtrl_Undo(_arg0);
7519
7520 wxPyEndAllowThreads(__tstate);
7521 if (PyErr_Occurred()) return NULL;
7522 } Py_INCREF(Py_None);
7523 _resultobj = Py_None;
7524 return _resultobj;
7525 }
7526
7527 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7528 static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7529 PyObject * _resultobj;
7530 wxTextCtrl * _arg0;
7531 PyObject * _argo0 = 0;
7532 char *_kwnames[] = { "self", NULL };
7533
7534 self = self;
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
7536 return NULL;
7537 if (_argo0) {
7538 if (_argo0 == Py_None) { _arg0 = NULL; }
7539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7541 return NULL;
7542 }
7543 }
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 wxTextCtrl_Redo(_arg0);
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) return NULL;
7550 } Py_INCREF(Py_None);
7551 _resultobj = Py_None;
7552 return _resultobj;
7553 }
7554
7555 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7556 static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject * _resultobj;
7558 bool _result;
7559 wxTextCtrl * _arg0;
7560 PyObject * _argo0 = 0;
7561 char *_kwnames[] = { "self", NULL };
7562
7563 self = self;
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
7565 return NULL;
7566 if (_argo0) {
7567 if (_argo0 == Py_None) { _arg0 = NULL; }
7568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7570 return NULL;
7571 }
7572 }
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 _result = (bool )wxTextCtrl_CanUndo(_arg0);
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) return NULL;
7579 } _resultobj = Py_BuildValue("i",_result);
7580 return _resultobj;
7581 }
7582
7583 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7584 static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7585 PyObject * _resultobj;
7586 bool _result;
7587 wxTextCtrl * _arg0;
7588 PyObject * _argo0 = 0;
7589 char *_kwnames[] = { "self", NULL };
7590
7591 self = self;
7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
7593 return NULL;
7594 if (_argo0) {
7595 if (_argo0 == Py_None) { _arg0 = NULL; }
7596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7598 return NULL;
7599 }
7600 }
7601 {
7602 PyThreadState* __tstate = wxPyBeginAllowThreads();
7603 _result = (bool )wxTextCtrl_CanRedo(_arg0);
7604
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) return NULL;
7607 } _resultobj = Py_BuildValue("i",_result);
7608 return _resultobj;
7609 }
7610
7611 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7612 static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7613 PyObject * _resultobj;
7614 wxTextCtrl * _arg0;
7615 long _arg1;
7616 PyObject * _argo0 = 0;
7617 char *_kwnames[] = { "self","pos", NULL };
7618
7619 self = self;
7620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
7621 return NULL;
7622 if (_argo0) {
7623 if (_argo0 == Py_None) { _arg0 = NULL; }
7624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7626 return NULL;
7627 }
7628 }
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) return NULL;
7635 } Py_INCREF(Py_None);
7636 _resultobj = Py_None;
7637 return _resultobj;
7638 }
7639
7640 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7641 static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7642 PyObject * _resultobj;
7643 wxTextCtrl * _arg0;
7644 PyObject * _argo0 = 0;
7645 char *_kwnames[] = { "self", NULL };
7646
7647 self = self;
7648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
7649 return NULL;
7650 if (_argo0) {
7651 if (_argo0 == Py_None) { _arg0 = NULL; }
7652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7654 return NULL;
7655 }
7656 }
7657 {
7658 PyThreadState* __tstate = wxPyBeginAllowThreads();
7659 wxTextCtrl_SetInsertionPointEnd(_arg0);
7660
7661 wxPyEndAllowThreads(__tstate);
7662 if (PyErr_Occurred()) return NULL;
7663 } Py_INCREF(Py_None);
7664 _resultobj = Py_None;
7665 return _resultobj;
7666 }
7667
7668 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7669 static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7670 PyObject * _resultobj;
7671 long _result;
7672 wxTextCtrl * _arg0;
7673 PyObject * _argo0 = 0;
7674 char *_kwnames[] = { "self", NULL };
7675
7676 self = self;
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
7678 return NULL;
7679 if (_argo0) {
7680 if (_argo0 == Py_None) { _arg0 = NULL; }
7681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7683 return NULL;
7684 }
7685 }
7686 {
7687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7688 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
7689
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) return NULL;
7692 } _resultobj = Py_BuildValue("l",_result);
7693 return _resultobj;
7694 }
7695
7696 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7697 static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7698 PyObject * _resultobj;
7699 long _result;
7700 wxTextCtrl * _arg0;
7701 PyObject * _argo0 = 0;
7702 char *_kwnames[] = { "self", NULL };
7703
7704 self = self;
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
7706 return NULL;
7707 if (_argo0) {
7708 if (_argo0 == Py_None) { _arg0 = NULL; }
7709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7711 return NULL;
7712 }
7713 }
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) return NULL;
7720 } _resultobj = Py_BuildValue("l",_result);
7721 return _resultobj;
7722 }
7723
7724 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7725 static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7726 PyObject * _resultobj;
7727 wxTextCtrl * _arg0;
7728 long _arg1;
7729 long _arg2;
7730 PyObject * _argo0 = 0;
7731 char *_kwnames[] = { "self","from","to", NULL };
7732
7733 self = self;
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
7735 return NULL;
7736 if (_argo0) {
7737 if (_argo0 == Py_None) { _arg0 = NULL; }
7738 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7739 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7740 return NULL;
7741 }
7742 }
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
7746
7747 wxPyEndAllowThreads(__tstate);
7748 if (PyErr_Occurred()) return NULL;
7749 } Py_INCREF(Py_None);
7750 _resultobj = Py_None;
7751 return _resultobj;
7752 }
7753
7754 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7755 static PyObject *_wrap_wxTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7756 PyObject * _resultobj;
7757 wxTextCtrl * _arg0;
7758 PyObject * _argo0 = 0;
7759 char *_kwnames[] = { "self", NULL };
7760
7761 self = self;
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SelectAll",_kwnames,&_argo0))
7763 return NULL;
7764 if (_argo0) {
7765 if (_argo0 == Py_None) { _arg0 = NULL; }
7766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7768 return NULL;
7769 }
7770 }
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 wxTextCtrl_SelectAll(_arg0);
7774
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) return NULL;
7777 } Py_INCREF(Py_None);
7778 _resultobj = Py_None;
7779 return _resultobj;
7780 }
7781
7782 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7783 static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7784 PyObject * _resultobj;
7785 wxTextCtrl * _arg0;
7786 bool _arg1;
7787 PyObject * _argo0 = 0;
7788 int tempbool1;
7789 char *_kwnames[] = { "self","editable", NULL };
7790
7791 self = self;
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
7793 return NULL;
7794 if (_argo0) {
7795 if (_argo0 == Py_None) { _arg0 = NULL; }
7796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7798 return NULL;
7799 }
7800 }
7801 _arg1 = (bool ) tempbool1;
7802 {
7803 PyThreadState* __tstate = wxPyBeginAllowThreads();
7804 wxTextCtrl_SetEditable(_arg0,_arg1);
7805
7806 wxPyEndAllowThreads(__tstate);
7807 if (PyErr_Occurred()) return NULL;
7808 } Py_INCREF(Py_None);
7809 _resultobj = Py_None;
7810 return _resultobj;
7811 }
7812
7813 #define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
7814 static PyObject *_wrap_wxTextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject * _resultobj;
7816 bool _result;
7817 wxTextCtrl * _arg0;
7818 PyObject * _argo0 = 0;
7819 char *_kwnames[] = { "self", NULL };
7820
7821 self = self;
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsSingleLine",_kwnames,&_argo0))
7823 return NULL;
7824 if (_argo0) {
7825 if (_argo0 == Py_None) { _arg0 = NULL; }
7826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
7828 return NULL;
7829 }
7830 }
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 _result = (bool )wxTextCtrl_IsSingleLine(_arg0);
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) return NULL;
7837 } _resultobj = Py_BuildValue("i",_result);
7838 return _resultobj;
7839 }
7840
7841 #define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
7842 static PyObject *_wrap_wxTextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject * _resultobj;
7844 bool _result;
7845 wxTextCtrl * _arg0;
7846 PyObject * _argo0 = 0;
7847 char *_kwnames[] = { "self", NULL };
7848
7849 self = self;
7850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsMultiLine",_kwnames,&_argo0))
7851 return NULL;
7852 if (_argo0) {
7853 if (_argo0 == Py_None) { _arg0 = NULL; }
7854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
7856 return NULL;
7857 }
7858 }
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 _result = (bool )wxTextCtrl_IsMultiLine(_arg0);
7862
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) return NULL;
7865 } _resultobj = Py_BuildValue("i",_result);
7866 return _resultobj;
7867 }
7868
7869 static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
7870 self->AppendText(text);
7871 }
7872 static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7873 PyObject * _resultobj;
7874 wxTextCtrl * _arg0;
7875 wxString * _arg1;
7876 PyObject * _argo0 = 0;
7877 PyObject * _obj1 = 0;
7878 char *_kwnames[] = { "self","text", NULL };
7879
7880 self = self;
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
7882 return NULL;
7883 if (_argo0) {
7884 if (_argo0 == Py_None) { _arg0 = NULL; }
7885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7887 return NULL;
7888 }
7889 }
7890 {
7891 _arg1 = wxString_in_helper(_obj1);
7892 if (_arg1 == NULL)
7893 return NULL;
7894 }
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 wxTextCtrl_write(_arg0,*_arg1);
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) return NULL;
7901 } Py_INCREF(Py_None);
7902 _resultobj = Py_None;
7903 {
7904 if (_obj1)
7905 delete _arg1;
7906 }
7907 return _resultobj;
7908 }
7909
7910 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to) {
7911 return self->GetValue().Mid(from, to - from);
7912 }
7913 static PyObject *_wrap_wxTextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7914 PyObject * _resultobj;
7915 wxString * _result;
7916 wxTextCtrl * _arg0;
7917 long _arg1;
7918 long _arg2;
7919 PyObject * _argo0 = 0;
7920 char *_kwnames[] = { "self","from","to", NULL };
7921
7922 self = self;
7923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetString",_kwnames,&_argo0,&_arg1,&_arg2))
7924 return NULL;
7925 if (_argo0) {
7926 if (_argo0 == Py_None) { _arg0 = NULL; }
7927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7929 return NULL;
7930 }
7931 }
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 _result = new wxString (wxTextCtrl_GetString(_arg0,_arg1,_arg2));
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) return NULL;
7938 }{
7939 #if wxUSE_UNICODE
7940 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
7941 #else
7942 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7943 #endif
7944 }
7945 {
7946 delete _result;
7947 }
7948 return _resultobj;
7949 }
7950
7951 static void *SwigwxScrollBarTowxControl(void *ptr) {
7952 wxScrollBar *src;
7953 wxControl *dest;
7954 src = (wxScrollBar *) ptr;
7955 dest = (wxControl *) src;
7956 return (void *) dest;
7957 }
7958
7959 static void *SwigwxScrollBarTowxWindow(void *ptr) {
7960 wxScrollBar *src;
7961 wxWindow *dest;
7962 src = (wxScrollBar *) ptr;
7963 dest = (wxWindow *) src;
7964 return (void *) dest;
7965 }
7966
7967 static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
7968 wxScrollBar *src;
7969 wxEvtHandler *dest;
7970 src = (wxScrollBar *) ptr;
7971 dest = (wxEvtHandler *) src;
7972 return (void *) dest;
7973 }
7974
7975 static void *SwigwxScrollBarTowxObject(void *ptr) {
7976 wxScrollBar *src;
7977 wxObject *dest;
7978 src = (wxScrollBar *) ptr;
7979 dest = (wxObject *) src;
7980 return (void *) dest;
7981 }
7982
7983 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7984 static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7985 PyObject * _resultobj;
7986 wxScrollBar * _result;
7987 wxWindow * _arg0;
7988 wxWindowID _arg1 = (wxWindowID ) -1;
7989 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
7990 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
7991 long _arg4 = (long ) wxSB_HORIZONTAL;
7992 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
7993 wxString * _arg6 = (wxString *) &wxPyScrollBarNameStr;
7994 PyObject * _argo0 = 0;
7995 wxPoint temp;
7996 PyObject * _obj2 = 0;
7997 wxSize temp0;
7998 PyObject * _obj3 = 0;
7999 PyObject * _argo5 = 0;
8000 PyObject * _obj6 = 0;
8001 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8002 char _ptemp[128];
8003
8004 self = self;
8005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8006 return NULL;
8007 if (_argo0) {
8008 if (_argo0 == Py_None) { _arg0 = NULL; }
8009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8011 return NULL;
8012 }
8013 }
8014 if (_obj2)
8015 {
8016 _arg2 = &temp;
8017 if (! wxPoint_helper(_obj2, &_arg2))
8018 return NULL;
8019 }
8020 if (_obj3)
8021 {
8022 _arg3 = &temp0;
8023 if (! wxSize_helper(_obj3, &_arg3))
8024 return NULL;
8025 }
8026 if (_argo5) {
8027 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8028 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8029 return NULL;
8030 }
8031 }
8032 if (_obj6)
8033 {
8034 _arg6 = wxString_in_helper(_obj6);
8035 if (_arg6 == NULL)
8036 return NULL;
8037 }
8038 {
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
8041
8042 wxPyEndAllowThreads(__tstate);
8043 if (PyErr_Occurred()) return NULL;
8044 } if (_result) {
8045 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
8046 _resultobj = Py_BuildValue("s",_ptemp);
8047 } else {
8048 Py_INCREF(Py_None);
8049 _resultobj = Py_None;
8050 }
8051 {
8052 if (_obj6)
8053 delete _arg6;
8054 }
8055 return _resultobj;
8056 }
8057
8058 #define new_wxPreScrollBar() (new wxScrollBar())
8059 static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8060 PyObject * _resultobj;
8061 wxScrollBar * _result;
8062 char *_kwnames[] = { NULL };
8063 char _ptemp[128];
8064
8065 self = self;
8066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
8067 return NULL;
8068 {
8069 PyThreadState* __tstate = wxPyBeginAllowThreads();
8070 _result = (wxScrollBar *)new_wxPreScrollBar();
8071
8072 wxPyEndAllowThreads(__tstate);
8073 if (PyErr_Occurred()) return NULL;
8074 } if (_result) {
8075 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
8076 _resultobj = Py_BuildValue("s",_ptemp);
8077 } else {
8078 Py_INCREF(Py_None);
8079 _resultobj = Py_None;
8080 }
8081 return _resultobj;
8082 }
8083
8084 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8085 static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8086 PyObject * _resultobj;
8087 bool _result;
8088 wxScrollBar * _arg0;
8089 wxWindow * _arg1;
8090 wxWindowID _arg2 = (wxWindowID ) -1;
8091 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8092 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8093 long _arg5 = (long ) wxSB_HORIZONTAL;
8094 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
8095 wxString * _arg7 = (wxString *) &wxPyScrollBarNameStr;
8096 PyObject * _argo0 = 0;
8097 PyObject * _argo1 = 0;
8098 wxPoint temp;
8099 PyObject * _obj3 = 0;
8100 wxSize temp0;
8101 PyObject * _obj4 = 0;
8102 PyObject * _argo6 = 0;
8103 PyObject * _obj7 = 0;
8104 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
8105
8106 self = self;
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
8108 return NULL;
8109 if (_argo0) {
8110 if (_argo0 == Py_None) { _arg0 = NULL; }
8111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8113 return NULL;
8114 }
8115 }
8116 if (_argo1) {
8117 if (_argo1 == Py_None) { _arg1 = NULL; }
8118 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8119 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8120 return NULL;
8121 }
8122 }
8123 if (_obj3)
8124 {
8125 _arg3 = &temp;
8126 if (! wxPoint_helper(_obj3, &_arg3))
8127 return NULL;
8128 }
8129 if (_obj4)
8130 {
8131 _arg4 = &temp0;
8132 if (! wxSize_helper(_obj4, &_arg4))
8133 return NULL;
8134 }
8135 if (_argo6) {
8136 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8137 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8138 return NULL;
8139 }
8140 }
8141 if (_obj7)
8142 {
8143 _arg7 = wxString_in_helper(_obj7);
8144 if (_arg7 == NULL)
8145 return NULL;
8146 }
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
8150
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) return NULL;
8153 } _resultobj = Py_BuildValue("i",_result);
8154 {
8155 if (_obj7)
8156 delete _arg7;
8157 }
8158 return _resultobj;
8159 }
8160
8161 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8162 static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8163 PyObject * _resultobj;
8164 int _result;
8165 wxScrollBar * _arg0;
8166 PyObject * _argo0 = 0;
8167 char *_kwnames[] = { "self", NULL };
8168
8169 self = self;
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
8171 return NULL;
8172 if (_argo0) {
8173 if (_argo0 == Py_None) { _arg0 = NULL; }
8174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8176 return NULL;
8177 }
8178 }
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 _result = (int )wxScrollBar_GetRange(_arg0);
8182
8183 wxPyEndAllowThreads(__tstate);
8184 if (PyErr_Occurred()) return NULL;
8185 } _resultobj = Py_BuildValue("i",_result);
8186 return _resultobj;
8187 }
8188
8189 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8190 static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject * _resultobj;
8192 int _result;
8193 wxScrollBar * _arg0;
8194 PyObject * _argo0 = 0;
8195 char *_kwnames[] = { "self", NULL };
8196
8197 self = self;
8198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
8199 return NULL;
8200 if (_argo0) {
8201 if (_argo0 == Py_None) { _arg0 = NULL; }
8202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8204 return NULL;
8205 }
8206 }
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 _result = (int )wxScrollBar_GetPageSize(_arg0);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) return NULL;
8213 } _resultobj = Py_BuildValue("i",_result);
8214 return _resultobj;
8215 }
8216
8217 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8218 static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject * _resultobj;
8220 int _result;
8221 wxScrollBar * _arg0;
8222 PyObject * _argo0 = 0;
8223 char *_kwnames[] = { "self", NULL };
8224
8225 self = self;
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
8227 return NULL;
8228 if (_argo0) {
8229 if (_argo0 == Py_None) { _arg0 = NULL; }
8230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8232 return NULL;
8233 }
8234 }
8235 {
8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
8237 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
8238
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) return NULL;
8241 } _resultobj = Py_BuildValue("i",_result);
8242 return _resultobj;
8243 }
8244
8245 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8246 static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8247 PyObject * _resultobj;
8248 int _result;
8249 wxScrollBar * _arg0;
8250 PyObject * _argo0 = 0;
8251 char *_kwnames[] = { "self", NULL };
8252
8253 self = self;
8254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
8255 return NULL;
8256 if (_argo0) {
8257 if (_argo0 == Py_None) { _arg0 = NULL; }
8258 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8259 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8260 return NULL;
8261 }
8262 }
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 _result = (int )wxScrollBar_GetThumbSize(_arg0);
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) return NULL;
8269 } _resultobj = Py_BuildValue("i",_result);
8270 return _resultobj;
8271 }
8272
8273 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8274 static PyObject *_wrap_wxScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8275 PyObject * _resultobj;
8276 bool _result;
8277 wxScrollBar * _arg0;
8278 PyObject * _argo0 = 0;
8279 char *_kwnames[] = { "self", NULL };
8280
8281 self = self;
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_IsVertical",_kwnames,&_argo0))
8283 return NULL;
8284 if (_argo0) {
8285 if (_argo0 == Py_None) { _arg0 = NULL; }
8286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8288 return NULL;
8289 }
8290 }
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 _result = (bool )wxScrollBar_IsVertical(_arg0);
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) return NULL;
8297 } _resultobj = Py_BuildValue("i",_result);
8298 return _resultobj;
8299 }
8300
8301 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8302 static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject * _resultobj;
8304 wxScrollBar * _arg0;
8305 int _arg1;
8306 PyObject * _argo0 = 0;
8307 char *_kwnames[] = { "self","viewStart", NULL };
8308
8309 self = self;
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
8311 return NULL;
8312 if (_argo0) {
8313 if (_argo0 == Py_None) { _arg0 = NULL; }
8314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8316 return NULL;
8317 }
8318 }
8319 {
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
8321 wxScrollBar_SetThumbPosition(_arg0,_arg1);
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) return NULL;
8325 } Py_INCREF(Py_None);
8326 _resultobj = Py_None;
8327 return _resultobj;
8328 }
8329
8330 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8331 static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8332 PyObject * _resultobj;
8333 wxScrollBar * _arg0;
8334 int _arg1;
8335 int _arg2;
8336 int _arg3;
8337 int _arg4;
8338 bool _arg5 = (bool ) TRUE;
8339 PyObject * _argo0 = 0;
8340 int tempbool5 = (int) TRUE;
8341 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
8342
8343 self = self;
8344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
8345 return NULL;
8346 if (_argo0) {
8347 if (_argo0 == Py_None) { _arg0 = NULL; }
8348 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8349 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8350 return NULL;
8351 }
8352 }
8353 _arg5 = (bool ) tempbool5;
8354 {
8355 PyThreadState* __tstate = wxPyBeginAllowThreads();
8356 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8357
8358 wxPyEndAllowThreads(__tstate);
8359 if (PyErr_Occurred()) return NULL;
8360 } Py_INCREF(Py_None);
8361 _resultobj = Py_None;
8362 return _resultobj;
8363 }
8364
8365 static void *SwigwxSpinButtonTowxControl(void *ptr) {
8366 wxSpinButton *src;
8367 wxControl *dest;
8368 src = (wxSpinButton *) ptr;
8369 dest = (wxControl *) src;
8370 return (void *) dest;
8371 }
8372
8373 static void *SwigwxSpinButtonTowxWindow(void *ptr) {
8374 wxSpinButton *src;
8375 wxWindow *dest;
8376 src = (wxSpinButton *) ptr;
8377 dest = (wxWindow *) src;
8378 return (void *) dest;
8379 }
8380
8381 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
8382 wxSpinButton *src;
8383 wxEvtHandler *dest;
8384 src = (wxSpinButton *) ptr;
8385 dest = (wxEvtHandler *) src;
8386 return (void *) dest;
8387 }
8388
8389 static void *SwigwxSpinButtonTowxObject(void *ptr) {
8390 wxSpinButton *src;
8391 wxObject *dest;
8392 src = (wxSpinButton *) ptr;
8393 dest = (wxObject *) src;
8394 return (void *) dest;
8395 }
8396
8397 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8398 static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8399 PyObject * _resultobj;
8400 wxSpinButton * _result;
8401 wxWindow * _arg0;
8402 wxWindowID _arg1 = (wxWindowID ) -1;
8403 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8404 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
8405 long _arg4 = (long ) wxSP_HORIZONTAL;
8406 wxString * _arg5 = (wxString *) &wxPySPIN_BUTTON_NAME;
8407 PyObject * _argo0 = 0;
8408 wxPoint temp;
8409 PyObject * _obj2 = 0;
8410 wxSize temp0;
8411 PyObject * _obj3 = 0;
8412 PyObject * _obj5 = 0;
8413 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
8414 char _ptemp[128];
8415
8416 self = self;
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
8418 return NULL;
8419 if (_argo0) {
8420 if (_argo0 == Py_None) { _arg0 = NULL; }
8421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8423 return NULL;
8424 }
8425 }
8426 if (_obj2)
8427 {
8428 _arg2 = &temp;
8429 if (! wxPoint_helper(_obj2, &_arg2))
8430 return NULL;
8431 }
8432 if (_obj3)
8433 {
8434 _arg3 = &temp0;
8435 if (! wxSize_helper(_obj3, &_arg3))
8436 return NULL;
8437 }
8438 if (_obj5)
8439 {
8440 _arg5 = wxString_in_helper(_obj5);
8441 if (_arg5 == NULL)
8442 return NULL;
8443 }
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) return NULL;
8450 } if (_result) {
8451 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8452 _resultobj = Py_BuildValue("s",_ptemp);
8453 } else {
8454 Py_INCREF(Py_None);
8455 _resultobj = Py_None;
8456 }
8457 {
8458 if (_obj5)
8459 delete _arg5;
8460 }
8461 return _resultobj;
8462 }
8463
8464 #define new_wxPreSpinButton() (new wxSpinButton())
8465 static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8466 PyObject * _resultobj;
8467 wxSpinButton * _result;
8468 char *_kwnames[] = { NULL };
8469 char _ptemp[128];
8470
8471 self = self;
8472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
8473 return NULL;
8474 {
8475 PyThreadState* __tstate = wxPyBeginAllowThreads();
8476 _result = (wxSpinButton *)new_wxPreSpinButton();
8477
8478 wxPyEndAllowThreads(__tstate);
8479 if (PyErr_Occurred()) return NULL;
8480 } if (_result) {
8481 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
8482 _resultobj = Py_BuildValue("s",_ptemp);
8483 } else {
8484 Py_INCREF(Py_None);
8485 _resultobj = Py_None;
8486 }
8487 return _resultobj;
8488 }
8489
8490 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8491 static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8492 PyObject * _resultobj;
8493 bool _result;
8494 wxSpinButton * _arg0;
8495 wxWindow * _arg1;
8496 wxWindowID _arg2 = (wxWindowID ) -1;
8497 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8498 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8499 long _arg5 = (long ) wxSP_HORIZONTAL;
8500 wxString * _arg6 = (wxString *) &wxPySPIN_BUTTON_NAME;
8501 PyObject * _argo0 = 0;
8502 PyObject * _argo1 = 0;
8503 wxPoint temp;
8504 PyObject * _obj3 = 0;
8505 wxSize temp0;
8506 PyObject * _obj4 = 0;
8507 PyObject * _obj6 = 0;
8508 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
8509
8510 self = self;
8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
8512 return NULL;
8513 if (_argo0) {
8514 if (_argo0 == Py_None) { _arg0 = NULL; }
8515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8517 return NULL;
8518 }
8519 }
8520 if (_argo1) {
8521 if (_argo1 == Py_None) { _arg1 = NULL; }
8522 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8523 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8524 return NULL;
8525 }
8526 }
8527 if (_obj3)
8528 {
8529 _arg3 = &temp;
8530 if (! wxPoint_helper(_obj3, &_arg3))
8531 return NULL;
8532 }
8533 if (_obj4)
8534 {
8535 _arg4 = &temp0;
8536 if (! wxSize_helper(_obj4, &_arg4))
8537 return NULL;
8538 }
8539 if (_obj6)
8540 {
8541 _arg6 = wxString_in_helper(_obj6);
8542 if (_arg6 == NULL)
8543 return NULL;
8544 }
8545 {
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
8548
8549 wxPyEndAllowThreads(__tstate);
8550 if (PyErr_Occurred()) return NULL;
8551 } _resultobj = Py_BuildValue("i",_result);
8552 {
8553 if (_obj6)
8554 delete _arg6;
8555 }
8556 return _resultobj;
8557 }
8558
8559 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8560 static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8561 PyObject * _resultobj;
8562 int _result;
8563 wxSpinButton * _arg0;
8564 PyObject * _argo0 = 0;
8565 char *_kwnames[] = { "self", NULL };
8566
8567 self = self;
8568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
8569 return NULL;
8570 if (_argo0) {
8571 if (_argo0 == Py_None) { _arg0 = NULL; }
8572 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8573 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8574 return NULL;
8575 }
8576 }
8577 {
8578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8579 _result = (int )wxSpinButton_GetMax(_arg0);
8580
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) return NULL;
8583 } _resultobj = Py_BuildValue("i",_result);
8584 return _resultobj;
8585 }
8586
8587 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8588 static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8589 PyObject * _resultobj;
8590 int _result;
8591 wxSpinButton * _arg0;
8592 PyObject * _argo0 = 0;
8593 char *_kwnames[] = { "self", NULL };
8594
8595 self = self;
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
8597 return NULL;
8598 if (_argo0) {
8599 if (_argo0 == Py_None) { _arg0 = NULL; }
8600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8602 return NULL;
8603 }
8604 }
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 _result = (int )wxSpinButton_GetMin(_arg0);
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) return NULL;
8611 } _resultobj = Py_BuildValue("i",_result);
8612 return _resultobj;
8613 }
8614
8615 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8616 static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8617 PyObject * _resultobj;
8618 int _result;
8619 wxSpinButton * _arg0;
8620 PyObject * _argo0 = 0;
8621 char *_kwnames[] = { "self", NULL };
8622
8623 self = self;
8624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
8625 return NULL;
8626 if (_argo0) {
8627 if (_argo0 == Py_None) { _arg0 = NULL; }
8628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8630 return NULL;
8631 }
8632 }
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 _result = (int )wxSpinButton_GetValue(_arg0);
8636
8637 wxPyEndAllowThreads(__tstate);
8638 if (PyErr_Occurred()) return NULL;
8639 } _resultobj = Py_BuildValue("i",_result);
8640 return _resultobj;
8641 }
8642
8643 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8644 static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8645 PyObject * _resultobj;
8646 wxSpinButton * _arg0;
8647 int _arg1;
8648 int _arg2;
8649 PyObject * _argo0 = 0;
8650 char *_kwnames[] = { "self","min","max", NULL };
8651
8652 self = self;
8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
8654 return NULL;
8655 if (_argo0) {
8656 if (_argo0 == Py_None) { _arg0 = NULL; }
8657 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8658 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8659 return NULL;
8660 }
8661 }
8662 {
8663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8664 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
8665
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) return NULL;
8668 } Py_INCREF(Py_None);
8669 _resultobj = Py_None;
8670 return _resultobj;
8671 }
8672
8673 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8674 static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8675 PyObject * _resultobj;
8676 wxSpinButton * _arg0;
8677 int _arg1;
8678 PyObject * _argo0 = 0;
8679 char *_kwnames[] = { "self","value", NULL };
8680
8681 self = self;
8682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
8683 return NULL;
8684 if (_argo0) {
8685 if (_argo0 == Py_None) { _arg0 = NULL; }
8686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
8687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8688 return NULL;
8689 }
8690 }
8691 {
8692 PyThreadState* __tstate = wxPyBeginAllowThreads();
8693 wxSpinButton_SetValue(_arg0,_arg1);
8694
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) return NULL;
8697 } Py_INCREF(Py_None);
8698 _resultobj = Py_None;
8699 return _resultobj;
8700 }
8701
8702 static void *SwigwxStaticBitmapTowxControl(void *ptr) {
8703 wxStaticBitmap *src;
8704 wxControl *dest;
8705 src = (wxStaticBitmap *) ptr;
8706 dest = (wxControl *) src;
8707 return (void *) dest;
8708 }
8709
8710 static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
8711 wxStaticBitmap *src;
8712 wxWindow *dest;
8713 src = (wxStaticBitmap *) ptr;
8714 dest = (wxWindow *) src;
8715 return (void *) dest;
8716 }
8717
8718 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
8719 wxStaticBitmap *src;
8720 wxEvtHandler *dest;
8721 src = (wxStaticBitmap *) ptr;
8722 dest = (wxEvtHandler *) src;
8723 return (void *) dest;
8724 }
8725
8726 static void *SwigwxStaticBitmapTowxObject(void *ptr) {
8727 wxStaticBitmap *src;
8728 wxObject *dest;
8729 src = (wxStaticBitmap *) ptr;
8730 dest = (wxObject *) src;
8731 return (void *) dest;
8732 }
8733
8734 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8735 static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8736 PyObject * _resultobj;
8737 wxStaticBitmap * _result;
8738 wxWindow * _arg0;
8739 wxWindowID _arg1;
8740 wxBitmap * _arg2;
8741 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8742 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8743 long _arg5 = (long ) 0;
8744 wxString * _arg6 = (wxString *) &wxPyStaticBitmapNameStr;
8745 PyObject * _argo0 = 0;
8746 PyObject * _argo2 = 0;
8747 wxPoint temp;
8748 PyObject * _obj3 = 0;
8749 wxSize temp0;
8750 PyObject * _obj4 = 0;
8751 PyObject * _obj6 = 0;
8752 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
8753 char _ptemp[128];
8754
8755 self = self;
8756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_obj6))
8757 return NULL;
8758 if (_argo0) {
8759 if (_argo0 == Py_None) { _arg0 = NULL; }
8760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8762 return NULL;
8763 }
8764 }
8765 if (_argo2) {
8766 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
8767 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8768 return NULL;
8769 }
8770 }
8771 if (_obj3)
8772 {
8773 _arg3 = &temp;
8774 if (! wxPoint_helper(_obj3, &_arg3))
8775 return NULL;
8776 }
8777 if (_obj4)
8778 {
8779 _arg4 = &temp0;
8780 if (! wxSize_helper(_obj4, &_arg4))
8781 return NULL;
8782 }
8783 if (_obj6)
8784 {
8785 _arg6 = wxString_in_helper(_obj6);
8786 if (_arg6 == NULL)
8787 return NULL;
8788 }
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) return NULL;
8795 } if (_result) {
8796 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8797 _resultobj = Py_BuildValue("s",_ptemp);
8798 } else {
8799 Py_INCREF(Py_None);
8800 _resultobj = Py_None;
8801 }
8802 {
8803 if (_obj6)
8804 delete _arg6;
8805 }
8806 return _resultobj;
8807 }
8808
8809 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8810 static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject * _resultobj;
8812 wxStaticBitmap * _result;
8813 char *_kwnames[] = { NULL };
8814 char _ptemp[128];
8815
8816 self = self;
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
8818 return NULL;
8819 {
8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
8821 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
8822
8823 wxPyEndAllowThreads(__tstate);
8824 if (PyErr_Occurred()) return NULL;
8825 } if (_result) {
8826 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
8827 _resultobj = Py_BuildValue("s",_ptemp);
8828 } else {
8829 Py_INCREF(Py_None);
8830 _resultobj = Py_None;
8831 }
8832 return _resultobj;
8833 }
8834
8835 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8836 static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8837 PyObject * _resultobj;
8838 bool _result;
8839 wxStaticBitmap * _arg0;
8840 wxWindow * _arg1;
8841 wxWindowID _arg2;
8842 wxBitmap * _arg3;
8843 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
8844 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
8845 long _arg6 = (long ) 0;
8846 wxString * _arg7 = (wxString *) &wxPyStaticBitmapNameStr;
8847 PyObject * _argo0 = 0;
8848 PyObject * _argo1 = 0;
8849 PyObject * _argo3 = 0;
8850 wxPoint temp;
8851 PyObject * _obj4 = 0;
8852 wxSize temp0;
8853 PyObject * _obj5 = 0;
8854 PyObject * _obj7 = 0;
8855 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
8856
8857 self = self;
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_obj7))
8859 return NULL;
8860 if (_argo0) {
8861 if (_argo0 == Py_None) { _arg0 = NULL; }
8862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8864 return NULL;
8865 }
8866 }
8867 if (_argo1) {
8868 if (_argo1 == Py_None) { _arg1 = NULL; }
8869 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8870 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8871 return NULL;
8872 }
8873 }
8874 if (_argo3) {
8875 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
8876 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8877 return NULL;
8878 }
8879 }
8880 if (_obj4)
8881 {
8882 _arg4 = &temp;
8883 if (! wxPoint_helper(_obj4, &_arg4))
8884 return NULL;
8885 }
8886 if (_obj5)
8887 {
8888 _arg5 = &temp0;
8889 if (! wxSize_helper(_obj5, &_arg5))
8890 return NULL;
8891 }
8892 if (_obj7)
8893 {
8894 _arg7 = wxString_in_helper(_obj7);
8895 if (_arg7 == NULL)
8896 return NULL;
8897 }
8898 {
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
8901
8902 wxPyEndAllowThreads(__tstate);
8903 if (PyErr_Occurred()) return NULL;
8904 } _resultobj = Py_BuildValue("i",_result);
8905 {
8906 if (_obj7)
8907 delete _arg7;
8908 }
8909 return _resultobj;
8910 }
8911
8912 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8913 static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8914 PyObject * _resultobj;
8915 wxBitmap * _result;
8916 wxStaticBitmap * _arg0;
8917 PyObject * _argo0 = 0;
8918 char *_kwnames[] = { "self", NULL };
8919 char _ptemp[128];
8920
8921 self = self;
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
8923 return NULL;
8924 if (_argo0) {
8925 if (_argo0 == Py_None) { _arg0 = NULL; }
8926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8928 return NULL;
8929 }
8930 }
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 _result = new wxBitmap (wxStaticBitmap_GetBitmap(_arg0));
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) return NULL;
8937 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
8938 _resultobj = Py_BuildValue("s",_ptemp);
8939 return _resultobj;
8940 }
8941
8942 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8943 static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8944 PyObject * _resultobj;
8945 wxStaticBitmap * _arg0;
8946 wxBitmap * _arg1;
8947 PyObject * _argo0 = 0;
8948 PyObject * _argo1 = 0;
8949 char *_kwnames[] = { "self","bitmap", NULL };
8950
8951 self = self;
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
8953 return NULL;
8954 if (_argo0) {
8955 if (_argo0 == Py_None) { _arg0 = NULL; }
8956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8958 return NULL;
8959 }
8960 }
8961 if (_argo1) {
8962 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
8963 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8964 return NULL;
8965 }
8966 }
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
8970
8971 wxPyEndAllowThreads(__tstate);
8972 if (PyErr_Occurred()) return NULL;
8973 } Py_INCREF(Py_None);
8974 _resultobj = Py_None;
8975 return _resultobj;
8976 }
8977
8978 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8979 static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
8980 PyObject * _resultobj;
8981 wxStaticBitmap * _arg0;
8982 wxIcon * _arg1;
8983 PyObject * _argo0 = 0;
8984 PyObject * _argo1 = 0;
8985 char *_kwnames[] = { "self","icon", NULL };
8986
8987 self = self;
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
8989 return NULL;
8990 if (_argo0) {
8991 if (_argo0 == Py_None) { _arg0 = NULL; }
8992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
8993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8994 return NULL;
8995 }
8996 }
8997 if (_argo1) {
8998 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
8999 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
9000 return NULL;
9001 }
9002 }
9003 {
9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
9005 wxStaticBitmap_SetIcon(_arg0,*_arg1);
9006
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) return NULL;
9009 } Py_INCREF(Py_None);
9010 _resultobj = Py_None;
9011 return _resultobj;
9012 }
9013
9014 static void *SwigwxRadioBoxTowxControl(void *ptr) {
9015 wxRadioBox *src;
9016 wxControl *dest;
9017 src = (wxRadioBox *) ptr;
9018 dest = (wxControl *) src;
9019 return (void *) dest;
9020 }
9021
9022 static void *SwigwxRadioBoxTowxWindow(void *ptr) {
9023 wxRadioBox *src;
9024 wxWindow *dest;
9025 src = (wxRadioBox *) ptr;
9026 dest = (wxWindow *) src;
9027 return (void *) dest;
9028 }
9029
9030 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
9031 wxRadioBox *src;
9032 wxEvtHandler *dest;
9033 src = (wxRadioBox *) ptr;
9034 dest = (wxEvtHandler *) src;
9035 return (void *) dest;
9036 }
9037
9038 static void *SwigwxRadioBoxTowxObject(void *ptr) {
9039 wxRadioBox *src;
9040 wxObject *dest;
9041 src = (wxRadioBox *) ptr;
9042 dest = (wxObject *) src;
9043 return (void *) dest;
9044 }
9045
9046 #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))
9047 static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject * _resultobj;
9049 wxRadioBox * _result;
9050 wxWindow * _arg0;
9051 wxWindowID _arg1;
9052 wxString * _arg2;
9053 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9054 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9055 int _arg5 = (int ) 0;
9056 wxString * _arg6 = (wxString *) NULL;
9057 int _arg7 = (int ) 0;
9058 long _arg8 = (long ) wxRA_HORIZONTAL;
9059 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9060 wxString * _arg10 = (wxString *) &wxPyRadioBoxNameStr;
9061 PyObject * _argo0 = 0;
9062 PyObject * _obj2 = 0;
9063 wxPoint temp;
9064 PyObject * _obj3 = 0;
9065 wxSize temp0;
9066 PyObject * _obj4 = 0;
9067 PyObject * _obj6 = 0;
9068 PyObject * _argo9 = 0;
9069 PyObject * _obj10 = 0;
9070 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
9071 char _ptemp[128];
9072
9073 self = self;
9074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOO:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_obj10))
9075 return NULL;
9076 if (_argo0) {
9077 if (_argo0 == Py_None) { _arg0 = NULL; }
9078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9080 return NULL;
9081 }
9082 }
9083 {
9084 _arg2 = wxString_in_helper(_obj2);
9085 if (_arg2 == NULL)
9086 return NULL;
9087 }
9088 if (_obj3)
9089 {
9090 _arg3 = &temp;
9091 if (! wxPoint_helper(_obj3, &_arg3))
9092 return NULL;
9093 }
9094 if (_obj4)
9095 {
9096 _arg4 = &temp0;
9097 if (! wxSize_helper(_obj4, &_arg4))
9098 return NULL;
9099 }
9100 if (_obj6)
9101 {
9102 _arg6 = wxString_LIST_helper(_obj6);
9103 if (_arg6 == NULL) {
9104 return NULL;
9105 }
9106 }
9107 if (_argo9) {
9108 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
9109 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9110 return NULL;
9111 }
9112 }
9113 if (_obj10)
9114 {
9115 _arg10 = wxString_in_helper(_obj10);
9116 if (_arg10 == NULL)
9117 return NULL;
9118 }
9119 {
9120 if (_obj6) {
9121 _arg5 = PyList_Size(_obj6);
9122 }
9123 else {
9124 _arg5 = 0;
9125 }
9126 }
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) return NULL;
9133 } if (_result) {
9134 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9135 _resultobj = Py_BuildValue("s",_ptemp);
9136 } else {
9137 Py_INCREF(Py_None);
9138 _resultobj = Py_None;
9139 }
9140 {
9141 if (_obj2)
9142 delete _arg2;
9143 }
9144 {
9145 delete [] _arg6;
9146 }
9147 {
9148 if (_obj10)
9149 delete _arg10;
9150 }
9151 return _resultobj;
9152 }
9153
9154 #define new_wxPreRadioBox() (new wxRadioBox())
9155 static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9156 PyObject * _resultobj;
9157 wxRadioBox * _result;
9158 char *_kwnames[] = { NULL };
9159 char _ptemp[128];
9160
9161 self = self;
9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
9163 return NULL;
9164 {
9165 PyThreadState* __tstate = wxPyBeginAllowThreads();
9166 _result = (wxRadioBox *)new_wxPreRadioBox();
9167
9168 wxPyEndAllowThreads(__tstate);
9169 if (PyErr_Occurred()) return NULL;
9170 } if (_result) {
9171 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9172 _resultobj = Py_BuildValue("s",_ptemp);
9173 } else {
9174 Py_INCREF(Py_None);
9175 _resultobj = Py_None;
9176 }
9177 return _resultobj;
9178 }
9179
9180 #define wxRadioBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9,_swigarg10))
9181 static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject * _resultobj;
9183 bool _result;
9184 wxRadioBox * _arg0;
9185 wxWindow * _arg1;
9186 wxWindowID _arg2;
9187 wxString * _arg3;
9188 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9189 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9190 int _arg6 = (int ) 0;
9191 wxString * _arg7 = (wxString *) NULL;
9192 int _arg8 = (int ) 0;
9193 long _arg9 = (long ) wxRA_HORIZONTAL;
9194 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
9195 wxString * _arg11 = (wxString *) &wxPyRadioBoxNameStr;
9196 PyObject * _argo0 = 0;
9197 PyObject * _argo1 = 0;
9198 PyObject * _obj3 = 0;
9199 wxPoint temp;
9200 PyObject * _obj4 = 0;
9201 wxSize temp0;
9202 PyObject * _obj5 = 0;
9203 PyObject * _obj7 = 0;
9204 PyObject * _argo10 = 0;
9205 PyObject * _obj11 = 0;
9206 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
9207
9208 self = self;
9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_obj11))
9210 return NULL;
9211 if (_argo0) {
9212 if (_argo0 == Py_None) { _arg0 = NULL; }
9213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9215 return NULL;
9216 }
9217 }
9218 if (_argo1) {
9219 if (_argo1 == Py_None) { _arg1 = NULL; }
9220 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9221 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9222 return NULL;
9223 }
9224 }
9225 {
9226 _arg3 = wxString_in_helper(_obj3);
9227 if (_arg3 == NULL)
9228 return NULL;
9229 }
9230 if (_obj4)
9231 {
9232 _arg4 = &temp;
9233 if (! wxPoint_helper(_obj4, &_arg4))
9234 return NULL;
9235 }
9236 if (_obj5)
9237 {
9238 _arg5 = &temp0;
9239 if (! wxSize_helper(_obj5, &_arg5))
9240 return NULL;
9241 }
9242 if (_obj7)
9243 {
9244 _arg7 = wxString_LIST_helper(_obj7);
9245 if (_arg7 == NULL) {
9246 return NULL;
9247 }
9248 }
9249 if (_argo10) {
9250 if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
9251 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9252 return NULL;
9253 }
9254 }
9255 if (_obj11)
9256 {
9257 _arg11 = wxString_in_helper(_obj11);
9258 if (_arg11 == NULL)
9259 return NULL;
9260 }
9261 {
9262 if (_obj7) {
9263 _arg6 = PyList_Size(_obj7);
9264 }
9265 else {
9266 _arg6 = 0;
9267 }
9268 }
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
9271 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,*_arg11);
9272
9273 wxPyEndAllowThreads(__tstate);
9274 if (PyErr_Occurred()) return NULL;
9275 } _resultobj = Py_BuildValue("i",_result);
9276 {
9277 if (_obj3)
9278 delete _arg3;
9279 }
9280 {
9281 delete [] _arg7;
9282 }
9283 {
9284 if (_obj11)
9285 delete _arg11;
9286 }
9287 return _resultobj;
9288 }
9289
9290 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9291 static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
9292 PyObject * _resultobj;
9293 wxRadioBox * _arg0;
9294 bool _arg1;
9295 PyObject * _argo0 = 0;
9296 int tempbool1;
9297 char *_kwnames[] = { "self","enable", NULL };
9298
9299 self = self;
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
9301 return NULL;
9302 if (_argo0) {
9303 if (_argo0 == Py_None) { _arg0 = NULL; }
9304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9306 return NULL;
9307 }
9308 }
9309 _arg1 = (bool ) tempbool1;
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 wxRadioBox_Enable(_arg0,_arg1);
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) return NULL;
9316 } Py_INCREF(Py_None);
9317 _resultobj = Py_None;
9318 return _resultobj;
9319 }
9320
9321 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9322 static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9323 PyObject * _resultobj;
9324 wxRadioBox * _arg0;
9325 int _arg1;
9326 bool _arg2;
9327 PyObject * _argo0 = 0;
9328 int tempbool2;
9329 char *_kwnames[] = { "self","n","enable", NULL };
9330
9331 self = self;
9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
9333 return NULL;
9334 if (_argo0) {
9335 if (_argo0 == Py_None) { _arg0 = NULL; }
9336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9338 return NULL;
9339 }
9340 }
9341 _arg2 = (bool ) tempbool2;
9342 {
9343 PyThreadState* __tstate = wxPyBeginAllowThreads();
9344 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
9345
9346 wxPyEndAllowThreads(__tstate);
9347 if (PyErr_Occurred()) return NULL;
9348 } Py_INCREF(Py_None);
9349 _resultobj = Py_None;
9350 return _resultobj;
9351 }
9352
9353 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9354 static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9355 PyObject * _resultobj;
9356 int _result;
9357 wxRadioBox * _arg0;
9358 wxString * _arg1;
9359 PyObject * _argo0 = 0;
9360 PyObject * _obj1 = 0;
9361 char *_kwnames[] = { "self","string", NULL };
9362
9363 self = self;
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
9365 return NULL;
9366 if (_argo0) {
9367 if (_argo0 == Py_None) { _arg0 = NULL; }
9368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9370 return NULL;
9371 }
9372 }
9373 {
9374 _arg1 = wxString_in_helper(_obj1);
9375 if (_arg1 == NULL)
9376 return NULL;
9377 }
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) return NULL;
9384 } _resultobj = Py_BuildValue("i",_result);
9385 {
9386 if (_obj1)
9387 delete _arg1;
9388 }
9389 return _resultobj;
9390 }
9391
9392 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9393 static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9394 PyObject * _resultobj;
9395 wxString * _result;
9396 wxRadioBox * _arg0;
9397 int _arg1;
9398 PyObject * _argo0 = 0;
9399 char *_kwnames[] = { "self","n", NULL };
9400
9401 self = self;
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
9403 return NULL;
9404 if (_argo0) {
9405 if (_argo0 == Py_None) { _arg0 = NULL; }
9406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9408 return NULL;
9409 }
9410 }
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) return NULL;
9417 }{
9418 #if wxUSE_UNICODE
9419 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9420 #else
9421 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9422 #endif
9423 }
9424 {
9425 delete _result;
9426 }
9427 return _resultobj;
9428 }
9429
9430 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9431 static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9432 PyObject * _resultobj;
9433 wxRadioBox * _arg0;
9434 int _arg1;
9435 wxString * _arg2;
9436 PyObject * _argo0 = 0;
9437 PyObject * _obj2 = 0;
9438 char *_kwnames[] = { "self","n","label", NULL };
9439
9440 self = self;
9441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
9442 return NULL;
9443 if (_argo0) {
9444 if (_argo0 == Py_None) { _arg0 = NULL; }
9445 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9446 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9447 return NULL;
9448 }
9449 }
9450 {
9451 _arg2 = wxString_in_helper(_obj2);
9452 if (_arg2 == NULL)
9453 return NULL;
9454 }
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 wxRadioBox_SetString(_arg0,_arg1,*_arg2);
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) return NULL;
9461 } Py_INCREF(Py_None);
9462 _resultobj = Py_None;
9463 {
9464 if (_obj2)
9465 delete _arg2;
9466 }
9467 return _resultobj;
9468 }
9469
9470 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9471 static PyObject *_wrap_wxRadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9472 PyObject * _resultobj;
9473 int _result;
9474 wxRadioBox * _arg0;
9475 PyObject * _argo0 = 0;
9476 char *_kwnames[] = { "self", NULL };
9477
9478 self = self;
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetColumnCount",_kwnames,&_argo0))
9480 return NULL;
9481 if (_argo0) {
9482 if (_argo0 == Py_None) { _arg0 = NULL; }
9483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9485 return NULL;
9486 }
9487 }
9488 {
9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
9490 _result = (int )wxRadioBox_GetColumnCount(_arg0);
9491
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) return NULL;
9494 } _resultobj = Py_BuildValue("i",_result);
9495 return _resultobj;
9496 }
9497
9498 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9499 static PyObject *_wrap_wxRadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9500 PyObject * _resultobj;
9501 int _result;
9502 wxRadioBox * _arg0;
9503 PyObject * _argo0 = 0;
9504 char *_kwnames[] = { "self", NULL };
9505
9506 self = self;
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetRowCount",_kwnames,&_argo0))
9508 return NULL;
9509 if (_argo0) {
9510 if (_argo0 == Py_None) { _arg0 = NULL; }
9511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9513 return NULL;
9514 }
9515 }
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 _result = (int )wxRadioBox_GetRowCount(_arg0);
9519
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) return NULL;
9522 } _resultobj = Py_BuildValue("i",_result);
9523 return _resultobj;
9524 }
9525
9526 #define wxRadioBox_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
9527 static PyObject *_wrap_wxRadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9528 PyObject * _resultobj;
9529 int _result;
9530 wxRadioBox * _arg0;
9531 int _arg1;
9532 wxDirection * _arg2;
9533 long _arg3;
9534 PyObject * _argo0 = 0;
9535 PyObject * _argo2 = 0;
9536 char *_kwnames[] = { "self","item","dir","style", NULL };
9537
9538 self = self;
9539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOl:wxRadioBox_GetNextItem",_kwnames,&_argo0,&_arg1,&_argo2,&_arg3))
9540 return NULL;
9541 if (_argo0) {
9542 if (_argo0 == Py_None) { _arg0 = NULL; }
9543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetNextItem. Expected _wxRadioBox_p.");
9545 return NULL;
9546 }
9547 }
9548 if (_argo2) {
9549 if (_argo2 == Py_None) { _arg2 = NULL; }
9550 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDirection_p")) {
9551 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxRadioBox_GetNextItem. Expected _wxDirection_p.");
9552 return NULL;
9553 }
9554 }
9555 {
9556 PyThreadState* __tstate = wxPyBeginAllowThreads();
9557 _result = (int )wxRadioBox_GetNextItem(_arg0,_arg1,*_arg2,_arg3);
9558
9559 wxPyEndAllowThreads(__tstate);
9560 if (PyErr_Occurred()) return NULL;
9561 } _resultobj = Py_BuildValue("i",_result);
9562 return _resultobj;
9563 }
9564
9565 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9566 static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9567 PyObject * _resultobj;
9568 int _result;
9569 wxRadioBox * _arg0;
9570 PyObject * _argo0 = 0;
9571 char *_kwnames[] = { "self", NULL };
9572
9573 self = self;
9574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
9575 return NULL;
9576 if (_argo0) {
9577 if (_argo0 == Py_None) { _arg0 = NULL; }
9578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9580 return NULL;
9581 }
9582 }
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 _result = (int )wxRadioBox_GetSelection(_arg0);
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) return NULL;
9589 } _resultobj = Py_BuildValue("i",_result);
9590 return _resultobj;
9591 }
9592
9593 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9594 static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject * _resultobj;
9596 wxString * _result;
9597 wxRadioBox * _arg0;
9598 PyObject * _argo0 = 0;
9599 char *_kwnames[] = { "self", NULL };
9600
9601 self = self;
9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
9603 return NULL;
9604 if (_argo0) {
9605 if (_argo0 == Py_None) { _arg0 = NULL; }
9606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9608 return NULL;
9609 }
9610 }
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) return NULL;
9617 }{
9618 #if wxUSE_UNICODE
9619 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
9620 #else
9621 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9622 #endif
9623 }
9624 {
9625 delete _result;
9626 }
9627 return _resultobj;
9628 }
9629
9630 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9631 static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9632 PyObject * _resultobj;
9633 int _result;
9634 wxRadioBox * _arg0;
9635 PyObject * _argo0 = 0;
9636 char *_kwnames[] = { "self", NULL };
9637
9638 self = self;
9639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
9640 return NULL;
9641 if (_argo0) {
9642 if (_argo0 == Py_None) { _arg0 = NULL; }
9643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9645 return NULL;
9646 }
9647 }
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 _result = (int )wxRadioBox_GetCount(_arg0);
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) return NULL;
9654 } _resultobj = Py_BuildValue("i",_result);
9655 return _resultobj;
9656 }
9657
9658 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9659 static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9660 PyObject * _resultobj;
9661 wxRadioBox * _arg0;
9662 int _arg1;
9663 PyObject * _argo0 = 0;
9664 char *_kwnames[] = { "self","n", NULL };
9665
9666 self = self;
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
9668 return NULL;
9669 if (_argo0) {
9670 if (_argo0 == Py_None) { _arg0 = NULL; }
9671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9673 return NULL;
9674 }
9675 }
9676 {
9677 PyThreadState* __tstate = wxPyBeginAllowThreads();
9678 wxRadioBox_SetSelection(_arg0,_arg1);
9679
9680 wxPyEndAllowThreads(__tstate);
9681 if (PyErr_Occurred()) return NULL;
9682 } Py_INCREF(Py_None);
9683 _resultobj = Py_None;
9684 return _resultobj;
9685 }
9686
9687 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9688 static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9689 PyObject * _resultobj;
9690 wxRadioBox * _arg0;
9691 wxString * _arg1;
9692 PyObject * _argo0 = 0;
9693 PyObject * _obj1 = 0;
9694 char *_kwnames[] = { "self","string", NULL };
9695
9696 self = self;
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
9698 return NULL;
9699 if (_argo0) {
9700 if (_argo0 == Py_None) { _arg0 = NULL; }
9701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9703 return NULL;
9704 }
9705 }
9706 {
9707 _arg1 = wxString_in_helper(_obj1);
9708 if (_arg1 == NULL)
9709 return NULL;
9710 }
9711 {
9712 PyThreadState* __tstate = wxPyBeginAllowThreads();
9713 wxRadioBox_SetStringSelection(_arg0,*_arg1);
9714
9715 wxPyEndAllowThreads(__tstate);
9716 if (PyErr_Occurred()) return NULL;
9717 } Py_INCREF(Py_None);
9718 _resultobj = Py_None;
9719 {
9720 if (_obj1)
9721 delete _arg1;
9722 }
9723 return _resultobj;
9724 }
9725
9726 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9727 static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject * _resultobj;
9729 wxRadioBox * _arg0;
9730 bool _arg1;
9731 PyObject * _argo0 = 0;
9732 int tempbool1;
9733 char *_kwnames[] = { "self","show", NULL };
9734
9735 self = self;
9736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
9737 return NULL;
9738 if (_argo0) {
9739 if (_argo0 == Py_None) { _arg0 = NULL; }
9740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9742 return NULL;
9743 }
9744 }
9745 _arg1 = (bool ) tempbool1;
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 wxRadioBox_Show(_arg0,_arg1);
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) return NULL;
9752 } Py_INCREF(Py_None);
9753 _resultobj = Py_None;
9754 return _resultobj;
9755 }
9756
9757 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9758 static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9759 PyObject * _resultobj;
9760 wxRadioBox * _arg0;
9761 int _arg1;
9762 bool _arg2;
9763 PyObject * _argo0 = 0;
9764 int tempbool2;
9765 char *_kwnames[] = { "self","item","show", NULL };
9766
9767 self = self;
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
9769 return NULL;
9770 if (_argo0) {
9771 if (_argo0 == Py_None) { _arg0 = NULL; }
9772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
9773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9774 return NULL;
9775 }
9776 }
9777 _arg2 = (bool ) tempbool2;
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) return NULL;
9784 } Py_INCREF(Py_None);
9785 _resultobj = Py_None;
9786 return _resultobj;
9787 }
9788
9789 static void *SwigwxRadioButtonTowxControl(void *ptr) {
9790 wxRadioButton *src;
9791 wxControl *dest;
9792 src = (wxRadioButton *) ptr;
9793 dest = (wxControl *) src;
9794 return (void *) dest;
9795 }
9796
9797 static void *SwigwxRadioButtonTowxWindow(void *ptr) {
9798 wxRadioButton *src;
9799 wxWindow *dest;
9800 src = (wxRadioButton *) ptr;
9801 dest = (wxWindow *) src;
9802 return (void *) dest;
9803 }
9804
9805 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
9806 wxRadioButton *src;
9807 wxEvtHandler *dest;
9808 src = (wxRadioButton *) ptr;
9809 dest = (wxEvtHandler *) src;
9810 return (void *) dest;
9811 }
9812
9813 static void *SwigwxRadioButtonTowxObject(void *ptr) {
9814 wxRadioButton *src;
9815 wxObject *dest;
9816 src = (wxRadioButton *) ptr;
9817 dest = (wxObject *) src;
9818 return (void *) dest;
9819 }
9820
9821 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9822 static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9823 PyObject * _resultobj;
9824 wxRadioButton * _result;
9825 wxWindow * _arg0;
9826 wxWindowID _arg1;
9827 wxString * _arg2;
9828 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9829 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9830 long _arg5 = (long ) 0;
9831 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
9832 wxString * _arg7 = (wxString *) &wxPyRadioButtonNameStr;
9833 PyObject * _argo0 = 0;
9834 PyObject * _obj2 = 0;
9835 wxPoint temp;
9836 PyObject * _obj3 = 0;
9837 wxSize temp0;
9838 PyObject * _obj4 = 0;
9839 PyObject * _argo6 = 0;
9840 PyObject * _obj7 = 0;
9841 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
9842 char _ptemp[128];
9843
9844 self = self;
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
9846 return NULL;
9847 if (_argo0) {
9848 if (_argo0 == Py_None) { _arg0 = NULL; }
9849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9851 return NULL;
9852 }
9853 }
9854 {
9855 _arg2 = wxString_in_helper(_obj2);
9856 if (_arg2 == NULL)
9857 return NULL;
9858 }
9859 if (_obj3)
9860 {
9861 _arg3 = &temp;
9862 if (! wxPoint_helper(_obj3, &_arg3))
9863 return NULL;
9864 }
9865 if (_obj4)
9866 {
9867 _arg4 = &temp0;
9868 if (! wxSize_helper(_obj4, &_arg4))
9869 return NULL;
9870 }
9871 if (_argo6) {
9872 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
9873 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9874 return NULL;
9875 }
9876 }
9877 if (_obj7)
9878 {
9879 _arg7 = wxString_in_helper(_obj7);
9880 if (_arg7 == NULL)
9881 return NULL;
9882 }
9883 {
9884 PyThreadState* __tstate = wxPyBeginAllowThreads();
9885 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
9886
9887 wxPyEndAllowThreads(__tstate);
9888 if (PyErr_Occurred()) return NULL;
9889 } if (_result) {
9890 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9891 _resultobj = Py_BuildValue("s",_ptemp);
9892 } else {
9893 Py_INCREF(Py_None);
9894 _resultobj = Py_None;
9895 }
9896 {
9897 if (_obj2)
9898 delete _arg2;
9899 }
9900 {
9901 if (_obj7)
9902 delete _arg7;
9903 }
9904 return _resultobj;
9905 }
9906
9907 #define new_wxPreRadioButton() (new wxRadioButton())
9908 static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9909 PyObject * _resultobj;
9910 wxRadioButton * _result;
9911 char *_kwnames[] = { NULL };
9912 char _ptemp[128];
9913
9914 self = self;
9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
9916 return NULL;
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 _result = (wxRadioButton *)new_wxPreRadioButton();
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) return NULL;
9923 } if (_result) {
9924 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
9925 _resultobj = Py_BuildValue("s",_ptemp);
9926 } else {
9927 Py_INCREF(Py_None);
9928 _resultobj = Py_None;
9929 }
9930 return _resultobj;
9931 }
9932
9933 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9934 static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9935 PyObject * _resultobj;
9936 bool _result;
9937 wxRadioButton * _arg0;
9938 wxWindow * _arg1;
9939 wxWindowID _arg2;
9940 wxString * _arg3;
9941 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9942 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9943 long _arg6 = (long ) 0;
9944 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
9945 wxString * _arg8 = (wxString *) &wxPyRadioButtonNameStr;
9946 PyObject * _argo0 = 0;
9947 PyObject * _argo1 = 0;
9948 PyObject * _obj3 = 0;
9949 wxPoint temp;
9950 PyObject * _obj4 = 0;
9951 wxSize temp0;
9952 PyObject * _obj5 = 0;
9953 PyObject * _argo7 = 0;
9954 PyObject * _obj8 = 0;
9955 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
9956
9957 self = self;
9958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
9959 return NULL;
9960 if (_argo0) {
9961 if (_argo0 == Py_None) { _arg0 = NULL; }
9962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
9963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9964 return NULL;
9965 }
9966 }
9967 if (_argo1) {
9968 if (_argo1 == Py_None) { _arg1 = NULL; }
9969 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9970 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9971 return NULL;
9972 }
9973 }
9974 {
9975 _arg3 = wxString_in_helper(_obj3);
9976 if (_arg3 == NULL)
9977 return NULL;
9978 }
9979 if (_obj4)
9980 {
9981 _arg4 = &temp;
9982 if (! wxPoint_helper(_obj4, &_arg4))
9983 return NULL;
9984 }
9985 if (_obj5)
9986 {
9987 _arg5 = &temp0;
9988 if (! wxSize_helper(_obj5, &_arg5))
9989 return NULL;
9990 }
9991 if (_argo7) {
9992 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
9993 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9994 return NULL;
9995 }
9996 }
9997 if (_obj8)
9998 {
9999 _arg8 = wxString_in_helper(_obj8);
10000 if (_arg8 == NULL)
10001 return NULL;
10002 }
10003 {
10004 PyThreadState* __tstate = wxPyBeginAllowThreads();
10005 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
10006
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) return NULL;
10009 } _resultobj = Py_BuildValue("i",_result);
10010 {
10011 if (_obj3)
10012 delete _arg3;
10013 }
10014 {
10015 if (_obj8)
10016 delete _arg8;
10017 }
10018 return _resultobj;
10019 }
10020
10021 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
10022 static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10023 PyObject * _resultobj;
10024 bool _result;
10025 wxRadioButton * _arg0;
10026 PyObject * _argo0 = 0;
10027 char *_kwnames[] = { "self", NULL };
10028
10029 self = self;
10030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
10031 return NULL;
10032 if (_argo0) {
10033 if (_argo0 == Py_None) { _arg0 = NULL; }
10034 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10035 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10036 return NULL;
10037 }
10038 }
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 _result = (bool )wxRadioButton_GetValue(_arg0);
10042
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) return NULL;
10045 } _resultobj = Py_BuildValue("i",_result);
10046 return _resultobj;
10047 }
10048
10049 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10050 static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10051 PyObject * _resultobj;
10052 wxRadioButton * _arg0;
10053 bool _arg1;
10054 PyObject * _argo0 = 0;
10055 int tempbool1;
10056 char *_kwnames[] = { "self","value", NULL };
10057
10058 self = self;
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
10060 return NULL;
10061 if (_argo0) {
10062 if (_argo0 == Py_None) { _arg0 = NULL; }
10063 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10064 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10065 return NULL;
10066 }
10067 }
10068 _arg1 = (bool ) tempbool1;
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 wxRadioButton_SetValue(_arg0,_arg1);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) return NULL;
10075 } Py_INCREF(Py_None);
10076 _resultobj = Py_None;
10077 return _resultobj;
10078 }
10079
10080 static void *SwigwxSliderTowxControl(void *ptr) {
10081 wxSlider *src;
10082 wxControl *dest;
10083 src = (wxSlider *) ptr;
10084 dest = (wxControl *) src;
10085 return (void *) dest;
10086 }
10087
10088 static void *SwigwxSliderTowxWindow(void *ptr) {
10089 wxSlider *src;
10090 wxWindow *dest;
10091 src = (wxSlider *) ptr;
10092 dest = (wxWindow *) src;
10093 return (void *) dest;
10094 }
10095
10096 static void *SwigwxSliderTowxEvtHandler(void *ptr) {
10097 wxSlider *src;
10098 wxEvtHandler *dest;
10099 src = (wxSlider *) ptr;
10100 dest = (wxEvtHandler *) src;
10101 return (void *) dest;
10102 }
10103
10104 static void *SwigwxSliderTowxObject(void *ptr) {
10105 wxSlider *src;
10106 wxObject *dest;
10107 src = (wxSlider *) ptr;
10108 dest = (wxObject *) src;
10109 return (void *) dest;
10110 }
10111
10112 #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))
10113 static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject * _resultobj;
10115 wxSlider * _result;
10116 wxWindow * _arg0;
10117 wxWindowID _arg1;
10118 int _arg2;
10119 int _arg3;
10120 int _arg4;
10121 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
10122 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
10123 long _arg7 = (long ) wxSL_HORIZONTAL;
10124 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
10125 wxString * _arg9 = (wxString *) &wxPySliderNameStr;
10126 PyObject * _argo0 = 0;
10127 wxPoint temp;
10128 PyObject * _obj5 = 0;
10129 wxSize temp0;
10130 PyObject * _obj6 = 0;
10131 PyObject * _argo8 = 0;
10132 PyObject * _obj9 = 0;
10133 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
10134 char _ptemp[128];
10135
10136 self = self;
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOO:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_obj9))
10138 return NULL;
10139 if (_argo0) {
10140 if (_argo0 == Py_None) { _arg0 = NULL; }
10141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10143 return NULL;
10144 }
10145 }
10146 if (_obj5)
10147 {
10148 _arg5 = &temp;
10149 if (! wxPoint_helper(_obj5, &_arg5))
10150 return NULL;
10151 }
10152 if (_obj6)
10153 {
10154 _arg6 = &temp0;
10155 if (! wxSize_helper(_obj6, &_arg6))
10156 return NULL;
10157 }
10158 if (_argo8) {
10159 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
10160 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10161 return NULL;
10162 }
10163 }
10164 if (_obj9)
10165 {
10166 _arg9 = wxString_in_helper(_obj9);
10167 if (_arg9 == NULL)
10168 return NULL;
10169 }
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,*_arg9);
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) return NULL;
10176 } if (_result) {
10177 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10178 _resultobj = Py_BuildValue("s",_ptemp);
10179 } else {
10180 Py_INCREF(Py_None);
10181 _resultobj = Py_None;
10182 }
10183 {
10184 if (_obj9)
10185 delete _arg9;
10186 }
10187 return _resultobj;
10188 }
10189
10190 #define new_wxPreSlider() (new wxSlider())
10191 static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10192 PyObject * _resultobj;
10193 wxSlider * _result;
10194 char *_kwnames[] = { NULL };
10195 char _ptemp[128];
10196
10197 self = self;
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
10199 return NULL;
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 _result = (wxSlider *)new_wxPreSlider();
10203
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) return NULL;
10206 } if (_result) {
10207 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10208 _resultobj = Py_BuildValue("s",_ptemp);
10209 } else {
10210 Py_INCREF(Py_None);
10211 _resultobj = Py_None;
10212 }
10213 return _resultobj;
10214 }
10215
10216 #define wxSlider_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
10217 static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10218 PyObject * _resultobj;
10219 bool _result;
10220 wxSlider * _arg0;
10221 wxWindow * _arg1;
10222 wxWindowID _arg2;
10223 int _arg3;
10224 int _arg4;
10225 int _arg5;
10226 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
10227 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
10228 long _arg8 = (long ) wxSL_HORIZONTAL;
10229 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
10230 wxString * _arg10 = (wxString *) &wxPySliderNameStr;
10231 PyObject * _argo0 = 0;
10232 PyObject * _argo1 = 0;
10233 wxPoint temp;
10234 PyObject * _obj6 = 0;
10235 wxSize temp0;
10236 PyObject * _obj7 = 0;
10237 PyObject * _argo9 = 0;
10238 PyObject * _obj10 = 0;
10239 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
10240
10241 self = self;
10242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOO:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_obj10))
10243 return NULL;
10244 if (_argo0) {
10245 if (_argo0 == Py_None) { _arg0 = NULL; }
10246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10248 return NULL;
10249 }
10250 }
10251 if (_argo1) {
10252 if (_argo1 == Py_None) { _arg1 = NULL; }
10253 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10254 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10255 return NULL;
10256 }
10257 }
10258 if (_obj6)
10259 {
10260 _arg6 = &temp;
10261 if (! wxPoint_helper(_obj6, &_arg6))
10262 return NULL;
10263 }
10264 if (_obj7)
10265 {
10266 _arg7 = &temp0;
10267 if (! wxSize_helper(_obj7, &_arg7))
10268 return NULL;
10269 }
10270 if (_argo9) {
10271 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
10272 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10273 return NULL;
10274 }
10275 }
10276 if (_obj10)
10277 {
10278 _arg10 = wxString_in_helper(_obj10);
10279 if (_arg10 == NULL)
10280 return NULL;
10281 }
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,*_arg10);
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) return NULL;
10288 } _resultobj = Py_BuildValue("i",_result);
10289 {
10290 if (_obj10)
10291 delete _arg10;
10292 }
10293 return _resultobj;
10294 }
10295
10296 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10297 static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10298 PyObject * _resultobj;
10299 wxSlider * _arg0;
10300 PyObject * _argo0 = 0;
10301 char *_kwnames[] = { "self", NULL };
10302
10303 self = self;
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
10305 return NULL;
10306 if (_argo0) {
10307 if (_argo0 == Py_None) { _arg0 = NULL; }
10308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10310 return NULL;
10311 }
10312 }
10313 {
10314 PyThreadState* __tstate = wxPyBeginAllowThreads();
10315 wxSlider_ClearSel(_arg0);
10316
10317 wxPyEndAllowThreads(__tstate);
10318 if (PyErr_Occurred()) return NULL;
10319 } Py_INCREF(Py_None);
10320 _resultobj = Py_None;
10321 return _resultobj;
10322 }
10323
10324 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10325 static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10326 PyObject * _resultobj;
10327 wxSlider * _arg0;
10328 PyObject * _argo0 = 0;
10329 char *_kwnames[] = { "self", NULL };
10330
10331 self = self;
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
10333 return NULL;
10334 if (_argo0) {
10335 if (_argo0 == Py_None) { _arg0 = NULL; }
10336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10338 return NULL;
10339 }
10340 }
10341 {
10342 PyThreadState* __tstate = wxPyBeginAllowThreads();
10343 wxSlider_ClearTicks(_arg0);
10344
10345 wxPyEndAllowThreads(__tstate);
10346 if (PyErr_Occurred()) return NULL;
10347 } Py_INCREF(Py_None);
10348 _resultobj = Py_None;
10349 return _resultobj;
10350 }
10351
10352 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10353 static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10354 PyObject * _resultobj;
10355 int _result;
10356 wxSlider * _arg0;
10357 PyObject * _argo0 = 0;
10358 char *_kwnames[] = { "self", NULL };
10359
10360 self = self;
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
10362 return NULL;
10363 if (_argo0) {
10364 if (_argo0 == Py_None) { _arg0 = NULL; }
10365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10367 return NULL;
10368 }
10369 }
10370 {
10371 PyThreadState* __tstate = wxPyBeginAllowThreads();
10372 _result = (int )wxSlider_GetLineSize(_arg0);
10373
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) return NULL;
10376 } _resultobj = Py_BuildValue("i",_result);
10377 return _resultobj;
10378 }
10379
10380 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10381 static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10382 PyObject * _resultobj;
10383 int _result;
10384 wxSlider * _arg0;
10385 PyObject * _argo0 = 0;
10386 char *_kwnames[] = { "self", NULL };
10387
10388 self = self;
10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
10390 return NULL;
10391 if (_argo0) {
10392 if (_argo0 == Py_None) { _arg0 = NULL; }
10393 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10394 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10395 return NULL;
10396 }
10397 }
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 _result = (int )wxSlider_GetMax(_arg0);
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) return NULL;
10404 } _resultobj = Py_BuildValue("i",_result);
10405 return _resultobj;
10406 }
10407
10408 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10409 static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject * _resultobj;
10411 int _result;
10412 wxSlider * _arg0;
10413 PyObject * _argo0 = 0;
10414 char *_kwnames[] = { "self", NULL };
10415
10416 self = self;
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
10418 return NULL;
10419 if (_argo0) {
10420 if (_argo0 == Py_None) { _arg0 = NULL; }
10421 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10422 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10423 return NULL;
10424 }
10425 }
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 _result = (int )wxSlider_GetMin(_arg0);
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) return NULL;
10432 } _resultobj = Py_BuildValue("i",_result);
10433 return _resultobj;
10434 }
10435
10436 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10437 static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10438 PyObject * _resultobj;
10439 int _result;
10440 wxSlider * _arg0;
10441 PyObject * _argo0 = 0;
10442 char *_kwnames[] = { "self", NULL };
10443
10444 self = self;
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
10446 return NULL;
10447 if (_argo0) {
10448 if (_argo0 == Py_None) { _arg0 = NULL; }
10449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10451 return NULL;
10452 }
10453 }
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 _result = (int )wxSlider_GetPageSize(_arg0);
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) return NULL;
10460 } _resultobj = Py_BuildValue("i",_result);
10461 return _resultobj;
10462 }
10463
10464 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10465 static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10466 PyObject * _resultobj;
10467 int _result;
10468 wxSlider * _arg0;
10469 PyObject * _argo0 = 0;
10470 char *_kwnames[] = { "self", NULL };
10471
10472 self = self;
10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
10474 return NULL;
10475 if (_argo0) {
10476 if (_argo0 == Py_None) { _arg0 = NULL; }
10477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10479 return NULL;
10480 }
10481 }
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 _result = (int )wxSlider_GetSelEnd(_arg0);
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) return NULL;
10488 } _resultobj = Py_BuildValue("i",_result);
10489 return _resultobj;
10490 }
10491
10492 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10493 static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10494 PyObject * _resultobj;
10495 int _result;
10496 wxSlider * _arg0;
10497 PyObject * _argo0 = 0;
10498 char *_kwnames[] = { "self", NULL };
10499
10500 self = self;
10501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
10502 return NULL;
10503 if (_argo0) {
10504 if (_argo0 == Py_None) { _arg0 = NULL; }
10505 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10506 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10507 return NULL;
10508 }
10509 }
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 _result = (int )wxSlider_GetSelStart(_arg0);
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) return NULL;
10516 } _resultobj = Py_BuildValue("i",_result);
10517 return _resultobj;
10518 }
10519
10520 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10521 static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10522 PyObject * _resultobj;
10523 int _result;
10524 wxSlider * _arg0;
10525 PyObject * _argo0 = 0;
10526 char *_kwnames[] = { "self", NULL };
10527
10528 self = self;
10529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
10530 return NULL;
10531 if (_argo0) {
10532 if (_argo0 == Py_None) { _arg0 = NULL; }
10533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10535 return NULL;
10536 }
10537 }
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 _result = (int )wxSlider_GetThumbLength(_arg0);
10541
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) return NULL;
10544 } _resultobj = Py_BuildValue("i",_result);
10545 return _resultobj;
10546 }
10547
10548 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10549 static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10550 PyObject * _resultobj;
10551 int _result;
10552 wxSlider * _arg0;
10553 PyObject * _argo0 = 0;
10554 char *_kwnames[] = { "self", NULL };
10555
10556 self = self;
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
10558 return NULL;
10559 if (_argo0) {
10560 if (_argo0 == Py_None) { _arg0 = NULL; }
10561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10563 return NULL;
10564 }
10565 }
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 _result = (int )wxSlider_GetTickFreq(_arg0);
10569
10570 wxPyEndAllowThreads(__tstate);
10571 if (PyErr_Occurred()) return NULL;
10572 } _resultobj = Py_BuildValue("i",_result);
10573 return _resultobj;
10574 }
10575
10576 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10577 static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10578 PyObject * _resultobj;
10579 int _result;
10580 wxSlider * _arg0;
10581 PyObject * _argo0 = 0;
10582 char *_kwnames[] = { "self", NULL };
10583
10584 self = self;
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
10586 return NULL;
10587 if (_argo0) {
10588 if (_argo0 == Py_None) { _arg0 = NULL; }
10589 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10590 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10591 return NULL;
10592 }
10593 }
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 _result = (int )wxSlider_GetValue(_arg0);
10597
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) return NULL;
10600 } _resultobj = Py_BuildValue("i",_result);
10601 return _resultobj;
10602 }
10603
10604 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10605 static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10606 PyObject * _resultobj;
10607 wxSlider * _arg0;
10608 int _arg1;
10609 int _arg2;
10610 PyObject * _argo0 = 0;
10611 char *_kwnames[] = { "self","minValue","maxValue", NULL };
10612
10613 self = self;
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
10615 return NULL;
10616 if (_argo0) {
10617 if (_argo0 == Py_None) { _arg0 = NULL; }
10618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10620 return NULL;
10621 }
10622 }
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 wxSlider_SetRange(_arg0,_arg1,_arg2);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) return NULL;
10629 } Py_INCREF(Py_None);
10630 _resultobj = Py_None;
10631 return _resultobj;
10632 }
10633
10634 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10635 static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10636 PyObject * _resultobj;
10637 wxSlider * _arg0;
10638 int _arg1;
10639 int _arg2;
10640 PyObject * _argo0 = 0;
10641 char *_kwnames[] = { "self","n","pos", NULL };
10642
10643 self = self;
10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
10645 return NULL;
10646 if (_argo0) {
10647 if (_argo0 == Py_None) { _arg0 = NULL; }
10648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10650 return NULL;
10651 }
10652 }
10653 {
10654 PyThreadState* __tstate = wxPyBeginAllowThreads();
10655 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
10656
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) return NULL;
10659 } Py_INCREF(Py_None);
10660 _resultobj = Py_None;
10661 return _resultobj;
10662 }
10663
10664 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10665 static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10666 PyObject * _resultobj;
10667 wxSlider * _arg0;
10668 int _arg1;
10669 PyObject * _argo0 = 0;
10670 char *_kwnames[] = { "self","lineSize", NULL };
10671
10672 self = self;
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
10674 return NULL;
10675 if (_argo0) {
10676 if (_argo0 == Py_None) { _arg0 = NULL; }
10677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10679 return NULL;
10680 }
10681 }
10682 {
10683 PyThreadState* __tstate = wxPyBeginAllowThreads();
10684 wxSlider_SetLineSize(_arg0,_arg1);
10685
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) return NULL;
10688 } Py_INCREF(Py_None);
10689 _resultobj = Py_None;
10690 return _resultobj;
10691 }
10692
10693 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10694 static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10695 PyObject * _resultobj;
10696 wxSlider * _arg0;
10697 int _arg1;
10698 PyObject * _argo0 = 0;
10699 char *_kwnames[] = { "self","pageSize", NULL };
10700
10701 self = self;
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
10703 return NULL;
10704 if (_argo0) {
10705 if (_argo0 == Py_None) { _arg0 = NULL; }
10706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10708 return NULL;
10709 }
10710 }
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 wxSlider_SetPageSize(_arg0,_arg1);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) return NULL;
10717 } Py_INCREF(Py_None);
10718 _resultobj = Py_None;
10719 return _resultobj;
10720 }
10721
10722 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10723 static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10724 PyObject * _resultobj;
10725 wxSlider * _arg0;
10726 int _arg1;
10727 int _arg2;
10728 PyObject * _argo0 = 0;
10729 char *_kwnames[] = { "self","startPos","endPos", NULL };
10730
10731 self = self;
10732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
10733 return NULL;
10734 if (_argo0) {
10735 if (_argo0 == Py_None) { _arg0 = NULL; }
10736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10738 return NULL;
10739 }
10740 }
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 wxSlider_SetSelection(_arg0,_arg1,_arg2);
10744
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) return NULL;
10747 } Py_INCREF(Py_None);
10748 _resultobj = Py_None;
10749 return _resultobj;
10750 }
10751
10752 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10753 static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10754 PyObject * _resultobj;
10755 wxSlider * _arg0;
10756 int _arg1;
10757 PyObject * _argo0 = 0;
10758 char *_kwnames[] = { "self","len", NULL };
10759
10760 self = self;
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
10762 return NULL;
10763 if (_argo0) {
10764 if (_argo0 == Py_None) { _arg0 = NULL; }
10765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10767 return NULL;
10768 }
10769 }
10770 {
10771 PyThreadState* __tstate = wxPyBeginAllowThreads();
10772 wxSlider_SetThumbLength(_arg0,_arg1);
10773
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) return NULL;
10776 } Py_INCREF(Py_None);
10777 _resultobj = Py_None;
10778 return _resultobj;
10779 }
10780
10781 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10782 static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10783 PyObject * _resultobj;
10784 wxSlider * _arg0;
10785 int _arg1;
10786 PyObject * _argo0 = 0;
10787 char *_kwnames[] = { "self","tickPos", NULL };
10788
10789 self = self;
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
10791 return NULL;
10792 if (_argo0) {
10793 if (_argo0 == Py_None) { _arg0 = NULL; }
10794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10796 return NULL;
10797 }
10798 }
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 wxSlider_SetTick(_arg0,_arg1);
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) return NULL;
10805 } Py_INCREF(Py_None);
10806 _resultobj = Py_None;
10807 return _resultobj;
10808 }
10809
10810 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10811 static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10812 PyObject * _resultobj;
10813 wxSlider * _arg0;
10814 int _arg1;
10815 PyObject * _argo0 = 0;
10816 char *_kwnames[] = { "self","value", NULL };
10817
10818 self = self;
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
10820 return NULL;
10821 if (_argo0) {
10822 if (_argo0 == Py_None) { _arg0 = NULL; }
10823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
10824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10825 return NULL;
10826 }
10827 }
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 wxSlider_SetValue(_arg0,_arg1);
10831
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) return NULL;
10834 } Py_INCREF(Py_None);
10835 _resultobj = Py_None;
10836 return _resultobj;
10837 }
10838
10839 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
10840 wxSpinCtrl *src;
10841 wxSpinButton *dest;
10842 src = (wxSpinCtrl *) ptr;
10843 dest = (wxSpinButton *) src;
10844 return (void *) dest;
10845 }
10846
10847 static void *SwigwxSpinCtrlTowxControl(void *ptr) {
10848 wxSpinCtrl *src;
10849 wxControl *dest;
10850 src = (wxSpinCtrl *) ptr;
10851 dest = (wxControl *) src;
10852 return (void *) dest;
10853 }
10854
10855 static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
10856 wxSpinCtrl *src;
10857 wxWindow *dest;
10858 src = (wxSpinCtrl *) ptr;
10859 dest = (wxWindow *) src;
10860 return (void *) dest;
10861 }
10862
10863 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
10864 wxSpinCtrl *src;
10865 wxEvtHandler *dest;
10866 src = (wxSpinCtrl *) ptr;
10867 dest = (wxEvtHandler *) src;
10868 return (void *) dest;
10869 }
10870
10871 static void *SwigwxSpinCtrlTowxObject(void *ptr) {
10872 wxSpinCtrl *src;
10873 wxObject *dest;
10874 src = (wxSpinCtrl *) ptr;
10875 dest = (wxObject *) src;
10876 return (void *) dest;
10877 }
10878
10879 #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))
10880 static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject * _resultobj;
10882 wxSpinCtrl * _result;
10883 wxWindow * _arg0;
10884 wxWindowID _arg1 = (wxWindowID ) -1;
10885 wxString * _arg2 = (wxString *) &wxPyEmptyString;
10886 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10887 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10888 long _arg5 = (long ) wxSP_ARROW_KEYS;
10889 int _arg6 = (int ) 0;
10890 int _arg7 = (int ) 100;
10891 int _arg8 = (int ) 0;
10892 wxString * _arg9 = (wxString *) &wxPySpinCtrlNameStr;
10893 PyObject * _argo0 = 0;
10894 PyObject * _obj2 = 0;
10895 wxPoint temp;
10896 PyObject * _obj3 = 0;
10897 wxSize temp0;
10898 PyObject * _obj4 = 0;
10899 PyObject * _obj9 = 0;
10900 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
10901 char _ptemp[128];
10902
10903 self = self;
10904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_obj9))
10905 return NULL;
10906 if (_argo0) {
10907 if (_argo0 == Py_None) { _arg0 = NULL; }
10908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10910 return NULL;
10911 }
10912 }
10913 if (_obj2)
10914 {
10915 _arg2 = wxString_in_helper(_obj2);
10916 if (_arg2 == NULL)
10917 return NULL;
10918 }
10919 if (_obj3)
10920 {
10921 _arg3 = &temp;
10922 if (! wxPoint_helper(_obj3, &_arg3))
10923 return NULL;
10924 }
10925 if (_obj4)
10926 {
10927 _arg4 = &temp0;
10928 if (! wxSize_helper(_obj4, &_arg4))
10929 return NULL;
10930 }
10931 if (_obj9)
10932 {
10933 _arg9 = wxString_in_helper(_obj9);
10934 if (_arg9 == NULL)
10935 return NULL;
10936 }
10937 {
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9);
10940
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) return NULL;
10943 } if (_result) {
10944 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10945 _resultobj = Py_BuildValue("s",_ptemp);
10946 } else {
10947 Py_INCREF(Py_None);
10948 _resultobj = Py_None;
10949 }
10950 {
10951 if (_obj2)
10952 delete _arg2;
10953 }
10954 {
10955 if (_obj9)
10956 delete _arg9;
10957 }
10958 return _resultobj;
10959 }
10960
10961 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10962 static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10963 PyObject * _resultobj;
10964 wxSpinCtrl * _result;
10965 char *_kwnames[] = { NULL };
10966 char _ptemp[128];
10967
10968 self = self;
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
10970 return NULL;
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
10974
10975 wxPyEndAllowThreads(__tstate);
10976 if (PyErr_Occurred()) return NULL;
10977 } if (_result) {
10978 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
10979 _resultobj = Py_BuildValue("s",_ptemp);
10980 } else {
10981 Py_INCREF(Py_None);
10982 _resultobj = Py_None;
10983 }
10984 return _resultobj;
10985 }
10986
10987 #define wxSpinCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8,_swigarg9))
10988 static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10989 PyObject * _resultobj;
10990 bool _result;
10991 wxSpinCtrl * _arg0;
10992 wxWindow * _arg1;
10993 wxWindowID _arg2 = (wxWindowID ) -1;
10994 wxString * _arg3 = (wxString *) &wxPyEmptyString;
10995 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10996 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10997 long _arg6 = (long ) wxSP_ARROW_KEYS;
10998 int _arg7 = (int ) 0;
10999 int _arg8 = (int ) 100;
11000 int _arg9 = (int ) 0;
11001 wxString * _arg10 = (wxString *) &wxPySpinCtrlNameStr;
11002 PyObject * _argo0 = 0;
11003 PyObject * _argo1 = 0;
11004 PyObject * _obj3 = 0;
11005 wxPoint temp;
11006 PyObject * _obj4 = 0;
11007 wxSize temp0;
11008 PyObject * _obj5 = 0;
11009 PyObject * _obj10 = 0;
11010 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
11011
11012 self = self;
11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_obj10))
11014 return NULL;
11015 if (_argo0) {
11016 if (_argo0 == Py_None) { _arg0 = NULL; }
11017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
11019 return NULL;
11020 }
11021 }
11022 if (_argo1) {
11023 if (_argo1 == Py_None) { _arg1 = NULL; }
11024 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11025 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
11026 return NULL;
11027 }
11028 }
11029 if (_obj3)
11030 {
11031 _arg3 = wxString_in_helper(_obj3);
11032 if (_arg3 == NULL)
11033 return NULL;
11034 }
11035 if (_obj4)
11036 {
11037 _arg4 = &temp;
11038 if (! wxPoint_helper(_obj4, &_arg4))
11039 return NULL;
11040 }
11041 if (_obj5)
11042 {
11043 _arg5 = &temp0;
11044 if (! wxSize_helper(_obj5, &_arg5))
11045 return NULL;
11046 }
11047 if (_obj10)
11048 {
11049 _arg10 = wxString_in_helper(_obj10);
11050 if (_arg10 == NULL)
11051 return NULL;
11052 }
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10);
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) return NULL;
11059 } _resultobj = Py_BuildValue("i",_result);
11060 {
11061 if (_obj3)
11062 delete _arg3;
11063 }
11064 {
11065 if (_obj10)
11066 delete _arg10;
11067 }
11068 return _resultobj;
11069 }
11070
11071 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
11072 static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11073 PyObject * _resultobj;
11074 int _result;
11075 wxSpinCtrl * _arg0;
11076 PyObject * _argo0 = 0;
11077 char *_kwnames[] = { "self", NULL };
11078
11079 self = self;
11080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
11081 return NULL;
11082 if (_argo0) {
11083 if (_argo0 == Py_None) { _arg0 = NULL; }
11084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11086 return NULL;
11087 }
11088 }
11089 {
11090 PyThreadState* __tstate = wxPyBeginAllowThreads();
11091 _result = (int )wxSpinCtrl_GetMax(_arg0);
11092
11093 wxPyEndAllowThreads(__tstate);
11094 if (PyErr_Occurred()) return NULL;
11095 } _resultobj = Py_BuildValue("i",_result);
11096 return _resultobj;
11097 }
11098
11099 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11100 static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11101 PyObject * _resultobj;
11102 int _result;
11103 wxSpinCtrl * _arg0;
11104 PyObject * _argo0 = 0;
11105 char *_kwnames[] = { "self", NULL };
11106
11107 self = self;
11108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
11109 return NULL;
11110 if (_argo0) {
11111 if (_argo0 == Py_None) { _arg0 = NULL; }
11112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11114 return NULL;
11115 }
11116 }
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 _result = (int )wxSpinCtrl_GetMin(_arg0);
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) return NULL;
11123 } _resultobj = Py_BuildValue("i",_result);
11124 return _resultobj;
11125 }
11126
11127 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11128 static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11129 PyObject * _resultobj;
11130 int _result;
11131 wxSpinCtrl * _arg0;
11132 PyObject * _argo0 = 0;
11133 char *_kwnames[] = { "self", NULL };
11134
11135 self = self;
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
11137 return NULL;
11138 if (_argo0) {
11139 if (_argo0 == Py_None) { _arg0 = NULL; }
11140 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11141 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11142 return NULL;
11143 }
11144 }
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 _result = (int )wxSpinCtrl_GetValue(_arg0);
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) return NULL;
11151 } _resultobj = Py_BuildValue("i",_result);
11152 return _resultobj;
11153 }
11154
11155 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11156 static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11157 PyObject * _resultobj;
11158 wxSpinCtrl * _arg0;
11159 int _arg1;
11160 int _arg2;
11161 PyObject * _argo0 = 0;
11162 char *_kwnames[] = { "self","min","max", NULL };
11163
11164 self = self;
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
11166 return NULL;
11167 if (_argo0) {
11168 if (_argo0 == Py_None) { _arg0 = NULL; }
11169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11171 return NULL;
11172 }
11173 }
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
11177
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) return NULL;
11180 } Py_INCREF(Py_None);
11181 _resultobj = Py_None;
11182 return _resultobj;
11183 }
11184
11185 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11186 static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject * _resultobj;
11188 wxSpinCtrl * _arg0;
11189 int _arg1;
11190 PyObject * _argo0 = 0;
11191 char *_kwnames[] = { "self","value", NULL };
11192
11193 self = self;
11194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
11195 return NULL;
11196 if (_argo0) {
11197 if (_argo0 == Py_None) { _arg0 = NULL; }
11198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11200 return NULL;
11201 }
11202 }
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 wxSpinCtrl_SetValue(_arg0,_arg1);
11206
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) return NULL;
11209 } Py_INCREF(Py_None);
11210 _resultobj = Py_None;
11211 return _resultobj;
11212 }
11213
11214 static void *SwigwxToggleButtonTowxControl(void *ptr) {
11215 wxToggleButton *src;
11216 wxControl *dest;
11217 src = (wxToggleButton *) ptr;
11218 dest = (wxControl *) src;
11219 return (void *) dest;
11220 }
11221
11222 static void *SwigwxToggleButtonTowxWindow(void *ptr) {
11223 wxToggleButton *src;
11224 wxWindow *dest;
11225 src = (wxToggleButton *) ptr;
11226 dest = (wxWindow *) src;
11227 return (void *) dest;
11228 }
11229
11230 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
11231 wxToggleButton *src;
11232 wxEvtHandler *dest;
11233 src = (wxToggleButton *) ptr;
11234 dest = (wxEvtHandler *) src;
11235 return (void *) dest;
11236 }
11237
11238 static void *SwigwxToggleButtonTowxObject(void *ptr) {
11239 wxToggleButton *src;
11240 wxObject *dest;
11241 src = (wxToggleButton *) ptr;
11242 dest = (wxObject *) src;
11243 return (void *) dest;
11244 }
11245
11246 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11247 static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11248 PyObject * _resultobj;
11249 wxToggleButton * _result;
11250 wxWindow * _arg0;
11251 wxWindowID _arg1;
11252 wxString * _arg2;
11253 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
11254 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
11255 long _arg5 = (long ) 0;
11256 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
11257 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
11258 PyObject * _argo0 = 0;
11259 PyObject * _obj2 = 0;
11260 wxPoint temp;
11261 PyObject * _obj3 = 0;
11262 wxSize temp0;
11263 PyObject * _obj4 = 0;
11264 PyObject * _argo6 = 0;
11265 PyObject * _obj7 = 0;
11266 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
11267 char _ptemp[128];
11268
11269 self = self;
11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
11271 return NULL;
11272 if (_argo0) {
11273 if (_argo0 == Py_None) { _arg0 = NULL; }
11274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
11275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
11276 return NULL;
11277 }
11278 }
11279 {
11280 _arg2 = wxString_in_helper(_obj2);
11281 if (_arg2 == NULL)
11282 return NULL;
11283 }
11284 if (_obj3)
11285 {
11286 _arg3 = &temp;
11287 if (! wxPoint_helper(_obj3, &_arg3))
11288 return NULL;
11289 }
11290 if (_obj4)
11291 {
11292 _arg4 = &temp0;
11293 if (! wxSize_helper(_obj4, &_arg4))
11294 return NULL;
11295 }
11296 if (_argo6) {
11297 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
11298 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11299 return NULL;
11300 }
11301 }
11302 if (_obj7)
11303 {
11304 _arg7 = wxString_in_helper(_obj7);
11305 if (_arg7 == NULL)
11306 return NULL;
11307 }
11308 {
11309 PyThreadState* __tstate = wxPyBeginAllowThreads();
11310 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
11311
11312 wxPyEndAllowThreads(__tstate);
11313 if (PyErr_Occurred()) return NULL;
11314 } if (_result) {
11315 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
11316 _resultobj = Py_BuildValue("s",_ptemp);
11317 } else {
11318 Py_INCREF(Py_None);
11319 _resultobj = Py_None;
11320 }
11321 {
11322 if (_obj2)
11323 delete _arg2;
11324 }
11325 {
11326 if (_obj7)
11327 delete _arg7;
11328 }
11329 return _resultobj;
11330 }
11331
11332 #define new_wxPreToggleButton() (new wxToggleButton())
11333 static PyObject *_wrap_new_wxPreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject * _resultobj;
11335 wxToggleButton * _result;
11336 char *_kwnames[] = { NULL };
11337 char _ptemp[128];
11338
11339 self = self;
11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToggleButton",_kwnames))
11341 return NULL;
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 _result = (wxToggleButton *)new_wxPreToggleButton();
11345
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) return NULL;
11348 } if (_result) {
11349 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
11350 _resultobj = Py_BuildValue("s",_ptemp);
11351 } else {
11352 Py_INCREF(Py_None);
11353 _resultobj = Py_None;
11354 }
11355 return _resultobj;
11356 }
11357
11358 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11359 static PyObject *_wrap_wxToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11360 PyObject * _resultobj;
11361 bool _result;
11362 wxToggleButton * _arg0;
11363 wxWindow * _arg1;
11364 wxWindowID _arg2;
11365 wxString * _arg3;
11366 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
11367 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
11368 long _arg6 = (long ) 0;
11369 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
11370 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
11371 PyObject * _argo0 = 0;
11372 PyObject * _argo1 = 0;
11373 PyObject * _obj3 = 0;
11374 wxPoint temp;
11375 PyObject * _obj4 = 0;
11376 wxSize temp0;
11377 PyObject * _obj5 = 0;
11378 PyObject * _argo7 = 0;
11379 PyObject * _obj8 = 0;
11380 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
11381
11382 self = self;
11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxToggleButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
11384 return NULL;
11385 if (_argo0) {
11386 if (_argo0 == Py_None) { _arg0 = NULL; }
11387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11389 return NULL;
11390 }
11391 }
11392 if (_argo1) {
11393 if (_argo1 == Py_None) { _arg1 = NULL; }
11394 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11395 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11396 return NULL;
11397 }
11398 }
11399 {
11400 _arg3 = wxString_in_helper(_obj3);
11401 if (_arg3 == NULL)
11402 return NULL;
11403 }
11404 if (_obj4)
11405 {
11406 _arg4 = &temp;
11407 if (! wxPoint_helper(_obj4, &_arg4))
11408 return NULL;
11409 }
11410 if (_obj5)
11411 {
11412 _arg5 = &temp0;
11413 if (! wxSize_helper(_obj5, &_arg5))
11414 return NULL;
11415 }
11416 if (_argo7) {
11417 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
11418 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11419 return NULL;
11420 }
11421 }
11422 if (_obj8)
11423 {
11424 _arg8 = wxString_in_helper(_obj8);
11425 if (_arg8 == NULL)
11426 return NULL;
11427 }
11428 {
11429 PyThreadState* __tstate = wxPyBeginAllowThreads();
11430 _result = (bool )wxToggleButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
11431
11432 wxPyEndAllowThreads(__tstate);
11433 if (PyErr_Occurred()) return NULL;
11434 } _resultobj = Py_BuildValue("i",_result);
11435 {
11436 if (_obj3)
11437 delete _arg3;
11438 }
11439 {
11440 if (_obj8)
11441 delete _arg8;
11442 }
11443 return _resultobj;
11444 }
11445
11446 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11447 static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11448 PyObject * _resultobj;
11449 wxToggleButton * _arg0;
11450 bool _arg1;
11451 PyObject * _argo0 = 0;
11452 int tempbool1;
11453 char *_kwnames[] = { "self","value", NULL };
11454
11455 self = self;
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
11457 return NULL;
11458 if (_argo0) {
11459 if (_argo0 == Py_None) { _arg0 = NULL; }
11460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11462 return NULL;
11463 }
11464 }
11465 _arg1 = (bool ) tempbool1;
11466 {
11467 PyThreadState* __tstate = wxPyBeginAllowThreads();
11468 wxToggleButton_SetValue(_arg0,_arg1);
11469
11470 wxPyEndAllowThreads(__tstate);
11471 if (PyErr_Occurred()) return NULL;
11472 } Py_INCREF(Py_None);
11473 _resultobj = Py_None;
11474 return _resultobj;
11475 }
11476
11477 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11478 static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11479 PyObject * _resultobj;
11480 bool _result;
11481 wxToggleButton * _arg0;
11482 PyObject * _argo0 = 0;
11483 char *_kwnames[] = { "self", NULL };
11484
11485 self = self;
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
11487 return NULL;
11488 if (_argo0) {
11489 if (_argo0 == Py_None) { _arg0 = NULL; }
11490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11492 return NULL;
11493 }
11494 }
11495 {
11496 PyThreadState* __tstate = wxPyBeginAllowThreads();
11497 _result = (bool )wxToggleButton_GetValue(_arg0);
11498
11499 wxPyEndAllowThreads(__tstate);
11500 if (PyErr_Occurred()) return NULL;
11501 } _resultobj = Py_BuildValue("i",_result);
11502 return _resultobj;
11503 }
11504
11505 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11506 static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11507 PyObject * _resultobj;
11508 wxToggleButton * _arg0;
11509 wxString * _arg1;
11510 PyObject * _argo0 = 0;
11511 PyObject * _obj1 = 0;
11512 char *_kwnames[] = { "self","label", NULL };
11513
11514 self = self;
11515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
11516 return NULL;
11517 if (_argo0) {
11518 if (_argo0 == Py_None) { _arg0 = NULL; }
11519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
11520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11521 return NULL;
11522 }
11523 }
11524 {
11525 _arg1 = wxString_in_helper(_obj1);
11526 if (_arg1 == NULL)
11527 return NULL;
11528 }
11529 {
11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
11531 wxToggleButton_SetLabel(_arg0,*_arg1);
11532
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) return NULL;
11535 } Py_INCREF(Py_None);
11536 _resultobj = Py_None;
11537 {
11538 if (_obj1)
11539 delete _arg1;
11540 }
11541 return _resultobj;
11542 }
11543
11544 static PyMethodDef controlscMethods[] = {
11545 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
11546 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11547 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11548 { "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
11549 { "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
11550 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
11551 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11552 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
11553 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
11554 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
11555 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
11556 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11557 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
11558 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
11559 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
11560 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
11561 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
11562 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
11563 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
11564 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
11565 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
11566 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
11567 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
11568 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
11569 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
11570 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
11571 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
11572 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11573 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
11574 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
11575 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
11576 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
11577 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
11578 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
11579 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
11580 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
11581 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11582 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11583 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
11584 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
11585 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
11586 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
11587 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
11588 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11589 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11590 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
11591 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11592 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
11593 { "wxRadioBox_GetNextItem", (PyCFunction) _wrap_wxRadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
11594 { "wxRadioBox_GetRowCount", (PyCFunction) _wrap_wxRadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
11595 { "wxRadioBox_GetColumnCount", (PyCFunction) _wrap_wxRadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
11596 { "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
11597 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
11598 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
11599 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
11600 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
11601 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
11602 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
11603 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
11604 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
11605 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
11606 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
11607 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
11608 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
11609 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
11610 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
11611 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
11612 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
11613 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
11614 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
11615 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
11616 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
11617 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
11618 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
11619 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
11620 { "wxScrollBar_IsVertical", (PyCFunction) _wrap_wxScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
11621 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
11622 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
11623 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
11624 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
11625 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
11626 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
11627 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
11628 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
11629 { "wxTextCtrl_GetString", (PyCFunction) _wrap_wxTextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
11630 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
11631 { "wxTextCtrl_IsMultiLine", (PyCFunction) _wrap_wxTextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
11632 { "wxTextCtrl_IsSingleLine", (PyCFunction) _wrap_wxTextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
11633 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
11634 { "wxTextCtrl_SelectAll", (PyCFunction) _wrap_wxTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
11635 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11636 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11637 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11638 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11639 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11640 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11641 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
11642 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11643 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
11644 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11645 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
11646 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
11647 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11648 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11649 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11650 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
11651 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
11652 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
11653 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11654 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
11655 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
11656 { "wxTextCtrl_EmulateKeyPress", (PyCFunction) _wrap_wxTextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
11657 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11658 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
11659 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
11660 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
11661 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
11662 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
11663 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
11664 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
11665 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
11666 { "wxTextCtrl_GetStringSelection", (PyCFunction) _wrap_wxTextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11667 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11668 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
11669 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
11670 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
11671 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
11672 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
11673 { "wxTextCtrl_GetRange", (PyCFunction) _wrap_wxTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
11674 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
11675 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
11676 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11677 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
11678 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
11679 { "wxTextAttr_Combine", (PyCFunction) _wrap_wxTextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
11680 { "wxTextAttr_IsDefault", (PyCFunction) _wrap_wxTextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
11681 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
11682 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11683 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
11684 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
11685 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11686 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
11687 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
11688 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11689 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11690 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
11691 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
11692 { "wxCheckListBox_HitTestXY", (PyCFunction) _wrap_wxCheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
11693 { "wxCheckListBox_HitTest", (PyCFunction) _wrap_wxCheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
11694 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
11695 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
11696 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
11697 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
11698 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
11699 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
11700 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
11701 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11702 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
11703 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11704 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
11705 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
11706 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
11707 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
11708 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
11709 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
11710 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
11711 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
11712 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
11713 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
11714 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
11715 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
11716 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
11717 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
11718 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
11719 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
11720 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
11721 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
11722 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
11723 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
11724 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
11725 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
11726 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
11727 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
11728 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11729 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
11730 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
11731 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
11732 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
11733 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
11734 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
11735 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
11736 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
11737 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
11738 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
11739 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11740 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
11741 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
11742 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
11743 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11744 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
11745 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
11746 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
11747 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
11748 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
11749 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
11750 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
11751 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
11752 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
11753 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
11754 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
11755 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
11756 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
11757 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
11758 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
11759 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
11760 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
11761 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
11762 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
11763 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
11764 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
11765 { "wxCheckBox_IsChecked", (PyCFunction) _wrap_wxCheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
11766 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
11767 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
11768 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
11769 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
11770 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
11771 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
11772 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
11773 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
11774 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11775 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11776 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11777 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
11778 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
11779 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
11780 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
11781 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
11782 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
11783 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
11784 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
11785 { "wxButton_SetImageMargins", (PyCFunction) _wrap_wxButton_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
11786 { "wxButton_SetImageLabel", (PyCFunction) _wrap_wxButton_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
11787 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
11788 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11789 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
11790 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
11791 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
11792 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
11793 { "wxControlWithItems_AppendItems", (PyCFunction) _wrap_wxControlWithItems_AppendItems, METH_VARARGS | METH_KEYWORDS },
11794 { "wxControlWithItems_SetClientData", (PyCFunction) _wrap_wxControlWithItems_SetClientData, METH_VARARGS | METH_KEYWORDS },
11795 { "wxControlWithItems_GetClientData", (PyCFunction) _wrap_wxControlWithItems_GetClientData, METH_VARARGS | METH_KEYWORDS },
11796 { "wxControlWithItems_Append", (PyCFunction) _wrap_wxControlWithItems_Append, METH_VARARGS | METH_KEYWORDS },
11797 { "wxControlWithItems_GetStringSelection", (PyCFunction) _wrap_wxControlWithItems_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
11798 { "wxControlWithItems_GetSelection", (PyCFunction) _wrap_wxControlWithItems_GetSelection, METH_VARARGS | METH_KEYWORDS },
11799 { "wxControlWithItems_Select", (PyCFunction) _wrap_wxControlWithItems_Select, METH_VARARGS | METH_KEYWORDS },
11800 { "wxControlWithItems_FindString", (PyCFunction) _wrap_wxControlWithItems_FindString, METH_VARARGS | METH_KEYWORDS },
11801 { "wxControlWithItems_SetString", (PyCFunction) _wrap_wxControlWithItems_SetString, METH_VARARGS | METH_KEYWORDS },
11802 { "wxControlWithItems_GetString", (PyCFunction) _wrap_wxControlWithItems_GetString, METH_VARARGS | METH_KEYWORDS },
11803 { "wxControlWithItems_GetCount", (PyCFunction) _wrap_wxControlWithItems_GetCount, METH_VARARGS | METH_KEYWORDS },
11804 { "wxControlWithItems_Delete", (PyCFunction) _wrap_wxControlWithItems_Delete, METH_VARARGS | METH_KEYWORDS },
11805 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
11806 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
11807 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
11808 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
11809 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
11810 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
11811 { NULL, NULL }
11812 };
11813 #ifdef __cplusplus
11814 }
11815 #endif
11816 /*
11817 * This table is used by the pointer type-checker
11818 */
11819 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
11820 { "_signed_long","_long",0},
11821 { "_wxPrintQuality","_wxCoord",0},
11822 { "_wxPrintQuality","_int",0},
11823 { "_wxPrintQuality","_signed_int",0},
11824 { "_wxPrintQuality","_unsigned_int",0},
11825 { "_wxPrintQuality","_wxWindowID",0},
11826 { "_wxPrintQuality","_uint",0},
11827 { "_wxPrintQuality","_EBool",0},
11828 { "_wxPrintQuality","_size_t",0},
11829 { "_wxPrintQuality","_time_t",0},
11830 { "_byte","_unsigned_char",0},
11831 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice},
11832 { "_long","_unsigned_long",0},
11833 { "_long","_signed_long",0},
11834 { "_size_t","_wxCoord",0},
11835 { "_size_t","_wxPrintQuality",0},
11836 { "_size_t","_time_t",0},
11837 { "_size_t","_unsigned_int",0},
11838 { "_size_t","_int",0},
11839 { "_size_t","_wxWindowID",0},
11840 { "_size_t","_uint",0},
11841 { "_uint","_wxCoord",0},
11842 { "_uint","_wxPrintQuality",0},
11843 { "_uint","_time_t",0},
11844 { "_uint","_size_t",0},
11845 { "_uint","_unsigned_int",0},
11846 { "_uint","_int",0},
11847 { "_uint","_wxWindowID",0},
11848 { "_wxChar","_char",0},
11849 { "_char","_wxChar",0},
11850 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
11851 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11852 { "_EBool","_wxCoord",0},
11853 { "_EBool","_wxPrintQuality",0},
11854 { "_EBool","_signed_int",0},
11855 { "_EBool","_int",0},
11856 { "_EBool","_wxWindowID",0},
11857 { "_unsigned_long","_long",0},
11858 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11859 { "_signed_int","_wxCoord",0},
11860 { "_signed_int","_wxPrintQuality",0},
11861 { "_signed_int","_EBool",0},
11862 { "_signed_int","_wxWindowID",0},
11863 { "_signed_int","_int",0},
11864 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
11865 { "_WXTYPE","_short",0},
11866 { "_WXTYPE","_signed_short",0},
11867 { "_WXTYPE","_unsigned_short",0},
11868 { "_unsigned_short","_WXTYPE",0},
11869 { "_unsigned_short","_short",0},
11870 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
11871 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
11872 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
11873 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
11874 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
11875 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
11876 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
11877 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
11878 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
11879 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
11880 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
11881 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
11882 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
11883 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
11884 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
11885 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
11886 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
11887 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
11888 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
11889 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
11890 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
11891 { "_wxObject","_wxControl",SwigwxControlTowxObject},
11892 { "_signed_short","_WXTYPE",0},
11893 { "_signed_short","_short",0},
11894 { "_unsigned_char","_byte",0},
11895 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
11896 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
11897 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
11898 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
11899 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
11900 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
11901 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
11902 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
11903 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
11904 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
11905 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
11906 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
11907 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
11908 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
11909 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
11910 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
11911 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
11912 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
11913 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
11914 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
11915 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
11916 { "_unsigned_int","_wxCoord",0},
11917 { "_unsigned_int","_wxPrintQuality",0},
11918 { "_unsigned_int","_time_t",0},
11919 { "_unsigned_int","_size_t",0},
11920 { "_unsigned_int","_uint",0},
11921 { "_unsigned_int","_wxWindowID",0},
11922 { "_unsigned_int","_int",0},
11923 { "_short","_WXTYPE",0},
11924 { "_short","_unsigned_short",0},
11925 { "_short","_signed_short",0},
11926 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
11927 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
11928 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems},
11929 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
11930 { "_wxWindowID","_wxCoord",0},
11931 { "_wxWindowID","_wxPrintQuality",0},
11932 { "_wxWindowID","_time_t",0},
11933 { "_wxWindowID","_size_t",0},
11934 { "_wxWindowID","_EBool",0},
11935 { "_wxWindowID","_uint",0},
11936 { "_wxWindowID","_int",0},
11937 { "_wxWindowID","_signed_int",0},
11938 { "_wxWindowID","_unsigned_int",0},
11939 { "_int","_wxCoord",0},
11940 { "_int","_wxPrintQuality",0},
11941 { "_int","_time_t",0},
11942 { "_int","_size_t",0},
11943 { "_int","_EBool",0},
11944 { "_int","_uint",0},
11945 { "_int","_wxWindowID",0},
11946 { "_int","_unsigned_int",0},
11947 { "_int","_signed_int",0},
11948 { "_time_t","_wxCoord",0},
11949 { "_time_t","_wxPrintQuality",0},
11950 { "_time_t","_unsigned_int",0},
11951 { "_time_t","_int",0},
11952 { "_time_t","_wxWindowID",0},
11953 { "_time_t","_uint",0},
11954 { "_time_t","_size_t",0},
11955 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
11956 { "_wxCoord","_int",0},
11957 { "_wxCoord","_signed_int",0},
11958 { "_wxCoord","_unsigned_int",0},
11959 { "_wxCoord","_wxWindowID",0},
11960 { "_wxCoord","_uint",0},
11961 { "_wxCoord","_EBool",0},
11962 { "_wxCoord","_size_t",0},
11963 { "_wxCoord","_time_t",0},
11964 { "_wxCoord","_wxPrintQuality",0},
11965 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
11966 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
11967 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
11968 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
11969 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
11970 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
11971 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
11972 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
11973 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
11974 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
11975 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
11976 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
11977 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
11978 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
11979 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
11980 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
11981 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
11982 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
11983 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
11984 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
11985 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
11986 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
11987 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
11988 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
11989 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
11990 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
11991 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
11992 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
11993 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
11994 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
11995 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
11996 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
11997 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
11998 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
11999 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
12000 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
12001 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
12002 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
12003 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
12004 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
12005 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
12006 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
12007 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
12008 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
12009 {0,0,0}};
12010
12011 static PyObject *SWIG_globals;
12012 #ifdef __cplusplus
12013 extern "C"
12014 #endif
12015 SWIGEXPORT(void) initcontrolsc() {
12016 PyObject *m, *d;
12017 SWIG_globals = SWIG_newvarlink();
12018 m = Py_InitModule("controlsc", controlscMethods);
12019 d = PyModule_GetDict(m);
12020 PyDict_SetItemString(d,"cvar", SWIG_globals);
12021 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
12022 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
12023 {
12024 int i;
12025 for (i = 0; _swig_mapping[i].n1; i++)
12026 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12027 }
12028 }