2 * FILE : src/gtk/controls.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initcontrolsc
56 #define SWIG_name "controlsc"
59 #include <wx/slider.h>
60 #include <wx/spinbutt.h>
61 #include <wx/spinctrl.h>
62 #include <wx/dynarray.h>
63 #include <wx/statline.h>
64 #include <wx/tglbtn.h>
68 #include <wx/checklst.h>
73 #include <wx/checklst.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 #if PYTHON_API_VERSION >= 1009
104 static char* wxStringErrorMsg
= "String or Unicode type required";
106 static char* wxStringErrorMsg
= "String type required";
111 static int _wrap_wxDefaultValidator_set(PyObject
*val
) {
113 PyErr_SetString(PyExc_TypeError
,"Variable wxDefaultValidator is read-only.");
117 static PyObject
*_wrap_wxDefaultValidator_get() {
121 SWIG_MakePtr(ptemp
,(char *) &wxDefaultValidator
,"_wxValidator_p");
122 pyobj
= PyString_FromString(ptemp
);
126 static void *SwigwxControlTowxWindow(void *ptr
) {
129 src
= (wxControl
*) ptr
;
130 dest
= (wxWindow
*) src
;
131 return (void *) dest
;
134 static void *SwigwxControlTowxEvtHandler(void *ptr
) {
137 src
= (wxControl
*) ptr
;
138 dest
= (wxEvtHandler
*) src
;
139 return (void *) dest
;
142 static void *SwigwxControlTowxObject(void *ptr
) {
145 src
= (wxControl
*) ptr
;
146 dest
= (wxObject
*) src
;
147 return (void *) dest
;
150 #define new_wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxControl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
151 static PyObject
*_wrap_new_wxControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
152 PyObject
* _resultobj
;
156 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
157 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
158 long _arg4
= (long ) 0;
159 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
160 char * _arg6
= (char *) "control";
161 PyObject
* _argo0
= 0;
163 PyObject
* _obj2
= 0;
165 PyObject
* _obj3
= 0;
166 PyObject
* _argo5
= 0;
167 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOlOs:new_wxControl",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxControl. Expected _wxWindow_p.");
183 if (! wxPoint_helper(_obj2
, &_arg2
))
189 if (! wxSize_helper(_obj3
, &_arg3
))
193 if (_argo5
== Py_None
) { _arg5
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxControl. Expected _wxValidator_p.");
200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
201 _result
= (wxControl
*)new_wxControl(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
203 wxPyEndAllowThreads(__tstate
);
204 if (PyErr_Occurred()) return NULL
;
206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
207 _resultobj
= Py_BuildValue("s",_ptemp
);
210 _resultobj
= Py_None
;
215 #define new_wxPreControl() (new wxControl())
216 static PyObject
*_wrap_new_wxPreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
217 PyObject
* _resultobj
;
219 char *_kwnames
[] = { NULL
};
223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreControl",_kwnames
))
226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
227 _result
= (wxControl
*)new_wxPreControl();
229 wxPyEndAllowThreads(__tstate
);
230 if (PyErr_Occurred()) return NULL
;
232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxControl_p");
233 _resultobj
= Py_BuildValue("s",_ptemp
);
236 _resultobj
= Py_None
;
241 #define wxControl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
242 static PyObject
*_wrap_wxControl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
243 PyObject
* _resultobj
;
248 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
249 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
250 long _arg5
= (long ) 0;
251 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
252 char * _arg7
= (char *) "control";
253 PyObject
* _argo0
= 0;
254 PyObject
* _argo1
= 0;
256 PyObject
* _obj3
= 0;
258 PyObject
* _obj4
= 0;
259 PyObject
* _argo6
= 0;
260 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOlOs:wxControl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
266 if (_argo0
== Py_None
) { _arg0
= NULL
; }
267 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Create. Expected _wxControl_p.");
273 if (_argo1
== Py_None
) { _arg1
= NULL
; }
274 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
275 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Create. Expected _wxWindow_p.");
282 if (! wxPoint_helper(_obj3
, &_arg3
))
288 if (! wxSize_helper(_obj4
, &_arg4
))
292 if (_argo6
== Py_None
) { _arg6
= NULL
; }
293 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxControl_Create. Expected _wxValidator_p.");
299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
300 _result
= (bool )wxControl_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
302 wxPyEndAllowThreads(__tstate
);
303 if (PyErr_Occurred()) return NULL
;
304 } _resultobj
= Py_BuildValue("i",_result
);
308 #define wxControl_Command(_swigobj,_swigarg0) (_swigobj->Command(_swigarg0))
309 static PyObject
*_wrap_wxControl_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
310 PyObject
* _resultobj
;
312 wxCommandEvent
* _arg1
;
313 PyObject
* _argo0
= 0;
314 PyObject
* _argo1
= 0;
315 char *_kwnames
[] = { "self","event", NULL
};
318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_Command",_kwnames
,&_argo0
,&_argo1
))
321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_Command. Expected _wxControl_p.");
328 if (_argo1
== Py_None
) { _arg1
= NULL
; }
329 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCommandEvent_p")) {
330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxControl_Command. Expected _wxCommandEvent_p.");
335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
336 wxControl_Command(_arg0
,*_arg1
);
338 wxPyEndAllowThreads(__tstate
);
339 if (PyErr_Occurred()) return NULL
;
340 } Py_INCREF(Py_None
);
341 _resultobj
= Py_None
;
345 #define wxControl_GetLabel(_swigobj) (_swigobj->GetLabel())
346 static PyObject
*_wrap_wxControl_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
347 PyObject
* _resultobj
;
350 PyObject
* _argo0
= 0;
351 char *_kwnames
[] = { "self", NULL
};
354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControl_GetLabel",_kwnames
,&_argo0
))
357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_GetLabel. Expected _wxControl_p.");
364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
365 _result
= new wxString (wxControl_GetLabel(_arg0
));
367 wxPyEndAllowThreads(__tstate
);
368 if (PyErr_Occurred()) return NULL
;
370 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
378 #define wxControl_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
379 static PyObject
*_wrap_wxControl_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
380 PyObject
* _resultobj
;
383 PyObject
* _argo0
= 0;
384 PyObject
* _obj1
= 0;
385 char *_kwnames
[] = { "self","label", NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControl_SetLabel",_kwnames
,&_argo0
,&_obj1
))
391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControl_p")) {
393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControl_SetLabel. Expected _wxControl_p.");
398 #if PYTHON_API_VERSION >= 1009
399 char* tmpPtr
; int tmpSize
;
400 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
404 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
406 _arg1
= new wxString(tmpPtr
, tmpSize
);
408 if (!PyString_Check(_obj1
)) {
409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
412 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
417 wxControl_SetLabel(_arg0
,*_arg1
);
419 wxPyEndAllowThreads(__tstate
);
420 if (PyErr_Occurred()) return NULL
;
421 } Py_INCREF(Py_None
);
422 _resultobj
= Py_None
;
430 static void *SwigwxControlWithItemsTowxControl(void *ptr
) {
431 wxControlWithItems
*src
;
433 src
= (wxControlWithItems
*) ptr
;
434 dest
= (wxControl
*) src
;
435 return (void *) dest
;
438 static void *SwigwxControlWithItemsTowxWindow(void *ptr
) {
439 wxControlWithItems
*src
;
441 src
= (wxControlWithItems
*) ptr
;
442 dest
= (wxWindow
*) src
;
443 return (void *) dest
;
446 static void *SwigwxControlWithItemsTowxEvtHandler(void *ptr
) {
447 wxControlWithItems
*src
;
449 src
= (wxControlWithItems
*) ptr
;
450 dest
= (wxEvtHandler
*) src
;
451 return (void *) dest
;
454 static void *SwigwxControlWithItemsTowxObject(void *ptr
) {
455 wxControlWithItems
*src
;
457 src
= (wxControlWithItems
*) ptr
;
458 dest
= (wxObject
*) src
;
459 return (void *) dest
;
462 #define wxControlWithItems_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
463 static PyObject
*_wrap_wxControlWithItems_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
464 PyObject
* _resultobj
;
465 wxControlWithItems
* _arg0
;
467 PyObject
* _argo0
= 0;
468 char *_kwnames
[] = { "self","n", NULL
};
471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Delete",_kwnames
,&_argo0
,&_arg1
))
474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Delete. Expected _wxControlWithItems_p.");
481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
482 wxControlWithItems_Delete(_arg0
,_arg1
);
484 wxPyEndAllowThreads(__tstate
);
485 if (PyErr_Occurred()) return NULL
;
486 } Py_INCREF(Py_None
);
487 _resultobj
= Py_None
;
491 #define wxControlWithItems_GetCount(_swigobj) (_swigobj->GetCount())
492 static PyObject
*_wrap_wxControlWithItems_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 PyObject
* _resultobj
;
495 wxControlWithItems
* _arg0
;
496 PyObject
* _argo0
= 0;
497 char *_kwnames
[] = { "self", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetCount",_kwnames
,&_argo0
))
503 if (_argo0
== Py_None
) { _arg0
= NULL
; }
504 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetCount. Expected _wxControlWithItems_p.");
510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
511 _result
= (int )wxControlWithItems_GetCount(_arg0
);
513 wxPyEndAllowThreads(__tstate
);
514 if (PyErr_Occurred()) return NULL
;
515 } _resultobj
= Py_BuildValue("i",_result
);
519 #define wxControlWithItems_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
520 static PyObject
*_wrap_wxControlWithItems_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
523 wxControlWithItems
* _arg0
;
525 PyObject
* _argo0
= 0;
526 char *_kwnames
[] = { "self","n", NULL
};
529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetString",_kwnames
,&_argo0
,&_arg1
))
532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetString. Expected _wxControlWithItems_p.");
539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
540 _result
= new wxString (wxControlWithItems_GetString(_arg0
,_arg1
));
542 wxPyEndAllowThreads(__tstate
);
543 if (PyErr_Occurred()) return NULL
;
545 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
553 #define wxControlWithItems_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
554 static PyObject
*_wrap_wxControlWithItems_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
555 PyObject
* _resultobj
;
556 wxControlWithItems
* _arg0
;
559 PyObject
* _argo0
= 0;
560 PyObject
* _obj2
= 0;
561 char *_kwnames
[] = { "self","n","s", NULL
};
564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetString. Expected _wxControlWithItems_p.");
574 #if PYTHON_API_VERSION >= 1009
575 char* tmpPtr
; int tmpSize
;
576 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
577 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
580 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
582 _arg2
= new wxString(tmpPtr
, tmpSize
);
584 if (!PyString_Check(_obj2
)) {
585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
588 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
593 wxControlWithItems_SetString(_arg0
,_arg1
,*_arg2
);
595 wxPyEndAllowThreads(__tstate
);
596 if (PyErr_Occurred()) return NULL
;
597 } Py_INCREF(Py_None
);
598 _resultobj
= Py_None
;
606 #define wxControlWithItems_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
607 static PyObject
*_wrap_wxControlWithItems_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
608 PyObject
* _resultobj
;
610 wxControlWithItems
* _arg0
;
612 PyObject
* _argo0
= 0;
613 PyObject
* _obj1
= 0;
614 char *_kwnames
[] = { "self","s", NULL
};
617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxControlWithItems_FindString",_kwnames
,&_argo0
,&_obj1
))
620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_FindString. Expected _wxControlWithItems_p.");
627 #if PYTHON_API_VERSION >= 1009
628 char* tmpPtr
; int tmpSize
;
629 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
633 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
635 _arg1
= new wxString(tmpPtr
, tmpSize
);
637 if (!PyString_Check(_obj1
)) {
638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
641 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
646 _result
= (int )wxControlWithItems_FindString(_arg0
,*_arg1
);
648 wxPyEndAllowThreads(__tstate
);
649 if (PyErr_Occurred()) return NULL
;
650 } _resultobj
= Py_BuildValue("i",_result
);
658 #define wxControlWithItems_Select(_swigobj,_swigarg0) (_swigobj->Select(_swigarg0))
659 static PyObject
*_wrap_wxControlWithItems_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
660 PyObject
* _resultobj
;
661 wxControlWithItems
* _arg0
;
663 PyObject
* _argo0
= 0;
664 char *_kwnames
[] = { "self","n", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_Select",_kwnames
,&_argo0
,&_arg1
))
670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Select. Expected _wxControlWithItems_p.");
677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
678 wxControlWithItems_Select(_arg0
,_arg1
);
680 wxPyEndAllowThreads(__tstate
);
681 if (PyErr_Occurred()) return NULL
;
682 } Py_INCREF(Py_None
);
683 _resultobj
= Py_None
;
687 #define wxControlWithItems_GetSelection(_swigobj) (_swigobj->GetSelection())
688 static PyObject
*_wrap_wxControlWithItems_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
691 wxControlWithItems
* _arg0
;
692 PyObject
* _argo0
= 0;
693 char *_kwnames
[] = { "self", NULL
};
696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetSelection",_kwnames
,&_argo0
))
699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetSelection. Expected _wxControlWithItems_p.");
706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
707 _result
= (int )wxControlWithItems_GetSelection(_arg0
);
709 wxPyEndAllowThreads(__tstate
);
710 if (PyErr_Occurred()) return NULL
;
711 } _resultobj
= Py_BuildValue("i",_result
);
715 #define wxControlWithItems_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
716 static PyObject
*_wrap_wxControlWithItems_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
717 PyObject
* _resultobj
;
719 wxControlWithItems
* _arg0
;
720 PyObject
* _argo0
= 0;
721 char *_kwnames
[] = { "self", NULL
};
724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxControlWithItems_GetStringSelection",_kwnames
,&_argo0
))
727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetStringSelection. Expected _wxControlWithItems_p.");
734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
735 _result
= new wxString (wxControlWithItems_GetStringSelection(_arg0
));
737 wxPyEndAllowThreads(__tstate
);
738 if (PyErr_Occurred()) return NULL
;
740 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
748 static void wxControlWithItems_Append(wxControlWithItems
*self
,const wxString
& item
,PyObject
* clientData
) {
750 wxPyClientData
* data
= new wxPyClientData(clientData
);
751 self
->Append(item
, data
);
755 static PyObject
*_wrap_wxControlWithItems_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
756 PyObject
* _resultobj
;
757 wxControlWithItems
* _arg0
;
759 PyObject
* _arg2
= (PyObject
*) NULL
;
760 PyObject
* _argo0
= 0;
761 PyObject
* _obj1
= 0;
762 PyObject
* _obj2
= 0;
763 char *_kwnames
[] = { "self","item","clientData", NULL
};
766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxControlWithItems_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_Append. Expected _wxControlWithItems_p.");
776 #if PYTHON_API_VERSION >= 1009
777 char* tmpPtr
; int tmpSize
;
778 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
779 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
782 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
784 _arg1
= new wxString(tmpPtr
, tmpSize
);
786 if (!PyString_Check(_obj1
)) {
787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
790 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
799 wxControlWithItems_Append(_arg0
,*_arg1
,_arg2
);
801 wxPyEndAllowThreads(__tstate
);
802 if (PyErr_Occurred()) return NULL
;
803 } Py_INCREF(Py_None
);
804 _resultobj
= Py_None
;
812 static PyObject
* wxControlWithItems_GetClientData(wxControlWithItems
*self
,int n
) {
813 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
815 Py_INCREF(data
->m_obj
);
822 static PyObject
*_wrap_wxControlWithItems_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
823 PyObject
* _resultobj
;
825 wxControlWithItems
* _arg0
;
827 PyObject
* _argo0
= 0;
828 char *_kwnames
[] = { "self","n", NULL
};
831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxControlWithItems_GetClientData",_kwnames
,&_argo0
,&_arg1
))
834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_GetClientData. Expected _wxControlWithItems_p.");
841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
842 _result
= (PyObject
*)wxControlWithItems_GetClientData(_arg0
,_arg1
);
844 wxPyEndAllowThreads(__tstate
);
845 if (PyErr_Occurred()) return NULL
;
847 _resultobj
= _result
;
852 static void wxControlWithItems_SetClientData(wxControlWithItems
*self
,int n
,PyObject
* clientData
) {
853 wxPyClientData
* data
= new wxPyClientData(clientData
);
854 self
->SetClientObject(n
, data
);
856 static PyObject
*_wrap_wxControlWithItems_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
857 PyObject
* _resultobj
;
858 wxControlWithItems
* _arg0
;
861 PyObject
* _argo0
= 0;
862 PyObject
* _obj2
= 0;
863 char *_kwnames
[] = { "self","n","clientData", NULL
};
866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxControlWithItems_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxControlWithItems_p")) {
871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxControlWithItems_SetClientData. Expected _wxControlWithItems_p.");
879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
880 wxControlWithItems_SetClientData(_arg0
,_arg1
,_arg2
);
882 wxPyEndAllowThreads(__tstate
);
883 if (PyErr_Occurred()) return NULL
;
884 } Py_INCREF(Py_None
);
885 _resultobj
= Py_None
;
889 static void *SwigwxButtonTowxControl(void *ptr
) {
892 src
= (wxButton
*) ptr
;
893 dest
= (wxControl
*) src
;
894 return (void *) dest
;
897 static void *SwigwxButtonTowxWindow(void *ptr
) {
900 src
= (wxButton
*) ptr
;
901 dest
= (wxWindow
*) src
;
902 return (void *) dest
;
905 static void *SwigwxButtonTowxEvtHandler(void *ptr
) {
908 src
= (wxButton
*) ptr
;
909 dest
= (wxEvtHandler
*) src
;
910 return (void *) dest
;
913 static void *SwigwxButtonTowxObject(void *ptr
) {
916 src
= (wxButton
*) ptr
;
917 dest
= (wxObject
*) src
;
918 return (void *) dest
;
921 #define new_wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
922 static PyObject
*_wrap_new_wxButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
923 PyObject
* _resultobj
;
928 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
929 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
930 long _arg5
= (long ) 0;
931 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
932 char * _arg7
= (char *) "button";
933 PyObject
* _argo0
= 0;
934 PyObject
* _obj2
= 0;
936 PyObject
* _obj3
= 0;
938 PyObject
* _obj4
= 0;
939 PyObject
* _argo6
= 0;
940 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxButton. Expected _wxWindow_p.");
954 #if PYTHON_API_VERSION >= 1009
955 char* tmpPtr
; int tmpSize
;
956 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
957 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
960 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
962 _arg2
= new wxString(tmpPtr
, tmpSize
);
964 if (!PyString_Check(_obj2
)) {
965 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
968 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
974 if (! wxPoint_helper(_obj3
, &_arg3
))
980 if (! wxSize_helper(_obj4
, &_arg4
))
984 if (_argo6
== Py_None
) { _arg6
= NULL
; }
985 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxButton. Expected _wxValidator_p.");
991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
992 _result
= (wxButton
*)new_wxButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
994 wxPyEndAllowThreads(__tstate
);
995 if (PyErr_Occurred()) return NULL
;
997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
998 _resultobj
= Py_BuildValue("s",_ptemp
);
1001 _resultobj
= Py_None
;
1010 #define new_wxPreButton() (new wxButton())
1011 static PyObject
*_wrap_new_wxPreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1012 PyObject
* _resultobj
;
1014 char *_kwnames
[] = { NULL
};
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreButton",_kwnames
))
1021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1022 _result
= (wxButton
*)new_wxPreButton();
1024 wxPyEndAllowThreads(__tstate
);
1025 if (PyErr_Occurred()) return NULL
;
1027 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxButton_p");
1028 _resultobj
= Py_BuildValue("s",_ptemp
);
1031 _resultobj
= Py_None
;
1036 #define wxButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1037 static PyObject
*_wrap_wxButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
* _resultobj
;
1044 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1045 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1046 long _arg6
= (long ) 0;
1047 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1048 char * _arg8
= (char *) "button";
1049 PyObject
* _argo0
= 0;
1050 PyObject
* _argo1
= 0;
1051 PyObject
* _obj3
= 0;
1053 PyObject
* _obj4
= 0;
1055 PyObject
* _obj5
= 0;
1056 PyObject
* _argo7
= 0;
1057 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
1060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_Create. Expected _wxButton_p.");
1070 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1071 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxButton_Create. Expected _wxWindow_p.");
1077 #if PYTHON_API_VERSION >= 1009
1078 char* tmpPtr
; int tmpSize
;
1079 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
1080 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1083 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
1085 _arg3
= new wxString(tmpPtr
, tmpSize
);
1087 if (!PyString_Check(_obj3
)) {
1088 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1091 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
1097 if (! wxPoint_helper(_obj4
, &_arg4
))
1103 if (! wxSize_helper(_obj5
, &_arg5
))
1107 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1108 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxButton_Create. Expected _wxValidator_p.");
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 _result
= (bool )wxButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) return NULL
;
1119 } _resultobj
= Py_BuildValue("i",_result
);
1127 #define wxButton_SetDefault(_swigobj) (_swigobj->SetDefault())
1128 static PyObject
*_wrap_wxButton_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1129 PyObject
* _resultobj
;
1131 PyObject
* _argo0
= 0;
1132 char *_kwnames
[] = { "self", NULL
};
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxButton_SetDefault",_kwnames
,&_argo0
))
1138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetDefault. Expected _wxButton_p.");
1145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1146 wxButton_SetDefault(_arg0
);
1148 wxPyEndAllowThreads(__tstate
);
1149 if (PyErr_Occurred()) return NULL
;
1150 } Py_INCREF(Py_None
);
1151 _resultobj
= Py_None
;
1155 #define wxButton_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1156 static PyObject
*_wrap_wxButton_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1160 PyObject
* _argo0
= 0;
1162 PyObject
* _obj1
= 0;
1163 char *_kwnames
[] = { "self","colour", NULL
};
1166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
1169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetBackgroundColour. Expected _wxButton_p.");
1177 if (! wxColour_helper(_obj1
, &_arg1
))
1181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1182 wxButton_SetBackgroundColour(_arg0
,*_arg1
);
1184 wxPyEndAllowThreads(__tstate
);
1185 if (PyErr_Occurred()) return NULL
;
1186 } Py_INCREF(Py_None
);
1187 _resultobj
= Py_None
;
1191 #define wxButton_SetForegroundColour(_swigobj,_swigarg0) (_swigobj->SetForegroundColour(_swigarg0))
1192 static PyObject
*_wrap_wxButton_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
* _resultobj
;
1196 PyObject
* _argo0
= 0;
1198 PyObject
* _obj1
= 0;
1199 char *_kwnames
[] = { "self","colour", NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxButton_SetForegroundColour",_kwnames
,&_argo0
,&_obj1
))
1205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxButton_p")) {
1207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxButton_SetForegroundColour. Expected _wxButton_p.");
1213 if (! wxColour_helper(_obj1
, &_arg1
))
1217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1218 wxButton_SetForegroundColour(_arg0
,*_arg1
);
1220 wxPyEndAllowThreads(__tstate
);
1221 if (PyErr_Occurred()) return NULL
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1227 static PyObject
*_wrap_wxButton_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1230 char *_kwnames
[] = { NULL
};
1234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxButton_GetDefaultSize",_kwnames
))
1237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1238 _result
= new wxSize (wxButton::GetDefaultSize());
1240 wxPyEndAllowThreads(__tstate
);
1241 if (PyErr_Occurred()) return NULL
;
1242 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1243 _resultobj
= Py_BuildValue("s",_ptemp
);
1247 static void *SwigwxBitmapButtonTowxButton(void *ptr
) {
1248 wxBitmapButton
*src
;
1250 src
= (wxBitmapButton
*) ptr
;
1251 dest
= (wxButton
*) src
;
1252 return (void *) dest
;
1255 static void *SwigwxBitmapButtonTowxControl(void *ptr
) {
1256 wxBitmapButton
*src
;
1258 src
= (wxBitmapButton
*) ptr
;
1259 dest
= (wxControl
*) src
;
1260 return (void *) dest
;
1263 static void *SwigwxBitmapButtonTowxWindow(void *ptr
) {
1264 wxBitmapButton
*src
;
1266 src
= (wxBitmapButton
*) ptr
;
1267 dest
= (wxWindow
*) src
;
1268 return (void *) dest
;
1271 static void *SwigwxBitmapButtonTowxEvtHandler(void *ptr
) {
1272 wxBitmapButton
*src
;
1274 src
= (wxBitmapButton
*) ptr
;
1275 dest
= (wxEvtHandler
*) src
;
1276 return (void *) dest
;
1279 static void *SwigwxBitmapButtonTowxObject(void *ptr
) {
1280 wxBitmapButton
*src
;
1282 src
= (wxBitmapButton
*) ptr
;
1283 dest
= (wxObject
*) src
;
1284 return (void *) dest
;
1287 #define new_wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxBitmapButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1288 static PyObject
*_wrap_new_wxBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1289 PyObject
* _resultobj
;
1290 wxBitmapButton
* _result
;
1294 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1295 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1296 long _arg5
= (long ) wxBU_AUTODRAW
;
1297 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1298 char * _arg7
= (char *) "button";
1299 PyObject
* _argo0
= 0;
1300 PyObject
* _argo2
= 0;
1302 PyObject
* _obj3
= 0;
1304 PyObject
* _obj4
= 0;
1305 PyObject
* _argo6
= 0;
1306 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","validator","name", NULL
};
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxBitmapButton",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBitmapButton. Expected _wxWindow_p.");
1320 if (_argo2
== Py_None
) { _arg2
= NULL
; }
1321 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxBitmapButton. Expected _wxBitmap_p.");
1329 if (! wxPoint_helper(_obj3
, &_arg3
))
1335 if (! wxSize_helper(_obj4
, &_arg4
))
1339 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1340 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxBitmapButton. Expected _wxValidator_p.");
1346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1347 _result
= (wxBitmapButton
*)new_wxBitmapButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1349 wxPyEndAllowThreads(__tstate
);
1350 if (PyErr_Occurred()) return NULL
;
1352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1353 _resultobj
= Py_BuildValue("s",_ptemp
);
1356 _resultobj
= Py_None
;
1361 #define new_wxPreBitmapButton() (new wxBitmapButton())
1362 static PyObject
*_wrap_new_wxPreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1364 wxBitmapButton
* _result
;
1365 char *_kwnames
[] = { NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreBitmapButton",_kwnames
))
1372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1373 _result
= (wxBitmapButton
*)new_wxPreBitmapButton();
1375 wxPyEndAllowThreads(__tstate
);
1376 if (PyErr_Occurred()) return NULL
;
1378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBitmapButton_p");
1379 _resultobj
= Py_BuildValue("s",_ptemp
);
1382 _resultobj
= Py_None
;
1387 #define wxBitmapButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1388 static PyObject
*_wrap_wxBitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
* _resultobj
;
1391 wxBitmapButton
* _arg0
;
1395 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1396 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1397 long _arg6
= (long ) wxBU_AUTODRAW
;
1398 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1399 char * _arg8
= (char *) "button";
1400 PyObject
* _argo0
= 0;
1401 PyObject
* _argo1
= 0;
1402 PyObject
* _argo3
= 0;
1404 PyObject
* _obj4
= 0;
1406 PyObject
* _obj5
= 0;
1407 PyObject
* _argo7
= 0;
1408 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","validator","name", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxBitmapButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_Create. Expected _wxBitmapButton_p.");
1421 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1422 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_Create. Expected _wxWindow_p.");
1428 if (_argo3
== Py_None
) { _arg3
= NULL
; }
1429 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
1430 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxBitmapButton_Create. Expected _wxBitmap_p.");
1437 if (! wxPoint_helper(_obj4
, &_arg4
))
1443 if (! wxSize_helper(_obj5
, &_arg5
))
1447 if (_argo7
== Py_None
) { _arg7
= NULL
; }
1448 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
1449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxBitmapButton_Create. Expected _wxValidator_p.");
1454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1455 _result
= (bool )wxBitmapButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
1457 wxPyEndAllowThreads(__tstate
);
1458 if (PyErr_Occurred()) return NULL
;
1459 } _resultobj
= Py_BuildValue("i",_result
);
1463 #define wxBitmapButton_GetBitmapLabel(_swigobj) (_swigobj->GetBitmapLabel())
1464 static PyObject
*_wrap_wxBitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1467 wxBitmapButton
* _arg0
;
1468 PyObject
* _argo0
= 0;
1469 char *_kwnames
[] = { "self", NULL
};
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapLabel",_kwnames
,&_argo0
))
1476 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1477 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1478 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapLabel. Expected _wxBitmapButton_p.");
1483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1484 _result
= new wxBitmap (wxBitmapButton_GetBitmapLabel(_arg0
));
1486 wxPyEndAllowThreads(__tstate
);
1487 if (PyErr_Occurred()) return NULL
;
1488 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1489 _resultobj
= Py_BuildValue("s",_ptemp
);
1493 #define wxBitmapButton_GetBitmapDisabled(_swigobj) (_swigobj->GetBitmapDisabled())
1494 static PyObject
*_wrap_wxBitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1497 wxBitmapButton
* _arg0
;
1498 PyObject
* _argo0
= 0;
1499 char *_kwnames
[] = { "self", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapDisabled",_kwnames
,&_argo0
))
1506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapDisabled. Expected _wxBitmapButton_p.");
1513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1514 _result
= new wxBitmap (wxBitmapButton_GetBitmapDisabled(_arg0
));
1516 wxPyEndAllowThreads(__tstate
);
1517 if (PyErr_Occurred()) return NULL
;
1518 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1519 _resultobj
= Py_BuildValue("s",_ptemp
);
1523 #define wxBitmapButton_GetBitmapFocus(_swigobj) (_swigobj->GetBitmapFocus())
1524 static PyObject
*_wrap_wxBitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1527 wxBitmapButton
* _arg0
;
1528 PyObject
* _argo0
= 0;
1529 char *_kwnames
[] = { "self", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapFocus",_kwnames
,&_argo0
))
1536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapFocus. Expected _wxBitmapButton_p.");
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 _result
= new wxBitmap (wxBitmapButton_GetBitmapFocus(_arg0
));
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) return NULL
;
1548 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1549 _resultobj
= Py_BuildValue("s",_ptemp
);
1553 #define wxBitmapButton_GetBitmapSelected(_swigobj) (_swigobj->GetBitmapSelected())
1554 static PyObject
*_wrap_wxBitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1557 wxBitmapButton
* _arg0
;
1558 PyObject
* _argo0
= 0;
1559 char *_kwnames
[] = { "self", NULL
};
1563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetBitmapSelected",_kwnames
,&_argo0
))
1566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetBitmapSelected. Expected _wxBitmapButton_p.");
1573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 _result
= new wxBitmap (wxBitmapButton_GetBitmapSelected(_arg0
));
1576 wxPyEndAllowThreads(__tstate
);
1577 if (PyErr_Occurred()) return NULL
;
1578 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1579 _resultobj
= Py_BuildValue("s",_ptemp
);
1583 #define wxBitmapButton_SetBitmapDisabled(_swigobj,_swigarg0) (_swigobj->SetBitmapDisabled(_swigarg0))
1584 static PyObject
*_wrap_wxBitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1586 wxBitmapButton
* _arg0
;
1588 PyObject
* _argo0
= 0;
1589 PyObject
* _argo1
= 0;
1590 char *_kwnames
[] = { "self","bitmap", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapDisabled",_kwnames
,&_argo0
,&_argo1
))
1596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmapButton_p.");
1603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapDisabled. Expected _wxBitmap_p.");
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 wxBitmapButton_SetBitmapDisabled(_arg0
,*_arg1
);
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) return NULL
;
1615 } Py_INCREF(Py_None
);
1616 _resultobj
= Py_None
;
1620 #define wxBitmapButton_SetBitmapFocus(_swigobj,_swigarg0) (_swigobj->SetBitmapFocus(_swigarg0))
1621 static PyObject
*_wrap_wxBitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1623 wxBitmapButton
* _arg0
;
1625 PyObject
* _argo0
= 0;
1626 PyObject
* _argo1
= 0;
1627 char *_kwnames
[] = { "self","bitmap", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapFocus",_kwnames
,&_argo0
,&_argo1
))
1633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmapButton_p.");
1640 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1641 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapFocus. Expected _wxBitmap_p.");
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1648 wxBitmapButton_SetBitmapFocus(_arg0
,*_arg1
);
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) return NULL
;
1652 } Py_INCREF(Py_None
);
1653 _resultobj
= Py_None
;
1657 #define wxBitmapButton_SetBitmapSelected(_swigobj,_swigarg0) (_swigobj->SetBitmapSelected(_swigarg0))
1658 static PyObject
*_wrap_wxBitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1660 wxBitmapButton
* _arg0
;
1662 PyObject
* _argo0
= 0;
1663 PyObject
* _argo1
= 0;
1664 char *_kwnames
[] = { "self","bitmap", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapSelected",_kwnames
,&_argo0
,&_argo1
))
1670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmapButton_p.");
1677 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1678 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapSelected. Expected _wxBitmap_p.");
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1685 wxBitmapButton_SetBitmapSelected(_arg0
,*_arg1
);
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) return NULL
;
1689 } Py_INCREF(Py_None
);
1690 _resultobj
= Py_None
;
1694 #define wxBitmapButton_SetBitmapLabel(_swigobj,_swigarg0) (_swigobj->SetBitmapLabel(_swigarg0))
1695 static PyObject
*_wrap_wxBitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1696 PyObject
* _resultobj
;
1697 wxBitmapButton
* _arg0
;
1699 PyObject
* _argo0
= 0;
1700 PyObject
* _argo1
= 0;
1701 char *_kwnames
[] = { "self","bitmap", NULL
};
1704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxBitmapButton_SetBitmapLabel",_kwnames
,&_argo0
,&_argo1
))
1707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmapButton_p.");
1714 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxBitmapButton_SetBitmapLabel. Expected _wxBitmap_p.");
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 wxBitmapButton_SetBitmapLabel(_arg0
,*_arg1
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) return NULL
;
1726 } Py_INCREF(Py_None
);
1727 _resultobj
= Py_None
;
1731 #define wxBitmapButton_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
1732 static PyObject
*_wrap_wxBitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1734 wxBitmapButton
* _arg0
;
1737 PyObject
* _argo0
= 0;
1738 char *_kwnames
[] = { "self","x","y", NULL
};
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxBitmapButton_SetMargins",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_SetMargins. Expected _wxBitmapButton_p.");
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 wxBitmapButton_SetMargins(_arg0
,_arg1
,_arg2
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) return NULL
;
1756 } Py_INCREF(Py_None
);
1757 _resultobj
= Py_None
;
1761 #define wxBitmapButton_GetMarginX(_swigobj) (_swigobj->GetMarginX())
1762 static PyObject
*_wrap_wxBitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1763 PyObject
* _resultobj
;
1765 wxBitmapButton
* _arg0
;
1766 PyObject
* _argo0
= 0;
1767 char *_kwnames
[] = { "self", NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginX",_kwnames
,&_argo0
))
1773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginX. Expected _wxBitmapButton_p.");
1780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1781 _result
= (int )wxBitmapButton_GetMarginX(_arg0
);
1783 wxPyEndAllowThreads(__tstate
);
1784 if (PyErr_Occurred()) return NULL
;
1785 } _resultobj
= Py_BuildValue("i",_result
);
1789 #define wxBitmapButton_GetMarginY(_swigobj) (_swigobj->GetMarginY())
1790 static PyObject
*_wrap_wxBitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1793 wxBitmapButton
* _arg0
;
1794 PyObject
* _argo0
= 0;
1795 char *_kwnames
[] = { "self", NULL
};
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxBitmapButton_GetMarginY",_kwnames
,&_argo0
))
1801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmapButton_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBitmapButton_GetMarginY. Expected _wxBitmapButton_p.");
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1809 _result
= (int )wxBitmapButton_GetMarginY(_arg0
);
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) return NULL
;
1813 } _resultobj
= Py_BuildValue("i",_result
);
1817 static void *SwigwxCheckBoxTowxControl(void *ptr
) {
1820 src
= (wxCheckBox
*) ptr
;
1821 dest
= (wxControl
*) src
;
1822 return (void *) dest
;
1825 static void *SwigwxCheckBoxTowxWindow(void *ptr
) {
1828 src
= (wxCheckBox
*) ptr
;
1829 dest
= (wxWindow
*) src
;
1830 return (void *) dest
;
1833 static void *SwigwxCheckBoxTowxEvtHandler(void *ptr
) {
1836 src
= (wxCheckBox
*) ptr
;
1837 dest
= (wxEvtHandler
*) src
;
1838 return (void *) dest
;
1841 static void *SwigwxCheckBoxTowxObject(void *ptr
) {
1844 src
= (wxCheckBox
*) ptr
;
1845 dest
= (wxObject
*) src
;
1846 return (void *) dest
;
1849 #define new_wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxCheckBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1850 static PyObject
*_wrap_new_wxCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1852 wxCheckBox
* _result
;
1856 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
1857 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
1858 long _arg5
= (long ) 0;
1859 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
1860 char * _arg7
= (char *) "checkBox";
1861 PyObject
* _argo0
= 0;
1862 PyObject
* _obj2
= 0;
1864 PyObject
* _obj3
= 0;
1866 PyObject
* _obj4
= 0;
1867 PyObject
* _argo6
= 0;
1868 char *_kwnames
[] = { "parent","id","label","pos","size","style","val","name", NULL
};
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxCheckBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
1875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckBox. Expected _wxWindow_p.");
1882 #if PYTHON_API_VERSION >= 1009
1883 char* tmpPtr
; int tmpSize
;
1884 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
1885 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1888 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
1890 _arg2
= new wxString(tmpPtr
, tmpSize
);
1892 if (!PyString_Check(_obj2
)) {
1893 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1896 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
1902 if (! wxPoint_helper(_obj3
, &_arg3
))
1908 if (! wxSize_helper(_obj4
, &_arg4
))
1912 if (_argo6
== Py_None
) { _arg6
= NULL
; }
1913 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
1914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxCheckBox. Expected _wxValidator_p.");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 _result
= (wxCheckBox
*)new_wxCheckBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) return NULL
;
1925 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1926 _resultobj
= Py_BuildValue("s",_ptemp
);
1929 _resultobj
= Py_None
;
1938 #define new_wxPreCheckBox() (new wxCheckBox())
1939 static PyObject
*_wrap_new_wxPreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1941 wxCheckBox
* _result
;
1942 char *_kwnames
[] = { NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckBox",_kwnames
))
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 _result
= (wxCheckBox
*)new_wxPreCheckBox();
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) return NULL
;
1955 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckBox_p");
1956 _resultobj
= Py_BuildValue("s",_ptemp
);
1959 _resultobj
= Py_None
;
1964 #define wxCheckBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
1965 static PyObject
*_wrap_wxCheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1972 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
1973 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
1974 long _arg6
= (long ) 0;
1975 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
1976 char * _arg8
= (char *) "checkBox";
1977 PyObject
* _argo0
= 0;
1978 PyObject
* _argo1
= 0;
1979 PyObject
* _obj3
= 0;
1981 PyObject
* _obj4
= 0;
1983 PyObject
* _obj5
= 0;
1984 PyObject
* _argo7
= 0;
1985 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","val","name", NULL
};
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxCheckBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
1991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
1993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_Create. Expected _wxCheckBox_p.");
1998 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1999 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckBox_Create. Expected _wxWindow_p.");
2005 #if PYTHON_API_VERSION >= 1009
2006 char* tmpPtr
; int tmpSize
;
2007 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
2008 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2011 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
2013 _arg3
= new wxString(tmpPtr
, tmpSize
);
2015 if (!PyString_Check(_obj3
)) {
2016 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2019 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
2025 if (! wxPoint_helper(_obj4
, &_arg4
))
2031 if (! wxSize_helper(_obj5
, &_arg5
))
2035 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2036 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxCheckBox_Create. Expected _wxValidator_p.");
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 _result
= (bool )wxCheckBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) return NULL
;
2047 } _resultobj
= Py_BuildValue("i",_result
);
2055 #define wxCheckBox_GetValue(_swigobj) (_swigobj->GetValue())
2056 static PyObject
*_wrap_wxCheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2057 PyObject
* _resultobj
;
2060 PyObject
* _argo0
= 0;
2061 char *_kwnames
[] = { "self", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckBox_GetValue",_kwnames
,&_argo0
))
2067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_GetValue. Expected _wxCheckBox_p.");
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 _result
= (bool )wxCheckBox_GetValue(_arg0
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) return NULL
;
2079 } _resultobj
= Py_BuildValue("i",_result
);
2083 #define wxCheckBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
2084 static PyObject
*_wrap_wxCheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2085 PyObject
* _resultobj
;
2088 PyObject
* _argo0
= 0;
2090 char *_kwnames
[] = { "self","state", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckBox_SetValue",_kwnames
,&_argo0
,&tempbool1
))
2096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckBox_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckBox_SetValue. Expected _wxCheckBox_p.");
2102 _arg1
= (bool ) tempbool1
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 wxCheckBox_SetValue(_arg0
,_arg1
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) return NULL
;
2109 } Py_INCREF(Py_None
);
2110 _resultobj
= Py_None
;
2114 static void *SwigwxChoiceTowxControlWithItems(void *ptr
) {
2116 wxControlWithItems
*dest
;
2117 src
= (wxChoice
*) ptr
;
2118 dest
= (wxControlWithItems
*) src
;
2119 return (void *) dest
;
2122 static void *SwigwxChoiceTowxControl(void *ptr
) {
2125 src
= (wxChoice
*) ptr
;
2126 dest
= (wxControl
*) src
;
2127 return (void *) dest
;
2130 static void *SwigwxChoiceTowxWindow(void *ptr
) {
2133 src
= (wxChoice
*) ptr
;
2134 dest
= (wxWindow
*) src
;
2135 return (void *) dest
;
2138 static void *SwigwxChoiceTowxEvtHandler(void *ptr
) {
2141 src
= (wxChoice
*) ptr
;
2142 dest
= (wxEvtHandler
*) src
;
2143 return (void *) dest
;
2146 static void *SwigwxChoiceTowxObject(void *ptr
) {
2149 src
= (wxChoice
*) ptr
;
2150 dest
= (wxObject
*) src
;
2151 return (void *) dest
;
2154 #define new_wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxChoice(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2155 static PyObject
*_wrap_new_wxChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2156 PyObject
* _resultobj
;
2160 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
2161 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
2162 int _arg4
= (int ) 0;
2163 wxString
* _arg5
= (wxString
*) NULL
;
2164 long _arg6
= (long ) 0;
2165 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
2166 char * _arg8
= (char *) "choice";
2167 PyObject
* _argo0
= 0;
2169 PyObject
* _obj2
= 0;
2171 PyObject
* _obj3
= 0;
2172 PyObject
* _obj5
= 0;
2173 PyObject
* _argo7
= 0;
2174 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxChoice",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
2181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxChoice. Expected _wxWindow_p.");
2190 if (! wxPoint_helper(_obj2
, &_arg2
))
2196 if (! wxSize_helper(_obj3
, &_arg3
))
2201 _arg5
= wxString_LIST_helper(_obj5
);
2202 if (_arg5
== NULL
) {
2207 if (_argo7
== Py_None
) { _arg7
= NULL
; }
2208 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
2209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxChoice. Expected _wxValidator_p.");
2215 _arg4
= PyList_Size(_obj5
);
2222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2223 _result
= (wxChoice
*)new_wxChoice(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
2225 wxPyEndAllowThreads(__tstate
);
2226 if (PyErr_Occurred()) return NULL
;
2228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2229 _resultobj
= Py_BuildValue("s",_ptemp
);
2232 _resultobj
= Py_None
;
2240 #define new_wxPreChoice() (new wxChoice())
2241 static PyObject
*_wrap_new_wxPreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2242 PyObject
* _resultobj
;
2244 char *_kwnames
[] = { NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreChoice",_kwnames
))
2251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2252 _result
= (wxChoice
*)new_wxPreChoice();
2254 wxPyEndAllowThreads(__tstate
);
2255 if (PyErr_Occurred()) return NULL
;
2257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxChoice_p");
2258 _resultobj
= Py_BuildValue("s",_ptemp
);
2261 _resultobj
= Py_None
;
2266 #define wxChoice_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
2267 static PyObject
*_wrap_wxChoice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2273 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2274 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2275 int _arg5
= (int ) 0;
2276 wxString
* _arg6
= (wxString
*) NULL
;
2277 long _arg7
= (long ) 0;
2278 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2279 char * _arg9
= (char *) "choice";
2280 PyObject
* _argo0
= 0;
2281 PyObject
* _argo1
= 0;
2283 PyObject
* _obj3
= 0;
2285 PyObject
* _obj4
= 0;
2286 PyObject
* _obj6
= 0;
2287 PyObject
* _argo8
= 0;
2288 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxChoice_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Create. Expected _wxChoice_p.");
2301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxChoice_Create. Expected _wxWindow_p.");
2310 if (! wxPoint_helper(_obj3
, &_arg3
))
2316 if (! wxSize_helper(_obj4
, &_arg4
))
2321 _arg6
= wxString_LIST_helper(_obj6
);
2322 if (_arg6
== NULL
) {
2327 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2328 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxChoice_Create. Expected _wxValidator_p.");
2335 _arg5
= PyList_Size(_obj6
);
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2343 _result
= (bool )wxChoice_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) return NULL
;
2347 } _resultobj
= Py_BuildValue("i",_result
);
2354 #define wxChoice_Clear(_swigobj) (_swigobj->Clear())
2355 static PyObject
*_wrap_wxChoice_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
* _resultobj
;
2358 PyObject
* _argo0
= 0;
2359 char *_kwnames
[] = { "self", NULL
};
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_Clear",_kwnames
,&_argo0
))
2365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_Clear. Expected _wxChoice_p.");
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 wxChoice_Clear(_arg0
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) return NULL
;
2377 } Py_INCREF(Py_None
);
2378 _resultobj
= Py_None
;
2382 #define wxChoice_GetColumns(_swigobj) (_swigobj->GetColumns())
2383 static PyObject
*_wrap_wxChoice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2387 PyObject
* _argo0
= 0;
2388 char *_kwnames
[] = { "self", NULL
};
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxChoice_GetColumns",_kwnames
,&_argo0
))
2394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_GetColumns. Expected _wxChoice_p.");
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 _result
= (int )wxChoice_GetColumns(_arg0
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) return NULL
;
2406 } _resultobj
= Py_BuildValue("i",_result
);
2410 #define wxChoice_SetColumns(_swigobj,_swigarg0) (_swigobj->SetColumns(_swigarg0))
2411 static PyObject
*_wrap_wxChoice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2414 int _arg1
= (int ) 1;
2415 PyObject
* _argo0
= 0;
2416 char *_kwnames
[] = { "self","n", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxChoice_SetColumns",_kwnames
,&_argo0
,&_arg1
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetColumns. Expected _wxChoice_p.");
2429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2430 wxChoice_SetColumns(_arg0
,_arg1
);
2432 wxPyEndAllowThreads(__tstate
);
2433 if (PyErr_Occurred()) return NULL
;
2434 } Py_INCREF(Py_None
);
2435 _resultobj
= Py_None
;
2439 #define wxChoice_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
2440 static PyObject
*_wrap_wxChoice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2444 PyObject
* _argo0
= 0;
2445 char *_kwnames
[] = { "self","n", NULL
};
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxChoice_SetSelection",_kwnames
,&_argo0
,&_arg1
))
2451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetSelection. Expected _wxChoice_p.");
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 wxChoice_SetSelection(_arg0
,_arg1
);
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) return NULL
;
2463 } Py_INCREF(Py_None
);
2464 _resultobj
= Py_None
;
2468 #define wxChoice_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
2469 static PyObject
*_wrap_wxChoice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
* _resultobj
;
2473 PyObject
* _argo0
= 0;
2474 PyObject
* _obj1
= 0;
2475 char *_kwnames
[] = { "self","string", NULL
};
2478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxChoice_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
2481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetStringSelection. Expected _wxChoice_p.");
2488 #if PYTHON_API_VERSION >= 1009
2489 char* tmpPtr
; int tmpSize
;
2490 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2494 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2496 _arg1
= new wxString(tmpPtr
, tmpSize
);
2498 if (!PyString_Check(_obj1
)) {
2499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2502 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 wxChoice_SetStringSelection(_arg0
,*_arg1
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) return NULL
;
2511 } Py_INCREF(Py_None
);
2512 _resultobj
= Py_None
;
2520 #define wxChoice_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
2521 static PyObject
*_wrap_wxChoice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2522 PyObject
* _resultobj
;
2526 PyObject
* _argo0
= 0;
2527 PyObject
* _obj2
= 0;
2528 char *_kwnames
[] = { "self","n","s", NULL
};
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxChoice_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
2534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxChoice_p")) {
2536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxChoice_SetString. Expected _wxChoice_p.");
2541 #if PYTHON_API_VERSION >= 1009
2542 char* tmpPtr
; int tmpSize
;
2543 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
2544 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2547 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
2549 _arg2
= new wxString(tmpPtr
, tmpSize
);
2551 if (!PyString_Check(_obj2
)) {
2552 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2555 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 wxChoice_SetString(_arg0
,_arg1
,*_arg2
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) return NULL
;
2564 } Py_INCREF(Py_None
);
2565 _resultobj
= Py_None
;
2573 static void *SwigwxComboBoxTowxControl(void *ptr
) {
2576 src
= (wxComboBox
*) ptr
;
2577 dest
= (wxControl
*) src
;
2578 return (void *) dest
;
2581 static void *SwigwxComboBoxTowxWindow(void *ptr
) {
2584 src
= (wxComboBox
*) ptr
;
2585 dest
= (wxWindow
*) src
;
2586 return (void *) dest
;
2589 static void *SwigwxComboBoxTowxEvtHandler(void *ptr
) {
2592 src
= (wxComboBox
*) ptr
;
2593 dest
= (wxEvtHandler
*) src
;
2594 return (void *) dest
;
2597 static void *SwigwxComboBoxTowxObject(void *ptr
) {
2600 src
= (wxComboBox
*) ptr
;
2601 dest
= (wxObject
*) src
;
2602 return (void *) dest
;
2605 #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))
2606 static PyObject
*_wrap_new_wxComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2607 PyObject
* _resultobj
;
2608 wxComboBox
* _result
;
2611 char * _arg2
= (char *) "";
2612 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
2613 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
2614 int _arg5
= (int ) 0;
2615 wxString
* _arg6
= (wxString
*) NULL
;
2616 long _arg7
= (long ) 0;
2617 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
2618 char * _arg9
= (char *) "comboBox";
2619 PyObject
* _argo0
= 0;
2621 PyObject
* _obj3
= 0;
2623 PyObject
* _obj4
= 0;
2624 PyObject
* _obj6
= 0;
2625 PyObject
* _argo8
= 0;
2626 char *_kwnames
[] = { "parent","id","value","pos","size","choices","style","validator","name", NULL
};
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOOlOs:new_wxComboBox",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
2633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxComboBox. Expected _wxWindow_p.");
2642 if (! wxPoint_helper(_obj3
, &_arg3
))
2648 if (! wxSize_helper(_obj4
, &_arg4
))
2653 _arg6
= wxString_LIST_helper(_obj6
);
2654 if (_arg6
== NULL
) {
2659 if (_argo8
== Py_None
) { _arg8
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxComboBox. Expected _wxValidator_p.");
2667 _arg5
= PyList_Size(_obj6
);
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 _result
= (wxComboBox
*)new_wxComboBox(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) return NULL
;
2680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2681 _resultobj
= Py_BuildValue("s",_ptemp
);
2684 _resultobj
= Py_None
;
2692 #define new_wxPreComboBox() (new wxComboBox())
2693 static PyObject
*_wrap_new_wxPreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
* _resultobj
;
2695 wxComboBox
* _result
;
2696 char *_kwnames
[] = { NULL
};
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreComboBox",_kwnames
))
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2704 _result
= (wxComboBox
*)new_wxPreComboBox();
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) return NULL
;
2709 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxComboBox_p");
2710 _resultobj
= Py_BuildValue("s",_ptemp
);
2713 _resultobj
= Py_None
;
2718 #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))
2719 static PyObject
*_wrap_wxComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2725 char * _arg3
= (char *) "";
2726 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
2727 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
2728 int _arg6
= (int ) 0;
2729 wxString
* _arg7
= (wxString
*) NULL
;
2730 long _arg8
= (long ) 0;
2731 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
2732 char * _arg10
= (char *) "comboBox";
2733 PyObject
* _argo0
= 0;
2734 PyObject
* _argo1
= 0;
2736 PyObject
* _obj4
= 0;
2738 PyObject
* _obj5
= 0;
2739 PyObject
* _obj7
= 0;
2740 PyObject
* _argo9
= 0;
2741 char *_kwnames
[] = { "self","parent","id","value","pos","size","choices","style","validator","name", NULL
};
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOOlOs:wxComboBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
2747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Create. Expected _wxComboBox_p.");
2754 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxComboBox_Create. Expected _wxWindow_p.");
2763 if (! wxPoint_helper(_obj4
, &_arg4
))
2769 if (! wxSize_helper(_obj5
, &_arg5
))
2774 _arg7
= wxString_LIST_helper(_obj7
);
2775 if (_arg7
== NULL
) {
2780 if (_argo9
== Py_None
) { _arg9
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxComboBox_Create. Expected _wxValidator_p.");
2788 _arg6
= PyList_Size(_obj7
);
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 _result
= (bool )wxComboBox_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) return NULL
;
2800 } _resultobj
= Py_BuildValue("i",_result
);
2807 #define wxComboBox_Copy(_swigobj) (_swigobj->Copy())
2808 static PyObject
*_wrap_wxComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2811 PyObject
* _argo0
= 0;
2812 char *_kwnames
[] = { "self", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Copy",_kwnames
,&_argo0
))
2818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Copy. Expected _wxComboBox_p.");
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 wxComboBox_Copy(_arg0
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) return NULL
;
2830 } Py_INCREF(Py_None
);
2831 _resultobj
= Py_None
;
2835 #define wxComboBox_Cut(_swigobj) (_swigobj->Cut())
2836 static PyObject
*_wrap_wxComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
* _resultobj
;
2839 PyObject
* _argo0
= 0;
2840 char *_kwnames
[] = { "self", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Cut",_kwnames
,&_argo0
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Cut. Expected _wxComboBox_p.");
2853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2854 wxComboBox_Cut(_arg0
);
2856 wxPyEndAllowThreads(__tstate
);
2857 if (PyErr_Occurred()) return NULL
;
2858 } Py_INCREF(Py_None
);
2859 _resultobj
= Py_None
;
2863 #define wxComboBox_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
2864 static PyObject
*_wrap_wxComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
* _resultobj
;
2868 PyObject
* _argo0
= 0;
2869 char *_kwnames
[] = { "self", NULL
};
2872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetInsertionPoint",_kwnames
,&_argo0
))
2875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetInsertionPoint. Expected _wxComboBox_p.");
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 _result
= (long )wxComboBox_GetInsertionPoint(_arg0
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) return NULL
;
2887 } _resultobj
= Py_BuildValue("l",_result
);
2891 #define wxComboBox_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
2892 static PyObject
*_wrap_wxComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2896 PyObject
* _argo0
= 0;
2897 char *_kwnames
[] = { "self", NULL
};
2900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetLastPosition",_kwnames
,&_argo0
))
2903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetLastPosition. Expected _wxComboBox_p.");
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 _result
= (long )wxComboBox_GetLastPosition(_arg0
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) return NULL
;
2915 } _resultobj
= Py_BuildValue("l",_result
);
2919 #define wxComboBox_GetValue(_swigobj) (_swigobj->GetValue())
2920 static PyObject
*_wrap_wxComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
* _resultobj
;
2924 PyObject
* _argo0
= 0;
2925 char *_kwnames
[] = { "self", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetValue",_kwnames
,&_argo0
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetValue. Expected _wxComboBox_p.");
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 _result
= new wxString (wxComboBox_GetValue(_arg0
));
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) return NULL
;
2944 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2952 #define wxComboBox_Paste(_swigobj) (_swigobj->Paste())
2953 static PyObject
*_wrap_wxComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2956 PyObject
* _argo0
= 0;
2957 char *_kwnames
[] = { "self", NULL
};
2960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Paste",_kwnames
,&_argo0
))
2963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Paste. Expected _wxComboBox_p.");
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 wxComboBox_Paste(_arg0
);
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) return NULL
;
2975 } Py_INCREF(Py_None
);
2976 _resultobj
= Py_None
;
2980 #define wxComboBox_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
2981 static PyObject
*_wrap_wxComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2987 PyObject
* _argo0
= 0;
2988 PyObject
* _obj3
= 0;
2989 char *_kwnames
[] = { "self","from","to","text", NULL
};
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxComboBox_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
2995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
2997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Replace. Expected _wxComboBox_p.");
3002 #if PYTHON_API_VERSION >= 1009
3003 char* tmpPtr
; int tmpSize
;
3004 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
3005 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3008 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
3010 _arg3
= new wxString(tmpPtr
, tmpSize
);
3012 if (!PyString_Check(_obj3
)) {
3013 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3016 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 wxComboBox_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) return NULL
;
3025 } Py_INCREF(Py_None
);
3026 _resultobj
= Py_None
;
3034 #define wxComboBox_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
3035 static PyObject
*_wrap_wxComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3036 PyObject
* _resultobj
;
3040 PyObject
* _argo0
= 0;
3041 char *_kwnames
[] = { "self","from","to", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
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_Remove. Expected _wxComboBox_p.");
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 wxComboBox_Remove(_arg0
,_arg1
,_arg2
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) return NULL
;
3059 } Py_INCREF(Py_None
);
3060 _resultobj
= Py_None
;
3064 #define wxComboBox_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
3065 static PyObject
*_wrap_wxComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
* _resultobj
;
3069 PyObject
* _argo0
= 0;
3070 char *_kwnames
[] = { "self","pos", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxComboBox_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPoint. Expected _wxComboBox_p.");
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 wxComboBox_SetInsertionPoint(_arg0
,_arg1
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) return NULL
;
3088 } Py_INCREF(Py_None
);
3089 _resultobj
= Py_None
;
3093 #define wxComboBox_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
3094 static PyObject
*_wrap_wxComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
* _resultobj
;
3097 PyObject
* _argo0
= 0;
3098 char *_kwnames
[] = { "self", NULL
};
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_SetInsertionPointEnd",_kwnames
,&_argo0
))
3104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetInsertionPointEnd. Expected _wxComboBox_p.");
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 wxComboBox_SetInsertionPointEnd(_arg0
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) return NULL
;
3116 } Py_INCREF(Py_None
);
3117 _resultobj
= Py_None
;
3121 #define wxComboBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
3122 static PyObject
*_wrap_wxComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
* _resultobj
;
3126 PyObject
* _argo0
= 0;
3127 char *_kwnames
[] = { "self","n", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetSelection. Expected _wxComboBox_p.");
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 wxComboBox_SetSelection(_arg0
,_arg1
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) return NULL
;
3145 } Py_INCREF(Py_None
);
3146 _resultobj
= Py_None
;
3150 #define wxComboBox_SetMark(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
3151 static PyObject
*_wrap_wxComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
* _resultobj
;
3156 PyObject
* _argo0
= 0;
3157 char *_kwnames
[] = { "self","from","to", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxComboBox_SetMark",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetMark. Expected _wxComboBox_p.");
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 wxComboBox_SetMark(_arg0
,_arg1
,_arg2
);
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) return NULL
;
3175 } Py_INCREF(Py_None
);
3176 _resultobj
= Py_None
;
3180 #define wxComboBox_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
3181 static PyObject
*_wrap_wxComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
* _resultobj
;
3185 PyObject
* _argo0
= 0;
3186 PyObject
* _obj1
= 0;
3187 char *_kwnames
[] = { "self","text", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_SetValue",_kwnames
,&_argo0
,&_obj1
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetValue. Expected _wxComboBox_p.");
3200 #if PYTHON_API_VERSION >= 1009
3201 char* tmpPtr
; int tmpSize
;
3202 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3203 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3206 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3208 _arg1
= new wxString(tmpPtr
, tmpSize
);
3210 if (!PyString_Check(_obj1
)) {
3211 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3214 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 wxComboBox_SetValue(_arg0
,*_arg1
);
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) return NULL
;
3223 } Py_INCREF(Py_None
);
3224 _resultobj
= Py_None
;
3232 #define wxComboBox_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
3233 static PyObject
*_wrap_wxComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3234 PyObject
* _resultobj
;
3237 PyObject
* _argo0
= 0;
3239 char *_kwnames
[] = { "self","editable", NULL
};
3242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
3245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetEditable. Expected _wxComboBox_p.");
3251 _arg1
= (bool ) tempbool1
;
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 wxComboBox_SetEditable(_arg0
,_arg1
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) return NULL
;
3258 } Py_INCREF(Py_None
);
3259 _resultobj
= Py_None
;
3263 #define wxComboBox_Clear(_swigobj) (_swigobj->Clear())
3264 static PyObject
*_wrap_wxComboBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3267 PyObject
* _argo0
= 0;
3268 char *_kwnames
[] = { "self", NULL
};
3271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_Clear",_kwnames
,&_argo0
))
3274 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3275 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3276 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Clear. Expected _wxComboBox_p.");
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 wxComboBox_Clear(_arg0
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) return NULL
;
3286 } Py_INCREF(Py_None
);
3287 _resultobj
= Py_None
;
3291 #define wxComboBox_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3292 static PyObject
*_wrap_wxComboBox_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self","n", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_Delete",_kwnames
,&_argo0
,&_arg1
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Delete. Expected _wxComboBox_p.");
3310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3311 wxComboBox_Delete(_arg0
,_arg1
);
3313 wxPyEndAllowThreads(__tstate
);
3314 if (PyErr_Occurred()) return NULL
;
3315 } Py_INCREF(Py_None
);
3316 _resultobj
= Py_None
;
3320 #define wxComboBox_GetCount(_swigobj) (_swigobj->GetCount())
3321 static PyObject
*_wrap_wxComboBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
* _resultobj
;
3325 PyObject
* _argo0
= 0;
3326 char *_kwnames
[] = { "self", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetCount",_kwnames
,&_argo0
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetCount. Expected _wxComboBox_p.");
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 _result
= (int )wxComboBox_GetCount(_arg0
);
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) return NULL
;
3344 } _resultobj
= Py_BuildValue("i",_result
);
3348 #define wxComboBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
3349 static PyObject
*_wrap_wxComboBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3350 PyObject
* _resultobj
;
3354 PyObject
* _argo0
= 0;
3355 char *_kwnames
[] = { "self","n", NULL
};
3358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetString",_kwnames
,&_argo0
,&_arg1
))
3361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetString. Expected _wxComboBox_p.");
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 _result
= new wxString (wxComboBox_GetString(_arg0
,_arg1
));
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) return NULL
;
3374 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3382 #define wxComboBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
3383 static PyObject
*_wrap_wxComboBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3388 PyObject
* _argo0
= 0;
3389 PyObject
* _obj1
= 0;
3390 char *_kwnames
[] = { "self","s", NULL
};
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxComboBox_FindString",_kwnames
,&_argo0
,&_obj1
))
3396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_FindString. Expected _wxComboBox_p.");
3403 #if PYTHON_API_VERSION >= 1009
3404 char* tmpPtr
; int tmpSize
;
3405 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3406 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3409 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3411 _arg1
= new wxString(tmpPtr
, tmpSize
);
3413 if (!PyString_Check(_obj1
)) {
3414 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3417 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 _result
= (int )wxComboBox_FindString(_arg0
,*_arg1
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) return NULL
;
3426 } _resultobj
= Py_BuildValue("i",_result
);
3434 #define wxComboBox_GetSelection(_swigobj) (_swigobj->GetSelection())
3435 static PyObject
*_wrap_wxComboBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
* _resultobj
;
3439 PyObject
* _argo0
= 0;
3440 char *_kwnames
[] = { "self", NULL
};
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetSelection",_kwnames
,&_argo0
))
3446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetSelection. Expected _wxComboBox_p.");
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 _result
= (int )wxComboBox_GetSelection(_arg0
);
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) return NULL
;
3458 } _resultobj
= Py_BuildValue("i",_result
);
3462 #define wxComboBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
3463 static PyObject
*_wrap_wxComboBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
* _resultobj
;
3467 PyObject
* _argo0
= 0;
3468 char *_kwnames
[] = { "self", NULL
};
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxComboBox_GetStringSelection",_kwnames
,&_argo0
))
3474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetStringSelection. Expected _wxComboBox_p.");
3481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3482 _result
= new wxString (wxComboBox_GetStringSelection(_arg0
));
3484 wxPyEndAllowThreads(__tstate
);
3485 if (PyErr_Occurred()) return NULL
;
3487 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3495 static void wxComboBox_Append(wxComboBox
*self
,const wxString
& item
,PyObject
* clientData
) {
3497 wxPyClientData
* data
= new wxPyClientData(clientData
);
3498 self
->Append(item
, data
);
3502 static PyObject
*_wrap_wxComboBox_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
* _resultobj
;
3506 PyObject
* _arg2
= (PyObject
*) NULL
;
3507 PyObject
* _argo0
= 0;
3508 PyObject
* _obj1
= 0;
3509 PyObject
* _obj2
= 0;
3510 char *_kwnames
[] = { "self","item","clientData", NULL
};
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxComboBox_Append",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_Append. Expected _wxComboBox_p.");
3523 #if PYTHON_API_VERSION >= 1009
3524 char* tmpPtr
; int tmpSize
;
3525 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
3526 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3529 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
3531 _arg1
= new wxString(tmpPtr
, tmpSize
);
3533 if (!PyString_Check(_obj1
)) {
3534 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3537 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 wxComboBox_Append(_arg0
,*_arg1
,_arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) return NULL
;
3550 } Py_INCREF(Py_None
);
3551 _resultobj
= Py_None
;
3559 static PyObject
* wxComboBox_GetClientData(wxComboBox
*self
,int n
) {
3560 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3562 Py_INCREF(data
->m_obj
);
3569 static PyObject
*_wrap_wxComboBox_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3574 PyObject
* _argo0
= 0;
3575 char *_kwnames
[] = { "self","n", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxComboBox_GetClientData",_kwnames
,&_argo0
,&_arg1
))
3581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_GetClientData. Expected _wxComboBox_p.");
3588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3589 _result
= (PyObject
*)wxComboBox_GetClientData(_arg0
,_arg1
);
3591 wxPyEndAllowThreads(__tstate
);
3592 if (PyErr_Occurred()) return NULL
;
3594 _resultobj
= _result
;
3599 static void wxComboBox_SetClientData(wxComboBox
*self
,int n
,PyObject
* clientData
) {
3600 wxPyClientData
* data
= new wxPyClientData(clientData
);
3601 self
->SetClientObject(n
, data
);
3603 static PyObject
*_wrap_wxComboBox_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
* _resultobj
;
3608 PyObject
* _argo0
= 0;
3609 PyObject
* _obj2
= 0;
3610 char *_kwnames
[] = { "self","n","clientData", NULL
};
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxComboBox_SetClientData",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
3616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxComboBox_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxComboBox_SetClientData. Expected _wxComboBox_p.");
3626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3627 wxComboBox_SetClientData(_arg0
,_arg1
,_arg2
);
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) return NULL
;
3631 } Py_INCREF(Py_None
);
3632 _resultobj
= Py_None
;
3636 static void *SwigwxGaugeTowxControl(void *ptr
) {
3639 src
= (wxGauge
*) ptr
;
3640 dest
= (wxControl
*) src
;
3641 return (void *) dest
;
3644 static void *SwigwxGaugeTowxWindow(void *ptr
) {
3647 src
= (wxGauge
*) ptr
;
3648 dest
= (wxWindow
*) src
;
3649 return (void *) dest
;
3652 static void *SwigwxGaugeTowxEvtHandler(void *ptr
) {
3655 src
= (wxGauge
*) ptr
;
3656 dest
= (wxEvtHandler
*) src
;
3657 return (void *) dest
;
3660 static void *SwigwxGaugeTowxObject(void *ptr
) {
3663 src
= (wxGauge
*) ptr
;
3664 dest
= (wxObject
*) src
;
3665 return (void *) dest
;
3668 #define new_wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGauge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3669 static PyObject
*_wrap_new_wxGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
* _resultobj
;
3675 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
3676 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
3677 long _arg5
= (long ) wxGA_HORIZONTAL
;
3678 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
3679 char * _arg7
= (char *) "gauge";
3680 PyObject
* _argo0
= 0;
3682 PyObject
* _obj3
= 0;
3684 PyObject
* _obj4
= 0;
3685 PyObject
* _argo6
= 0;
3686 char *_kwnames
[] = { "parent","id","range","pos","size","style","validator","name", NULL
};
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii|OOlOs:new_wxGauge",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
3693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGauge. Expected _wxWindow_p.");
3702 if (! wxPoint_helper(_obj3
, &_arg3
))
3708 if (! wxSize_helper(_obj4
, &_arg4
))
3712 if (_argo6
== Py_None
) { _arg6
= NULL
; }
3713 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
3714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxGauge. Expected _wxValidator_p.");
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 _result
= (wxGauge
*)new_wxGauge(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) return NULL
;
3725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3726 _resultobj
= Py_BuildValue("s",_ptemp
);
3729 _resultobj
= Py_None
;
3734 #define new_wxPreGauge() (new wxGauge())
3735 static PyObject
*_wrap_new_wxPreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
* _resultobj
;
3738 char *_kwnames
[] = { NULL
};
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreGauge",_kwnames
))
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 _result
= (wxGauge
*)new_wxPreGauge();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) return NULL
;
3751 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGauge_p");
3752 _resultobj
= Py_BuildValue("s",_ptemp
);
3755 _resultobj
= Py_None
;
3760 #define wxGauge_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
3761 static PyObject
*_wrap_wxGauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3768 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
3769 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
3770 long _arg6
= (long ) wxGA_HORIZONTAL
;
3771 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
3772 char * _arg8
= (char *) "gauge";
3773 PyObject
* _argo0
= 0;
3774 PyObject
* _argo1
= 0;
3776 PyObject
* _obj4
= 0;
3778 PyObject
* _obj5
= 0;
3779 PyObject
* _argo7
= 0;
3780 char *_kwnames
[] = { "self","parent","id","range","pos","size","style","validator","name", NULL
};
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOii|OOlOs:wxGauge_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
3786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_Create. Expected _wxGauge_p.");
3793 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3794 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
3795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxGauge_Create. Expected _wxWindow_p.");
3802 if (! wxPoint_helper(_obj4
, &_arg4
))
3808 if (! wxSize_helper(_obj5
, &_arg5
))
3812 if (_argo7
== Py_None
) { _arg7
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxGauge_Create. Expected _wxValidator_p.");
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 _result
= (bool )wxGauge_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) return NULL
;
3824 } _resultobj
= Py_BuildValue("i",_result
);
3828 #define wxGauge_GetBezelFace(_swigobj) (_swigobj->GetBezelFace())
3829 static PyObject
*_wrap_wxGauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
* _resultobj
;
3833 PyObject
* _argo0
= 0;
3834 char *_kwnames
[] = { "self", NULL
};
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetBezelFace",_kwnames
,&_argo0
))
3840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetBezelFace. Expected _wxGauge_p.");
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 _result
= (int )wxGauge_GetBezelFace(_arg0
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) return NULL
;
3852 } _resultobj
= Py_BuildValue("i",_result
);
3856 #define wxGauge_GetRange(_swigobj) (_swigobj->GetRange())
3857 static PyObject
*_wrap_wxGauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
* _resultobj
;
3861 PyObject
* _argo0
= 0;
3862 char *_kwnames
[] = { "self", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetRange",_kwnames
,&_argo0
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetRange. Expected _wxGauge_p.");
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 _result
= (int )wxGauge_GetRange(_arg0
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) return NULL
;
3880 } _resultobj
= Py_BuildValue("i",_result
);
3884 #define wxGauge_GetShadowWidth(_swigobj) (_swigobj->GetShadowWidth())
3885 static PyObject
*_wrap_wxGauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
* _resultobj
;
3889 PyObject
* _argo0
= 0;
3890 char *_kwnames
[] = { "self", NULL
};
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetShadowWidth",_kwnames
,&_argo0
))
3896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetShadowWidth. Expected _wxGauge_p.");
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 _result
= (int )wxGauge_GetShadowWidth(_arg0
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) return NULL
;
3908 } _resultobj
= Py_BuildValue("i",_result
);
3912 #define wxGauge_GetValue(_swigobj) (_swigobj->GetValue())
3913 static PyObject
*_wrap_wxGauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
* _resultobj
;
3917 PyObject
* _argo0
= 0;
3918 char *_kwnames
[] = { "self", NULL
};
3921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGauge_GetValue",_kwnames
,&_argo0
))
3924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_GetValue. Expected _wxGauge_p.");
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 _result
= (int )wxGauge_GetValue(_arg0
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) return NULL
;
3936 } _resultobj
= Py_BuildValue("i",_result
);
3940 #define wxGauge_SetBezelFace(_swigobj,_swigarg0) (_swigobj->SetBezelFace(_swigarg0))
3941 static PyObject
*_wrap_wxGauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
* _resultobj
;
3945 PyObject
* _argo0
= 0;
3946 char *_kwnames
[] = { "self","width", NULL
};
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetBezelFace",_kwnames
,&_argo0
,&_arg1
))
3952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetBezelFace. Expected _wxGauge_p.");
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 wxGauge_SetBezelFace(_arg0
,_arg1
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) return NULL
;
3964 } Py_INCREF(Py_None
);
3965 _resultobj
= Py_None
;
3969 #define wxGauge_SetRange(_swigobj,_swigarg0) (_swigobj->SetRange(_swigarg0))
3970 static PyObject
*_wrap_wxGauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "self","range", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetRange",_kwnames
,&_argo0
,&_arg1
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetRange. Expected _wxGauge_p.");
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 wxGauge_SetRange(_arg0
,_arg1
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) return NULL
;
3993 } Py_INCREF(Py_None
);
3994 _resultobj
= Py_None
;
3998 #define wxGauge_SetShadowWidth(_swigobj,_swigarg0) (_swigobj->SetShadowWidth(_swigarg0))
3999 static PyObject
*_wrap_wxGauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4003 PyObject
* _argo0
= 0;
4004 char *_kwnames
[] = { "self","width", NULL
};
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetShadowWidth",_kwnames
,&_argo0
,&_arg1
))
4010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetShadowWidth. Expected _wxGauge_p.");
4017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 wxGauge_SetShadowWidth(_arg0
,_arg1
);
4020 wxPyEndAllowThreads(__tstate
);
4021 if (PyErr_Occurred()) return NULL
;
4022 } Py_INCREF(Py_None
);
4023 _resultobj
= Py_None
;
4027 #define wxGauge_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
4028 static PyObject
*_wrap_wxGauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
* _resultobj
;
4032 PyObject
* _argo0
= 0;
4033 char *_kwnames
[] = { "self","pos", NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxGauge_SetValue",_kwnames
,&_argo0
,&_arg1
))
4039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGauge_p")) {
4041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGauge_SetValue. Expected _wxGauge_p.");
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 wxGauge_SetValue(_arg0
,_arg1
);
4049 wxPyEndAllowThreads(__tstate
);
4050 if (PyErr_Occurred()) return NULL
;
4051 } Py_INCREF(Py_None
);
4052 _resultobj
= Py_None
;
4056 static void *SwigwxStaticBoxTowxControl(void *ptr
) {
4059 src
= (wxStaticBox
*) ptr
;
4060 dest
= (wxControl
*) src
;
4061 return (void *) dest
;
4064 static void *SwigwxStaticBoxTowxWindow(void *ptr
) {
4067 src
= (wxStaticBox
*) ptr
;
4068 dest
= (wxWindow
*) src
;
4069 return (void *) dest
;
4072 static void *SwigwxStaticBoxTowxEvtHandler(void *ptr
) {
4075 src
= (wxStaticBox
*) ptr
;
4076 dest
= (wxEvtHandler
*) src
;
4077 return (void *) dest
;
4080 static void *SwigwxStaticBoxTowxObject(void *ptr
) {
4083 src
= (wxStaticBox
*) ptr
;
4084 dest
= (wxObject
*) src
;
4085 return (void *) dest
;
4088 #define new_wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4089 static PyObject
*_wrap_new_wxStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
* _resultobj
;
4091 wxStaticBox
* _result
;
4095 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4096 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4097 long _arg5
= (long ) 0;
4098 char * _arg6
= (char *) "staticBox";
4099 PyObject
* _argo0
= 0;
4100 PyObject
* _obj2
= 0;
4102 PyObject
* _obj3
= 0;
4104 PyObject
* _obj4
= 0;
4105 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBox. Expected _wxWindow_p.");
4119 #if PYTHON_API_VERSION >= 1009
4120 char* tmpPtr
; int tmpSize
;
4121 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4122 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4125 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4127 _arg2
= new wxString(tmpPtr
, tmpSize
);
4129 if (!PyString_Check(_obj2
)) {
4130 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4133 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4139 if (! wxPoint_helper(_obj3
, &_arg3
))
4145 if (! wxSize_helper(_obj4
, &_arg4
))
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 _result
= (wxStaticBox
*)new_wxStaticBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) return NULL
;
4155 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4156 _resultobj
= Py_BuildValue("s",_ptemp
);
4159 _resultobj
= Py_None
;
4168 #define new_wxPreStaticBox() (new wxStaticBox())
4169 static PyObject
*_wrap_new_wxPreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4171 wxStaticBox
* _result
;
4172 char *_kwnames
[] = { NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBox",_kwnames
))
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 _result
= (wxStaticBox
*)new_wxPreStaticBox();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) return NULL
;
4185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBox_p");
4186 _resultobj
= Py_BuildValue("s",_ptemp
);
4189 _resultobj
= Py_None
;
4194 #define wxStaticBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4195 static PyObject
*_wrap_wxStaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
* _resultobj
;
4198 wxStaticBox
* _arg0
;
4202 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4203 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4204 long _arg6
= (long ) 0;
4205 char * _arg7
= (char *) "staticBox";
4206 PyObject
* _argo0
= 0;
4207 PyObject
* _argo1
= 0;
4208 PyObject
* _obj3
= 0;
4210 PyObject
* _obj4
= 0;
4212 PyObject
* _obj5
= 0;
4213 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBox_p")) {
4221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBox_Create. Expected _wxStaticBox_p.");
4226 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBox_Create. Expected _wxWindow_p.");
4233 #if PYTHON_API_VERSION >= 1009
4234 char* tmpPtr
; int tmpSize
;
4235 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4236 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4239 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4241 _arg3
= new wxString(tmpPtr
, tmpSize
);
4243 if (!PyString_Check(_obj3
)) {
4244 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4247 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4253 if (! wxPoint_helper(_obj4
, &_arg4
))
4259 if (! wxSize_helper(_obj5
, &_arg5
))
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 _result
= (bool )wxStaticBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) return NULL
;
4268 } _resultobj
= Py_BuildValue("i",_result
);
4276 static void *SwigwxStaticLineTowxControl(void *ptr
) {
4279 src
= (wxStaticLine
*) ptr
;
4280 dest
= (wxControl
*) src
;
4281 return (void *) dest
;
4284 static void *SwigwxStaticLineTowxWindow(void *ptr
) {
4287 src
= (wxStaticLine
*) ptr
;
4288 dest
= (wxWindow
*) src
;
4289 return (void *) dest
;
4292 static void *SwigwxStaticLineTowxEvtHandler(void *ptr
) {
4295 src
= (wxStaticLine
*) ptr
;
4296 dest
= (wxEvtHandler
*) src
;
4297 return (void *) dest
;
4300 static void *SwigwxStaticLineTowxObject(void *ptr
) {
4303 src
= (wxStaticLine
*) ptr
;
4304 dest
= (wxObject
*) src
;
4305 return (void *) dest
;
4308 #define new_wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStaticLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4309 static PyObject
*_wrap_new_wxStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
* _resultobj
;
4311 wxStaticLine
* _result
;
4314 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4315 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4316 long _arg4
= (long ) wxLI_HORIZONTAL
;
4317 char * _arg5
= (char *) "staticLine";
4318 PyObject
* _argo0
= 0;
4320 PyObject
* _obj2
= 0;
4322 PyObject
* _obj3
= 0;
4323 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOls:new_wxStaticLine",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
4330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticLine. Expected _wxWindow_p.");
4339 if (! wxPoint_helper(_obj2
, &_arg2
))
4345 if (! wxSize_helper(_obj3
, &_arg3
))
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 _result
= (wxStaticLine
*)new_wxStaticLine(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) return NULL
;
4355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4356 _resultobj
= Py_BuildValue("s",_ptemp
);
4359 _resultobj
= Py_None
;
4364 #define new_wxPreStaticLine() (new wxStaticLine())
4365 static PyObject
*_wrap_new_wxPreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
* _resultobj
;
4367 wxStaticLine
* _result
;
4368 char *_kwnames
[] = { NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticLine",_kwnames
))
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 _result
= (wxStaticLine
*)new_wxPreStaticLine();
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) return NULL
;
4381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticLine_p");
4382 _resultobj
= Py_BuildValue("s",_ptemp
);
4385 _resultobj
= Py_None
;
4390 #define wxStaticLine_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4391 static PyObject
*_wrap_wxStaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
* _resultobj
;
4394 wxStaticLine
* _arg0
;
4397 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4398 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4399 long _arg5
= (long ) wxLI_HORIZONTAL
;
4400 char * _arg6
= (char *) "staticLine";
4401 PyObject
* _argo0
= 0;
4402 PyObject
* _argo1
= 0;
4404 PyObject
* _obj3
= 0;
4406 PyObject
* _obj4
= 0;
4407 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOls:wxStaticLine_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticLine_p")) {
4415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticLine_Create. Expected _wxStaticLine_p.");
4420 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4421 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticLine_Create. Expected _wxWindow_p.");
4429 if (! wxPoint_helper(_obj3
, &_arg3
))
4435 if (! wxSize_helper(_obj4
, &_arg4
))
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 _result
= (bool )wxStaticLine_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) return NULL
;
4444 } _resultobj
= Py_BuildValue("i",_result
);
4448 static void *SwigwxStaticTextTowxControl(void *ptr
) {
4451 src
= (wxStaticText
*) ptr
;
4452 dest
= (wxControl
*) src
;
4453 return (void *) dest
;
4456 static void *SwigwxStaticTextTowxWindow(void *ptr
) {
4459 src
= (wxStaticText
*) ptr
;
4460 dest
= (wxWindow
*) src
;
4461 return (void *) dest
;
4464 static void *SwigwxStaticTextTowxEvtHandler(void *ptr
) {
4467 src
= (wxStaticText
*) ptr
;
4468 dest
= (wxEvtHandler
*) src
;
4469 return (void *) dest
;
4472 static void *SwigwxStaticTextTowxObject(void *ptr
) {
4475 src
= (wxStaticText
*) ptr
;
4476 dest
= (wxObject
*) src
;
4477 return (void *) dest
;
4480 #define new_wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4481 static PyObject
*_wrap_new_wxStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
* _resultobj
;
4483 wxStaticText
* _result
;
4487 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4488 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4489 long _arg5
= (long ) 0;
4490 char * _arg6
= (char *) "staticText";
4491 PyObject
* _argo0
= 0;
4492 PyObject
* _obj2
= 0;
4494 PyObject
* _obj3
= 0;
4496 PyObject
* _obj4
= 0;
4497 char *_kwnames
[] = { "parent","id","label","pos","size","style","name", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticText",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticText. Expected _wxWindow_p.");
4511 #if PYTHON_API_VERSION >= 1009
4512 char* tmpPtr
; int tmpSize
;
4513 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
4514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4517 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
4519 _arg2
= new wxString(tmpPtr
, tmpSize
);
4521 if (!PyString_Check(_obj2
)) {
4522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4525 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
4531 if (! wxPoint_helper(_obj3
, &_arg3
))
4537 if (! wxSize_helper(_obj4
, &_arg4
))
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 _result
= (wxStaticText
*)new_wxStaticText(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) return NULL
;
4547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4548 _resultobj
= Py_BuildValue("s",_ptemp
);
4551 _resultobj
= Py_None
;
4560 #define new_wxPreStaticText() (new wxStaticText())
4561 static PyObject
*_wrap_new_wxPreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
* _resultobj
;
4563 wxStaticText
* _result
;
4564 char *_kwnames
[] = { NULL
};
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticText",_kwnames
))
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 _result
= (wxStaticText
*)new_wxPreStaticText();
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) return NULL
;
4577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticText_p");
4578 _resultobj
= Py_BuildValue("s",_ptemp
);
4581 _resultobj
= Py_None
;
4586 #define wxStaticText_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4587 static PyObject
*_wrap_wxStaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
* _resultobj
;
4590 wxStaticText
* _arg0
;
4594 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
4595 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
4596 long _arg6
= (long ) 0;
4597 char * _arg7
= (char *) "staticText";
4598 PyObject
* _argo0
= 0;
4599 PyObject
* _argo1
= 0;
4600 PyObject
* _obj3
= 0;
4602 PyObject
* _obj4
= 0;
4604 PyObject
* _obj5
= 0;
4605 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","name", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticText_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_Create. Expected _wxStaticText_p.");
4618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticText_Create. Expected _wxWindow_p.");
4625 #if PYTHON_API_VERSION >= 1009
4626 char* tmpPtr
; int tmpSize
;
4627 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
4628 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4631 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
4633 _arg3
= new wxString(tmpPtr
, tmpSize
);
4635 if (!PyString_Check(_obj3
)) {
4636 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4639 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
4645 if (! wxPoint_helper(_obj4
, &_arg4
))
4651 if (! wxSize_helper(_obj5
, &_arg5
))
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 _result
= (bool )wxStaticText_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) return NULL
;
4660 } _resultobj
= Py_BuildValue("i",_result
);
4668 #define wxStaticText_GetLabel(_swigobj) (_swigobj->GetLabel())
4669 static PyObject
*_wrap_wxStaticText_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
* _resultobj
;
4672 wxStaticText
* _arg0
;
4673 PyObject
* _argo0
= 0;
4674 char *_kwnames
[] = { "self", NULL
};
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticText_GetLabel",_kwnames
,&_argo0
))
4680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_GetLabel. Expected _wxStaticText_p.");
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 _result
= new wxString (wxStaticText_GetLabel(_arg0
));
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) return NULL
;
4693 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4701 #define wxStaticText_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
4702 static PyObject
*_wrap_wxStaticText_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
* _resultobj
;
4704 wxStaticText
* _arg0
;
4706 PyObject
* _argo0
= 0;
4707 PyObject
* _obj1
= 0;
4708 char *_kwnames
[] = { "self","label", NULL
};
4711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticText_SetLabel",_kwnames
,&_argo0
,&_obj1
))
4714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticText_p")) {
4716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticText_SetLabel. Expected _wxStaticText_p.");
4721 #if PYTHON_API_VERSION >= 1009
4722 char* tmpPtr
; int tmpSize
;
4723 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
4724 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4727 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
4729 _arg1
= new wxString(tmpPtr
, tmpSize
);
4731 if (!PyString_Check(_obj1
)) {
4732 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4735 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 wxStaticText_SetLabel(_arg0
,*_arg1
);
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) return NULL
;
4744 } Py_INCREF(Py_None
);
4745 _resultobj
= Py_None
;
4753 static void *SwigwxListBoxTowxControlWithItems(void *ptr
) {
4755 wxControlWithItems
*dest
;
4756 src
= (wxListBox
*) ptr
;
4757 dest
= (wxControlWithItems
*) src
;
4758 return (void *) dest
;
4761 static void *SwigwxListBoxTowxControl(void *ptr
) {
4764 src
= (wxListBox
*) ptr
;
4765 dest
= (wxControl
*) src
;
4766 return (void *) dest
;
4769 static void *SwigwxListBoxTowxWindow(void *ptr
) {
4772 src
= (wxListBox
*) ptr
;
4773 dest
= (wxWindow
*) src
;
4774 return (void *) dest
;
4777 static void *SwigwxListBoxTowxEvtHandler(void *ptr
) {
4780 src
= (wxListBox
*) ptr
;
4781 dest
= (wxEvtHandler
*) src
;
4782 return (void *) dest
;
4785 static void *SwigwxListBoxTowxObject(void *ptr
) {
4788 src
= (wxListBox
*) ptr
;
4789 dest
= (wxObject
*) src
;
4790 return (void *) dest
;
4793 #define new_wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4794 static PyObject
*_wrap_new_wxListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4796 wxListBox
* _result
;
4799 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
4800 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
4802 wxString
* _arg5
= (wxString
*) NULL
;
4803 long _arg6
= (long ) 0;
4804 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
4805 char * _arg8
= (char *) "listBox";
4806 PyObject
* _argo0
= 0;
4808 PyObject
* _obj2
= 0;
4810 PyObject
* _obj3
= 0;
4811 PyObject
* _obj5
= 0;
4812 PyObject
* _argo7
= 0;
4813 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
4820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
4822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxListBox. Expected _wxWindow_p.");
4829 if (! wxPoint_helper(_obj2
, &_arg2
))
4835 if (! wxSize_helper(_obj3
, &_arg3
))
4840 _arg5
= wxString_LIST_helper(_obj5
);
4841 if (_arg5
== NULL
) {
4846 if (_argo7
== Py_None
) { _arg7
= NULL
; }
4847 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
4848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxListBox. Expected _wxValidator_p.");
4854 _arg4
= PyList_Size(_obj5
);
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 _result
= (wxListBox
*)new_wxListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) return NULL
;
4867 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4868 _resultobj
= Py_BuildValue("s",_ptemp
);
4871 _resultobj
= Py_None
;
4879 #define new_wxPreListBox() (new wxListBox())
4880 static PyObject
*_wrap_new_wxPreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
* _resultobj
;
4882 wxListBox
* _result
;
4883 char *_kwnames
[] = { NULL
};
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreListBox",_kwnames
))
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 _result
= (wxListBox
*)new_wxPreListBox();
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) return NULL
;
4896 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxListBox_p");
4897 _resultobj
= Py_BuildValue("s",_ptemp
);
4900 _resultobj
= Py_None
;
4905 #define wxListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
4906 static PyObject
*_wrap_wxListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
* _resultobj
;
4912 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
4913 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
4915 wxString
* _arg6
= (wxString
*) NULL
;
4916 long _arg7
= (long ) 0;
4917 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
4918 char * _arg9
= (char *) "listBox";
4919 PyObject
* _argo0
= 0;
4920 PyObject
* _argo1
= 0;
4922 PyObject
* _obj3
= 0;
4924 PyObject
* _obj4
= 0;
4925 PyObject
* _obj6
= 0;
4926 PyObject
* _argo8
= 0;
4927 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
4933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Create. Expected _wxListBox_p.");
4940 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4941 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
4942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxListBox_Create. Expected _wxWindow_p.");
4949 if (! wxPoint_helper(_obj3
, &_arg3
))
4955 if (! wxSize_helper(_obj4
, &_arg4
))
4960 _arg6
= wxString_LIST_helper(_obj6
);
4961 if (_arg6
== NULL
) {
4966 if (_argo8
== Py_None
) { _arg8
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxListBox_Create. Expected _wxValidator_p.");
4974 _arg5
= PyList_Size(_obj6
);
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 _result
= (bool )wxListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) return NULL
;
4986 } _resultobj
= Py_BuildValue("i",_result
);
4993 #define wxListBox_Clear(_swigobj) (_swigobj->Clear())
4994 static PyObject
*_wrap_wxListBox_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
* _resultobj
;
4997 PyObject
* _argo0
= 0;
4998 char *_kwnames
[] = { "self", NULL
};
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_Clear",_kwnames
,&_argo0
))
5004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Clear. Expected _wxListBox_p.");
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 wxListBox_Clear(_arg0
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) return NULL
;
5016 } Py_INCREF(Py_None
);
5017 _resultobj
= Py_None
;
5021 #define wxListBox_Deselect(_swigobj,_swigarg0) (_swigobj->Deselect(_swigarg0))
5022 static PyObject
*_wrap_wxListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5026 PyObject
* _argo0
= 0;
5027 char *_kwnames
[] = { "self","n", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Deselect",_kwnames
,&_argo0
,&_arg1
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Deselect. Expected _wxListBox_p.");
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 wxListBox_Deselect(_arg0
,_arg1
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) return NULL
;
5045 } Py_INCREF(Py_None
);
5046 _resultobj
= Py_None
;
5050 static PyObject
* wxListBox_GetSelections(wxListBox
*self
) {
5052 self
->GetSelections(lst
);
5053 PyObject
*tup
= PyTuple_New(lst
.GetCount());
5054 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
5055 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
5059 static PyObject
*_wrap_wxListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
* _resultobj
;
5063 PyObject
* _argo0
= 0;
5064 char *_kwnames
[] = { "self", NULL
};
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxListBox_GetSelections",_kwnames
,&_argo0
))
5070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_GetSelections. Expected _wxListBox_p.");
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 _result
= (PyObject
*)wxListBox_GetSelections(_arg0
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) return NULL
;
5083 _resultobj
= _result
;
5088 #define wxListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5089 static PyObject
*_wrap_wxListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5095 PyObject
* _argo0
= 0;
5096 PyObject
* _obj2
= 0;
5097 char *_kwnames
[] = { "self","choices","pos", NULL
};
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_InsertItems. Expected _wxListBox_p.");
5110 _arg2
= wxString_LIST_helper(_obj2
);
5111 if (_arg2
== NULL
) {
5117 _arg1
= PyList_Size(_obj2
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 wxListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) return NULL
;
5129 } Py_INCREF(Py_None
);
5130 _resultobj
= Py_None
;
5137 #define wxListBox_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
5138 static PyObject
*_wrap_wxListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
* _resultobj
;
5143 PyObject
* _argo0
= 0;
5144 char *_kwnames
[] = { "self","n", NULL
};
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_IsSelected",_kwnames
,&_argo0
,&_arg1
))
5150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_IsSelected. Expected _wxListBox_p.");
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 _result
= (bool )wxListBox_IsSelected(_arg0
,_arg1
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) return NULL
;
5162 } _resultobj
= Py_BuildValue("i",_result
);
5166 #define wxListBox_Selected(_swigobj,_swigarg0) (_swigobj->Selected(_swigarg0))
5167 static PyObject
*_wrap_wxListBox_Selected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5168 PyObject
* _resultobj
;
5172 PyObject
* _argo0
= 0;
5173 char *_kwnames
[] = { "self","n", NULL
};
5176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_Selected",_kwnames
,&_argo0
,&_arg1
))
5179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Selected. Expected _wxListBox_p.");
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 _result
= (bool )wxListBox_Selected(_arg0
,_arg1
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) return NULL
;
5191 } _resultobj
= Py_BuildValue("i",_result
);
5195 #define wxListBox_Set(_swigobj,_swigarg0,_swigarg1) (_swigobj->Set(_swigarg0,_swigarg1))
5196 static PyObject
*_wrap_wxListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5201 PyObject
* _argo0
= 0;
5202 PyObject
* _obj2
= 0;
5203 char *_kwnames
[] = { "self","choices", NULL
};
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_Set",_kwnames
,&_argo0
,&_obj2
))
5209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_Set. Expected _wxListBox_p.");
5217 _arg2
= wxString_LIST_helper(_obj2
);
5218 if (_arg2
== NULL
) {
5224 _arg1
= PyList_Size(_obj2
);
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 wxListBox_Set(_arg0
,_arg1
,_arg2
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) return NULL
;
5236 } Py_INCREF(Py_None
);
5237 _resultobj
= Py_None
;
5244 #define wxListBox_SetFirstItem(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5245 static PyObject
*_wrap_wxListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
* _resultobj
;
5249 PyObject
* _argo0
= 0;
5250 char *_kwnames
[] = { "self","n", NULL
};
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxListBox_SetFirstItem",_kwnames
,&_argo0
,&_arg1
))
5256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItem. Expected _wxListBox_p.");
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 wxListBox_SetFirstItem(_arg0
,_arg1
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) return NULL
;
5268 } Py_INCREF(Py_None
);
5269 _resultobj
= Py_None
;
5273 #define wxListBox_SetFirstItemStr(_swigobj,_swigarg0) (_swigobj->SetFirstItem(_swigarg0))
5274 static PyObject
*_wrap_wxListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
* _resultobj
;
5278 PyObject
* _argo0
= 0;
5279 PyObject
* _obj1
= 0;
5280 char *_kwnames
[] = { "self","string", NULL
};
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxListBox_SetFirstItemStr",_kwnames
,&_argo0
,&_obj1
))
5286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetFirstItemStr. Expected _wxListBox_p.");
5293 #if PYTHON_API_VERSION >= 1009
5294 char* tmpPtr
; int tmpSize
;
5295 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5299 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5301 _arg1
= new wxString(tmpPtr
, tmpSize
);
5303 if (!PyString_Check(_obj1
)) {
5304 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5307 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 wxListBox_SetFirstItemStr(_arg0
,*_arg1
);
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) return NULL
;
5316 } Py_INCREF(Py_None
);
5317 _resultobj
= Py_None
;
5325 #define wxListBox_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
5326 static PyObject
*_wrap_wxListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
* _resultobj
;
5330 bool _arg2
= (bool ) TRUE
;
5331 PyObject
* _argo0
= 0;
5332 int tempbool2
= (int) TRUE
;
5333 char *_kwnames
[] = { "self","n","select", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxListBox_SetSelection",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
5339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetSelection. Expected _wxListBox_p.");
5345 _arg2
= (bool ) tempbool2
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 wxListBox_SetSelection(_arg0
,_arg1
,_arg2
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) return NULL
;
5352 } Py_INCREF(Py_None
);
5353 _resultobj
= Py_None
;
5357 #define wxListBox_SetString(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetString(_swigarg0,_swigarg1))
5358 static PyObject
*_wrap_wxListBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
* _resultobj
;
5363 PyObject
* _argo0
= 0;
5364 PyObject
* _obj2
= 0;
5365 char *_kwnames
[] = { "self","n","string", NULL
};
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxListBox_SetString",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
5371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetString. Expected _wxListBox_p.");
5378 #if PYTHON_API_VERSION >= 1009
5379 char* tmpPtr
; int tmpSize
;
5380 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
5381 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5384 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
5386 _arg2
= new wxString(tmpPtr
, tmpSize
);
5388 if (!PyString_Check(_obj2
)) {
5389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5392 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 wxListBox_SetString(_arg0
,_arg1
,*_arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) return NULL
;
5401 } Py_INCREF(Py_None
);
5402 _resultobj
= Py_None
;
5410 #define wxListBox_SetStringSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStringSelection(_swigarg0,_swigarg1))
5411 static PyObject
*_wrap_wxListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
* _resultobj
;
5415 bool _arg2
= (bool ) TRUE
;
5416 PyObject
* _argo0
= 0;
5417 PyObject
* _obj1
= 0;
5418 int tempbool2
= (int) TRUE
;
5419 char *_kwnames
[] = { "self","string","select", NULL
};
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxListBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
5425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListBox_p")) {
5427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxListBox_SetStringSelection. Expected _wxListBox_p.");
5432 #if PYTHON_API_VERSION >= 1009
5433 char* tmpPtr
; int tmpSize
;
5434 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
5435 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5438 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
5440 _arg1
= new wxString(tmpPtr
, tmpSize
);
5442 if (!PyString_Check(_obj1
)) {
5443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
5446 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
5449 _arg2
= (bool ) tempbool2
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 wxListBox_SetStringSelection(_arg0
,*_arg1
,_arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) return NULL
;
5456 } Py_INCREF(Py_None
);
5457 _resultobj
= Py_None
;
5465 static void *SwigwxCheckListBoxTowxListBox(void *ptr
) {
5466 wxCheckListBox
*src
;
5468 src
= (wxCheckListBox
*) ptr
;
5469 dest
= (wxListBox
*) src
;
5470 return (void *) dest
;
5473 static void *SwigwxCheckListBoxTowxControlWithItems(void *ptr
) {
5474 wxCheckListBox
*src
;
5475 wxControlWithItems
*dest
;
5476 src
= (wxCheckListBox
*) ptr
;
5477 dest
= (wxControlWithItems
*) src
;
5478 return (void *) dest
;
5481 static void *SwigwxCheckListBoxTowxControl(void *ptr
) {
5482 wxCheckListBox
*src
;
5484 src
= (wxCheckListBox
*) ptr
;
5485 dest
= (wxControl
*) src
;
5486 return (void *) dest
;
5489 static void *SwigwxCheckListBoxTowxWindow(void *ptr
) {
5490 wxCheckListBox
*src
;
5492 src
= (wxCheckListBox
*) ptr
;
5493 dest
= (wxWindow
*) src
;
5494 return (void *) dest
;
5497 static void *SwigwxCheckListBoxTowxEvtHandler(void *ptr
) {
5498 wxCheckListBox
*src
;
5500 src
= (wxCheckListBox
*) ptr
;
5501 dest
= (wxEvtHandler
*) src
;
5502 return (void *) dest
;
5505 static void *SwigwxCheckListBoxTowxObject(void *ptr
) {
5506 wxCheckListBox
*src
;
5508 src
= (wxCheckListBox
*) ptr
;
5509 dest
= (wxObject
*) src
;
5510 return (void *) dest
;
5513 #define new_wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (new wxCheckListBox(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5514 static PyObject
*_wrap_new_wxCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5516 wxCheckListBox
* _result
;
5519 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
5520 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
5521 int _arg4
= (int ) 0;
5522 wxString
* _arg5
= (wxString
*) NULL
;
5523 long _arg6
= (long ) 0;
5524 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
5525 char * _arg8
= (char *) "listBox";
5526 PyObject
* _argo0
= 0;
5528 PyObject
* _obj2
= 0;
5530 PyObject
* _obj3
= 0;
5531 PyObject
* _obj5
= 0;
5532 PyObject
* _argo7
= 0;
5533 char *_kwnames
[] = { "parent","id","pos","size","choices","style","validator","name", NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|OOOlOs:new_wxCheckListBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
5540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCheckListBox. Expected _wxWindow_p.");
5549 if (! wxPoint_helper(_obj2
, &_arg2
))
5555 if (! wxSize_helper(_obj3
, &_arg3
))
5560 _arg5
= wxString_LIST_helper(_obj5
);
5561 if (_arg5
== NULL
) {
5566 if (_argo7
== Py_None
) { _arg7
= NULL
; }
5567 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
5568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxCheckListBox. Expected _wxValidator_p.");
5574 _arg4
= PyList_Size(_obj5
);
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 _result
= (wxCheckListBox
*)new_wxCheckListBox(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
,_arg8
);
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) return NULL
;
5587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5588 _resultobj
= Py_BuildValue("s",_ptemp
);
5591 _resultobj
= Py_None
;
5599 #define new_wxPreCheckListBox() (new wxCheckListBox())
5600 static PyObject
*_wrap_new_wxPreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5602 wxCheckListBox
* _result
;
5603 char *_kwnames
[] = { NULL
};
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreCheckListBox",_kwnames
))
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 _result
= (wxCheckListBox
*)new_wxPreCheckListBox();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) return NULL
;
5616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCheckListBox_p");
5617 _resultobj
= Py_BuildValue("s",_ptemp
);
5620 _resultobj
= Py_None
;
5625 #define wxCheckListBox_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7,_swigarg8))
5626 static PyObject
*_wrap_wxCheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5629 wxCheckListBox
* _arg0
;
5632 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
5633 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
5634 int _arg5
= (int ) 0;
5635 wxString
* _arg6
= (wxString
*) NULL
;
5636 long _arg7
= (long ) 0;
5637 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
5638 char * _arg9
= (char *) "listBox";
5639 PyObject
* _argo0
= 0;
5640 PyObject
* _argo1
= 0;
5642 PyObject
* _obj3
= 0;
5644 PyObject
* _obj4
= 0;
5645 PyObject
* _obj6
= 0;
5646 PyObject
* _argo8
= 0;
5647 char *_kwnames
[] = { "self","parent","id","pos","size","choices","style","validator","name", NULL
};
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|OOOlOs:wxCheckListBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
5653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Create. Expected _wxCheckListBox_p.");
5660 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5661 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
5662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxCheckListBox_Create. Expected _wxWindow_p.");
5669 if (! wxPoint_helper(_obj3
, &_arg3
))
5675 if (! wxSize_helper(_obj4
, &_arg4
))
5680 _arg6
= wxString_LIST_helper(_obj6
);
5681 if (_arg6
== NULL
) {
5686 if (_argo8
== Py_None
) { _arg8
= NULL
; }
5687 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
5688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of wxCheckListBox_Create. Expected _wxValidator_p.");
5694 _arg5
= PyList_Size(_obj6
);
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 _result
= (bool )wxCheckListBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,*_arg8
,_arg9
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) return NULL
;
5706 } _resultobj
= Py_BuildValue("i",_result
);
5713 #define wxCheckListBox_IsChecked(_swigobj,_swigarg0) (_swigobj->IsChecked(_swigarg0))
5714 static PyObject
*_wrap_wxCheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
* _resultobj
;
5717 wxCheckListBox
* _arg0
;
5719 PyObject
* _argo0
= 0;
5720 char *_kwnames
[] = { "self","uiIndex", NULL
};
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCheckListBox_IsChecked",_kwnames
,&_argo0
,&_arg1
))
5726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_IsChecked. Expected _wxCheckListBox_p.");
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 _result
= (bool )wxCheckListBox_IsChecked(_arg0
,_arg1
);
5736 wxPyEndAllowThreads(__tstate
);
5737 if (PyErr_Occurred()) return NULL
;
5738 } _resultobj
= Py_BuildValue("i",_result
);
5742 #define wxCheckListBox_Check(_swigobj,_swigarg0,_swigarg1) (_swigobj->Check(_swigarg0,_swigarg1))
5743 static PyObject
*_wrap_wxCheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5745 wxCheckListBox
* _arg0
;
5747 int _arg2
= (int ) TRUE
;
5748 PyObject
* _argo0
= 0;
5749 char *_kwnames
[] = { "self","uiIndex","bCheck", NULL
};
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|i:wxCheckListBox_Check",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_Check. Expected _wxCheckListBox_p.");
5762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5763 wxCheckListBox_Check(_arg0
,_arg1
,_arg2
);
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) return NULL
;
5767 } Py_INCREF(Py_None
);
5768 _resultobj
= Py_None
;
5772 #define wxCheckListBox_InsertItems(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItems(_swigarg0,_swigarg1,_swigarg2))
5773 static PyObject
*_wrap_wxCheckListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5774 PyObject
* _resultobj
;
5775 wxCheckListBox
* _arg0
;
5779 PyObject
* _argo0
= 0;
5780 PyObject
* _obj2
= 0;
5781 char *_kwnames
[] = { "self","choices","pos", NULL
};
5784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi:wxCheckListBox_InsertItems",_kwnames
,&_argo0
,&_obj2
,&_arg3
))
5787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_InsertItems. Expected _wxCheckListBox_p.");
5794 _arg2
= wxString_LIST_helper(_obj2
);
5795 if (_arg2
== NULL
) {
5801 _arg1
= PyList_Size(_obj2
);
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 wxCheckListBox_InsertItems(_arg0
,_arg1
,_arg2
,_arg3
);
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) return NULL
;
5813 } Py_INCREF(Py_None
);
5814 _resultobj
= Py_None
;
5821 #define wxCheckListBox_GetItemHeight(_swigobj) (_swigobj->GetItemHeight())
5822 static PyObject
*_wrap_wxCheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
* _resultobj
;
5825 wxCheckListBox
* _arg0
;
5826 PyObject
* _argo0
= 0;
5827 char *_kwnames
[] = { "self", NULL
};
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckListBox_GetItemHeight",_kwnames
,&_argo0
))
5833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCheckListBox_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckListBox_GetItemHeight. Expected _wxCheckListBox_p.");
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 _result
= (int )wxCheckListBox_GetItemHeight(_arg0
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) return NULL
;
5845 } _resultobj
= Py_BuildValue("i",_result
);
5849 #define new_wxTextAttr(_swigarg0,_swigarg1,_swigarg2) (new wxTextAttr(_swigarg0,_swigarg1,_swigarg2))
5850 static PyObject
*_wrap_new_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5852 wxTextAttr
* _result
;
5853 wxColour
* _arg0
= (wxColour
*) &wxNullColour
;
5854 wxColour
* _arg1
= (wxColour
*) &wxNullColour
;
5855 wxFont
* _arg2
= (wxFont
*) &wxNullFont
;
5857 PyObject
* _obj0
= 0;
5859 PyObject
* _obj1
= 0;
5860 PyObject
* _argo2
= 0;
5861 char *_kwnames
[] = { "colText","colBack","font", NULL
};
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOO:new_wxTextAttr",_kwnames
,&_obj0
,&_obj1
,&_argo2
))
5870 if (! wxColour_helper(_obj0
, &_arg0
))
5876 if (! wxColour_helper(_obj1
, &_arg1
))
5880 if (_argo2
== Py_None
) { _arg2
= NULL
; }
5881 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxFont_p")) {
5882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxTextAttr. Expected _wxFont_p.");
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 _result
= (wxTextAttr
*)new_wxTextAttr(*_arg0
,*_arg1
,*_arg2
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) return NULL
;
5893 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
5894 _resultobj
= Py_BuildValue("s",_ptemp
);
5897 _resultobj
= Py_None
;
5902 #define delete_wxTextAttr(_swigobj) (delete _swigobj)
5903 static PyObject
*_wrap_delete_wxTextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5906 PyObject
* _argo0
= 0;
5907 char *_kwnames
[] = { "self", NULL
};
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTextAttr",_kwnames
,&_argo0
))
5913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTextAttr. Expected _wxTextAttr_p.");
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 delete_wxTextAttr(_arg0
);
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) return NULL
;
5925 } Py_INCREF(Py_None
);
5926 _resultobj
= Py_None
;
5930 #define wxTextAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
5931 static PyObject
*_wrap_wxTextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5935 PyObject
* _argo0
= 0;
5937 PyObject
* _obj1
= 0;
5938 char *_kwnames
[] = { "self","colText", NULL
};
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetTextColour",_kwnames
,&_argo0
,&_obj1
))
5944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetTextColour. Expected _wxTextAttr_p.");
5952 if (! wxColour_helper(_obj1
, &_arg1
))
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 wxTextAttr_SetTextColour(_arg0
,*_arg1
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) return NULL
;
5961 } Py_INCREF(Py_None
);
5962 _resultobj
= Py_None
;
5966 #define wxTextAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
5967 static PyObject
*_wrap_wxTextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
* _resultobj
;
5971 PyObject
* _argo0
= 0;
5973 PyObject
* _obj1
= 0;
5974 char *_kwnames
[] = { "self","colBack", NULL
};
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetBackgroundColour",_kwnames
,&_argo0
,&_obj1
))
5980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetBackgroundColour. Expected _wxTextAttr_p.");
5988 if (! wxColour_helper(_obj1
, &_arg1
))
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 wxTextAttr_SetBackgroundColour(_arg0
,*_arg1
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) return NULL
;
5997 } Py_INCREF(Py_None
);
5998 _resultobj
= Py_None
;
6002 #define wxTextAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
6003 static PyObject
*_wrap_wxTextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
* _resultobj
;
6007 PyObject
* _argo0
= 0;
6008 PyObject
* _argo1
= 0;
6009 char *_kwnames
[] = { "self","font", NULL
};
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextAttr_SetFont",_kwnames
,&_argo0
,&_argo1
))
6015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_SetFont. Expected _wxTextAttr_p.");
6022 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6023 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFont_p")) {
6024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_SetFont. Expected _wxFont_p.");
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 wxTextAttr_SetFont(_arg0
,*_arg1
);
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) return NULL
;
6034 } Py_INCREF(Py_None
);
6035 _resultobj
= Py_None
;
6039 #define wxTextAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour())
6040 static PyObject
*_wrap_wxTextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6044 PyObject
* _argo0
= 0;
6045 char *_kwnames
[] = { "self", NULL
};
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasTextColour",_kwnames
,&_argo0
))
6051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasTextColour. Expected _wxTextAttr_p.");
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 _result
= (bool )wxTextAttr_HasTextColour(_arg0
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) return NULL
;
6063 } _resultobj
= Py_BuildValue("i",_result
);
6067 #define wxTextAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour())
6068 static PyObject
*_wrap_wxTextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6072 PyObject
* _argo0
= 0;
6073 char *_kwnames
[] = { "self", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasBackgroundColour",_kwnames
,&_argo0
))
6079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasBackgroundColour. Expected _wxTextAttr_p.");
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 _result
= (bool )wxTextAttr_HasBackgroundColour(_arg0
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) return NULL
;
6091 } _resultobj
= Py_BuildValue("i",_result
);
6095 #define wxTextAttr_HasFont(_swigobj) (_swigobj->HasFont())
6096 static PyObject
*_wrap_wxTextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6097 PyObject
* _resultobj
;
6100 PyObject
* _argo0
= 0;
6101 char *_kwnames
[] = { "self", NULL
};
6104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_HasFont",_kwnames
,&_argo0
))
6107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_HasFont. Expected _wxTextAttr_p.");
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 _result
= (bool )wxTextAttr_HasFont(_arg0
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) return NULL
;
6119 } _resultobj
= Py_BuildValue("i",_result
);
6123 #define wxTextAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour())
6124 static PyObject
*_wrap_wxTextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
* _resultobj
;
6128 PyObject
* _argo0
= 0;
6129 char *_kwnames
[] = { "self", NULL
};
6133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetTextColour",_kwnames
,&_argo0
))
6136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetTextColour. Expected _wxTextAttr_p.");
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 _result
= new wxColour (wxTextAttr_GetTextColour(_arg0
));
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) return NULL
;
6148 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6149 _resultobj
= Py_BuildValue("s",_ptemp
);
6153 #define wxTextAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour())
6154 static PyObject
*_wrap_wxTextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
* _resultobj
;
6158 PyObject
* _argo0
= 0;
6159 char *_kwnames
[] = { "self", NULL
};
6163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetBackgroundColour",_kwnames
,&_argo0
))
6166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetBackgroundColour. Expected _wxTextAttr_p.");
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 _result
= new wxColour (wxTextAttr_GetBackgroundColour(_arg0
));
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) return NULL
;
6178 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
6179 _resultobj
= Py_BuildValue("s",_ptemp
);
6183 #define wxTextAttr_GetFont(_swigobj) (_swigobj->GetFont())
6184 static PyObject
*_wrap_wxTextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
* _resultobj
;
6188 PyObject
* _argo0
= 0;
6189 char *_kwnames
[] = { "self", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_GetFont",_kwnames
,&_argo0
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_GetFont. Expected _wxTextAttr_p.");
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 _result
= new wxFont (wxTextAttr_GetFont(_arg0
));
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) return NULL
;
6208 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
6209 _resultobj
= Py_BuildValue("s",_ptemp
);
6213 #define wxTextAttr_IsDefault(_swigobj) (_swigobj->IsDefault())
6214 static PyObject
*_wrap_wxTextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
* _resultobj
;
6218 PyObject
* _argo0
= 0;
6219 char *_kwnames
[] = { "self", NULL
};
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextAttr_IsDefault",_kwnames
,&_argo0
))
6225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_IsDefault. Expected _wxTextAttr_p.");
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 _result
= (bool )wxTextAttr_IsDefault(_arg0
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) return NULL
;
6237 } _resultobj
= Py_BuildValue("i",_result
);
6241 static PyObject
*_wrap_wxTextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
* _resultobj
;
6243 wxTextAttr
* _result
;
6247 PyObject
* _argo0
= 0;
6248 PyObject
* _argo1
= 0;
6249 PyObject
* _argo2
= 0;
6250 char *_kwnames
[] = { "attr","attrDef","text", NULL
};
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxTextAttr_Combine",_kwnames
,&_argo0
,&_argo1
,&_argo2
))
6257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextAttr_p")) {
6259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6264 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6265 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
6266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextAttr_Combine. Expected _wxTextAttr_p.");
6271 if (_argo2
== Py_None
) { _arg2
= NULL
; }
6272 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxTextCtrl_p")) {
6273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxTextAttr_Combine. Expected _wxTextCtrl_p.");
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 _result
= new wxTextAttr (wxTextAttr::Combine(*_arg0
,*_arg1
,_arg2
));
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) return NULL
;
6283 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTextAttr_p");
6284 _resultobj
= Py_BuildValue("s",_ptemp
);
6288 static void *SwigwxTextCtrlTowxControl(void *ptr
) {
6291 src
= (wxTextCtrl
*) ptr
;
6292 dest
= (wxControl
*) src
;
6293 return (void *) dest
;
6296 static void *SwigwxTextCtrlTowxWindow(void *ptr
) {
6299 src
= (wxTextCtrl
*) ptr
;
6300 dest
= (wxWindow
*) src
;
6301 return (void *) dest
;
6304 static void *SwigwxTextCtrlTowxEvtHandler(void *ptr
) {
6307 src
= (wxTextCtrl
*) ptr
;
6308 dest
= (wxEvtHandler
*) src
;
6309 return (void *) dest
;
6312 static void *SwigwxTextCtrlTowxObject(void *ptr
) {
6315 src
= (wxTextCtrl
*) ptr
;
6316 dest
= (wxObject
*) src
;
6317 return (void *) dest
;
6320 #define new_wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6321 static PyObject
*_wrap_new_wxTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
* _resultobj
;
6323 wxTextCtrl
* _result
;
6326 char * _arg2
= (char *) "";
6327 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
6328 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
6329 long _arg5
= (long ) 0;
6330 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
6331 char * _arg7
= (char *) "text";
6332 PyObject
* _argo0
= 0;
6334 PyObject
* _obj3
= 0;
6336 PyObject
* _obj4
= 0;
6337 PyObject
* _argo6
= 0;
6338 char *_kwnames
[] = { "parent","id","value","pos","size","style","validator","name", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi|sOOlOs:new_wxTextCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxTextCtrl. Expected _wxWindow_p.");
6354 if (! wxPoint_helper(_obj3
, &_arg3
))
6360 if (! wxSize_helper(_obj4
, &_arg4
))
6364 if (_argo6
== Py_None
) { _arg6
= NULL
; }
6365 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
6366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxTextCtrl. Expected _wxValidator_p.");
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 _result
= (wxTextCtrl
*)new_wxTextCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) return NULL
;
6377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6378 _resultobj
= Py_BuildValue("s",_ptemp
);
6381 _resultobj
= Py_None
;
6386 #define new_wxPreTextCtrl() (new wxTextCtrl())
6387 static PyObject
*_wrap_new_wxPreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
* _resultobj
;
6389 wxTextCtrl
* _result
;
6390 char *_kwnames
[] = { NULL
};
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreTextCtrl",_kwnames
))
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 _result
= (wxTextCtrl
*)new_wxPreTextCtrl();
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) return NULL
;
6403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextCtrl_p");
6404 _resultobj
= Py_BuildValue("s",_ptemp
);
6407 _resultobj
= Py_None
;
6412 #define wxTextCtrl_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
6413 static PyObject
*_wrap_wxTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
* _resultobj
;
6419 char * _arg3
= (char *) "";
6420 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
6421 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
6422 long _arg6
= (long ) 0;
6423 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
6424 char * _arg8
= (char *) "text";
6425 PyObject
* _argo0
= 0;
6426 PyObject
* _argo1
= 0;
6428 PyObject
* _obj4
= 0;
6430 PyObject
* _obj5
= 0;
6431 PyObject
* _argo7
= 0;
6432 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","validator","name", NULL
};
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOi|sOOlOs:wxTextCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
6438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Create. Expected _wxTextCtrl_p.");
6445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_Create. Expected _wxWindow_p.");
6454 if (! wxPoint_helper(_obj4
, &_arg4
))
6460 if (! wxSize_helper(_obj5
, &_arg5
))
6464 if (_argo7
== Py_None
) { _arg7
= NULL
; }
6465 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
6466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxTextCtrl_Create. Expected _wxValidator_p.");
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 _result
= (bool )wxTextCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) return NULL
;
6476 } _resultobj
= Py_BuildValue("i",_result
);
6480 #define wxTextCtrl_GetValue(_swigobj) (_swigobj->GetValue())
6481 static PyObject
*_wrap_wxTextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
* _resultobj
;
6485 PyObject
* _argo0
= 0;
6486 char *_kwnames
[] = { "self", NULL
};
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetValue",_kwnames
,&_argo0
))
6492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetValue. Expected _wxTextCtrl_p.");
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 _result
= new wxString (wxTextCtrl_GetValue(_arg0
));
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) return NULL
;
6505 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6513 #define wxTextCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
6514 static PyObject
*_wrap_wxTextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
* _resultobj
;
6518 PyObject
* _argo0
= 0;
6519 PyObject
* _obj1
= 0;
6520 char *_kwnames
[] = { "self","value", NULL
};
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetValue",_kwnames
,&_argo0
,&_obj1
))
6526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetValue. Expected _wxTextCtrl_p.");
6533 #if PYTHON_API_VERSION >= 1009
6534 char* tmpPtr
; int tmpSize
;
6535 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6536 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6539 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6541 _arg1
= new wxString(tmpPtr
, tmpSize
);
6543 if (!PyString_Check(_obj1
)) {
6544 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6547 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 wxTextCtrl_SetValue(_arg0
,*_arg1
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) return NULL
;
6556 } Py_INCREF(Py_None
);
6557 _resultobj
= Py_None
;
6565 #define wxTextCtrl_GetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetRange(_swigarg0,_swigarg1))
6566 static PyObject
*_wrap_wxTextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
* _resultobj
;
6572 PyObject
* _argo0
= 0;
6573 char *_kwnames
[] = { "self","from","to", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetRange. Expected _wxTextCtrl_p.");
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 _result
= new wxString (wxTextCtrl_GetRange(_arg0
,_arg1
,_arg2
));
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) return NULL
;
6592 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6600 #define wxTextCtrl_GetLineLength(_swigobj,_swigarg0) (_swigobj->GetLineLength(_swigarg0))
6601 static PyObject
*_wrap_wxTextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
* _resultobj
;
6606 PyObject
* _argo0
= 0;
6607 char *_kwnames
[] = { "self","lineNo", NULL
};
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineLength",_kwnames
,&_argo0
,&_arg1
))
6613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineLength. Expected _wxTextCtrl_p.");
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 _result
= (int )wxTextCtrl_GetLineLength(_arg0
,_arg1
);
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) return NULL
;
6625 } _resultobj
= Py_BuildValue("i",_result
);
6629 #define wxTextCtrl_GetLineText(_swigobj,_swigarg0) (_swigobj->GetLineText(_swigarg0))
6630 static PyObject
*_wrap_wxTextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
* _resultobj
;
6635 PyObject
* _argo0
= 0;
6636 char *_kwnames
[] = { "self","lineNo", NULL
};
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_GetLineText",_kwnames
,&_argo0
,&_arg1
))
6642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLineText. Expected _wxTextCtrl_p.");
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 _result
= new wxString (wxTextCtrl_GetLineText(_arg0
,_arg1
));
6652 wxPyEndAllowThreads(__tstate
);
6653 if (PyErr_Occurred()) return NULL
;
6655 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6663 #define wxTextCtrl_GetNumberOfLines(_swigobj) (_swigobj->GetNumberOfLines())
6664 static PyObject
*_wrap_wxTextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
* _resultobj
;
6668 PyObject
* _argo0
= 0;
6669 char *_kwnames
[] = { "self", NULL
};
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetNumberOfLines",_kwnames
,&_argo0
))
6675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetNumberOfLines. Expected _wxTextCtrl_p.");
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 _result
= (int )wxTextCtrl_GetNumberOfLines(_arg0
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) return NULL
;
6687 } _resultobj
= Py_BuildValue("i",_result
);
6691 #define wxTextCtrl_IsModified(_swigobj) (_swigobj->IsModified())
6692 static PyObject
*_wrap_wxTextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
* _resultobj
;
6696 PyObject
* _argo0
= 0;
6697 char *_kwnames
[] = { "self", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsModified",_kwnames
,&_argo0
))
6703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsModified. Expected _wxTextCtrl_p.");
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 _result
= (bool )wxTextCtrl_IsModified(_arg0
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) return NULL
;
6715 } _resultobj
= Py_BuildValue("i",_result
);
6719 #define wxTextCtrl_IsEditable(_swigobj) (_swigobj->IsEditable())
6720 static PyObject
*_wrap_wxTextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
* _resultobj
;
6724 PyObject
* _argo0
= 0;
6725 char *_kwnames
[] = { "self", NULL
};
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_IsEditable",_kwnames
,&_argo0
))
6731 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6732 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_IsEditable. Expected _wxTextCtrl_p.");
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 _result
= (bool )wxTextCtrl_IsEditable(_arg0
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) return NULL
;
6743 } _resultobj
= Py_BuildValue("i",_result
);
6747 #define wxTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
6748 static PyObject
*_wrap_wxTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
* _resultobj
;
6755 PyObject
* _argo0
= 0;
6756 char *_kwnames
[] = { "self", NULL
};
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetSelection",_kwnames
,&_argo0
))
6768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetSelection. Expected _wxTextCtrl_p.");
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 wxTextCtrl_GetSelection(_arg0
,_arg1
,_arg2
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) return NULL
;
6780 } Py_INCREF(Py_None
);
6781 _resultobj
= Py_None
;
6784 o
= PyInt_FromLong((long) (*_arg1
));
6785 _resultobj
= t_output_helper(_resultobj
, o
);
6789 o
= PyInt_FromLong((long) (*_arg2
));
6790 _resultobj
= t_output_helper(_resultobj
, o
);
6795 #define wxTextCtrl_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
6796 static PyObject
*_wrap_wxTextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
* _resultobj
;
6800 PyObject
* _argo0
= 0;
6801 char *_kwnames
[] = { "self", NULL
};
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetStringSelection",_kwnames
,&_argo0
))
6807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetStringSelection. Expected _wxTextCtrl_p.");
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 _result
= new wxString (wxTextCtrl_GetStringSelection(_arg0
));
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) return NULL
;
6820 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6828 #define wxTextCtrl_Clear(_swigobj) (_swigobj->Clear())
6829 static PyObject
*_wrap_wxTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
* _resultobj
;
6832 PyObject
* _argo0
= 0;
6833 char *_kwnames
[] = { "self", NULL
};
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Clear",_kwnames
,&_argo0
))
6839 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6840 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Clear. Expected _wxTextCtrl_p.");
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 wxTextCtrl_Clear(_arg0
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) return NULL
;
6851 } Py_INCREF(Py_None
);
6852 _resultobj
= Py_None
;
6856 #define wxTextCtrl_Replace(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Replace(_swigarg0,_swigarg1,_swigarg2))
6857 static PyObject
*_wrap_wxTextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
* _resultobj
;
6863 PyObject
* _argo0
= 0;
6864 PyObject
* _obj3
= 0;
6865 char *_kwnames
[] = { "self","from","to","value", NULL
};
6868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_Replace",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
))
6871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Replace. Expected _wxTextCtrl_p.");
6878 #if PYTHON_API_VERSION >= 1009
6879 char* tmpPtr
; int tmpSize
;
6880 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
6881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6884 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
6886 _arg3
= new wxString(tmpPtr
, tmpSize
);
6888 if (!PyString_Check(_obj3
)) {
6889 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6892 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 wxTextCtrl_Replace(_arg0
,_arg1
,_arg2
,*_arg3
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) return NULL
;
6901 } Py_INCREF(Py_None
);
6902 _resultobj
= Py_None
;
6910 #define wxTextCtrl_Remove(_swigobj,_swigarg0,_swigarg1) (_swigobj->Remove(_swigarg0,_swigarg1))
6911 static PyObject
*_wrap_wxTextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
* _resultobj
;
6916 PyObject
* _argo0
= 0;
6917 char *_kwnames
[] = { "self","from","to", NULL
};
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_Remove",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Remove. Expected _wxTextCtrl_p.");
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 wxTextCtrl_Remove(_arg0
,_arg1
,_arg2
);
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) return NULL
;
6935 } Py_INCREF(Py_None
);
6936 _resultobj
= Py_None
;
6940 #define wxTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0))
6941 static PyObject
*_wrap_wxTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
* _resultobj
;
6946 PyObject
* _argo0
= 0;
6947 PyObject
* _obj1
= 0;
6948 char *_kwnames
[] = { "self","file", NULL
};
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_LoadFile",_kwnames
,&_argo0
,&_obj1
))
6954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
6956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_LoadFile. Expected _wxTextCtrl_p.");
6961 #if PYTHON_API_VERSION >= 1009
6962 char* tmpPtr
; int tmpSize
;
6963 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
6964 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6967 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
6969 _arg1
= new wxString(tmpPtr
, tmpSize
);
6971 if (!PyString_Check(_obj1
)) {
6972 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6975 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 _result
= (bool )wxTextCtrl_LoadFile(_arg0
,*_arg1
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) return NULL
;
6984 } _resultobj
= Py_BuildValue("i",_result
);
6992 #define wxTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0))
6993 static PyObject
*_wrap_wxTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
* _resultobj
;
6997 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
6998 PyObject
* _argo0
= 0;
6999 PyObject
* _obj1
= 0;
7000 char *_kwnames
[] = { "self","file", NULL
};
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxTextCtrl_SaveFile",_kwnames
,&_argo0
,&_obj1
))
7006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SaveFile. Expected _wxTextCtrl_p.");
7014 #if PYTHON_API_VERSION >= 1009
7015 char* tmpPtr
; int tmpSize
;
7016 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7017 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7020 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7022 _arg1
= new wxString(tmpPtr
, tmpSize
);
7024 if (!PyString_Check(_obj1
)) {
7025 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7028 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 _result
= (bool )wxTextCtrl_SaveFile(_arg0
,*_arg1
);
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) return NULL
;
7037 } _resultobj
= Py_BuildValue("i",_result
);
7045 #define wxTextCtrl_DiscardEdits(_swigobj) (_swigobj->DiscardEdits())
7046 static PyObject
*_wrap_wxTextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7049 PyObject
* _argo0
= 0;
7050 char *_kwnames
[] = { "self", NULL
};
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_DiscardEdits",_kwnames
,&_argo0
))
7056 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7057 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7058 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_DiscardEdits. Expected _wxTextCtrl_p.");
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 wxTextCtrl_DiscardEdits(_arg0
);
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) return NULL
;
7068 } Py_INCREF(Py_None
);
7069 _resultobj
= Py_None
;
7073 #define wxTextCtrl_SetMaxLength(_swigobj,_swigarg0) (_swigobj->SetMaxLength(_swigarg0))
7074 static PyObject
*_wrap_wxTextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7077 unsigned long _arg1
;
7078 PyObject
* _argo0
= 0;
7079 char *_kwnames
[] = { "self","len", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetMaxLength",_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_SetMaxLength. Expected _wxTextCtrl_p.");
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 wxTextCtrl_SetMaxLength(_arg0
,_arg1
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) return NULL
;
7097 } Py_INCREF(Py_None
);
7098 _resultobj
= Py_None
;
7102 #define wxTextCtrl_WriteText(_swigobj,_swigarg0) (_swigobj->WriteText(_swigarg0))
7103 static PyObject
*_wrap_wxTextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
* _resultobj
;
7107 PyObject
* _argo0
= 0;
7108 PyObject
* _obj1
= 0;
7109 char *_kwnames
[] = { "self","text", NULL
};
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_WriteText",_kwnames
,&_argo0
,&_obj1
))
7115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_WriteText. Expected _wxTextCtrl_p.");
7122 #if PYTHON_API_VERSION >= 1009
7123 char* tmpPtr
; int tmpSize
;
7124 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7125 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7128 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7130 _arg1
= new wxString(tmpPtr
, tmpSize
);
7132 if (!PyString_Check(_obj1
)) {
7133 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7136 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 wxTextCtrl_WriteText(_arg0
,*_arg1
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) return NULL
;
7145 } Py_INCREF(Py_None
);
7146 _resultobj
= Py_None
;
7154 #define wxTextCtrl_AppendText(_swigobj,_swigarg0) (_swigobj->AppendText(_swigarg0))
7155 static PyObject
*_wrap_wxTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
* _resultobj
;
7159 PyObject
* _argo0
= 0;
7160 PyObject
* _obj1
= 0;
7161 char *_kwnames
[] = { "self","text", NULL
};
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_AppendText",_kwnames
,&_argo0
,&_obj1
))
7167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_AppendText. Expected _wxTextCtrl_p.");
7174 #if PYTHON_API_VERSION >= 1009
7175 char* tmpPtr
; int tmpSize
;
7176 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7177 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7180 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7182 _arg1
= new wxString(tmpPtr
, tmpSize
);
7184 if (!PyString_Check(_obj1
)) {
7185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7188 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 wxTextCtrl_AppendText(_arg0
,*_arg1
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) return NULL
;
7197 } Py_INCREF(Py_None
);
7198 _resultobj
= Py_None
;
7206 #define wxTextCtrl_SetStyle(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetStyle(_swigarg0,_swigarg1,_swigarg2))
7207 static PyObject
*_wrap_wxTextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
* _resultobj
;
7214 PyObject
* _argo0
= 0;
7215 PyObject
* _argo3
= 0;
7216 char *_kwnames
[] = { "self","start","end","style", NULL
};
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OllO:wxTextCtrl_SetStyle",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_argo3
))
7222 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7223 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetStyle. Expected _wxTextCtrl_p.");
7229 if (_argo3
== Py_None
) { _arg3
= NULL
; }
7230 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxTextAttr_p")) {
7231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxTextCtrl_SetStyle. Expected _wxTextAttr_p.");
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 _result
= (bool )wxTextCtrl_SetStyle(_arg0
,_arg1
,_arg2
,*_arg3
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) return NULL
;
7241 } _resultobj
= Py_BuildValue("i",_result
);
7245 #define wxTextCtrl_SetDefaultStyle(_swigobj,_swigarg0) (_swigobj->SetDefaultStyle(_swigarg0))
7246 static PyObject
*_wrap_wxTextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
* _resultobj
;
7251 PyObject
* _argo0
= 0;
7252 PyObject
* _argo1
= 0;
7253 char *_kwnames
[] = { "self","style", NULL
};
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_SetDefaultStyle",_kwnames
,&_argo0
,&_argo1
))
7259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetDefaultStyle. Expected _wxTextCtrl_p.");
7266 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7267 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTextAttr_p")) {
7268 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxTextCtrl_SetDefaultStyle. Expected _wxTextAttr_p.");
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 _result
= (bool )wxTextCtrl_SetDefaultStyle(_arg0
,*_arg1
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) return NULL
;
7278 } _resultobj
= Py_BuildValue("i",_result
);
7282 #define wxTextCtrl_GetDefaultStyle(_swigobj) (_swigobj->GetDefaultStyle())
7283 static PyObject
*_wrap_wxTextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
* _resultobj
;
7285 wxTextAttr
* _result
;
7287 PyObject
* _argo0
= 0;
7288 char *_kwnames
[] = { "self", NULL
};
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetDefaultStyle",_kwnames
,&_argo0
))
7295 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7296 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7297 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetDefaultStyle. Expected _wxTextCtrl_p.");
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 const wxTextAttr
& _result_ref
= wxTextCtrl_GetDefaultStyle(_arg0
);
7304 _result
= (wxTextAttr
*) &_result_ref
;
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) return NULL
;
7309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTextAttr_p");
7310 _resultobj
= Py_BuildValue("s",_ptemp
);
7313 _resultobj
= Py_None
;
7318 #define wxTextCtrl_XYToPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->XYToPosition(_swigarg0,_swigarg1))
7319 static PyObject
*_wrap_wxTextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
* _resultobj
;
7325 PyObject
* _argo0
= 0;
7326 char *_kwnames
[] = { "self","x","y", NULL
};
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_XYToPosition",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_XYToPosition. Expected _wxTextCtrl_p.");
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 _result
= (long )wxTextCtrl_XYToPosition(_arg0
,_arg1
,_arg2
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) return NULL
;
7344 } _resultobj
= Py_BuildValue("l",_result
);
7348 #define wxTextCtrl_PositionToXY(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->PositionToXY(_swigarg0,_swigarg1,_swigarg2))
7349 static PyObject
*_wrap_wxTextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
* _resultobj
;
7357 PyObject
* _argo0
= 0;
7358 char *_kwnames
[] = { "self","pos", NULL
};
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_PositionToXY",_kwnames
,&_argo0
,&_arg1
))
7370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_PositionToXY. Expected _wxTextCtrl_p.");
7377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7378 wxTextCtrl_PositionToXY(_arg0
,_arg1
,_arg2
,_arg3
);
7380 wxPyEndAllowThreads(__tstate
);
7381 if (PyErr_Occurred()) return NULL
;
7382 } Py_INCREF(Py_None
);
7383 _resultobj
= Py_None
;
7386 o
= PyInt_FromLong((long) (*_arg2
));
7387 _resultobj
= t_output_helper(_resultobj
, o
);
7391 o
= PyInt_FromLong((long) (*_arg3
));
7392 _resultobj
= t_output_helper(_resultobj
, o
);
7397 #define wxTextCtrl_ShowPosition(_swigobj,_swigarg0) (_swigobj->ShowPosition(_swigarg0))
7398 static PyObject
*_wrap_wxTextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
* _resultobj
;
7402 PyObject
* _argo0
= 0;
7403 char *_kwnames
[] = { "self","pos", NULL
};
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_ShowPosition",_kwnames
,&_argo0
,&_arg1
))
7409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_ShowPosition. Expected _wxTextCtrl_p.");
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 wxTextCtrl_ShowPosition(_arg0
,_arg1
);
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) return NULL
;
7421 } Py_INCREF(Py_None
);
7422 _resultobj
= Py_None
;
7426 #define wxTextCtrl_Copy(_swigobj) (_swigobj->Copy())
7427 static PyObject
*_wrap_wxTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
* _resultobj
;
7430 PyObject
* _argo0
= 0;
7431 char *_kwnames
[] = { "self", NULL
};
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Copy",_kwnames
,&_argo0
))
7437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Copy. Expected _wxTextCtrl_p.");
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 wxTextCtrl_Copy(_arg0
);
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) return NULL
;
7449 } Py_INCREF(Py_None
);
7450 _resultobj
= Py_None
;
7454 #define wxTextCtrl_Cut(_swigobj) (_swigobj->Cut())
7455 static PyObject
*_wrap_wxTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
* _resultobj
;
7458 PyObject
* _argo0
= 0;
7459 char *_kwnames
[] = { "self", NULL
};
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Cut",_kwnames
,&_argo0
))
7465 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7466 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7467 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Cut. Expected _wxTextCtrl_p.");
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 wxTextCtrl_Cut(_arg0
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) return NULL
;
7477 } Py_INCREF(Py_None
);
7478 _resultobj
= Py_None
;
7482 #define wxTextCtrl_Paste(_swigobj) (_swigobj->Paste())
7483 static PyObject
*_wrap_wxTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7486 PyObject
* _argo0
= 0;
7487 char *_kwnames
[] = { "self", NULL
};
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Paste",_kwnames
,&_argo0
))
7493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Paste. Expected _wxTextCtrl_p.");
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 wxTextCtrl_Paste(_arg0
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) return NULL
;
7505 } Py_INCREF(Py_None
);
7506 _resultobj
= Py_None
;
7510 #define wxTextCtrl_CanCopy(_swigobj) (_swigobj->CanCopy())
7511 static PyObject
*_wrap_wxTextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
* _resultobj
;
7515 PyObject
* _argo0
= 0;
7516 char *_kwnames
[] = { "self", NULL
};
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCopy",_kwnames
,&_argo0
))
7522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCopy. Expected _wxTextCtrl_p.");
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 _result
= (bool )wxTextCtrl_CanCopy(_arg0
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) return NULL
;
7534 } _resultobj
= Py_BuildValue("i",_result
);
7538 #define wxTextCtrl_CanCut(_swigobj) (_swigobj->CanCut())
7539 static PyObject
*_wrap_wxTextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7543 PyObject
* _argo0
= 0;
7544 char *_kwnames
[] = { "self", NULL
};
7547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanCut",_kwnames
,&_argo0
))
7550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanCut. Expected _wxTextCtrl_p.");
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 _result
= (bool )wxTextCtrl_CanCut(_arg0
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) return NULL
;
7562 } _resultobj
= Py_BuildValue("i",_result
);
7566 #define wxTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
7567 static PyObject
*_wrap_wxTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
* _resultobj
;
7571 PyObject
* _argo0
= 0;
7572 char *_kwnames
[] = { "self", NULL
};
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanPaste",_kwnames
,&_argo0
))
7578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanPaste. Expected _wxTextCtrl_p.");
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 _result
= (bool )wxTextCtrl_CanPaste(_arg0
);
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) return NULL
;
7590 } _resultobj
= Py_BuildValue("i",_result
);
7594 #define wxTextCtrl_Undo(_swigobj) (_swigobj->Undo())
7595 static PyObject
*_wrap_wxTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7596 PyObject
* _resultobj
;
7598 PyObject
* _argo0
= 0;
7599 char *_kwnames
[] = { "self", NULL
};
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Undo",_kwnames
,&_argo0
))
7605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Undo. Expected _wxTextCtrl_p.");
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 wxTextCtrl_Undo(_arg0
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) return NULL
;
7617 } Py_INCREF(Py_None
);
7618 _resultobj
= Py_None
;
7622 #define wxTextCtrl_Redo(_swigobj) (_swigobj->Redo())
7623 static PyObject
*_wrap_wxTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
* _resultobj
;
7626 PyObject
* _argo0
= 0;
7627 char *_kwnames
[] = { "self", NULL
};
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_Redo",_kwnames
,&_argo0
))
7633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_Redo. Expected _wxTextCtrl_p.");
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 wxTextCtrl_Redo(_arg0
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) return NULL
;
7645 } Py_INCREF(Py_None
);
7646 _resultobj
= Py_None
;
7650 #define wxTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
7651 static PyObject
*_wrap_wxTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
* _resultobj
;
7655 PyObject
* _argo0
= 0;
7656 char *_kwnames
[] = { "self", NULL
};
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanUndo",_kwnames
,&_argo0
))
7662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanUndo. Expected _wxTextCtrl_p.");
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 _result
= (bool )wxTextCtrl_CanUndo(_arg0
);
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) return NULL
;
7674 } _resultobj
= Py_BuildValue("i",_result
);
7678 #define wxTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
7679 static PyObject
*_wrap_wxTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
* _resultobj
;
7683 PyObject
* _argo0
= 0;
7684 char *_kwnames
[] = { "self", NULL
};
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_CanRedo",_kwnames
,&_argo0
))
7690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_CanRedo. Expected _wxTextCtrl_p.");
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 _result
= (bool )wxTextCtrl_CanRedo(_arg0
);
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) return NULL
;
7702 } _resultobj
= Py_BuildValue("i",_result
);
7706 #define wxTextCtrl_SetInsertionPoint(_swigobj,_swigarg0) (_swigobj->SetInsertionPoint(_swigarg0))
7707 static PyObject
*_wrap_wxTextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
* _resultobj
;
7711 PyObject
* _argo0
= 0;
7712 char *_kwnames
[] = { "self","pos", NULL
};
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxTextCtrl_SetInsertionPoint",_kwnames
,&_argo0
,&_arg1
))
7718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPoint. Expected _wxTextCtrl_p.");
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7726 wxTextCtrl_SetInsertionPoint(_arg0
,_arg1
);
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) return NULL
;
7730 } Py_INCREF(Py_None
);
7731 _resultobj
= Py_None
;
7735 #define wxTextCtrl_SetInsertionPointEnd(_swigobj) (_swigobj->SetInsertionPointEnd())
7736 static PyObject
*_wrap_wxTextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
* _resultobj
;
7739 PyObject
* _argo0
= 0;
7740 char *_kwnames
[] = { "self", NULL
};
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SetInsertionPointEnd",_kwnames
,&_argo0
))
7746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetInsertionPointEnd. Expected _wxTextCtrl_p.");
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 wxTextCtrl_SetInsertionPointEnd(_arg0
);
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) return NULL
;
7758 } Py_INCREF(Py_None
);
7759 _resultobj
= Py_None
;
7763 #define wxTextCtrl_GetInsertionPoint(_swigobj) (_swigobj->GetInsertionPoint())
7764 static PyObject
*_wrap_wxTextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
* _resultobj
;
7768 PyObject
* _argo0
= 0;
7769 char *_kwnames
[] = { "self", NULL
};
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetInsertionPoint",_kwnames
,&_argo0
))
7775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetInsertionPoint. Expected _wxTextCtrl_p.");
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 _result
= (long )wxTextCtrl_GetInsertionPoint(_arg0
);
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) return NULL
;
7787 } _resultobj
= Py_BuildValue("l",_result
);
7791 #define wxTextCtrl_GetLastPosition(_swigobj) (_swigobj->GetLastPosition())
7792 static PyObject
*_wrap_wxTextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
* _resultobj
;
7796 PyObject
* _argo0
= 0;
7797 char *_kwnames
[] = { "self", NULL
};
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_GetLastPosition",_kwnames
,&_argo0
))
7803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetLastPosition. Expected _wxTextCtrl_p.");
7810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 _result
= (long )wxTextCtrl_GetLastPosition(_arg0
);
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) return NULL
;
7815 } _resultobj
= Py_BuildValue("l",_result
);
7819 #define wxTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
7820 static PyObject
*_wrap_wxTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
* _resultobj
;
7825 PyObject
* _argo0
= 0;
7826 char *_kwnames
[] = { "self","from","to", NULL
};
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetSelection. Expected _wxTextCtrl_p.");
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 wxTextCtrl_SetSelection(_arg0
,_arg1
,_arg2
);
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) return NULL
;
7844 } Py_INCREF(Py_None
);
7845 _resultobj
= Py_None
;
7849 #define wxTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
7850 static PyObject
*_wrap_wxTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
* _resultobj
;
7853 PyObject
* _argo0
= 0;
7854 char *_kwnames
[] = { "self", NULL
};
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTextCtrl_SelectAll",_kwnames
,&_argo0
))
7860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SelectAll. Expected _wxTextCtrl_p.");
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 wxTextCtrl_SelectAll(_arg0
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) return NULL
;
7872 } Py_INCREF(Py_None
);
7873 _resultobj
= Py_None
;
7877 #define wxTextCtrl_SetEditable(_swigobj,_swigarg0) (_swigobj->SetEditable(_swigarg0))
7878 static PyObject
*_wrap_wxTextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
* _resultobj
;
7882 PyObject
* _argo0
= 0;
7884 char *_kwnames
[] = { "self","editable", NULL
};
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxTextCtrl_SetEditable",_kwnames
,&_argo0
,&tempbool1
))
7890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_SetEditable. Expected _wxTextCtrl_p.");
7896 _arg1
= (bool ) tempbool1
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 wxTextCtrl_SetEditable(_arg0
,_arg1
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) return NULL
;
7903 } Py_INCREF(Py_None
);
7904 _resultobj
= Py_None
;
7908 static void wxTextCtrl_write(wxTextCtrl
*self
,const wxString
& text
) {
7909 self
->AppendText(text
);
7911 static PyObject
*_wrap_wxTextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
* _resultobj
;
7915 PyObject
* _argo0
= 0;
7916 PyObject
* _obj1
= 0;
7917 char *_kwnames
[] = { "self","text", NULL
};
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxTextCtrl_write",_kwnames
,&_argo0
,&_obj1
))
7923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_write. Expected _wxTextCtrl_p.");
7930 #if PYTHON_API_VERSION >= 1009
7931 char* tmpPtr
; int tmpSize
;
7932 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7933 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7936 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7938 _arg1
= new wxString(tmpPtr
, tmpSize
);
7940 if (!PyString_Check(_obj1
)) {
7941 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7944 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 wxTextCtrl_write(_arg0
,*_arg1
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) return NULL
;
7953 } Py_INCREF(Py_None
);
7954 _resultobj
= Py_None
;
7962 static wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
) {
7963 return self
->GetValue().Mid(from
, to
-from
);
7965 static PyObject
*_wrap_wxTextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
* _resultobj
;
7971 PyObject
* _argo0
= 0;
7972 char *_kwnames
[] = { "self","from","to", NULL
};
7975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oll:wxTextCtrl_GetString",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
7978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
7980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTextCtrl_GetString. Expected _wxTextCtrl_p.");
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 _result
= new wxString (wxTextCtrl_GetString(_arg0
,_arg1
,_arg2
));
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) return NULL
;
7991 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7999 static void *SwigwxScrollBarTowxControl(void *ptr
) {
8002 src
= (wxScrollBar
*) ptr
;
8003 dest
= (wxControl
*) src
;
8004 return (void *) dest
;
8007 static void *SwigwxScrollBarTowxWindow(void *ptr
) {
8010 src
= (wxScrollBar
*) ptr
;
8011 dest
= (wxWindow
*) src
;
8012 return (void *) dest
;
8015 static void *SwigwxScrollBarTowxEvtHandler(void *ptr
) {
8018 src
= (wxScrollBar
*) ptr
;
8019 dest
= (wxEvtHandler
*) src
;
8020 return (void *) dest
;
8023 static void *SwigwxScrollBarTowxObject(void *ptr
) {
8026 src
= (wxScrollBar
*) ptr
;
8027 dest
= (wxObject
*) src
;
8028 return (void *) dest
;
8031 #define new_wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxScrollBar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8032 static PyObject
*_wrap_new_wxScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
* _resultobj
;
8034 wxScrollBar
* _result
;
8036 wxWindowID _arg1
= (wxWindowID
) -1;
8037 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8038 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8039 long _arg4
= (long ) wxSB_HORIZONTAL
;
8040 wxValidator
* _arg5
= (wxValidator
*) &wxDefaultValidator
;
8041 char * _arg6
= (char *) "scrollBar";
8042 PyObject
* _argo0
= 0;
8044 PyObject
* _obj2
= 0;
8046 PyObject
* _obj3
= 0;
8047 PyObject
* _argo5
= 0;
8048 char *_kwnames
[] = { "parent","id","pos","size","style","validator","name", NULL
};
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlOs:new_wxScrollBar",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_argo5
,&_arg6
))
8055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxScrollBar. Expected _wxWindow_p.");
8064 if (! wxPoint_helper(_obj2
, &_arg2
))
8070 if (! wxSize_helper(_obj3
, &_arg3
))
8074 if (_argo5
== Py_None
) { _arg5
= NULL
; }
8075 else if (SWIG_GetPtrObj(_argo5
,(void **) &_arg5
,"_wxValidator_p")) {
8076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 6 of new_wxScrollBar. Expected _wxValidator_p.");
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 _result
= (wxScrollBar
*)new_wxScrollBar(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,*_arg5
,_arg6
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) return NULL
;
8087 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8088 _resultobj
= Py_BuildValue("s",_ptemp
);
8091 _resultobj
= Py_None
;
8096 #define new_wxPreScrollBar() (new wxScrollBar())
8097 static PyObject
*_wrap_new_wxPreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
* _resultobj
;
8099 wxScrollBar
* _result
;
8100 char *_kwnames
[] = { NULL
};
8104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreScrollBar",_kwnames
))
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 _result
= (wxScrollBar
*)new_wxPreScrollBar();
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) return NULL
;
8113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxScrollBar_p");
8114 _resultobj
= Py_BuildValue("s",_ptemp
);
8117 _resultobj
= Py_None
;
8122 #define wxScrollBar_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8123 static PyObject
*_wrap_wxScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
* _resultobj
;
8126 wxScrollBar
* _arg0
;
8128 wxWindowID _arg2
= (wxWindowID
) -1;
8129 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8130 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8131 long _arg5
= (long ) wxSB_HORIZONTAL
;
8132 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
8133 char * _arg7
= (char *) "scrollBar";
8134 PyObject
* _argo0
= 0;
8135 PyObject
* _argo1
= 0;
8137 PyObject
* _obj3
= 0;
8139 PyObject
* _obj4
= 0;
8140 PyObject
* _argo6
= 0;
8141 char *_kwnames
[] = { "self","parent","id","pos","size","style","validator","name", NULL
};
8144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOlOs:wxScrollBar_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
8147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_Create. Expected _wxScrollBar_p.");
8154 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8155 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxScrollBar_Create. Expected _wxWindow_p.");
8163 if (! wxPoint_helper(_obj3
, &_arg3
))
8169 if (! wxSize_helper(_obj4
, &_arg4
))
8173 if (_argo6
== Py_None
) { _arg6
= NULL
; }
8174 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
8175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxScrollBar_Create. Expected _wxValidator_p.");
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 _result
= (bool )wxScrollBar_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) return NULL
;
8185 } _resultobj
= Py_BuildValue("i",_result
);
8189 #define wxScrollBar_GetRange(_swigobj) (_swigobj->GetRange())
8190 static PyObject
*_wrap_wxScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
* _resultobj
;
8193 wxScrollBar
* _arg0
;
8194 PyObject
* _argo0
= 0;
8195 char *_kwnames
[] = { "self", NULL
};
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetRange",_kwnames
,&_argo0
))
8201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetRange. Expected _wxScrollBar_p.");
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 _result
= (int )wxScrollBar_GetRange(_arg0
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) return NULL
;
8213 } _resultobj
= Py_BuildValue("i",_result
);
8217 #define wxScrollBar_GetPageSize(_swigobj) (_swigobj->GetPageSize())
8218 static PyObject
*_wrap_wxScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
* _resultobj
;
8221 wxScrollBar
* _arg0
;
8222 PyObject
* _argo0
= 0;
8223 char *_kwnames
[] = { "self", NULL
};
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetPageSize",_kwnames
,&_argo0
))
8229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetPageSize. Expected _wxScrollBar_p.");
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 _result
= (int )wxScrollBar_GetPageSize(_arg0
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) return NULL
;
8241 } _resultobj
= Py_BuildValue("i",_result
);
8245 #define wxScrollBar_GetThumbPosition(_swigobj) (_swigobj->GetThumbPosition())
8246 static PyObject
*_wrap_wxScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
* _resultobj
;
8249 wxScrollBar
* _arg0
;
8250 PyObject
* _argo0
= 0;
8251 char *_kwnames
[] = { "self", NULL
};
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbPosition",_kwnames
,&_argo0
))
8257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbPosition. Expected _wxScrollBar_p.");
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 _result
= (int )wxScrollBar_GetThumbPosition(_arg0
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) return NULL
;
8269 } _resultobj
= Py_BuildValue("i",_result
);
8273 #define wxScrollBar_GetThumbSize(_swigobj) (_swigobj->GetThumbSize())
8274 static PyObject
*_wrap_wxScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
* _resultobj
;
8277 wxScrollBar
* _arg0
;
8278 PyObject
* _argo0
= 0;
8279 char *_kwnames
[] = { "self", NULL
};
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_GetThumbSize",_kwnames
,&_argo0
))
8285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_GetThumbSize. Expected _wxScrollBar_p.");
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 _result
= (int )wxScrollBar_GetThumbSize(_arg0
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) return NULL
;
8297 } _resultobj
= Py_BuildValue("i",_result
);
8301 #define wxScrollBar_IsVertical(_swigobj) (_swigobj->IsVertical())
8302 static PyObject
*_wrap_wxScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
* _resultobj
;
8305 wxScrollBar
* _arg0
;
8306 PyObject
* _argo0
= 0;
8307 char *_kwnames
[] = { "self", NULL
};
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxScrollBar_IsVertical",_kwnames
,&_argo0
))
8313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_IsVertical. Expected _wxScrollBar_p.");
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 _result
= (bool )wxScrollBar_IsVertical(_arg0
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) return NULL
;
8325 } _resultobj
= Py_BuildValue("i",_result
);
8329 #define wxScrollBar_SetThumbPosition(_swigobj,_swigarg0) (_swigobj->SetThumbPosition(_swigarg0))
8330 static PyObject
*_wrap_wxScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8331 PyObject
* _resultobj
;
8332 wxScrollBar
* _arg0
;
8334 PyObject
* _argo0
= 0;
8335 char *_kwnames
[] = { "self","viewStart", NULL
};
8338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxScrollBar_SetThumbPosition",_kwnames
,&_argo0
,&_arg1
))
8341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetThumbPosition. Expected _wxScrollBar_p.");
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 wxScrollBar_SetThumbPosition(_arg0
,_arg1
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) return NULL
;
8353 } Py_INCREF(Py_None
);
8354 _resultobj
= Py_None
;
8358 #define wxScrollBar_SetScrollbar(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->SetScrollbar(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8359 static PyObject
*_wrap_wxScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
* _resultobj
;
8361 wxScrollBar
* _arg0
;
8366 bool _arg5
= (bool ) TRUE
;
8367 PyObject
* _argo0
= 0;
8368 int tempbool5
= (int) TRUE
;
8369 char *_kwnames
[] = { "self","position","thumbSize","range","pageSize","refresh", NULL
};
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|i:wxScrollBar_SetScrollbar",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&tempbool5
))
8375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxScrollBar_p")) {
8377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxScrollBar_SetScrollbar. Expected _wxScrollBar_p.");
8381 _arg5
= (bool ) tempbool5
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 wxScrollBar_SetScrollbar(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) return NULL
;
8388 } Py_INCREF(Py_None
);
8389 _resultobj
= Py_None
;
8393 static void *SwigwxSpinButtonTowxControl(void *ptr
) {
8396 src
= (wxSpinButton
*) ptr
;
8397 dest
= (wxControl
*) src
;
8398 return (void *) dest
;
8401 static void *SwigwxSpinButtonTowxWindow(void *ptr
) {
8404 src
= (wxSpinButton
*) ptr
;
8405 dest
= (wxWindow
*) src
;
8406 return (void *) dest
;
8409 static void *SwigwxSpinButtonTowxEvtHandler(void *ptr
) {
8412 src
= (wxSpinButton
*) ptr
;
8413 dest
= (wxEvtHandler
*) src
;
8414 return (void *) dest
;
8417 static void *SwigwxSpinButtonTowxObject(void *ptr
) {
8420 src
= (wxSpinButton
*) ptr
;
8421 dest
= (wxObject
*) src
;
8422 return (void *) dest
;
8425 #define new_wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxSpinButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8426 static PyObject
*_wrap_new_wxSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
* _resultobj
;
8428 wxSpinButton
* _result
;
8430 wxWindowID _arg1
= (wxWindowID
) -1;
8431 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
8432 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
8433 long _arg4
= (long ) wxSP_HORIZONTAL
;
8434 char * _arg5
= (char *) "spinButton";
8435 PyObject
* _argo0
= 0;
8437 PyObject
* _obj2
= 0;
8439 PyObject
* _obj3
= 0;
8440 char *_kwnames
[] = { "parent","id","pos","size","style","name", NULL
};
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOls:new_wxSpinButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
))
8447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinButton. Expected _wxWindow_p.");
8456 if (! wxPoint_helper(_obj2
, &_arg2
))
8462 if (! wxSize_helper(_obj3
, &_arg3
))
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 _result
= (wxSpinButton
*)new_wxSpinButton(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) return NULL
;
8472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8473 _resultobj
= Py_BuildValue("s",_ptemp
);
8476 _resultobj
= Py_None
;
8481 #define new_wxPreSpinButton() (new wxSpinButton())
8482 static PyObject
*_wrap_new_wxPreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
* _resultobj
;
8484 wxSpinButton
* _result
;
8485 char *_kwnames
[] = { NULL
};
8489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinButton",_kwnames
))
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 _result
= (wxSpinButton
*)new_wxPreSpinButton();
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) return NULL
;
8498 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinButton_p");
8499 _resultobj
= Py_BuildValue("s",_ptemp
);
8502 _resultobj
= Py_None
;
8507 #define wxSpinButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8508 static PyObject
*_wrap_wxSpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8509 PyObject
* _resultobj
;
8511 wxSpinButton
* _arg0
;
8513 wxWindowID _arg2
= (wxWindowID
) -1;
8514 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8515 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8516 long _arg5
= (long ) wxSP_HORIZONTAL
;
8517 char * _arg6
= (char *) "spinButton";
8518 PyObject
* _argo0
= 0;
8519 PyObject
* _argo1
= 0;
8521 PyObject
* _obj3
= 0;
8523 PyObject
* _obj4
= 0;
8524 char *_kwnames
[] = { "self","parent","id","pos","size","style","name", NULL
};
8527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|iOOls:wxSpinButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_Create. Expected _wxSpinButton_p.");
8537 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8538 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinButton_Create. Expected _wxWindow_p.");
8546 if (! wxPoint_helper(_obj3
, &_arg3
))
8552 if (! wxSize_helper(_obj4
, &_arg4
))
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 _result
= (bool )wxSpinButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) return NULL
;
8561 } _resultobj
= Py_BuildValue("i",_result
);
8565 #define wxSpinButton_GetMax(_swigobj) (_swigobj->GetMax())
8566 static PyObject
*_wrap_wxSpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
* _resultobj
;
8569 wxSpinButton
* _arg0
;
8570 PyObject
* _argo0
= 0;
8571 char *_kwnames
[] = { "self", NULL
};
8574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMax",_kwnames
,&_argo0
))
8577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMax. Expected _wxSpinButton_p.");
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 _result
= (int )wxSpinButton_GetMax(_arg0
);
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) return NULL
;
8589 } _resultobj
= Py_BuildValue("i",_result
);
8593 #define wxSpinButton_GetMin(_swigobj) (_swigobj->GetMin())
8594 static PyObject
*_wrap_wxSpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
* _resultobj
;
8597 wxSpinButton
* _arg0
;
8598 PyObject
* _argo0
= 0;
8599 char *_kwnames
[] = { "self", NULL
};
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetMin",_kwnames
,&_argo0
))
8605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetMin. Expected _wxSpinButton_p.");
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 _result
= (int )wxSpinButton_GetMin(_arg0
);
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) return NULL
;
8617 } _resultobj
= Py_BuildValue("i",_result
);
8621 #define wxSpinButton_GetValue(_swigobj) (_swigobj->GetValue())
8622 static PyObject
*_wrap_wxSpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
* _resultobj
;
8625 wxSpinButton
* _arg0
;
8626 PyObject
* _argo0
= 0;
8627 char *_kwnames
[] = { "self", NULL
};
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinButton_GetValue",_kwnames
,&_argo0
))
8633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_GetValue. Expected _wxSpinButton_p.");
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 _result
= (int )wxSpinButton_GetValue(_arg0
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) return NULL
;
8645 } _resultobj
= Py_BuildValue("i",_result
);
8649 #define wxSpinButton_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
8650 static PyObject
*_wrap_wxSpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
* _resultobj
;
8652 wxSpinButton
* _arg0
;
8655 PyObject
* _argo0
= 0;
8656 char *_kwnames
[] = { "self","min","max", NULL
};
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinButton_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
8662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetRange. Expected _wxSpinButton_p.");
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 wxSpinButton_SetRange(_arg0
,_arg1
,_arg2
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) return NULL
;
8674 } Py_INCREF(Py_None
);
8675 _resultobj
= Py_None
;
8679 #define wxSpinButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
8680 static PyObject
*_wrap_wxSpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
* _resultobj
;
8682 wxSpinButton
* _arg0
;
8684 PyObject
* _argo0
= 0;
8685 char *_kwnames
[] = { "self","value", NULL
};
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinButton_SetValue",_kwnames
,&_argo0
,&_arg1
))
8691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinButton_p")) {
8693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinButton_SetValue. Expected _wxSpinButton_p.");
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 wxSpinButton_SetValue(_arg0
,_arg1
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) return NULL
;
8703 } Py_INCREF(Py_None
);
8704 _resultobj
= Py_None
;
8708 static void *SwigwxStaticBitmapTowxControl(void *ptr
) {
8709 wxStaticBitmap
*src
;
8711 src
= (wxStaticBitmap
*) ptr
;
8712 dest
= (wxControl
*) src
;
8713 return (void *) dest
;
8716 static void *SwigwxStaticBitmapTowxWindow(void *ptr
) {
8717 wxStaticBitmap
*src
;
8719 src
= (wxStaticBitmap
*) ptr
;
8720 dest
= (wxWindow
*) src
;
8721 return (void *) dest
;
8724 static void *SwigwxStaticBitmapTowxEvtHandler(void *ptr
) {
8725 wxStaticBitmap
*src
;
8727 src
= (wxStaticBitmap
*) ptr
;
8728 dest
= (wxEvtHandler
*) src
;
8729 return (void *) dest
;
8732 static void *SwigwxStaticBitmapTowxObject(void *ptr
) {
8733 wxStaticBitmap
*src
;
8735 src
= (wxStaticBitmap
*) ptr
;
8736 dest
= (wxObject
*) src
;
8737 return (void *) dest
;
8740 #define new_wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxStaticBitmap(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8741 static PyObject
*_wrap_new_wxStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8742 PyObject
* _resultobj
;
8743 wxStaticBitmap
* _result
;
8747 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
8748 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
8749 long _arg5
= (long ) 0;
8750 char * _arg6
= (char *) "staticBitmap";
8751 PyObject
* _argo0
= 0;
8752 PyObject
* _argo2
= 0;
8754 PyObject
* _obj3
= 0;
8756 PyObject
* _obj4
= 0;
8757 char *_kwnames
[] = { "parent","id","bitmap","pos","size","style","name", NULL
};
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOls:new_wxStaticBitmap",_kwnames
,&_argo0
,&_arg1
,&_argo2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
))
8764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
8766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxStaticBitmap. Expected _wxWindow_p.");
8771 if (_argo2
== Py_None
) { _arg2
= NULL
; }
8772 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxBitmap_p")) {
8773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxStaticBitmap. Expected _wxBitmap_p.");
8780 if (! wxPoint_helper(_obj3
, &_arg3
))
8786 if (! wxSize_helper(_obj4
, &_arg4
))
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 _result
= (wxStaticBitmap
*)new_wxStaticBitmap(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
);
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) return NULL
;
8796 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8797 _resultobj
= Py_BuildValue("s",_ptemp
);
8800 _resultobj
= Py_None
;
8805 #define new_wxPreStaticBitmap() (new wxStaticBitmap())
8806 static PyObject
*_wrap_new_wxPreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
* _resultobj
;
8808 wxStaticBitmap
* _result
;
8809 char *_kwnames
[] = { NULL
};
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreStaticBitmap",_kwnames
))
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 _result
= (wxStaticBitmap
*)new_wxPreStaticBitmap();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) return NULL
;
8822 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStaticBitmap_p");
8823 _resultobj
= Py_BuildValue("s",_ptemp
);
8826 _resultobj
= Py_None
;
8831 #define wxStaticBitmap_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
8832 static PyObject
*_wrap_wxStaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
* _resultobj
;
8835 wxStaticBitmap
* _arg0
;
8839 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
8840 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
8841 long _arg6
= (long ) 0;
8842 char * _arg7
= (char *) "staticBitmap";
8843 PyObject
* _argo0
= 0;
8844 PyObject
* _argo1
= 0;
8845 PyObject
* _argo3
= 0;
8847 PyObject
* _obj4
= 0;
8849 PyObject
* _obj5
= 0;
8850 char *_kwnames
[] = { "self","parent","id","bitmap","pos","size","style","name", NULL
};
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOls:wxStaticBitmap_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_argo3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
))
8856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_Create. Expected _wxStaticBitmap_p.");
8863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
8865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_Create. Expected _wxWindow_p.");
8870 if (_argo3
== Py_None
) { _arg3
= NULL
; }
8871 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxBitmap_p")) {
8872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxStaticBitmap_Create. Expected _wxBitmap_p.");
8879 if (! wxPoint_helper(_obj4
, &_arg4
))
8885 if (! wxSize_helper(_obj5
, &_arg5
))
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 _result
= (bool )wxStaticBitmap_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) return NULL
;
8894 } _resultobj
= Py_BuildValue("i",_result
);
8898 #define wxStaticBitmap_GetBitmap(_swigobj) (_swigobj->GetBitmap())
8899 static PyObject
*_wrap_wxStaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
* _resultobj
;
8902 wxStaticBitmap
* _arg0
;
8903 PyObject
* _argo0
= 0;
8904 char *_kwnames
[] = { "self", NULL
};
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStaticBitmap_GetBitmap",_kwnames
,&_argo0
))
8911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_GetBitmap. Expected _wxStaticBitmap_p.");
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 _result
= new wxBitmap (wxStaticBitmap_GetBitmap(_arg0
));
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) return NULL
;
8923 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
8924 _resultobj
= Py_BuildValue("s",_ptemp
);
8928 #define wxStaticBitmap_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
8929 static PyObject
*_wrap_wxStaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
* _resultobj
;
8931 wxStaticBitmap
* _arg0
;
8933 PyObject
* _argo0
= 0;
8934 PyObject
* _argo1
= 0;
8935 char *_kwnames
[] = { "self","bitmap", NULL
};
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetBitmap",_kwnames
,&_argo0
,&_argo1
))
8941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetBitmap. Expected _wxStaticBitmap_p.");
8948 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8949 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
8950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetBitmap. Expected _wxBitmap_p.");
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 wxStaticBitmap_SetBitmap(_arg0
,*_arg1
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) return NULL
;
8960 } Py_INCREF(Py_None
);
8961 _resultobj
= Py_None
;
8965 #define wxStaticBitmap_SetIcon(_swigobj,_swigarg0) (_swigobj->SetIcon(_swigarg0))
8966 static PyObject
*_wrap_wxStaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8967 PyObject
* _resultobj
;
8968 wxStaticBitmap
* _arg0
;
8970 PyObject
* _argo0
= 0;
8971 PyObject
* _argo1
= 0;
8972 char *_kwnames
[] = { "self","icon", NULL
};
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxStaticBitmap_SetIcon",_kwnames
,&_argo0
,&_argo1
))
8978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStaticBitmap_p")) {
8980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStaticBitmap_SetIcon. Expected _wxStaticBitmap_p.");
8985 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8986 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxIcon_p")) {
8987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxStaticBitmap_SetIcon. Expected _wxIcon_p.");
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 wxStaticBitmap_SetIcon(_arg0
,*_arg1
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) return NULL
;
8997 } Py_INCREF(Py_None
);
8998 _resultobj
= Py_None
;
9002 static void *SwigwxRadioBoxTowxControl(void *ptr
) {
9005 src
= (wxRadioBox
*) ptr
;
9006 dest
= (wxControl
*) src
;
9007 return (void *) dest
;
9010 static void *SwigwxRadioBoxTowxWindow(void *ptr
) {
9013 src
= (wxRadioBox
*) ptr
;
9014 dest
= (wxWindow
*) src
;
9015 return (void *) dest
;
9018 static void *SwigwxRadioBoxTowxEvtHandler(void *ptr
) {
9021 src
= (wxRadioBox
*) ptr
;
9022 dest
= (wxEvtHandler
*) src
;
9023 return (void *) dest
;
9026 static void *SwigwxRadioBoxTowxObject(void *ptr
) {
9029 src
= (wxRadioBox
*) ptr
;
9030 dest
= (wxObject
*) src
;
9031 return (void *) dest
;
9034 #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))
9035 static PyObject
*_wrap_new_wxRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
* _resultobj
;
9037 wxRadioBox
* _result
;
9041 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9042 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9043 int _arg5
= (int ) 0;
9044 wxString
* _arg6
= (wxString
*) NULL
;
9045 int _arg7
= (int ) 0;
9046 long _arg8
= (long ) wxRA_HORIZONTAL
;
9047 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
9048 char * _arg10
= (char *) "radioBox";
9049 PyObject
* _argo0
= 0;
9050 PyObject
* _obj2
= 0;
9052 PyObject
* _obj3
= 0;
9054 PyObject
* _obj4
= 0;
9055 PyObject
* _obj6
= 0;
9056 PyObject
* _argo9
= 0;
9057 char *_kwnames
[] = { "parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOOilOs:new_wxRadioBox",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_obj6
,&_arg7
,&_arg8
,&_argo9
,&_arg10
))
9064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioBox. Expected _wxWindow_p.");
9071 #if PYTHON_API_VERSION >= 1009
9072 char* tmpPtr
; int tmpSize
;
9073 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9074 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9077 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9079 _arg2
= new wxString(tmpPtr
, tmpSize
);
9081 if (!PyString_Check(_obj2
)) {
9082 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9085 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9091 if (! wxPoint_helper(_obj3
, &_arg3
))
9097 if (! wxSize_helper(_obj4
, &_arg4
))
9102 _arg6
= wxString_LIST_helper(_obj6
);
9103 if (_arg6
== NULL
) {
9108 if (_argo9
== Py_None
) { _arg9
= NULL
; }
9109 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
9110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of new_wxRadioBox. Expected _wxValidator_p.");
9116 _arg5
= PyList_Size(_obj6
);
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 _result
= (wxRadioBox
*)new_wxRadioBox(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,*_arg9
,_arg10
);
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) return NULL
;
9129 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9130 _resultobj
= Py_BuildValue("s",_ptemp
);
9133 _resultobj
= Py_None
;
9145 #define new_wxPreRadioBox() (new wxRadioBox())
9146 static PyObject
*_wrap_new_wxPreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
* _resultobj
;
9148 wxRadioBox
* _result
;
9149 char *_kwnames
[] = { NULL
};
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioBox",_kwnames
))
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 _result
= (wxRadioBox
*)new_wxPreRadioBox();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) return NULL
;
9162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioBox_p");
9163 _resultobj
= Py_BuildValue("s",_ptemp
);
9166 _resultobj
= Py_None
;
9171 #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))
9172 static PyObject
*_wrap_wxRadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
* _resultobj
;
9179 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9180 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9181 int _arg6
= (int ) 0;
9182 wxString
* _arg7
= (wxString
*) NULL
;
9183 int _arg8
= (int ) 0;
9184 long _arg9
= (long ) wxRA_HORIZONTAL
;
9185 wxValidator
* _arg10
= (wxValidator
*) &wxDefaultValidator
;
9186 char * _arg11
= (char *) "radioBox";
9187 PyObject
* _argo0
= 0;
9188 PyObject
* _argo1
= 0;
9189 PyObject
* _obj3
= 0;
9191 PyObject
* _obj4
= 0;
9193 PyObject
* _obj5
= 0;
9194 PyObject
* _obj7
= 0;
9195 PyObject
* _argo10
= 0;
9196 char *_kwnames
[] = { "self","parent","id","label","point","size","choices","majorDimension","style","validator","name", NULL
};
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOOilOs:wxRadioBox_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_obj7
,&_arg8
,&_arg9
,&_argo10
,&_arg11
))
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_Create. Expected _wxRadioBox_p.");
9209 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9210 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioBox_Create. Expected _wxWindow_p.");
9216 #if PYTHON_API_VERSION >= 1009
9217 char* tmpPtr
; int tmpSize
;
9218 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9219 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9222 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9224 _arg3
= new wxString(tmpPtr
, tmpSize
);
9226 if (!PyString_Check(_obj3
)) {
9227 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9230 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9236 if (! wxPoint_helper(_obj4
, &_arg4
))
9242 if (! wxSize_helper(_obj5
, &_arg5
))
9247 _arg7
= wxString_LIST_helper(_obj7
);
9248 if (_arg7
== NULL
) {
9253 if (_argo10
== Py_None
) { _arg10
= NULL
; }
9254 else if (SWIG_GetPtrObj(_argo10
,(void **) &_arg10
,"_wxValidator_p")) {
9255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 11 of wxRadioBox_Create. Expected _wxValidator_p.");
9261 _arg6
= PyList_Size(_obj7
);
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 _result
= (bool )wxRadioBox_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,*_arg10
,_arg11
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) return NULL
;
9273 } _resultobj
= Py_BuildValue("i",_result
);
9284 #define wxRadioBox_Enable(_swigobj,_swigarg0) (_swigobj->Enable(_swigarg0))
9285 static PyObject
*_wrap_wxRadioBox_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
* _resultobj
;
9289 PyObject
* _argo0
= 0;
9291 char *_kwnames
[] = { "self","enable", NULL
};
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Enable",_kwnames
,&_argo0
,&tempbool1
))
9297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Enable. Expected _wxRadioBox_p.");
9303 _arg1
= (bool ) tempbool1
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 wxRadioBox_Enable(_arg0
,_arg1
);
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) return NULL
;
9310 } Py_INCREF(Py_None
);
9311 _resultobj
= Py_None
;
9315 #define wxRadioBox_EnableItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Enable(_swigarg0,_swigarg1))
9316 static PyObject
*_wrap_wxRadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
* _resultobj
;
9321 PyObject
* _argo0
= 0;
9323 char *_kwnames
[] = { "self","n","enable", NULL
};
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_EnableItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_EnableItem. Expected _wxRadioBox_p.");
9335 _arg2
= (bool ) tempbool2
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 wxRadioBox_EnableItem(_arg0
,_arg1
,_arg2
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) return NULL
;
9342 } Py_INCREF(Py_None
);
9343 _resultobj
= Py_None
;
9347 #define wxRadioBox_FindString(_swigobj,_swigarg0) (_swigobj->FindString(_swigarg0))
9348 static PyObject
*_wrap_wxRadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
* _resultobj
;
9353 PyObject
* _argo0
= 0;
9354 PyObject
* _obj1
= 0;
9355 char *_kwnames
[] = { "self","string", NULL
};
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_FindString",_kwnames
,&_argo0
,&_obj1
))
9361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_FindString. Expected _wxRadioBox_p.");
9368 #if PYTHON_API_VERSION >= 1009
9369 char* tmpPtr
; int tmpSize
;
9370 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9374 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9376 _arg1
= new wxString(tmpPtr
, tmpSize
);
9378 if (!PyString_Check(_obj1
)) {
9379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9382 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 _result
= (int )wxRadioBox_FindString(_arg0
,*_arg1
);
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) return NULL
;
9391 } _resultobj
= Py_BuildValue("i",_result
);
9399 #define wxRadioBox_GetString(_swigobj,_swigarg0) (_swigobj->GetString(_swigarg0))
9400 static PyObject
*_wrap_wxRadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
* _resultobj
;
9405 PyObject
* _argo0
= 0;
9406 char *_kwnames
[] = { "self","n", NULL
};
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetString",_kwnames
,&_argo0
,&_arg1
))
9412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetString. Expected _wxRadioBox_p.");
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 _result
= new wxString (wxRadioBox_GetString(_arg0
,_arg1
));
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) return NULL
;
9425 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9433 #define wxRadioBox_GetItemLabel(_swigobj,_swigarg0) (_swigobj->GetLabel(_swigarg0))
9434 static PyObject
*_wrap_wxRadioBox_GetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
* _resultobj
;
9439 PyObject
* _argo0
= 0;
9440 char *_kwnames
[] = { "self","item", NULL
};
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_GetItemLabel",_kwnames
,&_argo0
,&_arg1
))
9446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetItemLabel. Expected _wxRadioBox_p.");
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 _result
= new wxString (wxRadioBox_GetItemLabel(_arg0
,_arg1
));
9456 wxPyEndAllowThreads(__tstate
);
9457 if (PyErr_Occurred()) return NULL
;
9459 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9467 #define wxRadioBox_SetItemLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLabel(_swigarg0,_swigarg1))
9468 static PyObject
*_wrap_wxRadioBox_SetItemLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
* _resultobj
;
9473 PyObject
* _argo0
= 0;
9474 PyObject
* _obj2
= 0;
9475 char *_kwnames
[] = { "self","item","label", NULL
};
9478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO:wxRadioBox_SetItemLabel",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetItemLabel. Expected _wxRadioBox_p.");
9488 #if PYTHON_API_VERSION >= 1009
9489 char* tmpPtr
; int tmpSize
;
9490 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9494 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9496 _arg2
= new wxString(tmpPtr
, tmpSize
);
9498 if (!PyString_Check(_obj2
)) {
9499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9502 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 wxRadioBox_SetItemLabel(_arg0
,_arg1
,*_arg2
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) return NULL
;
9511 } Py_INCREF(Py_None
);
9512 _resultobj
= Py_None
;
9520 #define wxRadioBox_GetSelection(_swigobj) (_swigobj->GetSelection())
9521 static PyObject
*_wrap_wxRadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
* _resultobj
;
9525 PyObject
* _argo0
= 0;
9526 char *_kwnames
[] = { "self", NULL
};
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetSelection",_kwnames
,&_argo0
))
9532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetSelection. Expected _wxRadioBox_p.");
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 _result
= (int )wxRadioBox_GetSelection(_arg0
);
9542 wxPyEndAllowThreads(__tstate
);
9543 if (PyErr_Occurred()) return NULL
;
9544 } _resultobj
= Py_BuildValue("i",_result
);
9548 #define wxRadioBox_GetStringSelection(_swigobj) (_swigobj->GetStringSelection())
9549 static PyObject
*_wrap_wxRadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
* _resultobj
;
9553 PyObject
* _argo0
= 0;
9554 char *_kwnames
[] = { "self", NULL
};
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetStringSelection",_kwnames
,&_argo0
))
9560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetStringSelection. Expected _wxRadioBox_p.");
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 _result
= new wxString (wxRadioBox_GetStringSelection(_arg0
));
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) return NULL
;
9573 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9581 #define wxRadioBox_GetCount(_swigobj) (_swigobj->GetCount())
9582 static PyObject
*_wrap_wxRadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
* _resultobj
;
9586 PyObject
* _argo0
= 0;
9587 char *_kwnames
[] = { "self", NULL
};
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioBox_GetCount",_kwnames
,&_argo0
))
9593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_GetCount. Expected _wxRadioBox_p.");
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 _result
= (int )wxRadioBox_GetCount(_arg0
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) return NULL
;
9605 } _resultobj
= Py_BuildValue("i",_result
);
9609 #define wxRadioBox_SetSelection(_swigobj,_swigarg0) (_swigobj->SetSelection(_swigarg0))
9610 static PyObject
*_wrap_wxRadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
* _resultobj
;
9614 PyObject
* _argo0
= 0;
9615 char *_kwnames
[] = { "self","n", NULL
};
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_SetSelection",_kwnames
,&_argo0
,&_arg1
))
9621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetSelection. Expected _wxRadioBox_p.");
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 wxRadioBox_SetSelection(_arg0
,_arg1
);
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) return NULL
;
9633 } Py_INCREF(Py_None
);
9634 _resultobj
= Py_None
;
9638 #define wxRadioBox_SetStringSelection(_swigobj,_swigarg0) (_swigobj->SetStringSelection(_swigarg0))
9639 static PyObject
*_wrap_wxRadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
* _resultobj
;
9643 PyObject
* _argo0
= 0;
9644 PyObject
* _obj1
= 0;
9645 char *_kwnames
[] = { "self","string", NULL
};
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxRadioBox_SetStringSelection",_kwnames
,&_argo0
,&_obj1
))
9651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_SetStringSelection. Expected _wxRadioBox_p.");
9658 #if PYTHON_API_VERSION >= 1009
9659 char* tmpPtr
; int tmpSize
;
9660 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9661 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9664 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9666 _arg1
= new wxString(tmpPtr
, tmpSize
);
9668 if (!PyString_Check(_obj1
)) {
9669 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9672 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 wxRadioBox_SetStringSelection(_arg0
,*_arg1
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) return NULL
;
9681 } Py_INCREF(Py_None
);
9682 _resultobj
= Py_None
;
9690 #define wxRadioBox_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
9691 static PyObject
*_wrap_wxRadioBox_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
* _resultobj
;
9695 PyObject
* _argo0
= 0;
9697 char *_kwnames
[] = { "self","show", NULL
};
9700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioBox_Show",_kwnames
,&_argo0
,&tempbool1
))
9703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_Show. Expected _wxRadioBox_p.");
9709 _arg1
= (bool ) tempbool1
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 wxRadioBox_Show(_arg0
,_arg1
);
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) return NULL
;
9716 } Py_INCREF(Py_None
);
9717 _resultobj
= Py_None
;
9721 #define wxRadioBox_ShowItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->Show(_swigarg0,_swigarg1))
9722 static PyObject
*_wrap_wxRadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
* _resultobj
;
9727 PyObject
* _argo0
= 0;
9729 char *_kwnames
[] = { "self","item","show", NULL
};
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxRadioBox_ShowItem",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
9735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioBox_p")) {
9737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioBox_ShowItem. Expected _wxRadioBox_p.");
9741 _arg2
= (bool ) tempbool2
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 wxRadioBox_ShowItem(_arg0
,_arg1
,_arg2
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) return NULL
;
9748 } Py_INCREF(Py_None
);
9749 _resultobj
= Py_None
;
9753 static void *SwigwxRadioButtonTowxControl(void *ptr
) {
9756 src
= (wxRadioButton
*) ptr
;
9757 dest
= (wxControl
*) src
;
9758 return (void *) dest
;
9761 static void *SwigwxRadioButtonTowxWindow(void *ptr
) {
9764 src
= (wxRadioButton
*) ptr
;
9765 dest
= (wxWindow
*) src
;
9766 return (void *) dest
;
9769 static void *SwigwxRadioButtonTowxEvtHandler(void *ptr
) {
9772 src
= (wxRadioButton
*) ptr
;
9773 dest
= (wxEvtHandler
*) src
;
9774 return (void *) dest
;
9777 static void *SwigwxRadioButtonTowxObject(void *ptr
) {
9780 src
= (wxRadioButton
*) ptr
;
9781 dest
= (wxObject
*) src
;
9782 return (void *) dest
;
9785 #define new_wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxRadioButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9786 static PyObject
*_wrap_new_wxRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
* _resultobj
;
9788 wxRadioButton
* _result
;
9792 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
9793 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
9794 long _arg5
= (long ) 0;
9795 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
9796 char * _arg7
= (char *) "radioButton";
9797 PyObject
* _argo0
= 0;
9798 PyObject
* _obj2
= 0;
9800 PyObject
* _obj3
= 0;
9802 PyObject
* _obj4
= 0;
9803 PyObject
* _argo6
= 0;
9804 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
9808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxRadioButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
9811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
9813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxRadioButton. Expected _wxWindow_p.");
9818 #if PYTHON_API_VERSION >= 1009
9819 char* tmpPtr
; int tmpSize
;
9820 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
9821 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9824 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
9826 _arg2
= new wxString(tmpPtr
, tmpSize
);
9828 if (!PyString_Check(_obj2
)) {
9829 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9832 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
9838 if (! wxPoint_helper(_obj3
, &_arg3
))
9844 if (! wxSize_helper(_obj4
, &_arg4
))
9848 if (_argo6
== Py_None
) { _arg6
= NULL
; }
9849 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
9850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxRadioButton. Expected _wxValidator_p.");
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 _result
= (wxRadioButton
*)new_wxRadioButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) return NULL
;
9861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9862 _resultobj
= Py_BuildValue("s",_ptemp
);
9865 _resultobj
= Py_None
;
9874 #define new_wxPreRadioButton() (new wxRadioButton())
9875 static PyObject
*_wrap_new_wxPreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
* _resultobj
;
9877 wxRadioButton
* _result
;
9878 char *_kwnames
[] = { NULL
};
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreRadioButton",_kwnames
))
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 _result
= (wxRadioButton
*)new_wxPreRadioButton();
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) return NULL
;
9891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxRadioButton_p");
9892 _resultobj
= Py_BuildValue("s",_ptemp
);
9895 _resultobj
= Py_None
;
9900 #define wxRadioButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
9901 static PyObject
*_wrap_wxRadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
* _resultobj
;
9904 wxRadioButton
* _arg0
;
9908 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
9909 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
9910 long _arg6
= (long ) 0;
9911 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
9912 char * _arg8
= (char *) "radioButton";
9913 PyObject
* _argo0
= 0;
9914 PyObject
* _argo1
= 0;
9915 PyObject
* _obj3
= 0;
9917 PyObject
* _obj4
= 0;
9919 PyObject
* _obj5
= 0;
9920 PyObject
* _argo7
= 0;
9921 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxRadioButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
9927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
9929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_Create. Expected _wxRadioButton_p.");
9934 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9935 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
9936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxRadioButton_Create. Expected _wxWindow_p.");
9941 #if PYTHON_API_VERSION >= 1009
9942 char* tmpPtr
; int tmpSize
;
9943 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
9944 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9947 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
9949 _arg3
= new wxString(tmpPtr
, tmpSize
);
9951 if (!PyString_Check(_obj3
)) {
9952 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9955 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
9961 if (! wxPoint_helper(_obj4
, &_arg4
))
9967 if (! wxSize_helper(_obj5
, &_arg5
))
9971 if (_argo7
== Py_None
) { _arg7
= NULL
; }
9972 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
9973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxRadioButton_Create. Expected _wxValidator_p.");
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 _result
= (bool )wxRadioButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) return NULL
;
9983 } _resultobj
= Py_BuildValue("i",_result
);
9991 #define wxRadioButton_GetValue(_swigobj) (_swigobj->GetValue())
9992 static PyObject
*_wrap_wxRadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
* _resultobj
;
9995 wxRadioButton
* _arg0
;
9996 PyObject
* _argo0
= 0;
9997 char *_kwnames
[] = { "self", NULL
};
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxRadioButton_GetValue",_kwnames
,&_argo0
))
10003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_GetValue. Expected _wxRadioButton_p.");
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 _result
= (bool )wxRadioButton_GetValue(_arg0
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) return NULL
;
10015 } _resultobj
= Py_BuildValue("i",_result
);
10019 #define wxRadioButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10020 static PyObject
*_wrap_wxRadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
* _resultobj
;
10022 wxRadioButton
* _arg0
;
10024 PyObject
* _argo0
= 0;
10026 char *_kwnames
[] = { "self","value", NULL
};
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxRadioButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
10032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxRadioButton_p")) {
10034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxRadioButton_SetValue. Expected _wxRadioButton_p.");
10038 _arg1
= (bool ) tempbool1
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 wxRadioButton_SetValue(_arg0
,_arg1
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) return NULL
;
10045 } Py_INCREF(Py_None
);
10046 _resultobj
= Py_None
;
10050 static void *SwigwxSliderTowxControl(void *ptr
) {
10053 src
= (wxSlider
*) ptr
;
10054 dest
= (wxControl
*) src
;
10055 return (void *) dest
;
10058 static void *SwigwxSliderTowxWindow(void *ptr
) {
10061 src
= (wxSlider
*) ptr
;
10062 dest
= (wxWindow
*) src
;
10063 return (void *) dest
;
10066 static void *SwigwxSliderTowxEvtHandler(void *ptr
) {
10068 wxEvtHandler
*dest
;
10069 src
= (wxSlider
*) ptr
;
10070 dest
= (wxEvtHandler
*) src
;
10071 return (void *) dest
;
10074 static void *SwigwxSliderTowxObject(void *ptr
) {
10077 src
= (wxSlider
*) ptr
;
10078 dest
= (wxObject
*) src
;
10079 return (void *) dest
;
10082 #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))
10083 static PyObject
*_wrap_new_wxSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
* _resultobj
;
10085 wxSlider
* _result
;
10091 wxPoint
* _arg5
= (wxPoint
*) &wxDefaultPosition
;
10092 wxSize
* _arg6
= (wxSize
*) &wxDefaultSize
;
10093 long _arg7
= (long ) wxSL_HORIZONTAL
;
10094 wxValidator
* _arg8
= (wxValidator
*) &wxDefaultValidator
;
10095 char * _arg9
= (char *) "slider";
10096 PyObject
* _argo0
= 0;
10098 PyObject
* _obj5
= 0;
10100 PyObject
* _obj6
= 0;
10101 PyObject
* _argo8
= 0;
10102 char *_kwnames
[] = { "parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oiiii|OOlOs:new_wxSlider",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_obj5
,&_obj6
,&_arg7
,&_argo8
,&_arg9
))
10109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSlider. Expected _wxWindow_p.");
10118 if (! wxPoint_helper(_obj5
, &_arg5
))
10124 if (! wxSize_helper(_obj6
, &_arg6
))
10128 if (_argo8
== Py_None
) { _arg8
= NULL
; }
10129 else if (SWIG_GetPtrObj(_argo8
,(void **) &_arg8
,"_wxValidator_p")) {
10130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 9 of new_wxSlider. Expected _wxValidator_p.");
10135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10136 _result
= (wxSlider
*)new_wxSlider(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,*_arg5
,*_arg6
,_arg7
,*_arg8
,_arg9
);
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) return NULL
;
10141 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10142 _resultobj
= Py_BuildValue("s",_ptemp
);
10144 Py_INCREF(Py_None
);
10145 _resultobj
= Py_None
;
10150 #define new_wxPreSlider() (new wxSlider())
10151 static PyObject
*_wrap_new_wxPreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
* _resultobj
;
10153 wxSlider
* _result
;
10154 char *_kwnames
[] = { NULL
};
10158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSlider",_kwnames
))
10161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10162 _result
= (wxSlider
*)new_wxPreSlider();
10164 wxPyEndAllowThreads(__tstate
);
10165 if (PyErr_Occurred()) return NULL
;
10167 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSlider_p");
10168 _resultobj
= Py_BuildValue("s",_ptemp
);
10170 Py_INCREF(Py_None
);
10171 _resultobj
= Py_None
;
10176 #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))
10177 static PyObject
*_wrap_wxSlider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
* _resultobj
;
10186 wxPoint
* _arg6
= (wxPoint
*) &wxDefaultPosition
;
10187 wxSize
* _arg7
= (wxSize
*) &wxDefaultSize
;
10188 long _arg8
= (long ) wxSL_HORIZONTAL
;
10189 wxValidator
* _arg9
= (wxValidator
*) &wxDefaultValidator
;
10190 char * _arg10
= (char *) "slider";
10191 PyObject
* _argo0
= 0;
10192 PyObject
* _argo1
= 0;
10194 PyObject
* _obj6
= 0;
10196 PyObject
* _obj7
= 0;
10197 PyObject
* _argo9
= 0;
10198 char *_kwnames
[] = { "self","parent","id","value","minValue","maxValue","point","size","style","validator","name", NULL
};
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiiii|OOlOs:wxSlider_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_obj6
,&_obj7
,&_arg8
,&_argo9
,&_arg10
))
10204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_Create. Expected _wxSlider_p.");
10211 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10212 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSlider_Create. Expected _wxWindow_p.");
10220 if (! wxPoint_helper(_obj6
, &_arg6
))
10226 if (! wxSize_helper(_obj7
, &_arg7
))
10230 if (_argo9
== Py_None
) { _arg9
= NULL
; }
10231 else if (SWIG_GetPtrObj(_argo9
,(void **) &_arg9
,"_wxValidator_p")) {
10232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 10 of wxSlider_Create. Expected _wxValidator_p.");
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 _result
= (bool )wxSlider_Create(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,*_arg6
,*_arg7
,_arg8
,*_arg9
,_arg10
);
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) return NULL
;
10242 } _resultobj
= Py_BuildValue("i",_result
);
10246 #define wxSlider_ClearSel(_swigobj) (_swigobj->ClearSel())
10247 static PyObject
*_wrap_wxSlider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10248 PyObject
* _resultobj
;
10250 PyObject
* _argo0
= 0;
10251 char *_kwnames
[] = { "self", NULL
};
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearSel",_kwnames
,&_argo0
))
10257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearSel. Expected _wxSlider_p.");
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 wxSlider_ClearSel(_arg0
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) return NULL
;
10269 } Py_INCREF(Py_None
);
10270 _resultobj
= Py_None
;
10274 #define wxSlider_ClearTicks(_swigobj) (_swigobj->ClearTicks())
10275 static PyObject
*_wrap_wxSlider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
* _resultobj
;
10278 PyObject
* _argo0
= 0;
10279 char *_kwnames
[] = { "self", NULL
};
10282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_ClearTicks",_kwnames
,&_argo0
))
10285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_ClearTicks. Expected _wxSlider_p.");
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 wxSlider_ClearTicks(_arg0
);
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) return NULL
;
10297 } Py_INCREF(Py_None
);
10298 _resultobj
= Py_None
;
10302 #define wxSlider_GetLineSize(_swigobj) (_swigobj->GetLineSize())
10303 static PyObject
*_wrap_wxSlider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
* _resultobj
;
10307 PyObject
* _argo0
= 0;
10308 char *_kwnames
[] = { "self", NULL
};
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetLineSize",_kwnames
,&_argo0
))
10314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetLineSize. Expected _wxSlider_p.");
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 _result
= (int )wxSlider_GetLineSize(_arg0
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) return NULL
;
10326 } _resultobj
= Py_BuildValue("i",_result
);
10330 #define wxSlider_GetMax(_swigobj) (_swigobj->GetMax())
10331 static PyObject
*_wrap_wxSlider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
* _resultobj
;
10335 PyObject
* _argo0
= 0;
10336 char *_kwnames
[] = { "self", NULL
};
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMax",_kwnames
,&_argo0
))
10342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMax. Expected _wxSlider_p.");
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 _result
= (int )wxSlider_GetMax(_arg0
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) return NULL
;
10354 } _resultobj
= Py_BuildValue("i",_result
);
10358 #define wxSlider_GetMin(_swigobj) (_swigobj->GetMin())
10359 static PyObject
*_wrap_wxSlider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
* _resultobj
;
10363 PyObject
* _argo0
= 0;
10364 char *_kwnames
[] = { "self", NULL
};
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetMin",_kwnames
,&_argo0
))
10370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetMin. Expected _wxSlider_p.");
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 _result
= (int )wxSlider_GetMin(_arg0
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) return NULL
;
10382 } _resultobj
= Py_BuildValue("i",_result
);
10386 #define wxSlider_GetPageSize(_swigobj) (_swigobj->GetPageSize())
10387 static PyObject
*_wrap_wxSlider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
* _resultobj
;
10391 PyObject
* _argo0
= 0;
10392 char *_kwnames
[] = { "self", NULL
};
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetPageSize",_kwnames
,&_argo0
))
10398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetPageSize. Expected _wxSlider_p.");
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 _result
= (int )wxSlider_GetPageSize(_arg0
);
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) return NULL
;
10410 } _resultobj
= Py_BuildValue("i",_result
);
10414 #define wxSlider_GetSelEnd(_swigobj) (_swigobj->GetSelEnd())
10415 static PyObject
*_wrap_wxSlider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
* _resultobj
;
10419 PyObject
* _argo0
= 0;
10420 char *_kwnames
[] = { "self", NULL
};
10423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelEnd",_kwnames
,&_argo0
))
10426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelEnd. Expected _wxSlider_p.");
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 _result
= (int )wxSlider_GetSelEnd(_arg0
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) return NULL
;
10438 } _resultobj
= Py_BuildValue("i",_result
);
10442 #define wxSlider_GetSelStart(_swigobj) (_swigobj->GetSelStart())
10443 static PyObject
*_wrap_wxSlider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
* _resultobj
;
10447 PyObject
* _argo0
= 0;
10448 char *_kwnames
[] = { "self", NULL
};
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetSelStart",_kwnames
,&_argo0
))
10454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetSelStart. Expected _wxSlider_p.");
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 _result
= (int )wxSlider_GetSelStart(_arg0
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) return NULL
;
10466 } _resultobj
= Py_BuildValue("i",_result
);
10470 #define wxSlider_GetThumbLength(_swigobj) (_swigobj->GetThumbLength())
10471 static PyObject
*_wrap_wxSlider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
* _resultobj
;
10475 PyObject
* _argo0
= 0;
10476 char *_kwnames
[] = { "self", NULL
};
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetThumbLength",_kwnames
,&_argo0
))
10482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetThumbLength. Expected _wxSlider_p.");
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 _result
= (int )wxSlider_GetThumbLength(_arg0
);
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) return NULL
;
10494 } _resultobj
= Py_BuildValue("i",_result
);
10498 #define wxSlider_GetTickFreq(_swigobj) (_swigobj->GetTickFreq())
10499 static PyObject
*_wrap_wxSlider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
* _resultobj
;
10503 PyObject
* _argo0
= 0;
10504 char *_kwnames
[] = { "self", NULL
};
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetTickFreq",_kwnames
,&_argo0
))
10510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetTickFreq. Expected _wxSlider_p.");
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 _result
= (int )wxSlider_GetTickFreq(_arg0
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) return NULL
;
10522 } _resultobj
= Py_BuildValue("i",_result
);
10526 #define wxSlider_GetValue(_swigobj) (_swigobj->GetValue())
10527 static PyObject
*_wrap_wxSlider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
* _resultobj
;
10531 PyObject
* _argo0
= 0;
10532 char *_kwnames
[] = { "self", NULL
};
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSlider_GetValue",_kwnames
,&_argo0
))
10538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_GetValue. Expected _wxSlider_p.");
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 _result
= (int )wxSlider_GetValue(_arg0
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) return NULL
;
10550 } _resultobj
= Py_BuildValue("i",_result
);
10554 #define wxSlider_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
10555 static PyObject
*_wrap_wxSlider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
* _resultobj
;
10560 PyObject
* _argo0
= 0;
10561 char *_kwnames
[] = { "self","minValue","maxValue", NULL
};
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetRange. Expected _wxSlider_p.");
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 wxSlider_SetRange(_arg0
,_arg1
,_arg2
);
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) return NULL
;
10579 } Py_INCREF(Py_None
);
10580 _resultobj
= Py_None
;
10584 #define wxSlider_SetTickFreq(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTickFreq(_swigarg0,_swigarg1))
10585 static PyObject
*_wrap_wxSlider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
* _resultobj
;
10590 PyObject
* _argo0
= 0;
10591 char *_kwnames
[] = { "self","n","pos", NULL
};
10594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetTickFreq",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTickFreq. Expected _wxSlider_p.");
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 wxSlider_SetTickFreq(_arg0
,_arg1
,_arg2
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) return NULL
;
10609 } Py_INCREF(Py_None
);
10610 _resultobj
= Py_None
;
10614 #define wxSlider_SetLineSize(_swigobj,_swigarg0) (_swigobj->SetLineSize(_swigarg0))
10615 static PyObject
*_wrap_wxSlider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
* _resultobj
;
10619 PyObject
* _argo0
= 0;
10620 char *_kwnames
[] = { "self","lineSize", NULL
};
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetLineSize",_kwnames
,&_argo0
,&_arg1
))
10626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetLineSize. Expected _wxSlider_p.");
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 wxSlider_SetLineSize(_arg0
,_arg1
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) return NULL
;
10638 } Py_INCREF(Py_None
);
10639 _resultobj
= Py_None
;
10643 #define wxSlider_SetPageSize(_swigobj,_swigarg0) (_swigobj->SetPageSize(_swigarg0))
10644 static PyObject
*_wrap_wxSlider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
* _resultobj
;
10648 PyObject
* _argo0
= 0;
10649 char *_kwnames
[] = { "self","pageSize", NULL
};
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetPageSize",_kwnames
,&_argo0
,&_arg1
))
10655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetPageSize. Expected _wxSlider_p.");
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 wxSlider_SetPageSize(_arg0
,_arg1
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) return NULL
;
10667 } Py_INCREF(Py_None
);
10668 _resultobj
= Py_None
;
10672 #define wxSlider_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
10673 static PyObject
*_wrap_wxSlider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
* _resultobj
;
10678 PyObject
* _argo0
= 0;
10679 char *_kwnames
[] = { "self","startPos","endPos", NULL
};
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSlider_SetSelection",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
10685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetSelection. Expected _wxSlider_p.");
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 wxSlider_SetSelection(_arg0
,_arg1
,_arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) return NULL
;
10697 } Py_INCREF(Py_None
);
10698 _resultobj
= Py_None
;
10702 #define wxSlider_SetThumbLength(_swigobj,_swigarg0) (_swigobj->SetThumbLength(_swigarg0))
10703 static PyObject
*_wrap_wxSlider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
* _resultobj
;
10707 PyObject
* _argo0
= 0;
10708 char *_kwnames
[] = { "self","len", NULL
};
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetThumbLength",_kwnames
,&_argo0
,&_arg1
))
10714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetThumbLength. Expected _wxSlider_p.");
10721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10722 wxSlider_SetThumbLength(_arg0
,_arg1
);
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) return NULL
;
10726 } Py_INCREF(Py_None
);
10727 _resultobj
= Py_None
;
10731 #define wxSlider_SetTick(_swigobj,_swigarg0) (_swigobj->SetTick(_swigarg0))
10732 static PyObject
*_wrap_wxSlider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
* _resultobj
;
10736 PyObject
* _argo0
= 0;
10737 char *_kwnames
[] = { "self","tickPos", NULL
};
10740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetTick",_kwnames
,&_argo0
,&_arg1
))
10743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetTick. Expected _wxSlider_p.");
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 wxSlider_SetTick(_arg0
,_arg1
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) return NULL
;
10755 } Py_INCREF(Py_None
);
10756 _resultobj
= Py_None
;
10760 #define wxSlider_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
10761 static PyObject
*_wrap_wxSlider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
* _resultobj
;
10765 PyObject
* _argo0
= 0;
10766 char *_kwnames
[] = { "self","value", NULL
};
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSlider_SetValue",_kwnames
,&_argo0
,&_arg1
))
10772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSlider_p")) {
10774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSlider_SetValue. Expected _wxSlider_p.");
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10780 wxSlider_SetValue(_arg0
,_arg1
);
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) return NULL
;
10784 } Py_INCREF(Py_None
);
10785 _resultobj
= Py_None
;
10789 static void *SwigwxSpinCtrlTowxSpinButton(void *ptr
) {
10791 wxSpinButton
*dest
;
10792 src
= (wxSpinCtrl
*) ptr
;
10793 dest
= (wxSpinButton
*) src
;
10794 return (void *) dest
;
10797 static void *SwigwxSpinCtrlTowxControl(void *ptr
) {
10800 src
= (wxSpinCtrl
*) ptr
;
10801 dest
= (wxControl
*) src
;
10802 return (void *) dest
;
10805 static void *SwigwxSpinCtrlTowxWindow(void *ptr
) {
10808 src
= (wxSpinCtrl
*) ptr
;
10809 dest
= (wxWindow
*) src
;
10810 return (void *) dest
;
10813 static void *SwigwxSpinCtrlTowxEvtHandler(void *ptr
) {
10815 wxEvtHandler
*dest
;
10816 src
= (wxSpinCtrl
*) ptr
;
10817 dest
= (wxEvtHandler
*) src
;
10818 return (void *) dest
;
10821 static void *SwigwxSpinCtrlTowxObject(void *ptr
) {
10824 src
= (wxSpinCtrl
*) ptr
;
10825 dest
= (wxObject
*) src
;
10826 return (void *) dest
;
10829 #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))
10830 static PyObject
*_wrap_new_wxSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
* _resultobj
;
10832 wxSpinCtrl
* _result
;
10834 wxWindowID _arg1
= (wxWindowID
) -1;
10835 char * _arg2
= (char *) "";
10836 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
10837 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
10838 long _arg5
= (long ) wxSP_ARROW_KEYS
;
10839 int _arg6
= (int ) 0;
10840 int _arg7
= (int ) 100;
10841 int _arg8
= (int ) 0;
10842 char * _arg9
= (char *) "wxSpinCtrl";
10843 PyObject
* _argo0
= 0;
10845 PyObject
* _obj3
= 0;
10847 PyObject
* _obj4
= 0;
10848 char *_kwnames
[] = { "parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|isOOliiis:new_wxSpinCtrl",_kwnames
,&_argo0
,&_arg1
,&_arg2
,&_obj3
,&_obj4
,&_arg5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
))
10855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
10857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxSpinCtrl. Expected _wxWindow_p.");
10864 if (! wxPoint_helper(_obj3
, &_arg3
))
10870 if (! wxSize_helper(_obj4
, &_arg4
))
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 _result
= (wxSpinCtrl
*)new_wxSpinCtrl(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) return NULL
;
10880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10881 _resultobj
= Py_BuildValue("s",_ptemp
);
10883 Py_INCREF(Py_None
);
10884 _resultobj
= Py_None
;
10889 #define new_wxPreSpinCtrl() (new wxSpinCtrl())
10890 static PyObject
*_wrap_new_wxPreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
* _resultobj
;
10892 wxSpinCtrl
* _result
;
10893 char *_kwnames
[] = { NULL
};
10897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreSpinCtrl",_kwnames
))
10900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10901 _result
= (wxSpinCtrl
*)new_wxPreSpinCtrl();
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) return NULL
;
10906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxSpinCtrl_p");
10907 _resultobj
= Py_BuildValue("s",_ptemp
);
10909 Py_INCREF(Py_None
);
10910 _resultobj
= Py_None
;
10915 #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))
10916 static PyObject
*_wrap_wxSpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
* _resultobj
;
10919 wxSpinCtrl
* _arg0
;
10921 wxWindowID _arg2
= (wxWindowID
) -1;
10922 char * _arg3
= (char *) "";
10923 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
10924 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
10925 long _arg6
= (long ) wxSP_ARROW_KEYS
;
10926 int _arg7
= (int ) 0;
10927 int _arg8
= (int ) 100;
10928 int _arg9
= (int ) 0;
10929 char * _arg10
= (char *) "wxSpinCtrl";
10930 PyObject
* _argo0
= 0;
10931 PyObject
* _argo1
= 0;
10933 PyObject
* _obj4
= 0;
10935 PyObject
* _obj5
= 0;
10936 char *_kwnames
[] = { "self","parent","id","value","pos","size","style","min","max","initial","name", NULL
};
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|isOOliiis:wxSpinCtrl_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_arg3
,&_obj4
,&_obj5
,&_arg6
,&_arg7
,&_arg8
,&_arg9
,&_arg10
))
10942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_Create. Expected _wxSpinCtrl_p.");
10949 if (_argo1
== Py_None
) { _arg1
= NULL
; }
10950 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
10951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxSpinCtrl_Create. Expected _wxWindow_p.");
10958 if (! wxPoint_helper(_obj4
, &_arg4
))
10964 if (! wxSize_helper(_obj5
, &_arg5
))
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 _result
= (bool )wxSpinCtrl_Create(_arg0
,_arg1
,_arg2
,_arg3
,*_arg4
,*_arg5
,_arg6
,_arg7
,_arg8
,_arg9
,_arg10
);
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) return NULL
;
10973 } _resultobj
= Py_BuildValue("i",_result
);
10977 #define wxSpinCtrl_GetMax(_swigobj) (_swigobj->GetMax())
10978 static PyObject
*_wrap_wxSpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
* _resultobj
;
10981 wxSpinCtrl
* _arg0
;
10982 PyObject
* _argo0
= 0;
10983 char *_kwnames
[] = { "self", NULL
};
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMax",_kwnames
,&_argo0
))
10989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
10990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
10991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMax. Expected _wxSpinCtrl_p.");
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 _result
= (int )wxSpinCtrl_GetMax(_arg0
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) return NULL
;
11001 } _resultobj
= Py_BuildValue("i",_result
);
11005 #define wxSpinCtrl_GetMin(_swigobj) (_swigobj->GetMin())
11006 static PyObject
*_wrap_wxSpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
* _resultobj
;
11009 wxSpinCtrl
* _arg0
;
11010 PyObject
* _argo0
= 0;
11011 char *_kwnames
[] = { "self", NULL
};
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetMin",_kwnames
,&_argo0
))
11017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetMin. Expected _wxSpinCtrl_p.");
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 _result
= (int )wxSpinCtrl_GetMin(_arg0
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) return NULL
;
11029 } _resultobj
= Py_BuildValue("i",_result
);
11033 #define wxSpinCtrl_GetValue(_swigobj) (_swigobj->GetValue())
11034 static PyObject
*_wrap_wxSpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
* _resultobj
;
11037 wxSpinCtrl
* _arg0
;
11038 PyObject
* _argo0
= 0;
11039 char *_kwnames
[] = { "self", NULL
};
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSpinCtrl_GetValue",_kwnames
,&_argo0
))
11045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_GetValue. Expected _wxSpinCtrl_p.");
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 _result
= (int )wxSpinCtrl_GetValue(_arg0
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) return NULL
;
11057 } _resultobj
= Py_BuildValue("i",_result
);
11061 #define wxSpinCtrl_SetRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRange(_swigarg0,_swigarg1))
11062 static PyObject
*_wrap_wxSpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
* _resultobj
;
11064 wxSpinCtrl
* _arg0
;
11067 PyObject
* _argo0
= 0;
11068 char *_kwnames
[] = { "self","min","max", NULL
};
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxSpinCtrl_SetRange",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
11074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetRange. Expected _wxSpinCtrl_p.");
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 wxSpinCtrl_SetRange(_arg0
,_arg1
,_arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) return NULL
;
11086 } Py_INCREF(Py_None
);
11087 _resultobj
= Py_None
;
11091 #define wxSpinCtrl_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11092 static PyObject
*_wrap_wxSpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
* _resultobj
;
11094 wxSpinCtrl
* _arg0
;
11096 PyObject
* _argo0
= 0;
11097 char *_kwnames
[] = { "self","value", NULL
};
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxSpinCtrl_SetValue",_kwnames
,&_argo0
,&_arg1
))
11103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxSpinCtrl_p")) {
11105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSpinCtrl_SetValue. Expected _wxSpinCtrl_p.");
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11111 wxSpinCtrl_SetValue(_arg0
,_arg1
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) return NULL
;
11115 } Py_INCREF(Py_None
);
11116 _resultobj
= Py_None
;
11120 static void *SwigwxToggleButtonTowxControl(void *ptr
) {
11121 wxToggleButton
*src
;
11123 src
= (wxToggleButton
*) ptr
;
11124 dest
= (wxControl
*) src
;
11125 return (void *) dest
;
11128 static void *SwigwxToggleButtonTowxWindow(void *ptr
) {
11129 wxToggleButton
*src
;
11131 src
= (wxToggleButton
*) ptr
;
11132 dest
= (wxWindow
*) src
;
11133 return (void *) dest
;
11136 static void *SwigwxToggleButtonTowxEvtHandler(void *ptr
) {
11137 wxToggleButton
*src
;
11138 wxEvtHandler
*dest
;
11139 src
= (wxToggleButton
*) ptr
;
11140 dest
= (wxEvtHandler
*) src
;
11141 return (void *) dest
;
11144 static void *SwigwxToggleButtonTowxObject(void *ptr
) {
11145 wxToggleButton
*src
;
11147 src
= (wxToggleButton
*) ptr
;
11148 dest
= (wxObject
*) src
;
11149 return (void *) dest
;
11152 #define new_wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxToggleButton(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11153 static PyObject
*_wrap_new_wxToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
* _resultobj
;
11155 wxToggleButton
* _result
;
11159 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
11160 wxSize
* _arg4
= (wxSize
*) &wxDefaultSize
;
11161 long _arg5
= (long ) 0;
11162 wxValidator
* _arg6
= (wxValidator
*) &wxDefaultValidator
;
11163 char * _arg7
= (char *) "toggle";
11164 PyObject
* _argo0
= 0;
11165 PyObject
* _obj2
= 0;
11167 PyObject
* _obj3
= 0;
11169 PyObject
* _obj4
= 0;
11170 PyObject
* _argo6
= 0;
11171 char *_kwnames
[] = { "parent","id","label","pos","size","style","validator","name", NULL
};
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OiO|OOlOs:new_wxToggleButton",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
))
11178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
11180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxToggleButton. Expected _wxWindow_p.");
11185 #if PYTHON_API_VERSION >= 1009
11186 char* tmpPtr
; int tmpSize
;
11187 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
11188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11191 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
11193 _arg2
= new wxString(tmpPtr
, tmpSize
);
11195 if (!PyString_Check(_obj2
)) {
11196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11199 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
11205 if (! wxPoint_helper(_obj3
, &_arg3
))
11211 if (! wxSize_helper(_obj4
, &_arg4
))
11215 if (_argo6
== Py_None
) { _arg6
= NULL
; }
11216 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxValidator_p")) {
11217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of new_wxToggleButton. Expected _wxValidator_p.");
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 _result
= (wxToggleButton
*)new_wxToggleButton(_arg0
,_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,*_arg6
,_arg7
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) return NULL
;
11228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11229 _resultobj
= Py_BuildValue("s",_ptemp
);
11231 Py_INCREF(Py_None
);
11232 _resultobj
= Py_None
;
11241 #define new_wxPreToggleButton() (new wxToggleButton())
11242 static PyObject
*_wrap_new_wxPreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11243 PyObject
* _resultobj
;
11244 wxToggleButton
* _result
;
11245 char *_kwnames
[] = { NULL
};
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPreToggleButton",_kwnames
))
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 _result
= (wxToggleButton
*)new_wxPreToggleButton();
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) return NULL
;
11258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToggleButton_p");
11259 _resultobj
= Py_BuildValue("s",_ptemp
);
11261 Py_INCREF(Py_None
);
11262 _resultobj
= Py_None
;
11267 #define wxToggleButton_Create(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (_swigobj->Create(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
11268 static PyObject
*_wrap_wxToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
* _resultobj
;
11271 wxToggleButton
* _arg0
;
11275 wxPoint
* _arg4
= (wxPoint
*) &wxDefaultPosition
;
11276 wxSize
* _arg5
= (wxSize
*) &wxDefaultSize
;
11277 long _arg6
= (long ) 0;
11278 wxValidator
* _arg7
= (wxValidator
*) &wxDefaultValidator
;
11279 char * _arg8
= (char *) "toggle";
11280 PyObject
* _argo0
= 0;
11281 PyObject
* _argo1
= 0;
11282 PyObject
* _obj3
= 0;
11284 PyObject
* _obj4
= 0;
11286 PyObject
* _obj5
= 0;
11287 PyObject
* _argo7
= 0;
11288 char *_kwnames
[] = { "self","parent","id","label","pos","size","style","validator","name", NULL
};
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOiO|OOlOs:wxToggleButton_Create",_kwnames
,&_argo0
,&_argo1
,&_arg2
,&_obj3
,&_obj4
,&_obj5
,&_arg6
,&_argo7
,&_arg8
))
11294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_Create. Expected _wxToggleButton_p.");
11301 if (_argo1
== Py_None
) { _arg1
= NULL
; }
11302 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
11303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxToggleButton_Create. Expected _wxWindow_p.");
11308 #if PYTHON_API_VERSION >= 1009
11309 char* tmpPtr
; int tmpSize
;
11310 if (!PyString_Check(_obj3
) && !PyUnicode_Check(_obj3
)) {
11311 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11314 if (PyString_AsStringAndSize(_obj3
, &tmpPtr
, &tmpSize
) == -1)
11316 _arg3
= new wxString(tmpPtr
, tmpSize
);
11318 if (!PyString_Check(_obj3
)) {
11319 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11322 _arg3
= new wxString(PyString_AS_STRING(_obj3
), PyString_GET_SIZE(_obj3
));
11328 if (! wxPoint_helper(_obj4
, &_arg4
))
11334 if (! wxSize_helper(_obj5
, &_arg5
))
11338 if (_argo7
== Py_None
) { _arg7
= NULL
; }
11339 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxValidator_p")) {
11340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of wxToggleButton_Create. Expected _wxValidator_p.");
11345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11346 _result
= (bool )wxToggleButton_Create(_arg0
,_arg1
,_arg2
,*_arg3
,*_arg4
,*_arg5
,_arg6
,*_arg7
,_arg8
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) return NULL
;
11350 } _resultobj
= Py_BuildValue("i",_result
);
11358 #define wxToggleButton_SetValue(_swigobj,_swigarg0) (_swigobj->SetValue(_swigarg0))
11359 static PyObject
*_wrap_wxToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
* _resultobj
;
11361 wxToggleButton
* _arg0
;
11363 PyObject
* _argo0
= 0;
11365 char *_kwnames
[] = { "self","value", NULL
};
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxToggleButton_SetValue",_kwnames
,&_argo0
,&tempbool1
))
11371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetValue. Expected _wxToggleButton_p.");
11377 _arg1
= (bool ) tempbool1
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 wxToggleButton_SetValue(_arg0
,_arg1
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) return NULL
;
11384 } Py_INCREF(Py_None
);
11385 _resultobj
= Py_None
;
11389 #define wxToggleButton_GetValue(_swigobj) (_swigobj->GetValue())
11390 static PyObject
*_wrap_wxToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
* _resultobj
;
11393 wxToggleButton
* _arg0
;
11394 PyObject
* _argo0
= 0;
11395 char *_kwnames
[] = { "self", NULL
};
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToggleButton_GetValue",_kwnames
,&_argo0
))
11401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_GetValue. Expected _wxToggleButton_p.");
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 _result
= (bool )wxToggleButton_GetValue(_arg0
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) return NULL
;
11413 } _resultobj
= Py_BuildValue("i",_result
);
11417 #define wxToggleButton_SetLabel(_swigobj,_swigarg0) (_swigobj->SetLabel(_swigarg0))
11418 static PyObject
*_wrap_wxToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
* _resultobj
;
11420 wxToggleButton
* _arg0
;
11422 PyObject
* _argo0
= 0;
11423 PyObject
* _obj1
= 0;
11424 char *_kwnames
[] = { "self","label", NULL
};
11427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToggleButton_SetLabel",_kwnames
,&_argo0
,&_obj1
))
11430 if (_argo0
== Py_None
) { _arg0
= NULL
; }
11431 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToggleButton_p")) {
11432 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToggleButton_SetLabel. Expected _wxToggleButton_p.");
11437 #if PYTHON_API_VERSION >= 1009
11438 char* tmpPtr
; int tmpSize
;
11439 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
11440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11443 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
11445 _arg1
= new wxString(tmpPtr
, tmpSize
);
11447 if (!PyString_Check(_obj1
)) {
11448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
11451 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 wxToggleButton_SetLabel(_arg0
,*_arg1
);
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) return NULL
;
11460 } Py_INCREF(Py_None
);
11461 _resultobj
= Py_None
;
11469 static PyMethodDef controlscMethods
[] = {
11470 { "wxToggleButton_SetLabel", (PyCFunction
) _wrap_wxToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11471 { "wxToggleButton_GetValue", (PyCFunction
) _wrap_wxToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11472 { "wxToggleButton_SetValue", (PyCFunction
) _wrap_wxToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11473 { "wxToggleButton_Create", (PyCFunction
) _wrap_wxToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11474 { "new_wxPreToggleButton", (PyCFunction
) _wrap_new_wxPreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11475 { "new_wxToggleButton", (PyCFunction
) _wrap_new_wxToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
11476 { "wxSpinCtrl_SetValue", (PyCFunction
) _wrap_wxSpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11477 { "wxSpinCtrl_SetRange", (PyCFunction
) _wrap_wxSpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11478 { "wxSpinCtrl_GetValue", (PyCFunction
) _wrap_wxSpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11479 { "wxSpinCtrl_GetMin", (PyCFunction
) _wrap_wxSpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11480 { "wxSpinCtrl_GetMax", (PyCFunction
) _wrap_wxSpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11481 { "wxSpinCtrl_Create", (PyCFunction
) _wrap_wxSpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11482 { "new_wxPreSpinCtrl", (PyCFunction
) _wrap_new_wxPreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11483 { "new_wxSpinCtrl", (PyCFunction
) _wrap_new_wxSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11484 { "wxSlider_SetValue", (PyCFunction
) _wrap_wxSlider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11485 { "wxSlider_SetTick", (PyCFunction
) _wrap_wxSlider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
11486 { "wxSlider_SetThumbLength", (PyCFunction
) _wrap_wxSlider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11487 { "wxSlider_SetSelection", (PyCFunction
) _wrap_wxSlider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11488 { "wxSlider_SetPageSize", (PyCFunction
) _wrap_wxSlider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11489 { "wxSlider_SetLineSize", (PyCFunction
) _wrap_wxSlider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11490 { "wxSlider_SetTickFreq", (PyCFunction
) _wrap_wxSlider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11491 { "wxSlider_SetRange", (PyCFunction
) _wrap_wxSlider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11492 { "wxSlider_GetValue", (PyCFunction
) _wrap_wxSlider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11493 { "wxSlider_GetTickFreq", (PyCFunction
) _wrap_wxSlider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
11494 { "wxSlider_GetThumbLength", (PyCFunction
) _wrap_wxSlider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
11495 { "wxSlider_GetSelStart", (PyCFunction
) _wrap_wxSlider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
11496 { "wxSlider_GetSelEnd", (PyCFunction
) _wrap_wxSlider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
11497 { "wxSlider_GetPageSize", (PyCFunction
) _wrap_wxSlider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11498 { "wxSlider_GetMin", (PyCFunction
) _wrap_wxSlider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11499 { "wxSlider_GetMax", (PyCFunction
) _wrap_wxSlider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11500 { "wxSlider_GetLineSize", (PyCFunction
) _wrap_wxSlider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
11501 { "wxSlider_ClearTicks", (PyCFunction
) _wrap_wxSlider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
11502 { "wxSlider_ClearSel", (PyCFunction
) _wrap_wxSlider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
11503 { "wxSlider_Create", (PyCFunction
) _wrap_wxSlider_Create
, METH_VARARGS
| METH_KEYWORDS
},
11504 { "new_wxPreSlider", (PyCFunction
) _wrap_new_wxPreSlider
, METH_VARARGS
| METH_KEYWORDS
},
11505 { "new_wxSlider", (PyCFunction
) _wrap_new_wxSlider
, METH_VARARGS
| METH_KEYWORDS
},
11506 { "wxRadioButton_SetValue", (PyCFunction
) _wrap_wxRadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11507 { "wxRadioButton_GetValue", (PyCFunction
) _wrap_wxRadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11508 { "wxRadioButton_Create", (PyCFunction
) _wrap_wxRadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11509 { "new_wxPreRadioButton", (PyCFunction
) _wrap_new_wxPreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11510 { "new_wxRadioButton", (PyCFunction
) _wrap_new_wxRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
11511 { "wxRadioBox_ShowItem", (PyCFunction
) _wrap_wxRadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
11512 { "wxRadioBox_Show", (PyCFunction
) _wrap_wxRadioBox_Show
, METH_VARARGS
| METH_KEYWORDS
},
11513 { "wxRadioBox_SetStringSelection", (PyCFunction
) _wrap_wxRadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11514 { "wxRadioBox_SetSelection", (PyCFunction
) _wrap_wxRadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11515 { "wxRadioBox_GetCount", (PyCFunction
) _wrap_wxRadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11516 { "wxRadioBox_GetStringSelection", (PyCFunction
) _wrap_wxRadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11517 { "wxRadioBox_GetSelection", (PyCFunction
) _wrap_wxRadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11518 { "wxRadioBox_SetItemLabel", (PyCFunction
) _wrap_wxRadioBox_SetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11519 { "wxRadioBox_GetItemLabel", (PyCFunction
) _wrap_wxRadioBox_GetItemLabel
, METH_VARARGS
| METH_KEYWORDS
},
11520 { "wxRadioBox_GetString", (PyCFunction
) _wrap_wxRadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11521 { "wxRadioBox_FindString", (PyCFunction
) _wrap_wxRadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11522 { "wxRadioBox_EnableItem", (PyCFunction
) _wrap_wxRadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
11523 { "wxRadioBox_Enable", (PyCFunction
) _wrap_wxRadioBox_Enable
, METH_VARARGS
| METH_KEYWORDS
},
11524 { "wxRadioBox_Create", (PyCFunction
) _wrap_wxRadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11525 { "new_wxPreRadioBox", (PyCFunction
) _wrap_new_wxPreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11526 { "new_wxRadioBox", (PyCFunction
) _wrap_new_wxRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
11527 { "wxStaticBitmap_SetIcon", (PyCFunction
) _wrap_wxStaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
11528 { "wxStaticBitmap_SetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11529 { "wxStaticBitmap_GetBitmap", (PyCFunction
) _wrap_wxStaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11530 { "wxStaticBitmap_Create", (PyCFunction
) _wrap_wxStaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
11531 { "new_wxPreStaticBitmap", (PyCFunction
) _wrap_new_wxPreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11532 { "new_wxStaticBitmap", (PyCFunction
) _wrap_new_wxStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
11533 { "wxSpinButton_SetValue", (PyCFunction
) _wrap_wxSpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11534 { "wxSpinButton_SetRange", (PyCFunction
) _wrap_wxSpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11535 { "wxSpinButton_GetValue", (PyCFunction
) _wrap_wxSpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11536 { "wxSpinButton_GetMin", (PyCFunction
) _wrap_wxSpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
11537 { "wxSpinButton_GetMax", (PyCFunction
) _wrap_wxSpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
11538 { "wxSpinButton_Create", (PyCFunction
) _wrap_wxSpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11539 { "new_wxPreSpinButton", (PyCFunction
) _wrap_new_wxPreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11540 { "new_wxSpinButton", (PyCFunction
) _wrap_new_wxSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
11541 { "wxScrollBar_SetScrollbar", (PyCFunction
) _wrap_wxScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
11542 { "wxScrollBar_SetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11543 { "wxScrollBar_IsVertical", (PyCFunction
) _wrap_wxScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
11544 { "wxScrollBar_GetThumbLength", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11545 { "wxScrollBar_GetThumbSize", (PyCFunction
) _wrap_wxScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
11546 { "wxScrollBar_GetThumbPosition", (PyCFunction
) _wrap_wxScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
11547 { "wxScrollBar_GetPageSize", (PyCFunction
) _wrap_wxScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
11548 { "wxScrollBar_GetRange", (PyCFunction
) _wrap_wxScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11549 { "wxScrollBar_Create", (PyCFunction
) _wrap_wxScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
11550 { "new_wxPreScrollBar", (PyCFunction
) _wrap_new_wxPreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11551 { "new_wxScrollBar", (PyCFunction
) _wrap_new_wxScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
11552 { "wxTextCtrl_GetString", (PyCFunction
) _wrap_wxTextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11553 { "wxTextCtrl_write", (PyCFunction
) _wrap_wxTextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
11554 { "wxTextCtrl_SetEditable", (PyCFunction
) _wrap_wxTextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11555 { "wxTextCtrl_SelectAll", (PyCFunction
) _wrap_wxTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
11556 { "wxTextCtrl_SetSelection", (PyCFunction
) _wrap_wxTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11557 { "wxTextCtrl_GetLastPosition", (PyCFunction
) _wrap_wxTextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11558 { "wxTextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11559 { "wxTextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11560 { "wxTextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_wxTextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11561 { "wxTextCtrl_CanRedo", (PyCFunction
) _wrap_wxTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
11562 { "wxTextCtrl_CanUndo", (PyCFunction
) _wrap_wxTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
11563 { "wxTextCtrl_Redo", (PyCFunction
) _wrap_wxTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
11564 { "wxTextCtrl_Undo", (PyCFunction
) _wrap_wxTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
11565 { "wxTextCtrl_CanPaste", (PyCFunction
) _wrap_wxTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
11566 { "wxTextCtrl_CanCut", (PyCFunction
) _wrap_wxTextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
11567 { "wxTextCtrl_CanCopy", (PyCFunction
) _wrap_wxTextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
11568 { "wxTextCtrl_Paste", (PyCFunction
) _wrap_wxTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11569 { "wxTextCtrl_Cut", (PyCFunction
) _wrap_wxTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11570 { "wxTextCtrl_Copy", (PyCFunction
) _wrap_wxTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11571 { "wxTextCtrl_ShowPosition", (PyCFunction
) _wrap_wxTextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
11572 { "wxTextCtrl_PositionToXY", (PyCFunction
) _wrap_wxTextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
11573 { "wxTextCtrl_XYToPosition", (PyCFunction
) _wrap_wxTextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
11574 { "wxTextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11575 { "wxTextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_wxTextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
11576 { "wxTextCtrl_SetStyle", (PyCFunction
) _wrap_wxTextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
11577 { "wxTextCtrl_AppendText", (PyCFunction
) _wrap_wxTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
11578 { "wxTextCtrl_WriteText", (PyCFunction
) _wrap_wxTextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
11579 { "wxTextCtrl_SetMaxLength", (PyCFunction
) _wrap_wxTextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
11580 { "wxTextCtrl_DiscardEdits", (PyCFunction
) _wrap_wxTextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
11581 { "wxTextCtrl_SaveFile", (PyCFunction
) _wrap_wxTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
11582 { "wxTextCtrl_LoadFile", (PyCFunction
) _wrap_wxTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
11583 { "wxTextCtrl_Remove", (PyCFunction
) _wrap_wxTextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11584 { "wxTextCtrl_Replace", (PyCFunction
) _wrap_wxTextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11585 { "wxTextCtrl_Clear", (PyCFunction
) _wrap_wxTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11586 { "wxTextCtrl_GetStringSelection", (PyCFunction
) _wrap_wxTextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11587 { "wxTextCtrl_GetSelection", (PyCFunction
) _wrap_wxTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11588 { "wxTextCtrl_IsEditable", (PyCFunction
) _wrap_wxTextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
11589 { "wxTextCtrl_IsModified", (PyCFunction
) _wrap_wxTextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
11590 { "wxTextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_wxTextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
11591 { "wxTextCtrl_GetLineText", (PyCFunction
) _wrap_wxTextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
11592 { "wxTextCtrl_GetLineLength", (PyCFunction
) _wrap_wxTextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
11593 { "wxTextCtrl_GetRange", (PyCFunction
) _wrap_wxTextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11594 { "wxTextCtrl_SetValue", (PyCFunction
) _wrap_wxTextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11595 { "wxTextCtrl_GetValue", (PyCFunction
) _wrap_wxTextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11596 { "wxTextCtrl_Create", (PyCFunction
) _wrap_wxTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11597 { "new_wxPreTextCtrl", (PyCFunction
) _wrap_new_wxPreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11598 { "new_wxTextCtrl", (PyCFunction
) _wrap_new_wxTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
11599 { "wxTextAttr_Combine", (PyCFunction
) _wrap_wxTextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
11600 { "wxTextAttr_IsDefault", (PyCFunction
) _wrap_wxTextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
11601 { "wxTextAttr_GetFont", (PyCFunction
) _wrap_wxTextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
11602 { "wxTextAttr_GetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11603 { "wxTextAttr_GetTextColour", (PyCFunction
) _wrap_wxTextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11604 { "wxTextAttr_HasFont", (PyCFunction
) _wrap_wxTextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
11605 { "wxTextAttr_HasBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11606 { "wxTextAttr_HasTextColour", (PyCFunction
) _wrap_wxTextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11607 { "wxTextAttr_SetFont", (PyCFunction
) _wrap_wxTextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
11608 { "wxTextAttr_SetBackgroundColour", (PyCFunction
) _wrap_wxTextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11609 { "wxTextAttr_SetTextColour", (PyCFunction
) _wrap_wxTextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
11610 { "delete_wxTextAttr", (PyCFunction
) _wrap_delete_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11611 { "new_wxTextAttr", (PyCFunction
) _wrap_new_wxTextAttr
, METH_VARARGS
| METH_KEYWORDS
},
11612 { "wxCheckListBox_GetItemHeight", (PyCFunction
) _wrap_wxCheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
11613 { "wxCheckListBox_InsertItems", (PyCFunction
) _wrap_wxCheckListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11614 { "wxCheckListBox_Check", (PyCFunction
) _wrap_wxCheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
11615 { "wxCheckListBox_IsChecked", (PyCFunction
) _wrap_wxCheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
11616 { "wxCheckListBox_Create", (PyCFunction
) _wrap_wxCheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11617 { "new_wxPreCheckListBox", (PyCFunction
) _wrap_new_wxPreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11618 { "new_wxCheckListBox", (PyCFunction
) _wrap_new_wxCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
11619 { "wxListBox_SetStringSelection", (PyCFunction
) _wrap_wxListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11620 { "wxListBox_SetString", (PyCFunction
) _wrap_wxListBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11621 { "wxListBox_SetSelection", (PyCFunction
) _wrap_wxListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11622 { "wxListBox_SetFirstItemStr", (PyCFunction
) _wrap_wxListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
11623 { "wxListBox_SetFirstItem", (PyCFunction
) _wrap_wxListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
11624 { "wxListBox_Set", (PyCFunction
) _wrap_wxListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
11625 { "wxListBox_Selected", (PyCFunction
) _wrap_wxListBox_Selected
, METH_VARARGS
| METH_KEYWORDS
},
11626 { "wxListBox_IsSelected", (PyCFunction
) _wrap_wxListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
11627 { "wxListBox_InsertItems", (PyCFunction
) _wrap_wxListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
11628 { "wxListBox_GetSelections", (PyCFunction
) _wrap_wxListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
11629 { "wxListBox_Deselect", (PyCFunction
) _wrap_wxListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
11630 { "wxListBox_Clear", (PyCFunction
) _wrap_wxListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11631 { "wxListBox_Create", (PyCFunction
) _wrap_wxListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11632 { "new_wxPreListBox", (PyCFunction
) _wrap_new_wxPreListBox
, METH_VARARGS
| METH_KEYWORDS
},
11633 { "new_wxListBox", (PyCFunction
) _wrap_new_wxListBox
, METH_VARARGS
| METH_KEYWORDS
},
11634 { "wxStaticText_SetLabel", (PyCFunction
) _wrap_wxStaticText_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11635 { "wxStaticText_GetLabel", (PyCFunction
) _wrap_wxStaticText_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11636 { "wxStaticText_Create", (PyCFunction
) _wrap_wxStaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
11637 { "new_wxPreStaticText", (PyCFunction
) _wrap_new_wxPreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11638 { "new_wxStaticText", (PyCFunction
) _wrap_new_wxStaticText
, METH_VARARGS
| METH_KEYWORDS
},
11639 { "wxStaticLine_Create", (PyCFunction
) _wrap_wxStaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
11640 { "new_wxPreStaticLine", (PyCFunction
) _wrap_new_wxPreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11641 { "new_wxStaticLine", (PyCFunction
) _wrap_new_wxStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
11642 { "wxStaticBox_Create", (PyCFunction
) _wrap_wxStaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11643 { "new_wxPreStaticBox", (PyCFunction
) _wrap_new_wxPreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11644 { "new_wxStaticBox", (PyCFunction
) _wrap_new_wxStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
11645 { "wxGauge_SetValue", (PyCFunction
) _wrap_wxGauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11646 { "wxGauge_SetShadowWidth", (PyCFunction
) _wrap_wxGauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11647 { "wxGauge_SetRange", (PyCFunction
) _wrap_wxGauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
11648 { "wxGauge_SetBezelFace", (PyCFunction
) _wrap_wxGauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11649 { "wxGauge_GetValue", (PyCFunction
) _wrap_wxGauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11650 { "wxGauge_GetShadowWidth", (PyCFunction
) _wrap_wxGauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
11651 { "wxGauge_GetRange", (PyCFunction
) _wrap_wxGauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
11652 { "wxGauge_GetBezelFace", (PyCFunction
) _wrap_wxGauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
11653 { "wxGauge_Create", (PyCFunction
) _wrap_wxGauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
11654 { "new_wxPreGauge", (PyCFunction
) _wrap_new_wxPreGauge
, METH_VARARGS
| METH_KEYWORDS
},
11655 { "new_wxGauge", (PyCFunction
) _wrap_new_wxGauge
, METH_VARARGS
| METH_KEYWORDS
},
11656 { "wxComboBox_SetClientData", (PyCFunction
) _wrap_wxComboBox_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11657 { "wxComboBox_GetClientData", (PyCFunction
) _wrap_wxComboBox_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11658 { "wxComboBox_Append", (PyCFunction
) _wrap_wxComboBox_Append
, METH_VARARGS
| METH_KEYWORDS
},
11659 { "wxComboBox_GetStringSelection", (PyCFunction
) _wrap_wxComboBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11660 { "wxComboBox_GetSelection", (PyCFunction
) _wrap_wxComboBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11661 { "wxComboBox_FindString", (PyCFunction
) _wrap_wxComboBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11662 { "wxComboBox_GetString", (PyCFunction
) _wrap_wxComboBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11663 { "wxComboBox_GetCount", (PyCFunction
) _wrap_wxComboBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11664 { "wxComboBox_Delete", (PyCFunction
) _wrap_wxComboBox_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11665 { "wxComboBox_Clear", (PyCFunction
) _wrap_wxComboBox_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11666 { "wxComboBox_SetEditable", (PyCFunction
) _wrap_wxComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
11667 { "wxComboBox_SetValue", (PyCFunction
) _wrap_wxComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11668 { "wxComboBox_SetMark", (PyCFunction
) _wrap_wxComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
11669 { "wxComboBox_SetSelection", (PyCFunction
) _wrap_wxComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11670 { "wxComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_wxComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
11671 { "wxComboBox_SetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11672 { "wxComboBox_Remove", (PyCFunction
) _wrap_wxComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
11673 { "wxComboBox_Replace", (PyCFunction
) _wrap_wxComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
11674 { "wxComboBox_Paste", (PyCFunction
) _wrap_wxComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
11675 { "wxComboBox_GetValue", (PyCFunction
) _wrap_wxComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11676 { "wxComboBox_GetLastPosition", (PyCFunction
) _wrap_wxComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
11677 { "wxComboBox_GetInsertionPoint", (PyCFunction
) _wrap_wxComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
11678 { "wxComboBox_Cut", (PyCFunction
) _wrap_wxComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
11679 { "wxComboBox_Copy", (PyCFunction
) _wrap_wxComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
11680 { "wxComboBox_Create", (PyCFunction
) _wrap_wxComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11681 { "new_wxPreComboBox", (PyCFunction
) _wrap_new_wxPreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11682 { "new_wxComboBox", (PyCFunction
) _wrap_new_wxComboBox
, METH_VARARGS
| METH_KEYWORDS
},
11683 { "wxChoice_SetString", (PyCFunction
) _wrap_wxChoice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11684 { "wxChoice_SetStringSelection", (PyCFunction
) _wrap_wxChoice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11685 { "wxChoice_SetSelection", (PyCFunction
) _wrap_wxChoice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11686 { "wxChoice_SetColumns", (PyCFunction
) _wrap_wxChoice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11687 { "wxChoice_GetColumns", (PyCFunction
) _wrap_wxChoice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
11688 { "wxChoice_Clear", (PyCFunction
) _wrap_wxChoice_Clear
, METH_VARARGS
| METH_KEYWORDS
},
11689 { "wxChoice_Create", (PyCFunction
) _wrap_wxChoice_Create
, METH_VARARGS
| METH_KEYWORDS
},
11690 { "new_wxPreChoice", (PyCFunction
) _wrap_new_wxPreChoice
, METH_VARARGS
| METH_KEYWORDS
},
11691 { "new_wxChoice", (PyCFunction
) _wrap_new_wxChoice
, METH_VARARGS
| METH_KEYWORDS
},
11692 { "wxCheckBox_SetValue", (PyCFunction
) _wrap_wxCheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
11693 { "wxCheckBox_GetValue", (PyCFunction
) _wrap_wxCheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
11694 { "wxCheckBox_Create", (PyCFunction
) _wrap_wxCheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
11695 { "new_wxPreCheckBox", (PyCFunction
) _wrap_new_wxPreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11696 { "new_wxCheckBox", (PyCFunction
) _wrap_new_wxCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
11697 { "wxBitmapButton_GetMarginY", (PyCFunction
) _wrap_wxBitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
11698 { "wxBitmapButton_GetMarginX", (PyCFunction
) _wrap_wxBitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
11699 { "wxBitmapButton_SetMargins", (PyCFunction
) _wrap_wxBitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
11700 { "wxBitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11701 { "wxBitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11702 { "wxBitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11703 { "wxBitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11704 { "wxBitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
11705 { "wxBitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
11706 { "wxBitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
11707 { "wxBitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_wxBitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
11708 { "wxBitmapButton_Create", (PyCFunction
) _wrap_wxBitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11709 { "new_wxPreBitmapButton", (PyCFunction
) _wrap_new_wxPreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11710 { "new_wxBitmapButton", (PyCFunction
) _wrap_new_wxBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
11711 { "wxButton_GetDefaultSize", (PyCFunction
) _wrap_wxButton_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
11712 { "wxButton_SetForegroundColour", (PyCFunction
) _wrap_wxButton_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11713 { "wxButton_SetBackgroundColour", (PyCFunction
) _wrap_wxButton_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
11714 { "wxButton_SetDefault", (PyCFunction
) _wrap_wxButton_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
11715 { "wxButton_Create", (PyCFunction
) _wrap_wxButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
11716 { "new_wxPreButton", (PyCFunction
) _wrap_new_wxPreButton
, METH_VARARGS
| METH_KEYWORDS
},
11717 { "new_wxButton", (PyCFunction
) _wrap_new_wxButton
, METH_VARARGS
| METH_KEYWORDS
},
11718 { "wxControlWithItems_SetClientData", (PyCFunction
) _wrap_wxControlWithItems_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11719 { "wxControlWithItems_GetClientData", (PyCFunction
) _wrap_wxControlWithItems_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
11720 { "wxControlWithItems_Append", (PyCFunction
) _wrap_wxControlWithItems_Append
, METH_VARARGS
| METH_KEYWORDS
},
11721 { "wxControlWithItems_GetStringSelection", (PyCFunction
) _wrap_wxControlWithItems_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
11722 { "wxControlWithItems_GetSelection", (PyCFunction
) _wrap_wxControlWithItems_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
11723 { "wxControlWithItems_Select", (PyCFunction
) _wrap_wxControlWithItems_Select
, METH_VARARGS
| METH_KEYWORDS
},
11724 { "wxControlWithItems_FindString", (PyCFunction
) _wrap_wxControlWithItems_FindString
, METH_VARARGS
| METH_KEYWORDS
},
11725 { "wxControlWithItems_SetString", (PyCFunction
) _wrap_wxControlWithItems_SetString
, METH_VARARGS
| METH_KEYWORDS
},
11726 { "wxControlWithItems_GetString", (PyCFunction
) _wrap_wxControlWithItems_GetString
, METH_VARARGS
| METH_KEYWORDS
},
11727 { "wxControlWithItems_GetCount", (PyCFunction
) _wrap_wxControlWithItems_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
11728 { "wxControlWithItems_Delete", (PyCFunction
) _wrap_wxControlWithItems_Delete
, METH_VARARGS
| METH_KEYWORDS
},
11729 { "wxControl_SetLabel", (PyCFunction
) _wrap_wxControl_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11730 { "wxControl_GetLabel", (PyCFunction
) _wrap_wxControl_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
11731 { "wxControl_Command", (PyCFunction
) _wrap_wxControl_Command
, METH_VARARGS
| METH_KEYWORDS
},
11732 { "wxControl_Create", (PyCFunction
) _wrap_wxControl_Create
, METH_VARARGS
| METH_KEYWORDS
},
11733 { "new_wxPreControl", (PyCFunction
) _wrap_new_wxPreControl
, METH_VARARGS
| METH_KEYWORDS
},
11734 { "new_wxControl", (PyCFunction
) _wrap_new_wxControl
, METH_VARARGS
| METH_KEYWORDS
},
11741 * This table is used by the pointer type-checker
11743 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
11744 { "_signed_long","_long",0},
11745 { "_wxPrintQuality","_wxCoord",0},
11746 { "_wxPrintQuality","_int",0},
11747 { "_wxPrintQuality","_signed_int",0},
11748 { "_wxPrintQuality","_unsigned_int",0},
11749 { "_wxPrintQuality","_wxWindowID",0},
11750 { "_wxPrintQuality","_uint",0},
11751 { "_wxPrintQuality","_EBool",0},
11752 { "_wxPrintQuality","_size_t",0},
11753 { "_wxPrintQuality","_time_t",0},
11754 { "_byte","_unsigned_char",0},
11755 { "_long","_unsigned_long",0},
11756 { "_long","_signed_long",0},
11757 { "_size_t","_wxCoord",0},
11758 { "_size_t","_wxPrintQuality",0},
11759 { "_size_t","_time_t",0},
11760 { "_size_t","_unsigned_int",0},
11761 { "_size_t","_int",0},
11762 { "_size_t","_wxWindowID",0},
11763 { "_size_t","_uint",0},
11764 { "_uint","_wxCoord",0},
11765 { "_uint","_wxPrintQuality",0},
11766 { "_uint","_time_t",0},
11767 { "_uint","_size_t",0},
11768 { "_uint","_unsigned_int",0},
11769 { "_uint","_int",0},
11770 { "_uint","_wxWindowID",0},
11771 { "_wxChar","_char",0},
11772 { "_char","_wxChar",0},
11773 { "_wxSpinButton","_wxSpinCtrl",SwigwxSpinCtrlTowxSpinButton
},
11774 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11775 { "_EBool","_wxCoord",0},
11776 { "_EBool","_wxPrintQuality",0},
11777 { "_EBool","_signed_int",0},
11778 { "_EBool","_int",0},
11779 { "_EBool","_wxWindowID",0},
11780 { "_unsigned_long","_long",0},
11781 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11782 { "_signed_int","_wxCoord",0},
11783 { "_signed_int","_wxPrintQuality",0},
11784 { "_signed_int","_EBool",0},
11785 { "_signed_int","_wxWindowID",0},
11786 { "_signed_int","_int",0},
11787 { "_wxListBox","_wxCheckListBox",SwigwxCheckListBoxTowxListBox
},
11788 { "_WXTYPE","_short",0},
11789 { "_WXTYPE","_signed_short",0},
11790 { "_WXTYPE","_unsigned_short",0},
11791 { "_unsigned_short","_WXTYPE",0},
11792 { "_unsigned_short","_short",0},
11793 { "_wxObject","_wxToggleButton",SwigwxToggleButtonTowxObject
},
11794 { "_wxObject","_wxSpinCtrl",SwigwxSpinCtrlTowxObject
},
11795 { "_wxObject","_wxSlider",SwigwxSliderTowxObject
},
11796 { "_wxObject","_wxRadioButton",SwigwxRadioButtonTowxObject
},
11797 { "_wxObject","_wxRadioBox",SwigwxRadioBoxTowxObject
},
11798 { "_wxObject","_wxStaticBitmap",SwigwxStaticBitmapTowxObject
},
11799 { "_wxObject","_wxSpinButton",SwigwxSpinButtonTowxObject
},
11800 { "_wxObject","_wxScrollBar",SwigwxScrollBarTowxObject
},
11801 { "_wxObject","_wxTextCtrl",SwigwxTextCtrlTowxObject
},
11802 { "_wxObject","_wxCheckListBox",SwigwxCheckListBoxTowxObject
},
11803 { "_wxObject","_wxListBox",SwigwxListBoxTowxObject
},
11804 { "_wxObject","_wxStaticText",SwigwxStaticTextTowxObject
},
11805 { "_wxObject","_wxStaticLine",SwigwxStaticLineTowxObject
},
11806 { "_wxObject","_wxStaticBox",SwigwxStaticBoxTowxObject
},
11807 { "_wxObject","_wxGauge",SwigwxGaugeTowxObject
},
11808 { "_wxObject","_wxComboBox",SwigwxComboBoxTowxObject
},
11809 { "_wxObject","_wxChoice",SwigwxChoiceTowxObject
},
11810 { "_wxObject","_wxCheckBox",SwigwxCheckBoxTowxObject
},
11811 { "_wxObject","_wxBitmapButton",SwigwxBitmapButtonTowxObject
},
11812 { "_wxObject","_wxButton",SwigwxButtonTowxObject
},
11813 { "_wxObject","_wxControlWithItems",SwigwxControlWithItemsTowxObject
},
11814 { "_wxObject","_wxControl",SwigwxControlTowxObject
},
11815 { "_signed_short","_WXTYPE",0},
11816 { "_signed_short","_short",0},
11817 { "_unsigned_char","_byte",0},
11818 { "_wxControl","_wxToggleButton",SwigwxToggleButtonTowxControl
},
11819 { "_wxControl","_wxSpinCtrl",SwigwxSpinCtrlTowxControl
},
11820 { "_wxControl","_wxSlider",SwigwxSliderTowxControl
},
11821 { "_wxControl","_wxRadioButton",SwigwxRadioButtonTowxControl
},
11822 { "_wxControl","_wxRadioBox",SwigwxRadioBoxTowxControl
},
11823 { "_wxControl","_wxStaticBitmap",SwigwxStaticBitmapTowxControl
},
11824 { "_wxControl","_wxSpinButton",SwigwxSpinButtonTowxControl
},
11825 { "_wxControl","_wxScrollBar",SwigwxScrollBarTowxControl
},
11826 { "_wxControl","_wxTextCtrl",SwigwxTextCtrlTowxControl
},
11827 { "_wxControl","_wxCheckListBox",SwigwxCheckListBoxTowxControl
},
11828 { "_wxControl","_wxListBox",SwigwxListBoxTowxControl
},
11829 { "_wxControl","_wxStaticText",SwigwxStaticTextTowxControl
},
11830 { "_wxControl","_wxStaticLine",SwigwxStaticLineTowxControl
},
11831 { "_wxControl","_wxStaticBox",SwigwxStaticBoxTowxControl
},
11832 { "_wxControl","_wxGauge",SwigwxGaugeTowxControl
},
11833 { "_wxControl","_wxComboBox",SwigwxComboBoxTowxControl
},
11834 { "_wxControl","_wxChoice",SwigwxChoiceTowxControl
},
11835 { "_wxControl","_wxCheckBox",SwigwxCheckBoxTowxControl
},
11836 { "_wxControl","_wxBitmapButton",SwigwxBitmapButtonTowxControl
},
11837 { "_wxControl","_wxButton",SwigwxButtonTowxControl
},
11838 { "_wxControl","_wxControlWithItems",SwigwxControlWithItemsTowxControl
},
11839 { "_unsigned_int","_wxCoord",0},
11840 { "_unsigned_int","_wxPrintQuality",0},
11841 { "_unsigned_int","_time_t",0},
11842 { "_unsigned_int","_size_t",0},
11843 { "_unsigned_int","_uint",0},
11844 { "_unsigned_int","_wxWindowID",0},
11845 { "_unsigned_int","_int",0},
11846 { "_short","_WXTYPE",0},
11847 { "_short","_unsigned_short",0},
11848 { "_short","_signed_short",0},
11849 { "_wxControlWithItems","_wxCheckListBox",SwigwxCheckListBoxTowxControlWithItems
},
11850 { "_wxControlWithItems","_wxListBox",SwigwxListBoxTowxControlWithItems
},
11851 { "_wxControlWithItems","_wxChoice",SwigwxChoiceTowxControlWithItems
},
11852 { "_wxWindowID","_wxCoord",0},
11853 { "_wxWindowID","_wxPrintQuality",0},
11854 { "_wxWindowID","_time_t",0},
11855 { "_wxWindowID","_size_t",0},
11856 { "_wxWindowID","_EBool",0},
11857 { "_wxWindowID","_uint",0},
11858 { "_wxWindowID","_int",0},
11859 { "_wxWindowID","_signed_int",0},
11860 { "_wxWindowID","_unsigned_int",0},
11861 { "_int","_wxCoord",0},
11862 { "_int","_wxPrintQuality",0},
11863 { "_int","_time_t",0},
11864 { "_int","_size_t",0},
11865 { "_int","_EBool",0},
11866 { "_int","_uint",0},
11867 { "_int","_wxWindowID",0},
11868 { "_int","_unsigned_int",0},
11869 { "_int","_signed_int",0},
11870 { "_time_t","_wxCoord",0},
11871 { "_time_t","_wxPrintQuality",0},
11872 { "_time_t","_unsigned_int",0},
11873 { "_time_t","_int",0},
11874 { "_time_t","_wxWindowID",0},
11875 { "_time_t","_uint",0},
11876 { "_time_t","_size_t",0},
11877 { "_wxButton","_wxBitmapButton",SwigwxBitmapButtonTowxButton
},
11878 { "_wxCoord","_int",0},
11879 { "_wxCoord","_signed_int",0},
11880 { "_wxCoord","_unsigned_int",0},
11881 { "_wxCoord","_wxWindowID",0},
11882 { "_wxCoord","_uint",0},
11883 { "_wxCoord","_EBool",0},
11884 { "_wxCoord","_size_t",0},
11885 { "_wxCoord","_time_t",0},
11886 { "_wxCoord","_wxPrintQuality",0},
11887 { "_wxEvtHandler","_wxToggleButton",SwigwxToggleButtonTowxEvtHandler
},
11888 { "_wxEvtHandler","_wxSpinCtrl",SwigwxSpinCtrlTowxEvtHandler
},
11889 { "_wxEvtHandler","_wxSlider",SwigwxSliderTowxEvtHandler
},
11890 { "_wxEvtHandler","_wxRadioButton",SwigwxRadioButtonTowxEvtHandler
},
11891 { "_wxEvtHandler","_wxRadioBox",SwigwxRadioBoxTowxEvtHandler
},
11892 { "_wxEvtHandler","_wxStaticBitmap",SwigwxStaticBitmapTowxEvtHandler
},
11893 { "_wxEvtHandler","_wxSpinButton",SwigwxSpinButtonTowxEvtHandler
},
11894 { "_wxEvtHandler","_wxScrollBar",SwigwxScrollBarTowxEvtHandler
},
11895 { "_wxEvtHandler","_wxTextCtrl",SwigwxTextCtrlTowxEvtHandler
},
11896 { "_wxEvtHandler","_wxCheckListBox",SwigwxCheckListBoxTowxEvtHandler
},
11897 { "_wxEvtHandler","_wxListBox",SwigwxListBoxTowxEvtHandler
},
11898 { "_wxEvtHandler","_wxStaticText",SwigwxStaticTextTowxEvtHandler
},
11899 { "_wxEvtHandler","_wxStaticLine",SwigwxStaticLineTowxEvtHandler
},
11900 { "_wxEvtHandler","_wxStaticBox",SwigwxStaticBoxTowxEvtHandler
},
11901 { "_wxEvtHandler","_wxGauge",SwigwxGaugeTowxEvtHandler
},
11902 { "_wxEvtHandler","_wxComboBox",SwigwxComboBoxTowxEvtHandler
},
11903 { "_wxEvtHandler","_wxChoice",SwigwxChoiceTowxEvtHandler
},
11904 { "_wxEvtHandler","_wxCheckBox",SwigwxCheckBoxTowxEvtHandler
},
11905 { "_wxEvtHandler","_wxBitmapButton",SwigwxBitmapButtonTowxEvtHandler
},
11906 { "_wxEvtHandler","_wxButton",SwigwxButtonTowxEvtHandler
},
11907 { "_wxEvtHandler","_wxControlWithItems",SwigwxControlWithItemsTowxEvtHandler
},
11908 { "_wxEvtHandler","_wxControl",SwigwxControlTowxEvtHandler
},
11909 { "_wxWindow","_wxToggleButton",SwigwxToggleButtonTowxWindow
},
11910 { "_wxWindow","_wxSpinCtrl",SwigwxSpinCtrlTowxWindow
},
11911 { "_wxWindow","_wxSlider",SwigwxSliderTowxWindow
},
11912 { "_wxWindow","_wxRadioButton",SwigwxRadioButtonTowxWindow
},
11913 { "_wxWindow","_wxRadioBox",SwigwxRadioBoxTowxWindow
},
11914 { "_wxWindow","_wxStaticBitmap",SwigwxStaticBitmapTowxWindow
},
11915 { "_wxWindow","_wxSpinButton",SwigwxSpinButtonTowxWindow
},
11916 { "_wxWindow","_wxScrollBar",SwigwxScrollBarTowxWindow
},
11917 { "_wxWindow","_wxTextCtrl",SwigwxTextCtrlTowxWindow
},
11918 { "_wxWindow","_wxCheckListBox",SwigwxCheckListBoxTowxWindow
},
11919 { "_wxWindow","_wxListBox",SwigwxListBoxTowxWindow
},
11920 { "_wxWindow","_wxStaticText",SwigwxStaticTextTowxWindow
},
11921 { "_wxWindow","_wxStaticLine",SwigwxStaticLineTowxWindow
},
11922 { "_wxWindow","_wxStaticBox",SwigwxStaticBoxTowxWindow
},
11923 { "_wxWindow","_wxGauge",SwigwxGaugeTowxWindow
},
11924 { "_wxWindow","_wxComboBox",SwigwxComboBoxTowxWindow
},
11925 { "_wxWindow","_wxChoice",SwigwxChoiceTowxWindow
},
11926 { "_wxWindow","_wxCheckBox",SwigwxCheckBoxTowxWindow
},
11927 { "_wxWindow","_wxBitmapButton",SwigwxBitmapButtonTowxWindow
},
11928 { "_wxWindow","_wxButton",SwigwxButtonTowxWindow
},
11929 { "_wxWindow","_wxControlWithItems",SwigwxControlWithItemsTowxWindow
},
11930 { "_wxWindow","_wxControl",SwigwxControlTowxWindow
},
11933 static PyObject
*SWIG_globals
;
11937 SWIGEXPORT(void) initcontrolsc() {
11939 SWIG_globals
= SWIG_newvarlink();
11940 m
= Py_InitModule("controlsc", controlscMethods
);
11941 d
= PyModule_GetDict(m
);
11942 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
11943 SWIG_addvarlink(SWIG_globals
,"wxDefaultValidator",_wrap_wxDefaultValidator_get
, _wrap_wxDefaultValidator_set
);
11944 PyDict_SetItemString(d
,"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong((long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
11947 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
11948 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);