]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / gtk / controls.cpp
1 /*
2 * FILE : src/gtk/controls.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include "Python.h"
23
24 #include <string.h>
25 #include <stdlib.h>
26 /* Definitions for Windows/Unix exporting */
27 #if defined(__WIN32__)
28 # if defined(_MSC_VER)
29 # define SWIGEXPORT(a) __declspec(dllexport) a
30 # else
31 # if defined(__BORLANDC__)
32 # define SWIGEXPORT(a) a _export
33 # else
34 # define SWIGEXPORT(a) a
35 # endif
36 # endif
37 #else
38 # define SWIGEXPORT(a) a
39 #endif
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 extern void SWIG_MakePtr(char *, void *, char *);
45 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
46 extern char *SWIG_GetPtr(char *, void **, char *);
47 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
48 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
49 extern PyObject *SWIG_newvarlink(void);
50 #ifdef __cplusplus
51 }
52 #endif
53 #define SWIG_init initcontrolsc
54
55 #define SWIG_name "controlsc"
56
57 #include "helpers.h"
58 #include <wx/slider.h>
59 #include <wx/spinbutt.h>
60 #include <wx/spinctrl.h>
61 #include <wx/dynarray.h>
62 #include <wx/statline.h>
63 #include <wx/tglbtn.h>
64
65 #ifdef __WXMSW__
66 #if wxUSE_OWNER_DRAWN
67 #include <wx/checklst.h>
68 #endif
69 #endif
70
71 #ifdef __WXGTK__
72 #include <wx/checklst.h>
73 #endif
74
75
76 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
77 PyObject* o2;
78 PyObject* o3;
79
80 if (!target) {
81 target = o;
82 } else if (target == Py_None) {
83 Py_DECREF(Py_None);
84 target = o;
85 } else {
86 if (!PyTuple_Check(target)) {
87 o2 = target;
88 target = PyTuple_New(1);
89 PyTuple_SetItem(target, 0, o2);
90 }
91 o3 = PyTuple_New(1);
92 PyTuple_SetItem(o3, 0, o);
93
94 o2 = target;
95 target = PySequence_Concat(o2, o3);
96 Py_DECREF(o2);
97 Py_DECREF(o3);
98 }
99 return target;
100 }
101
102 //#define DECLARE_DEF_STRING(name) static wxString* wxPy##name
103
104 // Put some wx default wxChar* values into wxStrings.
105 DECLARE_DEF_STRING(ControlNameStr);
106 DECLARE_DEF_STRING(ButtonNameStr);
107 DECLARE_DEF_STRING(CheckBoxNameStr);
108 DECLARE_DEF_STRING(ChoiceNameStr);
109 DECLARE_DEF_STRING(ComboBoxNameStr);
110 DECLARE_DEF_STRING(GaugeNameStr);
111 DECLARE_DEF_STRING(StaticBoxNameStr);
112 DECLARE_DEF_STRING(StaticTextNameStr);
113 DECLARE_DEF_STRING(ListBoxNameStr);
114 DECLARE_DEF_STRING(TextCtrlNameStr);
115 DECLARE_DEF_STRING(ScrollBarNameStr);
116 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
117 DECLARE_DEF_STRING(StaticBitmapNameStr);
118 DECLARE_DEF_STRING(RadioBoxNameStr);
119 DECLARE_DEF_STRING(RadioButtonNameStr);
120 DECLARE_DEF_STRING(SliderNameStr);
121
122 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
123 DECLARE_DEF_STRING(SpinCtrlNameStr);
124
125 static const wxString wxPyEmptyString(wxT(""));
126 #ifdef __cplusplus
127 extern "C" {
128 #endif
129 static int _wrap_wxDefaultValidator_set(PyObject *val) {
130
131 PyErr_SetString(PyExc_TypeError,"Variable wxDefaultValidator is read-only.");
132 return 1;
133 }
134
135 static PyObject *_wrap_wxDefaultValidator_get() {
136 PyObject * pyobj;
137 char ptemp[128];
138
139 SWIG_MakePtr(ptemp,(char *) &wxDefaultValidator,"_wxValidator_p");
140 pyobj = PyString_FromString(ptemp);
141 return pyobj;
142 }
143
144 static void *SwigwxControlTowxWindow(void *ptr) {
145 wxControl *src;
146 wxWindow *dest;
147 src = (wxControl *) ptr;
148 dest = (wxWindow *) src;
149 return (void *) dest;
150 }
151
152 static void *SwigwxControlTowxEvtHandler(void *ptr) {
153 wxControl *src;
154 wxEvtHandler *dest;
155 src = (wxControl *) ptr;
156 dest = (wxEvtHandler *) src;
157 return (void *) dest;
158 }
159
160 static void *SwigwxControlTowxObject(void *ptr) {
161 wxControl *src;
162 wxObject *dest;
163 src = (wxControl *) ptr;
164 dest = (wxObject *) src;
165 return (void *) dest;
166 }
167
168 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
169 static PyObject *_wrap_new_wxControl(PyObject *self, PyObject *args, PyObject *kwargs) {
170 PyObject * _resultobj;
171 wxControl * _result;
172 wxWindow * _arg0;
173 wxWindowID _arg1;
174 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
175 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
176 long _arg4 = (long ) 0;
177 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
178 wxString * _arg6 = (wxString *) &wxPyControlNameStr;
179 PyObject * _argo0 = 0;
180 wxPoint temp;
181 PyObject * _obj2 = 0;
182 wxSize temp0;
183 PyObject * _obj3 = 0;
184 PyObject * _argo5 = 0;
185 PyObject * _obj6 = 0;
186 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
187 char _ptemp[128];
188
189 self = self;
190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOO:new_wxControl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
191 return NULL;
192 if (_argo0) {
193 if (_argo0 == Py_None) { _arg0 = NULL; }
194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
196 return NULL;
197 }
198 }
199 if (_obj2)
200 {
201 _arg2 = &temp;
202 if (! wxPoint_helper(_obj2, &_arg2))
203 return NULL;
204 }
205 if (_obj3)
206 {
207 _arg3 = &temp0;
208 if (! wxSize_helper(_obj3, &_arg3))
209 return NULL;
210 }
211 if (_argo5) {
212 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
213 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
214 return NULL;
215 }
216 }
217 if (_obj6)
218 {
219 _arg6 = wxString_in_helper(_obj6);
220 if (_arg6 == NULL)
221 return NULL;
222 }
223 {
224 PyThreadState* __tstate = wxPyBeginAllowThreads();
225 _result = (wxControl *)new_wxControl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
226
227 wxPyEndAllowThreads(__tstate);
228 if (PyErr_Occurred()) return NULL;
229 } if (_result) {
230 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
231 _resultobj = Py_BuildValue("s",_ptemp);
232 } else {
233 Py_INCREF(Py_None);
234 _resultobj = Py_None;
235 }
236 {
237 if (_obj6)
238 delete _arg6;
239 }
240 return _resultobj;
241 }
242
243 #define new_wxPreControl() (new wxControl())
244 static PyObject *_wrap_new_wxPreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
245 PyObject * _resultobj;
246 wxControl * _result;
247 char *_kwnames[] = { NULL };
248 char _ptemp[128];
249
250 self = self;
251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreControl",_kwnames))
252 return NULL;
253 {
254 PyThreadState* __tstate = wxPyBeginAllowThreads();
255 _result = (wxControl *)new_wxPreControl();
256
257 wxPyEndAllowThreads(__tstate);
258 if (PyErr_Occurred()) return NULL;
259 } if (_result) {
260 SWIG_MakePtr(_ptemp, (char *) _result,"_wxControl_p");
261 _resultobj = Py_BuildValue("s",_ptemp);
262 } else {
263 Py_INCREF(Py_None);
264 _resultobj = Py_None;
265 }
266 return _resultobj;
267 }
268
269 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
270 static PyObject *_wrap_wxControl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
271 PyObject * _resultobj;
272 bool _result;
273 wxControl * _arg0;
274 wxWindow * _arg1;
275 wxWindowID _arg2;
276 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
277 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
278 long _arg5 = (long ) 0;
279 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
280 wxString * _arg7 = (wxString *) &wxPyControlNameStr;
281 PyObject * _argo0 = 0;
282 PyObject * _argo1 = 0;
283 wxPoint temp;
284 PyObject * _obj3 = 0;
285 wxSize temp0;
286 PyObject * _obj4 = 0;
287 PyObject * _argo6 = 0;
288 PyObject * _obj7 = 0;
289 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
290
291 self = self;
292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlOO:wxControl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
293 return NULL;
294 if (_argo0) {
295 if (_argo0 == Py_None) { _arg0 = NULL; }
296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
298 return NULL;
299 }
300 }
301 if (_argo1) {
302 if (_argo1 == Py_None) { _arg1 = NULL; }
303 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
304 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
305 return NULL;
306 }
307 }
308 if (_obj3)
309 {
310 _arg3 = &temp;
311 if (! wxPoint_helper(_obj3, &_arg3))
312 return NULL;
313 }
314 if (_obj4)
315 {
316 _arg4 = &temp0;
317 if (! wxSize_helper(_obj4, &_arg4))
318 return NULL;
319 }
320 if (_argo6) {
321 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
322 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
323 return NULL;
324 }
325 }
326 if (_obj7)
327 {
328 _arg7 = wxString_in_helper(_obj7);
329 if (_arg7 == NULL)
330 return NULL;
331 }
332 {
333 PyThreadState* __tstate = wxPyBeginAllowThreads();
334 _result = (bool )wxControl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
335
336 wxPyEndAllowThreads(__tstate);
337 if (PyErr_Occurred()) return NULL;
338 } _resultobj = Py_BuildValue("i",_result);
339 {
340 if (_obj7)
341 delete _arg7;
342 }
343 return _resultobj;
344 }
345
346 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
347 static PyObject *_wrap_wxControl_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
348 PyObject * _resultobj;
349 wxControl * _arg0;
350 wxCommandEvent * _arg1;
351 PyObject * _argo0 = 0;
352 PyObject * _argo1 = 0;
353 char *_kwnames[] = { "self","event", NULL };
354
355 self = self;
356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_Command",_kwnames,&_argo0,&_argo1))
357 return NULL;
358 if (_argo0) {
359 if (_argo0 == Py_None) { _arg0 = NULL; }
360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
362 return NULL;
363 }
364 }
365 if (_argo1) {
366 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxCommandEvent_p")) {
367 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
368 return NULL;
369 }
370 }
371 {
372 PyThreadState* __tstate = wxPyBeginAllowThreads();
373 wxControl_Command(_arg0,*_arg1);
374
375 wxPyEndAllowThreads(__tstate);
376 if (PyErr_Occurred()) return NULL;
377 } Py_INCREF(Py_None);
378 _resultobj = Py_None;
379 return _resultobj;
380 }
381
382 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
383 static PyObject *_wrap_wxControl_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
384 PyObject * _resultobj;
385 wxString * _result;
386 wxControl * _arg0;
387 PyObject * _argo0 = 0;
388 char *_kwnames[] = { "self", NULL };
389
390 self = self;
391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControl_GetLabel",_kwnames,&_argo0))
392 return NULL;
393 if (_argo0) {
394 if (_argo0 == Py_None) { _arg0 = NULL; }
395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
397 return NULL;
398 }
399 }
400 {
401 PyThreadState* __tstate = wxPyBeginAllowThreads();
402 _result = new wxString (wxControl_GetLabel(_arg0));
403
404 wxPyEndAllowThreads(__tstate);
405 if (PyErr_Occurred()) return NULL;
406 }{
407 #if wxUSE_UNICODE
408 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
409 #else
410 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
411 #endif
412 }
413 {
414 delete _result;
415 }
416 return _resultobj;
417 }
418
419 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
420 static PyObject *_wrap_wxControl_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
421 PyObject * _resultobj;
422 wxControl * _arg0;
423 wxString * _arg1;
424 PyObject * _argo0 = 0;
425 PyObject * _obj1 = 0;
426 char *_kwnames[] = { "self","label", NULL };
427
428 self = self;
429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControl_SetLabel",_kwnames,&_argo0,&_obj1))
430 return NULL;
431 if (_argo0) {
432 if (_argo0 == Py_None) { _arg0 = NULL; }
433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControl_p")) {
434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
435 return NULL;
436 }
437 }
438 {
439 _arg1 = wxString_in_helper(_obj1);
440 if (_arg1 == NULL)
441 return NULL;
442 }
443 {
444 PyThreadState* __tstate = wxPyBeginAllowThreads();
445 wxControl_SetLabel(_arg0,*_arg1);
446
447 wxPyEndAllowThreads(__tstate);
448 if (PyErr_Occurred()) return NULL;
449 } Py_INCREF(Py_None);
450 _resultobj = Py_None;
451 {
452 if (_obj1)
453 delete _arg1;
454 }
455 return _resultobj;
456 }
457
458 static void *SwigwxControlWithItemsTowxControl(void *ptr) {
459 wxControlWithItems *src;
460 wxControl *dest;
461 src = (wxControlWithItems *) ptr;
462 dest = (wxControl *) src;
463 return (void *) dest;
464 }
465
466 static void *SwigwxControlWithItemsTowxWindow(void *ptr) {
467 wxControlWithItems *src;
468 wxWindow *dest;
469 src = (wxControlWithItems *) ptr;
470 dest = (wxWindow *) src;
471 return (void *) dest;
472 }
473
474 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr) {
475 wxControlWithItems *src;
476 wxEvtHandler *dest;
477 src = (wxControlWithItems *) ptr;
478 dest = (wxEvtHandler *) src;
479 return (void *) dest;
480 }
481
482 static void *SwigwxControlWithItemsTowxObject(void *ptr) {
483 wxControlWithItems *src;
484 wxObject *dest;
485 src = (wxControlWithItems *) ptr;
486 dest = (wxObject *) src;
487 return (void *) dest;
488 }
489
490 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
491 static PyObject *_wrap_wxControlWithItems_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
492 PyObject * _resultobj;
493 wxControlWithItems * _arg0;
494 int _arg1;
495 PyObject * _argo0 = 0;
496 char *_kwnames[] = { "self","n", NULL };
497
498 self = self;
499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Delete",_kwnames,&_argo0,&_arg1))
500 return NULL;
501 if (_argo0) {
502 if (_argo0 == Py_None) { _arg0 = NULL; }
503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
505 return NULL;
506 }
507 }
508 {
509 PyThreadState* __tstate = wxPyBeginAllowThreads();
510 wxControlWithItems_Delete(_arg0,_arg1);
511
512 wxPyEndAllowThreads(__tstate);
513 if (PyErr_Occurred()) return NULL;
514 } Py_INCREF(Py_None);
515 _resultobj = Py_None;
516 return _resultobj;
517 }
518
519 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
520 static PyObject *_wrap_wxControlWithItems_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
521 PyObject * _resultobj;
522 int _result;
523 wxControlWithItems * _arg0;
524 PyObject * _argo0 = 0;
525 char *_kwnames[] = { "self", NULL };
526
527 self = self;
528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetCount",_kwnames,&_argo0))
529 return NULL;
530 if (_argo0) {
531 if (_argo0 == Py_None) { _arg0 = NULL; }
532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
534 return NULL;
535 }
536 }
537 {
538 PyThreadState* __tstate = wxPyBeginAllowThreads();
539 _result = (int )wxControlWithItems_GetCount(_arg0);
540
541 wxPyEndAllowThreads(__tstate);
542 if (PyErr_Occurred()) return NULL;
543 } _resultobj = Py_BuildValue("i",_result);
544 return _resultobj;
545 }
546
547 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
548 static PyObject *_wrap_wxControlWithItems_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
549 PyObject * _resultobj;
550 wxString * _result;
551 wxControlWithItems * _arg0;
552 int _arg1;
553 PyObject * _argo0 = 0;
554 char *_kwnames[] = { "self","n", NULL };
555
556 self = self;
557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetString",_kwnames,&_argo0,&_arg1))
558 return NULL;
559 if (_argo0) {
560 if (_argo0 == Py_None) { _arg0 = NULL; }
561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
563 return NULL;
564 }
565 }
566 {
567 PyThreadState* __tstate = wxPyBeginAllowThreads();
568 _result = new wxString (wxControlWithItems_GetString(_arg0,_arg1));
569
570 wxPyEndAllowThreads(__tstate);
571 if (PyErr_Occurred()) return NULL;
572 }{
573 #if wxUSE_UNICODE
574 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
575 #else
576 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
577 #endif
578 }
579 {
580 delete _result;
581 }
582 return _resultobj;
583 }
584
585 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
586 static PyObject *_wrap_wxControlWithItems_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
587 PyObject * _resultobj;
588 wxControlWithItems * _arg0;
589 int _arg1;
590 wxString * _arg2;
591 PyObject * _argo0 = 0;
592 PyObject * _obj2 = 0;
593 char *_kwnames[] = { "self","n","s", NULL };
594
595 self = self;
596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
597 return NULL;
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
602 return NULL;
603 }
604 }
605 {
606 _arg2 = wxString_in_helper(_obj2);
607 if (_arg2 == NULL)
608 return NULL;
609 }
610 {
611 PyThreadState* __tstate = wxPyBeginAllowThreads();
612 wxControlWithItems_SetString(_arg0,_arg1,*_arg2);
613
614 wxPyEndAllowThreads(__tstate);
615 if (PyErr_Occurred()) return NULL;
616 } Py_INCREF(Py_None);
617 _resultobj = Py_None;
618 {
619 if (_obj2)
620 delete _arg2;
621 }
622 return _resultobj;
623 }
624
625 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
626 static PyObject *_wrap_wxControlWithItems_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
627 PyObject * _resultobj;
628 int _result;
629 wxControlWithItems * _arg0;
630 wxString * _arg1;
631 PyObject * _argo0 = 0;
632 PyObject * _obj1 = 0;
633 char *_kwnames[] = { "self","s", NULL };
634
635 self = self;
636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_FindString",_kwnames,&_argo0,&_obj1))
637 return NULL;
638 if (_argo0) {
639 if (_argo0 == Py_None) { _arg0 = NULL; }
640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
642 return NULL;
643 }
644 }
645 {
646 _arg1 = wxString_in_helper(_obj1);
647 if (_arg1 == NULL)
648 return NULL;
649 }
650 {
651 PyThreadState* __tstate = wxPyBeginAllowThreads();
652 _result = (int )wxControlWithItems_FindString(_arg0,*_arg1);
653
654 wxPyEndAllowThreads(__tstate);
655 if (PyErr_Occurred()) return NULL;
656 } _resultobj = Py_BuildValue("i",_result);
657 {
658 if (_obj1)
659 delete _arg1;
660 }
661 return _resultobj;
662 }
663
664 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
665 static PyObject *_wrap_wxControlWithItems_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
666 PyObject * _resultobj;
667 wxControlWithItems * _arg0;
668 int _arg1;
669 PyObject * _argo0 = 0;
670 char *_kwnames[] = { "self","n", NULL };
671
672 self = self;
673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_Select",_kwnames,&_argo0,&_arg1))
674 return NULL;
675 if (_argo0) {
676 if (_argo0 == Py_None) { _arg0 = NULL; }
677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
679 return NULL;
680 }
681 }
682 {
683 PyThreadState* __tstate = wxPyBeginAllowThreads();
684 wxControlWithItems_Select(_arg0,_arg1);
685
686 wxPyEndAllowThreads(__tstate);
687 if (PyErr_Occurred()) return NULL;
688 } Py_INCREF(Py_None);
689 _resultobj = Py_None;
690 return _resultobj;
691 }
692
693 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
694 static PyObject *_wrap_wxControlWithItems_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
695 PyObject * _resultobj;
696 int _result;
697 wxControlWithItems * _arg0;
698 PyObject * _argo0 = 0;
699 char *_kwnames[] = { "self", NULL };
700
701 self = self;
702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetSelection",_kwnames,&_argo0))
703 return NULL;
704 if (_argo0) {
705 if (_argo0 == Py_None) { _arg0 = NULL; }
706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
708 return NULL;
709 }
710 }
711 {
712 PyThreadState* __tstate = wxPyBeginAllowThreads();
713 _result = (int )wxControlWithItems_GetSelection(_arg0);
714
715 wxPyEndAllowThreads(__tstate);
716 if (PyErr_Occurred()) return NULL;
717 } _resultobj = Py_BuildValue("i",_result);
718 return _resultobj;
719 }
720
721 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
722 static PyObject *_wrap_wxControlWithItems_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
723 PyObject * _resultobj;
724 wxString * _result;
725 wxControlWithItems * _arg0;
726 PyObject * _argo0 = 0;
727 char *_kwnames[] = { "self", NULL };
728
729 self = self;
730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxControlWithItems_GetStringSelection",_kwnames,&_argo0))
731 return NULL;
732 if (_argo0) {
733 if (_argo0 == Py_None) { _arg0 = NULL; }
734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
736 return NULL;
737 }
738 }
739 {
740 PyThreadState* __tstate = wxPyBeginAllowThreads();
741 _result = new wxString (wxControlWithItems_GetStringSelection(_arg0));
742
743 wxPyEndAllowThreads(__tstate);
744 if (PyErr_Occurred()) return NULL;
745 }{
746 #if wxUSE_UNICODE
747 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
748 #else
749 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
750 #endif
751 }
752 {
753 delete _result;
754 }
755 return _resultobj;
756 }
757
758 static void wxControlWithItems_Append(wxControlWithItems *self,const wxString & item,PyObject * clientData) {
759 if (clientData) {
760 wxPyClientData* data = new wxPyClientData(clientData);
761 self->Append(item, data);
762 } else
763 self->Append(item);
764 }
765 static PyObject *_wrap_wxControlWithItems_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
766 PyObject * _resultobj;
767 wxControlWithItems * _arg0;
768 wxString * _arg1;
769 PyObject * _arg2 = (PyObject *) NULL;
770 PyObject * _argo0 = 0;
771 PyObject * _obj1 = 0;
772 PyObject * _obj2 = 0;
773 char *_kwnames[] = { "self","item","clientData", NULL };
774
775 self = self;
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxControlWithItems_Append",_kwnames,&_argo0,&_obj1,&_obj2))
777 return NULL;
778 if (_argo0) {
779 if (_argo0 == Py_None) { _arg0 = NULL; }
780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
782 return NULL;
783 }
784 }
785 {
786 _arg1 = wxString_in_helper(_obj1);
787 if (_arg1 == NULL)
788 return NULL;
789 }
790 if (_obj2)
791 {
792 _arg2 = _obj2;
793 }
794 {
795 PyThreadState* __tstate = wxPyBeginAllowThreads();
796 wxControlWithItems_Append(_arg0,*_arg1,_arg2);
797
798 wxPyEndAllowThreads(__tstate);
799 if (PyErr_Occurred()) return NULL;
800 } Py_INCREF(Py_None);
801 _resultobj = Py_None;
802 {
803 if (_obj1)
804 delete _arg1;
805 }
806 return _resultobj;
807 }
808
809 static PyObject * wxControlWithItems_GetClientData(wxControlWithItems *self,int n) {
810 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
811 if (data) {
812 Py_INCREF(data->m_obj);
813 return data->m_obj;
814 } else {
815 Py_INCREF(Py_None);
816 return Py_None;
817 }
818 }
819 static PyObject *_wrap_wxControlWithItems_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
820 PyObject * _resultobj;
821 PyObject * _result;
822 wxControlWithItems * _arg0;
823 int _arg1;
824 PyObject * _argo0 = 0;
825 char *_kwnames[] = { "self","n", NULL };
826
827 self = self;
828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxControlWithItems_GetClientData",_kwnames,&_argo0,&_arg1))
829 return NULL;
830 if (_argo0) {
831 if (_argo0 == Py_None) { _arg0 = NULL; }
832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
834 return NULL;
835 }
836 }
837 {
838 PyThreadState* __tstate = wxPyBeginAllowThreads();
839 _result = (PyObject *)wxControlWithItems_GetClientData(_arg0,_arg1);
840
841 wxPyEndAllowThreads(__tstate);
842 if (PyErr_Occurred()) return NULL;
843 }{
844 _resultobj = _result;
845 }
846 return _resultobj;
847 }
848
849 static void wxControlWithItems_SetClientData(wxControlWithItems *self,int n,PyObject * clientData) {
850 wxPyClientData* data = new wxPyClientData(clientData);
851 self->SetClientObject(n, data);
852 }
853 static PyObject *_wrap_wxControlWithItems_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
854 PyObject * _resultobj;
855 wxControlWithItems * _arg0;
856 int _arg1;
857 PyObject * _arg2;
858 PyObject * _argo0 = 0;
859 PyObject * _obj2 = 0;
860 char *_kwnames[] = { "self","n","clientData", NULL };
861
862 self = self;
863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxControlWithItems_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
864 return NULL;
865 if (_argo0) {
866 if (_argo0 == Py_None) { _arg0 = NULL; }
867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
869 return NULL;
870 }
871 }
872 {
873 _arg2 = _obj2;
874 }
875 {
876 PyThreadState* __tstate = wxPyBeginAllowThreads();
877 wxControlWithItems_SetClientData(_arg0,_arg1,_arg2);
878
879 wxPyEndAllowThreads(__tstate);
880 if (PyErr_Occurred()) return NULL;
881 } Py_INCREF(Py_None);
882 _resultobj = Py_None;
883 return _resultobj;
884 }
885
886 #define wxControlWithItems_AppendItems(_swigobj,_swigarg0) (_swigobj->Append(_swigarg0))
887 static PyObject *_wrap_wxControlWithItems_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
888 PyObject * _resultobj;
889 wxControlWithItems * _arg0;
890 wxArrayString * _arg1;
891 PyObject * _argo0 = 0;
892 PyObject * _obj1 = 0;
893 char *_kwnames[] = { "self","strings", NULL };
894
895 self = self;
896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxControlWithItems_AppendItems",_kwnames,&_argo0,&_obj1))
897 return NULL;
898 if (_argo0) {
899 if (_argo0 == Py_None) { _arg0 = NULL; }
900 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxControlWithItems_p")) {
901 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxControlWithItems_AppendItems. Expected _wxControlWithItems_p.");
902 return NULL;
903 }
904 }
905 {
906 if (! PySequence_Check(_obj1)) {
907 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
908 return NULL;
909 }
910 _arg1 = new wxArrayString;
911 int i, len=PySequence_Length(_obj1);
912 for (i=0; i<len; i++) {
913 PyObject* item = PySequence_GetItem(_obj1, i);
914 #if wxUSE_UNICODE
915 PyObject* str = PyObject_Unicode(item);
916 #else
917 PyObject* str = PyObject_Str(item);
918 #endif
919 _arg1->Add(Py2wxString(str));
920 Py_DECREF(item);
921 Py_DECREF(str);
922 }
923 }
924 {
925 PyThreadState* __tstate = wxPyBeginAllowThreads();
926 wxControlWithItems_AppendItems(_arg0,*_arg1);
927
928 wxPyEndAllowThreads(__tstate);
929 if (PyErr_Occurred()) return NULL;
930 } Py_INCREF(Py_None);
931 _resultobj = Py_None;
932 {
933 if (_obj1)
934 delete _arg1;
935 }
936 return _resultobj;
937 }
938
939 static void *SwigwxButtonTowxControl(void *ptr) {
940 wxButton *src;
941 wxControl *dest;
942 src = (wxButton *) ptr;
943 dest = (wxControl *) src;
944 return (void *) dest;
945 }
946
947 static void *SwigwxButtonTowxWindow(void *ptr) {
948 wxButton *src;
949 wxWindow *dest;
950 src = (wxButton *) ptr;
951 dest = (wxWindow *) src;
952 return (void *) dest;
953 }
954
955 static void *SwigwxButtonTowxEvtHandler(void *ptr) {
956 wxButton *src;
957 wxEvtHandler *dest;
958 src = (wxButton *) ptr;
959 dest = (wxEvtHandler *) src;
960 return (void *) dest;
961 }
962
963 static void *SwigwxButtonTowxObject(void *ptr) {
964 wxButton *src;
965 wxObject *dest;
966 src = (wxButton *) ptr;
967 dest = (wxObject *) src;
968 return (void *) dest;
969 }
970
971 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
972 static PyObject *_wrap_new_wxButton(PyObject *self, PyObject *args, PyObject *kwargs) {
973 PyObject * _resultobj;
974 wxButton * _result;
975 wxWindow * _arg0;
976 wxWindowID _arg1;
977 wxString * _arg2;
978 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
979 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
980 long _arg5 = (long ) 0;
981 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
982 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
983 PyObject * _argo0 = 0;
984 PyObject * _obj2 = 0;
985 wxPoint temp;
986 PyObject * _obj3 = 0;
987 wxSize temp0;
988 PyObject * _obj4 = 0;
989 PyObject * _argo6 = 0;
990 PyObject * _obj7 = 0;
991 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
992 char _ptemp[128];
993
994 self = self;
995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
996 return NULL;
997 if (_argo0) {
998 if (_argo0 == Py_None) { _arg0 = NULL; }
999 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1000 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
1001 return NULL;
1002 }
1003 }
1004 {
1005 _arg2 = wxString_in_helper(_obj2);
1006 if (_arg2 == NULL)
1007 return NULL;
1008 }
1009 if (_obj3)
1010 {
1011 _arg3 = &temp;
1012 if (! wxPoint_helper(_obj3, &_arg3))
1013 return NULL;
1014 }
1015 if (_obj4)
1016 {
1017 _arg4 = &temp0;
1018 if (! wxSize_helper(_obj4, &_arg4))
1019 return NULL;
1020 }
1021 if (_argo6) {
1022 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
1023 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
1024 return NULL;
1025 }
1026 }
1027 if (_obj7)
1028 {
1029 _arg7 = wxString_in_helper(_obj7);
1030 if (_arg7 == NULL)
1031 return NULL;
1032 }
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 _result = (wxButton *)new_wxButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) return NULL;
1039 } if (_result) {
1040 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1041 _resultobj = Py_BuildValue("s",_ptemp);
1042 } else {
1043 Py_INCREF(Py_None);
1044 _resultobj = Py_None;
1045 }
1046 {
1047 if (_obj2)
1048 delete _arg2;
1049 }
1050 {
1051 if (_obj7)
1052 delete _arg7;
1053 }
1054 return _resultobj;
1055 }
1056
1057 #define new_wxPreButton() (new wxButton())
1058 static PyObject *_wrap_new_wxPreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1059 PyObject * _resultobj;
1060 wxButton * _result;
1061 char *_kwnames[] = { NULL };
1062 char _ptemp[128];
1063
1064 self = self;
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreButton",_kwnames))
1066 return NULL;
1067 {
1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
1069 _result = (wxButton *)new_wxPreButton();
1070
1071 wxPyEndAllowThreads(__tstate);
1072 if (PyErr_Occurred()) return NULL;
1073 } if (_result) {
1074 SWIG_MakePtr(_ptemp, (char *) _result,"_wxButton_p");
1075 _resultobj = Py_BuildValue("s",_ptemp);
1076 } else {
1077 Py_INCREF(Py_None);
1078 _resultobj = Py_None;
1079 }
1080 return _resultobj;
1081 }
1082
1083 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1084 static PyObject *_wrap_wxButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1085 PyObject * _resultobj;
1086 bool _result;
1087 wxButton * _arg0;
1088 wxWindow * _arg1;
1089 wxWindowID _arg2;
1090 wxString * _arg3;
1091 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1092 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1093 long _arg6 = (long ) 0;
1094 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1095 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
1096 PyObject * _argo0 = 0;
1097 PyObject * _argo1 = 0;
1098 PyObject * _obj3 = 0;
1099 wxPoint temp;
1100 PyObject * _obj4 = 0;
1101 wxSize temp0;
1102 PyObject * _obj5 = 0;
1103 PyObject * _argo7 = 0;
1104 PyObject * _obj8 = 0;
1105 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
1106
1107 self = self;
1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
1109 return NULL;
1110 if (_argo0) {
1111 if (_argo0 == Py_None) { _arg0 = NULL; }
1112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1114 return NULL;
1115 }
1116 }
1117 if (_argo1) {
1118 if (_argo1 == Py_None) { _arg1 = NULL; }
1119 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1120 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1121 return NULL;
1122 }
1123 }
1124 {
1125 _arg3 = wxString_in_helper(_obj3);
1126 if (_arg3 == NULL)
1127 return NULL;
1128 }
1129 if (_obj4)
1130 {
1131 _arg4 = &temp;
1132 if (! wxPoint_helper(_obj4, &_arg4))
1133 return NULL;
1134 }
1135 if (_obj5)
1136 {
1137 _arg5 = &temp0;
1138 if (! wxSize_helper(_obj5, &_arg5))
1139 return NULL;
1140 }
1141 if (_argo7) {
1142 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1143 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1144 return NULL;
1145 }
1146 }
1147 if (_obj8)
1148 {
1149 _arg8 = wxString_in_helper(_obj8);
1150 if (_arg8 == NULL)
1151 return NULL;
1152 }
1153 {
1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
1155 _result = (bool )wxButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
1156
1157 wxPyEndAllowThreads(__tstate);
1158 if (PyErr_Occurred()) return NULL;
1159 } _resultobj = Py_BuildValue("i",_result);
1160 {
1161 if (_obj3)
1162 delete _arg3;
1163 }
1164 {
1165 if (_obj8)
1166 delete _arg8;
1167 }
1168 return _resultobj;
1169 }
1170
1171 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1172 static PyObject *_wrap_wxButton_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1173 PyObject * _resultobj;
1174 wxButton * _arg0;
1175 PyObject * _argo0 = 0;
1176 char *_kwnames[] = { "self", NULL };
1177
1178 self = self;
1179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxButton_SetDefault",_kwnames,&_argo0))
1180 return NULL;
1181 if (_argo0) {
1182 if (_argo0 == Py_None) { _arg0 = NULL; }
1183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1185 return NULL;
1186 }
1187 }
1188 {
1189 PyThreadState* __tstate = wxPyBeginAllowThreads();
1190 wxButton_SetDefault(_arg0);
1191
1192 wxPyEndAllowThreads(__tstate);
1193 if (PyErr_Occurred()) return NULL;
1194 } Py_INCREF(Py_None);
1195 _resultobj = Py_None;
1196 return _resultobj;
1197 }
1198
1199 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1200 static PyObject *_wrap_wxButton_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1201 PyObject * _resultobj;
1202 wxButton * _arg0;
1203 wxColour * _arg1;
1204 PyObject * _argo0 = 0;
1205 wxColour temp;
1206 PyObject * _obj1 = 0;
1207 char *_kwnames[] = { "self","colour", NULL };
1208
1209 self = self;
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
1211 return NULL;
1212 if (_argo0) {
1213 if (_argo0 == Py_None) { _arg0 = NULL; }
1214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1216 return NULL;
1217 }
1218 }
1219 {
1220 _arg1 = &temp;
1221 if (! wxColour_helper(_obj1, &_arg1))
1222 return NULL;
1223 }
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
1226 wxButton_SetBackgroundColour(_arg0,*_arg1);
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) return NULL;
1230 } Py_INCREF(Py_None);
1231 _resultobj = Py_None;
1232 return _resultobj;
1233 }
1234
1235 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1236 static PyObject *_wrap_wxButton_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject * _resultobj;
1238 wxButton * _arg0;
1239 wxColour * _arg1;
1240 PyObject * _argo0 = 0;
1241 wxColour temp;
1242 PyObject * _obj1 = 0;
1243 char *_kwnames[] = { "self","colour", NULL };
1244
1245 self = self;
1246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxButton_SetForegroundColour",_kwnames,&_argo0,&_obj1))
1247 return NULL;
1248 if (_argo0) {
1249 if (_argo0 == Py_None) { _arg0 = NULL; }
1250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxButton_p")) {
1251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1252 return NULL;
1253 }
1254 }
1255 {
1256 _arg1 = &temp;
1257 if (! wxColour_helper(_obj1, &_arg1))
1258 return NULL;
1259 }
1260 {
1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
1262 wxButton_SetForegroundColour(_arg0,*_arg1);
1263
1264 wxPyEndAllowThreads(__tstate);
1265 if (PyErr_Occurred()) return NULL;
1266 } Py_INCREF(Py_None);
1267 _resultobj = Py_None;
1268 return _resultobj;
1269 }
1270
1271 static PyObject *_wrap_wxButton_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject * _resultobj;
1273 wxSize * _result;
1274 char *_kwnames[] = { NULL };
1275 char _ptemp[128];
1276
1277 self = self;
1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":wxButton_GetDefaultSize",_kwnames))
1279 return NULL;
1280 {
1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
1282 _result = new wxSize (wxButton::GetDefaultSize());
1283
1284 wxPyEndAllowThreads(__tstate);
1285 if (PyErr_Occurred()) return NULL;
1286 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxSize_p");
1287 _resultobj = Py_BuildValue("s",_ptemp);
1288 return _resultobj;
1289 }
1290
1291 static void *SwigwxBitmapButtonTowxButton(void *ptr) {
1292 wxBitmapButton *src;
1293 wxButton *dest;
1294 src = (wxBitmapButton *) ptr;
1295 dest = (wxButton *) src;
1296 return (void *) dest;
1297 }
1298
1299 static void *SwigwxBitmapButtonTowxControl(void *ptr) {
1300 wxBitmapButton *src;
1301 wxControl *dest;
1302 src = (wxBitmapButton *) ptr;
1303 dest = (wxControl *) src;
1304 return (void *) dest;
1305 }
1306
1307 static void *SwigwxBitmapButtonTowxWindow(void *ptr) {
1308 wxBitmapButton *src;
1309 wxWindow *dest;
1310 src = (wxBitmapButton *) ptr;
1311 dest = (wxWindow *) src;
1312 return (void *) dest;
1313 }
1314
1315 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr) {
1316 wxBitmapButton *src;
1317 wxEvtHandler *dest;
1318 src = (wxBitmapButton *) ptr;
1319 dest = (wxEvtHandler *) src;
1320 return (void *) dest;
1321 }
1322
1323 static void *SwigwxBitmapButtonTowxObject(void *ptr) {
1324 wxBitmapButton *src;
1325 wxObject *dest;
1326 src = (wxBitmapButton *) ptr;
1327 dest = (wxObject *) src;
1328 return (void *) dest;
1329 }
1330
1331 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1332 static PyObject *_wrap_new_wxBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1333 PyObject * _resultobj;
1334 wxBitmapButton * _result;
1335 wxWindow * _arg0;
1336 wxWindowID _arg1;
1337 wxBitmap * _arg2;
1338 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1339 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1340 long _arg5 = (long ) wxBU_AUTODRAW;
1341 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1342 wxString * _arg7 = (wxString *) &wxPyButtonNameStr;
1343 PyObject * _argo0 = 0;
1344 PyObject * _argo2 = 0;
1345 wxPoint temp;
1346 PyObject * _obj3 = 0;
1347 wxSize temp0;
1348 PyObject * _obj4 = 0;
1349 PyObject * _argo6 = 0;
1350 PyObject * _obj7 = 0;
1351 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL };
1352 char _ptemp[128];
1353
1354 self = self;
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxBitmapButton",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
1356 return NULL;
1357 if (_argo0) {
1358 if (_argo0 == Py_None) { _arg0 = NULL; }
1359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1361 return NULL;
1362 }
1363 }
1364 if (_argo2) {
1365 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
1366 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1367 return NULL;
1368 }
1369 }
1370 if (_obj3)
1371 {
1372 _arg3 = &temp;
1373 if (! wxPoint_helper(_obj3, &_arg3))
1374 return NULL;
1375 }
1376 if (_obj4)
1377 {
1378 _arg4 = &temp0;
1379 if (! wxSize_helper(_obj4, &_arg4))
1380 return NULL;
1381 }
1382 if (_argo6) {
1383 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
1384 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1385 return NULL;
1386 }
1387 }
1388 if (_obj7)
1389 {
1390 _arg7 = wxString_in_helper(_obj7);
1391 if (_arg7 == NULL)
1392 return NULL;
1393 }
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 _result = (wxBitmapButton *)new_wxBitmapButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) return NULL;
1400 } if (_result) {
1401 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1402 _resultobj = Py_BuildValue("s",_ptemp);
1403 } else {
1404 Py_INCREF(Py_None);
1405 _resultobj = Py_None;
1406 }
1407 {
1408 if (_obj7)
1409 delete _arg7;
1410 }
1411 return _resultobj;
1412 }
1413
1414 #define new_wxPreBitmapButton() (new wxBitmapButton())
1415 static PyObject *_wrap_new_wxPreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1416 PyObject * _resultobj;
1417 wxBitmapButton * _result;
1418 char *_kwnames[] = { NULL };
1419 char _ptemp[128];
1420
1421 self = self;
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreBitmapButton",_kwnames))
1423 return NULL;
1424 {
1425 PyThreadState* __tstate = wxPyBeginAllowThreads();
1426 _result = (wxBitmapButton *)new_wxPreBitmapButton();
1427
1428 wxPyEndAllowThreads(__tstate);
1429 if (PyErr_Occurred()) return NULL;
1430 } if (_result) {
1431 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmapButton_p");
1432 _resultobj = Py_BuildValue("s",_ptemp);
1433 } else {
1434 Py_INCREF(Py_None);
1435 _resultobj = Py_None;
1436 }
1437 return _resultobj;
1438 }
1439
1440 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1441 static PyObject *_wrap_wxBitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1442 PyObject * _resultobj;
1443 bool _result;
1444 wxBitmapButton * _arg0;
1445 wxWindow * _arg1;
1446 wxWindowID _arg2;
1447 wxBitmap * _arg3;
1448 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
1449 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
1450 long _arg6 = (long ) wxBU_AUTODRAW;
1451 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
1452 wxString * _arg8 = (wxString *) &wxPyButtonNameStr;
1453 PyObject * _argo0 = 0;
1454 PyObject * _argo1 = 0;
1455 PyObject * _argo3 = 0;
1456 wxPoint temp;
1457 PyObject * _obj4 = 0;
1458 wxSize temp0;
1459 PyObject * _obj5 = 0;
1460 PyObject * _argo7 = 0;
1461 PyObject * _obj8 = 0;
1462 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL };
1463
1464 self = self;
1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxBitmapButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
1466 return NULL;
1467 if (_argo0) {
1468 if (_argo0 == Py_None) { _arg0 = NULL; }
1469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1471 return NULL;
1472 }
1473 }
1474 if (_argo1) {
1475 if (_argo1 == Py_None) { _arg1 = NULL; }
1476 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1478 return NULL;
1479 }
1480 }
1481 if (_argo3) {
1482 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
1483 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1484 return NULL;
1485 }
1486 }
1487 if (_obj4)
1488 {
1489 _arg4 = &temp;
1490 if (! wxPoint_helper(_obj4, &_arg4))
1491 return NULL;
1492 }
1493 if (_obj5)
1494 {
1495 _arg5 = &temp0;
1496 if (! wxSize_helper(_obj5, &_arg5))
1497 return NULL;
1498 }
1499 if (_argo7) {
1500 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
1501 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1502 return NULL;
1503 }
1504 }
1505 if (_obj8)
1506 {
1507 _arg8 = wxString_in_helper(_obj8);
1508 if (_arg8 == NULL)
1509 return NULL;
1510 }
1511 {
1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
1513 _result = (bool )wxBitmapButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
1514
1515 wxPyEndAllowThreads(__tstate);
1516 if (PyErr_Occurred()) return NULL;
1517 } _resultobj = Py_BuildValue("i",_result);
1518 {
1519 if (_obj8)
1520 delete _arg8;
1521 }
1522 return _resultobj;
1523 }
1524
1525 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1526 static PyObject *_wrap_wxBitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1527 PyObject * _resultobj;
1528 wxBitmap * _result;
1529 wxBitmapButton * _arg0;
1530 PyObject * _argo0 = 0;
1531 char *_kwnames[] = { "self", NULL };
1532 char _ptemp[128];
1533
1534 self = self;
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapLabel",_kwnames,&_argo0))
1536 return NULL;
1537 if (_argo0) {
1538 if (_argo0 == Py_None) { _arg0 = NULL; }
1539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1541 return NULL;
1542 }
1543 }
1544 {
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 _result = new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0));
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) return NULL;
1550 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1551 _resultobj = Py_BuildValue("s",_ptemp);
1552 return _resultobj;
1553 }
1554
1555 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1556 static PyObject *_wrap_wxBitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1557 PyObject * _resultobj;
1558 wxBitmap * _result;
1559 wxBitmapButton * _arg0;
1560 PyObject * _argo0 = 0;
1561 char *_kwnames[] = { "self", NULL };
1562 char _ptemp[128];
1563
1564 self = self;
1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapDisabled",_kwnames,&_argo0))
1566 return NULL;
1567 if (_argo0) {
1568 if (_argo0 == Py_None) { _arg0 = NULL; }
1569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1571 return NULL;
1572 }
1573 }
1574 {
1575 PyThreadState* __tstate = wxPyBeginAllowThreads();
1576 _result = new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0));
1577
1578 wxPyEndAllowThreads(__tstate);
1579 if (PyErr_Occurred()) return NULL;
1580 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1581 _resultobj = Py_BuildValue("s",_ptemp);
1582 return _resultobj;
1583 }
1584
1585 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1586 static PyObject *_wrap_wxBitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject * _resultobj;
1588 wxBitmap * _result;
1589 wxBitmapButton * _arg0;
1590 PyObject * _argo0 = 0;
1591 char *_kwnames[] = { "self", NULL };
1592 char _ptemp[128];
1593
1594 self = self;
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapFocus",_kwnames,&_argo0))
1596 return NULL;
1597 if (_argo0) {
1598 if (_argo0 == Py_None) { _arg0 = NULL; }
1599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1601 return NULL;
1602 }
1603 }
1604 {
1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
1606 _result = new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0));
1607
1608 wxPyEndAllowThreads(__tstate);
1609 if (PyErr_Occurred()) return NULL;
1610 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1611 _resultobj = Py_BuildValue("s",_ptemp);
1612 return _resultobj;
1613 }
1614
1615 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1616 static PyObject *_wrap_wxBitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject * _resultobj;
1618 wxBitmap * _result;
1619 wxBitmapButton * _arg0;
1620 PyObject * _argo0 = 0;
1621 char *_kwnames[] = { "self", NULL };
1622 char _ptemp[128];
1623
1624 self = self;
1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetBitmapSelected",_kwnames,&_argo0))
1626 return NULL;
1627 if (_argo0) {
1628 if (_argo0 == Py_None) { _arg0 = NULL; }
1629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1631 return NULL;
1632 }
1633 }
1634 {
1635 PyThreadState* __tstate = wxPyBeginAllowThreads();
1636 _result = new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0));
1637
1638 wxPyEndAllowThreads(__tstate);
1639 if (PyErr_Occurred()) return NULL;
1640 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
1641 _resultobj = Py_BuildValue("s",_ptemp);
1642 return _resultobj;
1643 }
1644
1645 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1646 static PyObject *_wrap_wxBitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1647 PyObject * _resultobj;
1648 wxBitmapButton * _arg0;
1649 wxBitmap * _arg1;
1650 PyObject * _argo0 = 0;
1651 PyObject * _argo1 = 0;
1652 char *_kwnames[] = { "self","bitmap", NULL };
1653
1654 self = self;
1655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames,&_argo0,&_argo1))
1656 return NULL;
1657 if (_argo0) {
1658 if (_argo0 == Py_None) { _arg0 = NULL; }
1659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1661 return NULL;
1662 }
1663 }
1664 if (_argo1) {
1665 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1666 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1667 return NULL;
1668 }
1669 }
1670 {
1671 PyThreadState* __tstate = wxPyBeginAllowThreads();
1672 wxBitmapButton_SetBitmapDisabled(_arg0,*_arg1);
1673
1674 wxPyEndAllowThreads(__tstate);
1675 if (PyErr_Occurred()) return NULL;
1676 } Py_INCREF(Py_None);
1677 _resultobj = Py_None;
1678 return _resultobj;
1679 }
1680
1681 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1682 static PyObject *_wrap_wxBitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject * _resultobj;
1684 wxBitmapButton * _arg0;
1685 wxBitmap * _arg1;
1686 PyObject * _argo0 = 0;
1687 PyObject * _argo1 = 0;
1688 char *_kwnames[] = { "self","bitmap", NULL };
1689
1690 self = self;
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapFocus",_kwnames,&_argo0,&_argo1))
1692 return NULL;
1693 if (_argo0) {
1694 if (_argo0 == Py_None) { _arg0 = NULL; }
1695 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1696 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1697 return NULL;
1698 }
1699 }
1700 if (_argo1) {
1701 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1702 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1703 return NULL;
1704 }
1705 }
1706 {
1707 PyThreadState* __tstate = wxPyBeginAllowThreads();
1708 wxBitmapButton_SetBitmapFocus(_arg0,*_arg1);
1709
1710 wxPyEndAllowThreads(__tstate);
1711 if (PyErr_Occurred()) return NULL;
1712 } Py_INCREF(Py_None);
1713 _resultobj = Py_None;
1714 return _resultobj;
1715 }
1716
1717 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1718 static PyObject *_wrap_wxBitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1719 PyObject * _resultobj;
1720 wxBitmapButton * _arg0;
1721 wxBitmap * _arg1;
1722 PyObject * _argo0 = 0;
1723 PyObject * _argo1 = 0;
1724 char *_kwnames[] = { "self","bitmap", NULL };
1725
1726 self = self;
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapSelected",_kwnames,&_argo0,&_argo1))
1728 return NULL;
1729 if (_argo0) {
1730 if (_argo0 == Py_None) { _arg0 = NULL; }
1731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1733 return NULL;
1734 }
1735 }
1736 if (_argo1) {
1737 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1738 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1739 return NULL;
1740 }
1741 }
1742 {
1743 PyThreadState* __tstate = wxPyBeginAllowThreads();
1744 wxBitmapButton_SetBitmapSelected(_arg0,*_arg1);
1745
1746 wxPyEndAllowThreads(__tstate);
1747 if (PyErr_Occurred()) return NULL;
1748 } Py_INCREF(Py_None);
1749 _resultobj = Py_None;
1750 return _resultobj;
1751 }
1752
1753 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1754 static PyObject *_wrap_wxBitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject * _resultobj;
1756 wxBitmapButton * _arg0;
1757 wxBitmap * _arg1;
1758 PyObject * _argo0 = 0;
1759 PyObject * _argo1 = 0;
1760 char *_kwnames[] = { "self","bitmap", NULL };
1761
1762 self = self;
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxBitmapButton_SetBitmapLabel",_kwnames,&_argo0,&_argo1))
1764 return NULL;
1765 if (_argo0) {
1766 if (_argo0 == Py_None) { _arg0 = NULL; }
1767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1769 return NULL;
1770 }
1771 }
1772 if (_argo1) {
1773 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
1774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1775 return NULL;
1776 }
1777 }
1778 {
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 wxBitmapButton_SetBitmapLabel(_arg0,*_arg1);
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) return NULL;
1784 } Py_INCREF(Py_None);
1785 _resultobj = Py_None;
1786 return _resultobj;
1787 }
1788
1789 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1790 static PyObject *_wrap_wxBitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1791 PyObject * _resultobj;
1792 wxBitmapButton * _arg0;
1793 int _arg1;
1794 int _arg2;
1795 PyObject * _argo0 = 0;
1796 char *_kwnames[] = { "self","x","y", NULL };
1797
1798 self = self;
1799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxBitmapButton_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
1800 return NULL;
1801 if (_argo0) {
1802 if (_argo0 == Py_None) { _arg0 = NULL; }
1803 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1804 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1805 return NULL;
1806 }
1807 }
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 wxBitmapButton_SetMargins(_arg0,_arg1,_arg2);
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) return NULL;
1814 } Py_INCREF(Py_None);
1815 _resultobj = Py_None;
1816 return _resultobj;
1817 }
1818
1819 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1820 static PyObject *_wrap_wxBitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1821 PyObject * _resultobj;
1822 int _result;
1823 wxBitmapButton * _arg0;
1824 PyObject * _argo0 = 0;
1825 char *_kwnames[] = { "self", NULL };
1826
1827 self = self;
1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginX",_kwnames,&_argo0))
1829 return NULL;
1830 if (_argo0) {
1831 if (_argo0 == Py_None) { _arg0 = NULL; }
1832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1834 return NULL;
1835 }
1836 }
1837 {
1838 PyThreadState* __tstate = wxPyBeginAllowThreads();
1839 _result = (int )wxBitmapButton_GetMarginX(_arg0);
1840
1841 wxPyEndAllowThreads(__tstate);
1842 if (PyErr_Occurred()) return NULL;
1843 } _resultobj = Py_BuildValue("i",_result);
1844 return _resultobj;
1845 }
1846
1847 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1848 static PyObject *_wrap_wxBitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject * _resultobj;
1850 int _result;
1851 wxBitmapButton * _arg0;
1852 PyObject * _argo0 = 0;
1853 char *_kwnames[] = { "self", NULL };
1854
1855 self = self;
1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxBitmapButton_GetMarginY",_kwnames,&_argo0))
1857 return NULL;
1858 if (_argo0) {
1859 if (_argo0 == Py_None) { _arg0 = NULL; }
1860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxBitmapButton_p")) {
1861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1862 return NULL;
1863 }
1864 }
1865 {
1866 PyThreadState* __tstate = wxPyBeginAllowThreads();
1867 _result = (int )wxBitmapButton_GetMarginY(_arg0);
1868
1869 wxPyEndAllowThreads(__tstate);
1870 if (PyErr_Occurred()) return NULL;
1871 } _resultobj = Py_BuildValue("i",_result);
1872 return _resultobj;
1873 }
1874
1875 static void *SwigwxCheckBoxTowxControl(void *ptr) {
1876 wxCheckBox *src;
1877 wxControl *dest;
1878 src = (wxCheckBox *) ptr;
1879 dest = (wxControl *) src;
1880 return (void *) dest;
1881 }
1882
1883 static void *SwigwxCheckBoxTowxWindow(void *ptr) {
1884 wxCheckBox *src;
1885 wxWindow *dest;
1886 src = (wxCheckBox *) ptr;
1887 dest = (wxWindow *) src;
1888 return (void *) dest;
1889 }
1890
1891 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr) {
1892 wxCheckBox *src;
1893 wxEvtHandler *dest;
1894 src = (wxCheckBox *) ptr;
1895 dest = (wxEvtHandler *) src;
1896 return (void *) dest;
1897 }
1898
1899 static void *SwigwxCheckBoxTowxObject(void *ptr) {
1900 wxCheckBox *src;
1901 wxObject *dest;
1902 src = (wxCheckBox *) ptr;
1903 dest = (wxObject *) src;
1904 return (void *) dest;
1905 }
1906
1907 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1908 static PyObject *_wrap_new_wxCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject * _resultobj;
1910 wxCheckBox * _result;
1911 wxWindow * _arg0;
1912 wxWindowID _arg1;
1913 wxString * _arg2;
1914 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
1915 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
1916 long _arg5 = (long ) 0;
1917 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
1918 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
1919 PyObject * _argo0 = 0;
1920 PyObject * _obj2 = 0;
1921 wxPoint temp;
1922 PyObject * _obj3 = 0;
1923 wxSize temp0;
1924 PyObject * _obj4 = 0;
1925 PyObject * _argo6 = 0;
1926 PyObject * _obj7 = 0;
1927 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
1928 char _ptemp[128];
1929
1930 self = self;
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxCheckBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
1932 return NULL;
1933 if (_argo0) {
1934 if (_argo0 == Py_None) { _arg0 = NULL; }
1935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
1936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1937 return NULL;
1938 }
1939 }
1940 {
1941 _arg2 = wxString_in_helper(_obj2);
1942 if (_arg2 == NULL)
1943 return NULL;
1944 }
1945 if (_obj3)
1946 {
1947 _arg3 = &temp;
1948 if (! wxPoint_helper(_obj3, &_arg3))
1949 return NULL;
1950 }
1951 if (_obj4)
1952 {
1953 _arg4 = &temp0;
1954 if (! wxSize_helper(_obj4, &_arg4))
1955 return NULL;
1956 }
1957 if (_argo6) {
1958 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
1959 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1960 return NULL;
1961 }
1962 }
1963 if (_obj7)
1964 {
1965 _arg7 = wxString_in_helper(_obj7);
1966 if (_arg7 == NULL)
1967 return NULL;
1968 }
1969 {
1970 PyThreadState* __tstate = wxPyBeginAllowThreads();
1971 _result = (wxCheckBox *)new_wxCheckBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
1972
1973 wxPyEndAllowThreads(__tstate);
1974 if (PyErr_Occurred()) return NULL;
1975 } if (_result) {
1976 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
1977 _resultobj = Py_BuildValue("s",_ptemp);
1978 } else {
1979 Py_INCREF(Py_None);
1980 _resultobj = Py_None;
1981 }
1982 {
1983 if (_obj2)
1984 delete _arg2;
1985 }
1986 {
1987 if (_obj7)
1988 delete _arg7;
1989 }
1990 return _resultobj;
1991 }
1992
1993 #define new_wxPreCheckBox() (new wxCheckBox())
1994 static PyObject *_wrap_new_wxPreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1995 PyObject * _resultobj;
1996 wxCheckBox * _result;
1997 char *_kwnames[] = { NULL };
1998 char _ptemp[128];
1999
2000 self = self;
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckBox",_kwnames))
2002 return NULL;
2003 {
2004 PyThreadState* __tstate = wxPyBeginAllowThreads();
2005 _result = (wxCheckBox *)new_wxPreCheckBox();
2006
2007 wxPyEndAllowThreads(__tstate);
2008 if (PyErr_Occurred()) return NULL;
2009 } if (_result) {
2010 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckBox_p");
2011 _resultobj = Py_BuildValue("s",_ptemp);
2012 } else {
2013 Py_INCREF(Py_None);
2014 _resultobj = Py_None;
2015 }
2016 return _resultobj;
2017 }
2018
2019 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2020 static PyObject *_wrap_wxCheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2021 PyObject * _resultobj;
2022 bool _result;
2023 wxCheckBox * _arg0;
2024 wxWindow * _arg1;
2025 wxWindowID _arg2;
2026 wxString * _arg3;
2027 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2028 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2029 long _arg6 = (long ) 0;
2030 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2031 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
2032 PyObject * _argo0 = 0;
2033 PyObject * _argo1 = 0;
2034 PyObject * _obj3 = 0;
2035 wxPoint temp;
2036 PyObject * _obj4 = 0;
2037 wxSize temp0;
2038 PyObject * _obj5 = 0;
2039 PyObject * _argo7 = 0;
2040 PyObject * _obj8 = 0;
2041 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
2042
2043 self = self;
2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxCheckBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
2045 return NULL;
2046 if (_argo0) {
2047 if (_argo0 == Py_None) { _arg0 = NULL; }
2048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2050 return NULL;
2051 }
2052 }
2053 if (_argo1) {
2054 if (_argo1 == Py_None) { _arg1 = NULL; }
2055 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2056 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2057 return NULL;
2058 }
2059 }
2060 {
2061 _arg3 = wxString_in_helper(_obj3);
2062 if (_arg3 == NULL)
2063 return NULL;
2064 }
2065 if (_obj4)
2066 {
2067 _arg4 = &temp;
2068 if (! wxPoint_helper(_obj4, &_arg4))
2069 return NULL;
2070 }
2071 if (_obj5)
2072 {
2073 _arg5 = &temp0;
2074 if (! wxSize_helper(_obj5, &_arg5))
2075 return NULL;
2076 }
2077 if (_argo7) {
2078 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
2079 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2080 return NULL;
2081 }
2082 }
2083 if (_obj8)
2084 {
2085 _arg8 = wxString_in_helper(_obj8);
2086 if (_arg8 == NULL)
2087 return NULL;
2088 }
2089 {
2090 PyThreadState* __tstate = wxPyBeginAllowThreads();
2091 _result = (bool )wxCheckBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
2092
2093 wxPyEndAllowThreads(__tstate);
2094 if (PyErr_Occurred()) return NULL;
2095 } _resultobj = Py_BuildValue("i",_result);
2096 {
2097 if (_obj3)
2098 delete _arg3;
2099 }
2100 {
2101 if (_obj8)
2102 delete _arg8;
2103 }
2104 return _resultobj;
2105 }
2106
2107 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2108 static PyObject *_wrap_wxCheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2109 PyObject * _resultobj;
2110 bool _result;
2111 wxCheckBox * _arg0;
2112 PyObject * _argo0 = 0;
2113 char *_kwnames[] = { "self", NULL };
2114
2115 self = self;
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_GetValue",_kwnames,&_argo0))
2117 return NULL;
2118 if (_argo0) {
2119 if (_argo0 == Py_None) { _arg0 = NULL; }
2120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2122 return NULL;
2123 }
2124 }
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 _result = (bool )wxCheckBox_GetValue(_arg0);
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) return NULL;
2131 } _resultobj = Py_BuildValue("i",_result);
2132 return _resultobj;
2133 }
2134
2135 #define wxCheckBox_IsChecked(_swigobj) (_swigobj->IsChecked())
2136 static PyObject *_wrap_wxCheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject * _resultobj;
2138 bool _result;
2139 wxCheckBox * _arg0;
2140 PyObject * _argo0 = 0;
2141 char *_kwnames[] = { "self", NULL };
2142
2143 self = self;
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckBox_IsChecked",_kwnames,&_argo0))
2145 return NULL;
2146 if (_argo0) {
2147 if (_argo0 == Py_None) { _arg0 = NULL; }
2148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_IsChecked. Expected _wxCheckBox_p.");
2150 return NULL;
2151 }
2152 }
2153 {
2154 PyThreadState* __tstate = wxPyBeginAllowThreads();
2155 _result = (bool )wxCheckBox_IsChecked(_arg0);
2156
2157 wxPyEndAllowThreads(__tstate);
2158 if (PyErr_Occurred()) return NULL;
2159 } _resultobj = Py_BuildValue("i",_result);
2160 return _resultobj;
2161 }
2162
2163 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2164 static PyObject *_wrap_wxCheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject * _resultobj;
2166 wxCheckBox * _arg0;
2167 bool _arg1;
2168 PyObject * _argo0 = 0;
2169 int tempbool1;
2170 char *_kwnames[] = { "self","state", NULL };
2171
2172 self = self;
2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckBox_SetValue",_kwnames,&_argo0,&tempbool1))
2174 return NULL;
2175 if (_argo0) {
2176 if (_argo0 == Py_None) { _arg0 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckBox_p")) {
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2179 return NULL;
2180 }
2181 }
2182 _arg1 = (bool ) tempbool1;
2183 {
2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
2185 wxCheckBox_SetValue(_arg0,_arg1);
2186
2187 wxPyEndAllowThreads(__tstate);
2188 if (PyErr_Occurred()) return NULL;
2189 } Py_INCREF(Py_None);
2190 _resultobj = Py_None;
2191 return _resultobj;
2192 }
2193
2194 static void *SwigwxChoiceTowxControlWithItems(void *ptr) {
2195 wxChoice *src;
2196 wxControlWithItems *dest;
2197 src = (wxChoice *) ptr;
2198 dest = (wxControlWithItems *) src;
2199 return (void *) dest;
2200 }
2201
2202 static void *SwigwxChoiceTowxControl(void *ptr) {
2203 wxChoice *src;
2204 wxControl *dest;
2205 src = (wxChoice *) ptr;
2206 dest = (wxControl *) src;
2207 return (void *) dest;
2208 }
2209
2210 static void *SwigwxChoiceTowxWindow(void *ptr) {
2211 wxChoice *src;
2212 wxWindow *dest;
2213 src = (wxChoice *) ptr;
2214 dest = (wxWindow *) src;
2215 return (void *) dest;
2216 }
2217
2218 static void *SwigwxChoiceTowxEvtHandler(void *ptr) {
2219 wxChoice *src;
2220 wxEvtHandler *dest;
2221 src = (wxChoice *) ptr;
2222 dest = (wxEvtHandler *) src;
2223 return (void *) dest;
2224 }
2225
2226 static void *SwigwxChoiceTowxObject(void *ptr) {
2227 wxChoice *src;
2228 wxObject *dest;
2229 src = (wxChoice *) ptr;
2230 dest = (wxObject *) src;
2231 return (void *) dest;
2232 }
2233
2234 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2235 static PyObject *_wrap_new_wxChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2236 PyObject * _resultobj;
2237 wxChoice * _result;
2238 wxWindow * _arg0;
2239 wxWindowID _arg1;
2240 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
2241 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
2242 int _arg4 = (int ) 0;
2243 wxString * _arg5 = (wxString *) NULL;
2244 long _arg6 = (long ) 0;
2245 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
2246 wxString * _arg8 = (wxString *) &wxPyChoiceNameStr;
2247 PyObject * _argo0 = 0;
2248 wxPoint temp;
2249 PyObject * _obj2 = 0;
2250 wxSize temp0;
2251 PyObject * _obj3 = 0;
2252 PyObject * _obj5 = 0;
2253 PyObject * _argo7 = 0;
2254 PyObject * _obj8 = 0;
2255 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
2256 char _ptemp[128];
2257
2258 self = self;
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxChoice",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
2260 return NULL;
2261 if (_argo0) {
2262 if (_argo0 == Py_None) { _arg0 = NULL; }
2263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2265 return NULL;
2266 }
2267 }
2268 if (_obj2)
2269 {
2270 _arg2 = &temp;
2271 if (! wxPoint_helper(_obj2, &_arg2))
2272 return NULL;
2273 }
2274 if (_obj3)
2275 {
2276 _arg3 = &temp0;
2277 if (! wxSize_helper(_obj3, &_arg3))
2278 return NULL;
2279 }
2280 if (_obj5)
2281 {
2282 _arg5 = wxString_LIST_helper(_obj5);
2283 if (_arg5 == NULL) {
2284 return NULL;
2285 }
2286 }
2287 if (_argo7) {
2288 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
2289 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2290 return NULL;
2291 }
2292 }
2293 if (_obj8)
2294 {
2295 _arg8 = wxString_in_helper(_obj8);
2296 if (_arg8 == NULL)
2297 return NULL;
2298 }
2299 {
2300 if (_obj5) {
2301 _arg4 = PyList_Size(_obj5);
2302 }
2303 else {
2304 _arg4 = 0;
2305 }
2306 }
2307 {
2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
2309 _result = (wxChoice *)new_wxChoice(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
2310
2311 wxPyEndAllowThreads(__tstate);
2312 if (PyErr_Occurred()) return NULL;
2313 } if (_result) {
2314 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2315 _resultobj = Py_BuildValue("s",_ptemp);
2316 } else {
2317 Py_INCREF(Py_None);
2318 _resultobj = Py_None;
2319 }
2320 {
2321 delete [] _arg5;
2322 }
2323 {
2324 if (_obj8)
2325 delete _arg8;
2326 }
2327 return _resultobj;
2328 }
2329
2330 #define new_wxPreChoice() (new wxChoice())
2331 static PyObject *_wrap_new_wxPreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject * _resultobj;
2333 wxChoice * _result;
2334 char *_kwnames[] = { NULL };
2335 char _ptemp[128];
2336
2337 self = self;
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreChoice",_kwnames))
2339 return NULL;
2340 {
2341 PyThreadState* __tstate = wxPyBeginAllowThreads();
2342 _result = (wxChoice *)new_wxPreChoice();
2343
2344 wxPyEndAllowThreads(__tstate);
2345 if (PyErr_Occurred()) return NULL;
2346 } if (_result) {
2347 SWIG_MakePtr(_ptemp, (char *) _result,"_wxChoice_p");
2348 _resultobj = Py_BuildValue("s",_ptemp);
2349 } else {
2350 Py_INCREF(Py_None);
2351 _resultobj = Py_None;
2352 }
2353 return _resultobj;
2354 }
2355
2356 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2357 static PyObject *_wrap_wxChoice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject * _resultobj;
2359 bool _result;
2360 wxChoice * _arg0;
2361 wxWindow * _arg1;
2362 wxWindowID _arg2;
2363 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2364 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2365 int _arg5 = (int ) 0;
2366 wxString * _arg6 = (wxString *) NULL;
2367 long _arg7 = (long ) 0;
2368 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2369 wxString * _arg9 = (wxString *) &wxPyChoiceNameStr;
2370 PyObject * _argo0 = 0;
2371 PyObject * _argo1 = 0;
2372 wxPoint temp;
2373 PyObject * _obj3 = 0;
2374 wxSize temp0;
2375 PyObject * _obj4 = 0;
2376 PyObject * _obj6 = 0;
2377 PyObject * _argo8 = 0;
2378 PyObject * _obj9 = 0;
2379 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
2380
2381 self = self;
2382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxChoice_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
2383 return NULL;
2384 if (_argo0) {
2385 if (_argo0 == Py_None) { _arg0 = NULL; }
2386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2388 return NULL;
2389 }
2390 }
2391 if (_argo1) {
2392 if (_argo1 == Py_None) { _arg1 = NULL; }
2393 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2395 return NULL;
2396 }
2397 }
2398 if (_obj3)
2399 {
2400 _arg3 = &temp;
2401 if (! wxPoint_helper(_obj3, &_arg3))
2402 return NULL;
2403 }
2404 if (_obj4)
2405 {
2406 _arg4 = &temp0;
2407 if (! wxSize_helper(_obj4, &_arg4))
2408 return NULL;
2409 }
2410 if (_obj6)
2411 {
2412 _arg6 = wxString_LIST_helper(_obj6);
2413 if (_arg6 == NULL) {
2414 return NULL;
2415 }
2416 }
2417 if (_argo8) {
2418 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2420 return NULL;
2421 }
2422 }
2423 if (_obj9)
2424 {
2425 _arg9 = wxString_in_helper(_obj9);
2426 if (_arg9 == NULL)
2427 return NULL;
2428 }
2429 {
2430 if (_obj6) {
2431 _arg5 = PyList_Size(_obj6);
2432 }
2433 else {
2434 _arg5 = 0;
2435 }
2436 }
2437 {
2438 PyThreadState* __tstate = wxPyBeginAllowThreads();
2439 _result = (bool )wxChoice_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
2440
2441 wxPyEndAllowThreads(__tstate);
2442 if (PyErr_Occurred()) return NULL;
2443 } _resultobj = Py_BuildValue("i",_result);
2444 {
2445 delete [] _arg6;
2446 }
2447 {
2448 if (_obj9)
2449 delete _arg9;
2450 }
2451 return _resultobj;
2452 }
2453
2454 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2455 static PyObject *_wrap_wxChoice_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
2456 PyObject * _resultobj;
2457 wxChoice * _arg0;
2458 PyObject * _argo0 = 0;
2459 char *_kwnames[] = { "self", NULL };
2460
2461 self = self;
2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_Clear",_kwnames,&_argo0))
2463 return NULL;
2464 if (_argo0) {
2465 if (_argo0 == Py_None) { _arg0 = NULL; }
2466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2468 return NULL;
2469 }
2470 }
2471 {
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 wxChoice_Clear(_arg0);
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) return NULL;
2477 } Py_INCREF(Py_None);
2478 _resultobj = Py_None;
2479 return _resultobj;
2480 }
2481
2482 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2483 static PyObject *_wrap_wxChoice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2484 PyObject * _resultobj;
2485 int _result;
2486 wxChoice * _arg0;
2487 PyObject * _argo0 = 0;
2488 char *_kwnames[] = { "self", NULL };
2489
2490 self = self;
2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxChoice_GetColumns",_kwnames,&_argo0))
2492 return NULL;
2493 if (_argo0) {
2494 if (_argo0 == Py_None) { _arg0 = NULL; }
2495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2497 return NULL;
2498 }
2499 }
2500 {
2501 PyThreadState* __tstate = wxPyBeginAllowThreads();
2502 _result = (int )wxChoice_GetColumns(_arg0);
2503
2504 wxPyEndAllowThreads(__tstate);
2505 if (PyErr_Occurred()) return NULL;
2506 } _resultobj = Py_BuildValue("i",_result);
2507 return _resultobj;
2508 }
2509
2510 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2511 static PyObject *_wrap_wxChoice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2512 PyObject * _resultobj;
2513 wxChoice * _arg0;
2514 int _arg1 = (int ) 1;
2515 PyObject * _argo0 = 0;
2516 char *_kwnames[] = { "self","n", NULL };
2517
2518 self = self;
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxChoice_SetColumns",_kwnames,&_argo0,&_arg1))
2520 return NULL;
2521 if (_argo0) {
2522 if (_argo0 == Py_None) { _arg0 = NULL; }
2523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2525 return NULL;
2526 }
2527 }
2528 {
2529 PyThreadState* __tstate = wxPyBeginAllowThreads();
2530 wxChoice_SetColumns(_arg0,_arg1);
2531
2532 wxPyEndAllowThreads(__tstate);
2533 if (PyErr_Occurred()) return NULL;
2534 } Py_INCREF(Py_None);
2535 _resultobj = Py_None;
2536 return _resultobj;
2537 }
2538
2539 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2540 static PyObject *_wrap_wxChoice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject * _resultobj;
2542 wxChoice * _arg0;
2543 int _arg1;
2544 PyObject * _argo0 = 0;
2545 char *_kwnames[] = { "self","n", NULL };
2546
2547 self = self;
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxChoice_SetSelection",_kwnames,&_argo0,&_arg1))
2549 return NULL;
2550 if (_argo0) {
2551 if (_argo0 == Py_None) { _arg0 = NULL; }
2552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2554 return NULL;
2555 }
2556 }
2557 {
2558 PyThreadState* __tstate = wxPyBeginAllowThreads();
2559 wxChoice_SetSelection(_arg0,_arg1);
2560
2561 wxPyEndAllowThreads(__tstate);
2562 if (PyErr_Occurred()) return NULL;
2563 } Py_INCREF(Py_None);
2564 _resultobj = Py_None;
2565 return _resultobj;
2566 }
2567
2568 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2569 static PyObject *_wrap_wxChoice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2570 PyObject * _resultobj;
2571 wxChoice * _arg0;
2572 wxString * _arg1;
2573 PyObject * _argo0 = 0;
2574 PyObject * _obj1 = 0;
2575 char *_kwnames[] = { "self","string", NULL };
2576
2577 self = self;
2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxChoice_SetStringSelection",_kwnames,&_argo0,&_obj1))
2579 return NULL;
2580 if (_argo0) {
2581 if (_argo0 == Py_None) { _arg0 = NULL; }
2582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2584 return NULL;
2585 }
2586 }
2587 {
2588 _arg1 = wxString_in_helper(_obj1);
2589 if (_arg1 == NULL)
2590 return NULL;
2591 }
2592 {
2593 PyThreadState* __tstate = wxPyBeginAllowThreads();
2594 wxChoice_SetStringSelection(_arg0,*_arg1);
2595
2596 wxPyEndAllowThreads(__tstate);
2597 if (PyErr_Occurred()) return NULL;
2598 } Py_INCREF(Py_None);
2599 _resultobj = Py_None;
2600 {
2601 if (_obj1)
2602 delete _arg1;
2603 }
2604 return _resultobj;
2605 }
2606
2607 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2608 static PyObject *_wrap_wxChoice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2609 PyObject * _resultobj;
2610 wxChoice * _arg0;
2611 int _arg1;
2612 wxString * _arg2;
2613 PyObject * _argo0 = 0;
2614 PyObject * _obj2 = 0;
2615 char *_kwnames[] = { "self","n","s", NULL };
2616
2617 self = self;
2618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxChoice_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
2619 return NULL;
2620 if (_argo0) {
2621 if (_argo0 == Py_None) { _arg0 = NULL; }
2622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxChoice_p")) {
2623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2624 return NULL;
2625 }
2626 }
2627 {
2628 _arg2 = wxString_in_helper(_obj2);
2629 if (_arg2 == NULL)
2630 return NULL;
2631 }
2632 {
2633 PyThreadState* __tstate = wxPyBeginAllowThreads();
2634 wxChoice_SetString(_arg0,_arg1,*_arg2);
2635
2636 wxPyEndAllowThreads(__tstate);
2637 if (PyErr_Occurred()) return NULL;
2638 } Py_INCREF(Py_None);
2639 _resultobj = Py_None;
2640 {
2641 if (_obj2)
2642 delete _arg2;
2643 }
2644 return _resultobj;
2645 }
2646
2647 static void *SwigwxComboBoxTowxControl(void *ptr) {
2648 wxComboBox *src;
2649 wxControl *dest;
2650 src = (wxComboBox *) ptr;
2651 dest = (wxControl *) src;
2652 return (void *) dest;
2653 }
2654
2655 static void *SwigwxComboBoxTowxWindow(void *ptr) {
2656 wxComboBox *src;
2657 wxWindow *dest;
2658 src = (wxComboBox *) ptr;
2659 dest = (wxWindow *) src;
2660 return (void *) dest;
2661 }
2662
2663 static void *SwigwxComboBoxTowxEvtHandler(void *ptr) {
2664 wxComboBox *src;
2665 wxEvtHandler *dest;
2666 src = (wxComboBox *) ptr;
2667 dest = (wxEvtHandler *) src;
2668 return (void *) dest;
2669 }
2670
2671 static void *SwigwxComboBoxTowxObject(void *ptr) {
2672 wxComboBox *src;
2673 wxObject *dest;
2674 src = (wxComboBox *) ptr;
2675 dest = (wxObject *) src;
2676 return (void *) dest;
2677 }
2678
2679 #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))
2680 static PyObject *_wrap_new_wxComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2681 PyObject * _resultobj;
2682 wxComboBox * _result;
2683 wxWindow * _arg0;
2684 wxWindowID _arg1;
2685 wxString * _arg2 = (wxString *) &wxPyEmptyString;
2686 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
2687 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
2688 int _arg5 = (int ) 0;
2689 wxString * _arg6 = (wxString *) NULL;
2690 long _arg7 = (long ) 0;
2691 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
2692 wxString * _arg9 = (wxString *) &wxPyComboBoxNameStr;
2693 PyObject * _argo0 = 0;
2694 PyObject * _obj2 = 0;
2695 wxPoint temp;
2696 PyObject * _obj3 = 0;
2697 wxSize temp0;
2698 PyObject * _obj4 = 0;
2699 PyObject * _obj6 = 0;
2700 PyObject * _argo8 = 0;
2701 PyObject * _obj9 = 0;
2702 char *_kwnames[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL };
2703 char _ptemp[128];
2704
2705 self = self;
2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOOlOO:new_wxComboBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
2707 return NULL;
2708 if (_argo0) {
2709 if (_argo0 == Py_None) { _arg0 = NULL; }
2710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
2711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2712 return NULL;
2713 }
2714 }
2715 if (_obj2)
2716 {
2717 _arg2 = wxString_in_helper(_obj2);
2718 if (_arg2 == NULL)
2719 return NULL;
2720 }
2721 if (_obj3)
2722 {
2723 _arg3 = &temp;
2724 if (! wxPoint_helper(_obj3, &_arg3))
2725 return NULL;
2726 }
2727 if (_obj4)
2728 {
2729 _arg4 = &temp0;
2730 if (! wxSize_helper(_obj4, &_arg4))
2731 return NULL;
2732 }
2733 if (_obj6)
2734 {
2735 _arg6 = wxString_LIST_helper(_obj6);
2736 if (_arg6 == NULL) {
2737 return NULL;
2738 }
2739 }
2740 if (_argo8) {
2741 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
2742 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2743 return NULL;
2744 }
2745 }
2746 if (_obj9)
2747 {
2748 _arg9 = wxString_in_helper(_obj9);
2749 if (_arg9 == NULL)
2750 return NULL;
2751 }
2752 {
2753 if (_obj6) {
2754 _arg5 = PyList_Size(_obj6);
2755 }
2756 else {
2757 _arg5 = 0;
2758 }
2759 }
2760 {
2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
2762 _result = (wxComboBox *)new_wxComboBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
2763
2764 wxPyEndAllowThreads(__tstate);
2765 if (PyErr_Occurred()) return NULL;
2766 } if (_result) {
2767 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2768 _resultobj = Py_BuildValue("s",_ptemp);
2769 } else {
2770 Py_INCREF(Py_None);
2771 _resultobj = Py_None;
2772 }
2773 {
2774 if (_obj2)
2775 delete _arg2;
2776 }
2777 {
2778 delete [] _arg6;
2779 }
2780 {
2781 if (_obj9)
2782 delete _arg9;
2783 }
2784 return _resultobj;
2785 }
2786
2787 #define new_wxPreComboBox() (new wxComboBox())
2788 static PyObject *_wrap_new_wxPreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject * _resultobj;
2790 wxComboBox * _result;
2791 char *_kwnames[] = { NULL };
2792 char _ptemp[128];
2793
2794 self = self;
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreComboBox",_kwnames))
2796 return NULL;
2797 {
2798 PyThreadState* __tstate = wxPyBeginAllowThreads();
2799 _result = (wxComboBox *)new_wxPreComboBox();
2800
2801 wxPyEndAllowThreads(__tstate);
2802 if (PyErr_Occurred()) return NULL;
2803 } if (_result) {
2804 SWIG_MakePtr(_ptemp, (char *) _result,"_wxComboBox_p");
2805 _resultobj = Py_BuildValue("s",_ptemp);
2806 } else {
2807 Py_INCREF(Py_None);
2808 _resultobj = Py_None;
2809 }
2810 return _resultobj;
2811 }
2812
2813 #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))
2814 static PyObject *_wrap_wxComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2815 PyObject * _resultobj;
2816 bool _result;
2817 wxComboBox * _arg0;
2818 wxWindow * _arg1;
2819 wxWindowID _arg2;
2820 wxString * _arg3 = (wxString *) &wxPyEmptyString;
2821 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
2822 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
2823 int _arg6 = (int ) 0;
2824 wxString * _arg7 = (wxString *) NULL;
2825 long _arg8 = (long ) 0;
2826 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
2827 wxString * _arg10 = (wxString *) &wxPyComboBoxNameStr;
2828 PyObject * _argo0 = 0;
2829 PyObject * _argo1 = 0;
2830 PyObject * _obj3 = 0;
2831 wxPoint temp;
2832 PyObject * _obj4 = 0;
2833 wxSize temp0;
2834 PyObject * _obj5 = 0;
2835 PyObject * _obj7 = 0;
2836 PyObject * _argo9 = 0;
2837 PyObject * _obj10 = 0;
2838 char *_kwnames[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL };
2839
2840 self = self;
2841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOOlOO:wxComboBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_argo9,&_obj10))
2842 return NULL;
2843 if (_argo0) {
2844 if (_argo0 == Py_None) { _arg0 = NULL; }
2845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2847 return NULL;
2848 }
2849 }
2850 if (_argo1) {
2851 if (_argo1 == Py_None) { _arg1 = NULL; }
2852 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
2853 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2854 return NULL;
2855 }
2856 }
2857 if (_obj3)
2858 {
2859 _arg3 = wxString_in_helper(_obj3);
2860 if (_arg3 == NULL)
2861 return NULL;
2862 }
2863 if (_obj4)
2864 {
2865 _arg4 = &temp;
2866 if (! wxPoint_helper(_obj4, &_arg4))
2867 return NULL;
2868 }
2869 if (_obj5)
2870 {
2871 _arg5 = &temp0;
2872 if (! wxSize_helper(_obj5, &_arg5))
2873 return NULL;
2874 }
2875 if (_obj7)
2876 {
2877 _arg7 = wxString_LIST_helper(_obj7);
2878 if (_arg7 == NULL) {
2879 return NULL;
2880 }
2881 }
2882 if (_argo9) {
2883 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
2884 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2885 return NULL;
2886 }
2887 }
2888 if (_obj10)
2889 {
2890 _arg10 = wxString_in_helper(_obj10);
2891 if (_arg10 == NULL)
2892 return NULL;
2893 }
2894 {
2895 if (_obj7) {
2896 _arg6 = PyList_Size(_obj7);
2897 }
2898 else {
2899 _arg6 = 0;
2900 }
2901 }
2902 {
2903 PyThreadState* __tstate = wxPyBeginAllowThreads();
2904 _result = (bool )wxComboBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
2905
2906 wxPyEndAllowThreads(__tstate);
2907 if (PyErr_Occurred()) return NULL;
2908 } _resultobj = Py_BuildValue("i",_result);
2909 {
2910 if (_obj3)
2911 delete _arg3;
2912 }
2913 {
2914 delete [] _arg7;
2915 }
2916 {
2917 if (_obj10)
2918 delete _arg10;
2919 }
2920 return _resultobj;
2921 }
2922
2923 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2924 static PyObject *_wrap_wxComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2925 PyObject * _resultobj;
2926 wxComboBox * _arg0;
2927 PyObject * _argo0 = 0;
2928 char *_kwnames[] = { "self", NULL };
2929
2930 self = self;
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Copy",_kwnames,&_argo0))
2932 return NULL;
2933 if (_argo0) {
2934 if (_argo0 == Py_None) { _arg0 = NULL; }
2935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2937 return NULL;
2938 }
2939 }
2940 {
2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2942 wxComboBox_Copy(_arg0);
2943
2944 wxPyEndAllowThreads(__tstate);
2945 if (PyErr_Occurred()) return NULL;
2946 } Py_INCREF(Py_None);
2947 _resultobj = Py_None;
2948 return _resultobj;
2949 }
2950
2951 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2952 static PyObject *_wrap_wxComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2953 PyObject * _resultobj;
2954 wxComboBox * _arg0;
2955 PyObject * _argo0 = 0;
2956 char *_kwnames[] = { "self", NULL };
2957
2958 self = self;
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Cut",_kwnames,&_argo0))
2960 return NULL;
2961 if (_argo0) {
2962 if (_argo0 == Py_None) { _arg0 = NULL; }
2963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2965 return NULL;
2966 }
2967 }
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 wxComboBox_Cut(_arg0);
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) return NULL;
2974 } Py_INCREF(Py_None);
2975 _resultobj = Py_None;
2976 return _resultobj;
2977 }
2978
2979 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2980 static PyObject *_wrap_wxComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2981 PyObject * _resultobj;
2982 long _result;
2983 wxComboBox * _arg0;
2984 PyObject * _argo0 = 0;
2985 char *_kwnames[] = { "self", NULL };
2986
2987 self = self;
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetInsertionPoint",_kwnames,&_argo0))
2989 return NULL;
2990 if (_argo0) {
2991 if (_argo0 == Py_None) { _arg0 = NULL; }
2992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
2993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2994 return NULL;
2995 }
2996 }
2997 {
2998 PyThreadState* __tstate = wxPyBeginAllowThreads();
2999 _result = (long )wxComboBox_GetInsertionPoint(_arg0);
3000
3001 wxPyEndAllowThreads(__tstate);
3002 if (PyErr_Occurred()) return NULL;
3003 } _resultobj = Py_BuildValue("l",_result);
3004 return _resultobj;
3005 }
3006
3007 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3008 static PyObject *_wrap_wxComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3009 PyObject * _resultobj;
3010 long _result;
3011 wxComboBox * _arg0;
3012 PyObject * _argo0 = 0;
3013 char *_kwnames[] = { "self", NULL };
3014
3015 self = self;
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetLastPosition",_kwnames,&_argo0))
3017 return NULL;
3018 if (_argo0) {
3019 if (_argo0 == Py_None) { _arg0 = NULL; }
3020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3022 return NULL;
3023 }
3024 }
3025 {
3026 PyThreadState* __tstate = wxPyBeginAllowThreads();
3027 _result = (long )wxComboBox_GetLastPosition(_arg0);
3028
3029 wxPyEndAllowThreads(__tstate);
3030 if (PyErr_Occurred()) return NULL;
3031 } _resultobj = Py_BuildValue("l",_result);
3032 return _resultobj;
3033 }
3034
3035 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3036 static PyObject *_wrap_wxComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3037 PyObject * _resultobj;
3038 wxString * _result;
3039 wxComboBox * _arg0;
3040 PyObject * _argo0 = 0;
3041 char *_kwnames[] = { "self", NULL };
3042
3043 self = self;
3044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetValue",_kwnames,&_argo0))
3045 return NULL;
3046 if (_argo0) {
3047 if (_argo0 == Py_None) { _arg0 = NULL; }
3048 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3049 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3050 return NULL;
3051 }
3052 }
3053 {
3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
3055 _result = new wxString (wxComboBox_GetValue(_arg0));
3056
3057 wxPyEndAllowThreads(__tstate);
3058 if (PyErr_Occurred()) return NULL;
3059 }{
3060 #if wxUSE_UNICODE
3061 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3062 #else
3063 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3064 #endif
3065 }
3066 {
3067 delete _result;
3068 }
3069 return _resultobj;
3070 }
3071
3072 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3073 static PyObject *_wrap_wxComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject * _resultobj;
3075 wxComboBox * _arg0;
3076 PyObject * _argo0 = 0;
3077 char *_kwnames[] = { "self", NULL };
3078
3079 self = self;
3080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Paste",_kwnames,&_argo0))
3081 return NULL;
3082 if (_argo0) {
3083 if (_argo0 == Py_None) { _arg0 = NULL; }
3084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3086 return NULL;
3087 }
3088 }
3089 {
3090 PyThreadState* __tstate = wxPyBeginAllowThreads();
3091 wxComboBox_Paste(_arg0);
3092
3093 wxPyEndAllowThreads(__tstate);
3094 if (PyErr_Occurred()) return NULL;
3095 } Py_INCREF(Py_None);
3096 _resultobj = Py_None;
3097 return _resultobj;
3098 }
3099
3100 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3101 static PyObject *_wrap_wxComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3102 PyObject * _resultobj;
3103 wxComboBox * _arg0;
3104 long _arg1;
3105 long _arg2;
3106 wxString * _arg3;
3107 PyObject * _argo0 = 0;
3108 PyObject * _obj3 = 0;
3109 char *_kwnames[] = { "self","from","to","text", NULL };
3110
3111 self = self;
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxComboBox_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
3113 return NULL;
3114 if (_argo0) {
3115 if (_argo0 == Py_None) { _arg0 = NULL; }
3116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3118 return NULL;
3119 }
3120 }
3121 {
3122 _arg3 = wxString_in_helper(_obj3);
3123 if (_arg3 == NULL)
3124 return NULL;
3125 }
3126 {
3127 PyThreadState* __tstate = wxPyBeginAllowThreads();
3128 wxComboBox_Replace(_arg0,_arg1,_arg2,*_arg3);
3129
3130 wxPyEndAllowThreads(__tstate);
3131 if (PyErr_Occurred()) return NULL;
3132 } Py_INCREF(Py_None);
3133 _resultobj = Py_None;
3134 {
3135 if (_obj3)
3136 delete _arg3;
3137 }
3138 return _resultobj;
3139 }
3140
3141 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3142 static PyObject *_wrap_wxComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3143 PyObject * _resultobj;
3144 wxComboBox * _arg0;
3145 long _arg1;
3146 long _arg2;
3147 PyObject * _argo0 = 0;
3148 char *_kwnames[] = { "self","from","to", NULL };
3149
3150 self = self;
3151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
3152 return NULL;
3153 if (_argo0) {
3154 if (_argo0 == Py_None) { _arg0 = NULL; }
3155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3157 return NULL;
3158 }
3159 }
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 wxComboBox_Remove(_arg0,_arg1,_arg2);
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) return NULL;
3166 } Py_INCREF(Py_None);
3167 _resultobj = Py_None;
3168 return _resultobj;
3169 }
3170
3171 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3172 static PyObject *_wrap_wxComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3173 PyObject * _resultobj;
3174 wxComboBox * _arg0;
3175 long _arg1;
3176 PyObject * _argo0 = 0;
3177 char *_kwnames[] = { "self","pos", NULL };
3178
3179 self = self;
3180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxComboBox_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
3181 return NULL;
3182 if (_argo0) {
3183 if (_argo0 == Py_None) { _arg0 = NULL; }
3184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3186 return NULL;
3187 }
3188 }
3189 {
3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
3191 wxComboBox_SetInsertionPoint(_arg0,_arg1);
3192
3193 wxPyEndAllowThreads(__tstate);
3194 if (PyErr_Occurred()) return NULL;
3195 } Py_INCREF(Py_None);
3196 _resultobj = Py_None;
3197 return _resultobj;
3198 }
3199
3200 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3201 static PyObject *_wrap_wxComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3202 PyObject * _resultobj;
3203 wxComboBox * _arg0;
3204 PyObject * _argo0 = 0;
3205 char *_kwnames[] = { "self", NULL };
3206
3207 self = self;
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_SetInsertionPointEnd",_kwnames,&_argo0))
3209 return NULL;
3210 if (_argo0) {
3211 if (_argo0 == Py_None) { _arg0 = NULL; }
3212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3214 return NULL;
3215 }
3216 }
3217 {
3218 PyThreadState* __tstate = wxPyBeginAllowThreads();
3219 wxComboBox_SetInsertionPointEnd(_arg0);
3220
3221 wxPyEndAllowThreads(__tstate);
3222 if (PyErr_Occurred()) return NULL;
3223 } Py_INCREF(Py_None);
3224 _resultobj = Py_None;
3225 return _resultobj;
3226 }
3227
3228 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3229 static PyObject *_wrap_wxComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject * _resultobj;
3231 wxComboBox * _arg0;
3232 int _arg1;
3233 PyObject * _argo0 = 0;
3234 char *_kwnames[] = { "self","n", NULL };
3235
3236 self = self;
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetSelection",_kwnames,&_argo0,&_arg1))
3238 return NULL;
3239 if (_argo0) {
3240 if (_argo0 == Py_None) { _arg0 = NULL; }
3241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3243 return NULL;
3244 }
3245 }
3246 {
3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
3248 wxComboBox_SetSelection(_arg0,_arg1);
3249
3250 wxPyEndAllowThreads(__tstate);
3251 if (PyErr_Occurred()) return NULL;
3252 } Py_INCREF(Py_None);
3253 _resultobj = Py_None;
3254 return _resultobj;
3255 }
3256
3257 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3258 static PyObject *_wrap_wxComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3259 PyObject * _resultobj;
3260 wxComboBox * _arg0;
3261 long _arg1;
3262 long _arg2;
3263 PyObject * _argo0 = 0;
3264 char *_kwnames[] = { "self","from","to", NULL };
3265
3266 self = self;
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxComboBox_SetMark",_kwnames,&_argo0,&_arg1,&_arg2))
3268 return NULL;
3269 if (_argo0) {
3270 if (_argo0 == Py_None) { _arg0 = NULL; }
3271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3273 return NULL;
3274 }
3275 }
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 wxComboBox_SetMark(_arg0,_arg1,_arg2);
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) return NULL;
3282 } Py_INCREF(Py_None);
3283 _resultobj = Py_None;
3284 return _resultobj;
3285 }
3286
3287 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3288 static PyObject *_wrap_wxComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3289 PyObject * _resultobj;
3290 wxComboBox * _arg0;
3291 wxString * _arg1;
3292 PyObject * _argo0 = 0;
3293 PyObject * _obj1 = 0;
3294 char *_kwnames[] = { "self","text", NULL };
3295
3296 self = self;
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_SetValue",_kwnames,&_argo0,&_obj1))
3298 return NULL;
3299 if (_argo0) {
3300 if (_argo0 == Py_None) { _arg0 = NULL; }
3301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3303 return NULL;
3304 }
3305 }
3306 {
3307 _arg1 = wxString_in_helper(_obj1);
3308 if (_arg1 == NULL)
3309 return NULL;
3310 }
3311 {
3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
3313 wxComboBox_SetValue(_arg0,*_arg1);
3314
3315 wxPyEndAllowThreads(__tstate);
3316 if (PyErr_Occurred()) return NULL;
3317 } Py_INCREF(Py_None);
3318 _resultobj = Py_None;
3319 {
3320 if (_obj1)
3321 delete _arg1;
3322 }
3323 return _resultobj;
3324 }
3325
3326 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3327 static PyObject *_wrap_wxComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject * _resultobj;
3329 wxComboBox * _arg0;
3330 bool _arg1;
3331 PyObject * _argo0 = 0;
3332 int tempbool1;
3333 char *_kwnames[] = { "self","editable", NULL };
3334
3335 self = self;
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_SetEditable",_kwnames,&_argo0,&tempbool1))
3337 return NULL;
3338 if (_argo0) {
3339 if (_argo0 == Py_None) { _arg0 = NULL; }
3340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3342 return NULL;
3343 }
3344 }
3345 _arg1 = (bool ) tempbool1;
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 wxComboBox_SetEditable(_arg0,_arg1);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) return NULL;
3352 } Py_INCREF(Py_None);
3353 _resultobj = Py_None;
3354 return _resultobj;
3355 }
3356
3357 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3358 static PyObject *_wrap_wxComboBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
3359 PyObject * _resultobj;
3360 wxComboBox * _arg0;
3361 PyObject * _argo0 = 0;
3362 char *_kwnames[] = { "self", NULL };
3363
3364 self = self;
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_Clear",_kwnames,&_argo0))
3366 return NULL;
3367 if (_argo0) {
3368 if (_argo0 == Py_None) { _arg0 = NULL; }
3369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
3371 return NULL;
3372 }
3373 }
3374 {
3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
3376 wxComboBox_Clear(_arg0);
3377
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) return NULL;
3380 } Py_INCREF(Py_None);
3381 _resultobj = Py_None;
3382 return _resultobj;
3383 }
3384
3385 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3386 static PyObject *_wrap_wxComboBox_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
3387 PyObject * _resultobj;
3388 wxComboBox * _arg0;
3389 int _arg1;
3390 PyObject * _argo0 = 0;
3391 char *_kwnames[] = { "self","n", NULL };
3392
3393 self = self;
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_Delete",_kwnames,&_argo0,&_arg1))
3395 return NULL;
3396 if (_argo0) {
3397 if (_argo0 == Py_None) { _arg0 = NULL; }
3398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
3400 return NULL;
3401 }
3402 }
3403 {
3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
3405 wxComboBox_Delete(_arg0,_arg1);
3406
3407 wxPyEndAllowThreads(__tstate);
3408 if (PyErr_Occurred()) return NULL;
3409 } Py_INCREF(Py_None);
3410 _resultobj = Py_None;
3411 return _resultobj;
3412 }
3413
3414 #define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3415 static PyObject *_wrap_wxComboBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject * _resultobj;
3417 int _result;
3418 wxComboBox * _arg0;
3419 PyObject * _argo0 = 0;
3420 char *_kwnames[] = { "self", NULL };
3421
3422 self = self;
3423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetCount",_kwnames,&_argo0))
3424 return NULL;
3425 if (_argo0) {
3426 if (_argo0 == Py_None) { _arg0 = NULL; }
3427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
3429 return NULL;
3430 }
3431 }
3432 {
3433 PyThreadState* __tstate = wxPyBeginAllowThreads();
3434 _result = (int )wxComboBox_GetCount(_arg0);
3435
3436 wxPyEndAllowThreads(__tstate);
3437 if (PyErr_Occurred()) return NULL;
3438 } _resultobj = Py_BuildValue("i",_result);
3439 return _resultobj;
3440 }
3441
3442 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3443 static PyObject *_wrap_wxComboBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3444 PyObject * _resultobj;
3445 wxString * _result;
3446 wxComboBox * _arg0;
3447 int _arg1;
3448 PyObject * _argo0 = 0;
3449 char *_kwnames[] = { "self","n", NULL };
3450
3451 self = self;
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetString",_kwnames,&_argo0,&_arg1))
3453 return NULL;
3454 if (_argo0) {
3455 if (_argo0 == Py_None) { _arg0 = NULL; }
3456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3458 return NULL;
3459 }
3460 }
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 _result = new wxString (wxComboBox_GetString(_arg0,_arg1));
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) return NULL;
3467 }{
3468 #if wxUSE_UNICODE
3469 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3470 #else
3471 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3472 #endif
3473 }
3474 {
3475 delete _result;
3476 }
3477 return _resultobj;
3478 }
3479
3480 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3481 static PyObject *_wrap_wxComboBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject * _resultobj;
3483 int _result;
3484 wxComboBox * _arg0;
3485 wxString * _arg1;
3486 PyObject * _argo0 = 0;
3487 PyObject * _obj1 = 0;
3488 char *_kwnames[] = { "self","s", NULL };
3489
3490 self = self;
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxComboBox_FindString",_kwnames,&_argo0,&_obj1))
3492 return NULL;
3493 if (_argo0) {
3494 if (_argo0 == Py_None) { _arg0 = NULL; }
3495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
3497 return NULL;
3498 }
3499 }
3500 {
3501 _arg1 = wxString_in_helper(_obj1);
3502 if (_arg1 == NULL)
3503 return NULL;
3504 }
3505 {
3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
3507 _result = (int )wxComboBox_FindString(_arg0,*_arg1);
3508
3509 wxPyEndAllowThreads(__tstate);
3510 if (PyErr_Occurred()) return NULL;
3511 } _resultobj = Py_BuildValue("i",_result);
3512 {
3513 if (_obj1)
3514 delete _arg1;
3515 }
3516 return _resultobj;
3517 }
3518
3519 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3520 static PyObject *_wrap_wxComboBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3521 PyObject * _resultobj;
3522 int _result;
3523 wxComboBox * _arg0;
3524 PyObject * _argo0 = 0;
3525 char *_kwnames[] = { "self", NULL };
3526
3527 self = self;
3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetSelection",_kwnames,&_argo0))
3529 return NULL;
3530 if (_argo0) {
3531 if (_argo0 == Py_None) { _arg0 = NULL; }
3532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
3534 return NULL;
3535 }
3536 }
3537 {
3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
3539 _result = (int )wxComboBox_GetSelection(_arg0);
3540
3541 wxPyEndAllowThreads(__tstate);
3542 if (PyErr_Occurred()) return NULL;
3543 } _resultobj = Py_BuildValue("i",_result);
3544 return _resultobj;
3545 }
3546
3547 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3548 static PyObject *_wrap_wxComboBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3549 PyObject * _resultobj;
3550 wxString * _result;
3551 wxComboBox * _arg0;
3552 PyObject * _argo0 = 0;
3553 char *_kwnames[] = { "self", NULL };
3554
3555 self = self;
3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxComboBox_GetStringSelection",_kwnames,&_argo0))
3557 return NULL;
3558 if (_argo0) {
3559 if (_argo0 == Py_None) { _arg0 = NULL; }
3560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3562 return NULL;
3563 }
3564 }
3565 {
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 _result = new wxString (wxComboBox_GetStringSelection(_arg0));
3568
3569 wxPyEndAllowThreads(__tstate);
3570 if (PyErr_Occurred()) return NULL;
3571 }{
3572 #if wxUSE_UNICODE
3573 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
3574 #else
3575 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
3576 #endif
3577 }
3578 {
3579 delete _result;
3580 }
3581 return _resultobj;
3582 }
3583
3584 static void wxComboBox_Append(wxComboBox *self,const wxString & item,PyObject * clientData) {
3585 if (clientData) {
3586 wxPyClientData* data = new wxPyClientData(clientData);
3587 self->Append(item, data);
3588 } else
3589 self->Append(item);
3590 }
3591 static PyObject *_wrap_wxComboBox_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject * _resultobj;
3593 wxComboBox * _arg0;
3594 wxString * _arg1;
3595 PyObject * _arg2 = (PyObject *) NULL;
3596 PyObject * _argo0 = 0;
3597 PyObject * _obj1 = 0;
3598 PyObject * _obj2 = 0;
3599 char *_kwnames[] = { "self","item","clientData", NULL };
3600
3601 self = self;
3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxComboBox_Append",_kwnames,&_argo0,&_obj1,&_obj2))
3603 return NULL;
3604 if (_argo0) {
3605 if (_argo0 == Py_None) { _arg0 = NULL; }
3606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
3608 return NULL;
3609 }
3610 }
3611 {
3612 _arg1 = wxString_in_helper(_obj1);
3613 if (_arg1 == NULL)
3614 return NULL;
3615 }
3616 if (_obj2)
3617 {
3618 _arg2 = _obj2;
3619 }
3620 {
3621 PyThreadState* __tstate = wxPyBeginAllowThreads();
3622 wxComboBox_Append(_arg0,*_arg1,_arg2);
3623
3624 wxPyEndAllowThreads(__tstate);
3625 if (PyErr_Occurred()) return NULL;
3626 } Py_INCREF(Py_None);
3627 _resultobj = Py_None;
3628 {
3629 if (_obj1)
3630 delete _arg1;
3631 }
3632 return _resultobj;
3633 }
3634
3635 static PyObject * wxComboBox_GetClientData(wxComboBox *self,int n) {
3636 #ifdef __WXMAC__
3637 wxPyClientData* data = (wxPyClientData*)self->wxItemContainer::GetClientObject(n);
3638 #else
3639 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
3640 #endif
3641 if (data) {
3642 Py_INCREF(data->m_obj);
3643 return data->m_obj;
3644 } else {
3645 Py_INCREF(Py_None);
3646 return Py_None;
3647 }
3648 }
3649 static PyObject *_wrap_wxComboBox_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
3650 PyObject * _resultobj;
3651 PyObject * _result;
3652 wxComboBox * _arg0;
3653 int _arg1;
3654 PyObject * _argo0 = 0;
3655 char *_kwnames[] = { "self","n", NULL };
3656
3657 self = self;
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxComboBox_GetClientData",_kwnames,&_argo0,&_arg1))
3659 return NULL;
3660 if (_argo0) {
3661 if (_argo0 == Py_None) { _arg0 = NULL; }
3662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
3664 return NULL;
3665 }
3666 }
3667 {
3668 PyThreadState* __tstate = wxPyBeginAllowThreads();
3669 _result = (PyObject *)wxComboBox_GetClientData(_arg0,_arg1);
3670
3671 wxPyEndAllowThreads(__tstate);
3672 if (PyErr_Occurred()) return NULL;
3673 }{
3674 _resultobj = _result;
3675 }
3676 return _resultobj;
3677 }
3678
3679 static void wxComboBox_SetClientData(wxComboBox *self,int n,PyObject * clientData) {
3680 wxPyClientData* data = new wxPyClientData(clientData);
3681 #ifdef __WXMAC__
3682 self->wxItemContainer::SetClientObject(n, data);
3683 #else
3684 self->SetClientObject(n, data);
3685 #endif
3686 }
3687 static PyObject *_wrap_wxComboBox_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
3688 PyObject * _resultobj;
3689 wxComboBox * _arg0;
3690 int _arg1;
3691 PyObject * _arg2;
3692 PyObject * _argo0 = 0;
3693 PyObject * _obj2 = 0;
3694 char *_kwnames[] = { "self","n","clientData", NULL };
3695
3696 self = self;
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxComboBox_SetClientData",_kwnames,&_argo0,&_arg1,&_obj2))
3698 return NULL;
3699 if (_argo0) {
3700 if (_argo0 == Py_None) { _arg0 = NULL; }
3701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxComboBox_p")) {
3702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
3703 return NULL;
3704 }
3705 }
3706 {
3707 _arg2 = _obj2;
3708 }
3709 {
3710 PyThreadState* __tstate = wxPyBeginAllowThreads();
3711 wxComboBox_SetClientData(_arg0,_arg1,_arg2);
3712
3713 wxPyEndAllowThreads(__tstate);
3714 if (PyErr_Occurred()) return NULL;
3715 } Py_INCREF(Py_None);
3716 _resultobj = Py_None;
3717 return _resultobj;
3718 }
3719
3720 static void *SwigwxGaugeTowxControl(void *ptr) {
3721 wxGauge *src;
3722 wxControl *dest;
3723 src = (wxGauge *) ptr;
3724 dest = (wxControl *) src;
3725 return (void *) dest;
3726 }
3727
3728 static void *SwigwxGaugeTowxWindow(void *ptr) {
3729 wxGauge *src;
3730 wxWindow *dest;
3731 src = (wxGauge *) ptr;
3732 dest = (wxWindow *) src;
3733 return (void *) dest;
3734 }
3735
3736 static void *SwigwxGaugeTowxEvtHandler(void *ptr) {
3737 wxGauge *src;
3738 wxEvtHandler *dest;
3739 src = (wxGauge *) ptr;
3740 dest = (wxEvtHandler *) src;
3741 return (void *) dest;
3742 }
3743
3744 static void *SwigwxGaugeTowxObject(void *ptr) {
3745 wxGauge *src;
3746 wxObject *dest;
3747 src = (wxGauge *) ptr;
3748 dest = (wxObject *) src;
3749 return (void *) dest;
3750 }
3751
3752 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3753 static PyObject *_wrap_new_wxGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3754 PyObject * _resultobj;
3755 wxGauge * _result;
3756 wxWindow * _arg0;
3757 wxWindowID _arg1;
3758 int _arg2;
3759 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
3760 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
3761 long _arg5 = (long ) wxGA_HORIZONTAL;
3762 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
3763 wxString * _arg7 = (wxString *) &wxPyGaugeNameStr;
3764 PyObject * _argo0 = 0;
3765 wxPoint temp;
3766 PyObject * _obj3 = 0;
3767 wxSize temp0;
3768 PyObject * _obj4 = 0;
3769 PyObject * _argo6 = 0;
3770 PyObject * _obj7 = 0;
3771 char *_kwnames[] = { "parent","id","range","pos","size","style","validator","name", NULL };
3772 char _ptemp[128];
3773
3774 self = self;
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OOlOO:new_wxGauge",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
3776 return NULL;
3777 if (_argo0) {
3778 if (_argo0 == Py_None) { _arg0 = NULL; }
3779 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
3780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3781 return NULL;
3782 }
3783 }
3784 if (_obj3)
3785 {
3786 _arg3 = &temp;
3787 if (! wxPoint_helper(_obj3, &_arg3))
3788 return NULL;
3789 }
3790 if (_obj4)
3791 {
3792 _arg4 = &temp0;
3793 if (! wxSize_helper(_obj4, &_arg4))
3794 return NULL;
3795 }
3796 if (_argo6) {
3797 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
3798 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3799 return NULL;
3800 }
3801 }
3802 if (_obj7)
3803 {
3804 _arg7 = wxString_in_helper(_obj7);
3805 if (_arg7 == NULL)
3806 return NULL;
3807 }
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 _result = (wxGauge *)new_wxGauge(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) return NULL;
3814 } if (_result) {
3815 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3816 _resultobj = Py_BuildValue("s",_ptemp);
3817 } else {
3818 Py_INCREF(Py_None);
3819 _resultobj = Py_None;
3820 }
3821 {
3822 if (_obj7)
3823 delete _arg7;
3824 }
3825 return _resultobj;
3826 }
3827
3828 #define new_wxPreGauge() (new wxGauge())
3829 static PyObject *_wrap_new_wxPreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3830 PyObject * _resultobj;
3831 wxGauge * _result;
3832 char *_kwnames[] = { NULL };
3833 char _ptemp[128];
3834
3835 self = self;
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreGauge",_kwnames))
3837 return NULL;
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 _result = (wxGauge *)new_wxPreGauge();
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) return NULL;
3844 } if (_result) {
3845 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGauge_p");
3846 _resultobj = Py_BuildValue("s",_ptemp);
3847 } else {
3848 Py_INCREF(Py_None);
3849 _resultobj = Py_None;
3850 }
3851 return _resultobj;
3852 }
3853
3854 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3855 static PyObject *_wrap_wxGauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3856 PyObject * _resultobj;
3857 bool _result;
3858 wxGauge * _arg0;
3859 wxWindow * _arg1;
3860 wxWindowID _arg2;
3861 int _arg3;
3862 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
3863 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
3864 long _arg6 = (long ) wxGA_HORIZONTAL;
3865 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
3866 wxString * _arg8 = (wxString *) &wxPyGaugeNameStr;
3867 PyObject * _argo0 = 0;
3868 PyObject * _argo1 = 0;
3869 wxPoint temp;
3870 PyObject * _obj4 = 0;
3871 wxSize temp0;
3872 PyObject * _obj5 = 0;
3873 PyObject * _argo7 = 0;
3874 PyObject * _obj8 = 0;
3875 char *_kwnames[] = { "self","parent","id","range","pos","size","style","validator","name", NULL };
3876
3877 self = self;
3878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOii|OOlOO:wxGauge_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
3879 return NULL;
3880 if (_argo0) {
3881 if (_argo0 == Py_None) { _arg0 = NULL; }
3882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3884 return NULL;
3885 }
3886 }
3887 if (_argo1) {
3888 if (_argo1 == Py_None) { _arg1 = NULL; }
3889 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
3890 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3891 return NULL;
3892 }
3893 }
3894 if (_obj4)
3895 {
3896 _arg4 = &temp;
3897 if (! wxPoint_helper(_obj4, &_arg4))
3898 return NULL;
3899 }
3900 if (_obj5)
3901 {
3902 _arg5 = &temp0;
3903 if (! wxSize_helper(_obj5, &_arg5))
3904 return NULL;
3905 }
3906 if (_argo7) {
3907 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
3908 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3909 return NULL;
3910 }
3911 }
3912 if (_obj8)
3913 {
3914 _arg8 = wxString_in_helper(_obj8);
3915 if (_arg8 == NULL)
3916 return NULL;
3917 }
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 _result = (bool )wxGauge_Create(_arg0,_arg1,_arg2,_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) return NULL;
3924 } _resultobj = Py_BuildValue("i",_result);
3925 {
3926 if (_obj8)
3927 delete _arg8;
3928 }
3929 return _resultobj;
3930 }
3931
3932 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3933 static PyObject *_wrap_wxGauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3934 PyObject * _resultobj;
3935 int _result;
3936 wxGauge * _arg0;
3937 PyObject * _argo0 = 0;
3938 char *_kwnames[] = { "self", NULL };
3939
3940 self = self;
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetBezelFace",_kwnames,&_argo0))
3942 return NULL;
3943 if (_argo0) {
3944 if (_argo0 == Py_None) { _arg0 = NULL; }
3945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3947 return NULL;
3948 }
3949 }
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 _result = (int )wxGauge_GetBezelFace(_arg0);
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) return NULL;
3956 } _resultobj = Py_BuildValue("i",_result);
3957 return _resultobj;
3958 }
3959
3960 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3961 static PyObject *_wrap_wxGauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3962 PyObject * _resultobj;
3963 int _result;
3964 wxGauge * _arg0;
3965 PyObject * _argo0 = 0;
3966 char *_kwnames[] = { "self", NULL };
3967
3968 self = self;
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetRange",_kwnames,&_argo0))
3970 return NULL;
3971 if (_argo0) {
3972 if (_argo0 == Py_None) { _arg0 = NULL; }
3973 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
3974 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3975 return NULL;
3976 }
3977 }
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 _result = (int )wxGauge_GetRange(_arg0);
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) return NULL;
3984 } _resultobj = Py_BuildValue("i",_result);
3985 return _resultobj;
3986 }
3987
3988 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3989 static PyObject *_wrap_wxGauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3990 PyObject * _resultobj;
3991 int _result;
3992 wxGauge * _arg0;
3993 PyObject * _argo0 = 0;
3994 char *_kwnames[] = { "self", NULL };
3995
3996 self = self;
3997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetShadowWidth",_kwnames,&_argo0))
3998 return NULL;
3999 if (_argo0) {
4000 if (_argo0 == Py_None) { _arg0 = NULL; }
4001 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4002 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
4003 return NULL;
4004 }
4005 }
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 _result = (int )wxGauge_GetShadowWidth(_arg0);
4009
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) return NULL;
4012 } _resultobj = Py_BuildValue("i",_result);
4013 return _resultobj;
4014 }
4015
4016 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
4017 static PyObject *_wrap_wxGauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4018 PyObject * _resultobj;
4019 int _result;
4020 wxGauge * _arg0;
4021 PyObject * _argo0 = 0;
4022 char *_kwnames[] = { "self", NULL };
4023
4024 self = self;
4025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_GetValue",_kwnames,&_argo0))
4026 return NULL;
4027 if (_argo0) {
4028 if (_argo0 == Py_None) { _arg0 = NULL; }
4029 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4030 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
4031 return NULL;
4032 }
4033 }
4034 {
4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
4036 _result = (int )wxGauge_GetValue(_arg0);
4037
4038 wxPyEndAllowThreads(__tstate);
4039 if (PyErr_Occurred()) return NULL;
4040 } _resultobj = Py_BuildValue("i",_result);
4041 return _resultobj;
4042 }
4043
4044 #define wxGauge_IsVertical(_swigobj) (_swigobj->IsVertical())
4045 static PyObject *_wrap_wxGauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4046 PyObject * _resultobj;
4047 bool _result;
4048 wxGauge * _arg0;
4049 PyObject * _argo0 = 0;
4050 char *_kwnames[] = { "self", NULL };
4051
4052 self = self;
4053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGauge_IsVertical",_kwnames,&_argo0))
4054 return NULL;
4055 if (_argo0) {
4056 if (_argo0 == Py_None) { _arg0 = NULL; }
4057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_IsVertical. Expected _wxGauge_p.");
4059 return NULL;
4060 }
4061 }
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 _result = (bool )wxGauge_IsVertical(_arg0);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) return NULL;
4068 } _resultobj = Py_BuildValue("i",_result);
4069 return _resultobj;
4070 }
4071
4072 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
4073 static PyObject *_wrap_wxGauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4074 PyObject * _resultobj;
4075 wxGauge * _arg0;
4076 int _arg1;
4077 PyObject * _argo0 = 0;
4078 char *_kwnames[] = { "self","width", NULL };
4079
4080 self = self;
4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetBezelFace",_kwnames,&_argo0,&_arg1))
4082 return NULL;
4083 if (_argo0) {
4084 if (_argo0 == Py_None) { _arg0 = NULL; }
4085 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
4087 return NULL;
4088 }
4089 }
4090 {
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 wxGauge_SetBezelFace(_arg0,_arg1);
4093
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) return NULL;
4096 } Py_INCREF(Py_None);
4097 _resultobj = Py_None;
4098 return _resultobj;
4099 }
4100
4101 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
4102 static PyObject *_wrap_wxGauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4103 PyObject * _resultobj;
4104 wxGauge * _arg0;
4105 int _arg1;
4106 PyObject * _argo0 = 0;
4107 char *_kwnames[] = { "self","range", NULL };
4108
4109 self = self;
4110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetRange",_kwnames,&_argo0,&_arg1))
4111 return NULL;
4112 if (_argo0) {
4113 if (_argo0 == Py_None) { _arg0 = NULL; }
4114 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4115 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
4116 return NULL;
4117 }
4118 }
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 wxGauge_SetRange(_arg0,_arg1);
4122
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) return NULL;
4125 } Py_INCREF(Py_None);
4126 _resultobj = Py_None;
4127 return _resultobj;
4128 }
4129
4130 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
4131 static PyObject *_wrap_wxGauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject * _resultobj;
4133 wxGauge * _arg0;
4134 int _arg1;
4135 PyObject * _argo0 = 0;
4136 char *_kwnames[] = { "self","width", NULL };
4137
4138 self = self;
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetShadowWidth",_kwnames,&_argo0,&_arg1))
4140 return NULL;
4141 if (_argo0) {
4142 if (_argo0 == Py_None) { _arg0 = NULL; }
4143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
4145 return NULL;
4146 }
4147 }
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 wxGauge_SetShadowWidth(_arg0,_arg1);
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) return NULL;
4154 } Py_INCREF(Py_None);
4155 _resultobj = Py_None;
4156 return _resultobj;
4157 }
4158
4159 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4160 static PyObject *_wrap_wxGauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject * _resultobj;
4162 wxGauge * _arg0;
4163 int _arg1;
4164 PyObject * _argo0 = 0;
4165 char *_kwnames[] = { "self","pos", NULL };
4166
4167 self = self;
4168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxGauge_SetValue",_kwnames,&_argo0,&_arg1))
4169 return NULL;
4170 if (_argo0) {
4171 if (_argo0 == Py_None) { _arg0 = NULL; }
4172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGauge_p")) {
4173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
4174 return NULL;
4175 }
4176 }
4177 {
4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
4179 wxGauge_SetValue(_arg0,_arg1);
4180
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) return NULL;
4183 } Py_INCREF(Py_None);
4184 _resultobj = Py_None;
4185 return _resultobj;
4186 }
4187
4188 static void *SwigwxStaticBoxTowxControl(void *ptr) {
4189 wxStaticBox *src;
4190 wxControl *dest;
4191 src = (wxStaticBox *) ptr;
4192 dest = (wxControl *) src;
4193 return (void *) dest;
4194 }
4195
4196 static void *SwigwxStaticBoxTowxWindow(void *ptr) {
4197 wxStaticBox *src;
4198 wxWindow *dest;
4199 src = (wxStaticBox *) ptr;
4200 dest = (wxWindow *) src;
4201 return (void *) dest;
4202 }
4203
4204 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr) {
4205 wxStaticBox *src;
4206 wxEvtHandler *dest;
4207 src = (wxStaticBox *) ptr;
4208 dest = (wxEvtHandler *) src;
4209 return (void *) dest;
4210 }
4211
4212 static void *SwigwxStaticBoxTowxObject(void *ptr) {
4213 wxStaticBox *src;
4214 wxObject *dest;
4215 src = (wxStaticBox *) ptr;
4216 dest = (wxObject *) src;
4217 return (void *) dest;
4218 }
4219
4220 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4221 static PyObject *_wrap_new_wxStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject * _resultobj;
4223 wxStaticBox * _result;
4224 wxWindow * _arg0;
4225 wxWindowID _arg1;
4226 wxString * _arg2;
4227 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4228 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4229 long _arg5 = (long ) 0;
4230 wxString * _arg6 = (wxString *) &wxPyStaticBoxNameStr;
4231 PyObject * _argo0 = 0;
4232 PyObject * _obj2 = 0;
4233 wxPoint temp;
4234 PyObject * _obj3 = 0;
4235 wxSize temp0;
4236 PyObject * _obj4 = 0;
4237 PyObject * _obj6 = 0;
4238 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
4239 char _ptemp[128];
4240
4241 self = self;
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
4243 return NULL;
4244 if (_argo0) {
4245 if (_argo0 == Py_None) { _arg0 = NULL; }
4246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
4248 return NULL;
4249 }
4250 }
4251 {
4252 _arg2 = wxString_in_helper(_obj2);
4253 if (_arg2 == NULL)
4254 return NULL;
4255 }
4256 if (_obj3)
4257 {
4258 _arg3 = &temp;
4259 if (! wxPoint_helper(_obj3, &_arg3))
4260 return NULL;
4261 }
4262 if (_obj4)
4263 {
4264 _arg4 = &temp0;
4265 if (! wxSize_helper(_obj4, &_arg4))
4266 return NULL;
4267 }
4268 if (_obj6)
4269 {
4270 _arg6 = wxString_in_helper(_obj6);
4271 if (_arg6 == NULL)
4272 return NULL;
4273 }
4274 {
4275 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276 _result = (wxStaticBox *)new_wxStaticBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
4277
4278 wxPyEndAllowThreads(__tstate);
4279 if (PyErr_Occurred()) return NULL;
4280 } if (_result) {
4281 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
4282 _resultobj = Py_BuildValue("s",_ptemp);
4283 } else {
4284 Py_INCREF(Py_None);
4285 _resultobj = Py_None;
4286 }
4287 {
4288 if (_obj2)
4289 delete _arg2;
4290 }
4291 {
4292 if (_obj6)
4293 delete _arg6;
4294 }
4295 return _resultobj;
4296 }
4297
4298 #define new_wxPreStaticBox() (new wxStaticBox())
4299 static PyObject *_wrap_new_wxPreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4300 PyObject * _resultobj;
4301 wxStaticBox * _result;
4302 char *_kwnames[] = { NULL };
4303 char _ptemp[128];
4304
4305 self = self;
4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBox",_kwnames))
4307 return NULL;
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 _result = (wxStaticBox *)new_wxPreStaticBox();
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) return NULL;
4314 } if (_result) {
4315 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBox_p");
4316 _resultobj = Py_BuildValue("s",_ptemp);
4317 } else {
4318 Py_INCREF(Py_None);
4319 _resultobj = Py_None;
4320 }
4321 return _resultobj;
4322 }
4323
4324 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4325 static PyObject *_wrap_wxStaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4326 PyObject * _resultobj;
4327 bool _result;
4328 wxStaticBox * _arg0;
4329 wxWindow * _arg1;
4330 wxWindowID _arg2;
4331 wxString * _arg3;
4332 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4333 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4334 long _arg6 = (long ) 0;
4335 wxString * _arg7 = (wxString *) &wxPyStaticBoxNameStr;
4336 PyObject * _argo0 = 0;
4337 PyObject * _argo1 = 0;
4338 PyObject * _obj3 = 0;
4339 wxPoint temp;
4340 PyObject * _obj4 = 0;
4341 wxSize temp0;
4342 PyObject * _obj5 = 0;
4343 PyObject * _obj7 = 0;
4344 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4345
4346 self = self;
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
4348 return NULL;
4349 if (_argo0) {
4350 if (_argo0 == Py_None) { _arg0 = NULL; }
4351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBox_p")) {
4352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4353 return NULL;
4354 }
4355 }
4356 if (_argo1) {
4357 if (_argo1 == Py_None) { _arg1 = NULL; }
4358 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4359 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4360 return NULL;
4361 }
4362 }
4363 {
4364 _arg3 = wxString_in_helper(_obj3);
4365 if (_arg3 == NULL)
4366 return NULL;
4367 }
4368 if (_obj4)
4369 {
4370 _arg4 = &temp;
4371 if (! wxPoint_helper(_obj4, &_arg4))
4372 return NULL;
4373 }
4374 if (_obj5)
4375 {
4376 _arg5 = &temp0;
4377 if (! wxSize_helper(_obj5, &_arg5))
4378 return NULL;
4379 }
4380 if (_obj7)
4381 {
4382 _arg7 = wxString_in_helper(_obj7);
4383 if (_arg7 == NULL)
4384 return NULL;
4385 }
4386 {
4387 PyThreadState* __tstate = wxPyBeginAllowThreads();
4388 _result = (bool )wxStaticBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
4389
4390 wxPyEndAllowThreads(__tstate);
4391 if (PyErr_Occurred()) return NULL;
4392 } _resultobj = Py_BuildValue("i",_result);
4393 {
4394 if (_obj3)
4395 delete _arg3;
4396 }
4397 {
4398 if (_obj7)
4399 delete _arg7;
4400 }
4401 return _resultobj;
4402 }
4403
4404 static void *SwigwxStaticLineTowxControl(void *ptr) {
4405 wxStaticLine *src;
4406 wxControl *dest;
4407 src = (wxStaticLine *) ptr;
4408 dest = (wxControl *) src;
4409 return (void *) dest;
4410 }
4411
4412 static void *SwigwxStaticLineTowxWindow(void *ptr) {
4413 wxStaticLine *src;
4414 wxWindow *dest;
4415 src = (wxStaticLine *) ptr;
4416 dest = (wxWindow *) src;
4417 return (void *) dest;
4418 }
4419
4420 static void *SwigwxStaticLineTowxEvtHandler(void *ptr) {
4421 wxStaticLine *src;
4422 wxEvtHandler *dest;
4423 src = (wxStaticLine *) ptr;
4424 dest = (wxEvtHandler *) src;
4425 return (void *) dest;
4426 }
4427
4428 static void *SwigwxStaticLineTowxObject(void *ptr) {
4429 wxStaticLine *src;
4430 wxObject *dest;
4431 src = (wxStaticLine *) ptr;
4432 dest = (wxObject *) src;
4433 return (void *) dest;
4434 }
4435
4436 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4437 static PyObject *_wrap_new_wxStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4438 PyObject * _resultobj;
4439 wxStaticLine * _result;
4440 wxWindow * _arg0;
4441 wxWindowID _arg1;
4442 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4443 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4444 long _arg4 = (long ) wxLI_HORIZONTAL;
4445 wxString * _arg5 = (wxString *) &wxPyStaticTextNameStr;
4446 PyObject * _argo0 = 0;
4447 wxPoint temp;
4448 PyObject * _obj2 = 0;
4449 wxSize temp0;
4450 PyObject * _obj3 = 0;
4451 PyObject * _obj5 = 0;
4452 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
4453 char _ptemp[128];
4454
4455 self = self;
4456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStaticLine",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
4457 return NULL;
4458 if (_argo0) {
4459 if (_argo0 == Py_None) { _arg0 = NULL; }
4460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4462 return NULL;
4463 }
4464 }
4465 if (_obj2)
4466 {
4467 _arg2 = &temp;
4468 if (! wxPoint_helper(_obj2, &_arg2))
4469 return NULL;
4470 }
4471 if (_obj3)
4472 {
4473 _arg3 = &temp0;
4474 if (! wxSize_helper(_obj3, &_arg3))
4475 return NULL;
4476 }
4477 if (_obj5)
4478 {
4479 _arg5 = wxString_in_helper(_obj5);
4480 if (_arg5 == NULL)
4481 return NULL;
4482 }
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 _result = (wxStaticLine *)new_wxStaticLine(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
4486
4487 wxPyEndAllowThreads(__tstate);
4488 if (PyErr_Occurred()) return NULL;
4489 } if (_result) {
4490 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4491 _resultobj = Py_BuildValue("s",_ptemp);
4492 } else {
4493 Py_INCREF(Py_None);
4494 _resultobj = Py_None;
4495 }
4496 {
4497 if (_obj5)
4498 delete _arg5;
4499 }
4500 return _resultobj;
4501 }
4502
4503 #define new_wxPreStaticLine() (new wxStaticLine())
4504 static PyObject *_wrap_new_wxPreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4505 PyObject * _resultobj;
4506 wxStaticLine * _result;
4507 char *_kwnames[] = { NULL };
4508 char _ptemp[128];
4509
4510 self = self;
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticLine",_kwnames))
4512 return NULL;
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 _result = (wxStaticLine *)new_wxPreStaticLine();
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) return NULL;
4519 } if (_result) {
4520 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticLine_p");
4521 _resultobj = Py_BuildValue("s",_ptemp);
4522 } else {
4523 Py_INCREF(Py_None);
4524 _resultobj = Py_None;
4525 }
4526 return _resultobj;
4527 }
4528
4529 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4530 static PyObject *_wrap_wxStaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4531 PyObject * _resultobj;
4532 bool _result;
4533 wxStaticLine * _arg0;
4534 wxWindow * _arg1;
4535 wxWindowID _arg2;
4536 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4537 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4538 long _arg5 = (long ) wxLI_HORIZONTAL;
4539 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
4540 PyObject * _argo0 = 0;
4541 PyObject * _argo1 = 0;
4542 wxPoint temp;
4543 PyObject * _obj3 = 0;
4544 wxSize temp0;
4545 PyObject * _obj4 = 0;
4546 PyObject * _obj6 = 0;
4547 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
4548
4549 self = self;
4550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOlO:wxStaticLine_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
4551 return NULL;
4552 if (_argo0) {
4553 if (_argo0 == Py_None) { _arg0 = NULL; }
4554 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticLine_p")) {
4555 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4556 return NULL;
4557 }
4558 }
4559 if (_argo1) {
4560 if (_argo1 == Py_None) { _arg1 = NULL; }
4561 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4562 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4563 return NULL;
4564 }
4565 }
4566 if (_obj3)
4567 {
4568 _arg3 = &temp;
4569 if (! wxPoint_helper(_obj3, &_arg3))
4570 return NULL;
4571 }
4572 if (_obj4)
4573 {
4574 _arg4 = &temp0;
4575 if (! wxSize_helper(_obj4, &_arg4))
4576 return NULL;
4577 }
4578 if (_obj6)
4579 {
4580 _arg6 = wxString_in_helper(_obj6);
4581 if (_arg6 == NULL)
4582 return NULL;
4583 }
4584 {
4585 PyThreadState* __tstate = wxPyBeginAllowThreads();
4586 _result = (bool )wxStaticLine_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
4587
4588 wxPyEndAllowThreads(__tstate);
4589 if (PyErr_Occurred()) return NULL;
4590 } _resultobj = Py_BuildValue("i",_result);
4591 {
4592 if (_obj6)
4593 delete _arg6;
4594 }
4595 return _resultobj;
4596 }
4597
4598 static void *SwigwxStaticTextTowxControl(void *ptr) {
4599 wxStaticText *src;
4600 wxControl *dest;
4601 src = (wxStaticText *) ptr;
4602 dest = (wxControl *) src;
4603 return (void *) dest;
4604 }
4605
4606 static void *SwigwxStaticTextTowxWindow(void *ptr) {
4607 wxStaticText *src;
4608 wxWindow *dest;
4609 src = (wxStaticText *) ptr;
4610 dest = (wxWindow *) src;
4611 return (void *) dest;
4612 }
4613
4614 static void *SwigwxStaticTextTowxEvtHandler(void *ptr) {
4615 wxStaticText *src;
4616 wxEvtHandler *dest;
4617 src = (wxStaticText *) ptr;
4618 dest = (wxEvtHandler *) src;
4619 return (void *) dest;
4620 }
4621
4622 static void *SwigwxStaticTextTowxObject(void *ptr) {
4623 wxStaticText *src;
4624 wxObject *dest;
4625 src = (wxStaticText *) ptr;
4626 dest = (wxObject *) src;
4627 return (void *) dest;
4628 }
4629
4630 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4631 static PyObject *_wrap_new_wxStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject * _resultobj;
4633 wxStaticText * _result;
4634 wxWindow * _arg0;
4635 wxWindowID _arg1;
4636 wxString * _arg2;
4637 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
4638 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
4639 long _arg5 = (long ) 0;
4640 wxString * _arg6 = (wxString *) &wxPyStaticTextNameStr;
4641 PyObject * _argo0 = 0;
4642 PyObject * _obj2 = 0;
4643 wxPoint temp;
4644 PyObject * _obj3 = 0;
4645 wxSize temp0;
4646 PyObject * _obj4 = 0;
4647 PyObject * _obj6 = 0;
4648 char *_kwnames[] = { "parent","id","label","pos","size","style","name", NULL };
4649 char _ptemp[128];
4650
4651 self = self;
4652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticText",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_obj6))
4653 return NULL;
4654 if (_argo0) {
4655 if (_argo0 == Py_None) { _arg0 = NULL; }
4656 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4657 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4658 return NULL;
4659 }
4660 }
4661 {
4662 _arg2 = wxString_in_helper(_obj2);
4663 if (_arg2 == NULL)
4664 return NULL;
4665 }
4666 if (_obj3)
4667 {
4668 _arg3 = &temp;
4669 if (! wxPoint_helper(_obj3, &_arg3))
4670 return NULL;
4671 }
4672 if (_obj4)
4673 {
4674 _arg4 = &temp0;
4675 if (! wxSize_helper(_obj4, &_arg4))
4676 return NULL;
4677 }
4678 if (_obj6)
4679 {
4680 _arg6 = wxString_in_helper(_obj6);
4681 if (_arg6 == NULL)
4682 return NULL;
4683 }
4684 {
4685 PyThreadState* __tstate = wxPyBeginAllowThreads();
4686 _result = (wxStaticText *)new_wxStaticText(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
4687
4688 wxPyEndAllowThreads(__tstate);
4689 if (PyErr_Occurred()) return NULL;
4690 } if (_result) {
4691 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4692 _resultobj = Py_BuildValue("s",_ptemp);
4693 } else {
4694 Py_INCREF(Py_None);
4695 _resultobj = Py_None;
4696 }
4697 {
4698 if (_obj2)
4699 delete _arg2;
4700 }
4701 {
4702 if (_obj6)
4703 delete _arg6;
4704 }
4705 return _resultobj;
4706 }
4707
4708 #define new_wxPreStaticText() (new wxStaticText())
4709 static PyObject *_wrap_new_wxPreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4710 PyObject * _resultobj;
4711 wxStaticText * _result;
4712 char *_kwnames[] = { NULL };
4713 char _ptemp[128];
4714
4715 self = self;
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticText",_kwnames))
4717 return NULL;
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 _result = (wxStaticText *)new_wxPreStaticText();
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) return NULL;
4724 } if (_result) {
4725 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticText_p");
4726 _resultobj = Py_BuildValue("s",_ptemp);
4727 } else {
4728 Py_INCREF(Py_None);
4729 _resultobj = Py_None;
4730 }
4731 return _resultobj;
4732 }
4733
4734 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4735 static PyObject *_wrap_wxStaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject * _resultobj;
4737 bool _result;
4738 wxStaticText * _arg0;
4739 wxWindow * _arg1;
4740 wxWindowID _arg2;
4741 wxString * _arg3;
4742 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
4743 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
4744 long _arg6 = (long ) 0;
4745 wxString * _arg7 = (wxString *) &wxPyStaticTextNameStr;
4746 PyObject * _argo0 = 0;
4747 PyObject * _argo1 = 0;
4748 PyObject * _obj3 = 0;
4749 wxPoint temp;
4750 PyObject * _obj4 = 0;
4751 wxSize temp0;
4752 PyObject * _obj5 = 0;
4753 PyObject * _obj7 = 0;
4754 char *_kwnames[] = { "self","parent","id","label","pos","size","style","name", NULL };
4755
4756 self = self;
4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticText_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_obj7))
4758 return NULL;
4759 if (_argo0) {
4760 if (_argo0 == Py_None) { _arg0 = NULL; }
4761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4763 return NULL;
4764 }
4765 }
4766 if (_argo1) {
4767 if (_argo1 == Py_None) { _arg1 = NULL; }
4768 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
4769 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4770 return NULL;
4771 }
4772 }
4773 {
4774 _arg3 = wxString_in_helper(_obj3);
4775 if (_arg3 == NULL)
4776 return NULL;
4777 }
4778 if (_obj4)
4779 {
4780 _arg4 = &temp;
4781 if (! wxPoint_helper(_obj4, &_arg4))
4782 return NULL;
4783 }
4784 if (_obj5)
4785 {
4786 _arg5 = &temp0;
4787 if (! wxSize_helper(_obj5, &_arg5))
4788 return NULL;
4789 }
4790 if (_obj7)
4791 {
4792 _arg7 = wxString_in_helper(_obj7);
4793 if (_arg7 == NULL)
4794 return NULL;
4795 }
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 _result = (bool )wxStaticText_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
4799
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) return NULL;
4802 } _resultobj = Py_BuildValue("i",_result);
4803 {
4804 if (_obj3)
4805 delete _arg3;
4806 }
4807 {
4808 if (_obj7)
4809 delete _arg7;
4810 }
4811 return _resultobj;
4812 }
4813
4814 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4815 static PyObject *_wrap_wxStaticText_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4816 PyObject * _resultobj;
4817 wxString * _result;
4818 wxStaticText * _arg0;
4819 PyObject * _argo0 = 0;
4820 char *_kwnames[] = { "self", NULL };
4821
4822 self = self;
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticText_GetLabel",_kwnames,&_argo0))
4824 return NULL;
4825 if (_argo0) {
4826 if (_argo0 == Py_None) { _arg0 = NULL; }
4827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4829 return NULL;
4830 }
4831 }
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 _result = new wxString (wxStaticText_GetLabel(_arg0));
4835
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) return NULL;
4838 }{
4839 #if wxUSE_UNICODE
4840 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
4841 #else
4842 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4843 #endif
4844 }
4845 {
4846 delete _result;
4847 }
4848 return _resultobj;
4849 }
4850
4851 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4852 static PyObject *_wrap_wxStaticText_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
4853 PyObject * _resultobj;
4854 wxStaticText * _arg0;
4855 wxString * _arg1;
4856 PyObject * _argo0 = 0;
4857 PyObject * _obj1 = 0;
4858 char *_kwnames[] = { "self","label", NULL };
4859
4860 self = self;
4861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticText_SetLabel",_kwnames,&_argo0,&_obj1))
4862 return NULL;
4863 if (_argo0) {
4864 if (_argo0 == Py_None) { _arg0 = NULL; }
4865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticText_p")) {
4866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4867 return NULL;
4868 }
4869 }
4870 {
4871 _arg1 = wxString_in_helper(_obj1);
4872 if (_arg1 == NULL)
4873 return NULL;
4874 }
4875 {
4876 PyThreadState* __tstate = wxPyBeginAllowThreads();
4877 wxStaticText_SetLabel(_arg0,*_arg1);
4878
4879 wxPyEndAllowThreads(__tstate);
4880 if (PyErr_Occurred()) return NULL;
4881 } Py_INCREF(Py_None);
4882 _resultobj = Py_None;
4883 {
4884 if (_obj1)
4885 delete _arg1;
4886 }
4887 return _resultobj;
4888 }
4889
4890 static void *SwigwxListBoxTowxControlWithItems(void *ptr) {
4891 wxListBox *src;
4892 wxControlWithItems *dest;
4893 src = (wxListBox *) ptr;
4894 dest = (wxControlWithItems *) src;
4895 return (void *) dest;
4896 }
4897
4898 static void *SwigwxListBoxTowxControl(void *ptr) {
4899 wxListBox *src;
4900 wxControl *dest;
4901 src = (wxListBox *) ptr;
4902 dest = (wxControl *) src;
4903 return (void *) dest;
4904 }
4905
4906 static void *SwigwxListBoxTowxWindow(void *ptr) {
4907 wxListBox *src;
4908 wxWindow *dest;
4909 src = (wxListBox *) ptr;
4910 dest = (wxWindow *) src;
4911 return (void *) dest;
4912 }
4913
4914 static void *SwigwxListBoxTowxEvtHandler(void *ptr) {
4915 wxListBox *src;
4916 wxEvtHandler *dest;
4917 src = (wxListBox *) ptr;
4918 dest = (wxEvtHandler *) src;
4919 return (void *) dest;
4920 }
4921
4922 static void *SwigwxListBoxTowxObject(void *ptr) {
4923 wxListBox *src;
4924 wxObject *dest;
4925 src = (wxListBox *) ptr;
4926 dest = (wxObject *) src;
4927 return (void *) dest;
4928 }
4929
4930 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4931 static PyObject *_wrap_new_wxListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4932 PyObject * _resultobj;
4933 wxListBox * _result;
4934 wxWindow * _arg0;
4935 wxWindowID _arg1;
4936 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
4937 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
4938 int _arg4;
4939 wxString * _arg5 = (wxString *) NULL;
4940 long _arg6 = (long ) 0;
4941 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
4942 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
4943 PyObject * _argo0 = 0;
4944 wxPoint temp;
4945 PyObject * _obj2 = 0;
4946 wxSize temp0;
4947 PyObject * _obj3 = 0;
4948 PyObject * _obj5 = 0;
4949 PyObject * _argo7 = 0;
4950 PyObject * _obj8 = 0;
4951 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
4952 char _ptemp[128];
4953
4954 self = self;
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
4956 return NULL;
4957 if (_argo0) {
4958 if (_argo0 == Py_None) { _arg0 = NULL; }
4959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
4960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4961 return NULL;
4962 }
4963 }
4964 if (_obj2)
4965 {
4966 _arg2 = &temp;
4967 if (! wxPoint_helper(_obj2, &_arg2))
4968 return NULL;
4969 }
4970 if (_obj3)
4971 {
4972 _arg3 = &temp0;
4973 if (! wxSize_helper(_obj3, &_arg3))
4974 return NULL;
4975 }
4976 if (_obj5)
4977 {
4978 _arg5 = wxString_LIST_helper(_obj5);
4979 if (_arg5 == NULL) {
4980 return NULL;
4981 }
4982 }
4983 if (_argo7) {
4984 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
4985 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4986 return NULL;
4987 }
4988 }
4989 if (_obj8)
4990 {
4991 _arg8 = wxString_in_helper(_obj8);
4992 if (_arg8 == NULL)
4993 return NULL;
4994 }
4995 {
4996 if (_obj5) {
4997 _arg4 = PyList_Size(_obj5);
4998 }
4999 else {
5000 _arg4 = 0;
5001 }
5002 }
5003 {
5004 PyThreadState* __tstate = wxPyBeginAllowThreads();
5005 _result = (wxListBox *)new_wxListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
5006
5007 wxPyEndAllowThreads(__tstate);
5008 if (PyErr_Occurred()) return NULL;
5009 } if (_result) {
5010 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
5011 _resultobj = Py_BuildValue("s",_ptemp);
5012 } else {
5013 Py_INCREF(Py_None);
5014 _resultobj = Py_None;
5015 }
5016 {
5017 delete [] _arg5;
5018 }
5019 {
5020 if (_obj8)
5021 delete _arg8;
5022 }
5023 return _resultobj;
5024 }
5025
5026 #define new_wxPreListBox() (new wxListBox())
5027 static PyObject *_wrap_new_wxPreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5028 PyObject * _resultobj;
5029 wxListBox * _result;
5030 char *_kwnames[] = { NULL };
5031 char _ptemp[128];
5032
5033 self = self;
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreListBox",_kwnames))
5035 return NULL;
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 _result = (wxListBox *)new_wxPreListBox();
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) return NULL;
5042 } if (_result) {
5043 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListBox_p");
5044 _resultobj = Py_BuildValue("s",_ptemp);
5045 } else {
5046 Py_INCREF(Py_None);
5047 _resultobj = Py_None;
5048 }
5049 return _resultobj;
5050 }
5051
5052 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5053 static PyObject *_wrap_wxListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5054 PyObject * _resultobj;
5055 bool _result;
5056 wxListBox * _arg0;
5057 wxWindow * _arg1;
5058 wxWindowID _arg2;
5059 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5060 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5061 int _arg5;
5062 wxString * _arg6 = (wxString *) NULL;
5063 long _arg7 = (long ) 0;
5064 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
5065 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
5066 PyObject * _argo0 = 0;
5067 PyObject * _argo1 = 0;
5068 wxPoint temp;
5069 PyObject * _obj3 = 0;
5070 wxSize temp0;
5071 PyObject * _obj4 = 0;
5072 PyObject * _obj6 = 0;
5073 PyObject * _argo8 = 0;
5074 PyObject * _obj9 = 0;
5075 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5076
5077 self = self;
5078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
5079 return NULL;
5080 if (_argo0) {
5081 if (_argo0 == Py_None) { _arg0 = NULL; }
5082 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5083 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
5084 return NULL;
5085 }
5086 }
5087 if (_argo1) {
5088 if (_argo1 == Py_None) { _arg1 = NULL; }
5089 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5090 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
5091 return NULL;
5092 }
5093 }
5094 if (_obj3)
5095 {
5096 _arg3 = &temp;
5097 if (! wxPoint_helper(_obj3, &_arg3))
5098 return NULL;
5099 }
5100 if (_obj4)
5101 {
5102 _arg4 = &temp0;
5103 if (! wxSize_helper(_obj4, &_arg4))
5104 return NULL;
5105 }
5106 if (_obj6)
5107 {
5108 _arg6 = wxString_LIST_helper(_obj6);
5109 if (_arg6 == NULL) {
5110 return NULL;
5111 }
5112 }
5113 if (_argo8) {
5114 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
5115 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
5116 return NULL;
5117 }
5118 }
5119 if (_obj9)
5120 {
5121 _arg9 = wxString_in_helper(_obj9);
5122 if (_arg9 == NULL)
5123 return NULL;
5124 }
5125 {
5126 if (_obj6) {
5127 _arg5 = PyList_Size(_obj6);
5128 }
5129 else {
5130 _arg5 = 0;
5131 }
5132 }
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 _result = (bool )wxListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) return NULL;
5139 } _resultobj = Py_BuildValue("i",_result);
5140 {
5141 delete [] _arg6;
5142 }
5143 {
5144 if (_obj9)
5145 delete _arg9;
5146 }
5147 return _resultobj;
5148 }
5149
5150 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
5151 static PyObject *_wrap_wxListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5152 PyObject * _resultobj;
5153 wxListBox * _arg0;
5154 PyObject * _argo0 = 0;
5155 char *_kwnames[] = { "self", NULL };
5156
5157 self = self;
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_Clear",_kwnames,&_argo0))
5159 return NULL;
5160 if (_argo0) {
5161 if (_argo0 == Py_None) { _arg0 = NULL; }
5162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
5164 return NULL;
5165 }
5166 }
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 wxListBox_Clear(_arg0);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) return NULL;
5173 } Py_INCREF(Py_None);
5174 _resultobj = Py_None;
5175 return _resultobj;
5176 }
5177
5178 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
5179 static PyObject *_wrap_wxListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5180 PyObject * _resultobj;
5181 wxListBox * _arg0;
5182 int _arg1;
5183 PyObject * _argo0 = 0;
5184 char *_kwnames[] = { "self","n", NULL };
5185
5186 self = self;
5187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Deselect",_kwnames,&_argo0,&_arg1))
5188 return NULL;
5189 if (_argo0) {
5190 if (_argo0 == Py_None) { _arg0 = NULL; }
5191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
5193 return NULL;
5194 }
5195 }
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 wxListBox_Deselect(_arg0,_arg1);
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) return NULL;
5202 } Py_INCREF(Py_None);
5203 _resultobj = Py_None;
5204 return _resultobj;
5205 }
5206
5207 static PyObject * wxListBox_GetSelections(wxListBox *self) {
5208 wxArrayInt lst;
5209 self->GetSelections(lst);
5210 PyObject *tup = PyTuple_New(lst.GetCount());
5211 for(size_t i=0; i<lst.GetCount(); i++) {
5212 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
5213 }
5214 return tup;
5215 }
5216 static PyObject *_wrap_wxListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5217 PyObject * _resultobj;
5218 PyObject * _result;
5219 wxListBox * _arg0;
5220 PyObject * _argo0 = 0;
5221 char *_kwnames[] = { "self", NULL };
5222
5223 self = self;
5224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListBox_GetSelections",_kwnames,&_argo0))
5225 return NULL;
5226 if (_argo0) {
5227 if (_argo0 == Py_None) { _arg0 = NULL; }
5228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5230 return NULL;
5231 }
5232 }
5233 {
5234 PyThreadState* __tstate = wxPyBeginAllowThreads();
5235 _result = (PyObject *)wxListBox_GetSelections(_arg0);
5236
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) return NULL;
5239 }{
5240 _resultobj = _result;
5241 }
5242 return _resultobj;
5243 }
5244
5245 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5246 static PyObject *_wrap_wxListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5247 PyObject * _resultobj;
5248 wxListBox * _arg0;
5249 int _arg1;
5250 wxString * _arg2;
5251 int _arg3;
5252 PyObject * _argo0 = 0;
5253 PyObject * _obj2 = 0;
5254 char *_kwnames[] = { "self","choices","pos", NULL };
5255
5256 self = self;
5257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5258 return NULL;
5259 if (_argo0) {
5260 if (_argo0 == Py_None) { _arg0 = NULL; }
5261 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5262 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5263 return NULL;
5264 }
5265 }
5266 {
5267 _arg2 = wxString_LIST_helper(_obj2);
5268 if (_arg2 == NULL) {
5269 return NULL;
5270 }
5271 }
5272 {
5273 if (_obj2) {
5274 _arg1 = PyList_Size(_obj2);
5275 }
5276 else {
5277 _arg1 = 0;
5278 }
5279 }
5280 {
5281 PyThreadState* __tstate = wxPyBeginAllowThreads();
5282 wxListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
5283
5284 wxPyEndAllowThreads(__tstate);
5285 if (PyErr_Occurred()) return NULL;
5286 } Py_INCREF(Py_None);
5287 _resultobj = Py_None;
5288 {
5289 delete [] _arg2;
5290 }
5291 return _resultobj;
5292 }
5293
5294 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5295 static PyObject *_wrap_wxListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5296 PyObject * _resultobj;
5297 bool _result;
5298 wxListBox * _arg0;
5299 int _arg1;
5300 PyObject * _argo0 = 0;
5301 char *_kwnames[] = { "self","n", NULL };
5302
5303 self = self;
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_IsSelected",_kwnames,&_argo0,&_arg1))
5305 return NULL;
5306 if (_argo0) {
5307 if (_argo0 == Py_None) { _arg0 = NULL; }
5308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5310 return NULL;
5311 }
5312 }
5313 {
5314 PyThreadState* __tstate = wxPyBeginAllowThreads();
5315 _result = (bool )wxListBox_IsSelected(_arg0,_arg1);
5316
5317 wxPyEndAllowThreads(__tstate);
5318 if (PyErr_Occurred()) return NULL;
5319 } _resultobj = Py_BuildValue("i",_result);
5320 return _resultobj;
5321 }
5322
5323 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5324 static PyObject *_wrap_wxListBox_Selected(PyObject *self, PyObject *args, PyObject *kwargs) {
5325 PyObject * _resultobj;
5326 bool _result;
5327 wxListBox * _arg0;
5328 int _arg1;
5329 PyObject * _argo0 = 0;
5330 char *_kwnames[] = { "self","n", NULL };
5331
5332 self = self;
5333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_Selected",_kwnames,&_argo0,&_arg1))
5334 return NULL;
5335 if (_argo0) {
5336 if (_argo0 == Py_None) { _arg0 = NULL; }
5337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5339 return NULL;
5340 }
5341 }
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 _result = (bool )wxListBox_Selected(_arg0,_arg1);
5345
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) return NULL;
5348 } _resultobj = Py_BuildValue("i",_result);
5349 return _resultobj;
5350 }
5351
5352 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5353 static PyObject *_wrap_wxListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject * _resultobj;
5355 wxListBox * _arg0;
5356 int _arg1;
5357 wxString * _arg2;
5358 PyObject * _argo0 = 0;
5359 PyObject * _obj2 = 0;
5360 char *_kwnames[] = { "self","choices", NULL };
5361
5362 self = self;
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_Set",_kwnames,&_argo0,&_obj2))
5364 return NULL;
5365 if (_argo0) {
5366 if (_argo0 == Py_None) { _arg0 = NULL; }
5367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5369 return NULL;
5370 }
5371 }
5372 if (_obj2)
5373 {
5374 _arg2 = wxString_LIST_helper(_obj2);
5375 if (_arg2 == NULL) {
5376 return NULL;
5377 }
5378 }
5379 {
5380 if (_obj2) {
5381 _arg1 = PyList_Size(_obj2);
5382 }
5383 else {
5384 _arg1 = 0;
5385 }
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 wxListBox_Set(_arg0,_arg1,_arg2);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) return NULL;
5393 } Py_INCREF(Py_None);
5394 _resultobj = Py_None;
5395 {
5396 delete [] _arg2;
5397 }
5398 return _resultobj;
5399 }
5400
5401 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5402 static PyObject *_wrap_wxListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5403 PyObject * _resultobj;
5404 wxListBox * _arg0;
5405 int _arg1;
5406 PyObject * _argo0 = 0;
5407 char *_kwnames[] = { "self","n", NULL };
5408
5409 self = self;
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListBox_SetFirstItem",_kwnames,&_argo0,&_arg1))
5411 return NULL;
5412 if (_argo0) {
5413 if (_argo0 == Py_None) { _arg0 = NULL; }
5414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5416 return NULL;
5417 }
5418 }
5419 {
5420 PyThreadState* __tstate = wxPyBeginAllowThreads();
5421 wxListBox_SetFirstItem(_arg0,_arg1);
5422
5423 wxPyEndAllowThreads(__tstate);
5424 if (PyErr_Occurred()) return NULL;
5425 } Py_INCREF(Py_None);
5426 _resultobj = Py_None;
5427 return _resultobj;
5428 }
5429
5430 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5431 static PyObject *_wrap_wxListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5432 PyObject * _resultobj;
5433 wxListBox * _arg0;
5434 wxString * _arg1;
5435 PyObject * _argo0 = 0;
5436 PyObject * _obj1 = 0;
5437 char *_kwnames[] = { "self","string", NULL };
5438
5439 self = self;
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListBox_SetFirstItemStr",_kwnames,&_argo0,&_obj1))
5441 return NULL;
5442 if (_argo0) {
5443 if (_argo0 == Py_None) { _arg0 = NULL; }
5444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5446 return NULL;
5447 }
5448 }
5449 {
5450 _arg1 = wxString_in_helper(_obj1);
5451 if (_arg1 == NULL)
5452 return NULL;
5453 }
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 wxListBox_SetFirstItemStr(_arg0,*_arg1);
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) return NULL;
5460 } Py_INCREF(Py_None);
5461 _resultobj = Py_None;
5462 {
5463 if (_obj1)
5464 delete _arg1;
5465 }
5466 return _resultobj;
5467 }
5468
5469 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5470 static PyObject *_wrap_wxListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5471 PyObject * _resultobj;
5472 wxListBox * _arg0;
5473 int _arg1;
5474 bool _arg2 = (bool ) TRUE;
5475 PyObject * _argo0 = 0;
5476 int tempbool2 = (int) TRUE;
5477 char *_kwnames[] = { "self","n","select", NULL };
5478
5479 self = self;
5480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxListBox_SetSelection",_kwnames,&_argo0,&_arg1,&tempbool2))
5481 return NULL;
5482 if (_argo0) {
5483 if (_argo0 == Py_None) { _arg0 = NULL; }
5484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5486 return NULL;
5487 }
5488 }
5489 _arg2 = (bool ) tempbool2;
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 wxListBox_SetSelection(_arg0,_arg1,_arg2);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) return NULL;
5496 } Py_INCREF(Py_None);
5497 _resultobj = Py_None;
5498 return _resultobj;
5499 }
5500
5501 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5502 static PyObject *_wrap_wxListBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
5503 PyObject * _resultobj;
5504 wxListBox * _arg0;
5505 int _arg1;
5506 wxString * _arg2;
5507 PyObject * _argo0 = 0;
5508 PyObject * _obj2 = 0;
5509 char *_kwnames[] = { "self","n","string", NULL };
5510
5511 self = self;
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
5513 return NULL;
5514 if (_argo0) {
5515 if (_argo0 == Py_None) { _arg0 = NULL; }
5516 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5517 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5518 return NULL;
5519 }
5520 }
5521 {
5522 _arg2 = wxString_in_helper(_obj2);
5523 if (_arg2 == NULL)
5524 return NULL;
5525 }
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 wxListBox_SetString(_arg0,_arg1,*_arg2);
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) return NULL;
5532 } Py_INCREF(Py_None);
5533 _resultobj = Py_None;
5534 {
5535 if (_obj2)
5536 delete _arg2;
5537 }
5538 return _resultobj;
5539 }
5540
5541 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5542 static PyObject *_wrap_wxListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5543 PyObject * _resultobj;
5544 wxListBox * _arg0;
5545 wxString * _arg1;
5546 bool _arg2 = (bool ) TRUE;
5547 PyObject * _argo0 = 0;
5548 PyObject * _obj1 = 0;
5549 int tempbool2 = (int) TRUE;
5550 char *_kwnames[] = { "self","string","select", NULL };
5551
5552 self = self;
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxListBox_SetStringSelection",_kwnames,&_argo0,&_obj1,&tempbool2))
5554 return NULL;
5555 if (_argo0) {
5556 if (_argo0 == Py_None) { _arg0 = NULL; }
5557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListBox_p")) {
5558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5559 return NULL;
5560 }
5561 }
5562 {
5563 _arg1 = wxString_in_helper(_obj1);
5564 if (_arg1 == NULL)
5565 return NULL;
5566 }
5567 _arg2 = (bool ) tempbool2;
5568 {
5569 PyThreadState* __tstate = wxPyBeginAllowThreads();
5570 wxListBox_SetStringSelection(_arg0,*_arg1,_arg2);
5571
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) return NULL;
5574 } Py_INCREF(Py_None);
5575 _resultobj = Py_None;
5576 {
5577 if (_obj1)
5578 delete _arg1;
5579 }
5580 return _resultobj;
5581 }
5582
5583 static void *SwigwxCheckListBoxTowxListBox(void *ptr) {
5584 wxCheckListBox *src;
5585 wxListBox *dest;
5586 src = (wxCheckListBox *) ptr;
5587 dest = (wxListBox *) src;
5588 return (void *) dest;
5589 }
5590
5591 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr) {
5592 wxCheckListBox *src;
5593 wxControlWithItems *dest;
5594 src = (wxCheckListBox *) ptr;
5595 dest = (wxControlWithItems *) src;
5596 return (void *) dest;
5597 }
5598
5599 static void *SwigwxCheckListBoxTowxControl(void *ptr) {
5600 wxCheckListBox *src;
5601 wxControl *dest;
5602 src = (wxCheckListBox *) ptr;
5603 dest = (wxControl *) src;
5604 return (void *) dest;
5605 }
5606
5607 static void *SwigwxCheckListBoxTowxWindow(void *ptr) {
5608 wxCheckListBox *src;
5609 wxWindow *dest;
5610 src = (wxCheckListBox *) ptr;
5611 dest = (wxWindow *) src;
5612 return (void *) dest;
5613 }
5614
5615 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr) {
5616 wxCheckListBox *src;
5617 wxEvtHandler *dest;
5618 src = (wxCheckListBox *) ptr;
5619 dest = (wxEvtHandler *) src;
5620 return (void *) dest;
5621 }
5622
5623 static void *SwigwxCheckListBoxTowxObject(void *ptr) {
5624 wxCheckListBox *src;
5625 wxObject *dest;
5626 src = (wxCheckListBox *) ptr;
5627 dest = (wxObject *) src;
5628 return (void *) dest;
5629 }
5630
5631 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5632 static PyObject *_wrap_new_wxCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5633 PyObject * _resultobj;
5634 wxCheckListBox * _result;
5635 wxWindow * _arg0;
5636 wxWindowID _arg1;
5637 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
5638 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
5639 int _arg4 = (int ) 0;
5640 wxString * _arg5 = (wxString *) NULL;
5641 long _arg6 = (long ) 0;
5642 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
5643 wxString * _arg8 = (wxString *) &wxPyListBoxNameStr;
5644 PyObject * _argo0 = 0;
5645 wxPoint temp;
5646 PyObject * _obj2 = 0;
5647 wxSize temp0;
5648 PyObject * _obj3 = 0;
5649 PyObject * _obj5 = 0;
5650 PyObject * _argo7 = 0;
5651 PyObject * _obj8 = 0;
5652 char *_kwnames[] = { "parent","id","pos","size","choices","style","validator","name", NULL };
5653 char _ptemp[128];
5654
5655 self = self;
5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxCheckListBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj5,&_arg6,&_argo7,&_obj8))
5657 return NULL;
5658 if (_argo0) {
5659 if (_argo0 == Py_None) { _arg0 = NULL; }
5660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
5661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5662 return NULL;
5663 }
5664 }
5665 if (_obj2)
5666 {
5667 _arg2 = &temp;
5668 if (! wxPoint_helper(_obj2, &_arg2))
5669 return NULL;
5670 }
5671 if (_obj3)
5672 {
5673 _arg3 = &temp0;
5674 if (! wxSize_helper(_obj3, &_arg3))
5675 return NULL;
5676 }
5677 if (_obj5)
5678 {
5679 _arg5 = wxString_LIST_helper(_obj5);
5680 if (_arg5 == NULL) {
5681 return NULL;
5682 }
5683 }
5684 if (_argo7) {
5685 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
5686 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5687 return NULL;
5688 }
5689 }
5690 if (_obj8)
5691 {
5692 _arg8 = wxString_in_helper(_obj8);
5693 if (_arg8 == NULL)
5694 return NULL;
5695 }
5696 {
5697 if (_obj5) {
5698 _arg4 = PyList_Size(_obj5);
5699 }
5700 else {
5701 _arg4 = 0;
5702 }
5703 }
5704 {
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 _result = (wxCheckListBox *)new_wxCheckListBox(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7,*_arg8);
5707
5708 wxPyEndAllowThreads(__tstate);
5709 if (PyErr_Occurred()) return NULL;
5710 } if (_result) {
5711 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5712 _resultobj = Py_BuildValue("s",_ptemp);
5713 } else {
5714 Py_INCREF(Py_None);
5715 _resultobj = Py_None;
5716 }
5717 {
5718 delete [] _arg5;
5719 }
5720 {
5721 if (_obj8)
5722 delete _arg8;
5723 }
5724 return _resultobj;
5725 }
5726
5727 #define new_wxPreCheckListBox() (new wxCheckListBox())
5728 static PyObject *_wrap_new_wxPreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5729 PyObject * _resultobj;
5730 wxCheckListBox * _result;
5731 char *_kwnames[] = { NULL };
5732 char _ptemp[128];
5733
5734 self = self;
5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreCheckListBox",_kwnames))
5736 return NULL;
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 _result = (wxCheckListBox *)new_wxPreCheckListBox();
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) return NULL;
5743 } if (_result) {
5744 SWIG_MakePtr(_ptemp, (char *) _result,"_wxCheckListBox_p");
5745 _resultobj = Py_BuildValue("s",_ptemp);
5746 } else {
5747 Py_INCREF(Py_None);
5748 _resultobj = Py_None;
5749 }
5750 return _resultobj;
5751 }
5752
5753 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5754 static PyObject *_wrap_wxCheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5755 PyObject * _resultobj;
5756 bool _result;
5757 wxCheckListBox * _arg0;
5758 wxWindow * _arg1;
5759 wxWindowID _arg2;
5760 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
5761 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
5762 int _arg5 = (int ) 0;
5763 wxString * _arg6 = (wxString *) NULL;
5764 long _arg7 = (long ) 0;
5765 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
5766 wxString * _arg9 = (wxString *) &wxPyListBoxNameStr;
5767 PyObject * _argo0 = 0;
5768 PyObject * _argo1 = 0;
5769 wxPoint temp;
5770 PyObject * _obj3 = 0;
5771 wxSize temp0;
5772 PyObject * _obj4 = 0;
5773 PyObject * _obj6 = 0;
5774 PyObject * _argo8 = 0;
5775 PyObject * _obj9 = 0;
5776 char *_kwnames[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL };
5777
5778 self = self;
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxCheckListBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj6,&_arg7,&_argo8,&_obj9))
5780 return NULL;
5781 if (_argo0) {
5782 if (_argo0 == Py_None) { _arg0 = NULL; }
5783 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5784 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5785 return NULL;
5786 }
5787 }
5788 if (_argo1) {
5789 if (_argo1 == Py_None) { _arg1 = NULL; }
5790 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
5791 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5792 return NULL;
5793 }
5794 }
5795 if (_obj3)
5796 {
5797 _arg3 = &temp;
5798 if (! wxPoint_helper(_obj3, &_arg3))
5799 return NULL;
5800 }
5801 if (_obj4)
5802 {
5803 _arg4 = &temp0;
5804 if (! wxSize_helper(_obj4, &_arg4))
5805 return NULL;
5806 }
5807 if (_obj6)
5808 {
5809 _arg6 = wxString_LIST_helper(_obj6);
5810 if (_arg6 == NULL) {
5811 return NULL;
5812 }
5813 }
5814 if (_argo8) {
5815 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
5816 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5817 return NULL;
5818 }
5819 }
5820 if (_obj9)
5821 {
5822 _arg9 = wxString_in_helper(_obj9);
5823 if (_arg9 == NULL)
5824 return NULL;
5825 }
5826 {
5827 if (_obj6) {
5828 _arg5 = PyList_Size(_obj6);
5829 }
5830 else {
5831 _arg5 = 0;
5832 }
5833 }
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 _result = (bool )wxCheckListBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,*_arg8,*_arg9);
5837
5838 wxPyEndAllowThreads(__tstate);
5839 if (PyErr_Occurred()) return NULL;
5840 } _resultobj = Py_BuildValue("i",_result);
5841 {
5842 delete [] _arg6;
5843 }
5844 {
5845 if (_obj9)
5846 delete _arg9;
5847 }
5848 return _resultobj;
5849 }
5850
5851 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5852 static PyObject *_wrap_wxCheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5853 PyObject * _resultobj;
5854 bool _result;
5855 wxCheckListBox * _arg0;
5856 int _arg1;
5857 PyObject * _argo0 = 0;
5858 char *_kwnames[] = { "self","uiIndex", NULL };
5859
5860 self = self;
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxCheckListBox_IsChecked",_kwnames,&_argo0,&_arg1))
5862 return NULL;
5863 if (_argo0) {
5864 if (_argo0 == Py_None) { _arg0 = NULL; }
5865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5867 return NULL;
5868 }
5869 }
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 _result = (bool )wxCheckListBox_IsChecked(_arg0,_arg1);
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) return NULL;
5876 } _resultobj = Py_BuildValue("i",_result);
5877 return _resultobj;
5878 }
5879
5880 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5881 static PyObject *_wrap_wxCheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject * _resultobj;
5883 wxCheckListBox * _arg0;
5884 int _arg1;
5885 int _arg2 = (int ) TRUE;
5886 PyObject * _argo0 = 0;
5887 char *_kwnames[] = { "self","uiIndex","bCheck", NULL };
5888
5889 self = self;
5890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxCheckListBox_Check",_kwnames,&_argo0,&_arg1,&_arg2))
5891 return NULL;
5892 if (_argo0) {
5893 if (_argo0 == Py_None) { _arg0 = NULL; }
5894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5896 return NULL;
5897 }
5898 }
5899 {
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 wxCheckListBox_Check(_arg0,_arg1,_arg2);
5902
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) return NULL;
5905 } Py_INCREF(Py_None);
5906 _resultobj = Py_None;
5907 return _resultobj;
5908 }
5909
5910 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5911 static PyObject *_wrap_wxCheckListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5912 PyObject * _resultobj;
5913 wxCheckListBox * _arg0;
5914 int _arg1;
5915 wxString * _arg2;
5916 int _arg3;
5917 PyObject * _argo0 = 0;
5918 PyObject * _obj2 = 0;
5919 char *_kwnames[] = { "self","choices","pos", NULL };
5920
5921 self = self;
5922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxCheckListBox_InsertItems",_kwnames,&_argo0,&_obj2,&_arg3))
5923 return NULL;
5924 if (_argo0) {
5925 if (_argo0 == Py_None) { _arg0 = NULL; }
5926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5928 return NULL;
5929 }
5930 }
5931 {
5932 _arg2 = wxString_LIST_helper(_obj2);
5933 if (_arg2 == NULL) {
5934 return NULL;
5935 }
5936 }
5937 {
5938 if (_obj2) {
5939 _arg1 = PyList_Size(_obj2);
5940 }
5941 else {
5942 _arg1 = 0;
5943 }
5944 }
5945 {
5946 PyThreadState* __tstate = wxPyBeginAllowThreads();
5947 wxCheckListBox_InsertItems(_arg0,_arg1,_arg2,_arg3);
5948
5949 wxPyEndAllowThreads(__tstate);
5950 if (PyErr_Occurred()) return NULL;
5951 } Py_INCREF(Py_None);
5952 _resultobj = Py_None;
5953 {
5954 delete [] _arg2;
5955 }
5956 return _resultobj;
5957 }
5958
5959 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5960 static PyObject *_wrap_wxCheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject * _resultobj;
5962 int _result;
5963 wxCheckListBox * _arg0;
5964 PyObject * _argo0 = 0;
5965 char *_kwnames[] = { "self", NULL };
5966
5967 self = self;
5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxCheckListBox_GetItemHeight",_kwnames,&_argo0))
5969 return NULL;
5970 if (_argo0) {
5971 if (_argo0 == Py_None) { _arg0 = NULL; }
5972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
5973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5974 return NULL;
5975 }
5976 }
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 _result = (int )wxCheckListBox_GetItemHeight(_arg0);
5980
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) return NULL;
5983 } _resultobj = Py_BuildValue("i",_result);
5984 return _resultobj;
5985 }
5986
5987 #define wxCheckListBox_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
5988 static PyObject *_wrap_wxCheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5989 PyObject * _resultobj;
5990 int _result;
5991 wxCheckListBox * _arg0;
5992 wxPoint * _arg1;
5993 PyObject * _argo0 = 0;
5994 wxPoint temp;
5995 PyObject * _obj1 = 0;
5996 char *_kwnames[] = { "self","pt", NULL };
5997
5998 self = self;
5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxCheckListBox_HitTest",_kwnames,&_argo0,&_obj1))
6000 return NULL;
6001 if (_argo0) {
6002 if (_argo0 == Py_None) { _arg0 = NULL; }
6003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
6004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTest. Expected _wxCheckListBox_p.");
6005 return NULL;
6006 }
6007 }
6008 {
6009 _arg1 = &temp;
6010 if (! wxPoint_helper(_obj1, &_arg1))
6011 return NULL;
6012 }
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 _result = (int )wxCheckListBox_HitTest(_arg0,*_arg1);
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) return NULL;
6019 } _resultobj = Py_BuildValue("i",_result);
6020 return _resultobj;
6021 }
6022
6023 #define wxCheckListBox_HitTestXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
6024 static PyObject *_wrap_wxCheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6025 PyObject * _resultobj;
6026 int _result;
6027 wxCheckListBox * _arg0;
6028 wxCoord _arg1;
6029 wxCoord _arg2;
6030 PyObject * _argo0 = 0;
6031 char *_kwnames[] = { "self","x","y", NULL };
6032
6033 self = self;
6034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxCheckListBox_HitTestXY",_kwnames,&_argo0,&_arg1,&_arg2))
6035 return NULL;
6036 if (_argo0) {
6037 if (_argo0 == Py_None) { _arg0 = NULL; }
6038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxCheckListBox_p")) {
6039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxCheckListBox_HitTestXY. Expected _wxCheckListBox_p.");
6040 return NULL;
6041 }
6042 }
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 _result = (int )wxCheckListBox_HitTestXY(_arg0,_arg1,_arg2);
6046
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) return NULL;
6049 } _resultobj = Py_BuildValue("i",_result);
6050 return _resultobj;
6051 }
6052
6053 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6054 static PyObject *_wrap_new_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6055 PyObject * _resultobj;
6056 wxTextAttr * _result;
6057 wxColour * _arg0 = (wxColour *) &wxNullColour;
6058 wxColour * _arg1 = (wxColour *) &wxNullColour;
6059 wxFont * _arg2 = (wxFont *) &wxNullFont;
6060 wxTextAttrAlignment _arg3 = (wxTextAttrAlignment ) (wxTEXT_ALIGNMENT_DEFAULT);
6061 wxColour temp;
6062 PyObject * _obj0 = 0;
6063 wxColour temp0;
6064 PyObject * _obj1 = 0;
6065 PyObject * _argo2 = 0;
6066 char *_kwnames[] = { "colText","colBack","font","alignment", NULL };
6067 char _ptemp[128];
6068
6069 self = self;
6070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOOi:new_wxTextAttr",_kwnames,&_obj0,&_obj1,&_argo2,&_arg3))
6071 return NULL;
6072 if (_obj0)
6073 {
6074 _arg0 = &temp;
6075 if (! wxColour_helper(_obj0, &_arg0))
6076 return NULL;
6077 }
6078 if (_obj1)
6079 {
6080 _arg1 = &temp0;
6081 if (! wxColour_helper(_obj1, &_arg1))
6082 return NULL;
6083 }
6084 if (_argo2) {
6085 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
6086 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
6087 return NULL;
6088 }
6089 }
6090 {
6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
6092 _result = (wxTextAttr *)new_wxTextAttr(*_arg0,*_arg1,*_arg2,_arg3);
6093
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) return NULL;
6096 } if (_result) {
6097 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
6098 _resultobj = Py_BuildValue("s",_ptemp);
6099 } else {
6100 Py_INCREF(Py_None);
6101 _resultobj = Py_None;
6102 }
6103 return _resultobj;
6104 }
6105
6106 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
6107 static PyObject *_wrap_delete_wxTextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6108 PyObject * _resultobj;
6109 wxTextAttr * _arg0;
6110 PyObject * _argo0 = 0;
6111 char *_kwnames[] = { "self", NULL };
6112
6113 self = self;
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTextAttr",_kwnames,&_argo0))
6115 return NULL;
6116 if (_argo0) {
6117 if (_argo0 == Py_None) { _arg0 = NULL; }
6118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
6120 return NULL;
6121 }
6122 }
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 delete_wxTextAttr(_arg0);
6126
6127 wxPyEndAllowThreads(__tstate);
6128 if (PyErr_Occurred()) return NULL;
6129 } Py_INCREF(Py_None);
6130 _resultobj = Py_None;
6131 return _resultobj;
6132 }
6133
6134 #define wxTextAttr_Init(_swigobj) (_swigobj->Init())
6135 static PyObject *_wrap_wxTextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6136 PyObject * _resultobj;
6137 wxTextAttr * _arg0;
6138 PyObject * _argo0 = 0;
6139 char *_kwnames[] = { "self", NULL };
6140
6141 self = self;
6142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_Init",_kwnames,&_argo0))
6143 return NULL;
6144 if (_argo0) {
6145 if (_argo0 == Py_None) { _arg0 = NULL; }
6146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Init. Expected _wxTextAttr_p.");
6148 return NULL;
6149 }
6150 }
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 wxTextAttr_Init(_arg0);
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) return NULL;
6157 } Py_INCREF(Py_None);
6158 _resultobj = Py_None;
6159 return _resultobj;
6160 }
6161
6162 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
6163 static PyObject *_wrap_wxTextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6164 PyObject * _resultobj;
6165 wxTextAttr * _arg0;
6166 wxColour * _arg1;
6167 PyObject * _argo0 = 0;
6168 wxColour temp;
6169 PyObject * _obj1 = 0;
6170 char *_kwnames[] = { "self","colText", NULL };
6171
6172 self = self;
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTextColour",_kwnames,&_argo0,&_obj1))
6174 return NULL;
6175 if (_argo0) {
6176 if (_argo0 == Py_None) { _arg0 = NULL; }
6177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
6179 return NULL;
6180 }
6181 }
6182 {
6183 _arg1 = &temp;
6184 if (! wxColour_helper(_obj1, &_arg1))
6185 return NULL;
6186 }
6187 {
6188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6189 wxTextAttr_SetTextColour(_arg0,*_arg1);
6190
6191 wxPyEndAllowThreads(__tstate);
6192 if (PyErr_Occurred()) return NULL;
6193 } Py_INCREF(Py_None);
6194 _resultobj = Py_None;
6195 return _resultobj;
6196 }
6197
6198 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
6199 static PyObject *_wrap_wxTextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6200 PyObject * _resultobj;
6201 wxTextAttr * _arg0;
6202 wxColour * _arg1;
6203 PyObject * _argo0 = 0;
6204 wxColour temp;
6205 PyObject * _obj1 = 0;
6206 char *_kwnames[] = { "self","colBack", NULL };
6207
6208 self = self;
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
6210 return NULL;
6211 if (_argo0) {
6212 if (_argo0 == Py_None) { _arg0 = NULL; }
6213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
6215 return NULL;
6216 }
6217 }
6218 {
6219 _arg1 = &temp;
6220 if (! wxColour_helper(_obj1, &_arg1))
6221 return NULL;
6222 }
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 wxTextAttr_SetBackgroundColour(_arg0,*_arg1);
6226
6227 wxPyEndAllowThreads(__tstate);
6228 if (PyErr_Occurred()) return NULL;
6229 } Py_INCREF(Py_None);
6230 _resultobj = Py_None;
6231 return _resultobj;
6232 }
6233
6234 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6235 static PyObject *_wrap_wxTextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6236 PyObject * _resultobj;
6237 wxTextAttr * _arg0;
6238 wxFont * _arg1;
6239 PyObject * _argo0 = 0;
6240 PyObject * _argo1 = 0;
6241 char *_kwnames[] = { "self","font", NULL };
6242
6243 self = self;
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetFont",_kwnames,&_argo0,&_argo1))
6245 return NULL;
6246 if (_argo0) {
6247 if (_argo0 == Py_None) { _arg0 = NULL; }
6248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
6250 return NULL;
6251 }
6252 }
6253 if (_argo1) {
6254 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
6255 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
6256 return NULL;
6257 }
6258 }
6259 {
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 wxTextAttr_SetFont(_arg0,*_arg1);
6262
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) return NULL;
6265 } Py_INCREF(Py_None);
6266 _resultobj = Py_None;
6267 return _resultobj;
6268 }
6269
6270 #define wxTextAttr_SetAlignment(_swigobj,_swigarg0) (_swigobj->SetAlignment(_swigarg0))
6271 static PyObject *_wrap_wxTextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6272 PyObject * _resultobj;
6273 wxTextAttr * _arg0;
6274 wxTextAttrAlignment _arg1;
6275 PyObject * _argo0 = 0;
6276 char *_kwnames[] = { "self","alignment", NULL };
6277
6278 self = self;
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetAlignment",_kwnames,&_argo0,&_arg1))
6280 return NULL;
6281 if (_argo0) {
6282 if (_argo0 == Py_None) { _arg0 = NULL; }
6283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetAlignment. Expected _wxTextAttr_p.");
6285 return NULL;
6286 }
6287 }
6288 {
6289 PyThreadState* __tstate = wxPyBeginAllowThreads();
6290 wxTextAttr_SetAlignment(_arg0,_arg1);
6291
6292 wxPyEndAllowThreads(__tstate);
6293 if (PyErr_Occurred()) return NULL;
6294 } Py_INCREF(Py_None);
6295 _resultobj = Py_None;
6296 return _resultobj;
6297 }
6298
6299 #define wxTextAttr_SetTabs(_swigobj,_swigarg0) (_swigobj->SetTabs(_swigarg0))
6300 static PyObject *_wrap_wxTextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject * _resultobj;
6302 wxTextAttr * _arg0;
6303 wxArrayInt * _arg1;
6304 PyObject * _argo0 = 0;
6305 PyObject * _obj1 = 0;
6306 char *_kwnames[] = { "self","tabs", NULL };
6307
6308 self = self;
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextAttr_SetTabs",_kwnames,&_argo0,&_obj1))
6310 return NULL;
6311 if (_argo0) {
6312 if (_argo0 == Py_None) { _arg0 = NULL; }
6313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetTabs. Expected _wxTextAttr_p.");
6315 return NULL;
6316 }
6317 }
6318 {
6319 if (! PySequence_Check(_obj1)) {
6320 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6321 return NULL;
6322 }
6323 _arg1 = new wxArrayInt;
6324 int i, len=PySequence_Length(_obj1);
6325 for (i=0; i<len; i++) {
6326 PyObject* item = PySequence_GetItem(_obj1, i);
6327 PyObject* number = PyNumber_Int(item);
6328 _arg1->Add(PyInt_AS_LONG(number));
6329 Py_DECREF(item);
6330 Py_DECREF(number);
6331 }
6332 }
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 wxTextAttr_SetTabs(_arg0,*_arg1);
6336
6337 wxPyEndAllowThreads(__tstate);
6338 if (PyErr_Occurred()) return NULL;
6339 } Py_INCREF(Py_None);
6340 _resultobj = Py_None;
6341 {
6342 if (_obj1)
6343 delete _arg1;
6344 }
6345 return _resultobj;
6346 }
6347
6348 #define wxTextAttr_SetLeftIndent(_swigobj,_swigarg0) (_swigobj->SetLeftIndent(_swigarg0))
6349 static PyObject *_wrap_wxTextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject * _resultobj;
6351 wxTextAttr * _arg0;
6352 int _arg1;
6353 PyObject * _argo0 = 0;
6354 char *_kwnames[] = { "self","indent", NULL };
6355
6356 self = self;
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetLeftIndent",_kwnames,&_argo0,&_arg1))
6358 return NULL;
6359 if (_argo0) {
6360 if (_argo0 == Py_None) { _arg0 = NULL; }
6361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetLeftIndent. Expected _wxTextAttr_p.");
6363 return NULL;
6364 }
6365 }
6366 {
6367 PyThreadState* __tstate = wxPyBeginAllowThreads();
6368 wxTextAttr_SetLeftIndent(_arg0,_arg1);
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) return NULL;
6372 } Py_INCREF(Py_None);
6373 _resultobj = Py_None;
6374 return _resultobj;
6375 }
6376
6377 #define wxTextAttr_SetRightIndent(_swigobj,_swigarg0) (_swigobj->SetRightIndent(_swigarg0))
6378 static PyObject *_wrap_wxTextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6379 PyObject * _resultobj;
6380 wxTextAttr * _arg0;
6381 int _arg1;
6382 PyObject * _argo0 = 0;
6383 char *_kwnames[] = { "self","indent", NULL };
6384
6385 self = self;
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextAttr_SetRightIndent",_kwnames,&_argo0,&_arg1))
6387 return NULL;
6388 if (_argo0) {
6389 if (_argo0 == Py_None) { _arg0 = NULL; }
6390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetRightIndent. Expected _wxTextAttr_p.");
6392 return NULL;
6393 }
6394 }
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 wxTextAttr_SetRightIndent(_arg0,_arg1);
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) return NULL;
6401 } Py_INCREF(Py_None);
6402 _resultobj = Py_None;
6403 return _resultobj;
6404 }
6405
6406 #define wxTextAttr_SetFlags(_swigobj,_swigarg0) (_swigobj->SetFlags(_swigarg0))
6407 static PyObject *_wrap_wxTextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6408 PyObject * _resultobj;
6409 wxTextAttr * _arg0;
6410 long _arg1;
6411 PyObject * _argo0 = 0;
6412 char *_kwnames[] = { "self","flags", NULL };
6413
6414 self = self;
6415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextAttr_SetFlags",_kwnames,&_argo0,&_arg1))
6416 return NULL;
6417 if (_argo0) {
6418 if (_argo0 == Py_None) { _arg0 = NULL; }
6419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_SetFlags. Expected _wxTextAttr_p.");
6421 return NULL;
6422 }
6423 }
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 wxTextAttr_SetFlags(_arg0,_arg1);
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) return NULL;
6430 } Py_INCREF(Py_None);
6431 _resultobj = Py_None;
6432 return _resultobj;
6433 }
6434
6435 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6436 static PyObject *_wrap_wxTextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6437 PyObject * _resultobj;
6438 bool _result;
6439 wxTextAttr * _arg0;
6440 PyObject * _argo0 = 0;
6441 char *_kwnames[] = { "self", NULL };
6442
6443 self = self;
6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTextColour",_kwnames,&_argo0))
6445 return NULL;
6446 if (_argo0) {
6447 if (_argo0 == Py_None) { _arg0 = NULL; }
6448 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6449 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6450 return NULL;
6451 }
6452 }
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 _result = (bool )wxTextAttr_HasTextColour(_arg0);
6456
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) return NULL;
6459 } _resultobj = Py_BuildValue("i",_result);
6460 return _resultobj;
6461 }
6462
6463 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6464 static PyObject *_wrap_wxTextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6465 PyObject * _resultobj;
6466 bool _result;
6467 wxTextAttr * _arg0;
6468 PyObject * _argo0 = 0;
6469 char *_kwnames[] = { "self", NULL };
6470
6471 self = self;
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasBackgroundColour",_kwnames,&_argo0))
6473 return NULL;
6474 if (_argo0) {
6475 if (_argo0 == Py_None) { _arg0 = NULL; }
6476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6478 return NULL;
6479 }
6480 }
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 _result = (bool )wxTextAttr_HasBackgroundColour(_arg0);
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) return NULL;
6487 } _resultobj = Py_BuildValue("i",_result);
6488 return _resultobj;
6489 }
6490
6491 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6492 static PyObject *_wrap_wxTextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6493 PyObject * _resultobj;
6494 bool _result;
6495 wxTextAttr * _arg0;
6496 PyObject * _argo0 = 0;
6497 char *_kwnames[] = { "self", NULL };
6498
6499 self = self;
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasFont",_kwnames,&_argo0))
6501 return NULL;
6502 if (_argo0) {
6503 if (_argo0 == Py_None) { _arg0 = NULL; }
6504 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6505 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6506 return NULL;
6507 }
6508 }
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 _result = (bool )wxTextAttr_HasFont(_arg0);
6512
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) return NULL;
6515 } _resultobj = Py_BuildValue("i",_result);
6516 return _resultobj;
6517 }
6518
6519 #define wxTextAttr_HasAlignment(_swigobj) (_swigobj->HasAlignment())
6520 static PyObject *_wrap_wxTextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6521 PyObject * _resultobj;
6522 bool _result;
6523 wxTextAttr * _arg0;
6524 PyObject * _argo0 = 0;
6525 char *_kwnames[] = { "self", NULL };
6526
6527 self = self;
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasAlignment",_kwnames,&_argo0))
6529 return NULL;
6530 if (_argo0) {
6531 if (_argo0 == Py_None) { _arg0 = NULL; }
6532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasAlignment. Expected _wxTextAttr_p.");
6534 return NULL;
6535 }
6536 }
6537 {
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 _result = (bool )wxTextAttr_HasAlignment(_arg0);
6540
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) return NULL;
6543 } _resultobj = Py_BuildValue("i",_result);
6544 return _resultobj;
6545 }
6546
6547 #define wxTextAttr_HasTabs(_swigobj) (_swigobj->HasTabs())
6548 static PyObject *_wrap_wxTextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject * _resultobj;
6550 bool _result;
6551 wxTextAttr * _arg0;
6552 PyObject * _argo0 = 0;
6553 char *_kwnames[] = { "self", NULL };
6554
6555 self = self;
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasTabs",_kwnames,&_argo0))
6557 return NULL;
6558 if (_argo0) {
6559 if (_argo0 == Py_None) { _arg0 = NULL; }
6560 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6561 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasTabs. Expected _wxTextAttr_p.");
6562 return NULL;
6563 }
6564 }
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 _result = (bool )wxTextAttr_HasTabs(_arg0);
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) return NULL;
6571 } _resultobj = Py_BuildValue("i",_result);
6572 return _resultobj;
6573 }
6574
6575 #define wxTextAttr_HasLeftIndent(_swigobj) (_swigobj->HasLeftIndent())
6576 static PyObject *_wrap_wxTextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6577 PyObject * _resultobj;
6578 bool _result;
6579 wxTextAttr * _arg0;
6580 PyObject * _argo0 = 0;
6581 char *_kwnames[] = { "self", NULL };
6582
6583 self = self;
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasLeftIndent",_kwnames,&_argo0))
6585 return NULL;
6586 if (_argo0) {
6587 if (_argo0 == Py_None) { _arg0 = NULL; }
6588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasLeftIndent. Expected _wxTextAttr_p.");
6590 return NULL;
6591 }
6592 }
6593 {
6594 PyThreadState* __tstate = wxPyBeginAllowThreads();
6595 _result = (bool )wxTextAttr_HasLeftIndent(_arg0);
6596
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) return NULL;
6599 } _resultobj = Py_BuildValue("i",_result);
6600 return _resultobj;
6601 }
6602
6603 #define wxTextAttr_HasRightIndent(_swigobj) (_swigobj->HasRightIndent())
6604 static PyObject *_wrap_wxTextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject * _resultobj;
6606 bool _result;
6607 wxTextAttr * _arg0;
6608 PyObject * _argo0 = 0;
6609 char *_kwnames[] = { "self", NULL };
6610
6611 self = self;
6612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_HasRightIndent",_kwnames,&_argo0))
6613 return NULL;
6614 if (_argo0) {
6615 if (_argo0 == Py_None) { _arg0 = NULL; }
6616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasRightIndent. Expected _wxTextAttr_p.");
6618 return NULL;
6619 }
6620 }
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 _result = (bool )wxTextAttr_HasRightIndent(_arg0);
6624
6625 wxPyEndAllowThreads(__tstate);
6626 if (PyErr_Occurred()) return NULL;
6627 } _resultobj = Py_BuildValue("i",_result);
6628 return _resultobj;
6629 }
6630
6631 #define wxTextAttr_HasFlag(_swigobj,_swigarg0) (_swigobj->HasFlag(_swigarg0))
6632 static PyObject *_wrap_wxTextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6633 PyObject * _resultobj;
6634 bool _result;
6635 wxTextAttr * _arg0;
6636 long _arg1;
6637 PyObject * _argo0 = 0;
6638 char *_kwnames[] = { "self","flag", NULL };
6639
6640 self = self;
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextAttr_HasFlag",_kwnames,&_argo0,&_arg1))
6642 return NULL;
6643 if (_argo0) {
6644 if (_argo0 == Py_None) { _arg0 = NULL; }
6645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_HasFlag. Expected _wxTextAttr_p.");
6647 return NULL;
6648 }
6649 }
6650 {
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 _result = (bool )wxTextAttr_HasFlag(_arg0,_arg1);
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) return NULL;
6656 } _resultobj = Py_BuildValue("i",_result);
6657 return _resultobj;
6658 }
6659
6660 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6661 static PyObject *_wrap_wxTextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6662 PyObject * _resultobj;
6663 wxColour * _result;
6664 wxTextAttr * _arg0;
6665 PyObject * _argo0 = 0;
6666 char *_kwnames[] = { "self", NULL };
6667 char _ptemp[128];
6668
6669 self = self;
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTextColour",_kwnames,&_argo0))
6671 return NULL;
6672 if (_argo0) {
6673 if (_argo0 == Py_None) { _arg0 = NULL; }
6674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6676 return NULL;
6677 }
6678 }
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 _result = new wxColour (wxTextAttr_GetTextColour(_arg0));
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) return NULL;
6685 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6686 _resultobj = Py_BuildValue("s",_ptemp);
6687 return _resultobj;
6688 }
6689
6690 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6691 static PyObject *_wrap_wxTextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6692 PyObject * _resultobj;
6693 wxColour * _result;
6694 wxTextAttr * _arg0;
6695 PyObject * _argo0 = 0;
6696 char *_kwnames[] = { "self", NULL };
6697 char _ptemp[128];
6698
6699 self = self;
6700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetBackgroundColour",_kwnames,&_argo0))
6701 return NULL;
6702 if (_argo0) {
6703 if (_argo0 == Py_None) { _arg0 = NULL; }
6704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6706 return NULL;
6707 }
6708 }
6709 {
6710 PyThreadState* __tstate = wxPyBeginAllowThreads();
6711 _result = new wxColour (wxTextAttr_GetBackgroundColour(_arg0));
6712
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) return NULL;
6715 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6716 _resultobj = Py_BuildValue("s",_ptemp);
6717 return _resultobj;
6718 }
6719
6720 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6721 static PyObject *_wrap_wxTextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6722 PyObject * _resultobj;
6723 wxFont * _result;
6724 wxTextAttr * _arg0;
6725 PyObject * _argo0 = 0;
6726 char *_kwnames[] = { "self", NULL };
6727 char _ptemp[128];
6728
6729 self = self;
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFont",_kwnames,&_argo0))
6731 return NULL;
6732 if (_argo0) {
6733 if (_argo0 == Py_None) { _arg0 = NULL; }
6734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6736 return NULL;
6737 }
6738 }
6739 {
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 _result = new wxFont (wxTextAttr_GetFont(_arg0));
6742
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) return NULL;
6745 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p");
6746 _resultobj = Py_BuildValue("s",_ptemp);
6747 return _resultobj;
6748 }
6749
6750 #define wxTextAttr_GetAlignment(_swigobj) (_swigobj->GetAlignment())
6751 static PyObject *_wrap_wxTextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6752 PyObject * _resultobj;
6753 wxTextAttrAlignment _result;
6754 wxTextAttr * _arg0;
6755 PyObject * _argo0 = 0;
6756 char *_kwnames[] = { "self", NULL };
6757
6758 self = self;
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetAlignment",_kwnames,&_argo0))
6760 return NULL;
6761 if (_argo0) {
6762 if (_argo0 == Py_None) { _arg0 = NULL; }
6763 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6764 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetAlignment. Expected _wxTextAttr_p.");
6765 return NULL;
6766 }
6767 }
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 _result = (wxTextAttrAlignment )wxTextAttr_GetAlignment(_arg0);
6771
6772 wxPyEndAllowThreads(__tstate);
6773 if (PyErr_Occurred()) return NULL;
6774 } _resultobj = Py_BuildValue("i",_result);
6775 return _resultobj;
6776 }
6777
6778 #define wxTextAttr_GetTabs(_swigobj) (_swigobj->GetTabs())
6779 static PyObject *_wrap_wxTextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6780 PyObject * _resultobj;
6781 wxArrayInt * _result;
6782 wxTextAttr * _arg0;
6783 PyObject * _argo0 = 0;
6784 char *_kwnames[] = { "self", NULL };
6785
6786 self = self;
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetTabs",_kwnames,&_argo0))
6788 return NULL;
6789 if (_argo0) {
6790 if (_argo0 == Py_None) { _arg0 = NULL; }
6791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetTabs. Expected _wxTextAttr_p.");
6793 return NULL;
6794 }
6795 }
6796 {
6797 PyThreadState* __tstate = wxPyBeginAllowThreads();
6798 const wxArrayInt & _result_ref = wxTextAttr_GetTabs(_arg0);
6799 _result = (wxArrayInt *) &_result_ref;
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) return NULL;
6803 }{
6804 _resultobj = PyList_New(0);
6805 size_t idx;
6806 for (idx = 0; idx < _result->GetCount(); idx += 1) {
6807 PyObject* val = PyInt_FromLong(_result->Item(idx));
6808 PyList_Append(_resultobj, val);
6809 Py_DECREF(val);
6810 }
6811 }
6812 return _resultobj;
6813 }
6814
6815 #define wxTextAttr_GetLeftIndent(_swigobj) (_swigobj->GetLeftIndent())
6816 static PyObject *_wrap_wxTextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6817 PyObject * _resultobj;
6818 long _result;
6819 wxTextAttr * _arg0;
6820 PyObject * _argo0 = 0;
6821 char *_kwnames[] = { "self", NULL };
6822
6823 self = self;
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetLeftIndent",_kwnames,&_argo0))
6825 return NULL;
6826 if (_argo0) {
6827 if (_argo0 == Py_None) { _arg0 = NULL; }
6828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetLeftIndent. Expected _wxTextAttr_p.");
6830 return NULL;
6831 }
6832 }
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 _result = (long )wxTextAttr_GetLeftIndent(_arg0);
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) return NULL;
6839 } _resultobj = Py_BuildValue("l",_result);
6840 return _resultobj;
6841 }
6842
6843 #define wxTextAttr_GetRightIndent(_swigobj) (_swigobj->GetRightIndent())
6844 static PyObject *_wrap_wxTextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6845 PyObject * _resultobj;
6846 long _result;
6847 wxTextAttr * _arg0;
6848 PyObject * _argo0 = 0;
6849 char *_kwnames[] = { "self", NULL };
6850
6851 self = self;
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetRightIndent",_kwnames,&_argo0))
6853 return NULL;
6854 if (_argo0) {
6855 if (_argo0 == Py_None) { _arg0 = NULL; }
6856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetRightIndent. Expected _wxTextAttr_p.");
6858 return NULL;
6859 }
6860 }
6861 {
6862 PyThreadState* __tstate = wxPyBeginAllowThreads();
6863 _result = (long )wxTextAttr_GetRightIndent(_arg0);
6864
6865 wxPyEndAllowThreads(__tstate);
6866 if (PyErr_Occurred()) return NULL;
6867 } _resultobj = Py_BuildValue("l",_result);
6868 return _resultobj;
6869 }
6870
6871 #define wxTextAttr_GetFlags(_swigobj) (_swigobj->GetFlags())
6872 static PyObject *_wrap_wxTextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6873 PyObject * _resultobj;
6874 long _result;
6875 wxTextAttr * _arg0;
6876 PyObject * _argo0 = 0;
6877 char *_kwnames[] = { "self", NULL };
6878
6879 self = self;
6880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_GetFlags",_kwnames,&_argo0))
6881 return NULL;
6882 if (_argo0) {
6883 if (_argo0 == Py_None) { _arg0 = NULL; }
6884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_GetFlags. Expected _wxTextAttr_p.");
6886 return NULL;
6887 }
6888 }
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 _result = (long )wxTextAttr_GetFlags(_arg0);
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) return NULL;
6895 } _resultobj = Py_BuildValue("l",_result);
6896 return _resultobj;
6897 }
6898
6899 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6900 static PyObject *_wrap_wxTextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6901 PyObject * _resultobj;
6902 bool _result;
6903 wxTextAttr * _arg0;
6904 PyObject * _argo0 = 0;
6905 char *_kwnames[] = { "self", NULL };
6906
6907 self = self;
6908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextAttr_IsDefault",_kwnames,&_argo0))
6909 return NULL;
6910 if (_argo0) {
6911 if (_argo0 == Py_None) { _arg0 = NULL; }
6912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6914 return NULL;
6915 }
6916 }
6917 {
6918 PyThreadState* __tstate = wxPyBeginAllowThreads();
6919 _result = (bool )wxTextAttr_IsDefault(_arg0);
6920
6921 wxPyEndAllowThreads(__tstate);
6922 if (PyErr_Occurred()) return NULL;
6923 } _resultobj = Py_BuildValue("i",_result);
6924 return _resultobj;
6925 }
6926
6927 static PyObject *_wrap_wxTextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6928 PyObject * _resultobj;
6929 wxTextAttr * _result;
6930 wxTextAttr * _arg0;
6931 wxTextAttr * _arg1;
6932 wxTextCtrl * _arg2;
6933 PyObject * _argo0 = 0;
6934 PyObject * _argo1 = 0;
6935 PyObject * _argo2 = 0;
6936 char *_kwnames[] = { "attr","attrDef","text", NULL };
6937 char _ptemp[128];
6938
6939 self = self;
6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTextAttr_Combine",_kwnames,&_argo0,&_argo1,&_argo2))
6941 return NULL;
6942 if (_argo0) {
6943 if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextAttr_p")) {
6944 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6945 return NULL;
6946 }
6947 }
6948 if (_argo1) {
6949 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
6950 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6951 return NULL;
6952 }
6953 }
6954 if (_argo2) {
6955 if (_argo2 == Py_None) { _arg2 = NULL; }
6956 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextCtrl_p")) {
6957 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6958 return NULL;
6959 }
6960 }
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 _result = new wxTextAttr (wxTextAttr::Combine(*_arg0,*_arg1,_arg2));
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) return NULL;
6967 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTextAttr_p");
6968 _resultobj = Py_BuildValue("s",_ptemp);
6969 return _resultobj;
6970 }
6971
6972 static void *SwigwxTextCtrlTowxControl(void *ptr) {
6973 wxTextCtrl *src;
6974 wxControl *dest;
6975 src = (wxTextCtrl *) ptr;
6976 dest = (wxControl *) src;
6977 return (void *) dest;
6978 }
6979
6980 static void *SwigwxTextCtrlTowxWindow(void *ptr) {
6981 wxTextCtrl *src;
6982 wxWindow *dest;
6983 src = (wxTextCtrl *) ptr;
6984 dest = (wxWindow *) src;
6985 return (void *) dest;
6986 }
6987
6988 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr) {
6989 wxTextCtrl *src;
6990 wxEvtHandler *dest;
6991 src = (wxTextCtrl *) ptr;
6992 dest = (wxEvtHandler *) src;
6993 return (void *) dest;
6994 }
6995
6996 static void *SwigwxTextCtrlTowxObject(void *ptr) {
6997 wxTextCtrl *src;
6998 wxObject *dest;
6999 src = (wxTextCtrl *) ptr;
7000 dest = (wxObject *) src;
7001 return (void *) dest;
7002 }
7003
7004 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7005 static PyObject *_wrap_new_wxTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7006 PyObject * _resultobj;
7007 wxTextCtrl * _result;
7008 wxWindow * _arg0;
7009 wxWindowID _arg1;
7010 wxString * _arg2 = (wxString *) &wxPyEmptyString;
7011 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
7012 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
7013 long _arg5 = (long ) 0;
7014 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
7015 wxString * _arg7 = (wxString *) &wxPyTextCtrlNameStr;
7016 PyObject * _argo0 = 0;
7017 PyObject * _obj2 = 0;
7018 wxPoint temp;
7019 PyObject * _obj3 = 0;
7020 wxSize temp0;
7021 PyObject * _obj4 = 0;
7022 PyObject * _argo6 = 0;
7023 PyObject * _obj7 = 0;
7024 char *_kwnames[] = { "parent","id","value","pos","size","style","validator","name", NULL };
7025 char _ptemp[128];
7026
7027 self = self;
7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOOlOO:new_wxTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
7029 return NULL;
7030 if (_argo0) {
7031 if (_argo0 == Py_None) { _arg0 = NULL; }
7032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
7033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
7034 return NULL;
7035 }
7036 }
7037 if (_obj2)
7038 {
7039 _arg2 = wxString_in_helper(_obj2);
7040 if (_arg2 == NULL)
7041 return NULL;
7042 }
7043 if (_obj3)
7044 {
7045 _arg3 = &temp;
7046 if (! wxPoint_helper(_obj3, &_arg3))
7047 return NULL;
7048 }
7049 if (_obj4)
7050 {
7051 _arg4 = &temp0;
7052 if (! wxSize_helper(_obj4, &_arg4))
7053 return NULL;
7054 }
7055 if (_argo6) {
7056 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
7057 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
7058 return NULL;
7059 }
7060 }
7061 if (_obj7)
7062 {
7063 _arg7 = wxString_in_helper(_obj7);
7064 if (_arg7 == NULL)
7065 return NULL;
7066 }
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 _result = (wxTextCtrl *)new_wxTextCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) return NULL;
7073 } if (_result) {
7074 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
7075 _resultobj = Py_BuildValue("s",_ptemp);
7076 } else {
7077 Py_INCREF(Py_None);
7078 _resultobj = Py_None;
7079 }
7080 {
7081 if (_obj2)
7082 delete _arg2;
7083 }
7084 {
7085 if (_obj7)
7086 delete _arg7;
7087 }
7088 return _resultobj;
7089 }
7090
7091 #define new_wxPreTextCtrl() (new wxTextCtrl())
7092 static PyObject *_wrap_new_wxPreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject * _resultobj;
7094 wxTextCtrl * _result;
7095 char *_kwnames[] = { NULL };
7096 char _ptemp[128];
7097
7098 self = self;
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreTextCtrl",_kwnames))
7100 return NULL;
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 _result = (wxTextCtrl *)new_wxPreTextCtrl();
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) return NULL;
7107 } if (_result) {
7108 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
7109 _resultobj = Py_BuildValue("s",_ptemp);
7110 } else {
7111 Py_INCREF(Py_None);
7112 _resultobj = Py_None;
7113 }
7114 return _resultobj;
7115 }
7116
7117 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
7118 static PyObject *_wrap_wxTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7119 PyObject * _resultobj;
7120 bool _result;
7121 wxTextCtrl * _arg0;
7122 wxWindow * _arg1;
7123 wxWindowID _arg2;
7124 wxString * _arg3 = (wxString *) &wxPyEmptyString;
7125 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
7126 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
7127 long _arg6 = (long ) 0;
7128 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
7129 wxString * _arg8 = (wxString *) &wxPyTextCtrlNameStr;
7130 PyObject * _argo0 = 0;
7131 PyObject * _argo1 = 0;
7132 PyObject * _obj3 = 0;
7133 wxPoint temp;
7134 PyObject * _obj4 = 0;
7135 wxSize temp0;
7136 PyObject * _obj5 = 0;
7137 PyObject * _argo7 = 0;
7138 PyObject * _obj8 = 0;
7139 char *_kwnames[] = { "self","parent","id","value","pos","size","style","validator","name", NULL };
7140
7141 self = self;
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|OOOlOO:wxTextCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
7143 return NULL;
7144 if (_argo0) {
7145 if (_argo0 == Py_None) { _arg0 = NULL; }
7146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
7148 return NULL;
7149 }
7150 }
7151 if (_argo1) {
7152 if (_argo1 == Py_None) { _arg1 = NULL; }
7153 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
7154 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
7155 return NULL;
7156 }
7157 }
7158 if (_obj3)
7159 {
7160 _arg3 = wxString_in_helper(_obj3);
7161 if (_arg3 == NULL)
7162 return NULL;
7163 }
7164 if (_obj4)
7165 {
7166 _arg4 = &temp;
7167 if (! wxPoint_helper(_obj4, &_arg4))
7168 return NULL;
7169 }
7170 if (_obj5)
7171 {
7172 _arg5 = &temp0;
7173 if (! wxSize_helper(_obj5, &_arg5))
7174 return NULL;
7175 }
7176 if (_argo7) {
7177 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
7178 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
7179 return NULL;
7180 }
7181 }
7182 if (_obj8)
7183 {
7184 _arg8 = wxString_in_helper(_obj8);
7185 if (_arg8 == NULL)
7186 return NULL;
7187 }
7188 {
7189 PyThreadState* __tstate = wxPyBeginAllowThreads();
7190 _result = (bool )wxTextCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
7191
7192 wxPyEndAllowThreads(__tstate);
7193 if (PyErr_Occurred()) return NULL;
7194 } _resultobj = Py_BuildValue("i",_result);
7195 {
7196 if (_obj3)
7197 delete _arg3;
7198 }
7199 {
7200 if (_obj8)
7201 delete _arg8;
7202 }
7203 return _resultobj;
7204 }
7205
7206 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
7207 static PyObject *_wrap_wxTextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7208 PyObject * _resultobj;
7209 wxString * _result;
7210 wxTextCtrl * _arg0;
7211 PyObject * _argo0 = 0;
7212 char *_kwnames[] = { "self", NULL };
7213
7214 self = self;
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetValue",_kwnames,&_argo0))
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_GetValue. Expected _wxTextCtrl_p.");
7221 return NULL;
7222 }
7223 }
7224 {
7225 PyThreadState* __tstate = wxPyBeginAllowThreads();
7226 _result = new wxString (wxTextCtrl_GetValue(_arg0));
7227
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) return NULL;
7230 }{
7231 #if wxUSE_UNICODE
7232 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
7233 #else
7234 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7235 #endif
7236 }
7237 {
7238 delete _result;
7239 }
7240 return _resultobj;
7241 }
7242
7243 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
7244 static PyObject *_wrap_wxTextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7245 PyObject * _resultobj;
7246 wxTextCtrl * _arg0;
7247 wxString * _arg1;
7248 PyObject * _argo0 = 0;
7249 PyObject * _obj1 = 0;
7250 char *_kwnames[] = { "self","value", NULL };
7251
7252 self = self;
7253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetValue",_kwnames,&_argo0,&_obj1))
7254 return NULL;
7255 if (_argo0) {
7256 if (_argo0 == Py_None) { _arg0 = NULL; }
7257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
7259 return NULL;
7260 }
7261 }
7262 {
7263 _arg1 = wxString_in_helper(_obj1);
7264 if (_arg1 == NULL)
7265 return NULL;
7266 }
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 wxTextCtrl_SetValue(_arg0,*_arg1);
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) return NULL;
7273 } Py_INCREF(Py_None);
7274 _resultobj = Py_None;
7275 {
7276 if (_obj1)
7277 delete _arg1;
7278 }
7279 return _resultobj;
7280 }
7281
7282 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
7283 static PyObject *_wrap_wxTextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7284 PyObject * _resultobj;
7285 wxString * _result;
7286 wxTextCtrl * _arg0;
7287 long _arg1;
7288 long _arg2;
7289 PyObject * _argo0 = 0;
7290 char *_kwnames[] = { "self","from","to", NULL };
7291
7292 self = self;
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetRange",_kwnames,&_argo0,&_arg1,&_arg2))
7294 return NULL;
7295 if (_argo0) {
7296 if (_argo0 == Py_None) { _arg0 = NULL; }
7297 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7298 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
7299 return NULL;
7300 }
7301 }
7302 {
7303 PyThreadState* __tstate = wxPyBeginAllowThreads();
7304 _result = new wxString (wxTextCtrl_GetRange(_arg0,_arg1,_arg2));
7305
7306 wxPyEndAllowThreads(__tstate);
7307 if (PyErr_Occurred()) return NULL;
7308 }{
7309 #if wxUSE_UNICODE
7310 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
7311 #else
7312 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7313 #endif
7314 }
7315 {
7316 delete _result;
7317 }
7318 return _resultobj;
7319 }
7320
7321 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
7322 static PyObject *_wrap_wxTextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7323 PyObject * _resultobj;
7324 int _result;
7325 wxTextCtrl * _arg0;
7326 long _arg1;
7327 PyObject * _argo0 = 0;
7328 char *_kwnames[] = { "self","lineNo", NULL };
7329
7330 self = self;
7331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineLength",_kwnames,&_argo0,&_arg1))
7332 return NULL;
7333 if (_argo0) {
7334 if (_argo0 == Py_None) { _arg0 = NULL; }
7335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
7337 return NULL;
7338 }
7339 }
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 _result = (int )wxTextCtrl_GetLineLength(_arg0,_arg1);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) return NULL;
7346 } _resultobj = Py_BuildValue("i",_result);
7347 return _resultobj;
7348 }
7349
7350 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
7351 static PyObject *_wrap_wxTextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7352 PyObject * _resultobj;
7353 wxString * _result;
7354 wxTextCtrl * _arg0;
7355 long _arg1;
7356 PyObject * _argo0 = 0;
7357 char *_kwnames[] = { "self","lineNo", NULL };
7358
7359 self = self;
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_GetLineText",_kwnames,&_argo0,&_arg1))
7361 return NULL;
7362 if (_argo0) {
7363 if (_argo0 == Py_None) { _arg0 = NULL; }
7364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
7366 return NULL;
7367 }
7368 }
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 _result = new wxString (wxTextCtrl_GetLineText(_arg0,_arg1));
7372
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) return NULL;
7375 }{
7376 #if wxUSE_UNICODE
7377 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
7378 #else
7379 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7380 #endif
7381 }
7382 {
7383 delete _result;
7384 }
7385 return _resultobj;
7386 }
7387
7388 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
7389 static PyObject *_wrap_wxTextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7390 PyObject * _resultobj;
7391 int _result;
7392 wxTextCtrl * _arg0;
7393 PyObject * _argo0 = 0;
7394 char *_kwnames[] = { "self", NULL };
7395
7396 self = self;
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetNumberOfLines",_kwnames,&_argo0))
7398 return NULL;
7399 if (_argo0) {
7400 if (_argo0 == Py_None) { _arg0 = NULL; }
7401 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7402 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
7403 return NULL;
7404 }
7405 }
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 _result = (int )wxTextCtrl_GetNumberOfLines(_arg0);
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) return NULL;
7412 } _resultobj = Py_BuildValue("i",_result);
7413 return _resultobj;
7414 }
7415
7416 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
7417 static PyObject *_wrap_wxTextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject * _resultobj;
7419 bool _result;
7420 wxTextCtrl * _arg0;
7421 PyObject * _argo0 = 0;
7422 char *_kwnames[] = { "self", NULL };
7423
7424 self = self;
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsModified",_kwnames,&_argo0))
7426 return NULL;
7427 if (_argo0) {
7428 if (_argo0 == Py_None) { _arg0 = NULL; }
7429 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7430 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
7431 return NULL;
7432 }
7433 }
7434 {
7435 PyThreadState* __tstate = wxPyBeginAllowThreads();
7436 _result = (bool )wxTextCtrl_IsModified(_arg0);
7437
7438 wxPyEndAllowThreads(__tstate);
7439 if (PyErr_Occurred()) return NULL;
7440 } _resultobj = Py_BuildValue("i",_result);
7441 return _resultobj;
7442 }
7443
7444 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
7445 static PyObject *_wrap_wxTextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject * _resultobj;
7447 bool _result;
7448 wxTextCtrl * _arg0;
7449 PyObject * _argo0 = 0;
7450 char *_kwnames[] = { "self", NULL };
7451
7452 self = self;
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsEditable",_kwnames,&_argo0))
7454 return NULL;
7455 if (_argo0) {
7456 if (_argo0 == Py_None) { _arg0 = NULL; }
7457 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7458 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
7459 return NULL;
7460 }
7461 }
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 _result = (bool )wxTextCtrl_IsEditable(_arg0);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) return NULL;
7468 } _resultobj = Py_BuildValue("i",_result);
7469 return _resultobj;
7470 }
7471
7472 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7473 static PyObject *_wrap_wxTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7474 PyObject * _resultobj;
7475 wxTextCtrl * _arg0;
7476 long * _arg1;
7477 long temp;
7478 long * _arg2;
7479 long temp0;
7480 PyObject * _argo0 = 0;
7481 char *_kwnames[] = { "self", NULL };
7482
7483 self = self;
7484 {
7485 _arg1 = &temp;
7486 }
7487 {
7488 _arg2 = &temp0;
7489 }
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetSelection",_kwnames,&_argo0))
7491 return NULL;
7492 if (_argo0) {
7493 if (_argo0 == Py_None) { _arg0 = NULL; }
7494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
7496 return NULL;
7497 }
7498 }
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 wxTextCtrl_GetSelection(_arg0,_arg1,_arg2);
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) return NULL;
7505 } Py_INCREF(Py_None);
7506 _resultobj = Py_None;
7507 {
7508 PyObject *o;
7509 o = PyInt_FromLong((long) (*_arg1));
7510 _resultobj = t_output_helper(_resultobj, o);
7511 }
7512 {
7513 PyObject *o;
7514 o = PyInt_FromLong((long) (*_arg2));
7515 _resultobj = t_output_helper(_resultobj, o);
7516 }
7517 return _resultobj;
7518 }
7519
7520 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
7521 static PyObject *_wrap_wxTextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject * _resultobj;
7523 wxString * _result;
7524 wxTextCtrl * _arg0;
7525 PyObject * _argo0 = 0;
7526 char *_kwnames[] = { "self", NULL };
7527
7528 self = self;
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetStringSelection",_kwnames,&_argo0))
7530 return NULL;
7531 if (_argo0) {
7532 if (_argo0 == Py_None) { _arg0 = NULL; }
7533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
7535 return NULL;
7536 }
7537 }
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 _result = new wxString (wxTextCtrl_GetStringSelection(_arg0));
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) return NULL;
7544 }{
7545 #if wxUSE_UNICODE
7546 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
7547 #else
7548 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7549 #endif
7550 }
7551 {
7552 delete _result;
7553 }
7554 return _resultobj;
7555 }
7556
7557 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
7558 static PyObject *_wrap_wxTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7559 PyObject * _resultobj;
7560 wxTextCtrl * _arg0;
7561 PyObject * _argo0 = 0;
7562 char *_kwnames[] = { "self", NULL };
7563
7564 self = self;
7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Clear",_kwnames,&_argo0))
7566 return NULL;
7567 if (_argo0) {
7568 if (_argo0 == Py_None) { _arg0 = NULL; }
7569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
7571 return NULL;
7572 }
7573 }
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 wxTextCtrl_Clear(_arg0);
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) return NULL;
7580 } Py_INCREF(Py_None);
7581 _resultobj = Py_None;
7582 return _resultobj;
7583 }
7584
7585 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
7586 static PyObject *_wrap_wxTextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7587 PyObject * _resultobj;
7588 wxTextCtrl * _arg0;
7589 long _arg1;
7590 long _arg2;
7591 wxString * _arg3;
7592 PyObject * _argo0 = 0;
7593 PyObject * _obj3 = 0;
7594 char *_kwnames[] = { "self","from","to","value", NULL };
7595
7596 self = self;
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_Replace",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3))
7598 return NULL;
7599 if (_argo0) {
7600 if (_argo0 == Py_None) { _arg0 = NULL; }
7601 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7602 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
7603 return NULL;
7604 }
7605 }
7606 {
7607 _arg3 = wxString_in_helper(_obj3);
7608 if (_arg3 == NULL)
7609 return NULL;
7610 }
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 wxTextCtrl_Replace(_arg0,_arg1,_arg2,*_arg3);
7614
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) return NULL;
7617 } Py_INCREF(Py_None);
7618 _resultobj = Py_None;
7619 {
7620 if (_obj3)
7621 delete _arg3;
7622 }
7623 return _resultobj;
7624 }
7625
7626 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
7627 static PyObject *_wrap_wxTextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7628 PyObject * _resultobj;
7629 wxTextCtrl * _arg0;
7630 long _arg1;
7631 long _arg2;
7632 PyObject * _argo0 = 0;
7633 char *_kwnames[] = { "self","from","to", NULL };
7634
7635 self = self;
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_Remove",_kwnames,&_argo0,&_arg1,&_arg2))
7637 return NULL;
7638 if (_argo0) {
7639 if (_argo0 == Py_None) { _arg0 = NULL; }
7640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
7642 return NULL;
7643 }
7644 }
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 wxTextCtrl_Remove(_arg0,_arg1,_arg2);
7648
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) return NULL;
7651 } Py_INCREF(Py_None);
7652 _resultobj = Py_None;
7653 return _resultobj;
7654 }
7655
7656 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
7657 static PyObject *_wrap_wxTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7658 PyObject * _resultobj;
7659 bool _result;
7660 wxTextCtrl * _arg0;
7661 wxString * _arg1;
7662 PyObject * _argo0 = 0;
7663 PyObject * _obj1 = 0;
7664 char *_kwnames[] = { "self","file", NULL };
7665
7666 self = self;
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1))
7668 return NULL;
7669 if (_argo0) {
7670 if (_argo0 == Py_None) { _arg0 = NULL; }
7671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
7673 return NULL;
7674 }
7675 }
7676 {
7677 _arg1 = wxString_in_helper(_obj1);
7678 if (_arg1 == NULL)
7679 return NULL;
7680 }
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 _result = (bool )wxTextCtrl_LoadFile(_arg0,*_arg1);
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) return NULL;
7687 } _resultobj = Py_BuildValue("i",_result);
7688 {
7689 if (_obj1)
7690 delete _arg1;
7691 }
7692 return _resultobj;
7693 }
7694
7695 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
7696 static PyObject *_wrap_wxTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7697 PyObject * _resultobj;
7698 bool _result;
7699 wxTextCtrl * _arg0;
7700 wxString * _arg1 = (wxString *) &wxPyEmptyString;
7701 PyObject * _argo0 = 0;
7702 PyObject * _obj1 = 0;
7703 char *_kwnames[] = { "self","file", NULL };
7704
7705 self = self;
7706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1))
7707 return NULL;
7708 if (_argo0) {
7709 if (_argo0 == Py_None) { _arg0 = NULL; }
7710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
7712 return NULL;
7713 }
7714 }
7715 if (_obj1)
7716 {
7717 _arg1 = wxString_in_helper(_obj1);
7718 if (_arg1 == NULL)
7719 return NULL;
7720 }
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 _result = (bool )wxTextCtrl_SaveFile(_arg0,*_arg1);
7724
7725 wxPyEndAllowThreads(__tstate);
7726 if (PyErr_Occurred()) return NULL;
7727 } _resultobj = Py_BuildValue("i",_result);
7728 {
7729 if (_obj1)
7730 delete _arg1;
7731 }
7732 return _resultobj;
7733 }
7734
7735 #define wxTextCtrl_MarkDirty(_swigobj) (_swigobj->MarkDirty())
7736 static PyObject *_wrap_wxTextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7737 PyObject * _resultobj;
7738 wxTextCtrl * _arg0;
7739 PyObject * _argo0 = 0;
7740 char *_kwnames[] = { "self", NULL };
7741
7742 self = self;
7743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_MarkDirty",_kwnames,&_argo0))
7744 return NULL;
7745 if (_argo0) {
7746 if (_argo0 == Py_None) { _arg0 = NULL; }
7747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_MarkDirty. Expected _wxTextCtrl_p.");
7749 return NULL;
7750 }
7751 }
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 wxTextCtrl_MarkDirty(_arg0);
7755
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) return NULL;
7758 } Py_INCREF(Py_None);
7759 _resultobj = Py_None;
7760 return _resultobj;
7761 }
7762
7763 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7764 static PyObject *_wrap_wxTextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject * _resultobj;
7766 wxTextCtrl * _arg0;
7767 PyObject * _argo0 = 0;
7768 char *_kwnames[] = { "self", NULL };
7769
7770 self = self;
7771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_DiscardEdits",_kwnames,&_argo0))
7772 return NULL;
7773 if (_argo0) {
7774 if (_argo0 == Py_None) { _arg0 = NULL; }
7775 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7776 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
7777 return NULL;
7778 }
7779 }
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 wxTextCtrl_DiscardEdits(_arg0);
7783
7784 wxPyEndAllowThreads(__tstate);
7785 if (PyErr_Occurred()) return NULL;
7786 } Py_INCREF(Py_None);
7787 _resultobj = Py_None;
7788 return _resultobj;
7789 }
7790
7791 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7792 static PyObject *_wrap_wxTextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7793 PyObject * _resultobj;
7794 wxTextCtrl * _arg0;
7795 unsigned long _arg1;
7796 PyObject * _argo0 = 0;
7797 char *_kwnames[] = { "self","len", NULL };
7798
7799 self = self;
7800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetMaxLength",_kwnames,&_argo0,&_arg1))
7801 return NULL;
7802 if (_argo0) {
7803 if (_argo0 == Py_None) { _arg0 = NULL; }
7804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7806 return NULL;
7807 }
7808 }
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 wxTextCtrl_SetMaxLength(_arg0,_arg1);
7812
7813 wxPyEndAllowThreads(__tstate);
7814 if (PyErr_Occurred()) return NULL;
7815 } Py_INCREF(Py_None);
7816 _resultobj = Py_None;
7817 return _resultobj;
7818 }
7819
7820 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7821 static PyObject *_wrap_wxTextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7822 PyObject * _resultobj;
7823 wxTextCtrl * _arg0;
7824 wxString * _arg1;
7825 PyObject * _argo0 = 0;
7826 PyObject * _obj1 = 0;
7827 char *_kwnames[] = { "self","text", NULL };
7828
7829 self = self;
7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_WriteText",_kwnames,&_argo0,&_obj1))
7831 return NULL;
7832 if (_argo0) {
7833 if (_argo0 == Py_None) { _arg0 = NULL; }
7834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7836 return NULL;
7837 }
7838 }
7839 {
7840 _arg1 = wxString_in_helper(_obj1);
7841 if (_arg1 == NULL)
7842 return NULL;
7843 }
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 wxTextCtrl_WriteText(_arg0,*_arg1);
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) return NULL;
7850 } Py_INCREF(Py_None);
7851 _resultobj = Py_None;
7852 {
7853 if (_obj1)
7854 delete _arg1;
7855 }
7856 return _resultobj;
7857 }
7858
7859 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7860 static PyObject *_wrap_wxTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7861 PyObject * _resultobj;
7862 wxTextCtrl * _arg0;
7863 wxString * _arg1;
7864 PyObject * _argo0 = 0;
7865 PyObject * _obj1 = 0;
7866 char *_kwnames[] = { "self","text", NULL };
7867
7868 self = self;
7869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_AppendText",_kwnames,&_argo0,&_obj1))
7870 return NULL;
7871 if (_argo0) {
7872 if (_argo0 == Py_None) { _arg0 = NULL; }
7873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7875 return NULL;
7876 }
7877 }
7878 {
7879 _arg1 = wxString_in_helper(_obj1);
7880 if (_arg1 == NULL)
7881 return NULL;
7882 }
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 wxTextCtrl_AppendText(_arg0,*_arg1);
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) return NULL;
7889 } Py_INCREF(Py_None);
7890 _resultobj = Py_None;
7891 {
7892 if (_obj1)
7893 delete _arg1;
7894 }
7895 return _resultobj;
7896 }
7897
7898 #define wxTextCtrl_EmulateKeyPress(_swigobj,_swigarg0) (_swigobj->EmulateKeyPress(_swigarg0))
7899 static PyObject *_wrap_wxTextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject * _resultobj;
7901 bool _result;
7902 wxTextCtrl * _arg0;
7903 wxKeyEvent * _arg1;
7904 PyObject * _argo0 = 0;
7905 PyObject * _argo1 = 0;
7906 char *_kwnames[] = { "self","event", NULL };
7907
7908 self = self;
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_EmulateKeyPress",_kwnames,&_argo0,&_argo1))
7910 return NULL;
7911 if (_argo0) {
7912 if (_argo0 == Py_None) { _arg0 = NULL; }
7913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_EmulateKeyPress. Expected _wxTextCtrl_p.");
7915 return NULL;
7916 }
7917 }
7918 if (_argo1) {
7919 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxKeyEvent_p")) {
7920 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_EmulateKeyPress. Expected _wxKeyEvent_p.");
7921 return NULL;
7922 }
7923 }
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 _result = (bool )wxTextCtrl_EmulateKeyPress(_arg0,*_arg1);
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) return NULL;
7930 } _resultobj = Py_BuildValue("i",_result);
7931 return _resultobj;
7932 }
7933
7934 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7935 static PyObject *_wrap_wxTextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject * _resultobj;
7937 bool _result;
7938 wxTextCtrl * _arg0;
7939 long _arg1;
7940 long _arg2;
7941 wxTextAttr * _arg3;
7942 PyObject * _argo0 = 0;
7943 PyObject * _argo3 = 0;
7944 char *_kwnames[] = { "self","start","end","style", NULL };
7945
7946 self = self;
7947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxTextCtrl_SetStyle",_kwnames,&_argo0,&_arg1,&_arg2,&_argo3))
7948 return NULL;
7949 if (_argo0) {
7950 if (_argo0 == Py_None) { _arg0 = NULL; }
7951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7953 return NULL;
7954 }
7955 }
7956 if (_argo3) {
7957 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxTextAttr_p")) {
7958 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7959 return NULL;
7960 }
7961 }
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 _result = (bool )wxTextCtrl_SetStyle(_arg0,_arg1,_arg2,*_arg3);
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) return NULL;
7968 } _resultobj = Py_BuildValue("i",_result);
7969 return _resultobj;
7970 }
7971
7972 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7973 static PyObject *_wrap_wxTextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7974 PyObject * _resultobj;
7975 bool _result;
7976 wxTextCtrl * _arg0;
7977 wxTextAttr * _arg1;
7978 PyObject * _argo0 = 0;
7979 PyObject * _argo1 = 0;
7980 char *_kwnames[] = { "self","style", NULL };
7981
7982 self = self;
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_SetDefaultStyle",_kwnames,&_argo0,&_argo1))
7984 return NULL;
7985 if (_argo0) {
7986 if (_argo0 == Py_None) { _arg0 = NULL; }
7987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
7988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7989 return NULL;
7990 }
7991 }
7992 if (_argo1) {
7993 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTextAttr_p")) {
7994 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7995 return NULL;
7996 }
7997 }
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 _result = (bool )wxTextCtrl_SetDefaultStyle(_arg0,*_arg1);
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) return NULL;
8004 } _resultobj = Py_BuildValue("i",_result);
8005 return _resultobj;
8006 }
8007
8008 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
8009 static PyObject *_wrap_wxTextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8010 PyObject * _resultobj;
8011 wxTextAttr * _result;
8012 wxTextCtrl * _arg0;
8013 PyObject * _argo0 = 0;
8014 char *_kwnames[] = { "self", NULL };
8015 char _ptemp[128];
8016
8017 self = self;
8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetDefaultStyle",_kwnames,&_argo0))
8019 return NULL;
8020 if (_argo0) {
8021 if (_argo0 == Py_None) { _arg0 = NULL; }
8022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
8024 return NULL;
8025 }
8026 }
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 const wxTextAttr & _result_ref = wxTextCtrl_GetDefaultStyle(_arg0);
8030 _result = (wxTextAttr *) &_result_ref;
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) return NULL;
8034 } if (_result) {
8035 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextAttr_p");
8036 _resultobj = Py_BuildValue("s",_ptemp);
8037 } else {
8038 Py_INCREF(Py_None);
8039 _resultobj = Py_None;
8040 }
8041 return _resultobj;
8042 }
8043
8044 #define wxTextCtrl_GetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyle(_swigarg0,_swigarg1))
8045 static PyObject *_wrap_wxTextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8046 PyObject * _resultobj;
8047 bool _result;
8048 wxTextCtrl * _arg0;
8049 long _arg1;
8050 wxTextAttr * _arg2;
8051 PyObject * _argo0 = 0;
8052 PyObject * _argo2 = 0;
8053 char *_kwnames[] = { "self","position","style", NULL };
8054
8055 self = self;
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxTextCtrl_GetStyle",_kwnames,&_argo0,&_arg1,&_argo2))
8057 return NULL;
8058 if (_argo0) {
8059 if (_argo0 == Py_None) { _arg0 = NULL; }
8060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetStyle. Expected _wxTextCtrl_p.");
8062 return NULL;
8063 }
8064 }
8065 if (_argo2) {
8066 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTextAttr_p")) {
8067 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTextCtrl_GetStyle. Expected _wxTextAttr_p.");
8068 return NULL;
8069 }
8070 }
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 _result = (bool )wxTextCtrl_GetStyle(_arg0,_arg1,*_arg2);
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) return NULL;
8077 } _resultobj = Py_BuildValue("i",_result);
8078 return _resultobj;
8079 }
8080
8081 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
8082 static PyObject *_wrap_wxTextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8083 PyObject * _resultobj;
8084 long _result;
8085 wxTextCtrl * _arg0;
8086 long _arg1;
8087 long _arg2;
8088 PyObject * _argo0 = 0;
8089 char *_kwnames[] = { "self","x","y", NULL };
8090
8091 self = self;
8092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_XYToPosition",_kwnames,&_argo0,&_arg1,&_arg2))
8093 return NULL;
8094 if (_argo0) {
8095 if (_argo0 == Py_None) { _arg0 = NULL; }
8096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
8098 return NULL;
8099 }
8100 }
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 _result = (long )wxTextCtrl_XYToPosition(_arg0,_arg1,_arg2);
8104
8105 wxPyEndAllowThreads(__tstate);
8106 if (PyErr_Occurred()) return NULL;
8107 } _resultobj = Py_BuildValue("l",_result);
8108 return _resultobj;
8109 }
8110
8111 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
8112 static PyObject *_wrap_wxTextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8113 PyObject * _resultobj;
8114 wxTextCtrl * _arg0;
8115 long _arg1;
8116 long * _arg2;
8117 long temp;
8118 long * _arg3;
8119 long temp0;
8120 PyObject * _argo0 = 0;
8121 char *_kwnames[] = { "self","pos", NULL };
8122
8123 self = self;
8124 {
8125 _arg2 = &temp;
8126 }
8127 {
8128 _arg3 = &temp0;
8129 }
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_PositionToXY",_kwnames,&_argo0,&_arg1))
8131 return NULL;
8132 if (_argo0) {
8133 if (_argo0 == Py_None) { _arg0 = NULL; }
8134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
8136 return NULL;
8137 }
8138 }
8139 {
8140 PyThreadState* __tstate = wxPyBeginAllowThreads();
8141 wxTextCtrl_PositionToXY(_arg0,_arg1,_arg2,_arg3);
8142
8143 wxPyEndAllowThreads(__tstate);
8144 if (PyErr_Occurred()) return NULL;
8145 } Py_INCREF(Py_None);
8146 _resultobj = Py_None;
8147 {
8148 PyObject *o;
8149 o = PyInt_FromLong((long) (*_arg2));
8150 _resultobj = t_output_helper(_resultobj, o);
8151 }
8152 {
8153 PyObject *o;
8154 o = PyInt_FromLong((long) (*_arg3));
8155 _resultobj = t_output_helper(_resultobj, o);
8156 }
8157 return _resultobj;
8158 }
8159
8160 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
8161 static PyObject *_wrap_wxTextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8162 PyObject * _resultobj;
8163 wxTextCtrl * _arg0;
8164 long _arg1;
8165 PyObject * _argo0 = 0;
8166 char *_kwnames[] = { "self","pos", NULL };
8167
8168 self = self;
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_ShowPosition",_kwnames,&_argo0,&_arg1))
8170 return NULL;
8171 if (_argo0) {
8172 if (_argo0 == Py_None) { _arg0 = NULL; }
8173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
8175 return NULL;
8176 }
8177 }
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 wxTextCtrl_ShowPosition(_arg0,_arg1);
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) return NULL;
8184 } Py_INCREF(Py_None);
8185 _resultobj = Py_None;
8186 return _resultobj;
8187 }
8188
8189 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
8190 static PyObject *_wrap_wxTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject * _resultobj;
8192 wxTextCtrl * _arg0;
8193 PyObject * _argo0 = 0;
8194 char *_kwnames[] = { "self", NULL };
8195
8196 self = self;
8197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Copy",_kwnames,&_argo0))
8198 return NULL;
8199 if (_argo0) {
8200 if (_argo0 == Py_None) { _arg0 = NULL; }
8201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
8203 return NULL;
8204 }
8205 }
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 wxTextCtrl_Copy(_arg0);
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) return NULL;
8212 } Py_INCREF(Py_None);
8213 _resultobj = Py_None;
8214 return _resultobj;
8215 }
8216
8217 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
8218 static PyObject *_wrap_wxTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject * _resultobj;
8220 wxTextCtrl * _arg0;
8221 PyObject * _argo0 = 0;
8222 char *_kwnames[] = { "self", NULL };
8223
8224 self = self;
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Cut",_kwnames,&_argo0))
8226 return NULL;
8227 if (_argo0) {
8228 if (_argo0 == Py_None) { _arg0 = NULL; }
8229 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8230 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
8231 return NULL;
8232 }
8233 }
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 wxTextCtrl_Cut(_arg0);
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) return NULL;
8240 } Py_INCREF(Py_None);
8241 _resultobj = Py_None;
8242 return _resultobj;
8243 }
8244
8245 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
8246 static PyObject *_wrap_wxTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8247 PyObject * _resultobj;
8248 wxTextCtrl * _arg0;
8249 PyObject * _argo0 = 0;
8250 char *_kwnames[] = { "self", NULL };
8251
8252 self = self;
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Paste",_kwnames,&_argo0))
8254 return NULL;
8255 if (_argo0) {
8256 if (_argo0 == Py_None) { _arg0 = NULL; }
8257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
8259 return NULL;
8260 }
8261 }
8262 {
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 wxTextCtrl_Paste(_arg0);
8265
8266 wxPyEndAllowThreads(__tstate);
8267 if (PyErr_Occurred()) return NULL;
8268 } Py_INCREF(Py_None);
8269 _resultobj = Py_None;
8270 return _resultobj;
8271 }
8272
8273 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
8274 static PyObject *_wrap_wxTextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8275 PyObject * _resultobj;
8276 bool _result;
8277 wxTextCtrl * _arg0;
8278 PyObject * _argo0 = 0;
8279 char *_kwnames[] = { "self", NULL };
8280
8281 self = self;
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCopy",_kwnames,&_argo0))
8283 return NULL;
8284 if (_argo0) {
8285 if (_argo0 == Py_None) { _arg0 = NULL; }
8286 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8287 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
8288 return NULL;
8289 }
8290 }
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 _result = (bool )wxTextCtrl_CanCopy(_arg0);
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) return NULL;
8297 } _resultobj = Py_BuildValue("i",_result);
8298 return _resultobj;
8299 }
8300
8301 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
8302 static PyObject *_wrap_wxTextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8303 PyObject * _resultobj;
8304 bool _result;
8305 wxTextCtrl * _arg0;
8306 PyObject * _argo0 = 0;
8307 char *_kwnames[] = { "self", NULL };
8308
8309 self = self;
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanCut",_kwnames,&_argo0))
8311 return NULL;
8312 if (_argo0) {
8313 if (_argo0 == Py_None) { _arg0 = NULL; }
8314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
8316 return NULL;
8317 }
8318 }
8319 {
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
8321 _result = (bool )wxTextCtrl_CanCut(_arg0);
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) return NULL;
8325 } _resultobj = Py_BuildValue("i",_result);
8326 return _resultobj;
8327 }
8328
8329 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
8330 static PyObject *_wrap_wxTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8331 PyObject * _resultobj;
8332 bool _result;
8333 wxTextCtrl * _arg0;
8334 PyObject * _argo0 = 0;
8335 char *_kwnames[] = { "self", NULL };
8336
8337 self = self;
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanPaste",_kwnames,&_argo0))
8339 return NULL;
8340 if (_argo0) {
8341 if (_argo0 == Py_None) { _arg0 = NULL; }
8342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
8344 return NULL;
8345 }
8346 }
8347 {
8348 PyThreadState* __tstate = wxPyBeginAllowThreads();
8349 _result = (bool )wxTextCtrl_CanPaste(_arg0);
8350
8351 wxPyEndAllowThreads(__tstate);
8352 if (PyErr_Occurred()) return NULL;
8353 } _resultobj = Py_BuildValue("i",_result);
8354 return _resultobj;
8355 }
8356
8357 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
8358 static PyObject *_wrap_wxTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8359 PyObject * _resultobj;
8360 wxTextCtrl * _arg0;
8361 PyObject * _argo0 = 0;
8362 char *_kwnames[] = { "self", NULL };
8363
8364 self = self;
8365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Undo",_kwnames,&_argo0))
8366 return NULL;
8367 if (_argo0) {
8368 if (_argo0 == Py_None) { _arg0 = NULL; }
8369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
8371 return NULL;
8372 }
8373 }
8374 {
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 wxTextCtrl_Undo(_arg0);
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) return NULL;
8380 } Py_INCREF(Py_None);
8381 _resultobj = Py_None;
8382 return _resultobj;
8383 }
8384
8385 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
8386 static PyObject *_wrap_wxTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8387 PyObject * _resultobj;
8388 wxTextCtrl * _arg0;
8389 PyObject * _argo0 = 0;
8390 char *_kwnames[] = { "self", NULL };
8391
8392 self = self;
8393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_Redo",_kwnames,&_argo0))
8394 return NULL;
8395 if (_argo0) {
8396 if (_argo0 == Py_None) { _arg0 = NULL; }
8397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
8399 return NULL;
8400 }
8401 }
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 wxTextCtrl_Redo(_arg0);
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) return NULL;
8408 } Py_INCREF(Py_None);
8409 _resultobj = Py_None;
8410 return _resultobj;
8411 }
8412
8413 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
8414 static PyObject *_wrap_wxTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8415 PyObject * _resultobj;
8416 bool _result;
8417 wxTextCtrl * _arg0;
8418 PyObject * _argo0 = 0;
8419 char *_kwnames[] = { "self", NULL };
8420
8421 self = self;
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanUndo",_kwnames,&_argo0))
8423 return NULL;
8424 if (_argo0) {
8425 if (_argo0 == Py_None) { _arg0 = NULL; }
8426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
8428 return NULL;
8429 }
8430 }
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 _result = (bool )wxTextCtrl_CanUndo(_arg0);
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) return NULL;
8437 } _resultobj = Py_BuildValue("i",_result);
8438 return _resultobj;
8439 }
8440
8441 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
8442 static PyObject *_wrap_wxTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8443 PyObject * _resultobj;
8444 bool _result;
8445 wxTextCtrl * _arg0;
8446 PyObject * _argo0 = 0;
8447 char *_kwnames[] = { "self", NULL };
8448
8449 self = self;
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_CanRedo",_kwnames,&_argo0))
8451 return NULL;
8452 if (_argo0) {
8453 if (_argo0 == Py_None) { _arg0 = NULL; }
8454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
8456 return NULL;
8457 }
8458 }
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 _result = (bool )wxTextCtrl_CanRedo(_arg0);
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) return NULL;
8465 } _resultobj = Py_BuildValue("i",_result);
8466 return _resultobj;
8467 }
8468
8469 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
8470 static PyObject *_wrap_wxTextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject * _resultobj;
8472 wxTextCtrl * _arg0;
8473 long _arg1;
8474 PyObject * _argo0 = 0;
8475 char *_kwnames[] = { "self","pos", NULL };
8476
8477 self = self;
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames,&_argo0,&_arg1))
8479 return NULL;
8480 if (_argo0) {
8481 if (_argo0 == Py_None) { _arg0 = NULL; }
8482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
8484 return NULL;
8485 }
8486 }
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 wxTextCtrl_SetInsertionPoint(_arg0,_arg1);
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) return NULL;
8493 } Py_INCREF(Py_None);
8494 _resultobj = Py_None;
8495 return _resultobj;
8496 }
8497
8498 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
8499 static PyObject *_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8500 PyObject * _resultobj;
8501 wxTextCtrl * _arg0;
8502 PyObject * _argo0 = 0;
8503 char *_kwnames[] = { "self", NULL };
8504
8505 self = self;
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames,&_argo0))
8507 return NULL;
8508 if (_argo0) {
8509 if (_argo0 == Py_None) { _arg0 = NULL; }
8510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
8512 return NULL;
8513 }
8514 }
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 wxTextCtrl_SetInsertionPointEnd(_arg0);
8518
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) return NULL;
8521 } Py_INCREF(Py_None);
8522 _resultobj = Py_None;
8523 return _resultobj;
8524 }
8525
8526 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
8527 static PyObject *_wrap_wxTextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8528 PyObject * _resultobj;
8529 long _result;
8530 wxTextCtrl * _arg0;
8531 PyObject * _argo0 = 0;
8532 char *_kwnames[] = { "self", NULL };
8533
8534 self = self;
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetInsertionPoint",_kwnames,&_argo0))
8536 return NULL;
8537 if (_argo0) {
8538 if (_argo0 == Py_None) { _arg0 = NULL; }
8539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
8541 return NULL;
8542 }
8543 }
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 _result = (long )wxTextCtrl_GetInsertionPoint(_arg0);
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) return NULL;
8550 } _resultobj = Py_BuildValue("l",_result);
8551 return _resultobj;
8552 }
8553
8554 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
8555 static PyObject *_wrap_wxTextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8556 PyObject * _resultobj;
8557 long _result;
8558 wxTextCtrl * _arg0;
8559 PyObject * _argo0 = 0;
8560 char *_kwnames[] = { "self", NULL };
8561
8562 self = self;
8563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_GetLastPosition",_kwnames,&_argo0))
8564 return NULL;
8565 if (_argo0) {
8566 if (_argo0 == Py_None) { _arg0 = NULL; }
8567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
8569 return NULL;
8570 }
8571 }
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 _result = (long )wxTextCtrl_GetLastPosition(_arg0);
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) return NULL;
8578 } _resultobj = Py_BuildValue("l",_result);
8579 return _resultobj;
8580 }
8581
8582 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
8583 static PyObject *_wrap_wxTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8584 PyObject * _resultobj;
8585 wxTextCtrl * _arg0;
8586 long _arg1;
8587 long _arg2;
8588 PyObject * _argo0 = 0;
8589 char *_kwnames[] = { "self","from","to", NULL };
8590
8591 self = self;
8592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
8593 return NULL;
8594 if (_argo0) {
8595 if (_argo0 == Py_None) { _arg0 = NULL; }
8596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
8598 return NULL;
8599 }
8600 }
8601 {
8602 PyThreadState* __tstate = wxPyBeginAllowThreads();
8603 wxTextCtrl_SetSelection(_arg0,_arg1,_arg2);
8604
8605 wxPyEndAllowThreads(__tstate);
8606 if (PyErr_Occurred()) return NULL;
8607 } Py_INCREF(Py_None);
8608 _resultobj = Py_None;
8609 return _resultobj;
8610 }
8611
8612 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
8613 static PyObject *_wrap_wxTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8614 PyObject * _resultobj;
8615 wxTextCtrl * _arg0;
8616 PyObject * _argo0 = 0;
8617 char *_kwnames[] = { "self", NULL };
8618
8619 self = self;
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_SelectAll",_kwnames,&_argo0))
8621 return NULL;
8622 if (_argo0) {
8623 if (_argo0 == Py_None) { _arg0 = NULL; }
8624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
8626 return NULL;
8627 }
8628 }
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 wxTextCtrl_SelectAll(_arg0);
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) return NULL;
8635 } Py_INCREF(Py_None);
8636 _resultobj = Py_None;
8637 return _resultobj;
8638 }
8639
8640 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
8641 static PyObject *_wrap_wxTextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8642 PyObject * _resultobj;
8643 wxTextCtrl * _arg0;
8644 bool _arg1;
8645 PyObject * _argo0 = 0;
8646 int tempbool1;
8647 char *_kwnames[] = { "self","editable", NULL };
8648
8649 self = self;
8650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTextCtrl_SetEditable",_kwnames,&_argo0,&tempbool1))
8651 return NULL;
8652 if (_argo0) {
8653 if (_argo0 == Py_None) { _arg0 = NULL; }
8654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
8656 return NULL;
8657 }
8658 }
8659 _arg1 = (bool ) tempbool1;
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 wxTextCtrl_SetEditable(_arg0,_arg1);
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) return NULL;
8666 } Py_INCREF(Py_None);
8667 _resultobj = Py_None;
8668 return _resultobj;
8669 }
8670
8671 #define wxTextCtrl_IsSingleLine(_swigobj) (_swigobj->IsSingleLine())
8672 static PyObject *_wrap_wxTextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8673 PyObject * _resultobj;
8674 bool _result;
8675 wxTextCtrl * _arg0;
8676 PyObject * _argo0 = 0;
8677 char *_kwnames[] = { "self", NULL };
8678
8679 self = self;
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsSingleLine",_kwnames,&_argo0))
8681 return NULL;
8682 if (_argo0) {
8683 if (_argo0 == Py_None) { _arg0 = NULL; }
8684 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8685 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsSingleLine. Expected _wxTextCtrl_p.");
8686 return NULL;
8687 }
8688 }
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 _result = (bool )wxTextCtrl_IsSingleLine(_arg0);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) return NULL;
8695 } _resultobj = Py_BuildValue("i",_result);
8696 return _resultobj;
8697 }
8698
8699 #define wxTextCtrl_IsMultiLine(_swigobj) (_swigobj->IsMultiLine())
8700 static PyObject *_wrap_wxTextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject * _resultobj;
8702 bool _result;
8703 wxTextCtrl * _arg0;
8704 PyObject * _argo0 = 0;
8705 char *_kwnames[] = { "self", NULL };
8706
8707 self = self;
8708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTextCtrl_IsMultiLine",_kwnames,&_argo0))
8709 return NULL;
8710 if (_argo0) {
8711 if (_argo0 == Py_None) { _arg0 = NULL; }
8712 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8713 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_IsMultiLine. Expected _wxTextCtrl_p.");
8714 return NULL;
8715 }
8716 }
8717 {
8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
8719 _result = (bool )wxTextCtrl_IsMultiLine(_arg0);
8720
8721 wxPyEndAllowThreads(__tstate);
8722 if (PyErr_Occurred()) return NULL;
8723 } _resultobj = Py_BuildValue("i",_result);
8724 return _resultobj;
8725 }
8726
8727 static void wxTextCtrl_write(wxTextCtrl *self,const wxString & text) {
8728 self->AppendText(text);
8729 }
8730 static PyObject *_wrap_wxTextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8731 PyObject * _resultobj;
8732 wxTextCtrl * _arg0;
8733 wxString * _arg1;
8734 PyObject * _argo0 = 0;
8735 PyObject * _obj1 = 0;
8736 char *_kwnames[] = { "self","text", NULL };
8737
8738 self = self;
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTextCtrl_write",_kwnames,&_argo0,&_obj1))
8740 return NULL;
8741 if (_argo0) {
8742 if (_argo0 == Py_None) { _arg0 = NULL; }
8743 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8744 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
8745 return NULL;
8746 }
8747 }
8748 {
8749 _arg1 = wxString_in_helper(_obj1);
8750 if (_arg1 == NULL)
8751 return NULL;
8752 }
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 wxTextCtrl_write(_arg0,*_arg1);
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) return NULL;
8759 } Py_INCREF(Py_None);
8760 _resultobj = Py_None;
8761 {
8762 if (_obj1)
8763 delete _arg1;
8764 }
8765 return _resultobj;
8766 }
8767
8768 static wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to) {
8769 return self->GetValue().Mid(from, to - from);
8770 }
8771 static PyObject *_wrap_wxTextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8772 PyObject * _resultobj;
8773 wxString * _result;
8774 wxTextCtrl * _arg0;
8775 long _arg1;
8776 long _arg2;
8777 PyObject * _argo0 = 0;
8778 char *_kwnames[] = { "self","from","to", NULL };
8779
8780 self = self;
8781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxTextCtrl_GetString",_kwnames,&_argo0,&_arg1,&_arg2))
8782 return NULL;
8783 if (_argo0) {
8784 if (_argo0 == Py_None) { _arg0 = NULL; }
8785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTextCtrl_p")) {
8786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
8787 return NULL;
8788 }
8789 }
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 _result = new wxString (wxTextCtrl_GetString(_arg0,_arg1,_arg2));
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) return NULL;
8796 }{
8797 #if wxUSE_UNICODE
8798 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
8799 #else
8800 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
8801 #endif
8802 }
8803 {
8804 delete _result;
8805 }
8806 return _resultobj;
8807 }
8808
8809 static void *SwigwxScrollBarTowxControl(void *ptr) {
8810 wxScrollBar *src;
8811 wxControl *dest;
8812 src = (wxScrollBar *) ptr;
8813 dest = (wxControl *) src;
8814 return (void *) dest;
8815 }
8816
8817 static void *SwigwxScrollBarTowxWindow(void *ptr) {
8818 wxScrollBar *src;
8819 wxWindow *dest;
8820 src = (wxScrollBar *) ptr;
8821 dest = (wxWindow *) src;
8822 return (void *) dest;
8823 }
8824
8825 static void *SwigwxScrollBarTowxEvtHandler(void *ptr) {
8826 wxScrollBar *src;
8827 wxEvtHandler *dest;
8828 src = (wxScrollBar *) ptr;
8829 dest = (wxEvtHandler *) src;
8830 return (void *) dest;
8831 }
8832
8833 static void *SwigwxScrollBarTowxObject(void *ptr) {
8834 wxScrollBar *src;
8835 wxObject *dest;
8836 src = (wxScrollBar *) ptr;
8837 dest = (wxObject *) src;
8838 return (void *) dest;
8839 }
8840
8841 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8842 static PyObject *_wrap_new_wxScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8843 PyObject * _resultobj;
8844 wxScrollBar * _result;
8845 wxWindow * _arg0;
8846 wxWindowID _arg1 = (wxWindowID ) -1;
8847 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
8848 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
8849 long _arg4 = (long ) wxSB_HORIZONTAL;
8850 wxValidator * _arg5 = (wxValidator *) &wxDefaultValidator;
8851 wxString * _arg6 = (wxString *) &wxPyScrollBarNameStr;
8852 PyObject * _argo0 = 0;
8853 wxPoint temp;
8854 PyObject * _obj2 = 0;
8855 wxSize temp0;
8856 PyObject * _obj3 = 0;
8857 PyObject * _argo5 = 0;
8858 PyObject * _obj6 = 0;
8859 char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL };
8860 char _ptemp[128];
8861
8862 self = self;
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOO:new_wxScrollBar",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_obj6))
8864 return NULL;
8865 if (_argo0) {
8866 if (_argo0 == Py_None) { _arg0 = NULL; }
8867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
8868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8869 return NULL;
8870 }
8871 }
8872 if (_obj2)
8873 {
8874 _arg2 = &temp;
8875 if (! wxPoint_helper(_obj2, &_arg2))
8876 return NULL;
8877 }
8878 if (_obj3)
8879 {
8880 _arg3 = &temp0;
8881 if (! wxSize_helper(_obj3, &_arg3))
8882 return NULL;
8883 }
8884 if (_argo5) {
8885 if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) {
8886 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8887 return NULL;
8888 }
8889 }
8890 if (_obj6)
8891 {
8892 _arg6 = wxString_in_helper(_obj6);
8893 if (_arg6 == NULL)
8894 return NULL;
8895 }
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 _result = (wxScrollBar *)new_wxScrollBar(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,*_arg6);
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) return NULL;
8902 } if (_result) {
8903 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
8904 _resultobj = Py_BuildValue("s",_ptemp);
8905 } else {
8906 Py_INCREF(Py_None);
8907 _resultobj = Py_None;
8908 }
8909 {
8910 if (_obj6)
8911 delete _arg6;
8912 }
8913 return _resultobj;
8914 }
8915
8916 #define new_wxPreScrollBar() (new wxScrollBar())
8917 static PyObject *_wrap_new_wxPreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8918 PyObject * _resultobj;
8919 wxScrollBar * _result;
8920 char *_kwnames[] = { NULL };
8921 char _ptemp[128];
8922
8923 self = self;
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreScrollBar",_kwnames))
8925 return NULL;
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 _result = (wxScrollBar *)new_wxPreScrollBar();
8929
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) return NULL;
8932 } if (_result) {
8933 SWIG_MakePtr(_ptemp, (char *) _result,"_wxScrollBar_p");
8934 _resultobj = Py_BuildValue("s",_ptemp);
8935 } else {
8936 Py_INCREF(Py_None);
8937 _resultobj = Py_None;
8938 }
8939 return _resultobj;
8940 }
8941
8942 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8943 static PyObject *_wrap_wxScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8944 PyObject * _resultobj;
8945 bool _result;
8946 wxScrollBar * _arg0;
8947 wxWindow * _arg1;
8948 wxWindowID _arg2 = (wxWindowID ) -1;
8949 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
8950 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
8951 long _arg5 = (long ) wxSB_HORIZONTAL;
8952 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
8953 wxString * _arg7 = (wxString *) &wxPyScrollBarNameStr;
8954 PyObject * _argo0 = 0;
8955 PyObject * _argo1 = 0;
8956 wxPoint temp;
8957 PyObject * _obj3 = 0;
8958 wxSize temp0;
8959 PyObject * _obj4 = 0;
8960 PyObject * _argo6 = 0;
8961 PyObject * _obj7 = 0;
8962 char *_kwnames[] = { "self","parent","id","pos","size","style","validator","name", NULL };
8963
8964 self = self;
8965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlOO:wxScrollBar_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
8966 return NULL;
8967 if (_argo0) {
8968 if (_argo0 == Py_None) { _arg0 = NULL; }
8969 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
8970 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8971 return NULL;
8972 }
8973 }
8974 if (_argo1) {
8975 if (_argo1 == Py_None) { _arg1 = NULL; }
8976 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
8977 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8978 return NULL;
8979 }
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 (_argo6) {
8994 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
8995 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8996 return NULL;
8997 }
8998 }
8999 if (_obj7)
9000 {
9001 _arg7 = wxString_in_helper(_obj7);
9002 if (_arg7 == NULL)
9003 return NULL;
9004 }
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 _result = (bool )wxScrollBar_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) return NULL;
9011 } _resultobj = Py_BuildValue("i",_result);
9012 {
9013 if (_obj7)
9014 delete _arg7;
9015 }
9016 return _resultobj;
9017 }
9018
9019 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
9020 static PyObject *_wrap_wxScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9021 PyObject * _resultobj;
9022 int _result;
9023 wxScrollBar * _arg0;
9024 PyObject * _argo0 = 0;
9025 char *_kwnames[] = { "self", NULL };
9026
9027 self = self;
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetRange",_kwnames,&_argo0))
9029 return NULL;
9030 if (_argo0) {
9031 if (_argo0 == Py_None) { _arg0 = NULL; }
9032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
9034 return NULL;
9035 }
9036 }
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 _result = (int )wxScrollBar_GetRange(_arg0);
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) return NULL;
9043 } _resultobj = Py_BuildValue("i",_result);
9044 return _resultobj;
9045 }
9046
9047 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
9048 static PyObject *_wrap_wxScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject * _resultobj;
9050 int _result;
9051 wxScrollBar * _arg0;
9052 PyObject * _argo0 = 0;
9053 char *_kwnames[] = { "self", NULL };
9054
9055 self = self;
9056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetPageSize",_kwnames,&_argo0))
9057 return NULL;
9058 if (_argo0) {
9059 if (_argo0 == Py_None) { _arg0 = NULL; }
9060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
9062 return NULL;
9063 }
9064 }
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 _result = (int )wxScrollBar_GetPageSize(_arg0);
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) return NULL;
9071 } _resultobj = Py_BuildValue("i",_result);
9072 return _resultobj;
9073 }
9074
9075 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
9076 static PyObject *_wrap_wxScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9077 PyObject * _resultobj;
9078 int _result;
9079 wxScrollBar * _arg0;
9080 PyObject * _argo0 = 0;
9081 char *_kwnames[] = { "self", NULL };
9082
9083 self = self;
9084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbPosition",_kwnames,&_argo0))
9085 return NULL;
9086 if (_argo0) {
9087 if (_argo0 == Py_None) { _arg0 = NULL; }
9088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
9090 return NULL;
9091 }
9092 }
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 _result = (int )wxScrollBar_GetThumbPosition(_arg0);
9096
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) return NULL;
9099 } _resultobj = Py_BuildValue("i",_result);
9100 return _resultobj;
9101 }
9102
9103 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
9104 static PyObject *_wrap_wxScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9105 PyObject * _resultobj;
9106 int _result;
9107 wxScrollBar * _arg0;
9108 PyObject * _argo0 = 0;
9109 char *_kwnames[] = { "self", NULL };
9110
9111 self = self;
9112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_GetThumbSize",_kwnames,&_argo0))
9113 return NULL;
9114 if (_argo0) {
9115 if (_argo0 == Py_None) { _arg0 = NULL; }
9116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
9118 return NULL;
9119 }
9120 }
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 _result = (int )wxScrollBar_GetThumbSize(_arg0);
9124
9125 wxPyEndAllowThreads(__tstate);
9126 if (PyErr_Occurred()) return NULL;
9127 } _resultobj = Py_BuildValue("i",_result);
9128 return _resultobj;
9129 }
9130
9131 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
9132 static PyObject *_wrap_wxScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9133 PyObject * _resultobj;
9134 bool _result;
9135 wxScrollBar * _arg0;
9136 PyObject * _argo0 = 0;
9137 char *_kwnames[] = { "self", NULL };
9138
9139 self = self;
9140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxScrollBar_IsVertical",_kwnames,&_argo0))
9141 return NULL;
9142 if (_argo0) {
9143 if (_argo0 == Py_None) { _arg0 = NULL; }
9144 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9145 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
9146 return NULL;
9147 }
9148 }
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 _result = (bool )wxScrollBar_IsVertical(_arg0);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) return NULL;
9155 } _resultobj = Py_BuildValue("i",_result);
9156 return _resultobj;
9157 }
9158
9159 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
9160 static PyObject *_wrap_wxScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9161 PyObject * _resultobj;
9162 wxScrollBar * _arg0;
9163 int _arg1;
9164 PyObject * _argo0 = 0;
9165 char *_kwnames[] = { "self","viewStart", NULL };
9166
9167 self = self;
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxScrollBar_SetThumbPosition",_kwnames,&_argo0,&_arg1))
9169 return NULL;
9170 if (_argo0) {
9171 if (_argo0 == Py_None) { _arg0 = NULL; }
9172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
9174 return NULL;
9175 }
9176 }
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 wxScrollBar_SetThumbPosition(_arg0,_arg1);
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) return NULL;
9183 } Py_INCREF(Py_None);
9184 _resultobj = Py_None;
9185 return _resultobj;
9186 }
9187
9188 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9189 static PyObject *_wrap_wxScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9190 PyObject * _resultobj;
9191 wxScrollBar * _arg0;
9192 int _arg1;
9193 int _arg2;
9194 int _arg3;
9195 int _arg4;
9196 bool _arg5 = (bool ) TRUE;
9197 PyObject * _argo0 = 0;
9198 int tempbool5 = (int) TRUE;
9199 char *_kwnames[] = { "self","position","thumbSize","range","pageSize","refresh", NULL };
9200
9201 self = self;
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&tempbool5))
9203 return NULL;
9204 if (_argo0) {
9205 if (_argo0 == Py_None) { _arg0 = NULL; }
9206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxScrollBar_p")) {
9207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
9208 return NULL;
9209 }
9210 }
9211 _arg5 = (bool ) tempbool5;
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 wxScrollBar_SetScrollbar(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) return NULL;
9218 } Py_INCREF(Py_None);
9219 _resultobj = Py_None;
9220 return _resultobj;
9221 }
9222
9223 static void *SwigwxSpinButtonTowxControl(void *ptr) {
9224 wxSpinButton *src;
9225 wxControl *dest;
9226 src = (wxSpinButton *) ptr;
9227 dest = (wxControl *) src;
9228 return (void *) dest;
9229 }
9230
9231 static void *SwigwxSpinButtonTowxWindow(void *ptr) {
9232 wxSpinButton *src;
9233 wxWindow *dest;
9234 src = (wxSpinButton *) ptr;
9235 dest = (wxWindow *) src;
9236 return (void *) dest;
9237 }
9238
9239 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr) {
9240 wxSpinButton *src;
9241 wxEvtHandler *dest;
9242 src = (wxSpinButton *) ptr;
9243 dest = (wxEvtHandler *) src;
9244 return (void *) dest;
9245 }
9246
9247 static void *SwigwxSpinButtonTowxObject(void *ptr) {
9248 wxSpinButton *src;
9249 wxObject *dest;
9250 src = (wxSpinButton *) ptr;
9251 dest = (wxObject *) src;
9252 return (void *) dest;
9253 }
9254
9255 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9256 static PyObject *_wrap_new_wxSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9257 PyObject * _resultobj;
9258 wxSpinButton * _result;
9259 wxWindow * _arg0;
9260 wxWindowID _arg1 = (wxWindowID ) -1;
9261 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
9262 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
9263 long _arg4 = (long ) wxSP_HORIZONTAL;
9264 wxString * _arg5 = (wxString *) &wxPySPIN_BUTTON_NAME;
9265 PyObject * _argo0 = 0;
9266 wxPoint temp;
9267 PyObject * _obj2 = 0;
9268 wxSize temp0;
9269 PyObject * _obj3 = 0;
9270 PyObject * _obj5 = 0;
9271 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
9272 char _ptemp[128];
9273
9274 self = self;
9275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlO:new_wxSpinButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
9276 return NULL;
9277 if (_argo0) {
9278 if (_argo0 == Py_None) { _arg0 = NULL; }
9279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
9281 return NULL;
9282 }
9283 }
9284 if (_obj2)
9285 {
9286 _arg2 = &temp;
9287 if (! wxPoint_helper(_obj2, &_arg2))
9288 return NULL;
9289 }
9290 if (_obj3)
9291 {
9292 _arg3 = &temp0;
9293 if (! wxSize_helper(_obj3, &_arg3))
9294 return NULL;
9295 }
9296 if (_obj5)
9297 {
9298 _arg5 = wxString_in_helper(_obj5);
9299 if (_arg5 == NULL)
9300 return NULL;
9301 }
9302 {
9303 PyThreadState* __tstate = wxPyBeginAllowThreads();
9304 _result = (wxSpinButton *)new_wxSpinButton(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
9305
9306 wxPyEndAllowThreads(__tstate);
9307 if (PyErr_Occurred()) return NULL;
9308 } if (_result) {
9309 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
9310 _resultobj = Py_BuildValue("s",_ptemp);
9311 } else {
9312 Py_INCREF(Py_None);
9313 _resultobj = Py_None;
9314 }
9315 {
9316 if (_obj5)
9317 delete _arg5;
9318 }
9319 return _resultobj;
9320 }
9321
9322 #define new_wxPreSpinButton() (new wxSpinButton())
9323 static PyObject *_wrap_new_wxPreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9324 PyObject * _resultobj;
9325 wxSpinButton * _result;
9326 char *_kwnames[] = { NULL };
9327 char _ptemp[128];
9328
9329 self = self;
9330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinButton",_kwnames))
9331 return NULL;
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 _result = (wxSpinButton *)new_wxPreSpinButton();
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) return NULL;
9338 } if (_result) {
9339 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinButton_p");
9340 _resultobj = Py_BuildValue("s",_ptemp);
9341 } else {
9342 Py_INCREF(Py_None);
9343 _resultobj = Py_None;
9344 }
9345 return _resultobj;
9346 }
9347
9348 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9349 static PyObject *_wrap_wxSpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9350 PyObject * _resultobj;
9351 bool _result;
9352 wxSpinButton * _arg0;
9353 wxWindow * _arg1;
9354 wxWindowID _arg2 = (wxWindowID ) -1;
9355 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9356 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9357 long _arg5 = (long ) wxSP_HORIZONTAL;
9358 wxString * _arg6 = (wxString *) &wxPySPIN_BUTTON_NAME;
9359 PyObject * _argo0 = 0;
9360 PyObject * _argo1 = 0;
9361 wxPoint temp;
9362 PyObject * _obj3 = 0;
9363 wxSize temp0;
9364 PyObject * _obj4 = 0;
9365 PyObject * _obj6 = 0;
9366 char *_kwnames[] = { "self","parent","id","pos","size","style","name", NULL };
9367
9368 self = self;
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOlO:wxSpinButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_arg5,&_obj6))
9370 return NULL;
9371 if (_argo0) {
9372 if (_argo0 == Py_None) { _arg0 = NULL; }
9373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
9375 return NULL;
9376 }
9377 }
9378 if (_argo1) {
9379 if (_argo1 == Py_None) { _arg1 = NULL; }
9380 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9381 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
9382 return NULL;
9383 }
9384 }
9385 if (_obj3)
9386 {
9387 _arg3 = &temp;
9388 if (! wxPoint_helper(_obj3, &_arg3))
9389 return NULL;
9390 }
9391 if (_obj4)
9392 {
9393 _arg4 = &temp0;
9394 if (! wxSize_helper(_obj4, &_arg4))
9395 return NULL;
9396 }
9397 if (_obj6)
9398 {
9399 _arg6 = wxString_in_helper(_obj6);
9400 if (_arg6 == NULL)
9401 return NULL;
9402 }
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 _result = (bool )wxSpinButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,_arg5,*_arg6);
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) return NULL;
9409 } _resultobj = Py_BuildValue("i",_result);
9410 {
9411 if (_obj6)
9412 delete _arg6;
9413 }
9414 return _resultobj;
9415 }
9416
9417 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
9418 static PyObject *_wrap_wxSpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9419 PyObject * _resultobj;
9420 int _result;
9421 wxSpinButton * _arg0;
9422 PyObject * _argo0 = 0;
9423 char *_kwnames[] = { "self", NULL };
9424
9425 self = self;
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMax",_kwnames,&_argo0))
9427 return NULL;
9428 if (_argo0) {
9429 if (_argo0 == Py_None) { _arg0 = NULL; }
9430 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9431 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
9432 return NULL;
9433 }
9434 }
9435 {
9436 PyThreadState* __tstate = wxPyBeginAllowThreads();
9437 _result = (int )wxSpinButton_GetMax(_arg0);
9438
9439 wxPyEndAllowThreads(__tstate);
9440 if (PyErr_Occurred()) return NULL;
9441 } _resultobj = Py_BuildValue("i",_result);
9442 return _resultobj;
9443 }
9444
9445 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
9446 static PyObject *_wrap_wxSpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9447 PyObject * _resultobj;
9448 int _result;
9449 wxSpinButton * _arg0;
9450 PyObject * _argo0 = 0;
9451 char *_kwnames[] = { "self", NULL };
9452
9453 self = self;
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetMin",_kwnames,&_argo0))
9455 return NULL;
9456 if (_argo0) {
9457 if (_argo0 == Py_None) { _arg0 = NULL; }
9458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
9460 return NULL;
9461 }
9462 }
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 _result = (int )wxSpinButton_GetMin(_arg0);
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) return NULL;
9469 } _resultobj = Py_BuildValue("i",_result);
9470 return _resultobj;
9471 }
9472
9473 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
9474 static PyObject *_wrap_wxSpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9475 PyObject * _resultobj;
9476 int _result;
9477 wxSpinButton * _arg0;
9478 PyObject * _argo0 = 0;
9479 char *_kwnames[] = { "self", NULL };
9480
9481 self = self;
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinButton_GetValue",_kwnames,&_argo0))
9483 return NULL;
9484 if (_argo0) {
9485 if (_argo0 == Py_None) { _arg0 = NULL; }
9486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
9488 return NULL;
9489 }
9490 }
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 _result = (int )wxSpinButton_GetValue(_arg0);
9494
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) return NULL;
9497 } _resultobj = Py_BuildValue("i",_result);
9498 return _resultobj;
9499 }
9500
9501 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
9502 static PyObject *_wrap_wxSpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9503 PyObject * _resultobj;
9504 wxSpinButton * _arg0;
9505 int _arg1;
9506 int _arg2;
9507 PyObject * _argo0 = 0;
9508 char *_kwnames[] = { "self","min","max", NULL };
9509
9510 self = self;
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinButton_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
9512 return NULL;
9513 if (_argo0) {
9514 if (_argo0 == Py_None) { _arg0 = NULL; }
9515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
9517 return NULL;
9518 }
9519 }
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 wxSpinButton_SetRange(_arg0,_arg1,_arg2);
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) return NULL;
9526 } Py_INCREF(Py_None);
9527 _resultobj = Py_None;
9528 return _resultobj;
9529 }
9530
9531 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9532 static PyObject *_wrap_wxSpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9533 PyObject * _resultobj;
9534 wxSpinButton * _arg0;
9535 int _arg1;
9536 PyObject * _argo0 = 0;
9537 char *_kwnames[] = { "self","value", NULL };
9538
9539 self = self;
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinButton_SetValue",_kwnames,&_argo0,&_arg1))
9541 return NULL;
9542 if (_argo0) {
9543 if (_argo0 == Py_None) { _arg0 = NULL; }
9544 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinButton_p")) {
9545 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
9546 return NULL;
9547 }
9548 }
9549 {
9550 PyThreadState* __tstate = wxPyBeginAllowThreads();
9551 wxSpinButton_SetValue(_arg0,_arg1);
9552
9553 wxPyEndAllowThreads(__tstate);
9554 if (PyErr_Occurred()) return NULL;
9555 } Py_INCREF(Py_None);
9556 _resultobj = Py_None;
9557 return _resultobj;
9558 }
9559
9560 static void *SwigwxStaticBitmapTowxControl(void *ptr) {
9561 wxStaticBitmap *src;
9562 wxControl *dest;
9563 src = (wxStaticBitmap *) ptr;
9564 dest = (wxControl *) src;
9565 return (void *) dest;
9566 }
9567
9568 static void *SwigwxStaticBitmapTowxWindow(void *ptr) {
9569 wxStaticBitmap *src;
9570 wxWindow *dest;
9571 src = (wxStaticBitmap *) ptr;
9572 dest = (wxWindow *) src;
9573 return (void *) dest;
9574 }
9575
9576 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr) {
9577 wxStaticBitmap *src;
9578 wxEvtHandler *dest;
9579 src = (wxStaticBitmap *) ptr;
9580 dest = (wxEvtHandler *) src;
9581 return (void *) dest;
9582 }
9583
9584 static void *SwigwxStaticBitmapTowxObject(void *ptr) {
9585 wxStaticBitmap *src;
9586 wxObject *dest;
9587 src = (wxStaticBitmap *) ptr;
9588 dest = (wxObject *) src;
9589 return (void *) dest;
9590 }
9591
9592 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9593 static PyObject *_wrap_new_wxStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9594 PyObject * _resultobj;
9595 wxStaticBitmap * _result;
9596 wxWindow * _arg0;
9597 wxWindowID _arg1;
9598 wxBitmap * _arg2;
9599 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9600 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9601 long _arg5 = (long ) 0;
9602 wxString * _arg6 = (wxString *) &wxPyStaticBitmapNameStr;
9603 PyObject * _argo0 = 0;
9604 PyObject * _argo2 = 0;
9605 wxPoint temp;
9606 PyObject * _obj3 = 0;
9607 wxSize temp0;
9608 PyObject * _obj4 = 0;
9609 PyObject * _obj6 = 0;
9610 char *_kwnames[] = { "parent","id","bitmap","pos","size","style","name", NULL };
9611 char _ptemp[128];
9612
9613 self = self;
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlO:new_wxStaticBitmap",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3,&_obj4,&_arg5,&_obj6))
9615 return NULL;
9616 if (_argo0) {
9617 if (_argo0 == Py_None) { _arg0 = NULL; }
9618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
9620 return NULL;
9621 }
9622 }
9623 if (_argo2) {
9624 if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) {
9625 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
9626 return NULL;
9627 }
9628 }
9629 if (_obj3)
9630 {
9631 _arg3 = &temp;
9632 if (! wxPoint_helper(_obj3, &_arg3))
9633 return NULL;
9634 }
9635 if (_obj4)
9636 {
9637 _arg4 = &temp0;
9638 if (! wxSize_helper(_obj4, &_arg4))
9639 return NULL;
9640 }
9641 if (_obj6)
9642 {
9643 _arg6 = wxString_in_helper(_obj6);
9644 if (_arg6 == NULL)
9645 return NULL;
9646 }
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 _result = (wxStaticBitmap *)new_wxStaticBitmap(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6);
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) return NULL;
9653 } if (_result) {
9654 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
9655 _resultobj = Py_BuildValue("s",_ptemp);
9656 } else {
9657 Py_INCREF(Py_None);
9658 _resultobj = Py_None;
9659 }
9660 {
9661 if (_obj6)
9662 delete _arg6;
9663 }
9664 return _resultobj;
9665 }
9666
9667 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
9668 static PyObject *_wrap_new_wxPreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject * _resultobj;
9670 wxStaticBitmap * _result;
9671 char *_kwnames[] = { NULL };
9672 char _ptemp[128];
9673
9674 self = self;
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreStaticBitmap",_kwnames))
9676 return NULL;
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 _result = (wxStaticBitmap *)new_wxPreStaticBitmap();
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) return NULL;
9683 } if (_result) {
9684 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStaticBitmap_p");
9685 _resultobj = Py_BuildValue("s",_ptemp);
9686 } else {
9687 Py_INCREF(Py_None);
9688 _resultobj = Py_None;
9689 }
9690 return _resultobj;
9691 }
9692
9693 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
9694 static PyObject *_wrap_wxStaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9695 PyObject * _resultobj;
9696 bool _result;
9697 wxStaticBitmap * _arg0;
9698 wxWindow * _arg1;
9699 wxWindowID _arg2;
9700 wxBitmap * _arg3;
9701 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
9702 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
9703 long _arg6 = (long ) 0;
9704 wxString * _arg7 = (wxString *) &wxPyStaticBitmapNameStr;
9705 PyObject * _argo0 = 0;
9706 PyObject * _argo1 = 0;
9707 PyObject * _argo3 = 0;
9708 wxPoint temp;
9709 PyObject * _obj4 = 0;
9710 wxSize temp0;
9711 PyObject * _obj5 = 0;
9712 PyObject * _obj7 = 0;
9713 char *_kwnames[] = { "self","parent","id","bitmap","pos","size","style","name", NULL };
9714
9715 self = self;
9716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlO:wxStaticBitmap_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_argo3,&_obj4,&_obj5,&_arg6,&_obj7))
9717 return NULL;
9718 if (_argo0) {
9719 if (_argo0 == Py_None) { _arg0 = NULL; }
9720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
9722 return NULL;
9723 }
9724 }
9725 if (_argo1) {
9726 if (_argo1 == Py_None) { _arg1 = NULL; }
9727 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
9728 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
9729 return NULL;
9730 }
9731 }
9732 if (_argo3) {
9733 if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxBitmap_p")) {
9734 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
9735 return NULL;
9736 }
9737 }
9738 if (_obj4)
9739 {
9740 _arg4 = &temp;
9741 if (! wxPoint_helper(_obj4, &_arg4))
9742 return NULL;
9743 }
9744 if (_obj5)
9745 {
9746 _arg5 = &temp0;
9747 if (! wxSize_helper(_obj5, &_arg5))
9748 return NULL;
9749 }
9750 if (_obj7)
9751 {
9752 _arg7 = wxString_in_helper(_obj7);
9753 if (_arg7 == NULL)
9754 return NULL;
9755 }
9756 {
9757 PyThreadState* __tstate = wxPyBeginAllowThreads();
9758 _result = (bool )wxStaticBitmap_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7);
9759
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) return NULL;
9762 } _resultobj = Py_BuildValue("i",_result);
9763 {
9764 if (_obj7)
9765 delete _arg7;
9766 }
9767 return _resultobj;
9768 }
9769
9770 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
9771 static PyObject *_wrap_wxStaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject * _resultobj;
9773 wxBitmap * _result;
9774 wxStaticBitmap * _arg0;
9775 PyObject * _argo0 = 0;
9776 char *_kwnames[] = { "self", NULL };
9777 char _ptemp[128];
9778
9779 self = self;
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStaticBitmap_GetBitmap",_kwnames,&_argo0))
9781 return NULL;
9782 if (_argo0) {
9783 if (_argo0 == Py_None) { _arg0 = NULL; }
9784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
9786 return NULL;
9787 }
9788 }
9789 {
9790 PyThreadState* __tstate = wxPyBeginAllowThreads();
9791 _result = new wxBitmap (wxStaticBitmap_GetBitmap(_arg0));
9792
9793 wxPyEndAllowThreads(__tstate);
9794 if (PyErr_Occurred()) return NULL;
9795 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxBitmap_p");
9796 _resultobj = Py_BuildValue("s",_ptemp);
9797 return _resultobj;
9798 }
9799
9800 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
9801 static PyObject *_wrap_wxStaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
9802 PyObject * _resultobj;
9803 wxStaticBitmap * _arg0;
9804 wxBitmap * _arg1;
9805 PyObject * _argo0 = 0;
9806 PyObject * _argo1 = 0;
9807 char *_kwnames[] = { "self","bitmap", NULL };
9808
9809 self = self;
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetBitmap",_kwnames,&_argo0,&_argo1))
9811 return NULL;
9812 if (_argo0) {
9813 if (_argo0 == Py_None) { _arg0 = NULL; }
9814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
9816 return NULL;
9817 }
9818 }
9819 if (_argo1) {
9820 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
9821 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
9822 return NULL;
9823 }
9824 }
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 wxStaticBitmap_SetBitmap(_arg0,*_arg1);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) return NULL;
9831 } Py_INCREF(Py_None);
9832 _resultobj = Py_None;
9833 return _resultobj;
9834 }
9835
9836 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
9837 static PyObject *_wrap_wxStaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9838 PyObject * _resultobj;
9839 wxStaticBitmap * _arg0;
9840 wxIcon * _arg1;
9841 PyObject * _argo0 = 0;
9842 PyObject * _argo1 = 0;
9843 char *_kwnames[] = { "self","icon", NULL };
9844
9845 self = self;
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStaticBitmap_SetIcon",_kwnames,&_argo0,&_argo1))
9847 return NULL;
9848 if (_argo0) {
9849 if (_argo0 == Py_None) { _arg0 = NULL; }
9850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStaticBitmap_p")) {
9851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
9852 return NULL;
9853 }
9854 }
9855 if (_argo1) {
9856 if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxIcon_p")) {
9857 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
9858 return NULL;
9859 }
9860 }
9861 {
9862 PyThreadState* __tstate = wxPyBeginAllowThreads();
9863 wxStaticBitmap_SetIcon(_arg0,*_arg1);
9864
9865 wxPyEndAllowThreads(__tstate);
9866 if (PyErr_Occurred()) return NULL;
9867 } Py_INCREF(Py_None);
9868 _resultobj = Py_None;
9869 return _resultobj;
9870 }
9871
9872 static void *SwigwxRadioBoxTowxControl(void *ptr) {
9873 wxRadioBox *src;
9874 wxControl *dest;
9875 src = (wxRadioBox *) ptr;
9876 dest = (wxControl *) src;
9877 return (void *) dest;
9878 }
9879
9880 static void *SwigwxRadioBoxTowxWindow(void *ptr) {
9881 wxRadioBox *src;
9882 wxWindow *dest;
9883 src = (wxRadioBox *) ptr;
9884 dest = (wxWindow *) src;
9885 return (void *) dest;
9886 }
9887
9888 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr) {
9889 wxRadioBox *src;
9890 wxEvtHandler *dest;
9891 src = (wxRadioBox *) ptr;
9892 dest = (wxEvtHandler *) src;
9893 return (void *) dest;
9894 }
9895
9896 static void *SwigwxRadioBoxTowxObject(void *ptr) {
9897 wxRadioBox *src;
9898 wxObject *dest;
9899 src = (wxRadioBox *) ptr;
9900 dest = (wxObject *) src;
9901 return (void *) dest;
9902 }
9903
9904 #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))
9905 static PyObject *_wrap_new_wxRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9906 PyObject * _resultobj;
9907 wxRadioBox * _result;
9908 wxWindow * _arg0;
9909 wxWindowID _arg1;
9910 wxString * _arg2;
9911 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
9912 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
9913 int _arg5 = (int ) 0;
9914 wxString * _arg6 = (wxString *) NULL;
9915 int _arg7 = (int ) 0;
9916 long _arg8 = (long ) wxRA_HORIZONTAL;
9917 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
9918 wxString * _arg10 = (wxString *) &wxPyRadioBoxNameStr;
9919 PyObject * _argo0 = 0;
9920 PyObject * _obj2 = 0;
9921 wxPoint temp;
9922 PyObject * _obj3 = 0;
9923 wxSize temp0;
9924 PyObject * _obj4 = 0;
9925 PyObject * _obj6 = 0;
9926 PyObject * _argo9 = 0;
9927 PyObject * _obj10 = 0;
9928 char *_kwnames[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
9929 char _ptemp[128];
9930
9931 self = self;
9932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOOilOO:new_wxRadioBox",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj6,&_arg7,&_arg8,&_argo9,&_obj10))
9933 return NULL;
9934 if (_argo0) {
9935 if (_argo0 == Py_None) { _arg0 = NULL; }
9936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
9937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9938 return NULL;
9939 }
9940 }
9941 {
9942 _arg2 = wxString_in_helper(_obj2);
9943 if (_arg2 == NULL)
9944 return NULL;
9945 }
9946 if (_obj3)
9947 {
9948 _arg3 = &temp;
9949 if (! wxPoint_helper(_obj3, &_arg3))
9950 return NULL;
9951 }
9952 if (_obj4)
9953 {
9954 _arg4 = &temp0;
9955 if (! wxSize_helper(_obj4, &_arg4))
9956 return NULL;
9957 }
9958 if (_obj6)
9959 {
9960 _arg6 = wxString_LIST_helper(_obj6);
9961 if (_arg6 == NULL) {
9962 return NULL;
9963 }
9964 }
9965 if (_argo9) {
9966 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
9967 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9968 return NULL;
9969 }
9970 }
9971 if (_obj10)
9972 {
9973 _arg10 = wxString_in_helper(_obj10);
9974 if (_arg10 == NULL)
9975 return NULL;
9976 }
9977 {
9978 if (_obj6) {
9979 _arg5 = PyList_Size(_obj6);
9980 }
9981 else {
9982 _arg5 = 0;
9983 }
9984 }
9985 {
9986 PyThreadState* __tstate = wxPyBeginAllowThreads();
9987 _result = (wxRadioBox *)new_wxRadioBox(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9,*_arg10);
9988
9989 wxPyEndAllowThreads(__tstate);
9990 if (PyErr_Occurred()) return NULL;
9991 } if (_result) {
9992 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
9993 _resultobj = Py_BuildValue("s",_ptemp);
9994 } else {
9995 Py_INCREF(Py_None);
9996 _resultobj = Py_None;
9997 }
9998 {
9999 if (_obj2)
10000 delete _arg2;
10001 }
10002 {
10003 delete [] _arg6;
10004 }
10005 {
10006 if (_obj10)
10007 delete _arg10;
10008 }
10009 return _resultobj;
10010 }
10011
10012 #define new_wxPreRadioBox() (new wxRadioBox())
10013 static PyObject *_wrap_new_wxPreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10014 PyObject * _resultobj;
10015 wxRadioBox * _result;
10016 char *_kwnames[] = { NULL };
10017 char _ptemp[128];
10018
10019 self = self;
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioBox",_kwnames))
10021 return NULL;
10022 {
10023 PyThreadState* __tstate = wxPyBeginAllowThreads();
10024 _result = (wxRadioBox *)new_wxPreRadioBox();
10025
10026 wxPyEndAllowThreads(__tstate);
10027 if (PyErr_Occurred()) return NULL;
10028 } if (_result) {
10029 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioBox_p");
10030 _resultobj = Py_BuildValue("s",_ptemp);
10031 } else {
10032 Py_INCREF(Py_None);
10033 _resultobj = Py_None;
10034 }
10035 return _resultobj;
10036 }
10037
10038 #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))
10039 static PyObject *_wrap_wxRadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10040 PyObject * _resultobj;
10041 bool _result;
10042 wxRadioBox * _arg0;
10043 wxWindow * _arg1;
10044 wxWindowID _arg2;
10045 wxString * _arg3;
10046 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10047 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10048 int _arg6 = (int ) 0;
10049 wxString * _arg7 = (wxString *) NULL;
10050 int _arg8 = (int ) 0;
10051 long _arg9 = (long ) wxRA_HORIZONTAL;
10052 wxValidator * _arg10 = (wxValidator *) &wxDefaultValidator;
10053 wxString * _arg11 = (wxString *) &wxPyRadioBoxNameStr;
10054 PyObject * _argo0 = 0;
10055 PyObject * _argo1 = 0;
10056 PyObject * _obj3 = 0;
10057 wxPoint temp;
10058 PyObject * _obj4 = 0;
10059 wxSize temp0;
10060 PyObject * _obj5 = 0;
10061 PyObject * _obj7 = 0;
10062 PyObject * _argo10 = 0;
10063 PyObject * _obj11 = 0;
10064 char *_kwnames[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL };
10065
10066 self = self;
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOOilOO:wxRadioBox_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_obj7,&_arg8,&_arg9,&_argo10,&_obj11))
10068 return NULL;
10069 if (_argo0) {
10070 if (_argo0 == Py_None) { _arg0 = NULL; }
10071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
10073 return NULL;
10074 }
10075 }
10076 if (_argo1) {
10077 if (_argo1 == Py_None) { _arg1 = NULL; }
10078 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10079 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
10080 return NULL;
10081 }
10082 }
10083 {
10084 _arg3 = wxString_in_helper(_obj3);
10085 if (_arg3 == NULL)
10086 return NULL;
10087 }
10088 if (_obj4)
10089 {
10090 _arg4 = &temp;
10091 if (! wxPoint_helper(_obj4, &_arg4))
10092 return NULL;
10093 }
10094 if (_obj5)
10095 {
10096 _arg5 = &temp0;
10097 if (! wxSize_helper(_obj5, &_arg5))
10098 return NULL;
10099 }
10100 if (_obj7)
10101 {
10102 _arg7 = wxString_LIST_helper(_obj7);
10103 if (_arg7 == NULL) {
10104 return NULL;
10105 }
10106 }
10107 if (_argo10) {
10108 if (SWIG_GetPtrObj(_argo10,(void **) &_arg10,"_wxValidator_p")) {
10109 PyErr_SetString(PyExc_TypeError,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
10110 return NULL;
10111 }
10112 }
10113 if (_obj11)
10114 {
10115 _arg11 = wxString_in_helper(_obj11);
10116 if (_arg11 == NULL)
10117 return NULL;
10118 }
10119 {
10120 if (_obj7) {
10121 _arg6 = PyList_Size(_obj7);
10122 }
10123 else {
10124 _arg6 = 0;
10125 }
10126 }
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 _result = (bool )wxRadioBox_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10,*_arg11);
10130
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) return NULL;
10133 } _resultobj = Py_BuildValue("i",_result);
10134 {
10135 if (_obj3)
10136 delete _arg3;
10137 }
10138 {
10139 delete [] _arg7;
10140 }
10141 {
10142 if (_obj11)
10143 delete _arg11;
10144 }
10145 return _resultobj;
10146 }
10147
10148 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
10149 static PyObject *_wrap_wxRadioBox_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject * _resultobj;
10151 wxRadioBox * _arg0;
10152 bool _arg1;
10153 PyObject * _argo0 = 0;
10154 int tempbool1;
10155 char *_kwnames[] = { "self","enable", NULL };
10156
10157 self = self;
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Enable",_kwnames,&_argo0,&tempbool1))
10159 return NULL;
10160 if (_argo0) {
10161 if (_argo0 == Py_None) { _arg0 = NULL; }
10162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
10164 return NULL;
10165 }
10166 }
10167 _arg1 = (bool ) tempbool1;
10168 {
10169 PyThreadState* __tstate = wxPyBeginAllowThreads();
10170 wxRadioBox_Enable(_arg0,_arg1);
10171
10172 wxPyEndAllowThreads(__tstate);
10173 if (PyErr_Occurred()) return NULL;
10174 } Py_INCREF(Py_None);
10175 _resultobj = Py_None;
10176 return _resultobj;
10177 }
10178
10179 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
10180 static PyObject *_wrap_wxRadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10181 PyObject * _resultobj;
10182 wxRadioBox * _arg0;
10183 int _arg1;
10184 bool _arg2;
10185 PyObject * _argo0 = 0;
10186 int tempbool2;
10187 char *_kwnames[] = { "self","n","enable", NULL };
10188
10189 self = self;
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_EnableItem",_kwnames,&_argo0,&_arg1,&tempbool2))
10191 return NULL;
10192 if (_argo0) {
10193 if (_argo0 == Py_None) { _arg0 = NULL; }
10194 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10195 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
10196 return NULL;
10197 }
10198 }
10199 _arg2 = (bool ) tempbool2;
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 wxRadioBox_EnableItem(_arg0,_arg1,_arg2);
10203
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) return NULL;
10206 } Py_INCREF(Py_None);
10207 _resultobj = Py_None;
10208 return _resultobj;
10209 }
10210
10211 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
10212 static PyObject *_wrap_wxRadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
10213 PyObject * _resultobj;
10214 int _result;
10215 wxRadioBox * _arg0;
10216 wxString * _arg1;
10217 PyObject * _argo0 = 0;
10218 PyObject * _obj1 = 0;
10219 char *_kwnames[] = { "self","string", NULL };
10220
10221 self = self;
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_FindString",_kwnames,&_argo0,&_obj1))
10223 return NULL;
10224 if (_argo0) {
10225 if (_argo0 == Py_None) { _arg0 = NULL; }
10226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
10228 return NULL;
10229 }
10230 }
10231 {
10232 _arg1 = wxString_in_helper(_obj1);
10233 if (_arg1 == NULL)
10234 return NULL;
10235 }
10236 {
10237 PyThreadState* __tstate = wxPyBeginAllowThreads();
10238 _result = (int )wxRadioBox_FindString(_arg0,*_arg1);
10239
10240 wxPyEndAllowThreads(__tstate);
10241 if (PyErr_Occurred()) return NULL;
10242 } _resultobj = Py_BuildValue("i",_result);
10243 {
10244 if (_obj1)
10245 delete _arg1;
10246 }
10247 return _resultobj;
10248 }
10249
10250 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
10251 static PyObject *_wrap_wxRadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10252 PyObject * _resultobj;
10253 wxString * _result;
10254 wxRadioBox * _arg0;
10255 int _arg1;
10256 PyObject * _argo0 = 0;
10257 char *_kwnames[] = { "self","n", NULL };
10258
10259 self = self;
10260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_GetString",_kwnames,&_argo0,&_arg1))
10261 return NULL;
10262 if (_argo0) {
10263 if (_argo0 == Py_None) { _arg0 = NULL; }
10264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
10266 return NULL;
10267 }
10268 }
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 _result = new wxString (wxRadioBox_GetString(_arg0,_arg1));
10272
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) return NULL;
10275 }{
10276 #if wxUSE_UNICODE
10277 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
10278 #else
10279 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10280 #endif
10281 }
10282 {
10283 delete _result;
10284 }
10285 return _resultobj;
10286 }
10287
10288 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
10289 static PyObject *_wrap_wxRadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10290 PyObject * _resultobj;
10291 wxRadioBox * _arg0;
10292 int _arg1;
10293 wxString * _arg2;
10294 PyObject * _argo0 = 0;
10295 PyObject * _obj2 = 0;
10296 char *_kwnames[] = { "self","n","label", NULL };
10297
10298 self = self;
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxRadioBox_SetString",_kwnames,&_argo0,&_arg1,&_obj2))
10300 return NULL;
10301 if (_argo0) {
10302 if (_argo0 == Py_None) { _arg0 = NULL; }
10303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
10305 return NULL;
10306 }
10307 }
10308 {
10309 _arg2 = wxString_in_helper(_obj2);
10310 if (_arg2 == NULL)
10311 return NULL;
10312 }
10313 {
10314 PyThreadState* __tstate = wxPyBeginAllowThreads();
10315 wxRadioBox_SetString(_arg0,_arg1,*_arg2);
10316
10317 wxPyEndAllowThreads(__tstate);
10318 if (PyErr_Occurred()) return NULL;
10319 } Py_INCREF(Py_None);
10320 _resultobj = Py_None;
10321 {
10322 if (_obj2)
10323 delete _arg2;
10324 }
10325 return _resultobj;
10326 }
10327
10328 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
10329 static PyObject *_wrap_wxRadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10330 PyObject * _resultobj;
10331 int _result;
10332 wxRadioBox * _arg0;
10333 PyObject * _argo0 = 0;
10334 char *_kwnames[] = { "self", NULL };
10335
10336 self = self;
10337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetSelection",_kwnames,&_argo0))
10338 return NULL;
10339 if (_argo0) {
10340 if (_argo0 == Py_None) { _arg0 = NULL; }
10341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
10343 return NULL;
10344 }
10345 }
10346 {
10347 PyThreadState* __tstate = wxPyBeginAllowThreads();
10348 _result = (int )wxRadioBox_GetSelection(_arg0);
10349
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) return NULL;
10352 } _resultobj = Py_BuildValue("i",_result);
10353 return _resultobj;
10354 }
10355
10356 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
10357 static PyObject *_wrap_wxRadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10358 PyObject * _resultobj;
10359 wxString * _result;
10360 wxRadioBox * _arg0;
10361 PyObject * _argo0 = 0;
10362 char *_kwnames[] = { "self", NULL };
10363
10364 self = self;
10365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetStringSelection",_kwnames,&_argo0))
10366 return NULL;
10367 if (_argo0) {
10368 if (_argo0 == Py_None) { _arg0 = NULL; }
10369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
10371 return NULL;
10372 }
10373 }
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 _result = new wxString (wxRadioBox_GetStringSelection(_arg0));
10377
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) return NULL;
10380 }{
10381 #if wxUSE_UNICODE
10382 _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len());
10383 #else
10384 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10385 #endif
10386 }
10387 {
10388 delete _result;
10389 }
10390 return _resultobj;
10391 }
10392
10393 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
10394 static PyObject *_wrap_wxRadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10395 PyObject * _resultobj;
10396 int _result;
10397 wxRadioBox * _arg0;
10398 PyObject * _argo0 = 0;
10399 char *_kwnames[] = { "self", NULL };
10400
10401 self = self;
10402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioBox_GetCount",_kwnames,&_argo0))
10403 return NULL;
10404 if (_argo0) {
10405 if (_argo0 == Py_None) { _arg0 = NULL; }
10406 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10407 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
10408 return NULL;
10409 }
10410 }
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 _result = (int )wxRadioBox_GetCount(_arg0);
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) return NULL;
10417 } _resultobj = Py_BuildValue("i",_result);
10418 return _resultobj;
10419 }
10420
10421 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
10422 static PyObject *_wrap_wxRadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10423 PyObject * _resultobj;
10424 wxRadioBox * _arg0;
10425 int _arg1;
10426 PyObject * _argo0 = 0;
10427 char *_kwnames[] = { "self","n", NULL };
10428
10429 self = self;
10430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_SetSelection",_kwnames,&_argo0,&_arg1))
10431 return NULL;
10432 if (_argo0) {
10433 if (_argo0 == Py_None) { _arg0 = NULL; }
10434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
10436 return NULL;
10437 }
10438 }
10439 {
10440 PyThreadState* __tstate = wxPyBeginAllowThreads();
10441 wxRadioBox_SetSelection(_arg0,_arg1);
10442
10443 wxPyEndAllowThreads(__tstate);
10444 if (PyErr_Occurred()) return NULL;
10445 } Py_INCREF(Py_None);
10446 _resultobj = Py_None;
10447 return _resultobj;
10448 }
10449
10450 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
10451 static PyObject *_wrap_wxRadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10452 PyObject * _resultobj;
10453 wxRadioBox * _arg0;
10454 wxString * _arg1;
10455 PyObject * _argo0 = 0;
10456 PyObject * _obj1 = 0;
10457 char *_kwnames[] = { "self","string", NULL };
10458
10459 self = self;
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxRadioBox_SetStringSelection",_kwnames,&_argo0,&_obj1))
10461 return NULL;
10462 if (_argo0) {
10463 if (_argo0 == Py_None) { _arg0 = NULL; }
10464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
10466 return NULL;
10467 }
10468 }
10469 {
10470 _arg1 = wxString_in_helper(_obj1);
10471 if (_arg1 == NULL)
10472 return NULL;
10473 }
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 wxRadioBox_SetStringSelection(_arg0,*_arg1);
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) return NULL;
10480 } Py_INCREF(Py_None);
10481 _resultobj = Py_None;
10482 {
10483 if (_obj1)
10484 delete _arg1;
10485 }
10486 return _resultobj;
10487 }
10488
10489 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
10490 static PyObject *_wrap_wxRadioBox_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
10491 PyObject * _resultobj;
10492 wxRadioBox * _arg0;
10493 bool _arg1;
10494 PyObject * _argo0 = 0;
10495 int tempbool1;
10496 char *_kwnames[] = { "self","show", NULL };
10497
10498 self = self;
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioBox_Show",_kwnames,&_argo0,&tempbool1))
10500 return NULL;
10501 if (_argo0) {
10502 if (_argo0 == Py_None) { _arg0 = NULL; }
10503 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10504 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
10505 return NULL;
10506 }
10507 }
10508 _arg1 = (bool ) tempbool1;
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 wxRadioBox_Show(_arg0,_arg1);
10512
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) return NULL;
10515 } Py_INCREF(Py_None);
10516 _resultobj = Py_None;
10517 return _resultobj;
10518 }
10519
10520 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
10521 static PyObject *_wrap_wxRadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10522 PyObject * _resultobj;
10523 wxRadioBox * _arg0;
10524 int _arg1;
10525 bool _arg2;
10526 PyObject * _argo0 = 0;
10527 int tempbool2;
10528 char *_kwnames[] = { "self","item","show", NULL };
10529
10530 self = self;
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxRadioBox_ShowItem",_kwnames,&_argo0,&_arg1,&tempbool2))
10532 return NULL;
10533 if (_argo0) {
10534 if (_argo0 == Py_None) { _arg0 = NULL; }
10535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioBox_p")) {
10536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
10537 return NULL;
10538 }
10539 }
10540 _arg2 = (bool ) tempbool2;
10541 {
10542 PyThreadState* __tstate = wxPyBeginAllowThreads();
10543 wxRadioBox_ShowItem(_arg0,_arg1,_arg2);
10544
10545 wxPyEndAllowThreads(__tstate);
10546 if (PyErr_Occurred()) return NULL;
10547 } Py_INCREF(Py_None);
10548 _resultobj = Py_None;
10549 return _resultobj;
10550 }
10551
10552 static void *SwigwxRadioButtonTowxControl(void *ptr) {
10553 wxRadioButton *src;
10554 wxControl *dest;
10555 src = (wxRadioButton *) ptr;
10556 dest = (wxControl *) src;
10557 return (void *) dest;
10558 }
10559
10560 static void *SwigwxRadioButtonTowxWindow(void *ptr) {
10561 wxRadioButton *src;
10562 wxWindow *dest;
10563 src = (wxRadioButton *) ptr;
10564 dest = (wxWindow *) src;
10565 return (void *) dest;
10566 }
10567
10568 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr) {
10569 wxRadioButton *src;
10570 wxEvtHandler *dest;
10571 src = (wxRadioButton *) ptr;
10572 dest = (wxEvtHandler *) src;
10573 return (void *) dest;
10574 }
10575
10576 static void *SwigwxRadioButtonTowxObject(void *ptr) {
10577 wxRadioButton *src;
10578 wxObject *dest;
10579 src = (wxRadioButton *) ptr;
10580 dest = (wxObject *) src;
10581 return (void *) dest;
10582 }
10583
10584 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10585 static PyObject *_wrap_new_wxRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10586 PyObject * _resultobj;
10587 wxRadioButton * _result;
10588 wxWindow * _arg0;
10589 wxWindowID _arg1;
10590 wxString * _arg2;
10591 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
10592 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
10593 long _arg5 = (long ) 0;
10594 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
10595 wxString * _arg7 = (wxString *) &wxPyRadioButtonNameStr;
10596 PyObject * _argo0 = 0;
10597 PyObject * _obj2 = 0;
10598 wxPoint temp;
10599 PyObject * _obj3 = 0;
10600 wxSize temp0;
10601 PyObject * _obj4 = 0;
10602 PyObject * _argo6 = 0;
10603 PyObject * _obj7 = 0;
10604 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
10605 char _ptemp[128];
10606
10607 self = self;
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxRadioButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
10609 return NULL;
10610 if (_argo0) {
10611 if (_argo0 == Py_None) { _arg0 = NULL; }
10612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
10614 return NULL;
10615 }
10616 }
10617 {
10618 _arg2 = wxString_in_helper(_obj2);
10619 if (_arg2 == NULL)
10620 return NULL;
10621 }
10622 if (_obj3)
10623 {
10624 _arg3 = &temp;
10625 if (! wxPoint_helper(_obj3, &_arg3))
10626 return NULL;
10627 }
10628 if (_obj4)
10629 {
10630 _arg4 = &temp0;
10631 if (! wxSize_helper(_obj4, &_arg4))
10632 return NULL;
10633 }
10634 if (_argo6) {
10635 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
10636 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
10637 return NULL;
10638 }
10639 }
10640 if (_obj7)
10641 {
10642 _arg7 = wxString_in_helper(_obj7);
10643 if (_arg7 == NULL)
10644 return NULL;
10645 }
10646 {
10647 PyThreadState* __tstate = wxPyBeginAllowThreads();
10648 _result = (wxRadioButton *)new_wxRadioButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
10649
10650 wxPyEndAllowThreads(__tstate);
10651 if (PyErr_Occurred()) return NULL;
10652 } if (_result) {
10653 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
10654 _resultobj = Py_BuildValue("s",_ptemp);
10655 } else {
10656 Py_INCREF(Py_None);
10657 _resultobj = Py_None;
10658 }
10659 {
10660 if (_obj2)
10661 delete _arg2;
10662 }
10663 {
10664 if (_obj7)
10665 delete _arg7;
10666 }
10667 return _resultobj;
10668 }
10669
10670 #define new_wxPreRadioButton() (new wxRadioButton())
10671 static PyObject *_wrap_new_wxPreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10672 PyObject * _resultobj;
10673 wxRadioButton * _result;
10674 char *_kwnames[] = { NULL };
10675 char _ptemp[128];
10676
10677 self = self;
10678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreRadioButton",_kwnames))
10679 return NULL;
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 _result = (wxRadioButton *)new_wxPreRadioButton();
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) return NULL;
10686 } if (_result) {
10687 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRadioButton_p");
10688 _resultobj = Py_BuildValue("s",_ptemp);
10689 } else {
10690 Py_INCREF(Py_None);
10691 _resultobj = Py_None;
10692 }
10693 return _resultobj;
10694 }
10695
10696 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10697 static PyObject *_wrap_wxRadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10698 PyObject * _resultobj;
10699 bool _result;
10700 wxRadioButton * _arg0;
10701 wxWindow * _arg1;
10702 wxWindowID _arg2;
10703 wxString * _arg3;
10704 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
10705 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
10706 long _arg6 = (long ) 0;
10707 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
10708 wxString * _arg8 = (wxString *) &wxPyRadioButtonNameStr;
10709 PyObject * _argo0 = 0;
10710 PyObject * _argo1 = 0;
10711 PyObject * _obj3 = 0;
10712 wxPoint temp;
10713 PyObject * _obj4 = 0;
10714 wxSize temp0;
10715 PyObject * _obj5 = 0;
10716 PyObject * _argo7 = 0;
10717 PyObject * _obj8 = 0;
10718 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
10719
10720 self = self;
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxRadioButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
10722 return NULL;
10723 if (_argo0) {
10724 if (_argo0 == Py_None) { _arg0 = NULL; }
10725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
10727 return NULL;
10728 }
10729 }
10730 if (_argo1) {
10731 if (_argo1 == Py_None) { _arg1 = NULL; }
10732 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
10733 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
10734 return NULL;
10735 }
10736 }
10737 {
10738 _arg3 = wxString_in_helper(_obj3);
10739 if (_arg3 == NULL)
10740 return NULL;
10741 }
10742 if (_obj4)
10743 {
10744 _arg4 = &temp;
10745 if (! wxPoint_helper(_obj4, &_arg4))
10746 return NULL;
10747 }
10748 if (_obj5)
10749 {
10750 _arg5 = &temp0;
10751 if (! wxSize_helper(_obj5, &_arg5))
10752 return NULL;
10753 }
10754 if (_argo7) {
10755 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
10756 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
10757 return NULL;
10758 }
10759 }
10760 if (_obj8)
10761 {
10762 _arg8 = wxString_in_helper(_obj8);
10763 if (_arg8 == NULL)
10764 return NULL;
10765 }
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 _result = (bool )wxRadioButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) return NULL;
10772 } _resultobj = Py_BuildValue("i",_result);
10773 {
10774 if (_obj3)
10775 delete _arg3;
10776 }
10777 {
10778 if (_obj8)
10779 delete _arg8;
10780 }
10781 return _resultobj;
10782 }
10783
10784 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
10785 static PyObject *_wrap_wxRadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10786 PyObject * _resultobj;
10787 bool _result;
10788 wxRadioButton * _arg0;
10789 PyObject * _argo0 = 0;
10790 char *_kwnames[] = { "self", NULL };
10791
10792 self = self;
10793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxRadioButton_GetValue",_kwnames,&_argo0))
10794 return NULL;
10795 if (_argo0) {
10796 if (_argo0 == Py_None) { _arg0 = NULL; }
10797 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10798 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10799 return NULL;
10800 }
10801 }
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 _result = (bool )wxRadioButton_GetValue(_arg0);
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) return NULL;
10808 } _resultobj = Py_BuildValue("i",_result);
10809 return _resultobj;
10810 }
10811
10812 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10813 static PyObject *_wrap_wxRadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10814 PyObject * _resultobj;
10815 wxRadioButton * _arg0;
10816 bool _arg1;
10817 PyObject * _argo0 = 0;
10818 int tempbool1;
10819 char *_kwnames[] = { "self","value", NULL };
10820
10821 self = self;
10822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxRadioButton_SetValue",_kwnames,&_argo0,&tempbool1))
10823 return NULL;
10824 if (_argo0) {
10825 if (_argo0 == Py_None) { _arg0 = NULL; }
10826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxRadioButton_p")) {
10827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10828 return NULL;
10829 }
10830 }
10831 _arg1 = (bool ) tempbool1;
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 wxRadioButton_SetValue(_arg0,_arg1);
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) return NULL;
10838 } Py_INCREF(Py_None);
10839 _resultobj = Py_None;
10840 return _resultobj;
10841 }
10842
10843 static void *SwigwxSliderTowxControl(void *ptr) {
10844 wxSlider *src;
10845 wxControl *dest;
10846 src = (wxSlider *) ptr;
10847 dest = (wxControl *) src;
10848 return (void *) dest;
10849 }
10850
10851 static void *SwigwxSliderTowxWindow(void *ptr) {
10852 wxSlider *src;
10853 wxWindow *dest;
10854 src = (wxSlider *) ptr;
10855 dest = (wxWindow *) src;
10856 return (void *) dest;
10857 }
10858
10859 static void *SwigwxSliderTowxEvtHandler(void *ptr) {
10860 wxSlider *src;
10861 wxEvtHandler *dest;
10862 src = (wxSlider *) ptr;
10863 dest = (wxEvtHandler *) src;
10864 return (void *) dest;
10865 }
10866
10867 static void *SwigwxSliderTowxObject(void *ptr) {
10868 wxSlider *src;
10869 wxObject *dest;
10870 src = (wxSlider *) ptr;
10871 dest = (wxObject *) src;
10872 return (void *) dest;
10873 }
10874
10875 #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))
10876 static PyObject *_wrap_new_wxSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10877 PyObject * _resultobj;
10878 wxSlider * _result;
10879 wxWindow * _arg0;
10880 wxWindowID _arg1;
10881 int _arg2;
10882 int _arg3;
10883 int _arg4;
10884 wxPoint * _arg5 = (wxPoint *) &wxDefaultPosition;
10885 wxSize * _arg6 = (wxSize *) &wxDefaultSize;
10886 long _arg7 = (long ) wxSL_HORIZONTAL;
10887 wxValidator * _arg8 = (wxValidator *) &wxDefaultValidator;
10888 wxString * _arg9 = (wxString *) &wxPySliderNameStr;
10889 PyObject * _argo0 = 0;
10890 wxPoint temp;
10891 PyObject * _obj5 = 0;
10892 wxSize temp0;
10893 PyObject * _obj6 = 0;
10894 PyObject * _argo8 = 0;
10895 PyObject * _obj9 = 0;
10896 char *_kwnames[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
10897 char _ptemp[128];
10898
10899 self = self;
10900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiiii|OOlOO:new_wxSlider",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_obj5,&_obj6,&_arg7,&_argo8,&_obj9))
10901 return NULL;
10902 if (_argo0) {
10903 if (_argo0 == Py_None) { _arg0 = NULL; }
10904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
10905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10906 return NULL;
10907 }
10908 }
10909 if (_obj5)
10910 {
10911 _arg5 = &temp;
10912 if (! wxPoint_helper(_obj5, &_arg5))
10913 return NULL;
10914 }
10915 if (_obj6)
10916 {
10917 _arg6 = &temp0;
10918 if (! wxSize_helper(_obj6, &_arg6))
10919 return NULL;
10920 }
10921 if (_argo8) {
10922 if (SWIG_GetPtrObj(_argo8,(void **) &_arg8,"_wxValidator_p")) {
10923 PyErr_SetString(PyExc_TypeError,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10924 return NULL;
10925 }
10926 }
10927 if (_obj9)
10928 {
10929 _arg9 = wxString_in_helper(_obj9);
10930 if (_arg9 == NULL)
10931 return NULL;
10932 }
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 _result = (wxSlider *)new_wxSlider(_arg0,_arg1,_arg2,_arg3,_arg4,*_arg5,*_arg6,_arg7,*_arg8,*_arg9);
10936
10937 wxPyEndAllowThreads(__tstate);
10938 if (PyErr_Occurred()) return NULL;
10939 } if (_result) {
10940 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10941 _resultobj = Py_BuildValue("s",_ptemp);
10942 } else {
10943 Py_INCREF(Py_None);
10944 _resultobj = Py_None;
10945 }
10946 {
10947 if (_obj9)
10948 delete _arg9;
10949 }
10950 return _resultobj;
10951 }
10952
10953 #define new_wxPreSlider() (new wxSlider())
10954 static PyObject *_wrap_new_wxPreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10955 PyObject * _resultobj;
10956 wxSlider * _result;
10957 char *_kwnames[] = { NULL };
10958 char _ptemp[128];
10959
10960 self = self;
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSlider",_kwnames))
10962 return NULL;
10963 {
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 _result = (wxSlider *)new_wxPreSlider();
10966
10967 wxPyEndAllowThreads(__tstate);
10968 if (PyErr_Occurred()) return NULL;
10969 } if (_result) {
10970 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSlider_p");
10971 _resultobj = Py_BuildValue("s",_ptemp);
10972 } else {
10973 Py_INCREF(Py_None);
10974 _resultobj = Py_None;
10975 }
10976 return _resultobj;
10977 }
10978
10979 #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))
10980 static PyObject *_wrap_wxSlider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10981 PyObject * _resultobj;
10982 bool _result;
10983 wxSlider * _arg0;
10984 wxWindow * _arg1;
10985 wxWindowID _arg2;
10986 int _arg3;
10987 int _arg4;
10988 int _arg5;
10989 wxPoint * _arg6 = (wxPoint *) &wxDefaultPosition;
10990 wxSize * _arg7 = (wxSize *) &wxDefaultSize;
10991 long _arg8 = (long ) wxSL_HORIZONTAL;
10992 wxValidator * _arg9 = (wxValidator *) &wxDefaultValidator;
10993 wxString * _arg10 = (wxString *) &wxPySliderNameStr;
10994 PyObject * _argo0 = 0;
10995 PyObject * _argo1 = 0;
10996 wxPoint temp;
10997 PyObject * _obj6 = 0;
10998 wxSize temp0;
10999 PyObject * _obj7 = 0;
11000 PyObject * _argo9 = 0;
11001 PyObject * _obj10 = 0;
11002 char *_kwnames[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL };
11003
11004 self = self;
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiiii|OOlOO:wxSlider_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&_obj6,&_obj7,&_arg8,&_argo9,&_obj10))
11006 return NULL;
11007 if (_argo0) {
11008 if (_argo0 == Py_None) { _arg0 = NULL; }
11009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
11011 return NULL;
11012 }
11013 }
11014 if (_argo1) {
11015 if (_argo1 == Py_None) { _arg1 = NULL; }
11016 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11017 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
11018 return NULL;
11019 }
11020 }
11021 if (_obj6)
11022 {
11023 _arg6 = &temp;
11024 if (! wxPoint_helper(_obj6, &_arg6))
11025 return NULL;
11026 }
11027 if (_obj7)
11028 {
11029 _arg7 = &temp0;
11030 if (! wxSize_helper(_obj7, &_arg7))
11031 return NULL;
11032 }
11033 if (_argo9) {
11034 if (SWIG_GetPtrObj(_argo9,(void **) &_arg9,"_wxValidator_p")) {
11035 PyErr_SetString(PyExc_TypeError,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
11036 return NULL;
11037 }
11038 }
11039 if (_obj10)
11040 {
11041 _arg10 = wxString_in_helper(_obj10);
11042 if (_arg10 == NULL)
11043 return NULL;
11044 }
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 _result = (bool )wxSlider_Create(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7,_arg8,*_arg9,*_arg10);
11048
11049 wxPyEndAllowThreads(__tstate);
11050 if (PyErr_Occurred()) return NULL;
11051 } _resultobj = Py_BuildValue("i",_result);
11052 {
11053 if (_obj10)
11054 delete _arg10;
11055 }
11056 return _resultobj;
11057 }
11058
11059 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
11060 static PyObject *_wrap_wxSlider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
11061 PyObject * _resultobj;
11062 wxSlider * _arg0;
11063 PyObject * _argo0 = 0;
11064 char *_kwnames[] = { "self", NULL };
11065
11066 self = self;
11067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearSel",_kwnames,&_argo0))
11068 return NULL;
11069 if (_argo0) {
11070 if (_argo0 == Py_None) { _arg0 = NULL; }
11071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
11073 return NULL;
11074 }
11075 }
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 wxSlider_ClearSel(_arg0);
11079
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) return NULL;
11082 } Py_INCREF(Py_None);
11083 _resultobj = Py_None;
11084 return _resultobj;
11085 }
11086
11087 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
11088 static PyObject *_wrap_wxSlider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
11089 PyObject * _resultobj;
11090 wxSlider * _arg0;
11091 PyObject * _argo0 = 0;
11092 char *_kwnames[] = { "self", NULL };
11093
11094 self = self;
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_ClearTicks",_kwnames,&_argo0))
11096 return NULL;
11097 if (_argo0) {
11098 if (_argo0 == Py_None) { _arg0 = NULL; }
11099 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
11101 return NULL;
11102 }
11103 }
11104 {
11105 PyThreadState* __tstate = wxPyBeginAllowThreads();
11106 wxSlider_ClearTicks(_arg0);
11107
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) return NULL;
11110 } Py_INCREF(Py_None);
11111 _resultobj = Py_None;
11112 return _resultobj;
11113 }
11114
11115 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
11116 static PyObject *_wrap_wxSlider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11117 PyObject * _resultobj;
11118 int _result;
11119 wxSlider * _arg0;
11120 PyObject * _argo0 = 0;
11121 char *_kwnames[] = { "self", NULL };
11122
11123 self = self;
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetLineSize",_kwnames,&_argo0))
11125 return NULL;
11126 if (_argo0) {
11127 if (_argo0 == Py_None) { _arg0 = NULL; }
11128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
11130 return NULL;
11131 }
11132 }
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 _result = (int )wxSlider_GetLineSize(_arg0);
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) return NULL;
11139 } _resultobj = Py_BuildValue("i",_result);
11140 return _resultobj;
11141 }
11142
11143 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
11144 static PyObject *_wrap_wxSlider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11145 PyObject * _resultobj;
11146 int _result;
11147 wxSlider * _arg0;
11148 PyObject * _argo0 = 0;
11149 char *_kwnames[] = { "self", NULL };
11150
11151 self = self;
11152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMax",_kwnames,&_argo0))
11153 return NULL;
11154 if (_argo0) {
11155 if (_argo0 == Py_None) { _arg0 = NULL; }
11156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
11158 return NULL;
11159 }
11160 }
11161 {
11162 PyThreadState* __tstate = wxPyBeginAllowThreads();
11163 _result = (int )wxSlider_GetMax(_arg0);
11164
11165 wxPyEndAllowThreads(__tstate);
11166 if (PyErr_Occurred()) return NULL;
11167 } _resultobj = Py_BuildValue("i",_result);
11168 return _resultobj;
11169 }
11170
11171 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
11172 static PyObject *_wrap_wxSlider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11173 PyObject * _resultobj;
11174 int _result;
11175 wxSlider * _arg0;
11176 PyObject * _argo0 = 0;
11177 char *_kwnames[] = { "self", NULL };
11178
11179 self = self;
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetMin",_kwnames,&_argo0))
11181 return NULL;
11182 if (_argo0) {
11183 if (_argo0 == Py_None) { _arg0 = NULL; }
11184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
11186 return NULL;
11187 }
11188 }
11189 {
11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
11191 _result = (int )wxSlider_GetMin(_arg0);
11192
11193 wxPyEndAllowThreads(__tstate);
11194 if (PyErr_Occurred()) return NULL;
11195 } _resultobj = Py_BuildValue("i",_result);
11196 return _resultobj;
11197 }
11198
11199 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
11200 static PyObject *_wrap_wxSlider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11201 PyObject * _resultobj;
11202 int _result;
11203 wxSlider * _arg0;
11204 PyObject * _argo0 = 0;
11205 char *_kwnames[] = { "self", NULL };
11206
11207 self = self;
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetPageSize",_kwnames,&_argo0))
11209 return NULL;
11210 if (_argo0) {
11211 if (_argo0 == Py_None) { _arg0 = NULL; }
11212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
11214 return NULL;
11215 }
11216 }
11217 {
11218 PyThreadState* __tstate = wxPyBeginAllowThreads();
11219 _result = (int )wxSlider_GetPageSize(_arg0);
11220
11221 wxPyEndAllowThreads(__tstate);
11222 if (PyErr_Occurred()) return NULL;
11223 } _resultobj = Py_BuildValue("i",_result);
11224 return _resultobj;
11225 }
11226
11227 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
11228 static PyObject *_wrap_wxSlider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11229 PyObject * _resultobj;
11230 int _result;
11231 wxSlider * _arg0;
11232 PyObject * _argo0 = 0;
11233 char *_kwnames[] = { "self", NULL };
11234
11235 self = self;
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelEnd",_kwnames,&_argo0))
11237 return NULL;
11238 if (_argo0) {
11239 if (_argo0 == Py_None) { _arg0 = NULL; }
11240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
11242 return NULL;
11243 }
11244 }
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 _result = (int )wxSlider_GetSelEnd(_arg0);
11248
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) return NULL;
11251 } _resultobj = Py_BuildValue("i",_result);
11252 return _resultobj;
11253 }
11254
11255 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
11256 static PyObject *_wrap_wxSlider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
11257 PyObject * _resultobj;
11258 int _result;
11259 wxSlider * _arg0;
11260 PyObject * _argo0 = 0;
11261 char *_kwnames[] = { "self", NULL };
11262
11263 self = self;
11264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetSelStart",_kwnames,&_argo0))
11265 return NULL;
11266 if (_argo0) {
11267 if (_argo0 == Py_None) { _arg0 = NULL; }
11268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
11270 return NULL;
11271 }
11272 }
11273 {
11274 PyThreadState* __tstate = wxPyBeginAllowThreads();
11275 _result = (int )wxSlider_GetSelStart(_arg0);
11276
11277 wxPyEndAllowThreads(__tstate);
11278 if (PyErr_Occurred()) return NULL;
11279 } _resultobj = Py_BuildValue("i",_result);
11280 return _resultobj;
11281 }
11282
11283 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
11284 static PyObject *_wrap_wxSlider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11285 PyObject * _resultobj;
11286 int _result;
11287 wxSlider * _arg0;
11288 PyObject * _argo0 = 0;
11289 char *_kwnames[] = { "self", NULL };
11290
11291 self = self;
11292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetThumbLength",_kwnames,&_argo0))
11293 return NULL;
11294 if (_argo0) {
11295 if (_argo0 == Py_None) { _arg0 = NULL; }
11296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
11298 return NULL;
11299 }
11300 }
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 _result = (int )wxSlider_GetThumbLength(_arg0);
11304
11305 wxPyEndAllowThreads(__tstate);
11306 if (PyErr_Occurred()) return NULL;
11307 } _resultobj = Py_BuildValue("i",_result);
11308 return _resultobj;
11309 }
11310
11311 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
11312 static PyObject *_wrap_wxSlider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11313 PyObject * _resultobj;
11314 int _result;
11315 wxSlider * _arg0;
11316 PyObject * _argo0 = 0;
11317 char *_kwnames[] = { "self", NULL };
11318
11319 self = self;
11320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetTickFreq",_kwnames,&_argo0))
11321 return NULL;
11322 if (_argo0) {
11323 if (_argo0 == Py_None) { _arg0 = NULL; }
11324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
11326 return NULL;
11327 }
11328 }
11329 {
11330 PyThreadState* __tstate = wxPyBeginAllowThreads();
11331 _result = (int )wxSlider_GetTickFreq(_arg0);
11332
11333 wxPyEndAllowThreads(__tstate);
11334 if (PyErr_Occurred()) return NULL;
11335 } _resultobj = Py_BuildValue("i",_result);
11336 return _resultobj;
11337 }
11338
11339 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
11340 static PyObject *_wrap_wxSlider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11341 PyObject * _resultobj;
11342 int _result;
11343 wxSlider * _arg0;
11344 PyObject * _argo0 = 0;
11345 char *_kwnames[] = { "self", NULL };
11346
11347 self = self;
11348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSlider_GetValue",_kwnames,&_argo0))
11349 return NULL;
11350 if (_argo0) {
11351 if (_argo0 == Py_None) { _arg0 = NULL; }
11352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
11354 return NULL;
11355 }
11356 }
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 _result = (int )wxSlider_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 wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11368 static PyObject *_wrap_wxSlider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11369 PyObject * _resultobj;
11370 wxSlider * _arg0;
11371 int _arg1;
11372 int _arg2;
11373 PyObject * _argo0 = 0;
11374 char *_kwnames[] = { "self","minValue","maxValue", NULL };
11375
11376 self = self;
11377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
11378 return NULL;
11379 if (_argo0) {
11380 if (_argo0 == Py_None) { _arg0 = NULL; }
11381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
11383 return NULL;
11384 }
11385 }
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 wxSlider_SetRange(_arg0,_arg1,_arg2);
11389
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) return NULL;
11392 } Py_INCREF(Py_None);
11393 _resultobj = Py_None;
11394 return _resultobj;
11395 }
11396
11397 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
11398 static PyObject *_wrap_wxSlider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11399 PyObject * _resultobj;
11400 wxSlider * _arg0;
11401 int _arg1;
11402 int _arg2;
11403 PyObject * _argo0 = 0;
11404 char *_kwnames[] = { "self","n","pos", NULL };
11405
11406 self = self;
11407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetTickFreq",_kwnames,&_argo0,&_arg1,&_arg2))
11408 return NULL;
11409 if (_argo0) {
11410 if (_argo0 == Py_None) { _arg0 = NULL; }
11411 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11412 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
11413 return NULL;
11414 }
11415 }
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 wxSlider_SetTickFreq(_arg0,_arg1,_arg2);
11419
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) return NULL;
11422 } Py_INCREF(Py_None);
11423 _resultobj = Py_None;
11424 return _resultobj;
11425 }
11426
11427 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
11428 static PyObject *_wrap_wxSlider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11429 PyObject * _resultobj;
11430 wxSlider * _arg0;
11431 int _arg1;
11432 PyObject * _argo0 = 0;
11433 char *_kwnames[] = { "self","lineSize", NULL };
11434
11435 self = self;
11436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetLineSize",_kwnames,&_argo0,&_arg1))
11437 return NULL;
11438 if (_argo0) {
11439 if (_argo0 == Py_None) { _arg0 = NULL; }
11440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
11442 return NULL;
11443 }
11444 }
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 wxSlider_SetLineSize(_arg0,_arg1);
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) return NULL;
11451 } Py_INCREF(Py_None);
11452 _resultobj = Py_None;
11453 return _resultobj;
11454 }
11455
11456 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
11457 static PyObject *_wrap_wxSlider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11458 PyObject * _resultobj;
11459 wxSlider * _arg0;
11460 int _arg1;
11461 PyObject * _argo0 = 0;
11462 char *_kwnames[] = { "self","pageSize", NULL };
11463
11464 self = self;
11465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetPageSize",_kwnames,&_argo0,&_arg1))
11466 return NULL;
11467 if (_argo0) {
11468 if (_argo0 == Py_None) { _arg0 = NULL; }
11469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
11471 return NULL;
11472 }
11473 }
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 wxSlider_SetPageSize(_arg0,_arg1);
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) return NULL;
11480 } Py_INCREF(Py_None);
11481 _resultobj = Py_None;
11482 return _resultobj;
11483 }
11484
11485 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
11486 static PyObject *_wrap_wxSlider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11487 PyObject * _resultobj;
11488 wxSlider * _arg0;
11489 int _arg1;
11490 int _arg2;
11491 PyObject * _argo0 = 0;
11492 char *_kwnames[] = { "self","startPos","endPos", NULL };
11493
11494 self = self;
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSlider_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11496 return NULL;
11497 if (_argo0) {
11498 if (_argo0 == Py_None) { _arg0 = NULL; }
11499 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11500 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
11501 return NULL;
11502 }
11503 }
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 wxSlider_SetSelection(_arg0,_arg1,_arg2);
11507
11508 wxPyEndAllowThreads(__tstate);
11509 if (PyErr_Occurred()) return NULL;
11510 } Py_INCREF(Py_None);
11511 _resultobj = Py_None;
11512 return _resultobj;
11513 }
11514
11515 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
11516 static PyObject *_wrap_wxSlider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject * _resultobj;
11518 wxSlider * _arg0;
11519 int _arg1;
11520 PyObject * _argo0 = 0;
11521 char *_kwnames[] = { "self","len", NULL };
11522
11523 self = self;
11524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetThumbLength",_kwnames,&_argo0,&_arg1))
11525 return NULL;
11526 if (_argo0) {
11527 if (_argo0 == Py_None) { _arg0 = NULL; }
11528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
11530 return NULL;
11531 }
11532 }
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 wxSlider_SetThumbLength(_arg0,_arg1);
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) return NULL;
11539 } Py_INCREF(Py_None);
11540 _resultobj = Py_None;
11541 return _resultobj;
11542 }
11543
11544 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
11545 static PyObject *_wrap_wxSlider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject * _resultobj;
11547 wxSlider * _arg0;
11548 int _arg1;
11549 PyObject * _argo0 = 0;
11550 char *_kwnames[] = { "self","tickPos", NULL };
11551
11552 self = self;
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetTick",_kwnames,&_argo0,&_arg1))
11554 return NULL;
11555 if (_argo0) {
11556 if (_argo0 == Py_None) { _arg0 = NULL; }
11557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
11559 return NULL;
11560 }
11561 }
11562 {
11563 PyThreadState* __tstate = wxPyBeginAllowThreads();
11564 wxSlider_SetTick(_arg0,_arg1);
11565
11566 wxPyEndAllowThreads(__tstate);
11567 if (PyErr_Occurred()) return NULL;
11568 } Py_INCREF(Py_None);
11569 _resultobj = Py_None;
11570 return _resultobj;
11571 }
11572
11573 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11574 static PyObject *_wrap_wxSlider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11575 PyObject * _resultobj;
11576 wxSlider * _arg0;
11577 int _arg1;
11578 PyObject * _argo0 = 0;
11579 char *_kwnames[] = { "self","value", NULL };
11580
11581 self = self;
11582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSlider_SetValue",_kwnames,&_argo0,&_arg1))
11583 return NULL;
11584 if (_argo0) {
11585 if (_argo0 == Py_None) { _arg0 = NULL; }
11586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSlider_p")) {
11587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
11588 return NULL;
11589 }
11590 }
11591 {
11592 PyThreadState* __tstate = wxPyBeginAllowThreads();
11593 wxSlider_SetValue(_arg0,_arg1);
11594
11595 wxPyEndAllowThreads(__tstate);
11596 if (PyErr_Occurred()) return NULL;
11597 } Py_INCREF(Py_None);
11598 _resultobj = Py_None;
11599 return _resultobj;
11600 }
11601
11602 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr) {
11603 wxSpinCtrl *src;
11604 wxSpinButton *dest;
11605 src = (wxSpinCtrl *) ptr;
11606 dest = (wxSpinButton *) src;
11607 return (void *) dest;
11608 }
11609
11610 static void *SwigwxSpinCtrlTowxControl(void *ptr) {
11611 wxSpinCtrl *src;
11612 wxControl *dest;
11613 src = (wxSpinCtrl *) ptr;
11614 dest = (wxControl *) src;
11615 return (void *) dest;
11616 }
11617
11618 static void *SwigwxSpinCtrlTowxWindow(void *ptr) {
11619 wxSpinCtrl *src;
11620 wxWindow *dest;
11621 src = (wxSpinCtrl *) ptr;
11622 dest = (wxWindow *) src;
11623 return (void *) dest;
11624 }
11625
11626 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr) {
11627 wxSpinCtrl *src;
11628 wxEvtHandler *dest;
11629 src = (wxSpinCtrl *) ptr;
11630 dest = (wxEvtHandler *) src;
11631 return (void *) dest;
11632 }
11633
11634 static void *SwigwxSpinCtrlTowxObject(void *ptr) {
11635 wxSpinCtrl *src;
11636 wxObject *dest;
11637 src = (wxSpinCtrl *) ptr;
11638 dest = (wxObject *) src;
11639 return (void *) dest;
11640 }
11641
11642 #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))
11643 static PyObject *_wrap_new_wxSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11644 PyObject * _resultobj;
11645 wxSpinCtrl * _result;
11646 wxWindow * _arg0;
11647 wxWindowID _arg1 = (wxWindowID ) -1;
11648 wxString * _arg2 = (wxString *) &wxPyEmptyString;
11649 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
11650 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
11651 long _arg5 = (long ) wxSP_ARROW_KEYS;
11652 int _arg6 = (int ) 0;
11653 int _arg7 = (int ) 100;
11654 int _arg8 = (int ) 0;
11655 wxString * _arg9 = (wxString *) &wxPySpinCtrlNameStr;
11656 PyObject * _argo0 = 0;
11657 PyObject * _obj2 = 0;
11658 wxPoint temp;
11659 PyObject * _obj3 = 0;
11660 wxSize temp0;
11661 PyObject * _obj4 = 0;
11662 PyObject * _obj9 = 0;
11663 char *_kwnames[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL };
11664 char _ptemp[128];
11665
11666 self = self;
11667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOOliiiO:new_wxSpinCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_arg6,&_arg7,&_arg8,&_obj9))
11668 return NULL;
11669 if (_argo0) {
11670 if (_argo0 == Py_None) { _arg0 = NULL; }
11671 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
11672 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
11673 return NULL;
11674 }
11675 }
11676 if (_obj2)
11677 {
11678 _arg2 = wxString_in_helper(_obj2);
11679 if (_arg2 == NULL)
11680 return NULL;
11681 }
11682 if (_obj3)
11683 {
11684 _arg3 = &temp;
11685 if (! wxPoint_helper(_obj3, &_arg3))
11686 return NULL;
11687 }
11688 if (_obj4)
11689 {
11690 _arg4 = &temp0;
11691 if (! wxSize_helper(_obj4, &_arg4))
11692 return NULL;
11693 }
11694 if (_obj9)
11695 {
11696 _arg9 = wxString_in_helper(_obj9);
11697 if (_arg9 == NULL)
11698 return NULL;
11699 }
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 _result = (wxSpinCtrl *)new_wxSpinCtrl(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,_arg6,_arg7,_arg8,*_arg9);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) return NULL;
11706 } if (_result) {
11707 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
11708 _resultobj = Py_BuildValue("s",_ptemp);
11709 } else {
11710 Py_INCREF(Py_None);
11711 _resultobj = Py_None;
11712 }
11713 {
11714 if (_obj2)
11715 delete _arg2;
11716 }
11717 {
11718 if (_obj9)
11719 delete _arg9;
11720 }
11721 return _resultobj;
11722 }
11723
11724 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
11725 static PyObject *_wrap_new_wxPreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11726 PyObject * _resultobj;
11727 wxSpinCtrl * _result;
11728 char *_kwnames[] = { NULL };
11729 char _ptemp[128];
11730
11731 self = self;
11732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreSpinCtrl",_kwnames))
11733 return NULL;
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 _result = (wxSpinCtrl *)new_wxPreSpinCtrl();
11737
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) return NULL;
11740 } if (_result) {
11741 SWIG_MakePtr(_ptemp, (char *) _result,"_wxSpinCtrl_p");
11742 _resultobj = Py_BuildValue("s",_ptemp);
11743 } else {
11744 Py_INCREF(Py_None);
11745 _resultobj = Py_None;
11746 }
11747 return _resultobj;
11748 }
11749
11750 #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))
11751 static PyObject *_wrap_wxSpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11752 PyObject * _resultobj;
11753 bool _result;
11754 wxSpinCtrl * _arg0;
11755 wxWindow * _arg1;
11756 wxWindowID _arg2 = (wxWindowID ) -1;
11757 wxString * _arg3 = (wxString *) &wxPyEmptyString;
11758 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
11759 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
11760 long _arg6 = (long ) wxSP_ARROW_KEYS;
11761 int _arg7 = (int ) 0;
11762 int _arg8 = (int ) 100;
11763 int _arg9 = (int ) 0;
11764 wxString * _arg10 = (wxString *) &wxPySpinCtrlNameStr;
11765 PyObject * _argo0 = 0;
11766 PyObject * _argo1 = 0;
11767 PyObject * _obj3 = 0;
11768 wxPoint temp;
11769 PyObject * _obj4 = 0;
11770 wxSize temp0;
11771 PyObject * _obj5 = 0;
11772 PyObject * _obj10 = 0;
11773 char *_kwnames[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL };
11774
11775 self = self;
11776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iOOOliiiO:wxSpinCtrl_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_arg7,&_arg8,&_arg9,&_obj10))
11777 return NULL;
11778 if (_argo0) {
11779 if (_argo0 == Py_None) { _arg0 = NULL; }
11780 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11781 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
11782 return NULL;
11783 }
11784 }
11785 if (_argo1) {
11786 if (_argo1 == Py_None) { _arg1 = NULL; }
11787 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
11788 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
11789 return NULL;
11790 }
11791 }
11792 if (_obj3)
11793 {
11794 _arg3 = wxString_in_helper(_obj3);
11795 if (_arg3 == NULL)
11796 return NULL;
11797 }
11798 if (_obj4)
11799 {
11800 _arg4 = &temp;
11801 if (! wxPoint_helper(_obj4, &_arg4))
11802 return NULL;
11803 }
11804 if (_obj5)
11805 {
11806 _arg5 = &temp0;
11807 if (! wxSize_helper(_obj5, &_arg5))
11808 return NULL;
11809 }
11810 if (_obj10)
11811 {
11812 _arg10 = wxString_in_helper(_obj10);
11813 if (_arg10 == NULL)
11814 return NULL;
11815 }
11816 {
11817 PyThreadState* __tstate = wxPyBeginAllowThreads();
11818 _result = (bool )wxSpinCtrl_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,_arg7,_arg8,_arg9,*_arg10);
11819
11820 wxPyEndAllowThreads(__tstate);
11821 if (PyErr_Occurred()) return NULL;
11822 } _resultobj = Py_BuildValue("i",_result);
11823 {
11824 if (_obj3)
11825 delete _arg3;
11826 }
11827 {
11828 if (_obj10)
11829 delete _arg10;
11830 }
11831 return _resultobj;
11832 }
11833
11834 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
11835 static PyObject *_wrap_wxSpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11836 PyObject * _resultobj;
11837 int _result;
11838 wxSpinCtrl * _arg0;
11839 PyObject * _argo0 = 0;
11840 char *_kwnames[] = { "self", NULL };
11841
11842 self = self;
11843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMax",_kwnames,&_argo0))
11844 return NULL;
11845 if (_argo0) {
11846 if (_argo0 == Py_None) { _arg0 = NULL; }
11847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
11849 return NULL;
11850 }
11851 }
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 _result = (int )wxSpinCtrl_GetMax(_arg0);
11855
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) return NULL;
11858 } _resultobj = Py_BuildValue("i",_result);
11859 return _resultobj;
11860 }
11861
11862 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11863 static PyObject *_wrap_wxSpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject * _resultobj;
11865 int _result;
11866 wxSpinCtrl * _arg0;
11867 PyObject * _argo0 = 0;
11868 char *_kwnames[] = { "self", NULL };
11869
11870 self = self;
11871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetMin",_kwnames,&_argo0))
11872 return NULL;
11873 if (_argo0) {
11874 if (_argo0 == Py_None) { _arg0 = NULL; }
11875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11877 return NULL;
11878 }
11879 }
11880 {
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
11882 _result = (int )wxSpinCtrl_GetMin(_arg0);
11883
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) return NULL;
11886 } _resultobj = Py_BuildValue("i",_result);
11887 return _resultobj;
11888 }
11889
11890 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11891 static PyObject *_wrap_wxSpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11892 PyObject * _resultobj;
11893 int _result;
11894 wxSpinCtrl * _arg0;
11895 PyObject * _argo0 = 0;
11896 char *_kwnames[] = { "self", NULL };
11897
11898 self = self;
11899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxSpinCtrl_GetValue",_kwnames,&_argo0))
11900 return NULL;
11901 if (_argo0) {
11902 if (_argo0 == Py_None) { _arg0 = NULL; }
11903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11905 return NULL;
11906 }
11907 }
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 _result = (int )wxSpinCtrl_GetValue(_arg0);
11911
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) return NULL;
11914 } _resultobj = Py_BuildValue("i",_result);
11915 return _resultobj;
11916 }
11917
11918 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11919 static PyObject *_wrap_wxSpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11920 PyObject * _resultobj;
11921 wxSpinCtrl * _arg0;
11922 int _arg1;
11923 int _arg2;
11924 PyObject * _argo0 = 0;
11925 char *_kwnames[] = { "self","min","max", NULL };
11926
11927 self = self;
11928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxSpinCtrl_SetRange",_kwnames,&_argo0,&_arg1,&_arg2))
11929 return NULL;
11930 if (_argo0) {
11931 if (_argo0 == Py_None) { _arg0 = NULL; }
11932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11934 return NULL;
11935 }
11936 }
11937 {
11938 PyThreadState* __tstate = wxPyBeginAllowThreads();
11939 wxSpinCtrl_SetRange(_arg0,_arg1,_arg2);
11940
11941 wxPyEndAllowThreads(__tstate);
11942 if (PyErr_Occurred()) return NULL;
11943 } Py_INCREF(Py_None);
11944 _resultobj = Py_None;
11945 return _resultobj;
11946 }
11947
11948 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11949 static PyObject *_wrap_wxSpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11950 PyObject * _resultobj;
11951 wxSpinCtrl * _arg0;
11952 int _arg1;
11953 PyObject * _argo0 = 0;
11954 char *_kwnames[] = { "self","value", NULL };
11955
11956 self = self;
11957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxSpinCtrl_SetValue",_kwnames,&_argo0,&_arg1))
11958 return NULL;
11959 if (_argo0) {
11960 if (_argo0 == Py_None) { _arg0 = NULL; }
11961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11963 return NULL;
11964 }
11965 }
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 wxSpinCtrl_SetValue(_arg0,_arg1);
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) return NULL;
11972 } Py_INCREF(Py_None);
11973 _resultobj = Py_None;
11974 return _resultobj;
11975 }
11976
11977 static void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to) {
11978 }
11979 static PyObject *_wrap_wxSpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11980 PyObject * _resultobj;
11981 wxSpinCtrl * _arg0;
11982 long _arg1;
11983 long _arg2;
11984 PyObject * _argo0 = 0;
11985 char *_kwnames[] = { "self","from","to", NULL };
11986
11987 self = self;
11988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxSpinCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
11989 return NULL;
11990 if (_argo0) {
11991 if (_argo0 == Py_None) { _arg0 = NULL; }
11992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxSpinCtrl_p")) {
11993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxSpinCtrl_SetSelection. Expected _wxSpinCtrl_p.");
11994 return NULL;
11995 }
11996 }
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 wxSpinCtrl_SetSelection(_arg0,_arg1,_arg2);
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) return NULL;
12003 } Py_INCREF(Py_None);
12004 _resultobj = Py_None;
12005 return _resultobj;
12006 }
12007
12008 static void *SwigwxToggleButtonTowxControl(void *ptr) {
12009 wxToggleButton *src;
12010 wxControl *dest;
12011 src = (wxToggleButton *) ptr;
12012 dest = (wxControl *) src;
12013 return (void *) dest;
12014 }
12015
12016 static void *SwigwxToggleButtonTowxWindow(void *ptr) {
12017 wxToggleButton *src;
12018 wxWindow *dest;
12019 src = (wxToggleButton *) ptr;
12020 dest = (wxWindow *) src;
12021 return (void *) dest;
12022 }
12023
12024 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr) {
12025 wxToggleButton *src;
12026 wxEvtHandler *dest;
12027 src = (wxToggleButton *) ptr;
12028 dest = (wxEvtHandler *) src;
12029 return (void *) dest;
12030 }
12031
12032 static void *SwigwxToggleButtonTowxObject(void *ptr) {
12033 wxToggleButton *src;
12034 wxObject *dest;
12035 src = (wxToggleButton *) ptr;
12036 dest = (wxObject *) src;
12037 return (void *) dest;
12038 }
12039
12040 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
12041 static PyObject *_wrap_new_wxToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12042 PyObject * _resultobj;
12043 wxToggleButton * _result;
12044 wxWindow * _arg0;
12045 wxWindowID _arg1;
12046 wxString * _arg2;
12047 wxPoint * _arg3 = (wxPoint *) &wxDefaultPosition;
12048 wxSize * _arg4 = (wxSize *) &wxDefaultSize;
12049 long _arg5 = (long ) 0;
12050 wxValidator * _arg6 = (wxValidator *) &wxDefaultValidator;
12051 wxString * _arg7 = (wxString *) &wxPyCheckBoxNameStr;
12052 PyObject * _argo0 = 0;
12053 PyObject * _obj2 = 0;
12054 wxPoint temp;
12055 PyObject * _obj3 = 0;
12056 wxSize temp0;
12057 PyObject * _obj4 = 0;
12058 PyObject * _argo6 = 0;
12059 PyObject * _obj7 = 0;
12060 char *_kwnames[] = { "parent","id","label","pos","size","style","validator","name", NULL };
12061 char _ptemp[128];
12062
12063 self = self;
12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO|OOlOO:new_wxToggleButton",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_arg5,&_argo6,&_obj7))
12065 return NULL;
12066 if (_argo0) {
12067 if (_argo0 == Py_None) { _arg0 = NULL; }
12068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
12069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
12070 return NULL;
12071 }
12072 }
12073 {
12074 _arg2 = wxString_in_helper(_obj2);
12075 if (_arg2 == NULL)
12076 return NULL;
12077 }
12078 if (_obj3)
12079 {
12080 _arg3 = &temp;
12081 if (! wxPoint_helper(_obj3, &_arg3))
12082 return NULL;
12083 }
12084 if (_obj4)
12085 {
12086 _arg4 = &temp0;
12087 if (! wxSize_helper(_obj4, &_arg4))
12088 return NULL;
12089 }
12090 if (_argo6) {
12091 if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxValidator_p")) {
12092 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
12093 return NULL;
12094 }
12095 }
12096 if (_obj7)
12097 {
12098 _arg7 = wxString_in_helper(_obj7);
12099 if (_arg7 == NULL)
12100 return NULL;
12101 }
12102 {
12103 PyThreadState* __tstate = wxPyBeginAllowThreads();
12104 _result = (wxToggleButton *)new_wxToggleButton(_arg0,_arg1,*_arg2,*_arg3,*_arg4,_arg5,*_arg6,*_arg7);
12105
12106 wxPyEndAllowThreads(__tstate);
12107 if (PyErr_Occurred()) return NULL;
12108 } if (_result) {
12109 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
12110 _resultobj = Py_BuildValue("s",_ptemp);
12111 } else {
12112 Py_INCREF(Py_None);
12113 _resultobj = Py_None;
12114 }
12115 {
12116 if (_obj2)
12117 delete _arg2;
12118 }
12119 {
12120 if (_obj7)
12121 delete _arg7;
12122 }
12123 return _resultobj;
12124 }
12125
12126 #define new_wxPreToggleButton() (new wxToggleButton())
12127 static PyObject *_wrap_new_wxPreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12128 PyObject * _resultobj;
12129 wxToggleButton * _result;
12130 char *_kwnames[] = { NULL };
12131 char _ptemp[128];
12132
12133 self = self;
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPreToggleButton",_kwnames))
12135 return NULL;
12136 {
12137 PyThreadState* __tstate = wxPyBeginAllowThreads();
12138 _result = (wxToggleButton *)new_wxPreToggleButton();
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) return NULL;
12142 } if (_result) {
12143 SWIG_MakePtr(_ptemp, (char *) _result,"_wxToggleButton_p");
12144 _resultobj = Py_BuildValue("s",_ptemp);
12145 } else {
12146 Py_INCREF(Py_None);
12147 _resultobj = Py_None;
12148 }
12149 return _resultobj;
12150 }
12151
12152 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
12153 static PyObject *_wrap_wxToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject * _resultobj;
12155 bool _result;
12156 wxToggleButton * _arg0;
12157 wxWindow * _arg1;
12158 wxWindowID _arg2;
12159 wxString * _arg3;
12160 wxPoint * _arg4 = (wxPoint *) &wxDefaultPosition;
12161 wxSize * _arg5 = (wxSize *) &wxDefaultSize;
12162 long _arg6 = (long ) 0;
12163 wxValidator * _arg7 = (wxValidator *) &wxDefaultValidator;
12164 wxString * _arg8 = (wxString *) &wxPyCheckBoxNameStr;
12165 PyObject * _argo0 = 0;
12166 PyObject * _argo1 = 0;
12167 PyObject * _obj3 = 0;
12168 wxPoint temp;
12169 PyObject * _obj4 = 0;
12170 wxSize temp0;
12171 PyObject * _obj5 = 0;
12172 PyObject * _argo7 = 0;
12173 PyObject * _obj8 = 0;
12174 char *_kwnames[] = { "self","parent","id","label","pos","size","style","validator","name", NULL };
12175
12176 self = self;
12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|OOlOO:wxToggleButton_Create",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_obj4,&_obj5,&_arg6,&_argo7,&_obj8))
12178 return NULL;
12179 if (_argo0) {
12180 if (_argo0 == Py_None) { _arg0 = NULL; }
12181 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12182 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
12183 return NULL;
12184 }
12185 }
12186 if (_argo1) {
12187 if (_argo1 == Py_None) { _arg1 = NULL; }
12188 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
12189 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
12190 return NULL;
12191 }
12192 }
12193 {
12194 _arg3 = wxString_in_helper(_obj3);
12195 if (_arg3 == NULL)
12196 return NULL;
12197 }
12198 if (_obj4)
12199 {
12200 _arg4 = &temp;
12201 if (! wxPoint_helper(_obj4, &_arg4))
12202 return NULL;
12203 }
12204 if (_obj5)
12205 {
12206 _arg5 = &temp0;
12207 if (! wxSize_helper(_obj5, &_arg5))
12208 return NULL;
12209 }
12210 if (_argo7) {
12211 if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxValidator_p")) {
12212 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
12213 return NULL;
12214 }
12215 }
12216 if (_obj8)
12217 {
12218 _arg8 = wxString_in_helper(_obj8);
12219 if (_arg8 == NULL)
12220 return NULL;
12221 }
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 _result = (bool )wxToggleButton_Create(_arg0,_arg1,_arg2,*_arg3,*_arg4,*_arg5,_arg6,*_arg7,*_arg8);
12225
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) return NULL;
12228 } _resultobj = Py_BuildValue("i",_result);
12229 {
12230 if (_obj3)
12231 delete _arg3;
12232 }
12233 {
12234 if (_obj8)
12235 delete _arg8;
12236 }
12237 return _resultobj;
12238 }
12239
12240 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
12241 static PyObject *_wrap_wxToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12242 PyObject * _resultobj;
12243 wxToggleButton * _arg0;
12244 bool _arg1;
12245 PyObject * _argo0 = 0;
12246 int tempbool1;
12247 char *_kwnames[] = { "self","value", NULL };
12248
12249 self = self;
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxToggleButton_SetValue",_kwnames,&_argo0,&tempbool1))
12251 return NULL;
12252 if (_argo0) {
12253 if (_argo0 == Py_None) { _arg0 = NULL; }
12254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
12256 return NULL;
12257 }
12258 }
12259 _arg1 = (bool ) tempbool1;
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 wxToggleButton_SetValue(_arg0,_arg1);
12263
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) return NULL;
12266 } Py_INCREF(Py_None);
12267 _resultobj = Py_None;
12268 return _resultobj;
12269 }
12270
12271 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
12272 static PyObject *_wrap_wxToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12273 PyObject * _resultobj;
12274 bool _result;
12275 wxToggleButton * _arg0;
12276 PyObject * _argo0 = 0;
12277 char *_kwnames[] = { "self", NULL };
12278
12279 self = self;
12280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToggleButton_GetValue",_kwnames,&_argo0))
12281 return NULL;
12282 if (_argo0) {
12283 if (_argo0 == Py_None) { _arg0 = NULL; }
12284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
12286 return NULL;
12287 }
12288 }
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 _result = (bool )wxToggleButton_GetValue(_arg0);
12292
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) return NULL;
12295 } _resultobj = Py_BuildValue("i",_result);
12296 return _resultobj;
12297 }
12298
12299 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
12300 static PyObject *_wrap_wxToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12301 PyObject * _resultobj;
12302 wxToggleButton * _arg0;
12303 wxString * _arg1;
12304 PyObject * _argo0 = 0;
12305 PyObject * _obj1 = 0;
12306 char *_kwnames[] = { "self","label", NULL };
12307
12308 self = self;
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToggleButton_SetLabel",_kwnames,&_argo0,&_obj1))
12310 return NULL;
12311 if (_argo0) {
12312 if (_argo0 == Py_None) { _arg0 = NULL; }
12313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToggleButton_p")) {
12314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
12315 return NULL;
12316 }
12317 }
12318 {
12319 _arg1 = wxString_in_helper(_obj1);
12320 if (_arg1 == NULL)
12321 return NULL;
12322 }
12323 {
12324 PyThreadState* __tstate = wxPyBeginAllowThreads();
12325 wxToggleButton_SetLabel(_arg0,*_arg1);
12326
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) return NULL;
12329 } Py_INCREF(Py_None);
12330 _resultobj = Py_None;
12331 {
12332 if (_obj1)
12333 delete _arg1;
12334 }
12335 return _resultobj;
12336 }
12337
12338 static PyMethodDef controlscMethods[] = {
12339 { "wxToggleButton_SetLabel", (PyCFunction) _wrap_wxToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
12340 { "wxToggleButton_GetValue", (PyCFunction) _wrap_wxToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12341 { "wxToggleButton_SetValue", (PyCFunction) _wrap_wxToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12342 { "wxToggleButton_Create", (PyCFunction) _wrap_wxToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
12343 { "new_wxPreToggleButton", (PyCFunction) _wrap_new_wxPreToggleButton, METH_VARARGS | METH_KEYWORDS },
12344 { "new_wxToggleButton", (PyCFunction) _wrap_new_wxToggleButton, METH_VARARGS | METH_KEYWORDS },
12345 { "wxSpinCtrl_SetSelection", (PyCFunction) _wrap_wxSpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
12346 { "wxSpinCtrl_SetValue", (PyCFunction) _wrap_wxSpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
12347 { "wxSpinCtrl_SetRange", (PyCFunction) _wrap_wxSpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
12348 { "wxSpinCtrl_GetValue", (PyCFunction) _wrap_wxSpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
12349 { "wxSpinCtrl_GetMin", (PyCFunction) _wrap_wxSpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
12350 { "wxSpinCtrl_GetMax", (PyCFunction) _wrap_wxSpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
12351 { "wxSpinCtrl_Create", (PyCFunction) _wrap_wxSpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12352 { "new_wxPreSpinCtrl", (PyCFunction) _wrap_new_wxPreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
12353 { "new_wxSpinCtrl", (PyCFunction) _wrap_new_wxSpinCtrl, METH_VARARGS | METH_KEYWORDS },
12354 { "wxSlider_SetValue", (PyCFunction) _wrap_wxSlider_SetValue, METH_VARARGS | METH_KEYWORDS },
12355 { "wxSlider_SetTick", (PyCFunction) _wrap_wxSlider_SetTick, METH_VARARGS | METH_KEYWORDS },
12356 { "wxSlider_SetThumbLength", (PyCFunction) _wrap_wxSlider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
12357 { "wxSlider_SetSelection", (PyCFunction) _wrap_wxSlider_SetSelection, METH_VARARGS | METH_KEYWORDS },
12358 { "wxSlider_SetPageSize", (PyCFunction) _wrap_wxSlider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
12359 { "wxSlider_SetLineSize", (PyCFunction) _wrap_wxSlider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
12360 { "wxSlider_SetTickFreq", (PyCFunction) _wrap_wxSlider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
12361 { "wxSlider_SetRange", (PyCFunction) _wrap_wxSlider_SetRange, METH_VARARGS | METH_KEYWORDS },
12362 { "wxSlider_GetValue", (PyCFunction) _wrap_wxSlider_GetValue, METH_VARARGS | METH_KEYWORDS },
12363 { "wxSlider_GetTickFreq", (PyCFunction) _wrap_wxSlider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
12364 { "wxSlider_GetThumbLength", (PyCFunction) _wrap_wxSlider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
12365 { "wxSlider_GetSelStart", (PyCFunction) _wrap_wxSlider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
12366 { "wxSlider_GetSelEnd", (PyCFunction) _wrap_wxSlider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
12367 { "wxSlider_GetPageSize", (PyCFunction) _wrap_wxSlider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
12368 { "wxSlider_GetMin", (PyCFunction) _wrap_wxSlider_GetMin, METH_VARARGS | METH_KEYWORDS },
12369 { "wxSlider_GetMax", (PyCFunction) _wrap_wxSlider_GetMax, METH_VARARGS | METH_KEYWORDS },
12370 { "wxSlider_GetLineSize", (PyCFunction) _wrap_wxSlider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
12371 { "wxSlider_ClearTicks", (PyCFunction) _wrap_wxSlider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
12372 { "wxSlider_ClearSel", (PyCFunction) _wrap_wxSlider_ClearSel, METH_VARARGS | METH_KEYWORDS },
12373 { "wxSlider_Create", (PyCFunction) _wrap_wxSlider_Create, METH_VARARGS | METH_KEYWORDS },
12374 { "new_wxPreSlider", (PyCFunction) _wrap_new_wxPreSlider, METH_VARARGS | METH_KEYWORDS },
12375 { "new_wxSlider", (PyCFunction) _wrap_new_wxSlider, METH_VARARGS | METH_KEYWORDS },
12376 { "wxRadioButton_SetValue", (PyCFunction) _wrap_wxRadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12377 { "wxRadioButton_GetValue", (PyCFunction) _wrap_wxRadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12378 { "wxRadioButton_Create", (PyCFunction) _wrap_wxRadioButton_Create, METH_VARARGS | METH_KEYWORDS },
12379 { "new_wxPreRadioButton", (PyCFunction) _wrap_new_wxPreRadioButton, METH_VARARGS | METH_KEYWORDS },
12380 { "new_wxRadioButton", (PyCFunction) _wrap_new_wxRadioButton, METH_VARARGS | METH_KEYWORDS },
12381 { "wxRadioBox_ShowItem", (PyCFunction) _wrap_wxRadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
12382 { "wxRadioBox_Show", (PyCFunction) _wrap_wxRadioBox_Show, METH_VARARGS | METH_KEYWORDS },
12383 { "wxRadioBox_SetStringSelection", (PyCFunction) _wrap_wxRadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12384 { "wxRadioBox_SetSelection", (PyCFunction) _wrap_wxRadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12385 { "wxRadioBox_GetCount", (PyCFunction) _wrap_wxRadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
12386 { "wxRadioBox_GetStringSelection", (PyCFunction) _wrap_wxRadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12387 { "wxRadioBox_GetSelection", (PyCFunction) _wrap_wxRadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
12388 { "wxRadioBox_SetString", (PyCFunction) _wrap_wxRadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
12389 { "wxRadioBox_GetString", (PyCFunction) _wrap_wxRadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
12390 { "wxRadioBox_FindString", (PyCFunction) _wrap_wxRadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
12391 { "wxRadioBox_EnableItem", (PyCFunction) _wrap_wxRadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
12392 { "wxRadioBox_Enable", (PyCFunction) _wrap_wxRadioBox_Enable, METH_VARARGS | METH_KEYWORDS },
12393 { "wxRadioBox_Create", (PyCFunction) _wrap_wxRadioBox_Create, METH_VARARGS | METH_KEYWORDS },
12394 { "new_wxPreRadioBox", (PyCFunction) _wrap_new_wxPreRadioBox, METH_VARARGS | METH_KEYWORDS },
12395 { "new_wxRadioBox", (PyCFunction) _wrap_new_wxRadioBox, METH_VARARGS | METH_KEYWORDS },
12396 { "wxStaticBitmap_SetIcon", (PyCFunction) _wrap_wxStaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
12397 { "wxStaticBitmap_SetBitmap", (PyCFunction) _wrap_wxStaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12398 { "wxStaticBitmap_GetBitmap", (PyCFunction) _wrap_wxStaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
12399 { "wxStaticBitmap_Create", (PyCFunction) _wrap_wxStaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
12400 { "new_wxPreStaticBitmap", (PyCFunction) _wrap_new_wxPreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
12401 { "new_wxStaticBitmap", (PyCFunction) _wrap_new_wxStaticBitmap, METH_VARARGS | METH_KEYWORDS },
12402 { "wxSpinButton_SetValue", (PyCFunction) _wrap_wxSpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
12403 { "wxSpinButton_SetRange", (PyCFunction) _wrap_wxSpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
12404 { "wxSpinButton_GetValue", (PyCFunction) _wrap_wxSpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
12405 { "wxSpinButton_GetMin", (PyCFunction) _wrap_wxSpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
12406 { "wxSpinButton_GetMax", (PyCFunction) _wrap_wxSpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
12407 { "wxSpinButton_Create", (PyCFunction) _wrap_wxSpinButton_Create, METH_VARARGS | METH_KEYWORDS },
12408 { "new_wxPreSpinButton", (PyCFunction) _wrap_new_wxPreSpinButton, METH_VARARGS | METH_KEYWORDS },
12409 { "new_wxSpinButton", (PyCFunction) _wrap_new_wxSpinButton, METH_VARARGS | METH_KEYWORDS },
12410 { "wxScrollBar_SetScrollbar", (PyCFunction) _wrap_wxScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
12411 { "wxScrollBar_SetThumbPosition", (PyCFunction) _wrap_wxScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
12412 { "wxScrollBar_IsVertical", (PyCFunction) _wrap_wxScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
12413 { "wxScrollBar_GetThumbLength", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
12414 { "wxScrollBar_GetThumbSize", (PyCFunction) _wrap_wxScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
12415 { "wxScrollBar_GetThumbPosition", (PyCFunction) _wrap_wxScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
12416 { "wxScrollBar_GetPageSize", (PyCFunction) _wrap_wxScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
12417 { "wxScrollBar_GetRange", (PyCFunction) _wrap_wxScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
12418 { "wxScrollBar_Create", (PyCFunction) _wrap_wxScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
12419 { "new_wxPreScrollBar", (PyCFunction) _wrap_new_wxPreScrollBar, METH_VARARGS | METH_KEYWORDS },
12420 { "new_wxScrollBar", (PyCFunction) _wrap_new_wxScrollBar, METH_VARARGS | METH_KEYWORDS },
12421 { "wxTextCtrl_GetString", (PyCFunction) _wrap_wxTextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
12422 { "wxTextCtrl_write", (PyCFunction) _wrap_wxTextCtrl_write, METH_VARARGS | METH_KEYWORDS },
12423 { "wxTextCtrl_IsMultiLine", (PyCFunction) _wrap_wxTextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
12424 { "wxTextCtrl_IsSingleLine", (PyCFunction) _wrap_wxTextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
12425 { "wxTextCtrl_SetEditable", (PyCFunction) _wrap_wxTextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
12426 { "wxTextCtrl_SelectAll", (PyCFunction) _wrap_wxTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
12427 { "wxTextCtrl_SetSelection", (PyCFunction) _wrap_wxTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
12428 { "wxTextCtrl_GetLastPosition", (PyCFunction) _wrap_wxTextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
12429 { "wxTextCtrl_GetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12430 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
12431 { "wxTextCtrl_SetInsertionPoint", (PyCFunction) _wrap_wxTextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12432 { "wxTextCtrl_CanRedo", (PyCFunction) _wrap_wxTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
12433 { "wxTextCtrl_CanUndo", (PyCFunction) _wrap_wxTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
12434 { "wxTextCtrl_Redo", (PyCFunction) _wrap_wxTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
12435 { "wxTextCtrl_Undo", (PyCFunction) _wrap_wxTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
12436 { "wxTextCtrl_CanPaste", (PyCFunction) _wrap_wxTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
12437 { "wxTextCtrl_CanCut", (PyCFunction) _wrap_wxTextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
12438 { "wxTextCtrl_CanCopy", (PyCFunction) _wrap_wxTextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
12439 { "wxTextCtrl_Paste", (PyCFunction) _wrap_wxTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
12440 { "wxTextCtrl_Cut", (PyCFunction) _wrap_wxTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
12441 { "wxTextCtrl_Copy", (PyCFunction) _wrap_wxTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
12442 { "wxTextCtrl_ShowPosition", (PyCFunction) _wrap_wxTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
12443 { "wxTextCtrl_PositionToXY", (PyCFunction) _wrap_wxTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
12444 { "wxTextCtrl_XYToPosition", (PyCFunction) _wrap_wxTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
12445 { "wxTextCtrl_GetStyle", (PyCFunction) _wrap_wxTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
12446 { "wxTextCtrl_GetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
12447 { "wxTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_wxTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
12448 { "wxTextCtrl_SetStyle", (PyCFunction) _wrap_wxTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
12449 { "wxTextCtrl_EmulateKeyPress", (PyCFunction) _wrap_wxTextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
12450 { "wxTextCtrl_AppendText", (PyCFunction) _wrap_wxTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
12451 { "wxTextCtrl_WriteText", (PyCFunction) _wrap_wxTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
12452 { "wxTextCtrl_SetMaxLength", (PyCFunction) _wrap_wxTextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
12453 { "wxTextCtrl_DiscardEdits", (PyCFunction) _wrap_wxTextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
12454 { "wxTextCtrl_MarkDirty", (PyCFunction) _wrap_wxTextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
12455 { "wxTextCtrl_SaveFile", (PyCFunction) _wrap_wxTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
12456 { "wxTextCtrl_LoadFile", (PyCFunction) _wrap_wxTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
12457 { "wxTextCtrl_Remove", (PyCFunction) _wrap_wxTextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
12458 { "wxTextCtrl_Replace", (PyCFunction) _wrap_wxTextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
12459 { "wxTextCtrl_Clear", (PyCFunction) _wrap_wxTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
12460 { "wxTextCtrl_GetStringSelection", (PyCFunction) _wrap_wxTextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12461 { "wxTextCtrl_GetSelection", (PyCFunction) _wrap_wxTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
12462 { "wxTextCtrl_IsEditable", (PyCFunction) _wrap_wxTextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
12463 { "wxTextCtrl_IsModified", (PyCFunction) _wrap_wxTextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
12464 { "wxTextCtrl_GetNumberOfLines", (PyCFunction) _wrap_wxTextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
12465 { "wxTextCtrl_GetLineText", (PyCFunction) _wrap_wxTextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
12466 { "wxTextCtrl_GetLineLength", (PyCFunction) _wrap_wxTextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
12467 { "wxTextCtrl_GetRange", (PyCFunction) _wrap_wxTextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
12468 { "wxTextCtrl_SetValue", (PyCFunction) _wrap_wxTextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
12469 { "wxTextCtrl_GetValue", (PyCFunction) _wrap_wxTextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
12470 { "wxTextCtrl_Create", (PyCFunction) _wrap_wxTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12471 { "new_wxPreTextCtrl", (PyCFunction) _wrap_new_wxPreTextCtrl, METH_VARARGS | METH_KEYWORDS },
12472 { "new_wxTextCtrl", (PyCFunction) _wrap_new_wxTextCtrl, METH_VARARGS | METH_KEYWORDS },
12473 { "wxTextAttr_Combine", (PyCFunction) _wrap_wxTextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
12474 { "wxTextAttr_IsDefault", (PyCFunction) _wrap_wxTextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
12475 { "wxTextAttr_GetFlags", (PyCFunction) _wrap_wxTextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
12476 { "wxTextAttr_GetRightIndent", (PyCFunction) _wrap_wxTextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
12477 { "wxTextAttr_GetLeftIndent", (PyCFunction) _wrap_wxTextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
12478 { "wxTextAttr_GetTabs", (PyCFunction) _wrap_wxTextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
12479 { "wxTextAttr_GetAlignment", (PyCFunction) _wrap_wxTextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
12480 { "wxTextAttr_GetFont", (PyCFunction) _wrap_wxTextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
12481 { "wxTextAttr_GetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12482 { "wxTextAttr_GetTextColour", (PyCFunction) _wrap_wxTextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
12483 { "wxTextAttr_HasFlag", (PyCFunction) _wrap_wxTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
12484 { "wxTextAttr_HasRightIndent", (PyCFunction) _wrap_wxTextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
12485 { "wxTextAttr_HasLeftIndent", (PyCFunction) _wrap_wxTextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
12486 { "wxTextAttr_HasTabs", (PyCFunction) _wrap_wxTextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
12487 { "wxTextAttr_HasAlignment", (PyCFunction) _wrap_wxTextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
12488 { "wxTextAttr_HasFont", (PyCFunction) _wrap_wxTextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
12489 { "wxTextAttr_HasBackgroundColour", (PyCFunction) _wrap_wxTextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12490 { "wxTextAttr_HasTextColour", (PyCFunction) _wrap_wxTextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
12491 { "wxTextAttr_SetFlags", (PyCFunction) _wrap_wxTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
12492 { "wxTextAttr_SetRightIndent", (PyCFunction) _wrap_wxTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
12493 { "wxTextAttr_SetLeftIndent", (PyCFunction) _wrap_wxTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
12494 { "wxTextAttr_SetTabs", (PyCFunction) _wrap_wxTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
12495 { "wxTextAttr_SetAlignment", (PyCFunction) _wrap_wxTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
12496 { "wxTextAttr_SetFont", (PyCFunction) _wrap_wxTextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
12497 { "wxTextAttr_SetBackgroundColour", (PyCFunction) _wrap_wxTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12498 { "wxTextAttr_SetTextColour", (PyCFunction) _wrap_wxTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12499 { "wxTextAttr_Init", (PyCFunction) _wrap_wxTextAttr_Init, METH_VARARGS | METH_KEYWORDS },
12500 { "delete_wxTextAttr", (PyCFunction) _wrap_delete_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
12501 { "new_wxTextAttr", (PyCFunction) _wrap_new_wxTextAttr, METH_VARARGS | METH_KEYWORDS },
12502 { "wxCheckListBox_HitTestXY", (PyCFunction) _wrap_wxCheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
12503 { "wxCheckListBox_HitTest", (PyCFunction) _wrap_wxCheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
12504 { "wxCheckListBox_GetItemHeight", (PyCFunction) _wrap_wxCheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
12505 { "wxCheckListBox_InsertItems", (PyCFunction) _wrap_wxCheckListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
12506 { "wxCheckListBox_Check", (PyCFunction) _wrap_wxCheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
12507 { "wxCheckListBox_IsChecked", (PyCFunction) _wrap_wxCheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
12508 { "wxCheckListBox_Create", (PyCFunction) _wrap_wxCheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
12509 { "new_wxPreCheckListBox", (PyCFunction) _wrap_new_wxPreCheckListBox, METH_VARARGS | METH_KEYWORDS },
12510 { "new_wxCheckListBox", (PyCFunction) _wrap_new_wxCheckListBox, METH_VARARGS | METH_KEYWORDS },
12511 { "wxListBox_SetStringSelection", (PyCFunction) _wrap_wxListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12512 { "wxListBox_SetString", (PyCFunction) _wrap_wxListBox_SetString, METH_VARARGS | METH_KEYWORDS },
12513 { "wxListBox_SetSelection", (PyCFunction) _wrap_wxListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12514 { "wxListBox_SetFirstItemStr", (PyCFunction) _wrap_wxListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
12515 { "wxListBox_SetFirstItem", (PyCFunction) _wrap_wxListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
12516 { "wxListBox_Set", (PyCFunction) _wrap_wxListBox_Set, METH_VARARGS | METH_KEYWORDS },
12517 { "wxListBox_Selected", (PyCFunction) _wrap_wxListBox_Selected, METH_VARARGS | METH_KEYWORDS },
12518 { "wxListBox_IsSelected", (PyCFunction) _wrap_wxListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
12519 { "wxListBox_InsertItems", (PyCFunction) _wrap_wxListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
12520 { "wxListBox_GetSelections", (PyCFunction) _wrap_wxListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
12521 { "wxListBox_Deselect", (PyCFunction) _wrap_wxListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
12522 { "wxListBox_Clear", (PyCFunction) _wrap_wxListBox_Clear, METH_VARARGS | METH_KEYWORDS },
12523 { "wxListBox_Create", (PyCFunction) _wrap_wxListBox_Create, METH_VARARGS | METH_KEYWORDS },
12524 { "new_wxPreListBox", (PyCFunction) _wrap_new_wxPreListBox, METH_VARARGS | METH_KEYWORDS },
12525 { "new_wxListBox", (PyCFunction) _wrap_new_wxListBox, METH_VARARGS | METH_KEYWORDS },
12526 { "wxStaticText_SetLabel", (PyCFunction) _wrap_wxStaticText_SetLabel, METH_VARARGS | METH_KEYWORDS },
12527 { "wxStaticText_GetLabel", (PyCFunction) _wrap_wxStaticText_GetLabel, METH_VARARGS | METH_KEYWORDS },
12528 { "wxStaticText_Create", (PyCFunction) _wrap_wxStaticText_Create, METH_VARARGS | METH_KEYWORDS },
12529 { "new_wxPreStaticText", (PyCFunction) _wrap_new_wxPreStaticText, METH_VARARGS | METH_KEYWORDS },
12530 { "new_wxStaticText", (PyCFunction) _wrap_new_wxStaticText, METH_VARARGS | METH_KEYWORDS },
12531 { "wxStaticLine_Create", (PyCFunction) _wrap_wxStaticLine_Create, METH_VARARGS | METH_KEYWORDS },
12532 { "new_wxPreStaticLine", (PyCFunction) _wrap_new_wxPreStaticLine, METH_VARARGS | METH_KEYWORDS },
12533 { "new_wxStaticLine", (PyCFunction) _wrap_new_wxStaticLine, METH_VARARGS | METH_KEYWORDS },
12534 { "wxStaticBox_Create", (PyCFunction) _wrap_wxStaticBox_Create, METH_VARARGS | METH_KEYWORDS },
12535 { "new_wxPreStaticBox", (PyCFunction) _wrap_new_wxPreStaticBox, METH_VARARGS | METH_KEYWORDS },
12536 { "new_wxStaticBox", (PyCFunction) _wrap_new_wxStaticBox, METH_VARARGS | METH_KEYWORDS },
12537 { "wxGauge_SetValue", (PyCFunction) _wrap_wxGauge_SetValue, METH_VARARGS | METH_KEYWORDS },
12538 { "wxGauge_SetShadowWidth", (PyCFunction) _wrap_wxGauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
12539 { "wxGauge_SetRange", (PyCFunction) _wrap_wxGauge_SetRange, METH_VARARGS | METH_KEYWORDS },
12540 { "wxGauge_SetBezelFace", (PyCFunction) _wrap_wxGauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
12541 { "wxGauge_IsVertical", (PyCFunction) _wrap_wxGauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
12542 { "wxGauge_GetValue", (PyCFunction) _wrap_wxGauge_GetValue, METH_VARARGS | METH_KEYWORDS },
12543 { "wxGauge_GetShadowWidth", (PyCFunction) _wrap_wxGauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
12544 { "wxGauge_GetRange", (PyCFunction) _wrap_wxGauge_GetRange, METH_VARARGS | METH_KEYWORDS },
12545 { "wxGauge_GetBezelFace", (PyCFunction) _wrap_wxGauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
12546 { "wxGauge_Create", (PyCFunction) _wrap_wxGauge_Create, METH_VARARGS | METH_KEYWORDS },
12547 { "new_wxPreGauge", (PyCFunction) _wrap_new_wxPreGauge, METH_VARARGS | METH_KEYWORDS },
12548 { "new_wxGauge", (PyCFunction) _wrap_new_wxGauge, METH_VARARGS | METH_KEYWORDS },
12549 { "wxComboBox_SetClientData", (PyCFunction) _wrap_wxComboBox_SetClientData, METH_VARARGS | METH_KEYWORDS },
12550 { "wxComboBox_GetClientData", (PyCFunction) _wrap_wxComboBox_GetClientData, METH_VARARGS | METH_KEYWORDS },
12551 { "wxComboBox_Append", (PyCFunction) _wrap_wxComboBox_Append, METH_VARARGS | METH_KEYWORDS },
12552 { "wxComboBox_GetStringSelection", (PyCFunction) _wrap_wxComboBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12553 { "wxComboBox_GetSelection", (PyCFunction) _wrap_wxComboBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
12554 { "wxComboBox_FindString", (PyCFunction) _wrap_wxComboBox_FindString, METH_VARARGS | METH_KEYWORDS },
12555 { "wxComboBox_GetString", (PyCFunction) _wrap_wxComboBox_GetString, METH_VARARGS | METH_KEYWORDS },
12556 { "wxComboBox_GetCount", (PyCFunction) _wrap_wxComboBox_GetCount, METH_VARARGS | METH_KEYWORDS },
12557 { "wxComboBox_Delete", (PyCFunction) _wrap_wxComboBox_Delete, METH_VARARGS | METH_KEYWORDS },
12558 { "wxComboBox_Clear", (PyCFunction) _wrap_wxComboBox_Clear, METH_VARARGS | METH_KEYWORDS },
12559 { "wxComboBox_SetEditable", (PyCFunction) _wrap_wxComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
12560 { "wxComboBox_SetValue", (PyCFunction) _wrap_wxComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
12561 { "wxComboBox_SetMark", (PyCFunction) _wrap_wxComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
12562 { "wxComboBox_SetSelection", (PyCFunction) _wrap_wxComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
12563 { "wxComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_wxComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
12564 { "wxComboBox_SetInsertionPoint", (PyCFunction) _wrap_wxComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12565 { "wxComboBox_Remove", (PyCFunction) _wrap_wxComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
12566 { "wxComboBox_Replace", (PyCFunction) _wrap_wxComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
12567 { "wxComboBox_Paste", (PyCFunction) _wrap_wxComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
12568 { "wxComboBox_GetValue", (PyCFunction) _wrap_wxComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
12569 { "wxComboBox_GetLastPosition", (PyCFunction) _wrap_wxComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
12570 { "wxComboBox_GetInsertionPoint", (PyCFunction) _wrap_wxComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
12571 { "wxComboBox_Cut", (PyCFunction) _wrap_wxComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
12572 { "wxComboBox_Copy", (PyCFunction) _wrap_wxComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
12573 { "wxComboBox_Create", (PyCFunction) _wrap_wxComboBox_Create, METH_VARARGS | METH_KEYWORDS },
12574 { "new_wxPreComboBox", (PyCFunction) _wrap_new_wxPreComboBox, METH_VARARGS | METH_KEYWORDS },
12575 { "new_wxComboBox", (PyCFunction) _wrap_new_wxComboBox, METH_VARARGS | METH_KEYWORDS },
12576 { "wxChoice_SetString", (PyCFunction) _wrap_wxChoice_SetString, METH_VARARGS | METH_KEYWORDS },
12577 { "wxChoice_SetStringSelection", (PyCFunction) _wrap_wxChoice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
12578 { "wxChoice_SetSelection", (PyCFunction) _wrap_wxChoice_SetSelection, METH_VARARGS | METH_KEYWORDS },
12579 { "wxChoice_SetColumns", (PyCFunction) _wrap_wxChoice_SetColumns, METH_VARARGS | METH_KEYWORDS },
12580 { "wxChoice_GetColumns", (PyCFunction) _wrap_wxChoice_GetColumns, METH_VARARGS | METH_KEYWORDS },
12581 { "wxChoice_Clear", (PyCFunction) _wrap_wxChoice_Clear, METH_VARARGS | METH_KEYWORDS },
12582 { "wxChoice_Create", (PyCFunction) _wrap_wxChoice_Create, METH_VARARGS | METH_KEYWORDS },
12583 { "new_wxPreChoice", (PyCFunction) _wrap_new_wxPreChoice, METH_VARARGS | METH_KEYWORDS },
12584 { "new_wxChoice", (PyCFunction) _wrap_new_wxChoice, METH_VARARGS | METH_KEYWORDS },
12585 { "wxCheckBox_SetValue", (PyCFunction) _wrap_wxCheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
12586 { "wxCheckBox_IsChecked", (PyCFunction) _wrap_wxCheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
12587 { "wxCheckBox_GetValue", (PyCFunction) _wrap_wxCheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
12588 { "wxCheckBox_Create", (PyCFunction) _wrap_wxCheckBox_Create, METH_VARARGS | METH_KEYWORDS },
12589 { "new_wxPreCheckBox", (PyCFunction) _wrap_new_wxPreCheckBox, METH_VARARGS | METH_KEYWORDS },
12590 { "new_wxCheckBox", (PyCFunction) _wrap_new_wxCheckBox, METH_VARARGS | METH_KEYWORDS },
12591 { "wxBitmapButton_GetMarginY", (PyCFunction) _wrap_wxBitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
12592 { "wxBitmapButton_GetMarginX", (PyCFunction) _wrap_wxBitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
12593 { "wxBitmapButton_SetMargins", (PyCFunction) _wrap_wxBitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
12594 { "wxBitmapButton_SetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
12595 { "wxBitmapButton_SetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
12596 { "wxBitmapButton_SetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
12597 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
12598 { "wxBitmapButton_GetBitmapSelected", (PyCFunction) _wrap_wxBitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
12599 { "wxBitmapButton_GetBitmapFocus", (PyCFunction) _wrap_wxBitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
12600 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_wxBitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
12601 { "wxBitmapButton_GetBitmapLabel", (PyCFunction) _wrap_wxBitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
12602 { "wxBitmapButton_Create", (PyCFunction) _wrap_wxBitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
12603 { "new_wxPreBitmapButton", (PyCFunction) _wrap_new_wxPreBitmapButton, METH_VARARGS | METH_KEYWORDS },
12604 { "new_wxBitmapButton", (PyCFunction) _wrap_new_wxBitmapButton, METH_VARARGS | METH_KEYWORDS },
12605 { "wxButton_GetDefaultSize", (PyCFunction) _wrap_wxButton_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
12606 { "wxButton_SetForegroundColour", (PyCFunction) _wrap_wxButton_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
12607 { "wxButton_SetBackgroundColour", (PyCFunction) _wrap_wxButton_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12608 { "wxButton_SetDefault", (PyCFunction) _wrap_wxButton_SetDefault, METH_VARARGS | METH_KEYWORDS },
12609 { "wxButton_Create", (PyCFunction) _wrap_wxButton_Create, METH_VARARGS | METH_KEYWORDS },
12610 { "new_wxPreButton", (PyCFunction) _wrap_new_wxPreButton, METH_VARARGS | METH_KEYWORDS },
12611 { "new_wxButton", (PyCFunction) _wrap_new_wxButton, METH_VARARGS | METH_KEYWORDS },
12612 { "wxControlWithItems_AppendItems", (PyCFunction) _wrap_wxControlWithItems_AppendItems, METH_VARARGS | METH_KEYWORDS },
12613 { "wxControlWithItems_SetClientData", (PyCFunction) _wrap_wxControlWithItems_SetClientData, METH_VARARGS | METH_KEYWORDS },
12614 { "wxControlWithItems_GetClientData", (PyCFunction) _wrap_wxControlWithItems_GetClientData, METH_VARARGS | METH_KEYWORDS },
12615 { "wxControlWithItems_Append", (PyCFunction) _wrap_wxControlWithItems_Append, METH_VARARGS | METH_KEYWORDS },
12616 { "wxControlWithItems_GetStringSelection", (PyCFunction) _wrap_wxControlWithItems_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
12617 { "wxControlWithItems_GetSelection", (PyCFunction) _wrap_wxControlWithItems_GetSelection, METH_VARARGS | METH_KEYWORDS },
12618 { "wxControlWithItems_Select", (PyCFunction) _wrap_wxControlWithItems_Select, METH_VARARGS | METH_KEYWORDS },
12619 { "wxControlWithItems_FindString", (PyCFunction) _wrap_wxControlWithItems_FindString, METH_VARARGS | METH_KEYWORDS },
12620 { "wxControlWithItems_SetString", (PyCFunction) _wrap_wxControlWithItems_SetString, METH_VARARGS | METH_KEYWORDS },
12621 { "wxControlWithItems_GetString", (PyCFunction) _wrap_wxControlWithItems_GetString, METH_VARARGS | METH_KEYWORDS },
12622 { "wxControlWithItems_GetCount", (PyCFunction) _wrap_wxControlWithItems_GetCount, METH_VARARGS | METH_KEYWORDS },
12623 { "wxControlWithItems_Delete", (PyCFunction) _wrap_wxControlWithItems_Delete, METH_VARARGS | METH_KEYWORDS },
12624 { "wxControl_SetLabel", (PyCFunction) _wrap_wxControl_SetLabel, METH_VARARGS | METH_KEYWORDS },
12625 { "wxControl_GetLabel", (PyCFunction) _wrap_wxControl_GetLabel, METH_VARARGS | METH_KEYWORDS },
12626 { "wxControl_Command", (PyCFunction) _wrap_wxControl_Command, METH_VARARGS | METH_KEYWORDS },
12627 { "wxControl_Create", (PyCFunction) _wrap_wxControl_Create, METH_VARARGS | METH_KEYWORDS },
12628 { "new_wxPreControl", (PyCFunction) _wrap_new_wxPreControl, METH_VARARGS | METH_KEYWORDS },
12629 { "new_wxControl", (PyCFunction) _wrap_new_wxControl, METH_VARARGS | METH_KEYWORDS },
12630 { NULL, NULL }
12631 };
12632 #ifdef __cplusplus
12633 }
12634 #endif
12635 /*
12636 * This table is used by the pointer type-checker
12637 */
12638 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
12639 { "_signed_long","_long",0},
12640 { "_wxPrintQuality","_wxCoord",0},
12641 { "_wxPrintQuality","_int",0},
12642 { "_wxPrintQuality","_signed_int",0},
12643 { "_wxPrintQuality","_unsigned_int",0},
12644 { "_wxPrintQuality","_wxWindowID",0},
12645 { "_wxPrintQuality","_uint",0},
12646 { "_wxPrintQuality","_EBool",0},
12647 { "_wxPrintQuality","_size_t",0},
12648 { "_wxPrintQuality","_time_t",0},
12649 { "_byte","_unsigned_char",0},
12650 { "_long","_unsigned_long",0},
12651 { "_long","_signed_long",0},
12652 { "_size_t","_wxCoord",0},
12653 { "_size_t","_wxPrintQuality",0},
12654 { "_size_t","_time_t",0},
12655 { "_size_t","_unsigned_int",0},
12656 { "_size_t","_int",0},
12657 { "_size_t","_wxWindowID",0},
12658 { "_size_t","_uint",0},
12659 { "_uint","_wxCoord",0},
12660 { "_uint","_wxPrintQuality",0},
12661 { "_uint","_time_t",0},
12662 { "_uint","_size_t",0},
12663 { "_uint","_unsigned_int",0},
12664 { "_uint","_int",0},
12665 { "_uint","_wxWindowID",0},
12666 { "_wxChar","_char",0},
12667 { "_char","_wxChar",0},
12668 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton},
12669 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
12670 { "_EBool","_wxCoord",0},
12671 { "_EBool","_wxPrintQuality",0},
12672 { "_EBool","_signed_int",0},
12673 { "_EBool","_int",0},
12674 { "_EBool","_wxWindowID",0},
12675 { "_unsigned_long","_long",0},
12676 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
12677 { "_signed_int","_wxCoord",0},
12678 { "_signed_int","_wxPrintQuality",0},
12679 { "_signed_int","_EBool",0},
12680 { "_signed_int","_wxWindowID",0},
12681 { "_signed_int","_int",0},
12682 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox},
12683 { "_WXTYPE","_short",0},
12684 { "_WXTYPE","_signed_short",0},
12685 { "_WXTYPE","_unsigned_short",0},
12686 { "_unsigned_short","_WXTYPE",0},
12687 { "_unsigned_short","_short",0},
12688 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject},
12689 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject},
12690 { "_wxObject","_wxSlider",SwigwxSliderTowxObject},
12691 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject},
12692 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject},
12693 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject},
12694 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject},
12695 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject},
12696 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject},
12697 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject},
12698 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject},
12699 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject},
12700 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject},
12701 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject},
12702 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject},
12703 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject},
12704 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject},
12705 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject},
12706 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject},
12707 { "_wxObject","_wxButton",SwigwxButtonTowxObject},
12708 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject},
12709 { "_wxObject","_wxControl",SwigwxControlTowxObject},
12710 { "_signed_short","_WXTYPE",0},
12711 { "_signed_short","_short",0},
12712 { "_unsigned_char","_byte",0},
12713 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl},
12714 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl},
12715 { "_wxControl","_wxSlider",SwigwxSliderTowxControl},
12716 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl},
12717 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl},
12718 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl},
12719 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl},
12720 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl},
12721 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl},
12722 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl},
12723 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl},
12724 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl},
12725 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl},
12726 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl},
12727 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl},
12728 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl},
12729 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl},
12730 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl},
12731 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl},
12732 { "_wxControl","_wxButton",SwigwxButtonTowxControl},
12733 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl},
12734 { "_unsigned_int","_wxCoord",0},
12735 { "_unsigned_int","_wxPrintQuality",0},
12736 { "_unsigned_int","_time_t",0},
12737 { "_unsigned_int","_size_t",0},
12738 { "_unsigned_int","_uint",0},
12739 { "_unsigned_int","_wxWindowID",0},
12740 { "_unsigned_int","_int",0},
12741 { "_short","_WXTYPE",0},
12742 { "_short","_unsigned_short",0},
12743 { "_short","_signed_short",0},
12744 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems},
12745 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems},
12746 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems},
12747 { "_wxWindowID","_wxCoord",0},
12748 { "_wxWindowID","_wxPrintQuality",0},
12749 { "_wxWindowID","_time_t",0},
12750 { "_wxWindowID","_size_t",0},
12751 { "_wxWindowID","_EBool",0},
12752 { "_wxWindowID","_uint",0},
12753 { "_wxWindowID","_int",0},
12754 { "_wxWindowID","_signed_int",0},
12755 { "_wxWindowID","_unsigned_int",0},
12756 { "_int","_wxCoord",0},
12757 { "_int","_wxPrintQuality",0},
12758 { "_int","_time_t",0},
12759 { "_int","_size_t",0},
12760 { "_int","_EBool",0},
12761 { "_int","_uint",0},
12762 { "_int","_wxWindowID",0},
12763 { "_int","_unsigned_int",0},
12764 { "_int","_signed_int",0},
12765 { "_time_t","_wxCoord",0},
12766 { "_time_t","_wxPrintQuality",0},
12767 { "_time_t","_unsigned_int",0},
12768 { "_time_t","_int",0},
12769 { "_time_t","_wxWindowID",0},
12770 { "_time_t","_uint",0},
12771 { "_time_t","_size_t",0},
12772 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton},
12773 { "_wxCoord","_int",0},
12774 { "_wxCoord","_signed_int",0},
12775 { "_wxCoord","_unsigned_int",0},
12776 { "_wxCoord","_wxWindowID",0},
12777 { "_wxCoord","_uint",0},
12778 { "_wxCoord","_EBool",0},
12779 { "_wxCoord","_size_t",0},
12780 { "_wxCoord","_time_t",0},
12781 { "_wxCoord","_wxPrintQuality",0},
12782 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler},
12783 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler},
12784 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler},
12785 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler},
12786 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler},
12787 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler},
12788 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler},
12789 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler},
12790 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler},
12791 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler},
12792 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler},
12793 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler},
12794 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler},
12795 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler},
12796 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler},
12797 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler},
12798 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler},
12799 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler},
12800 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler},
12801 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler},
12802 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler},
12803 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler},
12804 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow},
12805 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow},
12806 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow},
12807 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow},
12808 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow},
12809 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow},
12810 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow},
12811 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow},
12812 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow},
12813 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow},
12814 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow},
12815 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow},
12816 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow},
12817 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow},
12818 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow},
12819 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow},
12820 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow},
12821 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow},
12822 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow},
12823 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow},
12824 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow},
12825 { "_wxWindow","_wxControl",SwigwxControlTowxWindow},
12826 {0,0,0}};
12827
12828 static PyObject *SWIG_globals;
12829 #ifdef __cplusplus
12830 extern "C"
12831 #endif
12832 SWIGEXPORT(void) initcontrolsc() {
12833 PyObject *m, *d;
12834 SWIG_globals = SWIG_newvarlink();
12835 m = Py_InitModule("controlsc", controlscMethods);
12836 d = PyModule_GetDict(m);
12837 PyDict_SetItemString(d,"cvar", SWIG_globals);
12838 SWIG_addvarlink(SWIG_globals,"wxDefaultValidator",_wrap_wxDefaultValidator_get, _wrap_wxDefaultValidator_set);
12839 PyDict_SetItemString(d,"wxTE_NO_VSCROLL", PyInt_FromLong((long) wxTE_NO_VSCROLL));
12840 PyDict_SetItemString(d,"wxTE_AUTO_SCROLL", PyInt_FromLong((long) wxTE_AUTO_SCROLL));
12841 PyDict_SetItemString(d,"wxTE_READONLY", PyInt_FromLong((long) wxTE_READONLY));
12842 PyDict_SetItemString(d,"wxTE_MULTILINE", PyInt_FromLong((long) wxTE_MULTILINE));
12843 PyDict_SetItemString(d,"wxTE_PROCESS_TAB", PyInt_FromLong((long) wxTE_PROCESS_TAB));
12844 PyDict_SetItemString(d,"wxTE_LEFT", PyInt_FromLong((long) wxTE_LEFT));
12845 PyDict_SetItemString(d,"wxTE_CENTER", PyInt_FromLong((long) wxTE_CENTER));
12846 PyDict_SetItemString(d,"wxTE_RIGHT", PyInt_FromLong((long) wxTE_RIGHT));
12847 PyDict_SetItemString(d,"wxTE_CENTRE", PyInt_FromLong((long) wxTE_CENTRE));
12848 PyDict_SetItemString(d,"wxTE_RICH", PyInt_FromLong((long) wxTE_RICH));
12849 PyDict_SetItemString(d,"wxTE_PROCESS_ENTER", PyInt_FromLong((long) wxTE_PROCESS_ENTER));
12850 PyDict_SetItemString(d,"wxTE_PASSWORD", PyInt_FromLong((long) wxTE_PASSWORD));
12851 PyDict_SetItemString(d,"wxTE_AUTO_URL", PyInt_FromLong((long) wxTE_AUTO_URL));
12852 PyDict_SetItemString(d,"wxTE_NOHIDESEL", PyInt_FromLong((long) wxTE_NOHIDESEL));
12853 PyDict_SetItemString(d,"wxTE_DONTWRAP", PyInt_FromLong((long) wxTE_DONTWRAP));
12854 PyDict_SetItemString(d,"wxTE_LINEWRAP", PyInt_FromLong((long) wxTE_LINEWRAP));
12855 PyDict_SetItemString(d,"wxTE_WORDWRAP", PyInt_FromLong((long) wxTE_WORDWRAP));
12856 PyDict_SetItemString(d,"wxTE_RICH2", PyInt_FromLong((long) wxTE_RICH2));
12857 PyDict_SetItemString(d,"wxTEXT_ATTR_TEXT_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_TEXT_COLOUR));
12858 PyDict_SetItemString(d,"wxTEXT_ATTR_BACKGROUND_COLOUR", PyInt_FromLong((long) wxTEXT_ATTR_BACKGROUND_COLOUR));
12859 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_FACE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_FACE));
12860 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_SIZE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_SIZE));
12861 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_WEIGHT", PyInt_FromLong((long) wxTEXT_ATTR_FONT_WEIGHT));
12862 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_ITALIC", PyInt_FromLong((long) wxTEXT_ATTR_FONT_ITALIC));
12863 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT_UNDERLINE", PyInt_FromLong((long) wxTEXT_ATTR_FONT_UNDERLINE));
12864 PyDict_SetItemString(d,"wxTEXT_ATTR_FONT", PyInt_FromLong((long) wxTEXT_ATTR_FONT));
12865 PyDict_SetItemString(d,"wxTEXT_ATTR_ALIGNMENT", PyInt_FromLong((long) wxTEXT_ATTR_ALIGNMENT));
12866 PyDict_SetItemString(d,"wxTEXT_ATTR_LEFT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_LEFT_INDENT));
12867 PyDict_SetItemString(d,"wxTEXT_ATTR_RIGHT_INDENT", PyInt_FromLong((long) wxTEXT_ATTR_RIGHT_INDENT));
12868 PyDict_SetItemString(d,"wxTEXT_ATTR_TABS", PyInt_FromLong((long) wxTEXT_ATTR_TABS));
12869 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_DEFAULT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_DEFAULT));
12870 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_LEFT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_LEFT));
12871 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_CENTRE", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTRE));
12872 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_CENTER", PyInt_FromLong((long) wxTEXT_ALIGNMENT_CENTER));
12873 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_RIGHT", PyInt_FromLong((long) wxTEXT_ALIGNMENT_RIGHT));
12874 PyDict_SetItemString(d,"wxTEXT_ALIGNMENT_JUSTIFIED", PyInt_FromLong((long) wxTEXT_ALIGNMENT_JUSTIFIED));
12875 PyDict_SetItemString(d,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
12876 {
12877 int i;
12878 for (i = 0; _swig_mapping[i].n1; i++)
12879 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12880 }
12881 }