2 * FILE : src/gtk/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 #if PYTHON_API_VERSION >= 1009
105 static char* wxStringErrorMsg
= "String or Unicode type required";
107 static char* wxStringErrorMsg
= "String type required";
112 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
114 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
118 static PyObject
*_wrap_wxDefaultValidator_get() {
122 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
123 pyobj
= PyString_FromString(ptemp
);
127 static void *SwigwxControlTowxWindow(void *ptr
) {
130 src
= (wxControl
*) ptr
;
131 dest
= (wxWindow
*) src
;
132 return (void *) dest
;
135 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
138 src
= (wxControl
*) ptr
;
139 dest
= (wxEvtHandler
*) src
;
140 return (void *) dest
;
143 static void *SwigwxControlTowxObject(void *ptr
) {
146 src
= (wxControl
*) ptr
;
147 dest
= (wxObject
*) src
;
148 return (void *) dest
;
151 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
152 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
157 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
158 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
159 long _arg4
= (long ) 0;
160 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
161 char * _arg6
= (char *) "control";
162 PyObject
* _argo0
= 0;
164 PyObject
* _obj2
= 0;
166 PyObject
* _obj3
= 0;
167 PyObject
* _argo5
= 0;
168 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
184 if (! wxPoint_helper(_obj2
, &_arg2
))
190 if (! wxSize_helper(_obj3
, &_arg3
))
194 if (_argo5
== Py_None
) { _arg5
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
202 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
204 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
228 _result
= (wxControl
*)new_wxPreControl();
230 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
301 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
303 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
337 wxControl_Command(_arg0
,*_arg1
);
339 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
366 _result
= new wxString (wxControl_GetLabel(_arg0
));
368 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
418 wxControl_SetLabel(_arg0
,*_arg1
);
420 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
483 wxControlWithItems_Delete(_arg0
,_arg1
);
485 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
512 _result
= (int )wxControlWithItems_GetCount(_arg0
);
514 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
541 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
543 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
594 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
596 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
649 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
679 wxControlWithItems_Select(_arg0
,_arg1
);
681 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
708 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
710 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
738 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
800 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
802 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
843 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
845 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
881 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
883 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
995 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1023 _result
= (wxButton
*)new_wxPreButton();
1025 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1118 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1147 wxButton_SetDefault(_arg0
);
1149 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1185 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1221 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1239 _result
= new wxSize (wxButton::GetDefaultSize());
1241 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1348 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1350 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1376 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1458 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1485 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1487 wxPyEndAllowThreads(__tstate
);
1488 if (PyErr_Occurred()) return NULL
;
1489 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1490 _resultobj
= Py_BuildValue("s",_ptemp
);
1494 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1495 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1496 PyObject
* _resultobj
;
1498 wxBitmapButton
* _arg0
;
1499 PyObject
* _argo0
= 0;
1500 char *_kwnames
[] = { "self", NULL
};
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1515 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1517 wxPyEndAllowThreads(__tstate
);
1518 if (PyErr_Occurred()) return NULL
;
1519 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1520 _resultobj
= Py_BuildValue("s",_ptemp
);
1524 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1525 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1528 wxBitmapButton
* _arg0
;
1529 PyObject
* _argo0
= 0;
1530 char *_kwnames
[] = { "self", NULL
};
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1545 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) return NULL
;
1549 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1550 _resultobj
= Py_BuildValue("s",_ptemp
);
1554 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1555 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1558 wxBitmapButton
* _arg0
;
1559 PyObject
* _argo0
= 0;
1560 char *_kwnames
[] = { "self", NULL
};
1564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1575 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1577 wxPyEndAllowThreads(__tstate
);
1578 if (PyErr_Occurred()) return NULL
;
1579 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1580 _resultobj
= Py_BuildValue("s",_ptemp
);
1584 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1585 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1587 wxBitmapButton
* _arg0
;
1589 PyObject
* _argo0
= 0;
1590 PyObject
* _argo1
= 0;
1591 char *_kwnames
[] = { "self","bitmap", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) return NULL
;
1616 } Py_INCREF(Py_None
);
1617 _resultobj
= Py_None
;
1621 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1622 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1624 wxBitmapButton
* _arg0
;
1626 PyObject
* _argo0
= 0;
1627 PyObject
* _argo1
= 0;
1628 char *_kwnames
[] = { "self","bitmap", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1641 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1642 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1649 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1651 wxPyEndAllowThreads(__tstate
);
1652 if (PyErr_Occurred()) return NULL
;
1653 } Py_INCREF(Py_None
);
1654 _resultobj
= Py_None
;
1658 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1659 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1661 wxBitmapButton
* _arg0
;
1663 PyObject
* _argo0
= 0;
1664 PyObject
* _argo1
= 0;
1665 char *_kwnames
[] = { "self","bitmap", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1678 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1679 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1686 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1688 wxPyEndAllowThreads(__tstate
);
1689 if (PyErr_Occurred()) return NULL
;
1690 } Py_INCREF(Py_None
);
1691 _resultobj
= Py_None
;
1695 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1696 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1698 wxBitmapButton
* _arg0
;
1700 PyObject
* _argo0
= 0;
1701 PyObject
* _argo1
= 0;
1702 char *_kwnames
[] = { "self","bitmap", NULL
};
1705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) return NULL
;
1727 } Py_INCREF(Py_None
);
1728 _resultobj
= Py_None
;
1732 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1733 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
* _resultobj
;
1735 wxBitmapButton
* _arg0
;
1738 PyObject
* _argo0
= 0;
1739 char *_kwnames
[] = { "self","x","y", NULL
};
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) return NULL
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1762 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1763 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1766 wxBitmapButton
* _arg0
;
1767 PyObject
* _argo0
= 0;
1768 char *_kwnames
[] = { "self", NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) return NULL
;
1786 } _resultobj
= Py_BuildValue("i",_result
);
1790 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1791 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
* _resultobj
;
1794 wxBitmapButton
* _arg0
;
1795 PyObject
* _argo0
= 0;
1796 char *_kwnames
[] = { "self", NULL
};
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) return NULL
;
1814 } _resultobj
= Py_BuildValue("i",_result
);
1818 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1821 src
= (wxCheckBox
*) ptr
;
1822 dest
= (wxControl
*) src
;
1823 return (void *) dest
;
1826 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1829 src
= (wxCheckBox
*) ptr
;
1830 dest
= (wxWindow
*) src
;
1831 return (void *) dest
;
1834 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1837 src
= (wxCheckBox
*) ptr
;
1838 dest
= (wxEvtHandler
*) src
;
1839 return (void *) dest
;
1842 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1845 src
= (wxCheckBox
*) ptr
;
1846 dest
= (wxObject
*) src
;
1847 return (void *) dest
;
1850 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1851 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 wxCheckBox
* _result
;
1857 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1858 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1859 long _arg5
= (long ) 0;
1860 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1861 char * _arg7
= (char *) "checkBox";
1862 PyObject
* _argo0
= 0;
1863 PyObject
* _obj2
= 0;
1865 PyObject
* _obj3
= 0;
1867 PyObject
* _obj4
= 0;
1868 PyObject
* _argo6
= 0;
1869 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1883 #if PYTHON_API_VERSION >= 1009
1884 char* tmpPtr
; int tmpSize
;
1885 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1889 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1891 _arg2
= new wxString(tmpPtr
, tmpSize
);
1893 if (!PyString_Check(_obj2
)) {
1894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1897 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1903 if (! wxPoint_helper(_obj3
, &_arg3
))
1909 if (! wxSize_helper(_obj4
, &_arg4
))
1913 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1914 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) return NULL
;
1926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1927 _resultobj
= Py_BuildValue("s",_ptemp
);
1930 _resultobj
= Py_None
;
1939 #define new_wxPreCheckBox() (new wxCheckBox())
1940 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1942 wxCheckBox
* _result
;
1943 char *_kwnames
[] = { NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1951 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1953 wxPyEndAllowThreads(__tstate
);
1954 if (PyErr_Occurred()) return NULL
;
1956 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1957 _resultobj
= Py_BuildValue("s",_ptemp
);
1960 _resultobj
= Py_None
;
1965 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1966 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1973 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1974 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1975 long _arg6
= (long ) 0;
1976 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1977 char * _arg8
= (char *) "checkBox";
1978 PyObject
* _argo0
= 0;
1979 PyObject
* _argo1
= 0;
1980 PyObject
* _obj3
= 0;
1982 PyObject
* _obj4
= 0;
1984 PyObject
* _obj5
= 0;
1985 PyObject
* _argo7
= 0;
1986 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
1999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2006 #if PYTHON_API_VERSION >= 1009
2007 char* tmpPtr
; int tmpSize
;
2008 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2012 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2014 _arg3
= new wxString(tmpPtr
, tmpSize
);
2016 if (!PyString_Check(_obj3
)) {
2017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2020 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2026 if (! wxPoint_helper(_obj4
, &_arg4
))
2032 if (! wxSize_helper(_obj5
, &_arg5
))
2036 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2037 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2044 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2046 wxPyEndAllowThreads(__tstate
);
2047 if (PyErr_Occurred()) return NULL
;
2048 } _resultobj
= Py_BuildValue("i",_result
);
2056 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2057 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2061 PyObject
* _argo0
= 0;
2062 char *_kwnames
[] = { "self", NULL
};
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) return NULL
;
2080 } _resultobj
= Py_BuildValue("i",_result
);
2084 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2085 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
* _resultobj
;
2089 PyObject
* _argo0
= 0;
2091 char *_kwnames
[] = { "self","state", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2103 _arg1
= (bool ) tempbool1
;
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 wxCheckBox_SetValue(_arg0
,_arg1
);
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) return NULL
;
2110 } Py_INCREF(Py_None
);
2111 _resultobj
= Py_None
;
2115 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2117 wxControlWithItems
*dest
;
2118 src
= (wxChoice
*) ptr
;
2119 dest
= (wxControlWithItems
*) src
;
2120 return (void *) dest
;
2123 static void *SwigwxChoiceTowxControl(void *ptr
) {
2126 src
= (wxChoice
*) ptr
;
2127 dest
= (wxControl
*) src
;
2128 return (void *) dest
;
2131 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2134 src
= (wxChoice
*) ptr
;
2135 dest
= (wxWindow
*) src
;
2136 return (void *) dest
;
2139 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2142 src
= (wxChoice
*) ptr
;
2143 dest
= (wxEvtHandler
*) src
;
2144 return (void *) dest
;
2147 static void *SwigwxChoiceTowxObject(void *ptr
) {
2150 src
= (wxChoice
*) ptr
;
2151 dest
= (wxObject
*) src
;
2152 return (void *) dest
;
2155 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2156 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
* _resultobj
;
2161 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2162 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2163 int _arg4
= (int ) 0;
2164 wxString
* _arg5
= (wxString
*) NULL
;
2165 long _arg6
= (long ) 0;
2166 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2167 char * _arg8
= (char *) "choice";
2168 PyObject
* _argo0
= 0;
2170 PyObject
* _obj2
= 0;
2172 PyObject
* _obj3
= 0;
2173 PyObject
* _obj5
= 0;
2174 PyObject
* _argo7
= 0;
2175 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2191 if (! wxPoint_helper(_obj2
, &_arg2
))
2197 if (! wxSize_helper(_obj3
, &_arg3
))
2202 _arg5
= wxString_LIST_helper(_obj5
);
2203 if (_arg5
== NULL
) {
2208 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2209 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2216 _arg4
= PyList_Size(_obj5
);
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) return NULL
;
2229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2230 _resultobj
= Py_BuildValue("s",_ptemp
);
2233 _resultobj
= Py_None
;
2241 #define new_wxPreChoice() (new wxChoice())
2242 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2245 char *_kwnames
[] = { NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2253 _result
= (wxChoice
*)new_wxPreChoice();
2255 wxPyEndAllowThreads(__tstate
);
2256 if (PyErr_Occurred()) return NULL
;
2258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2259 _resultobj
= Py_BuildValue("s",_ptemp
);
2262 _resultobj
= Py_None
;
2267 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2268 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2274 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2275 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2276 int _arg5
= (int ) 0;
2277 wxString
* _arg6
= (wxString
*) NULL
;
2278 long _arg7
= (long ) 0;
2279 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2280 char * _arg9
= (char *) "choice";
2281 PyObject
* _argo0
= 0;
2282 PyObject
* _argo1
= 0;
2284 PyObject
* _obj3
= 0;
2286 PyObject
* _obj4
= 0;
2287 PyObject
* _obj6
= 0;
2288 PyObject
* _argo8
= 0;
2289 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2302 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2303 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2311 if (! wxPoint_helper(_obj3
, &_arg3
))
2317 if (! wxSize_helper(_obj4
, &_arg4
))
2322 _arg6
= wxString_LIST_helper(_obj6
);
2323 if (_arg6
== NULL
) {
2328 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2329 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2336 _arg5
= PyList_Size(_obj6
);
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2344 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) return NULL
;
2348 } _resultobj
= Py_BuildValue("i",_result
);
2355 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2356 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
* _resultobj
;
2359 PyObject
* _argo0
= 0;
2360 char *_kwnames
[] = { "self", NULL
};
2363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2374 wxChoice_Clear(_arg0
);
2376 wxPyEndAllowThreads(__tstate
);
2377 if (PyErr_Occurred()) return NULL
;
2378 } Py_INCREF(Py_None
);
2379 _resultobj
= Py_None
;
2383 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2384 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
* _resultobj
;
2388 PyObject
* _argo0
= 0;
2389 char *_kwnames
[] = { "self", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 _result
= (int )wxChoice_GetColumns(_arg0
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) return NULL
;
2407 } _resultobj
= Py_BuildValue("i",_result
);
2411 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2412 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
* _resultobj
;
2415 int _arg1
= (int ) 1;
2416 PyObject
* _argo0
= 0;
2417 char *_kwnames
[] = { "self","n", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 wxChoice_SetColumns(_arg0
,_arg1
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) return NULL
;
2435 } Py_INCREF(Py_None
);
2436 _resultobj
= Py_None
;
2440 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2441 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
* _resultobj
;
2445 PyObject
* _argo0
= 0;
2446 char *_kwnames
[] = { "self","n", NULL
};
2449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 wxChoice_SetSelection(_arg0
,_arg1
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) return NULL
;
2464 } Py_INCREF(Py_None
);
2465 _resultobj
= Py_None
;
2469 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2470 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
* _resultobj
;
2474 PyObject
* _argo0
= 0;
2475 PyObject
* _obj1
= 0;
2476 char *_kwnames
[] = { "self","string", NULL
};
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2489 #if PYTHON_API_VERSION >= 1009
2490 char* tmpPtr
; int tmpSize
;
2491 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2492 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2495 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2497 _arg1
= new wxString(tmpPtr
, tmpSize
);
2499 if (!PyString_Check(_obj1
)) {
2500 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2503 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2508 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2510 wxPyEndAllowThreads(__tstate
);
2511 if (PyErr_Occurred()) return NULL
;
2512 } Py_INCREF(Py_None
);
2513 _resultobj
= Py_None
;
2521 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2522 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2527 PyObject
* _argo0
= 0;
2528 PyObject
* _obj2
= 0;
2529 char *_kwnames
[] = { "self","n","s", NULL
};
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2542 #if PYTHON_API_VERSION >= 1009
2543 char* tmpPtr
; int tmpSize
;
2544 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2548 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2550 _arg2
= new wxString(tmpPtr
, tmpSize
);
2552 if (!PyString_Check(_obj2
)) {
2553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2556 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) return NULL
;
2565 } Py_INCREF(Py_None
);
2566 _resultobj
= Py_None
;
2574 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2577 src
= (wxComboBox
*) ptr
;
2578 dest
= (wxControl
*) src
;
2579 return (void *) dest
;
2582 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2585 src
= (wxComboBox
*) ptr
;
2586 dest
= (wxWindow
*) src
;
2587 return (void *) dest
;
2590 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2593 src
= (wxComboBox
*) ptr
;
2594 dest
= (wxEvtHandler
*) src
;
2595 return (void *) dest
;
2598 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2601 src
= (wxComboBox
*) ptr
;
2602 dest
= (wxObject
*) src
;
2603 return (void *) dest
;
2606 #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))
2607 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2609 wxComboBox
* _result
;
2612 char * _arg2
= (char *) "";
2613 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2614 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2615 int _arg5
= (int ) 0;
2616 wxString
* _arg6
= (wxString
*) NULL
;
2617 long _arg7
= (long ) 0;
2618 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2619 char * _arg9
= (char *) "comboBox";
2620 PyObject
* _argo0
= 0;
2622 PyObject
* _obj3
= 0;
2624 PyObject
* _obj4
= 0;
2625 PyObject
* _obj6
= 0;
2626 PyObject
* _argo8
= 0;
2627 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2643 if (! wxPoint_helper(_obj3
, &_arg3
))
2649 if (! wxSize_helper(_obj4
, &_arg4
))
2654 _arg6
= wxString_LIST_helper(_obj6
);
2655 if (_arg6
== NULL
) {
2660 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2661 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2668 _arg5
= PyList_Size(_obj6
);
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) return NULL
;
2681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2682 _resultobj
= Py_BuildValue("s",_ptemp
);
2685 _resultobj
= Py_None
;
2693 #define new_wxPreComboBox() (new wxComboBox())
2694 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
* _resultobj
;
2696 wxComboBox
* _result
;
2697 char *_kwnames
[] = { NULL
};
2701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 _result
= (wxComboBox
*)new_wxPreComboBox();
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) return NULL
;
2710 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2711 _resultobj
= Py_BuildValue("s",_ptemp
);
2714 _resultobj
= Py_None
;
2719 #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))
2720 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
* _resultobj
;
2726 char * _arg3
= (char *) "";
2727 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2728 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2729 int _arg6
= (int ) 0;
2730 wxString
* _arg7
= (wxString
*) NULL
;
2731 long _arg8
= (long ) 0;
2732 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2733 char * _arg10
= (char *) "comboBox";
2734 PyObject
* _argo0
= 0;
2735 PyObject
* _argo1
= 0;
2737 PyObject
* _obj4
= 0;
2739 PyObject
* _obj5
= 0;
2740 PyObject
* _obj7
= 0;
2741 PyObject
* _argo9
= 0;
2742 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2764 if (! wxPoint_helper(_obj4
, &_arg4
))
2770 if (! wxSize_helper(_obj5
, &_arg5
))
2775 _arg7
= wxString_LIST_helper(_obj7
);
2776 if (_arg7
== NULL
) {
2781 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2782 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2789 _arg6
= PyList_Size(_obj7
);
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) return NULL
;
2801 } _resultobj
= Py_BuildValue("i",_result
);
2808 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2809 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
* _resultobj
;
2812 PyObject
* _argo0
= 0;
2813 char *_kwnames
[] = { "self", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2827 wxComboBox_Copy(_arg0
);
2829 wxPyEndAllowThreads(__tstate
);
2830 if (PyErr_Occurred()) return NULL
;
2831 } Py_INCREF(Py_None
);
2832 _resultobj
= Py_None
;
2836 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2837 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2838 PyObject
* _resultobj
;
2840 PyObject
* _argo0
= 0;
2841 char *_kwnames
[] = { "self", NULL
};
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 wxComboBox_Cut(_arg0
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) return NULL
;
2859 } Py_INCREF(Py_None
);
2860 _resultobj
= Py_None
;
2864 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2865 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2869 PyObject
* _argo0
= 0;
2870 char *_kwnames
[] = { "self", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) return NULL
;
2888 } _resultobj
= Py_BuildValue("l",_result
);
2892 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2893 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2894 PyObject
* _resultobj
;
2897 PyObject
* _argo0
= 0;
2898 char *_kwnames
[] = { "self", NULL
};
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) return NULL
;
2916 } _resultobj
= Py_BuildValue("l",_result
);
2920 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2921 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2925 PyObject
* _argo0
= 0;
2926 char *_kwnames
[] = { "self", NULL
};
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) return NULL
;
2945 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2953 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2954 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
* _resultobj
;
2957 PyObject
* _argo0
= 0;
2958 char *_kwnames
[] = { "self", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 wxComboBox_Paste(_arg0
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) return NULL
;
2976 } Py_INCREF(Py_None
);
2977 _resultobj
= Py_None
;
2981 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2982 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
* _resultobj
;
2988 PyObject
* _argo0
= 0;
2989 PyObject
* _obj3
= 0;
2990 char *_kwnames
[] = { "self","from","to","text", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3003 #if PYTHON_API_VERSION >= 1009
3004 char* tmpPtr
; int tmpSize
;
3005 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3006 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3009 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3011 _arg3
= new wxString(tmpPtr
, tmpSize
);
3013 if (!PyString_Check(_obj3
)) {
3014 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3017 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) return NULL
;
3026 } Py_INCREF(Py_None
);
3027 _resultobj
= Py_None
;
3035 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3036 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
* _resultobj
;
3041 PyObject
* _argo0
= 0;
3042 char *_kwnames
[] = { "self","from","to", NULL
};
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) return NULL
;
3060 } Py_INCREF(Py_None
);
3061 _resultobj
= Py_None
;
3065 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3066 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
* _resultobj
;
3070 PyObject
* _argo0
= 0;
3071 char *_kwnames
[] = { "self","pos", NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3085 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) return NULL
;
3089 } Py_INCREF(Py_None
);
3090 _resultobj
= Py_None
;
3094 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3095 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3096 PyObject
* _resultobj
;
3098 PyObject
* _argo0
= 0;
3099 char *_kwnames
[] = { "self", NULL
};
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 wxComboBox_SetInsertionPointEnd(_arg0
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) return NULL
;
3117 } Py_INCREF(Py_None
);
3118 _resultobj
= Py_None
;
3122 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3123 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3124 PyObject
* _resultobj
;
3127 PyObject
* _argo0
= 0;
3128 char *_kwnames
[] = { "self","n", NULL
};
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3142 wxComboBox_SetSelection(_arg0
,_arg1
);
3144 wxPyEndAllowThreads(__tstate
);
3145 if (PyErr_Occurred()) return NULL
;
3146 } Py_INCREF(Py_None
);
3147 _resultobj
= Py_None
;
3151 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3152 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3157 PyObject
* _argo0
= 0;
3158 char *_kwnames
[] = { "self","from","to", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) return NULL
;
3176 } Py_INCREF(Py_None
);
3177 _resultobj
= Py_None
;
3181 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3182 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3183 PyObject
* _resultobj
;
3186 PyObject
* _argo0
= 0;
3187 PyObject
* _obj1
= 0;
3188 char *_kwnames
[] = { "self","text", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3201 #if PYTHON_API_VERSION >= 1009
3202 char* tmpPtr
; int tmpSize
;
3203 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3204 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3207 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3209 _arg1
= new wxString(tmpPtr
, tmpSize
);
3211 if (!PyString_Check(_obj1
)) {
3212 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3215 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 wxComboBox_SetValue(_arg0
,*_arg1
);
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) return NULL
;
3224 } Py_INCREF(Py_None
);
3225 _resultobj
= Py_None
;
3233 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3234 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
* _resultobj
;
3238 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self","editable", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3252 _arg1
= (bool ) tempbool1
;
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 wxComboBox_SetEditable(_arg0
,_arg1
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) return NULL
;
3259 } Py_INCREF(Py_None
);
3260 _resultobj
= Py_None
;
3264 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3265 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 wxComboBox_Clear(_arg0
);
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) return NULL
;
3287 } Py_INCREF(Py_None
);
3288 _resultobj
= Py_None
;
3292 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3293 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "self","n", NULL
};
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 wxComboBox_Delete(_arg0
,_arg1
);
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) return NULL
;
3316 } Py_INCREF(Py_None
);
3317 _resultobj
= Py_None
;
3321 #define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3322 static PyObject
*_wrap_wxComboBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
* _resultobj
;
3326 PyObject
* _argo0
= 0;
3327 char *_kwnames
[] = { "self", NULL
};
3330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetCount",_kwnames
,&_argo0
))
3333 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3334 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 _result
= (int )wxComboBox_GetCount(_arg0
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) return NULL
;
3345 } _resultobj
= Py_BuildValue("i",_result
);
3349 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3350 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
* _resultobj
;
3355 PyObject
* _argo0
= 0;
3356 char *_kwnames
[] = { "self","n", NULL
};
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) return NULL
;
3375 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3383 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3384 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3389 PyObject
* _argo0
= 0;
3390 PyObject
* _obj1
= 0;
3391 char *_kwnames
[] = { "self","s", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
3404 #if PYTHON_API_VERSION >= 1009
3405 char* tmpPtr
; int tmpSize
;
3406 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3407 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3410 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3412 _arg1
= new wxString(tmpPtr
, tmpSize
);
3414 if (!PyString_Check(_obj1
)) {
3415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3418 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) return NULL
;
3427 } _resultobj
= Py_BuildValue("i",_result
);
3435 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3436 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3440 PyObject
* _argo0
= 0;
3441 char *_kwnames
[] = { "self", NULL
};
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
3447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
3454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3455 _result
= (int )wxComboBox_GetSelection(_arg0
);
3457 wxPyEndAllowThreads(__tstate
);
3458 if (PyErr_Occurred()) return NULL
;
3459 } _resultobj
= Py_BuildValue("i",_result
);
3463 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3464 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3468 PyObject
* _argo0
= 0;
3469 char *_kwnames
[] = { "self", NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
3475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) return NULL
;
3488 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3496 static void wxComboBox_Append(wxComboBox
*self
,const wxString
& item
,PyObject
* clientData
) {
3498 wxPyClientData
* data
= new wxPyClientData(clientData
);
3499 self
->Append(item
, data
);
3503 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
* _resultobj
;
3507 PyObject
* _arg2
= (PyObject
*) NULL
;
3508 PyObject
* _argo0
= 0;
3509 PyObject
* _obj1
= 0;
3510 PyObject
* _obj2
= 0;
3511 char *_kwnames
[] = { "self","item","clientData", NULL
};
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
3524 #if PYTHON_API_VERSION >= 1009
3525 char* tmpPtr
; int tmpSize
;
3526 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3527 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3530 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3532 _arg1
= new wxString(tmpPtr
, tmpSize
);
3534 if (!PyString_Check(_obj1
)) {
3535 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3538 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 wxComboBox_Append(_arg0
,*_arg1
,_arg2
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) return NULL
;
3551 } Py_INCREF(Py_None
);
3552 _resultobj
= Py_None
;
3560 static PyObject
* wxComboBox_GetClientData(wxComboBox
*self
,int n
) {
3561 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3563 Py_INCREF(data
->m_obj
);
3570 static PyObject
*_wrap_wxComboBox_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
* _resultobj
;
3575 PyObject
* _argo0
= 0;
3576 char *_kwnames
[] = { "self","n", NULL
};
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetClientData",_kwnames
,&_argo0
,&_arg1
))
3582 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3583 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3584 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 _result
= (PyObject
*)wxComboBox_GetClientData(_arg0
,_arg1
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) return NULL
;
3595 _resultobj
= _result
;
3600 static void wxComboBox_SetClientData(wxComboBox
*self
,int n
,PyObject
* clientData
) {
3601 wxPyClientData
* data
= new wxPyClientData(clientData
);
3602 self
->SetClientObject(n
, data
);
3604 static PyObject
*_wrap_wxComboBox_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
* _resultobj
;
3609 PyObject
* _argo0
= 0;
3610 PyObject
* _obj2
= 0;
3611 char *_kwnames
[] = { "self","n","clientData", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxComboBox_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 wxComboBox_SetClientData(_arg0
,_arg1
,_arg2
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) return NULL
;
3632 } Py_INCREF(Py_None
);
3633 _resultobj
= Py_None
;
3637 static void *SwigwxGaugeTowxControl(void *ptr
) {
3640 src
= (wxGauge
*) ptr
;
3641 dest
= (wxControl
*) src
;
3642 return (void *) dest
;
3645 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3648 src
= (wxGauge
*) ptr
;
3649 dest
= (wxWindow
*) src
;
3650 return (void *) dest
;
3653 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3656 src
= (wxGauge
*) ptr
;
3657 dest
= (wxEvtHandler
*) src
;
3658 return (void *) dest
;
3661 static void *SwigwxGaugeTowxObject(void *ptr
) {
3664 src
= (wxGauge
*) ptr
;
3665 dest
= (wxObject
*) src
;
3666 return (void *) dest
;
3669 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3670 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3676 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3677 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3678 long _arg5
= (long ) wxGA_HORIZONTAL
;
3679 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3680 char * _arg7
= (char *) "gauge";
3681 PyObject
* _argo0
= 0;
3683 PyObject
* _obj3
= 0;
3685 PyObject
* _obj4
= 0;
3686 PyObject
* _argo6
= 0;
3687 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3703 if (! wxPoint_helper(_obj3
, &_arg3
))
3709 if (! wxSize_helper(_obj4
, &_arg4
))
3713 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) return NULL
;
3726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3727 _resultobj
= Py_BuildValue("s",_ptemp
);
3730 _resultobj
= Py_None
;
3735 #define new_wxPreGauge() (new wxGauge())
3736 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
* _resultobj
;
3739 char *_kwnames
[] = { NULL
};
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 _result
= (wxGauge
*)new_wxPreGauge();
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) return NULL
;
3752 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3753 _resultobj
= Py_BuildValue("s",_ptemp
);
3756 _resultobj
= Py_None
;
3761 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3762 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
* _resultobj
;
3769 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3770 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3771 long _arg6
= (long ) wxGA_HORIZONTAL
;
3772 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3773 char * _arg8
= (char *) "gauge";
3774 PyObject
* _argo0
= 0;
3775 PyObject
* _argo1
= 0;
3777 PyObject
* _obj4
= 0;
3779 PyObject
* _obj5
= 0;
3780 PyObject
* _argo7
= 0;
3781 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3794 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3803 if (! wxPoint_helper(_obj4
, &_arg4
))
3809 if (! wxSize_helper(_obj5
, &_arg5
))
3813 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) return NULL
;
3825 } _resultobj
= Py_BuildValue("i",_result
);
3829 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3830 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
* _resultobj
;
3834 PyObject
* _argo0
= 0;
3835 char *_kwnames
[] = { "self", NULL
};
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) return NULL
;
3853 } _resultobj
= Py_BuildValue("i",_result
);
3857 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3858 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
* _resultobj
;
3862 PyObject
* _argo0
= 0;
3863 char *_kwnames
[] = { "self", NULL
};
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 _result
= (int )wxGauge_GetRange(_arg0
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) return NULL
;
3881 } _resultobj
= Py_BuildValue("i",_result
);
3885 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3886 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
* _resultobj
;
3890 PyObject
* _argo0
= 0;
3891 char *_kwnames
[] = { "self", NULL
};
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3905 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3907 wxPyEndAllowThreads(__tstate
);
3908 if (PyErr_Occurred()) return NULL
;
3909 } _resultobj
= Py_BuildValue("i",_result
);
3913 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3914 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
* _resultobj
;
3918 PyObject
* _argo0
= 0;
3919 char *_kwnames
[] = { "self", NULL
};
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 _result
= (int )wxGauge_GetValue(_arg0
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) return NULL
;
3937 } _resultobj
= Py_BuildValue("i",_result
);
3941 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3942 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3943 PyObject
* _resultobj
;
3946 PyObject
* _argo0
= 0;
3947 char *_kwnames
[] = { "self","width", NULL
};
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 wxGauge_SetBezelFace(_arg0
,_arg1
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) return NULL
;
3965 } Py_INCREF(Py_None
);
3966 _resultobj
= Py_None
;
3970 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3971 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
* _resultobj
;
3975 PyObject
* _argo0
= 0;
3976 char *_kwnames
[] = { "self","range", NULL
};
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3982 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3983 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 wxGauge_SetRange(_arg0
,_arg1
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) return NULL
;
3994 } Py_INCREF(Py_None
);
3995 _resultobj
= Py_None
;
3999 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
4000 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
* _resultobj
;
4004 PyObject
* _argo0
= 0;
4005 char *_kwnames
[] = { "self","width", NULL
};
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
4011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 wxGauge_SetShadowWidth(_arg0
,_arg1
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) return NULL
;
4023 } Py_INCREF(Py_None
);
4024 _resultobj
= Py_None
;
4028 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4029 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
* _resultobj
;
4033 PyObject
* _argo0
= 0;
4034 char *_kwnames
[] = { "self","pos", NULL
};
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
4040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 wxGauge_SetValue(_arg0
,_arg1
);
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) return NULL
;
4052 } Py_INCREF(Py_None
);
4053 _resultobj
= Py_None
;
4057 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
4060 src
= (wxStaticBox
*) ptr
;
4061 dest
= (wxControl
*) src
;
4062 return (void *) dest
;
4065 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
4068 src
= (wxStaticBox
*) ptr
;
4069 dest
= (wxWindow
*) src
;
4070 return (void *) dest
;
4073 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
4076 src
= (wxStaticBox
*) ptr
;
4077 dest
= (wxEvtHandler
*) src
;
4078 return (void *) dest
;
4081 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
4084 src
= (wxStaticBox
*) ptr
;
4085 dest
= (wxObject
*) src
;
4086 return (void *) dest
;
4089 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4090 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4092 wxStaticBox
* _result
;
4096 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4097 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4098 long _arg5
= (long ) 0;
4099 char * _arg6
= (char *) "staticBox";
4100 PyObject
* _argo0
= 0;
4101 PyObject
* _obj2
= 0;
4103 PyObject
* _obj3
= 0;
4105 PyObject
* _obj4
= 0;
4106 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
4120 #if PYTHON_API_VERSION >= 1009
4121 char* tmpPtr
; int tmpSize
;
4122 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4123 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4126 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4128 _arg2
= new wxString(tmpPtr
, tmpSize
);
4130 if (!PyString_Check(_obj2
)) {
4131 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4134 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4140 if (! wxPoint_helper(_obj3
, &_arg3
))
4146 if (! wxSize_helper(_obj4
, &_arg4
))
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4157 _resultobj
= Py_BuildValue("s",_ptemp
);
4160 _resultobj
= Py_None
;
4169 #define new_wxPreStaticBox() (new wxStaticBox())
4170 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
* _resultobj
;
4172 wxStaticBox
* _result
;
4173 char *_kwnames
[] = { NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 _result
= (wxStaticBox
*)new_wxPreStaticBox();
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) return NULL
;
4186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4187 _resultobj
= Py_BuildValue("s",_ptemp
);
4190 _resultobj
= Py_None
;
4195 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4196 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4199 wxStaticBox
* _arg0
;
4203 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4204 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4205 long _arg6
= (long ) 0;
4206 char * _arg7
= (char *) "staticBox";
4207 PyObject
* _argo0
= 0;
4208 PyObject
* _argo1
= 0;
4209 PyObject
* _obj3
= 0;
4211 PyObject
* _obj4
= 0;
4213 PyObject
* _obj5
= 0;
4214 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
4222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4227 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4228 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4234 #if PYTHON_API_VERSION >= 1009
4235 char* tmpPtr
; int tmpSize
;
4236 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4237 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4240 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4242 _arg3
= new wxString(tmpPtr
, tmpSize
);
4244 if (!PyString_Check(_obj3
)) {
4245 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4248 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4254 if (! wxPoint_helper(_obj4
, &_arg4
))
4260 if (! wxSize_helper(_obj5
, &_arg5
))
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) return NULL
;
4269 } _resultobj
= Py_BuildValue("i",_result
);
4277 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4280 src
= (wxStaticLine
*) ptr
;
4281 dest
= (wxControl
*) src
;
4282 return (void *) dest
;
4285 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4288 src
= (wxStaticLine
*) ptr
;
4289 dest
= (wxWindow
*) src
;
4290 return (void *) dest
;
4293 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4296 src
= (wxStaticLine
*) ptr
;
4297 dest
= (wxEvtHandler
*) src
;
4298 return (void *) dest
;
4301 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4304 src
= (wxStaticLine
*) ptr
;
4305 dest
= (wxObject
*) src
;
4306 return (void *) dest
;
4309 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4310 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4312 wxStaticLine
* _result
;
4315 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4316 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4317 long _arg4
= (long ) wxLI_HORIZONTAL
;
4318 char * _arg5
= (char *) "staticLine";
4319 PyObject
* _argo0
= 0;
4321 PyObject
* _obj2
= 0;
4323 PyObject
* _obj3
= 0;
4324 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4340 if (! wxPoint_helper(_obj2
, &_arg2
))
4346 if (! wxSize_helper(_obj3
, &_arg3
))
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) return NULL
;
4356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4357 _resultobj
= Py_BuildValue("s",_ptemp
);
4360 _resultobj
= Py_None
;
4365 #define new_wxPreStaticLine() (new wxStaticLine())
4366 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4367 PyObject
* _resultobj
;
4368 wxStaticLine
* _result
;
4369 char *_kwnames
[] = { NULL
};
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4377 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4379 wxPyEndAllowThreads(__tstate
);
4380 if (PyErr_Occurred()) return NULL
;
4382 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4383 _resultobj
= Py_BuildValue("s",_ptemp
);
4386 _resultobj
= Py_None
;
4391 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4392 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
* _resultobj
;
4395 wxStaticLine
* _arg0
;
4398 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4399 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4400 long _arg5
= (long ) wxLI_HORIZONTAL
;
4401 char * _arg6
= (char *) "staticLine";
4402 PyObject
* _argo0
= 0;
4403 PyObject
* _argo1
= 0;
4405 PyObject
* _obj3
= 0;
4407 PyObject
* _obj4
= 0;
4408 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4421 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4422 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4430 if (! wxPoint_helper(_obj3
, &_arg3
))
4436 if (! wxSize_helper(_obj4
, &_arg4
))
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) return NULL
;
4445 } _resultobj
= Py_BuildValue("i",_result
);
4449 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4452 src
= (wxStaticText
*) ptr
;
4453 dest
= (wxControl
*) src
;
4454 return (void *) dest
;
4457 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4460 src
= (wxStaticText
*) ptr
;
4461 dest
= (wxWindow
*) src
;
4462 return (void *) dest
;
4465 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4468 src
= (wxStaticText
*) ptr
;
4469 dest
= (wxEvtHandler
*) src
;
4470 return (void *) dest
;
4473 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4476 src
= (wxStaticText
*) ptr
;
4477 dest
= (wxObject
*) src
;
4478 return (void *) dest
;
4481 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4482 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
* _resultobj
;
4484 wxStaticText
* _result
;
4488 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4489 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4490 long _arg5
= (long ) 0;
4491 char * _arg6
= (char *) "staticText";
4492 PyObject
* _argo0
= 0;
4493 PyObject
* _obj2
= 0;
4495 PyObject
* _obj3
= 0;
4497 PyObject
* _obj4
= 0;
4498 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4512 #if PYTHON_API_VERSION >= 1009
4513 char* tmpPtr
; int tmpSize
;
4514 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4515 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4518 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4520 _arg2
= new wxString(tmpPtr
, tmpSize
);
4522 if (!PyString_Check(_obj2
)) {
4523 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4526 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4532 if (! wxPoint_helper(_obj3
, &_arg3
))
4538 if (! wxSize_helper(_obj4
, &_arg4
))
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) return NULL
;
4548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4549 _resultobj
= Py_BuildValue("s",_ptemp
);
4552 _resultobj
= Py_None
;
4561 #define new_wxPreStaticText() (new wxStaticText())
4562 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
* _resultobj
;
4564 wxStaticText
* _result
;
4565 char *_kwnames
[] = { NULL
};
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 _result
= (wxStaticText
*)new_wxPreStaticText();
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) return NULL
;
4578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4579 _resultobj
= Py_BuildValue("s",_ptemp
);
4582 _resultobj
= Py_None
;
4587 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4588 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
* _resultobj
;
4591 wxStaticText
* _arg0
;
4595 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4596 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4597 long _arg6
= (long ) 0;
4598 char * _arg7
= (char *) "staticText";
4599 PyObject
* _argo0
= 0;
4600 PyObject
* _argo1
= 0;
4601 PyObject
* _obj3
= 0;
4603 PyObject
* _obj4
= 0;
4605 PyObject
* _obj5
= 0;
4606 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4619 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4620 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4626 #if PYTHON_API_VERSION >= 1009
4627 char* tmpPtr
; int tmpSize
;
4628 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4632 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4634 _arg3
= new wxString(tmpPtr
, tmpSize
);
4636 if (!PyString_Check(_obj3
)) {
4637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4640 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4646 if (! wxPoint_helper(_obj4
, &_arg4
))
4652 if (! wxSize_helper(_obj5
, &_arg5
))
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) return NULL
;
4661 } _resultobj
= Py_BuildValue("i",_result
);
4669 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4670 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
* _resultobj
;
4673 wxStaticText
* _arg0
;
4674 PyObject
* _argo0
= 0;
4675 char *_kwnames
[] = { "self", NULL
};
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4691 wxPyEndAllowThreads(__tstate
);
4692 if (PyErr_Occurred()) return NULL
;
4694 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4702 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4703 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4705 wxStaticText
* _arg0
;
4707 PyObject
* _argo0
= 0;
4708 PyObject
* _obj1
= 0;
4709 char *_kwnames
[] = { "self","label", NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4722 #if PYTHON_API_VERSION >= 1009
4723 char* tmpPtr
; int tmpSize
;
4724 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4725 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4728 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4730 _arg1
= new wxString(tmpPtr
, tmpSize
);
4732 if (!PyString_Check(_obj1
)) {
4733 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4736 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 wxStaticText_SetLabel(_arg0
,*_arg1
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) return NULL
;
4745 } Py_INCREF(Py_None
);
4746 _resultobj
= Py_None
;
4754 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4756 wxControlWithItems
*dest
;
4757 src
= (wxListBox
*) ptr
;
4758 dest
= (wxControlWithItems
*) src
;
4759 return (void *) dest
;
4762 static void *SwigwxListBoxTowxControl(void *ptr
) {
4765 src
= (wxListBox
*) ptr
;
4766 dest
= (wxControl
*) src
;
4767 return (void *) dest
;
4770 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4773 src
= (wxListBox
*) ptr
;
4774 dest
= (wxWindow
*) src
;
4775 return (void *) dest
;
4778 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4781 src
= (wxListBox
*) ptr
;
4782 dest
= (wxEvtHandler
*) src
;
4783 return (void *) dest
;
4786 static void *SwigwxListBoxTowxObject(void *ptr
) {
4789 src
= (wxListBox
*) ptr
;
4790 dest
= (wxObject
*) src
;
4791 return (void *) dest
;
4794 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4795 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
* _resultobj
;
4797 wxListBox
* _result
;
4800 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4801 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4803 wxString
* _arg5
= (wxString
*) NULL
;
4804 long _arg6
= (long ) 0;
4805 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4806 char * _arg8
= (char *) "listBox";
4807 PyObject
* _argo0
= 0;
4809 PyObject
* _obj2
= 0;
4811 PyObject
* _obj3
= 0;
4812 PyObject
* _obj5
= 0;
4813 PyObject
* _argo7
= 0;
4814 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4830 if (! wxPoint_helper(_obj2
, &_arg2
))
4836 if (! wxSize_helper(_obj3
, &_arg3
))
4841 _arg5
= wxString_LIST_helper(_obj5
);
4842 if (_arg5
== NULL
) {
4847 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4855 _arg4
= PyList_Size(_obj5
);
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) return NULL
;
4868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4869 _resultobj
= Py_BuildValue("s",_ptemp
);
4872 _resultobj
= Py_None
;
4880 #define new_wxPreListBox() (new wxListBox())
4881 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
* _resultobj
;
4883 wxListBox
* _result
;
4884 char *_kwnames
[] = { NULL
};
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 _result
= (wxListBox
*)new_wxPreListBox();
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) return NULL
;
4897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4898 _resultobj
= Py_BuildValue("s",_ptemp
);
4901 _resultobj
= Py_None
;
4906 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4907 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
* _resultobj
;
4913 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4914 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4916 wxString
* _arg6
= (wxString
*) NULL
;
4917 long _arg7
= (long ) 0;
4918 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4919 char * _arg9
= (char *) "listBox";
4920 PyObject
* _argo0
= 0;
4921 PyObject
* _argo1
= 0;
4923 PyObject
* _obj3
= 0;
4925 PyObject
* _obj4
= 0;
4926 PyObject
* _obj6
= 0;
4927 PyObject
* _argo8
= 0;
4928 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4941 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4942 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4950 if (! wxPoint_helper(_obj3
, &_arg3
))
4956 if (! wxSize_helper(_obj4
, &_arg4
))
4961 _arg6
= wxString_LIST_helper(_obj6
);
4962 if (_arg6
== NULL
) {
4967 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4975 _arg5
= PyList_Size(_obj6
);
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) return NULL
;
4987 } _resultobj
= Py_BuildValue("i",_result
);
4994 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4995 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
* _resultobj
;
4998 PyObject
* _argo0
= 0;
4999 char *_kwnames
[] = { "self", NULL
};
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
5005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 wxListBox_Clear(_arg0
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) return NULL
;
5017 } Py_INCREF(Py_None
);
5018 _resultobj
= Py_None
;
5022 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
5023 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
* _resultobj
;
5027 PyObject
* _argo0
= 0;
5028 char *_kwnames
[] = { "self","n", NULL
};
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
5034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 wxListBox_Deselect(_arg0
,_arg1
);
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) return NULL
;
5046 } Py_INCREF(Py_None
);
5047 _resultobj
= Py_None
;
5051 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
5053 self
->GetSelections(lst
);
5054 PyObject
*tup
= PyTuple_New(lst
.GetCount());
5055 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
5056 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
5060 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
* _resultobj
;
5064 PyObject
* _argo0
= 0;
5065 char *_kwnames
[] = { "self", NULL
};
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
5071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5079 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) return NULL
;
5084 _resultobj
= _result
;
5089 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5090 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
* _resultobj
;
5096 PyObject
* _argo0
= 0;
5097 PyObject
* _obj2
= 0;
5098 char *_kwnames
[] = { "self","choices","pos", NULL
};
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5111 _arg2
= wxString_LIST_helper(_obj2
);
5112 if (_arg2
== NULL
) {
5118 _arg1
= PyList_Size(_obj2
);
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) return NULL
;
5130 } Py_INCREF(Py_None
);
5131 _resultobj
= Py_None
;
5138 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5139 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5140 PyObject
* _resultobj
;
5144 PyObject
* _argo0
= 0;
5145 char *_kwnames
[] = { "self","n", NULL
};
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) return NULL
;
5163 } _resultobj
= Py_BuildValue("i",_result
);
5167 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5168 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
* _resultobj
;
5173 PyObject
* _argo0
= 0;
5174 char *_kwnames
[] = { "self","n", NULL
};
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) return NULL
;
5192 } _resultobj
= Py_BuildValue("i",_result
);
5196 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5197 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
* _resultobj
;
5202 PyObject
* _argo0
= 0;
5203 PyObject
* _obj2
= 0;
5204 char *_kwnames
[] = { "self","choices", NULL
};
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5218 _arg2
= wxString_LIST_helper(_obj2
);
5219 if (_arg2
== NULL
) {
5225 _arg1
= PyList_Size(_obj2
);
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) return NULL
;
5237 } Py_INCREF(Py_None
);
5238 _resultobj
= Py_None
;
5245 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5246 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
* _resultobj
;
5250 PyObject
* _argo0
= 0;
5251 char *_kwnames
[] = { "self","n", NULL
};
5254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5265 wxListBox_SetFirstItem(_arg0
,_arg1
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) return NULL
;
5269 } Py_INCREF(Py_None
);
5270 _resultobj
= Py_None
;
5274 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5275 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
* _resultobj
;
5279 PyObject
* _argo0
= 0;
5280 PyObject
* _obj1
= 0;
5281 char *_kwnames
[] = { "self","string", NULL
};
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5294 #if PYTHON_API_VERSION >= 1009
5295 char* tmpPtr
; int tmpSize
;
5296 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5297 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5300 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5302 _arg1
= new wxString(tmpPtr
, tmpSize
);
5304 if (!PyString_Check(_obj1
)) {
5305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5308 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) return NULL
;
5317 } Py_INCREF(Py_None
);
5318 _resultobj
= Py_None
;
5326 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5327 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5331 bool _arg2
= (bool ) TRUE
;
5332 PyObject
* _argo0
= 0;
5333 int tempbool2
= (int) TRUE
;
5334 char *_kwnames
[] = { "self","n","select", NULL
};
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5346 _arg2
= (bool ) tempbool2
;
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) return NULL
;
5353 } Py_INCREF(Py_None
);
5354 _resultobj
= Py_None
;
5358 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5359 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
* _resultobj
;
5364 PyObject
* _argo0
= 0;
5365 PyObject
* _obj2
= 0;
5366 char *_kwnames
[] = { "self","n","string", NULL
};
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5379 #if PYTHON_API_VERSION >= 1009
5380 char* tmpPtr
; int tmpSize
;
5381 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5385 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5387 _arg2
= new wxString(tmpPtr
, tmpSize
);
5389 if (!PyString_Check(_obj2
)) {
5390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5393 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) return NULL
;
5402 } Py_INCREF(Py_None
);
5403 _resultobj
= Py_None
;
5411 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5412 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
* _resultobj
;
5416 bool _arg2
= (bool ) TRUE
;
5417 PyObject
* _argo0
= 0;
5418 PyObject
* _obj1
= 0;
5419 int tempbool2
= (int) TRUE
;
5420 char *_kwnames
[] = { "self","string","select", NULL
};
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5433 #if PYTHON_API_VERSION >= 1009
5434 char* tmpPtr
; int tmpSize
;
5435 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5436 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5439 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5441 _arg1
= new wxString(tmpPtr
, tmpSize
);
5443 if (!PyString_Check(_obj1
)) {
5444 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5447 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5450 _arg2
= (bool ) tempbool2
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) return NULL
;
5457 } Py_INCREF(Py_None
);
5458 _resultobj
= Py_None
;
5466 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5467 wxCheckListBox
*src
;
5469 src
= (wxCheckListBox
*) ptr
;
5470 dest
= (wxListBox
*) src
;
5471 return (void *) dest
;
5474 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5475 wxCheckListBox
*src
;
5476 wxControlWithItems
*dest
;
5477 src
= (wxCheckListBox
*) ptr
;
5478 dest
= (wxControlWithItems
*) src
;
5479 return (void *) dest
;
5482 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5483 wxCheckListBox
*src
;
5485 src
= (wxCheckListBox
*) ptr
;
5486 dest
= (wxControl
*) src
;
5487 return (void *) dest
;
5490 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5491 wxCheckListBox
*src
;
5493 src
= (wxCheckListBox
*) ptr
;
5494 dest
= (wxWindow
*) src
;
5495 return (void *) dest
;
5498 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5499 wxCheckListBox
*src
;
5501 src
= (wxCheckListBox
*) ptr
;
5502 dest
= (wxEvtHandler
*) src
;
5503 return (void *) dest
;
5506 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5507 wxCheckListBox
*src
;
5509 src
= (wxCheckListBox
*) ptr
;
5510 dest
= (wxObject
*) src
;
5511 return (void *) dest
;
5514 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5515 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5516 PyObject
* _resultobj
;
5517 wxCheckListBox
* _result
;
5520 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5521 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5522 int _arg4
= (int ) 0;
5523 wxString
* _arg5
= (wxString
*) NULL
;
5524 long _arg6
= (long ) 0;
5525 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5526 char * _arg8
= (char *) "listBox";
5527 PyObject
* _argo0
= 0;
5529 PyObject
* _obj2
= 0;
5531 PyObject
* _obj3
= 0;
5532 PyObject
* _obj5
= 0;
5533 PyObject
* _argo7
= 0;
5534 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5550 if (! wxPoint_helper(_obj2
, &_arg2
))
5556 if (! wxSize_helper(_obj3
, &_arg3
))
5561 _arg5
= wxString_LIST_helper(_obj5
);
5562 if (_arg5
== NULL
) {
5567 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5568 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5575 _arg4
= PyList_Size(_obj5
);
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) return NULL
;
5588 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5589 _resultobj
= Py_BuildValue("s",_ptemp
);
5592 _resultobj
= Py_None
;
5600 #define new_wxPreCheckListBox() (new wxCheckListBox())
5601 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
* _resultobj
;
5603 wxCheckListBox
* _result
;
5604 char *_kwnames
[] = { NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) return NULL
;
5617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5618 _resultobj
= Py_BuildValue("s",_ptemp
);
5621 _resultobj
= Py_None
;
5626 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5627 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5630 wxCheckListBox
* _arg0
;
5633 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5634 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5635 int _arg5
= (int ) 0;
5636 wxString
* _arg6
= (wxString
*) NULL
;
5637 long _arg7
= (long ) 0;
5638 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5639 char * _arg9
= (char *) "listBox";
5640 PyObject
* _argo0
= 0;
5641 PyObject
* _argo1
= 0;
5643 PyObject
* _obj3
= 0;
5645 PyObject
* _obj4
= 0;
5646 PyObject
* _obj6
= 0;
5647 PyObject
* _argo8
= 0;
5648 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5670 if (! wxPoint_helper(_obj3
, &_arg3
))
5676 if (! wxSize_helper(_obj4
, &_arg4
))
5681 _arg6
= wxString_LIST_helper(_obj6
);
5682 if (_arg6
== NULL
) {
5687 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5688 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5695 _arg5
= PyList_Size(_obj6
);
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) return NULL
;
5707 } _resultobj
= Py_BuildValue("i",_result
);
5714 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5715 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
* _resultobj
;
5718 wxCheckListBox
* _arg0
;
5720 PyObject
* _argo0
= 0;
5721 char *_kwnames
[] = { "self","uiIndex", NULL
};
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) return NULL
;
5739 } _resultobj
= Py_BuildValue("i",_result
);
5743 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5744 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
* _resultobj
;
5746 wxCheckListBox
* _arg0
;
5748 int _arg2
= (int ) TRUE
;
5749 PyObject
* _argo0
= 0;
5750 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) return NULL
;
5768 } Py_INCREF(Py_None
);
5769 _resultobj
= Py_None
;
5773 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5774 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
* _resultobj
;
5776 wxCheckListBox
* _arg0
;
5780 PyObject
* _argo0
= 0;
5781 PyObject
* _obj2
= 0;
5782 char *_kwnames
[] = { "self","choices","pos", NULL
};
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5795 _arg2
= wxString_LIST_helper(_obj2
);
5796 if (_arg2
== NULL
) {
5802 _arg1
= PyList_Size(_obj2
);
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) return NULL
;
5814 } Py_INCREF(Py_None
);
5815 _resultobj
= Py_None
;
5822 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5823 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
* _resultobj
;
5826 wxCheckListBox
* _arg0
;
5827 PyObject
* _argo0
= 0;
5828 char *_kwnames
[] = { "self", NULL
};
5831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) return NULL
;
5846 } _resultobj
= Py_BuildValue("i",_result
);
5850 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5851 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
* _resultobj
;
5853 wxTextAttr
* _result
;
5854 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5855 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5856 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5858 PyObject
* _obj0
= 0;
5860 PyObject
* _obj1
= 0;
5861 PyObject
* _argo2
= 0;
5862 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5871 if (! wxColour_helper(_obj0
, &_arg0
))
5877 if (! wxColour_helper(_obj1
, &_arg1
))
5881 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) return NULL
;
5894 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5895 _resultobj
= Py_BuildValue("s",_ptemp
);
5898 _resultobj
= Py_None
;
5903 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5904 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
* _resultobj
;
5907 PyObject
* _argo0
= 0;
5908 char *_kwnames
[] = { "self", NULL
};
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 delete_wxTextAttr(_arg0
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) return NULL
;
5926 } Py_INCREF(Py_None
);
5927 _resultobj
= Py_None
;
5931 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5932 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5936 PyObject
* _argo0
= 0;
5938 PyObject
* _obj1
= 0;
5939 char *_kwnames
[] = { "self","colText", NULL
};
5942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5953 if (! wxColour_helper(_obj1
, &_arg1
))
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) return NULL
;
5962 } Py_INCREF(Py_None
);
5963 _resultobj
= Py_None
;
5967 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5968 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
* _resultobj
;
5972 PyObject
* _argo0
= 0;
5974 PyObject
* _obj1
= 0;
5975 char *_kwnames
[] = { "self","colBack", NULL
};
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5989 if (! wxColour_helper(_obj1
, &_arg1
))
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) return NULL
;
5998 } Py_INCREF(Py_None
);
5999 _resultobj
= Py_None
;
6003 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6004 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6005 PyObject
* _resultobj
;
6008 PyObject
* _argo0
= 0;
6009 PyObject
* _argo1
= 0;
6010 char *_kwnames
[] = { "self","font", NULL
};
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
6016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
6023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 wxTextAttr_SetFont(_arg0
,*_arg1
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) return NULL
;
6035 } Py_INCREF(Py_None
);
6036 _resultobj
= Py_None
;
6040 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6041 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
* _resultobj
;
6045 PyObject
* _argo0
= 0;
6046 char *_kwnames
[] = { "self", NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
6052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) return NULL
;
6064 } _resultobj
= Py_BuildValue("i",_result
);
6068 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6069 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
* _resultobj
;
6073 PyObject
* _argo0
= 0;
6074 char *_kwnames
[] = { "self", NULL
};
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
6080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) return NULL
;
6092 } _resultobj
= Py_BuildValue("i",_result
);
6096 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6097 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6098 PyObject
* _resultobj
;
6101 PyObject
* _argo0
= 0;
6102 char *_kwnames
[] = { "self", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 _result
= (bool )wxTextAttr_HasFont(_arg0
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) return NULL
;
6120 } _resultobj
= Py_BuildValue("i",_result
);
6124 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6125 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
* _resultobj
;
6129 PyObject
* _argo0
= 0;
6130 char *_kwnames
[] = { "self", NULL
};
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
6137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) return NULL
;
6149 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6150 _resultobj
= Py_BuildValue("s",_ptemp
);
6154 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6155 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
* _resultobj
;
6159 PyObject
* _argo0
= 0;
6160 char *_kwnames
[] = { "self", NULL
};
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) return NULL
;
6179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6180 _resultobj
= Py_BuildValue("s",_ptemp
);
6184 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6185 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
* _resultobj
;
6189 PyObject
* _argo0
= 0;
6190 char *_kwnames
[] = { "self", NULL
};
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
6197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) return NULL
;
6209 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6210 _resultobj
= Py_BuildValue("s",_ptemp
);
6214 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6215 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
* _resultobj
;
6219 PyObject
* _argo0
= 0;
6220 char *_kwnames
[] = { "self", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6234 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
6236 wxPyEndAllowThreads(__tstate
);
6237 if (PyErr_Occurred()) return NULL
;
6238 } _resultobj
= Py_BuildValue("i",_result
);
6242 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
* _resultobj
;
6244 wxTextAttr
* _result
;
6248 PyObject
* _argo0
= 0;
6249 PyObject
* _argo1
= 0;
6250 PyObject
* _argo2
= 0;
6251 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6265 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6272 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6273 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
6274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) return NULL
;
6284 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
6285 _resultobj
= Py_BuildValue("s",_ptemp
);
6289 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6292 src
= (wxTextCtrl
*) ptr
;
6293 dest
= (wxControl
*) src
;
6294 return (void *) dest
;
6297 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6300 src
= (wxTextCtrl
*) ptr
;
6301 dest
= (wxWindow
*) src
;
6302 return (void *) dest
;
6305 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6308 src
= (wxTextCtrl
*) ptr
;
6309 dest
= (wxEvtHandler
*) src
;
6310 return (void *) dest
;
6313 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6316 src
= (wxTextCtrl
*) ptr
;
6317 dest
= (wxObject
*) src
;
6318 return (void *) dest
;
6321 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6322 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
* _resultobj
;
6324 wxTextCtrl
* _result
;
6327 char * _arg2
= (char *) "";
6328 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6329 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6330 long _arg5
= (long ) 0;
6331 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6332 char * _arg7
= (char *) "text";
6333 PyObject
* _argo0
= 0;
6335 PyObject
* _obj3
= 0;
6337 PyObject
* _obj4
= 0;
6338 PyObject
* _argo6
= 0;
6339 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6355 if (! wxPoint_helper(_obj3
, &_arg3
))
6361 if (! wxSize_helper(_obj4
, &_arg4
))
6365 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6366 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) return NULL
;
6378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6379 _resultobj
= Py_BuildValue("s",_ptemp
);
6382 _resultobj
= Py_None
;
6387 #define new_wxPreTextCtrl() (new wxTextCtrl())
6388 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
* _resultobj
;
6390 wxTextCtrl
* _result
;
6391 char *_kwnames
[] = { NULL
};
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) return NULL
;
6404 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6405 _resultobj
= Py_BuildValue("s",_ptemp
);
6408 _resultobj
= Py_None
;
6413 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6414 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
* _resultobj
;
6420 char * _arg3
= (char *) "";
6421 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6422 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6423 long _arg6
= (long ) 0;
6424 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6425 char * _arg8
= (char *) "text";
6426 PyObject
* _argo0
= 0;
6427 PyObject
* _argo1
= 0;
6429 PyObject
* _obj4
= 0;
6431 PyObject
* _obj5
= 0;
6432 PyObject
* _argo7
= 0;
6433 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6446 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6455 if (! wxPoint_helper(_obj4
, &_arg4
))
6461 if (! wxSize_helper(_obj5
, &_arg5
))
6465 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6466 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) return NULL
;
6477 } _resultobj
= Py_BuildValue("i",_result
);
6481 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6482 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
* _resultobj
;
6486 PyObject
* _argo0
= 0;
6487 char *_kwnames
[] = { "self", NULL
};
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) return NULL
;
6506 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6514 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6515 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
* _resultobj
;
6519 PyObject
* _argo0
= 0;
6520 PyObject
* _obj1
= 0;
6521 char *_kwnames
[] = { "self","value", NULL
};
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6534 #if PYTHON_API_VERSION >= 1009
6535 char* tmpPtr
; int tmpSize
;
6536 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6537 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6540 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6542 _arg1
= new wxString(tmpPtr
, tmpSize
);
6544 if (!PyString_Check(_obj1
)) {
6545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6548 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) return NULL
;
6557 } Py_INCREF(Py_None
);
6558 _resultobj
= Py_None
;
6566 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6567 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
* _resultobj
;
6572 PyObject
* _argo0
= 0;
6573 char *_kwnames
[] = { "self","lineNo", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) return NULL
;
6591 } _resultobj
= Py_BuildValue("i",_result
);
6595 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6596 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6601 PyObject
* _argo0
= 0;
6602 char *_kwnames
[] = { "self","lineNo", NULL
};
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) return NULL
;
6621 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6629 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6630 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6634 PyObject
* _argo0
= 0;
6635 char *_kwnames
[] = { "self", NULL
};
6638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) return NULL
;
6653 } _resultobj
= Py_BuildValue("i",_result
);
6657 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6658 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
* _resultobj
;
6662 PyObject
* _argo0
= 0;
6663 char *_kwnames
[] = { "self", NULL
};
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) return NULL
;
6681 } _resultobj
= Py_BuildValue("i",_result
);
6685 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6686 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
* _resultobj
;
6690 PyObject
* _argo0
= 0;
6691 char *_kwnames
[] = { "self", NULL
};
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) return NULL
;
6709 } _resultobj
= Py_BuildValue("i",_result
);
6713 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6714 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6715 PyObject
* _resultobj
;
6721 PyObject
* _argo0
= 0;
6722 char *_kwnames
[] = { "self", NULL
};
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6744 wxPyEndAllowThreads(__tstate
);
6745 if (PyErr_Occurred()) return NULL
;
6746 } Py_INCREF(Py_None
);
6747 _resultobj
= Py_None
;
6750 o
= PyInt_FromLong((long) (*_arg1
));
6751 _resultobj
= t_output_helper(_resultobj
, o
);
6755 o
= PyInt_FromLong((long) (*_arg2
));
6756 _resultobj
= t_output_helper(_resultobj
, o
);
6761 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6762 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
* _resultobj
;
6766 PyObject
* _argo0
= 0;
6767 char *_kwnames
[] = { "self", NULL
};
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6781 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6783 wxPyEndAllowThreads(__tstate
);
6784 if (PyErr_Occurred()) return NULL
;
6786 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6794 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6795 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
* _resultobj
;
6798 PyObject
* _argo0
= 0;
6799 char *_kwnames
[] = { "self", NULL
};
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 wxTextCtrl_Clear(_arg0
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) return NULL
;
6817 } Py_INCREF(Py_None
);
6818 _resultobj
= Py_None
;
6822 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6823 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6829 PyObject
* _argo0
= 0;
6830 PyObject
* _obj3
= 0;
6831 char *_kwnames
[] = { "self","from","to","value", NULL
};
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6844 #if PYTHON_API_VERSION >= 1009
6845 char* tmpPtr
; int tmpSize
;
6846 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6847 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6850 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6852 _arg3
= new wxString(tmpPtr
, tmpSize
);
6854 if (!PyString_Check(_obj3
)) {
6855 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6858 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) return NULL
;
6867 } Py_INCREF(Py_None
);
6868 _resultobj
= Py_None
;
6876 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6877 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6878 PyObject
* _resultobj
;
6882 PyObject
* _argo0
= 0;
6883 char *_kwnames
[] = { "self","from","to", NULL
};
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) return NULL
;
6901 } Py_INCREF(Py_None
);
6902 _resultobj
= Py_None
;
6906 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6907 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
* _resultobj
;
6912 PyObject
* _argo0
= 0;
6913 PyObject
* _obj1
= 0;
6914 char *_kwnames
[] = { "self","file", NULL
};
6917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6927 #if PYTHON_API_VERSION >= 1009
6928 char* tmpPtr
; int tmpSize
;
6929 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6930 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6933 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6935 _arg1
= new wxString(tmpPtr
, tmpSize
);
6937 if (!PyString_Check(_obj1
)) {
6938 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6941 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) return NULL
;
6950 } _resultobj
= Py_BuildValue("i",_result
);
6958 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6959 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
* _resultobj
;
6963 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6964 PyObject
* _argo0
= 0;
6965 PyObject
* _obj1
= 0;
6966 char *_kwnames
[] = { "self","file", NULL
};
6969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6980 #if PYTHON_API_VERSION >= 1009
6981 char* tmpPtr
; int tmpSize
;
6982 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6983 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6986 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6988 _arg1
= new wxString(tmpPtr
, tmpSize
);
6990 if (!PyString_Check(_obj1
)) {
6991 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6994 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) return NULL
;
7003 } _resultobj
= Py_BuildValue("i",_result
);
7011 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7012 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
* _resultobj
;
7015 PyObject
* _argo0
= 0;
7016 char *_kwnames
[] = { "self", NULL
};
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
7022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 wxTextCtrl_DiscardEdits(_arg0
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) return NULL
;
7034 } Py_INCREF(Py_None
);
7035 _resultobj
= Py_None
;
7039 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7040 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
* _resultobj
;
7043 unsigned long _arg1
;
7044 PyObject
* _argo0
= 0;
7045 char *_kwnames
[] = { "self","len", NULL
};
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
7051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) return NULL
;
7063 } Py_INCREF(Py_None
);
7064 _resultobj
= Py_None
;
7068 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7069 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
* _resultobj
;
7073 PyObject
* _argo0
= 0;
7074 PyObject
* _obj1
= 0;
7075 char *_kwnames
[] = { "self","text", NULL
};
7078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
7081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7088 #if PYTHON_API_VERSION >= 1009
7089 char* tmpPtr
; int tmpSize
;
7090 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7091 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7094 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7096 _arg1
= new wxString(tmpPtr
, tmpSize
);
7098 if (!PyString_Check(_obj1
)) {
7099 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7102 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 wxTextCtrl_WriteText(_arg0
,*_arg1
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) return NULL
;
7111 } Py_INCREF(Py_None
);
7112 _resultobj
= Py_None
;
7120 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7121 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
* _resultobj
;
7125 PyObject
* _argo0
= 0;
7126 PyObject
* _obj1
= 0;
7127 char *_kwnames
[] = { "self","text", NULL
};
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
7133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7140 #if PYTHON_API_VERSION >= 1009
7141 char* tmpPtr
; int tmpSize
;
7142 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7143 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7146 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7148 _arg1
= new wxString(tmpPtr
, tmpSize
);
7150 if (!PyString_Check(_obj1
)) {
7151 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7154 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 wxTextCtrl_AppendText(_arg0
,*_arg1
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) return NULL
;
7163 } Py_INCREF(Py_None
);
7164 _resultobj
= Py_None
;
7172 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7173 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
* _resultobj
;
7180 PyObject
* _argo0
= 0;
7181 PyObject
* _argo3
= 0;
7182 char *_kwnames
[] = { "self","start","end","style", NULL
};
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
7188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7195 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7196 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
7197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) return NULL
;
7207 } _resultobj
= Py_BuildValue("i",_result
);
7211 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7212 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
* _resultobj
;
7217 PyObject
* _argo0
= 0;
7218 PyObject
* _argo1
= 0;
7219 char *_kwnames
[] = { "self","style", NULL
};
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7232 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7233 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) return NULL
;
7244 } _resultobj
= Py_BuildValue("i",_result
);
7248 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7249 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
* _resultobj
;
7251 wxTextAttr
* _result
;
7253 PyObject
* _argo0
= 0;
7254 char *_kwnames
[] = { "self", NULL
};
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7270 _result
= (wxTextAttr
*) &_result_ref
;
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) return NULL
;
7275 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7276 _resultobj
= Py_BuildValue("s",_ptemp
);
7279 _resultobj
= Py_None
;
7284 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7285 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
* _resultobj
;
7291 PyObject
* _argo0
= 0;
7292 char *_kwnames
[] = { "self","x","y", NULL
};
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) return NULL
;
7310 } _resultobj
= Py_BuildValue("l",_result
);
7314 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7315 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
* _resultobj
;
7324 PyObject
* _argo0
= 0;
7325 char *_kwnames
[] = { "self","pos", NULL
};
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 _result
= (bool )wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) return NULL
;
7349 } _resultobj
= Py_BuildValue("i",_result
);
7352 o
= PyInt_FromLong((long) (*_arg2
));
7353 _resultobj
= t_output_helper(_resultobj
, o
);
7357 o
= PyInt_FromLong((long) (*_arg3
));
7358 _resultobj
= t_output_helper(_resultobj
, o
);
7363 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7364 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
* _resultobj
;
7368 PyObject
* _argo0
= 0;
7369 char *_kwnames
[] = { "self","pos", NULL
};
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7383 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) return NULL
;
7387 } Py_INCREF(Py_None
);
7388 _resultobj
= Py_None
;
7392 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7393 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7394 PyObject
* _resultobj
;
7396 PyObject
* _argo0
= 0;
7397 char *_kwnames
[] = { "self", NULL
};
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 wxTextCtrl_Copy(_arg0
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) return NULL
;
7415 } Py_INCREF(Py_None
);
7416 _resultobj
= Py_None
;
7420 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7421 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
* _resultobj
;
7424 PyObject
* _argo0
= 0;
7425 char *_kwnames
[] = { "self", NULL
};
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 wxTextCtrl_Cut(_arg0
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) return NULL
;
7443 } Py_INCREF(Py_None
);
7444 _resultobj
= Py_None
;
7448 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7449 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
* _resultobj
;
7452 PyObject
* _argo0
= 0;
7453 char *_kwnames
[] = { "self", NULL
};
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 wxTextCtrl_Paste(_arg0
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) return NULL
;
7471 } Py_INCREF(Py_None
);
7472 _resultobj
= Py_None
;
7476 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7477 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7478 PyObject
* _resultobj
;
7481 PyObject
* _argo0
= 0;
7482 char *_kwnames
[] = { "self", NULL
};
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) return NULL
;
7500 } _resultobj
= Py_BuildValue("i",_result
);
7504 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7505 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
* _resultobj
;
7509 PyObject
* _argo0
= 0;
7510 char *_kwnames
[] = { "self", NULL
};
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) return NULL
;
7528 } _resultobj
= Py_BuildValue("i",_result
);
7532 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7533 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
* _resultobj
;
7537 PyObject
* _argo0
= 0;
7538 char *_kwnames
[] = { "self", NULL
};
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) return NULL
;
7556 } _resultobj
= Py_BuildValue("i",_result
);
7560 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7561 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7562 PyObject
* _resultobj
;
7564 PyObject
* _argo0
= 0;
7565 char *_kwnames
[] = { "self", NULL
};
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 wxTextCtrl_Undo(_arg0
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) return NULL
;
7583 } Py_INCREF(Py_None
);
7584 _resultobj
= Py_None
;
7588 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7589 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
* _resultobj
;
7592 PyObject
* _argo0
= 0;
7593 char *_kwnames
[] = { "self", NULL
};
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 wxTextCtrl_Redo(_arg0
);
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) return NULL
;
7611 } Py_INCREF(Py_None
);
7612 _resultobj
= Py_None
;
7616 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7617 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
* _resultobj
;
7621 PyObject
* _argo0
= 0;
7622 char *_kwnames
[] = { "self", NULL
};
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) return NULL
;
7640 } _resultobj
= Py_BuildValue("i",_result
);
7644 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7645 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
* _resultobj
;
7649 PyObject
* _argo0
= 0;
7650 char *_kwnames
[] = { "self", NULL
};
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) return NULL
;
7668 } _resultobj
= Py_BuildValue("i",_result
);
7672 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7673 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7674 PyObject
* _resultobj
;
7677 PyObject
* _argo0
= 0;
7678 char *_kwnames
[] = { "self","pos", NULL
};
7681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) return NULL
;
7696 } Py_INCREF(Py_None
);
7697 _resultobj
= Py_None
;
7701 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7702 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
* _resultobj
;
7705 PyObject
* _argo0
= 0;
7706 char *_kwnames
[] = { "self", NULL
};
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) return NULL
;
7724 } Py_INCREF(Py_None
);
7725 _resultobj
= Py_None
;
7729 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7730 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
* _resultobj
;
7734 PyObject
* _argo0
= 0;
7735 char *_kwnames
[] = { "self", NULL
};
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) return NULL
;
7753 } _resultobj
= Py_BuildValue("l",_result
);
7757 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7758 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
* _resultobj
;
7762 PyObject
* _argo0
= 0;
7763 char *_kwnames
[] = { "self", NULL
};
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) return NULL
;
7781 } _resultobj
= Py_BuildValue("l",_result
);
7785 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7786 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
* _resultobj
;
7791 PyObject
* _argo0
= 0;
7792 char *_kwnames
[] = { "self","from","to", NULL
};
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) return NULL
;
7810 } Py_INCREF(Py_None
);
7811 _resultobj
= Py_None
;
7815 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7816 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
* _resultobj
;
7819 PyObject
* _argo0
= 0;
7820 char *_kwnames
[] = { "self", NULL
};
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 wxTextCtrl_SelectAll(_arg0
);
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) return NULL
;
7838 } Py_INCREF(Py_None
);
7839 _resultobj
= Py_None
;
7843 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7844 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
* _resultobj
;
7848 PyObject
* _argo0
= 0;
7850 char *_kwnames
[] = { "self","editable", NULL
};
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7862 _arg1
= (bool ) tempbool1
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) return NULL
;
7869 } Py_INCREF(Py_None
);
7870 _resultobj
= Py_None
;
7874 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7875 self
->AppendText(text
);
7877 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
* _resultobj
;
7881 PyObject
* _argo0
= 0;
7882 PyObject
* _obj1
= 0;
7883 char *_kwnames
[] = { "self","text", NULL
};
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7896 #if PYTHON_API_VERSION >= 1009
7897 char* tmpPtr
; int tmpSize
;
7898 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7899 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7902 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7904 _arg1
= new wxString(tmpPtr
, tmpSize
);
7906 if (!PyString_Check(_obj1
)) {
7907 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7910 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 wxTextCtrl_write(_arg0
,*_arg1
);
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) return NULL
;
7919 } Py_INCREF(Py_None
);
7920 _resultobj
= Py_None
;
7928 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7929 return self
->GetValue().Mid(from
, to
-from
);
7931 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
* _resultobj
;
7937 PyObject
* _argo0
= 0;
7938 char *_kwnames
[] = { "self","from","to", NULL
};
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) return NULL
;
7957 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7965 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7968 src
= (wxScrollBar
*) ptr
;
7969 dest
= (wxControl
*) src
;
7970 return (void *) dest
;
7973 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7976 src
= (wxScrollBar
*) ptr
;
7977 dest
= (wxWindow
*) src
;
7978 return (void *) dest
;
7981 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7984 src
= (wxScrollBar
*) ptr
;
7985 dest
= (wxEvtHandler
*) src
;
7986 return (void *) dest
;
7989 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7992 src
= (wxScrollBar
*) ptr
;
7993 dest
= (wxObject
*) src
;
7994 return (void *) dest
;
7997 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7998 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
* _resultobj
;
8000 wxScrollBar
* _result
;
8002 wxWindowID _arg1
= (wxWindowID
) -1;
8003 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8004 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8005 long _arg4
= (long ) wxSB_HORIZONTAL
;
8006 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
8007 char * _arg6
= (char *) "scrollBar";
8008 PyObject
* _argo0
= 0;
8010 PyObject
* _obj2
= 0;
8012 PyObject
* _obj3
= 0;
8013 PyObject
* _argo5
= 0;
8014 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
8021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8030 if (! wxPoint_helper(_obj2
, &_arg2
))
8036 if (! wxSize_helper(_obj3
, &_arg3
))
8040 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8041 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
8042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) return NULL
;
8053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8054 _resultobj
= Py_BuildValue("s",_ptemp
);
8057 _resultobj
= Py_None
;
8062 #define new_wxPreScrollBar() (new wxScrollBar())
8063 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
* _resultobj
;
8065 wxScrollBar
* _result
;
8066 char *_kwnames
[] = { NULL
};
8070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 _result
= (wxScrollBar
*)new_wxPreScrollBar();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) return NULL
;
8079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8080 _resultobj
= Py_BuildValue("s",_ptemp
);
8083 _resultobj
= Py_None
;
8088 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8089 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8090 PyObject
* _resultobj
;
8092 wxScrollBar
* _arg0
;
8094 wxWindowID _arg2
= (wxWindowID
) -1;
8095 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8096 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8097 long _arg5
= (long ) wxSB_HORIZONTAL
;
8098 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8099 char * _arg7
= (char *) "scrollBar";
8100 PyObject
* _argo0
= 0;
8101 PyObject
* _argo1
= 0;
8103 PyObject
* _obj3
= 0;
8105 PyObject
* _obj4
= 0;
8106 PyObject
* _argo6
= 0;
8107 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
8110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
8113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8120 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8121 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8129 if (! wxPoint_helper(_obj3
, &_arg3
))
8135 if (! wxSize_helper(_obj4
, &_arg4
))
8139 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8140 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) return NULL
;
8151 } _resultobj
= Py_BuildValue("i",_result
);
8155 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8156 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
* _resultobj
;
8159 wxScrollBar
* _arg0
;
8160 PyObject
* _argo0
= 0;
8161 char *_kwnames
[] = { "self", NULL
};
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
8167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 _result
= (int )wxScrollBar_GetRange(_arg0
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) return NULL
;
8179 } _resultobj
= Py_BuildValue("i",_result
);
8183 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8184 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
* _resultobj
;
8187 wxScrollBar
* _arg0
;
8188 PyObject
* _argo0
= 0;
8189 char *_kwnames
[] = { "self", NULL
};
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
8195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) return NULL
;
8207 } _resultobj
= Py_BuildValue("i",_result
);
8211 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8212 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
* _resultobj
;
8215 wxScrollBar
* _arg0
;
8216 PyObject
* _argo0
= 0;
8217 char *_kwnames
[] = { "self", NULL
};
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) return NULL
;
8235 } _resultobj
= Py_BuildValue("i",_result
);
8239 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8240 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
* _resultobj
;
8243 wxScrollBar
* _arg0
;
8244 PyObject
* _argo0
= 0;
8245 char *_kwnames
[] = { "self", NULL
};
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) return NULL
;
8263 } _resultobj
= Py_BuildValue("i",_result
);
8267 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8268 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
* _resultobj
;
8271 wxScrollBar
* _arg0
;
8272 PyObject
* _argo0
= 0;
8273 char *_kwnames
[] = { "self", NULL
};
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) return NULL
;
8291 } _resultobj
= Py_BuildValue("i",_result
);
8295 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8296 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
* _resultobj
;
8298 wxScrollBar
* _arg0
;
8300 PyObject
* _argo0
= 0;
8301 char *_kwnames
[] = { "self","viewStart", NULL
};
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) return NULL
;
8319 } Py_INCREF(Py_None
);
8320 _resultobj
= Py_None
;
8324 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8325 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
* _resultobj
;
8327 wxScrollBar
* _arg0
;
8332 bool _arg5
= (bool ) TRUE
;
8333 PyObject
* _argo0
= 0;
8334 int tempbool5
= (int) TRUE
;
8335 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8347 _arg5
= (bool ) tempbool5
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) return NULL
;
8354 } Py_INCREF(Py_None
);
8355 _resultobj
= Py_None
;
8359 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8362 src
= (wxSpinButton
*) ptr
;
8363 dest
= (wxControl
*) src
;
8364 return (void *) dest
;
8367 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8370 src
= (wxSpinButton
*) ptr
;
8371 dest
= (wxWindow
*) src
;
8372 return (void *) dest
;
8375 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8378 src
= (wxSpinButton
*) ptr
;
8379 dest
= (wxEvtHandler
*) src
;
8380 return (void *) dest
;
8383 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8386 src
= (wxSpinButton
*) ptr
;
8387 dest
= (wxObject
*) src
;
8388 return (void *) dest
;
8391 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8392 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
* _resultobj
;
8394 wxSpinButton
* _result
;
8396 wxWindowID _arg1
= (wxWindowID
) -1;
8397 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8398 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8399 long _arg4
= (long ) wxSP_HORIZONTAL
;
8400 char * _arg5
= (char *) "spinButton";
8401 PyObject
* _argo0
= 0;
8403 PyObject
* _obj2
= 0;
8405 PyObject
* _obj3
= 0;
8406 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8422 if (! wxPoint_helper(_obj2
, &_arg2
))
8428 if (! wxSize_helper(_obj3
, &_arg3
))
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) return NULL
;
8438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8439 _resultobj
= Py_BuildValue("s",_ptemp
);
8442 _resultobj
= Py_None
;
8447 #define new_wxPreSpinButton() (new wxSpinButton())
8448 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
* _resultobj
;
8450 wxSpinButton
* _result
;
8451 char *_kwnames
[] = { NULL
};
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8459 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) return NULL
;
8464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8465 _resultobj
= Py_BuildValue("s",_ptemp
);
8468 _resultobj
= Py_None
;
8473 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8474 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
* _resultobj
;
8477 wxSpinButton
* _arg0
;
8479 wxWindowID _arg2
= (wxWindowID
) -1;
8480 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8481 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8482 long _arg5
= (long ) wxSP_HORIZONTAL
;
8483 char * _arg6
= (char *) "spinButton";
8484 PyObject
* _argo0
= 0;
8485 PyObject
* _argo1
= 0;
8487 PyObject
* _obj3
= 0;
8489 PyObject
* _obj4
= 0;
8490 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8512 if (! wxPoint_helper(_obj3
, &_arg3
))
8518 if (! wxSize_helper(_obj4
, &_arg4
))
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) return NULL
;
8527 } _resultobj
= Py_BuildValue("i",_result
);
8531 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8532 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
* _resultobj
;
8535 wxSpinButton
* _arg0
;
8536 PyObject
* _argo0
= 0;
8537 char *_kwnames
[] = { "self", NULL
};
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 _result
= (int )wxSpinButton_GetMax(_arg0
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) return NULL
;
8555 } _resultobj
= Py_BuildValue("i",_result
);
8559 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8560 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
* _resultobj
;
8563 wxSpinButton
* _arg0
;
8564 PyObject
* _argo0
= 0;
8565 char *_kwnames
[] = { "self", NULL
};
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 _result
= (int )wxSpinButton_GetMin(_arg0
);
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) return NULL
;
8583 } _resultobj
= Py_BuildValue("i",_result
);
8587 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8588 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
* _resultobj
;
8591 wxSpinButton
* _arg0
;
8592 PyObject
* _argo0
= 0;
8593 char *_kwnames
[] = { "self", NULL
};
8596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8607 _result
= (int )wxSpinButton_GetValue(_arg0
);
8609 wxPyEndAllowThreads(__tstate
);
8610 if (PyErr_Occurred()) return NULL
;
8611 } _resultobj
= Py_BuildValue("i",_result
);
8615 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8616 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
* _resultobj
;
8618 wxSpinButton
* _arg0
;
8621 PyObject
* _argo0
= 0;
8622 char *_kwnames
[] = { "self","min","max", NULL
};
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) return NULL
;
8640 } Py_INCREF(Py_None
);
8641 _resultobj
= Py_None
;
8645 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8646 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
* _resultobj
;
8648 wxSpinButton
* _arg0
;
8650 PyObject
* _argo0
= 0;
8651 char *_kwnames
[] = { "self","value", NULL
};
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 wxSpinButton_SetValue(_arg0
,_arg1
);
8667 wxPyEndAllowThreads(__tstate
);
8668 if (PyErr_Occurred()) return NULL
;
8669 } Py_INCREF(Py_None
);
8670 _resultobj
= Py_None
;
8674 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8675 wxStaticBitmap
*src
;
8677 src
= (wxStaticBitmap
*) ptr
;
8678 dest
= (wxControl
*) src
;
8679 return (void *) dest
;
8682 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8683 wxStaticBitmap
*src
;
8685 src
= (wxStaticBitmap
*) ptr
;
8686 dest
= (wxWindow
*) src
;
8687 return (void *) dest
;
8690 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8691 wxStaticBitmap
*src
;
8693 src
= (wxStaticBitmap
*) ptr
;
8694 dest
= (wxEvtHandler
*) src
;
8695 return (void *) dest
;
8698 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8699 wxStaticBitmap
*src
;
8701 src
= (wxStaticBitmap
*) ptr
;
8702 dest
= (wxObject
*) src
;
8703 return (void *) dest
;
8706 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8707 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
* _resultobj
;
8709 wxStaticBitmap
* _result
;
8713 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8714 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8715 long _arg5
= (long ) 0;
8716 char * _arg6
= (char *) "staticBitmap";
8717 PyObject
* _argo0
= 0;
8718 PyObject
* _argo2
= 0;
8720 PyObject
* _obj3
= 0;
8722 PyObject
* _obj4
= 0;
8723 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8737 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8738 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8746 if (! wxPoint_helper(_obj3
, &_arg3
))
8752 if (! wxSize_helper(_obj4
, &_arg4
))
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) return NULL
;
8762 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8763 _resultobj
= Py_BuildValue("s",_ptemp
);
8766 _resultobj
= Py_None
;
8771 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8772 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
* _resultobj
;
8774 wxStaticBitmap
* _result
;
8775 char *_kwnames
[] = { NULL
};
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) return NULL
;
8788 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8789 _resultobj
= Py_BuildValue("s",_ptemp
);
8792 _resultobj
= Py_None
;
8797 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8798 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
* _resultobj
;
8801 wxStaticBitmap
* _arg0
;
8805 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8806 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8807 long _arg6
= (long ) 0;
8808 char * _arg7
= (char *) "staticBitmap";
8809 PyObject
* _argo0
= 0;
8810 PyObject
* _argo1
= 0;
8811 PyObject
* _argo3
= 0;
8813 PyObject
* _obj4
= 0;
8815 PyObject
* _obj5
= 0;
8816 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8829 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8830 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8836 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8837 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8845 if (! wxPoint_helper(_obj4
, &_arg4
))
8851 if (! wxSize_helper(_obj5
, &_arg5
))
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) return NULL
;
8860 } _resultobj
= Py_BuildValue("i",_result
);
8864 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8865 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
* _resultobj
;
8868 wxStaticBitmap
* _arg0
;
8869 PyObject
* _argo0
= 0;
8870 char *_kwnames
[] = { "self", NULL
};
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) return NULL
;
8889 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8890 _resultobj
= Py_BuildValue("s",_ptemp
);
8894 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8895 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
* _resultobj
;
8897 wxStaticBitmap
* _arg0
;
8899 PyObject
* _argo0
= 0;
8900 PyObject
* _argo1
= 0;
8901 char *_kwnames
[] = { "self","bitmap", NULL
};
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8914 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8915 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) return NULL
;
8926 } Py_INCREF(Py_None
);
8927 _resultobj
= Py_None
;
8931 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8932 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
* _resultobj
;
8934 wxStaticBitmap
* _arg0
;
8936 PyObject
* _argo0
= 0;
8937 PyObject
* _argo1
= 0;
8938 char *_kwnames
[] = { "self","icon", NULL
};
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8951 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8952 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) return NULL
;
8963 } Py_INCREF(Py_None
);
8964 _resultobj
= Py_None
;
8968 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8971 src
= (wxRadioBox
*) ptr
;
8972 dest
= (wxControl
*) src
;
8973 return (void *) dest
;
8976 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8979 src
= (wxRadioBox
*) ptr
;
8980 dest
= (wxWindow
*) src
;
8981 return (void *) dest
;
8984 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8987 src
= (wxRadioBox
*) ptr
;
8988 dest
= (wxEvtHandler
*) src
;
8989 return (void *) dest
;
8992 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8995 src
= (wxRadioBox
*) ptr
;
8996 dest
= (wxObject
*) src
;
8997 return (void *) dest
;
9000 #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))
9001 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
* _resultobj
;
9003 wxRadioBox
* _result
;
9007 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9008 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9009 int _arg5
= (int ) 0;
9010 wxString
* _arg6
= (wxString
*) NULL
;
9011 int _arg7
= (int ) 0;
9012 long _arg8
= (long ) wxRA_HORIZONTAL
;
9013 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9014 char * _arg10
= (char *) "radioBox";
9015 PyObject
* _argo0
= 0;
9016 PyObject
* _obj2
= 0;
9018 PyObject
* _obj3
= 0;
9020 PyObject
* _obj4
= 0;
9021 PyObject
* _obj6
= 0;
9022 PyObject
* _argo9
= 0;
9023 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
9030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9037 #if PYTHON_API_VERSION >= 1009
9038 char* tmpPtr
; int tmpSize
;
9039 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9040 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9043 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9045 _arg2
= new wxString(tmpPtr
, tmpSize
);
9047 if (!PyString_Check(_obj2
)) {
9048 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9051 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9057 if (! wxPoint_helper(_obj3
, &_arg3
))
9063 if (! wxSize_helper(_obj4
, &_arg4
))
9068 _arg6
= wxString_LIST_helper(_obj6
);
9069 if (_arg6
== NULL
) {
9074 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9075 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9082 _arg5
= PyList_Size(_obj6
);
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) return NULL
;
9095 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9096 _resultobj
= Py_BuildValue("s",_ptemp
);
9099 _resultobj
= Py_None
;
9111 #define new_wxPreRadioBox() (new wxRadioBox())
9112 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
* _resultobj
;
9114 wxRadioBox
* _result
;
9115 char *_kwnames
[] = { NULL
};
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 _result
= (wxRadioBox
*)new_wxPreRadioBox();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) return NULL
;
9128 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9129 _resultobj
= Py_BuildValue("s",_ptemp
);
9132 _resultobj
= Py_None
;
9137 #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))
9138 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
* _resultobj
;
9145 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9146 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9147 int _arg6
= (int ) 0;
9148 wxString
* _arg7
= (wxString
*) NULL
;
9149 int _arg8
= (int ) 0;
9150 long _arg9
= (long ) wxRA_HORIZONTAL
;
9151 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
9152 char * _arg11
= (char *) "radioBox";
9153 PyObject
* _argo0
= 0;
9154 PyObject
* _argo1
= 0;
9155 PyObject
* _obj3
= 0;
9157 PyObject
* _obj4
= 0;
9159 PyObject
* _obj5
= 0;
9160 PyObject
* _obj7
= 0;
9161 PyObject
* _argo10
= 0;
9162 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
9168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
9175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9182 #if PYTHON_API_VERSION >= 1009
9183 char* tmpPtr
; int tmpSize
;
9184 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9188 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9190 _arg3
= new wxString(tmpPtr
, tmpSize
);
9192 if (!PyString_Check(_obj3
)) {
9193 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9196 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9202 if (! wxPoint_helper(_obj4
, &_arg4
))
9208 if (! wxSize_helper(_obj5
, &_arg5
))
9213 _arg7
= wxString_LIST_helper(_obj7
);
9214 if (_arg7
== NULL
) {
9219 if (_argo10
== Py_None
) { _arg10
= NULL
; }
9220 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9227 _arg6
= PyList_Size(_obj7
);
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) return NULL
;
9239 } _resultobj
= Py_BuildValue("i",_result
);
9250 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9251 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
* _resultobj
;
9255 PyObject
* _argo0
= 0;
9257 char *_kwnames
[] = { "self","enable", NULL
};
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9269 _arg1
= (bool ) tempbool1
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 wxRadioBox_Enable(_arg0
,_arg1
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) return NULL
;
9276 } Py_INCREF(Py_None
);
9277 _resultobj
= Py_None
;
9281 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9282 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9283 PyObject
* _resultobj
;
9287 PyObject
* _argo0
= 0;
9289 char *_kwnames
[] = { "self","n","enable", NULL
};
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9301 _arg2
= (bool ) tempbool2
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) return NULL
;
9308 } Py_INCREF(Py_None
);
9309 _resultobj
= Py_None
;
9313 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9314 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
* _resultobj
;
9319 PyObject
* _argo0
= 0;
9320 PyObject
* _obj1
= 0;
9321 char *_kwnames
[] = { "self","string", NULL
};
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9334 #if PYTHON_API_VERSION >= 1009
9335 char* tmpPtr
; int tmpSize
;
9336 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9337 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9340 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9342 _arg1
= new wxString(tmpPtr
, tmpSize
);
9344 if (!PyString_Check(_obj1
)) {
9345 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9348 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) return NULL
;
9357 } _resultobj
= Py_BuildValue("i",_result
);
9365 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9366 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9367 PyObject
* _resultobj
;
9371 PyObject
* _argo0
= 0;
9372 char *_kwnames
[] = { "self","n", NULL
};
9375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9386 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9388 wxPyEndAllowThreads(__tstate
);
9389 if (PyErr_Occurred()) return NULL
;
9391 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9399 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9400 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
* _resultobj
;
9405 PyObject
* _argo0
= 0;
9406 char *_kwnames
[] = { "self","item", NULL
};
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
9412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) return NULL
;
9425 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9433 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9434 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
* _resultobj
;
9439 PyObject
* _argo0
= 0;
9440 PyObject
* _obj2
= 0;
9441 char *_kwnames
[] = { "self","item","label", NULL
};
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
9454 #if PYTHON_API_VERSION >= 1009
9455 char* tmpPtr
; int tmpSize
;
9456 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9460 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9462 _arg2
= new wxString(tmpPtr
, tmpSize
);
9464 if (!PyString_Check(_obj2
)) {
9465 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9468 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) return NULL
;
9477 } Py_INCREF(Py_None
);
9478 _resultobj
= Py_None
;
9486 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9487 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
* _resultobj
;
9491 PyObject
* _argo0
= 0;
9492 char *_kwnames
[] = { "self", NULL
};
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) return NULL
;
9510 } _resultobj
= Py_BuildValue("i",_result
);
9514 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9515 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
* _resultobj
;
9519 PyObject
* _argo0
= 0;
9520 char *_kwnames
[] = { "self", NULL
};
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) return NULL
;
9539 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9547 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9548 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
* _resultobj
;
9552 PyObject
* _argo0
= 0;
9553 char *_kwnames
[] = { "self", NULL
};
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 _result
= (int )wxRadioBox_GetCount(_arg0
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) return NULL
;
9571 } _resultobj
= Py_BuildValue("i",_result
);
9575 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9576 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
* _resultobj
;
9580 PyObject
* _argo0
= 0;
9581 char *_kwnames
[] = { "self","n", NULL
};
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 wxRadioBox_SetSelection(_arg0
,_arg1
);
9597 wxPyEndAllowThreads(__tstate
);
9598 if (PyErr_Occurred()) return NULL
;
9599 } Py_INCREF(Py_None
);
9600 _resultobj
= Py_None
;
9604 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9605 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
* _resultobj
;
9609 PyObject
* _argo0
= 0;
9610 PyObject
* _obj1
= 0;
9611 char *_kwnames
[] = { "self","string", NULL
};
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9624 #if PYTHON_API_VERSION >= 1009
9625 char* tmpPtr
; int tmpSize
;
9626 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9627 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9630 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9632 _arg1
= new wxString(tmpPtr
, tmpSize
);
9634 if (!PyString_Check(_obj1
)) {
9635 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9638 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) return NULL
;
9647 } Py_INCREF(Py_None
);
9648 _resultobj
= Py_None
;
9656 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9657 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
* _resultobj
;
9661 PyObject
* _argo0
= 0;
9663 char *_kwnames
[] = { "self","show", NULL
};
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9675 _arg1
= (bool ) tempbool1
;
9677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9678 wxRadioBox_Show(_arg0
,_arg1
);
9680 wxPyEndAllowThreads(__tstate
);
9681 if (PyErr_Occurred()) return NULL
;
9682 } Py_INCREF(Py_None
);
9683 _resultobj
= Py_None
;
9687 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9688 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
* _resultobj
;
9693 PyObject
* _argo0
= 0;
9695 char *_kwnames
[] = { "self","item","show", NULL
};
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9707 _arg2
= (bool ) tempbool2
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) return NULL
;
9714 } Py_INCREF(Py_None
);
9715 _resultobj
= Py_None
;
9719 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9722 src
= (wxRadioButton
*) ptr
;
9723 dest
= (wxControl
*) src
;
9724 return (void *) dest
;
9727 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9730 src
= (wxRadioButton
*) ptr
;
9731 dest
= (wxWindow
*) src
;
9732 return (void *) dest
;
9735 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9738 src
= (wxRadioButton
*) ptr
;
9739 dest
= (wxEvtHandler
*) src
;
9740 return (void *) dest
;
9743 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9746 src
= (wxRadioButton
*) ptr
;
9747 dest
= (wxObject
*) src
;
9748 return (void *) dest
;
9751 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9752 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
* _resultobj
;
9754 wxRadioButton
* _result
;
9758 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9759 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9760 long _arg5
= (long ) 0;
9761 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9762 char * _arg7
= (char *) "radioButton";
9763 PyObject
* _argo0
= 0;
9764 PyObject
* _obj2
= 0;
9766 PyObject
* _obj3
= 0;
9768 PyObject
* _obj4
= 0;
9769 PyObject
* _argo6
= 0;
9770 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9784 #if PYTHON_API_VERSION >= 1009
9785 char* tmpPtr
; int tmpSize
;
9786 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9790 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9792 _arg2
= new wxString(tmpPtr
, tmpSize
);
9794 if (!PyString_Check(_obj2
)) {
9795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9798 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9804 if (! wxPoint_helper(_obj3
, &_arg3
))
9810 if (! wxSize_helper(_obj4
, &_arg4
))
9814 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9815 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) return NULL
;
9827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9828 _resultobj
= Py_BuildValue("s",_ptemp
);
9831 _resultobj
= Py_None
;
9840 #define new_wxPreRadioButton() (new wxRadioButton())
9841 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
* _resultobj
;
9843 wxRadioButton
* _result
;
9844 char *_kwnames
[] = { NULL
};
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) return NULL
;
9857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9858 _resultobj
= Py_BuildValue("s",_ptemp
);
9861 _resultobj
= Py_None
;
9866 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9867 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
* _resultobj
;
9870 wxRadioButton
* _arg0
;
9874 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9875 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9876 long _arg6
= (long ) 0;
9877 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9878 char * _arg8
= (char *) "radioButton";
9879 PyObject
* _argo0
= 0;
9880 PyObject
* _argo1
= 0;
9881 PyObject
* _obj3
= 0;
9883 PyObject
* _obj4
= 0;
9885 PyObject
* _obj5
= 0;
9886 PyObject
* _argo7
= 0;
9887 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9907 #if PYTHON_API_VERSION >= 1009
9908 char* tmpPtr
; int tmpSize
;
9909 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9910 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9913 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9915 _arg3
= new wxString(tmpPtr
, tmpSize
);
9917 if (!PyString_Check(_obj3
)) {
9918 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9921 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9927 if (! wxPoint_helper(_obj4
, &_arg4
))
9933 if (! wxSize_helper(_obj5
, &_arg5
))
9937 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9938 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) return NULL
;
9949 } _resultobj
= Py_BuildValue("i",_result
);
9957 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9958 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
* _resultobj
;
9961 wxRadioButton
* _arg0
;
9962 PyObject
* _argo0
= 0;
9963 char *_kwnames
[] = { "self", NULL
};
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) return NULL
;
9981 } _resultobj
= Py_BuildValue("i",_result
);
9985 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9986 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
* _resultobj
;
9988 wxRadioButton
* _arg0
;
9990 PyObject
* _argo0
= 0;
9992 char *_kwnames
[] = { "self","value", NULL
};
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10004 _arg1
= (bool ) tempbool1
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 wxRadioButton_SetValue(_arg0
,_arg1
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) return NULL
;
10011 } Py_INCREF(Py_None
);
10012 _resultobj
= Py_None
;
10016 static void *SwigwxSliderTowxControl(void *ptr
) {
10019 src
= (wxSlider
*) ptr
;
10020 dest
= (wxControl
*) src
;
10021 return (void *) dest
;
10024 static void *SwigwxSliderTowxWindow(void *ptr
) {
10027 src
= (wxSlider
*) ptr
;
10028 dest
= (wxWindow
*) src
;
10029 return (void *) dest
;
10032 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
10034 wxEvtHandler
*dest
;
10035 src
= (wxSlider
*) ptr
;
10036 dest
= (wxEvtHandler
*) src
;
10037 return (void *) dest
;
10040 static void *SwigwxSliderTowxObject(void *ptr
) {
10043 src
= (wxSlider
*) ptr
;
10044 dest
= (wxObject
*) src
;
10045 return (void *) dest
;
10048 #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))
10049 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
* _resultobj
;
10051 wxSlider
* _result
;
10057 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
10058 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
10059 long _arg7
= (long ) wxSL_HORIZONTAL
;
10060 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
10061 char * _arg9
= (char *) "slider";
10062 PyObject
* _argo0
= 0;
10064 PyObject
* _obj5
= 0;
10066 PyObject
* _obj6
= 0;
10067 PyObject
* _argo8
= 0;
10068 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
10075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10084 if (! wxPoint_helper(_obj5
, &_arg5
))
10090 if (! wxSize_helper(_obj6
, &_arg6
))
10094 if (_argo8
== Py_None
) { _arg8
= NULL
; }
10095 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
10096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) return NULL
;
10107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10108 _resultobj
= Py_BuildValue("s",_ptemp
);
10110 Py_INCREF(Py_None
);
10111 _resultobj
= Py_None
;
10116 #define new_wxPreSlider() (new wxSlider())
10117 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
* _resultobj
;
10119 wxSlider
* _result
;
10120 char *_kwnames
[] = { NULL
};
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 _result
= (wxSlider
*)new_wxPreSlider();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) return NULL
;
10133 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10134 _resultobj
= Py_BuildValue("s",_ptemp
);
10136 Py_INCREF(Py_None
);
10137 _resultobj
= Py_None
;
10142 #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))
10143 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
* _resultobj
;
10152 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
10153 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
10154 long _arg8
= (long ) wxSL_HORIZONTAL
;
10155 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
10156 char * _arg10
= (char *) "slider";
10157 PyObject
* _argo0
= 0;
10158 PyObject
* _argo1
= 0;
10160 PyObject
* _obj6
= 0;
10162 PyObject
* _obj7
= 0;
10163 PyObject
* _argo9
= 0;
10164 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
10170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10177 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10178 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10186 if (! wxPoint_helper(_obj6
, &_arg6
))
10192 if (! wxSize_helper(_obj7
, &_arg7
))
10196 if (_argo9
== Py_None
) { _arg9
= NULL
; }
10197 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) return NULL
;
10208 } _resultobj
= Py_BuildValue("i",_result
);
10212 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10213 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
* _resultobj
;
10216 PyObject
* _argo0
= 0;
10217 char *_kwnames
[] = { "self", NULL
};
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 wxSlider_ClearSel(_arg0
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) return NULL
;
10235 } Py_INCREF(Py_None
);
10236 _resultobj
= Py_None
;
10240 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10241 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
* _resultobj
;
10244 PyObject
* _argo0
= 0;
10245 char *_kwnames
[] = { "self", NULL
};
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 wxSlider_ClearTicks(_arg0
);
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) return NULL
;
10263 } Py_INCREF(Py_None
);
10264 _resultobj
= Py_None
;
10268 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10269 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
* _resultobj
;
10273 PyObject
* _argo0
= 0;
10274 char *_kwnames
[] = { "self", NULL
};
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 _result
= (int )wxSlider_GetLineSize(_arg0
);
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) return NULL
;
10292 } _resultobj
= Py_BuildValue("i",_result
);
10296 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10297 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
* _resultobj
;
10301 PyObject
* _argo0
= 0;
10302 char *_kwnames
[] = { "self", NULL
};
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 _result
= (int )wxSlider_GetMax(_arg0
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) return NULL
;
10320 } _resultobj
= Py_BuildValue("i",_result
);
10324 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10325 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
* _resultobj
;
10329 PyObject
* _argo0
= 0;
10330 char *_kwnames
[] = { "self", NULL
};
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 _result
= (int )wxSlider_GetMin(_arg0
);
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) return NULL
;
10348 } _resultobj
= Py_BuildValue("i",_result
);
10352 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10353 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
* _resultobj
;
10357 PyObject
* _argo0
= 0;
10358 char *_kwnames
[] = { "self", NULL
};
10361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 _result
= (int )wxSlider_GetPageSize(_arg0
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) return NULL
;
10376 } _resultobj
= Py_BuildValue("i",_result
);
10380 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10381 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10382 PyObject
* _resultobj
;
10385 PyObject
* _argo0
= 0;
10386 char *_kwnames
[] = { "self", NULL
};
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) return NULL
;
10404 } _resultobj
= Py_BuildValue("i",_result
);
10408 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10409 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10410 PyObject
* _resultobj
;
10413 PyObject
* _argo0
= 0;
10414 char *_kwnames
[] = { "self", NULL
};
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 _result
= (int )wxSlider_GetSelStart(_arg0
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) return NULL
;
10432 } _resultobj
= Py_BuildValue("i",_result
);
10436 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10437 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
* _resultobj
;
10441 PyObject
* _argo0
= 0;
10442 char *_kwnames
[] = { "self", NULL
};
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10456 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) return NULL
;
10460 } _resultobj
= Py_BuildValue("i",_result
);
10464 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10465 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10466 PyObject
* _resultobj
;
10469 PyObject
* _argo0
= 0;
10470 char *_kwnames
[] = { "self", NULL
};
10473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) return NULL
;
10488 } _resultobj
= Py_BuildValue("i",_result
);
10492 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10493 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
* _resultobj
;
10497 PyObject
* _argo0
= 0;
10498 char *_kwnames
[] = { "self", NULL
};
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 _result
= (int )wxSlider_GetValue(_arg0
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) return NULL
;
10516 } _resultobj
= Py_BuildValue("i",_result
);
10520 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10521 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
* _resultobj
;
10526 PyObject
* _argo0
= 0;
10527 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) return NULL
;
10545 } Py_INCREF(Py_None
);
10546 _resultobj
= Py_None
;
10550 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10551 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
* _resultobj
;
10556 PyObject
* _argo0
= 0;
10557 char *_kwnames
[] = { "self","n","pos", NULL
};
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10563 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10564 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) return NULL
;
10575 } Py_INCREF(Py_None
);
10576 _resultobj
= Py_None
;
10580 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10581 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
* _resultobj
;
10585 PyObject
* _argo0
= 0;
10586 char *_kwnames
[] = { "self","lineSize", NULL
};
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 wxSlider_SetLineSize(_arg0
,_arg1
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) return NULL
;
10604 } Py_INCREF(Py_None
);
10605 _resultobj
= Py_None
;
10609 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10610 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
* _resultobj
;
10614 PyObject
* _argo0
= 0;
10615 char *_kwnames
[] = { "self","pageSize", NULL
};
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 wxSlider_SetPageSize(_arg0
,_arg1
);
10631 wxPyEndAllowThreads(__tstate
);
10632 if (PyErr_Occurred()) return NULL
;
10633 } Py_INCREF(Py_None
);
10634 _resultobj
= Py_None
;
10638 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10639 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
* _resultobj
;
10644 PyObject
* _argo0
= 0;
10645 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) return NULL
;
10663 } Py_INCREF(Py_None
);
10664 _resultobj
= Py_None
;
10668 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10669 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
* _resultobj
;
10673 PyObject
* _argo0
= 0;
10674 char *_kwnames
[] = { "self","len", NULL
};
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 wxSlider_SetThumbLength(_arg0
,_arg1
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) return NULL
;
10692 } Py_INCREF(Py_None
);
10693 _resultobj
= Py_None
;
10697 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10698 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
* _resultobj
;
10702 PyObject
* _argo0
= 0;
10703 char *_kwnames
[] = { "self","tickPos", NULL
};
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 wxSlider_SetTick(_arg0
,_arg1
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) return NULL
;
10721 } Py_INCREF(Py_None
);
10722 _resultobj
= Py_None
;
10726 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10727 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
* _resultobj
;
10731 PyObject
* _argo0
= 0;
10732 char *_kwnames
[] = { "self","value", NULL
};
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 wxSlider_SetValue(_arg0
,_arg1
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) return NULL
;
10750 } Py_INCREF(Py_None
);
10751 _resultobj
= Py_None
;
10755 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10757 wxSpinButton
*dest
;
10758 src
= (wxSpinCtrl
*) ptr
;
10759 dest
= (wxSpinButton
*) src
;
10760 return (void *) dest
;
10763 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10766 src
= (wxSpinCtrl
*) ptr
;
10767 dest
= (wxControl
*) src
;
10768 return (void *) dest
;
10771 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10774 src
= (wxSpinCtrl
*) ptr
;
10775 dest
= (wxWindow
*) src
;
10776 return (void *) dest
;
10779 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10781 wxEvtHandler
*dest
;
10782 src
= (wxSpinCtrl
*) ptr
;
10783 dest
= (wxEvtHandler
*) src
;
10784 return (void *) dest
;
10787 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10790 src
= (wxSpinCtrl
*) ptr
;
10791 dest
= (wxObject
*) src
;
10792 return (void *) dest
;
10795 #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))
10796 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
* _resultobj
;
10798 wxSpinCtrl
* _result
;
10800 wxWindowID _arg1
= (wxWindowID
) -1;
10801 char * _arg2
= (char *) "";
10802 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10803 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10804 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10805 int _arg6
= (int ) 0;
10806 int _arg7
= (int ) 100;
10807 int _arg8
= (int ) 0;
10808 char * _arg9
= (char *) "wxSpinCtrl";
10809 PyObject
* _argo0
= 0;
10811 PyObject
* _obj3
= 0;
10813 PyObject
* _obj4
= 0;
10814 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10830 if (! wxPoint_helper(_obj3
, &_arg3
))
10836 if (! wxSize_helper(_obj4
, &_arg4
))
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) return NULL
;
10846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10847 _resultobj
= Py_BuildValue("s",_ptemp
);
10849 Py_INCREF(Py_None
);
10850 _resultobj
= Py_None
;
10855 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10856 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
* _resultobj
;
10858 wxSpinCtrl
* _result
;
10859 char *_kwnames
[] = { NULL
};
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10867 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) return NULL
;
10872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10873 _resultobj
= Py_BuildValue("s",_ptemp
);
10875 Py_INCREF(Py_None
);
10876 _resultobj
= Py_None
;
10881 #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))
10882 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
* _resultobj
;
10885 wxSpinCtrl
* _arg0
;
10887 wxWindowID _arg2
= (wxWindowID
) -1;
10888 char * _arg3
= (char *) "";
10889 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10890 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10891 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10892 int _arg7
= (int ) 0;
10893 int _arg8
= (int ) 100;
10894 int _arg9
= (int ) 0;
10895 char * _arg10
= (char *) "wxSpinCtrl";
10896 PyObject
* _argo0
= 0;
10897 PyObject
* _argo1
= 0;
10899 PyObject
* _obj4
= 0;
10901 PyObject
* _obj5
= 0;
10902 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10915 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10916 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10924 if (! wxPoint_helper(_obj4
, &_arg4
))
10930 if (! wxSize_helper(_obj5
, &_arg5
))
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) return NULL
;
10939 } _resultobj
= Py_BuildValue("i",_result
);
10943 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10944 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
* _resultobj
;
10947 wxSpinCtrl
* _arg0
;
10948 PyObject
* _argo0
= 0;
10949 char *_kwnames
[] = { "self", NULL
};
10952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10965 wxPyEndAllowThreads(__tstate
);
10966 if (PyErr_Occurred()) return NULL
;
10967 } _resultobj
= Py_BuildValue("i",_result
);
10971 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10972 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
* _resultobj
;
10975 wxSpinCtrl
* _arg0
;
10976 PyObject
* _argo0
= 0;
10977 char *_kwnames
[] = { "self", NULL
};
10980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) return NULL
;
10995 } _resultobj
= Py_BuildValue("i",_result
);
10999 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11000 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
* _resultobj
;
11003 wxSpinCtrl
* _arg0
;
11004 PyObject
* _argo0
= 0;
11005 char *_kwnames
[] = { "self", NULL
};
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
11011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) return NULL
;
11023 } _resultobj
= Py_BuildValue("i",_result
);
11027 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11028 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
* _resultobj
;
11030 wxSpinCtrl
* _arg0
;
11033 PyObject
* _argo0
= 0;
11034 char *_kwnames
[] = { "self","min","max", NULL
};
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) return NULL
;
11052 } Py_INCREF(Py_None
);
11053 _resultobj
= Py_None
;
11057 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11058 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11059 PyObject
* _resultobj
;
11060 wxSpinCtrl
* _arg0
;
11062 PyObject
* _argo0
= 0;
11063 char *_kwnames
[] = { "self","value", NULL
};
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
11069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 wxSpinCtrl_SetValue(_arg0
,_arg1
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) return NULL
;
11081 } Py_INCREF(Py_None
);
11082 _resultobj
= Py_None
;
11086 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
11087 wxToggleButton
*src
;
11089 src
= (wxToggleButton
*) ptr
;
11090 dest
= (wxControl
*) src
;
11091 return (void *) dest
;
11094 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
11095 wxToggleButton
*src
;
11097 src
= (wxToggleButton
*) ptr
;
11098 dest
= (wxWindow
*) src
;
11099 return (void *) dest
;
11102 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
11103 wxToggleButton
*src
;
11104 wxEvtHandler
*dest
;
11105 src
= (wxToggleButton
*) ptr
;
11106 dest
= (wxEvtHandler
*) src
;
11107 return (void *) dest
;
11110 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
11111 wxToggleButton
*src
;
11113 src
= (wxToggleButton
*) ptr
;
11114 dest
= (wxObject
*) src
;
11115 return (void *) dest
;
11118 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11119 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
* _resultobj
;
11121 wxToggleButton
* _result
;
11125 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11126 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11127 long _arg5
= (long ) 0;
11128 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
11129 char * _arg7
= (char *) "toggle";
11130 PyObject
* _argo0
= 0;
11131 PyObject
* _obj2
= 0;
11133 PyObject
* _obj3
= 0;
11135 PyObject
* _obj4
= 0;
11136 PyObject
* _argo6
= 0;
11137 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
11144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
11151 #if PYTHON_API_VERSION >= 1009
11152 char* tmpPtr
; int tmpSize
;
11153 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
11154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11157 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
11159 _arg2
= new wxString(tmpPtr
, tmpSize
);
11161 if (!PyString_Check(_obj2
)) {
11162 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11165 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
11171 if (! wxPoint_helper(_obj3
, &_arg3
))
11177 if (! wxSize_helper(_obj4
, &_arg4
))
11181 if (_argo6
== Py_None
) { _arg6
= NULL
; }
11182 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
11183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) return NULL
;
11194 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11195 _resultobj
= Py_BuildValue("s",_ptemp
);
11197 Py_INCREF(Py_None
);
11198 _resultobj
= Py_None
;
11207 #define new_wxPreToggleButton() (new wxToggleButton())
11208 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
* _resultobj
;
11210 wxToggleButton
* _result
;
11211 char *_kwnames
[] = { NULL
};
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 _result
= (wxToggleButton
*)new_wxPreToggleButton();
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) return NULL
;
11224 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11225 _resultobj
= Py_BuildValue("s",_ptemp
);
11227 Py_INCREF(Py_None
);
11228 _resultobj
= Py_None
;
11233 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11234 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
* _resultobj
;
11237 wxToggleButton
* _arg0
;
11241 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11242 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11243 long _arg6
= (long ) 0;
11244 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11245 char * _arg8
= (char *) "toggle";
11246 PyObject
* _argo0
= 0;
11247 PyObject
* _argo1
= 0;
11248 PyObject
* _obj3
= 0;
11250 PyObject
* _obj4
= 0;
11252 PyObject
* _obj5
= 0;
11253 PyObject
* _argo7
= 0;
11254 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
11260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11267 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11268 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11274 #if PYTHON_API_VERSION >= 1009
11275 char* tmpPtr
; int tmpSize
;
11276 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11277 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11280 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11282 _arg3
= new wxString(tmpPtr
, tmpSize
);
11284 if (!PyString_Check(_obj3
)) {
11285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11288 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11294 if (! wxPoint_helper(_obj4
, &_arg4
))
11300 if (! wxSize_helper(_obj5
, &_arg5
))
11304 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11305 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) return NULL
;
11316 } _resultobj
= Py_BuildValue("i",_result
);
11324 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11325 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
* _resultobj
;
11327 wxToggleButton
* _arg0
;
11329 PyObject
* _argo0
= 0;
11331 char *_kwnames
[] = { "self","value", NULL
};
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11343 _arg1
= (bool ) tempbool1
;
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 wxToggleButton_SetValue(_arg0
,_arg1
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) return NULL
;
11350 } Py_INCREF(Py_None
);
11351 _resultobj
= Py_None
;
11355 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11356 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
* _resultobj
;
11359 wxToggleButton
* _arg0
;
11360 PyObject
* _argo0
= 0;
11361 char *_kwnames
[] = { "self", NULL
};
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11375 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11377 wxPyEndAllowThreads(__tstate
);
11378 if (PyErr_Occurred()) return NULL
;
11379 } _resultobj
= Py_BuildValue("i",_result
);
11383 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11384 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
* _resultobj
;
11386 wxToggleButton
* _arg0
;
11388 PyObject
* _argo0
= 0;
11389 PyObject
* _obj1
= 0;
11390 char *_kwnames
[] = { "self","label", NULL
};
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11403 #if PYTHON_API_VERSION >= 1009
11404 char* tmpPtr
; int tmpSize
;
11405 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11409 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11411 _arg1
= new wxString(tmpPtr
, tmpSize
);
11413 if (!PyString_Check(_obj1
)) {
11414 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11417 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) return NULL
;
11426 } Py_INCREF(Py_None
);
11427 _resultobj
= Py_None
;
11435 static PyMethodDef controlscMethods
[] = {
11436 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11437 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11438 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11439 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11440 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11441 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11442 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11443 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11444 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11445 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11446 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11447 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11448 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11449 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11450 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11451 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11452 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11453 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11454 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11455 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11456 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11457 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11458 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11459 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11460 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11461 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11462 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11463 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11464 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11465 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11466 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11467 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11468 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11469 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11470 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxComboBox_SetClientData", (PyCFunction
) _wrap_wxComboBox_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxComboBox_GetClientData", (PyCFunction
) _wrap_wxComboBox_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxComboBox_GetCount", (PyCFunction
) _wrap_wxComboBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11706 * This table is used by the pointer type-checker
11708 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11709 { "_signed_long","_long",0},
11710 { "_wxPrintQuality","_wxCoord",0},
11711 { "_wxPrintQuality","_int",0},
11712 { "_wxPrintQuality","_signed_int",0},
11713 { "_wxPrintQuality","_unsigned_int",0},
11714 { "_wxPrintQuality","_wxWindowID",0},
11715 { "_wxPrintQuality","_uint",0},
11716 { "_wxPrintQuality","_EBool",0},
11717 { "_wxPrintQuality","_size_t",0},
11718 { "_wxPrintQuality","_time_t",0},
11719 { "_byte","_unsigned_char",0},
11720 { "_long","_unsigned_long",0},
11721 { "_long","_signed_long",0},
11722 { "_size_t","_wxCoord",0},
11723 { "_size_t","_wxPrintQuality",0},
11724 { "_size_t","_time_t",0},
11725 { "_size_t","_unsigned_int",0},
11726 { "_size_t","_int",0},
11727 { "_size_t","_wxWindowID",0},
11728 { "_size_t","_uint",0},
11729 { "_uint","_wxCoord",0},
11730 { "_uint","_wxPrintQuality",0},
11731 { "_uint","_time_t",0},
11732 { "_uint","_size_t",0},
11733 { "_uint","_unsigned_int",0},
11734 { "_uint","_int",0},
11735 { "_uint","_wxWindowID",0},
11736 { "_wxChar","_char",0},
11737 { "_char","_wxChar",0},
11738 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11739 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11740 { "_EBool","_wxCoord",0},
11741 { "_EBool","_wxPrintQuality",0},
11742 { "_EBool","_signed_int",0},
11743 { "_EBool","_int",0},
11744 { "_EBool","_wxWindowID",0},
11745 { "_unsigned_long","_long",0},
11746 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11747 { "_signed_int","_wxCoord",0},
11748 { "_signed_int","_wxPrintQuality",0},
11749 { "_signed_int","_EBool",0},
11750 { "_signed_int","_wxWindowID",0},
11751 { "_signed_int","_int",0},
11752 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11753 { "_WXTYPE","_short",0},
11754 { "_WXTYPE","_signed_short",0},
11755 { "_WXTYPE","_unsigned_short",0},
11756 { "_unsigned_short","_WXTYPE",0},
11757 { "_unsigned_short","_short",0},
11758 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11759 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11760 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11761 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11762 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11763 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11764 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11765 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11766 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11767 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11768 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11769 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11770 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11771 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11772 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11773 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11774 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11775 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11776 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11777 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11778 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11779 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11780 { "_signed_short","_WXTYPE",0},
11781 { "_signed_short","_short",0},
11782 { "_unsigned_char","_byte",0},
11783 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11784 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11785 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11786 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11787 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11788 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11789 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11790 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11791 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11792 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11793 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11794 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11795 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11796 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11797 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11798 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11799 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11800 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11801 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11802 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11803 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11804 { "_unsigned_int","_wxCoord",0},
11805 { "_unsigned_int","_wxPrintQuality",0},
11806 { "_unsigned_int","_time_t",0},
11807 { "_unsigned_int","_size_t",0},
11808 { "_unsigned_int","_uint",0},
11809 { "_unsigned_int","_wxWindowID",0},
11810 { "_unsigned_int","_int",0},
11811 { "_short","_WXTYPE",0},
11812 { "_short","_unsigned_short",0},
11813 { "_short","_signed_short",0},
11814 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11815 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11816 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11817 { "_wxWindowID","_wxCoord",0},
11818 { "_wxWindowID","_wxPrintQuality",0},
11819 { "_wxWindowID","_time_t",0},
11820 { "_wxWindowID","_size_t",0},
11821 { "_wxWindowID","_EBool",0},
11822 { "_wxWindowID","_uint",0},
11823 { "_wxWindowID","_int",0},
11824 { "_wxWindowID","_signed_int",0},
11825 { "_wxWindowID","_unsigned_int",0},
11826 { "_int","_wxCoord",0},
11827 { "_int","_wxPrintQuality",0},
11828 { "_int","_time_t",0},
11829 { "_int","_size_t",0},
11830 { "_int","_EBool",0},
11831 { "_int","_uint",0},
11832 { "_int","_wxWindowID",0},
11833 { "_int","_unsigned_int",0},
11834 { "_int","_signed_int",0},
11835 { "_time_t","_wxCoord",0},
11836 { "_time_t","_wxPrintQuality",0},
11837 { "_time_t","_unsigned_int",0},
11838 { "_time_t","_int",0},
11839 { "_time_t","_wxWindowID",0},
11840 { "_time_t","_uint",0},
11841 { "_time_t","_size_t",0},
11842 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11843 { "_wxCoord","_int",0},
11844 { "_wxCoord","_signed_int",0},
11845 { "_wxCoord","_unsigned_int",0},
11846 { "_wxCoord","_wxWindowID",0},
11847 { "_wxCoord","_uint",0},
11848 { "_wxCoord","_EBool",0},
11849 { "_wxCoord","_size_t",0},
11850 { "_wxCoord","_time_t",0},
11851 { "_wxCoord","_wxPrintQuality",0},
11852 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11853 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11854 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11855 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11856 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11857 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11858 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11859 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11860 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11861 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11862 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11863 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11864 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11865 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11866 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11867 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11868 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11869 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11870 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11871 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11872 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11873 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11874 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11875 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11876 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11877 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11878 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11879 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11880 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11881 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11882 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11883 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11884 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11885 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11886 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11887 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11888 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11889 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11890 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11891 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11892 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11893 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11894 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11895 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11898 static PyObject
*SWIG_globals
;
11902 SWIGEXPORT(void) initcontrolsc() {
11904 SWIG_globals
= SWIG_newvarlink();
11905 m
= Py_InitModule("controlsc", controlscMethods
);
11906 d
= PyModule_GetDict(m
);
11907 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11908 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11909 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11912 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11913 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);