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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
202 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
204 wxPyEndAllowThreads(__tstate
);
205 if (PyErr_Occurred()) return NULL
;
207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
208 _resultobj
= Py_BuildValue("s",_ptemp
);
211 _resultobj
= Py_None
;
216 #define new_wxPreControl() (new wxControl())
217 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
218 PyObject
* _resultobj
;
220 char *_kwnames
[] = { NULL
};
224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
228 _result
= (wxControl
*)new_wxPreControl();
230 wxPyEndAllowThreads(__tstate
);
231 if (PyErr_Occurred()) return NULL
;
233 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
234 _resultobj
= Py_BuildValue("s",_ptemp
);
237 _resultobj
= Py_None
;
242 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
243 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
244 PyObject
* _resultobj
;
249 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
250 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
251 long _arg5
= (long ) 0;
252 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
253 char * _arg7
= (char *) "control";
254 PyObject
* _argo0
= 0;
255 PyObject
* _argo1
= 0;
257 PyObject
* _obj3
= 0;
259 PyObject
* _obj4
= 0;
260 PyObject
* _argo6
= 0;
261 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOs:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
274 if (_argo1
== Py_None
) { _arg1
= NULL
; }
275 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
283 if (! wxPoint_helper(_obj3
, &_arg3
))
289 if (! wxSize_helper(_obj4
, &_arg4
))
293 if (_argo6
== Py_None
) { _arg6
= NULL
; }
294 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
301 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
303 wxPyEndAllowThreads(__tstate
);
304 if (PyErr_Occurred()) return NULL
;
305 } _resultobj
= Py_BuildValue("i",_result
);
309 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
310 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
311 PyObject
* _resultobj
;
313 wxCommandEvent
* _arg1
;
314 PyObject
* _argo0
= 0;
315 PyObject
* _argo1
= 0;
316 char *_kwnames
[] = { "self","event", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
337 wxControl_Command(_arg0
,*_arg1
);
339 wxPyEndAllowThreads(__tstate
);
340 if (PyErr_Occurred()) return NULL
;
341 } Py_INCREF(Py_None
);
342 _resultobj
= Py_None
;
346 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
347 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
348 PyObject
* _resultobj
;
351 PyObject
* _argo0
= 0;
352 char *_kwnames
[] = { "self", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
366 _result
= new wxString (wxControl_GetLabel(_arg0
));
368 wxPyEndAllowThreads(__tstate
);
369 if (PyErr_Occurred()) return NULL
;
371 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
379 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
380 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
381 PyObject
* _resultobj
;
384 PyObject
* _argo0
= 0;
385 PyObject
* _obj1
= 0;
386 char *_kwnames
[] = { "self","label", NULL
};
389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
399 #if PYTHON_API_VERSION >= 1009
400 char* tmpPtr
; int tmpSize
;
401 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
405 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
407 _arg1
= new wxString(tmpPtr
, tmpSize
);
409 if (!PyString_Check(_obj1
)) {
410 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
413 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
418 wxControl_SetLabel(_arg0
,*_arg1
);
420 wxPyEndAllowThreads(__tstate
);
421 if (PyErr_Occurred()) return NULL
;
422 } Py_INCREF(Py_None
);
423 _resultobj
= Py_None
;
431 static void *SwigwxControlWithItemsTowxControl(void *ptr
) {
432 wxControlWithItems
*src
;
434 src
= (wxControlWithItems
*) ptr
;
435 dest
= (wxControl
*) src
;
436 return (void *) dest
;
439 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) {
440 wxControlWithItems
*src
;
442 src
= (wxControlWithItems
*) ptr
;
443 dest
= (wxWindow
*) src
;
444 return (void *) dest
;
447 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) {
448 wxControlWithItems
*src
;
450 src
= (wxControlWithItems
*) ptr
;
451 dest
= (wxEvtHandler
*) src
;
452 return (void *) dest
;
455 static void *SwigwxControlWithItemsTowxObject(void *ptr
) {
456 wxControlWithItems
*src
;
458 src
= (wxControlWithItems
*) ptr
;
459 dest
= (wxObject
*) src
;
460 return (void *) dest
;
463 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
464 static PyObject
*_wrap_wxControlWithItems_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
465 PyObject
* _resultobj
;
466 wxControlWithItems
* _arg0
;
468 PyObject
* _argo0
= 0;
469 char *_kwnames
[] = { "self","n", NULL
};
472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))
475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
483 wxControlWithItems_Delete(_arg0
,_arg1
);
485 wxPyEndAllowThreads(__tstate
);
486 if (PyErr_Occurred()) return NULL
;
487 } Py_INCREF(Py_None
);
488 _resultobj
= Py_None
;
492 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
493 static PyObject
*_wrap_wxControlWithItems_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
494 PyObject
* _resultobj
;
496 wxControlWithItems
* _arg0
;
497 PyObject
* _argo0
= 0;
498 char *_kwnames
[] = { "self", NULL
};
501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))
504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
512 _result
= (int )wxControlWithItems_GetCount(_arg0
);
514 wxPyEndAllowThreads(__tstate
);
515 if (PyErr_Occurred()) return NULL
;
516 } _resultobj
= Py_BuildValue("i",_result
);
520 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
521 static PyObject
*_wrap_wxControlWithItems_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
522 PyObject
* _resultobj
;
524 wxControlWithItems
* _arg0
;
526 PyObject
* _argo0
= 0;
527 char *_kwnames
[] = { "self","n", NULL
};
530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))
533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
541 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
543 wxPyEndAllowThreads(__tstate
);
544 if (PyErr_Occurred()) return NULL
;
546 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
554 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
555 static PyObject
*_wrap_wxControlWithItems_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
556 PyObject
* _resultobj
;
557 wxControlWithItems
* _arg0
;
560 PyObject
* _argo0
= 0;
561 PyObject
* _obj2
= 0;
562 char *_kwnames
[] = { "self","n","s", NULL
};
565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
575 #if PYTHON_API_VERSION >= 1009
576 char* tmpPtr
; int tmpSize
;
577 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
578 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
581 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
583 _arg2
= new wxString(tmpPtr
, tmpSize
);
585 if (!PyString_Check(_obj2
)) {
586 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
589 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
594 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
596 wxPyEndAllowThreads(__tstate
);
597 if (PyErr_Occurred()) return NULL
;
598 } Py_INCREF(Py_None
);
599 _resultobj
= Py_None
;
607 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
608 static PyObject
*_wrap_wxControlWithItems_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
609 PyObject
* _resultobj
;
611 wxControlWithItems
* _arg0
;
613 PyObject
* _argo0
= 0;
614 PyObject
* _obj1
= 0;
615 char *_kwnames
[] = { "self","s", NULL
};
618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))
621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
628 #if PYTHON_API_VERSION >= 1009
629 char* tmpPtr
; int tmpSize
;
630 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
634 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
636 _arg1
= new wxString(tmpPtr
, tmpSize
);
638 if (!PyString_Check(_obj1
)) {
639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
642 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
647 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
649 wxPyEndAllowThreads(__tstate
);
650 if (PyErr_Occurred()) return NULL
;
651 } _resultobj
= Py_BuildValue("i",_result
);
659 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
660 static PyObject
*_wrap_wxControlWithItems_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
661 PyObject
* _resultobj
;
662 wxControlWithItems
* _arg0
;
664 PyObject
* _argo0
= 0;
665 char *_kwnames
[] = { "self","n", NULL
};
668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))
671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
679 wxControlWithItems_Select(_arg0
,_arg1
);
681 wxPyEndAllowThreads(__tstate
);
682 if (PyErr_Occurred()) return NULL
;
683 } Py_INCREF(Py_None
);
684 _resultobj
= Py_None
;
688 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
689 static PyObject
*_wrap_wxControlWithItems_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
690 PyObject
* _resultobj
;
692 wxControlWithItems
* _arg0
;
693 PyObject
* _argo0
= 0;
694 char *_kwnames
[] = { "self", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))
700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
708 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
710 wxPyEndAllowThreads(__tstate
);
711 if (PyErr_Occurred()) return NULL
;
712 } _resultobj
= Py_BuildValue("i",_result
);
716 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
717 static PyObject
*_wrap_wxControlWithItems_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
718 PyObject
* _resultobj
;
720 wxControlWithItems
* _arg0
;
721 PyObject
* _argo0
= 0;
722 char *_kwnames
[] = { "self", NULL
};
725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))
728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
736 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
738 wxPyEndAllowThreads(__tstate
);
739 if (PyErr_Occurred()) return NULL
;
741 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
749 static void wxControlWithItems_Append(wxControlWithItems
*self
,const wxString
& item
,PyObject
* clientData
) {
751 wxPyClientData
* data
= new wxPyClientData(clientData
);
752 self
->Append(item
, data
);
756 static PyObject
*_wrap_wxControlWithItems_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
758 wxControlWithItems
* _arg0
;
760 PyObject
* _arg2
= (PyObject
*) NULL
;
761 PyObject
* _argo0
= 0;
762 PyObject
* _obj1
= 0;
763 PyObject
* _obj2
= 0;
764 char *_kwnames
[] = { "self","item","clientData", NULL
};
767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
777 #if PYTHON_API_VERSION >= 1009
778 char* tmpPtr
; int tmpSize
;
779 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
780 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
783 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
785 _arg1
= new wxString(tmpPtr
, tmpSize
);
787 if (!PyString_Check(_obj1
)) {
788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
791 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
800 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
802 wxPyEndAllowThreads(__tstate
);
803 if (PyErr_Occurred()) return NULL
;
804 } Py_INCREF(Py_None
);
805 _resultobj
= Py_None
;
813 static PyObject
* wxControlWithItems_GetClientData(wxControlWithItems
*self
,int n
) {
814 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
816 Py_INCREF(data
->m_obj
);
823 static PyObject
*_wrap_wxControlWithItems_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
824 PyObject
* _resultobj
;
826 wxControlWithItems
* _arg0
;
828 PyObject
* _argo0
= 0;
829 char *_kwnames
[] = { "self","n", NULL
};
832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))
835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
843 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
845 wxPyEndAllowThreads(__tstate
);
846 if (PyErr_Occurred()) return NULL
;
848 _resultobj
= _result
;
853 static void wxControlWithItems_SetClientData(wxControlWithItems
*self
,int n
,PyObject
* clientData
) {
854 wxPyClientData
* data
= new wxPyClientData(clientData
);
855 self
->SetClientObject(n
, data
);
857 static PyObject
*_wrap_wxControlWithItems_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
858 PyObject
* _resultobj
;
859 wxControlWithItems
* _arg0
;
862 PyObject
* _argo0
= 0;
863 PyObject
* _obj2
= 0;
864 char *_kwnames
[] = { "self","n","clientData", NULL
};
867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
881 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
883 wxPyEndAllowThreads(__tstate
);
884 if (PyErr_Occurred()) return NULL
;
885 } Py_INCREF(Py_None
);
886 _resultobj
= Py_None
;
890 static void *SwigwxButtonTowxControl(void *ptr
) {
893 src
= (wxButton
*) ptr
;
894 dest
= (wxControl
*) src
;
895 return (void *) dest
;
898 static void *SwigwxButtonTowxWindow(void *ptr
) {
901 src
= (wxButton
*) ptr
;
902 dest
= (wxWindow
*) src
;
903 return (void *) dest
;
906 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
909 src
= (wxButton
*) ptr
;
910 dest
= (wxEvtHandler
*) src
;
911 return (void *) dest
;
914 static void *SwigwxButtonTowxObject(void *ptr
) {
917 src
= (wxButton
*) ptr
;
918 dest
= (wxObject
*) src
;
919 return (void *) dest
;
922 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
923 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
924 PyObject
* _resultobj
;
929 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
930 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
931 long _arg5
= (long ) 0;
932 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
933 char * _arg7
= (char *) "button";
934 PyObject
* _argo0
= 0;
935 PyObject
* _obj2
= 0;
937 PyObject
* _obj3
= 0;
939 PyObject
* _obj4
= 0;
940 PyObject
* _argo6
= 0;
941 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
955 #if PYTHON_API_VERSION >= 1009
956 char* tmpPtr
; int tmpSize
;
957 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
958 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
961 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
963 _arg2
= new wxString(tmpPtr
, tmpSize
);
965 if (!PyString_Check(_obj2
)) {
966 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
969 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
975 if (! wxPoint_helper(_obj3
, &_arg3
))
981 if (! wxSize_helper(_obj4
, &_arg4
))
985 if (_argo6
== Py_None
) { _arg6
= NULL
; }
986 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
993 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
995 wxPyEndAllowThreads(__tstate
);
996 if (PyErr_Occurred()) return NULL
;
998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
999 _resultobj
= Py_BuildValue("s",_ptemp
);
1002 _resultobj
= Py_None
;
1011 #define new_wxPreButton() (new wxButton())
1012 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1013 PyObject
* _resultobj
;
1015 char *_kwnames
[] = { NULL
};
1019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1023 _result
= (wxButton
*)new_wxPreButton();
1025 wxPyEndAllowThreads(__tstate
);
1026 if (PyErr_Occurred()) return NULL
;
1028 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1029 _resultobj
= Py_BuildValue("s",_ptemp
);
1032 _resultobj
= Py_None
;
1037 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1038 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
* _resultobj
;
1045 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1046 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1047 long _arg6
= (long ) 0;
1048 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1049 char * _arg8
= (char *) "button";
1050 PyObject
* _argo0
= 0;
1051 PyObject
* _argo1
= 0;
1052 PyObject
* _obj3
= 0;
1054 PyObject
* _obj4
= 0;
1056 PyObject
* _obj5
= 0;
1057 PyObject
* _argo7
= 0;
1058 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1071 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1072 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1078 #if PYTHON_API_VERSION >= 1009
1079 char* tmpPtr
; int tmpSize
;
1080 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1081 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1084 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1086 _arg3
= new wxString(tmpPtr
, tmpSize
);
1088 if (!PyString_Check(_obj3
)) {
1089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1092 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1098 if (! wxPoint_helper(_obj4
, &_arg4
))
1104 if (! wxSize_helper(_obj5
, &_arg5
))
1108 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1109 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) return NULL
;
1120 } _resultobj
= Py_BuildValue("i",_result
);
1128 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1129 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1130 PyObject
* _resultobj
;
1132 PyObject
* _argo0
= 0;
1133 char *_kwnames
[] = { "self", NULL
};
1136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1147 wxButton_SetDefault(_arg0
);
1149 wxPyEndAllowThreads(__tstate
);
1150 if (PyErr_Occurred()) return NULL
;
1151 } Py_INCREF(Py_None
);
1152 _resultobj
= Py_None
;
1156 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1157 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1158 PyObject
* _resultobj
;
1161 PyObject
* _argo0
= 0;
1163 PyObject
* _obj1
= 0;
1164 char *_kwnames
[] = { "self","colour", NULL
};
1167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1178 if (! wxColour_helper(_obj1
, &_arg1
))
1182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1183 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1185 wxPyEndAllowThreads(__tstate
);
1186 if (PyErr_Occurred()) return NULL
;
1187 } Py_INCREF(Py_None
);
1188 _resultobj
= Py_None
;
1192 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1193 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1197 PyObject
* _argo0
= 0;
1199 PyObject
* _obj1
= 0;
1200 char *_kwnames
[] = { "self","colour", NULL
};
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1214 if (! wxColour_helper(_obj1
, &_arg1
))
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1223 } Py_INCREF(Py_None
);
1224 _resultobj
= Py_None
;
1228 #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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 wxButton_SetImageLabel(_arg0
,*_arg1
);
1258 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1286 wxButton_SetImageMargins(_arg0
,_arg1
,_arg2
);
1288 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 _result
= new wxSize (wxButton::GetDefaultSize());
1308 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1415 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1417 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1443 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1523 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1525 wxPyEndAllowThreads(__tstate
);
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1552 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1554 wxPyEndAllowThreads(__tstate
);
1555 if (PyErr_Occurred()) return NULL
;
1556 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1557 _resultobj
= Py_BuildValue("s",_ptemp
);
1561 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1562 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
* _resultobj
;
1565 wxBitmapButton
* _arg0
;
1566 PyObject
* _argo0
= 0;
1567 char *_kwnames
[] = { "self", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) return NULL
;
1586 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1587 _resultobj
= Py_BuildValue("s",_ptemp
);
1591 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1592 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1595 wxBitmapButton
* _arg0
;
1596 PyObject
* _argo0
= 0;
1597 char *_kwnames
[] = { "self", NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) return NULL
;
1616 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1617 _resultobj
= Py_BuildValue("s",_ptemp
);
1621 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1622 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
* _resultobj
;
1625 wxBitmapButton
* _arg0
;
1626 PyObject
* _argo0
= 0;
1627 char *_kwnames
[] = { "self", NULL
};
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1642 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1644 wxPyEndAllowThreads(__tstate
);
1645 if (PyErr_Occurred()) return NULL
;
1646 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1647 _resultobj
= Py_BuildValue("s",_ptemp
);
1651 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1652 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
* _resultobj
;
1654 wxBitmapButton
* _arg0
;
1656 PyObject
* _argo0
= 0;
1657 PyObject
* _argo1
= 0;
1658 char *_kwnames
[] = { "self","bitmap", NULL
};
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1671 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1672 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) return NULL
;
1683 } Py_INCREF(Py_None
);
1684 _resultobj
= Py_None
;
1688 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1689 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1691 wxBitmapButton
* _arg0
;
1693 PyObject
* _argo0
= 0;
1694 PyObject
* _argo1
= 0;
1695 char *_kwnames
[] = { "self","bitmap", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1708 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1709 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1716 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1718 wxPyEndAllowThreads(__tstate
);
1719 if (PyErr_Occurred()) return NULL
;
1720 } Py_INCREF(Py_None
);
1721 _resultobj
= Py_None
;
1725 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1726 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1728 wxBitmapButton
* _arg0
;
1730 PyObject
* _argo0
= 0;
1731 PyObject
* _argo1
= 0;
1732 char *_kwnames
[] = { "self","bitmap", NULL
};
1735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1745 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1746 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) return NULL
;
1757 } Py_INCREF(Py_None
);
1758 _resultobj
= Py_None
;
1762 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1763 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1765 wxBitmapButton
* _arg0
;
1767 PyObject
* _argo0
= 0;
1768 PyObject
* _argo1
= 0;
1769 char *_kwnames
[] = { "self","bitmap", NULL
};
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1782 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) return NULL
;
1794 } Py_INCREF(Py_None
);
1795 _resultobj
= Py_None
;
1799 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1800 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
* _resultobj
;
1802 wxBitmapButton
* _arg0
;
1805 PyObject
* _argo0
= 0;
1806 char *_kwnames
[] = { "self","x","y", NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1820 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1822 wxPyEndAllowThreads(__tstate
);
1823 if (PyErr_Occurred()) return NULL
;
1824 } Py_INCREF(Py_None
);
1825 _resultobj
= Py_None
;
1829 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1830 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
* _resultobj
;
1833 wxBitmapButton
* _arg0
;
1834 PyObject
* _argo0
= 0;
1835 char *_kwnames
[] = { "self", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) return NULL
;
1853 } _resultobj
= Py_BuildValue("i",_result
);
1857 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1858 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
* _resultobj
;
1861 wxBitmapButton
* _arg0
;
1862 PyObject
* _argo0
= 0;
1863 char *_kwnames
[] = { "self", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) return NULL
;
1881 } _resultobj
= Py_BuildValue("i",_result
);
1885 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1888 src
= (wxCheckBox
*) ptr
;
1889 dest
= (wxControl
*) src
;
1890 return (void *) dest
;
1893 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1896 src
= (wxCheckBox
*) ptr
;
1897 dest
= (wxWindow
*) src
;
1898 return (void *) dest
;
1901 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1904 src
= (wxCheckBox
*) ptr
;
1905 dest
= (wxEvtHandler
*) src
;
1906 return (void *) dest
;
1909 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1912 src
= (wxCheckBox
*) ptr
;
1913 dest
= (wxObject
*) src
;
1914 return (void *) dest
;
1917 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1918 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1920 wxCheckBox
* _result
;
1924 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1925 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1926 long _arg5
= (long ) 0;
1927 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1928 char * _arg7
= (char *) "checkBox";
1929 PyObject
* _argo0
= 0;
1930 PyObject
* _obj2
= 0;
1932 PyObject
* _obj3
= 0;
1934 PyObject
* _obj4
= 0;
1935 PyObject
* _argo6
= 0;
1936 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1950 #if PYTHON_API_VERSION >= 1009
1951 char* tmpPtr
; int tmpSize
;
1952 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1953 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1956 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1958 _arg2
= new wxString(tmpPtr
, tmpSize
);
1960 if (!PyString_Check(_obj2
)) {
1961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1964 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1970 if (! wxPoint_helper(_obj3
, &_arg3
))
1976 if (! wxSize_helper(_obj4
, &_arg4
))
1980 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1981 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) return NULL
;
1993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1994 _resultobj
= Py_BuildValue("s",_ptemp
);
1997 _resultobj
= Py_None
;
2006 #define new_wxPreCheckBox() (new wxCheckBox())
2007 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2009 wxCheckBox
* _result
;
2010 char *_kwnames
[] = { NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 _result
= (wxCheckBox
*)new_wxPreCheckBox();
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) return NULL
;
2023 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
2024 _resultobj
= Py_BuildValue("s",_ptemp
);
2027 _resultobj
= Py_None
;
2032 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
2033 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2040 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2041 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2042 long _arg6
= (long ) 0;
2043 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2044 char * _arg8
= (char *) "checkBox";
2045 PyObject
* _argo0
= 0;
2046 PyObject
* _argo1
= 0;
2047 PyObject
* _obj3
= 0;
2049 PyObject
* _obj4
= 0;
2051 PyObject
* _obj5
= 0;
2052 PyObject
* _argo7
= 0;
2053 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
2066 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2067 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2073 #if PYTHON_API_VERSION >= 1009
2074 char* tmpPtr
; int tmpSize
;
2075 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2076 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2079 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2081 _arg3
= new wxString(tmpPtr
, tmpSize
);
2083 if (!PyString_Check(_obj3
)) {
2084 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2087 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2093 if (! wxPoint_helper(_obj4
, &_arg4
))
2099 if (! wxSize_helper(_obj5
, &_arg5
))
2103 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2104 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) return NULL
;
2115 } _resultobj
= Py_BuildValue("i",_result
);
2123 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2124 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
* _resultobj
;
2128 PyObject
* _argo0
= 0;
2129 char *_kwnames
[] = { "self", NULL
};
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2143 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2145 wxPyEndAllowThreads(__tstate
);
2146 if (PyErr_Occurred()) return NULL
;
2147 } _resultobj
= Py_BuildValue("i",_result
);
2151 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2152 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
* _resultobj
;
2156 PyObject
* _argo0
= 0;
2158 char *_kwnames
[] = { "self","state", NULL
};
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2170 _arg1
= (bool ) tempbool1
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 wxCheckBox_SetValue(_arg0
,_arg1
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) return NULL
;
2177 } Py_INCREF(Py_None
);
2178 _resultobj
= Py_None
;
2182 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2184 wxControlWithItems
*dest
;
2185 src
= (wxChoice
*) ptr
;
2186 dest
= (wxControlWithItems
*) src
;
2187 return (void *) dest
;
2190 static void *SwigwxChoiceTowxControl(void *ptr
) {
2193 src
= (wxChoice
*) ptr
;
2194 dest
= (wxControl
*) src
;
2195 return (void *) dest
;
2198 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2201 src
= (wxChoice
*) ptr
;
2202 dest
= (wxWindow
*) src
;
2203 return (void *) dest
;
2206 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2209 src
= (wxChoice
*) ptr
;
2210 dest
= (wxEvtHandler
*) src
;
2211 return (void *) dest
;
2214 static void *SwigwxChoiceTowxObject(void *ptr
) {
2217 src
= (wxChoice
*) ptr
;
2218 dest
= (wxObject
*) src
;
2219 return (void *) dest
;
2222 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2223 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2228 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2229 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2230 int _arg4
= (int ) 0;
2231 wxString
* _arg5
= (wxString
*) NULL
;
2232 long _arg6
= (long ) 0;
2233 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2234 char * _arg8
= (char *) "choice";
2235 PyObject
* _argo0
= 0;
2237 PyObject
* _obj2
= 0;
2239 PyObject
* _obj3
= 0;
2240 PyObject
* _obj5
= 0;
2241 PyObject
* _argo7
= 0;
2242 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2258 if (! wxPoint_helper(_obj2
, &_arg2
))
2264 if (! wxSize_helper(_obj3
, &_arg3
))
2269 _arg5
= wxString_LIST_helper(_obj5
);
2270 if (_arg5
== NULL
) {
2275 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2276 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2283 _arg4
= PyList_Size(_obj5
);
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) return NULL
;
2296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2297 _resultobj
= Py_BuildValue("s",_ptemp
);
2300 _resultobj
= Py_None
;
2308 #define new_wxPreChoice() (new wxChoice())
2309 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
* _resultobj
;
2312 char *_kwnames
[] = { NULL
};
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 _result
= (wxChoice
*)new_wxPreChoice();
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) return NULL
;
2325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2326 _resultobj
= Py_BuildValue("s",_ptemp
);
2329 _resultobj
= Py_None
;
2334 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2335 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
* _resultobj
;
2341 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2342 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2343 int _arg5
= (int ) 0;
2344 wxString
* _arg6
= (wxString
*) NULL
;
2345 long _arg7
= (long ) 0;
2346 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2347 char * _arg9
= (char *) "choice";
2348 PyObject
* _argo0
= 0;
2349 PyObject
* _argo1
= 0;
2351 PyObject
* _obj3
= 0;
2353 PyObject
* _obj4
= 0;
2354 PyObject
* _obj6
= 0;
2355 PyObject
* _argo8
= 0;
2356 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2369 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2370 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2378 if (! wxPoint_helper(_obj3
, &_arg3
))
2384 if (! wxSize_helper(_obj4
, &_arg4
))
2389 _arg6
= wxString_LIST_helper(_obj6
);
2390 if (_arg6
== NULL
) {
2395 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2403 _arg5
= PyList_Size(_obj6
);
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) return NULL
;
2415 } _resultobj
= Py_BuildValue("i",_result
);
2422 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2423 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2424 PyObject
* _resultobj
;
2426 PyObject
* _argo0
= 0;
2427 char *_kwnames
[] = { "self", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 wxChoice_Clear(_arg0
);
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) return NULL
;
2445 } Py_INCREF(Py_None
);
2446 _resultobj
= Py_None
;
2450 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2451 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2455 PyObject
* _argo0
= 0;
2456 char *_kwnames
[] = { "self", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 _result
= (int )wxChoice_GetColumns(_arg0
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) return NULL
;
2474 } _resultobj
= Py_BuildValue("i",_result
);
2478 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2479 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2482 int _arg1
= (int ) 1;
2483 PyObject
* _argo0
= 0;
2484 char *_kwnames
[] = { "self","n", NULL
};
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 wxChoice_SetColumns(_arg0
,_arg1
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) return NULL
;
2502 } Py_INCREF(Py_None
);
2503 _resultobj
= Py_None
;
2507 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2508 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
* _resultobj
;
2512 PyObject
* _argo0
= 0;
2513 char *_kwnames
[] = { "self","n", NULL
};
2516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 wxChoice_SetSelection(_arg0
,_arg1
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) return NULL
;
2531 } Py_INCREF(Py_None
);
2532 _resultobj
= Py_None
;
2536 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2537 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
* _resultobj
;
2541 PyObject
* _argo0
= 0;
2542 PyObject
* _obj1
= 0;
2543 char *_kwnames
[] = { "self","string", NULL
};
2546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2556 #if PYTHON_API_VERSION >= 1009
2557 char* tmpPtr
; int tmpSize
;
2558 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2559 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2562 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2564 _arg1
= new wxString(tmpPtr
, tmpSize
);
2566 if (!PyString_Check(_obj1
)) {
2567 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2570 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) return NULL
;
2579 } Py_INCREF(Py_None
);
2580 _resultobj
= Py_None
;
2588 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2589 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2590 PyObject
* _resultobj
;
2594 PyObject
* _argo0
= 0;
2595 PyObject
* _obj2
= 0;
2596 char *_kwnames
[] = { "self","n","s", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2609 #if PYTHON_API_VERSION >= 1009
2610 char* tmpPtr
; int tmpSize
;
2611 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2612 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2615 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2617 _arg2
= new wxString(tmpPtr
, tmpSize
);
2619 if (!PyString_Check(_obj2
)) {
2620 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2623 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) return NULL
;
2632 } Py_INCREF(Py_None
);
2633 _resultobj
= Py_None
;
2641 static void *SwigwxComboBoxTowxChoice(void *ptr
) {
2644 src
= (wxComboBox
*) ptr
;
2645 dest
= (wxChoice
*) src
;
2646 return (void *) dest
;
2649 static void *SwigwxComboBoxTowxControlWithItems(void *ptr
) {
2651 wxControlWithItems
*dest
;
2652 src
= (wxComboBox
*) ptr
;
2653 dest
= (wxControlWithItems
*) src
;
2654 return (void *) dest
;
2657 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2660 src
= (wxComboBox
*) ptr
;
2661 dest
= (wxControl
*) src
;
2662 return (void *) dest
;
2665 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2668 src
= (wxComboBox
*) ptr
;
2669 dest
= (wxWindow
*) src
;
2670 return (void *) dest
;
2673 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2676 src
= (wxComboBox
*) ptr
;
2677 dest
= (wxEvtHandler
*) src
;
2678 return (void *) dest
;
2681 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2684 src
= (wxComboBox
*) ptr
;
2685 dest
= (wxObject
*) src
;
2686 return (void *) dest
;
2689 #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))
2690 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2692 wxComboBox
* _result
;
2695 char * _arg2
= (char *) "";
2696 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2697 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2698 int _arg5
= (int ) 0;
2699 wxString
* _arg6
= (wxString
*) NULL
;
2700 long _arg7
= (long ) 0;
2701 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2702 char * _arg9
= (char *) "comboBox";
2703 PyObject
* _argo0
= 0;
2705 PyObject
* _obj3
= 0;
2707 PyObject
* _obj4
= 0;
2708 PyObject
* _obj6
= 0;
2709 PyObject
* _argo8
= 0;
2710 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2726 if (! wxPoint_helper(_obj3
, &_arg3
))
2732 if (! wxSize_helper(_obj4
, &_arg4
))
2737 _arg6
= wxString_LIST_helper(_obj6
);
2738 if (_arg6
== NULL
) {
2743 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2744 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2751 _arg5
= PyList_Size(_obj6
);
2758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2759 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2761 wxPyEndAllowThreads(__tstate
);
2762 if (PyErr_Occurred()) return NULL
;
2764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2765 _resultobj
= Py_BuildValue("s",_ptemp
);
2768 _resultobj
= Py_None
;
2776 #define new_wxPreComboBox() (new wxComboBox())
2777 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2779 wxComboBox
* _result
;
2780 char *_kwnames
[] = { NULL
};
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 _result
= (wxComboBox
*)new_wxPreComboBox();
2790 wxPyEndAllowThreads(__tstate
);
2791 if (PyErr_Occurred()) return NULL
;
2793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2794 _resultobj
= Py_BuildValue("s",_ptemp
);
2797 _resultobj
= Py_None
;
2802 #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))
2803 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
* _resultobj
;
2809 char * _arg3
= (char *) "";
2810 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2811 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2812 int _arg6
= (int ) 0;
2813 wxString
* _arg7
= (wxString
*) NULL
;
2814 long _arg8
= (long ) 0;
2815 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2816 char * _arg10
= (char *) "comboBox";
2817 PyObject
* _argo0
= 0;
2818 PyObject
* _argo1
= 0;
2820 PyObject
* _obj4
= 0;
2822 PyObject
* _obj5
= 0;
2823 PyObject
* _obj7
= 0;
2824 PyObject
* _argo9
= 0;
2825 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2831 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2832 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2838 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2839 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2847 if (! wxPoint_helper(_obj4
, &_arg4
))
2853 if (! wxSize_helper(_obj5
, &_arg5
))
2858 _arg7
= wxString_LIST_helper(_obj7
);
2859 if (_arg7
== NULL
) {
2864 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2865 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2872 _arg6
= PyList_Size(_obj7
);
2879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2880 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2882 wxPyEndAllowThreads(__tstate
);
2883 if (PyErr_Occurred()) return NULL
;
2884 } _resultobj
= Py_BuildValue("i",_result
);
2891 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2892 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2895 PyObject
* _argo0
= 0;
2896 char *_kwnames
[] = { "self", NULL
};
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 wxComboBox_Copy(_arg0
);
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) return NULL
;
2914 } Py_INCREF(Py_None
);
2915 _resultobj
= Py_None
;
2919 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2920 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2923 PyObject
* _argo0
= 0;
2924 char *_kwnames
[] = { "self", NULL
};
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 wxComboBox_Cut(_arg0
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) return NULL
;
2942 } Py_INCREF(Py_None
);
2943 _resultobj
= Py_None
;
2947 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2948 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2952 PyObject
* _argo0
= 0;
2953 char *_kwnames
[] = { "self", NULL
};
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) return NULL
;
2971 } _resultobj
= Py_BuildValue("l",_result
);
2975 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2976 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
* _resultobj
;
2980 PyObject
* _argo0
= 0;
2981 char *_kwnames
[] = { "self", NULL
};
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2987 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2988 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2989 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) return NULL
;
2999 } _resultobj
= Py_BuildValue("l",_result
);
3003 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
3004 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
* _resultobj
;
3008 PyObject
* _argo0
= 0;
3009 char *_kwnames
[] = { "self", NULL
};
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
3015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 _result
= new wxString (wxComboBox_GetValue(_arg0
));
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) return NULL
;
3028 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3036 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
3037 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3040 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "self", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 wxComboBox_Paste(_arg0
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) return NULL
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
3065 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3071 PyObject
* _argo0
= 0;
3072 PyObject
* _obj3
= 0;
3073 char *_kwnames
[] = { "self","from","to","text", NULL
};
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
3079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3086 #if PYTHON_API_VERSION >= 1009
3087 char* tmpPtr
; int tmpSize
;
3088 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3089 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3092 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3094 _arg3
= new wxString(tmpPtr
, tmpSize
);
3096 if (!PyString_Check(_obj3
)) {
3097 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3100 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3107 wxPyEndAllowThreads(__tstate
);
3108 if (PyErr_Occurred()) return NULL
;
3109 } Py_INCREF(Py_None
);
3110 _resultobj
= Py_None
;
3118 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3119 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3124 PyObject
* _argo0
= 0;
3125 char *_kwnames
[] = { "self","from","to", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Remove. Expected _wxComboBox_p.");
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) return NULL
;
3143 } Py_INCREF(Py_None
);
3144 _resultobj
= Py_None
;
3148 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3149 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
* _resultobj
;
3153 PyObject
* _argo0
= 0;
3154 char *_kwnames
[] = { "self","pos", NULL
};
3157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3160 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3161 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3170 wxPyEndAllowThreads(__tstate
);
3171 if (PyErr_Occurred()) return NULL
;
3172 } Py_INCREF(Py_None
);
3173 _resultobj
= Py_None
;
3177 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3178 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
* _resultobj
;
3181 PyObject
* _argo0
= 0;
3182 char *_kwnames
[] = { "self", NULL
};
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 wxComboBox_SetInsertionPointEnd(_arg0
);
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) return NULL
;
3200 } Py_INCREF(Py_None
);
3201 _resultobj
= Py_None
;
3205 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3206 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3207 PyObject
* _resultobj
;
3210 PyObject
* _argo0
= 0;
3211 char *_kwnames
[] = { "self","n", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 wxComboBox_SetSelection(_arg0
,_arg1
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) return NULL
;
3229 } Py_INCREF(Py_None
);
3230 _resultobj
= Py_None
;
3234 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3235 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3240 PyObject
* _argo0
= 0;
3241 char *_kwnames
[] = { "self","from","to", NULL
};
3244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) return NULL
;
3259 } Py_INCREF(Py_None
);
3260 _resultobj
= Py_None
;
3264 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3265 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3269 PyObject
* _argo0
= 0;
3270 PyObject
* _obj1
= 0;
3271 char *_kwnames
[] = { "self","text", NULL
};
3274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3284 #if PYTHON_API_VERSION >= 1009
3285 char* tmpPtr
; int tmpSize
;
3286 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3287 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3290 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3292 _arg1
= new wxString(tmpPtr
, tmpSize
);
3294 if (!PyString_Check(_obj1
)) {
3295 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3298 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3303 wxComboBox_SetValue(_arg0
,*_arg1
);
3305 wxPyEndAllowThreads(__tstate
);
3306 if (PyErr_Occurred()) return NULL
;
3307 } Py_INCREF(Py_None
);
3308 _resultobj
= Py_None
;
3316 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3317 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
* _resultobj
;
3321 PyObject
* _argo0
= 0;
3323 char *_kwnames
[] = { "self","editable", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3335 _arg1
= (bool ) tempbool1
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 wxComboBox_SetEditable(_arg0
,_arg1
);
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) return NULL
;
3342 } Py_INCREF(Py_None
);
3343 _resultobj
= Py_None
;
3347 static void *SwigwxGaugeTowxControl(void *ptr
) {
3350 src
= (wxGauge
*) ptr
;
3351 dest
= (wxControl
*) src
;
3352 return (void *) dest
;
3355 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3358 src
= (wxGauge
*) ptr
;
3359 dest
= (wxWindow
*) src
;
3360 return (void *) dest
;
3363 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3366 src
= (wxGauge
*) ptr
;
3367 dest
= (wxEvtHandler
*) src
;
3368 return (void *) dest
;
3371 static void *SwigwxGaugeTowxObject(void *ptr
) {
3374 src
= (wxGauge
*) ptr
;
3375 dest
= (wxObject
*) src
;
3376 return (void *) dest
;
3379 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3380 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3386 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3387 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3388 long _arg5
= (long ) wxGA_HORIZONTAL
;
3389 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3390 char * _arg7
= (char *) "gauge";
3391 PyObject
* _argo0
= 0;
3393 PyObject
* _obj3
= 0;
3395 PyObject
* _obj4
= 0;
3396 PyObject
* _argo6
= 0;
3397 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3413 if (! wxPoint_helper(_obj3
, &_arg3
))
3419 if (! wxSize_helper(_obj4
, &_arg4
))
3423 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) return NULL
;
3436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3437 _resultobj
= Py_BuildValue("s",_ptemp
);
3440 _resultobj
= Py_None
;
3445 #define new_wxPreGauge() (new wxGauge())
3446 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
* _resultobj
;
3449 char *_kwnames
[] = { NULL
};
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3457 _result
= (wxGauge
*)new_wxPreGauge();
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) return NULL
;
3462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3463 _resultobj
= Py_BuildValue("s",_ptemp
);
3466 _resultobj
= Py_None
;
3471 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3472 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3479 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3480 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3481 long _arg6
= (long ) wxGA_HORIZONTAL
;
3482 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3483 char * _arg8
= (char *) "gauge";
3484 PyObject
* _argo0
= 0;
3485 PyObject
* _argo1
= 0;
3487 PyObject
* _obj4
= 0;
3489 PyObject
* _obj5
= 0;
3490 PyObject
* _argo7
= 0;
3491 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3504 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3505 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3513 if (! wxPoint_helper(_obj4
, &_arg4
))
3519 if (! wxSize_helper(_obj5
, &_arg5
))
3523 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3524 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) return NULL
;
3535 } _resultobj
= Py_BuildValue("i",_result
);
3539 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3540 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3544 PyObject
* _argo0
= 0;
3545 char *_kwnames
[] = { "self", NULL
};
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) return NULL
;
3563 } _resultobj
= Py_BuildValue("i",_result
);
3567 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3568 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
* _resultobj
;
3572 PyObject
* _argo0
= 0;
3573 char *_kwnames
[] = { "self", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3587 _result
= (int )wxGauge_GetRange(_arg0
);
3589 wxPyEndAllowThreads(__tstate
);
3590 if (PyErr_Occurred()) return NULL
;
3591 } _resultobj
= Py_BuildValue("i",_result
);
3595 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3596 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
* _resultobj
;
3600 PyObject
* _argo0
= 0;
3601 char *_kwnames
[] = { "self", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) return NULL
;
3619 } _resultobj
= Py_BuildValue("i",_result
);
3623 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3624 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
* _resultobj
;
3628 PyObject
* _argo0
= 0;
3629 char *_kwnames
[] = { "self", NULL
};
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 _result
= (int )wxGauge_GetValue(_arg0
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) return NULL
;
3647 } _resultobj
= Py_BuildValue("i",_result
);
3651 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3652 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3656 PyObject
* _argo0
= 0;
3657 char *_kwnames
[] = { "self","width", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 wxGauge_SetBezelFace(_arg0
,_arg1
);
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) return NULL
;
3675 } Py_INCREF(Py_None
);
3676 _resultobj
= Py_None
;
3680 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3681 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
* _resultobj
;
3685 PyObject
* _argo0
= 0;
3686 char *_kwnames
[] = { "self","range", NULL
};
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 wxGauge_SetRange(_arg0
,_arg1
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) return NULL
;
3704 } Py_INCREF(Py_None
);
3705 _resultobj
= Py_None
;
3709 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3710 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3711 PyObject
* _resultobj
;
3714 PyObject
* _argo0
= 0;
3715 char *_kwnames
[] = { "self","width", NULL
};
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
3721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 wxGauge_SetShadowWidth(_arg0
,_arg1
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) return NULL
;
3733 } Py_INCREF(Py_None
);
3734 _resultobj
= Py_None
;
3738 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3739 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
* _resultobj
;
3743 PyObject
* _argo0
= 0;
3744 char *_kwnames
[] = { "self","pos", NULL
};
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
3750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
3757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3758 wxGauge_SetValue(_arg0
,_arg1
);
3760 wxPyEndAllowThreads(__tstate
);
3761 if (PyErr_Occurred()) return NULL
;
3762 } Py_INCREF(Py_None
);
3763 _resultobj
= Py_None
;
3767 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
3770 src
= (wxStaticBox
*) ptr
;
3771 dest
= (wxControl
*) src
;
3772 return (void *) dest
;
3775 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
3778 src
= (wxStaticBox
*) ptr
;
3779 dest
= (wxWindow
*) src
;
3780 return (void *) dest
;
3783 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
3786 src
= (wxStaticBox
*) ptr
;
3787 dest
= (wxEvtHandler
*) src
;
3788 return (void *) dest
;
3791 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
3794 src
= (wxStaticBox
*) ptr
;
3795 dest
= (wxObject
*) src
;
3796 return (void *) dest
;
3799 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3800 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3802 wxStaticBox
* _result
;
3806 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3807 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3808 long _arg5
= (long ) 0;
3809 char * _arg6
= (char *) "staticBox";
3810 PyObject
* _argo0
= 0;
3811 PyObject
* _obj2
= 0;
3813 PyObject
* _obj3
= 0;
3815 PyObject
* _obj4
= 0;
3816 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
3823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
3830 #if PYTHON_API_VERSION >= 1009
3831 char* tmpPtr
; int tmpSize
;
3832 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
3833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3836 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
3838 _arg2
= new wxString(tmpPtr
, tmpSize
);
3840 if (!PyString_Check(_obj2
)) {
3841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3844 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
3850 if (! wxPoint_helper(_obj3
, &_arg3
))
3856 if (! wxSize_helper(_obj4
, &_arg4
))
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) return NULL
;
3866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3867 _resultobj
= Py_BuildValue("s",_ptemp
);
3870 _resultobj
= Py_None
;
3879 #define new_wxPreStaticBox() (new wxStaticBox())
3880 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3882 wxStaticBox
* _result
;
3883 char *_kwnames
[] = { NULL
};
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 _result
= (wxStaticBox
*)new_wxPreStaticBox();
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) return NULL
;
3896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
3897 _resultobj
= Py_BuildValue("s",_ptemp
);
3900 _resultobj
= Py_None
;
3905 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
3906 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
* _resultobj
;
3909 wxStaticBox
* _arg0
;
3913 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3914 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3915 long _arg6
= (long ) 0;
3916 char * _arg7
= (char *) "staticBox";
3917 PyObject
* _argo0
= 0;
3918 PyObject
* _argo1
= 0;
3919 PyObject
* _obj3
= 0;
3921 PyObject
* _obj4
= 0;
3923 PyObject
* _obj5
= 0;
3924 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
3937 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3938 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
3944 #if PYTHON_API_VERSION >= 1009
3945 char* tmpPtr
; int tmpSize
;
3946 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3950 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3952 _arg3
= new wxString(tmpPtr
, tmpSize
);
3954 if (!PyString_Check(_obj3
)) {
3955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3958 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3964 if (! wxPoint_helper(_obj4
, &_arg4
))
3970 if (! wxSize_helper(_obj5
, &_arg5
))
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
3977 wxPyEndAllowThreads(__tstate
);
3978 if (PyErr_Occurred()) return NULL
;
3979 } _resultobj
= Py_BuildValue("i",_result
);
3987 static void *SwigwxStaticLineTowxControl(void *ptr
) {
3990 src
= (wxStaticLine
*) ptr
;
3991 dest
= (wxControl
*) src
;
3992 return (void *) dest
;
3995 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
3998 src
= (wxStaticLine
*) ptr
;
3999 dest
= (wxWindow
*) src
;
4000 return (void *) dest
;
4003 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4006 src
= (wxStaticLine
*) ptr
;
4007 dest
= (wxEvtHandler
*) src
;
4008 return (void *) dest
;
4011 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4014 src
= (wxStaticLine
*) ptr
;
4015 dest
= (wxObject
*) src
;
4016 return (void *) dest
;
4019 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4020 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4022 wxStaticLine
* _result
;
4025 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4026 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4027 long _arg4
= (long ) wxLI_HORIZONTAL
;
4028 char * _arg5
= (char *) "staticLine";
4029 PyObject
* _argo0
= 0;
4031 PyObject
* _obj2
= 0;
4033 PyObject
* _obj3
= 0;
4034 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4050 if (! wxPoint_helper(_obj2
, &_arg2
))
4056 if (! wxSize_helper(_obj3
, &_arg3
))
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) return NULL
;
4066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4067 _resultobj
= Py_BuildValue("s",_ptemp
);
4070 _resultobj
= Py_None
;
4075 #define new_wxPreStaticLine() (new wxStaticLine())
4076 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
* _resultobj
;
4078 wxStaticLine
* _result
;
4079 char *_kwnames
[] = { NULL
};
4083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) return NULL
;
4092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4093 _resultobj
= Py_BuildValue("s",_ptemp
);
4096 _resultobj
= Py_None
;
4101 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4102 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4105 wxStaticLine
* _arg0
;
4108 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4109 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4110 long _arg5
= (long ) wxLI_HORIZONTAL
;
4111 char * _arg6
= (char *) "staticLine";
4112 PyObject
* _argo0
= 0;
4113 PyObject
* _argo1
= 0;
4115 PyObject
* _obj3
= 0;
4117 PyObject
* _obj4
= 0;
4118 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4131 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4132 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4140 if (! wxPoint_helper(_obj3
, &_arg3
))
4146 if (! wxSize_helper(_obj4
, &_arg4
))
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) return NULL
;
4155 } _resultobj
= Py_BuildValue("i",_result
);
4159 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4162 src
= (wxStaticText
*) ptr
;
4163 dest
= (wxControl
*) src
;
4164 return (void *) dest
;
4167 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4170 src
= (wxStaticText
*) ptr
;
4171 dest
= (wxWindow
*) src
;
4172 return (void *) dest
;
4175 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4178 src
= (wxStaticText
*) ptr
;
4179 dest
= (wxEvtHandler
*) src
;
4180 return (void *) dest
;
4183 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4186 src
= (wxStaticText
*) ptr
;
4187 dest
= (wxObject
*) src
;
4188 return (void *) dest
;
4191 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4192 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
* _resultobj
;
4194 wxStaticText
* _result
;
4198 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4199 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4200 long _arg5
= (long ) 0;
4201 char * _arg6
= (char *) "staticText";
4202 PyObject
* _argo0
= 0;
4203 PyObject
* _obj2
= 0;
4205 PyObject
* _obj3
= 0;
4207 PyObject
* _obj4
= 0;
4208 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4222 #if PYTHON_API_VERSION >= 1009
4223 char* tmpPtr
; int tmpSize
;
4224 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4225 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4228 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4230 _arg2
= new wxString(tmpPtr
, tmpSize
);
4232 if (!PyString_Check(_obj2
)) {
4233 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4236 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4242 if (! wxPoint_helper(_obj3
, &_arg3
))
4248 if (! wxSize_helper(_obj4
, &_arg4
))
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) return NULL
;
4258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4259 _resultobj
= Py_BuildValue("s",_ptemp
);
4262 _resultobj
= Py_None
;
4271 #define new_wxPreStaticText() (new wxStaticText())
4272 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
* _resultobj
;
4274 wxStaticText
* _result
;
4275 char *_kwnames
[] = { NULL
};
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 _result
= (wxStaticText
*)new_wxPreStaticText();
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) return NULL
;
4288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4289 _resultobj
= Py_BuildValue("s",_ptemp
);
4292 _resultobj
= Py_None
;
4297 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4298 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
* _resultobj
;
4301 wxStaticText
* _arg0
;
4305 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4306 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4307 long _arg6
= (long ) 0;
4308 char * _arg7
= (char *) "staticText";
4309 PyObject
* _argo0
= 0;
4310 PyObject
* _argo1
= 0;
4311 PyObject
* _obj3
= 0;
4313 PyObject
* _obj4
= 0;
4315 PyObject
* _obj5
= 0;
4316 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4329 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4330 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4336 #if PYTHON_API_VERSION >= 1009
4337 char* tmpPtr
; int tmpSize
;
4338 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4339 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4342 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4344 _arg3
= new wxString(tmpPtr
, tmpSize
);
4346 if (!PyString_Check(_obj3
)) {
4347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4350 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4356 if (! wxPoint_helper(_obj4
, &_arg4
))
4362 if (! wxSize_helper(_obj5
, &_arg5
))
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) return NULL
;
4371 } _resultobj
= Py_BuildValue("i",_result
);
4379 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4380 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
* _resultobj
;
4383 wxStaticText
* _arg0
;
4384 PyObject
* _argo0
= 0;
4385 char *_kwnames
[] = { "self", NULL
};
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) return NULL
;
4404 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4412 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4413 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
* _resultobj
;
4415 wxStaticText
* _arg0
;
4417 PyObject
* _argo0
= 0;
4418 PyObject
* _obj1
= 0;
4419 char *_kwnames
[] = { "self","label", NULL
};
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4432 #if PYTHON_API_VERSION >= 1009
4433 char* tmpPtr
; int tmpSize
;
4434 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4435 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4438 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4440 _arg1
= new wxString(tmpPtr
, tmpSize
);
4442 if (!PyString_Check(_obj1
)) {
4443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4446 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 wxStaticText_SetLabel(_arg0
,*_arg1
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) return NULL
;
4455 } Py_INCREF(Py_None
);
4456 _resultobj
= Py_None
;
4464 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4466 wxControlWithItems
*dest
;
4467 src
= (wxListBox
*) ptr
;
4468 dest
= (wxControlWithItems
*) src
;
4469 return (void *) dest
;
4472 static void *SwigwxListBoxTowxControl(void *ptr
) {
4475 src
= (wxListBox
*) ptr
;
4476 dest
= (wxControl
*) src
;
4477 return (void *) dest
;
4480 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4483 src
= (wxListBox
*) ptr
;
4484 dest
= (wxWindow
*) src
;
4485 return (void *) dest
;
4488 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4491 src
= (wxListBox
*) ptr
;
4492 dest
= (wxEvtHandler
*) src
;
4493 return (void *) dest
;
4496 static void *SwigwxListBoxTowxObject(void *ptr
) {
4499 src
= (wxListBox
*) ptr
;
4500 dest
= (wxObject
*) src
;
4501 return (void *) dest
;
4504 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4505 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
* _resultobj
;
4507 wxListBox
* _result
;
4510 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4511 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4513 wxString
* _arg5
= (wxString
*) NULL
;
4514 long _arg6
= (long ) 0;
4515 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4516 char * _arg8
= (char *) "listBox";
4517 PyObject
* _argo0
= 0;
4519 PyObject
* _obj2
= 0;
4521 PyObject
* _obj3
= 0;
4522 PyObject
* _obj5
= 0;
4523 PyObject
* _argo7
= 0;
4524 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4540 if (! wxPoint_helper(_obj2
, &_arg2
))
4546 if (! wxSize_helper(_obj3
, &_arg3
))
4551 _arg5
= wxString_LIST_helper(_obj5
);
4552 if (_arg5
== NULL
) {
4557 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4558 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4565 _arg4
= PyList_Size(_obj5
);
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) return NULL
;
4578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4579 _resultobj
= Py_BuildValue("s",_ptemp
);
4582 _resultobj
= Py_None
;
4590 #define new_wxPreListBox() (new wxListBox())
4591 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4593 wxListBox
* _result
;
4594 char *_kwnames
[] = { NULL
};
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 _result
= (wxListBox
*)new_wxPreListBox();
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) return NULL
;
4607 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4608 _resultobj
= Py_BuildValue("s",_ptemp
);
4611 _resultobj
= Py_None
;
4616 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4617 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
* _resultobj
;
4623 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4624 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4626 wxString
* _arg6
= (wxString
*) NULL
;
4627 long _arg7
= (long ) 0;
4628 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4629 char * _arg9
= (char *) "listBox";
4630 PyObject
* _argo0
= 0;
4631 PyObject
* _argo1
= 0;
4633 PyObject
* _obj3
= 0;
4635 PyObject
* _obj4
= 0;
4636 PyObject
* _obj6
= 0;
4637 PyObject
* _argo8
= 0;
4638 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4651 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4652 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4660 if (! wxPoint_helper(_obj3
, &_arg3
))
4666 if (! wxSize_helper(_obj4
, &_arg4
))
4671 _arg6
= wxString_LIST_helper(_obj6
);
4672 if (_arg6
== NULL
) {
4677 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4678 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4685 _arg5
= PyList_Size(_obj6
);
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) return NULL
;
4697 } _resultobj
= Py_BuildValue("i",_result
);
4704 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4705 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
* _resultobj
;
4708 PyObject
* _argo0
= 0;
4709 char *_kwnames
[] = { "self", NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
4715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 wxListBox_Clear(_arg0
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) return NULL
;
4727 } Py_INCREF(Py_None
);
4728 _resultobj
= Py_None
;
4732 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
4733 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
* _resultobj
;
4737 PyObject
* _argo0
= 0;
4738 char *_kwnames
[] = { "self","n", NULL
};
4741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
4744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 wxListBox_Deselect(_arg0
,_arg1
);
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) return NULL
;
4756 } Py_INCREF(Py_None
);
4757 _resultobj
= Py_None
;
4761 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
4763 self
->GetSelections(lst
);
4764 PyObject
*tup
= PyTuple_New(lst
.GetCount());
4765 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
4766 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
4770 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
* _resultobj
;
4774 PyObject
* _argo0
= 0;
4775 char *_kwnames
[] = { "self", NULL
};
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
4781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) return NULL
;
4794 _resultobj
= _result
;
4799 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
4800 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4806 PyObject
* _argo0
= 0;
4807 PyObject
* _obj2
= 0;
4808 char *_kwnames
[] = { "self","choices","pos", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
4821 _arg2
= wxString_LIST_helper(_obj2
);
4822 if (_arg2
== NULL
) {
4828 _arg1
= PyList_Size(_obj2
);
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) return NULL
;
4840 } Py_INCREF(Py_None
);
4841 _resultobj
= Py_None
;
4848 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
4849 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
* _resultobj
;
4854 PyObject
* _argo0
= 0;
4855 char *_kwnames
[] = { "self","n", NULL
};
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
4861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) return NULL
;
4873 } _resultobj
= Py_BuildValue("i",_result
);
4877 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
4878 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
* _resultobj
;
4883 PyObject
* _argo0
= 0;
4884 char *_kwnames
[] = { "self","n", NULL
};
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
4890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) return NULL
;
4902 } _resultobj
= Py_BuildValue("i",_result
);
4906 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
4907 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
* _resultobj
;
4912 PyObject
* _argo0
= 0;
4913 PyObject
* _obj2
= 0;
4914 char *_kwnames
[] = { "self","choices", NULL
};
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
4920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
4928 _arg2
= wxString_LIST_helper(_obj2
);
4929 if (_arg2
== NULL
) {
4935 _arg1
= PyList_Size(_obj2
);
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 wxListBox_Set(_arg0
,_arg1
,_arg2
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) return NULL
;
4947 } Py_INCREF(Py_None
);
4948 _resultobj
= Py_None
;
4955 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4956 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
* _resultobj
;
4960 PyObject
* _argo0
= 0;
4961 char *_kwnames
[] = { "self","n", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
4967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 wxListBox_SetFirstItem(_arg0
,_arg1
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) return NULL
;
4979 } Py_INCREF(Py_None
);
4980 _resultobj
= Py_None
;
4984 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
4985 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4986 PyObject
* _resultobj
;
4989 PyObject
* _argo0
= 0;
4990 PyObject
* _obj1
= 0;
4991 char *_kwnames
[] = { "self","string", NULL
};
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
4997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5004 #if PYTHON_API_VERSION >= 1009
5005 char* tmpPtr
; int tmpSize
;
5006 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5007 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5010 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5012 _arg1
= new wxString(tmpPtr
, tmpSize
);
5014 if (!PyString_Check(_obj1
)) {
5015 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5018 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) return NULL
;
5027 } Py_INCREF(Py_None
);
5028 _resultobj
= Py_None
;
5036 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5037 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
* _resultobj
;
5041 bool _arg2
= (bool ) TRUE
;
5042 PyObject
* _argo0
= 0;
5043 int tempbool2
= (int) TRUE
;
5044 char *_kwnames
[] = { "self","n","select", NULL
};
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5056 _arg2
= (bool ) tempbool2
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) return NULL
;
5063 } Py_INCREF(Py_None
);
5064 _resultobj
= Py_None
;
5068 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5069 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
* _resultobj
;
5074 PyObject
* _argo0
= 0;
5075 PyObject
* _obj2
= 0;
5076 char *_kwnames
[] = { "self","n","string", NULL
};
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5089 #if PYTHON_API_VERSION >= 1009
5090 char* tmpPtr
; int tmpSize
;
5091 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5092 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5095 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5097 _arg2
= new wxString(tmpPtr
, tmpSize
);
5099 if (!PyString_Check(_obj2
)) {
5100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5103 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) return NULL
;
5112 } Py_INCREF(Py_None
);
5113 _resultobj
= Py_None
;
5121 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5122 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
* _resultobj
;
5126 bool _arg2
= (bool ) TRUE
;
5127 PyObject
* _argo0
= 0;
5128 PyObject
* _obj1
= 0;
5129 int tempbool2
= (int) TRUE
;
5130 char *_kwnames
[] = { "self","string","select", NULL
};
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5143 #if PYTHON_API_VERSION >= 1009
5144 char* tmpPtr
; int tmpSize
;
5145 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5149 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5151 _arg1
= new wxString(tmpPtr
, tmpSize
);
5153 if (!PyString_Check(_obj1
)) {
5154 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5157 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5160 _arg2
= (bool ) tempbool2
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) return NULL
;
5167 } Py_INCREF(Py_None
);
5168 _resultobj
= Py_None
;
5176 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5177 wxCheckListBox
*src
;
5179 src
= (wxCheckListBox
*) ptr
;
5180 dest
= (wxListBox
*) src
;
5181 return (void *) dest
;
5184 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5185 wxCheckListBox
*src
;
5186 wxControlWithItems
*dest
;
5187 src
= (wxCheckListBox
*) ptr
;
5188 dest
= (wxControlWithItems
*) src
;
5189 return (void *) dest
;
5192 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5193 wxCheckListBox
*src
;
5195 src
= (wxCheckListBox
*) ptr
;
5196 dest
= (wxControl
*) src
;
5197 return (void *) dest
;
5200 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5201 wxCheckListBox
*src
;
5203 src
= (wxCheckListBox
*) ptr
;
5204 dest
= (wxWindow
*) src
;
5205 return (void *) dest
;
5208 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5209 wxCheckListBox
*src
;
5211 src
= (wxCheckListBox
*) ptr
;
5212 dest
= (wxEvtHandler
*) src
;
5213 return (void *) dest
;
5216 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5217 wxCheckListBox
*src
;
5219 src
= (wxCheckListBox
*) ptr
;
5220 dest
= (wxObject
*) src
;
5221 return (void *) dest
;
5224 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5225 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
* _resultobj
;
5227 wxCheckListBox
* _result
;
5230 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5231 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5232 int _arg4
= (int ) 0;
5233 wxString
* _arg5
= (wxString
*) NULL
;
5234 long _arg6
= (long ) 0;
5235 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5236 char * _arg8
= (char *) "listBox";
5237 PyObject
* _argo0
= 0;
5239 PyObject
* _obj2
= 0;
5241 PyObject
* _obj3
= 0;
5242 PyObject
* _obj5
= 0;
5243 PyObject
* _argo7
= 0;
5244 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5260 if (! wxPoint_helper(_obj2
, &_arg2
))
5266 if (! wxSize_helper(_obj3
, &_arg3
))
5271 _arg5
= wxString_LIST_helper(_obj5
);
5272 if (_arg5
== NULL
) {
5277 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5278 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5285 _arg4
= PyList_Size(_obj5
);
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) return NULL
;
5298 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5299 _resultobj
= Py_BuildValue("s",_ptemp
);
5302 _resultobj
= Py_None
;
5310 #define new_wxPreCheckListBox() (new wxCheckListBox())
5311 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
* _resultobj
;
5313 wxCheckListBox
* _result
;
5314 char *_kwnames
[] = { NULL
};
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5322 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) return NULL
;
5327 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5328 _resultobj
= Py_BuildValue("s",_ptemp
);
5331 _resultobj
= Py_None
;
5336 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5337 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
* _resultobj
;
5340 wxCheckListBox
* _arg0
;
5343 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5344 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5345 int _arg5
= (int ) 0;
5346 wxString
* _arg6
= (wxString
*) NULL
;
5347 long _arg7
= (long ) 0;
5348 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5349 char * _arg9
= (char *) "listBox";
5350 PyObject
* _argo0
= 0;
5351 PyObject
* _argo1
= 0;
5353 PyObject
* _obj3
= 0;
5355 PyObject
* _obj4
= 0;
5356 PyObject
* _obj6
= 0;
5357 PyObject
* _argo8
= 0;
5358 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5371 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5372 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5380 if (! wxPoint_helper(_obj3
, &_arg3
))
5386 if (! wxSize_helper(_obj4
, &_arg4
))
5391 _arg6
= wxString_LIST_helper(_obj6
);
5392 if (_arg6
== NULL
) {
5397 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5398 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5405 _arg5
= PyList_Size(_obj6
);
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) return NULL
;
5417 } _resultobj
= Py_BuildValue("i",_result
);
5424 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5425 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5428 wxCheckListBox
* _arg0
;
5430 PyObject
* _argo0
= 0;
5431 char *_kwnames
[] = { "self","uiIndex", NULL
};
5434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) return NULL
;
5449 } _resultobj
= Py_BuildValue("i",_result
);
5453 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5454 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5456 wxCheckListBox
* _arg0
;
5458 int _arg2
= (int ) TRUE
;
5459 PyObject
* _argo0
= 0;
5460 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) return NULL
;
5478 } Py_INCREF(Py_None
);
5479 _resultobj
= Py_None
;
5483 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5484 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5485 PyObject
* _resultobj
;
5486 wxCheckListBox
* _arg0
;
5490 PyObject
* _argo0
= 0;
5491 PyObject
* _obj2
= 0;
5492 char *_kwnames
[] = { "self","choices","pos", NULL
};
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5505 _arg2
= wxString_LIST_helper(_obj2
);
5506 if (_arg2
== NULL
) {
5512 _arg1
= PyList_Size(_obj2
);
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) return NULL
;
5524 } Py_INCREF(Py_None
);
5525 _resultobj
= Py_None
;
5532 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5533 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
* _resultobj
;
5536 wxCheckListBox
* _arg0
;
5537 PyObject
* _argo0
= 0;
5538 char *_kwnames
[] = { "self", NULL
};
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) return NULL
;
5556 } _resultobj
= Py_BuildValue("i",_result
);
5560 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5561 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5563 wxTextAttr
* _result
;
5564 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5565 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5566 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5568 PyObject
* _obj0
= 0;
5570 PyObject
* _obj1
= 0;
5571 PyObject
* _argo2
= 0;
5572 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5581 if (! wxColour_helper(_obj0
, &_arg0
))
5587 if (! wxColour_helper(_obj1
, &_arg1
))
5591 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5592 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) return NULL
;
5604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5605 _resultobj
= Py_BuildValue("s",_ptemp
);
5608 _resultobj
= Py_None
;
5613 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5614 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
* _resultobj
;
5617 PyObject
* _argo0
= 0;
5618 char *_kwnames
[] = { "self", NULL
};
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5632 delete_wxTextAttr(_arg0
);
5634 wxPyEndAllowThreads(__tstate
);
5635 if (PyErr_Occurred()) return NULL
;
5636 } Py_INCREF(Py_None
);
5637 _resultobj
= Py_None
;
5641 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5642 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5646 PyObject
* _argo0
= 0;
5648 PyObject
* _obj1
= 0;
5649 char *_kwnames
[] = { "self","colText", NULL
};
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5663 if (! wxColour_helper(_obj1
, &_arg1
))
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) return NULL
;
5672 } Py_INCREF(Py_None
);
5673 _resultobj
= Py_None
;
5677 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5678 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
* _resultobj
;
5682 PyObject
* _argo0
= 0;
5684 PyObject
* _obj1
= 0;
5685 char *_kwnames
[] = { "self","colBack", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5699 if (! wxColour_helper(_obj1
, &_arg1
))
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) return NULL
;
5708 } Py_INCREF(Py_None
);
5709 _resultobj
= Py_None
;
5713 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
5714 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
* _resultobj
;
5718 PyObject
* _argo0
= 0;
5719 PyObject
* _argo1
= 0;
5720 char *_kwnames
[] = { "self","font", NULL
};
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
5726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
5733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
5735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 wxTextAttr_SetFont(_arg0
,*_arg1
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) return NULL
;
5745 } Py_INCREF(Py_None
);
5746 _resultobj
= Py_None
;
5750 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
5751 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
* _resultobj
;
5755 PyObject
* _argo0
= 0;
5756 char *_kwnames
[] = { "self", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) return NULL
;
5774 } _resultobj
= Py_BuildValue("i",_result
);
5778 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
5779 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
* _resultobj
;
5783 PyObject
* _argo0
= 0;
5784 char *_kwnames
[] = { "self", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
5797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5798 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
5800 wxPyEndAllowThreads(__tstate
);
5801 if (PyErr_Occurred()) return NULL
;
5802 } _resultobj
= Py_BuildValue("i",_result
);
5806 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
5807 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
* _resultobj
;
5811 PyObject
* _argo0
= 0;
5812 char *_kwnames
[] = { "self", NULL
};
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
5818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 _result
= (bool )wxTextAttr_HasFont(_arg0
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) return NULL
;
5830 } _resultobj
= Py_BuildValue("i",_result
);
5834 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
5835 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
* _resultobj
;
5839 PyObject
* _argo0
= 0;
5840 char *_kwnames
[] = { "self", NULL
};
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
5847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) return NULL
;
5859 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5860 _resultobj
= Py_BuildValue("s",_ptemp
);
5864 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
5865 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
* _resultobj
;
5869 PyObject
* _argo0
= 0;
5870 char *_kwnames
[] = { "self", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
5887 wxPyEndAllowThreads(__tstate
);
5888 if (PyErr_Occurred()) return NULL
;
5889 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
5890 _resultobj
= Py_BuildValue("s",_ptemp
);
5894 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
5895 static PyObject
*_wrap_wxTextAttr_GetFont(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_GetFont",_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_GetFont. Expected _wxTextAttr_p.");
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) return NULL
;
5919 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
5920 _resultobj
= Py_BuildValue("s",_ptemp
);
5924 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
5925 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
* _resultobj
;
5929 PyObject
* _argo0
= 0;
5930 char *_kwnames
[] = { "self", NULL
};
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
5936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) return NULL
;
5948 } _resultobj
= Py_BuildValue("i",_result
);
5952 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5954 wxTextAttr
* _result
;
5958 PyObject
* _argo0
= 0;
5959 PyObject
* _argo1
= 0;
5960 PyObject
* _argo2
= 0;
5961 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
5968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5975 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5976 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
5977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
5982 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5983 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
5984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) return NULL
;
5994 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
5995 _resultobj
= Py_BuildValue("s",_ptemp
);
5999 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6002 src
= (wxTextCtrl
*) ptr
;
6003 dest
= (wxControl
*) src
;
6004 return (void *) dest
;
6007 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6010 src
= (wxTextCtrl
*) ptr
;
6011 dest
= (wxWindow
*) src
;
6012 return (void *) dest
;
6015 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6018 src
= (wxTextCtrl
*) ptr
;
6019 dest
= (wxEvtHandler
*) src
;
6020 return (void *) dest
;
6023 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6026 src
= (wxTextCtrl
*) ptr
;
6027 dest
= (wxObject
*) src
;
6028 return (void *) dest
;
6031 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6032 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6033 PyObject
* _resultobj
;
6034 wxTextCtrl
* _result
;
6037 char * _arg2
= (char *) "";
6038 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6039 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6040 long _arg5
= (long ) 0;
6041 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6042 char * _arg7
= (char *) "text";
6043 PyObject
* _argo0
= 0;
6045 PyObject
* _obj3
= 0;
6047 PyObject
* _obj4
= 0;
6048 PyObject
* _argo6
= 0;
6049 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6065 if (! wxPoint_helper(_obj3
, &_arg3
))
6071 if (! wxSize_helper(_obj4
, &_arg4
))
6075 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) return NULL
;
6088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6089 _resultobj
= Py_BuildValue("s",_ptemp
);
6092 _resultobj
= Py_None
;
6097 #define new_wxPreTextCtrl() (new wxTextCtrl())
6098 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6100 wxTextCtrl
* _result
;
6101 char *_kwnames
[] = { NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) return NULL
;
6114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6115 _resultobj
= Py_BuildValue("s",_ptemp
);
6118 _resultobj
= Py_None
;
6123 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6124 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
* _resultobj
;
6130 char * _arg3
= (char *) "";
6131 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6132 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6133 long _arg6
= (long ) 0;
6134 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6135 char * _arg8
= (char *) "text";
6136 PyObject
* _argo0
= 0;
6137 PyObject
* _argo1
= 0;
6139 PyObject
* _obj4
= 0;
6141 PyObject
* _obj5
= 0;
6142 PyObject
* _argo7
= 0;
6143 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6165 if (! wxPoint_helper(_obj4
, &_arg4
))
6171 if (! wxSize_helper(_obj5
, &_arg5
))
6175 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6176 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) return NULL
;
6187 } _resultobj
= Py_BuildValue("i",_result
);
6191 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6192 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
* _resultobj
;
6196 PyObject
* _argo0
= 0;
6197 char *_kwnames
[] = { "self", NULL
};
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) return NULL
;
6216 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6224 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6225 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
* _resultobj
;
6229 PyObject
* _argo0
= 0;
6230 PyObject
* _obj1
= 0;
6231 char *_kwnames
[] = { "self","value", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6244 #if PYTHON_API_VERSION >= 1009
6245 char* tmpPtr
; int tmpSize
;
6246 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6250 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6252 _arg1
= new wxString(tmpPtr
, tmpSize
);
6254 if (!PyString_Check(_obj1
)) {
6255 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6258 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) return NULL
;
6267 } Py_INCREF(Py_None
);
6268 _resultobj
= Py_None
;
6276 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6277 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
* _resultobj
;
6282 PyObject
* _argo0
= 0;
6283 char *_kwnames
[] = { "self","lineNo", NULL
};
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) return NULL
;
6301 } _resultobj
= Py_BuildValue("i",_result
);
6305 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6306 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
* _resultobj
;
6311 PyObject
* _argo0
= 0;
6312 char *_kwnames
[] = { "self","lineNo", NULL
};
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) return NULL
;
6331 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6339 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6340 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
* _resultobj
;
6344 PyObject
* _argo0
= 0;
6345 char *_kwnames
[] = { "self", NULL
};
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) return NULL
;
6363 } _resultobj
= Py_BuildValue("i",_result
);
6367 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6368 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6372 PyObject
* _argo0
= 0;
6373 char *_kwnames
[] = { "self", NULL
};
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) return NULL
;
6391 } _resultobj
= Py_BuildValue("i",_result
);
6395 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6396 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
* _resultobj
;
6400 PyObject
* _argo0
= 0;
6401 char *_kwnames
[] = { "self", NULL
};
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) return NULL
;
6419 } _resultobj
= Py_BuildValue("i",_result
);
6423 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6424 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
* _resultobj
;
6431 PyObject
* _argo0
= 0;
6432 char *_kwnames
[] = { "self", NULL
};
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) return NULL
;
6456 } Py_INCREF(Py_None
);
6457 _resultobj
= Py_None
;
6460 o
= PyInt_FromLong((long) (*_arg1
));
6461 _resultobj
= t_output_helper(_resultobj
, o
);
6465 o
= PyInt_FromLong((long) (*_arg2
));
6466 _resultobj
= t_output_helper(_resultobj
, o
);
6471 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6472 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
* _resultobj
;
6476 PyObject
* _argo0
= 0;
6477 char *_kwnames
[] = { "self", NULL
};
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6491 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6493 wxPyEndAllowThreads(__tstate
);
6494 if (PyErr_Occurred()) return NULL
;
6496 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6504 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6505 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
* _resultobj
;
6508 PyObject
* _argo0
= 0;
6509 char *_kwnames
[] = { "self", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 wxTextCtrl_Clear(_arg0
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) return NULL
;
6527 } Py_INCREF(Py_None
);
6528 _resultobj
= Py_None
;
6532 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6533 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
* _resultobj
;
6539 PyObject
* _argo0
= 0;
6540 PyObject
* _obj3
= 0;
6541 char *_kwnames
[] = { "self","from","to","value", NULL
};
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6554 #if PYTHON_API_VERSION >= 1009
6555 char* tmpPtr
; int tmpSize
;
6556 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6557 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6560 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6562 _arg3
= new wxString(tmpPtr
, tmpSize
);
6564 if (!PyString_Check(_obj3
)) {
6565 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6568 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) return NULL
;
6577 } Py_INCREF(Py_None
);
6578 _resultobj
= Py_None
;
6586 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6587 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
* _resultobj
;
6592 PyObject
* _argo0
= 0;
6593 char *_kwnames
[] = { "self","from","to", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) return NULL
;
6611 } Py_INCREF(Py_None
);
6612 _resultobj
= Py_None
;
6616 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6617 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
* _resultobj
;
6622 PyObject
* _argo0
= 0;
6623 PyObject
* _obj1
= 0;
6624 char *_kwnames
[] = { "self","file", NULL
};
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6637 #if PYTHON_API_VERSION >= 1009
6638 char* tmpPtr
; int tmpSize
;
6639 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6643 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6645 _arg1
= new wxString(tmpPtr
, tmpSize
);
6647 if (!PyString_Check(_obj1
)) {
6648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6651 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) return NULL
;
6660 } _resultobj
= Py_BuildValue("i",_result
);
6668 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6669 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6673 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6674 PyObject
* _argo0
= 0;
6675 PyObject
* _obj1
= 0;
6676 char *_kwnames
[] = { "self","file", NULL
};
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
6682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
6690 #if PYTHON_API_VERSION >= 1009
6691 char* tmpPtr
; int tmpSize
;
6692 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6693 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6696 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6698 _arg1
= new wxString(tmpPtr
, tmpSize
);
6700 if (!PyString_Check(_obj1
)) {
6701 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6704 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) return NULL
;
6713 } _resultobj
= Py_BuildValue("i",_result
);
6721 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
6722 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
* _resultobj
;
6725 PyObject
* _argo0
= 0;
6726 char *_kwnames
[] = { "self", NULL
};
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
6732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 wxTextCtrl_DiscardEdits(_arg0
);
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) return NULL
;
6744 } Py_INCREF(Py_None
);
6745 _resultobj
= Py_None
;
6749 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
6750 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
* _resultobj
;
6753 unsigned long _arg1
;
6754 PyObject
* _argo0
= 0;
6755 char *_kwnames
[] = { "self","len", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_kwnames
,&_argo0
,&_arg1
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetMaxLength. Expected _wxTextCtrl_p.");
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) return NULL
;
6773 } Py_INCREF(Py_None
);
6774 _resultobj
= Py_None
;
6778 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
6779 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
* _resultobj
;
6783 PyObject
* _argo0
= 0;
6784 PyObject
* _obj1
= 0;
6785 char *_kwnames
[] = { "self","text", NULL
};
6788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
6791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
6798 #if PYTHON_API_VERSION >= 1009
6799 char* tmpPtr
; int tmpSize
;
6800 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6801 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6804 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6806 _arg1
= new wxString(tmpPtr
, tmpSize
);
6808 if (!PyString_Check(_obj1
)) {
6809 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6812 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 wxTextCtrl_WriteText(_arg0
,*_arg1
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) return NULL
;
6821 } Py_INCREF(Py_None
);
6822 _resultobj
= Py_None
;
6830 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
6831 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
* _resultobj
;
6835 PyObject
* _argo0
= 0;
6836 PyObject
* _obj1
= 0;
6837 char *_kwnames
[] = { "self","text", NULL
};
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
6843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
6850 #if PYTHON_API_VERSION >= 1009
6851 char* tmpPtr
; int tmpSize
;
6852 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6853 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6856 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6858 _arg1
= new wxString(tmpPtr
, tmpSize
);
6860 if (!PyString_Check(_obj1
)) {
6861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6864 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxTextCtrl_AppendText(_arg0
,*_arg1
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) return NULL
;
6873 } Py_INCREF(Py_None
);
6874 _resultobj
= Py_None
;
6882 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
6883 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
* _resultobj
;
6890 PyObject
* _argo0
= 0;
6891 PyObject
* _argo3
= 0;
6892 char *_kwnames
[] = { "self","start","end","style", NULL
};
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
6898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
6905 if (_argo3
== Py_None
) { _arg3
= NULL
; }
6906 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
6907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
6912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6913 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
6915 wxPyEndAllowThreads(__tstate
);
6916 if (PyErr_Occurred()) return NULL
;
6917 } _resultobj
= Py_BuildValue("i",_result
);
6921 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
6922 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
* _resultobj
;
6927 PyObject
* _argo0
= 0;
6928 PyObject
* _argo1
= 0;
6929 char *_kwnames
[] = { "self","style", NULL
};
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
6935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
6942 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6943 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) return NULL
;
6954 } _resultobj
= Py_BuildValue("i",_result
);
6958 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
6959 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
* _resultobj
;
6961 wxTextAttr
* _result
;
6963 PyObject
* _argo0
= 0;
6964 char *_kwnames
[] = { "self", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
6971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
6980 _result
= (wxTextAttr
*) &_result_ref
;
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) return NULL
;
6985 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
6986 _resultobj
= Py_BuildValue("s",_ptemp
);
6989 _resultobj
= Py_None
;
6994 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
6995 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
* _resultobj
;
7001 PyObject
* _argo0
= 0;
7002 char *_kwnames
[] = { "self","x","y", NULL
};
7005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) return NULL
;
7020 } _resultobj
= Py_BuildValue("l",_result
);
7024 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7025 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
* _resultobj
;
7034 PyObject
* _argo0
= 0;
7035 char *_kwnames
[] = { "self","pos", NULL
};
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_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_PositionToXY. Expected _wxTextCtrl_p.");
7054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7055 _result
= (bool )wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7057 wxPyEndAllowThreads(__tstate
);
7058 if (PyErr_Occurred()) return NULL
;
7059 } _resultobj
= Py_BuildValue("i",_result
);
7062 o
= PyInt_FromLong((long) (*_arg2
));
7063 _resultobj
= t_output_helper(_resultobj
, o
);
7067 o
= PyInt_FromLong((long) (*_arg3
));
7068 _resultobj
= t_output_helper(_resultobj
, o
);
7073 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7074 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7078 PyObject
* _argo0
= 0;
7079 char *_kwnames
[] = { "self","pos", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) return NULL
;
7097 } Py_INCREF(Py_None
);
7098 _resultobj
= Py_None
;
7102 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7103 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
* _resultobj
;
7106 PyObject
* _argo0
= 0;
7107 char *_kwnames
[] = { "self", NULL
};
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 wxTextCtrl_Copy(_arg0
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) return NULL
;
7125 } Py_INCREF(Py_None
);
7126 _resultobj
= Py_None
;
7130 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7131 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
* _resultobj
;
7134 PyObject
* _argo0
= 0;
7135 char *_kwnames
[] = { "self", NULL
};
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 wxTextCtrl_Cut(_arg0
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) return NULL
;
7153 } Py_INCREF(Py_None
);
7154 _resultobj
= Py_None
;
7158 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7159 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
* _resultobj
;
7162 PyObject
* _argo0
= 0;
7163 char *_kwnames
[] = { "self", NULL
};
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 wxTextCtrl_Paste(_arg0
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) return NULL
;
7181 } Py_INCREF(Py_None
);
7182 _resultobj
= Py_None
;
7186 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7187 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
* _resultobj
;
7191 PyObject
* _argo0
= 0;
7192 char *_kwnames
[] = { "self", NULL
};
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) return NULL
;
7210 } _resultobj
= Py_BuildValue("i",_result
);
7214 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7215 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
* _resultobj
;
7219 PyObject
* _argo0
= 0;
7220 char *_kwnames
[] = { "self", NULL
};
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) return NULL
;
7238 } _resultobj
= Py_BuildValue("i",_result
);
7242 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7243 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
* _resultobj
;
7247 PyObject
* _argo0
= 0;
7248 char *_kwnames
[] = { "self", NULL
};
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) return NULL
;
7266 } _resultobj
= Py_BuildValue("i",_result
);
7270 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7271 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
* _resultobj
;
7274 PyObject
* _argo0
= 0;
7275 char *_kwnames
[] = { "self", NULL
};
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 wxTextCtrl_Undo(_arg0
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) return NULL
;
7293 } Py_INCREF(Py_None
);
7294 _resultobj
= Py_None
;
7298 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7299 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
* _resultobj
;
7302 PyObject
* _argo0
= 0;
7303 char *_kwnames
[] = { "self", NULL
};
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 wxTextCtrl_Redo(_arg0
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) return NULL
;
7321 } Py_INCREF(Py_None
);
7322 _resultobj
= Py_None
;
7326 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7327 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7331 PyObject
* _argo0
= 0;
7332 char *_kwnames
[] = { "self", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } _resultobj
= Py_BuildValue("i",_result
);
7354 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7355 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
* _resultobj
;
7359 PyObject
* _argo0
= 0;
7360 char *_kwnames
[] = { "self", NULL
};
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) return NULL
;
7378 } _resultobj
= Py_BuildValue("i",_result
);
7382 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7383 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
* _resultobj
;
7387 PyObject
* _argo0
= 0;
7388 char *_kwnames
[] = { "self","pos", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) return NULL
;
7406 } Py_INCREF(Py_None
);
7407 _resultobj
= Py_None
;
7411 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7412 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
* _resultobj
;
7415 PyObject
* _argo0
= 0;
7416 char *_kwnames
[] = { "self", NULL
};
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) return NULL
;
7434 } Py_INCREF(Py_None
);
7435 _resultobj
= Py_None
;
7439 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7440 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
* _resultobj
;
7444 PyObject
* _argo0
= 0;
7445 char *_kwnames
[] = { "self", NULL
};
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) return NULL
;
7463 } _resultobj
= Py_BuildValue("l",_result
);
7467 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7468 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
* _resultobj
;
7472 PyObject
* _argo0
= 0;
7473 char *_kwnames
[] = { "self", NULL
};
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7479 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7480 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7481 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) return NULL
;
7491 } _resultobj
= Py_BuildValue("l",_result
);
7495 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7496 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
* _resultobj
;
7501 PyObject
* _argo0
= 0;
7502 char *_kwnames
[] = { "self","from","to", NULL
};
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) return NULL
;
7520 } Py_INCREF(Py_None
);
7521 _resultobj
= Py_None
;
7525 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7526 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
* _resultobj
;
7529 PyObject
* _argo0
= 0;
7530 char *_kwnames
[] = { "self", NULL
};
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 wxTextCtrl_SelectAll(_arg0
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) return NULL
;
7548 } Py_INCREF(Py_None
);
7549 _resultobj
= Py_None
;
7553 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7554 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
* _resultobj
;
7558 PyObject
* _argo0
= 0;
7560 char *_kwnames
[] = { "self","editable", NULL
};
7563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7572 _arg1
= (bool ) tempbool1
;
7574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7575 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7577 wxPyEndAllowThreads(__tstate
);
7578 if (PyErr_Occurred()) return NULL
;
7579 } Py_INCREF(Py_None
);
7580 _resultobj
= Py_None
;
7584 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7585 self
->AppendText(text
);
7587 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
* _resultobj
;
7591 PyObject
* _argo0
= 0;
7592 PyObject
* _obj1
= 0;
7593 char *_kwnames
[] = { "self","text", NULL
};
7596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7606 #if PYTHON_API_VERSION >= 1009
7607 char* tmpPtr
; int tmpSize
;
7608 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7609 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7612 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7614 _arg1
= new wxString(tmpPtr
, tmpSize
);
7616 if (!PyString_Check(_obj1
)) {
7617 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7620 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 wxTextCtrl_write(_arg0
,*_arg1
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) return NULL
;
7629 } Py_INCREF(Py_None
);
7630 _resultobj
= Py_None
;
7638 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7639 return self
->GetValue().Mid(from
, to
-from
);
7641 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
* _resultobj
;
7647 PyObject
* _argo0
= 0;
7648 char *_kwnames
[] = { "self","from","to", NULL
};
7651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7667 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7675 static void *SwigwxScrollBarTowxControl(void *ptr
) {
7678 src
= (wxScrollBar
*) ptr
;
7679 dest
= (wxControl
*) src
;
7680 return (void *) dest
;
7683 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
7686 src
= (wxScrollBar
*) ptr
;
7687 dest
= (wxWindow
*) src
;
7688 return (void *) dest
;
7691 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
7694 src
= (wxScrollBar
*) ptr
;
7695 dest
= (wxEvtHandler
*) src
;
7696 return (void *) dest
;
7699 static void *SwigwxScrollBarTowxObject(void *ptr
) {
7702 src
= (wxScrollBar
*) ptr
;
7703 dest
= (wxObject
*) src
;
7704 return (void *) dest
;
7707 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7708 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
* _resultobj
;
7710 wxScrollBar
* _result
;
7712 wxWindowID _arg1
= (wxWindowID
) -1;
7713 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
7714 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
7715 long _arg4
= (long ) wxSB_HORIZONTAL
;
7716 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
7717 char * _arg6
= (char *) "scrollBar";
7718 PyObject
* _argo0
= 0;
7720 PyObject
* _obj2
= 0;
7722 PyObject
* _obj3
= 0;
7723 PyObject
* _argo5
= 0;
7724 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
7728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
7731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
7733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
7740 if (! wxPoint_helper(_obj2
, &_arg2
))
7746 if (! wxSize_helper(_obj3
, &_arg3
))
7750 if (_argo5
== Py_None
) { _arg5
= NULL
; }
7751 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
7752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) return NULL
;
7763 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7764 _resultobj
= Py_BuildValue("s",_ptemp
);
7767 _resultobj
= Py_None
;
7772 #define new_wxPreScrollBar() (new wxScrollBar())
7773 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
* _resultobj
;
7775 wxScrollBar
* _result
;
7776 char *_kwnames
[] = { NULL
};
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 _result
= (wxScrollBar
*)new_wxPreScrollBar();
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) return NULL
;
7789 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
7790 _resultobj
= Py_BuildValue("s",_ptemp
);
7793 _resultobj
= Py_None
;
7798 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
7799 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7800 PyObject
* _resultobj
;
7802 wxScrollBar
* _arg0
;
7804 wxWindowID _arg2
= (wxWindowID
) -1;
7805 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
7806 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
7807 long _arg5
= (long ) wxSB_HORIZONTAL
;
7808 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
7809 char * _arg7
= (char *) "scrollBar";
7810 PyObject
* _argo0
= 0;
7811 PyObject
* _argo1
= 0;
7813 PyObject
* _obj3
= 0;
7815 PyObject
* _obj4
= 0;
7816 PyObject
* _argo6
= 0;
7817 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
7823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
7830 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7831 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
7839 if (! wxPoint_helper(_obj3
, &_arg3
))
7845 if (! wxSize_helper(_obj4
, &_arg4
))
7849 if (_argo6
== Py_None
) { _arg6
= NULL
; }
7850 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
7851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) return NULL
;
7861 } _resultobj
= Py_BuildValue("i",_result
);
7865 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
7866 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
* _resultobj
;
7869 wxScrollBar
* _arg0
;
7870 PyObject
* _argo0
= 0;
7871 char *_kwnames
[] = { "self", NULL
};
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
7877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 _result
= (int )wxScrollBar_GetRange(_arg0
);
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) return NULL
;
7889 } _resultobj
= Py_BuildValue("i",_result
);
7893 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
7894 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
* _resultobj
;
7897 wxScrollBar
* _arg0
;
7898 PyObject
* _argo0
= 0;
7899 char *_kwnames
[] = { "self", NULL
};
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
7905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) return NULL
;
7917 } _resultobj
= Py_BuildValue("i",_result
);
7921 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
7922 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7923 PyObject
* _resultobj
;
7925 wxScrollBar
* _arg0
;
7926 PyObject
* _argo0
= 0;
7927 char *_kwnames
[] = { "self", NULL
};
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
7933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) return NULL
;
7945 } _resultobj
= Py_BuildValue("i",_result
);
7949 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
7950 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
* _resultobj
;
7953 wxScrollBar
* _arg0
;
7954 PyObject
* _argo0
= 0;
7955 char *_kwnames
[] = { "self", NULL
};
7958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
7961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) return NULL
;
7973 } _resultobj
= Py_BuildValue("i",_result
);
7977 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
7978 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
* _resultobj
;
7981 wxScrollBar
* _arg0
;
7982 PyObject
* _argo0
= 0;
7983 char *_kwnames
[] = { "self", NULL
};
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
7989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
7991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) return NULL
;
8001 } _resultobj
= Py_BuildValue("i",_result
);
8005 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8006 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
* _resultobj
;
8008 wxScrollBar
* _arg0
;
8010 PyObject
* _argo0
= 0;
8011 char *_kwnames
[] = { "self","viewStart", NULL
};
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) return NULL
;
8029 } Py_INCREF(Py_None
);
8030 _resultobj
= Py_None
;
8034 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8035 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
* _resultobj
;
8037 wxScrollBar
* _arg0
;
8042 bool _arg5
= (bool ) TRUE
;
8043 PyObject
* _argo0
= 0;
8044 int tempbool5
= (int) TRUE
;
8045 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8057 _arg5
= (bool ) tempbool5
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) return NULL
;
8064 } Py_INCREF(Py_None
);
8065 _resultobj
= Py_None
;
8069 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8072 src
= (wxSpinButton
*) ptr
;
8073 dest
= (wxControl
*) src
;
8074 return (void *) dest
;
8077 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8080 src
= (wxSpinButton
*) ptr
;
8081 dest
= (wxWindow
*) src
;
8082 return (void *) dest
;
8085 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8088 src
= (wxSpinButton
*) ptr
;
8089 dest
= (wxEvtHandler
*) src
;
8090 return (void *) dest
;
8093 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8096 src
= (wxSpinButton
*) ptr
;
8097 dest
= (wxObject
*) src
;
8098 return (void *) dest
;
8101 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8102 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
* _resultobj
;
8104 wxSpinButton
* _result
;
8106 wxWindowID _arg1
= (wxWindowID
) -1;
8107 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8108 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8109 long _arg4
= (long ) wxSP_HORIZONTAL
;
8110 char * _arg5
= (char *) "spinButton";
8111 PyObject
* _argo0
= 0;
8113 PyObject
* _obj2
= 0;
8115 PyObject
* _obj3
= 0;
8116 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8132 if (! wxPoint_helper(_obj2
, &_arg2
))
8138 if (! wxSize_helper(_obj3
, &_arg3
))
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) return NULL
;
8148 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8149 _resultobj
= Py_BuildValue("s",_ptemp
);
8152 _resultobj
= Py_None
;
8157 #define new_wxPreSpinButton() (new wxSpinButton())
8158 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
* _resultobj
;
8160 wxSpinButton
* _result
;
8161 char *_kwnames
[] = { NULL
};
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) return NULL
;
8174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8175 _resultobj
= Py_BuildValue("s",_ptemp
);
8178 _resultobj
= Py_None
;
8183 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8184 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
* _resultobj
;
8187 wxSpinButton
* _arg0
;
8189 wxWindowID _arg2
= (wxWindowID
) -1;
8190 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8191 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8192 long _arg5
= (long ) wxSP_HORIZONTAL
;
8193 char * _arg6
= (char *) "spinButton";
8194 PyObject
* _argo0
= 0;
8195 PyObject
* _argo1
= 0;
8197 PyObject
* _obj3
= 0;
8199 PyObject
* _obj4
= 0;
8200 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
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_Create. Expected _wxSpinButton_p.");
8213 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8214 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8222 if (! wxPoint_helper(_obj3
, &_arg3
))
8228 if (! wxSize_helper(_obj4
, &_arg4
))
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) return NULL
;
8237 } _resultobj
= Py_BuildValue("i",_result
);
8241 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8242 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
* _resultobj
;
8245 wxSpinButton
* _arg0
;
8246 PyObject
* _argo0
= 0;
8247 char *_kwnames
[] = { "self", NULL
};
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 _result
= (int )wxSpinButton_GetMax(_arg0
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) return NULL
;
8265 } _resultobj
= Py_BuildValue("i",_result
);
8269 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8270 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
* _resultobj
;
8273 wxSpinButton
* _arg0
;
8274 PyObject
* _argo0
= 0;
8275 char *_kwnames
[] = { "self", NULL
};
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 _result
= (int )wxSpinButton_GetMin(_arg0
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) return NULL
;
8293 } _resultobj
= Py_BuildValue("i",_result
);
8297 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8298 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8299 PyObject
* _resultobj
;
8301 wxSpinButton
* _arg0
;
8302 PyObject
* _argo0
= 0;
8303 char *_kwnames
[] = { "self", NULL
};
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 _result
= (int )wxSpinButton_GetValue(_arg0
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) return NULL
;
8321 } _resultobj
= Py_BuildValue("i",_result
);
8325 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8326 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8327 PyObject
* _resultobj
;
8328 wxSpinButton
* _arg0
;
8331 PyObject
* _argo0
= 0;
8332 char *_kwnames
[] = { "self","min","max", NULL
};
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) return NULL
;
8350 } Py_INCREF(Py_None
);
8351 _resultobj
= Py_None
;
8355 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8356 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
* _resultobj
;
8358 wxSpinButton
* _arg0
;
8360 PyObject
* _argo0
= 0;
8361 char *_kwnames
[] = { "self","value", NULL
};
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 wxSpinButton_SetValue(_arg0
,_arg1
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) return NULL
;
8379 } Py_INCREF(Py_None
);
8380 _resultobj
= Py_None
;
8384 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8385 wxStaticBitmap
*src
;
8387 src
= (wxStaticBitmap
*) ptr
;
8388 dest
= (wxControl
*) src
;
8389 return (void *) dest
;
8392 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8393 wxStaticBitmap
*src
;
8395 src
= (wxStaticBitmap
*) ptr
;
8396 dest
= (wxWindow
*) src
;
8397 return (void *) dest
;
8400 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8401 wxStaticBitmap
*src
;
8403 src
= (wxStaticBitmap
*) ptr
;
8404 dest
= (wxEvtHandler
*) src
;
8405 return (void *) dest
;
8408 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8409 wxStaticBitmap
*src
;
8411 src
= (wxStaticBitmap
*) ptr
;
8412 dest
= (wxObject
*) src
;
8413 return (void *) dest
;
8416 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8417 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
* _resultobj
;
8419 wxStaticBitmap
* _result
;
8423 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8424 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8425 long _arg5
= (long ) 0;
8426 char * _arg6
= (char *) "staticBitmap";
8427 PyObject
* _argo0
= 0;
8428 PyObject
* _argo2
= 0;
8430 PyObject
* _obj3
= 0;
8432 PyObject
* _obj4
= 0;
8433 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8447 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8448 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8456 if (! wxPoint_helper(_obj3
, &_arg3
))
8462 if (! wxSize_helper(_obj4
, &_arg4
))
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) return NULL
;
8472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8473 _resultobj
= Py_BuildValue("s",_ptemp
);
8476 _resultobj
= Py_None
;
8481 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8482 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
* _resultobj
;
8484 wxStaticBitmap
* _result
;
8485 char *_kwnames
[] = { NULL
};
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) return NULL
;
8498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8499 _resultobj
= Py_BuildValue("s",_ptemp
);
8502 _resultobj
= Py_None
;
8507 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8508 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
* _resultobj
;
8511 wxStaticBitmap
* _arg0
;
8515 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8516 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8517 long _arg6
= (long ) 0;
8518 char * _arg7
= (char *) "staticBitmap";
8519 PyObject
* _argo0
= 0;
8520 PyObject
* _argo1
= 0;
8521 PyObject
* _argo3
= 0;
8523 PyObject
* _obj4
= 0;
8525 PyObject
* _obj5
= 0;
8526 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8546 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8547 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8555 if (! wxPoint_helper(_obj4
, &_arg4
))
8561 if (! wxSize_helper(_obj5
, &_arg5
))
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) return NULL
;
8570 } _resultobj
= Py_BuildValue("i",_result
);
8574 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8575 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
* _resultobj
;
8578 wxStaticBitmap
* _arg0
;
8579 PyObject
* _argo0
= 0;
8580 char *_kwnames
[] = { "self", NULL
};
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) return NULL
;
8599 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8600 _resultobj
= Py_BuildValue("s",_ptemp
);
8604 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8605 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
* _resultobj
;
8607 wxStaticBitmap
* _arg0
;
8609 PyObject
* _argo0
= 0;
8610 PyObject
* _argo1
= 0;
8611 char *_kwnames
[] = { "self","bitmap", NULL
};
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8634 wxPyEndAllowThreads(__tstate
);
8635 if (PyErr_Occurred()) return NULL
;
8636 } Py_INCREF(Py_None
);
8637 _resultobj
= Py_None
;
8641 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8642 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8643 PyObject
* _resultobj
;
8644 wxStaticBitmap
* _arg0
;
8646 PyObject
* _argo0
= 0;
8647 PyObject
* _argo1
= 0;
8648 char *_kwnames
[] = { "self","icon", NULL
};
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8671 wxPyEndAllowThreads(__tstate
);
8672 if (PyErr_Occurred()) return NULL
;
8673 } Py_INCREF(Py_None
);
8674 _resultobj
= Py_None
;
8678 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
8681 src
= (wxRadioBox
*) ptr
;
8682 dest
= (wxControl
*) src
;
8683 return (void *) dest
;
8686 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
8689 src
= (wxRadioBox
*) ptr
;
8690 dest
= (wxWindow
*) src
;
8691 return (void *) dest
;
8694 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
8697 src
= (wxRadioBox
*) ptr
;
8698 dest
= (wxEvtHandler
*) src
;
8699 return (void *) dest
;
8702 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
8705 src
= (wxRadioBox
*) ptr
;
8706 dest
= (wxObject
*) src
;
8707 return (void *) dest
;
8710 #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))
8711 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8712 PyObject
* _resultobj
;
8713 wxRadioBox
* _result
;
8717 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8718 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8719 int _arg5
= (int ) 0;
8720 wxString
* _arg6
= (wxString
*) NULL
;
8721 int _arg7
= (int ) 0;
8722 long _arg8
= (long ) wxRA_HORIZONTAL
;
8723 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
8724 char * _arg10
= (char *) "radioBox";
8725 PyObject
* _argo0
= 0;
8726 PyObject
* _obj2
= 0;
8728 PyObject
* _obj3
= 0;
8730 PyObject
* _obj4
= 0;
8731 PyObject
* _obj6
= 0;
8732 PyObject
* _argo9
= 0;
8733 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
8740 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8741 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8742 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
8747 #if PYTHON_API_VERSION >= 1009
8748 char* tmpPtr
; int tmpSize
;
8749 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8750 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8753 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8755 _arg2
= new wxString(tmpPtr
, tmpSize
);
8757 if (!PyString_Check(_obj2
)) {
8758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8761 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8767 if (! wxPoint_helper(_obj3
, &_arg3
))
8773 if (! wxSize_helper(_obj4
, &_arg4
))
8778 _arg6
= wxString_LIST_helper(_obj6
);
8779 if (_arg6
== NULL
) {
8784 if (_argo9
== Py_None
) { _arg9
= NULL
; }
8785 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
8786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
8792 _arg5
= PyList_Size(_obj6
);
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) return NULL
;
8805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8806 _resultobj
= Py_BuildValue("s",_ptemp
);
8809 _resultobj
= Py_None
;
8821 #define new_wxPreRadioBox() (new wxRadioBox())
8822 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
* _resultobj
;
8824 wxRadioBox
* _result
;
8825 char *_kwnames
[] = { NULL
};
8829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 _result
= (wxRadioBox
*)new_wxPreRadioBox();
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) return NULL
;
8838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
8839 _resultobj
= Py_BuildValue("s",_ptemp
);
8842 _resultobj
= Py_None
;
8847 #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))
8848 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
* _resultobj
;
8855 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8856 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8857 int _arg6
= (int ) 0;
8858 wxString
* _arg7
= (wxString
*) NULL
;
8859 int _arg8
= (int ) 0;
8860 long _arg9
= (long ) wxRA_HORIZONTAL
;
8861 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
8862 char * _arg11
= (char *) "radioBox";
8863 PyObject
* _argo0
= 0;
8864 PyObject
* _argo1
= 0;
8865 PyObject
* _obj3
= 0;
8867 PyObject
* _obj4
= 0;
8869 PyObject
* _obj5
= 0;
8870 PyObject
* _obj7
= 0;
8871 PyObject
* _argo10
= 0;
8872 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
8875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
8878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Create. Expected _wxRadioBox_p.");
8885 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8886 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
8892 #if PYTHON_API_VERSION >= 1009
8893 char* tmpPtr
; int tmpSize
;
8894 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
8895 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8898 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
8900 _arg3
= new wxString(tmpPtr
, tmpSize
);
8902 if (!PyString_Check(_obj3
)) {
8903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8906 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
8912 if (! wxPoint_helper(_obj4
, &_arg4
))
8918 if (! wxSize_helper(_obj5
, &_arg5
))
8923 _arg7
= wxString_LIST_helper(_obj7
);
8924 if (_arg7
== NULL
) {
8929 if (_argo10
== Py_None
) { _arg10
= NULL
; }
8930 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
8931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
8937 _arg6
= PyList_Size(_obj7
);
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) return NULL
;
8949 } _resultobj
= Py_BuildValue("i",_result
);
8960 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
8961 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
* _resultobj
;
8965 PyObject
* _argo0
= 0;
8967 char *_kwnames
[] = { "self","enable", NULL
};
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
8973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
8975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
8979 _arg1
= (bool ) tempbool1
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 wxRadioBox_Enable(_arg0
,_arg1
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) return NULL
;
8986 } Py_INCREF(Py_None
);
8987 _resultobj
= Py_None
;
8991 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
8992 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
* _resultobj
;
8997 PyObject
* _argo0
= 0;
8999 char *_kwnames
[] = { "self","n","enable", NULL
};
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9011 _arg2
= (bool ) tempbool2
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) return NULL
;
9018 } Py_INCREF(Py_None
);
9019 _resultobj
= Py_None
;
9023 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9024 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
* _resultobj
;
9029 PyObject
* _argo0
= 0;
9030 PyObject
* _obj1
= 0;
9031 char *_kwnames
[] = { "self","string", NULL
};
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9044 #if PYTHON_API_VERSION >= 1009
9045 char* tmpPtr
; int tmpSize
;
9046 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9047 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9050 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9052 _arg1
= new wxString(tmpPtr
, tmpSize
);
9054 if (!PyString_Check(_obj1
)) {
9055 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9058 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) return NULL
;
9067 } _resultobj
= Py_BuildValue("i",_result
);
9075 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9076 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
* _resultobj
;
9081 PyObject
* _argo0
= 0;
9082 char *_kwnames
[] = { "self","n", NULL
};
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) return NULL
;
9101 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9109 #define wxRadioBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
9110 static PyObject
*_wrap_wxRadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
* _resultobj
;
9115 PyObject
* _argo0
= 0;
9116 PyObject
* _obj2
= 0;
9117 char *_kwnames
[] = { "self","n","label", NULL
};
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetString. Expected _wxRadioBox_p.");
9130 #if PYTHON_API_VERSION >= 1009
9131 char* tmpPtr
; int tmpSize
;
9132 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9136 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9138 _arg2
= new wxString(tmpPtr
, tmpSize
);
9140 if (!PyString_Check(_obj2
)) {
9141 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9144 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 wxRadioBox_SetString(_arg0
,_arg1
,*_arg2
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) return NULL
;
9153 } Py_INCREF(Py_None
);
9154 _resultobj
= Py_None
;
9162 #define wxRadioBox_GetColumnCount(_swigobj) (_swigobj->GetColumnCount())
9163 static PyObject
*_wrap_wxRadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
* _resultobj
;
9167 PyObject
* _argo0
= 0;
9168 char *_kwnames
[] = { "self", NULL
};
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetColumnCount",_kwnames
,&_argo0
))
9174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetColumnCount. Expected _wxRadioBox_p.");
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 _result
= (int )wxRadioBox_GetColumnCount(_arg0
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) return NULL
;
9186 } _resultobj
= Py_BuildValue("i",_result
);
9190 #define wxRadioBox_GetRowCount(_swigobj) (_swigobj->GetRowCount())
9191 static PyObject
*_wrap_wxRadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
* _resultobj
;
9195 PyObject
* _argo0
= 0;
9196 char *_kwnames
[] = { "self", NULL
};
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetRowCount",_kwnames
,&_argo0
))
9202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetRowCount. Expected _wxRadioBox_p.");
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 _result
= (int )wxRadioBox_GetRowCount(_arg0
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) return NULL
;
9214 } _resultobj
= Py_BuildValue("i",_result
);
9218 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9219 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
* _resultobj
;
9223 PyObject
* _argo0
= 0;
9224 char *_kwnames
[] = { "self", NULL
};
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) return NULL
;
9242 } _resultobj
= Py_BuildValue("i",_result
);
9246 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9247 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9248 PyObject
* _resultobj
;
9251 PyObject
* _argo0
= 0;
9252 char *_kwnames
[] = { "self", NULL
};
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) return NULL
;
9271 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9279 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9280 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
* _resultobj
;
9284 PyObject
* _argo0
= 0;
9285 char *_kwnames
[] = { "self", NULL
};
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 _result
= (int )wxRadioBox_GetCount(_arg0
);
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) return NULL
;
9303 } _resultobj
= Py_BuildValue("i",_result
);
9307 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9308 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
* _resultobj
;
9312 PyObject
* _argo0
= 0;
9313 char *_kwnames
[] = { "self","n", NULL
};
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 wxRadioBox_SetSelection(_arg0
,_arg1
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) return NULL
;
9331 } Py_INCREF(Py_None
);
9332 _resultobj
= Py_None
;
9336 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9337 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
* _resultobj
;
9341 PyObject
* _argo0
= 0;
9342 PyObject
* _obj1
= 0;
9343 char *_kwnames
[] = { "self","string", NULL
};
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9356 #if PYTHON_API_VERSION >= 1009
9357 char* tmpPtr
; int tmpSize
;
9358 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9359 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9362 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9364 _arg1
= new wxString(tmpPtr
, tmpSize
);
9366 if (!PyString_Check(_obj1
)) {
9367 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9370 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) return NULL
;
9379 } Py_INCREF(Py_None
);
9380 _resultobj
= Py_None
;
9388 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9389 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
* _resultobj
;
9393 PyObject
* _argo0
= 0;
9395 char *_kwnames
[] = { "self","show", NULL
};
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9407 _arg1
= (bool ) tempbool1
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 wxRadioBox_Show(_arg0
,_arg1
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) return NULL
;
9414 } Py_INCREF(Py_None
);
9415 _resultobj
= Py_None
;
9419 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9420 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
* _resultobj
;
9425 PyObject
* _argo0
= 0;
9427 char *_kwnames
[] = { "self","item","show", NULL
};
9430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9439 _arg2
= (bool ) tempbool2
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) return NULL
;
9446 } Py_INCREF(Py_None
);
9447 _resultobj
= Py_None
;
9451 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9454 src
= (wxRadioButton
*) ptr
;
9455 dest
= (wxControl
*) src
;
9456 return (void *) dest
;
9459 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9462 src
= (wxRadioButton
*) ptr
;
9463 dest
= (wxWindow
*) src
;
9464 return (void *) dest
;
9467 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9470 src
= (wxRadioButton
*) ptr
;
9471 dest
= (wxEvtHandler
*) src
;
9472 return (void *) dest
;
9475 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9478 src
= (wxRadioButton
*) ptr
;
9479 dest
= (wxObject
*) src
;
9480 return (void *) dest
;
9483 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9484 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
* _resultobj
;
9486 wxRadioButton
* _result
;
9490 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9491 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9492 long _arg5
= (long ) 0;
9493 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9494 char * _arg7
= (char *) "radioButton";
9495 PyObject
* _argo0
= 0;
9496 PyObject
* _obj2
= 0;
9498 PyObject
* _obj3
= 0;
9500 PyObject
* _obj4
= 0;
9501 PyObject
* _argo6
= 0;
9502 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9516 #if PYTHON_API_VERSION >= 1009
9517 char* tmpPtr
; int tmpSize
;
9518 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9519 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9522 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9524 _arg2
= new wxString(tmpPtr
, tmpSize
);
9526 if (!PyString_Check(_obj2
)) {
9527 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9530 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9536 if (! wxPoint_helper(_obj3
, &_arg3
))
9542 if (! wxSize_helper(_obj4
, &_arg4
))
9546 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9547 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) return NULL
;
9559 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9560 _resultobj
= Py_BuildValue("s",_ptemp
);
9563 _resultobj
= Py_None
;
9572 #define new_wxPreRadioButton() (new wxRadioButton())
9573 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
* _resultobj
;
9575 wxRadioButton
* _result
;
9576 char *_kwnames
[] = { NULL
};
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) return NULL
;
9589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9590 _resultobj
= Py_BuildValue("s",_ptemp
);
9593 _resultobj
= Py_None
;
9598 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9599 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
* _resultobj
;
9602 wxRadioButton
* _arg0
;
9606 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9607 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9608 long _arg6
= (long ) 0;
9609 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9610 char * _arg8
= (char *) "radioButton";
9611 PyObject
* _argo0
= 0;
9612 PyObject
* _argo1
= 0;
9613 PyObject
* _obj3
= 0;
9615 PyObject
* _obj4
= 0;
9617 PyObject
* _obj5
= 0;
9618 PyObject
* _argo7
= 0;
9619 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9632 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9633 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9639 #if PYTHON_API_VERSION >= 1009
9640 char* tmpPtr
; int tmpSize
;
9641 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9645 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9647 _arg3
= new wxString(tmpPtr
, tmpSize
);
9649 if (!PyString_Check(_obj3
)) {
9650 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9653 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9659 if (! wxPoint_helper(_obj4
, &_arg4
))
9665 if (! wxSize_helper(_obj5
, &_arg5
))
9669 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9670 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) return NULL
;
9681 } _resultobj
= Py_BuildValue("i",_result
);
9689 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9690 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
* _resultobj
;
9693 wxRadioButton
* _arg0
;
9694 PyObject
* _argo0
= 0;
9695 char *_kwnames
[] = { "self", NULL
};
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
9701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 _result
= (bool )wxRadioButton_GetValue(_arg0
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) return NULL
;
9713 } _resultobj
= Py_BuildValue("i",_result
);
9717 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
9718 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
* _resultobj
;
9720 wxRadioButton
* _arg0
;
9722 PyObject
* _argo0
= 0;
9724 char *_kwnames
[] = { "self","value", NULL
};
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
9730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
9736 _arg1
= (bool ) tempbool1
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 wxRadioButton_SetValue(_arg0
,_arg1
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) return NULL
;
9743 } Py_INCREF(Py_None
);
9744 _resultobj
= Py_None
;
9748 static void *SwigwxSliderTowxControl(void *ptr
) {
9751 src
= (wxSlider
*) ptr
;
9752 dest
= (wxControl
*) src
;
9753 return (void *) dest
;
9756 static void *SwigwxSliderTowxWindow(void *ptr
) {
9759 src
= (wxSlider
*) ptr
;
9760 dest
= (wxWindow
*) src
;
9761 return (void *) dest
;
9764 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
9767 src
= (wxSlider
*) ptr
;
9768 dest
= (wxEvtHandler
*) src
;
9769 return (void *) dest
;
9772 static void *SwigwxSliderTowxObject(void *ptr
) {
9775 src
= (wxSlider
*) ptr
;
9776 dest
= (wxObject
*) src
;
9777 return (void *) dest
;
9780 #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))
9781 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
* _resultobj
;
9789 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
9790 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
9791 long _arg7
= (long ) wxSL_HORIZONTAL
;
9792 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
9793 char * _arg9
= (char *) "slider";
9794 PyObject
* _argo0
= 0;
9796 PyObject
* _obj5
= 0;
9798 PyObject
* _obj6
= 0;
9799 PyObject
* _argo8
= 0;
9800 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
9807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
9816 if (! wxPoint_helper(_obj5
, &_arg5
))
9822 if (! wxSize_helper(_obj6
, &_arg6
))
9826 if (_argo8
== Py_None
) { _arg8
= NULL
; }
9827 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
9828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) return NULL
;
9839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9840 _resultobj
= Py_BuildValue("s",_ptemp
);
9843 _resultobj
= Py_None
;
9848 #define new_wxPreSlider() (new wxSlider())
9849 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
* _resultobj
;
9852 char *_kwnames
[] = { NULL
};
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 _result
= (wxSlider
*)new_wxPreSlider();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) return NULL
;
9865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
9866 _resultobj
= Py_BuildValue("s",_ptemp
);
9869 _resultobj
= Py_None
;
9874 #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))
9875 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
* _resultobj
;
9884 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
9885 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
9886 long _arg8
= (long ) wxSL_HORIZONTAL
;
9887 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9888 char * _arg10
= (char *) "slider";
9889 PyObject
* _argo0
= 0;
9890 PyObject
* _argo1
= 0;
9892 PyObject
* _obj6
= 0;
9894 PyObject
* _obj7
= 0;
9895 PyObject
* _argo9
= 0;
9896 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
9902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
9909 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9910 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
9918 if (! wxPoint_helper(_obj6
, &_arg6
))
9924 if (! wxSize_helper(_obj7
, &_arg7
))
9928 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9929 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) return NULL
;
9940 } _resultobj
= Py_BuildValue("i",_result
);
9944 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
9945 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
* _resultobj
;
9948 PyObject
* _argo0
= 0;
9949 char *_kwnames
[] = { "self", NULL
};
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
9955 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9956 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 wxSlider_ClearSel(_arg0
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) return NULL
;
9967 } Py_INCREF(Py_None
);
9968 _resultobj
= Py_None
;
9972 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
9973 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
* _resultobj
;
9976 PyObject
* _argo0
= 0;
9977 char *_kwnames
[] = { "self", NULL
};
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
9983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
9985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 wxSlider_ClearTicks(_arg0
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) return NULL
;
9995 } Py_INCREF(Py_None
);
9996 _resultobj
= Py_None
;
10000 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10001 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
* _resultobj
;
10005 PyObject
* _argo0
= 0;
10006 char *_kwnames
[] = { "self", NULL
};
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 _result
= (int )wxSlider_GetLineSize(_arg0
);
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) return NULL
;
10024 } _resultobj
= Py_BuildValue("i",_result
);
10028 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10029 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
* _resultobj
;
10033 PyObject
* _argo0
= 0;
10034 char *_kwnames
[] = { "self", NULL
};
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 _result
= (int )wxSlider_GetMax(_arg0
);
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) return NULL
;
10052 } _resultobj
= Py_BuildValue("i",_result
);
10056 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10057 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
* _resultobj
;
10061 PyObject
* _argo0
= 0;
10062 char *_kwnames
[] = { "self", NULL
};
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 _result
= (int )wxSlider_GetMin(_arg0
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) return NULL
;
10080 } _resultobj
= Py_BuildValue("i",_result
);
10084 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10085 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
* _resultobj
;
10089 PyObject
* _argo0
= 0;
10090 char *_kwnames
[] = { "self", NULL
};
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 _result
= (int )wxSlider_GetPageSize(_arg0
);
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) return NULL
;
10108 } _resultobj
= Py_BuildValue("i",_result
);
10112 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10113 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
* _resultobj
;
10117 PyObject
* _argo0
= 0;
10118 char *_kwnames
[] = { "self", NULL
};
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) return NULL
;
10136 } _resultobj
= Py_BuildValue("i",_result
);
10140 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10141 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
* _resultobj
;
10145 PyObject
* _argo0
= 0;
10146 char *_kwnames
[] = { "self", NULL
};
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 _result
= (int )wxSlider_GetSelStart(_arg0
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) return NULL
;
10164 } _resultobj
= Py_BuildValue("i",_result
);
10168 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10169 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10170 PyObject
* _resultobj
;
10173 PyObject
* _argo0
= 0;
10174 char *_kwnames
[] = { "self", NULL
};
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) return NULL
;
10192 } _resultobj
= Py_BuildValue("i",_result
);
10196 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10197 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
* _resultobj
;
10201 PyObject
* _argo0
= 0;
10202 char *_kwnames
[] = { "self", NULL
};
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) return NULL
;
10220 } _resultobj
= Py_BuildValue("i",_result
);
10224 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10225 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
* _resultobj
;
10229 PyObject
* _argo0
= 0;
10230 char *_kwnames
[] = { "self", NULL
};
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 _result
= (int )wxSlider_GetValue(_arg0
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) return NULL
;
10248 } _resultobj
= Py_BuildValue("i",_result
);
10252 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10253 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10254 PyObject
* _resultobj
;
10258 PyObject
* _argo0
= 0;
10259 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) return NULL
;
10277 } Py_INCREF(Py_None
);
10278 _resultobj
= Py_None
;
10282 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10283 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
* _resultobj
;
10288 PyObject
* _argo0
= 0;
10289 char *_kwnames
[] = { "self","n","pos", NULL
};
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10305 wxPyEndAllowThreads(__tstate
);
10306 if (PyErr_Occurred()) return NULL
;
10307 } Py_INCREF(Py_None
);
10308 _resultobj
= Py_None
;
10312 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10313 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
* _resultobj
;
10317 PyObject
* _argo0
= 0;
10318 char *_kwnames
[] = { "self","lineSize", NULL
};
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 wxSlider_SetLineSize(_arg0
,_arg1
);
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) return NULL
;
10336 } Py_INCREF(Py_None
);
10337 _resultobj
= Py_None
;
10341 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10342 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10343 PyObject
* _resultobj
;
10346 PyObject
* _argo0
= 0;
10347 char *_kwnames
[] = { "self","pageSize", NULL
};
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 wxSlider_SetPageSize(_arg0
,_arg1
);
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) return NULL
;
10365 } Py_INCREF(Py_None
);
10366 _resultobj
= Py_None
;
10370 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10371 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
* _resultobj
;
10376 PyObject
* _argo0
= 0;
10377 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) return NULL
;
10395 } Py_INCREF(Py_None
);
10396 _resultobj
= Py_None
;
10400 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10401 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
* _resultobj
;
10405 PyObject
* _argo0
= 0;
10406 char *_kwnames
[] = { "self","len", NULL
};
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 wxSlider_SetThumbLength(_arg0
,_arg1
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) return NULL
;
10424 } Py_INCREF(Py_None
);
10425 _resultobj
= Py_None
;
10429 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10430 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
* _resultobj
;
10434 PyObject
* _argo0
= 0;
10435 char *_kwnames
[] = { "self","tickPos", NULL
};
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 wxSlider_SetTick(_arg0
,_arg1
);
10451 wxPyEndAllowThreads(__tstate
);
10452 if (PyErr_Occurred()) return NULL
;
10453 } Py_INCREF(Py_None
);
10454 _resultobj
= Py_None
;
10458 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10459 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10460 PyObject
* _resultobj
;
10463 PyObject
* _argo0
= 0;
10464 char *_kwnames
[] = { "self","value", NULL
};
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 wxSlider_SetValue(_arg0
,_arg1
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) return NULL
;
10482 } Py_INCREF(Py_None
);
10483 _resultobj
= Py_None
;
10487 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10489 wxSpinButton
*dest
;
10490 src
= (wxSpinCtrl
*) ptr
;
10491 dest
= (wxSpinButton
*) src
;
10492 return (void *) dest
;
10495 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10498 src
= (wxSpinCtrl
*) ptr
;
10499 dest
= (wxControl
*) src
;
10500 return (void *) dest
;
10503 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10506 src
= (wxSpinCtrl
*) ptr
;
10507 dest
= (wxWindow
*) src
;
10508 return (void *) dest
;
10511 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10513 wxEvtHandler
*dest
;
10514 src
= (wxSpinCtrl
*) ptr
;
10515 dest
= (wxEvtHandler
*) src
;
10516 return (void *) dest
;
10519 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10522 src
= (wxSpinCtrl
*) ptr
;
10523 dest
= (wxObject
*) src
;
10524 return (void *) dest
;
10527 #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))
10528 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
* _resultobj
;
10530 wxSpinCtrl
* _result
;
10532 wxWindowID _arg1
= (wxWindowID
) -1;
10533 char * _arg2
= (char *) "";
10534 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10535 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10536 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10537 int _arg6
= (int ) 0;
10538 int _arg7
= (int ) 100;
10539 int _arg8
= (int ) 0;
10540 char * _arg9
= (char *) "wxSpinCtrl";
10541 PyObject
* _argo0
= 0;
10543 PyObject
* _obj3
= 0;
10545 PyObject
* _obj4
= 0;
10546 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10562 if (! wxPoint_helper(_obj3
, &_arg3
))
10568 if (! wxSize_helper(_obj4
, &_arg4
))
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) return NULL
;
10578 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10579 _resultobj
= Py_BuildValue("s",_ptemp
);
10581 Py_INCREF(Py_None
);
10582 _resultobj
= Py_None
;
10587 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10588 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
* _resultobj
;
10590 wxSpinCtrl
* _result
;
10591 char *_kwnames
[] = { NULL
};
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) return NULL
;
10604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10605 _resultobj
= Py_BuildValue("s",_ptemp
);
10607 Py_INCREF(Py_None
);
10608 _resultobj
= Py_None
;
10613 #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))
10614 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
* _resultobj
;
10617 wxSpinCtrl
* _arg0
;
10619 wxWindowID _arg2
= (wxWindowID
) -1;
10620 char * _arg3
= (char *) "";
10621 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10622 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10623 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10624 int _arg7
= (int ) 0;
10625 int _arg8
= (int ) 100;
10626 int _arg9
= (int ) 0;
10627 char * _arg10
= (char *) "wxSpinCtrl";
10628 PyObject
* _argo0
= 0;
10629 PyObject
* _argo1
= 0;
10631 PyObject
* _obj4
= 0;
10633 PyObject
* _obj5
= 0;
10634 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10647 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10648 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10656 if (! wxPoint_helper(_obj4
, &_arg4
))
10662 if (! wxSize_helper(_obj5
, &_arg5
))
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) return NULL
;
10671 } _resultobj
= Py_BuildValue("i",_result
);
10675 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10676 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10677 PyObject
* _resultobj
;
10679 wxSpinCtrl
* _arg0
;
10680 PyObject
* _argo0
= 0;
10681 char *_kwnames
[] = { "self", NULL
};
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) return NULL
;
10699 } _resultobj
= Py_BuildValue("i",_result
);
10703 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
10704 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
* _resultobj
;
10707 wxSpinCtrl
* _arg0
;
10708 PyObject
* _argo0
= 0;
10709 char *_kwnames
[] = { "self", NULL
};
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
10715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) return NULL
;
10727 } _resultobj
= Py_BuildValue("i",_result
);
10731 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
10732 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
* _resultobj
;
10735 wxSpinCtrl
* _arg0
;
10736 PyObject
* _argo0
= 0;
10737 char *_kwnames
[] = { "self", NULL
};
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
10743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) return NULL
;
10755 } _resultobj
= Py_BuildValue("i",_result
);
10759 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10760 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
* _resultobj
;
10762 wxSpinCtrl
* _arg0
;
10765 PyObject
* _argo0
= 0;
10766 char *_kwnames
[] = { "self","min","max", NULL
};
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) return NULL
;
10784 } Py_INCREF(Py_None
);
10785 _resultobj
= Py_None
;
10789 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10790 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10791 PyObject
* _resultobj
;
10792 wxSpinCtrl
* _arg0
;
10794 PyObject
* _argo0
= 0;
10795 char *_kwnames
[] = { "self","value", NULL
};
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
10801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 wxSpinCtrl_SetValue(_arg0
,_arg1
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) return NULL
;
10813 } Py_INCREF(Py_None
);
10814 _resultobj
= Py_None
;
10818 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
10819 wxToggleButton
*src
;
10821 src
= (wxToggleButton
*) ptr
;
10822 dest
= (wxControl
*) src
;
10823 return (void *) dest
;
10826 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
10827 wxToggleButton
*src
;
10829 src
= (wxToggleButton
*) ptr
;
10830 dest
= (wxWindow
*) src
;
10831 return (void *) dest
;
10834 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
10835 wxToggleButton
*src
;
10836 wxEvtHandler
*dest
;
10837 src
= (wxToggleButton
*) ptr
;
10838 dest
= (wxEvtHandler
*) src
;
10839 return (void *) dest
;
10842 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
10843 wxToggleButton
*src
;
10845 src
= (wxToggleButton
*) ptr
;
10846 dest
= (wxObject
*) src
;
10847 return (void *) dest
;
10850 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10851 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
* _resultobj
;
10853 wxToggleButton
* _result
;
10857 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10858 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10859 long _arg5
= (long ) 0;
10860 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
10861 char * _arg7
= (char *) "toggle";
10862 PyObject
* _argo0
= 0;
10863 PyObject
* _obj2
= 0;
10865 PyObject
* _obj3
= 0;
10867 PyObject
* _obj4
= 0;
10868 PyObject
* _argo6
= 0;
10869 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
10876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
10883 #if PYTHON_API_VERSION >= 1009
10884 char* tmpPtr
; int tmpSize
;
10885 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
10886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10889 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
10891 _arg2
= new wxString(tmpPtr
, tmpSize
);
10893 if (!PyString_Check(_obj2
)) {
10894 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
10897 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
10903 if (! wxPoint_helper(_obj3
, &_arg3
))
10909 if (! wxSize_helper(_obj4
, &_arg4
))
10913 if (_argo6
== Py_None
) { _arg6
= NULL
; }
10914 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
10915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) return NULL
;
10926 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10927 _resultobj
= Py_BuildValue("s",_ptemp
);
10929 Py_INCREF(Py_None
);
10930 _resultobj
= Py_None
;
10939 #define new_wxPreToggleButton() (new wxToggleButton())
10940 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
* _resultobj
;
10942 wxToggleButton
* _result
;
10943 char *_kwnames
[] = { NULL
};
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
10950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10951 _result
= (wxToggleButton
*)new_wxPreToggleButton();
10953 wxPyEndAllowThreads(__tstate
);
10954 if (PyErr_Occurred()) return NULL
;
10956 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
10957 _resultobj
= Py_BuildValue("s",_ptemp
);
10959 Py_INCREF(Py_None
);
10960 _resultobj
= Py_None
;
10965 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
10966 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
* _resultobj
;
10969 wxToggleButton
* _arg0
;
10973 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10974 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10975 long _arg6
= (long ) 0;
10976 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
10977 char * _arg8
= (char *) "toggle";
10978 PyObject
* _argo0
= 0;
10979 PyObject
* _argo1
= 0;
10980 PyObject
* _obj3
= 0;
10982 PyObject
* _obj4
= 0;
10984 PyObject
* _obj5
= 0;
10985 PyObject
* _argo7
= 0;
10986 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
10992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
10994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
10999 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11000 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11006 #if PYTHON_API_VERSION >= 1009
11007 char* tmpPtr
; int tmpSize
;
11008 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11012 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11014 _arg3
= new wxString(tmpPtr
, tmpSize
);
11016 if (!PyString_Check(_obj3
)) {
11017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11020 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11026 if (! wxPoint_helper(_obj4
, &_arg4
))
11032 if (! wxSize_helper(_obj5
, &_arg5
))
11036 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11037 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) return NULL
;
11048 } _resultobj
= Py_BuildValue("i",_result
);
11056 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11057 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
* _resultobj
;
11059 wxToggleButton
* _arg0
;
11061 PyObject
* _argo0
= 0;
11063 char *_kwnames
[] = { "self","value", NULL
};
11066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11075 _arg1
= (bool ) tempbool1
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 wxToggleButton_SetValue(_arg0
,_arg1
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) return NULL
;
11082 } Py_INCREF(Py_None
);
11083 _resultobj
= Py_None
;
11087 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11088 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
* _resultobj
;
11091 wxToggleButton
* _arg0
;
11092 PyObject
* _argo0
= 0;
11093 char *_kwnames
[] = { "self", NULL
};
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) return NULL
;
11111 } _resultobj
= Py_BuildValue("i",_result
);
11115 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11116 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
* _resultobj
;
11118 wxToggleButton
* _arg0
;
11120 PyObject
* _argo0
= 0;
11121 PyObject
* _obj1
= 0;
11122 char *_kwnames
[] = { "self","label", NULL
};
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11135 #if PYTHON_API_VERSION >= 1009
11136 char* tmpPtr
; int tmpSize
;
11137 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11141 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11143 _arg1
= new wxString(tmpPtr
, tmpSize
);
11145 if (!PyString_Check(_obj1
)) {
11146 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11149 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) return NULL
;
11158 } Py_INCREF(Py_None
);
11159 _resultobj
= Py_None
;
11167 static PyMethodDef controlscMethods
[] = {
11168 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11169 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11170 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11171 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11172 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11173 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11174 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11175 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11176 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11177 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11178 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11179 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11180 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11181 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11182 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11183 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11184 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11185 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11186 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11187 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11188 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11189 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11190 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11191 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11192 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11193 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11194 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11195 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11196 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11197 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11198 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11199 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11200 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11201 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11202 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11203 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11204 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11205 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11206 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11207 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11208 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11209 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11210 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11211 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11212 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11213 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11214 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11215 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11216 { "wxRadioBox_GetRowCount", (PyCFunction
) _wrap_wxRadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
11217 { "wxRadioBox_GetColumnCount", (PyCFunction
) _wrap_wxRadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
11218 { "wxRadioBox_SetString", (PyCFunction
) _wrap_wxRadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11219 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11220 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11221 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11222 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11223 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11224 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11225 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11226 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11227 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11228 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11229 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11230 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11231 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11232 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11233 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11234 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11235 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11236 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11237 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11238 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11239 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11240 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11241 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11242 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11243 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11244 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11245 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11246 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11247 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11248 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11249 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11250 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11251 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11252 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11253 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11254 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11255 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11256 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11257 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11258 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11259 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11260 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11261 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11262 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11263 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11264 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11265 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11266 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11267 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11268 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11269 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11270 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11271 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11272 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11273 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11274 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11275 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11276 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11277 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11278 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11279 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11280 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11281 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11282 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11283 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11284 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11285 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11286 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11287 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11288 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11289 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11290 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11291 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11292 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11293 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11294 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11295 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11296 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11297 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11298 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11299 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11300 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11301 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11302 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11303 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11304 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11305 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11306 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11307 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11308 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11309 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11310 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11311 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11312 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11313 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11314 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11315 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11316 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11317 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11318 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11319 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11320 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11321 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11322 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11323 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11324 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11325 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11326 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11327 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11328 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11329 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11330 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11331 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11332 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11333 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11334 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11335 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11336 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11337 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11338 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11339 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11340 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11341 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11342 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11343 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11344 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11345 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11346 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11347 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11348 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11349 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11350 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11351 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11352 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11353 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11354 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11355 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11356 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11357 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11358 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11359 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11360 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11361 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11362 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11363 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11364 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11365 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11366 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11367 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11368 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11369 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11370 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11371 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11372 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11373 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11374 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11375 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11376 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11377 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11378 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11379 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11380 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11381 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11382 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11383 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11384 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11385 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11386 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11387 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11388 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11389 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11390 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11391 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11392 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11393 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11394 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11395 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11396 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11397 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11398 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11399 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11400 { "wxButton_SetImageMargins", (PyCFunction
) _wrap_wxButton_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
11401 { "wxButton_SetImageLabel", (PyCFunction
) _wrap_wxButton_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
11402 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11403 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11404 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11405 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11406 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11407 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11408 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11409 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11410 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11411 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11412 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11413 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11414 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11415 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11416 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11417 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11418 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11419 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11420 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11421 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11422 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11423 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11424 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11431 * This table is used by the pointer type-checker
11433 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11434 { "_signed_long","_long",0},
11435 { "_wxPrintQuality","_wxCoord",0},
11436 { "_wxPrintQuality","_int",0},
11437 { "_wxPrintQuality","_signed_int",0},
11438 { "_wxPrintQuality","_unsigned_int",0},
11439 { "_wxPrintQuality","_wxWindowID",0},
11440 { "_wxPrintQuality","_uint",0},
11441 { "_wxPrintQuality","_EBool",0},
11442 { "_wxPrintQuality","_size_t",0},
11443 { "_wxPrintQuality","_time_t",0},
11444 { "_byte","_unsigned_char",0},
11445 { "_wxChoice","_wxComboBox",SwigwxComboBoxTowxChoice
},
11446 { "_long","_unsigned_long",0},
11447 { "_long","_signed_long",0},
11448 { "_size_t","_wxCoord",0},
11449 { "_size_t","_wxPrintQuality",0},
11450 { "_size_t","_time_t",0},
11451 { "_size_t","_unsigned_int",0},
11452 { "_size_t","_int",0},
11453 { "_size_t","_wxWindowID",0},
11454 { "_size_t","_uint",0},
11455 { "_uint","_wxCoord",0},
11456 { "_uint","_wxPrintQuality",0},
11457 { "_uint","_time_t",0},
11458 { "_uint","_size_t",0},
11459 { "_uint","_unsigned_int",0},
11460 { "_uint","_int",0},
11461 { "_uint","_wxWindowID",0},
11462 { "_wxChar","_char",0},
11463 { "_char","_wxChar",0},
11464 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11465 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11466 { "_EBool","_wxCoord",0},
11467 { "_EBool","_wxPrintQuality",0},
11468 { "_EBool","_signed_int",0},
11469 { "_EBool","_int",0},
11470 { "_EBool","_wxWindowID",0},
11471 { "_unsigned_long","_long",0},
11472 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11473 { "_signed_int","_wxCoord",0},
11474 { "_signed_int","_wxPrintQuality",0},
11475 { "_signed_int","_EBool",0},
11476 { "_signed_int","_wxWindowID",0},
11477 { "_signed_int","_int",0},
11478 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11479 { "_WXTYPE","_short",0},
11480 { "_WXTYPE","_signed_short",0},
11481 { "_WXTYPE","_unsigned_short",0},
11482 { "_unsigned_short","_WXTYPE",0},
11483 { "_unsigned_short","_short",0},
11484 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11485 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11486 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11487 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11488 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11489 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11490 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11491 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11492 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11493 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11494 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11495 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11496 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11497 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11498 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11499 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11500 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11501 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11502 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11503 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11504 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11505 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11506 { "_signed_short","_WXTYPE",0},
11507 { "_signed_short","_short",0},
11508 { "_unsigned_char","_byte",0},
11509 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11510 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11511 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11512 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11513 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11514 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11515 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11516 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11517 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11518 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11519 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11520 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11521 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11522 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11523 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11524 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11525 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11526 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11527 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11528 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11529 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11530 { "_unsigned_int","_wxCoord",0},
11531 { "_unsigned_int","_wxPrintQuality",0},
11532 { "_unsigned_int","_time_t",0},
11533 { "_unsigned_int","_size_t",0},
11534 { "_unsigned_int","_uint",0},
11535 { "_unsigned_int","_wxWindowID",0},
11536 { "_unsigned_int","_int",0},
11537 { "_short","_WXTYPE",0},
11538 { "_short","_unsigned_short",0},
11539 { "_short","_signed_short",0},
11540 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11541 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11542 { "_wxControlWithItems","_wxComboBox",SwigwxComboBoxTowxControlWithItems
},
11543 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11544 { "_wxWindowID","_wxCoord",0},
11545 { "_wxWindowID","_wxPrintQuality",0},
11546 { "_wxWindowID","_time_t",0},
11547 { "_wxWindowID","_size_t",0},
11548 { "_wxWindowID","_EBool",0},
11549 { "_wxWindowID","_uint",0},
11550 { "_wxWindowID","_int",0},
11551 { "_wxWindowID","_signed_int",0},
11552 { "_wxWindowID","_unsigned_int",0},
11553 { "_int","_wxCoord",0},
11554 { "_int","_wxPrintQuality",0},
11555 { "_int","_time_t",0},
11556 { "_int","_size_t",0},
11557 { "_int","_EBool",0},
11558 { "_int","_uint",0},
11559 { "_int","_wxWindowID",0},
11560 { "_int","_unsigned_int",0},
11561 { "_int","_signed_int",0},
11562 { "_time_t","_wxCoord",0},
11563 { "_time_t","_wxPrintQuality",0},
11564 { "_time_t","_unsigned_int",0},
11565 { "_time_t","_int",0},
11566 { "_time_t","_wxWindowID",0},
11567 { "_time_t","_uint",0},
11568 { "_time_t","_size_t",0},
11569 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11570 { "_wxCoord","_int",0},
11571 { "_wxCoord","_signed_int",0},
11572 { "_wxCoord","_unsigned_int",0},
11573 { "_wxCoord","_wxWindowID",0},
11574 { "_wxCoord","_uint",0},
11575 { "_wxCoord","_EBool",0},
11576 { "_wxCoord","_size_t",0},
11577 { "_wxCoord","_time_t",0},
11578 { "_wxCoord","_wxPrintQuality",0},
11579 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11580 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11581 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11582 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11583 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11584 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11585 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11586 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11587 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11588 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11589 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11590 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11591 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11592 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11593 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11594 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11595 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11596 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11597 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11598 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11599 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11600 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11601 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11602 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11603 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11604 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11605 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11606 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11607 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11608 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11609 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11610 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11611 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11612 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11613 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11614 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11615 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11616 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11617 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11618 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11619 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11620 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11621 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11622 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11625 static PyObject
*SWIG_globals
;
11629 SWIGEXPORT(void) initcontrolsc() {
11631 SWIG_globals
= SWIG_newvarlink();
11632 m
= Py_InitModule("controlsc", controlscMethods
);
11633 d
= PyModule_GetDict(m
);
11634 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11635 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11636 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11639 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11640 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);