2 * FILE : src/mac/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 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1487 wxPy_END_ALLOW_THREADS
;
1488 if (PyErr_Occurred()) return NULL
;
1489 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1490 _resultobj
= Py_BuildValue("s",_ptemp
);
1494 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1495 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1496 PyObject
* _resultobj
;
1498 wxBitmapButton
* _arg0
;
1499 PyObject
* _argo0
= 0;
1500 char *_kwnames
[] = { "self", NULL
};
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1514 wxPy_BEGIN_ALLOW_THREADS
;
1515 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1517 wxPy_END_ALLOW_THREADS
;
1518 if (PyErr_Occurred()) return NULL
;
1519 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1520 _resultobj
= Py_BuildValue("s",_ptemp
);
1524 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1525 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1528 wxBitmapButton
* _arg0
;
1529 PyObject
* _argo0
= 0;
1530 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1544 wxPy_BEGIN_ALLOW_THREADS
;
1545 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1547 wxPy_END_ALLOW_THREADS
;
1548 if (PyErr_Occurred()) return NULL
;
1549 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1550 _resultobj
= Py_BuildValue("s",_ptemp
);
1554 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1555 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1558 wxBitmapButton
* _arg0
;
1559 PyObject
* _argo0
= 0;
1560 char *_kwnames
[] = { "self", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1577 wxPy_END_ALLOW_THREADS
;
1578 if (PyErr_Occurred()) return NULL
;
1579 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1580 _resultobj
= Py_BuildValue("s",_ptemp
);
1584 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1585 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1587 wxBitmapButton
* _arg0
;
1589 PyObject
* _argo0
= 0;
1590 PyObject
* _argo1
= 0;
1591 char *_kwnames
[] = { "self","bitmap", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1611 wxPy_BEGIN_ALLOW_THREADS
;
1612 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1614 wxPy_END_ALLOW_THREADS
;
1615 if (PyErr_Occurred()) return NULL
;
1616 } Py_INCREF(Py_None
);
1617 _resultobj
= Py_None
;
1621 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1622 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1624 wxBitmapButton
* _arg0
;
1626 PyObject
* _argo0
= 0;
1627 PyObject
* _argo1
= 0;
1628 char *_kwnames
[] = { "self","bitmap", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1648 wxPy_BEGIN_ALLOW_THREADS
;
1649 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1651 wxPy_END_ALLOW_THREADS
;
1652 if (PyErr_Occurred()) return NULL
;
1653 } Py_INCREF(Py_None
);
1654 _resultobj
= Py_None
;
1658 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1659 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1661 wxBitmapButton
* _arg0
;
1663 PyObject
* _argo0
= 0;
1664 PyObject
* _argo1
= 0;
1665 char *_kwnames
[] = { "self","bitmap", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1685 wxPy_BEGIN_ALLOW_THREADS
;
1686 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1688 wxPy_END_ALLOW_THREADS
;
1689 if (PyErr_Occurred()) return NULL
;
1690 } Py_INCREF(Py_None
);
1691 _resultobj
= Py_None
;
1695 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1696 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1698 wxBitmapButton
* _arg0
;
1700 PyObject
* _argo0
= 0;
1701 PyObject
* _argo1
= 0;
1702 char *_kwnames
[] = { "self","bitmap", NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1722 wxPy_BEGIN_ALLOW_THREADS
;
1723 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1725 wxPy_END_ALLOW_THREADS
;
1726 if (PyErr_Occurred()) return NULL
;
1727 } Py_INCREF(Py_None
);
1728 _resultobj
= Py_None
;
1732 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1733 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1735 wxBitmapButton
* _arg0
;
1738 PyObject
* _argo0
= 0;
1739 char *_kwnames
[] = { "self","x","y", NULL
};
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1752 wxPy_BEGIN_ALLOW_THREADS
;
1753 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1755 wxPy_END_ALLOW_THREADS
;
1756 if (PyErr_Occurred()) return NULL
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1762 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1763 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1766 wxBitmapButton
* _arg0
;
1767 PyObject
* _argo0
= 0;
1768 char *_kwnames
[] = { "self", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1781 wxPy_BEGIN_ALLOW_THREADS
;
1782 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1784 wxPy_END_ALLOW_THREADS
;
1785 if (PyErr_Occurred()) return NULL
;
1786 } _resultobj
= Py_BuildValue("i",_result
);
1790 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1791 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
* _resultobj
;
1794 wxBitmapButton
* _arg0
;
1795 PyObject
* _argo0
= 0;
1796 char *_kwnames
[] = { "self", NULL
};
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1809 wxPy_BEGIN_ALLOW_THREADS
;
1810 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1812 wxPy_END_ALLOW_THREADS
;
1813 if (PyErr_Occurred()) return NULL
;
1814 } _resultobj
= Py_BuildValue("i",_result
);
1818 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1821 src
= (wxCheckBox
*) ptr
;
1822 dest
= (wxControl
*) src
;
1823 return (void *) dest
;
1826 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1829 src
= (wxCheckBox
*) ptr
;
1830 dest
= (wxWindow
*) src
;
1831 return (void *) dest
;
1834 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1837 src
= (wxCheckBox
*) ptr
;
1838 dest
= (wxEvtHandler
*) src
;
1839 return (void *) dest
;
1842 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1845 src
= (wxCheckBox
*) ptr
;
1846 dest
= (wxObject
*) src
;
1847 return (void *) dest
;
1850 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1851 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 wxCheckBox
* _result
;
1857 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1858 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1859 long _arg5
= (long ) 0;
1860 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1861 char * _arg7
= (char *) "checkBox";
1862 PyObject
* _argo0
= 0;
1863 PyObject
* _obj2
= 0;
1865 PyObject
* _obj3
= 0;
1867 PyObject
* _obj4
= 0;
1868 PyObject
* _argo6
= 0;
1869 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1883 #if PYTHON_API_VERSION >= 1009
1884 char* tmpPtr
; int tmpSize
;
1885 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1889 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1891 _arg2
= new wxString(tmpPtr
, tmpSize
);
1893 if (!PyString_Check(_obj2
)) {
1894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1897 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1903 if (! wxPoint_helper(_obj3
, &_arg3
))
1909 if (! wxSize_helper(_obj4
, &_arg4
))
1913 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1920 wxPy_BEGIN_ALLOW_THREADS
;
1921 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1923 wxPy_END_ALLOW_THREADS
;
1924 if (PyErr_Occurred()) return NULL
;
1926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1927 _resultobj
= Py_BuildValue("s",_ptemp
);
1930 _resultobj
= Py_None
;
1939 #define new_wxPreCheckBox() (new wxCheckBox())
1940 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1942 wxCheckBox
* _result
;
1943 char *_kwnames
[] = { NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1950 wxPy_BEGIN_ALLOW_THREADS
;
1951 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1953 wxPy_END_ALLOW_THREADS
;
1954 if (PyErr_Occurred()) return NULL
;
1956 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1957 _resultobj
= Py_BuildValue("s",_ptemp
);
1960 _resultobj
= Py_None
;
1965 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1966 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1973 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1974 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1975 long _arg6
= (long ) 0;
1976 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1977 char * _arg8
= (char *) "checkBox";
1978 PyObject
* _argo0
= 0;
1979 PyObject
* _argo1
= 0;
1980 PyObject
* _obj3
= 0;
1982 PyObject
* _obj4
= 0;
1984 PyObject
* _obj5
= 0;
1985 PyObject
* _argo7
= 0;
1986 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
1999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2006 #if PYTHON_API_VERSION >= 1009
2007 char* tmpPtr
; int tmpSize
;
2008 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2012 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2014 _arg3
= new wxString(tmpPtr
, tmpSize
);
2016 if (!PyString_Check(_obj3
)) {
2017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2020 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2026 if (! wxPoint_helper(_obj4
, &_arg4
))
2032 if (! wxSize_helper(_obj5
, &_arg5
))
2036 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2043 wxPy_BEGIN_ALLOW_THREADS
;
2044 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2046 wxPy_END_ALLOW_THREADS
;
2047 if (PyErr_Occurred()) return NULL
;
2048 } _resultobj
= Py_BuildValue("i",_result
);
2056 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2057 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2061 PyObject
* _argo0
= 0;
2062 char *_kwnames
[] = { "self", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2075 wxPy_BEGIN_ALLOW_THREADS
;
2076 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2078 wxPy_END_ALLOW_THREADS
;
2079 if (PyErr_Occurred()) return NULL
;
2080 } _resultobj
= Py_BuildValue("i",_result
);
2084 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2085 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2089 PyObject
* _argo0
= 0;
2091 char *_kwnames
[] = { "self","state", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2103 _arg1
= (bool ) tempbool1
;
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 wxCheckBox_SetValue(_arg0
,_arg1
);
2108 wxPy_END_ALLOW_THREADS
;
2109 if (PyErr_Occurred()) return NULL
;
2110 } Py_INCREF(Py_None
);
2111 _resultobj
= Py_None
;
2115 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2117 wxControlWithItems
*dest
;
2118 src
= (wxChoice
*) ptr
;
2119 dest
= (wxControlWithItems
*) src
;
2120 return (void *) dest
;
2123 static void *SwigwxChoiceTowxControl(void *ptr
) {
2126 src
= (wxChoice
*) ptr
;
2127 dest
= (wxControl
*) src
;
2128 return (void *) dest
;
2131 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2134 src
= (wxChoice
*) ptr
;
2135 dest
= (wxWindow
*) src
;
2136 return (void *) dest
;
2139 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2142 src
= (wxChoice
*) ptr
;
2143 dest
= (wxEvtHandler
*) src
;
2144 return (void *) dest
;
2147 static void *SwigwxChoiceTowxObject(void *ptr
) {
2150 src
= (wxChoice
*) ptr
;
2151 dest
= (wxObject
*) src
;
2152 return (void *) dest
;
2155 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2156 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
* _resultobj
;
2161 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2162 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2163 int _arg4
= (int ) 0;
2164 wxString
* _arg5
= (wxString
*) NULL
;
2165 long _arg6
= (long ) 0;
2166 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2167 char * _arg8
= (char *) "choice";
2168 PyObject
* _argo0
= 0;
2170 PyObject
* _obj2
= 0;
2172 PyObject
* _obj3
= 0;
2173 PyObject
* _obj5
= 0;
2174 PyObject
* _argo7
= 0;
2175 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2191 if (! wxPoint_helper(_obj2
, &_arg2
))
2197 if (! wxSize_helper(_obj3
, &_arg3
))
2202 _arg5
= wxString_LIST_helper(_obj5
);
2203 if (_arg5
== NULL
) {
2208 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2216 _arg4
= PyList_Size(_obj5
);
2223 wxPy_BEGIN_ALLOW_THREADS
;
2224 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2226 wxPy_END_ALLOW_THREADS
;
2227 if (PyErr_Occurred()) return NULL
;
2229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2230 _resultobj
= Py_BuildValue("s",_ptemp
);
2233 _resultobj
= Py_None
;
2241 #define new_wxPreChoice() (new wxChoice())
2242 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2245 char *_kwnames
[] = { NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2252 wxPy_BEGIN_ALLOW_THREADS
;
2253 _result
= (wxChoice
*)new_wxPreChoice();
2255 wxPy_END_ALLOW_THREADS
;
2256 if (PyErr_Occurred()) return NULL
;
2258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2259 _resultobj
= Py_BuildValue("s",_ptemp
);
2262 _resultobj
= Py_None
;
2267 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2268 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2274 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2275 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2276 int _arg5
= (int ) 0;
2277 wxString
* _arg6
= (wxString
*) NULL
;
2278 long _arg7
= (long ) 0;
2279 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2280 char * _arg9
= (char *) "choice";
2281 PyObject
* _argo0
= 0;
2282 PyObject
* _argo1
= 0;
2284 PyObject
* _obj3
= 0;
2286 PyObject
* _obj4
= 0;
2287 PyObject
* _obj6
= 0;
2288 PyObject
* _argo8
= 0;
2289 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2311 if (! wxPoint_helper(_obj3
, &_arg3
))
2317 if (! wxSize_helper(_obj4
, &_arg4
))
2322 _arg6
= wxString_LIST_helper(_obj6
);
2323 if (_arg6
== NULL
) {
2328 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2336 _arg5
= PyList_Size(_obj6
);
2343 wxPy_BEGIN_ALLOW_THREADS
;
2344 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2346 wxPy_END_ALLOW_THREADS
;
2347 if (PyErr_Occurred()) return NULL
;
2348 } _resultobj
= Py_BuildValue("i",_result
);
2355 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2356 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
* _resultobj
;
2359 PyObject
* _argo0
= 0;
2360 char *_kwnames
[] = { "self", NULL
};
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2373 wxPy_BEGIN_ALLOW_THREADS
;
2374 wxChoice_Clear(_arg0
);
2376 wxPy_END_ALLOW_THREADS
;
2377 if (PyErr_Occurred()) return NULL
;
2378 } Py_INCREF(Py_None
);
2379 _resultobj
= Py_None
;
2383 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2384 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2388 PyObject
* _argo0
= 0;
2389 char *_kwnames
[] = { "self", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2402 wxPy_BEGIN_ALLOW_THREADS
;
2403 _result
= (int )wxChoice_GetColumns(_arg0
);
2405 wxPy_END_ALLOW_THREADS
;
2406 if (PyErr_Occurred()) return NULL
;
2407 } _resultobj
= Py_BuildValue("i",_result
);
2411 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2412 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2415 int _arg1
= (int ) 1;
2416 PyObject
* _argo0
= 0;
2417 char *_kwnames
[] = { "self","n", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2430 wxPy_BEGIN_ALLOW_THREADS
;
2431 wxChoice_SetColumns(_arg0
,_arg1
);
2433 wxPy_END_ALLOW_THREADS
;
2434 if (PyErr_Occurred()) return NULL
;
2435 } Py_INCREF(Py_None
);
2436 _resultobj
= Py_None
;
2440 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2441 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2445 PyObject
* _argo0
= 0;
2446 char *_kwnames
[] = { "self","n", NULL
};
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2459 wxPy_BEGIN_ALLOW_THREADS
;
2460 wxChoice_SetSelection(_arg0
,_arg1
);
2462 wxPy_END_ALLOW_THREADS
;
2463 if (PyErr_Occurred()) return NULL
;
2464 } Py_INCREF(Py_None
);
2465 _resultobj
= Py_None
;
2469 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2470 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
* _resultobj
;
2474 PyObject
* _argo0
= 0;
2475 PyObject
* _obj1
= 0;
2476 char *_kwnames
[] = { "self","string", NULL
};
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2489 #if PYTHON_API_VERSION >= 1009
2490 char* tmpPtr
; int tmpSize
;
2491 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2492 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2495 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2497 _arg1
= new wxString(tmpPtr
, tmpSize
);
2499 if (!PyString_Check(_obj1
)) {
2500 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2503 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2507 wxPy_BEGIN_ALLOW_THREADS
;
2508 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2510 wxPy_END_ALLOW_THREADS
;
2511 if (PyErr_Occurred()) return NULL
;
2512 } Py_INCREF(Py_None
);
2513 _resultobj
= Py_None
;
2521 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2522 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2527 PyObject
* _argo0
= 0;
2528 PyObject
* _obj2
= 0;
2529 char *_kwnames
[] = { "self","n","s", NULL
};
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2542 #if PYTHON_API_VERSION >= 1009
2543 char* tmpPtr
; int tmpSize
;
2544 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2548 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2550 _arg2
= new wxString(tmpPtr
, tmpSize
);
2552 if (!PyString_Check(_obj2
)) {
2553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2556 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2560 wxPy_BEGIN_ALLOW_THREADS
;
2561 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2563 wxPy_END_ALLOW_THREADS
;
2564 if (PyErr_Occurred()) return NULL
;
2565 } Py_INCREF(Py_None
);
2566 _resultobj
= Py_None
;
2574 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2577 src
= (wxComboBox
*) ptr
;
2578 dest
= (wxChoice
*) src
;
2579 return (void *) dest
;
2582 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2584 wxControlWithItems
*dest
;
2585 src
= (wxComboBox
*) ptr
;
2586 dest
= (wxControlWithItems
*) src
;
2587 return (void *) dest
;
2590 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2593 src
= (wxComboBox
*) ptr
;
2594 dest
= (wxControl
*) src
;
2595 return (void *) dest
;
2598 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2601 src
= (wxComboBox
*) ptr
;
2602 dest
= (wxWindow
*) src
;
2603 return (void *) dest
;
2606 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2609 src
= (wxComboBox
*) ptr
;
2610 dest
= (wxEvtHandler
*) src
;
2611 return (void *) dest
;
2614 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2617 src
= (wxComboBox
*) ptr
;
2618 dest
= (wxObject
*) src
;
2619 return (void *) dest
;
2622 #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))
2623 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2625 wxComboBox
* _result
;
2628 char * _arg2
= (char *) "";
2629 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2630 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2631 int _arg5
= (int ) 0;
2632 wxString
* _arg6
= (wxString
*) NULL
;
2633 long _arg7
= (long ) 0;
2634 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2635 char * _arg9
= (char *) "comboBox";
2636 PyObject
* _argo0
= 0;
2638 PyObject
* _obj3
= 0;
2640 PyObject
* _obj4
= 0;
2641 PyObject
* _obj6
= 0;
2642 PyObject
* _argo8
= 0;
2643 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2659 if (! wxPoint_helper(_obj3
, &_arg3
))
2665 if (! wxSize_helper(_obj4
, &_arg4
))
2670 _arg6
= wxString_LIST_helper(_obj6
);
2671 if (_arg6
== NULL
) {
2676 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2677 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2684 _arg5
= PyList_Size(_obj6
);
2691 wxPy_BEGIN_ALLOW_THREADS
;
2692 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2694 wxPy_END_ALLOW_THREADS
;
2695 if (PyErr_Occurred()) return NULL
;
2697 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2698 _resultobj
= Py_BuildValue("s",_ptemp
);
2701 _resultobj
= Py_None
;
2709 #define new_wxPreComboBox() (new wxComboBox())
2710 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
* _resultobj
;
2712 wxComboBox
* _result
;
2713 char *_kwnames
[] = { NULL
};
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2720 wxPy_BEGIN_ALLOW_THREADS
;
2721 _result
= (wxComboBox
*)new_wxPreComboBox();
2723 wxPy_END_ALLOW_THREADS
;
2724 if (PyErr_Occurred()) return NULL
;
2726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2727 _resultobj
= Py_BuildValue("s",_ptemp
);
2730 _resultobj
= Py_None
;
2735 #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))
2736 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
* _resultobj
;
2742 char * _arg3
= (char *) "";
2743 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2744 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2745 int _arg6
= (int ) 0;
2746 wxString
* _arg7
= (wxString
*) NULL
;
2747 long _arg8
= (long ) 0;
2748 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2749 char * _arg10
= (char *) "comboBox";
2750 PyObject
* _argo0
= 0;
2751 PyObject
* _argo1
= 0;
2753 PyObject
* _obj4
= 0;
2755 PyObject
* _obj5
= 0;
2756 PyObject
* _obj7
= 0;
2757 PyObject
* _argo9
= 0;
2758 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2780 if (! wxPoint_helper(_obj4
, &_arg4
))
2786 if (! wxSize_helper(_obj5
, &_arg5
))
2791 _arg7
= wxString_LIST_helper(_obj7
);
2792 if (_arg7
== NULL
) {
2797 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2798 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2805 _arg6
= PyList_Size(_obj7
);
2812 wxPy_BEGIN_ALLOW_THREADS
;
2813 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2815 wxPy_END_ALLOW_THREADS
;
2816 if (PyErr_Occurred()) return NULL
;
2817 } _resultobj
= Py_BuildValue("i",_result
);
2824 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2825 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2828 PyObject
* _argo0
= 0;
2829 char *_kwnames
[] = { "self", NULL
};
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2842 wxPy_BEGIN_ALLOW_THREADS
;
2843 wxComboBox_Copy(_arg0
);
2845 wxPy_END_ALLOW_THREADS
;
2846 if (PyErr_Occurred()) return NULL
;
2847 } Py_INCREF(Py_None
);
2848 _resultobj
= Py_None
;
2852 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2853 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2854 PyObject
* _resultobj
;
2856 PyObject
* _argo0
= 0;
2857 char *_kwnames
[] = { "self", NULL
};
2860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2870 wxPy_BEGIN_ALLOW_THREADS
;
2871 wxComboBox_Cut(_arg0
);
2873 wxPy_END_ALLOW_THREADS
;
2874 if (PyErr_Occurred()) return NULL
;
2875 } Py_INCREF(Py_None
);
2876 _resultobj
= Py_None
;
2880 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2881 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
* _resultobj
;
2885 PyObject
* _argo0
= 0;
2886 char *_kwnames
[] = { "self", NULL
};
2889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2899 wxPy_BEGIN_ALLOW_THREADS
;
2900 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2902 wxPy_END_ALLOW_THREADS
;
2903 if (PyErr_Occurred()) return NULL
;
2904 } _resultobj
= Py_BuildValue("l",_result
);
2908 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2909 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
* _resultobj
;
2913 PyObject
* _argo0
= 0;
2914 char *_kwnames
[] = { "self", NULL
};
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2927 wxPy_BEGIN_ALLOW_THREADS
;
2928 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2930 wxPy_END_ALLOW_THREADS
;
2931 if (PyErr_Occurred()) return NULL
;
2932 } _resultobj
= Py_BuildValue("l",_result
);
2936 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2937 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2941 PyObject
* _argo0
= 0;
2942 char *_kwnames
[] = { "self", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2955 wxPy_BEGIN_ALLOW_THREADS
;
2956 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2958 wxPy_END_ALLOW_THREADS
;
2959 if (PyErr_Occurred()) return NULL
;
2961 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2969 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2970 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2973 PyObject
* _argo0
= 0;
2974 char *_kwnames
[] = { "self", NULL
};
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2987 wxPy_BEGIN_ALLOW_THREADS
;
2988 wxComboBox_Paste(_arg0
);
2990 wxPy_END_ALLOW_THREADS
;
2991 if (PyErr_Occurred()) return NULL
;
2992 } Py_INCREF(Py_None
);
2993 _resultobj
= Py_None
;
2997 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2998 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3004 PyObject
* _argo0
= 0;
3005 PyObject
* _obj3
= 0;
3006 char *_kwnames
[] = { "self","from","to","text", NULL
};
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3019 #if PYTHON_API_VERSION >= 1009
3020 char* tmpPtr
; int tmpSize
;
3021 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3022 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3025 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3027 _arg3
= new wxString(tmpPtr
, tmpSize
);
3029 if (!PyString_Check(_obj3
)) {
3030 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3033 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3037 wxPy_BEGIN_ALLOW_THREADS
;
3038 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3040 wxPy_END_ALLOW_THREADS
;
3041 if (PyErr_Occurred()) return NULL
;
3042 } Py_INCREF(Py_None
);
3043 _resultobj
= Py_None
;
3051 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3052 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3057 PyObject
* _argo0
= 0;
3058 char *_kwnames
[] = { "self","from","to", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3071 wxPy_BEGIN_ALLOW_THREADS
;
3072 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3074 wxPy_END_ALLOW_THREADS
;
3075 if (PyErr_Occurred()) return NULL
;
3076 } Py_INCREF(Py_None
);
3077 _resultobj
= Py_None
;
3081 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3082 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
* _resultobj
;
3086 PyObject
* _argo0
= 0;
3087 char *_kwnames
[] = { "self","pos", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3100 wxPy_BEGIN_ALLOW_THREADS
;
3101 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3103 wxPy_END_ALLOW_THREADS
;
3104 if (PyErr_Occurred()) return NULL
;
3105 } Py_INCREF(Py_None
);
3106 _resultobj
= Py_None
;
3110 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3111 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3112 PyObject
* _resultobj
;
3114 PyObject
* _argo0
= 0;
3115 char *_kwnames
[] = { "self", NULL
};
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3128 wxPy_BEGIN_ALLOW_THREADS
;
3129 wxComboBox_SetInsertionPointEnd(_arg0
);
3131 wxPy_END_ALLOW_THREADS
;
3132 if (PyErr_Occurred()) return NULL
;
3133 } Py_INCREF(Py_None
);
3134 _resultobj
= Py_None
;
3138 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3139 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
* _resultobj
;
3143 PyObject
* _argo0
= 0;
3144 char *_kwnames
[] = { "self","n", NULL
};
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3157 wxPy_BEGIN_ALLOW_THREADS
;
3158 wxComboBox_SetSelection(_arg0
,_arg1
);
3160 wxPy_END_ALLOW_THREADS
;
3161 if (PyErr_Occurred()) return NULL
;
3162 } Py_INCREF(Py_None
);
3163 _resultobj
= Py_None
;
3167 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3168 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3169 PyObject
* _resultobj
;
3173 PyObject
* _argo0
= 0;
3174 char *_kwnames
[] = { "self","from","to", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3187 wxPy_BEGIN_ALLOW_THREADS
;
3188 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3190 wxPy_END_ALLOW_THREADS
;
3191 if (PyErr_Occurred()) return NULL
;
3192 } Py_INCREF(Py_None
);
3193 _resultobj
= Py_None
;
3197 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3198 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3202 PyObject
* _argo0
= 0;
3203 PyObject
* _obj1
= 0;
3204 char *_kwnames
[] = { "self","text", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3217 #if PYTHON_API_VERSION >= 1009
3218 char* tmpPtr
; int tmpSize
;
3219 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3220 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3223 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3225 _arg1
= new wxString(tmpPtr
, tmpSize
);
3227 if (!PyString_Check(_obj1
)) {
3228 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3231 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3235 wxPy_BEGIN_ALLOW_THREADS
;
3236 wxComboBox_SetValue(_arg0
,*_arg1
);
3238 wxPy_END_ALLOW_THREADS
;
3239 if (PyErr_Occurred()) return NULL
;
3240 } Py_INCREF(Py_None
);
3241 _resultobj
= Py_None
;
3249 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3250 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
* _resultobj
;
3254 PyObject
* _argo0
= 0;
3256 char *_kwnames
[] = { "self","editable", NULL
};
3259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3268 _arg1
= (bool ) tempbool1
;
3270 wxPy_BEGIN_ALLOW_THREADS
;
3271 wxComboBox_SetEditable(_arg0
,_arg1
);
3273 wxPy_END_ALLOW_THREADS
;
3274 if (PyErr_Occurred()) return NULL
;
3275 } Py_INCREF(Py_None
);
3276 _resultobj
= Py_None
;
3280 static void *SwigwxGaugeTowxControl(void *ptr
) {
3283 src
= (wxGauge
*) ptr
;
3284 dest
= (wxControl
*) src
;
3285 return (void *) dest
;
3288 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3291 src
= (wxGauge
*) ptr
;
3292 dest
= (wxWindow
*) src
;
3293 return (void *) dest
;
3296 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3299 src
= (wxGauge
*) ptr
;
3300 dest
= (wxEvtHandler
*) src
;
3301 return (void *) dest
;
3304 static void *SwigwxGaugeTowxObject(void *ptr
) {
3307 src
= (wxGauge
*) ptr
;
3308 dest
= (wxObject
*) src
;
3309 return (void *) dest
;
3312 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3313 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
* _resultobj
;
3319 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3320 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3321 long _arg5
= (long ) wxGA_HORIZONTAL
;
3322 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3323 char * _arg7
= (char *) "gauge";
3324 PyObject
* _argo0
= 0;
3326 PyObject
* _obj3
= 0;
3328 PyObject
* _obj4
= 0;
3329 PyObject
* _argo6
= 0;
3330 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3346 if (! wxPoint_helper(_obj3
, &_arg3
))
3352 if (! wxSize_helper(_obj4
, &_arg4
))
3356 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3357 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3363 wxPy_BEGIN_ALLOW_THREADS
;
3364 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3366 wxPy_END_ALLOW_THREADS
;
3367 if (PyErr_Occurred()) return NULL
;
3369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3370 _resultobj
= Py_BuildValue("s",_ptemp
);
3373 _resultobj
= Py_None
;
3378 #define new_wxPreGauge() (new wxGauge())
3379 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3382 char *_kwnames
[] = { NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3389 wxPy_BEGIN_ALLOW_THREADS
;
3390 _result
= (wxGauge
*)new_wxPreGauge();
3392 wxPy_END_ALLOW_THREADS
;
3393 if (PyErr_Occurred()) return NULL
;
3395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3396 _resultobj
= Py_BuildValue("s",_ptemp
);
3399 _resultobj
= Py_None
;
3404 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3405 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3412 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3413 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3414 long _arg6
= (long ) wxGA_HORIZONTAL
;
3415 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3416 char * _arg8
= (char *) "gauge";
3417 PyObject
* _argo0
= 0;
3418 PyObject
* _argo1
= 0;
3420 PyObject
* _obj4
= 0;
3422 PyObject
* _obj5
= 0;
3423 PyObject
* _argo7
= 0;
3424 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3437 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3438 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3446 if (! wxPoint_helper(_obj4
, &_arg4
))
3452 if (! wxSize_helper(_obj5
, &_arg5
))
3456 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3463 wxPy_BEGIN_ALLOW_THREADS
;
3464 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3466 wxPy_END_ALLOW_THREADS
;
3467 if (PyErr_Occurred()) return NULL
;
3468 } _resultobj
= Py_BuildValue("i",_result
);
3472 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3473 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
* _resultobj
;
3477 PyObject
* _argo0
= 0;
3478 char *_kwnames
[] = { "self", NULL
};
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3491 wxPy_BEGIN_ALLOW_THREADS
;
3492 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3494 wxPy_END_ALLOW_THREADS
;
3495 if (PyErr_Occurred()) return NULL
;
3496 } _resultobj
= Py_BuildValue("i",_result
);
3500 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3501 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
* _resultobj
;
3505 PyObject
* _argo0
= 0;
3506 char *_kwnames
[] = { "self", NULL
};
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3519 wxPy_BEGIN_ALLOW_THREADS
;
3520 _result
= (int )wxGauge_GetRange(_arg0
);
3522 wxPy_END_ALLOW_THREADS
;
3523 if (PyErr_Occurred()) return NULL
;
3524 } _resultobj
= Py_BuildValue("i",_result
);
3528 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3529 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3533 PyObject
* _argo0
= 0;
3534 char *_kwnames
[] = { "self", NULL
};
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3547 wxPy_BEGIN_ALLOW_THREADS
;
3548 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3550 wxPy_END_ALLOW_THREADS
;
3551 if (PyErr_Occurred()) return NULL
;
3552 } _resultobj
= Py_BuildValue("i",_result
);
3556 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3557 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3561 PyObject
* _argo0
= 0;
3562 char *_kwnames
[] = { "self", NULL
};
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3575 wxPy_BEGIN_ALLOW_THREADS
;
3576 _result
= (int )wxGauge_GetValue(_arg0
);
3578 wxPy_END_ALLOW_THREADS
;
3579 if (PyErr_Occurred()) return NULL
;
3580 } _resultobj
= Py_BuildValue("i",_result
);
3584 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3585 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
* _resultobj
;
3589 PyObject
* _argo0
= 0;
3590 char *_kwnames
[] = { "self","width", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3603 wxPy_BEGIN_ALLOW_THREADS
;
3604 wxGauge_SetBezelFace(_arg0
,_arg1
);
3606 wxPy_END_ALLOW_THREADS
;
3607 if (PyErr_Occurred()) return NULL
;
3608 } Py_INCREF(Py_None
);
3609 _resultobj
= Py_None
;
3613 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3614 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
* _resultobj
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self","range", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3632 wxPy_BEGIN_ALLOW_THREADS
;
3633 wxGauge_SetRange(_arg0
,_arg1
);
3635 wxPy_END_ALLOW_THREADS
;
3636 if (PyErr_Occurred()) return NULL
;
3637 } Py_INCREF(Py_None
);
3638 _resultobj
= Py_None
;
3642 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3643 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
* _resultobj
;
3647 PyObject
* _argo0
= 0;
3648 char *_kwnames
[] = { "self","width", NULL
};
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3661 wxPy_BEGIN_ALLOW_THREADS
;
3662 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3664 wxPy_END_ALLOW_THREADS
;
3665 if (PyErr_Occurred()) return NULL
;
3666 } Py_INCREF(Py_None
);
3667 _resultobj
= Py_None
;
3671 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3672 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
* _resultobj
;
3676 PyObject
* _argo0
= 0;
3677 char *_kwnames
[] = { "self","pos", NULL
};
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3690 wxPy_BEGIN_ALLOW_THREADS
;
3691 wxGauge_SetValue(_arg0
,_arg1
);
3693 wxPy_END_ALLOW_THREADS
;
3694 if (PyErr_Occurred()) return NULL
;
3695 } Py_INCREF(Py_None
);
3696 _resultobj
= Py_None
;
3700 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3703 src
= (wxStaticBox
*) ptr
;
3704 dest
= (wxControl
*) src
;
3705 return (void *) dest
;
3708 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3711 src
= (wxStaticBox
*) ptr
;
3712 dest
= (wxWindow
*) src
;
3713 return (void *) dest
;
3716 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3719 src
= (wxStaticBox
*) ptr
;
3720 dest
= (wxEvtHandler
*) src
;
3721 return (void *) dest
;
3724 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3727 src
= (wxStaticBox
*) ptr
;
3728 dest
= (wxObject
*) src
;
3729 return (void *) dest
;
3732 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3733 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3735 wxStaticBox
* _result
;
3739 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3740 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3741 long _arg5
= (long ) 0;
3742 char * _arg6
= (char *) "staticBox";
3743 PyObject
* _argo0
= 0;
3744 PyObject
* _obj2
= 0;
3746 PyObject
* _obj3
= 0;
3748 PyObject
* _obj4
= 0;
3749 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3763 #if PYTHON_API_VERSION >= 1009
3764 char* tmpPtr
; int tmpSize
;
3765 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3766 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3769 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3771 _arg2
= new wxString(tmpPtr
, tmpSize
);
3773 if (!PyString_Check(_obj2
)) {
3774 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3777 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3783 if (! wxPoint_helper(_obj3
, &_arg3
))
3789 if (! wxSize_helper(_obj4
, &_arg4
))
3793 wxPy_BEGIN_ALLOW_THREADS
;
3794 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3796 wxPy_END_ALLOW_THREADS
;
3797 if (PyErr_Occurred()) return NULL
;
3799 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3800 _resultobj
= Py_BuildValue("s",_ptemp
);
3803 _resultobj
= Py_None
;
3812 #define new_wxPreStaticBox() (new wxStaticBox())
3813 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
* _resultobj
;
3815 wxStaticBox
* _result
;
3816 char *_kwnames
[] = { NULL
};
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3823 wxPy_BEGIN_ALLOW_THREADS
;
3824 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3826 wxPy_END_ALLOW_THREADS
;
3827 if (PyErr_Occurred()) return NULL
;
3829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3830 _resultobj
= Py_BuildValue("s",_ptemp
);
3833 _resultobj
= Py_None
;
3838 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3839 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
* _resultobj
;
3842 wxStaticBox
* _arg0
;
3846 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3847 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3848 long _arg6
= (long ) 0;
3849 char * _arg7
= (char *) "staticBox";
3850 PyObject
* _argo0
= 0;
3851 PyObject
* _argo1
= 0;
3852 PyObject
* _obj3
= 0;
3854 PyObject
* _obj4
= 0;
3856 PyObject
* _obj5
= 0;
3857 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3870 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3871 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3877 #if PYTHON_API_VERSION >= 1009
3878 char* tmpPtr
; int tmpSize
;
3879 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3880 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3883 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3885 _arg3
= new wxString(tmpPtr
, tmpSize
);
3887 if (!PyString_Check(_obj3
)) {
3888 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3891 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3897 if (! wxPoint_helper(_obj4
, &_arg4
))
3903 if (! wxSize_helper(_obj5
, &_arg5
))
3907 wxPy_BEGIN_ALLOW_THREADS
;
3908 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
3910 wxPy_END_ALLOW_THREADS
;
3911 if (PyErr_Occurred()) return NULL
;
3912 } _resultobj
= Py_BuildValue("i",_result
);
3920 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3923 src
= (wxStaticLine
*) ptr
;
3924 dest
= (wxControl
*) src
;
3925 return (void *) dest
;
3928 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3931 src
= (wxStaticLine
*) ptr
;
3932 dest
= (wxWindow
*) src
;
3933 return (void *) dest
;
3936 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
3939 src
= (wxStaticLine
*) ptr
;
3940 dest
= (wxEvtHandler
*) src
;
3941 return (void *) dest
;
3944 static void *SwigwxStaticLineTowxObject(void *ptr
) {
3947 src
= (wxStaticLine
*) ptr
;
3948 dest
= (wxObject
*) src
;
3949 return (void *) dest
;
3952 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3953 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
* _resultobj
;
3955 wxStaticLine
* _result
;
3958 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3959 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3960 long _arg4
= (long ) wxLI_HORIZONTAL
;
3961 char * _arg5
= (char *) "staticLine";
3962 PyObject
* _argo0
= 0;
3964 PyObject
* _obj2
= 0;
3966 PyObject
* _obj3
= 0;
3967 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
3983 if (! wxPoint_helper(_obj2
, &_arg2
))
3989 if (! wxSize_helper(_obj3
, &_arg3
))
3993 wxPy_BEGIN_ALLOW_THREADS
;
3994 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
3996 wxPy_END_ALLOW_THREADS
;
3997 if (PyErr_Occurred()) return NULL
;
3999 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4000 _resultobj
= Py_BuildValue("s",_ptemp
);
4003 _resultobj
= Py_None
;
4008 #define new_wxPreStaticLine() (new wxStaticLine())
4009 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
* _resultobj
;
4011 wxStaticLine
* _result
;
4012 char *_kwnames
[] = { NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4019 wxPy_BEGIN_ALLOW_THREADS
;
4020 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4022 wxPy_END_ALLOW_THREADS
;
4023 if (PyErr_Occurred()) return NULL
;
4025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4026 _resultobj
= Py_BuildValue("s",_ptemp
);
4029 _resultobj
= Py_None
;
4034 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4035 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
* _resultobj
;
4038 wxStaticLine
* _arg0
;
4041 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4042 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4043 long _arg5
= (long ) wxLI_HORIZONTAL
;
4044 char * _arg6
= (char *) "staticLine";
4045 PyObject
* _argo0
= 0;
4046 PyObject
* _argo1
= 0;
4048 PyObject
* _obj3
= 0;
4050 PyObject
* _obj4
= 0;
4051 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4064 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4065 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4073 if (! wxPoint_helper(_obj3
, &_arg3
))
4079 if (! wxSize_helper(_obj4
, &_arg4
))
4083 wxPy_BEGIN_ALLOW_THREADS
;
4084 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4086 wxPy_END_ALLOW_THREADS
;
4087 if (PyErr_Occurred()) return NULL
;
4088 } _resultobj
= Py_BuildValue("i",_result
);
4092 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4095 src
= (wxStaticText
*) ptr
;
4096 dest
= (wxControl
*) src
;
4097 return (void *) dest
;
4100 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4103 src
= (wxStaticText
*) ptr
;
4104 dest
= (wxWindow
*) src
;
4105 return (void *) dest
;
4108 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4111 src
= (wxStaticText
*) ptr
;
4112 dest
= (wxEvtHandler
*) src
;
4113 return (void *) dest
;
4116 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4119 src
= (wxStaticText
*) ptr
;
4120 dest
= (wxObject
*) src
;
4121 return (void *) dest
;
4124 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4125 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
* _resultobj
;
4127 wxStaticText
* _result
;
4131 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4132 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4133 long _arg5
= (long ) 0;
4134 char * _arg6
= (char *) "staticText";
4135 PyObject
* _argo0
= 0;
4136 PyObject
* _obj2
= 0;
4138 PyObject
* _obj3
= 0;
4140 PyObject
* _obj4
= 0;
4141 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4155 #if PYTHON_API_VERSION >= 1009
4156 char* tmpPtr
; int tmpSize
;
4157 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4158 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4161 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4163 _arg2
= new wxString(tmpPtr
, tmpSize
);
4165 if (!PyString_Check(_obj2
)) {
4166 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4169 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4175 if (! wxPoint_helper(_obj3
, &_arg3
))
4181 if (! wxSize_helper(_obj4
, &_arg4
))
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4188 wxPy_END_ALLOW_THREADS
;
4189 if (PyErr_Occurred()) return NULL
;
4191 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4192 _resultobj
= Py_BuildValue("s",_ptemp
);
4195 _resultobj
= Py_None
;
4204 #define new_wxPreStaticText() (new wxStaticText())
4205 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
* _resultobj
;
4207 wxStaticText
* _result
;
4208 char *_kwnames
[] = { NULL
};
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4215 wxPy_BEGIN_ALLOW_THREADS
;
4216 _result
= (wxStaticText
*)new_wxPreStaticText();
4218 wxPy_END_ALLOW_THREADS
;
4219 if (PyErr_Occurred()) return NULL
;
4221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4222 _resultobj
= Py_BuildValue("s",_ptemp
);
4225 _resultobj
= Py_None
;
4230 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4231 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4234 wxStaticText
* _arg0
;
4238 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4239 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4240 long _arg6
= (long ) 0;
4241 char * _arg7
= (char *) "staticText";
4242 PyObject
* _argo0
= 0;
4243 PyObject
* _argo1
= 0;
4244 PyObject
* _obj3
= 0;
4246 PyObject
* _obj4
= 0;
4248 PyObject
* _obj5
= 0;
4249 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4262 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4263 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4269 #if PYTHON_API_VERSION >= 1009
4270 char* tmpPtr
; int tmpSize
;
4271 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4272 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4275 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4277 _arg3
= new wxString(tmpPtr
, tmpSize
);
4279 if (!PyString_Check(_obj3
)) {
4280 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4283 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4289 if (! wxPoint_helper(_obj4
, &_arg4
))
4295 if (! wxSize_helper(_obj5
, &_arg5
))
4299 wxPy_BEGIN_ALLOW_THREADS
;
4300 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4302 wxPy_END_ALLOW_THREADS
;
4303 if (PyErr_Occurred()) return NULL
;
4304 } _resultobj
= Py_BuildValue("i",_result
);
4312 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4313 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
* _resultobj
;
4316 wxStaticText
* _arg0
;
4317 PyObject
* _argo0
= 0;
4318 char *_kwnames
[] = { "self", NULL
};
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4331 wxPy_BEGIN_ALLOW_THREADS
;
4332 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4334 wxPy_END_ALLOW_THREADS
;
4335 if (PyErr_Occurred()) return NULL
;
4337 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4345 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4346 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4348 wxStaticText
* _arg0
;
4350 PyObject
* _argo0
= 0;
4351 PyObject
* _obj1
= 0;
4352 char *_kwnames
[] = { "self","label", NULL
};
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4365 #if PYTHON_API_VERSION >= 1009
4366 char* tmpPtr
; int tmpSize
;
4367 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4368 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4371 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4373 _arg1
= new wxString(tmpPtr
, tmpSize
);
4375 if (!PyString_Check(_obj1
)) {
4376 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4379 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4383 wxPy_BEGIN_ALLOW_THREADS
;
4384 wxStaticText_SetLabel(_arg0
,*_arg1
);
4386 wxPy_END_ALLOW_THREADS
;
4387 if (PyErr_Occurred()) return NULL
;
4388 } Py_INCREF(Py_None
);
4389 _resultobj
= Py_None
;
4397 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4399 wxControlWithItems
*dest
;
4400 src
= (wxListBox
*) ptr
;
4401 dest
= (wxControlWithItems
*) src
;
4402 return (void *) dest
;
4405 static void *SwigwxListBoxTowxControl(void *ptr
) {
4408 src
= (wxListBox
*) ptr
;
4409 dest
= (wxControl
*) src
;
4410 return (void *) dest
;
4413 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4416 src
= (wxListBox
*) ptr
;
4417 dest
= (wxWindow
*) src
;
4418 return (void *) dest
;
4421 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4424 src
= (wxListBox
*) ptr
;
4425 dest
= (wxEvtHandler
*) src
;
4426 return (void *) dest
;
4429 static void *SwigwxListBoxTowxObject(void *ptr
) {
4432 src
= (wxListBox
*) ptr
;
4433 dest
= (wxObject
*) src
;
4434 return (void *) dest
;
4437 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4438 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
* _resultobj
;
4440 wxListBox
* _result
;
4443 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4444 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4446 wxString
* _arg5
= (wxString
*) NULL
;
4447 long _arg6
= (long ) 0;
4448 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4449 char * _arg8
= (char *) "listBox";
4450 PyObject
* _argo0
= 0;
4452 PyObject
* _obj2
= 0;
4454 PyObject
* _obj3
= 0;
4455 PyObject
* _obj5
= 0;
4456 PyObject
* _argo7
= 0;
4457 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4473 if (! wxPoint_helper(_obj2
, &_arg2
))
4479 if (! wxSize_helper(_obj3
, &_arg3
))
4484 _arg5
= wxString_LIST_helper(_obj5
);
4485 if (_arg5
== NULL
) {
4490 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4498 _arg4
= PyList_Size(_obj5
);
4505 wxPy_BEGIN_ALLOW_THREADS
;
4506 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4508 wxPy_END_ALLOW_THREADS
;
4509 if (PyErr_Occurred()) return NULL
;
4511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4512 _resultobj
= Py_BuildValue("s",_ptemp
);
4515 _resultobj
= Py_None
;
4523 #define new_wxPreListBox() (new wxListBox())
4524 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4526 wxListBox
* _result
;
4527 char *_kwnames
[] = { NULL
};
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4534 wxPy_BEGIN_ALLOW_THREADS
;
4535 _result
= (wxListBox
*)new_wxPreListBox();
4537 wxPy_END_ALLOW_THREADS
;
4538 if (PyErr_Occurred()) return NULL
;
4540 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4541 _resultobj
= Py_BuildValue("s",_ptemp
);
4544 _resultobj
= Py_None
;
4549 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4550 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4556 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4557 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4559 wxString
* _arg6
= (wxString
*) NULL
;
4560 long _arg7
= (long ) 0;
4561 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4562 char * _arg9
= (char *) "listBox";
4563 PyObject
* _argo0
= 0;
4564 PyObject
* _argo1
= 0;
4566 PyObject
* _obj3
= 0;
4568 PyObject
* _obj4
= 0;
4569 PyObject
* _obj6
= 0;
4570 PyObject
* _argo8
= 0;
4571 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4584 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4585 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4593 if (! wxPoint_helper(_obj3
, &_arg3
))
4599 if (! wxSize_helper(_obj4
, &_arg4
))
4604 _arg6
= wxString_LIST_helper(_obj6
);
4605 if (_arg6
== NULL
) {
4610 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4611 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4618 _arg5
= PyList_Size(_obj6
);
4625 wxPy_BEGIN_ALLOW_THREADS
;
4626 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4628 wxPy_END_ALLOW_THREADS
;
4629 if (PyErr_Occurred()) return NULL
;
4630 } _resultobj
= Py_BuildValue("i",_result
);
4637 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4638 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
* _resultobj
;
4641 PyObject
* _argo0
= 0;
4642 char *_kwnames
[] = { "self", NULL
};
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4655 wxPy_BEGIN_ALLOW_THREADS
;
4656 wxListBox_Clear(_arg0
);
4658 wxPy_END_ALLOW_THREADS
;
4659 if (PyErr_Occurred()) return NULL
;
4660 } Py_INCREF(Py_None
);
4661 _resultobj
= Py_None
;
4665 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4666 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4670 PyObject
* _argo0
= 0;
4671 char *_kwnames
[] = { "self","n", NULL
};
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4684 wxPy_BEGIN_ALLOW_THREADS
;
4685 wxListBox_Deselect(_arg0
,_arg1
);
4687 wxPy_END_ALLOW_THREADS
;
4688 if (PyErr_Occurred()) return NULL
;
4689 } Py_INCREF(Py_None
);
4690 _resultobj
= Py_None
;
4694 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4696 self
->GetSelections(lst
);
4697 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4698 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4699 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4703 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4707 PyObject
* _argo0
= 0;
4708 char *_kwnames
[] = { "self", NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4721 wxPy_BEGIN_ALLOW_THREADS
;
4722 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4724 wxPy_END_ALLOW_THREADS
;
4725 if (PyErr_Occurred()) return NULL
;
4727 _resultobj
= _result
;
4732 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4733 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
* _resultobj
;
4739 PyObject
* _argo0
= 0;
4740 PyObject
* _obj2
= 0;
4741 char *_kwnames
[] = { "self","choices","pos", NULL
};
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4754 _arg2
= wxString_LIST_helper(_obj2
);
4755 if (_arg2
== NULL
) {
4761 _arg1
= PyList_Size(_obj2
);
4768 wxPy_BEGIN_ALLOW_THREADS
;
4769 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4771 wxPy_END_ALLOW_THREADS
;
4772 if (PyErr_Occurred()) return NULL
;
4773 } Py_INCREF(Py_None
);
4774 _resultobj
= Py_None
;
4781 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4782 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4787 PyObject
* _argo0
= 0;
4788 char *_kwnames
[] = { "self","n", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4801 wxPy_BEGIN_ALLOW_THREADS
;
4802 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4804 wxPy_END_ALLOW_THREADS
;
4805 if (PyErr_Occurred()) return NULL
;
4806 } _resultobj
= Py_BuildValue("i",_result
);
4810 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4811 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
* _resultobj
;
4816 PyObject
* _argo0
= 0;
4817 char *_kwnames
[] = { "self","n", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4830 wxPy_BEGIN_ALLOW_THREADS
;
4831 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4833 wxPy_END_ALLOW_THREADS
;
4834 if (PyErr_Occurred()) return NULL
;
4835 } _resultobj
= Py_BuildValue("i",_result
);
4839 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4840 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4845 PyObject
* _argo0
= 0;
4846 PyObject
* _obj2
= 0;
4847 char *_kwnames
[] = { "self","choices", NULL
};
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4861 _arg2
= wxString_LIST_helper(_obj2
);
4862 if (_arg2
== NULL
) {
4868 _arg1
= PyList_Size(_obj2
);
4875 wxPy_BEGIN_ALLOW_THREADS
;
4876 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4878 wxPy_END_ALLOW_THREADS
;
4879 if (PyErr_Occurred()) return NULL
;
4880 } Py_INCREF(Py_None
);
4881 _resultobj
= Py_None
;
4888 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4889 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
* _resultobj
;
4893 PyObject
* _argo0
= 0;
4894 char *_kwnames
[] = { "self","n", NULL
};
4897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
4900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4907 wxPy_BEGIN_ALLOW_THREADS
;
4908 wxListBox_SetFirstItem(_arg0
,_arg1
);
4910 wxPy_END_ALLOW_THREADS
;
4911 if (PyErr_Occurred()) return NULL
;
4912 } Py_INCREF(Py_None
);
4913 _resultobj
= Py_None
;
4917 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4918 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
* _resultobj
;
4922 PyObject
* _argo0
= 0;
4923 PyObject
* _obj1
= 0;
4924 char *_kwnames
[] = { "self","string", NULL
};
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
4930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
4937 #if PYTHON_API_VERSION >= 1009
4938 char* tmpPtr
; int tmpSize
;
4939 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4943 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4945 _arg1
= new wxString(tmpPtr
, tmpSize
);
4947 if (!PyString_Check(_obj1
)) {
4948 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4951 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4955 wxPy_BEGIN_ALLOW_THREADS
;
4956 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
4958 wxPy_END_ALLOW_THREADS
;
4959 if (PyErr_Occurred()) return NULL
;
4960 } Py_INCREF(Py_None
);
4961 _resultobj
= Py_None
;
4969 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4970 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
* _resultobj
;
4974 bool _arg2
= (bool ) TRUE
;
4975 PyObject
* _argo0
= 0;
4976 int tempbool2
= (int) TRUE
;
4977 char *_kwnames
[] = { "self","n","select", NULL
};
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
4983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
4989 _arg2
= (bool ) tempbool2
;
4991 wxPy_BEGIN_ALLOW_THREADS
;
4992 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
4994 wxPy_END_ALLOW_THREADS
;
4995 if (PyErr_Occurred()) return NULL
;
4996 } Py_INCREF(Py_None
);
4997 _resultobj
= Py_None
;
5001 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5002 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
* _resultobj
;
5007 PyObject
* _argo0
= 0;
5008 PyObject
* _obj2
= 0;
5009 char *_kwnames
[] = { "self","n","string", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5022 #if PYTHON_API_VERSION >= 1009
5023 char* tmpPtr
; int tmpSize
;
5024 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5025 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5028 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5030 _arg2
= new wxString(tmpPtr
, tmpSize
);
5032 if (!PyString_Check(_obj2
)) {
5033 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5036 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5040 wxPy_BEGIN_ALLOW_THREADS
;
5041 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5043 wxPy_END_ALLOW_THREADS
;
5044 if (PyErr_Occurred()) return NULL
;
5045 } Py_INCREF(Py_None
);
5046 _resultobj
= Py_None
;
5054 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5055 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
* _resultobj
;
5059 bool _arg2
= (bool ) TRUE
;
5060 PyObject
* _argo0
= 0;
5061 PyObject
* _obj1
= 0;
5062 int tempbool2
= (int) TRUE
;
5063 char *_kwnames
[] = { "self","string","select", NULL
};
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5076 #if PYTHON_API_VERSION >= 1009
5077 char* tmpPtr
; int tmpSize
;
5078 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5079 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5082 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5084 _arg1
= new wxString(tmpPtr
, tmpSize
);
5086 if (!PyString_Check(_obj1
)) {
5087 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5090 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5093 _arg2
= (bool ) tempbool2
;
5095 wxPy_BEGIN_ALLOW_THREADS
;
5096 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5098 wxPy_END_ALLOW_THREADS
;
5099 if (PyErr_Occurred()) return NULL
;
5100 } Py_INCREF(Py_None
);
5101 _resultobj
= Py_None
;
5109 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5110 wxCheckListBox
*src
;
5112 src
= (wxCheckListBox
*) ptr
;
5113 dest
= (wxListBox
*) src
;
5114 return (void *) dest
;
5117 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5118 wxCheckListBox
*src
;
5119 wxControlWithItems
*dest
;
5120 src
= (wxCheckListBox
*) ptr
;
5121 dest
= (wxControlWithItems
*) src
;
5122 return (void *) dest
;
5125 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5126 wxCheckListBox
*src
;
5128 src
= (wxCheckListBox
*) ptr
;
5129 dest
= (wxControl
*) src
;
5130 return (void *) dest
;
5133 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5134 wxCheckListBox
*src
;
5136 src
= (wxCheckListBox
*) ptr
;
5137 dest
= (wxWindow
*) src
;
5138 return (void *) dest
;
5141 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5142 wxCheckListBox
*src
;
5144 src
= (wxCheckListBox
*) ptr
;
5145 dest
= (wxEvtHandler
*) src
;
5146 return (void *) dest
;
5149 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5150 wxCheckListBox
*src
;
5152 src
= (wxCheckListBox
*) ptr
;
5153 dest
= (wxObject
*) src
;
5154 return (void *) dest
;
5157 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5158 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
* _resultobj
;
5160 wxCheckListBox
* _result
;
5163 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5164 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5165 int _arg4
= (int ) 0;
5166 wxString
* _arg5
= (wxString
*) NULL
;
5167 long _arg6
= (long ) 0;
5168 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5169 char * _arg8
= (char *) "listBox";
5170 PyObject
* _argo0
= 0;
5172 PyObject
* _obj2
= 0;
5174 PyObject
* _obj3
= 0;
5175 PyObject
* _obj5
= 0;
5176 PyObject
* _argo7
= 0;
5177 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5193 if (! wxPoint_helper(_obj2
, &_arg2
))
5199 if (! wxSize_helper(_obj3
, &_arg3
))
5204 _arg5
= wxString_LIST_helper(_obj5
);
5205 if (_arg5
== NULL
) {
5210 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5218 _arg4
= PyList_Size(_obj5
);
5225 wxPy_BEGIN_ALLOW_THREADS
;
5226 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5228 wxPy_END_ALLOW_THREADS
;
5229 if (PyErr_Occurred()) return NULL
;
5231 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5232 _resultobj
= Py_BuildValue("s",_ptemp
);
5235 _resultobj
= Py_None
;
5243 #define new_wxPreCheckListBox() (new wxCheckListBox())
5244 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
* _resultobj
;
5246 wxCheckListBox
* _result
;
5247 char *_kwnames
[] = { NULL
};
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5254 wxPy_BEGIN_ALLOW_THREADS
;
5255 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5257 wxPy_END_ALLOW_THREADS
;
5258 if (PyErr_Occurred()) return NULL
;
5260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5261 _resultobj
= Py_BuildValue("s",_ptemp
);
5264 _resultobj
= Py_None
;
5269 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5270 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
* _resultobj
;
5273 wxCheckListBox
* _arg0
;
5276 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5277 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5278 int _arg5
= (int ) 0;
5279 wxString
* _arg6
= (wxString
*) NULL
;
5280 long _arg7
= (long ) 0;
5281 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5282 char * _arg9
= (char *) "listBox";
5283 PyObject
* _argo0
= 0;
5284 PyObject
* _argo1
= 0;
5286 PyObject
* _obj3
= 0;
5288 PyObject
* _obj4
= 0;
5289 PyObject
* _obj6
= 0;
5290 PyObject
* _argo8
= 0;
5291 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5304 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5305 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5313 if (! wxPoint_helper(_obj3
, &_arg3
))
5319 if (! wxSize_helper(_obj4
, &_arg4
))
5324 _arg6
= wxString_LIST_helper(_obj6
);
5325 if (_arg6
== NULL
) {
5330 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5331 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5338 _arg5
= PyList_Size(_obj6
);
5345 wxPy_BEGIN_ALLOW_THREADS
;
5346 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5348 wxPy_END_ALLOW_THREADS
;
5349 if (PyErr_Occurred()) return NULL
;
5350 } _resultobj
= Py_BuildValue("i",_result
);
5357 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5358 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
* _resultobj
;
5361 wxCheckListBox
* _arg0
;
5363 PyObject
* _argo0
= 0;
5364 char *_kwnames
[] = { "self","uiIndex", NULL
};
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5377 wxPy_BEGIN_ALLOW_THREADS
;
5378 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5380 wxPy_END_ALLOW_THREADS
;
5381 if (PyErr_Occurred()) return NULL
;
5382 } _resultobj
= Py_BuildValue("i",_result
);
5386 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5387 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
* _resultobj
;
5389 wxCheckListBox
* _arg0
;
5391 int _arg2
= (int ) TRUE
;
5392 PyObject
* _argo0
= 0;
5393 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5406 wxPy_BEGIN_ALLOW_THREADS
;
5407 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5409 wxPy_END_ALLOW_THREADS
;
5410 if (PyErr_Occurred()) return NULL
;
5411 } Py_INCREF(Py_None
);
5412 _resultobj
= Py_None
;
5416 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5417 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5419 wxCheckListBox
* _arg0
;
5423 PyObject
* _argo0
= 0;
5424 PyObject
* _obj2
= 0;
5425 char *_kwnames
[] = { "self","choices","pos", NULL
};
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5438 _arg2
= wxString_LIST_helper(_obj2
);
5439 if (_arg2
== NULL
) {
5445 _arg1
= PyList_Size(_obj2
);
5452 wxPy_BEGIN_ALLOW_THREADS
;
5453 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5455 wxPy_END_ALLOW_THREADS
;
5456 if (PyErr_Occurred()) return NULL
;
5457 } Py_INCREF(Py_None
);
5458 _resultobj
= Py_None
;
5465 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5466 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
* _resultobj
;
5468 wxTextAttr
* _result
;
5469 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5470 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5471 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5473 PyObject
* _obj0
= 0;
5475 PyObject
* _obj1
= 0;
5476 PyObject
* _argo2
= 0;
5477 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5486 if (! wxColour_helper(_obj0
, &_arg0
))
5492 if (! wxColour_helper(_obj1
, &_arg1
))
5496 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5497 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5503 wxPy_BEGIN_ALLOW_THREADS
;
5504 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5506 wxPy_END_ALLOW_THREADS
;
5507 if (PyErr_Occurred()) return NULL
;
5509 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5510 _resultobj
= Py_BuildValue("s",_ptemp
);
5513 _resultobj
= Py_None
;
5518 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5519 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
* _resultobj
;
5522 PyObject
* _argo0
= 0;
5523 char *_kwnames
[] = { "self", NULL
};
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5536 wxPy_BEGIN_ALLOW_THREADS
;
5537 delete_wxTextAttr(_arg0
);
5539 wxPy_END_ALLOW_THREADS
;
5540 if (PyErr_Occurred()) return NULL
;
5541 } Py_INCREF(Py_None
);
5542 _resultobj
= Py_None
;
5546 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5547 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
* _resultobj
;
5551 PyObject
* _argo0
= 0;
5553 PyObject
* _obj1
= 0;
5554 char *_kwnames
[] = { "self","colText", NULL
};
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5568 if (! wxColour_helper(_obj1
, &_arg1
))
5572 wxPy_BEGIN_ALLOW_THREADS
;
5573 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5575 wxPy_END_ALLOW_THREADS
;
5576 if (PyErr_Occurred()) return NULL
;
5577 } Py_INCREF(Py_None
);
5578 _resultobj
= Py_None
;
5582 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5583 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
* _resultobj
;
5587 PyObject
* _argo0
= 0;
5589 PyObject
* _obj1
= 0;
5590 char *_kwnames
[] = { "self","colBack", NULL
};
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5604 if (! wxColour_helper(_obj1
, &_arg1
))
5608 wxPy_BEGIN_ALLOW_THREADS
;
5609 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5611 wxPy_END_ALLOW_THREADS
;
5612 if (PyErr_Occurred()) return NULL
;
5613 } Py_INCREF(Py_None
);
5614 _resultobj
= Py_None
;
5618 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5619 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5623 PyObject
* _argo0
= 0;
5624 PyObject
* _argo1
= 0;
5625 char *_kwnames
[] = { "self","font", NULL
};
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5638 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5639 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5645 wxPy_BEGIN_ALLOW_THREADS
;
5646 wxTextAttr_SetFont(_arg0
,*_arg1
);
5648 wxPy_END_ALLOW_THREADS
;
5649 if (PyErr_Occurred()) return NULL
;
5650 } Py_INCREF(Py_None
);
5651 _resultobj
= Py_None
;
5655 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5656 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5657 PyObject
* _resultobj
;
5660 PyObject
* _argo0
= 0;
5661 char *_kwnames
[] = { "self", NULL
};
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5674 wxPy_BEGIN_ALLOW_THREADS
;
5675 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5677 wxPy_END_ALLOW_THREADS
;
5678 if (PyErr_Occurred()) return NULL
;
5679 } _resultobj
= Py_BuildValue("i",_result
);
5683 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5684 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
* _resultobj
;
5688 PyObject
* _argo0
= 0;
5689 char *_kwnames
[] = { "self", NULL
};
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5702 wxPy_BEGIN_ALLOW_THREADS
;
5703 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5705 wxPy_END_ALLOW_THREADS
;
5706 if (PyErr_Occurred()) return NULL
;
5707 } _resultobj
= Py_BuildValue("i",_result
);
5711 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5712 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
* _resultobj
;
5716 PyObject
* _argo0
= 0;
5717 char *_kwnames
[] = { "self", NULL
};
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5730 wxPy_BEGIN_ALLOW_THREADS
;
5731 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5733 wxPy_END_ALLOW_THREADS
;
5734 if (PyErr_Occurred()) return NULL
;
5735 } _resultobj
= Py_BuildValue("i",_result
);
5739 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5740 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
* _resultobj
;
5744 PyObject
* _argo0
= 0;
5745 char *_kwnames
[] = { "self", NULL
};
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5759 wxPy_BEGIN_ALLOW_THREADS
;
5760 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5762 wxPy_END_ALLOW_THREADS
;
5763 if (PyErr_Occurred()) return NULL
;
5764 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5765 _resultobj
= Py_BuildValue("s",_ptemp
);
5769 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5770 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
* _resultobj
;
5774 PyObject
* _argo0
= 0;
5775 char *_kwnames
[] = { "self", NULL
};
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5789 wxPy_BEGIN_ALLOW_THREADS
;
5790 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5792 wxPy_END_ALLOW_THREADS
;
5793 if (PyErr_Occurred()) return NULL
;
5794 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5795 _resultobj
= Py_BuildValue("s",_ptemp
);
5799 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5800 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
* _resultobj
;
5804 PyObject
* _argo0
= 0;
5805 char *_kwnames
[] = { "self", NULL
};
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5819 wxPy_BEGIN_ALLOW_THREADS
;
5820 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
5822 wxPy_END_ALLOW_THREADS
;
5823 if (PyErr_Occurred()) return NULL
;
5824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5825 _resultobj
= Py_BuildValue("s",_ptemp
);
5829 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5830 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
* _resultobj
;
5834 PyObject
* _argo0
= 0;
5835 char *_kwnames
[] = { "self", NULL
};
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5848 wxPy_BEGIN_ALLOW_THREADS
;
5849 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5851 wxPy_END_ALLOW_THREADS
;
5852 if (PyErr_Occurred()) return NULL
;
5853 } _resultobj
= Py_BuildValue("i",_result
);
5857 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
* _resultobj
;
5859 wxTextAttr
* _result
;
5863 PyObject
* _argo0
= 0;
5864 PyObject
* _argo1
= 0;
5865 PyObject
* _argo2
= 0;
5866 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5880 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5881 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
5882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5887 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
5894 wxPy_BEGIN_ALLOW_THREADS
;
5895 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
5897 wxPy_END_ALLOW_THREADS
;
5898 if (PyErr_Occurred()) return NULL
;
5899 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
5900 _resultobj
= Py_BuildValue("s",_ptemp
);
5904 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
5907 src
= (wxTextCtrl
*) ptr
;
5908 dest
= (wxControl
*) src
;
5909 return (void *) dest
;
5912 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
5915 src
= (wxTextCtrl
*) ptr
;
5916 dest
= (wxWindow
*) src
;
5917 return (void *) dest
;
5920 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
5923 src
= (wxTextCtrl
*) ptr
;
5924 dest
= (wxEvtHandler
*) src
;
5925 return (void *) dest
;
5928 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
5931 src
= (wxTextCtrl
*) ptr
;
5932 dest
= (wxObject
*) src
;
5933 return (void *) dest
;
5936 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5937 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
* _resultobj
;
5939 wxTextCtrl
* _result
;
5942 char * _arg2
= (char *) "";
5943 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5944 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5945 long _arg5
= (long ) 0;
5946 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5947 char * _arg7
= (char *) "text";
5948 PyObject
* _argo0
= 0;
5950 PyObject
* _obj3
= 0;
5952 PyObject
* _obj4
= 0;
5953 PyObject
* _argo6
= 0;
5954 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
5961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
5970 if (! wxPoint_helper(_obj3
, &_arg3
))
5976 if (! wxSize_helper(_obj4
, &_arg4
))
5980 if (_argo6
== Py_None
) { _arg6
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
5987 wxPy_BEGIN_ALLOW_THREADS
;
5988 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
5990 wxPy_END_ALLOW_THREADS
;
5991 if (PyErr_Occurred()) return NULL
;
5993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
5994 _resultobj
= Py_BuildValue("s",_ptemp
);
5997 _resultobj
= Py_None
;
6002 #define new_wxPreTextCtrl() (new wxTextCtrl())
6003 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
* _resultobj
;
6005 wxTextCtrl
* _result
;
6006 char *_kwnames
[] = { NULL
};
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6013 wxPy_BEGIN_ALLOW_THREADS
;
6014 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6016 wxPy_END_ALLOW_THREADS
;
6017 if (PyErr_Occurred()) return NULL
;
6019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6020 _resultobj
= Py_BuildValue("s",_ptemp
);
6023 _resultobj
= Py_None
;
6028 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6029 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6035 char * _arg3
= (char *) "";
6036 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6037 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6038 long _arg6
= (long ) 0;
6039 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6040 char * _arg8
= (char *) "text";
6041 PyObject
* _argo0
= 0;
6042 PyObject
* _argo1
= 0;
6044 PyObject
* _obj4
= 0;
6046 PyObject
* _obj5
= 0;
6047 PyObject
* _argo7
= 0;
6048 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6061 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6070 if (! wxPoint_helper(_obj4
, &_arg4
))
6076 if (! wxSize_helper(_obj5
, &_arg5
))
6080 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6087 wxPy_BEGIN_ALLOW_THREADS
;
6088 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6090 wxPy_END_ALLOW_THREADS
;
6091 if (PyErr_Occurred()) return NULL
;
6092 } _resultobj
= Py_BuildValue("i",_result
);
6096 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6097 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
* _resultobj
;
6101 PyObject
* _argo0
= 0;
6102 char *_kwnames
[] = { "self", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6115 wxPy_BEGIN_ALLOW_THREADS
;
6116 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6118 wxPy_END_ALLOW_THREADS
;
6119 if (PyErr_Occurred()) return NULL
;
6121 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6129 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6130 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
* _resultobj
;
6134 PyObject
* _argo0
= 0;
6135 PyObject
* _obj1
= 0;
6136 char *_kwnames
[] = { "self","value", NULL
};
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6149 #if PYTHON_API_VERSION >= 1009
6150 char* tmpPtr
; int tmpSize
;
6151 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6152 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6155 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6157 _arg1
= new wxString(tmpPtr
, tmpSize
);
6159 if (!PyString_Check(_obj1
)) {
6160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6163 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6167 wxPy_BEGIN_ALLOW_THREADS
;
6168 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6170 wxPy_END_ALLOW_THREADS
;
6171 if (PyErr_Occurred()) return NULL
;
6172 } Py_INCREF(Py_None
);
6173 _resultobj
= Py_None
;
6181 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6182 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
* _resultobj
;
6187 PyObject
* _argo0
= 0;
6188 char *_kwnames
[] = { "self","lineNo", NULL
};
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6201 wxPy_BEGIN_ALLOW_THREADS
;
6202 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6204 wxPy_END_ALLOW_THREADS
;
6205 if (PyErr_Occurred()) return NULL
;
6206 } _resultobj
= Py_BuildValue("i",_result
);
6210 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6211 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
* _resultobj
;
6216 PyObject
* _argo0
= 0;
6217 char *_kwnames
[] = { "self","lineNo", NULL
};
6220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6230 wxPy_BEGIN_ALLOW_THREADS
;
6231 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6233 wxPy_END_ALLOW_THREADS
;
6234 if (PyErr_Occurred()) return NULL
;
6236 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6244 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6245 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
* _resultobj
;
6249 PyObject
* _argo0
= 0;
6250 char *_kwnames
[] = { "self", NULL
};
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6263 wxPy_BEGIN_ALLOW_THREADS
;
6264 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6266 wxPy_END_ALLOW_THREADS
;
6267 if (PyErr_Occurred()) return NULL
;
6268 } _resultobj
= Py_BuildValue("i",_result
);
6272 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6273 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
* _resultobj
;
6277 PyObject
* _argo0
= 0;
6278 char *_kwnames
[] = { "self", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6291 wxPy_BEGIN_ALLOW_THREADS
;
6292 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6294 wxPy_END_ALLOW_THREADS
;
6295 if (PyErr_Occurred()) return NULL
;
6296 } _resultobj
= Py_BuildValue("i",_result
);
6300 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6301 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
* _resultobj
;
6305 PyObject
* _argo0
= 0;
6306 char *_kwnames
[] = { "self", NULL
};
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6319 wxPy_BEGIN_ALLOW_THREADS
;
6320 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6322 wxPy_END_ALLOW_THREADS
;
6323 if (PyErr_Occurred()) return NULL
;
6324 } _resultobj
= Py_BuildValue("i",_result
);
6328 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6329 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6336 PyObject
* _argo0
= 0;
6337 char *_kwnames
[] = { "self", NULL
};
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6356 wxPy_BEGIN_ALLOW_THREADS
;
6357 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6359 wxPy_END_ALLOW_THREADS
;
6360 if (PyErr_Occurred()) return NULL
;
6361 } Py_INCREF(Py_None
);
6362 _resultobj
= Py_None
;
6365 o
= PyInt_FromLong((long) (*_arg1
));
6366 _resultobj
= t_output_helper(_resultobj
, o
);
6370 o
= PyInt_FromLong((long) (*_arg2
));
6371 _resultobj
= t_output_helper(_resultobj
, o
);
6376 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6377 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
* _resultobj
;
6381 PyObject
* _argo0
= 0;
6382 char *_kwnames
[] = { "self", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6395 wxPy_BEGIN_ALLOW_THREADS
;
6396 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6398 wxPy_END_ALLOW_THREADS
;
6399 if (PyErr_Occurred()) return NULL
;
6401 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6409 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6410 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6413 PyObject
* _argo0
= 0;
6414 char *_kwnames
[] = { "self", NULL
};
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6427 wxPy_BEGIN_ALLOW_THREADS
;
6428 wxTextCtrl_Clear(_arg0
);
6430 wxPy_END_ALLOW_THREADS
;
6431 if (PyErr_Occurred()) return NULL
;
6432 } Py_INCREF(Py_None
);
6433 _resultobj
= Py_None
;
6437 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6438 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
* _resultobj
;
6444 PyObject
* _argo0
= 0;
6445 PyObject
* _obj3
= 0;
6446 char *_kwnames
[] = { "self","from","to","value", NULL
};
6449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6459 #if PYTHON_API_VERSION >= 1009
6460 char* tmpPtr
; int tmpSize
;
6461 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6465 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6467 _arg3
= new wxString(tmpPtr
, tmpSize
);
6469 if (!PyString_Check(_obj3
)) {
6470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6473 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6477 wxPy_BEGIN_ALLOW_THREADS
;
6478 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6480 wxPy_END_ALLOW_THREADS
;
6481 if (PyErr_Occurred()) return NULL
;
6482 } Py_INCREF(Py_None
);
6483 _resultobj
= Py_None
;
6491 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6492 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
* _resultobj
;
6497 PyObject
* _argo0
= 0;
6498 char *_kwnames
[] = { "self","from","to", NULL
};
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6511 wxPy_BEGIN_ALLOW_THREADS
;
6512 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6514 wxPy_END_ALLOW_THREADS
;
6515 if (PyErr_Occurred()) return NULL
;
6516 } Py_INCREF(Py_None
);
6517 _resultobj
= Py_None
;
6521 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6522 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
* _resultobj
;
6527 PyObject
* _argo0
= 0;
6528 PyObject
* _obj1
= 0;
6529 char *_kwnames
[] = { "self","file", NULL
};
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6542 #if PYTHON_API_VERSION >= 1009
6543 char* tmpPtr
; int tmpSize
;
6544 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6548 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6550 _arg1
= new wxString(tmpPtr
, tmpSize
);
6552 if (!PyString_Check(_obj1
)) {
6553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6556 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6560 wxPy_BEGIN_ALLOW_THREADS
;
6561 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6563 wxPy_END_ALLOW_THREADS
;
6564 if (PyErr_Occurred()) return NULL
;
6565 } _resultobj
= Py_BuildValue("i",_result
);
6573 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6574 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6578 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6579 PyObject
* _argo0
= 0;
6580 PyObject
* _obj1
= 0;
6581 char *_kwnames
[] = { "self","file", NULL
};
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6595 #if PYTHON_API_VERSION >= 1009
6596 char* tmpPtr
; int tmpSize
;
6597 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6598 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6601 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6603 _arg1
= new wxString(tmpPtr
, tmpSize
);
6605 if (!PyString_Check(_obj1
)) {
6606 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6609 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6613 wxPy_BEGIN_ALLOW_THREADS
;
6614 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6616 wxPy_END_ALLOW_THREADS
;
6617 if (PyErr_Occurred()) return NULL
;
6618 } _resultobj
= Py_BuildValue("i",_result
);
6626 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6627 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
* _resultobj
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6644 wxPy_BEGIN_ALLOW_THREADS
;
6645 wxTextCtrl_DiscardEdits(_arg0
);
6647 wxPy_END_ALLOW_THREADS
;
6648 if (PyErr_Occurred()) return NULL
;
6649 } Py_INCREF(Py_None
);
6650 _resultobj
= Py_None
;
6654 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6655 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
* _resultobj
;
6658 unsigned long _arg1
;
6659 PyObject
* _argo0
= 0;
6660 char *_kwnames
[] = { "self","len", NULL
};
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6673 wxPy_BEGIN_ALLOW_THREADS
;
6674 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6676 wxPy_END_ALLOW_THREADS
;
6677 if (PyErr_Occurred()) return NULL
;
6678 } Py_INCREF(Py_None
);
6679 _resultobj
= Py_None
;
6683 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6684 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
* _resultobj
;
6688 PyObject
* _argo0
= 0;
6689 PyObject
* _obj1
= 0;
6690 char *_kwnames
[] = { "self","text", NULL
};
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6703 #if PYTHON_API_VERSION >= 1009
6704 char* tmpPtr
; int tmpSize
;
6705 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6706 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6709 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6711 _arg1
= new wxString(tmpPtr
, tmpSize
);
6713 if (!PyString_Check(_obj1
)) {
6714 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6717 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6721 wxPy_BEGIN_ALLOW_THREADS
;
6722 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6724 wxPy_END_ALLOW_THREADS
;
6725 if (PyErr_Occurred()) return NULL
;
6726 } Py_INCREF(Py_None
);
6727 _resultobj
= Py_None
;
6735 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6736 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
* _resultobj
;
6740 PyObject
* _argo0
= 0;
6741 PyObject
* _obj1
= 0;
6742 char *_kwnames
[] = { "self","text", NULL
};
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6755 #if PYTHON_API_VERSION >= 1009
6756 char* tmpPtr
; int tmpSize
;
6757 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6761 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6763 _arg1
= new wxString(tmpPtr
, tmpSize
);
6765 if (!PyString_Check(_obj1
)) {
6766 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6769 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6773 wxPy_BEGIN_ALLOW_THREADS
;
6774 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6776 wxPy_END_ALLOW_THREADS
;
6777 if (PyErr_Occurred()) return NULL
;
6778 } Py_INCREF(Py_None
);
6779 _resultobj
= Py_None
;
6787 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6788 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6795 PyObject
* _argo0
= 0;
6796 PyObject
* _argo3
= 0;
6797 char *_kwnames
[] = { "self","start","end","style", NULL
};
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6810 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6811 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6817 wxPy_BEGIN_ALLOW_THREADS
;
6818 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6820 wxPy_END_ALLOW_THREADS
;
6821 if (PyErr_Occurred()) return NULL
;
6822 } _resultobj
= Py_BuildValue("i",_result
);
6826 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6827 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
* _resultobj
;
6832 PyObject
* _argo0
= 0;
6833 PyObject
* _argo1
= 0;
6834 char *_kwnames
[] = { "self","style", NULL
};
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6847 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6848 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6854 wxPy_BEGIN_ALLOW_THREADS
;
6855 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6857 wxPy_END_ALLOW_THREADS
;
6858 if (PyErr_Occurred()) return NULL
;
6859 } _resultobj
= Py_BuildValue("i",_result
);
6863 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6864 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
* _resultobj
;
6866 wxTextAttr
* _result
;
6868 PyObject
* _argo0
= 0;
6869 char *_kwnames
[] = { "self", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
6876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
6883 wxPy_BEGIN_ALLOW_THREADS
;
6884 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
6885 _result
= (wxTextAttr
*) &_result_ref
;
6887 wxPy_END_ALLOW_THREADS
;
6888 if (PyErr_Occurred()) return NULL
;
6890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6891 _resultobj
= Py_BuildValue("s",_ptemp
);
6894 _resultobj
= Py_None
;
6899 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
6900 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
* _resultobj
;
6906 PyObject
* _argo0
= 0;
6907 char *_kwnames
[] = { "self","x","y", NULL
};
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
6920 wxPy_BEGIN_ALLOW_THREADS
;
6921 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
6923 wxPy_END_ALLOW_THREADS
;
6924 if (PyErr_Occurred()) return NULL
;
6925 } _resultobj
= Py_BuildValue("l",_result
);
6929 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
6930 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6931 PyObject
* _resultobj
;
6939 PyObject
* _argo0
= 0;
6940 char *_kwnames
[] = { "self","pos", NULL
};
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
6952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
6959 wxPy_BEGIN_ALLOW_THREADS
;
6960 _result
= (bool )wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
6962 wxPy_END_ALLOW_THREADS
;
6963 if (PyErr_Occurred()) return NULL
;
6964 } _resultobj
= Py_BuildValue("i",_result
);
6967 o
= PyInt_FromLong((long) (*_arg2
));
6968 _resultobj
= t_output_helper(_resultobj
, o
);
6972 o
= PyInt_FromLong((long) (*_arg3
));
6973 _resultobj
= t_output_helper(_resultobj
, o
);
6978 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
6979 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6980 PyObject
* _resultobj
;
6983 PyObject
* _argo0
= 0;
6984 char *_kwnames
[] = { "self","pos", NULL
};
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
6990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
6997 wxPy_BEGIN_ALLOW_THREADS
;
6998 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7000 wxPy_END_ALLOW_THREADS
;
7001 if (PyErr_Occurred()) return NULL
;
7002 } Py_INCREF(Py_None
);
7003 _resultobj
= Py_None
;
7007 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7008 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7009 PyObject
* _resultobj
;
7011 PyObject
* _argo0
= 0;
7012 char *_kwnames
[] = { "self", NULL
};
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7025 wxPy_BEGIN_ALLOW_THREADS
;
7026 wxTextCtrl_Copy(_arg0
);
7028 wxPy_END_ALLOW_THREADS
;
7029 if (PyErr_Occurred()) return NULL
;
7030 } Py_INCREF(Py_None
);
7031 _resultobj
= Py_None
;
7035 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7036 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
* _resultobj
;
7039 PyObject
* _argo0
= 0;
7040 char *_kwnames
[] = { "self", NULL
};
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
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_Cut. Expected _wxTextCtrl_p.");
7053 wxPy_BEGIN_ALLOW_THREADS
;
7054 wxTextCtrl_Cut(_arg0
);
7056 wxPy_END_ALLOW_THREADS
;
7057 if (PyErr_Occurred()) return NULL
;
7058 } Py_INCREF(Py_None
);
7059 _resultobj
= Py_None
;
7063 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7064 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7065 PyObject
* _resultobj
;
7067 PyObject
* _argo0
= 0;
7068 char *_kwnames
[] = { "self", NULL
};
7071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7081 wxPy_BEGIN_ALLOW_THREADS
;
7082 wxTextCtrl_Paste(_arg0
);
7084 wxPy_END_ALLOW_THREADS
;
7085 if (PyErr_Occurred()) return NULL
;
7086 } Py_INCREF(Py_None
);
7087 _resultobj
= Py_None
;
7091 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7092 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
* _resultobj
;
7096 PyObject
* _argo0
= 0;
7097 char *_kwnames
[] = { "self", NULL
};
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7110 wxPy_BEGIN_ALLOW_THREADS
;
7111 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7113 wxPy_END_ALLOW_THREADS
;
7114 if (PyErr_Occurred()) return NULL
;
7115 } _resultobj
= Py_BuildValue("i",_result
);
7119 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7120 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
* _resultobj
;
7124 PyObject
* _argo0
= 0;
7125 char *_kwnames
[] = { "self", NULL
};
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7138 wxPy_BEGIN_ALLOW_THREADS
;
7139 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7141 wxPy_END_ALLOW_THREADS
;
7142 if (PyErr_Occurred()) return NULL
;
7143 } _resultobj
= Py_BuildValue("i",_result
);
7147 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7148 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
* _resultobj
;
7152 PyObject
* _argo0
= 0;
7153 char *_kwnames
[] = { "self", NULL
};
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7166 wxPy_BEGIN_ALLOW_THREADS
;
7167 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7169 wxPy_END_ALLOW_THREADS
;
7170 if (PyErr_Occurred()) return NULL
;
7171 } _resultobj
= Py_BuildValue("i",_result
);
7175 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7176 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
* _resultobj
;
7179 PyObject
* _argo0
= 0;
7180 char *_kwnames
[] = { "self", NULL
};
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7193 wxPy_BEGIN_ALLOW_THREADS
;
7194 wxTextCtrl_Undo(_arg0
);
7196 wxPy_END_ALLOW_THREADS
;
7197 if (PyErr_Occurred()) return NULL
;
7198 } Py_INCREF(Py_None
);
7199 _resultobj
= Py_None
;
7203 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7204 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
* _resultobj
;
7207 PyObject
* _argo0
= 0;
7208 char *_kwnames
[] = { "self", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7221 wxPy_BEGIN_ALLOW_THREADS
;
7222 wxTextCtrl_Redo(_arg0
);
7224 wxPy_END_ALLOW_THREADS
;
7225 if (PyErr_Occurred()) return NULL
;
7226 } Py_INCREF(Py_None
);
7227 _resultobj
= Py_None
;
7231 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7232 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7233 PyObject
* _resultobj
;
7236 PyObject
* _argo0
= 0;
7237 char *_kwnames
[] = { "self", NULL
};
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7250 wxPy_BEGIN_ALLOW_THREADS
;
7251 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7253 wxPy_END_ALLOW_THREADS
;
7254 if (PyErr_Occurred()) return NULL
;
7255 } _resultobj
= Py_BuildValue("i",_result
);
7259 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7260 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
* _resultobj
;
7264 PyObject
* _argo0
= 0;
7265 char *_kwnames
[] = { "self", NULL
};
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7278 wxPy_BEGIN_ALLOW_THREADS
;
7279 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7281 wxPy_END_ALLOW_THREADS
;
7282 if (PyErr_Occurred()) return NULL
;
7283 } _resultobj
= Py_BuildValue("i",_result
);
7287 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7288 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
* _resultobj
;
7292 PyObject
* _argo0
= 0;
7293 char *_kwnames
[] = { "self","pos", NULL
};
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7306 wxPy_BEGIN_ALLOW_THREADS
;
7307 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7309 wxPy_END_ALLOW_THREADS
;
7310 if (PyErr_Occurred()) return NULL
;
7311 } Py_INCREF(Py_None
);
7312 _resultobj
= Py_None
;
7316 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7317 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
* _resultobj
;
7320 PyObject
* _argo0
= 0;
7321 char *_kwnames
[] = { "self", NULL
};
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7334 wxPy_BEGIN_ALLOW_THREADS
;
7335 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7337 wxPy_END_ALLOW_THREADS
;
7338 if (PyErr_Occurred()) return NULL
;
7339 } Py_INCREF(Py_None
);
7340 _resultobj
= Py_None
;
7344 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7345 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
* _resultobj
;
7349 PyObject
* _argo0
= 0;
7350 char *_kwnames
[] = { "self", NULL
};
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7363 wxPy_BEGIN_ALLOW_THREADS
;
7364 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7366 wxPy_END_ALLOW_THREADS
;
7367 if (PyErr_Occurred()) return NULL
;
7368 } _resultobj
= Py_BuildValue("l",_result
);
7372 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7373 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7377 PyObject
* _argo0
= 0;
7378 char *_kwnames
[] = { "self", NULL
};
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7391 wxPy_BEGIN_ALLOW_THREADS
;
7392 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7394 wxPy_END_ALLOW_THREADS
;
7395 if (PyErr_Occurred()) return NULL
;
7396 } _resultobj
= Py_BuildValue("l",_result
);
7400 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7401 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
* _resultobj
;
7406 PyObject
* _argo0
= 0;
7407 char *_kwnames
[] = { "self","from","to", NULL
};
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7420 wxPy_BEGIN_ALLOW_THREADS
;
7421 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7423 wxPy_END_ALLOW_THREADS
;
7424 if (PyErr_Occurred()) return NULL
;
7425 } Py_INCREF(Py_None
);
7426 _resultobj
= Py_None
;
7430 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7431 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
* _resultobj
;
7434 PyObject
* _argo0
= 0;
7435 char *_kwnames
[] = { "self", NULL
};
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7448 wxPy_BEGIN_ALLOW_THREADS
;
7449 wxTextCtrl_SelectAll(_arg0
);
7451 wxPy_END_ALLOW_THREADS
;
7452 if (PyErr_Occurred()) return NULL
;
7453 } Py_INCREF(Py_None
);
7454 _resultobj
= Py_None
;
7458 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7459 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
* _resultobj
;
7463 PyObject
* _argo0
= 0;
7465 char *_kwnames
[] = { "self","editable", NULL
};
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7477 _arg1
= (bool ) tempbool1
;
7479 wxPy_BEGIN_ALLOW_THREADS
;
7480 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7482 wxPy_END_ALLOW_THREADS
;
7483 if (PyErr_Occurred()) return NULL
;
7484 } Py_INCREF(Py_None
);
7485 _resultobj
= Py_None
;
7489 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7490 self
->AppendText(text
);
7492 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
* _resultobj
;
7496 PyObject
* _argo0
= 0;
7497 PyObject
* _obj1
= 0;
7498 char *_kwnames
[] = { "self","text", NULL
};
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7511 #if PYTHON_API_VERSION >= 1009
7512 char* tmpPtr
; int tmpSize
;
7513 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7517 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7519 _arg1
= new wxString(tmpPtr
, tmpSize
);
7521 if (!PyString_Check(_obj1
)) {
7522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7525 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7529 wxPy_BEGIN_ALLOW_THREADS
;
7530 wxTextCtrl_write(_arg0
,*_arg1
);
7532 wxPy_END_ALLOW_THREADS
;
7533 if (PyErr_Occurred()) return NULL
;
7534 } Py_INCREF(Py_None
);
7535 _resultobj
= Py_None
;
7543 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7544 return self
->GetValue().Mid(from
, to
-from
);
7546 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7552 PyObject
* _argo0
= 0;
7553 char *_kwnames
[] = { "self","from","to", NULL
};
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7566 wxPy_BEGIN_ALLOW_THREADS
;
7567 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7569 wxPy_END_ALLOW_THREADS
;
7570 if (PyErr_Occurred()) return NULL
;
7572 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7580 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7583 src
= (wxScrollBar
*) ptr
;
7584 dest
= (wxControl
*) src
;
7585 return (void *) dest
;
7588 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7591 src
= (wxScrollBar
*) ptr
;
7592 dest
= (wxWindow
*) src
;
7593 return (void *) dest
;
7596 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7599 src
= (wxScrollBar
*) ptr
;
7600 dest
= (wxEvtHandler
*) src
;
7601 return (void *) dest
;
7604 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7607 src
= (wxScrollBar
*) ptr
;
7608 dest
= (wxObject
*) src
;
7609 return (void *) dest
;
7612 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7613 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
* _resultobj
;
7615 wxScrollBar
* _result
;
7617 wxWindowID _arg1
= (wxWindowID
) -1;
7618 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7619 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7620 long _arg4
= (long ) wxSB_HORIZONTAL
;
7621 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7622 char * _arg6
= (char *) "scrollBar";
7623 PyObject
* _argo0
= 0;
7625 PyObject
* _obj2
= 0;
7627 PyObject
* _obj3
= 0;
7628 PyObject
* _argo5
= 0;
7629 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7636 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7637 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7645 if (! wxPoint_helper(_obj2
, &_arg2
))
7651 if (! wxSize_helper(_obj3
, &_arg3
))
7655 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7656 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7662 wxPy_BEGIN_ALLOW_THREADS
;
7663 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7665 wxPy_END_ALLOW_THREADS
;
7666 if (PyErr_Occurred()) return NULL
;
7668 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7669 _resultobj
= Py_BuildValue("s",_ptemp
);
7672 _resultobj
= Py_None
;
7677 #define new_wxPreScrollBar() (new wxScrollBar())
7678 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
* _resultobj
;
7680 wxScrollBar
* _result
;
7681 char *_kwnames
[] = { NULL
};
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7688 wxPy_BEGIN_ALLOW_THREADS
;
7689 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7691 wxPy_END_ALLOW_THREADS
;
7692 if (PyErr_Occurred()) return NULL
;
7694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7695 _resultobj
= Py_BuildValue("s",_ptemp
);
7698 _resultobj
= Py_None
;
7703 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7704 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
* _resultobj
;
7707 wxScrollBar
* _arg0
;
7709 wxWindowID _arg2
= (wxWindowID
) -1;
7710 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7711 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7712 long _arg5
= (long ) wxSB_HORIZONTAL
;
7713 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7714 char * _arg7
= (char *) "scrollBar";
7715 PyObject
* _argo0
= 0;
7716 PyObject
* _argo1
= 0;
7718 PyObject
* _obj3
= 0;
7720 PyObject
* _obj4
= 0;
7721 PyObject
* _argo6
= 0;
7722 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7744 if (! wxPoint_helper(_obj3
, &_arg3
))
7750 if (! wxSize_helper(_obj4
, &_arg4
))
7754 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7755 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7761 wxPy_BEGIN_ALLOW_THREADS
;
7762 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7764 wxPy_END_ALLOW_THREADS
;
7765 if (PyErr_Occurred()) return NULL
;
7766 } _resultobj
= Py_BuildValue("i",_result
);
7770 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7771 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
* _resultobj
;
7774 wxScrollBar
* _arg0
;
7775 PyObject
* _argo0
= 0;
7776 char *_kwnames
[] = { "self", NULL
};
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7789 wxPy_BEGIN_ALLOW_THREADS
;
7790 _result
= (int )wxScrollBar_GetRange(_arg0
);
7792 wxPy_END_ALLOW_THREADS
;
7793 if (PyErr_Occurred()) return NULL
;
7794 } _resultobj
= Py_BuildValue("i",_result
);
7798 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7799 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
* _resultobj
;
7802 wxScrollBar
* _arg0
;
7803 PyObject
* _argo0
= 0;
7804 char *_kwnames
[] = { "self", NULL
};
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7817 wxPy_BEGIN_ALLOW_THREADS
;
7818 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7820 wxPy_END_ALLOW_THREADS
;
7821 if (PyErr_Occurred()) return NULL
;
7822 } _resultobj
= Py_BuildValue("i",_result
);
7826 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7827 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
* _resultobj
;
7830 wxScrollBar
* _arg0
;
7831 PyObject
* _argo0
= 0;
7832 char *_kwnames
[] = { "self", NULL
};
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7845 wxPy_BEGIN_ALLOW_THREADS
;
7846 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7848 wxPy_END_ALLOW_THREADS
;
7849 if (PyErr_Occurred()) return NULL
;
7850 } _resultobj
= Py_BuildValue("i",_result
);
7854 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
7855 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
* _resultobj
;
7858 wxScrollBar
* _arg0
;
7859 PyObject
* _argo0
= 0;
7860 char *_kwnames
[] = { "self", NULL
};
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
7866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
7873 wxPy_BEGIN_ALLOW_THREADS
;
7874 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
7876 wxPy_END_ALLOW_THREADS
;
7877 if (PyErr_Occurred()) return NULL
;
7878 } _resultobj
= Py_BuildValue("i",_result
);
7882 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
7883 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
* _resultobj
;
7886 wxScrollBar
* _arg0
;
7887 PyObject
* _argo0
= 0;
7888 char *_kwnames
[] = { "self", NULL
};
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
7894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
7901 wxPy_BEGIN_ALLOW_THREADS
;
7902 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
7904 wxPy_END_ALLOW_THREADS
;
7905 if (PyErr_Occurred()) return NULL
;
7906 } _resultobj
= Py_BuildValue("i",_result
);
7910 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
7911 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
* _resultobj
;
7913 wxScrollBar
* _arg0
;
7915 PyObject
* _argo0
= 0;
7916 char *_kwnames
[] = { "self","viewStart", NULL
};
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
7922 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7923 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
7929 wxPy_BEGIN_ALLOW_THREADS
;
7930 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
7932 wxPy_END_ALLOW_THREADS
;
7933 if (PyErr_Occurred()) return NULL
;
7934 } Py_INCREF(Py_None
);
7935 _resultobj
= Py_None
;
7939 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7940 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
* _resultobj
;
7942 wxScrollBar
* _arg0
;
7947 bool _arg5
= (bool ) TRUE
;
7948 PyObject
* _argo0
= 0;
7949 int tempbool5
= (int) TRUE
;
7950 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
7956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
7962 _arg5
= (bool ) tempbool5
;
7964 wxPy_BEGIN_ALLOW_THREADS
;
7965 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7967 wxPy_END_ALLOW_THREADS
;
7968 if (PyErr_Occurred()) return NULL
;
7969 } Py_INCREF(Py_None
);
7970 _resultobj
= Py_None
;
7974 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
7977 src
= (wxSpinButton
*) ptr
;
7978 dest
= (wxControl
*) src
;
7979 return (void *) dest
;
7982 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
7985 src
= (wxSpinButton
*) ptr
;
7986 dest
= (wxWindow
*) src
;
7987 return (void *) dest
;
7990 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
7993 src
= (wxSpinButton
*) ptr
;
7994 dest
= (wxEvtHandler
*) src
;
7995 return (void *) dest
;
7998 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8001 src
= (wxSpinButton
*) ptr
;
8002 dest
= (wxObject
*) src
;
8003 return (void *) dest
;
8006 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8007 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
* _resultobj
;
8009 wxSpinButton
* _result
;
8011 wxWindowID _arg1
= (wxWindowID
) -1;
8012 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8013 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8014 long _arg4
= (long ) wxSP_HORIZONTAL
;
8015 char * _arg5
= (char *) "spinButton";
8016 PyObject
* _argo0
= 0;
8018 PyObject
* _obj2
= 0;
8020 PyObject
* _obj3
= 0;
8021 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8037 if (! wxPoint_helper(_obj2
, &_arg2
))
8043 if (! wxSize_helper(_obj3
, &_arg3
))
8047 wxPy_BEGIN_ALLOW_THREADS
;
8048 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8050 wxPy_END_ALLOW_THREADS
;
8051 if (PyErr_Occurred()) return NULL
;
8053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8054 _resultobj
= Py_BuildValue("s",_ptemp
);
8057 _resultobj
= Py_None
;
8062 #define new_wxPreSpinButton() (new wxSpinButton())
8063 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
* _resultobj
;
8065 wxSpinButton
* _result
;
8066 char *_kwnames
[] = { NULL
};
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8073 wxPy_BEGIN_ALLOW_THREADS
;
8074 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8076 wxPy_END_ALLOW_THREADS
;
8077 if (PyErr_Occurred()) return NULL
;
8079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8080 _resultobj
= Py_BuildValue("s",_ptemp
);
8083 _resultobj
= Py_None
;
8088 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8089 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
* _resultobj
;
8092 wxSpinButton
* _arg0
;
8094 wxWindowID _arg2
= (wxWindowID
) -1;
8095 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8096 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8097 long _arg5
= (long ) wxSP_HORIZONTAL
;
8098 char * _arg6
= (char *) "spinButton";
8099 PyObject
* _argo0
= 0;
8100 PyObject
* _argo1
= 0;
8102 PyObject
* _obj3
= 0;
8104 PyObject
* _obj4
= 0;
8105 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8118 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8119 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8127 if (! wxPoint_helper(_obj3
, &_arg3
))
8133 if (! wxSize_helper(_obj4
, &_arg4
))
8137 wxPy_BEGIN_ALLOW_THREADS
;
8138 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8140 wxPy_END_ALLOW_THREADS
;
8141 if (PyErr_Occurred()) return NULL
;
8142 } _resultobj
= Py_BuildValue("i",_result
);
8146 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8147 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
* _resultobj
;
8150 wxSpinButton
* _arg0
;
8151 PyObject
* _argo0
= 0;
8152 char *_kwnames
[] = { "self", NULL
};
8155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8165 wxPy_BEGIN_ALLOW_THREADS
;
8166 _result
= (int )wxSpinButton_GetMax(_arg0
);
8168 wxPy_END_ALLOW_THREADS
;
8169 if (PyErr_Occurred()) return NULL
;
8170 } _resultobj
= Py_BuildValue("i",_result
);
8174 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8175 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8176 PyObject
* _resultobj
;
8178 wxSpinButton
* _arg0
;
8179 PyObject
* _argo0
= 0;
8180 char *_kwnames
[] = { "self", NULL
};
8183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8193 wxPy_BEGIN_ALLOW_THREADS
;
8194 _result
= (int )wxSpinButton_GetMin(_arg0
);
8196 wxPy_END_ALLOW_THREADS
;
8197 if (PyErr_Occurred()) return NULL
;
8198 } _resultobj
= Py_BuildValue("i",_result
);
8202 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8203 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
* _resultobj
;
8206 wxSpinButton
* _arg0
;
8207 PyObject
* _argo0
= 0;
8208 char *_kwnames
[] = { "self", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8221 wxPy_BEGIN_ALLOW_THREADS
;
8222 _result
= (int )wxSpinButton_GetValue(_arg0
);
8224 wxPy_END_ALLOW_THREADS
;
8225 if (PyErr_Occurred()) return NULL
;
8226 } _resultobj
= Py_BuildValue("i",_result
);
8230 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8231 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
* _resultobj
;
8233 wxSpinButton
* _arg0
;
8236 PyObject
* _argo0
= 0;
8237 char *_kwnames
[] = { "self","min","max", NULL
};
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8250 wxPy_BEGIN_ALLOW_THREADS
;
8251 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8253 wxPy_END_ALLOW_THREADS
;
8254 if (PyErr_Occurred()) return NULL
;
8255 } Py_INCREF(Py_None
);
8256 _resultobj
= Py_None
;
8260 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8261 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
* _resultobj
;
8263 wxSpinButton
* _arg0
;
8265 PyObject
* _argo0
= 0;
8266 char *_kwnames
[] = { "self","value", NULL
};
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8279 wxPy_BEGIN_ALLOW_THREADS
;
8280 wxSpinButton_SetValue(_arg0
,_arg1
);
8282 wxPy_END_ALLOW_THREADS
;
8283 if (PyErr_Occurred()) return NULL
;
8284 } Py_INCREF(Py_None
);
8285 _resultobj
= Py_None
;
8289 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8290 wxStaticBitmap
*src
;
8292 src
= (wxStaticBitmap
*) ptr
;
8293 dest
= (wxControl
*) src
;
8294 return (void *) dest
;
8297 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8298 wxStaticBitmap
*src
;
8300 src
= (wxStaticBitmap
*) ptr
;
8301 dest
= (wxWindow
*) src
;
8302 return (void *) dest
;
8305 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8306 wxStaticBitmap
*src
;
8308 src
= (wxStaticBitmap
*) ptr
;
8309 dest
= (wxEvtHandler
*) src
;
8310 return (void *) dest
;
8313 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8314 wxStaticBitmap
*src
;
8316 src
= (wxStaticBitmap
*) ptr
;
8317 dest
= (wxObject
*) src
;
8318 return (void *) dest
;
8321 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8322 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
* _resultobj
;
8324 wxStaticBitmap
* _result
;
8328 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8329 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8330 long _arg5
= (long ) 0;
8331 char * _arg6
= (char *) "staticBitmap";
8332 PyObject
* _argo0
= 0;
8333 PyObject
* _argo2
= 0;
8335 PyObject
* _obj3
= 0;
8337 PyObject
* _obj4
= 0;
8338 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8352 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8353 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8361 if (! wxPoint_helper(_obj3
, &_arg3
))
8367 if (! wxSize_helper(_obj4
, &_arg4
))
8371 wxPy_BEGIN_ALLOW_THREADS
;
8372 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8374 wxPy_END_ALLOW_THREADS
;
8375 if (PyErr_Occurred()) return NULL
;
8377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8378 _resultobj
= Py_BuildValue("s",_ptemp
);
8381 _resultobj
= Py_None
;
8386 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8387 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
* _resultobj
;
8389 wxStaticBitmap
* _result
;
8390 char *_kwnames
[] = { NULL
};
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8397 wxPy_BEGIN_ALLOW_THREADS
;
8398 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8400 wxPy_END_ALLOW_THREADS
;
8401 if (PyErr_Occurred()) return NULL
;
8403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8404 _resultobj
= Py_BuildValue("s",_ptemp
);
8407 _resultobj
= Py_None
;
8412 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8413 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
* _resultobj
;
8416 wxStaticBitmap
* _arg0
;
8420 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8421 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8422 long _arg6
= (long ) 0;
8423 char * _arg7
= (char *) "staticBitmap";
8424 PyObject
* _argo0
= 0;
8425 PyObject
* _argo1
= 0;
8426 PyObject
* _argo3
= 0;
8428 PyObject
* _obj4
= 0;
8430 PyObject
* _obj5
= 0;
8431 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8444 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8445 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8451 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8452 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8460 if (! wxPoint_helper(_obj4
, &_arg4
))
8466 if (! wxSize_helper(_obj5
, &_arg5
))
8470 wxPy_BEGIN_ALLOW_THREADS
;
8471 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8473 wxPy_END_ALLOW_THREADS
;
8474 if (PyErr_Occurred()) return NULL
;
8475 } _resultobj
= Py_BuildValue("i",_result
);
8479 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8480 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
* _resultobj
;
8483 wxStaticBitmap
* _arg0
;
8484 PyObject
* _argo0
= 0;
8485 char *_kwnames
[] = { "self", NULL
};
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8499 wxPy_BEGIN_ALLOW_THREADS
;
8500 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8502 wxPy_END_ALLOW_THREADS
;
8503 if (PyErr_Occurred()) return NULL
;
8504 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8505 _resultobj
= Py_BuildValue("s",_ptemp
);
8509 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8510 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8511 PyObject
* _resultobj
;
8512 wxStaticBitmap
* _arg0
;
8514 PyObject
* _argo0
= 0;
8515 PyObject
* _argo1
= 0;
8516 char *_kwnames
[] = { "self","bitmap", NULL
};
8519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8529 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8530 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8536 wxPy_BEGIN_ALLOW_THREADS
;
8537 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8539 wxPy_END_ALLOW_THREADS
;
8540 if (PyErr_Occurred()) return NULL
;
8541 } Py_INCREF(Py_None
);
8542 _resultobj
= Py_None
;
8546 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8547 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
* _resultobj
;
8549 wxStaticBitmap
* _arg0
;
8551 PyObject
* _argo0
= 0;
8552 PyObject
* _argo1
= 0;
8553 char *_kwnames
[] = { "self","icon", NULL
};
8556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8566 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8567 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8573 wxPy_BEGIN_ALLOW_THREADS
;
8574 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8576 wxPy_END_ALLOW_THREADS
;
8577 if (PyErr_Occurred()) return NULL
;
8578 } Py_INCREF(Py_None
);
8579 _resultobj
= Py_None
;
8583 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8586 src
= (wxRadioBox
*) ptr
;
8587 dest
= (wxControl
*) src
;
8588 return (void *) dest
;
8591 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8594 src
= (wxRadioBox
*) ptr
;
8595 dest
= (wxWindow
*) src
;
8596 return (void *) dest
;
8599 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8602 src
= (wxRadioBox
*) ptr
;
8603 dest
= (wxEvtHandler
*) src
;
8604 return (void *) dest
;
8607 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8610 src
= (wxRadioBox
*) ptr
;
8611 dest
= (wxObject
*) src
;
8612 return (void *) dest
;
8615 #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))
8616 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
* _resultobj
;
8618 wxRadioBox
* _result
;
8622 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8623 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8624 int _arg5
= (int ) 0;
8625 wxString
* _arg6
= (wxString
*) NULL
;
8626 int _arg7
= (int ) 0;
8627 long _arg8
= (long ) wxRA_HORIZONTAL
;
8628 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8629 char * _arg10
= (char *) "radioBox";
8630 PyObject
* _argo0
= 0;
8631 PyObject
* _obj2
= 0;
8633 PyObject
* _obj3
= 0;
8635 PyObject
* _obj4
= 0;
8636 PyObject
* _obj6
= 0;
8637 PyObject
* _argo9
= 0;
8638 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8652 #if PYTHON_API_VERSION >= 1009
8653 char* tmpPtr
; int tmpSize
;
8654 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8658 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8660 _arg2
= new wxString(tmpPtr
, tmpSize
);
8662 if (!PyString_Check(_obj2
)) {
8663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8666 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8672 if (! wxPoint_helper(_obj3
, &_arg3
))
8678 if (! wxSize_helper(_obj4
, &_arg4
))
8683 _arg6
= wxString_LIST_helper(_obj6
);
8684 if (_arg6
== NULL
) {
8689 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8690 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8697 _arg5
= PyList_Size(_obj6
);
8704 wxPy_BEGIN_ALLOW_THREADS
;
8705 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8707 wxPy_END_ALLOW_THREADS
;
8708 if (PyErr_Occurred()) return NULL
;
8710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8711 _resultobj
= Py_BuildValue("s",_ptemp
);
8714 _resultobj
= Py_None
;
8726 #define new_wxPreRadioBox() (new wxRadioBox())
8727 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
* _resultobj
;
8729 wxRadioBox
* _result
;
8730 char *_kwnames
[] = { NULL
};
8734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8737 wxPy_BEGIN_ALLOW_THREADS
;
8738 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8740 wxPy_END_ALLOW_THREADS
;
8741 if (PyErr_Occurred()) return NULL
;
8743 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8744 _resultobj
= Py_BuildValue("s",_ptemp
);
8747 _resultobj
= Py_None
;
8752 #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))
8753 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
* _resultobj
;
8760 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8761 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8762 int _arg6
= (int ) 0;
8763 wxString
* _arg7
= (wxString
*) NULL
;
8764 int _arg8
= (int ) 0;
8765 long _arg9
= (long ) wxRA_HORIZONTAL
;
8766 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8767 char * _arg11
= (char *) "radioBox";
8768 PyObject
* _argo0
= 0;
8769 PyObject
* _argo1
= 0;
8770 PyObject
* _obj3
= 0;
8772 PyObject
* _obj4
= 0;
8774 PyObject
* _obj5
= 0;
8775 PyObject
* _obj7
= 0;
8776 PyObject
* _argo10
= 0;
8777 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8790 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8791 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8797 #if PYTHON_API_VERSION >= 1009
8798 char* tmpPtr
; int tmpSize
;
8799 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8803 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8805 _arg3
= new wxString(tmpPtr
, tmpSize
);
8807 if (!PyString_Check(_obj3
)) {
8808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8811 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8817 if (! wxPoint_helper(_obj4
, &_arg4
))
8823 if (! wxSize_helper(_obj5
, &_arg5
))
8828 _arg7
= wxString_LIST_helper(_obj7
);
8829 if (_arg7
== NULL
) {
8834 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8835 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8842 _arg6
= PyList_Size(_obj7
);
8849 wxPy_BEGIN_ALLOW_THREADS
;
8850 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
8852 wxPy_END_ALLOW_THREADS
;
8853 if (PyErr_Occurred()) return NULL
;
8854 } _resultobj
= Py_BuildValue("i",_result
);
8865 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8866 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
* _resultobj
;
8870 PyObject
* _argo0
= 0;
8872 char *_kwnames
[] = { "self","enable", NULL
};
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
8878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8884 _arg1
= (bool ) tempbool1
;
8886 wxPy_BEGIN_ALLOW_THREADS
;
8887 wxRadioBox_Enable(_arg0
,_arg1
);
8889 wxPy_END_ALLOW_THREADS
;
8890 if (PyErr_Occurred()) return NULL
;
8891 } Py_INCREF(Py_None
);
8892 _resultobj
= Py_None
;
8896 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8897 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
* _resultobj
;
8902 PyObject
* _argo0
= 0;
8904 char *_kwnames
[] = { "self","n","enable", NULL
};
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
8916 _arg2
= (bool ) tempbool2
;
8918 wxPy_BEGIN_ALLOW_THREADS
;
8919 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
8921 wxPy_END_ALLOW_THREADS
;
8922 if (PyErr_Occurred()) return NULL
;
8923 } Py_INCREF(Py_None
);
8924 _resultobj
= Py_None
;
8928 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
8929 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
* _resultobj
;
8934 PyObject
* _argo0
= 0;
8935 PyObject
* _obj1
= 0;
8936 char *_kwnames
[] = { "self","string", NULL
};
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
8942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
8949 #if PYTHON_API_VERSION >= 1009
8950 char* tmpPtr
; int tmpSize
;
8951 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8952 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8955 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8957 _arg1
= new wxString(tmpPtr
, tmpSize
);
8959 if (!PyString_Check(_obj1
)) {
8960 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8963 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8967 wxPy_BEGIN_ALLOW_THREADS
;
8968 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
8970 wxPy_END_ALLOW_THREADS
;
8971 if (PyErr_Occurred()) return NULL
;
8972 } _resultobj
= Py_BuildValue("i",_result
);
8980 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
8981 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8982 PyObject
* _resultobj
;
8986 PyObject
* _argo0
= 0;
8987 char *_kwnames
[] = { "self","n", NULL
};
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
8993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9000 wxPy_BEGIN_ALLOW_THREADS
;
9001 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9003 wxPy_END_ALLOW_THREADS
;
9004 if (PyErr_Occurred()) return NULL
;
9006 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9014 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9015 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
* _resultobj
;
9020 PyObject
* _argo0
= 0;
9021 PyObject
* _obj2
= 0;
9022 char *_kwnames
[] = { "self","n","label", NULL
};
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9035 #if PYTHON_API_VERSION >= 1009
9036 char* tmpPtr
; int tmpSize
;
9037 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9038 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9041 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9043 _arg2
= new wxString(tmpPtr
, tmpSize
);
9045 if (!PyString_Check(_obj2
)) {
9046 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9049 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9053 wxPy_BEGIN_ALLOW_THREADS
;
9054 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9056 wxPy_END_ALLOW_THREADS
;
9057 if (PyErr_Occurred()) return NULL
;
9058 } Py_INCREF(Py_None
);
9059 _resultobj
= Py_None
;
9067 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9068 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
* _resultobj
;
9072 PyObject
* _argo0
= 0;
9073 char *_kwnames
[] = { "self", NULL
};
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9086 wxPy_BEGIN_ALLOW_THREADS
;
9087 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9089 wxPy_END_ALLOW_THREADS
;
9090 if (PyErr_Occurred()) return NULL
;
9091 } _resultobj
= Py_BuildValue("i",_result
);
9095 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9096 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
* _resultobj
;
9100 PyObject
* _argo0
= 0;
9101 char *_kwnames
[] = { "self", NULL
};
9104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9114 wxPy_BEGIN_ALLOW_THREADS
;
9115 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9117 wxPy_END_ALLOW_THREADS
;
9118 if (PyErr_Occurred()) return NULL
;
9119 } _resultobj
= Py_BuildValue("i",_result
);
9123 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9124 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
* _resultobj
;
9128 PyObject
* _argo0
= 0;
9129 char *_kwnames
[] = { "self", NULL
};
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9142 wxPy_BEGIN_ALLOW_THREADS
;
9143 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9145 wxPy_END_ALLOW_THREADS
;
9146 if (PyErr_Occurred()) return NULL
;
9147 } _resultobj
= Py_BuildValue("i",_result
);
9151 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9152 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
* _resultobj
;
9156 PyObject
* _argo0
= 0;
9157 char *_kwnames
[] = { "self", NULL
};
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9170 wxPy_BEGIN_ALLOW_THREADS
;
9171 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9173 wxPy_END_ALLOW_THREADS
;
9174 if (PyErr_Occurred()) return NULL
;
9176 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9184 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9185 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
* _resultobj
;
9189 PyObject
* _argo0
= 0;
9190 char *_kwnames
[] = { "self", NULL
};
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9203 wxPy_BEGIN_ALLOW_THREADS
;
9204 _result
= (int )wxRadioBox_GetCount(_arg0
);
9206 wxPy_END_ALLOW_THREADS
;
9207 if (PyErr_Occurred()) return NULL
;
9208 } _resultobj
= Py_BuildValue("i",_result
);
9212 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9213 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
* _resultobj
;
9217 PyObject
* _argo0
= 0;
9218 char *_kwnames
[] = { "self","n", NULL
};
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9231 wxPy_BEGIN_ALLOW_THREADS
;
9232 wxRadioBox_SetSelection(_arg0
,_arg1
);
9234 wxPy_END_ALLOW_THREADS
;
9235 if (PyErr_Occurred()) return NULL
;
9236 } Py_INCREF(Py_None
);
9237 _resultobj
= Py_None
;
9241 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9242 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
* _resultobj
;
9246 PyObject
* _argo0
= 0;
9247 PyObject
* _obj1
= 0;
9248 char *_kwnames
[] = { "self","string", NULL
};
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9261 #if PYTHON_API_VERSION >= 1009
9262 char* tmpPtr
; int tmpSize
;
9263 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9264 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9267 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9269 _arg1
= new wxString(tmpPtr
, tmpSize
);
9271 if (!PyString_Check(_obj1
)) {
9272 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9275 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9279 wxPy_BEGIN_ALLOW_THREADS
;
9280 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9282 wxPy_END_ALLOW_THREADS
;
9283 if (PyErr_Occurred()) return NULL
;
9284 } Py_INCREF(Py_None
);
9285 _resultobj
= Py_None
;
9293 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9294 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9295 PyObject
* _resultobj
;
9298 PyObject
* _argo0
= 0;
9300 char *_kwnames
[] = { "self","show", NULL
};
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9312 _arg1
= (bool ) tempbool1
;
9314 wxPy_BEGIN_ALLOW_THREADS
;
9315 wxRadioBox_Show(_arg0
,_arg1
);
9317 wxPy_END_ALLOW_THREADS
;
9318 if (PyErr_Occurred()) return NULL
;
9319 } Py_INCREF(Py_None
);
9320 _resultobj
= Py_None
;
9324 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9325 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
* _resultobj
;
9330 PyObject
* _argo0
= 0;
9332 char *_kwnames
[] = { "self","item","show", NULL
};
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9344 _arg2
= (bool ) tempbool2
;
9346 wxPy_BEGIN_ALLOW_THREADS
;
9347 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9349 wxPy_END_ALLOW_THREADS
;
9350 if (PyErr_Occurred()) return NULL
;
9351 } Py_INCREF(Py_None
);
9352 _resultobj
= Py_None
;
9356 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9359 src
= (wxRadioButton
*) ptr
;
9360 dest
= (wxControl
*) src
;
9361 return (void *) dest
;
9364 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9367 src
= (wxRadioButton
*) ptr
;
9368 dest
= (wxWindow
*) src
;
9369 return (void *) dest
;
9372 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9375 src
= (wxRadioButton
*) ptr
;
9376 dest
= (wxEvtHandler
*) src
;
9377 return (void *) dest
;
9380 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9383 src
= (wxRadioButton
*) ptr
;
9384 dest
= (wxObject
*) src
;
9385 return (void *) dest
;
9388 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9389 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
* _resultobj
;
9391 wxRadioButton
* _result
;
9395 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9396 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9397 long _arg5
= (long ) 0;
9398 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9399 char * _arg7
= (char *) "radioButton";
9400 PyObject
* _argo0
= 0;
9401 PyObject
* _obj2
= 0;
9403 PyObject
* _obj3
= 0;
9405 PyObject
* _obj4
= 0;
9406 PyObject
* _argo6
= 0;
9407 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9421 #if PYTHON_API_VERSION >= 1009
9422 char* tmpPtr
; int tmpSize
;
9423 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9424 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9427 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9429 _arg2
= new wxString(tmpPtr
, tmpSize
);
9431 if (!PyString_Check(_obj2
)) {
9432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9435 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9441 if (! wxPoint_helper(_obj3
, &_arg3
))
9447 if (! wxSize_helper(_obj4
, &_arg4
))
9451 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9452 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9458 wxPy_BEGIN_ALLOW_THREADS
;
9459 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9461 wxPy_END_ALLOW_THREADS
;
9462 if (PyErr_Occurred()) return NULL
;
9464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9465 _resultobj
= Py_BuildValue("s",_ptemp
);
9468 _resultobj
= Py_None
;
9477 #define new_wxPreRadioButton() (new wxRadioButton())
9478 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
* _resultobj
;
9480 wxRadioButton
* _result
;
9481 char *_kwnames
[] = { NULL
};
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9488 wxPy_BEGIN_ALLOW_THREADS
;
9489 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9491 wxPy_END_ALLOW_THREADS
;
9492 if (PyErr_Occurred()) return NULL
;
9494 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9495 _resultobj
= Py_BuildValue("s",_ptemp
);
9498 _resultobj
= Py_None
;
9503 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9504 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
* _resultobj
;
9507 wxRadioButton
* _arg0
;
9511 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9512 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9513 long _arg6
= (long ) 0;
9514 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9515 char * _arg8
= (char *) "radioButton";
9516 PyObject
* _argo0
= 0;
9517 PyObject
* _argo1
= 0;
9518 PyObject
* _obj3
= 0;
9520 PyObject
* _obj4
= 0;
9522 PyObject
* _obj5
= 0;
9523 PyObject
* _argo7
= 0;
9524 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9544 #if PYTHON_API_VERSION >= 1009
9545 char* tmpPtr
; int tmpSize
;
9546 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9547 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9550 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9552 _arg3
= new wxString(tmpPtr
, tmpSize
);
9554 if (!PyString_Check(_obj3
)) {
9555 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9558 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9564 if (! wxPoint_helper(_obj4
, &_arg4
))
9570 if (! wxSize_helper(_obj5
, &_arg5
))
9574 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9575 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9581 wxPy_BEGIN_ALLOW_THREADS
;
9582 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9584 wxPy_END_ALLOW_THREADS
;
9585 if (PyErr_Occurred()) return NULL
;
9586 } _resultobj
= Py_BuildValue("i",_result
);
9594 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9595 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
* _resultobj
;
9598 wxRadioButton
* _arg0
;
9599 PyObject
* _argo0
= 0;
9600 char *_kwnames
[] = { "self", NULL
};
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9606 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9607 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9613 wxPy_BEGIN_ALLOW_THREADS
;
9614 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9616 wxPy_END_ALLOW_THREADS
;
9617 if (PyErr_Occurred()) return NULL
;
9618 } _resultobj
= Py_BuildValue("i",_result
);
9622 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9623 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
* _resultobj
;
9625 wxRadioButton
* _arg0
;
9627 PyObject
* _argo0
= 0;
9629 char *_kwnames
[] = { "self","value", NULL
};
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9641 _arg1
= (bool ) tempbool1
;
9643 wxPy_BEGIN_ALLOW_THREADS
;
9644 wxRadioButton_SetValue(_arg0
,_arg1
);
9646 wxPy_END_ALLOW_THREADS
;
9647 if (PyErr_Occurred()) return NULL
;
9648 } Py_INCREF(Py_None
);
9649 _resultobj
= Py_None
;
9653 static void *SwigwxSliderTowxControl(void *ptr
) {
9656 src
= (wxSlider
*) ptr
;
9657 dest
= (wxControl
*) src
;
9658 return (void *) dest
;
9661 static void *SwigwxSliderTowxWindow(void *ptr
) {
9664 src
= (wxSlider
*) ptr
;
9665 dest
= (wxWindow
*) src
;
9666 return (void *) dest
;
9669 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9672 src
= (wxSlider
*) ptr
;
9673 dest
= (wxEvtHandler
*) src
;
9674 return (void *) dest
;
9677 static void *SwigwxSliderTowxObject(void *ptr
) {
9680 src
= (wxSlider
*) ptr
;
9681 dest
= (wxObject
*) src
;
9682 return (void *) dest
;
9685 #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))
9686 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
* _resultobj
;
9694 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9695 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9696 long _arg7
= (long ) wxSL_HORIZONTAL
;
9697 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9698 char * _arg9
= (char *) "slider";
9699 PyObject
* _argo0
= 0;
9701 PyObject
* _obj5
= 0;
9703 PyObject
* _obj6
= 0;
9704 PyObject
* _argo8
= 0;
9705 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9721 if (! wxPoint_helper(_obj5
, &_arg5
))
9727 if (! wxSize_helper(_obj6
, &_arg6
))
9731 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9732 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9738 wxPy_BEGIN_ALLOW_THREADS
;
9739 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9741 wxPy_END_ALLOW_THREADS
;
9742 if (PyErr_Occurred()) return NULL
;
9744 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9745 _resultobj
= Py_BuildValue("s",_ptemp
);
9748 _resultobj
= Py_None
;
9753 #define new_wxPreSlider() (new wxSlider())
9754 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
* _resultobj
;
9757 char *_kwnames
[] = { NULL
};
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9764 wxPy_BEGIN_ALLOW_THREADS
;
9765 _result
= (wxSlider
*)new_wxPreSlider();
9767 wxPy_END_ALLOW_THREADS
;
9768 if (PyErr_Occurred()) return NULL
;
9770 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9771 _resultobj
= Py_BuildValue("s",_ptemp
);
9774 _resultobj
= Py_None
;
9779 #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))
9780 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
* _resultobj
;
9789 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9790 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9791 long _arg8
= (long ) wxSL_HORIZONTAL
;
9792 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9793 char * _arg10
= (char *) "slider";
9794 PyObject
* _argo0
= 0;
9795 PyObject
* _argo1
= 0;
9797 PyObject
* _obj6
= 0;
9799 PyObject
* _obj7
= 0;
9800 PyObject
* _argo9
= 0;
9801 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9823 if (! wxPoint_helper(_obj6
, &_arg6
))
9829 if (! wxSize_helper(_obj7
, &_arg7
))
9833 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9834 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9840 wxPy_BEGIN_ALLOW_THREADS
;
9841 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9843 wxPy_END_ALLOW_THREADS
;
9844 if (PyErr_Occurred()) return NULL
;
9845 } _resultobj
= Py_BuildValue("i",_result
);
9849 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9850 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
* _resultobj
;
9853 PyObject
* _argo0
= 0;
9854 char *_kwnames
[] = { "self", NULL
};
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9867 wxPy_BEGIN_ALLOW_THREADS
;
9868 wxSlider_ClearSel(_arg0
);
9870 wxPy_END_ALLOW_THREADS
;
9871 if (PyErr_Occurred()) return NULL
;
9872 } Py_INCREF(Py_None
);
9873 _resultobj
= Py_None
;
9877 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
9878 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
* _resultobj
;
9881 PyObject
* _argo0
= 0;
9882 char *_kwnames
[] = { "self", NULL
};
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
9888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9895 wxPy_BEGIN_ALLOW_THREADS
;
9896 wxSlider_ClearTicks(_arg0
);
9898 wxPy_END_ALLOW_THREADS
;
9899 if (PyErr_Occurred()) return NULL
;
9900 } Py_INCREF(Py_None
);
9901 _resultobj
= Py_None
;
9905 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
9906 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
* _resultobj
;
9910 PyObject
* _argo0
= 0;
9911 char *_kwnames
[] = { "self", NULL
};
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
9917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
9924 wxPy_BEGIN_ALLOW_THREADS
;
9925 _result
= (int )wxSlider_GetLineSize(_arg0
);
9927 wxPy_END_ALLOW_THREADS
;
9928 if (PyErr_Occurred()) return NULL
;
9929 } _resultobj
= Py_BuildValue("i",_result
);
9933 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
9934 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
* _resultobj
;
9938 PyObject
* _argo0
= 0;
9939 char *_kwnames
[] = { "self", NULL
};
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
9945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
9952 wxPy_BEGIN_ALLOW_THREADS
;
9953 _result
= (int )wxSlider_GetMax(_arg0
);
9955 wxPy_END_ALLOW_THREADS
;
9956 if (PyErr_Occurred()) return NULL
;
9957 } _resultobj
= Py_BuildValue("i",_result
);
9961 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
9962 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9963 PyObject
* _resultobj
;
9966 PyObject
* _argo0
= 0;
9967 char *_kwnames
[] = { "self", NULL
};
9970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
9973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
9980 wxPy_BEGIN_ALLOW_THREADS
;
9981 _result
= (int )wxSlider_GetMin(_arg0
);
9983 wxPy_END_ALLOW_THREADS
;
9984 if (PyErr_Occurred()) return NULL
;
9985 } _resultobj
= Py_BuildValue("i",_result
);
9989 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
9990 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
* _resultobj
;
9994 PyObject
* _argo0
= 0;
9995 char *_kwnames
[] = { "self", NULL
};
9998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10008 wxPy_BEGIN_ALLOW_THREADS
;
10009 _result
= (int )wxSlider_GetPageSize(_arg0
);
10011 wxPy_END_ALLOW_THREADS
;
10012 if (PyErr_Occurred()) return NULL
;
10013 } _resultobj
= Py_BuildValue("i",_result
);
10017 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10018 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
* _resultobj
;
10022 PyObject
* _argo0
= 0;
10023 char *_kwnames
[] = { "self", NULL
};
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10036 wxPy_BEGIN_ALLOW_THREADS
;
10037 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10039 wxPy_END_ALLOW_THREADS
;
10040 if (PyErr_Occurred()) return NULL
;
10041 } _resultobj
= Py_BuildValue("i",_result
);
10045 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10046 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
* _resultobj
;
10050 PyObject
* _argo0
= 0;
10051 char *_kwnames
[] = { "self", NULL
};
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10064 wxPy_BEGIN_ALLOW_THREADS
;
10065 _result
= (int )wxSlider_GetSelStart(_arg0
);
10067 wxPy_END_ALLOW_THREADS
;
10068 if (PyErr_Occurred()) return NULL
;
10069 } _resultobj
= Py_BuildValue("i",_result
);
10073 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10074 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
* _resultobj
;
10078 PyObject
* _argo0
= 0;
10079 char *_kwnames
[] = { "self", NULL
};
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10092 wxPy_BEGIN_ALLOW_THREADS
;
10093 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10095 wxPy_END_ALLOW_THREADS
;
10096 if (PyErr_Occurred()) return NULL
;
10097 } _resultobj
= Py_BuildValue("i",_result
);
10101 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10102 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
* _resultobj
;
10106 PyObject
* _argo0
= 0;
10107 char *_kwnames
[] = { "self", NULL
};
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10120 wxPy_BEGIN_ALLOW_THREADS
;
10121 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10123 wxPy_END_ALLOW_THREADS
;
10124 if (PyErr_Occurred()) return NULL
;
10125 } _resultobj
= Py_BuildValue("i",_result
);
10129 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10130 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
* _resultobj
;
10134 PyObject
* _argo0
= 0;
10135 char *_kwnames
[] = { "self", NULL
};
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10148 wxPy_BEGIN_ALLOW_THREADS
;
10149 _result
= (int )wxSlider_GetValue(_arg0
);
10151 wxPy_END_ALLOW_THREADS
;
10152 if (PyErr_Occurred()) return NULL
;
10153 } _resultobj
= Py_BuildValue("i",_result
);
10157 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10158 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
* _resultobj
;
10163 PyObject
* _argo0
= 0;
10164 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10177 wxPy_BEGIN_ALLOW_THREADS
;
10178 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10180 wxPy_END_ALLOW_THREADS
;
10181 if (PyErr_Occurred()) return NULL
;
10182 } Py_INCREF(Py_None
);
10183 _resultobj
= Py_None
;
10187 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10188 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
* _resultobj
;
10193 PyObject
* _argo0
= 0;
10194 char *_kwnames
[] = { "self","n","pos", NULL
};
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10207 wxPy_BEGIN_ALLOW_THREADS
;
10208 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10210 wxPy_END_ALLOW_THREADS
;
10211 if (PyErr_Occurred()) return NULL
;
10212 } Py_INCREF(Py_None
);
10213 _resultobj
= Py_None
;
10217 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10218 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
* _resultobj
;
10222 PyObject
* _argo0
= 0;
10223 char *_kwnames
[] = { "self","lineSize", NULL
};
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10236 wxPy_BEGIN_ALLOW_THREADS
;
10237 wxSlider_SetLineSize(_arg0
,_arg1
);
10239 wxPy_END_ALLOW_THREADS
;
10240 if (PyErr_Occurred()) return NULL
;
10241 } Py_INCREF(Py_None
);
10242 _resultobj
= Py_None
;
10246 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10247 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
* _resultobj
;
10251 PyObject
* _argo0
= 0;
10252 char *_kwnames
[] = { "self","pageSize", NULL
};
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10265 wxPy_BEGIN_ALLOW_THREADS
;
10266 wxSlider_SetPageSize(_arg0
,_arg1
);
10268 wxPy_END_ALLOW_THREADS
;
10269 if (PyErr_Occurred()) return NULL
;
10270 } Py_INCREF(Py_None
);
10271 _resultobj
= Py_None
;
10275 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10276 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
* _resultobj
;
10281 PyObject
* _argo0
= 0;
10282 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10295 wxPy_BEGIN_ALLOW_THREADS
;
10296 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10298 wxPy_END_ALLOW_THREADS
;
10299 if (PyErr_Occurred()) return NULL
;
10300 } Py_INCREF(Py_None
);
10301 _resultobj
= Py_None
;
10305 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10306 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
* _resultobj
;
10310 PyObject
* _argo0
= 0;
10311 char *_kwnames
[] = { "self","len", NULL
};
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10324 wxPy_BEGIN_ALLOW_THREADS
;
10325 wxSlider_SetThumbLength(_arg0
,_arg1
);
10327 wxPy_END_ALLOW_THREADS
;
10328 if (PyErr_Occurred()) return NULL
;
10329 } Py_INCREF(Py_None
);
10330 _resultobj
= Py_None
;
10334 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10335 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
* _resultobj
;
10339 PyObject
* _argo0
= 0;
10340 char *_kwnames
[] = { "self","tickPos", NULL
};
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10353 wxPy_BEGIN_ALLOW_THREADS
;
10354 wxSlider_SetTick(_arg0
,_arg1
);
10356 wxPy_END_ALLOW_THREADS
;
10357 if (PyErr_Occurred()) return NULL
;
10358 } Py_INCREF(Py_None
);
10359 _resultobj
= Py_None
;
10363 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10364 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
* _resultobj
;
10368 PyObject
* _argo0
= 0;
10369 char *_kwnames
[] = { "self","value", NULL
};
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10382 wxPy_BEGIN_ALLOW_THREADS
;
10383 wxSlider_SetValue(_arg0
,_arg1
);
10385 wxPy_END_ALLOW_THREADS
;
10386 if (PyErr_Occurred()) return NULL
;
10387 } Py_INCREF(Py_None
);
10388 _resultobj
= Py_None
;
10392 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10394 wxSpinButton
*dest
;
10395 src
= (wxSpinCtrl
*) ptr
;
10396 dest
= (wxSpinButton
*) src
;
10397 return (void *) dest
;
10400 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10403 src
= (wxSpinCtrl
*) ptr
;
10404 dest
= (wxControl
*) src
;
10405 return (void *) dest
;
10408 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10411 src
= (wxSpinCtrl
*) ptr
;
10412 dest
= (wxWindow
*) src
;
10413 return (void *) dest
;
10416 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10418 wxEvtHandler
*dest
;
10419 src
= (wxSpinCtrl
*) ptr
;
10420 dest
= (wxEvtHandler
*) src
;
10421 return (void *) dest
;
10424 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10427 src
= (wxSpinCtrl
*) ptr
;
10428 dest
= (wxObject
*) src
;
10429 return (void *) dest
;
10432 #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))
10433 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10434 PyObject
* _resultobj
;
10435 wxSpinCtrl
* _result
;
10437 wxWindowID _arg1
= (wxWindowID
) -1;
10438 char * _arg2
= (char *) "";
10439 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10440 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10441 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10442 int _arg6
= (int ) 0;
10443 int _arg7
= (int ) 100;
10444 int _arg8
= (int ) 0;
10445 char * _arg9
= (char *) "wxSpinCtrl";
10446 PyObject
* _argo0
= 0;
10448 PyObject
* _obj3
= 0;
10450 PyObject
* _obj4
= 0;
10451 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10467 if (! wxPoint_helper(_obj3
, &_arg3
))
10473 if (! wxSize_helper(_obj4
, &_arg4
))
10477 wxPy_BEGIN_ALLOW_THREADS
;
10478 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10480 wxPy_END_ALLOW_THREADS
;
10481 if (PyErr_Occurred()) return NULL
;
10483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10484 _resultobj
= Py_BuildValue("s",_ptemp
);
10486 Py_INCREF(Py_None
);
10487 _resultobj
= Py_None
;
10492 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10493 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
* _resultobj
;
10495 wxSpinCtrl
* _result
;
10496 char *_kwnames
[] = { NULL
};
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10503 wxPy_BEGIN_ALLOW_THREADS
;
10504 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10506 wxPy_END_ALLOW_THREADS
;
10507 if (PyErr_Occurred()) return NULL
;
10509 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10510 _resultobj
= Py_BuildValue("s",_ptemp
);
10512 Py_INCREF(Py_None
);
10513 _resultobj
= Py_None
;
10518 #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))
10519 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
* _resultobj
;
10522 wxSpinCtrl
* _arg0
;
10524 wxWindowID _arg2
= (wxWindowID
) -1;
10525 char * _arg3
= (char *) "";
10526 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10527 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10528 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10529 int _arg7
= (int ) 0;
10530 int _arg8
= (int ) 100;
10531 int _arg9
= (int ) 0;
10532 char * _arg10
= (char *) "wxSpinCtrl";
10533 PyObject
* _argo0
= 0;
10534 PyObject
* _argo1
= 0;
10536 PyObject
* _obj4
= 0;
10538 PyObject
* _obj5
= 0;
10539 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10561 if (! wxPoint_helper(_obj4
, &_arg4
))
10567 if (! wxSize_helper(_obj5
, &_arg5
))
10571 wxPy_BEGIN_ALLOW_THREADS
;
10572 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10574 wxPy_END_ALLOW_THREADS
;
10575 if (PyErr_Occurred()) return NULL
;
10576 } _resultobj
= Py_BuildValue("i",_result
);
10580 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10581 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
* _resultobj
;
10584 wxSpinCtrl
* _arg0
;
10585 PyObject
* _argo0
= 0;
10586 char *_kwnames
[] = { "self", NULL
};
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10599 wxPy_BEGIN_ALLOW_THREADS
;
10600 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10602 wxPy_END_ALLOW_THREADS
;
10603 if (PyErr_Occurred()) return NULL
;
10604 } _resultobj
= Py_BuildValue("i",_result
);
10608 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10609 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
* _resultobj
;
10612 wxSpinCtrl
* _arg0
;
10613 PyObject
* _argo0
= 0;
10614 char *_kwnames
[] = { "self", NULL
};
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10627 wxPy_BEGIN_ALLOW_THREADS
;
10628 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10630 wxPy_END_ALLOW_THREADS
;
10631 if (PyErr_Occurred()) return NULL
;
10632 } _resultobj
= Py_BuildValue("i",_result
);
10636 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10637 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
* _resultobj
;
10640 wxSpinCtrl
* _arg0
;
10641 PyObject
* _argo0
= 0;
10642 char *_kwnames
[] = { "self", NULL
};
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10655 wxPy_BEGIN_ALLOW_THREADS
;
10656 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10658 wxPy_END_ALLOW_THREADS
;
10659 if (PyErr_Occurred()) return NULL
;
10660 } _resultobj
= Py_BuildValue("i",_result
);
10664 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10665 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
* _resultobj
;
10667 wxSpinCtrl
* _arg0
;
10670 PyObject
* _argo0
= 0;
10671 char *_kwnames
[] = { "self","min","max", NULL
};
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10684 wxPy_BEGIN_ALLOW_THREADS
;
10685 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10687 wxPy_END_ALLOW_THREADS
;
10688 if (PyErr_Occurred()) return NULL
;
10689 } Py_INCREF(Py_None
);
10690 _resultobj
= Py_None
;
10694 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10695 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10696 PyObject
* _resultobj
;
10697 wxSpinCtrl
* _arg0
;
10699 PyObject
* _argo0
= 0;
10700 char *_kwnames
[] = { "self","value", NULL
};
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10713 wxPy_BEGIN_ALLOW_THREADS
;
10714 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10716 wxPy_END_ALLOW_THREADS
;
10717 if (PyErr_Occurred()) return NULL
;
10718 } Py_INCREF(Py_None
);
10719 _resultobj
= Py_None
;
10723 static PyMethodDef controlscMethods
[] = {
10724 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10725 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10726 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10727 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10728 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10729 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10730 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10731 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10732 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10733 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
10734 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10735 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10736 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10737 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10738 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10739 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10740 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10741 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10742 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10743 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
10744 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
10745 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10746 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10747 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10748 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10749 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
10750 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
10751 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
10752 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
10753 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
10754 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10755 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10756 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10757 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10758 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10759 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
10760 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
10761 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10762 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10763 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10764 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10765 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10766 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
10767 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10768 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10769 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10770 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
10771 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
10772 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
10978 * This table is used by the pointer type-checker
10980 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10981 { "_signed_long","_long",0},
10982 { "_wxPrintQuality","_wxCoord",0},
10983 { "_wxPrintQuality","_int",0},
10984 { "_wxPrintQuality","_signed_int",0},
10985 { "_wxPrintQuality","_unsigned_int",0},
10986 { "_wxPrintQuality","_wxWindowID",0},
10987 { "_wxPrintQuality","_uint",0},
10988 { "_wxPrintQuality","_EBool",0},
10989 { "_wxPrintQuality","_size_t",0},
10990 { "_wxPrintQuality","_time_t",0},
10991 { "_byte","_unsigned_char",0},
10992 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
10993 { "_long","_unsigned_long",0},
10994 { "_long","_signed_long",0},
10995 { "_size_t","_wxCoord",0},
10996 { "_size_t","_wxPrintQuality",0},
10997 { "_size_t","_time_t",0},
10998 { "_size_t","_unsigned_int",0},
10999 { "_size_t","_int",0},
11000 { "_size_t","_wxWindowID",0},
11001 { "_size_t","_uint",0},
11002 { "_uint","_wxCoord",0},
11003 { "_uint","_wxPrintQuality",0},
11004 { "_uint","_time_t",0},
11005 { "_uint","_size_t",0},
11006 { "_uint","_unsigned_int",0},
11007 { "_uint","_int",0},
11008 { "_uint","_wxWindowID",0},
11009 { "_wxChar","_char",0},
11010 { "_char","_wxChar",0},
11011 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11012 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11013 { "_EBool","_wxCoord",0},
11014 { "_EBool","_wxPrintQuality",0},
11015 { "_EBool","_signed_int",0},
11016 { "_EBool","_int",0},
11017 { "_EBool","_wxWindowID",0},
11018 { "_unsigned_long","_long",0},
11019 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11020 { "_signed_int","_wxCoord",0},
11021 { "_signed_int","_wxPrintQuality",0},
11022 { "_signed_int","_EBool",0},
11023 { "_signed_int","_wxWindowID",0},
11024 { "_signed_int","_int",0},
11025 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11026 { "_WXTYPE","_short",0},
11027 { "_WXTYPE","_signed_short",0},
11028 { "_WXTYPE","_unsigned_short",0},
11029 { "_unsigned_short","_WXTYPE",0},
11030 { "_unsigned_short","_short",0},
11031 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11032 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11033 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11034 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11035 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11036 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11037 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11038 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11039 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11040 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11041 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11042 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11043 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11044 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11045 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11046 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11047 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11048 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11049 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11050 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11051 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11052 { "_signed_short","_WXTYPE",0},
11053 { "_signed_short","_short",0},
11054 { "_unsigned_char","_byte",0},
11055 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11056 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11057 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11058 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11059 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11060 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11061 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11062 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11063 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11064 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11065 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11066 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11067 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11068 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11069 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11070 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11071 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11072 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11073 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11074 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11075 { "_unsigned_int","_wxCoord",0},
11076 { "_unsigned_int","_wxPrintQuality",0},
11077 { "_unsigned_int","_time_t",0},
11078 { "_unsigned_int","_size_t",0},
11079 { "_unsigned_int","_uint",0},
11080 { "_unsigned_int","_wxWindowID",0},
11081 { "_unsigned_int","_int",0},
11082 { "_short","_WXTYPE",0},
11083 { "_short","_unsigned_short",0},
11084 { "_short","_signed_short",0},
11085 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11086 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11087 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11088 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11089 { "_wxWindowID","_wxCoord",0},
11090 { "_wxWindowID","_wxPrintQuality",0},
11091 { "_wxWindowID","_time_t",0},
11092 { "_wxWindowID","_size_t",0},
11093 { "_wxWindowID","_EBool",0},
11094 { "_wxWindowID","_uint",0},
11095 { "_wxWindowID","_int",0},
11096 { "_wxWindowID","_signed_int",0},
11097 { "_wxWindowID","_unsigned_int",0},
11098 { "_int","_wxCoord",0},
11099 { "_int","_wxPrintQuality",0},
11100 { "_int","_time_t",0},
11101 { "_int","_size_t",0},
11102 { "_int","_EBool",0},
11103 { "_int","_uint",0},
11104 { "_int","_wxWindowID",0},
11105 { "_int","_unsigned_int",0},
11106 { "_int","_signed_int",0},
11107 { "_time_t","_wxCoord",0},
11108 { "_time_t","_wxPrintQuality",0},
11109 { "_time_t","_unsigned_int",0},
11110 { "_time_t","_int",0},
11111 { "_time_t","_wxWindowID",0},
11112 { "_time_t","_uint",0},
11113 { "_time_t","_size_t",0},
11114 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11115 { "_wxCoord","_int",0},
11116 { "_wxCoord","_signed_int",0},
11117 { "_wxCoord","_unsigned_int",0},
11118 { "_wxCoord","_wxWindowID",0},
11119 { "_wxCoord","_uint",0},
11120 { "_wxCoord","_EBool",0},
11121 { "_wxCoord","_size_t",0},
11122 { "_wxCoord","_time_t",0},
11123 { "_wxCoord","_wxPrintQuality",0},
11124 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11125 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11126 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11127 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11128 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11129 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11130 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11131 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11132 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11133 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11134 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11135 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11136 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11137 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11138 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11139 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11140 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11141 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11142 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11143 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11144 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11145 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11146 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11147 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11148 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11149 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11150 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11151 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11152 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11153 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11154 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11155 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11156 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11157 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11158 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11159 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11160 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11161 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11162 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11163 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11164 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11165 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11168 static PyObject
*SWIG_globals
;
11172 SWIGEXPORT(void) initcontrolsc() {
11174 SWIG_globals
= SWIG_newvarlink();
11175 m
= Py_InitModule("controlsc", controlscMethods
);
11176 d
= PyModule_GetDict(m
);
11177 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11178 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11181 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11182 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);