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