2 * FILE : src/gtk/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 #if PYTHON_API_VERSION >= 1009
105 static char* wxStringErrorMsg
= "String or Unicode type required";
107 static char* wxStringErrorMsg
= "String type required";
112 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
114 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
118 static PyObject
*_wrap_wxDefaultValidator_get() {
122 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
123 pyobj
= PyString_FromString(ptemp
);
127 static void *SwigwxControlTowxWindow(void *ptr
) {
130 src
= (wxControl
*) ptr
;
131 dest
= (wxWindow
*) src
;
132 return (void *) dest
;
135 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
138 src
= (wxControl
*) ptr
;
139 dest
= (wxEvtHandler
*) src
;
140 return (void *) dest
;
143 static void *SwigwxControlTowxObject(void *ptr
) {
146 src
= (wxControl
*) ptr
;
147 dest
= (wxObject
*) src
;
148 return (void *) dest
;
151 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
152 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
157 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
158 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
159 long _arg4
= (long ) 0;
160 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
161 char * _arg6
= (char *) "control";
162 PyObject
* _argo0
= 0;
164 PyObject
* _obj2
= 0;
166 PyObject
* _obj3
= 0;
167 PyObject
* _argo5
= 0;
168 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
184 if (! wxPoint_helper(_obj2
, &_arg2
))
190 if (! wxSize_helper(_obj3
, &_arg3
))
194 if (_argo5
== Py_None
) { _arg5
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
201 wxPy_BEGIN_ALLOW_THREADS
;
202 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
204 wxPy_END_ALLOW_THREADS
;
205 if (PyErr_Occurred()) return NULL
;
207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
208 _resultobj
= Py_BuildValue("s",_ptemp
);
211 _resultobj
= Py_None
;
216 #define new_wxPreControl() (new wxControl())
217 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
218 PyObject
* _resultobj
;
220 char *_kwnames
[] = { NULL
};
224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
227 wxPy_BEGIN_ALLOW_THREADS
;
228 _result
= (wxControl
*)new_wxPreControl();
230 wxPy_END_ALLOW_THREADS
;
231 if (PyErr_Occurred()) return NULL
;
233 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
234 _resultobj
= Py_BuildValue("s",_ptemp
);
237 _resultobj
= Py_None
;
242 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
243 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
249 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
250 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
251 long _arg5
= (long ) 0;
252 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
253 char * _arg7
= (char *) "control";
254 PyObject
* _argo0
= 0;
255 PyObject
* _argo1
= 0;
257 PyObject
* _obj3
= 0;
259 PyObject
* _obj4
= 0;
260 PyObject
* _argo6
= 0;
261 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOs:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
283 if (! wxPoint_helper(_obj3
, &_arg3
))
289 if (! wxSize_helper(_obj4
, &_arg4
))
293 if (_argo6
== Py_None
) { _arg6
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
300 wxPy_BEGIN_ALLOW_THREADS
;
301 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
303 wxPy_END_ALLOW_THREADS
;
304 if (PyErr_Occurred()) return NULL
;
305 } _resultobj
= Py_BuildValue("i",_result
);
309 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
310 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
313 wxCommandEvent
* _arg1
;
314 PyObject
* _argo0
= 0;
315 PyObject
* _argo1
= 0;
316 char *_kwnames
[] = { "self","event", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
336 wxPy_BEGIN_ALLOW_THREADS
;
337 wxControl_Command(_arg0
,*_arg1
);
339 wxPy_END_ALLOW_THREADS
;
340 if (PyErr_Occurred()) return NULL
;
341 } Py_INCREF(Py_None
);
342 _resultobj
= Py_None
;
346 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
347 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
351 PyObject
* _argo0
= 0;
352 char *_kwnames
[] = { "self", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
365 wxPy_BEGIN_ALLOW_THREADS
;
366 _result
= new wxString (wxControl_GetLabel(_arg0
));
368 wxPy_END_ALLOW_THREADS
;
369 if (PyErr_Occurred()) return NULL
;
371 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
379 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
380 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
384 PyObject
* _argo0
= 0;
385 PyObject
* _obj1
= 0;
386 char *_kwnames
[] = { "self","label", NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
399 #if PYTHON_API_VERSION >= 1009
400 char* tmpPtr
; int tmpSize
;
401 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
405 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
407 _arg1
= new wxString(tmpPtr
, tmpSize
);
409 if (!PyString_Check(_obj1
)) {
410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
413 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
417 wxPy_BEGIN_ALLOW_THREADS
;
418 wxControl_SetLabel(_arg0
,*_arg1
);
420 wxPy_END_ALLOW_THREADS
;
421 if (PyErr_Occurred()) return NULL
;
422 } Py_INCREF(Py_None
);
423 _resultobj
= Py_None
;
431 static void *SwigwxControlWithItemsTowxControl(void *ptr
) {
432 wxControlWithItems
*src
;
434 src
= (wxControlWithItems
*) ptr
;
435 dest
= (wxControl
*) src
;
436 return (void *) dest
;
439 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) {
440 wxControlWithItems
*src
;
442 src
= (wxControlWithItems
*) ptr
;
443 dest
= (wxWindow
*) src
;
444 return (void *) dest
;
447 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) {
448 wxControlWithItems
*src
;
450 src
= (wxControlWithItems
*) ptr
;
451 dest
= (wxEvtHandler
*) src
;
452 return (void *) dest
;
455 static void *SwigwxControlWithItemsTowxObject(void *ptr
) {
456 wxControlWithItems
*src
;
458 src
= (wxControlWithItems
*) ptr
;
459 dest
= (wxObject
*) src
;
460 return (void *) dest
;
463 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
464 static PyObject
*_wrap_wxControlWithItems_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
466 wxControlWithItems
* _arg0
;
468 PyObject
* _argo0
= 0;
469 char *_kwnames
[] = { "self","n", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))
475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
482 wxPy_BEGIN_ALLOW_THREADS
;
483 wxControlWithItems_Delete(_arg0
,_arg1
);
485 wxPy_END_ALLOW_THREADS
;
486 if (PyErr_Occurred()) return NULL
;
487 } Py_INCREF(Py_None
);
488 _resultobj
= Py_None
;
492 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
493 static PyObject
*_wrap_wxControlWithItems_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
496 wxControlWithItems
* _arg0
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
511 wxPy_BEGIN_ALLOW_THREADS
;
512 _result
= (int )wxControlWithItems_GetCount(_arg0
);
514 wxPy_END_ALLOW_THREADS
;
515 if (PyErr_Occurred()) return NULL
;
516 } _resultobj
= Py_BuildValue("i",_result
);
520 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
521 static PyObject
*_wrap_wxControlWithItems_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
522 PyObject
* _resultobj
;
524 wxControlWithItems
* _arg0
;
526 PyObject
* _argo0
= 0;
527 char *_kwnames
[] = { "self","n", NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))
533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
540 wxPy_BEGIN_ALLOW_THREADS
;
541 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
543 wxPy_END_ALLOW_THREADS
;
544 if (PyErr_Occurred()) return NULL
;
546 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
554 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
555 static PyObject
*_wrap_wxControlWithItems_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
557 wxControlWithItems
* _arg0
;
560 PyObject
* _argo0
= 0;
561 PyObject
* _obj2
= 0;
562 char *_kwnames
[] = { "self","n","s", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
575 #if PYTHON_API_VERSION >= 1009
576 char* tmpPtr
; int tmpSize
;
577 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
578 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
581 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
583 _arg2
= new wxString(tmpPtr
, tmpSize
);
585 if (!PyString_Check(_obj2
)) {
586 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
589 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
593 wxPy_BEGIN_ALLOW_THREADS
;
594 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
596 wxPy_END_ALLOW_THREADS
;
597 if (PyErr_Occurred()) return NULL
;
598 } Py_INCREF(Py_None
);
599 _resultobj
= Py_None
;
607 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
608 static PyObject
*_wrap_wxControlWithItems_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
611 wxControlWithItems
* _arg0
;
613 PyObject
* _argo0
= 0;
614 PyObject
* _obj1
= 0;
615 char *_kwnames
[] = { "self","s", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))
621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
628 #if PYTHON_API_VERSION >= 1009
629 char* tmpPtr
; int tmpSize
;
630 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
634 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
636 _arg1
= new wxString(tmpPtr
, tmpSize
);
638 if (!PyString_Check(_obj1
)) {
639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
642 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
646 wxPy_BEGIN_ALLOW_THREADS
;
647 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
649 wxPy_END_ALLOW_THREADS
;
650 if (PyErr_Occurred()) return NULL
;
651 } _resultobj
= Py_BuildValue("i",_result
);
659 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
660 static PyObject
*_wrap_wxControlWithItems_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
662 wxControlWithItems
* _arg0
;
664 PyObject
* _argo0
= 0;
665 char *_kwnames
[] = { "self","n", NULL
};
668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))
671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
678 wxPy_BEGIN_ALLOW_THREADS
;
679 wxControlWithItems_Select(_arg0
,_arg1
);
681 wxPy_END_ALLOW_THREADS
;
682 if (PyErr_Occurred()) return NULL
;
683 } Py_INCREF(Py_None
);
684 _resultobj
= Py_None
;
688 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
689 static PyObject
*_wrap_wxControlWithItems_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
692 wxControlWithItems
* _arg0
;
693 PyObject
* _argo0
= 0;
694 char *_kwnames
[] = { "self", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
707 wxPy_BEGIN_ALLOW_THREADS
;
708 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
710 wxPy_END_ALLOW_THREADS
;
711 if (PyErr_Occurred()) return NULL
;
712 } _resultobj
= Py_BuildValue("i",_result
);
716 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
717 static PyObject
*_wrap_wxControlWithItems_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
720 wxControlWithItems
* _arg0
;
721 PyObject
* _argo0
= 0;
722 char *_kwnames
[] = { "self", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
735 wxPy_BEGIN_ALLOW_THREADS
;
736 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
738 wxPy_END_ALLOW_THREADS
;
739 if (PyErr_Occurred()) return NULL
;
741 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
749 static void wxControlWithItems_Append(wxControlWithItems
*self
,const wxString
& item
,PyObject
* clientData
) {
751 wxPyClientData
* data
= new wxPyClientData(clientData
);
752 self
->Append(item
, data
);
756 static PyObject
*_wrap_wxControlWithItems_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
758 wxControlWithItems
* _arg0
;
760 PyObject
* _arg2
= (PyObject
*) NULL
;
761 PyObject
* _argo0
= 0;
762 PyObject
* _obj1
= 0;
763 PyObject
* _obj2
= 0;
764 char *_kwnames
[] = { "self","item","clientData", NULL
};
767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
777 #if PYTHON_API_VERSION >= 1009
778 char* tmpPtr
; int tmpSize
;
779 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
783 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
785 _arg1
= new wxString(tmpPtr
, tmpSize
);
787 if (!PyString_Check(_obj1
)) {
788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
791 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
799 wxPy_BEGIN_ALLOW_THREADS
;
800 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
802 wxPy_END_ALLOW_THREADS
;
803 if (PyErr_Occurred()) return NULL
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
813 static PyObject
* wxControlWithItems_GetClientData(wxControlWithItems
*self
,int n
) {
814 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
816 Py_INCREF(data
->m_obj
);
823 static PyObject
*_wrap_wxControlWithItems_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
826 wxControlWithItems
* _arg0
;
828 PyObject
* _argo0
= 0;
829 char *_kwnames
[] = { "self","n", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
842 wxPy_BEGIN_ALLOW_THREADS
;
843 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
845 wxPy_END_ALLOW_THREADS
;
846 if (PyErr_Occurred()) return NULL
;
848 _resultobj
= _result
;
853 static void wxControlWithItems_SetClientData(wxControlWithItems
*self
,int n
,PyObject
* clientData
) {
854 wxPyClientData
* data
= new wxPyClientData(clientData
);
855 self
->SetClientObject(n
, data
);
857 static PyObject
*_wrap_wxControlWithItems_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
859 wxControlWithItems
* _arg0
;
862 PyObject
* _argo0
= 0;
863 PyObject
* _obj2
= 0;
864 char *_kwnames
[] = { "self","n","clientData", NULL
};
867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
880 wxPy_BEGIN_ALLOW_THREADS
;
881 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
883 wxPy_END_ALLOW_THREADS
;
884 if (PyErr_Occurred()) return NULL
;
885 } Py_INCREF(Py_None
);
886 _resultobj
= Py_None
;
890 static void *SwigwxButtonTowxControl(void *ptr
) {
893 src
= (wxButton
*) ptr
;
894 dest
= (wxControl
*) src
;
895 return (void *) dest
;
898 static void *SwigwxButtonTowxWindow(void *ptr
) {
901 src
= (wxButton
*) ptr
;
902 dest
= (wxWindow
*) src
;
903 return (void *) dest
;
906 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
909 src
= (wxButton
*) ptr
;
910 dest
= (wxEvtHandler
*) src
;
911 return (void *) dest
;
914 static void *SwigwxButtonTowxObject(void *ptr
) {
917 src
= (wxButton
*) ptr
;
918 dest
= (wxObject
*) src
;
919 return (void *) dest
;
922 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
923 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 PyObject
* _resultobj
;
929 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
930 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
931 long _arg5
= (long ) 0;
932 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
933 char * _arg7
= (char *) "button";
934 PyObject
* _argo0
= 0;
935 PyObject
* _obj2
= 0;
937 PyObject
* _obj3
= 0;
939 PyObject
* _obj4
= 0;
940 PyObject
* _argo6
= 0;
941 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
955 #if PYTHON_API_VERSION >= 1009
956 char* tmpPtr
; int tmpSize
;
957 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
961 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
963 _arg2
= new wxString(tmpPtr
, tmpSize
);
965 if (!PyString_Check(_obj2
)) {
966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
969 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
975 if (! wxPoint_helper(_obj3
, &_arg3
))
981 if (! wxSize_helper(_obj4
, &_arg4
))
985 if (_argo6
== Py_None
) { _arg6
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
992 wxPy_BEGIN_ALLOW_THREADS
;
993 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
995 wxPy_END_ALLOW_THREADS
;
996 if (PyErr_Occurred()) return NULL
;
998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
999 _resultobj
= Py_BuildValue("s",_ptemp
);
1002 _resultobj
= Py_None
;
1011 #define new_wxPreButton() (new wxButton())
1012 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1015 char *_kwnames
[] = { NULL
};
1019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 _result
= (wxButton
*)new_wxPreButton();
1025 wxPy_END_ALLOW_THREADS
;
1026 if (PyErr_Occurred()) return NULL
;
1028 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1029 _resultobj
= Py_BuildValue("s",_ptemp
);
1032 _resultobj
= Py_None
;
1037 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1038 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1045 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1046 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1047 long _arg6
= (long ) 0;
1048 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1049 char * _arg8
= (char *) "button";
1050 PyObject
* _argo0
= 0;
1051 PyObject
* _argo1
= 0;
1052 PyObject
* _obj3
= 0;
1054 PyObject
* _obj4
= 0;
1056 PyObject
* _obj5
= 0;
1057 PyObject
* _argo7
= 0;
1058 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1078 #if PYTHON_API_VERSION >= 1009
1079 char* tmpPtr
; int tmpSize
;
1080 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1084 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1086 _arg3
= new wxString(tmpPtr
, tmpSize
);
1088 if (!PyString_Check(_obj3
)) {
1089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1092 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1098 if (! wxPoint_helper(_obj4
, &_arg4
))
1104 if (! wxSize_helper(_obj5
, &_arg5
))
1108 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1109 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1115 wxPy_BEGIN_ALLOW_THREADS
;
1116 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1118 wxPy_END_ALLOW_THREADS
;
1119 if (PyErr_Occurred()) return NULL
;
1120 } _resultobj
= Py_BuildValue("i",_result
);
1128 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1129 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1146 wxPy_BEGIN_ALLOW_THREADS
;
1147 wxButton_SetDefault(_arg0
);
1149 wxPy_END_ALLOW_THREADS
;
1150 if (PyErr_Occurred()) return NULL
;
1151 } Py_INCREF(Py_None
);
1152 _resultobj
= Py_None
;
1156 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1157 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1161 PyObject
* _argo0
= 0;
1163 PyObject
* _obj1
= 0;
1164 char *_kwnames
[] = { "self","colour", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1178 if (! wxColour_helper(_obj1
, &_arg1
))
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1185 wxPy_END_ALLOW_THREADS
;
1186 if (PyErr_Occurred()) return NULL
;
1187 } Py_INCREF(Py_None
);
1188 _resultobj
= Py_None
;
1192 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1193 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1197 PyObject
* _argo0
= 0;
1199 PyObject
* _obj1
= 0;
1200 char *_kwnames
[] = { "self","colour", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1214 if (! wxColour_helper(_obj1
, &_arg1
))
1218 wxPy_BEGIN_ALLOW_THREADS
;
1219 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1221 wxPy_END_ALLOW_THREADS
;
1222 if (PyErr_Occurred()) return NULL
;
1223 } Py_INCREF(Py_None
);
1224 _resultobj
= Py_None
;
1228 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1231 char *_kwnames
[] = { NULL
};
1235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1238 wxPy_BEGIN_ALLOW_THREADS
;
1239 _result
= new wxSize (wxButton::GetDefaultSize());
1241 wxPy_END_ALLOW_THREADS
;
1242 if (PyErr_Occurred()) return NULL
;
1243 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1244 _resultobj
= Py_BuildValue("s",_ptemp
);
1248 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1249 wxBitmapButton
*src
;
1251 src
= (wxBitmapButton
*) ptr
;
1252 dest
= (wxButton
*) src
;
1253 return (void *) dest
;
1256 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1257 wxBitmapButton
*src
;
1259 src
= (wxBitmapButton
*) ptr
;
1260 dest
= (wxControl
*) src
;
1261 return (void *) dest
;
1264 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1265 wxBitmapButton
*src
;
1267 src
= (wxBitmapButton
*) ptr
;
1268 dest
= (wxWindow
*) src
;
1269 return (void *) dest
;
1272 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1273 wxBitmapButton
*src
;
1275 src
= (wxBitmapButton
*) ptr
;
1276 dest
= (wxEvtHandler
*) src
;
1277 return (void *) dest
;
1280 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1281 wxBitmapButton
*src
;
1283 src
= (wxBitmapButton
*) ptr
;
1284 dest
= (wxObject
*) src
;
1285 return (void *) dest
;
1288 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1289 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
* _resultobj
;
1291 wxBitmapButton
* _result
;
1295 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1296 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1297 long _arg5
= (long ) wxBU_AUTODRAW
;
1298 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1299 char * _arg7
= (char *) "button";
1300 PyObject
* _argo0
= 0;
1301 PyObject
* _argo2
= 0;
1303 PyObject
* _obj3
= 0;
1305 PyObject
* _obj4
= 0;
1306 PyObject
* _argo6
= 0;
1307 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1321 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1322 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1330 if (! wxPoint_helper(_obj3
, &_arg3
))
1336 if (! wxSize_helper(_obj4
, &_arg4
))
1340 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1341 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1347 wxPy_BEGIN_ALLOW_THREADS
;
1348 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1350 wxPy_END_ALLOW_THREADS
;
1351 if (PyErr_Occurred()) return NULL
;
1353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1354 _resultobj
= Py_BuildValue("s",_ptemp
);
1357 _resultobj
= Py_None
;
1362 #define new_wxPreBitmapButton() (new wxBitmapButton())
1363 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1364 PyObject
* _resultobj
;
1365 wxBitmapButton
* _result
;
1366 char *_kwnames
[] = { NULL
};
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1373 wxPy_BEGIN_ALLOW_THREADS
;
1374 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1376 wxPy_END_ALLOW_THREADS
;
1377 if (PyErr_Occurred()) return NULL
;
1379 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1380 _resultobj
= Py_BuildValue("s",_ptemp
);
1383 _resultobj
= Py_None
;
1388 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1389 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1390 PyObject
* _resultobj
;
1392 wxBitmapButton
* _arg0
;
1396 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1397 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1398 long _arg6
= (long ) wxBU_AUTODRAW
;
1399 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1400 char * _arg8
= (char *) "button";
1401 PyObject
* _argo0
= 0;
1402 PyObject
* _argo1
= 0;
1403 PyObject
* _argo3
= 0;
1405 PyObject
* _obj4
= 0;
1407 PyObject
* _obj5
= 0;
1408 PyObject
* _argo7
= 0;
1409 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1429 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1430 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1438 if (! wxPoint_helper(_obj4
, &_arg4
))
1444 if (! wxSize_helper(_obj5
, &_arg5
))
1448 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1449 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1455 wxPy_BEGIN_ALLOW_THREADS
;
1456 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1458 wxPy_END_ALLOW_THREADS
;
1459 if (PyErr_Occurred()) return NULL
;
1460 } _resultobj
= Py_BuildValue("i",_result
);
1464 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1465 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
* _resultobj
;
1468 wxBitmapButton
* _arg0
;
1469 PyObject
* _argo0
= 0;
1470 char *_kwnames
[] = { "self", NULL
};
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1484 wxPy_BEGIN_ALLOW_THREADS
;
1485 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
1486 _result
= (wxBitmap
*) &_result_ref
;
1488 wxPy_END_ALLOW_THREADS
;
1489 if (PyErr_Occurred()) return NULL
;
1491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1492 _resultobj
= Py_BuildValue("s",_ptemp
);
1495 _resultobj
= Py_None
;
1500 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1501 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1504 wxBitmapButton
* _arg0
;
1505 PyObject
* _argo0
= 0;
1506 char *_kwnames
[] = { "self", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1520 wxPy_BEGIN_ALLOW_THREADS
;
1521 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
1522 _result
= (wxBitmap
*) &_result_ref
;
1524 wxPy_END_ALLOW_THREADS
;
1525 if (PyErr_Occurred()) return NULL
;
1527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1528 _resultobj
= Py_BuildValue("s",_ptemp
);
1531 _resultobj
= Py_None
;
1536 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1537 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1540 wxBitmapButton
* _arg0
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
1558 _result
= (wxBitmap
*) &_result_ref
;
1560 wxPy_END_ALLOW_THREADS
;
1561 if (PyErr_Occurred()) return NULL
;
1563 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1564 _resultobj
= Py_BuildValue("s",_ptemp
);
1567 _resultobj
= Py_None
;
1572 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1573 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1576 wxBitmapButton
* _arg0
;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
1594 _result
= (wxBitmap
*) &_result_ref
;
1596 wxPy_END_ALLOW_THREADS
;
1597 if (PyErr_Occurred()) return NULL
;
1599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1600 _resultobj
= Py_BuildValue("s",_ptemp
);
1603 _resultobj
= Py_None
;
1608 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1609 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1611 wxBitmapButton
* _arg0
;
1613 PyObject
* _argo0
= 0;
1614 PyObject
* _argo1
= 0;
1615 char *_kwnames
[] = { "self","bitmap", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1628 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1635 wxPy_BEGIN_ALLOW_THREADS
;
1636 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1638 wxPy_END_ALLOW_THREADS
;
1639 if (PyErr_Occurred()) return NULL
;
1640 } Py_INCREF(Py_None
);
1641 _resultobj
= Py_None
;
1645 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1646 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1648 wxBitmapButton
* _arg0
;
1650 PyObject
* _argo0
= 0;
1651 PyObject
* _argo1
= 0;
1652 char *_kwnames
[] = { "self","bitmap", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
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_SetBitmapFocus. Expected _wxBitmapButton_p.");
1665 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1672 wxPy_BEGIN_ALLOW_THREADS
;
1673 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1675 wxPy_END_ALLOW_THREADS
;
1676 if (PyErr_Occurred()) return NULL
;
1677 } Py_INCREF(Py_None
);
1678 _resultobj
= Py_None
;
1682 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1683 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1685 wxBitmapButton
* _arg0
;
1687 PyObject
* _argo0
= 0;
1688 PyObject
* _argo1
= 0;
1689 char *_kwnames
[] = { "self","bitmap", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1712 wxPy_END_ALLOW_THREADS
;
1713 if (PyErr_Occurred()) return NULL
;
1714 } Py_INCREF(Py_None
);
1715 _resultobj
= Py_None
;
1719 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1720 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1722 wxBitmapButton
* _arg0
;
1724 PyObject
* _argo0
= 0;
1725 PyObject
* _argo1
= 0;
1726 char *_kwnames
[] = { "self","bitmap", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1749 wxPy_END_ALLOW_THREADS
;
1750 if (PyErr_Occurred()) return NULL
;
1751 } Py_INCREF(Py_None
);
1752 _resultobj
= Py_None
;
1756 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1757 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1759 wxBitmapButton
* _arg0
;
1762 PyObject
* _argo0
= 0;
1763 char *_kwnames
[] = { "self","x","y", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1776 wxPy_BEGIN_ALLOW_THREADS
;
1777 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1779 wxPy_END_ALLOW_THREADS
;
1780 if (PyErr_Occurred()) return NULL
;
1781 } Py_INCREF(Py_None
);
1782 _resultobj
= Py_None
;
1786 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1787 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1790 wxBitmapButton
* _arg0
;
1791 PyObject
* _argo0
= 0;
1792 char *_kwnames
[] = { "self", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1808 wxPy_END_ALLOW_THREADS
;
1809 if (PyErr_Occurred()) return NULL
;
1810 } _resultobj
= Py_BuildValue("i",_result
);
1814 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1815 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1818 wxBitmapButton
* _arg0
;
1819 PyObject
* _argo0
= 0;
1820 char *_kwnames
[] = { "self", NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1833 wxPy_BEGIN_ALLOW_THREADS
;
1834 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1836 wxPy_END_ALLOW_THREADS
;
1837 if (PyErr_Occurred()) return NULL
;
1838 } _resultobj
= Py_BuildValue("i",_result
);
1842 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1845 src
= (wxCheckBox
*) ptr
;
1846 dest
= (wxControl
*) src
;
1847 return (void *) dest
;
1850 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1853 src
= (wxCheckBox
*) ptr
;
1854 dest
= (wxWindow
*) src
;
1855 return (void *) dest
;
1858 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1861 src
= (wxCheckBox
*) ptr
;
1862 dest
= (wxEvtHandler
*) src
;
1863 return (void *) dest
;
1866 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1869 src
= (wxCheckBox
*) ptr
;
1870 dest
= (wxObject
*) src
;
1871 return (void *) dest
;
1874 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1875 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1877 wxCheckBox
* _result
;
1881 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1882 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1883 long _arg5
= (long ) 0;
1884 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1885 char * _arg7
= (char *) "checkBox";
1886 PyObject
* _argo0
= 0;
1887 PyObject
* _obj2
= 0;
1889 PyObject
* _obj3
= 0;
1891 PyObject
* _obj4
= 0;
1892 PyObject
* _argo6
= 0;
1893 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1907 #if PYTHON_API_VERSION >= 1009
1908 char* tmpPtr
; int tmpSize
;
1909 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1913 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1915 _arg2
= new wxString(tmpPtr
, tmpSize
);
1917 if (!PyString_Check(_obj2
)) {
1918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1921 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1927 if (! wxPoint_helper(_obj3
, &_arg3
))
1933 if (! wxSize_helper(_obj4
, &_arg4
))
1937 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1944 wxPy_BEGIN_ALLOW_THREADS
;
1945 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1947 wxPy_END_ALLOW_THREADS
;
1948 if (PyErr_Occurred()) return NULL
;
1950 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1951 _resultobj
= Py_BuildValue("s",_ptemp
);
1954 _resultobj
= Py_None
;
1963 #define new_wxPreCheckBox() (new wxCheckBox())
1964 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1966 wxCheckBox
* _result
;
1967 char *_kwnames
[] = { NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1974 wxPy_BEGIN_ALLOW_THREADS
;
1975 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1977 wxPy_END_ALLOW_THREADS
;
1978 if (PyErr_Occurred()) return NULL
;
1980 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1981 _resultobj
= Py_BuildValue("s",_ptemp
);
1984 _resultobj
= Py_None
;
1989 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1990 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1997 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1998 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1999 long _arg6
= (long ) 0;
2000 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2001 char * _arg8
= (char *) "checkBox";
2002 PyObject
* _argo0
= 0;
2003 PyObject
* _argo1
= 0;
2004 PyObject
* _obj3
= 0;
2006 PyObject
* _obj4
= 0;
2008 PyObject
* _obj5
= 0;
2009 PyObject
* _argo7
= 0;
2010 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2030 #if PYTHON_API_VERSION >= 1009
2031 char* tmpPtr
; int tmpSize
;
2032 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2033 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2036 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2038 _arg3
= new wxString(tmpPtr
, tmpSize
);
2040 if (!PyString_Check(_obj3
)) {
2041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2044 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2050 if (! wxPoint_helper(_obj4
, &_arg4
))
2056 if (! wxSize_helper(_obj5
, &_arg5
))
2060 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2067 wxPy_BEGIN_ALLOW_THREADS
;
2068 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2070 wxPy_END_ALLOW_THREADS
;
2071 if (PyErr_Occurred()) return NULL
;
2072 } _resultobj
= Py_BuildValue("i",_result
);
2080 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2081 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2085 PyObject
* _argo0
= 0;
2086 char *_kwnames
[] = { "self", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2102 wxPy_END_ALLOW_THREADS
;
2103 if (PyErr_Occurred()) return NULL
;
2104 } _resultobj
= Py_BuildValue("i",_result
);
2108 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2109 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2113 PyObject
* _argo0
= 0;
2115 char *_kwnames
[] = { "self","state", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2127 _arg1
= (bool ) tempbool1
;
2129 wxPy_BEGIN_ALLOW_THREADS
;
2130 wxCheckBox_SetValue(_arg0
,_arg1
);
2132 wxPy_END_ALLOW_THREADS
;
2133 if (PyErr_Occurred()) return NULL
;
2134 } Py_INCREF(Py_None
);
2135 _resultobj
= Py_None
;
2139 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2141 wxControlWithItems
*dest
;
2142 src
= (wxChoice
*) ptr
;
2143 dest
= (wxControlWithItems
*) src
;
2144 return (void *) dest
;
2147 static void *SwigwxChoiceTowxControl(void *ptr
) {
2150 src
= (wxChoice
*) ptr
;
2151 dest
= (wxControl
*) src
;
2152 return (void *) dest
;
2155 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2158 src
= (wxChoice
*) ptr
;
2159 dest
= (wxWindow
*) src
;
2160 return (void *) dest
;
2163 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2166 src
= (wxChoice
*) ptr
;
2167 dest
= (wxEvtHandler
*) src
;
2168 return (void *) dest
;
2171 static void *SwigwxChoiceTowxObject(void *ptr
) {
2174 src
= (wxChoice
*) ptr
;
2175 dest
= (wxObject
*) src
;
2176 return (void *) dest
;
2179 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2180 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2185 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2186 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2187 int _arg4
= (int ) 0;
2188 wxString
* _arg5
= (wxString
*) NULL
;
2189 long _arg6
= (long ) 0;
2190 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2191 char * _arg8
= (char *) "choice";
2192 PyObject
* _argo0
= 0;
2194 PyObject
* _obj2
= 0;
2196 PyObject
* _obj3
= 0;
2197 PyObject
* _obj5
= 0;
2198 PyObject
* _argo7
= 0;
2199 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2215 if (! wxPoint_helper(_obj2
, &_arg2
))
2221 if (! wxSize_helper(_obj3
, &_arg3
))
2226 _arg5
= wxString_LIST_helper(_obj5
);
2227 if (_arg5
== NULL
) {
2232 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2240 _arg4
= PyList_Size(_obj5
);
2247 wxPy_BEGIN_ALLOW_THREADS
;
2248 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2250 wxPy_END_ALLOW_THREADS
;
2251 if (PyErr_Occurred()) return NULL
;
2253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2254 _resultobj
= Py_BuildValue("s",_ptemp
);
2257 _resultobj
= Py_None
;
2265 #define new_wxPreChoice() (new wxChoice())
2266 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2269 char *_kwnames
[] = { NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2276 wxPy_BEGIN_ALLOW_THREADS
;
2277 _result
= (wxChoice
*)new_wxPreChoice();
2279 wxPy_END_ALLOW_THREADS
;
2280 if (PyErr_Occurred()) return NULL
;
2282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2283 _resultobj
= Py_BuildValue("s",_ptemp
);
2286 _resultobj
= Py_None
;
2291 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2292 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2298 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2299 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2300 int _arg5
= (int ) 0;
2301 wxString
* _arg6
= (wxString
*) NULL
;
2302 long _arg7
= (long ) 0;
2303 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2304 char * _arg9
= (char *) "choice";
2305 PyObject
* _argo0
= 0;
2306 PyObject
* _argo1
= 0;
2308 PyObject
* _obj3
= 0;
2310 PyObject
* _obj4
= 0;
2311 PyObject
* _obj6
= 0;
2312 PyObject
* _argo8
= 0;
2313 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2326 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2335 if (! wxPoint_helper(_obj3
, &_arg3
))
2341 if (! wxSize_helper(_obj4
, &_arg4
))
2346 _arg6
= wxString_LIST_helper(_obj6
);
2347 if (_arg6
== NULL
) {
2352 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2360 _arg5
= PyList_Size(_obj6
);
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2370 wxPy_END_ALLOW_THREADS
;
2371 if (PyErr_Occurred()) return NULL
;
2372 } _resultobj
= Py_BuildValue("i",_result
);
2379 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2380 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2383 PyObject
* _argo0
= 0;
2384 char *_kwnames
[] = { "self", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2397 wxPy_BEGIN_ALLOW_THREADS
;
2398 wxChoice_Clear(_arg0
);
2400 wxPy_END_ALLOW_THREADS
;
2401 if (PyErr_Occurred()) return NULL
;
2402 } Py_INCREF(Py_None
);
2403 _resultobj
= Py_None
;
2407 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2408 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 _result
= (int )wxChoice_GetColumns(_arg0
);
2429 wxPy_END_ALLOW_THREADS
;
2430 if (PyErr_Occurred()) return NULL
;
2431 } _resultobj
= Py_BuildValue("i",_result
);
2435 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2436 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2439 int _arg1
= (int ) 1;
2440 PyObject
* _argo0
= 0;
2441 char *_kwnames
[] = { "self","n", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 wxChoice_SetColumns(_arg0
,_arg1
);
2457 wxPy_END_ALLOW_THREADS
;
2458 if (PyErr_Occurred()) return NULL
;
2459 } Py_INCREF(Py_None
);
2460 _resultobj
= Py_None
;
2464 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2465 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2469 PyObject
* _argo0
= 0;
2470 char *_kwnames
[] = { "self","n", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2483 wxPy_BEGIN_ALLOW_THREADS
;
2484 wxChoice_SetSelection(_arg0
,_arg1
);
2486 wxPy_END_ALLOW_THREADS
;
2487 if (PyErr_Occurred()) return NULL
;
2488 } Py_INCREF(Py_None
);
2489 _resultobj
= Py_None
;
2493 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2494 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2498 PyObject
* _argo0
= 0;
2499 PyObject
* _obj1
= 0;
2500 char *_kwnames
[] = { "self","string", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2513 #if PYTHON_API_VERSION >= 1009
2514 char* tmpPtr
; int tmpSize
;
2515 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2519 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2521 _arg1
= new wxString(tmpPtr
, tmpSize
);
2523 if (!PyString_Check(_obj1
)) {
2524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2527 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2531 wxPy_BEGIN_ALLOW_THREADS
;
2532 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2534 wxPy_END_ALLOW_THREADS
;
2535 if (PyErr_Occurred()) return NULL
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2545 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2546 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2551 PyObject
* _argo0
= 0;
2552 PyObject
* _obj2
= 0;
2553 char *_kwnames
[] = { "self","n","s", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2566 #if PYTHON_API_VERSION >= 1009
2567 char* tmpPtr
; int tmpSize
;
2568 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2572 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2574 _arg2
= new wxString(tmpPtr
, tmpSize
);
2576 if (!PyString_Check(_obj2
)) {
2577 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2580 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2584 wxPy_BEGIN_ALLOW_THREADS
;
2585 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2587 wxPy_END_ALLOW_THREADS
;
2588 if (PyErr_Occurred()) return NULL
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2598 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2601 src
= (wxComboBox
*) ptr
;
2602 dest
= (wxControl
*) src
;
2603 return (void *) dest
;
2606 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2609 src
= (wxComboBox
*) ptr
;
2610 dest
= (wxWindow
*) src
;
2611 return (void *) dest
;
2614 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2617 src
= (wxComboBox
*) ptr
;
2618 dest
= (wxEvtHandler
*) src
;
2619 return (void *) dest
;
2622 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2625 src
= (wxComboBox
*) ptr
;
2626 dest
= (wxObject
*) src
;
2627 return (void *) dest
;
2630 #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))
2631 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2632 PyObject
* _resultobj
;
2633 wxComboBox
* _result
;
2636 char * _arg2
= (char *) "";
2637 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2638 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2639 int _arg5
= (int ) 0;
2640 wxString
* _arg6
= (wxString
*) NULL
;
2641 long _arg7
= (long ) 0;
2642 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2643 char * _arg9
= (char *) "comboBox";
2644 PyObject
* _argo0
= 0;
2646 PyObject
* _obj3
= 0;
2648 PyObject
* _obj4
= 0;
2649 PyObject
* _obj6
= 0;
2650 PyObject
* _argo8
= 0;
2651 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2667 if (! wxPoint_helper(_obj3
, &_arg3
))
2673 if (! wxSize_helper(_obj4
, &_arg4
))
2678 _arg6
= wxString_LIST_helper(_obj6
);
2679 if (_arg6
== NULL
) {
2684 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2685 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2692 _arg5
= PyList_Size(_obj6
);
2699 wxPy_BEGIN_ALLOW_THREADS
;
2700 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2702 wxPy_END_ALLOW_THREADS
;
2703 if (PyErr_Occurred()) return NULL
;
2705 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2706 _resultobj
= Py_BuildValue("s",_ptemp
);
2709 _resultobj
= Py_None
;
2717 #define new_wxPreComboBox() (new wxComboBox())
2718 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
* _resultobj
;
2720 wxComboBox
* _result
;
2721 char *_kwnames
[] = { NULL
};
2725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2728 wxPy_BEGIN_ALLOW_THREADS
;
2729 _result
= (wxComboBox
*)new_wxPreComboBox();
2731 wxPy_END_ALLOW_THREADS
;
2732 if (PyErr_Occurred()) return NULL
;
2734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2735 _resultobj
= Py_BuildValue("s",_ptemp
);
2738 _resultobj
= Py_None
;
2743 #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))
2744 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2750 char * _arg3
= (char *) "";
2751 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2752 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2753 int _arg6
= (int ) 0;
2754 wxString
* _arg7
= (wxString
*) NULL
;
2755 long _arg8
= (long ) 0;
2756 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2757 char * _arg10
= (char *) "comboBox";
2758 PyObject
* _argo0
= 0;
2759 PyObject
* _argo1
= 0;
2761 PyObject
* _obj4
= 0;
2763 PyObject
* _obj5
= 0;
2764 PyObject
* _obj7
= 0;
2765 PyObject
* _argo9
= 0;
2766 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2779 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2788 if (! wxPoint_helper(_obj4
, &_arg4
))
2794 if (! wxSize_helper(_obj5
, &_arg5
))
2799 _arg7
= wxString_LIST_helper(_obj7
);
2800 if (_arg7
== NULL
) {
2805 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2806 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2813 _arg6
= PyList_Size(_obj7
);
2820 wxPy_BEGIN_ALLOW_THREADS
;
2821 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2823 wxPy_END_ALLOW_THREADS
;
2824 if (PyErr_Occurred()) return NULL
;
2825 } _resultobj
= Py_BuildValue("i",_result
);
2832 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2833 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
* _resultobj
;
2836 PyObject
* _argo0
= 0;
2837 char *_kwnames
[] = { "self", NULL
};
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2850 wxPy_BEGIN_ALLOW_THREADS
;
2851 wxComboBox_Copy(_arg0
);
2853 wxPy_END_ALLOW_THREADS
;
2854 if (PyErr_Occurred()) return NULL
;
2855 } Py_INCREF(Py_None
);
2856 _resultobj
= Py_None
;
2860 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2861 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
* _resultobj
;
2864 PyObject
* _argo0
= 0;
2865 char *_kwnames
[] = { "self", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2878 wxPy_BEGIN_ALLOW_THREADS
;
2879 wxComboBox_Cut(_arg0
);
2881 wxPy_END_ALLOW_THREADS
;
2882 if (PyErr_Occurred()) return NULL
;
2883 } Py_INCREF(Py_None
);
2884 _resultobj
= Py_None
;
2888 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2889 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2893 PyObject
* _argo0
= 0;
2894 char *_kwnames
[] = { "self", NULL
};
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2907 wxPy_BEGIN_ALLOW_THREADS
;
2908 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2910 wxPy_END_ALLOW_THREADS
;
2911 if (PyErr_Occurred()) return NULL
;
2912 } _resultobj
= Py_BuildValue("l",_result
);
2916 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2917 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2938 wxPy_END_ALLOW_THREADS
;
2939 if (PyErr_Occurred()) return NULL
;
2940 } _resultobj
= Py_BuildValue("l",_result
);
2944 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2945 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
* _resultobj
;
2949 PyObject
* _argo0
= 0;
2950 char *_kwnames
[] = { "self", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2963 wxPy_BEGIN_ALLOW_THREADS
;
2964 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2966 wxPy_END_ALLOW_THREADS
;
2967 if (PyErr_Occurred()) return NULL
;
2969 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2977 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2978 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2981 PyObject
* _argo0
= 0;
2982 char *_kwnames
[] = { "self", NULL
};
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2995 wxPy_BEGIN_ALLOW_THREADS
;
2996 wxComboBox_Paste(_arg0
);
2998 wxPy_END_ALLOW_THREADS
;
2999 if (PyErr_Occurred()) return NULL
;
3000 } Py_INCREF(Py_None
);
3001 _resultobj
= Py_None
;
3005 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3006 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
* _resultobj
;
3012 PyObject
* _argo0
= 0;
3013 PyObject
* _obj3
= 0;
3014 char *_kwnames
[] = { "self","from","to","text", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3027 #if PYTHON_API_VERSION >= 1009
3028 char* tmpPtr
; int tmpSize
;
3029 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3033 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3035 _arg3
= new wxString(tmpPtr
, tmpSize
);
3037 if (!PyString_Check(_obj3
)) {
3038 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3041 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3045 wxPy_BEGIN_ALLOW_THREADS
;
3046 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3048 wxPy_END_ALLOW_THREADS
;
3049 if (PyErr_Occurred()) return NULL
;
3050 } Py_INCREF(Py_None
);
3051 _resultobj
= Py_None
;
3059 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3060 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
* _resultobj
;
3065 PyObject
* _argo0
= 0;
3066 char *_kwnames
[] = { "self","from","to", NULL
};
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3079 wxPy_BEGIN_ALLOW_THREADS
;
3080 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3082 wxPy_END_ALLOW_THREADS
;
3083 if (PyErr_Occurred()) return NULL
;
3084 } Py_INCREF(Py_None
);
3085 _resultobj
= Py_None
;
3089 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3090 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self","pos", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3108 wxPy_BEGIN_ALLOW_THREADS
;
3109 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3111 wxPy_END_ALLOW_THREADS
;
3112 if (PyErr_Occurred()) return NULL
;
3113 } Py_INCREF(Py_None
);
3114 _resultobj
= Py_None
;
3118 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3119 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3122 PyObject
* _argo0
= 0;
3123 char *_kwnames
[] = { "self", NULL
};
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3136 wxPy_BEGIN_ALLOW_THREADS
;
3137 wxComboBox_SetInsertionPointEnd(_arg0
);
3139 wxPy_END_ALLOW_THREADS
;
3140 if (PyErr_Occurred()) return NULL
;
3141 } Py_INCREF(Py_None
);
3142 _resultobj
= Py_None
;
3146 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3147 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3148 PyObject
* _resultobj
;
3151 PyObject
* _argo0
= 0;
3152 char *_kwnames
[] = { "self","n", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3165 wxPy_BEGIN_ALLOW_THREADS
;
3166 wxComboBox_SetSelection(_arg0
,_arg1
);
3168 wxPy_END_ALLOW_THREADS
;
3169 if (PyErr_Occurred()) return NULL
;
3170 } Py_INCREF(Py_None
);
3171 _resultobj
= Py_None
;
3175 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3176 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
* _resultobj
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self","from","to", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3195 wxPy_BEGIN_ALLOW_THREADS
;
3196 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3198 wxPy_END_ALLOW_THREADS
;
3199 if (PyErr_Occurred()) return NULL
;
3200 } Py_INCREF(Py_None
);
3201 _resultobj
= Py_None
;
3205 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3206 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3210 PyObject
* _argo0
= 0;
3211 PyObject
* _obj1
= 0;
3212 char *_kwnames
[] = { "self","text", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3225 #if PYTHON_API_VERSION >= 1009
3226 char* tmpPtr
; int tmpSize
;
3227 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3228 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3231 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3233 _arg1
= new wxString(tmpPtr
, tmpSize
);
3235 if (!PyString_Check(_obj1
)) {
3236 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3239 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3243 wxPy_BEGIN_ALLOW_THREADS
;
3244 wxComboBox_SetValue(_arg0
,*_arg1
);
3246 wxPy_END_ALLOW_THREADS
;
3247 if (PyErr_Occurred()) return NULL
;
3248 } Py_INCREF(Py_None
);
3249 _resultobj
= Py_None
;
3257 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3258 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3262 PyObject
* _argo0
= 0;
3264 char *_kwnames
[] = { "self","editable", NULL
};
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
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_SetEditable. Expected _wxComboBox_p.");
3276 _arg1
= (bool ) tempbool1
;
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 wxComboBox_SetEditable(_arg0
,_arg1
);
3281 wxPy_END_ALLOW_THREADS
;
3282 if (PyErr_Occurred()) return NULL
;
3283 } Py_INCREF(Py_None
);
3284 _resultobj
= Py_None
;
3288 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3289 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3292 PyObject
* _argo0
= 0;
3293 char *_kwnames
[] = { "self", NULL
};
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
3299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
3306 wxPy_BEGIN_ALLOW_THREADS
;
3307 wxComboBox_Clear(_arg0
);
3309 wxPy_END_ALLOW_THREADS
;
3310 if (PyErr_Occurred()) return NULL
;
3311 } Py_INCREF(Py_None
);
3312 _resultobj
= Py_None
;
3316 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3317 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
* _resultobj
;
3321 PyObject
* _argo0
= 0;
3322 char *_kwnames
[] = { "self","n", NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
3335 wxPy_BEGIN_ALLOW_THREADS
;
3336 wxComboBox_Delete(_arg0
,_arg1
);
3338 wxPy_END_ALLOW_THREADS
;
3339 if (PyErr_Occurred()) return NULL
;
3340 } Py_INCREF(Py_None
);
3341 _resultobj
= Py_None
;
3345 #define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3346 static PyObject
*_wrap_wxComboBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3350 PyObject
* _argo0
= 0;
3351 char *_kwnames
[] = { "self", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetCount",_kwnames
,&_argo0
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
3364 wxPy_BEGIN_ALLOW_THREADS
;
3365 _result
= (int )wxComboBox_GetCount(_arg0
);
3367 wxPy_END_ALLOW_THREADS
;
3368 if (PyErr_Occurred()) return NULL
;
3369 } _resultobj
= Py_BuildValue("i",_result
);
3373 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3374 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
* _resultobj
;
3379 PyObject
* _argo0
= 0;
3380 char *_kwnames
[] = { "self","n", NULL
};
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3393 wxPy_BEGIN_ALLOW_THREADS
;
3394 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
3396 wxPy_END_ALLOW_THREADS
;
3397 if (PyErr_Occurred()) return NULL
;
3399 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3407 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3408 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3413 PyObject
* _argo0
= 0;
3414 PyObject
* _obj1
= 0;
3415 char *_kwnames
[] = { "self","s", NULL
};
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
3428 #if PYTHON_API_VERSION >= 1009
3429 char* tmpPtr
; int tmpSize
;
3430 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3431 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3434 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3436 _arg1
= new wxString(tmpPtr
, tmpSize
);
3438 if (!PyString_Check(_obj1
)) {
3439 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3442 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3446 wxPy_BEGIN_ALLOW_THREADS
;
3447 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
3449 wxPy_END_ALLOW_THREADS
;
3450 if (PyErr_Occurred()) return NULL
;
3451 } _resultobj
= Py_BuildValue("i",_result
);
3459 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3460 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3464 PyObject
* _argo0
= 0;
3465 char *_kwnames
[] = { "self", NULL
};
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
3471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
3478 wxPy_BEGIN_ALLOW_THREADS
;
3479 _result
= (int )wxComboBox_GetSelection(_arg0
);
3481 wxPy_END_ALLOW_THREADS
;
3482 if (PyErr_Occurred()) return NULL
;
3483 } _resultobj
= Py_BuildValue("i",_result
);
3487 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3488 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3489 PyObject
* _resultobj
;
3492 PyObject
* _argo0
= 0;
3493 char *_kwnames
[] = { "self", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3506 wxPy_BEGIN_ALLOW_THREADS
;
3507 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
3509 wxPy_END_ALLOW_THREADS
;
3510 if (PyErr_Occurred()) return NULL
;
3512 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3520 static void wxComboBox_Append(wxComboBox
*self
,const wxString
& item
,PyObject
* clientData
) {
3522 wxPyClientData
* data
= new wxPyClientData(clientData
);
3523 self
->Append(item
, data
);
3527 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
* _resultobj
;
3531 PyObject
* _arg2
= (PyObject
*) NULL
;
3532 PyObject
* _argo0
= 0;
3533 PyObject
* _obj1
= 0;
3534 PyObject
* _obj2
= 0;
3535 char *_kwnames
[] = { "self","item","clientData", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
3548 #if PYTHON_API_VERSION >= 1009
3549 char* tmpPtr
; int tmpSize
;
3550 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3551 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3554 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3556 _arg1
= new wxString(tmpPtr
, tmpSize
);
3558 if (!PyString_Check(_obj1
)) {
3559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3562 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3570 wxPy_BEGIN_ALLOW_THREADS
;
3571 wxComboBox_Append(_arg0
,*_arg1
,_arg2
);
3573 wxPy_END_ALLOW_THREADS
;
3574 if (PyErr_Occurred()) return NULL
;
3575 } Py_INCREF(Py_None
);
3576 _resultobj
= Py_None
;
3584 static PyObject
* wxComboBox_GetClientData(wxComboBox
*self
,int n
) {
3585 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3587 Py_INCREF(data
->m_obj
);
3594 static PyObject
*_wrap_wxComboBox_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
* _resultobj
;
3599 PyObject
* _argo0
= 0;
3600 char *_kwnames
[] = { "self","n", NULL
};
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetClientData",_kwnames
,&_argo0
,&_arg1
))
3606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
3613 wxPy_BEGIN_ALLOW_THREADS
;
3614 _result
= (PyObject
*)wxComboBox_GetClientData(_arg0
,_arg1
);
3616 wxPy_END_ALLOW_THREADS
;
3617 if (PyErr_Occurred()) return NULL
;
3619 _resultobj
= _result
;
3624 static void wxComboBox_SetClientData(wxComboBox
*self
,int n
,PyObject
* clientData
) {
3625 wxPyClientData
* data
= new wxPyClientData(clientData
);
3626 self
->SetClientObject(n
, data
);
3628 static PyObject
*_wrap_wxComboBox_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
* _resultobj
;
3633 PyObject
* _argo0
= 0;
3634 PyObject
* _obj2
= 0;
3635 char *_kwnames
[] = { "self","n","clientData", NULL
};
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxComboBox_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
3651 wxPy_BEGIN_ALLOW_THREADS
;
3652 wxComboBox_SetClientData(_arg0
,_arg1
,_arg2
);
3654 wxPy_END_ALLOW_THREADS
;
3655 if (PyErr_Occurred()) return NULL
;
3656 } Py_INCREF(Py_None
);
3657 _resultobj
= Py_None
;
3661 static void *SwigwxGaugeTowxControl(void *ptr
) {
3664 src
= (wxGauge
*) ptr
;
3665 dest
= (wxControl
*) src
;
3666 return (void *) dest
;
3669 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3672 src
= (wxGauge
*) ptr
;
3673 dest
= (wxWindow
*) src
;
3674 return (void *) dest
;
3677 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3680 src
= (wxGauge
*) ptr
;
3681 dest
= (wxEvtHandler
*) src
;
3682 return (void *) dest
;
3685 static void *SwigwxGaugeTowxObject(void *ptr
) {
3688 src
= (wxGauge
*) ptr
;
3689 dest
= (wxObject
*) src
;
3690 return (void *) dest
;
3693 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3694 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
* _resultobj
;
3700 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3701 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3702 long _arg5
= (long ) wxGA_HORIZONTAL
;
3703 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3704 char * _arg7
= (char *) "gauge";
3705 PyObject
* _argo0
= 0;
3707 PyObject
* _obj3
= 0;
3709 PyObject
* _obj4
= 0;
3710 PyObject
* _argo6
= 0;
3711 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3727 if (! wxPoint_helper(_obj3
, &_arg3
))
3733 if (! wxSize_helper(_obj4
, &_arg4
))
3737 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3744 wxPy_BEGIN_ALLOW_THREADS
;
3745 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3747 wxPy_END_ALLOW_THREADS
;
3748 if (PyErr_Occurred()) return NULL
;
3750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3751 _resultobj
= Py_BuildValue("s",_ptemp
);
3754 _resultobj
= Py_None
;
3759 #define new_wxPreGauge() (new wxGauge())
3760 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
* _resultobj
;
3763 char *_kwnames
[] = { NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3770 wxPy_BEGIN_ALLOW_THREADS
;
3771 _result
= (wxGauge
*)new_wxPreGauge();
3773 wxPy_END_ALLOW_THREADS
;
3774 if (PyErr_Occurred()) return NULL
;
3776 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3777 _resultobj
= Py_BuildValue("s",_ptemp
);
3780 _resultobj
= Py_None
;
3785 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3786 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
* _resultobj
;
3793 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3794 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3795 long _arg6
= (long ) wxGA_HORIZONTAL
;
3796 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3797 char * _arg8
= (char *) "gauge";
3798 PyObject
* _argo0
= 0;
3799 PyObject
* _argo1
= 0;
3801 PyObject
* _obj4
= 0;
3803 PyObject
* _obj5
= 0;
3804 PyObject
* _argo7
= 0;
3805 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3827 if (! wxPoint_helper(_obj4
, &_arg4
))
3833 if (! wxSize_helper(_obj5
, &_arg5
))
3837 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3838 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3844 wxPy_BEGIN_ALLOW_THREADS
;
3845 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3847 wxPy_END_ALLOW_THREADS
;
3848 if (PyErr_Occurred()) return NULL
;
3849 } _resultobj
= Py_BuildValue("i",_result
);
3853 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3854 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
* _resultobj
;
3858 PyObject
* _argo0
= 0;
3859 char *_kwnames
[] = { "self", NULL
};
3862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3872 wxPy_BEGIN_ALLOW_THREADS
;
3873 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3875 wxPy_END_ALLOW_THREADS
;
3876 if (PyErr_Occurred()) return NULL
;
3877 } _resultobj
= Py_BuildValue("i",_result
);
3881 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3882 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
* _resultobj
;
3886 PyObject
* _argo0
= 0;
3887 char *_kwnames
[] = { "self", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (int )wxGauge_GetRange(_arg0
);
3903 wxPy_END_ALLOW_THREADS
;
3904 if (PyErr_Occurred()) return NULL
;
3905 } _resultobj
= Py_BuildValue("i",_result
);
3909 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3910 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3914 PyObject
* _argo0
= 0;
3915 char *_kwnames
[] = { "self", NULL
};
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3921 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3922 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3931 wxPy_END_ALLOW_THREADS
;
3932 if (PyErr_Occurred()) return NULL
;
3933 } _resultobj
= Py_BuildValue("i",_result
);
3937 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3938 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
* _resultobj
;
3942 PyObject
* _argo0
= 0;
3943 char *_kwnames
[] = { "self", NULL
};
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3956 wxPy_BEGIN_ALLOW_THREADS
;
3957 _result
= (int )wxGauge_GetValue(_arg0
);
3959 wxPy_END_ALLOW_THREADS
;
3960 if (PyErr_Occurred()) return NULL
;
3961 } _resultobj
= Py_BuildValue("i",_result
);
3965 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3966 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3970 PyObject
* _argo0
= 0;
3971 char *_kwnames
[] = { "self","width", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3984 wxPy_BEGIN_ALLOW_THREADS
;
3985 wxGauge_SetBezelFace(_arg0
,_arg1
);
3987 wxPy_END_ALLOW_THREADS
;
3988 if (PyErr_Occurred()) return NULL
;
3989 } Py_INCREF(Py_None
);
3990 _resultobj
= Py_None
;
3994 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3995 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
* _resultobj
;
3999 PyObject
* _argo0
= 0;
4000 char *_kwnames
[] = { "self","range", NULL
};
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
4006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
4013 wxPy_BEGIN_ALLOW_THREADS
;
4014 wxGauge_SetRange(_arg0
,_arg1
);
4016 wxPy_END_ALLOW_THREADS
;
4017 if (PyErr_Occurred()) return NULL
;
4018 } Py_INCREF(Py_None
);
4019 _resultobj
= Py_None
;
4023 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
4024 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4028 PyObject
* _argo0
= 0;
4029 char *_kwnames
[] = { "self","width", NULL
};
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
4035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
4042 wxPy_BEGIN_ALLOW_THREADS
;
4043 wxGauge_SetShadowWidth(_arg0
,_arg1
);
4045 wxPy_END_ALLOW_THREADS
;
4046 if (PyErr_Occurred()) return NULL
;
4047 } Py_INCREF(Py_None
);
4048 _resultobj
= Py_None
;
4052 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4053 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
* _resultobj
;
4057 PyObject
* _argo0
= 0;
4058 char *_kwnames
[] = { "self","pos", NULL
};
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
4064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
4071 wxPy_BEGIN_ALLOW_THREADS
;
4072 wxGauge_SetValue(_arg0
,_arg1
);
4074 wxPy_END_ALLOW_THREADS
;
4075 if (PyErr_Occurred()) return NULL
;
4076 } Py_INCREF(Py_None
);
4077 _resultobj
= Py_None
;
4081 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
4084 src
= (wxStaticBox
*) ptr
;
4085 dest
= (wxControl
*) src
;
4086 return (void *) dest
;
4089 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
4092 src
= (wxStaticBox
*) ptr
;
4093 dest
= (wxWindow
*) src
;
4094 return (void *) dest
;
4097 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
4100 src
= (wxStaticBox
*) ptr
;
4101 dest
= (wxEvtHandler
*) src
;
4102 return (void *) dest
;
4105 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
4108 src
= (wxStaticBox
*) ptr
;
4109 dest
= (wxObject
*) src
;
4110 return (void *) dest
;
4113 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4114 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
* _resultobj
;
4116 wxStaticBox
* _result
;
4120 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4121 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4122 long _arg5
= (long ) 0;
4123 char * _arg6
= (char *) "staticBox";
4124 PyObject
* _argo0
= 0;
4125 PyObject
* _obj2
= 0;
4127 PyObject
* _obj3
= 0;
4129 PyObject
* _obj4
= 0;
4130 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
4144 #if PYTHON_API_VERSION >= 1009
4145 char* tmpPtr
; int tmpSize
;
4146 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4147 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4150 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4152 _arg2
= new wxString(tmpPtr
, tmpSize
);
4154 if (!PyString_Check(_obj2
)) {
4155 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4158 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4164 if (! wxPoint_helper(_obj3
, &_arg3
))
4170 if (! wxSize_helper(_obj4
, &_arg4
))
4174 wxPy_BEGIN_ALLOW_THREADS
;
4175 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4177 wxPy_END_ALLOW_THREADS
;
4178 if (PyErr_Occurred()) return NULL
;
4180 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4181 _resultobj
= Py_BuildValue("s",_ptemp
);
4184 _resultobj
= Py_None
;
4193 #define new_wxPreStaticBox() (new wxStaticBox())
4194 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4196 wxStaticBox
* _result
;
4197 char *_kwnames
[] = { NULL
};
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
4204 wxPy_BEGIN_ALLOW_THREADS
;
4205 _result
= (wxStaticBox
*)new_wxPreStaticBox();
4207 wxPy_END_ALLOW_THREADS
;
4208 if (PyErr_Occurred()) return NULL
;
4210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4211 _resultobj
= Py_BuildValue("s",_ptemp
);
4214 _resultobj
= Py_None
;
4219 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4220 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
* _resultobj
;
4223 wxStaticBox
* _arg0
;
4227 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4228 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4229 long _arg6
= (long ) 0;
4230 char * _arg7
= (char *) "staticBox";
4231 PyObject
* _argo0
= 0;
4232 PyObject
* _argo1
= 0;
4233 PyObject
* _obj3
= 0;
4235 PyObject
* _obj4
= 0;
4237 PyObject
* _obj5
= 0;
4238 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4251 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4252 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4258 #if PYTHON_API_VERSION >= 1009
4259 char* tmpPtr
; int tmpSize
;
4260 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4264 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4266 _arg3
= new wxString(tmpPtr
, tmpSize
);
4268 if (!PyString_Check(_obj3
)) {
4269 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4272 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4278 if (! wxPoint_helper(_obj4
, &_arg4
))
4284 if (! wxSize_helper(_obj5
, &_arg5
))
4288 wxPy_BEGIN_ALLOW_THREADS
;
4289 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4291 wxPy_END_ALLOW_THREADS
;
4292 if (PyErr_Occurred()) return NULL
;
4293 } _resultobj
= Py_BuildValue("i",_result
);
4301 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4304 src
= (wxStaticLine
*) ptr
;
4305 dest
= (wxControl
*) src
;
4306 return (void *) dest
;
4309 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4312 src
= (wxStaticLine
*) ptr
;
4313 dest
= (wxWindow
*) src
;
4314 return (void *) dest
;
4317 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4320 src
= (wxStaticLine
*) ptr
;
4321 dest
= (wxEvtHandler
*) src
;
4322 return (void *) dest
;
4325 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4328 src
= (wxStaticLine
*) ptr
;
4329 dest
= (wxObject
*) src
;
4330 return (void *) dest
;
4333 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4334 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxStaticLine
* _result
;
4339 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4340 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4341 long _arg4
= (long ) wxLI_HORIZONTAL
;
4342 char * _arg5
= (char *) "staticLine";
4343 PyObject
* _argo0
= 0;
4345 PyObject
* _obj2
= 0;
4347 PyObject
* _obj3
= 0;
4348 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4355 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4356 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4364 if (! wxPoint_helper(_obj2
, &_arg2
))
4370 if (! wxSize_helper(_obj3
, &_arg3
))
4374 wxPy_BEGIN_ALLOW_THREADS
;
4375 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4377 wxPy_END_ALLOW_THREADS
;
4378 if (PyErr_Occurred()) return NULL
;
4380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4381 _resultobj
= Py_BuildValue("s",_ptemp
);
4384 _resultobj
= Py_None
;
4389 #define new_wxPreStaticLine() (new wxStaticLine())
4390 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4392 wxStaticLine
* _result
;
4393 char *_kwnames
[] = { NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4400 wxPy_BEGIN_ALLOW_THREADS
;
4401 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4403 wxPy_END_ALLOW_THREADS
;
4404 if (PyErr_Occurred()) return NULL
;
4406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4407 _resultobj
= Py_BuildValue("s",_ptemp
);
4410 _resultobj
= Py_None
;
4415 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4416 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
* _resultobj
;
4419 wxStaticLine
* _arg0
;
4422 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4423 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4424 long _arg5
= (long ) wxLI_HORIZONTAL
;
4425 char * _arg6
= (char *) "staticLine";
4426 PyObject
* _argo0
= 0;
4427 PyObject
* _argo1
= 0;
4429 PyObject
* _obj3
= 0;
4431 PyObject
* _obj4
= 0;
4432 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4454 if (! wxPoint_helper(_obj3
, &_arg3
))
4460 if (! wxSize_helper(_obj4
, &_arg4
))
4464 wxPy_BEGIN_ALLOW_THREADS
;
4465 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4467 wxPy_END_ALLOW_THREADS
;
4468 if (PyErr_Occurred()) return NULL
;
4469 } _resultobj
= Py_BuildValue("i",_result
);
4473 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4476 src
= (wxStaticText
*) ptr
;
4477 dest
= (wxControl
*) src
;
4478 return (void *) dest
;
4481 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4484 src
= (wxStaticText
*) ptr
;
4485 dest
= (wxWindow
*) src
;
4486 return (void *) dest
;
4489 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4492 src
= (wxStaticText
*) ptr
;
4493 dest
= (wxEvtHandler
*) src
;
4494 return (void *) dest
;
4497 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4500 src
= (wxStaticText
*) ptr
;
4501 dest
= (wxObject
*) src
;
4502 return (void *) dest
;
4505 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4506 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
* _resultobj
;
4508 wxStaticText
* _result
;
4512 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4513 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4514 long _arg5
= (long ) 0;
4515 char * _arg6
= (char *) "staticText";
4516 PyObject
* _argo0
= 0;
4517 PyObject
* _obj2
= 0;
4519 PyObject
* _obj3
= 0;
4521 PyObject
* _obj4
= 0;
4522 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4536 #if PYTHON_API_VERSION >= 1009
4537 char* tmpPtr
; int tmpSize
;
4538 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4539 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4542 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4544 _arg2
= new wxString(tmpPtr
, tmpSize
);
4546 if (!PyString_Check(_obj2
)) {
4547 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4550 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4556 if (! wxPoint_helper(_obj3
, &_arg3
))
4562 if (! wxSize_helper(_obj4
, &_arg4
))
4566 wxPy_BEGIN_ALLOW_THREADS
;
4567 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4569 wxPy_END_ALLOW_THREADS
;
4570 if (PyErr_Occurred()) return NULL
;
4572 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4573 _resultobj
= Py_BuildValue("s",_ptemp
);
4576 _resultobj
= Py_None
;
4585 #define new_wxPreStaticText() (new wxStaticText())
4586 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
* _resultobj
;
4588 wxStaticText
* _result
;
4589 char *_kwnames
[] = { NULL
};
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4596 wxPy_BEGIN_ALLOW_THREADS
;
4597 _result
= (wxStaticText
*)new_wxPreStaticText();
4599 wxPy_END_ALLOW_THREADS
;
4600 if (PyErr_Occurred()) return NULL
;
4602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4603 _resultobj
= Py_BuildValue("s",_ptemp
);
4606 _resultobj
= Py_None
;
4611 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4612 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4615 wxStaticText
* _arg0
;
4619 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4620 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4621 long _arg6
= (long ) 0;
4622 char * _arg7
= (char *) "staticText";
4623 PyObject
* _argo0
= 0;
4624 PyObject
* _argo1
= 0;
4625 PyObject
* _obj3
= 0;
4627 PyObject
* _obj4
= 0;
4629 PyObject
* _obj5
= 0;
4630 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4643 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4644 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4650 #if PYTHON_API_VERSION >= 1009
4651 char* tmpPtr
; int tmpSize
;
4652 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4656 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4658 _arg3
= new wxString(tmpPtr
, tmpSize
);
4660 if (!PyString_Check(_obj3
)) {
4661 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4664 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4670 if (! wxPoint_helper(_obj4
, &_arg4
))
4676 if (! wxSize_helper(_obj5
, &_arg5
))
4680 wxPy_BEGIN_ALLOW_THREADS
;
4681 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4683 wxPy_END_ALLOW_THREADS
;
4684 if (PyErr_Occurred()) return NULL
;
4685 } _resultobj
= Py_BuildValue("i",_result
);
4693 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4694 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4697 wxStaticText
* _arg0
;
4698 PyObject
* _argo0
= 0;
4699 char *_kwnames
[] = { "self", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4712 wxPy_BEGIN_ALLOW_THREADS
;
4713 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4715 wxPy_END_ALLOW_THREADS
;
4716 if (PyErr_Occurred()) return NULL
;
4718 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4726 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4727 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4729 wxStaticText
* _arg0
;
4731 PyObject
* _argo0
= 0;
4732 PyObject
* _obj1
= 0;
4733 char *_kwnames
[] = { "self","label", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4746 #if PYTHON_API_VERSION >= 1009
4747 char* tmpPtr
; int tmpSize
;
4748 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4749 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4752 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4754 _arg1
= new wxString(tmpPtr
, tmpSize
);
4756 if (!PyString_Check(_obj1
)) {
4757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4760 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4764 wxPy_BEGIN_ALLOW_THREADS
;
4765 wxStaticText_SetLabel(_arg0
,*_arg1
);
4767 wxPy_END_ALLOW_THREADS
;
4768 if (PyErr_Occurred()) return NULL
;
4769 } Py_INCREF(Py_None
);
4770 _resultobj
= Py_None
;
4778 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4780 wxControlWithItems
*dest
;
4781 src
= (wxListBox
*) ptr
;
4782 dest
= (wxControlWithItems
*) src
;
4783 return (void *) dest
;
4786 static void *SwigwxListBoxTowxControl(void *ptr
) {
4789 src
= (wxListBox
*) ptr
;
4790 dest
= (wxControl
*) src
;
4791 return (void *) dest
;
4794 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4797 src
= (wxListBox
*) ptr
;
4798 dest
= (wxWindow
*) src
;
4799 return (void *) dest
;
4802 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4805 src
= (wxListBox
*) ptr
;
4806 dest
= (wxEvtHandler
*) src
;
4807 return (void *) dest
;
4810 static void *SwigwxListBoxTowxObject(void *ptr
) {
4813 src
= (wxListBox
*) ptr
;
4814 dest
= (wxObject
*) src
;
4815 return (void *) dest
;
4818 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4819 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
* _resultobj
;
4821 wxListBox
* _result
;
4824 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4825 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4827 wxString
* _arg5
= (wxString
*) NULL
;
4828 long _arg6
= (long ) 0;
4829 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4830 char * _arg8
= (char *) "listBox";
4831 PyObject
* _argo0
= 0;
4833 PyObject
* _obj2
= 0;
4835 PyObject
* _obj3
= 0;
4836 PyObject
* _obj5
= 0;
4837 PyObject
* _argo7
= 0;
4838 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4854 if (! wxPoint_helper(_obj2
, &_arg2
))
4860 if (! wxSize_helper(_obj3
, &_arg3
))
4865 _arg5
= wxString_LIST_helper(_obj5
);
4866 if (_arg5
== NULL
) {
4871 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4872 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4879 _arg4
= PyList_Size(_obj5
);
4886 wxPy_BEGIN_ALLOW_THREADS
;
4887 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4889 wxPy_END_ALLOW_THREADS
;
4890 if (PyErr_Occurred()) return NULL
;
4892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4893 _resultobj
= Py_BuildValue("s",_ptemp
);
4896 _resultobj
= Py_None
;
4904 #define new_wxPreListBox() (new wxListBox())
4905 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4907 wxListBox
* _result
;
4908 char *_kwnames
[] = { NULL
};
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4915 wxPy_BEGIN_ALLOW_THREADS
;
4916 _result
= (wxListBox
*)new_wxPreListBox();
4918 wxPy_END_ALLOW_THREADS
;
4919 if (PyErr_Occurred()) return NULL
;
4921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4922 _resultobj
= Py_BuildValue("s",_ptemp
);
4925 _resultobj
= Py_None
;
4930 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4931 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
* _resultobj
;
4937 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4938 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4940 wxString
* _arg6
= (wxString
*) NULL
;
4941 long _arg7
= (long ) 0;
4942 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4943 char * _arg9
= (char *) "listBox";
4944 PyObject
* _argo0
= 0;
4945 PyObject
* _argo1
= 0;
4947 PyObject
* _obj3
= 0;
4949 PyObject
* _obj4
= 0;
4950 PyObject
* _obj6
= 0;
4951 PyObject
* _argo8
= 0;
4952 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4965 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4974 if (! wxPoint_helper(_obj3
, &_arg3
))
4980 if (! wxSize_helper(_obj4
, &_arg4
))
4985 _arg6
= wxString_LIST_helper(_obj6
);
4986 if (_arg6
== NULL
) {
4991 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4999 _arg5
= PyList_Size(_obj6
);
5006 wxPy_BEGIN_ALLOW_THREADS
;
5007 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5009 wxPy_END_ALLOW_THREADS
;
5010 if (PyErr_Occurred()) return NULL
;
5011 } _resultobj
= Py_BuildValue("i",_result
);
5018 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
5019 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5022 PyObject
* _argo0
= 0;
5023 char *_kwnames
[] = { "self", NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
5029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
5036 wxPy_BEGIN_ALLOW_THREADS
;
5037 wxListBox_Clear(_arg0
);
5039 wxPy_END_ALLOW_THREADS
;
5040 if (PyErr_Occurred()) return NULL
;
5041 } Py_INCREF(Py_None
);
5042 _resultobj
= Py_None
;
5046 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
5047 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
* _resultobj
;
5051 PyObject
* _argo0
= 0;
5052 char *_kwnames
[] = { "self","n", NULL
};
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
5058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
5065 wxPy_BEGIN_ALLOW_THREADS
;
5066 wxListBox_Deselect(_arg0
,_arg1
);
5068 wxPy_END_ALLOW_THREADS
;
5069 if (PyErr_Occurred()) return NULL
;
5070 } Py_INCREF(Py_None
);
5071 _resultobj
= Py_None
;
5075 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
5077 self
->GetSelections(lst
);
5078 PyObject
*tup
= PyTuple_New(lst
.GetCount());
5079 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
5080 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
5084 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
* _resultobj
;
5088 PyObject
* _argo0
= 0;
5089 char *_kwnames
[] = { "self", NULL
};
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
5095 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5096 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5097 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5102 wxPy_BEGIN_ALLOW_THREADS
;
5103 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
5105 wxPy_END_ALLOW_THREADS
;
5106 if (PyErr_Occurred()) return NULL
;
5108 _resultobj
= _result
;
5113 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5114 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
* _resultobj
;
5120 PyObject
* _argo0
= 0;
5121 PyObject
* _obj2
= 0;
5122 char *_kwnames
[] = { "self","choices","pos", NULL
};
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5135 _arg2
= wxString_LIST_helper(_obj2
);
5136 if (_arg2
== NULL
) {
5142 _arg1
= PyList_Size(_obj2
);
5149 wxPy_BEGIN_ALLOW_THREADS
;
5150 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5152 wxPy_END_ALLOW_THREADS
;
5153 if (PyErr_Occurred()) return NULL
;
5154 } Py_INCREF(Py_None
);
5155 _resultobj
= Py_None
;
5162 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5163 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5164 PyObject
* _resultobj
;
5168 PyObject
* _argo0
= 0;
5169 char *_kwnames
[] = { "self","n", NULL
};
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5182 wxPy_BEGIN_ALLOW_THREADS
;
5183 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
5185 wxPy_END_ALLOW_THREADS
;
5186 if (PyErr_Occurred()) return NULL
;
5187 } _resultobj
= Py_BuildValue("i",_result
);
5191 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5192 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
* _resultobj
;
5197 PyObject
* _argo0
= 0;
5198 char *_kwnames
[] = { "self","n", NULL
};
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5211 wxPy_BEGIN_ALLOW_THREADS
;
5212 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5214 wxPy_END_ALLOW_THREADS
;
5215 if (PyErr_Occurred()) return NULL
;
5216 } _resultobj
= Py_BuildValue("i",_result
);
5220 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5221 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
* _resultobj
;
5226 PyObject
* _argo0
= 0;
5227 PyObject
* _obj2
= 0;
5228 char *_kwnames
[] = { "self","choices", NULL
};
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5242 _arg2
= wxString_LIST_helper(_obj2
);
5243 if (_arg2
== NULL
) {
5249 _arg1
= PyList_Size(_obj2
);
5256 wxPy_BEGIN_ALLOW_THREADS
;
5257 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5259 wxPy_END_ALLOW_THREADS
;
5260 if (PyErr_Occurred()) return NULL
;
5261 } Py_INCREF(Py_None
);
5262 _resultobj
= Py_None
;
5269 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5270 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
* _resultobj
;
5274 PyObject
* _argo0
= 0;
5275 char *_kwnames
[] = { "self","n", NULL
};
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5288 wxPy_BEGIN_ALLOW_THREADS
;
5289 wxListBox_SetFirstItem(_arg0
,_arg1
);
5291 wxPy_END_ALLOW_THREADS
;
5292 if (PyErr_Occurred()) return NULL
;
5293 } Py_INCREF(Py_None
);
5294 _resultobj
= Py_None
;
5298 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5299 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
* _resultobj
;
5303 PyObject
* _argo0
= 0;
5304 PyObject
* _obj1
= 0;
5305 char *_kwnames
[] = { "self","string", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5318 #if PYTHON_API_VERSION >= 1009
5319 char* tmpPtr
; int tmpSize
;
5320 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5324 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5326 _arg1
= new wxString(tmpPtr
, tmpSize
);
5328 if (!PyString_Check(_obj1
)) {
5329 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5332 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5336 wxPy_BEGIN_ALLOW_THREADS
;
5337 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5339 wxPy_END_ALLOW_THREADS
;
5340 if (PyErr_Occurred()) return NULL
;
5341 } Py_INCREF(Py_None
);
5342 _resultobj
= Py_None
;
5350 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5351 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
* _resultobj
;
5355 bool _arg2
= (bool ) TRUE
;
5356 PyObject
* _argo0
= 0;
5357 int tempbool2
= (int) TRUE
;
5358 char *_kwnames
[] = { "self","n","select", NULL
};
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5370 _arg2
= (bool ) tempbool2
;
5372 wxPy_BEGIN_ALLOW_THREADS
;
5373 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5375 wxPy_END_ALLOW_THREADS
;
5376 if (PyErr_Occurred()) return NULL
;
5377 } Py_INCREF(Py_None
);
5378 _resultobj
= Py_None
;
5382 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5383 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
* _resultobj
;
5388 PyObject
* _argo0
= 0;
5389 PyObject
* _obj2
= 0;
5390 char *_kwnames
[] = { "self","n","string", NULL
};
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5403 #if PYTHON_API_VERSION >= 1009
5404 char* tmpPtr
; int tmpSize
;
5405 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5409 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5411 _arg2
= new wxString(tmpPtr
, tmpSize
);
5413 if (!PyString_Check(_obj2
)) {
5414 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5417 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5421 wxPy_BEGIN_ALLOW_THREADS
;
5422 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5424 wxPy_END_ALLOW_THREADS
;
5425 if (PyErr_Occurred()) return NULL
;
5426 } Py_INCREF(Py_None
);
5427 _resultobj
= Py_None
;
5435 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5436 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
* _resultobj
;
5440 bool _arg2
= (bool ) TRUE
;
5441 PyObject
* _argo0
= 0;
5442 PyObject
* _obj1
= 0;
5443 int tempbool2
= (int) TRUE
;
5444 char *_kwnames
[] = { "self","string","select", NULL
};
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5457 #if PYTHON_API_VERSION >= 1009
5458 char* tmpPtr
; int tmpSize
;
5459 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5460 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5463 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5465 _arg1
= new wxString(tmpPtr
, tmpSize
);
5467 if (!PyString_Check(_obj1
)) {
5468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5471 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5474 _arg2
= (bool ) tempbool2
;
5476 wxPy_BEGIN_ALLOW_THREADS
;
5477 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5479 wxPy_END_ALLOW_THREADS
;
5480 if (PyErr_Occurred()) return NULL
;
5481 } Py_INCREF(Py_None
);
5482 _resultobj
= Py_None
;
5490 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5491 wxCheckListBox
*src
;
5493 src
= (wxCheckListBox
*) ptr
;
5494 dest
= (wxListBox
*) src
;
5495 return (void *) dest
;
5498 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5499 wxCheckListBox
*src
;
5500 wxControlWithItems
*dest
;
5501 src
= (wxCheckListBox
*) ptr
;
5502 dest
= (wxControlWithItems
*) src
;
5503 return (void *) dest
;
5506 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5507 wxCheckListBox
*src
;
5509 src
= (wxCheckListBox
*) ptr
;
5510 dest
= (wxControl
*) src
;
5511 return (void *) dest
;
5514 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5515 wxCheckListBox
*src
;
5517 src
= (wxCheckListBox
*) ptr
;
5518 dest
= (wxWindow
*) src
;
5519 return (void *) dest
;
5522 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5523 wxCheckListBox
*src
;
5525 src
= (wxCheckListBox
*) ptr
;
5526 dest
= (wxEvtHandler
*) src
;
5527 return (void *) dest
;
5530 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5531 wxCheckListBox
*src
;
5533 src
= (wxCheckListBox
*) ptr
;
5534 dest
= (wxObject
*) src
;
5535 return (void *) dest
;
5538 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5539 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
* _resultobj
;
5541 wxCheckListBox
* _result
;
5544 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5545 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5546 int _arg4
= (int ) 0;
5547 wxString
* _arg5
= (wxString
*) NULL
;
5548 long _arg6
= (long ) 0;
5549 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5550 char * _arg8
= (char *) "listBox";
5551 PyObject
* _argo0
= 0;
5553 PyObject
* _obj2
= 0;
5555 PyObject
* _obj3
= 0;
5556 PyObject
* _obj5
= 0;
5557 PyObject
* _argo7
= 0;
5558 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5574 if (! wxPoint_helper(_obj2
, &_arg2
))
5580 if (! wxSize_helper(_obj3
, &_arg3
))
5585 _arg5
= wxString_LIST_helper(_obj5
);
5586 if (_arg5
== NULL
) {
5591 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5599 _arg4
= PyList_Size(_obj5
);
5606 wxPy_BEGIN_ALLOW_THREADS
;
5607 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5609 wxPy_END_ALLOW_THREADS
;
5610 if (PyErr_Occurred()) return NULL
;
5612 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5613 _resultobj
= Py_BuildValue("s",_ptemp
);
5616 _resultobj
= Py_None
;
5624 #define new_wxPreCheckListBox() (new wxCheckListBox())
5625 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
* _resultobj
;
5627 wxCheckListBox
* _result
;
5628 char *_kwnames
[] = { NULL
};
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5635 wxPy_BEGIN_ALLOW_THREADS
;
5636 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5638 wxPy_END_ALLOW_THREADS
;
5639 if (PyErr_Occurred()) return NULL
;
5641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5642 _resultobj
= Py_BuildValue("s",_ptemp
);
5645 _resultobj
= Py_None
;
5650 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5651 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
* _resultobj
;
5654 wxCheckListBox
* _arg0
;
5657 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5658 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5659 int _arg5
= (int ) 0;
5660 wxString
* _arg6
= (wxString
*) NULL
;
5661 long _arg7
= (long ) 0;
5662 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5663 char * _arg9
= (char *) "listBox";
5664 PyObject
* _argo0
= 0;
5665 PyObject
* _argo1
= 0;
5667 PyObject
* _obj3
= 0;
5669 PyObject
* _obj4
= 0;
5670 PyObject
* _obj6
= 0;
5671 PyObject
* _argo8
= 0;
5672 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5685 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5686 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5694 if (! wxPoint_helper(_obj3
, &_arg3
))
5700 if (! wxSize_helper(_obj4
, &_arg4
))
5705 _arg6
= wxString_LIST_helper(_obj6
);
5706 if (_arg6
== NULL
) {
5711 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5712 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5719 _arg5
= PyList_Size(_obj6
);
5726 wxPy_BEGIN_ALLOW_THREADS
;
5727 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5729 wxPy_END_ALLOW_THREADS
;
5730 if (PyErr_Occurred()) return NULL
;
5731 } _resultobj
= Py_BuildValue("i",_result
);
5738 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5739 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
* _resultobj
;
5742 wxCheckListBox
* _arg0
;
5744 PyObject
* _argo0
= 0;
5745 char *_kwnames
[] = { "self","uiIndex", NULL
};
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5758 wxPy_BEGIN_ALLOW_THREADS
;
5759 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5761 wxPy_END_ALLOW_THREADS
;
5762 if (PyErr_Occurred()) return NULL
;
5763 } _resultobj
= Py_BuildValue("i",_result
);
5767 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5768 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
* _resultobj
;
5770 wxCheckListBox
* _arg0
;
5772 int _arg2
= (int ) TRUE
;
5773 PyObject
* _argo0
= 0;
5774 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5787 wxPy_BEGIN_ALLOW_THREADS
;
5788 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5790 wxPy_END_ALLOW_THREADS
;
5791 if (PyErr_Occurred()) return NULL
;
5792 } Py_INCREF(Py_None
);
5793 _resultobj
= Py_None
;
5797 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5798 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
* _resultobj
;
5800 wxCheckListBox
* _arg0
;
5804 PyObject
* _argo0
= 0;
5805 PyObject
* _obj2
= 0;
5806 char *_kwnames
[] = { "self","choices","pos", NULL
};
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5819 _arg2
= wxString_LIST_helper(_obj2
);
5820 if (_arg2
== NULL
) {
5826 _arg1
= PyList_Size(_obj2
);
5833 wxPy_BEGIN_ALLOW_THREADS
;
5834 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5836 wxPy_END_ALLOW_THREADS
;
5837 if (PyErr_Occurred()) return NULL
;
5838 } Py_INCREF(Py_None
);
5839 _resultobj
= Py_None
;
5846 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5847 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5850 wxCheckListBox
* _arg0
;
5851 PyObject
* _argo0
= 0;
5852 char *_kwnames
[] = { "self", NULL
};
5855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5865 wxPy_BEGIN_ALLOW_THREADS
;
5866 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5868 wxPy_END_ALLOW_THREADS
;
5869 if (PyErr_Occurred()) return NULL
;
5870 } _resultobj
= Py_BuildValue("i",_result
);
5874 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5875 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5877 wxTextAttr
* _result
;
5878 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5879 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5880 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5882 PyObject
* _obj0
= 0;
5884 PyObject
* _obj1
= 0;
5885 PyObject
* _argo2
= 0;
5886 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5895 if (! wxColour_helper(_obj0
, &_arg0
))
5901 if (! wxColour_helper(_obj1
, &_arg1
))
5905 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5906 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5912 wxPy_BEGIN_ALLOW_THREADS
;
5913 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5915 wxPy_END_ALLOW_THREADS
;
5916 if (PyErr_Occurred()) return NULL
;
5918 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5919 _resultobj
= Py_BuildValue("s",_ptemp
);
5922 _resultobj
= Py_None
;
5927 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5928 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
* _resultobj
;
5931 PyObject
* _argo0
= 0;
5932 char *_kwnames
[] = { "self", NULL
};
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5945 wxPy_BEGIN_ALLOW_THREADS
;
5946 delete_wxTextAttr(_arg0
);
5948 wxPy_END_ALLOW_THREADS
;
5949 if (PyErr_Occurred()) return NULL
;
5950 } Py_INCREF(Py_None
);
5951 _resultobj
= Py_None
;
5955 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5956 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5960 PyObject
* _argo0
= 0;
5962 PyObject
* _obj1
= 0;
5963 char *_kwnames
[] = { "self","colText", NULL
};
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5977 if (! wxColour_helper(_obj1
, &_arg1
))
5981 wxPy_BEGIN_ALLOW_THREADS
;
5982 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5984 wxPy_END_ALLOW_THREADS
;
5985 if (PyErr_Occurred()) return NULL
;
5986 } Py_INCREF(Py_None
);
5987 _resultobj
= Py_None
;
5991 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5992 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
* _resultobj
;
5996 PyObject
* _argo0
= 0;
5998 PyObject
* _obj1
= 0;
5999 char *_kwnames
[] = { "self","colBack", NULL
};
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
6005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
6013 if (! wxColour_helper(_obj1
, &_arg1
))
6017 wxPy_BEGIN_ALLOW_THREADS
;
6018 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
6020 wxPy_END_ALLOW_THREADS
;
6021 if (PyErr_Occurred()) return NULL
;
6022 } Py_INCREF(Py_None
);
6023 _resultobj
= Py_None
;
6027 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6028 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
* _resultobj
;
6032 PyObject
* _argo0
= 0;
6033 PyObject
* _argo1
= 0;
6034 char *_kwnames
[] = { "self","font", NULL
};
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
6040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
6047 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6048 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
6054 wxPy_BEGIN_ALLOW_THREADS
;
6055 wxTextAttr_SetFont(_arg0
,*_arg1
);
6057 wxPy_END_ALLOW_THREADS
;
6058 if (PyErr_Occurred()) return NULL
;
6059 } Py_INCREF(Py_None
);
6060 _resultobj
= Py_None
;
6064 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6065 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
* _resultobj
;
6069 PyObject
* _argo0
= 0;
6070 char *_kwnames
[] = { "self", NULL
};
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
6076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6083 wxPy_BEGIN_ALLOW_THREADS
;
6084 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
6086 wxPy_END_ALLOW_THREADS
;
6087 if (PyErr_Occurred()) return NULL
;
6088 } _resultobj
= Py_BuildValue("i",_result
);
6092 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6093 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6097 PyObject
* _argo0
= 0;
6098 char *_kwnames
[] = { "self", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6111 wxPy_BEGIN_ALLOW_THREADS
;
6112 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
6114 wxPy_END_ALLOW_THREADS
;
6115 if (PyErr_Occurred()) return NULL
;
6116 } _resultobj
= Py_BuildValue("i",_result
);
6120 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6121 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
* _resultobj
;
6125 PyObject
* _argo0
= 0;
6126 char *_kwnames
[] = { "self", NULL
};
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
6132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6139 wxPy_BEGIN_ALLOW_THREADS
;
6140 _result
= (bool )wxTextAttr_HasFont(_arg0
);
6142 wxPy_END_ALLOW_THREADS
;
6143 if (PyErr_Occurred()) return NULL
;
6144 } _resultobj
= Py_BuildValue("i",_result
);
6148 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6149 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
* _resultobj
;
6153 PyObject
* _argo0
= 0;
6154 char *_kwnames
[] = { "self", NULL
};
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
6161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6168 wxPy_BEGIN_ALLOW_THREADS
;
6169 const wxColour
& _result_ref
= wxTextAttr_GetTextColour(_arg0
);
6170 _result
= (wxColour
*) &_result_ref
;
6172 wxPy_END_ALLOW_THREADS
;
6173 if (PyErr_Occurred()) return NULL
;
6175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6176 _resultobj
= Py_BuildValue("s",_ptemp
);
6179 _resultobj
= Py_None
;
6184 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6185 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
* _resultobj
;
6189 PyObject
* _argo0
= 0;
6190 char *_kwnames
[] = { "self", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6204 wxPy_BEGIN_ALLOW_THREADS
;
6205 const wxColour
& _result_ref
= wxTextAttr_GetBackgroundColour(_arg0
);
6206 _result
= (wxColour
*) &_result_ref
;
6208 wxPy_END_ALLOW_THREADS
;
6209 if (PyErr_Occurred()) return NULL
;
6211 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
6212 _resultobj
= Py_BuildValue("s",_ptemp
);
6215 _resultobj
= Py_None
;
6220 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6221 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6225 PyObject
* _argo0
= 0;
6226 char *_kwnames
[] = { "self", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6240 wxPy_BEGIN_ALLOW_THREADS
;
6241 const wxFont
& _result_ref
= wxTextAttr_GetFont(_arg0
);
6242 _result
= (wxFont
*) &_result_ref
;
6244 wxPy_END_ALLOW_THREADS
;
6245 if (PyErr_Occurred()) return NULL
;
6247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
6248 _resultobj
= Py_BuildValue("s",_ptemp
);
6251 _resultobj
= Py_None
;
6256 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6257 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
* _resultobj
;
6261 PyObject
* _argo0
= 0;
6262 char *_kwnames
[] = { "self", NULL
};
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
6268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6275 wxPy_BEGIN_ALLOW_THREADS
;
6276 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
6278 wxPy_END_ALLOW_THREADS
;
6279 if (PyErr_Occurred()) return NULL
;
6280 } _resultobj
= Py_BuildValue("i",_result
);
6284 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6287 src
= (wxTextCtrl
*) ptr
;
6288 dest
= (wxControl
*) src
;
6289 return (void *) dest
;
6292 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6295 src
= (wxTextCtrl
*) ptr
;
6296 dest
= (wxWindow
*) src
;
6297 return (void *) dest
;
6300 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6303 src
= (wxTextCtrl
*) ptr
;
6304 dest
= (wxEvtHandler
*) src
;
6305 return (void *) dest
;
6308 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6311 src
= (wxTextCtrl
*) ptr
;
6312 dest
= (wxObject
*) src
;
6313 return (void *) dest
;
6316 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6317 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
* _resultobj
;
6319 wxTextCtrl
* _result
;
6322 char * _arg2
= (char *) "";
6323 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6324 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6325 long _arg5
= (long ) 0;
6326 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6327 char * _arg7
= (char *) "text";
6328 PyObject
* _argo0
= 0;
6330 PyObject
* _obj3
= 0;
6332 PyObject
* _obj4
= 0;
6333 PyObject
* _argo6
= 0;
6334 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6350 if (! wxPoint_helper(_obj3
, &_arg3
))
6356 if (! wxSize_helper(_obj4
, &_arg4
))
6360 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6361 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6367 wxPy_BEGIN_ALLOW_THREADS
;
6368 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6370 wxPy_END_ALLOW_THREADS
;
6371 if (PyErr_Occurred()) return NULL
;
6373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6374 _resultobj
= Py_BuildValue("s",_ptemp
);
6377 _resultobj
= Py_None
;
6382 #define new_wxPreTextCtrl() (new wxTextCtrl())
6383 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6385 wxTextCtrl
* _result
;
6386 char *_kwnames
[] = { NULL
};
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6393 wxPy_BEGIN_ALLOW_THREADS
;
6394 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6396 wxPy_END_ALLOW_THREADS
;
6397 if (PyErr_Occurred()) return NULL
;
6399 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6400 _resultobj
= Py_BuildValue("s",_ptemp
);
6403 _resultobj
= Py_None
;
6408 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6409 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
* _resultobj
;
6415 char * _arg3
= (char *) "";
6416 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6417 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6418 long _arg6
= (long ) 0;
6419 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6420 char * _arg8
= (char *) "text";
6421 PyObject
* _argo0
= 0;
6422 PyObject
* _argo1
= 0;
6424 PyObject
* _obj4
= 0;
6426 PyObject
* _obj5
= 0;
6427 PyObject
* _argo7
= 0;
6428 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6441 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6442 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6450 if (! wxPoint_helper(_obj4
, &_arg4
))
6456 if (! wxSize_helper(_obj5
, &_arg5
))
6460 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6461 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6467 wxPy_BEGIN_ALLOW_THREADS
;
6468 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6470 wxPy_END_ALLOW_THREADS
;
6471 if (PyErr_Occurred()) return NULL
;
6472 } _resultobj
= Py_BuildValue("i",_result
);
6476 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6477 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
* _resultobj
;
6481 PyObject
* _argo0
= 0;
6482 char *_kwnames
[] = { "self", NULL
};
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6495 wxPy_BEGIN_ALLOW_THREADS
;
6496 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6498 wxPy_END_ALLOW_THREADS
;
6499 if (PyErr_Occurred()) return NULL
;
6501 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6509 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6510 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6511 PyObject
* _resultobj
;
6514 PyObject
* _argo0
= 0;
6515 PyObject
* _obj1
= 0;
6516 char *_kwnames
[] = { "self","value", NULL
};
6519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6529 #if PYTHON_API_VERSION >= 1009
6530 char* tmpPtr
; int tmpSize
;
6531 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6535 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6537 _arg1
= new wxString(tmpPtr
, tmpSize
);
6539 if (!PyString_Check(_obj1
)) {
6540 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6543 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6547 wxPy_BEGIN_ALLOW_THREADS
;
6548 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6550 wxPy_END_ALLOW_THREADS
;
6551 if (PyErr_Occurred()) return NULL
;
6552 } Py_INCREF(Py_None
);
6553 _resultobj
= Py_None
;
6561 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6562 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
* _resultobj
;
6567 PyObject
* _argo0
= 0;
6568 char *_kwnames
[] = { "self","lineNo", NULL
};
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6581 wxPy_BEGIN_ALLOW_THREADS
;
6582 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6584 wxPy_END_ALLOW_THREADS
;
6585 if (PyErr_Occurred()) return NULL
;
6586 } _resultobj
= Py_BuildValue("i",_result
);
6590 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6591 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
* _resultobj
;
6596 PyObject
* _argo0
= 0;
6597 char *_kwnames
[] = { "self","lineNo", NULL
};
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6610 wxPy_BEGIN_ALLOW_THREADS
;
6611 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6613 wxPy_END_ALLOW_THREADS
;
6614 if (PyErr_Occurred()) return NULL
;
6616 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6624 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6625 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
* _resultobj
;
6629 PyObject
* _argo0
= 0;
6630 char *_kwnames
[] = { "self", NULL
};
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6643 wxPy_BEGIN_ALLOW_THREADS
;
6644 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6646 wxPy_END_ALLOW_THREADS
;
6647 if (PyErr_Occurred()) return NULL
;
6648 } _resultobj
= Py_BuildValue("i",_result
);
6652 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6653 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
* _resultobj
;
6657 PyObject
* _argo0
= 0;
6658 char *_kwnames
[] = { "self", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6671 wxPy_BEGIN_ALLOW_THREADS
;
6672 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6674 wxPy_END_ALLOW_THREADS
;
6675 if (PyErr_Occurred()) return NULL
;
6676 } _resultobj
= Py_BuildValue("i",_result
);
6680 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6681 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
* _resultobj
;
6685 PyObject
* _argo0
= 0;
6686 char *_kwnames
[] = { "self", NULL
};
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6699 wxPy_BEGIN_ALLOW_THREADS
;
6700 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6702 wxPy_END_ALLOW_THREADS
;
6703 if (PyErr_Occurred()) return NULL
;
6704 } _resultobj
= Py_BuildValue("i",_result
);
6708 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6709 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6716 PyObject
* _argo0
= 0;
6717 char *_kwnames
[] = { "self", NULL
};
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6736 wxPy_BEGIN_ALLOW_THREADS
;
6737 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6739 wxPy_END_ALLOW_THREADS
;
6740 if (PyErr_Occurred()) return NULL
;
6741 } Py_INCREF(Py_None
);
6742 _resultobj
= Py_None
;
6745 o
= PyInt_FromLong((long) (*_arg1
));
6746 _resultobj
= t_output_helper(_resultobj
, o
);
6750 o
= PyInt_FromLong((long) (*_arg2
));
6751 _resultobj
= t_output_helper(_resultobj
, o
);
6756 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6757 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
* _resultobj
;
6761 PyObject
* _argo0
= 0;
6762 char *_kwnames
[] = { "self", NULL
};
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6775 wxPy_BEGIN_ALLOW_THREADS
;
6776 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6778 wxPy_END_ALLOW_THREADS
;
6779 if (PyErr_Occurred()) return NULL
;
6781 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6789 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6790 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
* _resultobj
;
6793 PyObject
* _argo0
= 0;
6794 char *_kwnames
[] = { "self", NULL
};
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6807 wxPy_BEGIN_ALLOW_THREADS
;
6808 wxTextCtrl_Clear(_arg0
);
6810 wxPy_END_ALLOW_THREADS
;
6811 if (PyErr_Occurred()) return NULL
;
6812 } Py_INCREF(Py_None
);
6813 _resultobj
= Py_None
;
6817 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6818 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
* _resultobj
;
6824 PyObject
* _argo0
= 0;
6825 PyObject
* _obj3
= 0;
6826 char *_kwnames
[] = { "self","from","to","value", NULL
};
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6839 #if PYTHON_API_VERSION >= 1009
6840 char* tmpPtr
; int tmpSize
;
6841 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6842 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6845 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6847 _arg3
= new wxString(tmpPtr
, tmpSize
);
6849 if (!PyString_Check(_obj3
)) {
6850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6853 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6857 wxPy_BEGIN_ALLOW_THREADS
;
6858 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6860 wxPy_END_ALLOW_THREADS
;
6861 if (PyErr_Occurred()) return NULL
;
6862 } Py_INCREF(Py_None
);
6863 _resultobj
= Py_None
;
6871 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6872 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
* _resultobj
;
6877 PyObject
* _argo0
= 0;
6878 char *_kwnames
[] = { "self","from","to", NULL
};
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6891 wxPy_BEGIN_ALLOW_THREADS
;
6892 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6894 wxPy_END_ALLOW_THREADS
;
6895 if (PyErr_Occurred()) return NULL
;
6896 } Py_INCREF(Py_None
);
6897 _resultobj
= Py_None
;
6901 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6902 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
* _resultobj
;
6907 PyObject
* _argo0
= 0;
6908 PyObject
* _obj1
= 0;
6909 char *_kwnames
[] = { "self","file", NULL
};
6912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6922 #if PYTHON_API_VERSION >= 1009
6923 char* tmpPtr
; int tmpSize
;
6924 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6925 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6928 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6930 _arg1
= new wxString(tmpPtr
, tmpSize
);
6932 if (!PyString_Check(_obj1
)) {
6933 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6936 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6940 wxPy_BEGIN_ALLOW_THREADS
;
6941 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6943 wxPy_END_ALLOW_THREADS
;
6944 if (PyErr_Occurred()) return NULL
;
6945 } _resultobj
= Py_BuildValue("i",_result
);
6953 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6954 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
* _resultobj
;
6958 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6959 PyObject
* _argo0
= 0;
6960 PyObject
* _obj1
= 0;
6961 char *_kwnames
[] = { "self","file", NULL
};
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6975 #if PYTHON_API_VERSION >= 1009
6976 char* tmpPtr
; int tmpSize
;
6977 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6978 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6981 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6983 _arg1
= new wxString(tmpPtr
, tmpSize
);
6985 if (!PyString_Check(_obj1
)) {
6986 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6989 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6993 wxPy_BEGIN_ALLOW_THREADS
;
6994 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6996 wxPy_END_ALLOW_THREADS
;
6997 if (PyErr_Occurred()) return NULL
;
6998 } _resultobj
= Py_BuildValue("i",_result
);
7006 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7007 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
* _resultobj
;
7010 PyObject
* _argo0
= 0;
7011 char *_kwnames
[] = { "self", NULL
};
7014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
7017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
7024 wxPy_BEGIN_ALLOW_THREADS
;
7025 wxTextCtrl_DiscardEdits(_arg0
);
7027 wxPy_END_ALLOW_THREADS
;
7028 if (PyErr_Occurred()) return NULL
;
7029 } Py_INCREF(Py_None
);
7030 _resultobj
= Py_None
;
7034 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7035 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
* _resultobj
;
7038 unsigned long _arg1
;
7039 PyObject
* _argo0
= 0;
7040 char *_kwnames
[] = { "self","len", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
7046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7053 wxPy_BEGIN_ALLOW_THREADS
;
7054 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
7056 wxPy_END_ALLOW_THREADS
;
7057 if (PyErr_Occurred()) return NULL
;
7058 } Py_INCREF(Py_None
);
7059 _resultobj
= Py_None
;
7063 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7064 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
* _resultobj
;
7068 PyObject
* _argo0
= 0;
7069 PyObject
* _obj1
= 0;
7070 char *_kwnames
[] = { "self","text", NULL
};
7073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
7076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7083 #if PYTHON_API_VERSION >= 1009
7084 char* tmpPtr
; int tmpSize
;
7085 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7089 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7091 _arg1
= new wxString(tmpPtr
, tmpSize
);
7093 if (!PyString_Check(_obj1
)) {
7094 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7097 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7101 wxPy_BEGIN_ALLOW_THREADS
;
7102 wxTextCtrl_WriteText(_arg0
,*_arg1
);
7104 wxPy_END_ALLOW_THREADS
;
7105 if (PyErr_Occurred()) return NULL
;
7106 } Py_INCREF(Py_None
);
7107 _resultobj
= Py_None
;
7115 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7116 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
* _resultobj
;
7120 PyObject
* _argo0
= 0;
7121 PyObject
* _obj1
= 0;
7122 char *_kwnames
[] = { "self","text", NULL
};
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
7128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7135 #if PYTHON_API_VERSION >= 1009
7136 char* tmpPtr
; int tmpSize
;
7137 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7141 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7143 _arg1
= new wxString(tmpPtr
, tmpSize
);
7145 if (!PyString_Check(_obj1
)) {
7146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7149 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7153 wxPy_BEGIN_ALLOW_THREADS
;
7154 wxTextCtrl_AppendText(_arg0
,*_arg1
);
7156 wxPy_END_ALLOW_THREADS
;
7157 if (PyErr_Occurred()) return NULL
;
7158 } Py_INCREF(Py_None
);
7159 _resultobj
= Py_None
;
7167 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7168 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7169 PyObject
* _resultobj
;
7175 PyObject
* _argo0
= 0;
7176 PyObject
* _argo3
= 0;
7177 char *_kwnames
[] = { "self","start","end","style", NULL
};
7180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
7183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7190 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7191 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
7192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7197 wxPy_BEGIN_ALLOW_THREADS
;
7198 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
7200 wxPy_END_ALLOW_THREADS
;
7201 if (PyErr_Occurred()) return NULL
;
7202 } _resultobj
= Py_BuildValue("i",_result
);
7206 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7207 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
* _resultobj
;
7212 PyObject
* _argo0
= 0;
7213 PyObject
* _argo1
= 0;
7214 char *_kwnames
[] = { "self","style", NULL
};
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7234 wxPy_BEGIN_ALLOW_THREADS
;
7235 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7237 wxPy_END_ALLOW_THREADS
;
7238 if (PyErr_Occurred()) return NULL
;
7239 } _resultobj
= Py_BuildValue("i",_result
);
7243 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7244 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7245 PyObject
* _resultobj
;
7246 wxTextAttr
* _result
;
7248 PyObject
* _argo0
= 0;
7249 char *_kwnames
[] = { "self", NULL
};
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_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_GetDefaultStyle. Expected _wxTextCtrl_p.");
7263 wxPy_BEGIN_ALLOW_THREADS
;
7264 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7265 _result
= (wxTextAttr
*) &_result_ref
;
7267 wxPy_END_ALLOW_THREADS
;
7268 if (PyErr_Occurred()) return NULL
;
7270 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7271 _resultobj
= Py_BuildValue("s",_ptemp
);
7274 _resultobj
= Py_None
;
7279 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7280 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
* _resultobj
;
7286 PyObject
* _argo0
= 0;
7287 char *_kwnames
[] = { "self","x","y", NULL
};
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7300 wxPy_BEGIN_ALLOW_THREADS
;
7301 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7303 wxPy_END_ALLOW_THREADS
;
7304 if (PyErr_Occurred()) return NULL
;
7305 } _resultobj
= Py_BuildValue("l",_result
);
7309 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7310 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
* _resultobj
;
7319 PyObject
* _argo0
= 0;
7320 char *_kwnames
[] = { "self","pos", NULL
};
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7339 wxPy_BEGIN_ALLOW_THREADS
;
7340 _result
= (bool )wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7342 wxPy_END_ALLOW_THREADS
;
7343 if (PyErr_Occurred()) return NULL
;
7344 } _resultobj
= Py_BuildValue("i",_result
);
7347 o
= PyInt_FromLong((long) (*_arg2
));
7348 _resultobj
= t_output_helper(_resultobj
, o
);
7352 o
= PyInt_FromLong((long) (*_arg3
));
7353 _resultobj
= t_output_helper(_resultobj
, o
);
7358 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7359 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
* _resultobj
;
7363 PyObject
* _argo0
= 0;
7364 char *_kwnames
[] = { "self","pos", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7377 wxPy_BEGIN_ALLOW_THREADS
;
7378 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7380 wxPy_END_ALLOW_THREADS
;
7381 if (PyErr_Occurred()) return NULL
;
7382 } Py_INCREF(Py_None
);
7383 _resultobj
= Py_None
;
7387 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7388 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
* _resultobj
;
7391 PyObject
* _argo0
= 0;
7392 char *_kwnames
[] = { "self", NULL
};
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7405 wxPy_BEGIN_ALLOW_THREADS
;
7406 wxTextCtrl_Copy(_arg0
);
7408 wxPy_END_ALLOW_THREADS
;
7409 if (PyErr_Occurred()) return NULL
;
7410 } Py_INCREF(Py_None
);
7411 _resultobj
= Py_None
;
7415 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7416 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
* _resultobj
;
7419 PyObject
* _argo0
= 0;
7420 char *_kwnames
[] = { "self", NULL
};
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7433 wxPy_BEGIN_ALLOW_THREADS
;
7434 wxTextCtrl_Cut(_arg0
);
7436 wxPy_END_ALLOW_THREADS
;
7437 if (PyErr_Occurred()) return NULL
;
7438 } Py_INCREF(Py_None
);
7439 _resultobj
= Py_None
;
7443 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7444 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7445 PyObject
* _resultobj
;
7447 PyObject
* _argo0
= 0;
7448 char *_kwnames
[] = { "self", NULL
};
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7461 wxPy_BEGIN_ALLOW_THREADS
;
7462 wxTextCtrl_Paste(_arg0
);
7464 wxPy_END_ALLOW_THREADS
;
7465 if (PyErr_Occurred()) return NULL
;
7466 } Py_INCREF(Py_None
);
7467 _resultobj
= Py_None
;
7471 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7472 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
* _resultobj
;
7476 PyObject
* _argo0
= 0;
7477 char *_kwnames
[] = { "self", NULL
};
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7490 wxPy_BEGIN_ALLOW_THREADS
;
7491 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7493 wxPy_END_ALLOW_THREADS
;
7494 if (PyErr_Occurred()) return NULL
;
7495 } _resultobj
= Py_BuildValue("i",_result
);
7499 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7500 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
* _resultobj
;
7504 PyObject
* _argo0
= 0;
7505 char *_kwnames
[] = { "self", NULL
};
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7518 wxPy_BEGIN_ALLOW_THREADS
;
7519 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7521 wxPy_END_ALLOW_THREADS
;
7522 if (PyErr_Occurred()) return NULL
;
7523 } _resultobj
= Py_BuildValue("i",_result
);
7527 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7528 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
* _resultobj
;
7532 PyObject
* _argo0
= 0;
7533 char *_kwnames
[] = { "self", NULL
};
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7546 wxPy_BEGIN_ALLOW_THREADS
;
7547 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7549 wxPy_END_ALLOW_THREADS
;
7550 if (PyErr_Occurred()) return NULL
;
7551 } _resultobj
= Py_BuildValue("i",_result
);
7555 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7556 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
* _resultobj
;
7559 PyObject
* _argo0
= 0;
7560 char *_kwnames
[] = { "self", NULL
};
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7573 wxPy_BEGIN_ALLOW_THREADS
;
7574 wxTextCtrl_Undo(_arg0
);
7576 wxPy_END_ALLOW_THREADS
;
7577 if (PyErr_Occurred()) return NULL
;
7578 } Py_INCREF(Py_None
);
7579 _resultobj
= Py_None
;
7583 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7584 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
* _resultobj
;
7587 PyObject
* _argo0
= 0;
7588 char *_kwnames
[] = { "self", NULL
};
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7601 wxPy_BEGIN_ALLOW_THREADS
;
7602 wxTextCtrl_Redo(_arg0
);
7604 wxPy_END_ALLOW_THREADS
;
7605 if (PyErr_Occurred()) return NULL
;
7606 } Py_INCREF(Py_None
);
7607 _resultobj
= Py_None
;
7611 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7612 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
* _resultobj
;
7616 PyObject
* _argo0
= 0;
7617 char *_kwnames
[] = { "self", NULL
};
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7630 wxPy_BEGIN_ALLOW_THREADS
;
7631 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7633 wxPy_END_ALLOW_THREADS
;
7634 if (PyErr_Occurred()) return NULL
;
7635 } _resultobj
= Py_BuildValue("i",_result
);
7639 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7640 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
* _resultobj
;
7644 PyObject
* _argo0
= 0;
7645 char *_kwnames
[] = { "self", NULL
};
7648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7658 wxPy_BEGIN_ALLOW_THREADS
;
7659 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7661 wxPy_END_ALLOW_THREADS
;
7662 if (PyErr_Occurred()) return NULL
;
7663 } _resultobj
= Py_BuildValue("i",_result
);
7667 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7668 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7669 PyObject
* _resultobj
;
7672 PyObject
* _argo0
= 0;
7673 char *_kwnames
[] = { "self","pos", NULL
};
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7686 wxPy_BEGIN_ALLOW_THREADS
;
7687 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7689 wxPy_END_ALLOW_THREADS
;
7690 if (PyErr_Occurred()) return NULL
;
7691 } Py_INCREF(Py_None
);
7692 _resultobj
= Py_None
;
7696 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7697 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
* _resultobj
;
7700 PyObject
* _argo0
= 0;
7701 char *_kwnames
[] = { "self", NULL
};
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7714 wxPy_BEGIN_ALLOW_THREADS
;
7715 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7717 wxPy_END_ALLOW_THREADS
;
7718 if (PyErr_Occurred()) return NULL
;
7719 } Py_INCREF(Py_None
);
7720 _resultobj
= Py_None
;
7724 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7725 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
* _resultobj
;
7729 PyObject
* _argo0
= 0;
7730 char *_kwnames
[] = { "self", NULL
};
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7743 wxPy_BEGIN_ALLOW_THREADS
;
7744 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7746 wxPy_END_ALLOW_THREADS
;
7747 if (PyErr_Occurred()) return NULL
;
7748 } _resultobj
= Py_BuildValue("l",_result
);
7752 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7753 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
* _resultobj
;
7757 PyObject
* _argo0
= 0;
7758 char *_kwnames
[] = { "self", NULL
};
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7771 wxPy_BEGIN_ALLOW_THREADS
;
7772 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7774 wxPy_END_ALLOW_THREADS
;
7775 if (PyErr_Occurred()) return NULL
;
7776 } _resultobj
= Py_BuildValue("l",_result
);
7780 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7781 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
* _resultobj
;
7786 PyObject
* _argo0
= 0;
7787 char *_kwnames
[] = { "self","from","to", NULL
};
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7800 wxPy_BEGIN_ALLOW_THREADS
;
7801 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7803 wxPy_END_ALLOW_THREADS
;
7804 if (PyErr_Occurred()) return NULL
;
7805 } Py_INCREF(Py_None
);
7806 _resultobj
= Py_None
;
7810 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7811 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
* _resultobj
;
7814 PyObject
* _argo0
= 0;
7815 char *_kwnames
[] = { "self", NULL
};
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7828 wxPy_BEGIN_ALLOW_THREADS
;
7829 wxTextCtrl_SelectAll(_arg0
);
7831 wxPy_END_ALLOW_THREADS
;
7832 if (PyErr_Occurred()) return NULL
;
7833 } Py_INCREF(Py_None
);
7834 _resultobj
= Py_None
;
7838 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7839 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
* _resultobj
;
7843 PyObject
* _argo0
= 0;
7845 char *_kwnames
[] = { "self","editable", NULL
};
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7857 _arg1
= (bool ) tempbool1
;
7859 wxPy_BEGIN_ALLOW_THREADS
;
7860 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7862 wxPy_END_ALLOW_THREADS
;
7863 if (PyErr_Occurred()) return NULL
;
7864 } Py_INCREF(Py_None
);
7865 _resultobj
= Py_None
;
7869 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7870 self
->AppendText(text
);
7872 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
* _resultobj
;
7876 PyObject
* _argo0
= 0;
7877 PyObject
* _obj1
= 0;
7878 char *_kwnames
[] = { "self","text", NULL
};
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7891 #if PYTHON_API_VERSION >= 1009
7892 char* tmpPtr
; int tmpSize
;
7893 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7897 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7899 _arg1
= new wxString(tmpPtr
, tmpSize
);
7901 if (!PyString_Check(_obj1
)) {
7902 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7905 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7909 wxPy_BEGIN_ALLOW_THREADS
;
7910 wxTextCtrl_write(_arg0
,*_arg1
);
7912 wxPy_END_ALLOW_THREADS
;
7913 if (PyErr_Occurred()) return NULL
;
7914 } Py_INCREF(Py_None
);
7915 _resultobj
= Py_None
;
7923 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7926 src
= (wxScrollBar
*) ptr
;
7927 dest
= (wxControl
*) src
;
7928 return (void *) dest
;
7931 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7934 src
= (wxScrollBar
*) ptr
;
7935 dest
= (wxWindow
*) src
;
7936 return (void *) dest
;
7939 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7942 src
= (wxScrollBar
*) ptr
;
7943 dest
= (wxEvtHandler
*) src
;
7944 return (void *) dest
;
7947 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7950 src
= (wxScrollBar
*) ptr
;
7951 dest
= (wxObject
*) src
;
7952 return (void *) dest
;
7955 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7956 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7958 wxScrollBar
* _result
;
7960 wxWindowID _arg1
= (wxWindowID
) -1;
7961 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7962 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7963 long _arg4
= (long ) wxSB_HORIZONTAL
;
7964 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7965 char * _arg6
= (char *) "scrollBar";
7966 PyObject
* _argo0
= 0;
7968 PyObject
* _obj2
= 0;
7970 PyObject
* _obj3
= 0;
7971 PyObject
* _argo5
= 0;
7972 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7988 if (! wxPoint_helper(_obj2
, &_arg2
))
7994 if (! wxSize_helper(_obj3
, &_arg3
))
7998 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7999 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
8000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8005 wxPy_BEGIN_ALLOW_THREADS
;
8006 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
8008 wxPy_END_ALLOW_THREADS
;
8009 if (PyErr_Occurred()) return NULL
;
8011 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8012 _resultobj
= Py_BuildValue("s",_ptemp
);
8015 _resultobj
= Py_None
;
8020 #define new_wxPreScrollBar() (new wxScrollBar())
8021 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
* _resultobj
;
8023 wxScrollBar
* _result
;
8024 char *_kwnames
[] = { NULL
};
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
8031 wxPy_BEGIN_ALLOW_THREADS
;
8032 _result
= (wxScrollBar
*)new_wxPreScrollBar();
8034 wxPy_END_ALLOW_THREADS
;
8035 if (PyErr_Occurred()) return NULL
;
8037 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8038 _resultobj
= Py_BuildValue("s",_ptemp
);
8041 _resultobj
= Py_None
;
8046 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8047 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
* _resultobj
;
8050 wxScrollBar
* _arg0
;
8052 wxWindowID _arg2
= (wxWindowID
) -1;
8053 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8054 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8055 long _arg5
= (long ) wxSB_HORIZONTAL
;
8056 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8057 char * _arg7
= (char *) "scrollBar";
8058 PyObject
* _argo0
= 0;
8059 PyObject
* _argo1
= 0;
8061 PyObject
* _obj3
= 0;
8063 PyObject
* _obj4
= 0;
8064 PyObject
* _argo6
= 0;
8065 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
8071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8078 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8079 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8087 if (! wxPoint_helper(_obj3
, &_arg3
))
8093 if (! wxSize_helper(_obj4
, &_arg4
))
8097 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8098 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8104 wxPy_BEGIN_ALLOW_THREADS
;
8105 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
8107 wxPy_END_ALLOW_THREADS
;
8108 if (PyErr_Occurred()) return NULL
;
8109 } _resultobj
= Py_BuildValue("i",_result
);
8113 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8114 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
* _resultobj
;
8117 wxScrollBar
* _arg0
;
8118 PyObject
* _argo0
= 0;
8119 char *_kwnames
[] = { "self", NULL
};
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
8125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8132 wxPy_BEGIN_ALLOW_THREADS
;
8133 _result
= (int )wxScrollBar_GetRange(_arg0
);
8135 wxPy_END_ALLOW_THREADS
;
8136 if (PyErr_Occurred()) return NULL
;
8137 } _resultobj
= Py_BuildValue("i",_result
);
8141 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8142 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
* _resultobj
;
8145 wxScrollBar
* _arg0
;
8146 PyObject
* _argo0
= 0;
8147 char *_kwnames
[] = { "self", NULL
};
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
8153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8160 wxPy_BEGIN_ALLOW_THREADS
;
8161 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
8163 wxPy_END_ALLOW_THREADS
;
8164 if (PyErr_Occurred()) return NULL
;
8165 } _resultobj
= Py_BuildValue("i",_result
);
8169 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8170 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
* _resultobj
;
8173 wxScrollBar
* _arg0
;
8174 PyObject
* _argo0
= 0;
8175 char *_kwnames
[] = { "self", NULL
};
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8188 wxPy_BEGIN_ALLOW_THREADS
;
8189 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8191 wxPy_END_ALLOW_THREADS
;
8192 if (PyErr_Occurred()) return NULL
;
8193 } _resultobj
= Py_BuildValue("i",_result
);
8197 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8198 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
* _resultobj
;
8201 wxScrollBar
* _arg0
;
8202 PyObject
* _argo0
= 0;
8203 char *_kwnames
[] = { "self", NULL
};
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8216 wxPy_BEGIN_ALLOW_THREADS
;
8217 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8219 wxPy_END_ALLOW_THREADS
;
8220 if (PyErr_Occurred()) return NULL
;
8221 } _resultobj
= Py_BuildValue("i",_result
);
8225 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8226 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
* _resultobj
;
8229 wxScrollBar
* _arg0
;
8230 PyObject
* _argo0
= 0;
8231 char *_kwnames
[] = { "self", NULL
};
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8244 wxPy_BEGIN_ALLOW_THREADS
;
8245 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8247 wxPy_END_ALLOW_THREADS
;
8248 if (PyErr_Occurred()) return NULL
;
8249 } _resultobj
= Py_BuildValue("i",_result
);
8253 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8254 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
* _resultobj
;
8256 wxScrollBar
* _arg0
;
8258 PyObject
* _argo0
= 0;
8259 char *_kwnames
[] = { "self","viewStart", NULL
};
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8272 wxPy_BEGIN_ALLOW_THREADS
;
8273 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8275 wxPy_END_ALLOW_THREADS
;
8276 if (PyErr_Occurred()) return NULL
;
8277 } Py_INCREF(Py_None
);
8278 _resultobj
= Py_None
;
8282 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8283 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
* _resultobj
;
8285 wxScrollBar
* _arg0
;
8290 bool _arg5
= (bool ) TRUE
;
8291 PyObject
* _argo0
= 0;
8292 int tempbool5
= (int) TRUE
;
8293 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8305 _arg5
= (bool ) tempbool5
;
8307 wxPy_BEGIN_ALLOW_THREADS
;
8308 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8310 wxPy_END_ALLOW_THREADS
;
8311 if (PyErr_Occurred()) return NULL
;
8312 } Py_INCREF(Py_None
);
8313 _resultobj
= Py_None
;
8317 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8320 src
= (wxSpinButton
*) ptr
;
8321 dest
= (wxControl
*) src
;
8322 return (void *) dest
;
8325 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8328 src
= (wxSpinButton
*) ptr
;
8329 dest
= (wxWindow
*) src
;
8330 return (void *) dest
;
8333 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8336 src
= (wxSpinButton
*) ptr
;
8337 dest
= (wxEvtHandler
*) src
;
8338 return (void *) dest
;
8341 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8344 src
= (wxSpinButton
*) ptr
;
8345 dest
= (wxObject
*) src
;
8346 return (void *) dest
;
8349 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8350 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8351 PyObject
* _resultobj
;
8352 wxSpinButton
* _result
;
8354 wxWindowID _arg1
= (wxWindowID
) -1;
8355 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8356 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8357 long _arg4
= (long ) wxSP_HORIZONTAL
;
8358 char * _arg5
= (char *) "spinButton";
8359 PyObject
* _argo0
= 0;
8361 PyObject
* _obj2
= 0;
8363 PyObject
* _obj3
= 0;
8364 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8380 if (! wxPoint_helper(_obj2
, &_arg2
))
8386 if (! wxSize_helper(_obj3
, &_arg3
))
8390 wxPy_BEGIN_ALLOW_THREADS
;
8391 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8393 wxPy_END_ALLOW_THREADS
;
8394 if (PyErr_Occurred()) return NULL
;
8396 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8397 _resultobj
= Py_BuildValue("s",_ptemp
);
8400 _resultobj
= Py_None
;
8405 #define new_wxPreSpinButton() (new wxSpinButton())
8406 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
* _resultobj
;
8408 wxSpinButton
* _result
;
8409 char *_kwnames
[] = { NULL
};
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8416 wxPy_BEGIN_ALLOW_THREADS
;
8417 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8419 wxPy_END_ALLOW_THREADS
;
8420 if (PyErr_Occurred()) return NULL
;
8422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8423 _resultobj
= Py_BuildValue("s",_ptemp
);
8426 _resultobj
= Py_None
;
8431 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8432 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
* _resultobj
;
8435 wxSpinButton
* _arg0
;
8437 wxWindowID _arg2
= (wxWindowID
) -1;
8438 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8439 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8440 long _arg5
= (long ) wxSP_HORIZONTAL
;
8441 char * _arg6
= (char *) "spinButton";
8442 PyObject
* _argo0
= 0;
8443 PyObject
* _argo1
= 0;
8445 PyObject
* _obj3
= 0;
8447 PyObject
* _obj4
= 0;
8448 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8470 if (! wxPoint_helper(_obj3
, &_arg3
))
8476 if (! wxSize_helper(_obj4
, &_arg4
))
8480 wxPy_BEGIN_ALLOW_THREADS
;
8481 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8483 wxPy_END_ALLOW_THREADS
;
8484 if (PyErr_Occurred()) return NULL
;
8485 } _resultobj
= Py_BuildValue("i",_result
);
8489 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8490 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
* _resultobj
;
8493 wxSpinButton
* _arg0
;
8494 PyObject
* _argo0
= 0;
8495 char *_kwnames
[] = { "self", NULL
};
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8508 wxPy_BEGIN_ALLOW_THREADS
;
8509 _result
= (int )wxSpinButton_GetMax(_arg0
);
8511 wxPy_END_ALLOW_THREADS
;
8512 if (PyErr_Occurred()) return NULL
;
8513 } _resultobj
= Py_BuildValue("i",_result
);
8517 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8518 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
* _resultobj
;
8521 wxSpinButton
* _arg0
;
8522 PyObject
* _argo0
= 0;
8523 char *_kwnames
[] = { "self", NULL
};
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8536 wxPy_BEGIN_ALLOW_THREADS
;
8537 _result
= (int )wxSpinButton_GetMin(_arg0
);
8539 wxPy_END_ALLOW_THREADS
;
8540 if (PyErr_Occurred()) return NULL
;
8541 } _resultobj
= Py_BuildValue("i",_result
);
8545 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8546 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
* _resultobj
;
8549 wxSpinButton
* _arg0
;
8550 PyObject
* _argo0
= 0;
8551 char *_kwnames
[] = { "self", NULL
};
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8564 wxPy_BEGIN_ALLOW_THREADS
;
8565 _result
= (int )wxSpinButton_GetValue(_arg0
);
8567 wxPy_END_ALLOW_THREADS
;
8568 if (PyErr_Occurred()) return NULL
;
8569 } _resultobj
= Py_BuildValue("i",_result
);
8573 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8574 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8575 PyObject
* _resultobj
;
8576 wxSpinButton
* _arg0
;
8579 PyObject
* _argo0
= 0;
8580 char *_kwnames
[] = { "self","min","max", NULL
};
8583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8593 wxPy_BEGIN_ALLOW_THREADS
;
8594 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8596 wxPy_END_ALLOW_THREADS
;
8597 if (PyErr_Occurred()) return NULL
;
8598 } Py_INCREF(Py_None
);
8599 _resultobj
= Py_None
;
8603 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8604 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
* _resultobj
;
8606 wxSpinButton
* _arg0
;
8608 PyObject
* _argo0
= 0;
8609 char *_kwnames
[] = { "self","value", NULL
};
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8622 wxPy_BEGIN_ALLOW_THREADS
;
8623 wxSpinButton_SetValue(_arg0
,_arg1
);
8625 wxPy_END_ALLOW_THREADS
;
8626 if (PyErr_Occurred()) return NULL
;
8627 } Py_INCREF(Py_None
);
8628 _resultobj
= Py_None
;
8632 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8633 wxStaticBitmap
*src
;
8635 src
= (wxStaticBitmap
*) ptr
;
8636 dest
= (wxControl
*) src
;
8637 return (void *) dest
;
8640 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8641 wxStaticBitmap
*src
;
8643 src
= (wxStaticBitmap
*) ptr
;
8644 dest
= (wxWindow
*) src
;
8645 return (void *) dest
;
8648 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8649 wxStaticBitmap
*src
;
8651 src
= (wxStaticBitmap
*) ptr
;
8652 dest
= (wxEvtHandler
*) src
;
8653 return (void *) dest
;
8656 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8657 wxStaticBitmap
*src
;
8659 src
= (wxStaticBitmap
*) ptr
;
8660 dest
= (wxObject
*) src
;
8661 return (void *) dest
;
8664 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8665 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8666 PyObject
* _resultobj
;
8667 wxStaticBitmap
* _result
;
8671 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8672 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8673 long _arg5
= (long ) 0;
8674 char * _arg6
= (char *) "staticBitmap";
8675 PyObject
* _argo0
= 0;
8676 PyObject
* _argo2
= 0;
8678 PyObject
* _obj3
= 0;
8680 PyObject
* _obj4
= 0;
8681 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8695 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8696 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8704 if (! wxPoint_helper(_obj3
, &_arg3
))
8710 if (! wxSize_helper(_obj4
, &_arg4
))
8714 wxPy_BEGIN_ALLOW_THREADS
;
8715 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8717 wxPy_END_ALLOW_THREADS
;
8718 if (PyErr_Occurred()) return NULL
;
8720 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8721 _resultobj
= Py_BuildValue("s",_ptemp
);
8724 _resultobj
= Py_None
;
8729 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8730 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
* _resultobj
;
8732 wxStaticBitmap
* _result
;
8733 char *_kwnames
[] = { NULL
};
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8740 wxPy_BEGIN_ALLOW_THREADS
;
8741 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8743 wxPy_END_ALLOW_THREADS
;
8744 if (PyErr_Occurred()) return NULL
;
8746 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8747 _resultobj
= Py_BuildValue("s",_ptemp
);
8750 _resultobj
= Py_None
;
8755 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8756 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
* _resultobj
;
8759 wxStaticBitmap
* _arg0
;
8763 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8764 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8765 long _arg6
= (long ) 0;
8766 char * _arg7
= (char *) "staticBitmap";
8767 PyObject
* _argo0
= 0;
8768 PyObject
* _argo1
= 0;
8769 PyObject
* _argo3
= 0;
8771 PyObject
* _obj4
= 0;
8773 PyObject
* _obj5
= 0;
8774 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8787 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8788 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8794 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8795 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8803 if (! wxPoint_helper(_obj4
, &_arg4
))
8809 if (! wxSize_helper(_obj5
, &_arg5
))
8813 wxPy_BEGIN_ALLOW_THREADS
;
8814 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8816 wxPy_END_ALLOW_THREADS
;
8817 if (PyErr_Occurred()) return NULL
;
8818 } _resultobj
= Py_BuildValue("i",_result
);
8822 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8823 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
* _resultobj
;
8826 wxStaticBitmap
* _arg0
;
8827 PyObject
* _argo0
= 0;
8828 char *_kwnames
[] = { "self", NULL
};
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8842 wxPy_BEGIN_ALLOW_THREADS
;
8843 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
8844 _result
= (wxBitmap
*) &_result_ref
;
8846 wxPy_END_ALLOW_THREADS
;
8847 if (PyErr_Occurred()) return NULL
;
8849 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
8850 _resultobj
= Py_BuildValue("s",_ptemp
);
8853 _resultobj
= Py_None
;
8858 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8859 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
* _resultobj
;
8861 wxStaticBitmap
* _arg0
;
8863 PyObject
* _argo0
= 0;
8864 PyObject
* _argo1
= 0;
8865 char *_kwnames
[] = { "self","bitmap", NULL
};
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8878 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8879 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8885 wxPy_BEGIN_ALLOW_THREADS
;
8886 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8888 wxPy_END_ALLOW_THREADS
;
8889 if (PyErr_Occurred()) return NULL
;
8890 } Py_INCREF(Py_None
);
8891 _resultobj
= Py_None
;
8895 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8896 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
* _resultobj
;
8898 wxStaticBitmap
* _arg0
;
8900 PyObject
* _argo0
= 0;
8901 PyObject
* _argo1
= 0;
8902 char *_kwnames
[] = { "self","icon", NULL
};
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8922 wxPy_BEGIN_ALLOW_THREADS
;
8923 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8925 wxPy_END_ALLOW_THREADS
;
8926 if (PyErr_Occurred()) return NULL
;
8927 } Py_INCREF(Py_None
);
8928 _resultobj
= Py_None
;
8932 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8935 src
= (wxRadioBox
*) ptr
;
8936 dest
= (wxControl
*) src
;
8937 return (void *) dest
;
8940 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8943 src
= (wxRadioBox
*) ptr
;
8944 dest
= (wxWindow
*) src
;
8945 return (void *) dest
;
8948 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8951 src
= (wxRadioBox
*) ptr
;
8952 dest
= (wxEvtHandler
*) src
;
8953 return (void *) dest
;
8956 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8959 src
= (wxRadioBox
*) ptr
;
8960 dest
= (wxObject
*) src
;
8961 return (void *) dest
;
8964 #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))
8965 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
* _resultobj
;
8967 wxRadioBox
* _result
;
8971 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8972 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8973 int _arg5
= (int ) 0;
8974 wxString
* _arg6
= (wxString
*) NULL
;
8975 int _arg7
= (int ) 0;
8976 long _arg8
= (long ) wxRA_HORIZONTAL
;
8977 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8978 char * _arg10
= (char *) "radioBox";
8979 PyObject
* _argo0
= 0;
8980 PyObject
* _obj2
= 0;
8982 PyObject
* _obj3
= 0;
8984 PyObject
* _obj4
= 0;
8985 PyObject
* _obj6
= 0;
8986 PyObject
* _argo9
= 0;
8987 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9001 #if PYTHON_API_VERSION >= 1009
9002 char* tmpPtr
; int tmpSize
;
9003 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9004 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9007 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9009 _arg2
= new wxString(tmpPtr
, tmpSize
);
9011 if (!PyString_Check(_obj2
)) {
9012 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9015 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9021 if (! wxPoint_helper(_obj3
, &_arg3
))
9027 if (! wxSize_helper(_obj4
, &_arg4
))
9032 _arg6
= wxString_LIST_helper(_obj6
);
9033 if (_arg6
== NULL
) {
9038 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9039 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9046 _arg5
= PyList_Size(_obj6
);
9053 wxPy_BEGIN_ALLOW_THREADS
;
9054 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
9056 wxPy_END_ALLOW_THREADS
;
9057 if (PyErr_Occurred()) return NULL
;
9059 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9060 _resultobj
= Py_BuildValue("s",_ptemp
);
9063 _resultobj
= Py_None
;
9075 #define new_wxPreRadioBox() (new wxRadioBox())
9076 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
* _resultobj
;
9078 wxRadioBox
* _result
;
9079 char *_kwnames
[] = { NULL
};
9083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
9086 wxPy_BEGIN_ALLOW_THREADS
;
9087 _result
= (wxRadioBox
*)new_wxPreRadioBox();
9089 wxPy_END_ALLOW_THREADS
;
9090 if (PyErr_Occurred()) return NULL
;
9092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9093 _resultobj
= Py_BuildValue("s",_ptemp
);
9096 _resultobj
= Py_None
;
9101 #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))
9102 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
* _resultobj
;
9109 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9110 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9111 int _arg6
= (int ) 0;
9112 wxString
* _arg7
= (wxString
*) NULL
;
9113 int _arg8
= (int ) 0;
9114 long _arg9
= (long ) wxRA_HORIZONTAL
;
9115 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
9116 char * _arg11
= (char *) "radioBox";
9117 PyObject
* _argo0
= 0;
9118 PyObject
* _argo1
= 0;
9119 PyObject
* _obj3
= 0;
9121 PyObject
* _obj4
= 0;
9123 PyObject
* _obj5
= 0;
9124 PyObject
* _obj7
= 0;
9125 PyObject
* _argo10
= 0;
9126 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
9132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9139 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9140 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9146 #if PYTHON_API_VERSION >= 1009
9147 char* tmpPtr
; int tmpSize
;
9148 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9149 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9152 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9154 _arg3
= new wxString(tmpPtr
, tmpSize
);
9156 if (!PyString_Check(_obj3
)) {
9157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9160 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9166 if (! wxPoint_helper(_obj4
, &_arg4
))
9172 if (! wxSize_helper(_obj5
, &_arg5
))
9177 _arg7
= wxString_LIST_helper(_obj7
);
9178 if (_arg7
== NULL
) {
9183 if (_argo10
== Py_None
) { _arg10
= NULL
; }
9184 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9191 _arg6
= PyList_Size(_obj7
);
9198 wxPy_BEGIN_ALLOW_THREADS
;
9199 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
9201 wxPy_END_ALLOW_THREADS
;
9202 if (PyErr_Occurred()) return NULL
;
9203 } _resultobj
= Py_BuildValue("i",_result
);
9214 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9215 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
* _resultobj
;
9219 PyObject
* _argo0
= 0;
9221 char *_kwnames
[] = { "self","enable", NULL
};
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9233 _arg1
= (bool ) tempbool1
;
9235 wxPy_BEGIN_ALLOW_THREADS
;
9236 wxRadioBox_Enable(_arg0
,_arg1
);
9238 wxPy_END_ALLOW_THREADS
;
9239 if (PyErr_Occurred()) return NULL
;
9240 } Py_INCREF(Py_None
);
9241 _resultobj
= Py_None
;
9245 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9246 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
* _resultobj
;
9251 PyObject
* _argo0
= 0;
9253 char *_kwnames
[] = { "self","n","enable", NULL
};
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9265 _arg2
= (bool ) tempbool2
;
9267 wxPy_BEGIN_ALLOW_THREADS
;
9268 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9270 wxPy_END_ALLOW_THREADS
;
9271 if (PyErr_Occurred()) return NULL
;
9272 } Py_INCREF(Py_None
);
9273 _resultobj
= Py_None
;
9277 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9278 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
* _resultobj
;
9283 PyObject
* _argo0
= 0;
9284 PyObject
* _obj1
= 0;
9285 char *_kwnames
[] = { "self","string", NULL
};
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9298 #if PYTHON_API_VERSION >= 1009
9299 char* tmpPtr
; int tmpSize
;
9300 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9301 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9304 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9306 _arg1
= new wxString(tmpPtr
, tmpSize
);
9308 if (!PyString_Check(_obj1
)) {
9309 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9312 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9316 wxPy_BEGIN_ALLOW_THREADS
;
9317 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9319 wxPy_END_ALLOW_THREADS
;
9320 if (PyErr_Occurred()) return NULL
;
9321 } _resultobj
= Py_BuildValue("i",_result
);
9329 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9330 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
* _resultobj
;
9335 PyObject
* _argo0
= 0;
9336 char *_kwnames
[] = { "self","n", NULL
};
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9349 wxPy_BEGIN_ALLOW_THREADS
;
9350 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9352 wxPy_END_ALLOW_THREADS
;
9353 if (PyErr_Occurred()) return NULL
;
9355 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9363 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9364 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
* _resultobj
;
9369 PyObject
* _argo0
= 0;
9370 char *_kwnames
[] = { "self","item", NULL
};
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
9376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
9383 wxPy_BEGIN_ALLOW_THREADS
;
9384 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
9386 wxPy_END_ALLOW_THREADS
;
9387 if (PyErr_Occurred()) return NULL
;
9389 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9397 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9398 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
* _resultobj
;
9403 PyObject
* _argo0
= 0;
9404 PyObject
* _obj2
= 0;
9405 char *_kwnames
[] = { "self","item","label", NULL
};
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
9418 #if PYTHON_API_VERSION >= 1009
9419 char* tmpPtr
; int tmpSize
;
9420 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9424 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9426 _arg2
= new wxString(tmpPtr
, tmpSize
);
9428 if (!PyString_Check(_obj2
)) {
9429 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9432 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9436 wxPy_BEGIN_ALLOW_THREADS
;
9437 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
9439 wxPy_END_ALLOW_THREADS
;
9440 if (PyErr_Occurred()) return NULL
;
9441 } Py_INCREF(Py_None
);
9442 _resultobj
= Py_None
;
9450 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9451 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9452 PyObject
* _resultobj
;
9455 PyObject
* _argo0
= 0;
9456 char *_kwnames
[] = { "self", NULL
};
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9469 wxPy_BEGIN_ALLOW_THREADS
;
9470 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9472 wxPy_END_ALLOW_THREADS
;
9473 if (PyErr_Occurred()) return NULL
;
9474 } _resultobj
= Py_BuildValue("i",_result
);
9478 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9479 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
* _resultobj
;
9483 PyObject
* _argo0
= 0;
9484 char *_kwnames
[] = { "self", NULL
};
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9497 wxPy_BEGIN_ALLOW_THREADS
;
9498 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9500 wxPy_END_ALLOW_THREADS
;
9501 if (PyErr_Occurred()) return NULL
;
9503 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9511 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9512 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
* _resultobj
;
9516 PyObject
* _argo0
= 0;
9517 char *_kwnames
[] = { "self", NULL
};
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9530 wxPy_BEGIN_ALLOW_THREADS
;
9531 _result
= (int )wxRadioBox_GetCount(_arg0
);
9533 wxPy_END_ALLOW_THREADS
;
9534 if (PyErr_Occurred()) return NULL
;
9535 } _resultobj
= Py_BuildValue("i",_result
);
9539 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9540 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
* _resultobj
;
9544 PyObject
* _argo0
= 0;
9545 char *_kwnames
[] = { "self","n", NULL
};
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9558 wxPy_BEGIN_ALLOW_THREADS
;
9559 wxRadioBox_SetSelection(_arg0
,_arg1
);
9561 wxPy_END_ALLOW_THREADS
;
9562 if (PyErr_Occurred()) return NULL
;
9563 } Py_INCREF(Py_None
);
9564 _resultobj
= Py_None
;
9568 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9569 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9570 PyObject
* _resultobj
;
9573 PyObject
* _argo0
= 0;
9574 PyObject
* _obj1
= 0;
9575 char *_kwnames
[] = { "self","string", NULL
};
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9588 #if PYTHON_API_VERSION >= 1009
9589 char* tmpPtr
; int tmpSize
;
9590 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9594 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9596 _arg1
= new wxString(tmpPtr
, tmpSize
);
9598 if (!PyString_Check(_obj1
)) {
9599 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9602 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9606 wxPy_BEGIN_ALLOW_THREADS
;
9607 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9609 wxPy_END_ALLOW_THREADS
;
9610 if (PyErr_Occurred()) return NULL
;
9611 } Py_INCREF(Py_None
);
9612 _resultobj
= Py_None
;
9620 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9621 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
* _resultobj
;
9625 PyObject
* _argo0
= 0;
9627 char *_kwnames
[] = { "self","show", NULL
};
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9639 _arg1
= (bool ) tempbool1
;
9641 wxPy_BEGIN_ALLOW_THREADS
;
9642 wxRadioBox_Show(_arg0
,_arg1
);
9644 wxPy_END_ALLOW_THREADS
;
9645 if (PyErr_Occurred()) return NULL
;
9646 } Py_INCREF(Py_None
);
9647 _resultobj
= Py_None
;
9651 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9652 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
* _resultobj
;
9657 PyObject
* _argo0
= 0;
9659 char *_kwnames
[] = { "self","item","show", NULL
};
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9671 _arg2
= (bool ) tempbool2
;
9673 wxPy_BEGIN_ALLOW_THREADS
;
9674 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9676 wxPy_END_ALLOW_THREADS
;
9677 if (PyErr_Occurred()) return NULL
;
9678 } Py_INCREF(Py_None
);
9679 _resultobj
= Py_None
;
9683 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9686 src
= (wxRadioButton
*) ptr
;
9687 dest
= (wxControl
*) src
;
9688 return (void *) dest
;
9691 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9694 src
= (wxRadioButton
*) ptr
;
9695 dest
= (wxWindow
*) src
;
9696 return (void *) dest
;
9699 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9702 src
= (wxRadioButton
*) ptr
;
9703 dest
= (wxEvtHandler
*) src
;
9704 return (void *) dest
;
9707 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9710 src
= (wxRadioButton
*) ptr
;
9711 dest
= (wxObject
*) src
;
9712 return (void *) dest
;
9715 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9716 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
* _resultobj
;
9718 wxRadioButton
* _result
;
9722 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9723 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9724 long _arg5
= (long ) 0;
9725 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9726 char * _arg7
= (char *) "radioButton";
9727 PyObject
* _argo0
= 0;
9728 PyObject
* _obj2
= 0;
9730 PyObject
* _obj3
= 0;
9732 PyObject
* _obj4
= 0;
9733 PyObject
* _argo6
= 0;
9734 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9748 #if PYTHON_API_VERSION >= 1009
9749 char* tmpPtr
; int tmpSize
;
9750 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9751 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9754 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9756 _arg2
= new wxString(tmpPtr
, tmpSize
);
9758 if (!PyString_Check(_obj2
)) {
9759 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9762 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9768 if (! wxPoint_helper(_obj3
, &_arg3
))
9774 if (! wxSize_helper(_obj4
, &_arg4
))
9778 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9779 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9785 wxPy_BEGIN_ALLOW_THREADS
;
9786 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9788 wxPy_END_ALLOW_THREADS
;
9789 if (PyErr_Occurred()) return NULL
;
9791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9792 _resultobj
= Py_BuildValue("s",_ptemp
);
9795 _resultobj
= Py_None
;
9804 #define new_wxPreRadioButton() (new wxRadioButton())
9805 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
* _resultobj
;
9807 wxRadioButton
* _result
;
9808 char *_kwnames
[] = { NULL
};
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9815 wxPy_BEGIN_ALLOW_THREADS
;
9816 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9818 wxPy_END_ALLOW_THREADS
;
9819 if (PyErr_Occurred()) return NULL
;
9821 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9822 _resultobj
= Py_BuildValue("s",_ptemp
);
9825 _resultobj
= Py_None
;
9830 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9831 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
* _resultobj
;
9834 wxRadioButton
* _arg0
;
9838 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9839 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9840 long _arg6
= (long ) 0;
9841 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9842 char * _arg8
= (char *) "radioButton";
9843 PyObject
* _argo0
= 0;
9844 PyObject
* _argo1
= 0;
9845 PyObject
* _obj3
= 0;
9847 PyObject
* _obj4
= 0;
9849 PyObject
* _obj5
= 0;
9850 PyObject
* _argo7
= 0;
9851 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9864 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9865 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9871 #if PYTHON_API_VERSION >= 1009
9872 char* tmpPtr
; int tmpSize
;
9873 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9874 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9877 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9879 _arg3
= new wxString(tmpPtr
, tmpSize
);
9881 if (!PyString_Check(_obj3
)) {
9882 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9885 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9891 if (! wxPoint_helper(_obj4
, &_arg4
))
9897 if (! wxSize_helper(_obj5
, &_arg5
))
9901 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9902 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9908 wxPy_BEGIN_ALLOW_THREADS
;
9909 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9911 wxPy_END_ALLOW_THREADS
;
9912 if (PyErr_Occurred()) return NULL
;
9913 } _resultobj
= Py_BuildValue("i",_result
);
9921 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9922 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
* _resultobj
;
9925 wxRadioButton
* _arg0
;
9926 PyObject
* _argo0
= 0;
9927 char *_kwnames
[] = { "self", NULL
};
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9940 wxPy_BEGIN_ALLOW_THREADS
;
9941 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9943 wxPy_END_ALLOW_THREADS
;
9944 if (PyErr_Occurred()) return NULL
;
9945 } _resultobj
= Py_BuildValue("i",_result
);
9949 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9950 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
* _resultobj
;
9952 wxRadioButton
* _arg0
;
9954 PyObject
* _argo0
= 0;
9956 char *_kwnames
[] = { "self","value", NULL
};
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9968 _arg1
= (bool ) tempbool1
;
9970 wxPy_BEGIN_ALLOW_THREADS
;
9971 wxRadioButton_SetValue(_arg0
,_arg1
);
9973 wxPy_END_ALLOW_THREADS
;
9974 if (PyErr_Occurred()) return NULL
;
9975 } Py_INCREF(Py_None
);
9976 _resultobj
= Py_None
;
9980 static void *SwigwxSliderTowxControl(void *ptr
) {
9983 src
= (wxSlider
*) ptr
;
9984 dest
= (wxControl
*) src
;
9985 return (void *) dest
;
9988 static void *SwigwxSliderTowxWindow(void *ptr
) {
9991 src
= (wxSlider
*) ptr
;
9992 dest
= (wxWindow
*) src
;
9993 return (void *) dest
;
9996 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9999 src
= (wxSlider
*) ptr
;
10000 dest
= (wxEvtHandler
*) src
;
10001 return (void *) dest
;
10004 static void *SwigwxSliderTowxObject(void *ptr
) {
10007 src
= (wxSlider
*) ptr
;
10008 dest
= (wxObject
*) src
;
10009 return (void *) dest
;
10012 #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))
10013 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
* _resultobj
;
10015 wxSlider
* _result
;
10021 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
10022 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
10023 long _arg7
= (long ) wxSL_HORIZONTAL
;
10024 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
10025 char * _arg9
= (char *) "slider";
10026 PyObject
* _argo0
= 0;
10028 PyObject
* _obj5
= 0;
10030 PyObject
* _obj6
= 0;
10031 PyObject
* _argo8
= 0;
10032 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
10039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10048 if (! wxPoint_helper(_obj5
, &_arg5
))
10054 if (! wxSize_helper(_obj6
, &_arg6
))
10058 if (_argo8
== Py_None
) { _arg8
= NULL
; }
10059 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
10060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10065 wxPy_BEGIN_ALLOW_THREADS
;
10066 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
10068 wxPy_END_ALLOW_THREADS
;
10069 if (PyErr_Occurred()) return NULL
;
10071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10072 _resultobj
= Py_BuildValue("s",_ptemp
);
10074 Py_INCREF(Py_None
);
10075 _resultobj
= Py_None
;
10080 #define new_wxPreSlider() (new wxSlider())
10081 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
* _resultobj
;
10083 wxSlider
* _result
;
10084 char *_kwnames
[] = { NULL
};
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
10091 wxPy_BEGIN_ALLOW_THREADS
;
10092 _result
= (wxSlider
*)new_wxPreSlider();
10094 wxPy_END_ALLOW_THREADS
;
10095 if (PyErr_Occurred()) return NULL
;
10097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10098 _resultobj
= Py_BuildValue("s",_ptemp
);
10100 Py_INCREF(Py_None
);
10101 _resultobj
= Py_None
;
10106 #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))
10107 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
* _resultobj
;
10116 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
10117 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
10118 long _arg8
= (long ) wxSL_HORIZONTAL
;
10119 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
10120 char * _arg10
= (char *) "slider";
10121 PyObject
* _argo0
= 0;
10122 PyObject
* _argo1
= 0;
10124 PyObject
* _obj6
= 0;
10126 PyObject
* _obj7
= 0;
10127 PyObject
* _argo9
= 0;
10128 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
10134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10141 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10142 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10150 if (! wxPoint_helper(_obj6
, &_arg6
))
10156 if (! wxSize_helper(_obj7
, &_arg7
))
10160 if (_argo9
== Py_None
) { _arg9
= NULL
; }
10161 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10167 wxPy_BEGIN_ALLOW_THREADS
;
10168 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
10170 wxPy_END_ALLOW_THREADS
;
10171 if (PyErr_Occurred()) return NULL
;
10172 } _resultobj
= Py_BuildValue("i",_result
);
10176 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10177 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
* _resultobj
;
10180 PyObject
* _argo0
= 0;
10181 char *_kwnames
[] = { "self", NULL
};
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10194 wxPy_BEGIN_ALLOW_THREADS
;
10195 wxSlider_ClearSel(_arg0
);
10197 wxPy_END_ALLOW_THREADS
;
10198 if (PyErr_Occurred()) return NULL
;
10199 } Py_INCREF(Py_None
);
10200 _resultobj
= Py_None
;
10204 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10205 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
* _resultobj
;
10208 PyObject
* _argo0
= 0;
10209 char *_kwnames
[] = { "self", NULL
};
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10222 wxPy_BEGIN_ALLOW_THREADS
;
10223 wxSlider_ClearTicks(_arg0
);
10225 wxPy_END_ALLOW_THREADS
;
10226 if (PyErr_Occurred()) return NULL
;
10227 } Py_INCREF(Py_None
);
10228 _resultobj
= Py_None
;
10232 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10233 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
* _resultobj
;
10237 PyObject
* _argo0
= 0;
10238 char *_kwnames
[] = { "self", NULL
};
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10251 wxPy_BEGIN_ALLOW_THREADS
;
10252 _result
= (int )wxSlider_GetLineSize(_arg0
);
10254 wxPy_END_ALLOW_THREADS
;
10255 if (PyErr_Occurred()) return NULL
;
10256 } _resultobj
= Py_BuildValue("i",_result
);
10260 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10261 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
* _resultobj
;
10265 PyObject
* _argo0
= 0;
10266 char *_kwnames
[] = { "self", NULL
};
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10279 wxPy_BEGIN_ALLOW_THREADS
;
10280 _result
= (int )wxSlider_GetMax(_arg0
);
10282 wxPy_END_ALLOW_THREADS
;
10283 if (PyErr_Occurred()) return NULL
;
10284 } _resultobj
= Py_BuildValue("i",_result
);
10288 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10289 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
* _resultobj
;
10293 PyObject
* _argo0
= 0;
10294 char *_kwnames
[] = { "self", NULL
};
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10307 wxPy_BEGIN_ALLOW_THREADS
;
10308 _result
= (int )wxSlider_GetMin(_arg0
);
10310 wxPy_END_ALLOW_THREADS
;
10311 if (PyErr_Occurred()) return NULL
;
10312 } _resultobj
= Py_BuildValue("i",_result
);
10316 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10317 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
* _resultobj
;
10321 PyObject
* _argo0
= 0;
10322 char *_kwnames
[] = { "self", NULL
};
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10335 wxPy_BEGIN_ALLOW_THREADS
;
10336 _result
= (int )wxSlider_GetPageSize(_arg0
);
10338 wxPy_END_ALLOW_THREADS
;
10339 if (PyErr_Occurred()) return NULL
;
10340 } _resultobj
= Py_BuildValue("i",_result
);
10344 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10345 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
* _resultobj
;
10349 PyObject
* _argo0
= 0;
10350 char *_kwnames
[] = { "self", NULL
};
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10363 wxPy_BEGIN_ALLOW_THREADS
;
10364 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10366 wxPy_END_ALLOW_THREADS
;
10367 if (PyErr_Occurred()) return NULL
;
10368 } _resultobj
= Py_BuildValue("i",_result
);
10372 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10373 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
* _resultobj
;
10377 PyObject
* _argo0
= 0;
10378 char *_kwnames
[] = { "self", NULL
};
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10391 wxPy_BEGIN_ALLOW_THREADS
;
10392 _result
= (int )wxSlider_GetSelStart(_arg0
);
10394 wxPy_END_ALLOW_THREADS
;
10395 if (PyErr_Occurred()) return NULL
;
10396 } _resultobj
= Py_BuildValue("i",_result
);
10400 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10401 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
* _resultobj
;
10405 PyObject
* _argo0
= 0;
10406 char *_kwnames
[] = { "self", NULL
};
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10419 wxPy_BEGIN_ALLOW_THREADS
;
10420 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10422 wxPy_END_ALLOW_THREADS
;
10423 if (PyErr_Occurred()) return NULL
;
10424 } _resultobj
= Py_BuildValue("i",_result
);
10428 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10429 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10430 PyObject
* _resultobj
;
10433 PyObject
* _argo0
= 0;
10434 char *_kwnames
[] = { "self", NULL
};
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10447 wxPy_BEGIN_ALLOW_THREADS
;
10448 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10450 wxPy_END_ALLOW_THREADS
;
10451 if (PyErr_Occurred()) return NULL
;
10452 } _resultobj
= Py_BuildValue("i",_result
);
10456 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10457 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
* _resultobj
;
10461 PyObject
* _argo0
= 0;
10462 char *_kwnames
[] = { "self", NULL
};
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10475 wxPy_BEGIN_ALLOW_THREADS
;
10476 _result
= (int )wxSlider_GetValue(_arg0
);
10478 wxPy_END_ALLOW_THREADS
;
10479 if (PyErr_Occurred()) return NULL
;
10480 } _resultobj
= Py_BuildValue("i",_result
);
10484 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10485 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10486 PyObject
* _resultobj
;
10490 PyObject
* _argo0
= 0;
10491 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10504 wxPy_BEGIN_ALLOW_THREADS
;
10505 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10507 wxPy_END_ALLOW_THREADS
;
10508 if (PyErr_Occurred()) return NULL
;
10509 } Py_INCREF(Py_None
);
10510 _resultobj
= Py_None
;
10514 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10515 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
* _resultobj
;
10520 PyObject
* _argo0
= 0;
10521 char *_kwnames
[] = { "self","n","pos", NULL
};
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10534 wxPy_BEGIN_ALLOW_THREADS
;
10535 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10537 wxPy_END_ALLOW_THREADS
;
10538 if (PyErr_Occurred()) return NULL
;
10539 } Py_INCREF(Py_None
);
10540 _resultobj
= Py_None
;
10544 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10545 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
* _resultobj
;
10549 PyObject
* _argo0
= 0;
10550 char *_kwnames
[] = { "self","lineSize", NULL
};
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10563 wxPy_BEGIN_ALLOW_THREADS
;
10564 wxSlider_SetLineSize(_arg0
,_arg1
);
10566 wxPy_END_ALLOW_THREADS
;
10567 if (PyErr_Occurred()) return NULL
;
10568 } Py_INCREF(Py_None
);
10569 _resultobj
= Py_None
;
10573 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10574 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
* _resultobj
;
10578 PyObject
* _argo0
= 0;
10579 char *_kwnames
[] = { "self","pageSize", NULL
};
10582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10592 wxPy_BEGIN_ALLOW_THREADS
;
10593 wxSlider_SetPageSize(_arg0
,_arg1
);
10595 wxPy_END_ALLOW_THREADS
;
10596 if (PyErr_Occurred()) return NULL
;
10597 } Py_INCREF(Py_None
);
10598 _resultobj
= Py_None
;
10602 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10603 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
* _resultobj
;
10608 PyObject
* _argo0
= 0;
10609 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10622 wxPy_BEGIN_ALLOW_THREADS
;
10623 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10625 wxPy_END_ALLOW_THREADS
;
10626 if (PyErr_Occurred()) return NULL
;
10627 } Py_INCREF(Py_None
);
10628 _resultobj
= Py_None
;
10632 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10633 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
* _resultobj
;
10637 PyObject
* _argo0
= 0;
10638 char *_kwnames
[] = { "self","len", NULL
};
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10651 wxPy_BEGIN_ALLOW_THREADS
;
10652 wxSlider_SetThumbLength(_arg0
,_arg1
);
10654 wxPy_END_ALLOW_THREADS
;
10655 if (PyErr_Occurred()) return NULL
;
10656 } Py_INCREF(Py_None
);
10657 _resultobj
= Py_None
;
10661 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10662 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
* _resultobj
;
10666 PyObject
* _argo0
= 0;
10667 char *_kwnames
[] = { "self","tickPos", NULL
};
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10680 wxPy_BEGIN_ALLOW_THREADS
;
10681 wxSlider_SetTick(_arg0
,_arg1
);
10683 wxPy_END_ALLOW_THREADS
;
10684 if (PyErr_Occurred()) return NULL
;
10685 } Py_INCREF(Py_None
);
10686 _resultobj
= Py_None
;
10690 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10691 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
* _resultobj
;
10695 PyObject
* _argo0
= 0;
10696 char *_kwnames
[] = { "self","value", NULL
};
10699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10709 wxPy_BEGIN_ALLOW_THREADS
;
10710 wxSlider_SetValue(_arg0
,_arg1
);
10712 wxPy_END_ALLOW_THREADS
;
10713 if (PyErr_Occurred()) return NULL
;
10714 } Py_INCREF(Py_None
);
10715 _resultobj
= Py_None
;
10719 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10721 wxSpinButton
*dest
;
10722 src
= (wxSpinCtrl
*) ptr
;
10723 dest
= (wxSpinButton
*) src
;
10724 return (void *) dest
;
10727 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10730 src
= (wxSpinCtrl
*) ptr
;
10731 dest
= (wxControl
*) src
;
10732 return (void *) dest
;
10735 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10738 src
= (wxSpinCtrl
*) ptr
;
10739 dest
= (wxWindow
*) src
;
10740 return (void *) dest
;
10743 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10745 wxEvtHandler
*dest
;
10746 src
= (wxSpinCtrl
*) ptr
;
10747 dest
= (wxEvtHandler
*) src
;
10748 return (void *) dest
;
10751 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10754 src
= (wxSpinCtrl
*) ptr
;
10755 dest
= (wxObject
*) src
;
10756 return (void *) dest
;
10759 #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))
10760 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
* _resultobj
;
10762 wxSpinCtrl
* _result
;
10764 wxWindowID _arg1
= (wxWindowID
) -1;
10765 char * _arg2
= (char *) "";
10766 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10767 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10768 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10769 int _arg6
= (int ) 0;
10770 int _arg7
= (int ) 100;
10771 int _arg8
= (int ) 0;
10772 char * _arg9
= (char *) "wxSpinCtrl";
10773 PyObject
* _argo0
= 0;
10775 PyObject
* _obj3
= 0;
10777 PyObject
* _obj4
= 0;
10778 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10794 if (! wxPoint_helper(_obj3
, &_arg3
))
10800 if (! wxSize_helper(_obj4
, &_arg4
))
10804 wxPy_BEGIN_ALLOW_THREADS
;
10805 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10807 wxPy_END_ALLOW_THREADS
;
10808 if (PyErr_Occurred()) return NULL
;
10810 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10811 _resultobj
= Py_BuildValue("s",_ptemp
);
10813 Py_INCREF(Py_None
);
10814 _resultobj
= Py_None
;
10819 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10820 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
* _resultobj
;
10822 wxSpinCtrl
* _result
;
10823 char *_kwnames
[] = { NULL
};
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10830 wxPy_BEGIN_ALLOW_THREADS
;
10831 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10833 wxPy_END_ALLOW_THREADS
;
10834 if (PyErr_Occurred()) return NULL
;
10836 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10837 _resultobj
= Py_BuildValue("s",_ptemp
);
10839 Py_INCREF(Py_None
);
10840 _resultobj
= Py_None
;
10845 #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))
10846 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
* _resultobj
;
10849 wxSpinCtrl
* _arg0
;
10851 wxWindowID _arg2
= (wxWindowID
) -1;
10852 char * _arg3
= (char *) "";
10853 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10854 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10855 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10856 int _arg7
= (int ) 0;
10857 int _arg8
= (int ) 100;
10858 int _arg9
= (int ) 0;
10859 char * _arg10
= (char *) "wxSpinCtrl";
10860 PyObject
* _argo0
= 0;
10861 PyObject
* _argo1
= 0;
10863 PyObject
* _obj4
= 0;
10865 PyObject
* _obj5
= 0;
10866 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10872 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10873 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10879 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10880 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10888 if (! wxPoint_helper(_obj4
, &_arg4
))
10894 if (! wxSize_helper(_obj5
, &_arg5
))
10898 wxPy_BEGIN_ALLOW_THREADS
;
10899 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10901 wxPy_END_ALLOW_THREADS
;
10902 if (PyErr_Occurred()) return NULL
;
10903 } _resultobj
= Py_BuildValue("i",_result
);
10907 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10908 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
* _resultobj
;
10911 wxSpinCtrl
* _arg0
;
10912 PyObject
* _argo0
= 0;
10913 char *_kwnames
[] = { "self", NULL
};
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10926 wxPy_BEGIN_ALLOW_THREADS
;
10927 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10929 wxPy_END_ALLOW_THREADS
;
10930 if (PyErr_Occurred()) return NULL
;
10931 } _resultobj
= Py_BuildValue("i",_result
);
10935 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10936 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10937 PyObject
* _resultobj
;
10939 wxSpinCtrl
* _arg0
;
10940 PyObject
* _argo0
= 0;
10941 char *_kwnames
[] = { "self", NULL
};
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10954 wxPy_BEGIN_ALLOW_THREADS
;
10955 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10957 wxPy_END_ALLOW_THREADS
;
10958 if (PyErr_Occurred()) return NULL
;
10959 } _resultobj
= Py_BuildValue("i",_result
);
10963 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10964 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10965 PyObject
* _resultobj
;
10967 wxSpinCtrl
* _arg0
;
10968 PyObject
* _argo0
= 0;
10969 char *_kwnames
[] = { "self", NULL
};
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10982 wxPy_BEGIN_ALLOW_THREADS
;
10983 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10985 wxPy_END_ALLOW_THREADS
;
10986 if (PyErr_Occurred()) return NULL
;
10987 } _resultobj
= Py_BuildValue("i",_result
);
10991 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10992 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
* _resultobj
;
10994 wxSpinCtrl
* _arg0
;
10997 PyObject
* _argo0
= 0;
10998 char *_kwnames
[] = { "self","min","max", NULL
};
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11011 wxPy_BEGIN_ALLOW_THREADS
;
11012 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
11014 wxPy_END_ALLOW_THREADS
;
11015 if (PyErr_Occurred()) return NULL
;
11016 } Py_INCREF(Py_None
);
11017 _resultobj
= Py_None
;
11021 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11022 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
* _resultobj
;
11024 wxSpinCtrl
* _arg0
;
11026 PyObject
* _argo0
= 0;
11027 char *_kwnames
[] = { "self","value", NULL
};
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
11033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11040 wxPy_BEGIN_ALLOW_THREADS
;
11041 wxSpinCtrl_SetValue(_arg0
,_arg1
);
11043 wxPy_END_ALLOW_THREADS
;
11044 if (PyErr_Occurred()) return NULL
;
11045 } Py_INCREF(Py_None
);
11046 _resultobj
= Py_None
;
11050 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
11051 wxToggleButton
*src
;
11053 src
= (wxToggleButton
*) ptr
;
11054 dest
= (wxControl
*) src
;
11055 return (void *) dest
;
11058 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
11059 wxToggleButton
*src
;
11061 src
= (wxToggleButton
*) ptr
;
11062 dest
= (wxWindow
*) src
;
11063 return (void *) dest
;
11066 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
11067 wxToggleButton
*src
;
11068 wxEvtHandler
*dest
;
11069 src
= (wxToggleButton
*) ptr
;
11070 dest
= (wxEvtHandler
*) src
;
11071 return (void *) dest
;
11074 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
11075 wxToggleButton
*src
;
11077 src
= (wxToggleButton
*) ptr
;
11078 dest
= (wxObject
*) src
;
11079 return (void *) dest
;
11082 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11083 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
* _resultobj
;
11085 wxToggleButton
* _result
;
11089 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11090 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11091 long _arg5
= (long ) 0;
11092 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
11093 char * _arg7
= (char *) "toggle";
11094 PyObject
* _argo0
= 0;
11095 PyObject
* _obj2
= 0;
11097 PyObject
* _obj3
= 0;
11099 PyObject
* _obj4
= 0;
11100 PyObject
* _argo6
= 0;
11101 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
11108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
11115 #if PYTHON_API_VERSION >= 1009
11116 char* tmpPtr
; int tmpSize
;
11117 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
11118 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11121 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
11123 _arg2
= new wxString(tmpPtr
, tmpSize
);
11125 if (!PyString_Check(_obj2
)) {
11126 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11129 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
11135 if (! wxPoint_helper(_obj3
, &_arg3
))
11141 if (! wxSize_helper(_obj4
, &_arg4
))
11145 if (_argo6
== Py_None
) { _arg6
= NULL
; }
11146 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
11147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11152 wxPy_BEGIN_ALLOW_THREADS
;
11153 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
11155 wxPy_END_ALLOW_THREADS
;
11156 if (PyErr_Occurred()) return NULL
;
11158 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11159 _resultobj
= Py_BuildValue("s",_ptemp
);
11161 Py_INCREF(Py_None
);
11162 _resultobj
= Py_None
;
11171 #define new_wxPreToggleButton() (new wxToggleButton())
11172 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
* _resultobj
;
11174 wxToggleButton
* _result
;
11175 char *_kwnames
[] = { NULL
};
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
11182 wxPy_BEGIN_ALLOW_THREADS
;
11183 _result
= (wxToggleButton
*)new_wxPreToggleButton();
11185 wxPy_END_ALLOW_THREADS
;
11186 if (PyErr_Occurred()) return NULL
;
11188 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11189 _resultobj
= Py_BuildValue("s",_ptemp
);
11191 Py_INCREF(Py_None
);
11192 _resultobj
= Py_None
;
11197 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11198 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
* _resultobj
;
11201 wxToggleButton
* _arg0
;
11205 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11206 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11207 long _arg6
= (long ) 0;
11208 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11209 char * _arg8
= (char *) "toggle";
11210 PyObject
* _argo0
= 0;
11211 PyObject
* _argo1
= 0;
11212 PyObject
* _obj3
= 0;
11214 PyObject
* _obj4
= 0;
11216 PyObject
* _obj5
= 0;
11217 PyObject
* _argo7
= 0;
11218 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
11224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11231 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11232 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11238 #if PYTHON_API_VERSION >= 1009
11239 char* tmpPtr
; int tmpSize
;
11240 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11241 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11244 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11246 _arg3
= new wxString(tmpPtr
, tmpSize
);
11248 if (!PyString_Check(_obj3
)) {
11249 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11252 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11258 if (! wxPoint_helper(_obj4
, &_arg4
))
11264 if (! wxSize_helper(_obj5
, &_arg5
))
11268 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11269 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11275 wxPy_BEGIN_ALLOW_THREADS
;
11276 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
11278 wxPy_END_ALLOW_THREADS
;
11279 if (PyErr_Occurred()) return NULL
;
11280 } _resultobj
= Py_BuildValue("i",_result
);
11288 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11289 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
* _resultobj
;
11291 wxToggleButton
* _arg0
;
11293 PyObject
* _argo0
= 0;
11295 char *_kwnames
[] = { "self","value", NULL
};
11298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11307 _arg1
= (bool ) tempbool1
;
11309 wxPy_BEGIN_ALLOW_THREADS
;
11310 wxToggleButton_SetValue(_arg0
,_arg1
);
11312 wxPy_END_ALLOW_THREADS
;
11313 if (PyErr_Occurred()) return NULL
;
11314 } Py_INCREF(Py_None
);
11315 _resultobj
= Py_None
;
11319 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11320 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
* _resultobj
;
11323 wxToggleButton
* _arg0
;
11324 PyObject
* _argo0
= 0;
11325 char *_kwnames
[] = { "self", NULL
};
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11338 wxPy_BEGIN_ALLOW_THREADS
;
11339 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11341 wxPy_END_ALLOW_THREADS
;
11342 if (PyErr_Occurred()) return NULL
;
11343 } _resultobj
= Py_BuildValue("i",_result
);
11347 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11348 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
* _resultobj
;
11350 wxToggleButton
* _arg0
;
11352 PyObject
* _argo0
= 0;
11353 PyObject
* _obj1
= 0;
11354 char *_kwnames
[] = { "self","label", NULL
};
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11367 #if PYTHON_API_VERSION >= 1009
11368 char* tmpPtr
; int tmpSize
;
11369 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11370 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11373 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11375 _arg1
= new wxString(tmpPtr
, tmpSize
);
11377 if (!PyString_Check(_obj1
)) {
11378 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11381 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11385 wxPy_BEGIN_ALLOW_THREADS
;
11386 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11388 wxPy_END_ALLOW_THREADS
;
11389 if (PyErr_Occurred()) return NULL
;
11390 } Py_INCREF(Py_None
);
11391 _resultobj
= Py_None
;
11399 static PyMethodDef controlscMethods
[] = {
11400 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11425 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11426 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11427 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11428 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11429 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11430 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11431 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11432 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11433 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11434 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11435 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11436 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxComboBox_SetClientData", (PyCFunction
) _wrap_wxComboBox_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxComboBox_GetClientData", (PyCFunction
) _wrap_wxComboBox_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxComboBox_GetCount", (PyCFunction
) _wrap_wxComboBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11668 * This table is used by the pointer type-checker
11670 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11671 { "_signed_long","_long",0},
11672 { "_wxPrintQuality","_wxCoord",0},
11673 { "_wxPrintQuality","_int",0},
11674 { "_wxPrintQuality","_signed_int",0},
11675 { "_wxPrintQuality","_unsigned_int",0},
11676 { "_wxPrintQuality","_wxWindowID",0},
11677 { "_wxPrintQuality","_uint",0},
11678 { "_wxPrintQuality","_EBool",0},
11679 { "_wxPrintQuality","_size_t",0},
11680 { "_wxPrintQuality","_time_t",0},
11681 { "_byte","_unsigned_char",0},
11682 { "_long","_unsigned_long",0},
11683 { "_long","_signed_long",0},
11684 { "_size_t","_wxCoord",0},
11685 { "_size_t","_wxPrintQuality",0},
11686 { "_size_t","_time_t",0},
11687 { "_size_t","_unsigned_int",0},
11688 { "_size_t","_int",0},
11689 { "_size_t","_wxWindowID",0},
11690 { "_size_t","_uint",0},
11691 { "_uint","_wxCoord",0},
11692 { "_uint","_wxPrintQuality",0},
11693 { "_uint","_time_t",0},
11694 { "_uint","_size_t",0},
11695 { "_uint","_unsigned_int",0},
11696 { "_uint","_int",0},
11697 { "_uint","_wxWindowID",0},
11698 { "_wxChar","_char",0},
11699 { "_char","_wxChar",0},
11700 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11701 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11702 { "_EBool","_wxCoord",0},
11703 { "_EBool","_wxPrintQuality",0},
11704 { "_EBool","_signed_int",0},
11705 { "_EBool","_int",0},
11706 { "_EBool","_wxWindowID",0},
11707 { "_unsigned_long","_long",0},
11708 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11709 { "_signed_int","_wxCoord",0},
11710 { "_signed_int","_wxPrintQuality",0},
11711 { "_signed_int","_EBool",0},
11712 { "_signed_int","_wxWindowID",0},
11713 { "_signed_int","_int",0},
11714 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11715 { "_WXTYPE","_short",0},
11716 { "_WXTYPE","_signed_short",0},
11717 { "_WXTYPE","_unsigned_short",0},
11718 { "_unsigned_short","_WXTYPE",0},
11719 { "_unsigned_short","_short",0},
11720 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11721 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11722 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11723 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11724 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11725 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11726 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11727 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11728 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11729 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11730 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11731 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11732 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11733 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11734 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11735 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11736 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11737 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11738 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11739 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11740 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11741 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11742 { "_signed_short","_WXTYPE",0},
11743 { "_signed_short","_short",0},
11744 { "_unsigned_char","_byte",0},
11745 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11746 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11747 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11748 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11749 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11750 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11751 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11752 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11753 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11754 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11755 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11756 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11757 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11758 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11759 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11760 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11761 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11762 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11763 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11764 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11765 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11766 { "_unsigned_int","_wxCoord",0},
11767 { "_unsigned_int","_wxPrintQuality",0},
11768 { "_unsigned_int","_time_t",0},
11769 { "_unsigned_int","_size_t",0},
11770 { "_unsigned_int","_uint",0},
11771 { "_unsigned_int","_wxWindowID",0},
11772 { "_unsigned_int","_int",0},
11773 { "_short","_WXTYPE",0},
11774 { "_short","_unsigned_short",0},
11775 { "_short","_signed_short",0},
11776 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11777 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11778 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11779 { "_wxWindowID","_wxCoord",0},
11780 { "_wxWindowID","_wxPrintQuality",0},
11781 { "_wxWindowID","_time_t",0},
11782 { "_wxWindowID","_size_t",0},
11783 { "_wxWindowID","_EBool",0},
11784 { "_wxWindowID","_uint",0},
11785 { "_wxWindowID","_int",0},
11786 { "_wxWindowID","_signed_int",0},
11787 { "_wxWindowID","_unsigned_int",0},
11788 { "_int","_wxCoord",0},
11789 { "_int","_wxPrintQuality",0},
11790 { "_int","_time_t",0},
11791 { "_int","_size_t",0},
11792 { "_int","_EBool",0},
11793 { "_int","_uint",0},
11794 { "_int","_wxWindowID",0},
11795 { "_int","_unsigned_int",0},
11796 { "_int","_signed_int",0},
11797 { "_time_t","_wxCoord",0},
11798 { "_time_t","_wxPrintQuality",0},
11799 { "_time_t","_unsigned_int",0},
11800 { "_time_t","_int",0},
11801 { "_time_t","_wxWindowID",0},
11802 { "_time_t","_uint",0},
11803 { "_time_t","_size_t",0},
11804 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11805 { "_wxCoord","_int",0},
11806 { "_wxCoord","_signed_int",0},
11807 { "_wxCoord","_unsigned_int",0},
11808 { "_wxCoord","_wxWindowID",0},
11809 { "_wxCoord","_uint",0},
11810 { "_wxCoord","_EBool",0},
11811 { "_wxCoord","_size_t",0},
11812 { "_wxCoord","_time_t",0},
11813 { "_wxCoord","_wxPrintQuality",0},
11814 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11815 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11816 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11817 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11818 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11819 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11820 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11821 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11822 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11823 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11824 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11825 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11826 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11827 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11828 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11829 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11830 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11831 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11832 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11833 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11834 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11835 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11836 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11837 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11838 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11839 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11840 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11841 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11842 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11843 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11844 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11845 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11846 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11847 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11848 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11849 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11850 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11851 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11852 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11853 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11854 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11855 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11856 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11857 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11860 static PyObject
*SWIG_globals
;
11864 SWIGEXPORT(void) initcontrolsc() {
11866 SWIG_globals
= SWIG_newvarlink();
11867 m
= Py_InitModule("controlsc", controlscMethods
);
11868 d
= PyModule_GetDict(m
);
11869 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11870 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11871 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11874 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11875 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);