2 * FILE : src/msw/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
78 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
84 } else if (target
== Py_None
) {
88 if (!PyTuple_Check(target
)) {
90 target
= PyTuple_New(1);
91 PyTuple_SetItem(target
, 0, o2
);
94 PyTuple_SetItem(o3
, 0, o
);
97 target
= PySequence_Concat(o2
, o3
);
104 #if PYTHON_API_VERSION >= 1009
105 static char* wxStringErrorMsg
= "String or Unicode type required";
107 static char* wxStringErrorMsg
= "String type required";
112 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
114 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
118 static PyObject
*_wrap_wxDefaultValidator_get() {
122 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
123 pyobj
= PyString_FromString(ptemp
);
127 static void *SwigwxControlTowxWindow(void *ptr
) {
130 src
= (wxControl
*) ptr
;
131 dest
= (wxWindow
*) src
;
132 return (void *) dest
;
135 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
138 src
= (wxControl
*) ptr
;
139 dest
= (wxEvtHandler
*) src
;
140 return (void *) dest
;
143 static void *SwigwxControlTowxObject(void *ptr
) {
146 src
= (wxControl
*) ptr
;
147 dest
= (wxObject
*) src
;
148 return (void *) dest
;
151 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
152 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
153 PyObject
* _resultobj
;
157 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
158 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
159 long _arg4
= (long ) 0;
160 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
161 char * _arg6
= (char *) "control";
162 PyObject
* _argo0
= 0;
164 PyObject
* _obj2
= 0;
166 PyObject
* _obj3
= 0;
167 PyObject
* _argo5
= 0;
168 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
184 if (! wxPoint_helper(_obj2
, &_arg2
))
190 if (! wxSize_helper(_obj3
, &_arg3
))
194 if (_argo5
== Py_None
) { _arg5
= NULL
; }
195 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
201 wxPy_BEGIN_ALLOW_THREADS
;
202 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
204 wxPy_END_ALLOW_THREADS
;
205 if (PyErr_Occurred()) return NULL
;
207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
208 _resultobj
= Py_BuildValue("s",_ptemp
);
211 _resultobj
= Py_None
;
216 #define new_wxPreControl() (new wxControl())
217 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
218 PyObject
* _resultobj
;
220 char *_kwnames
[] = { NULL
};
224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
227 wxPy_BEGIN_ALLOW_THREADS
;
228 _result
= (wxControl
*)new_wxPreControl();
230 wxPy_END_ALLOW_THREADS
;
231 if (PyErr_Occurred()) return NULL
;
233 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
234 _resultobj
= Py_BuildValue("s",_ptemp
);
237 _resultobj
= Py_None
;
242 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
243 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
249 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
250 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
251 long _arg5
= (long ) 0;
252 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
253 char * _arg7
= (char *) "control";
254 PyObject
* _argo0
= 0;
255 PyObject
* _argo1
= 0;
257 PyObject
* _obj3
= 0;
259 PyObject
* _obj4
= 0;
260 PyObject
* _argo6
= 0;
261 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOs:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
283 if (! wxPoint_helper(_obj3
, &_arg3
))
289 if (! wxSize_helper(_obj4
, &_arg4
))
293 if (_argo6
== Py_None
) { _arg6
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
300 wxPy_BEGIN_ALLOW_THREADS
;
301 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
303 wxPy_END_ALLOW_THREADS
;
304 if (PyErr_Occurred()) return NULL
;
305 } _resultobj
= Py_BuildValue("i",_result
);
309 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
310 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
313 wxCommandEvent
* _arg1
;
314 PyObject
* _argo0
= 0;
315 PyObject
* _argo1
= 0;
316 char *_kwnames
[] = { "self","event", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
336 wxPy_BEGIN_ALLOW_THREADS
;
337 wxControl_Command(_arg0
,*_arg1
);
339 wxPy_END_ALLOW_THREADS
;
340 if (PyErr_Occurred()) return NULL
;
341 } Py_INCREF(Py_None
);
342 _resultobj
= Py_None
;
346 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
347 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
351 PyObject
* _argo0
= 0;
352 char *_kwnames
[] = { "self", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
365 wxPy_BEGIN_ALLOW_THREADS
;
366 _result
= new wxString (wxControl_GetLabel(_arg0
));
368 wxPy_END_ALLOW_THREADS
;
369 if (PyErr_Occurred()) return NULL
;
371 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
379 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
380 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
384 PyObject
* _argo0
= 0;
385 PyObject
* _obj1
= 0;
386 char *_kwnames
[] = { "self","label", NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
399 #if PYTHON_API_VERSION >= 1009
400 char* tmpPtr
; int tmpSize
;
401 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
405 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
407 _arg1
= new wxString(tmpPtr
, tmpSize
);
409 if (!PyString_Check(_obj1
)) {
410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
413 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
417 wxPy_BEGIN_ALLOW_THREADS
;
418 wxControl_SetLabel(_arg0
,*_arg1
);
420 wxPy_END_ALLOW_THREADS
;
421 if (PyErr_Occurred()) return NULL
;
422 } Py_INCREF(Py_None
);
423 _resultobj
= Py_None
;
431 static void *SwigwxControlWithItemsTowxControl(void *ptr
) {
432 wxControlWithItems
*src
;
434 src
= (wxControlWithItems
*) ptr
;
435 dest
= (wxControl
*) src
;
436 return (void *) dest
;
439 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) {
440 wxControlWithItems
*src
;
442 src
= (wxControlWithItems
*) ptr
;
443 dest
= (wxWindow
*) src
;
444 return (void *) dest
;
447 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) {
448 wxControlWithItems
*src
;
450 src
= (wxControlWithItems
*) ptr
;
451 dest
= (wxEvtHandler
*) src
;
452 return (void *) dest
;
455 static void *SwigwxControlWithItemsTowxObject(void *ptr
) {
456 wxControlWithItems
*src
;
458 src
= (wxControlWithItems
*) ptr
;
459 dest
= (wxObject
*) src
;
460 return (void *) dest
;
463 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
464 static PyObject
*_wrap_wxControlWithItems_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
466 wxControlWithItems
* _arg0
;
468 PyObject
* _argo0
= 0;
469 char *_kwnames
[] = { "self","n", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))
475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
482 wxPy_BEGIN_ALLOW_THREADS
;
483 wxControlWithItems_Delete(_arg0
,_arg1
);
485 wxPy_END_ALLOW_THREADS
;
486 if (PyErr_Occurred()) return NULL
;
487 } Py_INCREF(Py_None
);
488 _resultobj
= Py_None
;
492 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
493 static PyObject
*_wrap_wxControlWithItems_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
496 wxControlWithItems
* _arg0
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
511 wxPy_BEGIN_ALLOW_THREADS
;
512 _result
= (int )wxControlWithItems_GetCount(_arg0
);
514 wxPy_END_ALLOW_THREADS
;
515 if (PyErr_Occurred()) return NULL
;
516 } _resultobj
= Py_BuildValue("i",_result
);
520 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
521 static PyObject
*_wrap_wxControlWithItems_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
522 PyObject
* _resultobj
;
524 wxControlWithItems
* _arg0
;
526 PyObject
* _argo0
= 0;
527 char *_kwnames
[] = { "self","n", NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))
533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
540 wxPy_BEGIN_ALLOW_THREADS
;
541 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
543 wxPy_END_ALLOW_THREADS
;
544 if (PyErr_Occurred()) return NULL
;
546 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
554 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
555 static PyObject
*_wrap_wxControlWithItems_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
557 wxControlWithItems
* _arg0
;
560 PyObject
* _argo0
= 0;
561 PyObject
* _obj2
= 0;
562 char *_kwnames
[] = { "self","n","s", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
575 #if PYTHON_API_VERSION >= 1009
576 char* tmpPtr
; int tmpSize
;
577 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
578 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
581 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
583 _arg2
= new wxString(tmpPtr
, tmpSize
);
585 if (!PyString_Check(_obj2
)) {
586 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
589 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
593 wxPy_BEGIN_ALLOW_THREADS
;
594 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
596 wxPy_END_ALLOW_THREADS
;
597 if (PyErr_Occurred()) return NULL
;
598 } Py_INCREF(Py_None
);
599 _resultobj
= Py_None
;
607 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
608 static PyObject
*_wrap_wxControlWithItems_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
611 wxControlWithItems
* _arg0
;
613 PyObject
* _argo0
= 0;
614 PyObject
* _obj1
= 0;
615 char *_kwnames
[] = { "self","s", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))
621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
628 #if PYTHON_API_VERSION >= 1009
629 char* tmpPtr
; int tmpSize
;
630 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
634 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
636 _arg1
= new wxString(tmpPtr
, tmpSize
);
638 if (!PyString_Check(_obj1
)) {
639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
642 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
646 wxPy_BEGIN_ALLOW_THREADS
;
647 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
649 wxPy_END_ALLOW_THREADS
;
650 if (PyErr_Occurred()) return NULL
;
651 } _resultobj
= Py_BuildValue("i",_result
);
659 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
660 static PyObject
*_wrap_wxControlWithItems_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
662 wxControlWithItems
* _arg0
;
664 PyObject
* _argo0
= 0;
665 char *_kwnames
[] = { "self","n", NULL
};
668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))
671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
678 wxPy_BEGIN_ALLOW_THREADS
;
679 wxControlWithItems_Select(_arg0
,_arg1
);
681 wxPy_END_ALLOW_THREADS
;
682 if (PyErr_Occurred()) return NULL
;
683 } Py_INCREF(Py_None
);
684 _resultobj
= Py_None
;
688 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
689 static PyObject
*_wrap_wxControlWithItems_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
692 wxControlWithItems
* _arg0
;
693 PyObject
* _argo0
= 0;
694 char *_kwnames
[] = { "self", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
707 wxPy_BEGIN_ALLOW_THREADS
;
708 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
710 wxPy_END_ALLOW_THREADS
;
711 if (PyErr_Occurred()) return NULL
;
712 } _resultobj
= Py_BuildValue("i",_result
);
716 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
717 static PyObject
*_wrap_wxControlWithItems_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
720 wxControlWithItems
* _arg0
;
721 PyObject
* _argo0
= 0;
722 char *_kwnames
[] = { "self", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
735 wxPy_BEGIN_ALLOW_THREADS
;
736 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
738 wxPy_END_ALLOW_THREADS
;
739 if (PyErr_Occurred()) return NULL
;
741 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
749 static void wxControlWithItems_Append(wxControlWithItems
*self
,const wxString
& item
,PyObject
* clientData
) {
751 wxPyClientData
* data
= new wxPyClientData(clientData
);
752 self
->Append(item
, data
);
756 static PyObject
*_wrap_wxControlWithItems_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
758 wxControlWithItems
* _arg0
;
760 PyObject
* _arg2
= (PyObject
*) NULL
;
761 PyObject
* _argo0
= 0;
762 PyObject
* _obj1
= 0;
763 PyObject
* _obj2
= 0;
764 char *_kwnames
[] = { "self","item","clientData", NULL
};
767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
777 #if PYTHON_API_VERSION >= 1009
778 char* tmpPtr
; int tmpSize
;
779 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
783 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
785 _arg1
= new wxString(tmpPtr
, tmpSize
);
787 if (!PyString_Check(_obj1
)) {
788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
791 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
799 wxPy_BEGIN_ALLOW_THREADS
;
800 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
802 wxPy_END_ALLOW_THREADS
;
803 if (PyErr_Occurred()) return NULL
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
813 static PyObject
* wxControlWithItems_GetClientData(wxControlWithItems
*self
,int n
) {
814 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
816 Py_INCREF(data
->m_obj
);
823 static PyObject
*_wrap_wxControlWithItems_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
826 wxControlWithItems
* _arg0
;
828 PyObject
* _argo0
= 0;
829 char *_kwnames
[] = { "self","n", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
842 wxPy_BEGIN_ALLOW_THREADS
;
843 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
845 wxPy_END_ALLOW_THREADS
;
846 if (PyErr_Occurred()) return NULL
;
848 _resultobj
= _result
;
853 static void wxControlWithItems_SetClientData(wxControlWithItems
*self
,int n
,PyObject
* clientData
) {
854 wxPyClientData
* data
= new wxPyClientData(clientData
);
855 self
->SetClientObject(n
, data
);
857 static PyObject
*_wrap_wxControlWithItems_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
859 wxControlWithItems
* _arg0
;
862 PyObject
* _argo0
= 0;
863 PyObject
* _obj2
= 0;
864 char *_kwnames
[] = { "self","n","clientData", NULL
};
867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
880 wxPy_BEGIN_ALLOW_THREADS
;
881 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
883 wxPy_END_ALLOW_THREADS
;
884 if (PyErr_Occurred()) return NULL
;
885 } Py_INCREF(Py_None
);
886 _resultobj
= Py_None
;
890 static void *SwigwxButtonTowxControl(void *ptr
) {
893 src
= (wxButton
*) ptr
;
894 dest
= (wxControl
*) src
;
895 return (void *) dest
;
898 static void *SwigwxButtonTowxWindow(void *ptr
) {
901 src
= (wxButton
*) ptr
;
902 dest
= (wxWindow
*) src
;
903 return (void *) dest
;
906 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
909 src
= (wxButton
*) ptr
;
910 dest
= (wxEvtHandler
*) src
;
911 return (void *) dest
;
914 static void *SwigwxButtonTowxObject(void *ptr
) {
917 src
= (wxButton
*) ptr
;
918 dest
= (wxObject
*) src
;
919 return (void *) dest
;
922 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
923 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 PyObject
* _resultobj
;
929 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
930 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
931 long _arg5
= (long ) 0;
932 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
933 char * _arg7
= (char *) "button";
934 PyObject
* _argo0
= 0;
935 PyObject
* _obj2
= 0;
937 PyObject
* _obj3
= 0;
939 PyObject
* _obj4
= 0;
940 PyObject
* _argo6
= 0;
941 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
955 #if PYTHON_API_VERSION >= 1009
956 char* tmpPtr
; int tmpSize
;
957 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
961 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
963 _arg2
= new wxString(tmpPtr
, tmpSize
);
965 if (!PyString_Check(_obj2
)) {
966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
969 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
975 if (! wxPoint_helper(_obj3
, &_arg3
))
981 if (! wxSize_helper(_obj4
, &_arg4
))
985 if (_argo6
== Py_None
) { _arg6
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
992 wxPy_BEGIN_ALLOW_THREADS
;
993 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
995 wxPy_END_ALLOW_THREADS
;
996 if (PyErr_Occurred()) return NULL
;
998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
999 _resultobj
= Py_BuildValue("s",_ptemp
);
1002 _resultobj
= Py_None
;
1011 #define new_wxPreButton() (new wxButton())
1012 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1015 char *_kwnames
[] = { NULL
};
1019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1022 wxPy_BEGIN_ALLOW_THREADS
;
1023 _result
= (wxButton
*)new_wxPreButton();
1025 wxPy_END_ALLOW_THREADS
;
1026 if (PyErr_Occurred()) return NULL
;
1028 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1029 _resultobj
= Py_BuildValue("s",_ptemp
);
1032 _resultobj
= Py_None
;
1037 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1038 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1045 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1046 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1047 long _arg6
= (long ) 0;
1048 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1049 char * _arg8
= (char *) "button";
1050 PyObject
* _argo0
= 0;
1051 PyObject
* _argo1
= 0;
1052 PyObject
* _obj3
= 0;
1054 PyObject
* _obj4
= 0;
1056 PyObject
* _obj5
= 0;
1057 PyObject
* _argo7
= 0;
1058 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1078 #if PYTHON_API_VERSION >= 1009
1079 char* tmpPtr
; int tmpSize
;
1080 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1084 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1086 _arg3
= new wxString(tmpPtr
, tmpSize
);
1088 if (!PyString_Check(_obj3
)) {
1089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1092 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1098 if (! wxPoint_helper(_obj4
, &_arg4
))
1104 if (! wxSize_helper(_obj5
, &_arg5
))
1108 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1109 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1115 wxPy_BEGIN_ALLOW_THREADS
;
1116 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1118 wxPy_END_ALLOW_THREADS
;
1119 if (PyErr_Occurred()) return NULL
;
1120 } _resultobj
= Py_BuildValue("i",_result
);
1128 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1129 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1146 wxPy_BEGIN_ALLOW_THREADS
;
1147 wxButton_SetDefault(_arg0
);
1149 wxPy_END_ALLOW_THREADS
;
1150 if (PyErr_Occurred()) return NULL
;
1151 } Py_INCREF(Py_None
);
1152 _resultobj
= Py_None
;
1156 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1157 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1161 PyObject
* _argo0
= 0;
1163 PyObject
* _obj1
= 0;
1164 char *_kwnames
[] = { "self","colour", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1178 if (! wxColour_helper(_obj1
, &_arg1
))
1182 wxPy_BEGIN_ALLOW_THREADS
;
1183 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1185 wxPy_END_ALLOW_THREADS
;
1186 if (PyErr_Occurred()) return NULL
;
1187 } Py_INCREF(Py_None
);
1188 _resultobj
= Py_None
;
1192 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1193 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1197 PyObject
* _argo0
= 0;
1199 PyObject
* _obj1
= 0;
1200 char *_kwnames
[] = { "self","colour", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1214 if (! wxColour_helper(_obj1
, &_arg1
))
1218 wxPy_BEGIN_ALLOW_THREADS
;
1219 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1221 wxPy_END_ALLOW_THREADS
;
1222 if (PyErr_Occurred()) return NULL
;
1223 } Py_INCREF(Py_None
);
1224 _resultobj
= Py_None
;
1228 #define wxButton_SetImageLabel(_swigobj,_swigarg0) (_swigobj->SetImageLabel(_swigarg0))
1229 static PyObject
*_wrap_wxButton_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1230 PyObject
* _resultobj
;
1233 PyObject
* _argo0
= 0;
1234 PyObject
* _argo1
= 0;
1235 char *_kwnames
[] = { "self","bitmap", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetImageLabel",_kwnames
,&_argo0
,&_argo1
))
1241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageLabel. Expected _wxButton_p.");
1248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_SetImageLabel. Expected _wxBitmap_p.");
1255 wxPy_BEGIN_ALLOW_THREADS
;
1256 wxButton_SetImageLabel(_arg0
,*_arg1
);
1258 wxPy_END_ALLOW_THREADS
;
1259 if (PyErr_Occurred()) return NULL
;
1260 } Py_INCREF(Py_None
);
1261 _resultobj
= Py_None
;
1265 #define wxButton_SetImageMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageMargins(_swigarg0,_swigarg1))
1266 static PyObject
*_wrap_wxButton_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
* _resultobj
;
1271 PyObject
* _argo0
= 0;
1272 char *_kwnames
[] = { "self","x","y", NULL
};
1275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxButton_SetImageMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetImageMargins. Expected _wxButton_p.");
1285 wxPy_BEGIN_ALLOW_THREADS
;
1286 wxButton_SetImageMargins(_arg0
,_arg1
,_arg2
);
1288 wxPy_END_ALLOW_THREADS
;
1289 if (PyErr_Occurred()) return NULL
;
1290 } Py_INCREF(Py_None
);
1291 _resultobj
= Py_None
;
1295 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1298 char *_kwnames
[] = { NULL
};
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1305 wxPy_BEGIN_ALLOW_THREADS
;
1306 _result
= new wxSize (wxButton::GetDefaultSize());
1308 wxPy_END_ALLOW_THREADS
;
1309 if (PyErr_Occurred()) return NULL
;
1310 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1311 _resultobj
= Py_BuildValue("s",_ptemp
);
1315 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1316 wxBitmapButton
*src
;
1318 src
= (wxBitmapButton
*) ptr
;
1319 dest
= (wxButton
*) src
;
1320 return (void *) dest
;
1323 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1324 wxBitmapButton
*src
;
1326 src
= (wxBitmapButton
*) ptr
;
1327 dest
= (wxControl
*) src
;
1328 return (void *) dest
;
1331 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1332 wxBitmapButton
*src
;
1334 src
= (wxBitmapButton
*) ptr
;
1335 dest
= (wxWindow
*) src
;
1336 return (void *) dest
;
1339 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1340 wxBitmapButton
*src
;
1342 src
= (wxBitmapButton
*) ptr
;
1343 dest
= (wxEvtHandler
*) src
;
1344 return (void *) dest
;
1347 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1348 wxBitmapButton
*src
;
1350 src
= (wxBitmapButton
*) ptr
;
1351 dest
= (wxObject
*) src
;
1352 return (void *) dest
;
1355 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1356 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
* _resultobj
;
1358 wxBitmapButton
* _result
;
1362 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1363 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1364 long _arg5
= (long ) wxBU_AUTODRAW
;
1365 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1366 char * _arg7
= (char *) "button";
1367 PyObject
* _argo0
= 0;
1368 PyObject
* _argo2
= 0;
1370 PyObject
* _obj3
= 0;
1372 PyObject
* _obj4
= 0;
1373 PyObject
* _argo6
= 0;
1374 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1388 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1389 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1397 if (! wxPoint_helper(_obj3
, &_arg3
))
1403 if (! wxSize_helper(_obj4
, &_arg4
))
1407 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1408 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1414 wxPy_BEGIN_ALLOW_THREADS
;
1415 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1417 wxPy_END_ALLOW_THREADS
;
1418 if (PyErr_Occurred()) return NULL
;
1420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1421 _resultobj
= Py_BuildValue("s",_ptemp
);
1424 _resultobj
= Py_None
;
1429 #define new_wxPreBitmapButton() (new wxBitmapButton())
1430 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1432 wxBitmapButton
* _result
;
1433 char *_kwnames
[] = { NULL
};
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1440 wxPy_BEGIN_ALLOW_THREADS
;
1441 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1443 wxPy_END_ALLOW_THREADS
;
1444 if (PyErr_Occurred()) return NULL
;
1446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1447 _resultobj
= Py_BuildValue("s",_ptemp
);
1450 _resultobj
= Py_None
;
1455 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1456 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1459 wxBitmapButton
* _arg0
;
1463 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1464 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1465 long _arg6
= (long ) wxBU_AUTODRAW
;
1466 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1467 char * _arg8
= (char *) "button";
1468 PyObject
* _argo0
= 0;
1469 PyObject
* _argo1
= 0;
1470 PyObject
* _argo3
= 0;
1472 PyObject
* _obj4
= 0;
1474 PyObject
* _obj5
= 0;
1475 PyObject
* _argo7
= 0;
1476 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1489 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1490 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1496 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1497 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1505 if (! wxPoint_helper(_obj4
, &_arg4
))
1511 if (! wxSize_helper(_obj5
, &_arg5
))
1515 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1516 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1522 wxPy_BEGIN_ALLOW_THREADS
;
1523 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1525 wxPy_END_ALLOW_THREADS
;
1526 if (PyErr_Occurred()) return NULL
;
1527 } _resultobj
= Py_BuildValue("i",_result
);
1531 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1532 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1535 wxBitmapButton
* _arg0
;
1536 PyObject
* _argo0
= 0;
1537 char *_kwnames
[] = { "self", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapLabel(_arg0
);
1553 _result
= (wxBitmap
*) &_result_ref
;
1555 wxPy_END_ALLOW_THREADS
;
1556 if (PyErr_Occurred()) return NULL
;
1558 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1559 _resultobj
= Py_BuildValue("s",_ptemp
);
1562 _resultobj
= Py_None
;
1567 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1568 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1571 wxBitmapButton
* _arg0
;
1572 PyObject
* _argo0
= 0;
1573 char *_kwnames
[] = { "self", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1587 wxPy_BEGIN_ALLOW_THREADS
;
1588 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapDisabled(_arg0
);
1589 _result
= (wxBitmap
*) &_result_ref
;
1591 wxPy_END_ALLOW_THREADS
;
1592 if (PyErr_Occurred()) return NULL
;
1594 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1595 _resultobj
= Py_BuildValue("s",_ptemp
);
1598 _resultobj
= Py_None
;
1603 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1604 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
* _resultobj
;
1607 wxBitmapButton
* _arg0
;
1608 PyObject
* _argo0
= 0;
1609 char *_kwnames
[] = { "self", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1623 wxPy_BEGIN_ALLOW_THREADS
;
1624 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapFocus(_arg0
);
1625 _result
= (wxBitmap
*) &_result_ref
;
1627 wxPy_END_ALLOW_THREADS
;
1628 if (PyErr_Occurred()) return NULL
;
1630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1631 _resultobj
= Py_BuildValue("s",_ptemp
);
1634 _resultobj
= Py_None
;
1639 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1640 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1643 wxBitmapButton
* _arg0
;
1644 PyObject
* _argo0
= 0;
1645 char *_kwnames
[] = { "self", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1659 wxPy_BEGIN_ALLOW_THREADS
;
1660 wxBitmap
& _result_ref
= wxBitmapButton_GetBitmapSelected(_arg0
);
1661 _result
= (wxBitmap
*) &_result_ref
;
1663 wxPy_END_ALLOW_THREADS
;
1664 if (PyErr_Occurred()) return NULL
;
1666 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
1667 _resultobj
= Py_BuildValue("s",_ptemp
);
1670 _resultobj
= Py_None
;
1675 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1676 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
* _resultobj
;
1678 wxBitmapButton
* _arg0
;
1680 PyObject
* _argo0
= 0;
1681 PyObject
* _argo1
= 0;
1682 char *_kwnames
[] = { "self","bitmap", NULL
};
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1688 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1689 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1690 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1695 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1696 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1702 wxPy_BEGIN_ALLOW_THREADS
;
1703 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1705 wxPy_END_ALLOW_THREADS
;
1706 if (PyErr_Occurred()) return NULL
;
1707 } Py_INCREF(Py_None
);
1708 _resultobj
= Py_None
;
1712 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1713 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
* _resultobj
;
1715 wxBitmapButton
* _arg0
;
1717 PyObject
* _argo0
= 0;
1718 PyObject
* _argo1
= 0;
1719 char *_kwnames
[] = { "self","bitmap", NULL
};
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1732 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1739 wxPy_BEGIN_ALLOW_THREADS
;
1740 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1742 wxPy_END_ALLOW_THREADS
;
1743 if (PyErr_Occurred()) return NULL
;
1744 } Py_INCREF(Py_None
);
1745 _resultobj
= Py_None
;
1749 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1750 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1752 wxBitmapButton
* _arg0
;
1754 PyObject
* _argo0
= 0;
1755 PyObject
* _argo1
= 0;
1756 char *_kwnames
[] = { "self","bitmap", NULL
};
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1769 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1770 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1776 wxPy_BEGIN_ALLOW_THREADS
;
1777 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1779 wxPy_END_ALLOW_THREADS
;
1780 if (PyErr_Occurred()) return NULL
;
1781 } Py_INCREF(Py_None
);
1782 _resultobj
= Py_None
;
1786 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1787 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1789 wxBitmapButton
* _arg0
;
1791 PyObject
* _argo0
= 0;
1792 PyObject
* _argo1
= 0;
1793 char *_kwnames
[] = { "self","bitmap", NULL
};
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1806 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1807 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1813 wxPy_BEGIN_ALLOW_THREADS
;
1814 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1816 wxPy_END_ALLOW_THREADS
;
1817 if (PyErr_Occurred()) return NULL
;
1818 } Py_INCREF(Py_None
);
1819 _resultobj
= Py_None
;
1823 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1824 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1825 PyObject
* _resultobj
;
1826 wxBitmapButton
* _arg0
;
1829 PyObject
* _argo0
= 0;
1830 char *_kwnames
[] = { "self","x","y", NULL
};
1833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1843 wxPy_BEGIN_ALLOW_THREADS
;
1844 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1846 wxPy_END_ALLOW_THREADS
;
1847 if (PyErr_Occurred()) return NULL
;
1848 } Py_INCREF(Py_None
);
1849 _resultobj
= Py_None
;
1853 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1854 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1857 wxBitmapButton
* _arg0
;
1858 PyObject
* _argo0
= 0;
1859 char *_kwnames
[] = { "self", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1872 wxPy_BEGIN_ALLOW_THREADS
;
1873 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1875 wxPy_END_ALLOW_THREADS
;
1876 if (PyErr_Occurred()) return NULL
;
1877 } _resultobj
= Py_BuildValue("i",_result
);
1881 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1882 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
* _resultobj
;
1885 wxBitmapButton
* _arg0
;
1886 PyObject
* _argo0
= 0;
1887 char *_kwnames
[] = { "self", NULL
};
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1900 wxPy_BEGIN_ALLOW_THREADS
;
1901 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1903 wxPy_END_ALLOW_THREADS
;
1904 if (PyErr_Occurred()) return NULL
;
1905 } _resultobj
= Py_BuildValue("i",_result
);
1909 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1912 src
= (wxCheckBox
*) ptr
;
1913 dest
= (wxControl
*) src
;
1914 return (void *) dest
;
1917 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1920 src
= (wxCheckBox
*) ptr
;
1921 dest
= (wxWindow
*) src
;
1922 return (void *) dest
;
1925 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1928 src
= (wxCheckBox
*) ptr
;
1929 dest
= (wxEvtHandler
*) src
;
1930 return (void *) dest
;
1933 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1936 src
= (wxCheckBox
*) ptr
;
1937 dest
= (wxObject
*) src
;
1938 return (void *) dest
;
1941 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1942 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1944 wxCheckBox
* _result
;
1948 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1949 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1950 long _arg5
= (long ) 0;
1951 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1952 char * _arg7
= (char *) "checkBox";
1953 PyObject
* _argo0
= 0;
1954 PyObject
* _obj2
= 0;
1956 PyObject
* _obj3
= 0;
1958 PyObject
* _obj4
= 0;
1959 PyObject
* _argo6
= 0;
1960 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1974 #if PYTHON_API_VERSION >= 1009
1975 char* tmpPtr
; int tmpSize
;
1976 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1980 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1982 _arg2
= new wxString(tmpPtr
, tmpSize
);
1984 if (!PyString_Check(_obj2
)) {
1985 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1988 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1994 if (! wxPoint_helper(_obj3
, &_arg3
))
2000 if (! wxSize_helper(_obj4
, &_arg4
))
2004 if (_argo6
== Py_None
) { _arg6
= NULL
; }
2005 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
2006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
2011 wxPy_BEGIN_ALLOW_THREADS
;
2012 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
2014 wxPy_END_ALLOW_THREADS
;
2015 if (PyErr_Occurred()) return NULL
;
2017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2018 _resultobj
= Py_BuildValue("s",_ptemp
);
2021 _resultobj
= Py_None
;
2030 #define new_wxPreCheckBox() (new wxCheckBox())
2031 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
* _resultobj
;
2033 wxCheckBox
* _result
;
2034 char *_kwnames
[] = { NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
2041 wxPy_BEGIN_ALLOW_THREADS
;
2042 _result
= (wxCheckBox
*)new_wxPreCheckBox();
2044 wxPy_END_ALLOW_THREADS
;
2045 if (PyErr_Occurred()) return NULL
;
2047 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2048 _resultobj
= Py_BuildValue("s",_ptemp
);
2051 _resultobj
= Py_None
;
2056 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2057 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2064 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2065 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2066 long _arg6
= (long ) 0;
2067 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2068 char * _arg8
= (char *) "checkBox";
2069 PyObject
* _argo0
= 0;
2070 PyObject
* _argo1
= 0;
2071 PyObject
* _obj3
= 0;
2073 PyObject
* _obj4
= 0;
2075 PyObject
* _obj5
= 0;
2076 PyObject
* _argo7
= 0;
2077 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2090 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2091 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2097 #if PYTHON_API_VERSION >= 1009
2098 char* tmpPtr
; int tmpSize
;
2099 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2103 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2105 _arg3
= new wxString(tmpPtr
, tmpSize
);
2107 if (!PyString_Check(_obj3
)) {
2108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2111 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2117 if (! wxPoint_helper(_obj4
, &_arg4
))
2123 if (! wxSize_helper(_obj5
, &_arg5
))
2127 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2128 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2134 wxPy_BEGIN_ALLOW_THREADS
;
2135 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2137 wxPy_END_ALLOW_THREADS
;
2138 if (PyErr_Occurred()) return NULL
;
2139 } _resultobj
= Py_BuildValue("i",_result
);
2147 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2148 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2152 PyObject
* _argo0
= 0;
2153 char *_kwnames
[] = { "self", NULL
};
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2166 wxPy_BEGIN_ALLOW_THREADS
;
2167 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2169 wxPy_END_ALLOW_THREADS
;
2170 if (PyErr_Occurred()) return NULL
;
2171 } _resultobj
= Py_BuildValue("i",_result
);
2175 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2176 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
* _resultobj
;
2180 PyObject
* _argo0
= 0;
2182 char *_kwnames
[] = { "self","state", NULL
};
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2194 _arg1
= (bool ) tempbool1
;
2196 wxPy_BEGIN_ALLOW_THREADS
;
2197 wxCheckBox_SetValue(_arg0
,_arg1
);
2199 wxPy_END_ALLOW_THREADS
;
2200 if (PyErr_Occurred()) return NULL
;
2201 } Py_INCREF(Py_None
);
2202 _resultobj
= Py_None
;
2206 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2208 wxControlWithItems
*dest
;
2209 src
= (wxChoice
*) ptr
;
2210 dest
= (wxControlWithItems
*) src
;
2211 return (void *) dest
;
2214 static void *SwigwxChoiceTowxControl(void *ptr
) {
2217 src
= (wxChoice
*) ptr
;
2218 dest
= (wxControl
*) src
;
2219 return (void *) dest
;
2222 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2225 src
= (wxChoice
*) ptr
;
2226 dest
= (wxWindow
*) src
;
2227 return (void *) dest
;
2230 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2233 src
= (wxChoice
*) ptr
;
2234 dest
= (wxEvtHandler
*) src
;
2235 return (void *) dest
;
2238 static void *SwigwxChoiceTowxObject(void *ptr
) {
2241 src
= (wxChoice
*) ptr
;
2242 dest
= (wxObject
*) src
;
2243 return (void *) dest
;
2246 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2247 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
* _resultobj
;
2252 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2253 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2254 int _arg4
= (int ) 0;
2255 wxString
* _arg5
= (wxString
*) NULL
;
2256 long _arg6
= (long ) 0;
2257 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2258 char * _arg8
= (char *) "choice";
2259 PyObject
* _argo0
= 0;
2261 PyObject
* _obj2
= 0;
2263 PyObject
* _obj3
= 0;
2264 PyObject
* _obj5
= 0;
2265 PyObject
* _argo7
= 0;
2266 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2273 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2274 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2282 if (! wxPoint_helper(_obj2
, &_arg2
))
2288 if (! wxSize_helper(_obj3
, &_arg3
))
2293 _arg5
= wxString_LIST_helper(_obj5
);
2294 if (_arg5
== NULL
) {
2299 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2300 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2307 _arg4
= PyList_Size(_obj5
);
2314 wxPy_BEGIN_ALLOW_THREADS
;
2315 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2317 wxPy_END_ALLOW_THREADS
;
2318 if (PyErr_Occurred()) return NULL
;
2320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2321 _resultobj
= Py_BuildValue("s",_ptemp
);
2324 _resultobj
= Py_None
;
2332 #define new_wxPreChoice() (new wxChoice())
2333 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2334 PyObject
* _resultobj
;
2336 char *_kwnames
[] = { NULL
};
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2343 wxPy_BEGIN_ALLOW_THREADS
;
2344 _result
= (wxChoice
*)new_wxPreChoice();
2346 wxPy_END_ALLOW_THREADS
;
2347 if (PyErr_Occurred()) return NULL
;
2349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2350 _resultobj
= Py_BuildValue("s",_ptemp
);
2353 _resultobj
= Py_None
;
2358 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2359 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
* _resultobj
;
2365 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2366 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2367 int _arg5
= (int ) 0;
2368 wxString
* _arg6
= (wxString
*) NULL
;
2369 long _arg7
= (long ) 0;
2370 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2371 char * _arg9
= (char *) "choice";
2372 PyObject
* _argo0
= 0;
2373 PyObject
* _argo1
= 0;
2375 PyObject
* _obj3
= 0;
2377 PyObject
* _obj4
= 0;
2378 PyObject
* _obj6
= 0;
2379 PyObject
* _argo8
= 0;
2380 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2402 if (! wxPoint_helper(_obj3
, &_arg3
))
2408 if (! wxSize_helper(_obj4
, &_arg4
))
2413 _arg6
= wxString_LIST_helper(_obj6
);
2414 if (_arg6
== NULL
) {
2419 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2427 _arg5
= PyList_Size(_obj6
);
2434 wxPy_BEGIN_ALLOW_THREADS
;
2435 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2437 wxPy_END_ALLOW_THREADS
;
2438 if (PyErr_Occurred()) return NULL
;
2439 } _resultobj
= Py_BuildValue("i",_result
);
2446 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2447 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2450 PyObject
* _argo0
= 0;
2451 char *_kwnames
[] = { "self", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2464 wxPy_BEGIN_ALLOW_THREADS
;
2465 wxChoice_Clear(_arg0
);
2467 wxPy_END_ALLOW_THREADS
;
2468 if (PyErr_Occurred()) return NULL
;
2469 } Py_INCREF(Py_None
);
2470 _resultobj
= Py_None
;
2474 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2475 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2479 PyObject
* _argo0
= 0;
2480 char *_kwnames
[] = { "self", NULL
};
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2493 wxPy_BEGIN_ALLOW_THREADS
;
2494 _result
= (int )wxChoice_GetColumns(_arg0
);
2496 wxPy_END_ALLOW_THREADS
;
2497 if (PyErr_Occurred()) return NULL
;
2498 } _resultobj
= Py_BuildValue("i",_result
);
2502 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2503 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
* _resultobj
;
2506 int _arg1
= (int ) 1;
2507 PyObject
* _argo0
= 0;
2508 char *_kwnames
[] = { "self","n", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 wxChoice_SetColumns(_arg0
,_arg1
);
2524 wxPy_END_ALLOW_THREADS
;
2525 if (PyErr_Occurred()) return NULL
;
2526 } Py_INCREF(Py_None
);
2527 _resultobj
= Py_None
;
2531 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2532 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
* _resultobj
;
2536 PyObject
* _argo0
= 0;
2537 char *_kwnames
[] = { "self","n", NULL
};
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2550 wxPy_BEGIN_ALLOW_THREADS
;
2551 wxChoice_SetSelection(_arg0
,_arg1
);
2553 wxPy_END_ALLOW_THREADS
;
2554 if (PyErr_Occurred()) return NULL
;
2555 } Py_INCREF(Py_None
);
2556 _resultobj
= Py_None
;
2560 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2561 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2562 PyObject
* _resultobj
;
2565 PyObject
* _argo0
= 0;
2566 PyObject
* _obj1
= 0;
2567 char *_kwnames
[] = { "self","string", NULL
};
2570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2580 #if PYTHON_API_VERSION >= 1009
2581 char* tmpPtr
; int tmpSize
;
2582 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2583 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2586 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2588 _arg1
= new wxString(tmpPtr
, tmpSize
);
2590 if (!PyString_Check(_obj1
)) {
2591 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2594 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2598 wxPy_BEGIN_ALLOW_THREADS
;
2599 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2601 wxPy_END_ALLOW_THREADS
;
2602 if (PyErr_Occurred()) return NULL
;
2603 } Py_INCREF(Py_None
);
2604 _resultobj
= Py_None
;
2612 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2613 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
* _resultobj
;
2618 PyObject
* _argo0
= 0;
2619 PyObject
* _obj2
= 0;
2620 char *_kwnames
[] = { "self","n","s", NULL
};
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2633 #if PYTHON_API_VERSION >= 1009
2634 char* tmpPtr
; int tmpSize
;
2635 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2639 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2641 _arg2
= new wxString(tmpPtr
, tmpSize
);
2643 if (!PyString_Check(_obj2
)) {
2644 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2647 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2651 wxPy_BEGIN_ALLOW_THREADS
;
2652 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2654 wxPy_END_ALLOW_THREADS
;
2655 if (PyErr_Occurred()) return NULL
;
2656 } Py_INCREF(Py_None
);
2657 _resultobj
= Py_None
;
2665 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2668 src
= (wxComboBox
*) ptr
;
2669 dest
= (wxChoice
*) src
;
2670 return (void *) dest
;
2673 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2675 wxControlWithItems
*dest
;
2676 src
= (wxComboBox
*) ptr
;
2677 dest
= (wxControlWithItems
*) src
;
2678 return (void *) dest
;
2681 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2684 src
= (wxComboBox
*) ptr
;
2685 dest
= (wxControl
*) src
;
2686 return (void *) dest
;
2689 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2692 src
= (wxComboBox
*) ptr
;
2693 dest
= (wxWindow
*) src
;
2694 return (void *) dest
;
2697 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2700 src
= (wxComboBox
*) ptr
;
2701 dest
= (wxEvtHandler
*) src
;
2702 return (void *) dest
;
2705 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2708 src
= (wxComboBox
*) ptr
;
2709 dest
= (wxObject
*) src
;
2710 return (void *) dest
;
2713 #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))
2714 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
* _resultobj
;
2716 wxComboBox
* _result
;
2719 char * _arg2
= (char *) "";
2720 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2721 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2722 int _arg5
= (int ) 0;
2723 wxString
* _arg6
= (wxString
*) NULL
;
2724 long _arg7
= (long ) 0;
2725 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2726 char * _arg9
= (char *) "comboBox";
2727 PyObject
* _argo0
= 0;
2729 PyObject
* _obj3
= 0;
2731 PyObject
* _obj4
= 0;
2732 PyObject
* _obj6
= 0;
2733 PyObject
* _argo8
= 0;
2734 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2750 if (! wxPoint_helper(_obj3
, &_arg3
))
2756 if (! wxSize_helper(_obj4
, &_arg4
))
2761 _arg6
= wxString_LIST_helper(_obj6
);
2762 if (_arg6
== NULL
) {
2767 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2768 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2775 _arg5
= PyList_Size(_obj6
);
2782 wxPy_BEGIN_ALLOW_THREADS
;
2783 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2785 wxPy_END_ALLOW_THREADS
;
2786 if (PyErr_Occurred()) return NULL
;
2788 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2789 _resultobj
= Py_BuildValue("s",_ptemp
);
2792 _resultobj
= Py_None
;
2800 #define new_wxPreComboBox() (new wxComboBox())
2801 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
* _resultobj
;
2803 wxComboBox
* _result
;
2804 char *_kwnames
[] = { NULL
};
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2811 wxPy_BEGIN_ALLOW_THREADS
;
2812 _result
= (wxComboBox
*)new_wxPreComboBox();
2814 wxPy_END_ALLOW_THREADS
;
2815 if (PyErr_Occurred()) return NULL
;
2817 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2818 _resultobj
= Py_BuildValue("s",_ptemp
);
2821 _resultobj
= Py_None
;
2826 #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))
2827 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2828 PyObject
* _resultobj
;
2833 char * _arg3
= (char *) "";
2834 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2835 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2836 int _arg6
= (int ) 0;
2837 wxString
* _arg7
= (wxString
*) NULL
;
2838 long _arg8
= (long ) 0;
2839 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2840 char * _arg10
= (char *) "comboBox";
2841 PyObject
* _argo0
= 0;
2842 PyObject
* _argo1
= 0;
2844 PyObject
* _obj4
= 0;
2846 PyObject
* _obj5
= 0;
2847 PyObject
* _obj7
= 0;
2848 PyObject
* _argo9
= 0;
2849 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2862 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2863 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2871 if (! wxPoint_helper(_obj4
, &_arg4
))
2877 if (! wxSize_helper(_obj5
, &_arg5
))
2882 _arg7
= wxString_LIST_helper(_obj7
);
2883 if (_arg7
== NULL
) {
2888 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2896 _arg6
= PyList_Size(_obj7
);
2903 wxPy_BEGIN_ALLOW_THREADS
;
2904 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2906 wxPy_END_ALLOW_THREADS
;
2907 if (PyErr_Occurred()) return NULL
;
2908 } _resultobj
= Py_BuildValue("i",_result
);
2915 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2916 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
* _resultobj
;
2919 PyObject
* _argo0
= 0;
2920 char *_kwnames
[] = { "self", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2933 wxPy_BEGIN_ALLOW_THREADS
;
2934 wxComboBox_Copy(_arg0
);
2936 wxPy_END_ALLOW_THREADS
;
2937 if (PyErr_Occurred()) return NULL
;
2938 } Py_INCREF(Py_None
);
2939 _resultobj
= Py_None
;
2943 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2944 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2961 wxPy_BEGIN_ALLOW_THREADS
;
2962 wxComboBox_Cut(_arg0
);
2964 wxPy_END_ALLOW_THREADS
;
2965 if (PyErr_Occurred()) return NULL
;
2966 } Py_INCREF(Py_None
);
2967 _resultobj
= Py_None
;
2971 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2972 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
* _resultobj
;
2976 PyObject
* _argo0
= 0;
2977 char *_kwnames
[] = { "self", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2990 wxPy_BEGIN_ALLOW_THREADS
;
2991 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2993 wxPy_END_ALLOW_THREADS
;
2994 if (PyErr_Occurred()) return NULL
;
2995 } _resultobj
= Py_BuildValue("l",_result
);
2999 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
3000 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
* _resultobj
;
3004 PyObject
* _argo0
= 0;
3005 char *_kwnames
[] = { "self", NULL
};
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
3011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
3018 wxPy_BEGIN_ALLOW_THREADS
;
3019 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
3021 wxPy_END_ALLOW_THREADS
;
3022 if (PyErr_Occurred()) return NULL
;
3023 } _resultobj
= Py_BuildValue("l",_result
);
3027 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3028 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
* _resultobj
;
3032 PyObject
* _argo0
= 0;
3033 char *_kwnames
[] = { "self", NULL
};
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3046 wxPy_BEGIN_ALLOW_THREADS
;
3047 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3049 wxPy_END_ALLOW_THREADS
;
3050 if (PyErr_Occurred()) return NULL
;
3052 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3060 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3061 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
* _resultobj
;
3064 PyObject
* _argo0
= 0;
3065 char *_kwnames
[] = { "self", NULL
};
3068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3078 wxPy_BEGIN_ALLOW_THREADS
;
3079 wxComboBox_Paste(_arg0
);
3081 wxPy_END_ALLOW_THREADS
;
3082 if (PyErr_Occurred()) return NULL
;
3083 } Py_INCREF(Py_None
);
3084 _resultobj
= Py_None
;
3088 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3089 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
* _resultobj
;
3095 PyObject
* _argo0
= 0;
3096 PyObject
* _obj3
= 0;
3097 char *_kwnames
[] = { "self","from","to","text", NULL
};
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3110 #if PYTHON_API_VERSION >= 1009
3111 char* tmpPtr
; int tmpSize
;
3112 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3113 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3116 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3118 _arg3
= new wxString(tmpPtr
, tmpSize
);
3120 if (!PyString_Check(_obj3
)) {
3121 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3124 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3128 wxPy_BEGIN_ALLOW_THREADS
;
3129 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3131 wxPy_END_ALLOW_THREADS
;
3132 if (PyErr_Occurred()) return NULL
;
3133 } Py_INCREF(Py_None
);
3134 _resultobj
= Py_None
;
3142 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3143 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
* _resultobj
;
3148 PyObject
* _argo0
= 0;
3149 char *_kwnames
[] = { "self","from","to", NULL
};
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3162 wxPy_BEGIN_ALLOW_THREADS
;
3163 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3165 wxPy_END_ALLOW_THREADS
;
3166 if (PyErr_Occurred()) return NULL
;
3167 } Py_INCREF(Py_None
);
3168 _resultobj
= Py_None
;
3172 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3173 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
* _resultobj
;
3177 PyObject
* _argo0
= 0;
3178 char *_kwnames
[] = { "self","pos", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3191 wxPy_BEGIN_ALLOW_THREADS
;
3192 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3194 wxPy_END_ALLOW_THREADS
;
3195 if (PyErr_Occurred()) return NULL
;
3196 } Py_INCREF(Py_None
);
3197 _resultobj
= Py_None
;
3201 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3202 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
* _resultobj
;
3205 PyObject
* _argo0
= 0;
3206 char *_kwnames
[] = { "self", NULL
};
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3219 wxPy_BEGIN_ALLOW_THREADS
;
3220 wxComboBox_SetInsertionPointEnd(_arg0
);
3222 wxPy_END_ALLOW_THREADS
;
3223 if (PyErr_Occurred()) return NULL
;
3224 } Py_INCREF(Py_None
);
3225 _resultobj
= Py_None
;
3229 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3230 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3234 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "self","n", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3248 wxPy_BEGIN_ALLOW_THREADS
;
3249 wxComboBox_SetSelection(_arg0
,_arg1
);
3251 wxPy_END_ALLOW_THREADS
;
3252 if (PyErr_Occurred()) return NULL
;
3253 } Py_INCREF(Py_None
);
3254 _resultobj
= Py_None
;
3258 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3259 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
* _resultobj
;
3264 PyObject
* _argo0
= 0;
3265 char *_kwnames
[] = { "self","from","to", NULL
};
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3281 wxPy_END_ALLOW_THREADS
;
3282 if (PyErr_Occurred()) return NULL
;
3283 } Py_INCREF(Py_None
);
3284 _resultobj
= Py_None
;
3288 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3289 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3293 PyObject
* _argo0
= 0;
3294 PyObject
* _obj1
= 0;
3295 char *_kwnames
[] = { "self","text", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3308 #if PYTHON_API_VERSION >= 1009
3309 char* tmpPtr
; int tmpSize
;
3310 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3311 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3314 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3316 _arg1
= new wxString(tmpPtr
, tmpSize
);
3318 if (!PyString_Check(_obj1
)) {
3319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3322 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3326 wxPy_BEGIN_ALLOW_THREADS
;
3327 wxComboBox_SetValue(_arg0
,*_arg1
);
3329 wxPy_END_ALLOW_THREADS
;
3330 if (PyErr_Occurred()) return NULL
;
3331 } Py_INCREF(Py_None
);
3332 _resultobj
= Py_None
;
3340 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3341 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
* _resultobj
;
3345 PyObject
* _argo0
= 0;
3347 char *_kwnames
[] = { "self","editable", NULL
};
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3359 _arg1
= (bool ) tempbool1
;
3361 wxPy_BEGIN_ALLOW_THREADS
;
3362 wxComboBox_SetEditable(_arg0
,_arg1
);
3364 wxPy_END_ALLOW_THREADS
;
3365 if (PyErr_Occurred()) return NULL
;
3366 } Py_INCREF(Py_None
);
3367 _resultobj
= Py_None
;
3371 static void *SwigwxGaugeTowxControl(void *ptr
) {
3374 src
= (wxGauge
*) ptr
;
3375 dest
= (wxControl
*) src
;
3376 return (void *) dest
;
3379 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3382 src
= (wxGauge
*) ptr
;
3383 dest
= (wxWindow
*) src
;
3384 return (void *) dest
;
3387 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3390 src
= (wxGauge
*) ptr
;
3391 dest
= (wxEvtHandler
*) src
;
3392 return (void *) dest
;
3395 static void *SwigwxGaugeTowxObject(void *ptr
) {
3398 src
= (wxGauge
*) ptr
;
3399 dest
= (wxObject
*) src
;
3400 return (void *) dest
;
3403 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3404 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
* _resultobj
;
3410 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3411 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3412 long _arg5
= (long ) wxGA_HORIZONTAL
;
3413 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3414 char * _arg7
= (char *) "gauge";
3415 PyObject
* _argo0
= 0;
3417 PyObject
* _obj3
= 0;
3419 PyObject
* _obj4
= 0;
3420 PyObject
* _argo6
= 0;
3421 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3428 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3429 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3437 if (! wxPoint_helper(_obj3
, &_arg3
))
3443 if (! wxSize_helper(_obj4
, &_arg4
))
3447 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3448 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3454 wxPy_BEGIN_ALLOW_THREADS
;
3455 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3457 wxPy_END_ALLOW_THREADS
;
3458 if (PyErr_Occurred()) return NULL
;
3460 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3461 _resultobj
= Py_BuildValue("s",_ptemp
);
3464 _resultobj
= Py_None
;
3469 #define new_wxPreGauge() (new wxGauge())
3470 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3471 PyObject
* _resultobj
;
3473 char *_kwnames
[] = { NULL
};
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3480 wxPy_BEGIN_ALLOW_THREADS
;
3481 _result
= (wxGauge
*)new_wxPreGauge();
3483 wxPy_END_ALLOW_THREADS
;
3484 if (PyErr_Occurred()) return NULL
;
3486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3487 _resultobj
= Py_BuildValue("s",_ptemp
);
3490 _resultobj
= Py_None
;
3495 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3496 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3503 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3504 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3505 long _arg6
= (long ) wxGA_HORIZONTAL
;
3506 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3507 char * _arg8
= (char *) "gauge";
3508 PyObject
* _argo0
= 0;
3509 PyObject
* _argo1
= 0;
3511 PyObject
* _obj4
= 0;
3513 PyObject
* _obj5
= 0;
3514 PyObject
* _argo7
= 0;
3515 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3528 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3529 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3537 if (! wxPoint_helper(_obj4
, &_arg4
))
3543 if (! wxSize_helper(_obj5
, &_arg5
))
3547 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3548 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3554 wxPy_BEGIN_ALLOW_THREADS
;
3555 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3557 wxPy_END_ALLOW_THREADS
;
3558 if (PyErr_Occurred()) return NULL
;
3559 } _resultobj
= Py_BuildValue("i",_result
);
3563 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3564 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3568 PyObject
* _argo0
= 0;
3569 char *_kwnames
[] = { "self", NULL
};
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3582 wxPy_BEGIN_ALLOW_THREADS
;
3583 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3585 wxPy_END_ALLOW_THREADS
;
3586 if (PyErr_Occurred()) return NULL
;
3587 } _resultobj
= Py_BuildValue("i",_result
);
3591 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3592 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
* _resultobj
;
3596 PyObject
* _argo0
= 0;
3597 char *_kwnames
[] = { "self", NULL
};
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 _result
= (int )wxGauge_GetRange(_arg0
);
3613 wxPy_END_ALLOW_THREADS
;
3614 if (PyErr_Occurred()) return NULL
;
3615 } _resultobj
= Py_BuildValue("i",_result
);
3619 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3620 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3624 PyObject
* _argo0
= 0;
3625 char *_kwnames
[] = { "self", NULL
};
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3638 wxPy_BEGIN_ALLOW_THREADS
;
3639 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3641 wxPy_END_ALLOW_THREADS
;
3642 if (PyErr_Occurred()) return NULL
;
3643 } _resultobj
= Py_BuildValue("i",_result
);
3647 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3648 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3652 PyObject
* _argo0
= 0;
3653 char *_kwnames
[] = { "self", NULL
};
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3666 wxPy_BEGIN_ALLOW_THREADS
;
3667 _result
= (int )wxGauge_GetValue(_arg0
);
3669 wxPy_END_ALLOW_THREADS
;
3670 if (PyErr_Occurred()) return NULL
;
3671 } _resultobj
= Py_BuildValue("i",_result
);
3675 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3676 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
* _resultobj
;
3680 PyObject
* _argo0
= 0;
3681 char *_kwnames
[] = { "self","width", NULL
};
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3694 wxPy_BEGIN_ALLOW_THREADS
;
3695 wxGauge_SetBezelFace(_arg0
,_arg1
);
3697 wxPy_END_ALLOW_THREADS
;
3698 if (PyErr_Occurred()) return NULL
;
3699 } Py_INCREF(Py_None
);
3700 _resultobj
= Py_None
;
3704 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3705 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3709 PyObject
* _argo0
= 0;
3710 char *_kwnames
[] = { "self","range", NULL
};
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3723 wxPy_BEGIN_ALLOW_THREADS
;
3724 wxGauge_SetRange(_arg0
,_arg1
);
3726 wxPy_END_ALLOW_THREADS
;
3727 if (PyErr_Occurred()) return NULL
;
3728 } Py_INCREF(Py_None
);
3729 _resultobj
= Py_None
;
3733 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3734 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
* _resultobj
;
3738 PyObject
* _argo0
= 0;
3739 char *_kwnames
[] = { "self","width", NULL
};
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3752 wxPy_BEGIN_ALLOW_THREADS
;
3753 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3755 wxPy_END_ALLOW_THREADS
;
3756 if (PyErr_Occurred()) return NULL
;
3757 } Py_INCREF(Py_None
);
3758 _resultobj
= Py_None
;
3762 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3763 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
* _resultobj
;
3767 PyObject
* _argo0
= 0;
3768 char *_kwnames
[] = { "self","pos", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3781 wxPy_BEGIN_ALLOW_THREADS
;
3782 wxGauge_SetValue(_arg0
,_arg1
);
3784 wxPy_END_ALLOW_THREADS
;
3785 if (PyErr_Occurred()) return NULL
;
3786 } Py_INCREF(Py_None
);
3787 _resultobj
= Py_None
;
3791 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3794 src
= (wxStaticBox
*) ptr
;
3795 dest
= (wxControl
*) src
;
3796 return (void *) dest
;
3799 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3802 src
= (wxStaticBox
*) ptr
;
3803 dest
= (wxWindow
*) src
;
3804 return (void *) dest
;
3807 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3810 src
= (wxStaticBox
*) ptr
;
3811 dest
= (wxEvtHandler
*) src
;
3812 return (void *) dest
;
3815 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3818 src
= (wxStaticBox
*) ptr
;
3819 dest
= (wxObject
*) src
;
3820 return (void *) dest
;
3823 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3824 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
* _resultobj
;
3826 wxStaticBox
* _result
;
3830 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3831 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3832 long _arg5
= (long ) 0;
3833 char * _arg6
= (char *) "staticBox";
3834 PyObject
* _argo0
= 0;
3835 PyObject
* _obj2
= 0;
3837 PyObject
* _obj3
= 0;
3839 PyObject
* _obj4
= 0;
3840 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3854 #if PYTHON_API_VERSION >= 1009
3855 char* tmpPtr
; int tmpSize
;
3856 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3857 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3860 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3862 _arg2
= new wxString(tmpPtr
, tmpSize
);
3864 if (!PyString_Check(_obj2
)) {
3865 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3868 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3874 if (! wxPoint_helper(_obj3
, &_arg3
))
3880 if (! wxSize_helper(_obj4
, &_arg4
))
3884 wxPy_BEGIN_ALLOW_THREADS
;
3885 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3887 wxPy_END_ALLOW_THREADS
;
3888 if (PyErr_Occurred()) return NULL
;
3890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3891 _resultobj
= Py_BuildValue("s",_ptemp
);
3894 _resultobj
= Py_None
;
3903 #define new_wxPreStaticBox() (new wxStaticBox())
3904 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
* _resultobj
;
3906 wxStaticBox
* _result
;
3907 char *_kwnames
[] = { NULL
};
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3914 wxPy_BEGIN_ALLOW_THREADS
;
3915 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3917 wxPy_END_ALLOW_THREADS
;
3918 if (PyErr_Occurred()) return NULL
;
3920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3921 _resultobj
= Py_BuildValue("s",_ptemp
);
3924 _resultobj
= Py_None
;
3929 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3930 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3933 wxStaticBox
* _arg0
;
3937 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3938 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3939 long _arg6
= (long ) 0;
3940 char * _arg7
= (char *) "staticBox";
3941 PyObject
* _argo0
= 0;
3942 PyObject
* _argo1
= 0;
3943 PyObject
* _obj3
= 0;
3945 PyObject
* _obj4
= 0;
3947 PyObject
* _obj5
= 0;
3948 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3961 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3968 #if PYTHON_API_VERSION >= 1009
3969 char* tmpPtr
; int tmpSize
;
3970 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3971 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3974 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3976 _arg3
= new wxString(tmpPtr
, tmpSize
);
3978 if (!PyString_Check(_obj3
)) {
3979 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3982 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3988 if (! wxPoint_helper(_obj4
, &_arg4
))
3994 if (! wxSize_helper(_obj5
, &_arg5
))
3998 wxPy_BEGIN_ALLOW_THREADS
;
3999 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4001 wxPy_END_ALLOW_THREADS
;
4002 if (PyErr_Occurred()) return NULL
;
4003 } _resultobj
= Py_BuildValue("i",_result
);
4011 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4014 src
= (wxStaticLine
*) ptr
;
4015 dest
= (wxControl
*) src
;
4016 return (void *) dest
;
4019 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4022 src
= (wxStaticLine
*) ptr
;
4023 dest
= (wxWindow
*) src
;
4024 return (void *) dest
;
4027 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4030 src
= (wxStaticLine
*) ptr
;
4031 dest
= (wxEvtHandler
*) src
;
4032 return (void *) dest
;
4035 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4038 src
= (wxStaticLine
*) ptr
;
4039 dest
= (wxObject
*) src
;
4040 return (void *) dest
;
4043 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4044 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
* _resultobj
;
4046 wxStaticLine
* _result
;
4049 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4050 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4051 long _arg4
= (long ) wxLI_HORIZONTAL
;
4052 char * _arg5
= (char *) "staticLine";
4053 PyObject
* _argo0
= 0;
4055 PyObject
* _obj2
= 0;
4057 PyObject
* _obj3
= 0;
4058 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4074 if (! wxPoint_helper(_obj2
, &_arg2
))
4080 if (! wxSize_helper(_obj3
, &_arg3
))
4084 wxPy_BEGIN_ALLOW_THREADS
;
4085 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4087 wxPy_END_ALLOW_THREADS
;
4088 if (PyErr_Occurred()) return NULL
;
4090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4091 _resultobj
= Py_BuildValue("s",_ptemp
);
4094 _resultobj
= Py_None
;
4099 #define new_wxPreStaticLine() (new wxStaticLine())
4100 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4102 wxStaticLine
* _result
;
4103 char *_kwnames
[] = { NULL
};
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4110 wxPy_BEGIN_ALLOW_THREADS
;
4111 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4113 wxPy_END_ALLOW_THREADS
;
4114 if (PyErr_Occurred()) return NULL
;
4116 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4117 _resultobj
= Py_BuildValue("s",_ptemp
);
4120 _resultobj
= Py_None
;
4125 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4126 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4129 wxStaticLine
* _arg0
;
4132 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4133 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4134 long _arg5
= (long ) wxLI_HORIZONTAL
;
4135 char * _arg6
= (char *) "staticLine";
4136 PyObject
* _argo0
= 0;
4137 PyObject
* _argo1
= 0;
4139 PyObject
* _obj3
= 0;
4141 PyObject
* _obj4
= 0;
4142 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4164 if (! wxPoint_helper(_obj3
, &_arg3
))
4170 if (! wxSize_helper(_obj4
, &_arg4
))
4174 wxPy_BEGIN_ALLOW_THREADS
;
4175 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4177 wxPy_END_ALLOW_THREADS
;
4178 if (PyErr_Occurred()) return NULL
;
4179 } _resultobj
= Py_BuildValue("i",_result
);
4183 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4186 src
= (wxStaticText
*) ptr
;
4187 dest
= (wxControl
*) src
;
4188 return (void *) dest
;
4191 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4194 src
= (wxStaticText
*) ptr
;
4195 dest
= (wxWindow
*) src
;
4196 return (void *) dest
;
4199 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4202 src
= (wxStaticText
*) ptr
;
4203 dest
= (wxEvtHandler
*) src
;
4204 return (void *) dest
;
4207 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4210 src
= (wxStaticText
*) ptr
;
4211 dest
= (wxObject
*) src
;
4212 return (void *) dest
;
4215 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4216 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4218 wxStaticText
* _result
;
4222 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4223 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4224 long _arg5
= (long ) 0;
4225 char * _arg6
= (char *) "staticText";
4226 PyObject
* _argo0
= 0;
4227 PyObject
* _obj2
= 0;
4229 PyObject
* _obj3
= 0;
4231 PyObject
* _obj4
= 0;
4232 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4246 #if PYTHON_API_VERSION >= 1009
4247 char* tmpPtr
; int tmpSize
;
4248 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4249 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4252 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4254 _arg2
= new wxString(tmpPtr
, tmpSize
);
4256 if (!PyString_Check(_obj2
)) {
4257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4260 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4266 if (! wxPoint_helper(_obj3
, &_arg3
))
4272 if (! wxSize_helper(_obj4
, &_arg4
))
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4279 wxPy_END_ALLOW_THREADS
;
4280 if (PyErr_Occurred()) return NULL
;
4282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4283 _resultobj
= Py_BuildValue("s",_ptemp
);
4286 _resultobj
= Py_None
;
4295 #define new_wxPreStaticText() (new wxStaticText())
4296 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4297 PyObject
* _resultobj
;
4298 wxStaticText
* _result
;
4299 char *_kwnames
[] = { NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4306 wxPy_BEGIN_ALLOW_THREADS
;
4307 _result
= (wxStaticText
*)new_wxPreStaticText();
4309 wxPy_END_ALLOW_THREADS
;
4310 if (PyErr_Occurred()) return NULL
;
4312 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4313 _resultobj
= Py_BuildValue("s",_ptemp
);
4316 _resultobj
= Py_None
;
4321 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4322 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
* _resultobj
;
4325 wxStaticText
* _arg0
;
4329 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4330 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4331 long _arg6
= (long ) 0;
4332 char * _arg7
= (char *) "staticText";
4333 PyObject
* _argo0
= 0;
4334 PyObject
* _argo1
= 0;
4335 PyObject
* _obj3
= 0;
4337 PyObject
* _obj4
= 0;
4339 PyObject
* _obj5
= 0;
4340 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4353 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4354 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4360 #if PYTHON_API_VERSION >= 1009
4361 char* tmpPtr
; int tmpSize
;
4362 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4363 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4366 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4368 _arg3
= new wxString(tmpPtr
, tmpSize
);
4370 if (!PyString_Check(_obj3
)) {
4371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4374 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4380 if (! wxPoint_helper(_obj4
, &_arg4
))
4386 if (! wxSize_helper(_obj5
, &_arg5
))
4390 wxPy_BEGIN_ALLOW_THREADS
;
4391 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4393 wxPy_END_ALLOW_THREADS
;
4394 if (PyErr_Occurred()) return NULL
;
4395 } _resultobj
= Py_BuildValue("i",_result
);
4403 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4404 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4407 wxStaticText
* _arg0
;
4408 PyObject
* _argo0
= 0;
4409 char *_kwnames
[] = { "self", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4425 wxPy_END_ALLOW_THREADS
;
4426 if (PyErr_Occurred()) return NULL
;
4428 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4436 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4437 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
* _resultobj
;
4439 wxStaticText
* _arg0
;
4441 PyObject
* _argo0
= 0;
4442 PyObject
* _obj1
= 0;
4443 char *_kwnames
[] = { "self","label", NULL
};
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4456 #if PYTHON_API_VERSION >= 1009
4457 char* tmpPtr
; int tmpSize
;
4458 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4459 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4462 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4464 _arg1
= new wxString(tmpPtr
, tmpSize
);
4466 if (!PyString_Check(_obj1
)) {
4467 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4470 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4474 wxPy_BEGIN_ALLOW_THREADS
;
4475 wxStaticText_SetLabel(_arg0
,*_arg1
);
4477 wxPy_END_ALLOW_THREADS
;
4478 if (PyErr_Occurred()) return NULL
;
4479 } Py_INCREF(Py_None
);
4480 _resultobj
= Py_None
;
4488 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4490 wxControlWithItems
*dest
;
4491 src
= (wxListBox
*) ptr
;
4492 dest
= (wxControlWithItems
*) src
;
4493 return (void *) dest
;
4496 static void *SwigwxListBoxTowxControl(void *ptr
) {
4499 src
= (wxListBox
*) ptr
;
4500 dest
= (wxControl
*) src
;
4501 return (void *) dest
;
4504 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4507 src
= (wxListBox
*) ptr
;
4508 dest
= (wxWindow
*) src
;
4509 return (void *) dest
;
4512 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4515 src
= (wxListBox
*) ptr
;
4516 dest
= (wxEvtHandler
*) src
;
4517 return (void *) dest
;
4520 static void *SwigwxListBoxTowxObject(void *ptr
) {
4523 src
= (wxListBox
*) ptr
;
4524 dest
= (wxObject
*) src
;
4525 return (void *) dest
;
4528 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4529 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
* _resultobj
;
4531 wxListBox
* _result
;
4534 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4535 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4537 wxString
* _arg5
= (wxString
*) NULL
;
4538 long _arg6
= (long ) 0;
4539 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4540 char * _arg8
= (char *) "listBox";
4541 PyObject
* _argo0
= 0;
4543 PyObject
* _obj2
= 0;
4545 PyObject
* _obj3
= 0;
4546 PyObject
* _obj5
= 0;
4547 PyObject
* _argo7
= 0;
4548 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4564 if (! wxPoint_helper(_obj2
, &_arg2
))
4570 if (! wxSize_helper(_obj3
, &_arg3
))
4575 _arg5
= wxString_LIST_helper(_obj5
);
4576 if (_arg5
== NULL
) {
4581 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4582 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4589 _arg4
= PyList_Size(_obj5
);
4596 wxPy_BEGIN_ALLOW_THREADS
;
4597 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4599 wxPy_END_ALLOW_THREADS
;
4600 if (PyErr_Occurred()) return NULL
;
4602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4603 _resultobj
= Py_BuildValue("s",_ptemp
);
4606 _resultobj
= Py_None
;
4614 #define new_wxPreListBox() (new wxListBox())
4615 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
* _resultobj
;
4617 wxListBox
* _result
;
4618 char *_kwnames
[] = { NULL
};
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4625 wxPy_BEGIN_ALLOW_THREADS
;
4626 _result
= (wxListBox
*)new_wxPreListBox();
4628 wxPy_END_ALLOW_THREADS
;
4629 if (PyErr_Occurred()) return NULL
;
4631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4632 _resultobj
= Py_BuildValue("s",_ptemp
);
4635 _resultobj
= Py_None
;
4640 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4641 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
* _resultobj
;
4647 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4648 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4650 wxString
* _arg6
= (wxString
*) NULL
;
4651 long _arg7
= (long ) 0;
4652 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4653 char * _arg9
= (char *) "listBox";
4654 PyObject
* _argo0
= 0;
4655 PyObject
* _argo1
= 0;
4657 PyObject
* _obj3
= 0;
4659 PyObject
* _obj4
= 0;
4660 PyObject
* _obj6
= 0;
4661 PyObject
* _argo8
= 0;
4662 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4675 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4676 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4684 if (! wxPoint_helper(_obj3
, &_arg3
))
4690 if (! wxSize_helper(_obj4
, &_arg4
))
4695 _arg6
= wxString_LIST_helper(_obj6
);
4696 if (_arg6
== NULL
) {
4701 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4702 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4709 _arg5
= PyList_Size(_obj6
);
4716 wxPy_BEGIN_ALLOW_THREADS
;
4717 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4719 wxPy_END_ALLOW_THREADS
;
4720 if (PyErr_Occurred()) return NULL
;
4721 } _resultobj
= Py_BuildValue("i",_result
);
4728 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4729 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4732 PyObject
* _argo0
= 0;
4733 char *_kwnames
[] = { "self", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4746 wxPy_BEGIN_ALLOW_THREADS
;
4747 wxListBox_Clear(_arg0
);
4749 wxPy_END_ALLOW_THREADS
;
4750 if (PyErr_Occurred()) return NULL
;
4751 } Py_INCREF(Py_None
);
4752 _resultobj
= Py_None
;
4756 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4757 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
* _resultobj
;
4761 PyObject
* _argo0
= 0;
4762 char *_kwnames
[] = { "self","n", NULL
};
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4775 wxPy_BEGIN_ALLOW_THREADS
;
4776 wxListBox_Deselect(_arg0
,_arg1
);
4778 wxPy_END_ALLOW_THREADS
;
4779 if (PyErr_Occurred()) return NULL
;
4780 } Py_INCREF(Py_None
);
4781 _resultobj
= Py_None
;
4785 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4787 self
->GetSelections(lst
);
4788 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4789 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4790 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4794 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4798 PyObject
* _argo0
= 0;
4799 char *_kwnames
[] = { "self", NULL
};
4802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4812 wxPy_BEGIN_ALLOW_THREADS
;
4813 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4815 wxPy_END_ALLOW_THREADS
;
4816 if (PyErr_Occurred()) return NULL
;
4818 _resultobj
= _result
;
4823 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4824 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
* _resultobj
;
4830 PyObject
* _argo0
= 0;
4831 PyObject
* _obj2
= 0;
4832 char *_kwnames
[] = { "self","choices","pos", NULL
};
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4845 _arg2
= wxString_LIST_helper(_obj2
);
4846 if (_arg2
== NULL
) {
4852 _arg1
= PyList_Size(_obj2
);
4859 wxPy_BEGIN_ALLOW_THREADS
;
4860 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4862 wxPy_END_ALLOW_THREADS
;
4863 if (PyErr_Occurred()) return NULL
;
4864 } Py_INCREF(Py_None
);
4865 _resultobj
= Py_None
;
4872 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4873 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
* _resultobj
;
4878 PyObject
* _argo0
= 0;
4879 char *_kwnames
[] = { "self","n", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4892 wxPy_BEGIN_ALLOW_THREADS
;
4893 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4895 wxPy_END_ALLOW_THREADS
;
4896 if (PyErr_Occurred()) return NULL
;
4897 } _resultobj
= Py_BuildValue("i",_result
);
4901 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4902 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4907 PyObject
* _argo0
= 0;
4908 char *_kwnames
[] = { "self","n", NULL
};
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4921 wxPy_BEGIN_ALLOW_THREADS
;
4922 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4924 wxPy_END_ALLOW_THREADS
;
4925 if (PyErr_Occurred()) return NULL
;
4926 } _resultobj
= Py_BuildValue("i",_result
);
4930 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4931 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
* _resultobj
;
4936 PyObject
* _argo0
= 0;
4937 PyObject
* _obj2
= 0;
4938 char *_kwnames
[] = { "self","choices", NULL
};
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4952 _arg2
= wxString_LIST_helper(_obj2
);
4953 if (_arg2
== NULL
) {
4959 _arg1
= PyList_Size(_obj2
);
4966 wxPy_BEGIN_ALLOW_THREADS
;
4967 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4969 wxPy_END_ALLOW_THREADS
;
4970 if (PyErr_Occurred()) return NULL
;
4971 } Py_INCREF(Py_None
);
4972 _resultobj
= Py_None
;
4979 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4980 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
* _resultobj
;
4984 PyObject
* _argo0
= 0;
4985 char *_kwnames
[] = { "self","n", NULL
};
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
4991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4998 wxPy_BEGIN_ALLOW_THREADS
;
4999 wxListBox_SetFirstItem(_arg0
,_arg1
);
5001 wxPy_END_ALLOW_THREADS
;
5002 if (PyErr_Occurred()) return NULL
;
5003 } Py_INCREF(Py_None
);
5004 _resultobj
= Py_None
;
5008 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5009 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
* _resultobj
;
5013 PyObject
* _argo0
= 0;
5014 PyObject
* _obj1
= 0;
5015 char *_kwnames
[] = { "self","string", NULL
};
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5028 #if PYTHON_API_VERSION >= 1009
5029 char* tmpPtr
; int tmpSize
;
5030 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5031 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5034 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5036 _arg1
= new wxString(tmpPtr
, tmpSize
);
5038 if (!PyString_Check(_obj1
)) {
5039 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5042 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5046 wxPy_BEGIN_ALLOW_THREADS
;
5047 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5049 wxPy_END_ALLOW_THREADS
;
5050 if (PyErr_Occurred()) return NULL
;
5051 } Py_INCREF(Py_None
);
5052 _resultobj
= Py_None
;
5060 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5061 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5065 bool _arg2
= (bool ) TRUE
;
5066 PyObject
* _argo0
= 0;
5067 int tempbool2
= (int) TRUE
;
5068 char *_kwnames
[] = { "self","n","select", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5080 _arg2
= (bool ) tempbool2
;
5082 wxPy_BEGIN_ALLOW_THREADS
;
5083 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5085 wxPy_END_ALLOW_THREADS
;
5086 if (PyErr_Occurred()) return NULL
;
5087 } Py_INCREF(Py_None
);
5088 _resultobj
= Py_None
;
5092 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5093 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
* _resultobj
;
5098 PyObject
* _argo0
= 0;
5099 PyObject
* _obj2
= 0;
5100 char *_kwnames
[] = { "self","n","string", NULL
};
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5113 #if PYTHON_API_VERSION >= 1009
5114 char* tmpPtr
; int tmpSize
;
5115 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5116 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5119 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5121 _arg2
= new wxString(tmpPtr
, tmpSize
);
5123 if (!PyString_Check(_obj2
)) {
5124 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5127 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5131 wxPy_BEGIN_ALLOW_THREADS
;
5132 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5134 wxPy_END_ALLOW_THREADS
;
5135 if (PyErr_Occurred()) return NULL
;
5136 } Py_INCREF(Py_None
);
5137 _resultobj
= Py_None
;
5145 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5146 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
* _resultobj
;
5150 bool _arg2
= (bool ) TRUE
;
5151 PyObject
* _argo0
= 0;
5152 PyObject
* _obj1
= 0;
5153 int tempbool2
= (int) TRUE
;
5154 char *_kwnames
[] = { "self","string","select", NULL
};
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5167 #if PYTHON_API_VERSION >= 1009
5168 char* tmpPtr
; int tmpSize
;
5169 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5170 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5173 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5175 _arg1
= new wxString(tmpPtr
, tmpSize
);
5177 if (!PyString_Check(_obj1
)) {
5178 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5181 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5184 _arg2
= (bool ) tempbool2
;
5186 wxPy_BEGIN_ALLOW_THREADS
;
5187 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5189 wxPy_END_ALLOW_THREADS
;
5190 if (PyErr_Occurred()) return NULL
;
5191 } Py_INCREF(Py_None
);
5192 _resultobj
= Py_None
;
5200 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5201 wxCheckListBox
*src
;
5203 src
= (wxCheckListBox
*) ptr
;
5204 dest
= (wxListBox
*) src
;
5205 return (void *) dest
;
5208 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5209 wxCheckListBox
*src
;
5210 wxControlWithItems
*dest
;
5211 src
= (wxCheckListBox
*) ptr
;
5212 dest
= (wxControlWithItems
*) src
;
5213 return (void *) dest
;
5216 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5217 wxCheckListBox
*src
;
5219 src
= (wxCheckListBox
*) ptr
;
5220 dest
= (wxControl
*) src
;
5221 return (void *) dest
;
5224 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5225 wxCheckListBox
*src
;
5227 src
= (wxCheckListBox
*) ptr
;
5228 dest
= (wxWindow
*) src
;
5229 return (void *) dest
;
5232 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5233 wxCheckListBox
*src
;
5235 src
= (wxCheckListBox
*) ptr
;
5236 dest
= (wxEvtHandler
*) src
;
5237 return (void *) dest
;
5240 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5241 wxCheckListBox
*src
;
5243 src
= (wxCheckListBox
*) ptr
;
5244 dest
= (wxObject
*) src
;
5245 return (void *) dest
;
5248 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5249 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5251 wxCheckListBox
* _result
;
5254 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5255 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5256 int _arg4
= (int ) 0;
5257 wxString
* _arg5
= (wxString
*) NULL
;
5258 long _arg6
= (long ) 0;
5259 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5260 char * _arg8
= (char *) "listBox";
5261 PyObject
* _argo0
= 0;
5263 PyObject
* _obj2
= 0;
5265 PyObject
* _obj3
= 0;
5266 PyObject
* _obj5
= 0;
5267 PyObject
* _argo7
= 0;
5268 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5284 if (! wxPoint_helper(_obj2
, &_arg2
))
5290 if (! wxSize_helper(_obj3
, &_arg3
))
5295 _arg5
= wxString_LIST_helper(_obj5
);
5296 if (_arg5
== NULL
) {
5301 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5302 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5309 _arg4
= PyList_Size(_obj5
);
5316 wxPy_BEGIN_ALLOW_THREADS
;
5317 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5319 wxPy_END_ALLOW_THREADS
;
5320 if (PyErr_Occurred()) return NULL
;
5322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5323 _resultobj
= Py_BuildValue("s",_ptemp
);
5326 _resultobj
= Py_None
;
5334 #define new_wxPreCheckListBox() (new wxCheckListBox())
5335 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
* _resultobj
;
5337 wxCheckListBox
* _result
;
5338 char *_kwnames
[] = { NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5345 wxPy_BEGIN_ALLOW_THREADS
;
5346 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5348 wxPy_END_ALLOW_THREADS
;
5349 if (PyErr_Occurred()) return NULL
;
5351 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5352 _resultobj
= Py_BuildValue("s",_ptemp
);
5355 _resultobj
= Py_None
;
5360 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5361 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
* _resultobj
;
5364 wxCheckListBox
* _arg0
;
5367 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5368 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5369 int _arg5
= (int ) 0;
5370 wxString
* _arg6
= (wxString
*) NULL
;
5371 long _arg7
= (long ) 0;
5372 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5373 char * _arg9
= (char *) "listBox";
5374 PyObject
* _argo0
= 0;
5375 PyObject
* _argo1
= 0;
5377 PyObject
* _obj3
= 0;
5379 PyObject
* _obj4
= 0;
5380 PyObject
* _obj6
= 0;
5381 PyObject
* _argo8
= 0;
5382 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5395 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5396 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5404 if (! wxPoint_helper(_obj3
, &_arg3
))
5410 if (! wxSize_helper(_obj4
, &_arg4
))
5415 _arg6
= wxString_LIST_helper(_obj6
);
5416 if (_arg6
== NULL
) {
5421 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5429 _arg5
= PyList_Size(_obj6
);
5436 wxPy_BEGIN_ALLOW_THREADS
;
5437 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5439 wxPy_END_ALLOW_THREADS
;
5440 if (PyErr_Occurred()) return NULL
;
5441 } _resultobj
= Py_BuildValue("i",_result
);
5448 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5449 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
* _resultobj
;
5452 wxCheckListBox
* _arg0
;
5454 PyObject
* _argo0
= 0;
5455 char *_kwnames
[] = { "self","uiIndex", NULL
};
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5468 wxPy_BEGIN_ALLOW_THREADS
;
5469 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5471 wxPy_END_ALLOW_THREADS
;
5472 if (PyErr_Occurred()) return NULL
;
5473 } _resultobj
= Py_BuildValue("i",_result
);
5477 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5478 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5480 wxCheckListBox
* _arg0
;
5482 int _arg2
= (int ) TRUE
;
5483 PyObject
* _argo0
= 0;
5484 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5497 wxPy_BEGIN_ALLOW_THREADS
;
5498 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5500 wxPy_END_ALLOW_THREADS
;
5501 if (PyErr_Occurred()) return NULL
;
5502 } Py_INCREF(Py_None
);
5503 _resultobj
= Py_None
;
5507 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5508 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5509 PyObject
* _resultobj
;
5510 wxCheckListBox
* _arg0
;
5514 PyObject
* _argo0
= 0;
5515 PyObject
* _obj2
= 0;
5516 char *_kwnames
[] = { "self","choices","pos", NULL
};
5519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5529 _arg2
= wxString_LIST_helper(_obj2
);
5530 if (_arg2
== NULL
) {
5536 _arg1
= PyList_Size(_obj2
);
5543 wxPy_BEGIN_ALLOW_THREADS
;
5544 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5546 wxPy_END_ALLOW_THREADS
;
5547 if (PyErr_Occurred()) return NULL
;
5548 } Py_INCREF(Py_None
);
5549 _resultobj
= Py_None
;
5556 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5557 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
* _resultobj
;
5560 wxCheckListBox
* _arg0
;
5561 PyObject
* _argo0
= 0;
5562 char *_kwnames
[] = { "self", NULL
};
5565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5575 wxPy_BEGIN_ALLOW_THREADS
;
5576 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5578 wxPy_END_ALLOW_THREADS
;
5579 if (PyErr_Occurred()) return NULL
;
5580 } _resultobj
= Py_BuildValue("i",_result
);
5584 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5585 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
* _resultobj
;
5587 wxTextAttr
* _result
;
5588 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5589 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5590 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5592 PyObject
* _obj0
= 0;
5594 PyObject
* _obj1
= 0;
5595 PyObject
* _argo2
= 0;
5596 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5605 if (! wxColour_helper(_obj0
, &_arg0
))
5611 if (! wxColour_helper(_obj1
, &_arg1
))
5615 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5616 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5622 wxPy_BEGIN_ALLOW_THREADS
;
5623 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5625 wxPy_END_ALLOW_THREADS
;
5626 if (PyErr_Occurred()) return NULL
;
5628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5629 _resultobj
= Py_BuildValue("s",_ptemp
);
5632 _resultobj
= Py_None
;
5637 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5638 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
* _resultobj
;
5641 PyObject
* _argo0
= 0;
5642 char *_kwnames
[] = { "self", NULL
};
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5655 wxPy_BEGIN_ALLOW_THREADS
;
5656 delete_wxTextAttr(_arg0
);
5658 wxPy_END_ALLOW_THREADS
;
5659 if (PyErr_Occurred()) return NULL
;
5660 } Py_INCREF(Py_None
);
5661 _resultobj
= Py_None
;
5665 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5666 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5670 PyObject
* _argo0
= 0;
5672 PyObject
* _obj1
= 0;
5673 char *_kwnames
[] = { "self","colText", NULL
};
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5687 if (! wxColour_helper(_obj1
, &_arg1
))
5691 wxPy_BEGIN_ALLOW_THREADS
;
5692 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5694 wxPy_END_ALLOW_THREADS
;
5695 if (PyErr_Occurred()) return NULL
;
5696 } Py_INCREF(Py_None
);
5697 _resultobj
= Py_None
;
5701 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5702 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
* _resultobj
;
5706 PyObject
* _argo0
= 0;
5708 PyObject
* _obj1
= 0;
5709 char *_kwnames
[] = { "self","colBack", NULL
};
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5723 if (! wxColour_helper(_obj1
, &_arg1
))
5727 wxPy_BEGIN_ALLOW_THREADS
;
5728 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5730 wxPy_END_ALLOW_THREADS
;
5731 if (PyErr_Occurred()) return NULL
;
5732 } Py_INCREF(Py_None
);
5733 _resultobj
= Py_None
;
5737 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5738 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
* _resultobj
;
5742 PyObject
* _argo0
= 0;
5743 PyObject
* _argo1
= 0;
5744 char *_kwnames
[] = { "self","font", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5757 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5758 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5764 wxPy_BEGIN_ALLOW_THREADS
;
5765 wxTextAttr_SetFont(_arg0
,*_arg1
);
5767 wxPy_END_ALLOW_THREADS
;
5768 if (PyErr_Occurred()) return NULL
;
5769 } Py_INCREF(Py_None
);
5770 _resultobj
= Py_None
;
5774 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5775 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
* _resultobj
;
5779 PyObject
* _argo0
= 0;
5780 char *_kwnames
[] = { "self", NULL
};
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5793 wxPy_BEGIN_ALLOW_THREADS
;
5794 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5796 wxPy_END_ALLOW_THREADS
;
5797 if (PyErr_Occurred()) return NULL
;
5798 } _resultobj
= Py_BuildValue("i",_result
);
5802 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5803 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5807 PyObject
* _argo0
= 0;
5808 char *_kwnames
[] = { "self", NULL
};
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5821 wxPy_BEGIN_ALLOW_THREADS
;
5822 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5824 wxPy_END_ALLOW_THREADS
;
5825 if (PyErr_Occurred()) return NULL
;
5826 } _resultobj
= Py_BuildValue("i",_result
);
5830 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5831 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5835 PyObject
* _argo0
= 0;
5836 char *_kwnames
[] = { "self", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5849 wxPy_BEGIN_ALLOW_THREADS
;
5850 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5852 wxPy_END_ALLOW_THREADS
;
5853 if (PyErr_Occurred()) return NULL
;
5854 } _resultobj
= Py_BuildValue("i",_result
);
5858 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5859 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5863 PyObject
* _argo0
= 0;
5864 char *_kwnames
[] = { "self", NULL
};
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5878 wxPy_BEGIN_ALLOW_THREADS
;
5879 const wxColour
& _result_ref
= wxTextAttr_GetTextColour(_arg0
);
5880 _result
= (wxColour
*) &_result_ref
;
5882 wxPy_END_ALLOW_THREADS
;
5883 if (PyErr_Occurred()) return NULL
;
5885 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5886 _resultobj
= Py_BuildValue("s",_ptemp
);
5889 _resultobj
= Py_None
;
5894 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5895 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
* _resultobj
;
5899 PyObject
* _argo0
= 0;
5900 char *_kwnames
[] = { "self", NULL
};
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5914 wxPy_BEGIN_ALLOW_THREADS
;
5915 const wxColour
& _result_ref
= wxTextAttr_GetBackgroundColour(_arg0
);
5916 _result
= (wxColour
*) &_result_ref
;
5918 wxPy_END_ALLOW_THREADS
;
5919 if (PyErr_Occurred()) return NULL
;
5921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxColour_p");
5922 _resultobj
= Py_BuildValue("s",_ptemp
);
5925 _resultobj
= Py_None
;
5930 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5931 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5935 PyObject
* _argo0
= 0;
5936 char *_kwnames
[] = { "self", NULL
};
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
5943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
5950 wxPy_BEGIN_ALLOW_THREADS
;
5951 const wxFont
& _result_ref
= wxTextAttr_GetFont(_arg0
);
5952 _result
= (wxFont
*) &_result_ref
;
5954 wxPy_END_ALLOW_THREADS
;
5955 if (PyErr_Occurred()) return NULL
;
5957 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFont_p");
5958 _resultobj
= Py_BuildValue("s",_ptemp
);
5961 _resultobj
= Py_None
;
5966 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5967 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
* _resultobj
;
5971 PyObject
* _argo0
= 0;
5972 char *_kwnames
[] = { "self", NULL
};
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5985 wxPy_BEGIN_ALLOW_THREADS
;
5986 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5988 wxPy_END_ALLOW_THREADS
;
5989 if (PyErr_Occurred()) return NULL
;
5990 } _resultobj
= Py_BuildValue("i",_result
);
5994 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
5997 src
= (wxTextCtrl
*) ptr
;
5998 dest
= (wxControl
*) src
;
5999 return (void *) dest
;
6002 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6005 src
= (wxTextCtrl
*) ptr
;
6006 dest
= (wxWindow
*) src
;
6007 return (void *) dest
;
6010 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6013 src
= (wxTextCtrl
*) ptr
;
6014 dest
= (wxEvtHandler
*) src
;
6015 return (void *) dest
;
6018 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6021 src
= (wxTextCtrl
*) ptr
;
6022 dest
= (wxObject
*) src
;
6023 return (void *) dest
;
6026 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6027 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
* _resultobj
;
6029 wxTextCtrl
* _result
;
6032 char * _arg2
= (char *) "";
6033 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6034 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6035 long _arg5
= (long ) 0;
6036 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6037 char * _arg7
= (char *) "text";
6038 PyObject
* _argo0
= 0;
6040 PyObject
* _obj3
= 0;
6042 PyObject
* _obj4
= 0;
6043 PyObject
* _argo6
= 0;
6044 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6060 if (! wxPoint_helper(_obj3
, &_arg3
))
6066 if (! wxSize_helper(_obj4
, &_arg4
))
6070 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6071 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6077 wxPy_BEGIN_ALLOW_THREADS
;
6078 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6080 wxPy_END_ALLOW_THREADS
;
6081 if (PyErr_Occurred()) return NULL
;
6083 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6084 _resultobj
= Py_BuildValue("s",_ptemp
);
6087 _resultobj
= Py_None
;
6092 #define new_wxPreTextCtrl() (new wxTextCtrl())
6093 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6095 wxTextCtrl
* _result
;
6096 char *_kwnames
[] = { NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6103 wxPy_BEGIN_ALLOW_THREADS
;
6104 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6106 wxPy_END_ALLOW_THREADS
;
6107 if (PyErr_Occurred()) return NULL
;
6109 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6110 _resultobj
= Py_BuildValue("s",_ptemp
);
6113 _resultobj
= Py_None
;
6118 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6119 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
* _resultobj
;
6125 char * _arg3
= (char *) "";
6126 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6127 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6128 long _arg6
= (long ) 0;
6129 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6130 char * _arg8
= (char *) "text";
6131 PyObject
* _argo0
= 0;
6132 PyObject
* _argo1
= 0;
6134 PyObject
* _obj4
= 0;
6136 PyObject
* _obj5
= 0;
6137 PyObject
* _argo7
= 0;
6138 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6151 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6152 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6160 if (! wxPoint_helper(_obj4
, &_arg4
))
6166 if (! wxSize_helper(_obj5
, &_arg5
))
6170 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6171 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6177 wxPy_BEGIN_ALLOW_THREADS
;
6178 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6180 wxPy_END_ALLOW_THREADS
;
6181 if (PyErr_Occurred()) return NULL
;
6182 } _resultobj
= Py_BuildValue("i",_result
);
6186 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6187 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
* _resultobj
;
6191 PyObject
* _argo0
= 0;
6192 char *_kwnames
[] = { "self", NULL
};
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6205 wxPy_BEGIN_ALLOW_THREADS
;
6206 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6208 wxPy_END_ALLOW_THREADS
;
6209 if (PyErr_Occurred()) return NULL
;
6211 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6219 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6220 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
* _resultobj
;
6224 PyObject
* _argo0
= 0;
6225 PyObject
* _obj1
= 0;
6226 char *_kwnames
[] = { "self","value", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6239 #if PYTHON_API_VERSION >= 1009
6240 char* tmpPtr
; int tmpSize
;
6241 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6245 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6247 _arg1
= new wxString(tmpPtr
, tmpSize
);
6249 if (!PyString_Check(_obj1
)) {
6250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6253 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6257 wxPy_BEGIN_ALLOW_THREADS
;
6258 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6260 wxPy_END_ALLOW_THREADS
;
6261 if (PyErr_Occurred()) return NULL
;
6262 } Py_INCREF(Py_None
);
6263 _resultobj
= Py_None
;
6271 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6272 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6277 PyObject
* _argo0
= 0;
6278 char *_kwnames
[] = { "self","lineNo", NULL
};
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6291 wxPy_BEGIN_ALLOW_THREADS
;
6292 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6294 wxPy_END_ALLOW_THREADS
;
6295 if (PyErr_Occurred()) return NULL
;
6296 } _resultobj
= Py_BuildValue("i",_result
);
6300 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6301 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
* _resultobj
;
6306 PyObject
* _argo0
= 0;
6307 char *_kwnames
[] = { "self","lineNo", NULL
};
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6320 wxPy_BEGIN_ALLOW_THREADS
;
6321 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6323 wxPy_END_ALLOW_THREADS
;
6324 if (PyErr_Occurred()) return NULL
;
6326 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6334 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6335 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6339 PyObject
* _argo0
= 0;
6340 char *_kwnames
[] = { "self", NULL
};
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6353 wxPy_BEGIN_ALLOW_THREADS
;
6354 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6356 wxPy_END_ALLOW_THREADS
;
6357 if (PyErr_Occurred()) return NULL
;
6358 } _resultobj
= Py_BuildValue("i",_result
);
6362 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6363 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
* _resultobj
;
6367 PyObject
* _argo0
= 0;
6368 char *_kwnames
[] = { "self", NULL
};
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6381 wxPy_BEGIN_ALLOW_THREADS
;
6382 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6384 wxPy_END_ALLOW_THREADS
;
6385 if (PyErr_Occurred()) return NULL
;
6386 } _resultobj
= Py_BuildValue("i",_result
);
6390 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6391 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
* _resultobj
;
6395 PyObject
* _argo0
= 0;
6396 char *_kwnames
[] = { "self", NULL
};
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6409 wxPy_BEGIN_ALLOW_THREADS
;
6410 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6412 wxPy_END_ALLOW_THREADS
;
6413 if (PyErr_Occurred()) return NULL
;
6414 } _resultobj
= Py_BuildValue("i",_result
);
6418 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6419 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
* _resultobj
;
6426 PyObject
* _argo0
= 0;
6427 char *_kwnames
[] = { "self", NULL
};
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
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_GetSelection. Expected _wxTextCtrl_p.");
6446 wxPy_BEGIN_ALLOW_THREADS
;
6447 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6449 wxPy_END_ALLOW_THREADS
;
6450 if (PyErr_Occurred()) return NULL
;
6451 } Py_INCREF(Py_None
);
6452 _resultobj
= Py_None
;
6455 o
= PyInt_FromLong((long) (*_arg1
));
6456 _resultobj
= t_output_helper(_resultobj
, o
);
6460 o
= PyInt_FromLong((long) (*_arg2
));
6461 _resultobj
= t_output_helper(_resultobj
, o
);
6466 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6467 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
* _resultobj
;
6470 PyObject
* _argo0
= 0;
6471 char *_kwnames
[] = { "self", NULL
};
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6484 wxPy_BEGIN_ALLOW_THREADS
;
6485 wxTextCtrl_Clear(_arg0
);
6487 wxPy_END_ALLOW_THREADS
;
6488 if (PyErr_Occurred()) return NULL
;
6489 } Py_INCREF(Py_None
);
6490 _resultobj
= Py_None
;
6494 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6495 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
* _resultobj
;
6501 PyObject
* _argo0
= 0;
6502 PyObject
* _obj3
= 0;
6503 char *_kwnames
[] = { "self","from","to","value", NULL
};
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6516 #if PYTHON_API_VERSION >= 1009
6517 char* tmpPtr
; int tmpSize
;
6518 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6522 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6524 _arg3
= new wxString(tmpPtr
, tmpSize
);
6526 if (!PyString_Check(_obj3
)) {
6527 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6530 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6534 wxPy_BEGIN_ALLOW_THREADS
;
6535 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6537 wxPy_END_ALLOW_THREADS
;
6538 if (PyErr_Occurred()) return NULL
;
6539 } Py_INCREF(Py_None
);
6540 _resultobj
= Py_None
;
6548 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6549 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
* _resultobj
;
6554 PyObject
* _argo0
= 0;
6555 char *_kwnames
[] = { "self","from","to", NULL
};
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6568 wxPy_BEGIN_ALLOW_THREADS
;
6569 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6571 wxPy_END_ALLOW_THREADS
;
6572 if (PyErr_Occurred()) return NULL
;
6573 } Py_INCREF(Py_None
);
6574 _resultobj
= Py_None
;
6578 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6579 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
* _resultobj
;
6584 PyObject
* _argo0
= 0;
6585 PyObject
* _obj1
= 0;
6586 char *_kwnames
[] = { "self","file", NULL
};
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6599 #if PYTHON_API_VERSION >= 1009
6600 char* tmpPtr
; int tmpSize
;
6601 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6605 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6607 _arg1
= new wxString(tmpPtr
, tmpSize
);
6609 if (!PyString_Check(_obj1
)) {
6610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6613 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6617 wxPy_BEGIN_ALLOW_THREADS
;
6618 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6620 wxPy_END_ALLOW_THREADS
;
6621 if (PyErr_Occurred()) return NULL
;
6622 } _resultobj
= Py_BuildValue("i",_result
);
6630 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6631 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
* _resultobj
;
6635 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6636 PyObject
* _argo0
= 0;
6637 PyObject
* _obj1
= 0;
6638 char *_kwnames
[] = { "self","file", NULL
};
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6652 #if PYTHON_API_VERSION >= 1009
6653 char* tmpPtr
; int tmpSize
;
6654 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6655 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6658 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6660 _arg1
= new wxString(tmpPtr
, tmpSize
);
6662 if (!PyString_Check(_obj1
)) {
6663 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6666 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6670 wxPy_BEGIN_ALLOW_THREADS
;
6671 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6673 wxPy_END_ALLOW_THREADS
;
6674 if (PyErr_Occurred()) return NULL
;
6675 } _resultobj
= Py_BuildValue("i",_result
);
6683 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6684 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6685 PyObject
* _resultobj
;
6687 PyObject
* _argo0
= 0;
6688 char *_kwnames
[] = { "self", NULL
};
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6701 wxPy_BEGIN_ALLOW_THREADS
;
6702 wxTextCtrl_DiscardEdits(_arg0
);
6704 wxPy_END_ALLOW_THREADS
;
6705 if (PyErr_Occurred()) return NULL
;
6706 } Py_INCREF(Py_None
);
6707 _resultobj
= Py_None
;
6711 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6712 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
* _resultobj
;
6715 unsigned long _arg1
;
6716 PyObject
* _argo0
= 0;
6717 char *_kwnames
[] = { "self","len", NULL
};
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6730 wxPy_BEGIN_ALLOW_THREADS
;
6731 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6733 wxPy_END_ALLOW_THREADS
;
6734 if (PyErr_Occurred()) return NULL
;
6735 } Py_INCREF(Py_None
);
6736 _resultobj
= Py_None
;
6740 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6741 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
* _resultobj
;
6745 PyObject
* _argo0
= 0;
6746 PyObject
* _obj1
= 0;
6747 char *_kwnames
[] = { "self","text", NULL
};
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6760 #if PYTHON_API_VERSION >= 1009
6761 char* tmpPtr
; int tmpSize
;
6762 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6763 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6766 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6768 _arg1
= new wxString(tmpPtr
, tmpSize
);
6770 if (!PyString_Check(_obj1
)) {
6771 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6774 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6778 wxPy_BEGIN_ALLOW_THREADS
;
6779 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6781 wxPy_END_ALLOW_THREADS
;
6782 if (PyErr_Occurred()) return NULL
;
6783 } Py_INCREF(Py_None
);
6784 _resultobj
= Py_None
;
6792 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6793 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
* _resultobj
;
6797 PyObject
* _argo0
= 0;
6798 PyObject
* _obj1
= 0;
6799 char *_kwnames
[] = { "self","text", NULL
};
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
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_AppendText. Expected _wxTextCtrl_p.");
6812 #if PYTHON_API_VERSION >= 1009
6813 char* tmpPtr
; int tmpSize
;
6814 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6815 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6818 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6820 _arg1
= new wxString(tmpPtr
, tmpSize
);
6822 if (!PyString_Check(_obj1
)) {
6823 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6826 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6830 wxPy_BEGIN_ALLOW_THREADS
;
6831 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6833 wxPy_END_ALLOW_THREADS
;
6834 if (PyErr_Occurred()) return NULL
;
6835 } Py_INCREF(Py_None
);
6836 _resultobj
= Py_None
;
6844 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6845 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
* _resultobj
;
6852 PyObject
* _argo0
= 0;
6853 PyObject
* _argo3
= 0;
6854 char *_kwnames
[] = { "self","start","end","style", NULL
};
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6867 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6868 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6874 wxPy_BEGIN_ALLOW_THREADS
;
6875 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6877 wxPy_END_ALLOW_THREADS
;
6878 if (PyErr_Occurred()) return NULL
;
6879 } _resultobj
= Py_BuildValue("i",_result
);
6883 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6884 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
* _resultobj
;
6889 PyObject
* _argo0
= 0;
6890 PyObject
* _argo1
= 0;
6891 char *_kwnames
[] = { "self","style", NULL
};
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6904 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6905 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6911 wxPy_BEGIN_ALLOW_THREADS
;
6912 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6914 wxPy_END_ALLOW_THREADS
;
6915 if (PyErr_Occurred()) return NULL
;
6916 } _resultobj
= Py_BuildValue("i",_result
);
6920 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6921 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
* _resultobj
;
6923 wxTextAttr
* _result
;
6925 PyObject
* _argo0
= 0;
6926 char *_kwnames
[] = { "self", NULL
};
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
6933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
6940 wxPy_BEGIN_ALLOW_THREADS
;
6941 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
6942 _result
= (wxTextAttr
*) &_result_ref
;
6944 wxPy_END_ALLOW_THREADS
;
6945 if (PyErr_Occurred()) return NULL
;
6947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6948 _resultobj
= Py_BuildValue("s",_ptemp
);
6951 _resultobj
= Py_None
;
6956 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
6957 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
* _resultobj
;
6963 PyObject
* _argo0
= 0;
6964 char *_kwnames
[] = { "self","x","y", NULL
};
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
6977 wxPy_BEGIN_ALLOW_THREADS
;
6978 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
6980 wxPy_END_ALLOW_THREADS
;
6981 if (PyErr_Occurred()) return NULL
;
6982 } _resultobj
= Py_BuildValue("l",_result
);
6986 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
6987 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
* _resultobj
;
6996 PyObject
* _argo0
= 0;
6997 char *_kwnames
[] = { "self","pos", NULL
};
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7016 wxPy_BEGIN_ALLOW_THREADS
;
7017 _result
= (bool )wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7019 wxPy_END_ALLOW_THREADS
;
7020 if (PyErr_Occurred()) return NULL
;
7021 } _resultobj
= Py_BuildValue("i",_result
);
7024 o
= PyInt_FromLong((long) (*_arg2
));
7025 _resultobj
= t_output_helper(_resultobj
, o
);
7029 o
= PyInt_FromLong((long) (*_arg3
));
7030 _resultobj
= t_output_helper(_resultobj
, o
);
7035 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7036 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
* _resultobj
;
7040 PyObject
* _argo0
= 0;
7041 char *_kwnames
[] = { "self","pos", NULL
};
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7054 wxPy_BEGIN_ALLOW_THREADS
;
7055 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7057 wxPy_END_ALLOW_THREADS
;
7058 if (PyErr_Occurred()) return NULL
;
7059 } Py_INCREF(Py_None
);
7060 _resultobj
= Py_None
;
7064 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7065 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
* _resultobj
;
7068 PyObject
* _argo0
= 0;
7069 char *_kwnames
[] = { "self", NULL
};
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7082 wxPy_BEGIN_ALLOW_THREADS
;
7083 wxTextCtrl_Copy(_arg0
);
7085 wxPy_END_ALLOW_THREADS
;
7086 if (PyErr_Occurred()) return NULL
;
7087 } Py_INCREF(Py_None
);
7088 _resultobj
= Py_None
;
7092 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7093 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
* _resultobj
;
7096 PyObject
* _argo0
= 0;
7097 char *_kwnames
[] = { "self", NULL
};
7100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7110 wxPy_BEGIN_ALLOW_THREADS
;
7111 wxTextCtrl_Cut(_arg0
);
7113 wxPy_END_ALLOW_THREADS
;
7114 if (PyErr_Occurred()) return NULL
;
7115 } Py_INCREF(Py_None
);
7116 _resultobj
= Py_None
;
7120 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7121 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
* _resultobj
;
7124 PyObject
* _argo0
= 0;
7125 char *_kwnames
[] = { "self", NULL
};
7128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7138 wxPy_BEGIN_ALLOW_THREADS
;
7139 wxTextCtrl_Paste(_arg0
);
7141 wxPy_END_ALLOW_THREADS
;
7142 if (PyErr_Occurred()) return NULL
;
7143 } Py_INCREF(Py_None
);
7144 _resultobj
= Py_None
;
7148 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7149 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
* _resultobj
;
7153 PyObject
* _argo0
= 0;
7154 char *_kwnames
[] = { "self", NULL
};
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7167 wxPy_BEGIN_ALLOW_THREADS
;
7168 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7170 wxPy_END_ALLOW_THREADS
;
7171 if (PyErr_Occurred()) return NULL
;
7172 } _resultobj
= Py_BuildValue("i",_result
);
7176 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7177 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7178 PyObject
* _resultobj
;
7181 PyObject
* _argo0
= 0;
7182 char *_kwnames
[] = { "self", NULL
};
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
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_CanCut. Expected _wxTextCtrl_p.");
7195 wxPy_BEGIN_ALLOW_THREADS
;
7196 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7198 wxPy_END_ALLOW_THREADS
;
7199 if (PyErr_Occurred()) return NULL
;
7200 } _resultobj
= Py_BuildValue("i",_result
);
7204 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7205 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
* _resultobj
;
7209 PyObject
* _argo0
= 0;
7210 char *_kwnames
[] = { "self", NULL
};
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7223 wxPy_BEGIN_ALLOW_THREADS
;
7224 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7226 wxPy_END_ALLOW_THREADS
;
7227 if (PyErr_Occurred()) return NULL
;
7228 } _resultobj
= Py_BuildValue("i",_result
);
7232 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7233 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
* _resultobj
;
7236 PyObject
* _argo0
= 0;
7237 char *_kwnames
[] = { "self", NULL
};
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7250 wxPy_BEGIN_ALLOW_THREADS
;
7251 wxTextCtrl_Undo(_arg0
);
7253 wxPy_END_ALLOW_THREADS
;
7254 if (PyErr_Occurred()) return NULL
;
7255 } Py_INCREF(Py_None
);
7256 _resultobj
= Py_None
;
7260 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7261 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
* _resultobj
;
7264 PyObject
* _argo0
= 0;
7265 char *_kwnames
[] = { "self", NULL
};
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7278 wxPy_BEGIN_ALLOW_THREADS
;
7279 wxTextCtrl_Redo(_arg0
);
7281 wxPy_END_ALLOW_THREADS
;
7282 if (PyErr_Occurred()) return NULL
;
7283 } Py_INCREF(Py_None
);
7284 _resultobj
= Py_None
;
7288 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7289 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
* _resultobj
;
7293 PyObject
* _argo0
= 0;
7294 char *_kwnames
[] = { "self", NULL
};
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7307 wxPy_BEGIN_ALLOW_THREADS
;
7308 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7310 wxPy_END_ALLOW_THREADS
;
7311 if (PyErr_Occurred()) return NULL
;
7312 } _resultobj
= Py_BuildValue("i",_result
);
7316 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7317 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
* _resultobj
;
7321 PyObject
* _argo0
= 0;
7322 char *_kwnames
[] = { "self", NULL
};
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7335 wxPy_BEGIN_ALLOW_THREADS
;
7336 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7338 wxPy_END_ALLOW_THREADS
;
7339 if (PyErr_Occurred()) return NULL
;
7340 } _resultobj
= Py_BuildValue("i",_result
);
7344 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7345 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
* _resultobj
;
7349 PyObject
* _argo0
= 0;
7350 char *_kwnames
[] = { "self","pos", NULL
};
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7363 wxPy_BEGIN_ALLOW_THREADS
;
7364 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7366 wxPy_END_ALLOW_THREADS
;
7367 if (PyErr_Occurred()) return NULL
;
7368 } Py_INCREF(Py_None
);
7369 _resultobj
= Py_None
;
7373 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7374 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
* _resultobj
;
7377 PyObject
* _argo0
= 0;
7378 char *_kwnames
[] = { "self", NULL
};
7381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7391 wxPy_BEGIN_ALLOW_THREADS
;
7392 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7394 wxPy_END_ALLOW_THREADS
;
7395 if (PyErr_Occurred()) return NULL
;
7396 } Py_INCREF(Py_None
);
7397 _resultobj
= Py_None
;
7401 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7402 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
* _resultobj
;
7406 PyObject
* _argo0
= 0;
7407 char *_kwnames
[] = { "self", NULL
};
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7420 wxPy_BEGIN_ALLOW_THREADS
;
7421 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7423 wxPy_END_ALLOW_THREADS
;
7424 if (PyErr_Occurred()) return NULL
;
7425 } _resultobj
= Py_BuildValue("l",_result
);
7429 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7430 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
* _resultobj
;
7434 PyObject
* _argo0
= 0;
7435 char *_kwnames
[] = { "self", NULL
};
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7448 wxPy_BEGIN_ALLOW_THREADS
;
7449 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7451 wxPy_END_ALLOW_THREADS
;
7452 if (PyErr_Occurred()) return NULL
;
7453 } _resultobj
= Py_BuildValue("l",_result
);
7457 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7458 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
* _resultobj
;
7463 PyObject
* _argo0
= 0;
7464 char *_kwnames
[] = { "self","from","to", NULL
};
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7477 wxPy_BEGIN_ALLOW_THREADS
;
7478 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7480 wxPy_END_ALLOW_THREADS
;
7481 if (PyErr_Occurred()) return NULL
;
7482 } Py_INCREF(Py_None
);
7483 _resultobj
= Py_None
;
7487 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7488 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
* _resultobj
;
7491 PyObject
* _argo0
= 0;
7492 char *_kwnames
[] = { "self", NULL
};
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7505 wxPy_BEGIN_ALLOW_THREADS
;
7506 wxTextCtrl_SelectAll(_arg0
);
7508 wxPy_END_ALLOW_THREADS
;
7509 if (PyErr_Occurred()) return NULL
;
7510 } Py_INCREF(Py_None
);
7511 _resultobj
= Py_None
;
7515 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7516 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
* _resultobj
;
7520 PyObject
* _argo0
= 0;
7522 char *_kwnames
[] = { "self","editable", NULL
};
7525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7534 _arg1
= (bool ) tempbool1
;
7536 wxPy_BEGIN_ALLOW_THREADS
;
7537 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7539 wxPy_END_ALLOW_THREADS
;
7540 if (PyErr_Occurred()) return NULL
;
7541 } Py_INCREF(Py_None
);
7542 _resultobj
= Py_None
;
7546 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7547 self
->AppendText(text
);
7549 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
* _resultobj
;
7553 PyObject
* _argo0
= 0;
7554 PyObject
* _obj1
= 0;
7555 char *_kwnames
[] = { "self","text", NULL
};
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7568 #if PYTHON_API_VERSION >= 1009
7569 char* tmpPtr
; int tmpSize
;
7570 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7571 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7574 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7576 _arg1
= new wxString(tmpPtr
, tmpSize
);
7578 if (!PyString_Check(_obj1
)) {
7579 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7582 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7586 wxPy_BEGIN_ALLOW_THREADS
;
7587 wxTextCtrl_write(_arg0
,*_arg1
);
7589 wxPy_END_ALLOW_THREADS
;
7590 if (PyErr_Occurred()) return NULL
;
7591 } Py_INCREF(Py_None
);
7592 _resultobj
= Py_None
;
7600 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7603 src
= (wxScrollBar
*) ptr
;
7604 dest
= (wxControl
*) src
;
7605 return (void *) dest
;
7608 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7611 src
= (wxScrollBar
*) ptr
;
7612 dest
= (wxWindow
*) src
;
7613 return (void *) dest
;
7616 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7619 src
= (wxScrollBar
*) ptr
;
7620 dest
= (wxEvtHandler
*) src
;
7621 return (void *) dest
;
7624 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7627 src
= (wxScrollBar
*) ptr
;
7628 dest
= (wxObject
*) src
;
7629 return (void *) dest
;
7632 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7633 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
* _resultobj
;
7635 wxScrollBar
* _result
;
7637 wxWindowID _arg1
= (wxWindowID
) -1;
7638 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7639 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7640 long _arg4
= (long ) wxSB_HORIZONTAL
;
7641 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7642 char * _arg6
= (char *) "scrollBar";
7643 PyObject
* _argo0
= 0;
7645 PyObject
* _obj2
= 0;
7647 PyObject
* _obj3
= 0;
7648 PyObject
* _argo5
= 0;
7649 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7656 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7657 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7658 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7665 if (! wxPoint_helper(_obj2
, &_arg2
))
7671 if (! wxSize_helper(_obj3
, &_arg3
))
7675 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7676 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7682 wxPy_BEGIN_ALLOW_THREADS
;
7683 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7685 wxPy_END_ALLOW_THREADS
;
7686 if (PyErr_Occurred()) return NULL
;
7688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7689 _resultobj
= Py_BuildValue("s",_ptemp
);
7692 _resultobj
= Py_None
;
7697 #define new_wxPreScrollBar() (new wxScrollBar())
7698 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7699 PyObject
* _resultobj
;
7700 wxScrollBar
* _result
;
7701 char *_kwnames
[] = { NULL
};
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7708 wxPy_BEGIN_ALLOW_THREADS
;
7709 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7711 wxPy_END_ALLOW_THREADS
;
7712 if (PyErr_Occurred()) return NULL
;
7714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7715 _resultobj
= Py_BuildValue("s",_ptemp
);
7718 _resultobj
= Py_None
;
7723 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7724 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
* _resultobj
;
7727 wxScrollBar
* _arg0
;
7729 wxWindowID _arg2
= (wxWindowID
) -1;
7730 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7731 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7732 long _arg5
= (long ) wxSB_HORIZONTAL
;
7733 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7734 char * _arg7
= (char *) "scrollBar";
7735 PyObject
* _argo0
= 0;
7736 PyObject
* _argo1
= 0;
7738 PyObject
* _obj3
= 0;
7740 PyObject
* _obj4
= 0;
7741 PyObject
* _argo6
= 0;
7742 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7755 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7756 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7764 if (! wxPoint_helper(_obj3
, &_arg3
))
7770 if (! wxSize_helper(_obj4
, &_arg4
))
7774 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7775 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7781 wxPy_BEGIN_ALLOW_THREADS
;
7782 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7784 wxPy_END_ALLOW_THREADS
;
7785 if (PyErr_Occurred()) return NULL
;
7786 } _resultobj
= Py_BuildValue("i",_result
);
7790 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7791 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
* _resultobj
;
7794 wxScrollBar
* _arg0
;
7795 PyObject
* _argo0
= 0;
7796 char *_kwnames
[] = { "self", NULL
};
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7809 wxPy_BEGIN_ALLOW_THREADS
;
7810 _result
= (int )wxScrollBar_GetRange(_arg0
);
7812 wxPy_END_ALLOW_THREADS
;
7813 if (PyErr_Occurred()) return NULL
;
7814 } _resultobj
= Py_BuildValue("i",_result
);
7818 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7819 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
* _resultobj
;
7822 wxScrollBar
* _arg0
;
7823 PyObject
* _argo0
= 0;
7824 char *_kwnames
[] = { "self", NULL
};
7827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7837 wxPy_BEGIN_ALLOW_THREADS
;
7838 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7840 wxPy_END_ALLOW_THREADS
;
7841 if (PyErr_Occurred()) return NULL
;
7842 } _resultobj
= Py_BuildValue("i",_result
);
7846 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7847 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
* _resultobj
;
7850 wxScrollBar
* _arg0
;
7851 PyObject
* _argo0
= 0;
7852 char *_kwnames
[] = { "self", NULL
};
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7865 wxPy_BEGIN_ALLOW_THREADS
;
7866 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7868 wxPy_END_ALLOW_THREADS
;
7869 if (PyErr_Occurred()) return NULL
;
7870 } _resultobj
= Py_BuildValue("i",_result
);
7874 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
7875 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
* _resultobj
;
7878 wxScrollBar
* _arg0
;
7879 PyObject
* _argo0
= 0;
7880 char *_kwnames
[] = { "self", NULL
};
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
7886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
7893 wxPy_BEGIN_ALLOW_THREADS
;
7894 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
7896 wxPy_END_ALLOW_THREADS
;
7897 if (PyErr_Occurred()) return NULL
;
7898 } _resultobj
= Py_BuildValue("i",_result
);
7902 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
7903 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
* _resultobj
;
7905 wxScrollBar
* _arg0
;
7907 PyObject
* _argo0
= 0;
7908 char *_kwnames
[] = { "self","viewStart", NULL
};
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
7914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
7921 wxPy_BEGIN_ALLOW_THREADS
;
7922 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
7924 wxPy_END_ALLOW_THREADS
;
7925 if (PyErr_Occurred()) return NULL
;
7926 } Py_INCREF(Py_None
);
7927 _resultobj
= Py_None
;
7931 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7932 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
* _resultobj
;
7934 wxScrollBar
* _arg0
;
7939 bool _arg5
= (bool ) TRUE
;
7940 PyObject
* _argo0
= 0;
7941 int tempbool5
= (int) TRUE
;
7942 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
7948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
7954 _arg5
= (bool ) tempbool5
;
7956 wxPy_BEGIN_ALLOW_THREADS
;
7957 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
7959 wxPy_END_ALLOW_THREADS
;
7960 if (PyErr_Occurred()) return NULL
;
7961 } Py_INCREF(Py_None
);
7962 _resultobj
= Py_None
;
7966 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
7969 src
= (wxSpinButton
*) ptr
;
7970 dest
= (wxControl
*) src
;
7971 return (void *) dest
;
7974 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
7977 src
= (wxSpinButton
*) ptr
;
7978 dest
= (wxWindow
*) src
;
7979 return (void *) dest
;
7982 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
7985 src
= (wxSpinButton
*) ptr
;
7986 dest
= (wxEvtHandler
*) src
;
7987 return (void *) dest
;
7990 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
7993 src
= (wxSpinButton
*) ptr
;
7994 dest
= (wxObject
*) src
;
7995 return (void *) dest
;
7998 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7999 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
* _resultobj
;
8001 wxSpinButton
* _result
;
8003 wxWindowID _arg1
= (wxWindowID
) -1;
8004 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8005 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8006 long _arg4
= (long ) wxSP_HORIZONTAL
;
8007 char * _arg5
= (char *) "spinButton";
8008 PyObject
* _argo0
= 0;
8010 PyObject
* _obj2
= 0;
8012 PyObject
* _obj3
= 0;
8013 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8029 if (! wxPoint_helper(_obj2
, &_arg2
))
8035 if (! wxSize_helper(_obj3
, &_arg3
))
8039 wxPy_BEGIN_ALLOW_THREADS
;
8040 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8042 wxPy_END_ALLOW_THREADS
;
8043 if (PyErr_Occurred()) return NULL
;
8045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8046 _resultobj
= Py_BuildValue("s",_ptemp
);
8049 _resultobj
= Py_None
;
8054 #define new_wxPreSpinButton() (new wxSpinButton())
8055 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
* _resultobj
;
8057 wxSpinButton
* _result
;
8058 char *_kwnames
[] = { NULL
};
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8065 wxPy_BEGIN_ALLOW_THREADS
;
8066 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8068 wxPy_END_ALLOW_THREADS
;
8069 if (PyErr_Occurred()) return NULL
;
8071 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8072 _resultobj
= Py_BuildValue("s",_ptemp
);
8075 _resultobj
= Py_None
;
8080 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8081 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
* _resultobj
;
8084 wxSpinButton
* _arg0
;
8086 wxWindowID _arg2
= (wxWindowID
) -1;
8087 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8088 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8089 long _arg5
= (long ) wxSP_HORIZONTAL
;
8090 char * _arg6
= (char *) "spinButton";
8091 PyObject
* _argo0
= 0;
8092 PyObject
* _argo1
= 0;
8094 PyObject
* _obj3
= 0;
8096 PyObject
* _obj4
= 0;
8097 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8110 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8111 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8119 if (! wxPoint_helper(_obj3
, &_arg3
))
8125 if (! wxSize_helper(_obj4
, &_arg4
))
8129 wxPy_BEGIN_ALLOW_THREADS
;
8130 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8132 wxPy_END_ALLOW_THREADS
;
8133 if (PyErr_Occurred()) return NULL
;
8134 } _resultobj
= Py_BuildValue("i",_result
);
8138 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8139 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
* _resultobj
;
8142 wxSpinButton
* _arg0
;
8143 PyObject
* _argo0
= 0;
8144 char *_kwnames
[] = { "self", NULL
};
8147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8157 wxPy_BEGIN_ALLOW_THREADS
;
8158 _result
= (int )wxSpinButton_GetMax(_arg0
);
8160 wxPy_END_ALLOW_THREADS
;
8161 if (PyErr_Occurred()) return NULL
;
8162 } _resultobj
= Py_BuildValue("i",_result
);
8166 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8167 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
* _resultobj
;
8170 wxSpinButton
* _arg0
;
8171 PyObject
* _argo0
= 0;
8172 char *_kwnames
[] = { "self", NULL
};
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8185 wxPy_BEGIN_ALLOW_THREADS
;
8186 _result
= (int )wxSpinButton_GetMin(_arg0
);
8188 wxPy_END_ALLOW_THREADS
;
8189 if (PyErr_Occurred()) return NULL
;
8190 } _resultobj
= Py_BuildValue("i",_result
);
8194 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8195 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
* _resultobj
;
8198 wxSpinButton
* _arg0
;
8199 PyObject
* _argo0
= 0;
8200 char *_kwnames
[] = { "self", NULL
};
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8213 wxPy_BEGIN_ALLOW_THREADS
;
8214 _result
= (int )wxSpinButton_GetValue(_arg0
);
8216 wxPy_END_ALLOW_THREADS
;
8217 if (PyErr_Occurred()) return NULL
;
8218 } _resultobj
= Py_BuildValue("i",_result
);
8222 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8223 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
* _resultobj
;
8225 wxSpinButton
* _arg0
;
8228 PyObject
* _argo0
= 0;
8229 char *_kwnames
[] = { "self","min","max", NULL
};
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8242 wxPy_BEGIN_ALLOW_THREADS
;
8243 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8245 wxPy_END_ALLOW_THREADS
;
8246 if (PyErr_Occurred()) return NULL
;
8247 } Py_INCREF(Py_None
);
8248 _resultobj
= Py_None
;
8252 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8253 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
* _resultobj
;
8255 wxSpinButton
* _arg0
;
8257 PyObject
* _argo0
= 0;
8258 char *_kwnames
[] = { "self","value", NULL
};
8261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8271 wxPy_BEGIN_ALLOW_THREADS
;
8272 wxSpinButton_SetValue(_arg0
,_arg1
);
8274 wxPy_END_ALLOW_THREADS
;
8275 if (PyErr_Occurred()) return NULL
;
8276 } Py_INCREF(Py_None
);
8277 _resultobj
= Py_None
;
8281 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8282 wxStaticBitmap
*src
;
8284 src
= (wxStaticBitmap
*) ptr
;
8285 dest
= (wxControl
*) src
;
8286 return (void *) dest
;
8289 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8290 wxStaticBitmap
*src
;
8292 src
= (wxStaticBitmap
*) ptr
;
8293 dest
= (wxWindow
*) src
;
8294 return (void *) dest
;
8297 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8298 wxStaticBitmap
*src
;
8300 src
= (wxStaticBitmap
*) ptr
;
8301 dest
= (wxEvtHandler
*) src
;
8302 return (void *) dest
;
8305 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8306 wxStaticBitmap
*src
;
8308 src
= (wxStaticBitmap
*) ptr
;
8309 dest
= (wxObject
*) src
;
8310 return (void *) dest
;
8313 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8314 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
* _resultobj
;
8316 wxStaticBitmap
* _result
;
8320 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8321 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8322 long _arg5
= (long ) 0;
8323 char * _arg6
= (char *) "staticBitmap";
8324 PyObject
* _argo0
= 0;
8325 PyObject
* _argo2
= 0;
8327 PyObject
* _obj3
= 0;
8329 PyObject
* _obj4
= 0;
8330 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8344 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8345 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8353 if (! wxPoint_helper(_obj3
, &_arg3
))
8359 if (! wxSize_helper(_obj4
, &_arg4
))
8363 wxPy_BEGIN_ALLOW_THREADS
;
8364 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8366 wxPy_END_ALLOW_THREADS
;
8367 if (PyErr_Occurred()) return NULL
;
8369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8370 _resultobj
= Py_BuildValue("s",_ptemp
);
8373 _resultobj
= Py_None
;
8378 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8379 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
* _resultobj
;
8381 wxStaticBitmap
* _result
;
8382 char *_kwnames
[] = { NULL
};
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8389 wxPy_BEGIN_ALLOW_THREADS
;
8390 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8392 wxPy_END_ALLOW_THREADS
;
8393 if (PyErr_Occurred()) return NULL
;
8395 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8396 _resultobj
= Py_BuildValue("s",_ptemp
);
8399 _resultobj
= Py_None
;
8404 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8405 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
* _resultobj
;
8408 wxStaticBitmap
* _arg0
;
8412 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8413 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8414 long _arg6
= (long ) 0;
8415 char * _arg7
= (char *) "staticBitmap";
8416 PyObject
* _argo0
= 0;
8417 PyObject
* _argo1
= 0;
8418 PyObject
* _argo3
= 0;
8420 PyObject
* _obj4
= 0;
8422 PyObject
* _obj5
= 0;
8423 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8443 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8444 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8452 if (! wxPoint_helper(_obj4
, &_arg4
))
8458 if (! wxSize_helper(_obj5
, &_arg5
))
8462 wxPy_BEGIN_ALLOW_THREADS
;
8463 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8465 wxPy_END_ALLOW_THREADS
;
8466 if (PyErr_Occurred()) return NULL
;
8467 } _resultobj
= Py_BuildValue("i",_result
);
8471 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8472 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
* _resultobj
;
8475 wxStaticBitmap
* _arg0
;
8476 PyObject
* _argo0
= 0;
8477 char *_kwnames
[] = { "self", NULL
};
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8491 wxPy_BEGIN_ALLOW_THREADS
;
8492 const wxBitmap
& _result_ref
= wxStaticBitmap_GetBitmap(_arg0
);
8493 _result
= (wxBitmap
*) &_result_ref
;
8495 wxPy_END_ALLOW_THREADS
;
8496 if (PyErr_Occurred()) return NULL
;
8498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmap_p");
8499 _resultobj
= Py_BuildValue("s",_ptemp
);
8502 _resultobj
= Py_None
;
8507 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8508 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
* _resultobj
;
8510 wxStaticBitmap
* _arg0
;
8512 PyObject
* _argo0
= 0;
8513 PyObject
* _argo1
= 0;
8514 char *_kwnames
[] = { "self","bitmap", NULL
};
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8534 wxPy_BEGIN_ALLOW_THREADS
;
8535 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8537 wxPy_END_ALLOW_THREADS
;
8538 if (PyErr_Occurred()) return NULL
;
8539 } Py_INCREF(Py_None
);
8540 _resultobj
= Py_None
;
8544 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8545 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
* _resultobj
;
8547 wxStaticBitmap
* _arg0
;
8549 PyObject
* _argo0
= 0;
8550 PyObject
* _argo1
= 0;
8551 char *_kwnames
[] = { "self","icon", NULL
};
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8564 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8565 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8571 wxPy_BEGIN_ALLOW_THREADS
;
8572 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8574 wxPy_END_ALLOW_THREADS
;
8575 if (PyErr_Occurred()) return NULL
;
8576 } Py_INCREF(Py_None
);
8577 _resultobj
= Py_None
;
8581 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8584 src
= (wxRadioBox
*) ptr
;
8585 dest
= (wxControl
*) src
;
8586 return (void *) dest
;
8589 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8592 src
= (wxRadioBox
*) ptr
;
8593 dest
= (wxWindow
*) src
;
8594 return (void *) dest
;
8597 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8600 src
= (wxRadioBox
*) ptr
;
8601 dest
= (wxEvtHandler
*) src
;
8602 return (void *) dest
;
8605 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8608 src
= (wxRadioBox
*) ptr
;
8609 dest
= (wxObject
*) src
;
8610 return (void *) dest
;
8613 #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))
8614 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
* _resultobj
;
8616 wxRadioBox
* _result
;
8620 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8621 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8622 int _arg5
= (int ) 0;
8623 wxString
* _arg6
= (wxString
*) NULL
;
8624 int _arg7
= (int ) 0;
8625 long _arg8
= (long ) wxRA_HORIZONTAL
;
8626 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8627 char * _arg10
= (char *) "radioBox";
8628 PyObject
* _argo0
= 0;
8629 PyObject
* _obj2
= 0;
8631 PyObject
* _obj3
= 0;
8633 PyObject
* _obj4
= 0;
8634 PyObject
* _obj6
= 0;
8635 PyObject
* _argo9
= 0;
8636 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8650 #if PYTHON_API_VERSION >= 1009
8651 char* tmpPtr
; int tmpSize
;
8652 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8656 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8658 _arg2
= new wxString(tmpPtr
, tmpSize
);
8660 if (!PyString_Check(_obj2
)) {
8661 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8664 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8670 if (! wxPoint_helper(_obj3
, &_arg3
))
8676 if (! wxSize_helper(_obj4
, &_arg4
))
8681 _arg6
= wxString_LIST_helper(_obj6
);
8682 if (_arg6
== NULL
) {
8687 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8688 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8695 _arg5
= PyList_Size(_obj6
);
8702 wxPy_BEGIN_ALLOW_THREADS
;
8703 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8705 wxPy_END_ALLOW_THREADS
;
8706 if (PyErr_Occurred()) return NULL
;
8708 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8709 _resultobj
= Py_BuildValue("s",_ptemp
);
8712 _resultobj
= Py_None
;
8724 #define new_wxPreRadioBox() (new wxRadioBox())
8725 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
* _resultobj
;
8727 wxRadioBox
* _result
;
8728 char *_kwnames
[] = { NULL
};
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8735 wxPy_BEGIN_ALLOW_THREADS
;
8736 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8738 wxPy_END_ALLOW_THREADS
;
8739 if (PyErr_Occurred()) return NULL
;
8741 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8742 _resultobj
= Py_BuildValue("s",_ptemp
);
8745 _resultobj
= Py_None
;
8750 #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))
8751 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
* _resultobj
;
8758 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8759 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8760 int _arg6
= (int ) 0;
8761 wxString
* _arg7
= (wxString
*) NULL
;
8762 int _arg8
= (int ) 0;
8763 long _arg9
= (long ) wxRA_HORIZONTAL
;
8764 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8765 char * _arg11
= (char *) "radioBox";
8766 PyObject
* _argo0
= 0;
8767 PyObject
* _argo1
= 0;
8768 PyObject
* _obj3
= 0;
8770 PyObject
* _obj4
= 0;
8772 PyObject
* _obj5
= 0;
8773 PyObject
* _obj7
= 0;
8774 PyObject
* _argo10
= 0;
8775 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8795 #if PYTHON_API_VERSION >= 1009
8796 char* tmpPtr
; int tmpSize
;
8797 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8798 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8801 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8803 _arg3
= new wxString(tmpPtr
, tmpSize
);
8805 if (!PyString_Check(_obj3
)) {
8806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8809 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8815 if (! wxPoint_helper(_obj4
, &_arg4
))
8821 if (! wxSize_helper(_obj5
, &_arg5
))
8826 _arg7
= wxString_LIST_helper(_obj7
);
8827 if (_arg7
== NULL
) {
8832 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8833 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8840 _arg6
= PyList_Size(_obj7
);
8847 wxPy_BEGIN_ALLOW_THREADS
;
8848 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
8850 wxPy_END_ALLOW_THREADS
;
8851 if (PyErr_Occurred()) return NULL
;
8852 } _resultobj
= Py_BuildValue("i",_result
);
8863 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8864 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
* _resultobj
;
8868 PyObject
* _argo0
= 0;
8870 char *_kwnames
[] = { "self","enable", NULL
};
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
8876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8882 _arg1
= (bool ) tempbool1
;
8884 wxPy_BEGIN_ALLOW_THREADS
;
8885 wxRadioBox_Enable(_arg0
,_arg1
);
8887 wxPy_END_ALLOW_THREADS
;
8888 if (PyErr_Occurred()) return NULL
;
8889 } Py_INCREF(Py_None
);
8890 _resultobj
= Py_None
;
8894 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8895 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
* _resultobj
;
8900 PyObject
* _argo0
= 0;
8902 char *_kwnames
[] = { "self","n","enable", NULL
};
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
8908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
8914 _arg2
= (bool ) tempbool2
;
8916 wxPy_BEGIN_ALLOW_THREADS
;
8917 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
8919 wxPy_END_ALLOW_THREADS
;
8920 if (PyErr_Occurred()) return NULL
;
8921 } Py_INCREF(Py_None
);
8922 _resultobj
= Py_None
;
8926 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
8927 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
* _resultobj
;
8932 PyObject
* _argo0
= 0;
8933 PyObject
* _obj1
= 0;
8934 char *_kwnames
[] = { "self","string", NULL
};
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
8940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
8947 #if PYTHON_API_VERSION >= 1009
8948 char* tmpPtr
; int tmpSize
;
8949 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8950 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8953 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8955 _arg1
= new wxString(tmpPtr
, tmpSize
);
8957 if (!PyString_Check(_obj1
)) {
8958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8961 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8965 wxPy_BEGIN_ALLOW_THREADS
;
8966 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
8968 wxPy_END_ALLOW_THREADS
;
8969 if (PyErr_Occurred()) return NULL
;
8970 } _resultobj
= Py_BuildValue("i",_result
);
8978 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
8979 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8980 PyObject
* _resultobj
;
8984 PyObject
* _argo0
= 0;
8985 char *_kwnames
[] = { "self","n", NULL
};
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
8991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
8998 wxPy_BEGIN_ALLOW_THREADS
;
8999 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9001 wxPy_END_ALLOW_THREADS
;
9002 if (PyErr_Occurred()) return NULL
;
9004 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9012 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9013 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
* _resultobj
;
9018 PyObject
* _argo0
= 0;
9019 PyObject
* _obj2
= 0;
9020 char *_kwnames
[] = { "self","n","label", NULL
};
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9026 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9027 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9028 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9033 #if PYTHON_API_VERSION >= 1009
9034 char* tmpPtr
; int tmpSize
;
9035 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9036 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9039 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9041 _arg2
= new wxString(tmpPtr
, tmpSize
);
9043 if (!PyString_Check(_obj2
)) {
9044 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9047 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9051 wxPy_BEGIN_ALLOW_THREADS
;
9052 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9054 wxPy_END_ALLOW_THREADS
;
9055 if (PyErr_Occurred()) return NULL
;
9056 } Py_INCREF(Py_None
);
9057 _resultobj
= Py_None
;
9065 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9066 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
* _resultobj
;
9070 PyObject
* _argo0
= 0;
9071 char *_kwnames
[] = { "self", NULL
};
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9084 wxPy_BEGIN_ALLOW_THREADS
;
9085 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9087 wxPy_END_ALLOW_THREADS
;
9088 if (PyErr_Occurred()) return NULL
;
9089 } _resultobj
= Py_BuildValue("i",_result
);
9093 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9094 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
* _resultobj
;
9098 PyObject
* _argo0
= 0;
9099 char *_kwnames
[] = { "self", NULL
};
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9112 wxPy_BEGIN_ALLOW_THREADS
;
9113 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9115 wxPy_END_ALLOW_THREADS
;
9116 if (PyErr_Occurred()) return NULL
;
9117 } _resultobj
= Py_BuildValue("i",_result
);
9121 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9122 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
* _resultobj
;
9126 PyObject
* _argo0
= 0;
9127 char *_kwnames
[] = { "self", NULL
};
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9140 wxPy_BEGIN_ALLOW_THREADS
;
9141 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9143 wxPy_END_ALLOW_THREADS
;
9144 if (PyErr_Occurred()) return NULL
;
9145 } _resultobj
= Py_BuildValue("i",_result
);
9149 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9150 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
* _resultobj
;
9154 PyObject
* _argo0
= 0;
9155 char *_kwnames
[] = { "self", NULL
};
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9168 wxPy_BEGIN_ALLOW_THREADS
;
9169 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9171 wxPy_END_ALLOW_THREADS
;
9172 if (PyErr_Occurred()) return NULL
;
9174 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9182 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9183 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
* _resultobj
;
9187 PyObject
* _argo0
= 0;
9188 char *_kwnames
[] = { "self", NULL
};
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9201 wxPy_BEGIN_ALLOW_THREADS
;
9202 _result
= (int )wxRadioBox_GetCount(_arg0
);
9204 wxPy_END_ALLOW_THREADS
;
9205 if (PyErr_Occurred()) return NULL
;
9206 } _resultobj
= Py_BuildValue("i",_result
);
9210 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9211 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
* _resultobj
;
9215 PyObject
* _argo0
= 0;
9216 char *_kwnames
[] = { "self","n", NULL
};
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9229 wxPy_BEGIN_ALLOW_THREADS
;
9230 wxRadioBox_SetSelection(_arg0
,_arg1
);
9232 wxPy_END_ALLOW_THREADS
;
9233 if (PyErr_Occurred()) return NULL
;
9234 } Py_INCREF(Py_None
);
9235 _resultobj
= Py_None
;
9239 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9240 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
* _resultobj
;
9244 PyObject
* _argo0
= 0;
9245 PyObject
* _obj1
= 0;
9246 char *_kwnames
[] = { "self","string", NULL
};
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9259 #if PYTHON_API_VERSION >= 1009
9260 char* tmpPtr
; int tmpSize
;
9261 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9265 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9267 _arg1
= new wxString(tmpPtr
, tmpSize
);
9269 if (!PyString_Check(_obj1
)) {
9270 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9273 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9277 wxPy_BEGIN_ALLOW_THREADS
;
9278 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9280 wxPy_END_ALLOW_THREADS
;
9281 if (PyErr_Occurred()) return NULL
;
9282 } Py_INCREF(Py_None
);
9283 _resultobj
= Py_None
;
9291 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9292 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
* _resultobj
;
9296 PyObject
* _argo0
= 0;
9298 char *_kwnames
[] = { "self","show", NULL
};
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9310 _arg1
= (bool ) tempbool1
;
9312 wxPy_BEGIN_ALLOW_THREADS
;
9313 wxRadioBox_Show(_arg0
,_arg1
);
9315 wxPy_END_ALLOW_THREADS
;
9316 if (PyErr_Occurred()) return NULL
;
9317 } Py_INCREF(Py_None
);
9318 _resultobj
= Py_None
;
9322 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9323 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
* _resultobj
;
9328 PyObject
* _argo0
= 0;
9330 char *_kwnames
[] = { "self","item","show", NULL
};
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9342 _arg2
= (bool ) tempbool2
;
9344 wxPy_BEGIN_ALLOW_THREADS
;
9345 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9347 wxPy_END_ALLOW_THREADS
;
9348 if (PyErr_Occurred()) return NULL
;
9349 } Py_INCREF(Py_None
);
9350 _resultobj
= Py_None
;
9354 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9357 src
= (wxRadioButton
*) ptr
;
9358 dest
= (wxControl
*) src
;
9359 return (void *) dest
;
9362 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9365 src
= (wxRadioButton
*) ptr
;
9366 dest
= (wxWindow
*) src
;
9367 return (void *) dest
;
9370 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9373 src
= (wxRadioButton
*) ptr
;
9374 dest
= (wxEvtHandler
*) src
;
9375 return (void *) dest
;
9378 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9381 src
= (wxRadioButton
*) ptr
;
9382 dest
= (wxObject
*) src
;
9383 return (void *) dest
;
9386 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9387 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
* _resultobj
;
9389 wxRadioButton
* _result
;
9393 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9394 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9395 long _arg5
= (long ) 0;
9396 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9397 char * _arg7
= (char *) "radioButton";
9398 PyObject
* _argo0
= 0;
9399 PyObject
* _obj2
= 0;
9401 PyObject
* _obj3
= 0;
9403 PyObject
* _obj4
= 0;
9404 PyObject
* _argo6
= 0;
9405 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9419 #if PYTHON_API_VERSION >= 1009
9420 char* tmpPtr
; int tmpSize
;
9421 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9422 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9425 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9427 _arg2
= new wxString(tmpPtr
, tmpSize
);
9429 if (!PyString_Check(_obj2
)) {
9430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9433 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9439 if (! wxPoint_helper(_obj3
, &_arg3
))
9445 if (! wxSize_helper(_obj4
, &_arg4
))
9449 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9450 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9456 wxPy_BEGIN_ALLOW_THREADS
;
9457 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9459 wxPy_END_ALLOW_THREADS
;
9460 if (PyErr_Occurred()) return NULL
;
9462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9463 _resultobj
= Py_BuildValue("s",_ptemp
);
9466 _resultobj
= Py_None
;
9475 #define new_wxPreRadioButton() (new wxRadioButton())
9476 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
* _resultobj
;
9478 wxRadioButton
* _result
;
9479 char *_kwnames
[] = { NULL
};
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9486 wxPy_BEGIN_ALLOW_THREADS
;
9487 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9489 wxPy_END_ALLOW_THREADS
;
9490 if (PyErr_Occurred()) return NULL
;
9492 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9493 _resultobj
= Py_BuildValue("s",_ptemp
);
9496 _resultobj
= Py_None
;
9501 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9502 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
* _resultobj
;
9505 wxRadioButton
* _arg0
;
9509 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9510 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9511 long _arg6
= (long ) 0;
9512 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9513 char * _arg8
= (char *) "radioButton";
9514 PyObject
* _argo0
= 0;
9515 PyObject
* _argo1
= 0;
9516 PyObject
* _obj3
= 0;
9518 PyObject
* _obj4
= 0;
9520 PyObject
* _obj5
= 0;
9521 PyObject
* _argo7
= 0;
9522 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9535 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9536 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9542 #if PYTHON_API_VERSION >= 1009
9543 char* tmpPtr
; int tmpSize
;
9544 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9545 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9548 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9550 _arg3
= new wxString(tmpPtr
, tmpSize
);
9552 if (!PyString_Check(_obj3
)) {
9553 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9556 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9562 if (! wxPoint_helper(_obj4
, &_arg4
))
9568 if (! wxSize_helper(_obj5
, &_arg5
))
9572 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9573 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9579 wxPy_BEGIN_ALLOW_THREADS
;
9580 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9582 wxPy_END_ALLOW_THREADS
;
9583 if (PyErr_Occurred()) return NULL
;
9584 } _resultobj
= Py_BuildValue("i",_result
);
9592 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9593 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9594 PyObject
* _resultobj
;
9596 wxRadioButton
* _arg0
;
9597 PyObject
* _argo0
= 0;
9598 char *_kwnames
[] = { "self", NULL
};
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9611 wxPy_BEGIN_ALLOW_THREADS
;
9612 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9614 wxPy_END_ALLOW_THREADS
;
9615 if (PyErr_Occurred()) return NULL
;
9616 } _resultobj
= Py_BuildValue("i",_result
);
9620 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9621 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
* _resultobj
;
9623 wxRadioButton
* _arg0
;
9625 PyObject
* _argo0
= 0;
9627 char *_kwnames
[] = { "self","value", NULL
};
9630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9639 _arg1
= (bool ) tempbool1
;
9641 wxPy_BEGIN_ALLOW_THREADS
;
9642 wxRadioButton_SetValue(_arg0
,_arg1
);
9644 wxPy_END_ALLOW_THREADS
;
9645 if (PyErr_Occurred()) return NULL
;
9646 } Py_INCREF(Py_None
);
9647 _resultobj
= Py_None
;
9651 static void *SwigwxSliderTowxControl(void *ptr
) {
9654 src
= (wxSlider
*) ptr
;
9655 dest
= (wxControl
*) src
;
9656 return (void *) dest
;
9659 static void *SwigwxSliderTowxWindow(void *ptr
) {
9662 src
= (wxSlider
*) ptr
;
9663 dest
= (wxWindow
*) src
;
9664 return (void *) dest
;
9667 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9670 src
= (wxSlider
*) ptr
;
9671 dest
= (wxEvtHandler
*) src
;
9672 return (void *) dest
;
9675 static void *SwigwxSliderTowxObject(void *ptr
) {
9678 src
= (wxSlider
*) ptr
;
9679 dest
= (wxObject
*) src
;
9680 return (void *) dest
;
9683 #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))
9684 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
* _resultobj
;
9692 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9693 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9694 long _arg7
= (long ) wxSL_HORIZONTAL
;
9695 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9696 char * _arg9
= (char *) "slider";
9697 PyObject
* _argo0
= 0;
9699 PyObject
* _obj5
= 0;
9701 PyObject
* _obj6
= 0;
9702 PyObject
* _argo8
= 0;
9703 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9710 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9711 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9712 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9719 if (! wxPoint_helper(_obj5
, &_arg5
))
9725 if (! wxSize_helper(_obj6
, &_arg6
))
9729 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9730 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9736 wxPy_BEGIN_ALLOW_THREADS
;
9737 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9739 wxPy_END_ALLOW_THREADS
;
9740 if (PyErr_Occurred()) return NULL
;
9742 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9743 _resultobj
= Py_BuildValue("s",_ptemp
);
9746 _resultobj
= Py_None
;
9751 #define new_wxPreSlider() (new wxSlider())
9752 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
* _resultobj
;
9755 char *_kwnames
[] = { NULL
};
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9762 wxPy_BEGIN_ALLOW_THREADS
;
9763 _result
= (wxSlider
*)new_wxPreSlider();
9765 wxPy_END_ALLOW_THREADS
;
9766 if (PyErr_Occurred()) return NULL
;
9768 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9769 _resultobj
= Py_BuildValue("s",_ptemp
);
9772 _resultobj
= Py_None
;
9777 #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))
9778 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
* _resultobj
;
9787 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9788 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9789 long _arg8
= (long ) wxSL_HORIZONTAL
;
9790 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9791 char * _arg10
= (char *) "slider";
9792 PyObject
* _argo0
= 0;
9793 PyObject
* _argo1
= 0;
9795 PyObject
* _obj6
= 0;
9797 PyObject
* _obj7
= 0;
9798 PyObject
* _argo9
= 0;
9799 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9821 if (! wxPoint_helper(_obj6
, &_arg6
))
9827 if (! wxSize_helper(_obj7
, &_arg7
))
9831 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9832 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9838 wxPy_BEGIN_ALLOW_THREADS
;
9839 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9841 wxPy_END_ALLOW_THREADS
;
9842 if (PyErr_Occurred()) return NULL
;
9843 } _resultobj
= Py_BuildValue("i",_result
);
9847 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9848 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
* _resultobj
;
9851 PyObject
* _argo0
= 0;
9852 char *_kwnames
[] = { "self", NULL
};
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9865 wxPy_BEGIN_ALLOW_THREADS
;
9866 wxSlider_ClearSel(_arg0
);
9868 wxPy_END_ALLOW_THREADS
;
9869 if (PyErr_Occurred()) return NULL
;
9870 } Py_INCREF(Py_None
);
9871 _resultobj
= Py_None
;
9875 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
9876 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
* _resultobj
;
9879 PyObject
* _argo0
= 0;
9880 char *_kwnames
[] = { "self", NULL
};
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
9886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9893 wxPy_BEGIN_ALLOW_THREADS
;
9894 wxSlider_ClearTicks(_arg0
);
9896 wxPy_END_ALLOW_THREADS
;
9897 if (PyErr_Occurred()) return NULL
;
9898 } Py_INCREF(Py_None
);
9899 _resultobj
= Py_None
;
9903 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
9904 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
* _resultobj
;
9908 PyObject
* _argo0
= 0;
9909 char *_kwnames
[] = { "self", NULL
};
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
9915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
9922 wxPy_BEGIN_ALLOW_THREADS
;
9923 _result
= (int )wxSlider_GetLineSize(_arg0
);
9925 wxPy_END_ALLOW_THREADS
;
9926 if (PyErr_Occurred()) return NULL
;
9927 } _resultobj
= Py_BuildValue("i",_result
);
9931 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
9932 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
* _resultobj
;
9936 PyObject
* _argo0
= 0;
9937 char *_kwnames
[] = { "self", NULL
};
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
9943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
9950 wxPy_BEGIN_ALLOW_THREADS
;
9951 _result
= (int )wxSlider_GetMax(_arg0
);
9953 wxPy_END_ALLOW_THREADS
;
9954 if (PyErr_Occurred()) return NULL
;
9955 } _resultobj
= Py_BuildValue("i",_result
);
9959 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
9960 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
* _resultobj
;
9964 PyObject
* _argo0
= 0;
9965 char *_kwnames
[] = { "self", NULL
};
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
9971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
9978 wxPy_BEGIN_ALLOW_THREADS
;
9979 _result
= (int )wxSlider_GetMin(_arg0
);
9981 wxPy_END_ALLOW_THREADS
;
9982 if (PyErr_Occurred()) return NULL
;
9983 } _resultobj
= Py_BuildValue("i",_result
);
9987 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
9988 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9989 PyObject
* _resultobj
;
9992 PyObject
* _argo0
= 0;
9993 char *_kwnames
[] = { "self", NULL
};
9996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
9999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10006 wxPy_BEGIN_ALLOW_THREADS
;
10007 _result
= (int )wxSlider_GetPageSize(_arg0
);
10009 wxPy_END_ALLOW_THREADS
;
10010 if (PyErr_Occurred()) return NULL
;
10011 } _resultobj
= Py_BuildValue("i",_result
);
10015 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10016 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
* _resultobj
;
10020 PyObject
* _argo0
= 0;
10021 char *_kwnames
[] = { "self", NULL
};
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10034 wxPy_BEGIN_ALLOW_THREADS
;
10035 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10037 wxPy_END_ALLOW_THREADS
;
10038 if (PyErr_Occurred()) return NULL
;
10039 } _resultobj
= Py_BuildValue("i",_result
);
10043 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10044 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10045 PyObject
* _resultobj
;
10048 PyObject
* _argo0
= 0;
10049 char *_kwnames
[] = { "self", NULL
};
10052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10062 wxPy_BEGIN_ALLOW_THREADS
;
10063 _result
= (int )wxSlider_GetSelStart(_arg0
);
10065 wxPy_END_ALLOW_THREADS
;
10066 if (PyErr_Occurred()) return NULL
;
10067 } _resultobj
= Py_BuildValue("i",_result
);
10071 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10072 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
* _resultobj
;
10076 PyObject
* _argo0
= 0;
10077 char *_kwnames
[] = { "self", NULL
};
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10090 wxPy_BEGIN_ALLOW_THREADS
;
10091 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10093 wxPy_END_ALLOW_THREADS
;
10094 if (PyErr_Occurred()) return NULL
;
10095 } _resultobj
= Py_BuildValue("i",_result
);
10099 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10100 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
* _resultobj
;
10104 PyObject
* _argo0
= 0;
10105 char *_kwnames
[] = { "self", NULL
};
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10118 wxPy_BEGIN_ALLOW_THREADS
;
10119 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10121 wxPy_END_ALLOW_THREADS
;
10122 if (PyErr_Occurred()) return NULL
;
10123 } _resultobj
= Py_BuildValue("i",_result
);
10127 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10128 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
* _resultobj
;
10132 PyObject
* _argo0
= 0;
10133 char *_kwnames
[] = { "self", NULL
};
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10146 wxPy_BEGIN_ALLOW_THREADS
;
10147 _result
= (int )wxSlider_GetValue(_arg0
);
10149 wxPy_END_ALLOW_THREADS
;
10150 if (PyErr_Occurred()) return NULL
;
10151 } _resultobj
= Py_BuildValue("i",_result
);
10155 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10156 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
* _resultobj
;
10161 PyObject
* _argo0
= 0;
10162 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10175 wxPy_BEGIN_ALLOW_THREADS
;
10176 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10178 wxPy_END_ALLOW_THREADS
;
10179 if (PyErr_Occurred()) return NULL
;
10180 } Py_INCREF(Py_None
);
10181 _resultobj
= Py_None
;
10185 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10186 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
* _resultobj
;
10191 PyObject
* _argo0
= 0;
10192 char *_kwnames
[] = { "self","n","pos", NULL
};
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10205 wxPy_BEGIN_ALLOW_THREADS
;
10206 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10208 wxPy_END_ALLOW_THREADS
;
10209 if (PyErr_Occurred()) return NULL
;
10210 } Py_INCREF(Py_None
);
10211 _resultobj
= Py_None
;
10215 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10216 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
* _resultobj
;
10220 PyObject
* _argo0
= 0;
10221 char *_kwnames
[] = { "self","lineSize", NULL
};
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10234 wxPy_BEGIN_ALLOW_THREADS
;
10235 wxSlider_SetLineSize(_arg0
,_arg1
);
10237 wxPy_END_ALLOW_THREADS
;
10238 if (PyErr_Occurred()) return NULL
;
10239 } Py_INCREF(Py_None
);
10240 _resultobj
= Py_None
;
10244 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10245 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
* _resultobj
;
10249 PyObject
* _argo0
= 0;
10250 char *_kwnames
[] = { "self","pageSize", NULL
};
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10263 wxPy_BEGIN_ALLOW_THREADS
;
10264 wxSlider_SetPageSize(_arg0
,_arg1
);
10266 wxPy_END_ALLOW_THREADS
;
10267 if (PyErr_Occurred()) return NULL
;
10268 } Py_INCREF(Py_None
);
10269 _resultobj
= Py_None
;
10273 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10274 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
* _resultobj
;
10279 PyObject
* _argo0
= 0;
10280 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10293 wxPy_BEGIN_ALLOW_THREADS
;
10294 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10296 wxPy_END_ALLOW_THREADS
;
10297 if (PyErr_Occurred()) return NULL
;
10298 } Py_INCREF(Py_None
);
10299 _resultobj
= Py_None
;
10303 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10304 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
* _resultobj
;
10308 PyObject
* _argo0
= 0;
10309 char *_kwnames
[] = { "self","len", NULL
};
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10322 wxPy_BEGIN_ALLOW_THREADS
;
10323 wxSlider_SetThumbLength(_arg0
,_arg1
);
10325 wxPy_END_ALLOW_THREADS
;
10326 if (PyErr_Occurred()) return NULL
;
10327 } Py_INCREF(Py_None
);
10328 _resultobj
= Py_None
;
10332 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10333 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
* _resultobj
;
10337 PyObject
* _argo0
= 0;
10338 char *_kwnames
[] = { "self","tickPos", NULL
};
10341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10351 wxPy_BEGIN_ALLOW_THREADS
;
10352 wxSlider_SetTick(_arg0
,_arg1
);
10354 wxPy_END_ALLOW_THREADS
;
10355 if (PyErr_Occurred()) return NULL
;
10356 } Py_INCREF(Py_None
);
10357 _resultobj
= Py_None
;
10361 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10362 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
* _resultobj
;
10366 PyObject
* _argo0
= 0;
10367 char *_kwnames
[] = { "self","value", NULL
};
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10380 wxPy_BEGIN_ALLOW_THREADS
;
10381 wxSlider_SetValue(_arg0
,_arg1
);
10383 wxPy_END_ALLOW_THREADS
;
10384 if (PyErr_Occurred()) return NULL
;
10385 } Py_INCREF(Py_None
);
10386 _resultobj
= Py_None
;
10390 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10392 wxSpinButton
*dest
;
10393 src
= (wxSpinCtrl
*) ptr
;
10394 dest
= (wxSpinButton
*) src
;
10395 return (void *) dest
;
10398 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10401 src
= (wxSpinCtrl
*) ptr
;
10402 dest
= (wxControl
*) src
;
10403 return (void *) dest
;
10406 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10409 src
= (wxSpinCtrl
*) ptr
;
10410 dest
= (wxWindow
*) src
;
10411 return (void *) dest
;
10414 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10416 wxEvtHandler
*dest
;
10417 src
= (wxSpinCtrl
*) ptr
;
10418 dest
= (wxEvtHandler
*) src
;
10419 return (void *) dest
;
10422 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10425 src
= (wxSpinCtrl
*) ptr
;
10426 dest
= (wxObject
*) src
;
10427 return (void *) dest
;
10430 #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))
10431 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
* _resultobj
;
10433 wxSpinCtrl
* _result
;
10435 wxWindowID _arg1
= (wxWindowID
) -1;
10436 char * _arg2
= (char *) "";
10437 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10438 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10439 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10440 int _arg6
= (int ) 0;
10441 int _arg7
= (int ) 100;
10442 int _arg8
= (int ) 0;
10443 char * _arg9
= (char *) "wxSpinCtrl";
10444 PyObject
* _argo0
= 0;
10446 PyObject
* _obj3
= 0;
10448 PyObject
* _obj4
= 0;
10449 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10465 if (! wxPoint_helper(_obj3
, &_arg3
))
10471 if (! wxSize_helper(_obj4
, &_arg4
))
10475 wxPy_BEGIN_ALLOW_THREADS
;
10476 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10478 wxPy_END_ALLOW_THREADS
;
10479 if (PyErr_Occurred()) return NULL
;
10481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10482 _resultobj
= Py_BuildValue("s",_ptemp
);
10484 Py_INCREF(Py_None
);
10485 _resultobj
= Py_None
;
10490 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10491 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
* _resultobj
;
10493 wxSpinCtrl
* _result
;
10494 char *_kwnames
[] = { NULL
};
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10501 wxPy_BEGIN_ALLOW_THREADS
;
10502 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10504 wxPy_END_ALLOW_THREADS
;
10505 if (PyErr_Occurred()) return NULL
;
10507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10508 _resultobj
= Py_BuildValue("s",_ptemp
);
10510 Py_INCREF(Py_None
);
10511 _resultobj
= Py_None
;
10516 #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))
10517 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
* _resultobj
;
10520 wxSpinCtrl
* _arg0
;
10522 wxWindowID _arg2
= (wxWindowID
) -1;
10523 char * _arg3
= (char *) "";
10524 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10525 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10526 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10527 int _arg7
= (int ) 0;
10528 int _arg8
= (int ) 100;
10529 int _arg9
= (int ) 0;
10530 char * _arg10
= (char *) "wxSpinCtrl";
10531 PyObject
* _argo0
= 0;
10532 PyObject
* _argo1
= 0;
10534 PyObject
* _obj4
= 0;
10536 PyObject
* _obj5
= 0;
10537 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10550 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10551 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10559 if (! wxPoint_helper(_obj4
, &_arg4
))
10565 if (! wxSize_helper(_obj5
, &_arg5
))
10569 wxPy_BEGIN_ALLOW_THREADS
;
10570 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10572 wxPy_END_ALLOW_THREADS
;
10573 if (PyErr_Occurred()) return NULL
;
10574 } _resultobj
= Py_BuildValue("i",_result
);
10578 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10579 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
* _resultobj
;
10582 wxSpinCtrl
* _arg0
;
10583 PyObject
* _argo0
= 0;
10584 char *_kwnames
[] = { "self", NULL
};
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10597 wxPy_BEGIN_ALLOW_THREADS
;
10598 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10600 wxPy_END_ALLOW_THREADS
;
10601 if (PyErr_Occurred()) return NULL
;
10602 } _resultobj
= Py_BuildValue("i",_result
);
10606 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10607 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
* _resultobj
;
10610 wxSpinCtrl
* _arg0
;
10611 PyObject
* _argo0
= 0;
10612 char *_kwnames
[] = { "self", NULL
};
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10625 wxPy_BEGIN_ALLOW_THREADS
;
10626 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10628 wxPy_END_ALLOW_THREADS
;
10629 if (PyErr_Occurred()) return NULL
;
10630 } _resultobj
= Py_BuildValue("i",_result
);
10634 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10635 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10636 PyObject
* _resultobj
;
10638 wxSpinCtrl
* _arg0
;
10639 PyObject
* _argo0
= 0;
10640 char *_kwnames
[] = { "self", NULL
};
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10653 wxPy_BEGIN_ALLOW_THREADS
;
10654 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10656 wxPy_END_ALLOW_THREADS
;
10657 if (PyErr_Occurred()) return NULL
;
10658 } _resultobj
= Py_BuildValue("i",_result
);
10662 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10663 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
* _resultobj
;
10665 wxSpinCtrl
* _arg0
;
10668 PyObject
* _argo0
= 0;
10669 char *_kwnames
[] = { "self","min","max", NULL
};
10672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10682 wxPy_BEGIN_ALLOW_THREADS
;
10683 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10685 wxPy_END_ALLOW_THREADS
;
10686 if (PyErr_Occurred()) return NULL
;
10687 } Py_INCREF(Py_None
);
10688 _resultobj
= Py_None
;
10692 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10693 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
* _resultobj
;
10695 wxSpinCtrl
* _arg0
;
10697 PyObject
* _argo0
= 0;
10698 char *_kwnames
[] = { "self","value", NULL
};
10701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10704 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10705 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10706 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10711 wxPy_BEGIN_ALLOW_THREADS
;
10712 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10714 wxPy_END_ALLOW_THREADS
;
10715 if (PyErr_Occurred()) return NULL
;
10716 } Py_INCREF(Py_None
);
10717 _resultobj
= Py_None
;
10721 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
10722 wxToggleButton
*src
;
10724 src
= (wxToggleButton
*) ptr
;
10725 dest
= (wxControl
*) src
;
10726 return (void *) dest
;
10729 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
10730 wxToggleButton
*src
;
10732 src
= (wxToggleButton
*) ptr
;
10733 dest
= (wxWindow
*) src
;
10734 return (void *) dest
;
10737 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
10738 wxToggleButton
*src
;
10739 wxEvtHandler
*dest
;
10740 src
= (wxToggleButton
*) ptr
;
10741 dest
= (wxEvtHandler
*) src
;
10742 return (void *) dest
;
10745 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
10746 wxToggleButton
*src
;
10748 src
= (wxToggleButton
*) ptr
;
10749 dest
= (wxObject
*) src
;
10750 return (void *) dest
;
10753 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10754 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
* _resultobj
;
10756 wxToggleButton
* _result
;
10760 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10761 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10762 long _arg5
= (long ) 0;
10763 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
10764 char * _arg7
= (char *) "toggle";
10765 PyObject
* _argo0
= 0;
10766 PyObject
* _obj2
= 0;
10768 PyObject
* _obj3
= 0;
10770 PyObject
* _obj4
= 0;
10771 PyObject
* _argo6
= 0;
10772 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
10779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10786 #if PYTHON_API_VERSION >= 1009
10787 char* tmpPtr
; int tmpSize
;
10788 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10789 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10792 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10794 _arg2
= new wxString(tmpPtr
, tmpSize
);
10796 if (!PyString_Check(_obj2
)) {
10797 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10800 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10806 if (! wxPoint_helper(_obj3
, &_arg3
))
10812 if (! wxSize_helper(_obj4
, &_arg4
))
10816 if (_argo6
== Py_None
) { _arg6
= NULL
; }
10817 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
10818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
10823 wxPy_BEGIN_ALLOW_THREADS
;
10824 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
10826 wxPy_END_ALLOW_THREADS
;
10827 if (PyErr_Occurred()) return NULL
;
10829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10830 _resultobj
= Py_BuildValue("s",_ptemp
);
10832 Py_INCREF(Py_None
);
10833 _resultobj
= Py_None
;
10842 #define new_wxPreToggleButton() (new wxToggleButton())
10843 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
* _resultobj
;
10845 wxToggleButton
* _result
;
10846 char *_kwnames
[] = { NULL
};
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
10853 wxPy_BEGIN_ALLOW_THREADS
;
10854 _result
= (wxToggleButton
*)new_wxPreToggleButton();
10856 wxPy_END_ALLOW_THREADS
;
10857 if (PyErr_Occurred()) return NULL
;
10859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10860 _resultobj
= Py_BuildValue("s",_ptemp
);
10862 Py_INCREF(Py_None
);
10863 _resultobj
= Py_None
;
10868 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10869 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
* _resultobj
;
10872 wxToggleButton
* _arg0
;
10876 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10877 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10878 long _arg6
= (long ) 0;
10879 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
10880 char * _arg8
= (char *) "toggle";
10881 PyObject
* _argo0
= 0;
10882 PyObject
* _argo1
= 0;
10883 PyObject
* _obj3
= 0;
10885 PyObject
* _obj4
= 0;
10887 PyObject
* _obj5
= 0;
10888 PyObject
* _argo7
= 0;
10889 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
10895 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10896 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
10897 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
10902 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10903 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
10909 #if PYTHON_API_VERSION >= 1009
10910 char* tmpPtr
; int tmpSize
;
10911 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
10912 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10915 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
10917 _arg3
= new wxString(tmpPtr
, tmpSize
);
10919 if (!PyString_Check(_obj3
)) {
10920 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10923 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
10929 if (! wxPoint_helper(_obj4
, &_arg4
))
10935 if (! wxSize_helper(_obj5
, &_arg5
))
10939 if (_argo7
== Py_None
) { _arg7
= NULL
; }
10940 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
10941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
10946 wxPy_BEGIN_ALLOW_THREADS
;
10947 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
10949 wxPy_END_ALLOW_THREADS
;
10950 if (PyErr_Occurred()) return NULL
;
10951 } _resultobj
= Py_BuildValue("i",_result
);
10959 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10960 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
* _resultobj
;
10962 wxToggleButton
* _arg0
;
10964 PyObject
* _argo0
= 0;
10966 char *_kwnames
[] = { "self","value", NULL
};
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
10972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
10974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
10978 _arg1
= (bool ) tempbool1
;
10980 wxPy_BEGIN_ALLOW_THREADS
;
10981 wxToggleButton_SetValue(_arg0
,_arg1
);
10983 wxPy_END_ALLOW_THREADS
;
10984 if (PyErr_Occurred()) return NULL
;
10985 } Py_INCREF(Py_None
);
10986 _resultobj
= Py_None
;
10990 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
10991 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
* _resultobj
;
10994 wxToggleButton
* _arg0
;
10995 PyObject
* _argo0
= 0;
10996 char *_kwnames
[] = { "self", NULL
};
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11009 wxPy_BEGIN_ALLOW_THREADS
;
11010 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11012 wxPy_END_ALLOW_THREADS
;
11013 if (PyErr_Occurred()) return NULL
;
11014 } _resultobj
= Py_BuildValue("i",_result
);
11018 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11019 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
* _resultobj
;
11021 wxToggleButton
* _arg0
;
11023 PyObject
* _argo0
= 0;
11024 PyObject
* _obj1
= 0;
11025 char *_kwnames
[] = { "self","label", NULL
};
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11038 #if PYTHON_API_VERSION >= 1009
11039 char* tmpPtr
; int tmpSize
;
11040 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11041 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11044 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11046 _arg1
= new wxString(tmpPtr
, tmpSize
);
11048 if (!PyString_Check(_obj1
)) {
11049 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11052 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11056 wxPy_BEGIN_ALLOW_THREADS
;
11057 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11059 wxPy_END_ALLOW_THREADS
;
11060 if (PyErr_Occurred()) return NULL
;
11061 } Py_INCREF(Py_None
);
11062 _resultobj
= Py_None
;
11070 static PyMethodDef controlscMethods
[] = {
11071 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11072 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11073 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11074 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11075 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11076 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11077 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11078 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11079 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11080 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11081 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11082 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11083 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11084 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11085 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11086 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11087 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11088 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11089 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11090 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11091 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11092 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11093 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11094 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11095 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11096 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11097 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11098 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11099 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11100 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11101 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11102 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11103 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11104 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11105 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11106 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11107 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11108 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11109 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11110 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11111 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11112 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11113 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11114 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11115 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11116 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11117 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11118 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11119 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
11120 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11121 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11122 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11123 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11124 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11125 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11126 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11127 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11128 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11129 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11130 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11131 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11132 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11133 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11134 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11135 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11136 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11137 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11138 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11139 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11140 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11141 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11142 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11143 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11144 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11145 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11146 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11147 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11148 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11149 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11150 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11151 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11152 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11153 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11154 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11155 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11156 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11157 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11158 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11159 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11160 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11161 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11162 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11163 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11164 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11165 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11166 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11167 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11168 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxButton_SetImageMargins", (PyCFunction
) _wrap_wxButton_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxButton_SetImageLabel", (PyCFunction
) _wrap_wxButton_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11330 * This table is used by the pointer type-checker
11332 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11333 { "_signed_long","_long",0},
11334 { "_wxPrintQuality","_wxCoord",0},
11335 { "_wxPrintQuality","_int",0},
11336 { "_wxPrintQuality","_signed_int",0},
11337 { "_wxPrintQuality","_unsigned_int",0},
11338 { "_wxPrintQuality","_wxWindowID",0},
11339 { "_wxPrintQuality","_uint",0},
11340 { "_wxPrintQuality","_EBool",0},
11341 { "_wxPrintQuality","_size_t",0},
11342 { "_wxPrintQuality","_time_t",0},
11343 { "_byte","_unsigned_char",0},
11344 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11345 { "_long","_unsigned_long",0},
11346 { "_long","_signed_long",0},
11347 { "_size_t","_wxCoord",0},
11348 { "_size_t","_wxPrintQuality",0},
11349 { "_size_t","_time_t",0},
11350 { "_size_t","_unsigned_int",0},
11351 { "_size_t","_int",0},
11352 { "_size_t","_wxWindowID",0},
11353 { "_size_t","_uint",0},
11354 { "_uint","_wxCoord",0},
11355 { "_uint","_wxPrintQuality",0},
11356 { "_uint","_time_t",0},
11357 { "_uint","_size_t",0},
11358 { "_uint","_unsigned_int",0},
11359 { "_uint","_int",0},
11360 { "_uint","_wxWindowID",0},
11361 { "_wxChar","_char",0},
11362 { "_char","_wxChar",0},
11363 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11364 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11365 { "_EBool","_wxCoord",0},
11366 { "_EBool","_wxPrintQuality",0},
11367 { "_EBool","_signed_int",0},
11368 { "_EBool","_int",0},
11369 { "_EBool","_wxWindowID",0},
11370 { "_unsigned_long","_long",0},
11371 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11372 { "_signed_int","_wxCoord",0},
11373 { "_signed_int","_wxPrintQuality",0},
11374 { "_signed_int","_EBool",0},
11375 { "_signed_int","_wxWindowID",0},
11376 { "_signed_int","_int",0},
11377 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11378 { "_WXTYPE","_short",0},
11379 { "_WXTYPE","_signed_short",0},
11380 { "_WXTYPE","_unsigned_short",0},
11381 { "_unsigned_short","_WXTYPE",0},
11382 { "_unsigned_short","_short",0},
11383 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11384 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11385 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11386 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11387 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11388 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11389 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11390 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11391 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11392 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11393 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11394 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11395 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11396 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11397 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11398 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11399 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11400 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11401 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11402 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11403 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11404 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11405 { "_signed_short","_WXTYPE",0},
11406 { "_signed_short","_short",0},
11407 { "_unsigned_char","_byte",0},
11408 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11409 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11410 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11411 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11412 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11413 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11414 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11415 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11416 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11417 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11418 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11419 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11420 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11421 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11422 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11423 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11424 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11425 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11426 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11427 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11428 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11429 { "_unsigned_int","_wxCoord",0},
11430 { "_unsigned_int","_wxPrintQuality",0},
11431 { "_unsigned_int","_time_t",0},
11432 { "_unsigned_int","_size_t",0},
11433 { "_unsigned_int","_uint",0},
11434 { "_unsigned_int","_wxWindowID",0},
11435 { "_unsigned_int","_int",0},
11436 { "_short","_WXTYPE",0},
11437 { "_short","_unsigned_short",0},
11438 { "_short","_signed_short",0},
11439 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11440 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11441 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11442 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11443 { "_wxWindowID","_wxCoord",0},
11444 { "_wxWindowID","_wxPrintQuality",0},
11445 { "_wxWindowID","_time_t",0},
11446 { "_wxWindowID","_size_t",0},
11447 { "_wxWindowID","_EBool",0},
11448 { "_wxWindowID","_uint",0},
11449 { "_wxWindowID","_int",0},
11450 { "_wxWindowID","_signed_int",0},
11451 { "_wxWindowID","_unsigned_int",0},
11452 { "_int","_wxCoord",0},
11453 { "_int","_wxPrintQuality",0},
11454 { "_int","_time_t",0},
11455 { "_int","_size_t",0},
11456 { "_int","_EBool",0},
11457 { "_int","_uint",0},
11458 { "_int","_wxWindowID",0},
11459 { "_int","_unsigned_int",0},
11460 { "_int","_signed_int",0},
11461 { "_time_t","_wxCoord",0},
11462 { "_time_t","_wxPrintQuality",0},
11463 { "_time_t","_unsigned_int",0},
11464 { "_time_t","_int",0},
11465 { "_time_t","_wxWindowID",0},
11466 { "_time_t","_uint",0},
11467 { "_time_t","_size_t",0},
11468 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11469 { "_wxCoord","_int",0},
11470 { "_wxCoord","_signed_int",0},
11471 { "_wxCoord","_unsigned_int",0},
11472 { "_wxCoord","_wxWindowID",0},
11473 { "_wxCoord","_uint",0},
11474 { "_wxCoord","_EBool",0},
11475 { "_wxCoord","_size_t",0},
11476 { "_wxCoord","_time_t",0},
11477 { "_wxCoord","_wxPrintQuality",0},
11478 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11479 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11480 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11481 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11482 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11483 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11484 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11485 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11486 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11487 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11488 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11489 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11490 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11491 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11492 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11493 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11494 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11495 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11496 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11497 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11498 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11499 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11500 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11501 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11502 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11503 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11504 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11505 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11506 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11507 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11508 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11509 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11510 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11511 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11512 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11513 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11514 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11515 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11516 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11517 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11518 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11519 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11520 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11521 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11524 static PyObject
*SWIG_globals
;
11528 SWIGEXPORT(void) initcontrolsc() {
11530 SWIG_globals
= SWIG_newvarlink();
11531 m
= Py_InitModule("controlsc", controlscMethods
);
11532 d
= PyModule_GetDict(m
);
11533 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11534 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11535 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11538 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11539 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);