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 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
1486 _result
= (wxBitmap
*) &_result_ref
;
1488 wxPy_END_ALLOW_THREADS
;
1489 if (PyErr_Occurred()) return NULL
;
1491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1492 _resultobj
= Py_BuildValue("s",_ptemp
);
1495 _resultobj
= Py_None
;
1500 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1501 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1504 wxBitmapButton
* _arg0
;
1505 PyObject
* _argo0
= 0;
1506 char *_kwnames
[] = { "self", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1520 wxPy_BEGIN_ALLOW_THREADS
;
1521 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
1522 _result
= (wxBitmap
*) &_result_ref
;
1524 wxPy_END_ALLOW_THREADS
;
1525 if (PyErr_Occurred()) return NULL
;
1527 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1528 _resultobj
= Py_BuildValue("s",_ptemp
);
1531 _resultobj
= Py_None
;
1536 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1537 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
* _resultobj
;
1540 wxBitmapButton
* _arg0
;
1541 PyObject
* _argo0
= 0;
1542 char *_kwnames
[] = { "self", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1556 wxPy_BEGIN_ALLOW_THREADS
;
1557 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
1558 _result
= (wxBitmap
*) &_result_ref
;
1560 wxPy_END_ALLOW_THREADS
;
1561 if (PyErr_Occurred()) return NULL
;
1563 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1564 _resultobj
= Py_BuildValue("s",_ptemp
);
1567 _resultobj
= Py_None
;
1572 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1573 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1576 wxBitmapButton
* _arg0
;
1577 PyObject
* _argo0
= 0;
1578 char *_kwnames
[] = { "self", NULL
};
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
1594 _result
= (wxBitmap
*) &_result_ref
;
1596 wxPy_END_ALLOW_THREADS
;
1597 if (PyErr_Occurred()) return NULL
;
1599 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1600 _resultobj
= Py_BuildValue("s",_ptemp
);
1603 _resultobj
= Py_None
;
1608 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1609 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1610 PyObject
* _resultobj
;
1611 wxBitmapButton
* _arg0
;
1613 PyObject
* _argo0
= 0;
1614 PyObject
* _argo1
= 0;
1615 char *_kwnames
[] = { "self","bitmap", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1628 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1629 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1635 wxPy_BEGIN_ALLOW_THREADS
;
1636 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1638 wxPy_END_ALLOW_THREADS
;
1639 if (PyErr_Occurred()) return NULL
;
1640 } Py_INCREF(Py_None
);
1641 _resultobj
= Py_None
;
1645 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1646 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
* _resultobj
;
1648 wxBitmapButton
* _arg0
;
1650 PyObject
* _argo0
= 0;
1651 PyObject
* _argo1
= 0;
1652 char *_kwnames
[] = { "self","bitmap", NULL
};
1655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1665 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1666 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1672 wxPy_BEGIN_ALLOW_THREADS
;
1673 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1675 wxPy_END_ALLOW_THREADS
;
1676 if (PyErr_Occurred()) return NULL
;
1677 } Py_INCREF(Py_None
);
1678 _resultobj
= Py_None
;
1682 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1683 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1685 wxBitmapButton
* _arg0
;
1687 PyObject
* _argo0
= 0;
1688 PyObject
* _argo1
= 0;
1689 char *_kwnames
[] = { "self","bitmap", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1712 wxPy_END_ALLOW_THREADS
;
1713 if (PyErr_Occurred()) return NULL
;
1714 } Py_INCREF(Py_None
);
1715 _resultobj
= Py_None
;
1719 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1720 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1722 wxBitmapButton
* _arg0
;
1724 PyObject
* _argo0
= 0;
1725 PyObject
* _argo1
= 0;
1726 char *_kwnames
[] = { "self","bitmap", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1749 wxPy_END_ALLOW_THREADS
;
1750 if (PyErr_Occurred()) return NULL
;
1751 } Py_INCREF(Py_None
);
1752 _resultobj
= Py_None
;
1756 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1757 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1759 wxBitmapButton
* _arg0
;
1762 PyObject
* _argo0
= 0;
1763 char *_kwnames
[] = { "self","x","y", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1776 wxPy_BEGIN_ALLOW_THREADS
;
1777 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1779 wxPy_END_ALLOW_THREADS
;
1780 if (PyErr_Occurred()) return NULL
;
1781 } Py_INCREF(Py_None
);
1782 _resultobj
= Py_None
;
1786 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1787 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1790 wxBitmapButton
* _arg0
;
1791 PyObject
* _argo0
= 0;
1792 char *_kwnames
[] = { "self", NULL
};
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1805 wxPy_BEGIN_ALLOW_THREADS
;
1806 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1808 wxPy_END_ALLOW_THREADS
;
1809 if (PyErr_Occurred()) return NULL
;
1810 } _resultobj
= Py_BuildValue("i",_result
);
1814 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1815 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1818 wxBitmapButton
* _arg0
;
1819 PyObject
* _argo0
= 0;
1820 char *_kwnames
[] = { "self", NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1833 wxPy_BEGIN_ALLOW_THREADS
;
1834 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1836 wxPy_END_ALLOW_THREADS
;
1837 if (PyErr_Occurred()) return NULL
;
1838 } _resultobj
= Py_BuildValue("i",_result
);
1842 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1845 src
= (wxCheckBox
*) ptr
;
1846 dest
= (wxControl
*) src
;
1847 return (void *) dest
;
1850 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1853 src
= (wxCheckBox
*) ptr
;
1854 dest
= (wxWindow
*) src
;
1855 return (void *) dest
;
1858 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1861 src
= (wxCheckBox
*) ptr
;
1862 dest
= (wxEvtHandler
*) src
;
1863 return (void *) dest
;
1866 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1869 src
= (wxCheckBox
*) ptr
;
1870 dest
= (wxObject
*) src
;
1871 return (void *) dest
;
1874 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1875 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
* _resultobj
;
1877 wxCheckBox
* _result
;
1881 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1882 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1883 long _arg5
= (long ) 0;
1884 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1885 char * _arg7
= (char *) "checkBox";
1886 PyObject
* _argo0
= 0;
1887 PyObject
* _obj2
= 0;
1889 PyObject
* _obj3
= 0;
1891 PyObject
* _obj4
= 0;
1892 PyObject
* _argo6
= 0;
1893 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1907 #if PYTHON_API_VERSION >= 1009
1908 char* tmpPtr
; int tmpSize
;
1909 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1913 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1915 _arg2
= new wxString(tmpPtr
, tmpSize
);
1917 if (!PyString_Check(_obj2
)) {
1918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1921 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1927 if (! wxPoint_helper(_obj3
, &_arg3
))
1933 if (! wxSize_helper(_obj4
, &_arg4
))
1937 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1944 wxPy_BEGIN_ALLOW_THREADS
;
1945 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1947 wxPy_END_ALLOW_THREADS
;
1948 if (PyErr_Occurred()) return NULL
;
1950 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1951 _resultobj
= Py_BuildValue("s",_ptemp
);
1954 _resultobj
= Py_None
;
1963 #define new_wxPreCheckBox() (new wxCheckBox())
1964 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1966 wxCheckBox
* _result
;
1967 char *_kwnames
[] = { NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1974 wxPy_BEGIN_ALLOW_THREADS
;
1975 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1977 wxPy_END_ALLOW_THREADS
;
1978 if (PyErr_Occurred()) return NULL
;
1980 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1981 _resultobj
= Py_BuildValue("s",_ptemp
);
1984 _resultobj
= Py_None
;
1989 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1990 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1997 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1998 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1999 long _arg6
= (long ) 0;
2000 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2001 char * _arg8
= (char *) "checkBox";
2002 PyObject
* _argo0
= 0;
2003 PyObject
* _argo1
= 0;
2004 PyObject
* _obj3
= 0;
2006 PyObject
* _obj4
= 0;
2008 PyObject
* _obj5
= 0;
2009 PyObject
* _argo7
= 0;
2010 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2030 #if PYTHON_API_VERSION >= 1009
2031 char* tmpPtr
; int tmpSize
;
2032 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2033 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2036 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2038 _arg3
= new wxString(tmpPtr
, tmpSize
);
2040 if (!PyString_Check(_obj3
)) {
2041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2044 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2050 if (! wxPoint_helper(_obj4
, &_arg4
))
2056 if (! wxSize_helper(_obj5
, &_arg5
))
2060 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2061 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2067 wxPy_BEGIN_ALLOW_THREADS
;
2068 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2070 wxPy_END_ALLOW_THREADS
;
2071 if (PyErr_Occurred()) return NULL
;
2072 } _resultobj
= Py_BuildValue("i",_result
);
2080 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2081 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
* _resultobj
;
2085 PyObject
* _argo0
= 0;
2086 char *_kwnames
[] = { "self", NULL
};
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2102 wxPy_END_ALLOW_THREADS
;
2103 if (PyErr_Occurred()) return NULL
;
2104 } _resultobj
= Py_BuildValue("i",_result
);
2108 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2109 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
* _resultobj
;
2113 PyObject
* _argo0
= 0;
2115 char *_kwnames
[] = { "self","state", NULL
};
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2127 _arg1
= (bool ) tempbool1
;
2129 wxPy_BEGIN_ALLOW_THREADS
;
2130 wxCheckBox_SetValue(_arg0
,_arg1
);
2132 wxPy_END_ALLOW_THREADS
;
2133 if (PyErr_Occurred()) return NULL
;
2134 } Py_INCREF(Py_None
);
2135 _resultobj
= Py_None
;
2139 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2141 wxControlWithItems
*dest
;
2142 src
= (wxChoice
*) ptr
;
2143 dest
= (wxControlWithItems
*) src
;
2144 return (void *) dest
;
2147 static void *SwigwxChoiceTowxControl(void *ptr
) {
2150 src
= (wxChoice
*) ptr
;
2151 dest
= (wxControl
*) src
;
2152 return (void *) dest
;
2155 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2158 src
= (wxChoice
*) ptr
;
2159 dest
= (wxWindow
*) src
;
2160 return (void *) dest
;
2163 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2166 src
= (wxChoice
*) ptr
;
2167 dest
= (wxEvtHandler
*) src
;
2168 return (void *) dest
;
2171 static void *SwigwxChoiceTowxObject(void *ptr
) {
2174 src
= (wxChoice
*) ptr
;
2175 dest
= (wxObject
*) src
;
2176 return (void *) dest
;
2179 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2180 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
* _resultobj
;
2185 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2186 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2187 int _arg4
= (int ) 0;
2188 wxString
* _arg5
= (wxString
*) NULL
;
2189 long _arg6
= (long ) 0;
2190 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2191 char * _arg8
= (char *) "choice";
2192 PyObject
* _argo0
= 0;
2194 PyObject
* _obj2
= 0;
2196 PyObject
* _obj3
= 0;
2197 PyObject
* _obj5
= 0;
2198 PyObject
* _argo7
= 0;
2199 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2215 if (! wxPoint_helper(_obj2
, &_arg2
))
2221 if (! wxSize_helper(_obj3
, &_arg3
))
2226 _arg5
= wxString_LIST_helper(_obj5
);
2227 if (_arg5
== NULL
) {
2232 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2233 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2240 _arg4
= PyList_Size(_obj5
);
2247 wxPy_BEGIN_ALLOW_THREADS
;
2248 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2250 wxPy_END_ALLOW_THREADS
;
2251 if (PyErr_Occurred()) return NULL
;
2253 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2254 _resultobj
= Py_BuildValue("s",_ptemp
);
2257 _resultobj
= Py_None
;
2265 #define new_wxPreChoice() (new wxChoice())
2266 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2269 char *_kwnames
[] = { NULL
};
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2276 wxPy_BEGIN_ALLOW_THREADS
;
2277 _result
= (wxChoice
*)new_wxPreChoice();
2279 wxPy_END_ALLOW_THREADS
;
2280 if (PyErr_Occurred()) return NULL
;
2282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2283 _resultobj
= Py_BuildValue("s",_ptemp
);
2286 _resultobj
= Py_None
;
2291 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2292 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2298 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2299 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2300 int _arg5
= (int ) 0;
2301 wxString
* _arg6
= (wxString
*) NULL
;
2302 long _arg7
= (long ) 0;
2303 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2304 char * _arg9
= (char *) "choice";
2305 PyObject
* _argo0
= 0;
2306 PyObject
* _argo1
= 0;
2308 PyObject
* _obj3
= 0;
2310 PyObject
* _obj4
= 0;
2311 PyObject
* _obj6
= 0;
2312 PyObject
* _argo8
= 0;
2313 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2326 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2327 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2335 if (! wxPoint_helper(_obj3
, &_arg3
))
2341 if (! wxSize_helper(_obj4
, &_arg4
))
2346 _arg6
= wxString_LIST_helper(_obj6
);
2347 if (_arg6
== NULL
) {
2352 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2353 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2360 _arg5
= PyList_Size(_obj6
);
2367 wxPy_BEGIN_ALLOW_THREADS
;
2368 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2370 wxPy_END_ALLOW_THREADS
;
2371 if (PyErr_Occurred()) return NULL
;
2372 } _resultobj
= Py_BuildValue("i",_result
);
2379 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2380 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2381 PyObject
* _resultobj
;
2383 PyObject
* _argo0
= 0;
2384 char *_kwnames
[] = { "self", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2397 wxPy_BEGIN_ALLOW_THREADS
;
2398 wxChoice_Clear(_arg0
);
2400 wxPy_END_ALLOW_THREADS
;
2401 if (PyErr_Occurred()) return NULL
;
2402 } Py_INCREF(Py_None
);
2403 _resultobj
= Py_None
;
2407 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2408 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2412 PyObject
* _argo0
= 0;
2413 char *_kwnames
[] = { "self", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2426 wxPy_BEGIN_ALLOW_THREADS
;
2427 _result
= (int )wxChoice_GetColumns(_arg0
);
2429 wxPy_END_ALLOW_THREADS
;
2430 if (PyErr_Occurred()) return NULL
;
2431 } _resultobj
= Py_BuildValue("i",_result
);
2435 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2436 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
* _resultobj
;
2439 int _arg1
= (int ) 1;
2440 PyObject
* _argo0
= 0;
2441 char *_kwnames
[] = { "self","n", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2454 wxPy_BEGIN_ALLOW_THREADS
;
2455 wxChoice_SetColumns(_arg0
,_arg1
);
2457 wxPy_END_ALLOW_THREADS
;
2458 if (PyErr_Occurred()) return NULL
;
2459 } Py_INCREF(Py_None
);
2460 _resultobj
= Py_None
;
2464 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2465 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2466 PyObject
* _resultobj
;
2469 PyObject
* _argo0
= 0;
2470 char *_kwnames
[] = { "self","n", NULL
};
2473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2483 wxPy_BEGIN_ALLOW_THREADS
;
2484 wxChoice_SetSelection(_arg0
,_arg1
);
2486 wxPy_END_ALLOW_THREADS
;
2487 if (PyErr_Occurred()) return NULL
;
2488 } Py_INCREF(Py_None
);
2489 _resultobj
= Py_None
;
2493 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2494 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2498 PyObject
* _argo0
= 0;
2499 PyObject
* _obj1
= 0;
2500 char *_kwnames
[] = { "self","string", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2513 #if PYTHON_API_VERSION >= 1009
2514 char* tmpPtr
; int tmpSize
;
2515 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2519 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2521 _arg1
= new wxString(tmpPtr
, tmpSize
);
2523 if (!PyString_Check(_obj1
)) {
2524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2527 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2531 wxPy_BEGIN_ALLOW_THREADS
;
2532 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2534 wxPy_END_ALLOW_THREADS
;
2535 if (PyErr_Occurred()) return NULL
;
2536 } Py_INCREF(Py_None
);
2537 _resultobj
= Py_None
;
2545 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2546 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
* _resultobj
;
2551 PyObject
* _argo0
= 0;
2552 PyObject
* _obj2
= 0;
2553 char *_kwnames
[] = { "self","n","s", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2566 #if PYTHON_API_VERSION >= 1009
2567 char* tmpPtr
; int tmpSize
;
2568 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2569 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2572 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2574 _arg2
= new wxString(tmpPtr
, tmpSize
);
2576 if (!PyString_Check(_obj2
)) {
2577 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2580 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2584 wxPy_BEGIN_ALLOW_THREADS
;
2585 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2587 wxPy_END_ALLOW_THREADS
;
2588 if (PyErr_Occurred()) return NULL
;
2589 } Py_INCREF(Py_None
);
2590 _resultobj
= Py_None
;
2598 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2601 src
= (wxComboBox
*) ptr
;
2602 dest
= (wxChoice
*) src
;
2603 return (void *) dest
;
2606 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2608 wxControlWithItems
*dest
;
2609 src
= (wxComboBox
*) ptr
;
2610 dest
= (wxControlWithItems
*) src
;
2611 return (void *) dest
;
2614 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2617 src
= (wxComboBox
*) ptr
;
2618 dest
= (wxControl
*) src
;
2619 return (void *) dest
;
2622 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2625 src
= (wxComboBox
*) ptr
;
2626 dest
= (wxWindow
*) src
;
2627 return (void *) dest
;
2630 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2633 src
= (wxComboBox
*) ptr
;
2634 dest
= (wxEvtHandler
*) src
;
2635 return (void *) dest
;
2638 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2641 src
= (wxComboBox
*) ptr
;
2642 dest
= (wxObject
*) src
;
2643 return (void *) dest
;
2646 #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))
2647 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
* _resultobj
;
2649 wxComboBox
* _result
;
2652 char * _arg2
= (char *) "";
2653 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2654 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2655 int _arg5
= (int ) 0;
2656 wxString
* _arg6
= (wxString
*) NULL
;
2657 long _arg7
= (long ) 0;
2658 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2659 char * _arg9
= (char *) "comboBox";
2660 PyObject
* _argo0
= 0;
2662 PyObject
* _obj3
= 0;
2664 PyObject
* _obj4
= 0;
2665 PyObject
* _obj6
= 0;
2666 PyObject
* _argo8
= 0;
2667 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2683 if (! wxPoint_helper(_obj3
, &_arg3
))
2689 if (! wxSize_helper(_obj4
, &_arg4
))
2694 _arg6
= wxString_LIST_helper(_obj6
);
2695 if (_arg6
== NULL
) {
2700 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2708 _arg5
= PyList_Size(_obj6
);
2715 wxPy_BEGIN_ALLOW_THREADS
;
2716 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2718 wxPy_END_ALLOW_THREADS
;
2719 if (PyErr_Occurred()) return NULL
;
2721 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2722 _resultobj
= Py_BuildValue("s",_ptemp
);
2725 _resultobj
= Py_None
;
2733 #define new_wxPreComboBox() (new wxComboBox())
2734 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2736 wxComboBox
* _result
;
2737 char *_kwnames
[] = { NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 _result
= (wxComboBox
*)new_wxPreComboBox();
2747 wxPy_END_ALLOW_THREADS
;
2748 if (PyErr_Occurred()) return NULL
;
2750 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2751 _resultobj
= Py_BuildValue("s",_ptemp
);
2754 _resultobj
= Py_None
;
2759 #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))
2760 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2766 char * _arg3
= (char *) "";
2767 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2768 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2769 int _arg6
= (int ) 0;
2770 wxString
* _arg7
= (wxString
*) NULL
;
2771 long _arg8
= (long ) 0;
2772 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2773 char * _arg10
= (char *) "comboBox";
2774 PyObject
* _argo0
= 0;
2775 PyObject
* _argo1
= 0;
2777 PyObject
* _obj4
= 0;
2779 PyObject
* _obj5
= 0;
2780 PyObject
* _obj7
= 0;
2781 PyObject
* _argo9
= 0;
2782 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2795 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2796 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2804 if (! wxPoint_helper(_obj4
, &_arg4
))
2810 if (! wxSize_helper(_obj5
, &_arg5
))
2815 _arg7
= wxString_LIST_helper(_obj7
);
2816 if (_arg7
== NULL
) {
2821 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2829 _arg6
= PyList_Size(_obj7
);
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2839 wxPy_END_ALLOW_THREADS
;
2840 if (PyErr_Occurred()) return NULL
;
2841 } _resultobj
= Py_BuildValue("i",_result
);
2848 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2849 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2852 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2866 wxPy_BEGIN_ALLOW_THREADS
;
2867 wxComboBox_Copy(_arg0
);
2869 wxPy_END_ALLOW_THREADS
;
2870 if (PyErr_Occurred()) return NULL
;
2871 } Py_INCREF(Py_None
);
2872 _resultobj
= Py_None
;
2876 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2877 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2880 PyObject
* _argo0
= 0;
2881 char *_kwnames
[] = { "self", NULL
};
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2894 wxPy_BEGIN_ALLOW_THREADS
;
2895 wxComboBox_Cut(_arg0
);
2897 wxPy_END_ALLOW_THREADS
;
2898 if (PyErr_Occurred()) return NULL
;
2899 } Py_INCREF(Py_None
);
2900 _resultobj
= Py_None
;
2904 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2905 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2927 if (PyErr_Occurred()) return NULL
;
2928 } _resultobj
= Py_BuildValue("l",_result
);
2932 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2933 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2937 PyObject
* _argo0
= 0;
2938 char *_kwnames
[] = { "self", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2954 wxPy_END_ALLOW_THREADS
;
2955 if (PyErr_Occurred()) return NULL
;
2956 } _resultobj
= Py_BuildValue("l",_result
);
2960 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2961 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2965 PyObject
* _argo0
= 0;
2966 char *_kwnames
[] = { "self", NULL
};
2969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2979 wxPy_BEGIN_ALLOW_THREADS
;
2980 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2982 wxPy_END_ALLOW_THREADS
;
2983 if (PyErr_Occurred()) return NULL
;
2985 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2993 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2994 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
* _resultobj
;
2997 PyObject
* _argo0
= 0;
2998 char *_kwnames
[] = { "self", NULL
};
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3011 wxPy_BEGIN_ALLOW_THREADS
;
3012 wxComboBox_Paste(_arg0
);
3014 wxPy_END_ALLOW_THREADS
;
3015 if (PyErr_Occurred()) return NULL
;
3016 } Py_INCREF(Py_None
);
3017 _resultobj
= Py_None
;
3021 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3022 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
* _resultobj
;
3028 PyObject
* _argo0
= 0;
3029 PyObject
* _obj3
= 0;
3030 char *_kwnames
[] = { "self","from","to","text", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3043 #if PYTHON_API_VERSION >= 1009
3044 char* tmpPtr
; int tmpSize
;
3045 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3046 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3049 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3051 _arg3
= new wxString(tmpPtr
, tmpSize
);
3053 if (!PyString_Check(_obj3
)) {
3054 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3057 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3061 wxPy_BEGIN_ALLOW_THREADS
;
3062 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3064 wxPy_END_ALLOW_THREADS
;
3065 if (PyErr_Occurred()) return NULL
;
3066 } Py_INCREF(Py_None
);
3067 _resultobj
= Py_None
;
3075 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3076 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3081 PyObject
* _argo0
= 0;
3082 char *_kwnames
[] = { "self","from","to", NULL
};
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3095 wxPy_BEGIN_ALLOW_THREADS
;
3096 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3098 wxPy_END_ALLOW_THREADS
;
3099 if (PyErr_Occurred()) return NULL
;
3100 } Py_INCREF(Py_None
);
3101 _resultobj
= Py_None
;
3105 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3106 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
* _resultobj
;
3110 PyObject
* _argo0
= 0;
3111 char *_kwnames
[] = { "self","pos", NULL
};
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3124 wxPy_BEGIN_ALLOW_THREADS
;
3125 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3127 wxPy_END_ALLOW_THREADS
;
3128 if (PyErr_Occurred()) return NULL
;
3129 } Py_INCREF(Py_None
);
3130 _resultobj
= Py_None
;
3134 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3135 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3138 PyObject
* _argo0
= 0;
3139 char *_kwnames
[] = { "self", NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3152 wxPy_BEGIN_ALLOW_THREADS
;
3153 wxComboBox_SetInsertionPointEnd(_arg0
);
3155 wxPy_END_ALLOW_THREADS
;
3156 if (PyErr_Occurred()) return NULL
;
3157 } Py_INCREF(Py_None
);
3158 _resultobj
= Py_None
;
3162 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3163 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
* _resultobj
;
3167 PyObject
* _argo0
= 0;
3168 char *_kwnames
[] = { "self","n", NULL
};
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3181 wxPy_BEGIN_ALLOW_THREADS
;
3182 wxComboBox_SetSelection(_arg0
,_arg1
);
3184 wxPy_END_ALLOW_THREADS
;
3185 if (PyErr_Occurred()) return NULL
;
3186 } Py_INCREF(Py_None
);
3187 _resultobj
= Py_None
;
3191 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3192 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3193 PyObject
* _resultobj
;
3197 PyObject
* _argo0
= 0;
3198 char *_kwnames
[] = { "self","from","to", NULL
};
3201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3211 wxPy_BEGIN_ALLOW_THREADS
;
3212 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3214 wxPy_END_ALLOW_THREADS
;
3215 if (PyErr_Occurred()) return NULL
;
3216 } Py_INCREF(Py_None
);
3217 _resultobj
= Py_None
;
3221 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3222 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3223 PyObject
* _resultobj
;
3226 PyObject
* _argo0
= 0;
3227 PyObject
* _obj1
= 0;
3228 char *_kwnames
[] = { "self","text", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3241 #if PYTHON_API_VERSION >= 1009
3242 char* tmpPtr
; int tmpSize
;
3243 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3244 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3247 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3249 _arg1
= new wxString(tmpPtr
, tmpSize
);
3251 if (!PyString_Check(_obj1
)) {
3252 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3255 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3259 wxPy_BEGIN_ALLOW_THREADS
;
3260 wxComboBox_SetValue(_arg0
,*_arg1
);
3262 wxPy_END_ALLOW_THREADS
;
3263 if (PyErr_Occurred()) return NULL
;
3264 } Py_INCREF(Py_None
);
3265 _resultobj
= Py_None
;
3273 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3274 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3278 PyObject
* _argo0
= 0;
3280 char *_kwnames
[] = { "self","editable", NULL
};
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3292 _arg1
= (bool ) tempbool1
;
3294 wxPy_BEGIN_ALLOW_THREADS
;
3295 wxComboBox_SetEditable(_arg0
,_arg1
);
3297 wxPy_END_ALLOW_THREADS
;
3298 if (PyErr_Occurred()) return NULL
;
3299 } Py_INCREF(Py_None
);
3300 _resultobj
= Py_None
;
3304 static void *SwigwxGaugeTowxControl(void *ptr
) {
3307 src
= (wxGauge
*) ptr
;
3308 dest
= (wxControl
*) src
;
3309 return (void *) dest
;
3312 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3315 src
= (wxGauge
*) ptr
;
3316 dest
= (wxWindow
*) src
;
3317 return (void *) dest
;
3320 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3323 src
= (wxGauge
*) ptr
;
3324 dest
= (wxEvtHandler
*) src
;
3325 return (void *) dest
;
3328 static void *SwigwxGaugeTowxObject(void *ptr
) {
3331 src
= (wxGauge
*) ptr
;
3332 dest
= (wxObject
*) src
;
3333 return (void *) dest
;
3336 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3337 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
* _resultobj
;
3343 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3344 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3345 long _arg5
= (long ) wxGA_HORIZONTAL
;
3346 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3347 char * _arg7
= (char *) "gauge";
3348 PyObject
* _argo0
= 0;
3350 PyObject
* _obj3
= 0;
3352 PyObject
* _obj4
= 0;
3353 PyObject
* _argo6
= 0;
3354 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3370 if (! wxPoint_helper(_obj3
, &_arg3
))
3376 if (! wxSize_helper(_obj4
, &_arg4
))
3380 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3390 wxPy_END_ALLOW_THREADS
;
3391 if (PyErr_Occurred()) return NULL
;
3393 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3394 _resultobj
= Py_BuildValue("s",_ptemp
);
3397 _resultobj
= Py_None
;
3402 #define new_wxPreGauge() (new wxGauge())
3403 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3404 PyObject
* _resultobj
;
3406 char *_kwnames
[] = { NULL
};
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3413 wxPy_BEGIN_ALLOW_THREADS
;
3414 _result
= (wxGauge
*)new_wxPreGauge();
3416 wxPy_END_ALLOW_THREADS
;
3417 if (PyErr_Occurred()) return NULL
;
3419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3420 _resultobj
= Py_BuildValue("s",_ptemp
);
3423 _resultobj
= Py_None
;
3428 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3429 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
* _resultobj
;
3436 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3437 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3438 long _arg6
= (long ) wxGA_HORIZONTAL
;
3439 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3440 char * _arg8
= (char *) "gauge";
3441 PyObject
* _argo0
= 0;
3442 PyObject
* _argo1
= 0;
3444 PyObject
* _obj4
= 0;
3446 PyObject
* _obj5
= 0;
3447 PyObject
* _argo7
= 0;
3448 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3461 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3462 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3470 if (! wxPoint_helper(_obj4
, &_arg4
))
3476 if (! wxSize_helper(_obj5
, &_arg5
))
3480 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3481 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3487 wxPy_BEGIN_ALLOW_THREADS
;
3488 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3490 wxPy_END_ALLOW_THREADS
;
3491 if (PyErr_Occurred()) return NULL
;
3492 } _resultobj
= Py_BuildValue("i",_result
);
3496 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3497 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
* _resultobj
;
3501 PyObject
* _argo0
= 0;
3502 char *_kwnames
[] = { "self", NULL
};
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3515 wxPy_BEGIN_ALLOW_THREADS
;
3516 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3518 wxPy_END_ALLOW_THREADS
;
3519 if (PyErr_Occurred()) return NULL
;
3520 } _resultobj
= Py_BuildValue("i",_result
);
3524 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3525 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
* _resultobj
;
3529 PyObject
* _argo0
= 0;
3530 char *_kwnames
[] = { "self", NULL
};
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3543 wxPy_BEGIN_ALLOW_THREADS
;
3544 _result
= (int )wxGauge_GetRange(_arg0
);
3546 wxPy_END_ALLOW_THREADS
;
3547 if (PyErr_Occurred()) return NULL
;
3548 } _resultobj
= Py_BuildValue("i",_result
);
3552 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3553 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3557 PyObject
* _argo0
= 0;
3558 char *_kwnames
[] = { "self", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3571 wxPy_BEGIN_ALLOW_THREADS
;
3572 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3574 wxPy_END_ALLOW_THREADS
;
3575 if (PyErr_Occurred()) return NULL
;
3576 } _resultobj
= Py_BuildValue("i",_result
);
3580 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3581 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
* _resultobj
;
3585 PyObject
* _argo0
= 0;
3586 char *_kwnames
[] = { "self", NULL
};
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3599 wxPy_BEGIN_ALLOW_THREADS
;
3600 _result
= (int )wxGauge_GetValue(_arg0
);
3602 wxPy_END_ALLOW_THREADS
;
3603 if (PyErr_Occurred()) return NULL
;
3604 } _resultobj
= Py_BuildValue("i",_result
);
3608 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3609 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3610 PyObject
* _resultobj
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "self","width", NULL
};
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3627 wxPy_BEGIN_ALLOW_THREADS
;
3628 wxGauge_SetBezelFace(_arg0
,_arg1
);
3630 wxPy_END_ALLOW_THREADS
;
3631 if (PyErr_Occurred()) return NULL
;
3632 } Py_INCREF(Py_None
);
3633 _resultobj
= Py_None
;
3637 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3638 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3642 PyObject
* _argo0
= 0;
3643 char *_kwnames
[] = { "self","range", NULL
};
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3656 wxPy_BEGIN_ALLOW_THREADS
;
3657 wxGauge_SetRange(_arg0
,_arg1
);
3659 wxPy_END_ALLOW_THREADS
;
3660 if (PyErr_Occurred()) return NULL
;
3661 } Py_INCREF(Py_None
);
3662 _resultobj
= Py_None
;
3666 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3667 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
* _resultobj
;
3671 PyObject
* _argo0
= 0;
3672 char *_kwnames
[] = { "self","width", NULL
};
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3685 wxPy_BEGIN_ALLOW_THREADS
;
3686 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3688 wxPy_END_ALLOW_THREADS
;
3689 if (PyErr_Occurred()) return NULL
;
3690 } Py_INCREF(Py_None
);
3691 _resultobj
= Py_None
;
3695 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3696 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
* _resultobj
;
3700 PyObject
* _argo0
= 0;
3701 char *_kwnames
[] = { "self","pos", NULL
};
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3714 wxPy_BEGIN_ALLOW_THREADS
;
3715 wxGauge_SetValue(_arg0
,_arg1
);
3717 wxPy_END_ALLOW_THREADS
;
3718 if (PyErr_Occurred()) return NULL
;
3719 } Py_INCREF(Py_None
);
3720 _resultobj
= Py_None
;
3724 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3727 src
= (wxStaticBox
*) ptr
;
3728 dest
= (wxControl
*) src
;
3729 return (void *) dest
;
3732 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3735 src
= (wxStaticBox
*) ptr
;
3736 dest
= (wxWindow
*) src
;
3737 return (void *) dest
;
3740 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3743 src
= (wxStaticBox
*) ptr
;
3744 dest
= (wxEvtHandler
*) src
;
3745 return (void *) dest
;
3748 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3751 src
= (wxStaticBox
*) ptr
;
3752 dest
= (wxObject
*) src
;
3753 return (void *) dest
;
3756 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3757 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
* _resultobj
;
3759 wxStaticBox
* _result
;
3763 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3764 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3765 long _arg5
= (long ) 0;
3766 char * _arg6
= (char *) "staticBox";
3767 PyObject
* _argo0
= 0;
3768 PyObject
* _obj2
= 0;
3770 PyObject
* _obj3
= 0;
3772 PyObject
* _obj4
= 0;
3773 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3787 #if PYTHON_API_VERSION >= 1009
3788 char* tmpPtr
; int tmpSize
;
3789 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3793 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3795 _arg2
= new wxString(tmpPtr
, tmpSize
);
3797 if (!PyString_Check(_obj2
)) {
3798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3801 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3807 if (! wxPoint_helper(_obj3
, &_arg3
))
3813 if (! wxSize_helper(_obj4
, &_arg4
))
3817 wxPy_BEGIN_ALLOW_THREADS
;
3818 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3820 wxPy_END_ALLOW_THREADS
;
3821 if (PyErr_Occurred()) return NULL
;
3823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3824 _resultobj
= Py_BuildValue("s",_ptemp
);
3827 _resultobj
= Py_None
;
3836 #define new_wxPreStaticBox() (new wxStaticBox())
3837 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3839 wxStaticBox
* _result
;
3840 char *_kwnames
[] = { NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3847 wxPy_BEGIN_ALLOW_THREADS
;
3848 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3850 wxPy_END_ALLOW_THREADS
;
3851 if (PyErr_Occurred()) return NULL
;
3853 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3854 _resultobj
= Py_BuildValue("s",_ptemp
);
3857 _resultobj
= Py_None
;
3862 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3863 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
* _resultobj
;
3866 wxStaticBox
* _arg0
;
3870 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3871 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3872 long _arg6
= (long ) 0;
3873 char * _arg7
= (char *) "staticBox";
3874 PyObject
* _argo0
= 0;
3875 PyObject
* _argo1
= 0;
3876 PyObject
* _obj3
= 0;
3878 PyObject
* _obj4
= 0;
3880 PyObject
* _obj5
= 0;
3881 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3894 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3895 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3901 #if PYTHON_API_VERSION >= 1009
3902 char* tmpPtr
; int tmpSize
;
3903 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3907 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3909 _arg3
= new wxString(tmpPtr
, tmpSize
);
3911 if (!PyString_Check(_obj3
)) {
3912 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3915 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3921 if (! wxPoint_helper(_obj4
, &_arg4
))
3927 if (! wxSize_helper(_obj5
, &_arg5
))
3931 wxPy_BEGIN_ALLOW_THREADS
;
3932 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
3934 wxPy_END_ALLOW_THREADS
;
3935 if (PyErr_Occurred()) return NULL
;
3936 } _resultobj
= Py_BuildValue("i",_result
);
3944 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3947 src
= (wxStaticLine
*) ptr
;
3948 dest
= (wxControl
*) src
;
3949 return (void *) dest
;
3952 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3955 src
= (wxStaticLine
*) ptr
;
3956 dest
= (wxWindow
*) src
;
3957 return (void *) dest
;
3960 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
3963 src
= (wxStaticLine
*) ptr
;
3964 dest
= (wxEvtHandler
*) src
;
3965 return (void *) dest
;
3968 static void *SwigwxStaticLineTowxObject(void *ptr
) {
3971 src
= (wxStaticLine
*) ptr
;
3972 dest
= (wxObject
*) src
;
3973 return (void *) dest
;
3976 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3977 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
* _resultobj
;
3979 wxStaticLine
* _result
;
3982 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
3983 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
3984 long _arg4
= (long ) wxLI_HORIZONTAL
;
3985 char * _arg5
= (char *) "staticLine";
3986 PyObject
* _argo0
= 0;
3988 PyObject
* _obj2
= 0;
3990 PyObject
* _obj3
= 0;
3991 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
3998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4007 if (! wxPoint_helper(_obj2
, &_arg2
))
4013 if (! wxSize_helper(_obj3
, &_arg3
))
4017 wxPy_BEGIN_ALLOW_THREADS
;
4018 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4020 wxPy_END_ALLOW_THREADS
;
4021 if (PyErr_Occurred()) return NULL
;
4023 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4024 _resultobj
= Py_BuildValue("s",_ptemp
);
4027 _resultobj
= Py_None
;
4032 #define new_wxPreStaticLine() (new wxStaticLine())
4033 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
* _resultobj
;
4035 wxStaticLine
* _result
;
4036 char *_kwnames
[] = { NULL
};
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4043 wxPy_BEGIN_ALLOW_THREADS
;
4044 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4046 wxPy_END_ALLOW_THREADS
;
4047 if (PyErr_Occurred()) return NULL
;
4049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4050 _resultobj
= Py_BuildValue("s",_ptemp
);
4053 _resultobj
= Py_None
;
4058 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4059 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
* _resultobj
;
4062 wxStaticLine
* _arg0
;
4065 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4066 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4067 long _arg5
= (long ) wxLI_HORIZONTAL
;
4068 char * _arg6
= (char *) "staticLine";
4069 PyObject
* _argo0
= 0;
4070 PyObject
* _argo1
= 0;
4072 PyObject
* _obj3
= 0;
4074 PyObject
* _obj4
= 0;
4075 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4088 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4089 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4097 if (! wxPoint_helper(_obj3
, &_arg3
))
4103 if (! wxSize_helper(_obj4
, &_arg4
))
4107 wxPy_BEGIN_ALLOW_THREADS
;
4108 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4110 wxPy_END_ALLOW_THREADS
;
4111 if (PyErr_Occurred()) return NULL
;
4112 } _resultobj
= Py_BuildValue("i",_result
);
4116 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4119 src
= (wxStaticText
*) ptr
;
4120 dest
= (wxControl
*) src
;
4121 return (void *) dest
;
4124 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4127 src
= (wxStaticText
*) ptr
;
4128 dest
= (wxWindow
*) src
;
4129 return (void *) dest
;
4132 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4135 src
= (wxStaticText
*) ptr
;
4136 dest
= (wxEvtHandler
*) src
;
4137 return (void *) dest
;
4140 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4143 src
= (wxStaticText
*) ptr
;
4144 dest
= (wxObject
*) src
;
4145 return (void *) dest
;
4148 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4149 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
* _resultobj
;
4151 wxStaticText
* _result
;
4155 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4156 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4157 long _arg5
= (long ) 0;
4158 char * _arg6
= (char *) "staticText";
4159 PyObject
* _argo0
= 0;
4160 PyObject
* _obj2
= 0;
4162 PyObject
* _obj3
= 0;
4164 PyObject
* _obj4
= 0;
4165 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4179 #if PYTHON_API_VERSION >= 1009
4180 char* tmpPtr
; int tmpSize
;
4181 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4182 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4185 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4187 _arg2
= new wxString(tmpPtr
, tmpSize
);
4189 if (!PyString_Check(_obj2
)) {
4190 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4193 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4199 if (! wxPoint_helper(_obj3
, &_arg3
))
4205 if (! wxSize_helper(_obj4
, &_arg4
))
4209 wxPy_BEGIN_ALLOW_THREADS
;
4210 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4212 wxPy_END_ALLOW_THREADS
;
4213 if (PyErr_Occurred()) return NULL
;
4215 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4216 _resultobj
= Py_BuildValue("s",_ptemp
);
4219 _resultobj
= Py_None
;
4228 #define new_wxPreStaticText() (new wxStaticText())
4229 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4231 wxStaticText
* _result
;
4232 char *_kwnames
[] = { NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4239 wxPy_BEGIN_ALLOW_THREADS
;
4240 _result
= (wxStaticText
*)new_wxPreStaticText();
4242 wxPy_END_ALLOW_THREADS
;
4243 if (PyErr_Occurred()) return NULL
;
4245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4246 _resultobj
= Py_BuildValue("s",_ptemp
);
4249 _resultobj
= Py_None
;
4254 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4255 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4258 wxStaticText
* _arg0
;
4262 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4263 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4264 long _arg6
= (long ) 0;
4265 char * _arg7
= (char *) "staticText";
4266 PyObject
* _argo0
= 0;
4267 PyObject
* _argo1
= 0;
4268 PyObject
* _obj3
= 0;
4270 PyObject
* _obj4
= 0;
4272 PyObject
* _obj5
= 0;
4273 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4286 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4293 #if PYTHON_API_VERSION >= 1009
4294 char* tmpPtr
; int tmpSize
;
4295 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4299 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4301 _arg3
= new wxString(tmpPtr
, tmpSize
);
4303 if (!PyString_Check(_obj3
)) {
4304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4307 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4313 if (! wxPoint_helper(_obj4
, &_arg4
))
4319 if (! wxSize_helper(_obj5
, &_arg5
))
4323 wxPy_BEGIN_ALLOW_THREADS
;
4324 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4326 wxPy_END_ALLOW_THREADS
;
4327 if (PyErr_Occurred()) return NULL
;
4328 } _resultobj
= Py_BuildValue("i",_result
);
4336 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4337 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
* _resultobj
;
4340 wxStaticText
* _arg0
;
4341 PyObject
* _argo0
= 0;
4342 char *_kwnames
[] = { "self", NULL
};
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4355 wxPy_BEGIN_ALLOW_THREADS
;
4356 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4358 wxPy_END_ALLOW_THREADS
;
4359 if (PyErr_Occurred()) return NULL
;
4361 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4369 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4370 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
* _resultobj
;
4372 wxStaticText
* _arg0
;
4374 PyObject
* _argo0
= 0;
4375 PyObject
* _obj1
= 0;
4376 char *_kwnames
[] = { "self","label", NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4389 #if PYTHON_API_VERSION >= 1009
4390 char* tmpPtr
; int tmpSize
;
4391 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4395 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4397 _arg1
= new wxString(tmpPtr
, tmpSize
);
4399 if (!PyString_Check(_obj1
)) {
4400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4403 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4407 wxPy_BEGIN_ALLOW_THREADS
;
4408 wxStaticText_SetLabel(_arg0
,*_arg1
);
4410 wxPy_END_ALLOW_THREADS
;
4411 if (PyErr_Occurred()) return NULL
;
4412 } Py_INCREF(Py_None
);
4413 _resultobj
= Py_None
;
4421 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4423 wxControlWithItems
*dest
;
4424 src
= (wxListBox
*) ptr
;
4425 dest
= (wxControlWithItems
*) src
;
4426 return (void *) dest
;
4429 static void *SwigwxListBoxTowxControl(void *ptr
) {
4432 src
= (wxListBox
*) ptr
;
4433 dest
= (wxControl
*) src
;
4434 return (void *) dest
;
4437 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4440 src
= (wxListBox
*) ptr
;
4441 dest
= (wxWindow
*) src
;
4442 return (void *) dest
;
4445 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4448 src
= (wxListBox
*) ptr
;
4449 dest
= (wxEvtHandler
*) src
;
4450 return (void *) dest
;
4453 static void *SwigwxListBoxTowxObject(void *ptr
) {
4456 src
= (wxListBox
*) ptr
;
4457 dest
= (wxObject
*) src
;
4458 return (void *) dest
;
4461 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4462 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
* _resultobj
;
4464 wxListBox
* _result
;
4467 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4468 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4470 wxString
* _arg5
= (wxString
*) NULL
;
4471 long _arg6
= (long ) 0;
4472 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4473 char * _arg8
= (char *) "listBox";
4474 PyObject
* _argo0
= 0;
4476 PyObject
* _obj2
= 0;
4478 PyObject
* _obj3
= 0;
4479 PyObject
* _obj5
= 0;
4480 PyObject
* _argo7
= 0;
4481 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4497 if (! wxPoint_helper(_obj2
, &_arg2
))
4503 if (! wxSize_helper(_obj3
, &_arg3
))
4508 _arg5
= wxString_LIST_helper(_obj5
);
4509 if (_arg5
== NULL
) {
4514 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4515 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4522 _arg4
= PyList_Size(_obj5
);
4529 wxPy_BEGIN_ALLOW_THREADS
;
4530 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4532 wxPy_END_ALLOW_THREADS
;
4533 if (PyErr_Occurred()) return NULL
;
4535 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4536 _resultobj
= Py_BuildValue("s",_ptemp
);
4539 _resultobj
= Py_None
;
4547 #define new_wxPreListBox() (new wxListBox())
4548 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
* _resultobj
;
4550 wxListBox
* _result
;
4551 char *_kwnames
[] = { NULL
};
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4558 wxPy_BEGIN_ALLOW_THREADS
;
4559 _result
= (wxListBox
*)new_wxPreListBox();
4561 wxPy_END_ALLOW_THREADS
;
4562 if (PyErr_Occurred()) return NULL
;
4564 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4565 _resultobj
= Py_BuildValue("s",_ptemp
);
4568 _resultobj
= Py_None
;
4573 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4574 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
* _resultobj
;
4580 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4581 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4583 wxString
* _arg6
= (wxString
*) NULL
;
4584 long _arg7
= (long ) 0;
4585 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4586 char * _arg9
= (char *) "listBox";
4587 PyObject
* _argo0
= 0;
4588 PyObject
* _argo1
= 0;
4590 PyObject
* _obj3
= 0;
4592 PyObject
* _obj4
= 0;
4593 PyObject
* _obj6
= 0;
4594 PyObject
* _argo8
= 0;
4595 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4617 if (! wxPoint_helper(_obj3
, &_arg3
))
4623 if (! wxSize_helper(_obj4
, &_arg4
))
4628 _arg6
= wxString_LIST_helper(_obj6
);
4629 if (_arg6
== NULL
) {
4634 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4635 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4642 _arg5
= PyList_Size(_obj6
);
4649 wxPy_BEGIN_ALLOW_THREADS
;
4650 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4652 wxPy_END_ALLOW_THREADS
;
4653 if (PyErr_Occurred()) return NULL
;
4654 } _resultobj
= Py_BuildValue("i",_result
);
4661 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4662 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4665 PyObject
* _argo0
= 0;
4666 char *_kwnames
[] = { "self", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4679 wxPy_BEGIN_ALLOW_THREADS
;
4680 wxListBox_Clear(_arg0
);
4682 wxPy_END_ALLOW_THREADS
;
4683 if (PyErr_Occurred()) return NULL
;
4684 } Py_INCREF(Py_None
);
4685 _resultobj
= Py_None
;
4689 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4690 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4694 PyObject
* _argo0
= 0;
4695 char *_kwnames
[] = { "self","n", NULL
};
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4708 wxPy_BEGIN_ALLOW_THREADS
;
4709 wxListBox_Deselect(_arg0
,_arg1
);
4711 wxPy_END_ALLOW_THREADS
;
4712 if (PyErr_Occurred()) return NULL
;
4713 } Py_INCREF(Py_None
);
4714 _resultobj
= Py_None
;
4718 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4720 self
->GetSelections(lst
);
4721 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4722 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4723 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4727 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
* _resultobj
;
4731 PyObject
* _argo0
= 0;
4732 char *_kwnames
[] = { "self", NULL
};
4735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4745 wxPy_BEGIN_ALLOW_THREADS
;
4746 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4748 wxPy_END_ALLOW_THREADS
;
4749 if (PyErr_Occurred()) return NULL
;
4751 _resultobj
= _result
;
4756 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4757 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
* _resultobj
;
4763 PyObject
* _argo0
= 0;
4764 PyObject
* _obj2
= 0;
4765 char *_kwnames
[] = { "self","choices","pos", NULL
};
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4778 _arg2
= wxString_LIST_helper(_obj2
);
4779 if (_arg2
== NULL
) {
4785 _arg1
= PyList_Size(_obj2
);
4792 wxPy_BEGIN_ALLOW_THREADS
;
4793 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4795 wxPy_END_ALLOW_THREADS
;
4796 if (PyErr_Occurred()) return NULL
;
4797 } Py_INCREF(Py_None
);
4798 _resultobj
= Py_None
;
4805 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4806 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
* _resultobj
;
4811 PyObject
* _argo0
= 0;
4812 char *_kwnames
[] = { "self","n", NULL
};
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4825 wxPy_BEGIN_ALLOW_THREADS
;
4826 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4828 wxPy_END_ALLOW_THREADS
;
4829 if (PyErr_Occurred()) return NULL
;
4830 } _resultobj
= Py_BuildValue("i",_result
);
4834 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4835 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
* _resultobj
;
4840 PyObject
* _argo0
= 0;
4841 char *_kwnames
[] = { "self","n", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4854 wxPy_BEGIN_ALLOW_THREADS
;
4855 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4857 wxPy_END_ALLOW_THREADS
;
4858 if (PyErr_Occurred()) return NULL
;
4859 } _resultobj
= Py_BuildValue("i",_result
);
4863 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4864 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4869 PyObject
* _argo0
= 0;
4870 PyObject
* _obj2
= 0;
4871 char *_kwnames
[] = { "self","choices", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4885 _arg2
= wxString_LIST_helper(_obj2
);
4886 if (_arg2
== NULL
) {
4892 _arg1
= PyList_Size(_obj2
);
4899 wxPy_BEGIN_ALLOW_THREADS
;
4900 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4902 wxPy_END_ALLOW_THREADS
;
4903 if (PyErr_Occurred()) return NULL
;
4904 } Py_INCREF(Py_None
);
4905 _resultobj
= Py_None
;
4912 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4913 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4917 PyObject
* _argo0
= 0;
4918 char *_kwnames
[] = { "self","n", NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
4924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4931 wxPy_BEGIN_ALLOW_THREADS
;
4932 wxListBox_SetFirstItem(_arg0
,_arg1
);
4934 wxPy_END_ALLOW_THREADS
;
4935 if (PyErr_Occurred()) return NULL
;
4936 } Py_INCREF(Py_None
);
4937 _resultobj
= Py_None
;
4941 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4942 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
* _resultobj
;
4946 PyObject
* _argo0
= 0;
4947 PyObject
* _obj1
= 0;
4948 char *_kwnames
[] = { "self","string", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
4954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
4961 #if PYTHON_API_VERSION >= 1009
4962 char* tmpPtr
; int tmpSize
;
4963 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4964 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4967 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4969 _arg1
= new wxString(tmpPtr
, tmpSize
);
4971 if (!PyString_Check(_obj1
)) {
4972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4975 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4979 wxPy_BEGIN_ALLOW_THREADS
;
4980 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
4982 wxPy_END_ALLOW_THREADS
;
4983 if (PyErr_Occurred()) return NULL
;
4984 } Py_INCREF(Py_None
);
4985 _resultobj
= Py_None
;
4993 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4994 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4998 bool _arg2
= (bool ) TRUE
;
4999 PyObject
* _argo0
= 0;
5000 int tempbool2
= (int) TRUE
;
5001 char *_kwnames
[] = { "self","n","select", NULL
};
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5013 _arg2
= (bool ) tempbool2
;
5015 wxPy_BEGIN_ALLOW_THREADS
;
5016 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5018 wxPy_END_ALLOW_THREADS
;
5019 if (PyErr_Occurred()) return NULL
;
5020 } Py_INCREF(Py_None
);
5021 _resultobj
= Py_None
;
5025 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5026 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
* _resultobj
;
5031 PyObject
* _argo0
= 0;
5032 PyObject
* _obj2
= 0;
5033 char *_kwnames
[] = { "self","n","string", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5046 #if PYTHON_API_VERSION >= 1009
5047 char* tmpPtr
; int tmpSize
;
5048 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5049 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5052 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5054 _arg2
= new wxString(tmpPtr
, tmpSize
);
5056 if (!PyString_Check(_obj2
)) {
5057 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5060 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5064 wxPy_BEGIN_ALLOW_THREADS
;
5065 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5067 wxPy_END_ALLOW_THREADS
;
5068 if (PyErr_Occurred()) return NULL
;
5069 } Py_INCREF(Py_None
);
5070 _resultobj
= Py_None
;
5078 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5079 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
* _resultobj
;
5083 bool _arg2
= (bool ) TRUE
;
5084 PyObject
* _argo0
= 0;
5085 PyObject
* _obj1
= 0;
5086 int tempbool2
= (int) TRUE
;
5087 char *_kwnames
[] = { "self","string","select", NULL
};
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5100 #if PYTHON_API_VERSION >= 1009
5101 char* tmpPtr
; int tmpSize
;
5102 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5103 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5106 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5108 _arg1
= new wxString(tmpPtr
, tmpSize
);
5110 if (!PyString_Check(_obj1
)) {
5111 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5114 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5117 _arg2
= (bool ) tempbool2
;
5119 wxPy_BEGIN_ALLOW_THREADS
;
5120 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5122 wxPy_END_ALLOW_THREADS
;
5123 if (PyErr_Occurred()) return NULL
;
5124 } Py_INCREF(Py_None
);
5125 _resultobj
= Py_None
;
5133 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5134 wxCheckListBox
*src
;
5136 src
= (wxCheckListBox
*) ptr
;
5137 dest
= (wxListBox
*) src
;
5138 return (void *) dest
;
5141 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5142 wxCheckListBox
*src
;
5143 wxControlWithItems
*dest
;
5144 src
= (wxCheckListBox
*) ptr
;
5145 dest
= (wxControlWithItems
*) src
;
5146 return (void *) dest
;
5149 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5150 wxCheckListBox
*src
;
5152 src
= (wxCheckListBox
*) ptr
;
5153 dest
= (wxControl
*) src
;
5154 return (void *) dest
;
5157 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5158 wxCheckListBox
*src
;
5160 src
= (wxCheckListBox
*) ptr
;
5161 dest
= (wxWindow
*) src
;
5162 return (void *) dest
;
5165 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5166 wxCheckListBox
*src
;
5168 src
= (wxCheckListBox
*) ptr
;
5169 dest
= (wxEvtHandler
*) src
;
5170 return (void *) dest
;
5173 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5174 wxCheckListBox
*src
;
5176 src
= (wxCheckListBox
*) ptr
;
5177 dest
= (wxObject
*) src
;
5178 return (void *) dest
;
5181 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5182 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5184 wxCheckListBox
* _result
;
5187 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5188 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5189 int _arg4
= (int ) 0;
5190 wxString
* _arg5
= (wxString
*) NULL
;
5191 long _arg6
= (long ) 0;
5192 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5193 char * _arg8
= (char *) "listBox";
5194 PyObject
* _argo0
= 0;
5196 PyObject
* _obj2
= 0;
5198 PyObject
* _obj3
= 0;
5199 PyObject
* _obj5
= 0;
5200 PyObject
* _argo7
= 0;
5201 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5217 if (! wxPoint_helper(_obj2
, &_arg2
))
5223 if (! wxSize_helper(_obj3
, &_arg3
))
5228 _arg5
= wxString_LIST_helper(_obj5
);
5229 if (_arg5
== NULL
) {
5234 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5235 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5242 _arg4
= PyList_Size(_obj5
);
5249 wxPy_BEGIN_ALLOW_THREADS
;
5250 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5252 wxPy_END_ALLOW_THREADS
;
5253 if (PyErr_Occurred()) return NULL
;
5255 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5256 _resultobj
= Py_BuildValue("s",_ptemp
);
5259 _resultobj
= Py_None
;
5267 #define new_wxPreCheckListBox() (new wxCheckListBox())
5268 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
* _resultobj
;
5270 wxCheckListBox
* _result
;
5271 char *_kwnames
[] = { NULL
};
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5278 wxPy_BEGIN_ALLOW_THREADS
;
5279 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5281 wxPy_END_ALLOW_THREADS
;
5282 if (PyErr_Occurred()) return NULL
;
5284 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5285 _resultobj
= Py_BuildValue("s",_ptemp
);
5288 _resultobj
= Py_None
;
5293 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5294 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
* _resultobj
;
5297 wxCheckListBox
* _arg0
;
5300 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5301 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5302 int _arg5
= (int ) 0;
5303 wxString
* _arg6
= (wxString
*) NULL
;
5304 long _arg7
= (long ) 0;
5305 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5306 char * _arg9
= (char *) "listBox";
5307 PyObject
* _argo0
= 0;
5308 PyObject
* _argo1
= 0;
5310 PyObject
* _obj3
= 0;
5312 PyObject
* _obj4
= 0;
5313 PyObject
* _obj6
= 0;
5314 PyObject
* _argo8
= 0;
5315 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5337 if (! wxPoint_helper(_obj3
, &_arg3
))
5343 if (! wxSize_helper(_obj4
, &_arg4
))
5348 _arg6
= wxString_LIST_helper(_obj6
);
5349 if (_arg6
== NULL
) {
5354 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5355 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5362 _arg5
= PyList_Size(_obj6
);
5369 wxPy_BEGIN_ALLOW_THREADS
;
5370 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5372 wxPy_END_ALLOW_THREADS
;
5373 if (PyErr_Occurred()) return NULL
;
5374 } _resultobj
= Py_BuildValue("i",_result
);
5381 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5382 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
* _resultobj
;
5385 wxCheckListBox
* _arg0
;
5387 PyObject
* _argo0
= 0;
5388 char *_kwnames
[] = { "self","uiIndex", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5401 wxPy_BEGIN_ALLOW_THREADS
;
5402 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5404 wxPy_END_ALLOW_THREADS
;
5405 if (PyErr_Occurred()) return NULL
;
5406 } _resultobj
= Py_BuildValue("i",_result
);
5410 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5411 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
* _resultobj
;
5413 wxCheckListBox
* _arg0
;
5415 int _arg2
= (int ) TRUE
;
5416 PyObject
* _argo0
= 0;
5417 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5430 wxPy_BEGIN_ALLOW_THREADS
;
5431 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5433 wxPy_END_ALLOW_THREADS
;
5434 if (PyErr_Occurred()) return NULL
;
5435 } Py_INCREF(Py_None
);
5436 _resultobj
= Py_None
;
5440 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5441 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
* _resultobj
;
5443 wxCheckListBox
* _arg0
;
5447 PyObject
* _argo0
= 0;
5448 PyObject
* _obj2
= 0;
5449 char *_kwnames
[] = { "self","choices","pos", NULL
};
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5462 _arg2
= wxString_LIST_helper(_obj2
);
5463 if (_arg2
== NULL
) {
5469 _arg1
= PyList_Size(_obj2
);
5476 wxPy_BEGIN_ALLOW_THREADS
;
5477 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5479 wxPy_END_ALLOW_THREADS
;
5480 if (PyErr_Occurred()) return NULL
;
5481 } Py_INCREF(Py_None
);
5482 _resultobj
= Py_None
;
5489 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5490 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
* _resultobj
;
5492 wxTextAttr
* _result
;
5493 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5494 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5495 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5497 PyObject
* _obj0
= 0;
5499 PyObject
* _obj1
= 0;
5500 PyObject
* _argo2
= 0;
5501 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5510 if (! wxColour_helper(_obj0
, &_arg0
))
5516 if (! wxColour_helper(_obj1
, &_arg1
))
5520 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5527 wxPy_BEGIN_ALLOW_THREADS
;
5528 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5530 wxPy_END_ALLOW_THREADS
;
5531 if (PyErr_Occurred()) return NULL
;
5533 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5534 _resultobj
= Py_BuildValue("s",_ptemp
);
5537 _resultobj
= Py_None
;
5542 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5543 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
* _resultobj
;
5546 PyObject
* _argo0
= 0;
5547 char *_kwnames
[] = { "self", NULL
};
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5560 wxPy_BEGIN_ALLOW_THREADS
;
5561 delete_wxTextAttr(_arg0
);
5563 wxPy_END_ALLOW_THREADS
;
5564 if (PyErr_Occurred()) return NULL
;
5565 } Py_INCREF(Py_None
);
5566 _resultobj
= Py_None
;
5570 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5571 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
* _resultobj
;
5575 PyObject
* _argo0
= 0;
5577 PyObject
* _obj1
= 0;
5578 char *_kwnames
[] = { "self","colText", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5592 if (! wxColour_helper(_obj1
, &_arg1
))
5596 wxPy_BEGIN_ALLOW_THREADS
;
5597 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5599 wxPy_END_ALLOW_THREADS
;
5600 if (PyErr_Occurred()) return NULL
;
5601 } Py_INCREF(Py_None
);
5602 _resultobj
= Py_None
;
5606 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5607 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
* _resultobj
;
5611 PyObject
* _argo0
= 0;
5613 PyObject
* _obj1
= 0;
5614 char *_kwnames
[] = { "self","colBack", NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5628 if (! wxColour_helper(_obj1
, &_arg1
))
5632 wxPy_BEGIN_ALLOW_THREADS
;
5633 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5635 wxPy_END_ALLOW_THREADS
;
5636 if (PyErr_Occurred()) return NULL
;
5637 } Py_INCREF(Py_None
);
5638 _resultobj
= Py_None
;
5642 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5643 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
* _resultobj
;
5647 PyObject
* _argo0
= 0;
5648 PyObject
* _argo1
= 0;
5649 char *_kwnames
[] = { "self","font", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5662 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5669 wxPy_BEGIN_ALLOW_THREADS
;
5670 wxTextAttr_SetFont(_arg0
,*_arg1
);
5672 wxPy_END_ALLOW_THREADS
;
5673 if (PyErr_Occurred()) return NULL
;
5674 } Py_INCREF(Py_None
);
5675 _resultobj
= Py_None
;
5679 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5680 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
* _resultobj
;
5684 PyObject
* _argo0
= 0;
5685 char *_kwnames
[] = { "self", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5698 wxPy_BEGIN_ALLOW_THREADS
;
5699 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5701 wxPy_END_ALLOW_THREADS
;
5702 if (PyErr_Occurred()) return NULL
;
5703 } _resultobj
= Py_BuildValue("i",_result
);
5707 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5708 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5726 wxPy_BEGIN_ALLOW_THREADS
;
5727 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5729 wxPy_END_ALLOW_THREADS
;
5730 if (PyErr_Occurred()) return NULL
;
5731 } _resultobj
= Py_BuildValue("i",_result
);
5735 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5736 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
* _resultobj
;
5740 PyObject
* _argo0
= 0;
5741 char *_kwnames
[] = { "self", NULL
};
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5754 wxPy_BEGIN_ALLOW_THREADS
;
5755 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5757 wxPy_END_ALLOW_THREADS
;
5758 if (PyErr_Occurred()) return NULL
;
5759 } _resultobj
= Py_BuildValue("i",_result
);
5763 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5764 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
* _resultobj
;
5768 PyObject
* _argo0
= 0;
5769 char *_kwnames
[] = { "self", NULL
};
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5783 wxPy_BEGIN_ALLOW_THREADS
;
5784 const wxColour
& _result_ref
= wxTextAttr_GetTextColour(_arg0
);
5785 _result
= (wxColour
*) &_result_ref
;
5787 wxPy_END_ALLOW_THREADS
;
5788 if (PyErr_Occurred()) return NULL
;
5790 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5791 _resultobj
= Py_BuildValue("s",_ptemp
);
5794 _resultobj
= Py_None
;
5799 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5800 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(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_GetBackgroundColour",_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_GetBackgroundColour. Expected _wxTextAttr_p.");
5819 wxPy_BEGIN_ALLOW_THREADS
;
5820 const wxColour
& _result_ref
= wxTextAttr_GetBackgroundColour(_arg0
);
5821 _result
= (wxColour
*) &_result_ref
;
5823 wxPy_END_ALLOW_THREADS
;
5824 if (PyErr_Occurred()) return NULL
;
5826 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5827 _resultobj
= Py_BuildValue("s",_ptemp
);
5830 _resultobj
= Py_None
;
5835 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5836 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
* _resultobj
;
5840 PyObject
* _argo0
= 0;
5841 char *_kwnames
[] = { "self", NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5855 wxPy_BEGIN_ALLOW_THREADS
;
5856 const wxFont
& _result_ref
= wxTextAttr_GetFont(_arg0
);
5857 _result
= (wxFont
*) &_result_ref
;
5859 wxPy_END_ALLOW_THREADS
;
5860 if (PyErr_Occurred()) return NULL
;
5862 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5863 _resultobj
= Py_BuildValue("s",_ptemp
);
5866 _resultobj
= Py_None
;
5871 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5872 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5876 PyObject
* _argo0
= 0;
5877 char *_kwnames
[] = { "self", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5890 wxPy_BEGIN_ALLOW_THREADS
;
5891 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5893 wxPy_END_ALLOW_THREADS
;
5894 if (PyErr_Occurred()) return NULL
;
5895 } _resultobj
= Py_BuildValue("i",_result
);
5899 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5901 wxTextAttr
* _result
;
5905 PyObject
* _argo0
= 0;
5906 PyObject
* _argo1
= 0;
5907 PyObject
* _argo2
= 0;
5908 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5922 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5923 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
5924 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5929 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
5936 wxPy_BEGIN_ALLOW_THREADS
;
5937 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
5939 wxPy_END_ALLOW_THREADS
;
5940 if (PyErr_Occurred()) return NULL
;
5941 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
5942 _resultobj
= Py_BuildValue("s",_ptemp
);
5946 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
5949 src
= (wxTextCtrl
*) ptr
;
5950 dest
= (wxControl
*) src
;
5951 return (void *) dest
;
5954 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
5957 src
= (wxTextCtrl
*) ptr
;
5958 dest
= (wxWindow
*) src
;
5959 return (void *) dest
;
5962 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
5965 src
= (wxTextCtrl
*) ptr
;
5966 dest
= (wxEvtHandler
*) src
;
5967 return (void *) dest
;
5970 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
5973 src
= (wxTextCtrl
*) ptr
;
5974 dest
= (wxObject
*) src
;
5975 return (void *) dest
;
5978 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
5979 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
* _resultobj
;
5981 wxTextCtrl
* _result
;
5984 char * _arg2
= (char *) "";
5985 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5986 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5987 long _arg5
= (long ) 0;
5988 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
5989 char * _arg7
= (char *) "text";
5990 PyObject
* _argo0
= 0;
5992 PyObject
* _obj3
= 0;
5994 PyObject
* _obj4
= 0;
5995 PyObject
* _argo6
= 0;
5996 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6012 if (! wxPoint_helper(_obj3
, &_arg3
))
6018 if (! wxSize_helper(_obj4
, &_arg4
))
6022 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6023 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6029 wxPy_BEGIN_ALLOW_THREADS
;
6030 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6032 wxPy_END_ALLOW_THREADS
;
6033 if (PyErr_Occurred()) return NULL
;
6035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6036 _resultobj
= Py_BuildValue("s",_ptemp
);
6039 _resultobj
= Py_None
;
6044 #define new_wxPreTextCtrl() (new wxTextCtrl())
6045 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
* _resultobj
;
6047 wxTextCtrl
* _result
;
6048 char *_kwnames
[] = { NULL
};
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6055 wxPy_BEGIN_ALLOW_THREADS
;
6056 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6058 wxPy_END_ALLOW_THREADS
;
6059 if (PyErr_Occurred()) return NULL
;
6061 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6062 _resultobj
= Py_BuildValue("s",_ptemp
);
6065 _resultobj
= Py_None
;
6070 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6071 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
* _resultobj
;
6077 char * _arg3
= (char *) "";
6078 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6079 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6080 long _arg6
= (long ) 0;
6081 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6082 char * _arg8
= (char *) "text";
6083 PyObject
* _argo0
= 0;
6084 PyObject
* _argo1
= 0;
6086 PyObject
* _obj4
= 0;
6088 PyObject
* _obj5
= 0;
6089 PyObject
* _argo7
= 0;
6090 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6103 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6112 if (! wxPoint_helper(_obj4
, &_arg4
))
6118 if (! wxSize_helper(_obj5
, &_arg5
))
6122 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6123 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6129 wxPy_BEGIN_ALLOW_THREADS
;
6130 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6132 wxPy_END_ALLOW_THREADS
;
6133 if (PyErr_Occurred()) return NULL
;
6134 } _resultobj
= Py_BuildValue("i",_result
);
6138 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6139 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6143 PyObject
* _argo0
= 0;
6144 char *_kwnames
[] = { "self", NULL
};
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6157 wxPy_BEGIN_ALLOW_THREADS
;
6158 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6160 wxPy_END_ALLOW_THREADS
;
6161 if (PyErr_Occurred()) return NULL
;
6163 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6171 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6172 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
* _resultobj
;
6176 PyObject
* _argo0
= 0;
6177 PyObject
* _obj1
= 0;
6178 char *_kwnames
[] = { "self","value", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6191 #if PYTHON_API_VERSION >= 1009
6192 char* tmpPtr
; int tmpSize
;
6193 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6197 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6199 _arg1
= new wxString(tmpPtr
, tmpSize
);
6201 if (!PyString_Check(_obj1
)) {
6202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6205 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6209 wxPy_BEGIN_ALLOW_THREADS
;
6210 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6212 wxPy_END_ALLOW_THREADS
;
6213 if (PyErr_Occurred()) return NULL
;
6214 } Py_INCREF(Py_None
);
6215 _resultobj
= Py_None
;
6223 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6224 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6225 PyObject
* _resultobj
;
6229 PyObject
* _argo0
= 0;
6230 char *_kwnames
[] = { "self","lineNo", NULL
};
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6243 wxPy_BEGIN_ALLOW_THREADS
;
6244 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6246 wxPy_END_ALLOW_THREADS
;
6247 if (PyErr_Occurred()) return NULL
;
6248 } _resultobj
= Py_BuildValue("i",_result
);
6252 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6253 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
* _resultobj
;
6258 PyObject
* _argo0
= 0;
6259 char *_kwnames
[] = { "self","lineNo", NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6272 wxPy_BEGIN_ALLOW_THREADS
;
6273 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6275 wxPy_END_ALLOW_THREADS
;
6276 if (PyErr_Occurred()) return NULL
;
6278 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6286 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6287 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6291 PyObject
* _argo0
= 0;
6292 char *_kwnames
[] = { "self", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6305 wxPy_BEGIN_ALLOW_THREADS
;
6306 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6308 wxPy_END_ALLOW_THREADS
;
6309 if (PyErr_Occurred()) return NULL
;
6310 } _resultobj
= Py_BuildValue("i",_result
);
6314 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6315 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6319 PyObject
* _argo0
= 0;
6320 char *_kwnames
[] = { "self", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6333 wxPy_BEGIN_ALLOW_THREADS
;
6334 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6336 wxPy_END_ALLOW_THREADS
;
6337 if (PyErr_Occurred()) return NULL
;
6338 } _resultobj
= Py_BuildValue("i",_result
);
6342 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6343 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
* _resultobj
;
6347 PyObject
* _argo0
= 0;
6348 char *_kwnames
[] = { "self", NULL
};
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6361 wxPy_BEGIN_ALLOW_THREADS
;
6362 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6364 wxPy_END_ALLOW_THREADS
;
6365 if (PyErr_Occurred()) return NULL
;
6366 } _resultobj
= Py_BuildValue("i",_result
);
6370 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6371 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
* _resultobj
;
6378 PyObject
* _argo0
= 0;
6379 char *_kwnames
[] = { "self", NULL
};
6388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6398 wxPy_BEGIN_ALLOW_THREADS
;
6399 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6401 wxPy_END_ALLOW_THREADS
;
6402 if (PyErr_Occurred()) return NULL
;
6403 } Py_INCREF(Py_None
);
6404 _resultobj
= Py_None
;
6407 o
= PyInt_FromLong((long) (*_arg1
));
6408 _resultobj
= t_output_helper(_resultobj
, o
);
6412 o
= PyInt_FromLong((long) (*_arg2
));
6413 _resultobj
= t_output_helper(_resultobj
, o
);
6418 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6419 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
* _resultobj
;
6423 PyObject
* _argo0
= 0;
6424 char *_kwnames
[] = { "self", NULL
};
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6437 wxPy_BEGIN_ALLOW_THREADS
;
6438 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6440 wxPy_END_ALLOW_THREADS
;
6441 if (PyErr_Occurred()) return NULL
;
6443 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6451 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6452 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
* _resultobj
;
6455 PyObject
* _argo0
= 0;
6456 char *_kwnames
[] = { "self", NULL
};
6459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6469 wxPy_BEGIN_ALLOW_THREADS
;
6470 wxTextCtrl_Clear(_arg0
);
6472 wxPy_END_ALLOW_THREADS
;
6473 if (PyErr_Occurred()) return NULL
;
6474 } Py_INCREF(Py_None
);
6475 _resultobj
= Py_None
;
6479 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6480 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
* _resultobj
;
6486 PyObject
* _argo0
= 0;
6487 PyObject
* _obj3
= 0;
6488 char *_kwnames
[] = { "self","from","to","value", NULL
};
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6501 #if PYTHON_API_VERSION >= 1009
6502 char* tmpPtr
; int tmpSize
;
6503 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6507 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6509 _arg3
= new wxString(tmpPtr
, tmpSize
);
6511 if (!PyString_Check(_obj3
)) {
6512 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6515 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6519 wxPy_BEGIN_ALLOW_THREADS
;
6520 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6522 wxPy_END_ALLOW_THREADS
;
6523 if (PyErr_Occurred()) return NULL
;
6524 } Py_INCREF(Py_None
);
6525 _resultobj
= Py_None
;
6533 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6534 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
* _resultobj
;
6539 PyObject
* _argo0
= 0;
6540 char *_kwnames
[] = { "self","from","to", NULL
};
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6553 wxPy_BEGIN_ALLOW_THREADS
;
6554 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6556 wxPy_END_ALLOW_THREADS
;
6557 if (PyErr_Occurred()) return NULL
;
6558 } Py_INCREF(Py_None
);
6559 _resultobj
= Py_None
;
6563 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6564 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
* _resultobj
;
6569 PyObject
* _argo0
= 0;
6570 PyObject
* _obj1
= 0;
6571 char *_kwnames
[] = { "self","file", NULL
};
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6584 #if PYTHON_API_VERSION >= 1009
6585 char* tmpPtr
; int tmpSize
;
6586 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6587 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6590 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6592 _arg1
= new wxString(tmpPtr
, tmpSize
);
6594 if (!PyString_Check(_obj1
)) {
6595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6598 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6602 wxPy_BEGIN_ALLOW_THREADS
;
6603 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6605 wxPy_END_ALLOW_THREADS
;
6606 if (PyErr_Occurred()) return NULL
;
6607 } _resultobj
= Py_BuildValue("i",_result
);
6615 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6616 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6620 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6621 PyObject
* _argo0
= 0;
6622 PyObject
* _obj1
= 0;
6623 char *_kwnames
[] = { "self","file", NULL
};
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6637 #if PYTHON_API_VERSION >= 1009
6638 char* tmpPtr
; int tmpSize
;
6639 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6643 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6645 _arg1
= new wxString(tmpPtr
, tmpSize
);
6647 if (!PyString_Check(_obj1
)) {
6648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6651 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6655 wxPy_BEGIN_ALLOW_THREADS
;
6656 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6658 wxPy_END_ALLOW_THREADS
;
6659 if (PyErr_Occurred()) return NULL
;
6660 } _resultobj
= Py_BuildValue("i",_result
);
6668 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6669 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6672 PyObject
* _argo0
= 0;
6673 char *_kwnames
[] = { "self", NULL
};
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6686 wxPy_BEGIN_ALLOW_THREADS
;
6687 wxTextCtrl_DiscardEdits(_arg0
);
6689 wxPy_END_ALLOW_THREADS
;
6690 if (PyErr_Occurred()) return NULL
;
6691 } Py_INCREF(Py_None
);
6692 _resultobj
= Py_None
;
6696 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6697 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6700 unsigned long _arg1
;
6701 PyObject
* _argo0
= 0;
6702 char *_kwnames
[] = { "self","len", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6715 wxPy_BEGIN_ALLOW_THREADS
;
6716 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6718 wxPy_END_ALLOW_THREADS
;
6719 if (PyErr_Occurred()) return NULL
;
6720 } Py_INCREF(Py_None
);
6721 _resultobj
= Py_None
;
6725 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6726 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
* _resultobj
;
6730 PyObject
* _argo0
= 0;
6731 PyObject
* _obj1
= 0;
6732 char *_kwnames
[] = { "self","text", NULL
};
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6745 #if PYTHON_API_VERSION >= 1009
6746 char* tmpPtr
; int tmpSize
;
6747 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6748 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6751 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6753 _arg1
= new wxString(tmpPtr
, tmpSize
);
6755 if (!PyString_Check(_obj1
)) {
6756 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6759 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6763 wxPy_BEGIN_ALLOW_THREADS
;
6764 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6766 wxPy_END_ALLOW_THREADS
;
6767 if (PyErr_Occurred()) return NULL
;
6768 } Py_INCREF(Py_None
);
6769 _resultobj
= Py_None
;
6777 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6778 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
* _resultobj
;
6782 PyObject
* _argo0
= 0;
6783 PyObject
* _obj1
= 0;
6784 char *_kwnames
[] = { "self","text", NULL
};
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6797 #if PYTHON_API_VERSION >= 1009
6798 char* tmpPtr
; int tmpSize
;
6799 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6803 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6805 _arg1
= new wxString(tmpPtr
, tmpSize
);
6807 if (!PyString_Check(_obj1
)) {
6808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6811 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6815 wxPy_BEGIN_ALLOW_THREADS
;
6816 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6818 wxPy_END_ALLOW_THREADS
;
6819 if (PyErr_Occurred()) return NULL
;
6820 } Py_INCREF(Py_None
);
6821 _resultobj
= Py_None
;
6829 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6830 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
* _resultobj
;
6837 PyObject
* _argo0
= 0;
6838 PyObject
* _argo3
= 0;
6839 char *_kwnames
[] = { "self","start","end","style", NULL
};
6842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6852 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6853 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6859 wxPy_BEGIN_ALLOW_THREADS
;
6860 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6862 wxPy_END_ALLOW_THREADS
;
6863 if (PyErr_Occurred()) return NULL
;
6864 } _resultobj
= Py_BuildValue("i",_result
);
6868 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6869 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
* _resultobj
;
6874 PyObject
* _argo0
= 0;
6875 PyObject
* _argo1
= 0;
6876 char *_kwnames
[] = { "self","style", NULL
};
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6889 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6890 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6896 wxPy_BEGIN_ALLOW_THREADS
;
6897 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6899 wxPy_END_ALLOW_THREADS
;
6900 if (PyErr_Occurred()) return NULL
;
6901 } _resultobj
= Py_BuildValue("i",_result
);
6905 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6906 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6908 wxTextAttr
* _result
;
6910 PyObject
* _argo0
= 0;
6911 char *_kwnames
[] = { "self", NULL
};
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
6918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
6925 wxPy_BEGIN_ALLOW_THREADS
;
6926 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
6927 _result
= (wxTextAttr
*) &_result_ref
;
6929 wxPy_END_ALLOW_THREADS
;
6930 if (PyErr_Occurred()) return NULL
;
6932 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6933 _resultobj
= Py_BuildValue("s",_ptemp
);
6936 _resultobj
= Py_None
;
6941 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
6942 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
* _resultobj
;
6948 PyObject
* _argo0
= 0;
6949 char *_kwnames
[] = { "self","x","y", NULL
};
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
6962 wxPy_BEGIN_ALLOW_THREADS
;
6963 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
6965 wxPy_END_ALLOW_THREADS
;
6966 if (PyErr_Occurred()) return NULL
;
6967 } _resultobj
= Py_BuildValue("l",_result
);
6971 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
6972 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
* _resultobj
;
6981 PyObject
* _argo0
= 0;
6982 char *_kwnames
[] = { "self","pos", NULL
};
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
6994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7001 wxPy_BEGIN_ALLOW_THREADS
;
7002 _result
= (bool )wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7004 wxPy_END_ALLOW_THREADS
;
7005 if (PyErr_Occurred()) return NULL
;
7006 } _resultobj
= Py_BuildValue("i",_result
);
7009 o
= PyInt_FromLong((long) (*_arg2
));
7010 _resultobj
= t_output_helper(_resultobj
, o
);
7014 o
= PyInt_FromLong((long) (*_arg3
));
7015 _resultobj
= t_output_helper(_resultobj
, o
);
7020 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7021 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
* _resultobj
;
7025 PyObject
* _argo0
= 0;
7026 char *_kwnames
[] = { "self","pos", NULL
};
7029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7039 wxPy_BEGIN_ALLOW_THREADS
;
7040 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7042 wxPy_END_ALLOW_THREADS
;
7043 if (PyErr_Occurred()) return NULL
;
7044 } Py_INCREF(Py_None
);
7045 _resultobj
= Py_None
;
7049 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7050 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
* _resultobj
;
7053 PyObject
* _argo0
= 0;
7054 char *_kwnames
[] = { "self", NULL
};
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7067 wxPy_BEGIN_ALLOW_THREADS
;
7068 wxTextCtrl_Copy(_arg0
);
7070 wxPy_END_ALLOW_THREADS
;
7071 if (PyErr_Occurred()) return NULL
;
7072 } Py_INCREF(Py_None
);
7073 _resultobj
= Py_None
;
7077 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7078 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
* _resultobj
;
7081 PyObject
* _argo0
= 0;
7082 char *_kwnames
[] = { "self", NULL
};
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7095 wxPy_BEGIN_ALLOW_THREADS
;
7096 wxTextCtrl_Cut(_arg0
);
7098 wxPy_END_ALLOW_THREADS
;
7099 if (PyErr_Occurred()) return NULL
;
7100 } Py_INCREF(Py_None
);
7101 _resultobj
= Py_None
;
7105 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7106 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
* _resultobj
;
7109 PyObject
* _argo0
= 0;
7110 char *_kwnames
[] = { "self", NULL
};
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7116 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7117 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7118 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7123 wxPy_BEGIN_ALLOW_THREADS
;
7124 wxTextCtrl_Paste(_arg0
);
7126 wxPy_END_ALLOW_THREADS
;
7127 if (PyErr_Occurred()) return NULL
;
7128 } Py_INCREF(Py_None
);
7129 _resultobj
= Py_None
;
7133 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7134 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
* _resultobj
;
7138 PyObject
* _argo0
= 0;
7139 char *_kwnames
[] = { "self", NULL
};
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7152 wxPy_BEGIN_ALLOW_THREADS
;
7153 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7155 wxPy_END_ALLOW_THREADS
;
7156 if (PyErr_Occurred()) return NULL
;
7157 } _resultobj
= Py_BuildValue("i",_result
);
7161 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7162 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
* _resultobj
;
7166 PyObject
* _argo0
= 0;
7167 char *_kwnames
[] = { "self", NULL
};
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7180 wxPy_BEGIN_ALLOW_THREADS
;
7181 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7183 wxPy_END_ALLOW_THREADS
;
7184 if (PyErr_Occurred()) return NULL
;
7185 } _resultobj
= Py_BuildValue("i",_result
);
7189 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7190 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
* _resultobj
;
7194 PyObject
* _argo0
= 0;
7195 char *_kwnames
[] = { "self", NULL
};
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7208 wxPy_BEGIN_ALLOW_THREADS
;
7209 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7211 wxPy_END_ALLOW_THREADS
;
7212 if (PyErr_Occurred()) return NULL
;
7213 } _resultobj
= Py_BuildValue("i",_result
);
7217 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7218 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
* _resultobj
;
7221 PyObject
* _argo0
= 0;
7222 char *_kwnames
[] = { "self", NULL
};
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7235 wxPy_BEGIN_ALLOW_THREADS
;
7236 wxTextCtrl_Undo(_arg0
);
7238 wxPy_END_ALLOW_THREADS
;
7239 if (PyErr_Occurred()) return NULL
;
7240 } Py_INCREF(Py_None
);
7241 _resultobj
= Py_None
;
7245 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7246 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
* _resultobj
;
7249 PyObject
* _argo0
= 0;
7250 char *_kwnames
[] = { "self", NULL
};
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7263 wxPy_BEGIN_ALLOW_THREADS
;
7264 wxTextCtrl_Redo(_arg0
);
7266 wxPy_END_ALLOW_THREADS
;
7267 if (PyErr_Occurred()) return NULL
;
7268 } Py_INCREF(Py_None
);
7269 _resultobj
= Py_None
;
7273 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7274 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
* _resultobj
;
7278 PyObject
* _argo0
= 0;
7279 char *_kwnames
[] = { "self", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7292 wxPy_BEGIN_ALLOW_THREADS
;
7293 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7295 wxPy_END_ALLOW_THREADS
;
7296 if (PyErr_Occurred()) return NULL
;
7297 } _resultobj
= Py_BuildValue("i",_result
);
7301 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7302 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
* _resultobj
;
7306 PyObject
* _argo0
= 0;
7307 char *_kwnames
[] = { "self", NULL
};
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7320 wxPy_BEGIN_ALLOW_THREADS
;
7321 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7323 wxPy_END_ALLOW_THREADS
;
7324 if (PyErr_Occurred()) return NULL
;
7325 } _resultobj
= Py_BuildValue("i",_result
);
7329 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7330 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7331 PyObject
* _resultobj
;
7334 PyObject
* _argo0
= 0;
7335 char *_kwnames
[] = { "self","pos", NULL
};
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7348 wxPy_BEGIN_ALLOW_THREADS
;
7349 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7351 wxPy_END_ALLOW_THREADS
;
7352 if (PyErr_Occurred()) return NULL
;
7353 } Py_INCREF(Py_None
);
7354 _resultobj
= Py_None
;
7358 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7359 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
* _resultobj
;
7362 PyObject
* _argo0
= 0;
7363 char *_kwnames
[] = { "self", NULL
};
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7376 wxPy_BEGIN_ALLOW_THREADS
;
7377 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7379 wxPy_END_ALLOW_THREADS
;
7380 if (PyErr_Occurred()) return NULL
;
7381 } Py_INCREF(Py_None
);
7382 _resultobj
= Py_None
;
7386 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7387 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7391 PyObject
* _argo0
= 0;
7392 char *_kwnames
[] = { "self", NULL
};
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7405 wxPy_BEGIN_ALLOW_THREADS
;
7406 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7408 wxPy_END_ALLOW_THREADS
;
7409 if (PyErr_Occurred()) return NULL
;
7410 } _resultobj
= Py_BuildValue("l",_result
);
7414 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7415 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7416 PyObject
* _resultobj
;
7419 PyObject
* _argo0
= 0;
7420 char *_kwnames
[] = { "self", NULL
};
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7433 wxPy_BEGIN_ALLOW_THREADS
;
7434 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7436 wxPy_END_ALLOW_THREADS
;
7437 if (PyErr_Occurred()) return NULL
;
7438 } _resultobj
= Py_BuildValue("l",_result
);
7442 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7443 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7448 PyObject
* _argo0
= 0;
7449 char *_kwnames
[] = { "self","from","to", NULL
};
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7462 wxPy_BEGIN_ALLOW_THREADS
;
7463 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7465 wxPy_END_ALLOW_THREADS
;
7466 if (PyErr_Occurred()) return NULL
;
7467 } Py_INCREF(Py_None
);
7468 _resultobj
= Py_None
;
7472 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7473 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
* _resultobj
;
7476 PyObject
* _argo0
= 0;
7477 char *_kwnames
[] = { "self", NULL
};
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7490 wxPy_BEGIN_ALLOW_THREADS
;
7491 wxTextCtrl_SelectAll(_arg0
);
7493 wxPy_END_ALLOW_THREADS
;
7494 if (PyErr_Occurred()) return NULL
;
7495 } Py_INCREF(Py_None
);
7496 _resultobj
= Py_None
;
7500 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7501 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
* _resultobj
;
7505 PyObject
* _argo0
= 0;
7507 char *_kwnames
[] = { "self","editable", NULL
};
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7519 _arg1
= (bool ) tempbool1
;
7521 wxPy_BEGIN_ALLOW_THREADS
;
7522 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7524 wxPy_END_ALLOW_THREADS
;
7525 if (PyErr_Occurred()) return NULL
;
7526 } Py_INCREF(Py_None
);
7527 _resultobj
= Py_None
;
7531 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7532 self
->AppendText(text
);
7534 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7535 PyObject
* _resultobj
;
7538 PyObject
* _argo0
= 0;
7539 PyObject
* _obj1
= 0;
7540 char *_kwnames
[] = { "self","text", NULL
};
7543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7553 #if PYTHON_API_VERSION >= 1009
7554 char* tmpPtr
; int tmpSize
;
7555 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7556 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7559 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7561 _arg1
= new wxString(tmpPtr
, tmpSize
);
7563 if (!PyString_Check(_obj1
)) {
7564 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7567 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7571 wxPy_BEGIN_ALLOW_THREADS
;
7572 wxTextCtrl_write(_arg0
,*_arg1
);
7574 wxPy_END_ALLOW_THREADS
;
7575 if (PyErr_Occurred()) return NULL
;
7576 } Py_INCREF(Py_None
);
7577 _resultobj
= Py_None
;
7585 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7586 return self
->GetValue().Mid(from
, to
-from
);
7588 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
* _resultobj
;
7594 PyObject
* _argo0
= 0;
7595 char *_kwnames
[] = { "self","from","to", NULL
};
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7608 wxPy_BEGIN_ALLOW_THREADS
;
7609 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7611 wxPy_END_ALLOW_THREADS
;
7612 if (PyErr_Occurred()) return NULL
;
7614 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7622 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7625 src
= (wxScrollBar
*) ptr
;
7626 dest
= (wxControl
*) src
;
7627 return (void *) dest
;
7630 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7633 src
= (wxScrollBar
*) ptr
;
7634 dest
= (wxWindow
*) src
;
7635 return (void *) dest
;
7638 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7641 src
= (wxScrollBar
*) ptr
;
7642 dest
= (wxEvtHandler
*) src
;
7643 return (void *) dest
;
7646 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7649 src
= (wxScrollBar
*) ptr
;
7650 dest
= (wxObject
*) src
;
7651 return (void *) dest
;
7654 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7655 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
* _resultobj
;
7657 wxScrollBar
* _result
;
7659 wxWindowID _arg1
= (wxWindowID
) -1;
7660 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7661 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7662 long _arg4
= (long ) wxSB_HORIZONTAL
;
7663 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7664 char * _arg6
= (char *) "scrollBar";
7665 PyObject
* _argo0
= 0;
7667 PyObject
* _obj2
= 0;
7669 PyObject
* _obj3
= 0;
7670 PyObject
* _argo5
= 0;
7671 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7687 if (! wxPoint_helper(_obj2
, &_arg2
))
7693 if (! wxSize_helper(_obj3
, &_arg3
))
7697 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7698 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7704 wxPy_BEGIN_ALLOW_THREADS
;
7705 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7707 wxPy_END_ALLOW_THREADS
;
7708 if (PyErr_Occurred()) return NULL
;
7710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7711 _resultobj
= Py_BuildValue("s",_ptemp
);
7714 _resultobj
= Py_None
;
7719 #define new_wxPreScrollBar() (new wxScrollBar())
7720 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
* _resultobj
;
7722 wxScrollBar
* _result
;
7723 char *_kwnames
[] = { NULL
};
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7730 wxPy_BEGIN_ALLOW_THREADS
;
7731 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7733 wxPy_END_ALLOW_THREADS
;
7734 if (PyErr_Occurred()) return NULL
;
7736 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7737 _resultobj
= Py_BuildValue("s",_ptemp
);
7740 _resultobj
= Py_None
;
7745 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7746 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
* _resultobj
;
7749 wxScrollBar
* _arg0
;
7751 wxWindowID _arg2
= (wxWindowID
) -1;
7752 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7753 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7754 long _arg5
= (long ) wxSB_HORIZONTAL
;
7755 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7756 char * _arg7
= (char *) "scrollBar";
7757 PyObject
* _argo0
= 0;
7758 PyObject
* _argo1
= 0;
7760 PyObject
* _obj3
= 0;
7762 PyObject
* _obj4
= 0;
7763 PyObject
* _argo6
= 0;
7764 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7786 if (! wxPoint_helper(_obj3
, &_arg3
))
7792 if (! wxSize_helper(_obj4
, &_arg4
))
7796 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7797 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7803 wxPy_BEGIN_ALLOW_THREADS
;
7804 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7806 wxPy_END_ALLOW_THREADS
;
7807 if (PyErr_Occurred()) return NULL
;
7808 } _resultobj
= Py_BuildValue("i",_result
);
7812 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7813 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
* _resultobj
;
7816 wxScrollBar
* _arg0
;
7817 PyObject
* _argo0
= 0;
7818 char *_kwnames
[] = { "self", NULL
};
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7831 wxPy_BEGIN_ALLOW_THREADS
;
7832 _result
= (int )wxScrollBar_GetRange(_arg0
);
7834 wxPy_END_ALLOW_THREADS
;
7835 if (PyErr_Occurred()) return NULL
;
7836 } _resultobj
= Py_BuildValue("i",_result
);
7840 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7841 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
* _resultobj
;
7844 wxScrollBar
* _arg0
;
7845 PyObject
* _argo0
= 0;
7846 char *_kwnames
[] = { "self", NULL
};
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7859 wxPy_BEGIN_ALLOW_THREADS
;
7860 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7862 wxPy_END_ALLOW_THREADS
;
7863 if (PyErr_Occurred()) return NULL
;
7864 } _resultobj
= Py_BuildValue("i",_result
);
7868 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7869 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
* _resultobj
;
7872 wxScrollBar
* _arg0
;
7873 PyObject
* _argo0
= 0;
7874 char *_kwnames
[] = { "self", NULL
};
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7887 wxPy_BEGIN_ALLOW_THREADS
;
7888 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7890 wxPy_END_ALLOW_THREADS
;
7891 if (PyErr_Occurred()) return NULL
;
7892 } _resultobj
= Py_BuildValue("i",_result
);
7896 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
7897 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
* _resultobj
;
7900 wxScrollBar
* _arg0
;
7901 PyObject
* _argo0
= 0;
7902 char *_kwnames
[] = { "self", NULL
};
7905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
7908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
7915 wxPy_BEGIN_ALLOW_THREADS
;
7916 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
7918 wxPy_END_ALLOW_THREADS
;
7919 if (PyErr_Occurred()) return NULL
;
7920 } _resultobj
= Py_BuildValue("i",_result
);
7924 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
7925 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
* _resultobj
;
7928 wxScrollBar
* _arg0
;
7929 PyObject
* _argo0
= 0;
7930 char *_kwnames
[] = { "self", NULL
};
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
7936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
7943 wxPy_BEGIN_ALLOW_THREADS
;
7944 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
7946 wxPy_END_ALLOW_THREADS
;
7947 if (PyErr_Occurred()) return NULL
;
7948 } _resultobj
= Py_BuildValue("i",_result
);
7952 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
7953 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
* _resultobj
;
7955 wxScrollBar
* _arg0
;
7957 PyObject
* _argo0
= 0;
7958 char *_kwnames
[] = { "self","viewStart", NULL
};
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
7964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
7971 wxPy_BEGIN_ALLOW_THREADS
;
7972 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
7974 wxPy_END_ALLOW_THREADS
;
7975 if (PyErr_Occurred()) return NULL
;
7976 } Py_INCREF(Py_None
);
7977 _resultobj
= Py_None
;
7981 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7982 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
* _resultobj
;
7984 wxScrollBar
* _arg0
;
7989 bool _arg5
= (bool ) TRUE
;
7990 PyObject
* _argo0
= 0;
7991 int tempbool5
= (int) TRUE
;
7992 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
7998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8004 _arg5
= (bool ) tempbool5
;
8006 wxPy_BEGIN_ALLOW_THREADS
;
8007 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8009 wxPy_END_ALLOW_THREADS
;
8010 if (PyErr_Occurred()) return NULL
;
8011 } Py_INCREF(Py_None
);
8012 _resultobj
= Py_None
;
8016 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8019 src
= (wxSpinButton
*) ptr
;
8020 dest
= (wxControl
*) src
;
8021 return (void *) dest
;
8024 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8027 src
= (wxSpinButton
*) ptr
;
8028 dest
= (wxWindow
*) src
;
8029 return (void *) dest
;
8032 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8035 src
= (wxSpinButton
*) ptr
;
8036 dest
= (wxEvtHandler
*) src
;
8037 return (void *) dest
;
8040 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8043 src
= (wxSpinButton
*) ptr
;
8044 dest
= (wxObject
*) src
;
8045 return (void *) dest
;
8048 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8049 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
* _resultobj
;
8051 wxSpinButton
* _result
;
8053 wxWindowID _arg1
= (wxWindowID
) -1;
8054 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8055 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8056 long _arg4
= (long ) wxSP_HORIZONTAL
;
8057 char * _arg5
= (char *) "spinButton";
8058 PyObject
* _argo0
= 0;
8060 PyObject
* _obj2
= 0;
8062 PyObject
* _obj3
= 0;
8063 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8079 if (! wxPoint_helper(_obj2
, &_arg2
))
8085 if (! wxSize_helper(_obj3
, &_arg3
))
8089 wxPy_BEGIN_ALLOW_THREADS
;
8090 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8092 wxPy_END_ALLOW_THREADS
;
8093 if (PyErr_Occurred()) return NULL
;
8095 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8096 _resultobj
= Py_BuildValue("s",_ptemp
);
8099 _resultobj
= Py_None
;
8104 #define new_wxPreSpinButton() (new wxSpinButton())
8105 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
* _resultobj
;
8107 wxSpinButton
* _result
;
8108 char *_kwnames
[] = { NULL
};
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8115 wxPy_BEGIN_ALLOW_THREADS
;
8116 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8118 wxPy_END_ALLOW_THREADS
;
8119 if (PyErr_Occurred()) return NULL
;
8121 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8122 _resultobj
= Py_BuildValue("s",_ptemp
);
8125 _resultobj
= Py_None
;
8130 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8131 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
* _resultobj
;
8134 wxSpinButton
* _arg0
;
8136 wxWindowID _arg2
= (wxWindowID
) -1;
8137 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8138 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8139 long _arg5
= (long ) wxSP_HORIZONTAL
;
8140 char * _arg6
= (char *) "spinButton";
8141 PyObject
* _argo0
= 0;
8142 PyObject
* _argo1
= 0;
8144 PyObject
* _obj3
= 0;
8146 PyObject
* _obj4
= 0;
8147 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8160 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8161 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8169 if (! wxPoint_helper(_obj3
, &_arg3
))
8175 if (! wxSize_helper(_obj4
, &_arg4
))
8179 wxPy_BEGIN_ALLOW_THREADS
;
8180 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8182 wxPy_END_ALLOW_THREADS
;
8183 if (PyErr_Occurred()) return NULL
;
8184 } _resultobj
= Py_BuildValue("i",_result
);
8188 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8189 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
* _resultobj
;
8192 wxSpinButton
* _arg0
;
8193 PyObject
* _argo0
= 0;
8194 char *_kwnames
[] = { "self", NULL
};
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8207 wxPy_BEGIN_ALLOW_THREADS
;
8208 _result
= (int )wxSpinButton_GetMax(_arg0
);
8210 wxPy_END_ALLOW_THREADS
;
8211 if (PyErr_Occurred()) return NULL
;
8212 } _resultobj
= Py_BuildValue("i",_result
);
8216 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8217 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
* _resultobj
;
8220 wxSpinButton
* _arg0
;
8221 PyObject
* _argo0
= 0;
8222 char *_kwnames
[] = { "self", NULL
};
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8228 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8229 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8230 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8235 wxPy_BEGIN_ALLOW_THREADS
;
8236 _result
= (int )wxSpinButton_GetMin(_arg0
);
8238 wxPy_END_ALLOW_THREADS
;
8239 if (PyErr_Occurred()) return NULL
;
8240 } _resultobj
= Py_BuildValue("i",_result
);
8244 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8245 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
* _resultobj
;
8248 wxSpinButton
* _arg0
;
8249 PyObject
* _argo0
= 0;
8250 char *_kwnames
[] = { "self", NULL
};
8253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8263 wxPy_BEGIN_ALLOW_THREADS
;
8264 _result
= (int )wxSpinButton_GetValue(_arg0
);
8266 wxPy_END_ALLOW_THREADS
;
8267 if (PyErr_Occurred()) return NULL
;
8268 } _resultobj
= Py_BuildValue("i",_result
);
8272 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8273 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
* _resultobj
;
8275 wxSpinButton
* _arg0
;
8278 PyObject
* _argo0
= 0;
8279 char *_kwnames
[] = { "self","min","max", NULL
};
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8292 wxPy_BEGIN_ALLOW_THREADS
;
8293 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8295 wxPy_END_ALLOW_THREADS
;
8296 if (PyErr_Occurred()) return NULL
;
8297 } Py_INCREF(Py_None
);
8298 _resultobj
= Py_None
;
8302 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8303 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
* _resultobj
;
8305 wxSpinButton
* _arg0
;
8307 PyObject
* _argo0
= 0;
8308 char *_kwnames
[] = { "self","value", NULL
};
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8321 wxPy_BEGIN_ALLOW_THREADS
;
8322 wxSpinButton_SetValue(_arg0
,_arg1
);
8324 wxPy_END_ALLOW_THREADS
;
8325 if (PyErr_Occurred()) return NULL
;
8326 } Py_INCREF(Py_None
);
8327 _resultobj
= Py_None
;
8331 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8332 wxStaticBitmap
*src
;
8334 src
= (wxStaticBitmap
*) ptr
;
8335 dest
= (wxControl
*) src
;
8336 return (void *) dest
;
8339 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8340 wxStaticBitmap
*src
;
8342 src
= (wxStaticBitmap
*) ptr
;
8343 dest
= (wxWindow
*) src
;
8344 return (void *) dest
;
8347 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8348 wxStaticBitmap
*src
;
8350 src
= (wxStaticBitmap
*) ptr
;
8351 dest
= (wxEvtHandler
*) src
;
8352 return (void *) dest
;
8355 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8356 wxStaticBitmap
*src
;
8358 src
= (wxStaticBitmap
*) ptr
;
8359 dest
= (wxObject
*) src
;
8360 return (void *) dest
;
8363 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8364 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8365 PyObject
* _resultobj
;
8366 wxStaticBitmap
* _result
;
8370 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8371 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8372 long _arg5
= (long ) 0;
8373 char * _arg6
= (char *) "staticBitmap";
8374 PyObject
* _argo0
= 0;
8375 PyObject
* _argo2
= 0;
8377 PyObject
* _obj3
= 0;
8379 PyObject
* _obj4
= 0;
8380 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8394 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8395 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8403 if (! wxPoint_helper(_obj3
, &_arg3
))
8409 if (! wxSize_helper(_obj4
, &_arg4
))
8413 wxPy_BEGIN_ALLOW_THREADS
;
8414 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8416 wxPy_END_ALLOW_THREADS
;
8417 if (PyErr_Occurred()) return NULL
;
8419 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8420 _resultobj
= Py_BuildValue("s",_ptemp
);
8423 _resultobj
= Py_None
;
8428 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8429 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
* _resultobj
;
8431 wxStaticBitmap
* _result
;
8432 char *_kwnames
[] = { NULL
};
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8439 wxPy_BEGIN_ALLOW_THREADS
;
8440 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8442 wxPy_END_ALLOW_THREADS
;
8443 if (PyErr_Occurred()) return NULL
;
8445 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8446 _resultobj
= Py_BuildValue("s",_ptemp
);
8449 _resultobj
= Py_None
;
8454 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8455 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
* _resultobj
;
8458 wxStaticBitmap
* _arg0
;
8462 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8463 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8464 long _arg6
= (long ) 0;
8465 char * _arg7
= (char *) "staticBitmap";
8466 PyObject
* _argo0
= 0;
8467 PyObject
* _argo1
= 0;
8468 PyObject
* _argo3
= 0;
8470 PyObject
* _obj4
= 0;
8472 PyObject
* _obj5
= 0;
8473 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8486 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8487 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8493 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8494 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8502 if (! wxPoint_helper(_obj4
, &_arg4
))
8508 if (! wxSize_helper(_obj5
, &_arg5
))
8512 wxPy_BEGIN_ALLOW_THREADS
;
8513 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8515 wxPy_END_ALLOW_THREADS
;
8516 if (PyErr_Occurred()) return NULL
;
8517 } _resultobj
= Py_BuildValue("i",_result
);
8521 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8522 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8523 PyObject
* _resultobj
;
8525 wxStaticBitmap
* _arg0
;
8526 PyObject
* _argo0
= 0;
8527 char *_kwnames
[] = { "self", NULL
};
8531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8541 wxPy_BEGIN_ALLOW_THREADS
;
8542 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
8543 _result
= (wxBitmap
*) &_result_ref
;
8545 wxPy_END_ALLOW_THREADS
;
8546 if (PyErr_Occurred()) return NULL
;
8548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
8549 _resultobj
= Py_BuildValue("s",_ptemp
);
8552 _resultobj
= Py_None
;
8557 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8558 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
* _resultobj
;
8560 wxStaticBitmap
* _arg0
;
8562 PyObject
* _argo0
= 0;
8563 PyObject
* _argo1
= 0;
8564 char *_kwnames
[] = { "self","bitmap", NULL
};
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8577 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8578 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8584 wxPy_BEGIN_ALLOW_THREADS
;
8585 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8587 wxPy_END_ALLOW_THREADS
;
8588 if (PyErr_Occurred()) return NULL
;
8589 } Py_INCREF(Py_None
);
8590 _resultobj
= Py_None
;
8594 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8595 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
* _resultobj
;
8597 wxStaticBitmap
* _arg0
;
8599 PyObject
* _argo0
= 0;
8600 PyObject
* _argo1
= 0;
8601 char *_kwnames
[] = { "self","icon", NULL
};
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8614 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8615 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8621 wxPy_BEGIN_ALLOW_THREADS
;
8622 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8624 wxPy_END_ALLOW_THREADS
;
8625 if (PyErr_Occurred()) return NULL
;
8626 } Py_INCREF(Py_None
);
8627 _resultobj
= Py_None
;
8631 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8634 src
= (wxRadioBox
*) ptr
;
8635 dest
= (wxControl
*) src
;
8636 return (void *) dest
;
8639 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8642 src
= (wxRadioBox
*) ptr
;
8643 dest
= (wxWindow
*) src
;
8644 return (void *) dest
;
8647 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8650 src
= (wxRadioBox
*) ptr
;
8651 dest
= (wxEvtHandler
*) src
;
8652 return (void *) dest
;
8655 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8658 src
= (wxRadioBox
*) ptr
;
8659 dest
= (wxObject
*) src
;
8660 return (void *) dest
;
8663 #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))
8664 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
* _resultobj
;
8666 wxRadioBox
* _result
;
8670 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8671 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8672 int _arg5
= (int ) 0;
8673 wxString
* _arg6
= (wxString
*) NULL
;
8674 int _arg7
= (int ) 0;
8675 long _arg8
= (long ) wxRA_HORIZONTAL
;
8676 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8677 char * _arg10
= (char *) "radioBox";
8678 PyObject
* _argo0
= 0;
8679 PyObject
* _obj2
= 0;
8681 PyObject
* _obj3
= 0;
8683 PyObject
* _obj4
= 0;
8684 PyObject
* _obj6
= 0;
8685 PyObject
* _argo9
= 0;
8686 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8700 #if PYTHON_API_VERSION >= 1009
8701 char* tmpPtr
; int tmpSize
;
8702 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8706 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8708 _arg2
= new wxString(tmpPtr
, tmpSize
);
8710 if (!PyString_Check(_obj2
)) {
8711 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8714 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8720 if (! wxPoint_helper(_obj3
, &_arg3
))
8726 if (! wxSize_helper(_obj4
, &_arg4
))
8731 _arg6
= wxString_LIST_helper(_obj6
);
8732 if (_arg6
== NULL
) {
8737 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8738 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8745 _arg5
= PyList_Size(_obj6
);
8752 wxPy_BEGIN_ALLOW_THREADS
;
8753 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8755 wxPy_END_ALLOW_THREADS
;
8756 if (PyErr_Occurred()) return NULL
;
8758 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8759 _resultobj
= Py_BuildValue("s",_ptemp
);
8762 _resultobj
= Py_None
;
8774 #define new_wxPreRadioBox() (new wxRadioBox())
8775 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
* _resultobj
;
8777 wxRadioBox
* _result
;
8778 char *_kwnames
[] = { NULL
};
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8785 wxPy_BEGIN_ALLOW_THREADS
;
8786 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8788 wxPy_END_ALLOW_THREADS
;
8789 if (PyErr_Occurred()) return NULL
;
8791 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8792 _resultobj
= Py_BuildValue("s",_ptemp
);
8795 _resultobj
= Py_None
;
8800 #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))
8801 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
* _resultobj
;
8808 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8809 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8810 int _arg6
= (int ) 0;
8811 wxString
* _arg7
= (wxString
*) NULL
;
8812 int _arg8
= (int ) 0;
8813 long _arg9
= (long ) wxRA_HORIZONTAL
;
8814 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8815 char * _arg11
= (char *) "radioBox";
8816 PyObject
* _argo0
= 0;
8817 PyObject
* _argo1
= 0;
8818 PyObject
* _obj3
= 0;
8820 PyObject
* _obj4
= 0;
8822 PyObject
* _obj5
= 0;
8823 PyObject
* _obj7
= 0;
8824 PyObject
* _argo10
= 0;
8825 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8845 #if PYTHON_API_VERSION >= 1009
8846 char* tmpPtr
; int tmpSize
;
8847 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8848 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8851 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8853 _arg3
= new wxString(tmpPtr
, tmpSize
);
8855 if (!PyString_Check(_obj3
)) {
8856 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8859 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8865 if (! wxPoint_helper(_obj4
, &_arg4
))
8871 if (! wxSize_helper(_obj5
, &_arg5
))
8876 _arg7
= wxString_LIST_helper(_obj7
);
8877 if (_arg7
== NULL
) {
8882 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8883 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8890 _arg6
= PyList_Size(_obj7
);
8897 wxPy_BEGIN_ALLOW_THREADS
;
8898 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
8900 wxPy_END_ALLOW_THREADS
;
8901 if (PyErr_Occurred()) return NULL
;
8902 } _resultobj
= Py_BuildValue("i",_result
);
8913 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8914 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
* _resultobj
;
8918 PyObject
* _argo0
= 0;
8920 char *_kwnames
[] = { "self","enable", NULL
};
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
8926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8932 _arg1
= (bool ) tempbool1
;
8934 wxPy_BEGIN_ALLOW_THREADS
;
8935 wxRadioBox_Enable(_arg0
,_arg1
);
8937 wxPy_END_ALLOW_THREADS
;
8938 if (PyErr_Occurred()) return NULL
;
8939 } Py_INCREF(Py_None
);
8940 _resultobj
= Py_None
;
8944 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8945 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
* _resultobj
;
8950 PyObject
* _argo0
= 0;
8952 char *_kwnames
[] = { "self","n","enable", NULL
};
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
8964 _arg2
= (bool ) tempbool2
;
8966 wxPy_BEGIN_ALLOW_THREADS
;
8967 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
8969 wxPy_END_ALLOW_THREADS
;
8970 if (PyErr_Occurred()) return NULL
;
8971 } Py_INCREF(Py_None
);
8972 _resultobj
= Py_None
;
8976 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
8977 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
* _resultobj
;
8982 PyObject
* _argo0
= 0;
8983 PyObject
* _obj1
= 0;
8984 char *_kwnames
[] = { "self","string", NULL
};
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
8990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
8997 #if PYTHON_API_VERSION >= 1009
8998 char* tmpPtr
; int tmpSize
;
8999 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9000 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9003 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9005 _arg1
= new wxString(tmpPtr
, tmpSize
);
9007 if (!PyString_Check(_obj1
)) {
9008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9011 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9015 wxPy_BEGIN_ALLOW_THREADS
;
9016 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9018 wxPy_END_ALLOW_THREADS
;
9019 if (PyErr_Occurred()) return NULL
;
9020 } _resultobj
= Py_BuildValue("i",_result
);
9028 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9029 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
* _resultobj
;
9034 PyObject
* _argo0
= 0;
9035 char *_kwnames
[] = { "self","n", NULL
};
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9048 wxPy_BEGIN_ALLOW_THREADS
;
9049 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9051 wxPy_END_ALLOW_THREADS
;
9052 if (PyErr_Occurred()) return NULL
;
9054 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9062 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9063 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
* _resultobj
;
9068 PyObject
* _argo0
= 0;
9069 PyObject
* _obj2
= 0;
9070 char *_kwnames
[] = { "self","n","label", NULL
};
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9083 #if PYTHON_API_VERSION >= 1009
9084 char* tmpPtr
; int tmpSize
;
9085 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9089 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9091 _arg2
= new wxString(tmpPtr
, tmpSize
);
9093 if (!PyString_Check(_obj2
)) {
9094 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9097 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9101 wxPy_BEGIN_ALLOW_THREADS
;
9102 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9104 wxPy_END_ALLOW_THREADS
;
9105 if (PyErr_Occurred()) return NULL
;
9106 } Py_INCREF(Py_None
);
9107 _resultobj
= Py_None
;
9115 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9116 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
* _resultobj
;
9120 PyObject
* _argo0
= 0;
9121 char *_kwnames
[] = { "self", NULL
};
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9134 wxPy_BEGIN_ALLOW_THREADS
;
9135 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9137 wxPy_END_ALLOW_THREADS
;
9138 if (PyErr_Occurred()) return NULL
;
9139 } _resultobj
= Py_BuildValue("i",_result
);
9143 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9144 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
* _resultobj
;
9148 PyObject
* _argo0
= 0;
9149 char *_kwnames
[] = { "self", NULL
};
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9162 wxPy_BEGIN_ALLOW_THREADS
;
9163 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9165 wxPy_END_ALLOW_THREADS
;
9166 if (PyErr_Occurred()) return NULL
;
9167 } _resultobj
= Py_BuildValue("i",_result
);
9171 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9172 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
* _resultobj
;
9176 PyObject
* _argo0
= 0;
9177 char *_kwnames
[] = { "self", NULL
};
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9190 wxPy_BEGIN_ALLOW_THREADS
;
9191 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9193 wxPy_END_ALLOW_THREADS
;
9194 if (PyErr_Occurred()) return NULL
;
9195 } _resultobj
= Py_BuildValue("i",_result
);
9199 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9200 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
* _resultobj
;
9204 PyObject
* _argo0
= 0;
9205 char *_kwnames
[] = { "self", NULL
};
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9218 wxPy_BEGIN_ALLOW_THREADS
;
9219 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9221 wxPy_END_ALLOW_THREADS
;
9222 if (PyErr_Occurred()) return NULL
;
9224 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9232 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9233 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
* _resultobj
;
9237 PyObject
* _argo0
= 0;
9238 char *_kwnames
[] = { "self", NULL
};
9241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9251 wxPy_BEGIN_ALLOW_THREADS
;
9252 _result
= (int )wxRadioBox_GetCount(_arg0
);
9254 wxPy_END_ALLOW_THREADS
;
9255 if (PyErr_Occurred()) return NULL
;
9256 } _resultobj
= Py_BuildValue("i",_result
);
9260 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9261 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
* _resultobj
;
9265 PyObject
* _argo0
= 0;
9266 char *_kwnames
[] = { "self","n", NULL
};
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9279 wxPy_BEGIN_ALLOW_THREADS
;
9280 wxRadioBox_SetSelection(_arg0
,_arg1
);
9282 wxPy_END_ALLOW_THREADS
;
9283 if (PyErr_Occurred()) return NULL
;
9284 } Py_INCREF(Py_None
);
9285 _resultobj
= Py_None
;
9289 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9290 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9291 PyObject
* _resultobj
;
9294 PyObject
* _argo0
= 0;
9295 PyObject
* _obj1
= 0;
9296 char *_kwnames
[] = { "self","string", NULL
};
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9309 #if PYTHON_API_VERSION >= 1009
9310 char* tmpPtr
; int tmpSize
;
9311 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9312 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9315 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9317 _arg1
= new wxString(tmpPtr
, tmpSize
);
9319 if (!PyString_Check(_obj1
)) {
9320 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9323 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9327 wxPy_BEGIN_ALLOW_THREADS
;
9328 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9330 wxPy_END_ALLOW_THREADS
;
9331 if (PyErr_Occurred()) return NULL
;
9332 } Py_INCREF(Py_None
);
9333 _resultobj
= Py_None
;
9341 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9342 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
* _resultobj
;
9346 PyObject
* _argo0
= 0;
9348 char *_kwnames
[] = { "self","show", NULL
};
9351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9360 _arg1
= (bool ) tempbool1
;
9362 wxPy_BEGIN_ALLOW_THREADS
;
9363 wxRadioBox_Show(_arg0
,_arg1
);
9365 wxPy_END_ALLOW_THREADS
;
9366 if (PyErr_Occurred()) return NULL
;
9367 } Py_INCREF(Py_None
);
9368 _resultobj
= Py_None
;
9372 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9373 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
* _resultobj
;
9378 PyObject
* _argo0
= 0;
9380 char *_kwnames
[] = { "self","item","show", NULL
};
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9392 _arg2
= (bool ) tempbool2
;
9394 wxPy_BEGIN_ALLOW_THREADS
;
9395 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9397 wxPy_END_ALLOW_THREADS
;
9398 if (PyErr_Occurred()) return NULL
;
9399 } Py_INCREF(Py_None
);
9400 _resultobj
= Py_None
;
9404 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9407 src
= (wxRadioButton
*) ptr
;
9408 dest
= (wxControl
*) src
;
9409 return (void *) dest
;
9412 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9415 src
= (wxRadioButton
*) ptr
;
9416 dest
= (wxWindow
*) src
;
9417 return (void *) dest
;
9420 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9423 src
= (wxRadioButton
*) ptr
;
9424 dest
= (wxEvtHandler
*) src
;
9425 return (void *) dest
;
9428 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9431 src
= (wxRadioButton
*) ptr
;
9432 dest
= (wxObject
*) src
;
9433 return (void *) dest
;
9436 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9437 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
* _resultobj
;
9439 wxRadioButton
* _result
;
9443 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9444 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9445 long _arg5
= (long ) 0;
9446 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9447 char * _arg7
= (char *) "radioButton";
9448 PyObject
* _argo0
= 0;
9449 PyObject
* _obj2
= 0;
9451 PyObject
* _obj3
= 0;
9453 PyObject
* _obj4
= 0;
9454 PyObject
* _argo6
= 0;
9455 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9469 #if PYTHON_API_VERSION >= 1009
9470 char* tmpPtr
; int tmpSize
;
9471 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9475 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9477 _arg2
= new wxString(tmpPtr
, tmpSize
);
9479 if (!PyString_Check(_obj2
)) {
9480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9483 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9489 if (! wxPoint_helper(_obj3
, &_arg3
))
9495 if (! wxSize_helper(_obj4
, &_arg4
))
9499 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9500 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9506 wxPy_BEGIN_ALLOW_THREADS
;
9507 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9509 wxPy_END_ALLOW_THREADS
;
9510 if (PyErr_Occurred()) return NULL
;
9512 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9513 _resultobj
= Py_BuildValue("s",_ptemp
);
9516 _resultobj
= Py_None
;
9525 #define new_wxPreRadioButton() (new wxRadioButton())
9526 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
* _resultobj
;
9528 wxRadioButton
* _result
;
9529 char *_kwnames
[] = { NULL
};
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9536 wxPy_BEGIN_ALLOW_THREADS
;
9537 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9539 wxPy_END_ALLOW_THREADS
;
9540 if (PyErr_Occurred()) return NULL
;
9542 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9543 _resultobj
= Py_BuildValue("s",_ptemp
);
9546 _resultobj
= Py_None
;
9551 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9552 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9553 PyObject
* _resultobj
;
9555 wxRadioButton
* _arg0
;
9559 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9560 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9561 long _arg6
= (long ) 0;
9562 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9563 char * _arg8
= (char *) "radioButton";
9564 PyObject
* _argo0
= 0;
9565 PyObject
* _argo1
= 0;
9566 PyObject
* _obj3
= 0;
9568 PyObject
* _obj4
= 0;
9570 PyObject
* _obj5
= 0;
9571 PyObject
* _argo7
= 0;
9572 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9585 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9586 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9592 #if PYTHON_API_VERSION >= 1009
9593 char* tmpPtr
; int tmpSize
;
9594 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9595 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9598 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9600 _arg3
= new wxString(tmpPtr
, tmpSize
);
9602 if (!PyString_Check(_obj3
)) {
9603 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9606 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9612 if (! wxPoint_helper(_obj4
, &_arg4
))
9618 if (! wxSize_helper(_obj5
, &_arg5
))
9622 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9623 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9629 wxPy_BEGIN_ALLOW_THREADS
;
9630 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9632 wxPy_END_ALLOW_THREADS
;
9633 if (PyErr_Occurred()) return NULL
;
9634 } _resultobj
= Py_BuildValue("i",_result
);
9642 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9643 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
* _resultobj
;
9646 wxRadioButton
* _arg0
;
9647 PyObject
* _argo0
= 0;
9648 char *_kwnames
[] = { "self", NULL
};
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9661 wxPy_BEGIN_ALLOW_THREADS
;
9662 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9664 wxPy_END_ALLOW_THREADS
;
9665 if (PyErr_Occurred()) return NULL
;
9666 } _resultobj
= Py_BuildValue("i",_result
);
9670 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9671 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
* _resultobj
;
9673 wxRadioButton
* _arg0
;
9675 PyObject
* _argo0
= 0;
9677 char *_kwnames
[] = { "self","value", NULL
};
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9689 _arg1
= (bool ) tempbool1
;
9691 wxPy_BEGIN_ALLOW_THREADS
;
9692 wxRadioButton_SetValue(_arg0
,_arg1
);
9694 wxPy_END_ALLOW_THREADS
;
9695 if (PyErr_Occurred()) return NULL
;
9696 } Py_INCREF(Py_None
);
9697 _resultobj
= Py_None
;
9701 static void *SwigwxSliderTowxControl(void *ptr
) {
9704 src
= (wxSlider
*) ptr
;
9705 dest
= (wxControl
*) src
;
9706 return (void *) dest
;
9709 static void *SwigwxSliderTowxWindow(void *ptr
) {
9712 src
= (wxSlider
*) ptr
;
9713 dest
= (wxWindow
*) src
;
9714 return (void *) dest
;
9717 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9720 src
= (wxSlider
*) ptr
;
9721 dest
= (wxEvtHandler
*) src
;
9722 return (void *) dest
;
9725 static void *SwigwxSliderTowxObject(void *ptr
) {
9728 src
= (wxSlider
*) ptr
;
9729 dest
= (wxObject
*) src
;
9730 return (void *) dest
;
9733 #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))
9734 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
* _resultobj
;
9742 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9743 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9744 long _arg7
= (long ) wxSL_HORIZONTAL
;
9745 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9746 char * _arg9
= (char *) "slider";
9747 PyObject
* _argo0
= 0;
9749 PyObject
* _obj5
= 0;
9751 PyObject
* _obj6
= 0;
9752 PyObject
* _argo8
= 0;
9753 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9769 if (! wxPoint_helper(_obj5
, &_arg5
))
9775 if (! wxSize_helper(_obj6
, &_arg6
))
9779 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9780 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9786 wxPy_BEGIN_ALLOW_THREADS
;
9787 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9789 wxPy_END_ALLOW_THREADS
;
9790 if (PyErr_Occurred()) return NULL
;
9792 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9793 _resultobj
= Py_BuildValue("s",_ptemp
);
9796 _resultobj
= Py_None
;
9801 #define new_wxPreSlider() (new wxSlider())
9802 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
* _resultobj
;
9805 char *_kwnames
[] = { NULL
};
9809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9812 wxPy_BEGIN_ALLOW_THREADS
;
9813 _result
= (wxSlider
*)new_wxPreSlider();
9815 wxPy_END_ALLOW_THREADS
;
9816 if (PyErr_Occurred()) return NULL
;
9818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9819 _resultobj
= Py_BuildValue("s",_ptemp
);
9822 _resultobj
= Py_None
;
9827 #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))
9828 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
* _resultobj
;
9837 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9838 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9839 long _arg8
= (long ) wxSL_HORIZONTAL
;
9840 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9841 char * _arg10
= (char *) "slider";
9842 PyObject
* _argo0
= 0;
9843 PyObject
* _argo1
= 0;
9845 PyObject
* _obj6
= 0;
9847 PyObject
* _obj7
= 0;
9848 PyObject
* _argo9
= 0;
9849 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9871 if (! wxPoint_helper(_obj6
, &_arg6
))
9877 if (! wxSize_helper(_obj7
, &_arg7
))
9881 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9882 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9888 wxPy_BEGIN_ALLOW_THREADS
;
9889 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9891 wxPy_END_ALLOW_THREADS
;
9892 if (PyErr_Occurred()) return NULL
;
9893 } _resultobj
= Py_BuildValue("i",_result
);
9897 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9898 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
* _resultobj
;
9901 PyObject
* _argo0
= 0;
9902 char *_kwnames
[] = { "self", NULL
};
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9915 wxPy_BEGIN_ALLOW_THREADS
;
9916 wxSlider_ClearSel(_arg0
);
9918 wxPy_END_ALLOW_THREADS
;
9919 if (PyErr_Occurred()) return NULL
;
9920 } Py_INCREF(Py_None
);
9921 _resultobj
= Py_None
;
9925 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
9926 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
* _resultobj
;
9929 PyObject
* _argo0
= 0;
9930 char *_kwnames
[] = { "self", NULL
};
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
9936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9943 wxPy_BEGIN_ALLOW_THREADS
;
9944 wxSlider_ClearTicks(_arg0
);
9946 wxPy_END_ALLOW_THREADS
;
9947 if (PyErr_Occurred()) return NULL
;
9948 } Py_INCREF(Py_None
);
9949 _resultobj
= Py_None
;
9953 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
9954 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
* _resultobj
;
9958 PyObject
* _argo0
= 0;
9959 char *_kwnames
[] = { "self", NULL
};
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
9965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
9972 wxPy_BEGIN_ALLOW_THREADS
;
9973 _result
= (int )wxSlider_GetLineSize(_arg0
);
9975 wxPy_END_ALLOW_THREADS
;
9976 if (PyErr_Occurred()) return NULL
;
9977 } _resultobj
= Py_BuildValue("i",_result
);
9981 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
9982 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
* _resultobj
;
9986 PyObject
* _argo0
= 0;
9987 char *_kwnames
[] = { "self", NULL
};
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
9993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10000 wxPy_BEGIN_ALLOW_THREADS
;
10001 _result
= (int )wxSlider_GetMax(_arg0
);
10003 wxPy_END_ALLOW_THREADS
;
10004 if (PyErr_Occurred()) return NULL
;
10005 } _resultobj
= Py_BuildValue("i",_result
);
10009 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10010 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
* _resultobj
;
10014 PyObject
* _argo0
= 0;
10015 char *_kwnames
[] = { "self", NULL
};
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10028 wxPy_BEGIN_ALLOW_THREADS
;
10029 _result
= (int )wxSlider_GetMin(_arg0
);
10031 wxPy_END_ALLOW_THREADS
;
10032 if (PyErr_Occurred()) return NULL
;
10033 } _resultobj
= Py_BuildValue("i",_result
);
10037 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10038 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
* _resultobj
;
10042 PyObject
* _argo0
= 0;
10043 char *_kwnames
[] = { "self", NULL
};
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10056 wxPy_BEGIN_ALLOW_THREADS
;
10057 _result
= (int )wxSlider_GetPageSize(_arg0
);
10059 wxPy_END_ALLOW_THREADS
;
10060 if (PyErr_Occurred()) return NULL
;
10061 } _resultobj
= Py_BuildValue("i",_result
);
10065 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10066 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10067 PyObject
* _resultobj
;
10070 PyObject
* _argo0
= 0;
10071 char *_kwnames
[] = { "self", NULL
};
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10084 wxPy_BEGIN_ALLOW_THREADS
;
10085 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10087 wxPy_END_ALLOW_THREADS
;
10088 if (PyErr_Occurred()) return NULL
;
10089 } _resultobj
= Py_BuildValue("i",_result
);
10093 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10094 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10095 PyObject
* _resultobj
;
10098 PyObject
* _argo0
= 0;
10099 char *_kwnames
[] = { "self", NULL
};
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10112 wxPy_BEGIN_ALLOW_THREADS
;
10113 _result
= (int )wxSlider_GetSelStart(_arg0
);
10115 wxPy_END_ALLOW_THREADS
;
10116 if (PyErr_Occurred()) return NULL
;
10117 } _resultobj
= Py_BuildValue("i",_result
);
10121 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10122 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
* _resultobj
;
10126 PyObject
* _argo0
= 0;
10127 char *_kwnames
[] = { "self", NULL
};
10130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10140 wxPy_BEGIN_ALLOW_THREADS
;
10141 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10143 wxPy_END_ALLOW_THREADS
;
10144 if (PyErr_Occurred()) return NULL
;
10145 } _resultobj
= Py_BuildValue("i",_result
);
10149 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10150 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10151 PyObject
* _resultobj
;
10154 PyObject
* _argo0
= 0;
10155 char *_kwnames
[] = { "self", NULL
};
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10168 wxPy_BEGIN_ALLOW_THREADS
;
10169 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10171 wxPy_END_ALLOW_THREADS
;
10172 if (PyErr_Occurred()) return NULL
;
10173 } _resultobj
= Py_BuildValue("i",_result
);
10177 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10178 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
* _resultobj
;
10182 PyObject
* _argo0
= 0;
10183 char *_kwnames
[] = { "self", NULL
};
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10196 wxPy_BEGIN_ALLOW_THREADS
;
10197 _result
= (int )wxSlider_GetValue(_arg0
);
10199 wxPy_END_ALLOW_THREADS
;
10200 if (PyErr_Occurred()) return NULL
;
10201 } _resultobj
= Py_BuildValue("i",_result
);
10205 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10206 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10207 PyObject
* _resultobj
;
10211 PyObject
* _argo0
= 0;
10212 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10225 wxPy_BEGIN_ALLOW_THREADS
;
10226 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10228 wxPy_END_ALLOW_THREADS
;
10229 if (PyErr_Occurred()) return NULL
;
10230 } Py_INCREF(Py_None
);
10231 _resultobj
= Py_None
;
10235 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10236 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
* _resultobj
;
10241 PyObject
* _argo0
= 0;
10242 char *_kwnames
[] = { "self","n","pos", NULL
};
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10255 wxPy_BEGIN_ALLOW_THREADS
;
10256 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10258 wxPy_END_ALLOW_THREADS
;
10259 if (PyErr_Occurred()) return NULL
;
10260 } Py_INCREF(Py_None
);
10261 _resultobj
= Py_None
;
10265 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10266 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
* _resultobj
;
10270 PyObject
* _argo0
= 0;
10271 char *_kwnames
[] = { "self","lineSize", NULL
};
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10284 wxPy_BEGIN_ALLOW_THREADS
;
10285 wxSlider_SetLineSize(_arg0
,_arg1
);
10287 wxPy_END_ALLOW_THREADS
;
10288 if (PyErr_Occurred()) return NULL
;
10289 } Py_INCREF(Py_None
);
10290 _resultobj
= Py_None
;
10294 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10295 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
* _resultobj
;
10299 PyObject
* _argo0
= 0;
10300 char *_kwnames
[] = { "self","pageSize", NULL
};
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10313 wxPy_BEGIN_ALLOW_THREADS
;
10314 wxSlider_SetPageSize(_arg0
,_arg1
);
10316 wxPy_END_ALLOW_THREADS
;
10317 if (PyErr_Occurred()) return NULL
;
10318 } Py_INCREF(Py_None
);
10319 _resultobj
= Py_None
;
10323 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10324 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
* _resultobj
;
10329 PyObject
* _argo0
= 0;
10330 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10343 wxPy_BEGIN_ALLOW_THREADS
;
10344 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10346 wxPy_END_ALLOW_THREADS
;
10347 if (PyErr_Occurred()) return NULL
;
10348 } Py_INCREF(Py_None
);
10349 _resultobj
= Py_None
;
10353 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10354 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
* _resultobj
;
10358 PyObject
* _argo0
= 0;
10359 char *_kwnames
[] = { "self","len", NULL
};
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10372 wxPy_BEGIN_ALLOW_THREADS
;
10373 wxSlider_SetThumbLength(_arg0
,_arg1
);
10375 wxPy_END_ALLOW_THREADS
;
10376 if (PyErr_Occurred()) return NULL
;
10377 } Py_INCREF(Py_None
);
10378 _resultobj
= Py_None
;
10382 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10383 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
* _resultobj
;
10387 PyObject
* _argo0
= 0;
10388 char *_kwnames
[] = { "self","tickPos", NULL
};
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10401 wxPy_BEGIN_ALLOW_THREADS
;
10402 wxSlider_SetTick(_arg0
,_arg1
);
10404 wxPy_END_ALLOW_THREADS
;
10405 if (PyErr_Occurred()) return NULL
;
10406 } Py_INCREF(Py_None
);
10407 _resultobj
= Py_None
;
10411 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10412 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
* _resultobj
;
10416 PyObject
* _argo0
= 0;
10417 char *_kwnames
[] = { "self","value", NULL
};
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10430 wxPy_BEGIN_ALLOW_THREADS
;
10431 wxSlider_SetValue(_arg0
,_arg1
);
10433 wxPy_END_ALLOW_THREADS
;
10434 if (PyErr_Occurred()) return NULL
;
10435 } Py_INCREF(Py_None
);
10436 _resultobj
= Py_None
;
10440 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10442 wxSpinButton
*dest
;
10443 src
= (wxSpinCtrl
*) ptr
;
10444 dest
= (wxSpinButton
*) src
;
10445 return (void *) dest
;
10448 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10451 src
= (wxSpinCtrl
*) ptr
;
10452 dest
= (wxControl
*) src
;
10453 return (void *) dest
;
10456 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10459 src
= (wxSpinCtrl
*) ptr
;
10460 dest
= (wxWindow
*) src
;
10461 return (void *) dest
;
10464 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10466 wxEvtHandler
*dest
;
10467 src
= (wxSpinCtrl
*) ptr
;
10468 dest
= (wxEvtHandler
*) src
;
10469 return (void *) dest
;
10472 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10475 src
= (wxSpinCtrl
*) ptr
;
10476 dest
= (wxObject
*) src
;
10477 return (void *) dest
;
10480 #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))
10481 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
* _resultobj
;
10483 wxSpinCtrl
* _result
;
10485 wxWindowID _arg1
= (wxWindowID
) -1;
10486 char * _arg2
= (char *) "";
10487 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10488 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10489 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10490 int _arg6
= (int ) 0;
10491 int _arg7
= (int ) 100;
10492 int _arg8
= (int ) 0;
10493 char * _arg9
= (char *) "wxSpinCtrl";
10494 PyObject
* _argo0
= 0;
10496 PyObject
* _obj3
= 0;
10498 PyObject
* _obj4
= 0;
10499 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10515 if (! wxPoint_helper(_obj3
, &_arg3
))
10521 if (! wxSize_helper(_obj4
, &_arg4
))
10525 wxPy_BEGIN_ALLOW_THREADS
;
10526 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10528 wxPy_END_ALLOW_THREADS
;
10529 if (PyErr_Occurred()) return NULL
;
10531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10532 _resultobj
= Py_BuildValue("s",_ptemp
);
10534 Py_INCREF(Py_None
);
10535 _resultobj
= Py_None
;
10540 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10541 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
* _resultobj
;
10543 wxSpinCtrl
* _result
;
10544 char *_kwnames
[] = { NULL
};
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10551 wxPy_BEGIN_ALLOW_THREADS
;
10552 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10554 wxPy_END_ALLOW_THREADS
;
10555 if (PyErr_Occurred()) return NULL
;
10557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10558 _resultobj
= Py_BuildValue("s",_ptemp
);
10560 Py_INCREF(Py_None
);
10561 _resultobj
= Py_None
;
10566 #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))
10567 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
* _resultobj
;
10570 wxSpinCtrl
* _arg0
;
10572 wxWindowID _arg2
= (wxWindowID
) -1;
10573 char * _arg3
= (char *) "";
10574 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10575 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10576 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10577 int _arg7
= (int ) 0;
10578 int _arg8
= (int ) 100;
10579 int _arg9
= (int ) 0;
10580 char * _arg10
= (char *) "wxSpinCtrl";
10581 PyObject
* _argo0
= 0;
10582 PyObject
* _argo1
= 0;
10584 PyObject
* _obj4
= 0;
10586 PyObject
* _obj5
= 0;
10587 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10600 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10601 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10609 if (! wxPoint_helper(_obj4
, &_arg4
))
10615 if (! wxSize_helper(_obj5
, &_arg5
))
10619 wxPy_BEGIN_ALLOW_THREADS
;
10620 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10622 wxPy_END_ALLOW_THREADS
;
10623 if (PyErr_Occurred()) return NULL
;
10624 } _resultobj
= Py_BuildValue("i",_result
);
10628 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10629 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
* _resultobj
;
10632 wxSpinCtrl
* _arg0
;
10633 PyObject
* _argo0
= 0;
10634 char *_kwnames
[] = { "self", NULL
};
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10647 wxPy_BEGIN_ALLOW_THREADS
;
10648 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10650 wxPy_END_ALLOW_THREADS
;
10651 if (PyErr_Occurred()) return NULL
;
10652 } _resultobj
= Py_BuildValue("i",_result
);
10656 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10657 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
* _resultobj
;
10660 wxSpinCtrl
* _arg0
;
10661 PyObject
* _argo0
= 0;
10662 char *_kwnames
[] = { "self", NULL
};
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10675 wxPy_BEGIN_ALLOW_THREADS
;
10676 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10678 wxPy_END_ALLOW_THREADS
;
10679 if (PyErr_Occurred()) return NULL
;
10680 } _resultobj
= Py_BuildValue("i",_result
);
10684 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10685 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
* _resultobj
;
10688 wxSpinCtrl
* _arg0
;
10689 PyObject
* _argo0
= 0;
10690 char *_kwnames
[] = { "self", NULL
};
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10703 wxPy_BEGIN_ALLOW_THREADS
;
10704 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10706 wxPy_END_ALLOW_THREADS
;
10707 if (PyErr_Occurred()) return NULL
;
10708 } _resultobj
= Py_BuildValue("i",_result
);
10712 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10713 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
* _resultobj
;
10715 wxSpinCtrl
* _arg0
;
10718 PyObject
* _argo0
= 0;
10719 char *_kwnames
[] = { "self","min","max", NULL
};
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10732 wxPy_BEGIN_ALLOW_THREADS
;
10733 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10735 wxPy_END_ALLOW_THREADS
;
10736 if (PyErr_Occurred()) return NULL
;
10737 } Py_INCREF(Py_None
);
10738 _resultobj
= Py_None
;
10742 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10743 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
* _resultobj
;
10745 wxSpinCtrl
* _arg0
;
10747 PyObject
* _argo0
= 0;
10748 char *_kwnames
[] = { "self","value", NULL
};
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10761 wxPy_BEGIN_ALLOW_THREADS
;
10762 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10764 wxPy_END_ALLOW_THREADS
;
10765 if (PyErr_Occurred()) return NULL
;
10766 } Py_INCREF(Py_None
);
10767 _resultobj
= Py_None
;
10771 static PyMethodDef controlscMethods
[] = {
10772 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10773 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10774 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10775 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10776 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10777 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10778 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10779 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10780 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10781 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
10782 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10783 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10784 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10785 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10786 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10787 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10788 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10789 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
10790 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
10791 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
10792 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
10793 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10794 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10795 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10796 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
10797 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
10798 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
10799 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
10800 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
10801 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
10802 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10803 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10804 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10805 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10806 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
10807 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
10808 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
10809 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10810 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10811 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
10812 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10813 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10814 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
10815 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
10816 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10817 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10818 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
10819 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
10820 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10821 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10822 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10823 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
10824 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10825 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10826 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10827 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
10828 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10829 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10830 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10831 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10832 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10833 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
10834 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
10835 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10836 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10837 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
10838 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
10839 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10840 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
10841 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10842 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
10843 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
10844 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
10845 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10846 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
10847 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10848 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
10849 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
10850 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
10851 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10852 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
10853 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10854 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10855 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10856 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10857 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10858 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
10859 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
10860 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
10861 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
10862 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
10863 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
10864 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
10865 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10866 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
10867 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
10868 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
10869 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
10870 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
10871 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10872 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
10873 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
10874 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
10875 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
10876 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
10877 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
10878 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
10879 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
10880 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10881 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10882 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10883 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10884 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10885 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
10886 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
10887 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
10888 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
10889 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
10890 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10891 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10892 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
10893 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10894 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10895 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
10896 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
10897 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10898 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10899 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10900 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
10901 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10902 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10903 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
10904 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10905 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
10906 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10907 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
10908 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10909 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
10910 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
10911 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10912 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10913 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
10914 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10915 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10916 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10917 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
10918 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
10919 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
10920 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
10921 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
10922 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
10923 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
10924 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
10925 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10926 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10927 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
10928 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
10929 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10930 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
10931 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
10932 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10933 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
10934 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
10935 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10936 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
10937 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10938 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10939 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
10940 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10941 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10942 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
10943 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10944 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10945 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
10946 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
10947 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
10948 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
10949 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
10950 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
10951 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
10952 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10953 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
10954 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10955 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
10956 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10957 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
10958 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
10959 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
10960 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10961 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
10962 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
10963 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
10964 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
10965 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10966 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
10967 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
10968 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
10969 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
10970 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
10971 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
10972 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
10973 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
10974 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
10975 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
10976 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
10977 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
10978 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
10979 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
10980 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
10981 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
10982 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
10983 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
10984 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
10985 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
10986 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
10987 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
10988 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
10989 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
10990 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
10991 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
10992 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
10993 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
10994 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
10995 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
10996 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
10997 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10998 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
10999 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11000 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11001 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11002 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11003 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11004 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11005 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11006 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11007 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11008 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11009 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11010 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11011 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11012 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11013 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11014 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11015 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11016 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11017 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11018 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11019 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11026 * This table is used by the pointer type-checker
11028 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11029 { "_signed_long","_long",0},
11030 { "_wxPrintQuality","_wxCoord",0},
11031 { "_wxPrintQuality","_int",0},
11032 { "_wxPrintQuality","_signed_int",0},
11033 { "_wxPrintQuality","_unsigned_int",0},
11034 { "_wxPrintQuality","_wxWindowID",0},
11035 { "_wxPrintQuality","_uint",0},
11036 { "_wxPrintQuality","_EBool",0},
11037 { "_wxPrintQuality","_size_t",0},
11038 { "_wxPrintQuality","_time_t",0},
11039 { "_byte","_unsigned_char",0},
11040 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11041 { "_long","_unsigned_long",0},
11042 { "_long","_signed_long",0},
11043 { "_size_t","_wxCoord",0},
11044 { "_size_t","_wxPrintQuality",0},
11045 { "_size_t","_time_t",0},
11046 { "_size_t","_unsigned_int",0},
11047 { "_size_t","_int",0},
11048 { "_size_t","_wxWindowID",0},
11049 { "_size_t","_uint",0},
11050 { "_uint","_wxCoord",0},
11051 { "_uint","_wxPrintQuality",0},
11052 { "_uint","_time_t",0},
11053 { "_uint","_size_t",0},
11054 { "_uint","_unsigned_int",0},
11055 { "_uint","_int",0},
11056 { "_uint","_wxWindowID",0},
11057 { "_wxChar","_char",0},
11058 { "_char","_wxChar",0},
11059 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11060 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11061 { "_EBool","_wxCoord",0},
11062 { "_EBool","_wxPrintQuality",0},
11063 { "_EBool","_signed_int",0},
11064 { "_EBool","_int",0},
11065 { "_EBool","_wxWindowID",0},
11066 { "_unsigned_long","_long",0},
11067 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11068 { "_signed_int","_wxCoord",0},
11069 { "_signed_int","_wxPrintQuality",0},
11070 { "_signed_int","_EBool",0},
11071 { "_signed_int","_wxWindowID",0},
11072 { "_signed_int","_int",0},
11073 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11074 { "_WXTYPE","_short",0},
11075 { "_WXTYPE","_signed_short",0},
11076 { "_WXTYPE","_unsigned_short",0},
11077 { "_unsigned_short","_WXTYPE",0},
11078 { "_unsigned_short","_short",0},
11079 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11080 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11081 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11082 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11083 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11084 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11085 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11086 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11087 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11088 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11089 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11090 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11091 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11092 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11093 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11094 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11095 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11096 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11097 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11098 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11099 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11100 { "_signed_short","_WXTYPE",0},
11101 { "_signed_short","_short",0},
11102 { "_unsigned_char","_byte",0},
11103 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11104 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11105 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11106 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11107 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11108 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11109 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11110 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11111 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11112 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11113 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11114 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11115 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11116 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11117 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11118 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11119 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11120 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11121 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11122 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11123 { "_unsigned_int","_wxCoord",0},
11124 { "_unsigned_int","_wxPrintQuality",0},
11125 { "_unsigned_int","_time_t",0},
11126 { "_unsigned_int","_size_t",0},
11127 { "_unsigned_int","_uint",0},
11128 { "_unsigned_int","_wxWindowID",0},
11129 { "_unsigned_int","_int",0},
11130 { "_short","_WXTYPE",0},
11131 { "_short","_unsigned_short",0},
11132 { "_short","_signed_short",0},
11133 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11134 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11135 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11136 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11137 { "_wxWindowID","_wxCoord",0},
11138 { "_wxWindowID","_wxPrintQuality",0},
11139 { "_wxWindowID","_time_t",0},
11140 { "_wxWindowID","_size_t",0},
11141 { "_wxWindowID","_EBool",0},
11142 { "_wxWindowID","_uint",0},
11143 { "_wxWindowID","_int",0},
11144 { "_wxWindowID","_signed_int",0},
11145 { "_wxWindowID","_unsigned_int",0},
11146 { "_int","_wxCoord",0},
11147 { "_int","_wxPrintQuality",0},
11148 { "_int","_time_t",0},
11149 { "_int","_size_t",0},
11150 { "_int","_EBool",0},
11151 { "_int","_uint",0},
11152 { "_int","_wxWindowID",0},
11153 { "_int","_unsigned_int",0},
11154 { "_int","_signed_int",0},
11155 { "_time_t","_wxCoord",0},
11156 { "_time_t","_wxPrintQuality",0},
11157 { "_time_t","_unsigned_int",0},
11158 { "_time_t","_int",0},
11159 { "_time_t","_wxWindowID",0},
11160 { "_time_t","_uint",0},
11161 { "_time_t","_size_t",0},
11162 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11163 { "_wxCoord","_int",0},
11164 { "_wxCoord","_signed_int",0},
11165 { "_wxCoord","_unsigned_int",0},
11166 { "_wxCoord","_wxWindowID",0},
11167 { "_wxCoord","_uint",0},
11168 { "_wxCoord","_EBool",0},
11169 { "_wxCoord","_size_t",0},
11170 { "_wxCoord","_time_t",0},
11171 { "_wxCoord","_wxPrintQuality",0},
11172 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11173 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11174 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11175 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11176 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11177 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11178 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11179 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11180 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11181 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11182 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11183 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11184 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11185 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11186 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11187 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11188 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11189 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11190 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11191 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11192 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11193 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11194 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11195 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11196 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11197 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11198 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11199 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11200 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11201 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11202 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11203 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11204 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11205 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11206 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11207 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11208 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11209 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11210 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11211 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11212 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11213 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11216 static PyObject
*SWIG_globals
;
11220 SWIGEXPORT(void) initcontrolsc() {
11222 SWIG_globals
= SWIG_newvarlink();
11223 m
= Py_InitModule("controlsc", controlscMethods
);
11224 d
= PyModule_GetDict(m
);
11225 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11226 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11229 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11230 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);